@abtnode/webapp 1.16.34 → 1.16.35
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/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{Add-CB3E_i_7.js → Add-Iqq5UL4X.js} +1 -1
- package/dist/assets/{ArrowDropDown-CfqqzEVC.js → ArrowDropDown-BzdnsirE.js} +1 -1
- package/dist/assets/{Autocomplete-CA8T_8VG.js → Autocomplete-BjYb6zBA.js} +1 -1
- package/dist/assets/{Breadcrumbs-CixjL8_p.js → Breadcrumbs-B_yTpaGI.js} +1 -1
- package/dist/assets/{ButtonGroup-XrPwO8Q6.js → ButtonGroup-B9g57_Ix.js} +1 -1
- package/dist/assets/{CSSTransition-DeoxwYwB.js → CSSTransition-Bmy9En_5.js} +1 -1
- package/dist/assets/{CheckCircle-BBxMZden.js → CheckCircle-BSPdwpaz.js} +1 -1
- package/dist/assets/{ChevronLeft-BVEhqL0a.js → ChevronLeft-DIrjaRfk.js} +1 -1
- package/dist/assets/{ChevronRight-Dgndy_Tx.js → ChevronRight-BhDKV57P.js} +1 -1
- package/dist/assets/{Delete-D7NoNb87.js → Delete-Cgqm12Xe.js} +1 -1
- package/dist/assets/{DeleteOutline-CehpYKMD.js → DeleteOutline-DfpoQfad.js} +1 -1
- package/dist/assets/{Done-BxwBGo9Z.js → Done-CQmwtYHM.js} +1 -1
- package/dist/assets/{Edit-t5t3YBFr.js → Edit-C8sUZUU6.js} +1 -1
- package/dist/assets/{EditIcon-DPfkBGTz.js → EditIcon-CZCunhmA.js} +1 -1
- package/dist/assets/{ExpandMore-BiJn2W3A.js → ExpandMore-BYtoX48D.js} +1 -1
- package/dist/assets/{Google-Ccnubb91.js → Google-DKZLPo7-.js} +1 -1
- package/dist/assets/{HelpOutline-BqTojNnK.js → HelpOutline-DGp-1BRD.js} +1 -1
- package/dist/assets/{Https-amX5pnZ-.js → Https-BYryT_bQ.js} +1 -1
- package/dist/assets/{InputAdornment-1LTeHxh6.js → InputAdornment-vuq-FjCl.js} +1 -1
- package/dist/assets/{InputLabel-BEvb6pBW.js → InputLabel-BpHdIT50.js} +1 -1
- package/dist/assets/{LastPage-__GqzflZ.js → LastPage-Cr-0h2EM.js} +1 -1
- package/dist/assets/{Launch-Biswalm8.js → Launch-rq__ygCr.js} +1 -1
- package/dist/assets/{Link-D-d6ABah.js → Link-DdW83tAD.js} +1 -1
- package/dist/assets/{ListSubheader-D01PmlUo.js → ListSubheader-D0hIXr7u.js} +1 -1
- package/dist/assets/{LoadingButton-DEoIaYnW.js → LoadingButton-DM3opAqK.js} +1 -1
- package/dist/assets/{LockIcon-LoltP6V8.js → LockIcon-DCJGPPEt.js} +1 -1
- package/dist/assets/{Loop-Md-TPW17.js → Loop-nI3ml_tu.js} +1 -1
- package/dist/assets/{MoreHoriz-C7pSvKTB.js → MoreHoriz-BLXWI1Fn.js} +1 -1
- package/dist/assets/{MoreVert-Cf6FwqrB.js → MoreVert-CVu4BzQC.js} +1 -1
- package/dist/assets/{Pagination-CKSHSfPE.js → Pagination-Zy0ZVuUr.js} +1 -1
- package/dist/assets/{Public-BVz1VeTj.js → Public-DpP3zQ2V.js} +1 -1
- package/dist/assets/{SchemaReference.es-BKsuZfnr.js → SchemaReference.es-spndC1oz.js} +1 -1
- package/dist/assets/{Search-DVTTUfAR.js → Search-DgsnShxd.js} +1 -1
- package/dist/assets/{Select-ZoGQlFtQ.js → Select-C9prPdE8.js} +1 -1
- package/dist/assets/{ShoppingCart-Bs1vpvBu.js → ShoppingCart-BMe5IDQI.js} +1 -1
- package/dist/assets/{Skeleton-kSow7Hmt.js → Skeleton-BrUMN46n.js} +1 -1
- package/dist/assets/{Stepper-DHyMnin3.js → Stepper-vUXTA0k0.js} +1 -1
- package/dist/assets/{TextField-DAI8Qdpe.js → TextField-DmmMqMAo.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-BqAg9PDl.js → ToggleButtonGroup-Ce-1uV__.js} +1 -1
- package/dist/assets/{ViewColumn-B-n8_W0D.js → ViewColumn-avwxMG4J.js} +1 -1
- package/dist/assets/{ViewList-CRm6tuSw.js → ViewList-CC4-2p7Y.js} +1 -1
- package/dist/assets/{_createAggregator-C8I6G1rY.js → _createAggregator-CB0GKIBb.js} +1 -1
- package/dist/assets/{actions--Jh9Ytkt.js → actions-C0Zbx3QK.js} +1 -1
- package/dist/assets/{actions-ChzBM1oM.js → actions-d05pHP8u.js} +1 -1
- package/dist/assets/{agreement-Bya0zAe5.js → agreement-Bz4EKxUK.js} +1 -1
- package/dist/assets/api-DUyjcTBU.js +1 -0
- package/dist/assets/{app-avatar-CkwqyV_0.js → app-avatar-CulnXVaa.js} +1 -1
- package/dist/assets/ar-BDRVvPrM.js +3 -0
- package/dist/assets/{audit-logs-D-hcAUw3.js → audit-logs-3c6G-2jN.js} +1 -1
- package/dist/assets/{base32-qDJD7e6F.js → base32-CHpjH8PG.js} +1 -1
- package/dist/assets/blocklet-BysF7NjN.js +1 -0
- package/dist/assets/{brace-fold.es-DGwXyxd0.js → brace-fold.es-CIhjNimf.js} +1 -1
- package/dist/assets/{bundle-avatar-CAMrkHMQ.js → bundle-avatar-CqTlQZdw.js} +1 -1
- package/dist/assets/{chart-X4Bt4jVl.js → chart-BV_xvVd1.js} +1 -1
- package/dist/assets/{click-to-copy-cyfJmCk0.js → click-to-copy-D6a3LbT7.js} +1 -1
- package/dist/assets/{closebrackets.es-BgVawAXa.js → closebrackets.es-D1Zn5koL.js} +1 -1
- package/dist/assets/{codemirror.es-BoE9lBuH.js → codemirror.es-DXnzri9H.js} +1 -1
- package/dist/assets/{comment.es-B63PqK2d.js → comment.es-DvMop7gW.js} +1 -1
- package/dist/assets/{config-navigation-C4GRMVsQ.js → config-navigation-CbheNo97.js} +3 -3
- package/dist/assets/{connect-to-DBFguNNN.js → connect-to-wLmbAcvg.js} +1 -1
- package/dist/assets/de-B227a1no.js +3 -0
- package/dist/assets/{delete-confirm-BiicGoxV.js → delete-confirm-CG9pn4Op.js} +1 -1
- package/dist/assets/{detail-BJdKApB9.js → detail-CiYveroN.js} +3 -3
- package/dist/assets/{dialog.es-CKZU7uWD.js → dialog.es-BKReOq1S.js} +1 -1
- package/dist/assets/{download-ChxYFn7N.js → download-C3ZD7Sji.js} +1 -1
- package/dist/assets/emotion-react.browser.esm-Ce5DYL2G.js +1 -0
- package/dist/assets/es-DAn9P2pX.js +3 -0
- package/dist/assets/{foldgutter.es-BV9veuLJ.js → foldgutter.es-BSJD2IC7.js} +1 -1
- package/dist/assets/fr-hW_Tvq9a.js +3 -0
- package/dist/assets/{get-safe-url-Dt9rPUt5.js → get-safe-url-D9TInGJ7.js} +1 -1
- package/dist/assets/{get-safe-url-QTk1Sdfr.js → get-safe-url-d4wdsWI-.js} +1 -1
- package/dist/assets/getValidReactChildren-CxWlB_GY.js +1 -0
- package/dist/assets/hi-6yAhJdFx.js +1 -0
- package/dist/assets/{hint.es-DAtLgdHT.js → hint.es-B_n7A6VT.js} +1 -1
- package/dist/assets/{hint.es2-VXU0fpwG.js → hint.es2-Cmps2vt6.js} +1 -1
- package/dist/assets/id-BMkTW_Ii.js +3 -0
- package/dist/assets/{iframe-CDtW5AKp.js → iframe-BKue5fLa.js} +1 -1
- package/dist/assets/{index-DKtwy9xB.js → index-B7UCZsjO.js} +1 -1
- package/dist/assets/{index-BzuXYnd8.js → index-B8LxINcc.js} +1 -1
- package/dist/assets/{index-BzNA0CqE.js → index-BBO4eV6M.js} +1 -1
- package/dist/assets/{index-D7XN3Ep7.js → index-BEA-r-Xt.js} +1 -1
- package/dist/assets/{index-CuulkVT6.js → index-BZpDshq_.js} +1 -1
- package/dist/assets/{index-CpcFfAqd.js → index-Bjz36idA.js} +1 -1
- package/dist/assets/{index-CMciRqbU.js → index-BlzJjap-.js} +1 -1
- package/dist/assets/{index-BVo1y4px.js → index-Bnj8RUhY.js} +1 -1
- package/dist/assets/{index-gqghhYg-.js → index-BotJ3AX5.js} +1 -1
- package/dist/assets/{index-BqY9yKTd.js → index-Bqlp4s5C.js} +1 -1
- package/dist/assets/{index-DkBqG4kx.js → index-BsQBtUGA.js} +1 -1
- package/dist/assets/{index-CqRkHpDP.js → index-BxmndiW6.js} +1 -1
- package/dist/assets/{index-BAFoOKLc.js → index-C8YFeWmi.js} +1 -1
- package/dist/assets/{index-DiOMxvTK.js → index-CABG6WnA.js} +1 -1
- package/dist/assets/{index-Cvos3rah.js → index-CF-46tr4.js} +1 -1
- package/dist/assets/{index-1m57D84j.js → index-COjbf0ze.js} +1 -1
- package/dist/assets/{index-B4paaVul.js → index-CWKzScD8.js} +3 -3
- package/dist/assets/{index-CHFZEsTy.js → index-CWTorMDl.js} +1 -1
- package/dist/assets/{index-BBwK0xsH.js → index-CXsdGe6B.js} +1 -1
- package/dist/assets/{index-B422IDQn.js → index-CXxy8kEI.js} +1 -1
- package/dist/assets/{index-CHm9qPJD.js → index-CcQsJNy1.js} +1 -1
- package/dist/assets/{index-D-ZaUnBi.js → index-CezAO7BR.js} +1 -1
- package/dist/assets/{index-DcUEykKc.js → index-Cgo_tcN6.js} +5 -5
- package/dist/assets/{index-DEy7D_Af.js → index-CnIyAnd4.js} +1 -1
- package/dist/assets/{index-Bam7k3he.js → index-Cq1Ew3yw.js} +1 -1
- package/dist/assets/{index-D_9nA38Z.js → index-Csp4QH_V.js} +1 -1
- package/dist/assets/{index-CwCvYckH.js → index-Cu_P5aPZ.js} +1 -1
- package/dist/assets/{index-B5aAzE-y.js → index-CvGXEvkW.js} +1 -1
- package/dist/assets/{index-BPomuV_D.js → index-CvqQay-i.js} +1 -1
- package/dist/assets/{index-BuCRKgwB.js → index-CwFt9Te9.js} +1 -1
- package/dist/assets/{index-fz_DOQ-g.js → index-D2z1mjPq.js} +1 -1
- package/dist/assets/index-D3iLUVT_.js +5 -0
- package/dist/assets/{index-D1i_dZNg.js → index-D6AgsP-4.js} +1 -1
- package/dist/assets/{index-DIFx05Kl.js → index-D9VUHffN.js} +1 -1
- package/dist/assets/{index-QsMyNs5M.js → index-DPd4Sq53.js} +1 -1
- package/dist/assets/{index-R-nzvsnB.js → index-Db12S-QJ.js} +3 -3
- package/dist/assets/{index-6eKiKwxy.js → index-DrDaIwTG.js} +1 -1
- package/dist/assets/{index-CTanw7BS.js → index-GQZM8G46.js} +1 -1
- package/dist/assets/{index-LfcBen0e.js → index-M3td2VXe.js} +1 -1
- package/dist/assets/{index-8xWytbgk.js → index-fVZinT7E.js} +1 -1
- package/dist/assets/{index-wbEYjXbS.js → index-gvPnSndt.js} +3 -3
- package/dist/assets/{index-AcK_GNM5.js → index-qhlxzrLU.js} +2 -2
- package/dist/assets/{index-CvoQfwdo.js → index-szLyLiKt.js} +6 -4
- package/dist/assets/{index.esm-J1O3GSwj.js → index.esm-CSdzhfxu.js} +1 -1
- package/dist/assets/{info-addon.es-Bw6LVdU4.js → info-addon.es-BiJ84hAD.js} +1 -1
- package/dist/assets/{info.es-ykccBWpX.js → info.es-W2OzC3tp.js} +1 -1
- package/dist/assets/{install-from-url-CsgX1Mrn.js → install-from-url-DkTaMKuV.js} +1 -1
- package/dist/assets/{invitation-anSRhUVJ.js → invitation-BOPhDE2y.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-Cr4sQmMt.js → is-path-prefix-equal-ZyMnCod8.js} +1 -1
- package/dist/assets/{item-C4Tw6kqm.js → item-B4oZu1M-.js} +1 -1
- package/dist/assets/ja-DMoxkdsA.js +3 -0
- package/dist/assets/{javascript.es-DOjc_sbG.js → javascript.es-DJ9F-IUY.js} +1 -1
- package/dist/assets/{jump-to-line.es-D8I8baeT.js → jump-to-line.es-x9kGGHmA.js} +1 -1
- package/dist/assets/{jump.es-QWYfYf8Z.js → jump.es-6YBKNjTH.js} +1 -1
- package/dist/assets/ko-C926kBBj.js +3 -0
- package/dist/assets/{lint.es-BJSU_PKG.js → lint.es-DgsUO5dq.js} +1 -1
- package/dist/assets/{lint.es2-D1FwC8bn.js → lint.es2-BQyeTE1J.js} +1 -1
- package/dist/assets/{lint.es3-n4lT7F8v.js → lint.es3-BTG1clr1.js} +1 -1
- package/dist/assets/{list-header-8M5v0mEZ.js → list-header-CXtRgeb8.js} +1 -1
- package/dist/assets/{log-DnibkVKU.js → log-Cadt5khV.js} +1 -1
- package/dist/assets/{logo-uploader-FvI8Gg-V.js → logo-uploader-DH6CrN_X.js} +3 -3
- package/dist/assets/{lottie-react.esm-NYbV_1l0.js → lottie-react.esm-BSE7Hou8.js} +1 -1
- package/dist/assets/{matchbrackets.es-BpEPtDVu.js → matchbrackets.es-CMtdKoWo.js} +1 -1
- package/dist/assets/{memory-Besqmmjk.js → memory-CMzX15_3.js} +1 -1
- package/dist/assets/{mode.es-4LyXjQl6.js → mode.es-h6vBm9Ab.js} +1 -1
- package/dist/assets/{mode.es2-CoWlBN1V.js → mode.es2-obVTlMzb.js} +1 -1
- package/dist/assets/{mode.es3-AkivrF_d.js → mode.es3-Dvsck4WY.js} +1 -1
- package/dist/assets/{onlineParser.es-BTrI7ZNy.js → onlineParser.es-CNHcXfZ_.js} +1 -1
- package/dist/assets/{overview-D_CqZ_Zd.js → overview-DYYEl0kX.js} +1 -1
- package/dist/assets/pt-S0JrQ9Y4.js +1 -0
- package/dist/assets/{resource-dialog-Ce7XfSZ0.js → resource-dialog-B3-hy8cw.js} +1 -1
- package/dist/assets/ru-Qa5qbmx5.js +1 -0
- package/dist/assets/{runtime-D3uKAyT-.js → runtime-BXpBg9UE.js} +1 -1
- package/dist/assets/{schema-B2s_JuVP.js → schema-Bo-nEED9.js} +1 -1
- package/dist/assets/sdk-DG5Padvs.js +1 -0
- package/dist/assets/{search.es-1EGQHQDD.js → search.es-C2YPN9Zf.js} +1 -1
- package/dist/assets/{searchcursor.es-DAAQMAO0.js → searchcursor.es-DtFpodBc.js} +1 -1
- package/dist/assets/{service-CbegThe7.js → service-DCusgPUg.js} +1 -1
- package/dist/assets/{shorten-label-BLL_il_j.js → shorten-label-T_aHg8P2.js} +1 -1
- package/dist/assets/{show-hint.es-B7s00sXv.js → show-hint.es-Ck00IMH1.js} +1 -1
- package/dist/assets/{simple-select-Dkp26b_9.js → simple-select-DT-WXgAf.js} +1 -1
- package/dist/assets/{slicedToArray-BSVcAmJr.js → slicedToArray-C3L866dd.js} +1 -1
- package/dist/assets/{spaces-CDcGrBnn.js → spaces-CqfN1sHH.js} +1 -1
- package/dist/assets/{status-DDubVmJJ.js → status-BAuBwMKk.js} +1 -1
- package/dist/assets/{sublime.es-BHvkWbHt.js → sublime.es-v7EM771f.js} +1 -1
- package/dist/assets/{switch-control-BRA6GhdU.js → switch-control-C-0E-2ue.js} +1 -1
- package/dist/assets/{table-icons-ZE6_-sIK.js → table-icons-C0V1baGk.js} +1 -1
- package/dist/assets/{team-BsMAhTHe.js → team-C90gWPMY.js} +1 -1
- package/dist/assets/th-BoRhU51f.js +1 -0
- package/dist/assets/{toUpper-ClbAdkoz.js → toUpper-CFkfojgH.js} +1 -1
- package/dist/assets/{traffic-DvVSCQZw.js → traffic-BAWl5wSo.js} +1 -1
- package/dist/assets/{trim-CiSVnwN4.js → trim-VWi233vQ.js} +1 -1
- package/dist/assets/{uniqBy-L5gdenz-.js → uniqBy-DMKiy0t2.js} +1 -1
- package/dist/assets/{url-evaluation-CkdeW9xb.js → url-evaluation-BS1bNemt.js} +1 -1
- package/dist/assets/{url-join-Cj3I6f7j.js → url-join-C5gF0TYO.js} +1 -1
- package/dist/assets/{useAsync-C_2Izamz.js → useAsync-Cl9cUzHN.js} +1 -1
- package/dist/assets/{useLocalStorage-Dm8U5SnM.js → useLocalStorage-GLWMibqZ.js} +1 -1
- package/dist/assets/{useThemeProps-DLZVHtlO.js → useThemeProps-e0r4gLct.js} +1 -1
- package/dist/assets/{util-Bwj7-kW5.js → util-BL1BrZx8.js} +1 -1
- package/dist/assets/vi-klSG5jCL.js +1 -0
- package/dist/assets/{wait-container-9ZyoIbmc.js → wait-container-LWuRgdV5.js} +1 -1
- package/dist/assets/{withStyles-BUxuIWEH.js → withStyles-CK3EIjsg.js} +1 -1
- package/dist/assets/wrap-locale-CrH4CaJK.js +1 -0
- package/dist/assets/zh-Bbb3gm_K.js +4 -0
- package/dist/assets/zh-tw-D9dNfXQ_.js +3 -0
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +1 -1
- package/dist/assets/api-C-r9W7Df.js +0 -1
- package/dist/assets/ar-DdnvAQ3d.js +0 -1
- package/dist/assets/blocklet-DeYEPs7W.js +0 -1
- package/dist/assets/de-DMQbJIQd.js +0 -1
- package/dist/assets/emotion-react.browser.esm-D7mngV6f.js +0 -1
- package/dist/assets/es-D1yxfOJ-.js +0 -1
- package/dist/assets/fr-Db87bqVK.js +0 -1
- package/dist/assets/getValidReactChildren-Dsdsd33U.js +0 -1
- package/dist/assets/hi-Df99Lcv0.js +0 -1
- package/dist/assets/id-DtIWnQAT.js +0 -1
- package/dist/assets/index-C8jKkD0N.js +0 -5
- package/dist/assets/ja-C6Sh7xsg.js +0 -1
- package/dist/assets/ko-DOMsI63X.js +0 -1
- package/dist/assets/pt-DY-L1LL9.js +0 -1
- package/dist/assets/ru-CsG3qZSl.js +0 -1
- package/dist/assets/sdk-BDOUO8dj.js +0 -1
- package/dist/assets/th-Bxw1yx6O.js +0 -1
- package/dist/assets/vi-Df7bxeAg.js +0 -1
- package/dist/assets/wrap-locale-CC42vlla.js +0 -1
- package/dist/assets/zh-Cl_8lQ_b.js +0 -2
- package/dist/assets/zh-tw-BWV-R4Hq.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CnIyAnd4.js","./index-BojVbZw0.js","./index-BotJ3AX5.js","./click-to-copy-D6a3LbT7.js","./withStyles-CK3EIjsg.js","./index-Cu_P5aPZ.js","./useLocalStorage-GLWMibqZ.js","./index-CXxy8kEI.js","./useThemeProps-e0r4gLct.js","./emotion-react.browser.esm-Ce5DYL2G.js","./ViewColumn-avwxMG4J.js","./Select-C9prPdE8.js","./Delete-Cgqm12Xe.js","./InputLabel-BpHdIT50.js","./TextField-DmmMqMAo.js","./LastPage-Cr-0h2EM.js","./Search-DgsnShxd.js","./index-CXsdGe6B.js","./MoreVert-CVu4BzQC.js","./status-BAuBwMKk.js","./url-evaluation-BS1bNemt.js","./actions-C0Zbx3QK.js","./get-safe-url-D9TInGJ7.js","./ButtonGroup-B9g57_Ix.js","./getValidReactChildren-CxWlB_GY.js","./install-from-url-DkTaMKuV.js","./schema-Bo-nEED9.js","./index-Cq1Ew3yw.js","./Autocomplete-BjYb6zBA.js","./ListSubheader-D0hIXr7u.js","./Stepper-vUXTA0k0.js","./app-avatar-CulnXVaa.js","./Launch-rq__ygCr.js","./Add-Iqq5UL4X.js","./index-M3td2VXe.js","./ExpandMore-BYtoX48D.js","./index-D6AgsP-4.js","./index-DrDaIwTG.js","./url-join-C5gF0TYO.js","./Skeleton-BrUMN46n.js","./wait-container-LWuRgdV5.js","./get-safe-url-d4wdsWI-.js","./DeleteOutline-DfpoQfad.js","./spaces-CqfN1sHH.js","./api-DUyjcTBU.js","./index-BlzJjap-.js","./item-B4oZu1M-.js","./ChevronLeft-DIrjaRfk.js","./ChevronRight-BhDKV57P.js","./InputAdornment-vuq-FjCl.js","./ShoppingCart-BMe5IDQI.js","./Done-CQmwtYHM.js","./delete-confirm-CG9pn4Op.js","./shorten-label-T_aHg8P2.js","./blocklet-BysF7NjN.js","./item-D-IRi6XF.css","./ArrowDropDown-BzdnsirE.js","./Breadcrumbs-B_yTpaGI.js","./index-B7UCZsjO.js","./index-CwFt9Te9.js","./index.esm-CSdzhfxu.js","./switch-control-C-0E-2ue.js","./index-BZpDshq_.js","./is-path-prefix-equal-ZyMnCod8.js","./Link-DdW83tAD.js","./logo-BKA11TRi.js","./LoadingButton-DM3opAqK.js","./Public-DpP3zQ2V.js","./visuallyHidden-Dan1xhjv.js","./CheckCircle-BSPdwpaz.js","./Edit-C8sUZUU6.js","./Https-BYryT_bQ.js","./index-CezAO7BR.js","./download-C3ZD7Sji.js","./download-D33dFtt_.css","./index-Csp4QH_V.js","./audit-logs-3c6G-2jN.js","./index-C8YFeWmi.js","./index-D4PP6P2d.css","./Pagination-Zy0ZVuUr.js","./index-CWTorMDl.js","./index-CvGXEvkW.js","./Loop-nI3ml_tu.js","./ViewList-CC4-2p7Y.js","./list-header-CXtRgeb8.js","./resource-dialog-B3-hy8cw.js","./index-B8LxINcc.js","./HelpOutline-DGp-1BRD.js","./index-D2z1mjPq.js","./index-CABG6WnA.js","./team-C90gWPMY.js","./uniqBy-DMKiy0t2.js","./sdk-DG5Padvs.js","./actions-d05pHP8u.js","./MoreHoriz-BLXWI1Fn.js","./index-D9VUHffN.js","./EditIcon-CZCunhmA.js","./LockIcon-DCJGPPEt.js","./trim-VWi233vQ.js","./ToggleButtonGroup-Ce-1uV__.js","./Google-DKZLPo7-.js","./useAsync-Cl9cUzHN.js","./detail-CiYveroN.js","./index-fVZinT7E.js","./index-BsQBtUGA.js","./invitation-BOPhDE2y.js","./index-DPd4Sq53.js","./wrap-locale-CrH4CaJK.js","./index-gvPnSndt.js","./index-Bnj8RUhY.js","./index-qhlxzrLU.js","./agreement-Bz4EKxUK.js","./index-Bjz36idA.js","./index-GQZM8G46.js","./index-Cgo_tcN6.js","./index-C7igR7se.css","./index-BEA-r-Xt.js","./traffic-BAWl5wSo.js","./iframe-BKue5fLa.js","./index-CcQsJNy1.js","./chart-BV_xvVd1.js","./CSSTransition-Bmy9En_5.js","./bundle-avatar-CqTlQZdw.js","./memory-CMzX15_3.js","./index-CvqQay-i.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var ao=a=>{throw TypeError(a)};var _i=(a,j,_e)=>j.has(a)||ao("Cannot "+_e);var Tr=(a,j,_e)=>(_i(a,j,"read from private field"),_e?_e.call(a):j.get(a)),Yr=(a,j,_e)=>j.has(a)?ao("Cannot add the same private member more than once"):j instanceof WeakSet?j.add(a):j.set(a,_e),Wr=(a,j,_e,et)=>(_i(a,j,"write to private field"),et?et.call(a,_e):j.set(a,_e),_e),Ir=(a,j,_e)=>(_i(a,j,"access private method"),_e);var eo=(a,j,_e,et)=>({set _(nt){Wr(a,j,nt,_e)},get _(){return Tr(a,j,et)}});function _mergeNamespaces(a,j){for(var _e=0;_e<j.length;_e++){const et=j[_e];if(typeof et!="string"&&!Array.isArray(et)){for(const nt in et)if(nt!=="default"&&!(nt in a)){const tt=Object.getOwnPropertyDescriptor(et,nt);tt&&Object.defineProperty(a,nt,tt.get?tt:{enumerable:!0,get:()=>et[nt]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const j=document.createElement("link").relList;if(j&&j.supports&&j.supports("modulepreload"))return;for(const nt of document.querySelectorAll('link[rel="modulepreload"]'))et(nt);new MutationObserver(nt=>{for(const tt of nt)if(tt.type==="childList")for(const rt of tt.addedNodes)rt.tagName==="LINK"&&rt.rel==="modulepreload"&&et(rt)}).observe(document,{childList:!0,subtree:!0});function _e(nt){const tt={};return nt.integrity&&(tt.integrity=nt.integrity),nt.referrerPolicy&&(tt.referrerPolicy=nt.referrerPolicy),nt.crossOrigin==="use-credentials"?tt.credentials="include":nt.crossOrigin==="anonymous"?tt.credentials="omit":tt.credentials="same-origin",tt}function et(nt){if(nt.ep)return;nt.ep=!0;const tt=_e(nt);fetch(nt.href,tt)}})();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs$1(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}function getAugmentedNamespace(a){if(a.__esModule)return a;var j=a.default;if(typeof j=="function"){var _e=function et(){return this instanceof et?Reflect.construct(j,arguments,this.constructor):j.apply(this,arguments)};_e.prototype=j.prototype}else _e={};return Object.defineProperty(_e,"__esModule",{value:!0}),Object.keys(a).forEach(function(et){var nt=Object.getOwnPropertyDescriptor(a,et);Object.defineProperty(_e,et,nt.get?nt:{enumerable:!0,get:function(){return a[et]}})}),_e}var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},react={exports:{}},react_production_min={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react.production.min.js
|
|
@@ -1561,8 +1561,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1561
1561
|
box-shadow: none;
|
|
1562
1562
|
background-color: rgba(0, 0, 0, 0.12) !important;
|
|
1563
1563
|
}
|
|
1564
|
-
`;function CheckNodeStatus(){const{t:a}=useLocaleContext(),{info:j={},api:_e}=useNodeContext(),[et,nt]=reactExports.useState(),{status:tt}=j;reactExports.useEffect(()=>{tt===constant$3.SERVER_STATUS.START_FROM_CRASH&&(nt(!0),_e.resetNodeStatus().catch(st=>{console.error(st.message)}))},[tt]);const rt=()=>{nt(!1)};return et?jsxRuntimeExports.jsx(ConfirmDialog,{description:a("dashboard.startFromCrashTip"),confirm:a("common.confirm"),showCancel:!1,color:"primary",onConfirm:rt}):null}function ErrorFallback$1({error:a,resetErrorBoundary:j}){return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsxs(Alert,{severity:"error",action:jsxRuntimeExports.jsx(ButtonComponent,{onClick:j,color:"secondary",variant:"outlined",children:"Reload"}),style:{minWidth:480},children:[jsxRuntimeExports.jsx(AlertTitle,{children:"Oops, this application crashed"}),jsxRuntimeExports.jsx(Typography,{children:a.message})]})})}var flat=flatten;flatten.flatten=flatten;flatten.unflatten=unflatten;function isBuffer(a){return a&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function keyIdentity(a){return a}function flatten(a,j){j=j||{};const _e=j.delimiter||".",et=j.maxDepth,nt=j.transformKey||keyIdentity,tt={};function rt(st,ft,pt){pt=pt||1,Object.keys(st).forEach(function(dt){const mt=st[dt],xt=j.safe&&Array.isArray(mt),Tt=Object.prototype.toString.call(mt),St=isBuffer(mt),Rt=Tt==="[object Object]"||Tt==="[object Array]",At=ft?ft+_e+nt(dt):nt(dt);if(!xt&&!St&&Rt&&Object.keys(mt).length&&(!j.maxDepth||pt<et))return rt(mt,At,pt+1);tt[At]=mt})}return rt(a),tt}function unflatten(a,j){j=j||{};const _e=j.delimiter||".",et=j.overwrite||!1,nt=j.transformKey||keyIdentity,tt={};if(isBuffer(a)||Object.prototype.toString.call(a)!=="[object Object]")return a;function st(dt){const mt=Number(dt);return isNaN(mt)||dt.indexOf(".")!==-1||j.object?dt:mt}function ft(dt,mt,xt){return Object.keys(xt).reduce(function(Tt,St){return Tt[dt+_e+St]=xt[St],Tt},mt)}function pt(dt){const mt=Object.prototype.toString.call(dt),xt=mt==="[object Array]",Tt=mt==="[object Object]";if(dt){if(xt)return!dt.length;if(Tt)return!Object.keys(dt).length}else return!0}return a=Object.keys(a).reduce(function(dt,mt){const xt=Object.prototype.toString.call(a[mt]);return!(xt==="[object Object]"||xt==="[object Array]")||pt(a[mt])?(dt[mt]=a[mt],dt):ft(mt,dt,flatten(a[mt],j))},{}),Object.keys(a).forEach(function(dt){const mt=dt.split(_e).map(nt);let xt=st(mt.shift()),Tt=st(mt[0]),St=tt;for(;Tt!==void 0;){if(xt==="__proto__")return;const Rt=Object.prototype.toString.call(St[xt]),At=Rt==="[object Object]"||Rt==="[object Array]";if(!et&&!At&&typeof St[xt]<"u")return;(et&&!At||!et&&St[xt]==null)&&(St[xt]=typeof Tt=="number"&&!j.object?[]:{}),St=St[xt],mt.length>0&&(xt=st(mt.shift()),Tt=st(mt[0]))}St[xt]=unflatten(a[dt],j)}),tt}const flat$1=getDefaultExportFromCjs$1(flat);var baseMerge=_baseMerge,createAssigner=_createAssigner,merge=createAssigner(function(a,j,_e){baseMerge(a,j,_e)}),merge_1=merge;const merge$1=getDefaultExportFromCjs$1(merge_1),en$2={common:{invalid:"Invalid",about:"About",access:"Access",buy:"Buy",change:"Change",upload:"Upload",accessKey:"Access Keys",action:"Action",actions:"Actions",add:"Add",refresh:"Refresh",address:"Address",afterTime:"After {time}",allow:"Allow",alreadyExist:"already exists",approve:"Approve",approved:"approved",appUrl:"APP Url",auditLogs:"Audit Trail",author:"Author",avatar:"Avatar",back:"Back",basic:"Basic",basicInfo:"Basic Information",profile:"Profile",bind:"Bind",blocklet:"Blocklet",blocklets:"Blocklets",blockletsStorage:"Blocklets Storage",cacheStorage:"Cache Storage",cancel:"Cancel",certificate:"certificate",category:"Log Topic",click:"Click to copy",close:"Close",selectAll:"Select All",unselectAll:"Unselect All",collapseAll:"Collapse All",community:"Community URL",complete:"Complete",componentBasicInfo:"Component Basic Information",components:"Blocklets",config:"Configure",configuration:"Configuration",configNavigation:"Navigation",configSuccess:"Config successfully",confirm:"Confirm",connect:"Connect",console:"Console",continue:"Continue",continueWith:"Continue With",copiedTip:"Copied",copyAndClose:"Copy & Close",copyTip:"Click To Copy",coreStorage:"Core Storage",cpu:"CPU",create:"Create",createSuccess:"Create Access Key",created:"Created At",createdAt:"Created At",createdBy:"Created By",dAddress:"Decentralized Identifiers (DID)",dataStorage:"Storage on Local Disk",delConfirm:"Delete",delConfirmDescription:"Confirm delete {data}?",delete:"Delete",dependents:"Dependents",description:"Description",detail:"Detail",did:"DID",disk:"Disk",diskInfo:"Disk Info",docker:"IS Docker",documentation:"Documentation",domain:"Domain",downgradeTo:"Downgrade to",download:"Download",connectToStore:"Connect to Store",blockletStudio:"Studio",uploaded:"Uploaded",downloading:"Downloading",edit:"Edit",email:"Email",phone:"Phone",empty:"Empty",emptyData:"No results found",enable:"Enable",engine:"Engine",env:"Environment",environment:"Environment",expandAll:"Expand All",expired:"Expired",expires:"Expires",export:"Export",externalIp:"External IP",failed:"Failed",filter:"Log Filter",fingerprint:"Fingerprint",finish:"Finish",forbid:"Forbid",free:"Free",general:"General",gitpod:"IS Gitpod",goEULA:'Click to view "End User License Agreement"',group:"Group",image:"IS Image",install:"Install",installed:"Installed",installedAt:"Installed At",installSuccess:"Successfully installed",installing:"Installing",internalIp:"Internal IP",introduction:"Introduction",invite:"Invite",inviting:"Inviting",ip:"IP",isPublic:"Public",issue:"Issue",issuer:"Issuer",item:"Item",joined:"Joined",key:"Key",lastPublishedAt:"Published At",launcher:"Launcher Information",leavePageTip:"Are you sure to leave the page?",link:"Link",loading:"loading",log:"View Logs",logStorage:"Log Storage",login:"Login",logo:"Logo",logout:"Logout",logs:"Logs",manageTeam:"Manage Team",marketplace:"Marketplace",member:"Member",members:"Members",memory:"Memory",meta:"Meta Data",analytics:"Analytics",runtime:"Runtime",traffic:"Traffic",more:"More",mountPoint:"MountPoint",name:"Name",next:"Next",no:"No",noData:"No records to display",notice:"Unexpected bad things will happen if you don’t read this!",noticeTitle:"Notice",notification:"Notification",open:"Open",visitStore:"Visit Store",visitTarget:"Visit {name}",management:"Management",os:"Operating System",overview:"Overview",owner:"Owner",page404:"404 Page",passport:"Passport",display:"Display",permission:"Permission",port:"Port",pre:"Previous",preferences:"Preferences",preview:"Preview",protected:"Protected",protocol:"Protocol",purchase:"Purchase",reconnect:"Reconnect",disconnect:"Disconnect",readMore:"More",redirect:"Redirect",redirectCode:"Redirect Code",redirectPermanently:"Permanent Redirect",redirectTemporary:"Temporary Redirect",redirectUrl:"Redirect URL",rewrite:"Rewrite",release:"Release",rewriteUrl:"Rewrite URL",reject:"Reject",reload:"Reload",remark:"Remark",remove:"Remove",removeSuccess:"Remove successfully",renew:"Renew",reportIssue:"Report an issue",required:"Required",requiredErrorText:"{name} is required",resource:"Resource",restart:"Restart",restore:"Restore",retry:"Retry",revoke:"Revoke",role:"Role",running:"running",runtimeInfo:"Runtime Info",save:"Save",saveChanges:"Save Changes",saveSuccess:"Saved successfully",scheduleFailed:"schedule failed",scheduleSuccess:"successfully scheduled",scope:"Scope",screenshot:"Screenshots",search:"Search",security:"Security",serverDid:"Server DID",serverVersion:"Server Version",setting:"Settings",start:"Start",status:"Status",stop:"Stop",storage:"Storage",backup:"Backup",store:"Store",succeeded:"Succeeded",subscription:"Subscription",support:"Support URL or Email",switch:"Switch",team:"Team",the:"The",timeAgo:"{time} ago",title:"Title",type:"Type",unavailable:"Unavailable",update:"Update",updateAvailable:"New version {version} available",updatedAt:"Updated At",updatedBy:"Updated By",upgrade:"Upgrade",upgradeServer:"Upgrade Server",upgradeTo:"Upgrade to",upgrading:"Upgrading",uptime:"Uptime",url:"URL",valid:"Valid",value:"Value",version:"Version",visit:"Visit",waiting:"Waiting",webhook:"Integrations",yes:"Yes",invalidParam:"Invalid Params",launch:"Launch",price:"Price",redirecting:"Redirecting",error:"Error",reminder:"Reminder",normal:"Normal",gateway:"Gateway",verifyNFT:"Verify NFT",errorMessage:"Error Message: ",slugifyHint:"The actual mount point will be: {value}",strategy:"Strategy",auto:"Auto",manual:"Manual",progress:"In progress",startTime:"Start time",endTime:"End time",selected:"Selected",timeoutError:"Timeout error",tags:"Tags",sourceApp:"Belong to App",requiredInputPlaceholder:"Please enter {name}",moveUp:"Move Up",moveDown:"Move Down",enabled:"Enabled",disabled:"Disabled",homepage:"Home Page",homepageTip:"Home Page or Live Demo URL",repository:"Repository",view:"View"},setup:{connect:{title:"Signature Required",scan:"Connect your DID Wallet to become the owner of this server",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},keyPair:{title:"Derived KeyPair Required",scan:"Connect your DID Wallet to generate a key-pair for this app",confirm:"Review this operation on your DID Wallet",success:"Your key pair is securely stored"},verify:{title:"Ownership Credential Required",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},accept:{title:"Accepting server require ownership certificates",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},title:"Setup Blocklet Server",steps:{eula:"End User License Agreement",eulaFooter:"I have read and agreed to the terms of the EULA",connect:"Connect Owner DID Wallet",verify:"Verify Ownership",basicSettings:"Basic Settings",launchApp:"Launch Application",complete:"Complete"},congratulation:"Congratulations! Your Blocklet Server is secure and ready to use",redirectButton:"Take me to dashboard!"},login:{loginTo:"Connect to",description:"Only server owner and approved members can access the dashboard",switchDid:{title:"Switch DID Wallet",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch DID Wallet",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect DID Wallet",scan:"Connect your DID Wallet to provide passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"},verify:{title:"Verify Access",scan:"Connect your DID Wallet to present owner or admin passport",confirm:"Confirm on your DID Wallet",success:"Your access is verified",abort:"Access verification aborted",description:"You need to provide {roles} passport to perform this operation, you will only be asked to verify again after 1 hour of inactivity.",descriptionForDestroy:"You need to provide {roles} passport to perform this dangerous operation to ensure safety."}},acceptServer:{title:"Claim Server with Ownership NFT",tooltip:"If you received a server ownership nft, you can claim your owner passport with this link."},didConnect:{genKeyPair:{title:"Generate Blocklet DID",scan:"Scan following QRCode to generate a Blocklet DID",success:"Successfully generate Blocklet DID",successDesc:"The Blocklet DID has been generate successfully (Subsequent publications require the wallet that generated the DID to operate)"},common:{invalidSession:"Invalid Session",invalidSessionDesc:"Session does not exist or has expired",connectionError:"Failed to connect"}},exchangePassport:{title:"Get Passport with NFT",success:"You have successfully get your passport and logged in with the passport",login:"Login",tooltip:"If you own NFT from collection {collections}, you can exchange your passport with this link.",dialog:{title:"Get Passport with NFT",scan:"Connect your DID Wallet to present your NFT to get a passport",confirm:"Select NFT on your DID Wallet",success:"Passport has been successfully exchanged"}},payablePassport:{title:"Purchase passport with payment",tooltip:"If you do not have a passport, you can purchase a passport with this link."},sidebar:{dashboard:"Dashboard",blocklets:"Blocklets",console:"Console",settings:"Settings"},system:{total:"Total",used:"Used",free:"Free",cores:"Number of cores",instances:"Number of instances"},blocklet:{external:"External",usingDocker:"This Blocklet will run using docker",usingIsolation:"This Blocklet will run using network isolation",notFound:"Blocklet not found on this server, maybe it has been deleted",installFromMarket:"Install New Blocklets",installFromUrl:"Install From Url",installFromCreate:"Create Blocklet",titleValidationError:"Title length must be between 3 and 40 characters",descriptionValidationError:"Description length must be between 3 and 80 characters",installFromDiskBackup:"Restore from this server",installedAt:"Installed At",internal:"Internal",startedAt:"Started At",stoppedAt:"Stopped At",urlEmptyTip:"No Access URL, ",goToAddRule:"Go To Add",services:"Exposed Services",upstreamPort:"Upstream Port",noService:"No Services",appId:"App DID",appPid:"Permanent DID",whyNeedAppPid:"If your application has been migrated, the permanent DID is the DID generated when this Blocklet was originally installed",alsoKnownAs:"Also Known As",skSource:"Owner Wallet",reloadSuccess:"Blocklet was reloaded successfully",statusTip:"Blocklet is {status}",initialUptime:"Less than 1m",dashboard:"Blocklet Dashboard",noComponent:"Application has no components and cannot be started",gotoVisitError:"Unable to access blocklet url, please try again later",fromUrl:{title:"Install Blocklet",label:"Blocklet Meta URL",description:"The URL should point to the Meta File of the Blocklet. If you need to refer to a local file, please add the file:// prefix, e.g. file:///Users/foo/blocklet.json.",confirm:"Install",step0:"Input URL",step1:"Confirm Meta Info",existTipPrefix:"Blocklet with the same DID already exists, the version is",existTipSuffix:", Please install a higher version."},action:{stopDescription:"Stopping the blocklet will make its public interfaces unaccessible, which may cause end user failures",stopComponentDescription:"Stopping the component will make its public interfaces unaccessible, which may cause end user failures",confirmStop:"Yes, Stop It",cancelDownloadDescription:"Cancel download {name} ?",removeApplicationDescription:"Removing the application will erase code and data generated by this application, which is not recoverable if you do not have any backups",removeApplicationAfterBackup:"Backup and remove the application. You can restore the application from this server if you need",removeApplicationComplete:"Remove both code and data for this application",removeComponentDescription:"Removing the component will erase code and data generated by this component, which is not recoverable if you do not have any backups",removeComponentKeepData:"Keep data for this component, only remove code",removeComponentComplete:"Remove both code and data for this component",confirmRemove:"Yes, Remove It",confirmComponentRemove:"Yes, Remove It",upgradeDescription:"Upgrading the blocklet will make it temporarily unavailable, are you sure to continue?",confirmUpgrade:"Yes, Upgrade It",confirmRestart:"Yes, Restart It",restartDescription:"Restarting the blocklet will temporarily suspended and may not start because of a configuration change"},dev:{modeTip:"Please switch Blocklet Server to DEBUG mode"},index:{tableTitle:"Manage Your Blocklets",noBlocklet:"No blocklets found in this Blocklet Server, install a blocklet from market place to start."},admin:{iframeTitle:"Blocklet Admin Interface",title:"Admin Interface",noContent:"This blocklet does not have a admin interface",securityError:"SecurityError: Can not open the admin url from accessing a cross-origin frame"},config:{name:"App Name",description:"App Description",sk:"Secret key for the app wallet",logoSquare:"App Logo",logoRect:"Rect logo",logoRectDesc:"Usually displayed at the top of the page, default to app logo",logoFavicon:"Favicon",logoFaviconDesc:"Usually displayed in the browser's address bar or tab page, default to app logo",splashPortrait:"Splash Portrait",splashLandscape:"Splash Landscape",splashPortraitDesc:"Displayed when the blocklet is launched in portrait mode",splashLandscapeDesc:"Displayed when the blocklet is launched in landscape mode",clusterSize:"Instance count when run this blocklet in cluster mode",copyrightOwner:"Copyright Owner (Display in footer)",copyrightYear:"Copyright Year (Display in footer)",deletable:{name:"Delete Protection",enable:"This blocklet can NOT currently be deleted",disable:"This blocklet can currently be deleted"},tenantMode:{name:"Multiple Tenant Mode",multiple:"This blocklet runs in multiple tenant mode, data should be isolated for each tenant",single:"This blocklet runs in single tenant mode, all data are shared"},walletType:{name:"Wallet Type",description:"Blocklet instance wallet type, will change the derived DID"},languages:"Supported Languages",selectLanguagesTip:"Adjust the order by removing and re-adding",languagesSearch:"Search by Country's Local Name, English Name, or ISO Code...",passportColor:"Passport Color",appUrl:"App URL",access:{title:"Who Can Access",description:"Who can access the blocklet",useDefault:"Use default",defaultDescription:"Use the application's default configuration",whoCanAccess:{all:{title:"Accessible to all",description:"Open to the world anyone can access without passport"},owner:{title:"Only me can access",description:"You must provide owner passport to access this application"},invited:{title:"Only invited people can access",description:"You can invite members later in the admin page"}},publicToStore:"Public On Store",publicInstanceTip:"The access address of this blocklet will be displayed in the Store (along with your DID for accepting donations)",updatedTip:"Access Control Modified"},changedTip:"Configuration updated, please restart Blocklet",missingRequired:"Missing required configuration to start the blocklet",gotoFix:"Go to fix",environment:{key:"Configuration key",value:"Configuration value",keyValueRequired:"Configuration key and value must be specified",invalidKey:"Configuration key must not start with BLOCKLET_ or COMPONENT_",deleteForbidden:"This configuration is required and should not be deleted",tip:"Configurations prefixed with BWA_ should not contain sensitive information because they will be sent to the browser"},dangerZone:"Danger Zone",blockletTypeChangeTip:"Wallet Type will be changed to <b>{value}</b>",appDidChangeTip:"This operation will change the DID of the application, which will lead to the following problems. Please confirm after careful evaluation:",appDidChangeTipL1:"The user's account connected to this application will change",appDidChangeTipL2:"The DID domain name of the application will change, and the original domain name will become invalid",appSkChangeTip:"You are changing application secret key",walletTypeTitle:"Update Wallet Type",appSkTitle:"Update Application Secret Key",sharedToAllComponents:"Will be shared to all components",session:{period:"Session validity period",profile:"User profile requirements",ttl:"User will be asked to login again if they have no activity on this site for {day} days",day:"{day} day",days:"{day} days",cacheTtl:"Cache duration for user session data (in seconds)",fullNameEnabled:"Request user name on login (enabled by default)",avatarEnabled:"Request user avatar on login (enabled by default)",emailEnabled:"Request user email on login",emailRequireVerified:"Require user email to be verified before login",emailRequireUnique:"Require user email to be unique across all users",phoneEnabled:"Request user phone number on login (not supported yet)",phoneRequireVerified:"Require user phone number to be verified before login",phoneRequireUnique:"Require user phone number to be unique across all users",emailTrustOauthProviders:"Trust OAuth providers for email verification status",enableDomainBlackList:"Enable email domain black list (reject listed email domains)",enableDomainWhiteList:"Enable email domain white list (only allow listed email domains to login)",addDomain:"Add source to fetch the list (in plain text format, one domain per line)"},clearCache:{name:"Cache Management",purpose:"Manage files cached in router and blocklet services",title:"Confirm Cache Clear?",action:"Clear Cache",success:"Successfully cleared {count} cache entries",description:"Are you sure you want to clear cached files in router and blocklet service? this operation may cause slight performance downgrade in the short term"},rotateSessionKey:{name:"Session Salt Rotation",purpose:"Rotate session salt periodically to reduce the risk of login token being compromised",title:"Confirm Session Salt Rotation?",action:"Rotate Salt",success:"Successfully rotated session salt",description:"Are you sure you want to rotate session salt? this operation will invalidate all existing login tokens and force user to login again, including your own login token"}},overview:{source:"Source",deployedFrom:"Deployed From",accessControl:"Access Control",viewInStore:"View It In Store"},diskInfo:{empty:"Disk info not available now!",appDir:"App Directory",dataDir:"Data Directory",logDir:"Log Directory",cacheDir:"Cache Directory"},runtimeInfo:{noRunning:"Runtime information will be available when blocklet is running!",memoryUsage:"Memory Usage",cpuUsage:"CPU Usage",uptime:"Uptime",port:"Port",processId:"Process ID"},dist:{downloadLink:"Download Link",verify:"Verify"},status:{added:"Added",waiting:"Waiting",downloading:"Downloading",extracting:"Extracting",installing:"Installing",upgrading:"Upgrading",installed:"Installed",created:"Created",starting:"Starting",running:"Running",stopping:"Stopping",stopped:"Stopped",error:"Error",deleting:"Deleting",corrupted:"Corrupted",purchasing:"Waiting for purchase",purchased:"Purchased",verifying:"Verifying purchase",resource:"Resource"},list:{download:"Download",star:"Star"},component:{container:"Global Config",showContainer:"Show Global Config",didSpaceConfig:"Configure DID Spaces",didSpaceConfigTip:"Complete the following authorize process to store application data in DID Spaces",didSpaceConnected:"Storage being authorized to: {endpoint}",checkUpdateTitle:"Check for Updates",updateTitle:"Update Blocklets",noUpdate:"No Blocklets to update",add:"Add Blocklet",selectComponent:"Select Blocklet",selectRegistry:"Select Blocklet Store",selectRegistryTip:"You can switch blocklet store to see more components",selectInstance:"Select Instance",selectInstanceTip:"You can select an existing instance or create a new instance. Existing instances will use previously saved configuration and data",newInstance:"Create New Instance",noComponent:"No Blocklets",mountPoint:"What's the mount point?",mountPointTip:"If you set mount point to '/my-prefix', then all requests that begins with that mount point will be routed to the selected Blocklet",delete:"Delete Blocklet",deleteDescription:"This Blocklet will not be accessible after deletion. Confirm delete?",purchase:"Payment Required",tip:{stopBlocklet:"Please stop running Blocklet first",requiredBy:"The Blocklet is required by {name}"},choose:"Choose",upgrade:"Upgrade",addWithName:"Add Blocklet To {name}",relatedComponents:"Related Blocklets",required:"Required",noDependencies:"{name} doesn't have any dependencies",installed:"Installed",installingTip:"Installing component, please wait...",installingCanCloseWindowTip:"Installing component in the background, you can safely close this window",installSuccessTip:"Congratulations, the component was installed successfully!",missDownloadTokenTip:"Cannot add paid component without valid download token",purchaseComponentSecondCheckTip:"Please present your blocklet purchase NFT to continue",installComponentError:"There was an error installing the component, please retry again",downloadComponentError:"There was an error downloading the component, please retry again",addComponentTip:{introduction:"Welcome to the Add Component Wizard",isPurchase:"You need to Verify NFT before use <b>{name}</b> as a component;",belowInformation:"Below is the information for the component: ",verifyNFT:"Please select the Verify NFT method",config:"Please fill in the configuration of the component",environment:"Please fill in the environment of the component",fromUrl:"Add Blocklet From Url"},addNext:"Add {name}",upgradeNext:"Upgrade {name}",setting:"Settings"},router:{urlPath:"URL Path",noRunning:"The blocklet is not currently started. Unable to access through the following address!",securitySetting:"Security Setting",checkUrlAccessible:"Check the accessibility of the address",urlInaccessible:"It may be due to network reasons, the address is temporarily inaccessible",noAccessibleUrl:"No accessible URL",domainLockTooltip:"The system generated Domain cannot be edited.",urlLockTooltip:"The system generated URL Path cannot be edited.",showAllDomains:"Show all domains",showAllDIDs:"Show all DIDs",currentDomainTip:"You are accessing the current page through this domain"},export:{title:"Export Blocklet",name:"Bundle Name",nameTip:'e.g. "my-blocklet-name" or "@my-scope/blocklet-name"',result:"What's next",exportSource:"Export Source",success:"Blocklet successfully exported",resultTipStart:"With",resultTipEnd:"you can build and publish this blocklet within minutes",uploadedComponentTip:"Directly uploaded components cannot be exported:"},migrate:{title:"Migrate Application",scan:"Connect your DID Wallet to generate a key-pair for this application",confirm:"Review this operation on your DID Wallet",success:"Your application is successfully migrated, the page will be refreshed in {sec} seconds",intro:{l1:"Click here",l2:"to migrate your application to new version (changes are disabled before the migration completes)",l3:"1. The application DID will be fully controlled from your DID Wallet.",l4:"2. The application data will be migrated, and no further changes required.",l5:"3. The new application structure will give you more flexibly when change components.",l6:"4. Please do not change component mount points before component new version is out."},tip:{duplicate:"Find duplicate component {name}, please delete useless components and migrate again",running:"Please stop blocklet before migration"}},error:{isRunning:"Blocklet is running, please stop it first",isInProgress:"Blocklet is in progress, please wait for it to finish"},publish:{connectOrUpload:"Connect or Upload",projectSettings:"Project Settings",noStoreSelected:"Please select one of the existing stores or add a new store to continue",forceResourceBlocklet:"Force defined as a resource-based blocklet",autoUploadTip:"Upload release to connected Blocklet Stores automatically after creation",possibleSameStoreTip:"Try resolving dependency blocklets to the same Blocklet Store before each uploading when possible",needProjectId:"Please create a project first",developerInfo:"Developer Information",branding:"Branding",brandingHelp:"More information about the blocklet will be displayed in the Store",download:"Download {name}",deleteStoreTip:"Are you sure you want to remove {name} from the connect Store list?",delete:"Delete {name}",copyInstallUrl:"Copy Install URL",installToThisServer:"Install to this server",createResource:"Create Resource",blockletStudio:"Blocklet Studio",tenantScope:"Tenant",addResource:"Add Blocklet",productTitle:"Product",versionTitle:"Versioning",imgTitle:"Images",resourceTitle:"Resources",resourceSelect:"Select resource from following blocklets",resourceUpload:"Upload resource from your disk (index.html is required in the archive)",blockletEmptyTip:"There aren’t any blocklets here",createBlockletTip:"You can create new blocklet through existing resources, components, and configuration in this application",createBlocklet:"New blocklet",reconnectStoreTip:"After reconnecting, a new developer will be bound. Are you sure you want to reconnect?",disconnectStoreTip:"After disconnecting, the blocklet will be removed from the store. Are you sure you want to disconnect?",componentNotRunning:"Blocklet {name} is not running, please start it first",allComponentsNotRunning:"Blocklets is not running, please start it first",releaseEmptyTip:"There aren't any releases here",resourceEmptyTip:"No available resources",viewLastRelease:"View last release",createReleaseTip:"You can create a release of the blocklet, along with release notes and resources, for other people to use",createRelease:"Create release",deleteReleaseTip:"The release cannot be recovered after deletion",createBlockletDid:"Create from DID Wallet",createReleaseSuccess:"Release created successfully",saveDraftSuccess:"Draft saved successfully",packTip:"Currently blocklets can be installed directly as applications. Components and application configurations will be automatically included in the Blocklet",resourceTip:"Currently, as a Resource Blocklet, it cannot be directly installed from the Store.",whyCantSeeInStore:"You need to publish the blocklet on connected store before you can see it in the store listing page",whyCantSeeResourceBlockletInStore:"Resource Blocklet are hidden from the store listing page by default",resourceChangedWarning:"You have modified the resource, please save it in time",install:"Install {name}",installResourceTip:"Install Url:",installResourceTip2:"If you want to see more tips, please visit",installResourceHelp:"Help Document",componentIncluded:"Included",componentForceRequired:"Required",steps:{branding:"Describe the basic information of your Blocklet. This information will be presented to users in the store.",introduction:"A clear introduction can effectively highlight your Blocklet. You can use Markdown syntax to write and preview it.",resources:"Please select the resources that need to be associated with the current Blocklet, as these resources will be installed along with the Blocklet.",blocklets:"Please select the Blocklets that need to be associated and installed when installing the current Blocklet.",version:"Set the release version and the change log."},connect:{title:"Create Blocklet DID",scan:"Scan the QR code below to generate Blocklet DID",confirm:"Confirm using DID Wallet",success:"Blocklet DID has been generated, please continue your operation"},deleteProject:{title:"Delete {name}",scan:"Scan the QR code below to delete {name}",confirm:"Confirm using DID Wallet",success:"Blocklet has been deleted, please continue your operation",description:"Are you sure you want to delete the Blocklet? Here are the issues you might encounter:",tip1:"The Blocklet cannot be recovered after deletion.",tip2:"You will no longer be able to publish new versions to the deleted Blocklet, which means that the Blocklet will not be updated in the Store anymore.",tip3:"Deleting the Blocklet will not affect its currently published version in the Store."},saveDraft:"Save Draft",releaseNote:"Release Note",errorTip:{noDid:"Blocklet DID is required",noFirstDid:"Please create Blocklet DID first",noTitle:"Blocklet Title is required",noVersion:"Blocklet Version is required",inValidVersion:"Invalid Blocklet Version",noResource:"Please select upload resource to be included in the blocklet",noDescription:"Blocklet Description is required",noNote:"Release Note is required",invalidUrl:"Please input a valid URL",invalidUrlOrEmail:"Please input a valid URL or email"},uploadToStoreSuccess:"Blocklet upload to Store successfully, you need publish it in the Store",publishToStoreSuccess:"Blocklet published to Store successfully",connectStoreSuccess:"Blocklet Store connected successfully"}},dashboard:{nodeDid:"Node",ownerDid:"Owner",routingEngine:"Routing Engine",ownerNftURL:"Owner NFT",expirationLeft:"Expiration Left",startFromCrashTip:"Blocklet Server did not exit normally last time, please manually start the blocklets that needs to be run.",runtimeConfig:{blockletMaxMemoryLimit:"Blocklet Max Memory Limit",daemonMaxMemoryLimit:"Server Max Memory Limit",proxyMaxMemoryLimit:"Event Bus Max Memory Limit"}},store:{nameSort:"Name",popularSort:"Popularity",headerDescription:"Find and Install Your Blocklets",detail:{purchase:"Purchase {name}",open:"Open {name}",install:"Install {name}",upgrade:"Upgrade {name}",empty:"No introduction"},tooltip:{upgradeServer:"Blocklet requires Blocklet Server version {version}, current Blocklet Server version is {serverVersion}"},blockletRegistry:{changeFailed:"Change Blocklet Store Failed: ",addFailed:"Add Blocklet Store Failed: ",editFailed:"Edit Blocklet Store Failed: ",switchRegistry:"Switch Blocklet Store",addRegistry:"Add Blocklet Store",editRegistry:"Edit Blocklet Store",deleteRegistry:"Delete Blocklet Store",haveSameRegistry:"The same blocklet store exists",registryName:"Blocklet Store Name",registryUrl:"Blocklet Store URL",registryNameEmpty:"Blocklet Store name cannot be empty",registryUrlEmpty:"Blocklet store url cannot be empty",deleteDesc:'Confirm Delete blocklet store {name} ?<br/><span style="color: {color}">*After removing this blocklet store, you cannot update the apps installed from this blocklet store unless you add them again.</span>',confirmDesc:"Please input {name} to delete"},purchase:{title:"Purchase {name}",confirmed:"Your blocklet purchase NFT is verified",declined:"You do not provided valid the blocklet purchase NFT",waiting:"Waiting for purchase complete...",purchase:{title:"Purchase NFT",description:"Pay some token before installing this blocklet if you have not purchased this blocklet"},verify:{title:"Verify NFT",description:"Your NFT will be verified before installing this blocklet if you have purchased and hold the purchase NFT in your DID Wallet",auth:{title:"Purchase Credential Required",scan:"Connect DID Wallet to provide blocklet purchase NFT",confirm:"Review this operation on your DID Wallet",success:"Your purchase NFT is verified, and installing has started"}},auth:{title:"Purchase {name}",scan:"Scan following QRCode with your DID Wallet",confirm:"Confirm on your DID Wallet",success:"Purchase NFT sent to your DID Wallet"},launch:"Launch {name}",autoLaunch:"{name} successfully purchased, redirecting to launch page..."}},setting:{saveSuccess:"Settings Saved Successfully",unSavedTip:'There are unsaved changes, please click "Save Changes" to save them.',unSavedLeaveTip:"There are unsaved changes, are you sure to leave the page?",form:{name:"Name Your Server",nameRequired:"Server description is required",namePlaceholder:"Server Name",description:"Describe Your Server",descriptionHolder:"Server Description",descriptionRequired:"Server description is required",domain:"Your Server Domain Name",domainPlaceholder:"Server Domain Name",domainRequired:"Server domain is required",ipPlaceholder:"IP",ipRequired:"IP is required",registry:"Blocklet Store",registryPlaceholder:"Blocklet store to fetch blocklets",registryRequired:"Blocklet store is required ",registerUrl:"Blocklet Launcher URL",registerUrlPlaceholder:"Input the URL of your preferred Blocklet Launcher, you can use the official one safely",webWalletUrl:"DID Wallet URL",webWalletUrlPlaceholder:'Please input the URL of your hosted "DID Wallet", you can use the official one safely',nftDomainUrl:"NFT Domain URL",nftDomainUrlPlaceholder:'Please input the URL of your hosted "NFT Domain", you can use the official one safely',enableWelcomePage:"Enable welcome page",welcome:{switchLabel:"Welcome Page"},enableSessionHardening:{switchLabel:"Enable Session Hardening",switchTips:"After enabling this option, mutation operations will require strict verification, which can improve the server's overall security."},security:{switchLabel:"File System Isolation",switchTips:"After disabling this option, the file system of the Blocklet will no longer be in isolation, which may pose a risk of malicious software damaging the file system.",warningTips:"The file system isolation feature cannot take effect. Please upgrade the node.js version (current version is {version}) to v21.6.0 or higher."},docker:{switchLabel:"Run Blocklets in Containers",switchTips:"After enabling this option, all blocklets will be run in Docker containers, which can improve the server's overall security.",notInstalled:"Can not enable container mode because docker is not installed or the current user has insufficient permission to run docker",needCloseFileSystemIsolation:"File system isolation and docker container mode runtime cannot be enabled at the same time"},dockerNetwork:{switchLabel:"Container Network Isolation",switchTips:"After enabling this option, blocklets run in a more secure manner: a blocklet cannot access the blocklet server or other blocklets across applications.",needEnableDocker:"Container mode must be enabled to enable network isolation"},upgrade:{title:"Upgrade Blocklet Server to {version}",description:"During the upgrade, your Blocklet Server will enter maintenance mode for a few minutes while the update is completed.",dialog:'Click on "confirm" to install the update. Blocklet Server will enter maintenance mode until the update is completed and return to production mode automatically.',confirm:"Upgrade",switchLabel:"Auto Update Check",enableBetaRelease:"Enable Beta Release",setup:"Preparing the upgrade",installing:"Installing Blocklet Server v{version}",restarting:"Restarting Blocklet Server",cleanup:"Migrating Blocklet Server data",verifying:"Verifying Blocklet Server v{version}",rollback:"Rollback Blocklet Server",complete:"Upgrade complete!",progress:"Upgrading {name}",check:"Check for Updates",latest:"You are running the latest version."},restart:{title:"Restart Blocklet Server",description:"During the restarting, your Blocklet Server will enter maintenance mode while the restart is completed.",dialog:'Click on "confirm" to restart. Blocklet Server will enter maintenance mode until the restart is completed and return to production mode automatically.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting Blocklet Server",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting {name}"},restartAllContainers:{title:"Restart All Container",description:"Restart all containers and keep blocklets running.",dialog:'Click "confirm" to restart all container blocklets and keep blockelts status running.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting All Container At Background",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting All Container At Background"},restartAllBlocklet:{title:"Restart All Blocklets",description:"Restart all blocklets that are running or error on this server.",dialog:'Click "confirm" to restart all blocklets at background.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting All Running Or Error Blocklets At Background",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting All Running Or Error Blocklets At Background"},register:{title:"Register to Blocklet Launcher",description:"Once added, you can launch blocklets to this blocklet server from {url}.",button:"Register"},monitor:{diskThreshold:"Send alert when disk usage exceeds (%)",diskThresholdPlaceholder:"Please set the disk usage alert threshold"}},accessKey:{accessKeyId:"ACCESS KEY",lastUsed:"Last Used At",tip:"Please enter a name for this access key for future reference:",saveSecretTip:"This is the only time that your Access Secret key can be viewed and cannot be recovered. However, you can create new access keys at any time",iKnow:"I have copied and saved the Access Secret",showSecret:"Show Secret Access Key",hideSecret:"Hide Secret",title:"Delete Access Key",descriptionNoTime:"This will permanently delete the access key {key} with name {name}, which is (never used before)",description:"This will permanently delete access key {key} with name {name}, which is (last used on {time}, {timeAge})",confirm_desc:"Please input {name} to delete",remark:"Access Key Name",remarkInvalid:"Access Key Name is required"},webhook:{add:"Add Integration",delTitle:"Delete Integration",requiredError:"Please provide a valid {type}",confirm_desc:"Please input {name} to delete",test:"Test",description:"This will permanently delete integration with ID {id}",columns:{description:"ID",params:"Params",createdAt:"createdAt"}}},notification:{title:"Activities",empty:"No activities yet",viewAll:"View All",showRead:"Show Read",markAllAsRead:"Mark All as Read",markAsRead:"Mark As Read",proceed:"Proceed",checkingForUpdates:"Checking for updates...",installComponentError:"Not found uninstalled component {name}",installingComponent:"Installing component {name}",pushKit:{enable:"Enable PushKit notification",endpoint:"PushKit endpoint",endpointInvalid:"PushKit endpoint is invalid URL",testSuccess:"Test PushKit send successfully",testFailed:"Test PushKit send failed",testReceiver:"PushKit receiver",testSend:"Test push-kit send",inputTestReceiver:"Please input test receiver did",receiverRequired:"PushKit receiver is required",pushPath:"Api path for push-kit (default /api/push)",did:"PushKit Blocklet DID",customOptions:"Custom Options"},email:{enable:"Enable email notification",from:"Email sender",host:"SMTP server host",port:"SMTP server port",user:"SMTP server username",secure:"Enable secure connection",password:"SMTP server user password",fromRequired:"Email sender is required",fromInvalid:"Email sender is invalid",receiverRequired:"Email receiver is required",receiverInvalid:"Email receiver is invalid",hostRequired:"SMTP server host is required",hostInvalid:"SMTP server host is invalid",portRequired:"SMTP server port is required",portInvalid:"SMTP server port is invalid, port should be between 1 and 65535",userRequired:"SMTP server username is required",passwordRequired:"SMTP server user password is required",testSuccess:"Test email send successfully",testFailed:"Test email send failed",testReceiver:"Email receiver",testSendEmail:"Test email send",inputTestReceiver:"Please input test receiver email",disable:"Unsubscribe email notification",disableDescription:"After unsubscribe, you will no longer receive email notifications. To receive email notifications, you can subscribe it again on this page.",unsubscribe:"Unsubscribe email notification",unsubscribeDescription:"After unsubscribe, you will no longer receive any email notifications.",subscribe:"subscribe",subscribeDescription:"To receive email notifications, you can subscribe it again on settings page."},comingSoon:"More notification channel are under construction",unsubscribe:"Unsubscribe",unsubscribeSucceed:"Unsubscribe succeeded",unsubscribeFailed:"Unsubscribe failed",unsubscribeTokenRequired:"Unsubscribe token in required",unsubscribeTokenExpired:"Unsubscribe token is expired",unsubscribeTokenInvalid:"Unsubscribe token is invalid"},router:{routerSetting:"Domains & URLs",certSetting:"SSL Certificates",defaultSite:"Default",urlHelperText:"URL that do not start with HTTP/HTTPS are considered relative paths",empty:"Click on Actions to setup URL Mapping",healthy:{ok:"Blocklet or service is running",error:"Blocklet or service is not running or not installed"},service:{select:"Select Blocklet Services (Optional)",what:"Blocklet Services are pipelines executed against the request before redirecting to upstream blocklet"},nonProvider:{title:"Engine Change Warning",description:"If you change engine to none, your current page may not work properly because the previous engine will be stopped, are you sure to continue?",confirm:"I understand, continue"},validation:{urlRequired:"URL is required",redirectCodeRequired:"Redirect code is required",didRequired:"Blocklet is required",pathPrefixTooLong:"The URL Prefix cannot exceed {length} characters",pathPrefixCannotBeEmpty:"The URL Prefix cannot be empty",domainRequired:"Server domain is required",invalidUrl:"Please provide a valid URL",pathPrefixRequired:"URL prefix is required",redirectUrlRequired:"Redirect URL is required",rewriteUrlRequired:"Rewrite URL is required"},domain:{addSite:"Add Site",validate:{emptyTip:"Site domain cannot be empty",suffixTip:"Site domain cannot include {suffix}"},add:{title:"Add Domain Name",description:"Please provide a valid domain name",confirm:"Add",cancel:"Cancel",blocklet:"Select Blocklet",redirect:"Where to redirect the traffic?",port:"What port does your request handler need to listen to?",portTip:"This defaults to the main port of request handler, you can customize this",type:"Traffic Handler",component:"Select Component",pageGroup:"Page Group",pageGroupTip:"This component can render any group of pages listed above, leave empty to render all pages"},update:{title:"Update Site Domain",label:"Site Domain",description:"Please provide a valid site domain"},setup:{tipStart:"Add the DNS records for the domain",tipEnd:"as per the following guidelines",recordType:"Record Type",recordValue:"Record Value"},verify:{ok:"The domain resolution is normal",notResolved:"This domain neither resolved nor accessible, please check your DNS configuration"},https:{ok:"This domain has https enabled",bad:"This domain has not enabled https"},delete:{title:"Delete Site",description:'By confirming, you will delete your existing "{name}" site. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your site',confirm_desc:"Please input {name} to confirm"}},domainAlias:{nftDomain:"Automatic config with DID Domain",showTipHint:"How do I configure domain name resolution?",add:{title:"Add Additional Domain",tips:"You can enter a domain name purchased from DID Domain or any other domain. If it is a DID Domain, you must present the DID Domain NFT to proceed.",domainDescription:"Please provide a valid domain name",forceTip:"Force add if domain name already exists",helperText:"If an HTTP or HTTPS URL is entered, it will be automatically converted into a domain name.",isDidDomainError:"This domain is a DID Domain. Please add it using the method for automatic domain configuration."},addCustomDomain:{name:"Custom Domain"},addDomainNFT:{showNFT:"Configure domain automatically",tips:"You can enter a domain purchased from DID Domain. If a DID Domain is detected, you must present the DID Domain NFT to continue.",connect:{title:"Please show your Domain NFT",scan:"Scan following QR code with DID Wallet to authorize to blocklet to use your domain",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},buyTip:"DID Domain will do the domain name resolution automatically, no need to configure it manually, and the application will update the resolution record of the domain name automatically when needed. If your don't have DID Domain NFT yet, ",buy:"Buy DID Domain"},delete:{title:"Delete",description:"After removing a domain alias, access to that alias may not be handled properly."}},domainSecurity:{title:"Domain Security",cors:{title:"Allowed CORS Domains",description:'Domain list that can send cross origin requests to {name}, comma separated, use "*" to allow anyone, which is not recommended',domainInvalid:"Please input a valid list of domain names"}},rule:{add:{title:"Add URL Mapping",confirm:"Add",pathPrefix:"What's the URL Prefix?",pathPrefixTip:"If you set prefix to '/my-prefix', then all requests that begins with that prefix will be routed to the configured blocklet",blocklet:"Which Blocklet will be handling those requests?",port:"Which port of the blocklet will be handling requests?",portTip:"This defaults to the main port of blocklet, if your blocklet listens on multiple ports, you can customize this",responseType:"Response Type",responseBody:"Response Content",responseBodyTip:"Paste your response content here, should not exceed 4096 characters",responseBodyRequired:"Response content can not be empty"},delete:{title:"Delete URL Mapping",description:'By confirming, you will delete your existing "{name}" URL Mapping. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your URL Mapping.',confirm_desc:"Please input {name} to delete",cancel:"Cancel"},update:{title:"Update URL Mapping",confirm:"Yes, Update",cancel:"Cancel"}},cert:{name:"Certificate Name",domain:"Domain Name",action:"Action",commonName:"Common Name",boundDomains:"Domains",source:"Source",expired:"Expired",leftDays:" days left",issuedOn:"Issued On",expiryOn:"Expiry On",fingerprintAlg:"Fingerprint Algorithm",validityPeriod:"Validity Period",matchedSites:"Matched Sites",upload:"Manual Upload",publicCertHelperText:"Public certificates can be downloaded",nonPublicCertHelperText:"Non-public certificates cannot be downloaded",protectedCertHelperText:"Protected certificates cannot be edited",unprotectedCertHelperText:"Unprotected certificates can be edited",issuing:"Certificate being generated",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"},table:{nodata:"No data"},delete:{title:"Delete Certificate",description:"Confirm delete certificate of domain {domain}? Deleting it may affect related services. Please confirm it's safe before proceeding with the deletion.",confirm:"Confirm"},nginx:{title:"Update Certificate",titleAdd:"Add Certificate",pem:"SSL Certificate File",pemTip:'Please drop your server certificate file here, it should ends with ".pem" or ".crt"',key:"Private Key File",keyTip:'Please drop your server private key file here, it should ends with ".pem" or ".key"',confirm:"Save",cancel:"Cancel",invalidFile:"You have selected an invalid file",empty:"No file selected yet",source:"Source",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"}},detail:{title:"Certificate Details"},genLetsEncryptCert:{title:"Generate Let's Encrypt certificate",dnsTip:"Please make sure the domain name has point to the current Blocklet Server.",description:"Adding a certificate will make the service more secure, and Blocklet Server will automatically renew the certificate before it expires."}},gateway:{reqLimit:{switchLabel:"Request Limiting",rate:"Request Limit({rate} Request/Second)"},cacheEnabled:{switchLabel:"Enable Gateway Cache"},blockPolicy:{switchLabel:"Request Blocking",blacklistLabel:"Blocked IPs",addItem:"Add Item",blacklistDesc:"Requests from these IPs will be blocked from accessing this Server and all Blocklets",inputPlaceholder:"Enter IP address, CIDR range, or URL",invalidItem:"Invalid IP address, CIDR range, or URL"},proxyPolicy:{switchLabel:"Running behind proxies",trustRecursive:"Trust proxies recursively",trustRecursiveDesc:"Use the leftmost untrusted IP in the X-Forwarded-For chain",trustedProxies:"Trusted Proxies",trustedProxiesDesc:"Requests from these IPs will be trusted to get the real client IP",realIpHeaderLabel:"Client IP Header",realIpHeaderDesc:"If the Blocklet Server is running behind proxies such as CloudFront, you can set the header of the client's real IP here.",addItem:"Add Item",inputPlaceholder:"Enter IP address, CIDR range",invalidItem:"Invalid IP address, CIDR range"}}},noMatch:{desc:"We can't find the page that you're looking for"},health:{connectionErrorTip:"Blocklet Server can't connect to the network, please check if Blocklet Server has been stopped or there is a network issue",connectionRecoveryTip:"Blocklet Server connectivity has been recovered",connectionStoppedTip:"Blocklet Server has been stopped",wrongAccessUrlTip:"Blocklet Server access address is wrong, please use the correct access address"},debug:{title:"Your Blocklet Server is up and running!"},team:{add:"Add New",invite:{action:"Invite New",setting:"Invite Settings",enabled:"Allow any user to invite new user to this blocklet",disabled:"Only owner/admin can invite new user to this blocklet",inviter:"Invited By"},member:{name:"Name",passport:"Passport",passports:"Passports",lastLogin:"Last Login",lastLoginIp:"Last Login IP",openProfile:"View Profile",source:"Register Source",source_derived:"Derived from oauth",source_wallet:"DID Wallet",filter:"Filter by",blockAccess:"Block Access",blockAccessDescription:"The user will not be able to connect to this application",allowAccess:"Allow Access",allowAccessDescription:"The user will be able to connect to this application",updateRole:"Update Role",removeUser:"Remove User",removeUserDescription:'Confirm remove user "{did}" and all its related data (connected accounts, passports, login sessions, etc.)? This action cannot be undone.',removeUserSuccess:"User removed successfully",revokePassport:"Revoke Passport",revokePassportDescription:"Once the passport is revoked, the passport holder can not use it to login again, are you sure to continue?",enablePassport:"Enable Passport",enablePassportDescription:"Once the revoked passport is enabled again, the passport holder can use it to login again, are you sure to continue?",passportPermissionTitle:"The passport has the following permissions:",search:"Search Member",onlyApprovedMember:"Show Approved Only",inviteDialog:{createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},error:{passportEmpty:"Passport should not be empty"},connectedAccounts:"Connected Accounts",connections:"Connections",federated:"Federated",switch:{did:"Switch DID",profile:"Switch Profile",passport:"Switch Passport"},settings:{notification:"Notifications",email:"Send email to me when some events happen",wallet:"Send notification to my wallet when some events happen",phone:"Send text message to me when some events happen",webhook:"Webhooks",add:"Add new webhook",url:"Custom URL",slack:"Slack Webhook",tested:"Test message sent"},activeUserSessions:"Active User Sessions",forceLogout:"Force logout",forceLogoutDescription:"Confirm to force logout this user?"},transferNode:{name:"Transfer Ownership",inviteDialog:{title:"Transfer Blocklet Server",tips:{progress:"Transfer the server needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the server with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and Blocklets.",revoke:'If you want to withdraw the transfer invitation, you can delete the invitation link in the "Team -> Members -> Inviting" page.'},createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},delegateDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize server to transfer server ownership NFT.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"}},transferApp:{name:"Transfer Ownership",transferDialog:{title:"Transfer Application",tips:{progress:"Transfer the application needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the application with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and settings."},createTransferLink:"Generate Transfer Link",createSuccessTip1:'The transfer link is successfully created, the invitee must use <a style="color: rgb(29, 193, 199)" target="_blank" href="https://www.didwallet.io/">DID Wallet</a> to receive the app ownership',createSuccessTip2:"Please click to copy and send the link to the invited member, please note that this transfer link can not be reused and will expire on {expireDate}. Your transfer link will only be shown once and will not be viewable again after closing this dialog",createSuccessTip3:"After the transfer is successful, the application will automatically restart to make the changes take effect",link:"Transfer Link",iKnow:"I have copied and saved the link"},connectDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize application to transfer ownership.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},receiveDialog:{title:"Receive Application Ownership",scan:"Scan following QR code with DID Wallet to receive the application ownership.",confirm:"Confirm on your DID Wallet",success:"Receive Ownership Successfully"},successTitle:"You have become the new owner of this application",visitDashboard:"Visit Application Dashboard"},permission:{create:{title:"Create Permission",description:`Format: <action>_<resource>
|
|
1565
|
-
e.g. 'query_user', 'mutate_user'`},delete:{title:"Delete Permission",description:"Confirm delete {name}?"},error:{actionEmpty:"action cannot be empty",resourceEmpty:"resource cannot be empty",permissionTooLong:"permission cannot exceed {length} characters",descriptionTooLong:"description cannot exceed {length} characters"}},passport:{create:{title:"Create Passport",titleTip:"Title cannot be modified after created, recommended within 14 letters"},bind:{title:"Bind Permission",roleTip:"You will get all the permissions of the selected passport after binding",permissionTip:"You will get the selected permissions after binding",transferLeftTitle:"All permissions",transferRightTitle:"Granted permissions"},delete:{title:"Delete Passport",description:"The passports holds by user will lose all permissions after it is deleted. Are you sure to continue?"},error:{titleEmpty:"title cannot be empty",titleTooLong:"title cannot exceed {length} characters",descriptionEmpty:"description cannot be empty"},issuance:{pending:"Pending",create:{title:"Generate Link"},delete:{title:"Delete Receive Link",description:"Confirm delete {link}?"}},issue:"Issue Passport",disableIssuance:"Disable Passport Issuance",enableIssuance:"Enable Passport Issuance",disableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be disabled',enableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be enabled',trustedPassportIssuers:"Trusted Passport Issuers",trustedIssuers:"Trusted Issuers",trustedFactories:"Trusted NFT Collections",trustedFactoriesTip:"Manage trusted NFT Collections that can be used to exchange for a passport",searchFactoryAddress:"Search Collection DID",configFactories:"Config Trusted NFT Collections",configFactoriesTip:"Allow users to exchange NFTs for passport",factoryAddress:"NFT Collection Address",factory404:"NFT Collection not found",factoryAddressTip:"The NFT Collection address must exist on ArcBlock Main Chain",role:"Passport Type",ttl:"Passport Expire Policy",ttlNever:"Never Expire",ttlMint:"From NFT Purchase",ttlExchange:"From Passport Exchange",ttlNeverTip:"The passport will be valid until revoked",ttlMintTip:"The passport will be valid from the time the NFT is purchased until you specified ttl or revoke",ttlExchangeTip:"The passport will be valid from the time user successfully exchanged until you specified ttl or revoke",ttlTip:'"365d" means 365 days, you can also use "30 days" or "24h"',validUntil:"Valid until: {date}",externalPassport:"External Passport",notTrustedIssuerTip:"The passport cannot be used because the issuer is not on the list of trusted issuers",issuerDid:"Issuer DID",addNodeToTrustedIssuers:"Add current server as a trusted passport issuer",revoked:"Revoked",noPermission:"No permission to perform this operation",shouldNotDeleteCurrent:"You can not revoke your passport currently in use",mappingRule:"Mapping rule",defaultRule:"Default rule",search:"Search Passport",searchIssuerDid:"Search Issuer DID",issueBy:"Issue by {name}",configColor:"Config Passport Color",configColorTip:"Customize the color of the passport",color:"Passport Color",description:"Use this passport to connect {teamName} as {title}",displayBuiltin:"Builtin",displayCustom:"Custom",typesTip:"Customize the types of the passport, split by comma",issuanceDate:"Issuance Date: {date}"},inviting:{link:"Invite Link",inviter:"Inviter",delete:{title:"Delete Invite Link",description:"Confirm delete {link}?"},disabledTip:"Invitation is not enabled"},whoCanAccess:{all:{title:"Accessible to all"},owner:{title:"Owner only"},invited:{title:"Invited user only"}}},launcher:{provider:"Provider",adminUrl:"URL"},session:{blockAccess:"You have been blocked from access this server"},launchBlocklet:{appInfo:"Application Information",appInfoDesc:"Confirm the application information",author:"Application Author: {author}",setup:"Setup Blocklet",redirect:"Redirect",alreadyRunning:"Application {name} is already running on this Blocklet Server",alreadyInstalled:"Application {name} is already installed on this Blocklet Server",alreadyExists:"This application already exists, redirecting...",purchased:"Already Purchased",purchase:"Purchase",nextStep:"Next Step",agreement:"License Agreement",agreeAll:"Agree & Continue",installing:"Installing {appName} on {serverName}, it may take minutes to complete, please stay tuned...",redirecting:"{appName} is successfully installed, now starting...",start:"Launching",launch:"Install Blocklet to Server",launchSuccess:"{appName} is successfully launched!",installSuccess:"Blocklet is successfully installed and launched on {serverName}",openInRegistry:"View in Blocklet Store",subTitle:"Ready to install Blocklet {appName} on {serverName}",installingSubTitle:"{appName} installing",access:"Open the application",installRelatedComponents:"Install related Blocklets",viewApplication:"View Application",newVersion:"New Version",newVersionDesc:"The application already exists, but the current version can be upgraded",upgradeNow:"Upgrade Now",later:"Later",introduction:"Introduction",welcome:"Welcome to the Blocklet Launch Wizard",accept:"I agree to the Blocklet EULA",license:"Application License",next:"Agree to the EULA and continue",purchaseApp:"Purchase Blocklet",setupAppDesc:"Initialize your Blocklet",launched:"Complete",confirmInstall:"Confirm Installation",dialog:{title:"Become App Owner",nftFreeDescription:"Please present app space NFT and create app account to continue",nftPaidDescription:"Please present app space NFT and app purchase NFT to continue",freeDescription:"Please create app account to continue",paidDescription:"Please present app purchase NFT and create app account to continue",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully",authorizationTimeout:"Authorization timeout"},waiting:{verifying:"Verifying app meta...",downloading:"Downloading app bundle...",downloadingComponent:"Downloading {name}",extractingComponent:"Extracting {name}",extracting:"Extracting app bundle...",installing:"Installing app components...",installed:"Installed",starting:"Starting the app...",done:"Waiting for app ready..."},error:{loadMetaFailed:"Load app information failed",appMetaNotFound:"No information found for this app",downloadFailed:"Failed to download the app, please try again",installFailed:"Failed to install the app, please try again",startFailed:"Failed to start the app, please try again",launchFailed:"Failed to launch the app, please try again",installedButStopped:"The app is installed successfully, but cannot be started. You can start it manually after resolving blocking issues",installedButError:"The app is successfully installed, but failed to start",restoreFailed:"Failed to restore app, please try again",resourceBlocklet:"This blocklet cannot be launched directly, but you can add it into existing application."},steps:{introduction:"Introduction",installApp:"Install Application",purchaseSpace:"Purchase Space",prepareSpace:"Prepare Space"}},issuePassport:{title:"Receive Passport",description:"Use DID Wallet to receive the passport issued by {name}",dialog:{scan:"Use your DID Wallet to claim the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet",loginWithPassport:"Connect with this Passport",autoClose:"Page will auto close in {seconds}s",autoJump:"Page will auto jump in {seconds}s"}},lostPassport:{title:"Lost Passport",description:"The owner of {name} can scan the QR code to retrieve the passport, members please contact the owner to reissue the passport",dialog:{title:"Recover Passport",scan:"Use your DID Wallet to recover the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet"},return:"Connect with passport",selectPassport:"Select passport",receivePassport:"Receive passport"},invite:{message:"{name} invite you to be the {role} of {dapp}",success:"You have successfully joined {dapp}",receive:"Receive with",validUntil:"Valid until:",viewPermission:"View Permission",emptyPermission:"Empty Permission",open:"Open",description:{step1:"Download and setup your {wallet}",step2:"Click above button to receive passport",step3:"Login in {dapp} with received passport"},transferNFTDialog:{title:"Accept Blocklet Server {name}",scan:"Connect the Launcher to complete the reception of the Blocklet Server.",confirm:"Review this operation on your DID Wallet",success:"Connect successfully, waiting for confirmation of receiving the Server"}},receive:{dialog:{title:"Use your DID Wallet to receive passport",scan:"Connect your DID Wallet to receive passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"}},navigation:{navigation:"Navigation",access:"Access",members:"Members",passport:"Passport",analytics:"Analytics",dashboard:"Dashboard",studio:"Studio",blockletService:"Blocklet Service",actionFailed:"Action Failed",form:{title:"Title",titlePlaceholder:"Please input navigation title",titleTooLong:"Title length should small than {len}",icon:"Navigation Icon",iconPlaceholder:"Please input navigation icon",invalidIcon:"Icon is invalid",findMoreIcon:"Find more icons",link:"Link",linkPlaceholder:"Please input navigation link",invalidLink:"Link is invalid",component:"Component",componentPlaceholder:"Please select navigation component",role:"Role",rolePlaceholder:"Please select navigation role",locale:"Locale",localePlaceholder:"Please input locale need to add",localeExists:"{value} is already exists",activeIcon:"Active Icon",activeIconPlaceholder:"Please input navigation active icon",activeColor:"Active Color",activeColorPlaceholder:"Please input navigation active color",color:"Color",colorPlaceholder:"Please input navigation default color"},action:{add:"Add navigation",addSub:"Add sub navigation",edit:"Edit navigation",hide:"Hide navigation",show:"Show navigation",del:"Delete navigation",new:"New",noAddSub:"Uninstalled component can't add sub navigation",noEdit:"Uninstalled component can't edit",noDel:"Not allowed delete built-in navigation",reset:"Reset",restConfirmTitle:"Do you want to clear all custom navigation?",restConfirmDesc:"After clearing, the navigation will be restored to Blocklet's original default configuration.",resetSuccessful:"Reset successful"}},storage:{spaces:{title:"DID Spaces",tips:"Tips",label:"Enter DID Spaces Gateway",connected:{title:"Connected DID Spaces",tag:"Connected"},connectedWithName:"You have successfully connected to {name}",addedWithName:"You have successfully added {name}",connects:"Connect",reconnect:"Reconnect",addressCannotEmpty:"Address cannot be empty",addressNotValid:"{url} is not a valid address",authorize:{title:"Connect {appName} to DID Spaces",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} to connect to DID Spaces",success:"Connected successfully"},provideNFT:{title:"Please show the DID Spaces NFT for {appName}",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} show DID space NFT",success:"Connected successfully"},backup:{title:"Backup",records:"Backup Records"},autoBackup:{title:"Auto backup",enabled:"Automatic backup is on",disabled:"Automatic backup is off"},autoCheckUpdate:{title:"Automatically check for new version notification",enabled:"Automatically check for new version is on",disabled:"Automatically check for new version is off"},backupSuccessfully:"Backup successfully",restore:"Restore",restoreSuccessfully:"Restore successfully",gateway:{title:"Gateway",select:"Select a DID Spaces",add:{title:"Add DID Spaces",label:"Enter the url of the DID Spaces",failed:"Add DID Spaces failed",invalidUrl:"Invalid DID Spaces gateway url",duplicate:"DID Space({name}) already exist"},delete:{title:"Delete gateway",succeeded:"Delete DID Spaces{name} Success",failed:"Delete gateway failed",failedForSelected:"Unable to delete a selected DID Spaces"},connect:{title:"Connect DID Spaces",add:"Connect to DID Spaces now",addTips:"You are not connected to any Space yet",switch:"Switch DID Spaces",switchTips:"You are connected to {name}",connected:"Connected"},switch:{failedForMismatchSpace:"Please connect to the correct Space{name}"},connectTo:"Connect to DID Spaces"},strategy:{title:"Backup Strategy",autoBackup:"Auto backup",backupNow:"Backup now",viewBackupFiles:"View backup files"},progress:{title:"Backup progress"},record:{title:"Backup records",emptyData:"No records"},notYet:"You don't have a backup in progress yet...",connect:{now:"Connect now",title:"Connect DID Spaces",provider:"Provide your DID Spaces to start backups",providerForStorage:"Provide your DID space for data storage",useWallet:"Connect with DID Wallet",useWalletReconnect:"Reconnect with DID Wallet",useSpaceGateway:"Connect using the DID Spaces gateway",useSpaceGatewayReconnect:"Reconnect using the DID Spaces gateway",switchToSpace:"Switch to Space",switchToSpaceSucceeded:"Switched to Space{name}",succeeded:"You have successfully connected to DID Spaces",disconnect:"disconnect"},disconnected:{tag:"Disconnected",reconnectNow:"Reconnect Now"}},appLevel:{title:"App Level Storage",description:"All data generated by the application is stored on this DID Space"}},log:{lastDays:{1:"Last 1 Day",7:"Last 1 Week"}},oauth:{commonSettings:"Common Settings",save:"Save",saveSuccess:"Save successfully",saveFailed:"Save failed",issued:"Issued",thirdPartyLogin:"Third party login",alreadyBindOAuth:"Already bind third party login",alreadyBindWallet:"Already bind DID Wallet",auth0:{enable:"Enable Auth0 login",domain:"Domain",domainDescription:"Auth0's domain is required",clientId:"Client ID",clientIdDescription:"Auth0 OAuth application client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Auth0 OAuth application Client Secret is required"},github:{enable:"Enable Github login",clientId:"Client ID",clientIdDescription:"Github OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Github OAuth application Client Secret is required"},google:{enable:"Enable Google login",clientId:"Client ID",clientIdDescription:"Google OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Google OAuth application Client Secret is required"},apple:{enable:"Enable Apple login",teamId:"Team ID",teamIdDescription:"Apple OAuth application Team ID is required",serviceId:"Service ID",serviceIdDescription:"Apple OAuth application Service ID is required",keyId:"Key ID",keyIdDescription:"Apple OAuth application Key ID is required",authKey:"Auth Key",authKeyDescription:"Apple OAuth application Auth Key is required",bundleId:"Bundle ID",bundleIdDescription:"Apple OAuth application Bundle ID is required"},comingSoon:"More login methods are under construction",moreLogin:"More Login",federated:"Federated Login",oauth:"Third Party Login",runTest:"Test"},expiration:{mobile:{tips:{success:"{validity}",warning:"{validity}",error:"Expired"},loadFailed:"Retry!"},desktop:{tips:{success:"Subscription will expire after {validity}",warning:"Subscription will expire after {validity}",error:"Subscription Expired"},loading:"Load subscription...",loadFailed:"Failed to load subscription info, please retry!",nextInvoice:"Next Invoice: {date}"}},analytics:{trend:"Trends",detail:"Breakdown",runtime:"Runtime",traffic:{totalRequests:"Total Requests",validRequests:"Success Requests",failedRequests:"Failed Requests",uniqueVisitors:"Unique Visitors",uniqueFiles:"Unique URLs",uniqueReferrers:"Unique Referrers",uniqueNotFound:"Unique 404",uniqueStaticFiles:"Unique Static Files",logSize:"Log Size",bandwidth:"Bandwidth"}},federated:{inviteJoinFederatedLogin:"Invite to join federated login",inviteJoinFederatedLoginDescription:"Copy the following address and fill it in the application where you need to join to apply for federated login.",federatedLogin:"Federated login",joinFederatedLogin:"Join federated login",joinFederatedLoginDescription:"Please enter the federated login address provided by Master Blocklet to join the federated login",quitFederatedLogin:"Quit federated login",quitFederatedLoginDescription:"After quit federated login, normal login is always available",federatedJoinAppUrl:"Federated login join appUrl",federatedJoinAppUrlRequired:"Please input federated login join appUrl",failedToGetFederatedLoginAppUrl:"Failed to get federated login join appUrl",federatedJoinAppUrlInvalid:"Federated login appUrl is invalid",siteDetail:"Site detail",approveToJoinLogin:"Approve to join federated login",approve:"Enable login",revoke:"Disable login",enableFederatedLogin:"Enable federated login",disableFederatedLogin:"Disable federated login",enableFederatedLoginDescription:"After enable federated login, this site will be auto login",disableFederatedLoginDescription:"After disable federated login, this site will not be auto login",enableFederatedAutoLogin:"Enable automatic login",enableFederatedAutoLoginDescription:"After enable automatic login, if there is currently a unified login status, the site will automatically log in the identity of the federated login",disableFederatedAutoLogin:"Disable automatic login",disableFederatedAutoLoginDescription:"After the automatic login is turned off, the site will not automatically log in the user information of the unified login, and you can still choose to manually click to log in with the identity of the federated login",info:{appId:"APP DID",appPid:"Permanent ID",migratedFrom:"Also Known As",appName:"Blocklet name",appDescription:"Blocklet description",appUrl:"Blocklet url",appLogo:"Blocklet logo",did:"Blocklet DID",serverId:"Blocklet Server ID",serverVersion:"Blocklet Server version",version:"Blocklet version",appliedAt:"Apply at",status:"Status"},status:{pending:"Pending",approved:"Approved",rejected:"Rejected",revoked:"Revoked"},disbandFederatedLogin:"Disband federated login",disbandFederatedLoginDescription:"After disband federated login, all member site will quit federated login automatically",syncConfig:"Sync federated sites config",quitMember:"Remove",quitMemberDescription:"Remove specified members from the site group",removeFederatedLogin:"Remove member",removeFederatedLoginDescription:"After remove specified members from the site group, member can only use normal login"},optionsOrder:{1:"Option One",2:"Option Two"},securityRule:{title:"Security Rule",sortByDescription:"Sort by matching priority",add:"Add Security Rule",edit:"Edit Security Rule",view:"View Security Rule",form:{precede:"Precede",pathPattern:"Path Pattern",pathPatternPlaceholder:"Please input path pattern",pathPatternErrorText:"Path pattern is invalid",accessPolicyOrResponseHeaderPolicyRequired:"Access Policy or Response Header Policy is required",accessPolicy:"Access Policy",accessPolicyPlaceholder:"Please select access policy",accessPolicyHelperText:"Please select access policy",responseHeaderPolicy:"Response Header Policy",responseHeaderPolicyPlaceholder:"Please select response header policy",responseHeaderPolicyHelperText:"Please select response header policy",remark:"Remark",remarkPlaceholder:"Please input remark",component:"Component",componentPlaceholder:"Please choose component"},delete:{title:"Delete Security Rule ?",description:"After removing a security rule, the rule will no longer take effect"}},responseHeaderPolicy:{title:"Response Header Policy",add:"Add Response Header Policy",edit:"Edit Response Header Policy",view:"View Response Header Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",originOverride:"Origin Override",originOverrideHelperText:"Whether to allow the logic in the application to override this response header",cors:{origin:"Origin",originPlaceholder:"Support the following domain formats: http://www.example.com, http://*.example.com, http://www.example.com:8080, * (wildcard is not recommended)",originHelperText:"Domain name starts with http:// or https://, one per line, one wildcard * per line",methods:"Methods",allowedHeaders:"Allowed Headers",allowedHeadersPlaceholder:"It's recommended to fill in *, support multi-line input",allowedHeadersHelperText:"Tell the server which custom HTTP request headers can be used in the next request when sending an OPTIONS request, such as: x-blocklet-version",exposedHeaders:"Exposed Headers",exposedHeadersPlaceholder:"Support multi-line input",exposedHeadersHelperText:"Configure Expose-Headers, for example: X-Content-Range",maxAge:"Max-Age (Seconds)",maxAgeHelperText:"The validity period of the result obtained by the OPTIONS request, which needs to be a positive integer",optionsSuccessStatus:"Options Success Status",preflightContinue:"Preflight Continue",credentials:"Credentials",smartMode:"Smart Mode",smartModeHelperText:"Automatically add all domain names of the current application, as well as all domain names of the federated login site group"}},delete:{title:"Delete Response Header Policy ?",description:"After removing a response header policy, the policy will no longer take effect"}},accessPolicy:{title:"Access Policy",add:"Add Access Policy",edit:"Edit Access Policy",view:"View Access Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",roles:"Access Roles",accessType:"Access type"},delete:{title:"Delete Access Policy ?",description:"After removing an access policy, the policy will no longer take effect"}}},en$1={blocklet:{restoreBlocklet:{title:"Restore Blocklet",description:"Please select the blocklet you want to restore",verify:{title:"Verify Ownership",subTitle:"Verify ownership of the blocklet with your DID Wallet",verify:"Verify",reconnect:"Try another blocklet",scan:"Scan QR code with your DID Wallet to prove ownership",confirm:"Sign delegation to allow server to download and decrypt the backup",success:"Ownership verified, the restoring is in progress",exists:"This blocklet already exists on this server and restore is aborted",open:"Visit Blocklet",overwrite:"Overwrite"},overwrite:{title:"Overwrite existing blocklet?",description:"The blocklet you are restoring already exists on this server, do you want to overwrite it? The exiting blocklet will be deleted first if you continue"},restore:{title:"Restore Blocklet"}},restoreFromServer:{selectTitle:"Select Application",description:"Please select the application you want to restore",backupIn:"Backup in"},restoreFromSpaces:{title:"Restore from DID Spaces",navSubTitle:"Restore",connect:{title:"Connect DID Space",subTitle:"Jump to DID Spaces, and select the blocklet you want to restore.",select:"Select DID Spaces Gateway",connect:"Connect"},selectBlocklet:{title:"Select App"},restore:{title:"Restore App",subTitle:"The app is being restored",completeTitle:"Everything is Ready",installedTitle:"Successfully restored!",installedSubTitle:"But still needs some configurations to start",support:'If retrying does not work, please ask help in the <a href="{communityLink}" target="_blank">community</a> or contact us at <a href="mailto: {supportEmail}">{supportEmail}</a>.'},nftAuthDialog:{title:"Please present your App Space NFT",scan:"Scan QR code with your DID Wallet to present your NFT",confirm:"Confirm on your DID Wallet",success:"NFT successfully verified!"},progress:{waiting:"Waiting for restore...",restoring:"Restoring...",importData:"Importing data...",downloading:"Downloading files, progress: {progress}",importSuccess:"Successfully imported!",installing:"Installing..."}}},server:{checkUpgrade:"Check new version"}},flatMerge=a=>flat$1(merge$1(...a)),translations$1={en:flat$1(merge$1(en$2,en$1)),ar:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ar-DdnvAQ3d.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ar-DEFG_HSF.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},de:async()=>{const a=await Promise.all([__vitePreload(()=>import("./de-DMQbJIQd.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./de-BXx5XWMv.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},es:async()=>{const a=await Promise.all([__vitePreload(()=>import("./es-D1yxfOJ-.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./es-dYDfzHE0.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},fr:async()=>{const a=await Promise.all([__vitePreload(()=>import("./fr-Db87bqVK.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./fr-DGLilU-8.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},hi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./hi-Df99Lcv0.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./hi-EiYI5FnU.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},id:async()=>{const a=await Promise.all([__vitePreload(()=>import("./id-DtIWnQAT.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./id-BHuBzbF-.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ja:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ja-C6Sh7xsg.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ja-BeNRi6CF.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ko:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ko-DOMsI63X.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ko-BGPBfmUw.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},pt:async()=>{const a=await Promise.all([__vitePreload(()=>import("./pt-DY-L1LL9.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./pt-BmW9xdbz.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ru:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ru-CsG3qZSl.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ru-DufkUHOM.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},th:async()=>{const a=await Promise.all([__vitePreload(()=>import("./th-Bxw1yx6O.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./th-Dl-J4TkD.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},vi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./vi-Df7bxeAg.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./vi-BMeJuBa9.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},zh:async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-Cl_8lQ_b.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./zh-BDoN11lM.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},"zh-TW":async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-tw-BWV-R4Hq.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./zh-tw-CdTy_eDO.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)}},rootStyle=getComputedStyle(document.documentElement),theme=create$4({palette:{primary:{main:"#1DC1C7",contrastText:"#fff"},secondary:{main:"#030712",contrastText:"#fff"},storeSecondary:{main:"#EBFEFF",contrastText:"#fff"},divider:rootStyle.getPropertyValue("--stroke-sep").trim()||"#EFF1F5",text:{primary:rootStyle.getPropertyValue("--foregrounds-fg-base").trim()||"#030712",secondary:rootStyle.getPropertyValue("--foregrounds-fg-subtle").trim()||"#4b5563",lighter:rootStyle.getPropertyValue("--foregrounds-fg-muted").trim()||"#9ca3af",link:rootStyle.getPropertyValue("--foregrounds-fg-interactive").trim()||"#0086FF"}},typography:{fontSize:14,button:{textTransform:"none"},allVariants:{textTransform:"none"},h1:{fontSize:32,fontWeight:700,lineHeight:1.375,textAlign:"left"},h2:{fontSize:24,fontWeight:700,lineHeight:1.3333333,textAlign:"left"},h3:{fontSize:18,fontWeight:600,lineHeight:1.5,textAlign:"left"},fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:700},overrides:{MuiTableRow:{root:{"&:nth-child(even)":{backgroundColor:"rgba(0, 0, 0, 0.02)"}},head:{backgroundColor:"transparent"}}},breakpoints:{values:{xs:0,sm:600,md:960,lg:1280,xl:1920}}}),globalStyles=css$1`
|
|
1564
|
+
`;function CheckNodeStatus(){const{t:a}=useLocaleContext(),{info:j={},api:_e}=useNodeContext(),[et,nt]=reactExports.useState(),{status:tt}=j;reactExports.useEffect(()=>{tt===constant$3.SERVER_STATUS.START_FROM_CRASH&&(nt(!0),_e.resetNodeStatus().catch(st=>{console.error(st.message)}))},[tt]);const rt=()=>{nt(!1)};return et?jsxRuntimeExports.jsx(ConfirmDialog,{description:a("dashboard.startFromCrashTip"),confirm:a("common.confirm"),showCancel:!1,color:"primary",onConfirm:rt}):null}function ErrorFallback$1({error:a,resetErrorBoundary:j}){return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsxs(Alert,{severity:"error",action:jsxRuntimeExports.jsx(ButtonComponent,{onClick:j,color:"secondary",variant:"outlined",children:"Reload"}),style:{minWidth:480},children:[jsxRuntimeExports.jsx(AlertTitle,{children:"Oops, this application crashed"}),jsxRuntimeExports.jsx(Typography,{children:a.message})]})})}var flat=flatten;flatten.flatten=flatten;flatten.unflatten=unflatten;function isBuffer(a){return a&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function keyIdentity(a){return a}function flatten(a,j){j=j||{};const _e=j.delimiter||".",et=j.maxDepth,nt=j.transformKey||keyIdentity,tt={};function rt(st,ft,pt){pt=pt||1,Object.keys(st).forEach(function(dt){const mt=st[dt],xt=j.safe&&Array.isArray(mt),Tt=Object.prototype.toString.call(mt),St=isBuffer(mt),Rt=Tt==="[object Object]"||Tt==="[object Array]",At=ft?ft+_e+nt(dt):nt(dt);if(!xt&&!St&&Rt&&Object.keys(mt).length&&(!j.maxDepth||pt<et))return rt(mt,At,pt+1);tt[At]=mt})}return rt(a),tt}function unflatten(a,j){j=j||{};const _e=j.delimiter||".",et=j.overwrite||!1,nt=j.transformKey||keyIdentity,tt={};if(isBuffer(a)||Object.prototype.toString.call(a)!=="[object Object]")return a;function st(dt){const mt=Number(dt);return isNaN(mt)||dt.indexOf(".")!==-1||j.object?dt:mt}function ft(dt,mt,xt){return Object.keys(xt).reduce(function(Tt,St){return Tt[dt+_e+St]=xt[St],Tt},mt)}function pt(dt){const mt=Object.prototype.toString.call(dt),xt=mt==="[object Array]",Tt=mt==="[object Object]";if(dt){if(xt)return!dt.length;if(Tt)return!Object.keys(dt).length}else return!0}return a=Object.keys(a).reduce(function(dt,mt){const xt=Object.prototype.toString.call(a[mt]);return!(xt==="[object Object]"||xt==="[object Array]")||pt(a[mt])?(dt[mt]=a[mt],dt):ft(mt,dt,flatten(a[mt],j))},{}),Object.keys(a).forEach(function(dt){const mt=dt.split(_e).map(nt);let xt=st(mt.shift()),Tt=st(mt[0]),St=tt;for(;Tt!==void 0;){if(xt==="__proto__")return;const Rt=Object.prototype.toString.call(St[xt]),At=Rt==="[object Object]"||Rt==="[object Array]";if(!et&&!At&&typeof St[xt]<"u")return;(et&&!At||!et&&St[xt]==null)&&(St[xt]=typeof Tt=="number"&&!j.object?[]:{}),St=St[xt],mt.length>0&&(xt=st(mt.shift()),Tt=st(mt[0]))}St[xt]=unflatten(a[dt],j)}),tt}const flat$1=getDefaultExportFromCjs$1(flat);var baseMerge=_baseMerge,createAssigner=_createAssigner,merge=createAssigner(function(a,j,_e){baseMerge(a,j,_e)}),merge_1=merge;const merge$1=getDefaultExportFromCjs$1(merge_1),en$2={common:{invalid:"Invalid",about:"About",access:"Access",buy:"Buy",change:"Change",upload:"Upload",accessKey:"Access Keys",action:"Action",actions:"Actions",add:"Add",refresh:"Refresh",address:"Address",afterTime:"After {time}",allow:"Allow",alreadyExist:"already exists",approve:"Approve",approved:"approved",appUrl:"APP Url",auditLogs:"Audit Trail",author:"Author",avatar:"Avatar",back:"Back",basic:"Basic",basicInfo:"Basic Information",profile:"Profile",bind:"Bind",blocklet:"Blocklet",blocklets:"Blocklets",blockletsStorage:"Blocklets Storage",cacheStorage:"Cache Storage",cancel:"Cancel",certificate:"certificate",category:"Log Topic",click:"Click to copy",close:"Close",selectAll:"Select All",unselectAll:"Unselect All",collapseAll:"Collapse All",community:"Community URL",complete:"Complete",componentBasicInfo:"Component Basic Information",components:"Blocklets",config:"Configure",configuration:"Configuration",configNavigation:"Navigation",configSuccess:"Config successfully",confirm:"Confirm",connect:"Connect",console:"Console",continue:"Continue",continueWith:"Continue With",copiedTip:"Copied",copyAndClose:"Copy & Close",copyTip:"Click To Copy",coreStorage:"Core Storage",cpu:"CPU",create:"Create",createSuccess:"Create Access Key",created:"Created At",createdAt:"Created At",createdBy:"Created By",dAddress:"Decentralized Identifiers (DID)",dataStorage:"Storage on Local Disk",delConfirm:"Delete",delConfirmDescription:"Confirm delete {data}?",delete:"Delete",dependents:"Dependents",description:"Description",detail:"Detail",did:"DID",disk:"Disk",diskInfo:"Disk Info",docker:"IS Docker",documentation:"Documentation",domain:"Domain",downgradeTo:"Downgrade to",download:"Download",connectToStore:"Connect to Store",blockletStudio:"Studio",uploaded:"Uploaded",downloading:"Downloading",edit:"Edit",email:"Email",phone:"Phone",empty:"Empty",emptyData:"No results found",enable:"Enable",engine:"Engine",env:"Environment",environment:"Environment",expandAll:"Expand All",expired:"Expired",expires:"Expires",export:"Export",externalIp:"External IP",failed:"Failed",filter:"Log Filter",fingerprint:"Fingerprint",finish:"Finish",forbid:"Forbid",free:"Free",general:"General",gitpod:"IS Gitpod",goEULA:'Click to view "End User License Agreement"',group:"Group",image:"IS Image",install:"Install",installed:"Installed",installedAt:"Installed At",installSuccess:"Successfully installed",installing:"Installing",internalIp:"Internal IP",introduction:"Introduction",invite:"Invite",inviting:"Inviting",ip:"IP",isPublic:"Public",issue:"Issue",issuer:"Issuer",item:"Item",joined:"Joined",key:"Key",lastPublishedAt:"Published At",launcher:"Launcher Information",leavePageTip:"Are you sure to leave the page?",link:"Link",loading:"loading",log:"View Logs",logStorage:"Log Storage",login:"Login",logo:"Logo",logout:"Logout",logs:"Logs",manageTeam:"Manage Team",marketplace:"Marketplace",member:"Member",members:"Members",memory:"Memory",meta:"Meta Data",analytics:"Analytics",runtime:"Runtime",traffic:"Traffic",more:"More",mountPoint:"MountPoint",name:"Name",next:"Next",no:"No",noData:"No records to display",notice:"Unexpected bad things will happen if you don’t read this!",noticeTitle:"Notice",notification:"Notification",open:"Open",visitStore:"Visit Store",visitTarget:"Visit {name}",management:"Management",os:"Operating System",overview:"Overview",owner:"Owner",page404:"404 Page",passport:"Passport",display:"Display",permission:"Permission",port:"Port",pre:"Previous",preferences:"Preferences",preview:"Preview",protected:"Protected",protocol:"Protocol",purchase:"Purchase",reconnect:"Reconnect",disconnect:"Disconnect",readMore:"More",redirect:"Redirect",redirectCode:"Redirect Code",redirectPermanently:"Permanent Redirect",redirectTemporary:"Temporary Redirect",redirectUrl:"Redirect URL",rewrite:"Rewrite",release:"Release",rewriteUrl:"Rewrite URL",reject:"Reject",reload:"Reload",remark:"Remark",remove:"Remove",removeSuccess:"Remove successfully",renew:"Renew",reportIssue:"Report an issue",required:"Required",requiredErrorText:"{name} is required",resource:"Resource",restart:"Restart",restore:"Restore",retry:"Retry",revoke:"Revoke",role:"Role",running:"running",runtimeInfo:"Runtime Info",save:"Save",saveChanges:"Save Changes",saveSuccess:"Saved successfully",scheduleFailed:"schedule failed",scheduleSuccess:"successfully scheduled",scope:"Scope",screenshot:"Screenshots",search:"Search",security:"Security",serverDid:"Server DID",serverVersion:"Server Version",setting:"Settings",start:"Start",status:"Status",stop:"Stop",storage:"Storage",backup:"Backup",store:"Store",succeeded:"Succeeded",subscription:"Subscription",support:"Support URL or Email",switch:"Switch",team:"Team",the:"The",timeAgo:"{time} ago",title:"Title",type:"Type",unavailable:"Unavailable",update:"Update",updateAvailable:"New version {version} available",updatedAt:"Updated At",updatedBy:"Updated By",upgrade:"Upgrade",upgradeServer:"Upgrade Server",upgradeTo:"Upgrade to",upgrading:"Upgrading",uptime:"Uptime",url:"URL",valid:"Valid",value:"Value",version:"Version",visit:"Visit",waiting:"Waiting",webhook:"Integrations",yes:"Yes",invalidParam:"Invalid Params",launch:"Launch",price:"Price",redirecting:"Redirecting",error:"Error",reminder:"Reminder",normal:"Normal",gateway:"Gateway",verifyNFT:"Verify NFT",errorMessage:"Error Message: ",slugifyHint:"The actual mount point will be: {value}",strategy:"Strategy",auto:"Auto",manual:"Manual",progress:"In progress",startTime:"Start time",endTime:"End time",selected:"Selected",timeoutError:"Timeout error",tags:"Tags",sourceApp:"Belong to App",requiredInputPlaceholder:"Please enter {name}",moveUp:"Move Up",moveDown:"Move Down",enabled:"Enabled",disabled:"Disabled",homepage:"Home Page",homepageTip:"Home Page or Live Demo URL",repository:"Repository",view:"View"},setup:{connect:{title:"Signature Required",scan:"Connect your DID Wallet to become the owner of this server",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},keyPair:{title:"Derived KeyPair Required",scan:"Connect your DID Wallet to generate a key-pair for this app",confirm:"Review this operation on your DID Wallet",success:"Your key pair is securely stored"},verify:{title:"Ownership Credential Required",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},accept:{title:"Accepting server require ownership certificates",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},title:"Setup Blocklet Server",steps:{eula:"End User License Agreement",eulaFooter:"I have read and agreed to the terms of the EULA",connect:"Connect Owner DID Wallet",verify:"Verify Ownership",basicSettings:"Basic Settings",launchApp:"Launch Application",complete:"Complete"},congratulation:"Congratulations! Your Blocklet Server is secure and ready to use",redirectButton:"Take me to dashboard!"},login:{loginTo:"Connect to",description:"Only server owner and approved members can access the dashboard",switchDid:{title:"Switch DID Wallet",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch DID Wallet",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect DID Wallet",scan:"Connect your DID Wallet to provide passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"},verify:{title:"Verify Access",scan:"Connect your DID Wallet to present owner or admin passport",confirm:"Confirm on your DID Wallet",success:"Your access is verified",abort:"Access verification aborted",description:"You need to provide {roles} passport to perform this operation, you will only be asked to verify again after 1 hour of inactivity.",descriptionForDestroy:"You need to provide {roles} passport to perform this dangerous operation to ensure safety."}},acceptServer:{title:"Claim Server with Ownership NFT",tooltip:"If you received a server ownership nft, you can claim your owner passport with this link."},didConnect:{genKeyPair:{title:"Generate Blocklet DID",scan:"Scan following QRCode to generate a Blocklet DID",success:"Successfully generate Blocklet DID",successDesc:"The Blocklet DID has been generate successfully (Subsequent publications require the wallet that generated the DID to operate)"},common:{invalidSession:"Invalid Session",invalidSessionDesc:"Session does not exist or has expired",connectionError:"Failed to connect"}},exchangePassport:{title:"Get Passport with NFT",success:"You have successfully get your passport and logged in with the passport",login:"Login",tooltip:"If you own NFT from collection {collections}, you can exchange your passport with this link.",dialog:{title:"Get Passport with NFT",scan:"Connect your DID Wallet to present your NFT to get a passport",confirm:"Select NFT on your DID Wallet",success:"Passport has been successfully exchanged"}},payablePassport:{title:"Purchase passport with payment",tooltip:"If you do not have a passport, you can purchase a passport with this link."},sidebar:{dashboard:"Dashboard",blocklets:"Blocklets",console:"Console",settings:"Settings"},system:{total:"Total",used:"Used",free:"Free",cores:"Number of cores",instances:"Number of instances"},blocklet:{external:"External",usingDocker:"This Blocklet will run using docker",usingIsolation:"This Blocklet will run using network isolation",notFound:"Blocklet not found on this server, maybe it has been deleted",installFromMarket:"Install New Blocklets",installFromUrl:"Install From Url",installFromCreate:"Create Blocklet",titleValidationError:"Title length must be between 3 and 40 characters",descriptionValidationError:"Description length must be between 3 and 80 characters",installFromDiskBackup:"Restore from this server",installedAt:"Installed At",internal:"Internal",startedAt:"Started At",stoppedAt:"Stopped At",urlEmptyTip:"No Access URL, ",goToAddRule:"Go To Add",services:"Exposed Services",upstreamPort:"Upstream Port",noService:"No Services",appId:"App DID",appPid:"Permanent DID",whyNeedAppPid:"If your application has been migrated, the permanent DID is the DID generated when this Blocklet was originally installed",alsoKnownAs:"Also Known As",skSource:"Owner Wallet",reloadSuccess:"Blocklet was reloaded successfully",statusTip:"Blocklet is {status}",initialUptime:"Less than 1m",dashboard:"Blocklet Dashboard",noComponent:"Application has no components and cannot be started",gotoVisitError:"Unable to access blocklet url, please try again later",fromUrl:{title:"Install Blocklet",label:"Blocklet Meta URL",description:"The URL should point to the Meta File of the Blocklet. If you need to refer to a local file, please add the file:// prefix, e.g. file:///Users/foo/blocklet.json.",confirm:"Install",step0:"Input URL",step1:"Confirm Meta Info",existTipPrefix:"Blocklet with the same DID already exists, the version is",existTipSuffix:", Please install a higher version."},action:{stopDescription:"Stopping the blocklet will make its public interfaces unaccessible, which may cause end user failures",stopComponentDescription:"Stopping the component will make its public interfaces unaccessible, which may cause end user failures",confirmStop:"Yes, Stop It",cancelDownloadDescription:"Cancel download {name} ?",removeApplicationDescription:"Removing the application will erase code and data generated by this application, which is not recoverable if you do not have any backups",removeApplicationAfterBackup:"Backup and remove the application. You can restore the application from this server if you need",removeApplicationComplete:"Remove both code and data for this application",removeComponentDescription:"Removing the component will erase code and data generated by this component, which is not recoverable if you do not have any backups",removeComponentKeepData:"Keep data for this component, only remove code",removeComponentComplete:"Remove both code and data for this component",confirmRemove:"Yes, Remove It",confirmComponentRemove:"Yes, Remove It",upgradeDescription:"Upgrading the blocklet will make it temporarily unavailable, are you sure to continue?",confirmUpgrade:"Yes, Upgrade It",confirmRestart:"Yes, Restart It",restartDescription:"Restarting the blocklet will temporarily suspended and may not start because of a configuration change"},dev:{modeTip:"Please switch Blocklet Server to DEBUG mode"},index:{tableTitle:"Manage Your Blocklets",noBlocklet:"No blocklets found in this Blocklet Server, install a blocklet from market place to start."},admin:{iframeTitle:"Blocklet Admin Interface",title:"Admin Interface",noContent:"This blocklet does not have a admin interface",securityError:"SecurityError: Can not open the admin url from accessing a cross-origin frame"},config:{name:"App Name",description:"App Description",sk:"Secret key for the app wallet",logoSquare:"App Logo",logoRect:"Rect logo",logoRectDesc:"Usually displayed at the top of the page, default to app logo",logoFavicon:"Favicon",logoFaviconDesc:"Usually displayed in the browser's address bar or tab page, default to app logo",splashPortrait:"Splash Portrait",splashLandscape:"Splash Landscape",splashPortraitDesc:"Displayed when the blocklet is launched in portrait mode",splashLandscapeDesc:"Displayed when the blocklet is launched in landscape mode",clusterSize:"Instance count when run this blocklet in cluster mode",copyrightOwner:"Copyright Owner (Display in footer)",copyrightYear:"Copyright Year (Display in footer)",deletable:{name:"Delete Protection",enable:"This blocklet can NOT currently be deleted",disable:"This blocklet can currently be deleted"},tenantMode:{name:"Multiple Tenant Mode",multiple:"This blocklet runs in multiple tenant mode, data should be isolated for each tenant",single:"This blocklet runs in single tenant mode, all data are shared"},walletType:{name:"Wallet Type",description:"Blocklet instance wallet type, will change the derived DID"},languages:"Supported Languages",selectLanguagesTip:"Adjust the order by removing and re-adding",languagesSearch:"Search by Country's Local Name, English Name, or ISO Code...",passportColor:"Passport Color",appUrl:"App URL",access:{title:"Who Can Access",description:"Who can access the blocklet",useDefault:"Use default",defaultDescription:"Use the application's default configuration",whoCanAccess:{all:{title:"Accessible to all",description:"Open to the world anyone can access without passport"},owner:{title:"Only me can access",description:"You must provide owner passport to access this application"},invited:{title:"Only invited people can access",description:"You can invite members later in the admin page"}},publicToStore:"Public On Store",publicInstanceTip:"The access address of this blocklet will be displayed in the Store (along with your DID for accepting donations)",updatedTip:"Access Control Modified"},changedTip:"Configuration updated, please restart Blocklet",missingRequired:"Missing required configuration to start the blocklet",gotoFix:"Go to fix",environment:{key:"Configuration key",value:"Configuration value",keyValueRequired:"Configuration key and value must be specified",invalidKey:"Configuration key must not start with BLOCKLET_ or COMPONENT_",deleteForbidden:"This configuration is required and should not be deleted",tip:"Configurations prefixed with BWA_ should not contain sensitive information because they will be sent to the browser"},dangerZone:"Danger Zone",blockletTypeChangeTip:"Wallet Type will be changed to <b>{value}</b>",appDidChangeTip:"This operation will change the DID of the application, which will lead to the following problems. Please confirm after careful evaluation:",appDidChangeTipL1:"The user's account connected to this application will change",appDidChangeTipL2:"The DID domain name of the application will change, and the original domain name will become invalid",appSkChangeTip:"You are changing application secret key",walletTypeTitle:"Update Wallet Type",appSkTitle:"Update Application Secret Key",sharedToAllComponents:"Will be shared to all components",session:{period:"Session validity period",profile:"User profile requirements",ttl:"User will be asked to login again if they have no activity on this site for {day} days",day:"{day} day",days:"{day} days",cacheTtl:"Cache duration for user session data (in seconds)",fullNameEnabled:"Request user name on login (enabled by default)",avatarEnabled:"Request user avatar on login (enabled by default)",emailEnabled:"Request user email on login",emailRequireVerified:"Require user email to be verified before login",emailRequireUnique:"Require user email to be unique across all users",phoneEnabled:"Request user phone number on login (not supported yet)",phoneRequireVerified:"Require user phone number to be verified before login",phoneRequireUnique:"Require user phone number to be unique across all users",emailTrustOauthProviders:"Trust OAuth providers for email verification status",enableDomainBlackList:"Enable email domain black list (reject listed email domains)",enableDomainWhiteList:"Enable email domain white list (only allow listed email domains to login)",addDomain:"Add source to fetch the list (in plain text format, one domain per line)"},clearCache:{name:"Cache Management",purpose:"Manage files cached in router and blocklet services",title:"Confirm Cache Clear?",action:"Clear Cache",success:"Successfully cleared {count} cache entries",description:"Are you sure you want to clear cached files in router and blocklet service? this operation may cause slight performance downgrade in the short term"},rotateSessionKey:{name:"Session Salt Rotation",purpose:"Rotate session salt periodically to reduce the risk of login token being compromised",title:"Confirm Session Salt Rotation?",action:"Rotate Salt",success:"Successfully rotated session salt",description:"Are you sure you want to rotate session salt? this operation will invalidate all existing login tokens and force user to login again, including your own login token"}},overview:{source:"Source",deployedFrom:"Deployed From",accessControl:"Access Control",viewInStore:"View It In Store"},diskInfo:{empty:"Disk info not available now!",appDir:"App Directory",dataDir:"Data Directory",logDir:"Log Directory",cacheDir:"Cache Directory"},runtimeInfo:{noRunning:"Runtime information will be available when blocklet is running!",memoryUsage:"Memory Usage",cpuUsage:"CPU Usage",uptime:"Uptime",port:"Port",processId:"Process ID"},dist:{downloadLink:"Download Link",verify:"Verify"},status:{added:"Added",waiting:"Waiting",downloading:"Downloading",extracting:"Extracting",installing:"Installing",upgrading:"Upgrading",installed:"Installed",created:"Created",starting:"Starting",running:"Running",stopping:"Stopping",stopped:"Stopped",error:"Error",deleting:"Deleting",corrupted:"Corrupted",purchasing:"Waiting for purchase",purchased:"Purchased",verifying:"Verifying purchase",resource:"Resource"},list:{download:"Download",star:"Star",searchPlaceholder:"Search by Blocklet Name or DID"},component:{container:"Global Config",showContainer:"Show Global Config",didSpaceConfig:"Configure DID Spaces",didSpaceConfigTip:"Complete the following authorize process to store application data in DID Spaces",didSpaceConnected:"Storage being authorized to: {endpoint}",checkUpdateTitle:"Check for Updates",updateTitle:"Update Blocklets",noUpdate:"No Blocklets to update",add:"Add Blocklet",selectComponent:"Select Blocklet",selectRegistry:"Select Blocklet Store",selectRegistryTip:"You can switch blocklet store to see more components",selectInstance:"Select Instance",selectInstanceTip:"You can select an existing instance or create a new instance. Existing instances will use previously saved configuration and data",newInstance:"Create New Instance",noComponent:"No Blocklets",mountPoint:"What's the mount point?",mountPointTip:"If you set mount point to '/my-prefix', then all requests that begins with that mount point will be routed to the selected Blocklet",delete:"Delete Blocklet",deleteDescription:"This Blocklet will not be accessible after deletion. Confirm delete?",purchase:"Payment Required",tip:{stopBlocklet:"Please stop running Blocklet first",requiredBy:"The Blocklet is required by {name}"},choose:"Choose",upgrade:"Upgrade",addWithName:"Add Blocklet To {name}",relatedComponents:"Related Blocklets",required:"Required",noDependencies:"{name} doesn't have any dependencies",installed:"Installed",installingTip:"Installing component, please wait...",installingCanCloseWindowTip:"Installing component in the background, you can safely close this window",installSuccessTip:"Congratulations, the component was installed successfully!",missDownloadTokenTip:"Cannot add paid component without valid download token",purchaseComponentSecondCheckTip:"Please present your blocklet purchase NFT to continue",installComponentError:"There was an error installing the component, please retry again",downloadComponentError:"There was an error downloading the component, please retry again",addComponentTip:{introduction:"Welcome to the Add Component Wizard",isPurchase:"You need to Verify NFT before use <b>{name}</b> as a component;",belowInformation:"Below is the information for the component: ",verifyNFT:"Please select the Verify NFT method",config:"Please fill in the configuration of the component",environment:"Please fill in the environment of the component",fromUrl:"Add Blocklet From Url"},addNext:"Add {name}",upgradeNext:"Upgrade {name}",setting:"Settings"},router:{urlPath:"URL Path",noRunning:"The blocklet is not currently started. Unable to access through the following address!",securitySetting:"Security Setting",checkUrlAccessible:"Check the accessibility of the address",urlInaccessible:"It may be due to network reasons, the address is temporarily inaccessible",noAccessibleUrl:"No accessible URL",domainLockTooltip:"The system generated Domain cannot be edited.",urlLockTooltip:"The system generated URL Path cannot be edited.",showAllDomains:"Show all domains",showAllDIDs:"Show all DIDs",currentDomainTip:"You are accessing the current page through this domain"},export:{title:"Export Blocklet",name:"Bundle Name",nameTip:'e.g. "my-blocklet-name" or "@my-scope/blocklet-name"',result:"What's next",exportSource:"Export Source",success:"Blocklet successfully exported",resultTipStart:"With",resultTipEnd:"you can build and publish this blocklet within minutes",uploadedComponentTip:"Directly uploaded components cannot be exported:"},migrate:{title:"Migrate Application",scan:"Connect your DID Wallet to generate a key-pair for this application",confirm:"Review this operation on your DID Wallet",success:"Your application is successfully migrated, the page will be refreshed in {sec} seconds",intro:{l1:"Click here",l2:"to migrate your application to new version (changes are disabled before the migration completes)",l3:"1. The application DID will be fully controlled from your DID Wallet.",l4:"2. The application data will be migrated, and no further changes required.",l5:"3. The new application structure will give you more flexibly when change components.",l6:"4. Please do not change component mount points before component new version is out."},tip:{duplicate:"Find duplicate component {name}, please delete useless components and migrate again",running:"Please stop blocklet before migration"}},error:{isRunning:"Blocklet is running, please stop it first",isInProgress:"Blocklet is in progress, please wait for it to finish"},publish:{connectOrUpload:"Connect or Upload",projectSettings:"Project Settings",noStoreSelected:"Please select one of the existing stores or add a new store to continue",forceResourceBlocklet:"Force defined as a resource-based blocklet",autoUploadTip:"Upload release to connected Blocklet Stores automatically after creation",possibleSameStoreTip:"Try resolving dependency blocklets to the same Blocklet Store before each uploading when possible",needProjectId:"Please create a project first",developerInfo:"Developer Information",branding:"Branding",brandingHelp:"More information about the blocklet will be displayed in the Store",download:"Download {name}",deleteStoreTip:"Are you sure you want to remove {name} from the connect Store list?",delete:"Delete {name}",copyInstallUrl:"Copy Install URL",installToThisServer:"Install to this server",createResource:"Create Resource",blockletStudio:"Blocklet Studio",tenantScope:"Tenant",addResource:"Add Blocklet",productTitle:"Product",versionTitle:"Versioning",imgTitle:"Images",resourceTitle:"Resources",resourceSelect:"Select resource from following blocklets",resourceUpload:"Upload resource from your disk (index.html is required in the archive)",blockletEmptyTip:"There aren’t any blocklets here",createBlockletTip:"You can create new blocklet through existing resources, components, and configuration in this application",createBlocklet:"New blocklet",reconnectStoreTip:"After reconnecting, a new developer will be bound. Are you sure you want to reconnect?",disconnectStoreTip:"After disconnecting, the blocklet will be removed from the store. Are you sure you want to disconnect?",componentNotRunning:"Blocklet {name} is not running, please start it first",allComponentsNotRunning:"Blocklets is not running, please start it first",releaseEmptyTip:"There aren't any releases here",resourceEmptyTip:"No available resources",viewLastRelease:"View last release",createReleaseTip:"You can create a release of the blocklet, along with release notes and resources, for other people to use",createRelease:"Create release",deleteReleaseTip:"The release cannot be recovered after deletion",createBlockletDid:"Create from DID Wallet",createReleaseSuccess:"Release created successfully",saveDraftSuccess:"Draft saved successfully",packTip:"Currently blocklets can be installed directly as applications. Components and application configurations will be automatically included in the Blocklet",resourceTip:"Currently, as a Resource Blocklet, it cannot be directly installed from the Store.",whyCantSeeInStore:"You need to publish the blocklet on connected store before you can see it in the store listing page",whyCantSeeResourceBlockletInStore:"Resource Blocklet are hidden from the store listing page by default",resourceChangedWarning:"You have modified the resource, please save it in time",install:"Install {name}",installResourceTip:"Install Url:",installResourceTip2:"If you want to see more tips, please visit",installResourceHelp:"Help Document",componentIncluded:"Included",componentForceRequired:"Required",steps:{branding:"Describe the basic information of your Blocklet. This information will be presented to users in the store.",introduction:"A clear introduction can effectively highlight your Blocklet. You can use Markdown syntax to write and preview it.",resources:"Please select the resources that need to be associated with the current Blocklet, as these resources will be installed along with the Blocklet.",blocklets:"Please select the Blocklets that need to be associated and installed when installing the current Blocklet.",version:"Set the release version and the change log."},connect:{title:"Create Blocklet DID",scan:"Scan the QR code below to generate Blocklet DID",confirm:"Confirm using DID Wallet",success:"Blocklet DID has been generated, please continue your operation"},deleteProject:{title:"Delete {name}",scan:"Scan the QR code below to delete {name}",confirm:"Confirm using DID Wallet",success:"Blocklet has been deleted, please continue your operation",description:"Are you sure you want to delete the Blocklet? Here are the issues you might encounter:",tip1:"The Blocklet cannot be recovered after deletion.",tip2:"You will no longer be able to publish new versions to the deleted Blocklet, which means that the Blocklet will not be updated in the Store anymore.",tip3:"Deleting the Blocklet will not affect its currently published version in the Store."},saveDraft:"Save Draft",releaseNote:"Release Note",errorTip:{noDid:"Blocklet DID is required",noFirstDid:"Please create Blocklet DID first",noTitle:"Blocklet Title is required",noVersion:"Blocklet Version is required",inValidVersion:"Invalid Blocklet Version",noResource:"Please select upload resource to be included in the blocklet",noDescription:"Blocklet Description is required",noNote:"Release Note is required",invalidUrl:"Please input a valid URL",invalidUrlOrEmail:"Please input a valid URL or email"},uploadToStoreSuccess:"Blocklet upload to Store successfully, you need publish it in the Store",publishToStoreSuccess:"Blocklet published to Store successfully",connectStoreSuccess:"Blocklet Store connected successfully"}},dashboard:{nodeDid:"Node",ownerDid:"Owner",routingEngine:"Routing Engine",ownerNftURL:"Owner NFT",expirationLeft:"Expiration Left",startFromCrashTip:"Blocklet Server did not exit normally last time, please manually start the blocklets that needs to be run.",runtimeConfig:{blockletMaxMemoryLimit:"Blocklet Max Memory Limit",daemonMaxMemoryLimit:"Server Max Memory Limit",proxyMaxMemoryLimit:"Event Bus Max Memory Limit"}},store:{nameSort:"Name",popularSort:"Popularity",headerDescription:"Find and Install Your Blocklets",detail:{purchase:"Purchase {name}",open:"Open {name}",install:"Install {name}",upgrade:"Upgrade {name}",empty:"No introduction"},tooltip:{upgradeServer:"Blocklet requires Blocklet Server version {version}, current Blocklet Server version is {serverVersion}"},blockletRegistry:{changeFailed:"Change Blocklet Store Failed: ",addFailed:"Add Blocklet Store Failed: ",editFailed:"Edit Blocklet Store Failed: ",switchRegistry:"Switch Blocklet Store",addRegistry:"Add Blocklet Store",editRegistry:"Edit Blocklet Store",deleteRegistry:"Delete Blocklet Store",haveSameRegistry:"The same blocklet store exists",registryName:"Blocklet Store Name",registryUrl:"Blocklet Store URL",registryNameEmpty:"Blocklet Store name cannot be empty",registryUrlEmpty:"Blocklet store url cannot be empty",deleteDesc:'Confirm Delete blocklet store {name} ?<br/><span style="color: {color}">*After removing this blocklet store, you cannot update the apps installed from this blocklet store unless you add them again.</span>',confirmDesc:"Please input {name} to delete"},purchase:{title:"Purchase {name}",confirmed:"Your blocklet purchase NFT is verified",declined:"You do not provided valid the blocklet purchase NFT",waiting:"Waiting for purchase complete...",purchase:{title:"Purchase NFT",description:"Pay some token before installing this blocklet if you have not purchased this blocklet"},verify:{title:"Verify NFT",description:"Your NFT will be verified before installing this blocklet if you have purchased and hold the purchase NFT in your DID Wallet",auth:{title:"Purchase Credential Required",scan:"Connect DID Wallet to provide blocklet purchase NFT",confirm:"Review this operation on your DID Wallet",success:"Your purchase NFT is verified, and installing has started"}},auth:{title:"Purchase {name}",scan:"Scan following QRCode with your DID Wallet",confirm:"Confirm on your DID Wallet",success:"Purchase NFT sent to your DID Wallet"},launch:"Launch {name}",autoLaunch:"{name} successfully purchased, redirecting to launch page..."}},setting:{saveSuccess:"Settings Saved Successfully",unSavedTip:'There are unsaved changes, please click "Save Changes" to save them.',unSavedLeaveTip:"There are unsaved changes, are you sure to leave the page?",form:{name:"Name Your Server",nameRequired:"Server description is required",namePlaceholder:"Server Name",description:"Describe Your Server",descriptionHolder:"Server Description",descriptionRequired:"Server description is required",domain:"Your Server Domain Name",domainPlaceholder:"Server Domain Name",domainRequired:"Server domain is required",ipPlaceholder:"IP",ipRequired:"IP is required",registry:"Blocklet Store",registryPlaceholder:"Blocklet store to fetch blocklets",registryRequired:"Blocklet store is required ",registerUrl:"Blocklet Launcher URL",registerUrlPlaceholder:"Input the URL of your preferred Blocklet Launcher, you can use the official one safely",webWalletUrl:"DID Wallet URL",webWalletUrlPlaceholder:'Please input the URL of your hosted "DID Wallet", you can use the official one safely',nftDomainUrl:"NFT Domain URL",nftDomainUrlPlaceholder:'Please input the URL of your hosted "NFT Domain", you can use the official one safely',enableWelcomePage:"Enable welcome page",welcome:{switchLabel:"Welcome Page"},enableSessionHardening:{switchLabel:"Enable Session Hardening",switchTips:"After enabling this option, mutation operations will require strict verification, which can improve the server's overall security."},security:{switchLabel:"File System Isolation",switchTips:"After disabling this option, the file system of the Blocklet will no longer be in isolation, which may pose a risk of malicious software damaging the file system.",warningTips:"The file system isolation feature cannot take effect. Please upgrade the node.js version (current version is {version}) to v21.6.0 or higher."},docker:{switchLabel:"Run Blocklets in Containers",switchTips:"After enabling this option, all blocklets will be run in Docker containers, which can improve the server's overall security.",notInstalled:"Can not enable container mode because docker is not installed or the current user has insufficient permission to run docker",needCloseFileSystemIsolation:"File system isolation and docker container mode runtime cannot be enabled at the same time"},dockerNetwork:{switchLabel:"Container Network Isolation",switchTips:"After enabling this option, blocklets run in a more secure manner: a blocklet cannot access the blocklet server or other blocklets across applications.",needEnableDocker:"Container mode must be enabled to enable network isolation"},upgrade:{title:"Upgrade Blocklet Server to {version}",description:"During the upgrade, your Blocklet Server will enter maintenance mode for a few minutes while the update is completed.",dialog:'Click on "confirm" to install the update. Blocklet Server will enter maintenance mode until the update is completed and return to production mode automatically.',confirm:"Upgrade",switchLabel:"Auto Update Check",enableBetaRelease:"Enable Beta Release",setup:"Preparing the upgrade",installing:"Installing Blocklet Server v{version}",restarting:"Restarting Blocklet Server",cleanup:"Migrating Blocklet Server data",verifying:"Verifying Blocklet Server v{version}",rollback:"Rollback Blocklet Server",complete:"Upgrade complete!",progress:"Upgrading {name}",check:"Check for Updates",latest:"You are running the latest version."},restart:{title:"Restart Blocklet Server",description:"During the restarting, your Blocklet Server will enter maintenance mode while the restart is completed.",dialog:'Click on "confirm" to restart. Blocklet Server will enter maintenance mode until the restart is completed and return to production mode automatically.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting Blocklet Server",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting {name}"},restartAllContainers:{title:"Restart All Container",description:"Restart all containers and keep blocklets running.",dialog:'Click "confirm" to restart all container blocklets and keep blockelts status running.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting All Container At Background",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting All Container At Background"},restartAllBlocklet:{title:"Restart All Blocklets",description:"Restart all blocklets that are running or error on this server.",dialog:'Click "confirm" to restart all blocklets at background.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting All Running Or Error Blocklets At Background",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting All Running Or Error Blocklets At Background"},register:{title:"Register to Blocklet Launcher",description:"Once added, you can launch blocklets to this blocklet server from {url}.",button:"Register"},monitor:{diskThreshold:"Send alert when disk usage exceeds (%)",diskThresholdPlaceholder:"Please set the disk usage alert threshold"}},accessKey:{accessKeyId:"ACCESS KEY",lastUsed:"Last Used At",tip:"Please enter a name for this access key for future reference:",saveSecretTip:"This is the only time that your Access Secret key can be viewed and cannot be recovered. However, you can create new access keys at any time",iKnow:"I have copied and saved the Access Secret",showSecret:"Show Secret Access Key",hideSecret:"Hide Secret",title:"Delete Access Key",descriptionNoTime:"This will permanently delete the access key {key} with name {name}, which is (never used before)",description:"This will permanently delete access key {key} with name {name}, which is (last used on {time}, {timeAge})",confirm_desc:"Please input {name} to delete",remark:"Access Key Name",remarkInvalid:"Access Key Name is required"},webhook:{add:"Add Integration",delTitle:"Delete Integration",requiredError:"Please provide a valid {type}",confirm_desc:"Please input {name} to delete",test:"Test",description:"This will permanently delete integration with ID {id}",columns:{description:"ID",params:"Params",createdAt:"createdAt"}}},notification:{title:"Activities",empty:"No activities yet",viewAll:"View All",showRead:"Show Read",markAllAsRead:"Mark All as Read",markAsRead:"Mark As Read",proceed:"Proceed",checkingForUpdates:"Checking for updates...",installComponentError:"Not found uninstalled component {name}",installingComponent:"Installing component {name}",pushKit:{enable:"Enable PushKit notification",endpoint:"PushKit endpoint",endpointInvalid:"PushKit endpoint is invalid URL",testSuccess:"Test PushKit send successfully",testFailed:"Test PushKit send failed",testReceiver:"PushKit receiver",testSend:"Test push-kit send",inputTestReceiver:"Please input test receiver did",receiverRequired:"PushKit receiver is required",pushPath:"Api path for push-kit (default /api/push)",did:"PushKit Blocklet DID",customOptions:"Custom Options"},email:{enable:"Enable email notification",from:"Email sender",host:"SMTP server host",port:"SMTP server port",user:"SMTP server username",secure:"Enable secure connection",password:"SMTP server user password",fromRequired:"Email sender is required",fromInvalid:"Email sender is invalid",receiverRequired:"Email receiver is required",receiverInvalid:"Email receiver is invalid",hostRequired:"SMTP server host is required",hostInvalid:"SMTP server host is invalid",portRequired:"SMTP server port is required",portInvalid:"SMTP server port is invalid, port should be between 1 and 65535",userRequired:"SMTP server username is required",passwordRequired:"SMTP server user password is required",testSuccess:"Test email send successfully",testFailed:"Test email send failed",testReceiver:"Email receiver",testSendEmail:"Test email send",inputTestReceiver:"Please input test receiver email",disable:"Unsubscribe email notification",disableDescription:"After unsubscribe, you will no longer receive email notifications. To receive email notifications, you can subscribe it again on this page.",unsubscribe:"Unsubscribe email notification",unsubscribeDescription:"After unsubscribe, you will no longer receive any email notifications.",subscribe:"subscribe",subscribeDescription:"To receive email notifications, you can subscribe it again on settings page."},comingSoon:"More notification channel are under construction",unsubscribe:"Unsubscribe",unsubscribeSucceed:"Unsubscribe succeeded",unsubscribeFailed:"Unsubscribe failed",unsubscribeTokenRequired:"Unsubscribe token in required",unsubscribeTokenExpired:"Unsubscribe token is expired",unsubscribeTokenInvalid:"Unsubscribe token is invalid"},router:{routerSetting:"Domains & URLs",certSetting:"SSL Certificates",defaultSite:"Default",urlHelperText:"URL that do not start with HTTP/HTTPS are considered relative paths",empty:"Click on Actions to setup URL Mapping",healthy:{ok:"Blocklet or service is running",error:"Blocklet or service is not running or not installed"},service:{select:"Select Blocklet Services (Optional)",what:"Blocklet Services are pipelines executed against the request before redirecting to upstream blocklet"},nonProvider:{title:"Engine Change Warning",description:"If you change engine to none, your current page may not work properly because the previous engine will be stopped, are you sure to continue?",confirm:"I understand, continue"},validation:{urlRequired:"URL is required",redirectCodeRequired:"Redirect code is required",didRequired:"Blocklet is required",pathPrefixTooLong:"The URL Prefix cannot exceed {length} characters",pathPrefixCannotBeEmpty:"The URL Prefix cannot be empty",domainRequired:"Server domain is required",invalidUrl:"Please provide a valid URL",pathPrefixRequired:"URL prefix is required",redirectUrlRequired:"Redirect URL is required",rewriteUrlRequired:"Rewrite URL is required"},domain:{addSite:"Add Site",validate:{emptyTip:"Site domain cannot be empty",suffixTip:"Site domain cannot include {suffix}"},add:{title:"Add Domain Name",description:"Please provide a valid domain name",confirm:"Add",cancel:"Cancel",blocklet:"Select Blocklet",redirect:"Where to redirect the traffic?",port:"What port does your request handler need to listen to?",portTip:"This defaults to the main port of request handler, you can customize this",type:"Traffic Handler",component:"Select Component",pageGroup:"Page Group",pageGroupTip:"This component can render any group of pages listed above, leave empty to render all pages"},update:{title:"Update Site Domain",label:"Site Domain",description:"Please provide a valid site domain"},setup:{tipStart:"Add the DNS records for the domain",tipEnd:"as per the following guidelines",recordType:"Record Type",recordValue:"Record Value"},verify:{ok:"The domain resolution is normal",notResolved:"This domain neither resolved nor accessible, please check your DNS configuration"},https:{ok:"This domain has https enabled",bad:"This domain has not enabled https"},delete:{title:"Delete Site",description:'By confirming, you will delete your existing "{name}" site. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your site',confirm_desc:"Please input {name} to confirm"}},domainAlias:{nftDomain:"Automatic config with DID Domain",showTipHint:"How do I configure domain name resolution?",add:{title:"Add Additional Domain",tips:"You can enter a domain name purchased from DID Domain or any other domain. If it is a DID Domain, you must present the DID Domain NFT to proceed.",domainDescription:"Please provide a valid domain name",forceTip:"Force add if domain name already exists",helperText:"If an HTTP or HTTPS URL is entered, it will be automatically converted into a domain name.",isDidDomainError:"This domain is a DID Domain. Please add it using the method for automatic domain configuration."},addCustomDomain:{name:"Custom Domain"},addDomainNFT:{showNFT:"Configure domain automatically",tips:"You can enter a domain purchased from DID Domain. If a DID Domain is detected, you must present the DID Domain NFT to continue.",connect:{title:"Please show your Domain NFT",scan:"Scan following QR code with DID Wallet to authorize to blocklet to use your domain",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},buyTip:"DID Domain will do the domain name resolution automatically, no need to configure it manually, and the application will update the resolution record of the domain name automatically when needed. If your don't have DID Domain NFT yet, ",buy:"Buy DID Domain"},delete:{title:"Delete",description:"After removing a domain alias, access to that alias may not be handled properly."}},domainSecurity:{title:"Domain Security",cors:{title:"Allowed CORS Domains",description:'Domain list that can send cross origin requests to {name}, comma separated, use "*" to allow anyone, which is not recommended',domainInvalid:"Please input a valid list of domain names"}},rule:{add:{title:"Add URL Mapping",confirm:"Add",pathPrefix:"What's the URL Prefix?",pathPrefixTip:"If you set prefix to '/my-prefix', then all requests that begins with that prefix will be routed to the configured blocklet",blocklet:"Which Blocklet will be handling those requests?",port:"Which port of the blocklet will be handling requests?",portTip:"This defaults to the main port of blocklet, if your blocklet listens on multiple ports, you can customize this",responseType:"Response Type",responseBody:"Response Content",responseBodyTip:"Paste your response content here, should not exceed 4096 characters",responseBodyRequired:"Response content can not be empty"},delete:{title:"Delete URL Mapping",description:'By confirming, you will delete your existing "{name}" URL Mapping. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your URL Mapping.',confirm_desc:"Please input {name} to delete",cancel:"Cancel"},update:{title:"Update URL Mapping",confirm:"Yes, Update",cancel:"Cancel"}},cert:{name:"Certificate Name",domain:"Domain Name",action:"Action",commonName:"Common Name",boundDomains:"Domains",source:"Source",expired:"Expired",leftDays:" days left",issuedOn:"Issued On",expiryOn:"Expiry On",fingerprintAlg:"Fingerprint Algorithm",validityPeriod:"Validity Period",matchedSites:"Matched Sites",upload:"Manual Upload",publicCertHelperText:"Public certificates can be downloaded",nonPublicCertHelperText:"Non-public certificates cannot be downloaded",protectedCertHelperText:"Protected certificates cannot be edited",unprotectedCertHelperText:"Unprotected certificates can be edited",issuing:"Certificate being generated",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"},table:{nodata:"No data"},delete:{title:"Delete Certificate",description:"Confirm delete certificate of domain {domain}? Deleting it may affect related services. Please confirm it's safe before proceeding with the deletion.",confirm:"Confirm"},nginx:{title:"Update Certificate",titleAdd:"Add Certificate",pem:"SSL Certificate File",pemTip:'Please drop your server certificate file here, it should ends with ".pem" or ".crt"',key:"Private Key File",keyTip:'Please drop your server private key file here, it should ends with ".pem" or ".key"',confirm:"Save",cancel:"Cancel",invalidFile:"You have selected an invalid file",empty:"No file selected yet",source:"Source",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"}},detail:{title:"Certificate Details"},genLetsEncryptCert:{title:"Generate Let's Encrypt certificate",dnsTip:"Please make sure the domain name has point to the current Blocklet Server.",description:"Adding a certificate will make the service more secure, and Blocklet Server will automatically renew the certificate before it expires."}},gateway:{reqLimit:{switchLabel:"Request Limiting",rate:"Request Limit({rate} Request/Second)"},cacheEnabled:{switchLabel:"Enable Gateway Cache"},blockPolicy:{switchLabel:"Request Blocking",blacklistLabel:"Blocked IPs",addItem:"Add Item",blacklistDesc:"Requests from these IPs will be blocked from accessing this Server and all Blocklets",inputPlaceholder:"Enter IP address, CIDR range, or URL",invalidItem:"Invalid IP address, CIDR range, or URL"},proxyPolicy:{switchLabel:"Running behind proxies",trustRecursive:"Trust proxies recursively",trustRecursiveDesc:"Use the leftmost untrusted IP in the X-Forwarded-For chain",trustedProxies:"Trusted Proxies",trustedProxiesDesc:"Requests from these IPs will be trusted to get the real client IP",realIpHeaderLabel:"Client IP Header",realIpHeaderDesc:"If the Blocklet Server is running behind proxies such as CloudFront, you can set the header of the client's real IP here.",addItem:"Add Item",inputPlaceholder:"Enter IP address, CIDR range",invalidItem:"Invalid IP address, CIDR range"}}},noMatch:{desc:"We can't find the page that you're looking for"},health:{connectionErrorTip:"Blocklet Server can't connect to the network, please check if Blocklet Server has been stopped or there is a network issue",connectionRecoveryTip:"Blocklet Server connectivity has been recovered",connectionStoppedTip:"Blocklet Server has been stopped",wrongAccessUrlTip:"Blocklet Server access address is wrong, please use the correct access address"},debug:{title:"Your Blocklet Server is up and running!"},team:{add:"Add New",invite:{action:"Invite New",setting:"Invite Settings",enabled:"Allow any user to invite new user to this blocklet",disabled:"Only owner/admin can invite new user to this blocklet",inviter:"Invited By"},member:{name:"Name",passport:"Passport",passports:"Passports",lastLogin:"Last Login",lastLoginIp:"Last Login IP",openProfile:"View Profile",source:"Register Source",source_derived:"Derived from oauth",source_wallet:"DID Wallet",filter:"Filter by",blockAccess:"Block Access",blockAccessDescription:"The user will not be able to connect to this application",allowAccess:"Allow Access",allowAccessDescription:"The user will be able to connect to this application",updateRole:"Update Role",removeUser:"Remove User",removeUserDescription:'Confirm remove user "{did}" and all its related data (connected accounts, passports, login sessions, etc.)? This action cannot be undone.',removeUserSuccess:"User removed successfully",revokePassport:"Revoke Passport",revokePassportDescription:"Once the passport is revoked, the passport holder can not use it to login again, are you sure to continue?",enablePassport:"Enable Passport",enablePassportDescription:"Once the revoked passport is enabled again, the passport holder can use it to login again, are you sure to continue?",passportPermissionTitle:"The passport has the following permissions:",search:"Search Member",onlyApprovedMember:"Show Approved Only",inviteDialog:{createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},error:{passportEmpty:"Passport should not be empty"},connectedAccounts:"Connected Accounts",connections:"Connections",federated:"Federated",switch:{did:"Switch DID",profile:"Switch Profile",passport:"Switch Passport"},settings:{notification:"Notifications",email:"Send email to me when some events happen",wallet:"Send notification to my wallet when some events happen",phone:"Send text message to me when some events happen",webhook:"Webhooks",add:"Add new webhook",url:"Custom URL",slack:"Slack Webhook",tested:"Test message sent"},activeUserSessions:"Active User Sessions",forceLogout:"Force logout",forceLogoutDescription:"Confirm to force logout this user?"},transferNode:{name:"Transfer Ownership",inviteDialog:{title:"Transfer Blocklet Server",tips:{progress:"Transfer the server needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the server with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and Blocklets.",revoke:'If you want to withdraw the transfer invitation, you can delete the invitation link in the "Team -> Members -> Inviting" page.'},createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},delegateDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize server to transfer server ownership NFT.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"}},transferApp:{name:"Transfer Ownership",transferDialog:{title:"Transfer Application",tips:{progress:"Transfer the application needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the application with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and settings."},createTransferLink:"Generate Transfer Link",createSuccessTip1:'The transfer link is successfully created, the invitee must use <a style="color: rgb(29, 193, 199)" target="_blank" href="https://www.didwallet.io/">DID Wallet</a> to receive the app ownership',createSuccessTip2:"Please click to copy and send the link to the invited member, please note that this transfer link can not be reused and will expire on {expireDate}. Your transfer link will only be shown once and will not be viewable again after closing this dialog",createSuccessTip3:"After the transfer is successful, the application will automatically restart to make the changes take effect",link:"Transfer Link",iKnow:"I have copied and saved the link"},connectDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize application to transfer ownership.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},receiveDialog:{title:"Receive Application Ownership",scan:"Scan following QR code with DID Wallet to receive the application ownership.",confirm:"Confirm on your DID Wallet",success:"Receive Ownership Successfully"},successTitle:"You have become the new owner of this application",visitDashboard:"Visit Application Dashboard"},permission:{create:{title:"Create Permission",description:`Format: <action>_<resource>
|
|
1565
|
+
e.g. 'query_user', 'mutate_user'`},delete:{title:"Delete Permission",description:"Confirm delete {name}?"},error:{actionEmpty:"action cannot be empty",resourceEmpty:"resource cannot be empty",permissionTooLong:"permission cannot exceed {length} characters",descriptionTooLong:"description cannot exceed {length} characters"}},passport:{create:{title:"Create Passport",titleTip:"Title cannot be modified after created, recommended within 14 letters"},bind:{title:"Bind Permission",roleTip:"You will get all the permissions of the selected passport after binding",permissionTip:"You will get the selected permissions after binding",transferLeftTitle:"All permissions",transferRightTitle:"Granted permissions"},delete:{title:"Delete Passport",description:"The passports holds by user will lose all permissions after it is deleted. Are you sure to continue?"},error:{titleEmpty:"title cannot be empty",titleTooLong:"title cannot exceed {length} characters",descriptionEmpty:"description cannot be empty"},issuance:{pending:"Pending",create:{title:"Generate Link"},delete:{title:"Delete Receive Link",description:"Confirm delete {link}?"}},issue:"Issue Passport",disableIssuance:"Disable Passport Issuance",enableIssuance:"Enable Passport Issuance",disableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be disabled',enableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be enabled',trustedPassportIssuers:"Trusted Passport Issuers",trustedIssuers:"Trusted Issuers",trustedFactories:"Trusted NFT Collections",trustedFactoriesTip:"Manage trusted NFT Collections that can be used to exchange for a passport",searchFactoryAddress:"Search Collection DID",configFactories:"Config Trusted NFT Collections",configFactoriesTip:"Allow users to exchange NFTs for passport",factoryAddress:"NFT Collection Address",factory404:"NFT Collection not found",factoryAddressTip:"The NFT Collection address must exist on ArcBlock Main Chain",role:"Passport Type",ttl:"Passport Expire Policy",ttlNever:"Never Expire",ttlMint:"From NFT Purchase",ttlExchange:"From Passport Exchange",ttlNeverTip:"The passport will be valid until revoked",ttlMintTip:"The passport will be valid from the time the NFT is purchased until you specified ttl or revoke",ttlExchangeTip:"The passport will be valid from the time user successfully exchanged until you specified ttl or revoke",ttlTip:'"365d" means 365 days, you can also use "30 days" or "24h"',validUntil:"Valid until: {date}",externalPassport:"External Passport",notTrustedIssuerTip:"The passport cannot be used because the issuer is not on the list of trusted issuers",issuerDid:"Issuer DID",addNodeToTrustedIssuers:"Add current server as a trusted passport issuer",revoked:"Revoked",noPermission:"No permission to perform this operation",shouldNotDeleteCurrent:"You can not revoke your passport currently in use",mappingRule:"Mapping rule",defaultRule:"Default rule",search:"Search Passport",searchIssuerDid:"Search Issuer DID",issueBy:"Issue by {name}",configColor:"Config Passport Color",configColorTip:"Customize the color of the passport",color:"Passport Color",description:"Use this passport to connect {teamName} as {title}",displayBuiltin:"Builtin",displayCustom:"Custom",typesTip:"Customize the types of the passport, split by comma",issuanceDate:"Issuance Date: {date}"},inviting:{link:"Invite Link",inviter:"Inviter",delete:{title:"Delete Invite Link",description:"Confirm delete {link}?"},disabledTip:"Invitation is not enabled"},whoCanAccess:{all:{title:"Accessible to all"},owner:{title:"Owner only"},invited:{title:"Invited user only"}}},launcher:{provider:"Provider",adminUrl:"URL"},session:{blockAccess:"You have been blocked from access this server"},launchBlocklet:{appInfo:"Application Information",appInfoDesc:"Confirm the application information",author:"Application Author: {author}",setup:"Setup Blocklet",redirect:"Redirect",alreadyRunning:"Application {name} is already running on this Blocklet Server",alreadyInstalled:"Application {name} is already installed on this Blocklet Server",alreadyExists:"This application already exists, redirecting...",purchased:"Already Purchased",purchase:"Purchase",nextStep:"Next Step",agreement:"License Agreement",agreeAll:"Agree & Continue",installing:"Installing {appName} on {serverName}, it may take minutes to complete, please stay tuned...",redirecting:"{appName} is successfully installed, now starting...",start:"Launching",launch:"Install Blocklet to Server",launchSuccess:"{appName} is successfully launched!",installSuccess:"Blocklet is successfully installed and launched on {serverName}",openInRegistry:"View in Blocklet Store",subTitle:"Ready to install Blocklet {appName} on {serverName}",installingSubTitle:"{appName} installing",access:"Open the application",installRelatedComponents:"Install related Blocklets",viewApplication:"View Application",newVersion:"New Version",newVersionDesc:"The application already exists, but the current version can be upgraded",upgradeNow:"Upgrade Now",later:"Later",introduction:"Introduction",welcome:"Welcome to the Blocklet Launch Wizard",accept:"I agree to the Blocklet EULA",license:"Application License",next:"Agree to the EULA and continue",purchaseApp:"Purchase Blocklet",setupAppDesc:"Initialize your Blocklet",launched:"Complete",confirmInstall:"Confirm Installation",dialog:{title:"Become App Owner",nftFreeDescription:"Please present app space NFT and create app account to continue",nftPaidDescription:"Please present app space NFT and app purchase NFT to continue",freeDescription:"Please create app account to continue",paidDescription:"Please present app purchase NFT and create app account to continue",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully",authorizationTimeout:"Authorization timeout"},waiting:{verifying:"Verifying app meta...",downloading:"Downloading app bundle...",downloadingComponent:"Downloading {name}",extractingComponent:"Extracting {name}",extracting:"Extracting app bundle...",installing:"Installing app components...",installed:"Installed",starting:"Starting the app...",done:"Waiting for app ready..."},error:{loadMetaFailed:"Load app information failed",appMetaNotFound:"No information found for this app",downloadFailed:"Failed to download the app, please try again",installFailed:"Failed to install the app, please try again",startFailed:"Failed to start the app, please try again",launchFailed:"Failed to launch the app, please try again",installedButStopped:"The app is installed successfully, but cannot be started. You can start it manually after resolving blocking issues",installedButError:"The app is successfully installed, but failed to start",restoreFailed:"Failed to restore app, please try again",resourceBlocklet:"This blocklet cannot be launched directly, but you can add it into existing application."},steps:{introduction:"Introduction",installApp:"Install Application",purchaseSpace:"Purchase Space",prepareSpace:"Prepare Space"}},issuePassport:{title:"Receive Passport",description:"Use DID Wallet to receive the passport issued by {name}",dialog:{scan:"Use your DID Wallet to claim the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet",loginWithPassport:"Connect with this Passport",autoClose:"Page will auto close in {seconds}s",autoJump:"Page will auto jump in {seconds}s"}},lostPassport:{title:"Lost Passport",description:"The owner of {name} can scan the QR code to retrieve the passport, members please contact the owner to reissue the passport",dialog:{title:"Recover Passport",scan:"Use your DID Wallet to recover the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet"},return:"Connect with passport",selectPassport:"Select passport",receivePassport:"Receive passport"},invite:{message:"{name} invite you to be the {role} of {dapp}",success:"You have successfully joined {dapp}",receive:"Receive with",validUntil:"Valid until:",viewPermission:"View Permission",emptyPermission:"Empty Permission",open:"Open",description:{step1:"Download and setup your {wallet}",step2:"Click above button to receive passport",step3:"Login in {dapp} with received passport"},transferNFTDialog:{title:"Accept Blocklet Server {name}",scan:"Connect the Launcher to complete the reception of the Blocklet Server.",confirm:"Review this operation on your DID Wallet",success:"Connect successfully, waiting for confirmation of receiving the Server"}},receive:{dialog:{title:"Use your DID Wallet to receive passport",scan:"Connect your DID Wallet to receive passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"}},navigation:{navigation:"Navigation",access:"Access",members:"Members",passport:"Passport",analytics:"Analytics",dashboard:"Dashboard",studio:"Studio",blockletService:"Blocklet Service",actionFailed:"Action Failed",form:{title:"Title",titlePlaceholder:"Please input navigation title",titleTooLong:"Title length should small than {len}",icon:"Navigation Icon",iconPlaceholder:"Please input navigation icon",invalidIcon:"Icon is invalid",findMoreIcon:"Find more icons",link:"Link",linkPlaceholder:"Please input navigation link",invalidLink:"Link is invalid",component:"Component",componentPlaceholder:"Please select navigation component",role:"Role",rolePlaceholder:"Please select navigation role",locale:"Locale",localePlaceholder:"Please input locale need to add",localeExists:"{value} is already exists",activeIcon:"Active Icon",activeIconPlaceholder:"Please input navigation active icon",activeColor:"Active Color",activeColorPlaceholder:"Please input navigation active color",color:"Color",colorPlaceholder:"Please input navigation default color"},action:{add:"Add navigation",addSub:"Add sub navigation",edit:"Edit navigation",hide:"Hide navigation",show:"Show navigation",del:"Delete navigation",new:"New",noAddSub:"Uninstalled component can't add sub navigation",noEdit:"Uninstalled component can't edit",noDel:"Not allowed delete built-in navigation",reset:"Reset",restConfirmTitle:"Do you want to clear all custom navigation?",restConfirmDesc:"After clearing, the navigation will be restored to Blocklet's original default configuration.",resetSuccessful:"Reset successful"}},storage:{spaces:{title:"DID Spaces",tips:"Tips",label:"Enter DID Spaces Gateway",connected:{title:"Connected DID Spaces",tag:"Connected"},connectedWithName:"You have successfully connected to {name}",addedWithName:"You have successfully added {name}",connects:"Connect",reconnect:"Reconnect",addressCannotEmpty:"Address cannot be empty",addressNotValid:"{url} is not a valid address",authorize:{title:"Connect {appName} to DID Spaces",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} to connect to DID Spaces",success:"Connected successfully"},provideNFT:{title:"Please show the DID Spaces NFT for {appName}",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} show DID space NFT",success:"Connected successfully"},backup:{title:"Backup",records:"Backup Records"},autoBackup:{title:"Auto backup",enabled:"Automatic backup is on",disabled:"Automatic backup is off"},autoCheckUpdate:{title:"Automatically check for new version notification",enabled:"Automatically check for new version is on",disabled:"Automatically check for new version is off"},backupSuccessfully:"Backup successfully",restore:"Restore",restoreSuccessfully:"Restore successfully",gateway:{title:"Gateway",select:"Select a DID Spaces",add:{title:"Add DID Spaces",label:"Enter the url of the DID Spaces",failed:"Add DID Spaces failed",invalidUrl:"Invalid DID Spaces gateway url",duplicate:"{name} is already connected to this blocklet"},delete:{title:"Disconnect",succeeded:"Successfully disconnected from DID Spaces {name}",failed:"Failed to disconnect from gateway",failedForSelected:"Unable to disconnect from the selected DID Spaces",descForBackup:`After disconnecting from {name}, you will no longer be able to back up Blocklet to this DID Space. Are you sure you want to disconnect?
|
|
1566
|
+
You can restore backup operations by reconnecting to {name}.`,descForStorage:`After disconnecting from {name}, you will no longer be able to store data from this Blocklet to this DID Space. Are you sure you want to disconnect?
|
|
1567
|
+
You can resume data storage by reconnecting to {name}.`},connect:{title:"Connect DID Spaces",add:"Connect to DID Spaces now",addTips:"You are not connected to any Space yet",switch:"Switch DID Spaces",switchTips:"You are connected to {name}",connected:"Connected"},switch:{failedForMismatchSpace:"Please connect to the correct Space{name}"},connectTo:"Connect to DID Spaces"},strategy:{title:"Backup Strategy",autoBackup:"Auto backup",backupNow:"Backup now",viewBackupFiles:"View backup files"},progress:{title:"Backup progress"},record:{title:"Backup records",emptyData:"No records"},notYet:"You don't have a backup in progress yet...",connect:{now:"Connect now",title:"Connect DID Spaces",provider:"Provide your DID Spaces to start backups",providerForStorage:"Provide your DID space for data storage",useWallet:"Connect with DID Wallet",useWalletReconnect:"Reconnect with DID Wallet",useSpaceGateway:"Connect using the DID Spaces gateway",useSpaceGatewayReconnect:"Reconnect using the DID Spaces gateway",switchToSpace:"Switch to Space",switchToSpaceSucceeded:"Switched to Space{name}",succeeded:"You have successfully connected to DID Spaces",disconnect:"disconnect"},disconnected:{tag:"Disconnected",reconnectNow:"Reconnect Now"}},appLevel:{title:"App Level Storage",description:"All data generated by the application is stored on this DID Space"}},log:{lastDays:{1:"Last 1 Day",7:"Last 1 Week"}},oauth:{commonSettings:"Common Settings",save:"Save",saveSuccess:"Save successfully",saveFailed:"Save failed",issued:"Issued",thirdPartyLogin:"Third party login",alreadyBindOAuth:"Already bind third party login",alreadyBindWallet:"Already bind DID Wallet",auth0:{enable:"Enable Auth0 login",domain:"Domain",domainDescription:"Auth0's domain is required",clientId:"Client ID",clientIdDescription:"Auth0 OAuth application client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Auth0 OAuth application Client Secret is required"},github:{enable:"Enable Github login",clientId:"Client ID",clientIdDescription:"Github OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Github OAuth application Client Secret is required"},google:{enable:"Enable Google login",clientId:"Client ID",clientIdDescription:"Google OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Google OAuth application Client Secret is required"},apple:{enable:"Enable Apple login",teamId:"Team ID",teamIdDescription:"Apple OAuth application Team ID is required",serviceId:"Service ID",serviceIdDescription:"Apple OAuth application Service ID is required",keyId:"Key ID",keyIdDescription:"Apple OAuth application Key ID is required",authKey:"Auth Key",authKeyDescription:"Apple OAuth application Auth Key is required",bundleId:"Bundle ID",bundleIdDescription:"Apple OAuth application Bundle ID is required"},comingSoon:"More login methods are under construction",moreLogin:"More Login",federated:"Federated Login",oauth:"Third Party Login",runTest:"Test"},expiration:{mobile:{tips:{success:"{validity}",warning:"{validity}",error:"Expired"},loadFailed:"Retry!"},desktop:{tips:{success:"Subscription will expire after {validity}",warning:"Subscription will expire after {validity}",error:"Subscription Expired"},loading:"Load subscription...",loadFailed:"Failed to load subscription info, please retry!",nextInvoice:"Next Invoice: {date}"}},analytics:{trend:"Trends",detail:"Breakdown",runtime:"Runtime",traffic:{totalRequests:"Total Requests",validRequests:"Success Requests",failedRequests:"Failed Requests",uniqueVisitors:"Unique Visitors",uniqueFiles:"Unique URLs",uniqueReferrers:"Unique Referrers",uniqueNotFound:"Unique 404",uniqueStaticFiles:"Unique Static Files",logSize:"Log Size",bandwidth:"Bandwidth"}},federated:{inviteJoinFederatedLogin:"Invite to join federated login",inviteJoinFederatedLoginDescription:"Copy the following address and fill it in the application where you need to join to apply for federated login.",federatedLogin:"Federated login",joinFederatedLogin:"Join federated login",joinFederatedLoginDescription:"Please enter the federated login address provided by Master Blocklet to join the federated login",quitFederatedLogin:"Quit federated login",quitFederatedLoginDescription:"After quit federated login, normal login is always available",federatedJoinAppUrl:"Federated login join appUrl",federatedJoinAppUrlRequired:"Please input federated login join appUrl",failedToGetFederatedLoginAppUrl:"Failed to get federated login join appUrl",federatedJoinAppUrlInvalid:"Federated login appUrl is invalid",siteDetail:"Site detail",approveToJoinLogin:"Approve to join federated login",approve:"Enable login",revoke:"Disable login",enableFederatedLogin:"Enable federated login",disableFederatedLogin:"Disable federated login",enableFederatedLoginDescription:"After enable federated login, this site will be auto login",disableFederatedLoginDescription:"After disable federated login, this site will not be auto login",enableFederatedAutoLogin:"Enable automatic login",enableFederatedAutoLoginDescription:"After enable automatic login, if there is currently a unified login status, the site will automatically log in the identity of the federated login",disableFederatedAutoLogin:"Disable automatic login",disableFederatedAutoLoginDescription:"After the automatic login is turned off, the site will not automatically log in the user information of the unified login, and you can still choose to manually click to log in with the identity of the federated login",info:{appId:"APP DID",appPid:"Permanent ID",migratedFrom:"Also Known As",appName:"Blocklet name",appDescription:"Blocklet description",appUrl:"Blocklet url",appLogo:"Blocklet logo",did:"Blocklet DID",serverId:"Blocklet Server ID",serverVersion:"Blocklet Server version",version:"Blocklet version",appliedAt:"Apply at",status:"Status"},status:{pending:"Pending",approved:"Approved",rejected:"Rejected",revoked:"Revoked"},disbandFederatedLogin:"Disband federated login",disbandFederatedLoginDescription:"After disband federated login, all member site will quit federated login automatically",syncConfig:"Sync federated sites config",quitMember:"Remove",quitMemberDescription:"Remove specified members from the site group",removeFederatedLogin:"Remove member",removeFederatedLoginDescription:"After remove specified members from the site group, member can only use normal login"},optionsOrder:{1:"Option One",2:"Option Two"},securityRule:{title:"Security Rule",sortByDescription:"Sort by matching priority",add:"Add Security Rule",edit:"Edit Security Rule",view:"View Security Rule",form:{precede:"Precede",pathPattern:"Path Pattern",pathPatternPlaceholder:"Please input path pattern",pathPatternErrorText:"Path pattern is invalid",accessPolicyOrResponseHeaderPolicyRequired:"Access Policy or Response Header Policy is required",accessPolicy:"Access Policy",accessPolicyPlaceholder:"Please select access policy",accessPolicyHelperText:"Please select access policy",responseHeaderPolicy:"Response Header Policy",responseHeaderPolicyPlaceholder:"Please select response header policy",responseHeaderPolicyHelperText:"Please select response header policy",remark:"Remark",remarkPlaceholder:"Please input remark",component:"Component",componentPlaceholder:"Please choose component"},delete:{title:"Delete Security Rule ?",description:"After removing a security rule, the rule will no longer take effect"}},responseHeaderPolicy:{title:"Response Header Policy",add:"Add Response Header Policy",edit:"Edit Response Header Policy",view:"View Response Header Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",originOverride:"Origin Override",originOverrideHelperText:"Whether to allow the logic in the application to override this response header",cors:{origin:"Origin",originPlaceholder:"Support the following domain formats: http://www.example.com, http://*.example.com, http://www.example.com:8080, * (wildcard is not recommended)",originHelperText:"Domain name starts with http:// or https://, one per line, one wildcard * per line",methods:"Methods",allowedHeaders:"Allowed Headers",allowedHeadersPlaceholder:"It's recommended to fill in *, support multi-line input",allowedHeadersHelperText:"Tell the server which custom HTTP request headers can be used in the next request when sending an OPTIONS request, such as: x-blocklet-version",exposedHeaders:"Exposed Headers",exposedHeadersPlaceholder:"Support multi-line input",exposedHeadersHelperText:"Configure Expose-Headers, for example: X-Content-Range",maxAge:"Max-Age (Seconds)",maxAgeHelperText:"The validity period of the result obtained by the OPTIONS request, which needs to be a positive integer",optionsSuccessStatus:"Options Success Status",preflightContinue:"Preflight Continue",credentials:"Credentials",smartMode:"Smart Mode",smartModeHelperText:"Automatically add all domain names of the current application, as well as all domain names of the federated login site group"}},delete:{title:"Delete Response Header Policy ?",description:"After removing a response header policy, the policy will no longer take effect"}},accessPolicy:{title:"Access Policy",add:"Add Access Policy",edit:"Edit Access Policy",view:"View Access Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",roles:"Access Roles",accessType:"Access type"},delete:{title:"Delete Access Policy ?",description:"After removing an access policy, the policy will no longer take effect"}}},en$1={blocklet:{restoreBlocklet:{title:"Restore Blocklet",description:"Please select the blocklet you want to restore",verify:{title:"Verify Ownership",subTitle:"Verify ownership of the blocklet with your DID Wallet",verify:"Verify",reconnect:"Try another blocklet",scan:"Scan QR code with your DID Wallet to prove ownership",confirm:"Sign delegation to allow server to download and decrypt the backup",success:"Ownership verified, the restoring is in progress",exists:"This blocklet already exists on this server and restore is aborted",open:"Visit Blocklet",overwrite:"Overwrite"},overwrite:{title:"Overwrite existing blocklet?",description:"The blocklet you are restoring already exists on this server, do you want to overwrite it? The exiting blocklet will be deleted first if you continue"},restore:{title:"Restore Blocklet"}},restoreFromServer:{selectTitle:"Select Application",description:"Please select the application you want to restore",backupIn:"Backup in"},restoreFromSpaces:{title:"Restore from DID Spaces",navSubTitle:"Restore",connect:{title:"Connect DID Space",subTitle:"Jump to DID Spaces, and select the blocklet you want to restore.",select:"Select DID Spaces Gateway",connect:"Connect"},selectBlocklet:{title:"Select App"},restore:{title:"Restore App",subTitle:"The app is being restored",completeTitle:"Everything is Ready",installedTitle:"Successfully restored!",installedSubTitle:"But still needs some configurations to start",support:'If retrying does not work, please ask help in the <a href="{communityLink}" target="_blank">community</a> or contact us at <a href="mailto: {supportEmail}">{supportEmail}</a>.'},nftAuthDialog:{title:"Please present your App Space NFT",scan:"Scan QR code with your DID Wallet to present your NFT",confirm:"Confirm on your DID Wallet",success:"NFT successfully verified!"},progress:{waiting:"Waiting for restore...",restoring:"Restoring...",importData:"Importing data...",downloading:"Downloading files, progress: {progress}",importSuccess:"Successfully imported!",installing:"Installing..."}}},server:{checkUpgrade:"Check new version"}},flatMerge=a=>flat$1(merge$1(...a)),translations$1={en:flat$1(merge$1(en$2,en$1)),ar:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ar-BDRVvPrM.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ar-DEFG_HSF.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},de:async()=>{const a=await Promise.all([__vitePreload(()=>import("./de-B227a1no.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./de-BXx5XWMv.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},es:async()=>{const a=await Promise.all([__vitePreload(()=>import("./es-DAn9P2pX.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./es-dYDfzHE0.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},fr:async()=>{const a=await Promise.all([__vitePreload(()=>import("./fr-hW_Tvq9a.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./fr-DGLilU-8.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},hi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./hi-6yAhJdFx.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./hi-EiYI5FnU.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},id:async()=>{const a=await Promise.all([__vitePreload(()=>import("./id-BMkTW_Ii.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./id-BHuBzbF-.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ja:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ja-DMoxkdsA.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ja-BeNRi6CF.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ko:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ko-C926kBBj.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ko-BGPBfmUw.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},pt:async()=>{const a=await Promise.all([__vitePreload(()=>import("./pt-S0JrQ9Y4.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./pt-BmW9xdbz.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ru:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ru-Qa5qbmx5.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ru-DufkUHOM.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},th:async()=>{const a=await Promise.all([__vitePreload(()=>import("./th-BoRhU51f.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./th-Dl-J4TkD.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},vi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./vi-klSG5jCL.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./vi-BMeJuBa9.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},zh:async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-Bbb3gm_K.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./zh-BDoN11lM.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},"zh-TW":async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-tw-D9dNfXQ_.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./zh-tw-CdTy_eDO.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)}},rootStyle=getComputedStyle(document.documentElement),theme=create$4({palette:{primary:{main:"#1DC1C7",contrastText:"#fff"},secondary:{main:"#030712",contrastText:"#fff"},storeSecondary:{main:"#EBFEFF",contrastText:"#fff"},divider:rootStyle.getPropertyValue("--stroke-sep").trim()||"#EFF1F5",text:{primary:rootStyle.getPropertyValue("--foregrounds-fg-base").trim()||"#030712",secondary:rootStyle.getPropertyValue("--foregrounds-fg-subtle").trim()||"#4b5563",lighter:rootStyle.getPropertyValue("--foregrounds-fg-muted").trim()||"#9ca3af",link:rootStyle.getPropertyValue("--foregrounds-fg-interactive").trim()||"#0086FF"}},typography:{fontSize:14,button:{textTransform:"none"},allVariants:{textTransform:"none"},h1:{fontSize:32,fontWeight:700,lineHeight:1.375,textAlign:"left"},h2:{fontSize:24,fontWeight:700,lineHeight:1.3333333,textAlign:"left"},h3:{fontSize:18,fontWeight:600,lineHeight:1.5,textAlign:"left"},fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:700},overrides:{MuiTableRow:{root:{"&:nth-child(even)":{backgroundColor:"rgba(0, 0, 0, 0.02)"}},head:{backgroundColor:"transparent"}}},breakpoints:{values:{xs:0,sm:600,md:960,lg:1280,xl:1920}}}),globalStyles=css$1`
|
|
1566
1568
|
a {
|
|
1567
1569
|
color: ${teal.A700};
|
|
1568
1570
|
text-decoration: none;
|
|
@@ -2560,4 +2562,4 @@ ${et}
|
|
|
2560
2562
|
${a=>a.scrollable?"":"overflow: hidden"};
|
|
2561
2563
|
}
|
|
2562
2564
|
`;function GlobalSubscriber(){const{t:a}=useLocaleContext(),{session:j}=useSessionContext$1(),{info:_e,refresh:et}=useNodeContext();return useSubscription(constant.TeamEvents.userUpdated,({teamDid:nt,user:tt})=>{nt===_e.did&&tt&&!tt.approved&&j&&j.user&&j.user.did===tt.did&&(Toast$1.warning(a("session.blockAccess"),{autoHideDuration:10*1e3}),j.logout())}),useSubscription(constant$3.EVENTS.NOTIFICATION_CREATE,nt=>{nt.entityType==="node"&&et({silent:!0})}),useSubscription(constant$3.EVENTS.NODE_UPDATED,()=>{et({silent:!0})}),null}var util={},baseUniq=_baseUniq;function uniq(a){return a&&a.length?baseUniq(a):[]}var uniq_1=uniq;const uniq$1=getDefaultExportFromCjs$1(uniq_1),require$$6=getAugmentedNamespace(dist$2);class Node{constructor(j){this.value=j,this.next=void 0}}let Queue$1=class{constructor(){this.clear()}enqueue(j){const _e=new Node(j);this._head?(this._tail.next=_e,this._tail=_e):(this._head=_e,this._tail=_e),this._size++}dequeue(){const j=this._head;if(j)return this._head=this._head.next,this._size--,j.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let j=this._head;for(;j;)yield j.value,j=j.next}};var yoctoQueue=Queue$1;const Queue=yoctoQueue,pLimit=a=>{if(!((Number.isInteger(a)||a===1/0)&&a>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");const j=new Queue;let _e=0;const et=()=>{_e--,j.size>0&&j.dequeue()()},nt=async(st,ft,...pt)=>{_e++;const dt=(async()=>st(...pt))();ft(dt);try{await dt}catch{}et()},tt=(st,ft,...pt)=>{j.enqueue(nt.bind(null,st,ft,...pt)),(async()=>(await Promise.resolve(),_e<a&&j.size>0&&j.dequeue()()))()},rt=(st,...ft)=>new Promise(pt=>{tt(st,pt,...ft)});return Object.defineProperties(rt,{activeCount:{get:()=>_e},pendingCount:{get:()=>j.size},clearQueue:{value:()=>{j.clear()}}}),rt};var pLimit_1=pLimit,engine={},browser={};browser.endianness=function(){return"LE"};browser.hostname=function(){return typeof location<"u"?location.hostname:""};browser.loadavg=function(){return[]};browser.uptime=function(){return 0};browser.freemem=function(){return Number.MAX_VALUE};browser.totalmem=function(){return Number.MAX_VALUE};browser.cpus=function(){return[]};browser.type=function(){return"Browser"};browser.release=function(){return typeof navigator<"u"?navigator.appVersion:""};browser.networkInterfaces=browser.getNetworkInterfaces=function(){return{}};browser.arch=function(){return"javascript"};browser.platform=function(){return"browser"};browser.tmpdir=browser.tmpDir=function(){return"/tmp"};browser.EOL=`
|
|
2563
|
-
`;browser.homedir=function(){return"/"};(function(a){var j=commonjsGlobal&&commonjsGlobal.__importDefault||function(pt){return pt&&pt.__esModule?pt:{default:pt}};Object.defineProperty(a,"__esModule",{value:!0}),a.hasMountPoint=a.hasStartEngine=a.isPackBlocklet=a.isGatewayBlocklet=a.getBlockletEngine=void 0;const _e=j(browser),et=constant,nt=pt=>{if(pt===void 0)throw new Error("blocklet meta param is required");const{engine:dt}=pt;if(!dt)return{interpreter:"node",source:""};if(!Array.isArray(dt))return dt;const mt=_e.default.platform(),xt=dt.find(Tt=>Tt.platform===mt);if(!xt)throw new Error(`can not find a proper engine interpreter on ${mt}`);return xt};a.getBlockletEngine=nt;const tt=pt=>(pt==null?void 0:pt.group)===et.BlockletGroup.gateway;a.isGatewayBlocklet=tt;const rt=pt=>(pt==null?void 0:pt.group)===et.BlockletGroup.pack;a.isPackBlocklet=rt;const st=pt=>!!(pt!=null&&pt.main)||(0,a.getBlockletEngine)(pt||{}).interpreter==="blocklet";a.hasStartEngine=st;const ft=pt=>((0,a.hasStartEngine)(pt)||((pt==null?void 0:pt.interfaces)||[]).find(dt=>dt.type===et.BLOCKLET_INTERFACE_TYPE_WEB))&&(0,a.isGatewayBlocklet)(pt)===!1;a.hasMountPoint=ft})(engine);(function(a){var j=commonjsGlobal&&commonjsGlobal.__importDefault||function(Tn){return Tn&&Tn.__esModule?Tn:{default:Tn}};Object.defineProperty(a,"__esModule",{value:!0}),a.hasResourceType=a.hasStartEngine=a.isPackBlocklet=a.isGatewayBlocklet=a.isAccessible=a.isRunning=a.isBeforeInstalled=a.isInProgress=a.getBlockletServices=a.getBlockletAppIdList=a.isPreferenceKey=a.isExternalBlocklet=a.getBlockletChainInfo=a.getChainInfo=a.getConnectAppUrl=a.getParentComponentName=a.filterComponentsV2=a.findComponentByIdV2=a.findComponentV2=a.findComponentById=a.findComponent=a.getComponentBundleId=a.getComponentName=a.getComponentId=a.replaceSlotToIp=a.checkPublicAccess=a.findServiceFromMeta=a.findDockerInterface=a.findWebInterfacePort=a.findWebInterface=a.fixBlockletStatus=a.getAppDescription=a.getDisplayName=a.getAppName=a.hasRunnableComponent=a.wipeSensitiveData=a.isEnvShareable=a.isEnvShareableToClient=a.getComponentMissingConfigs=a.getAppMissingConfigs=a.getSharedConfigObj=a.isDeletableBlocklet=a.forEachComponentV2Sync=a.forEachComponentV2=a.forEachChildSync=a.forEachChild=a.forEachBlockletSync=a.forEachBlocklet=a.isFreeComponent=a.isFreeBlocklet=void 0,a.getMountPoints=void 0,a.getAppUrl=Mt;const _e=j(get_1),et=j(uniq_1),nt=require$$6,tt=j(pLimit_1),rt=j(constant$3),st=constant,ft=engine;Object.defineProperty(a,"hasStartEngine",{enumerable:!0,get:function(){return ft.hasStartEngine}}),Object.defineProperty(a,"isGatewayBlocklet",{enumerable:!0,get:function(){return ft.isGatewayBlocklet}}),Object.defineProperty(a,"isPackBlocklet",{enumerable:!0,get:function(){return ft.isPackBlocklet}});const{SLOT_FOR_IP_DNS_SITE:pt}=rt.default,dt=(Tn,nn=[])=>`${nn.map(pn=>pn&&pn.meta?pn.meta.did:"").join("/")}${nn.length?"/":""}${Tn&&Tn.meta?Tn.meta.did:""}`;a.getComponentId=dt;const mt=(Tn,nn=[])=>`${nn.map(pn=>pn&&pn.meta?pn.meta.name:"").join("/")}${nn.length?"/":""}${Tn&&Tn.meta?Tn.meta.name:""}`;a.getComponentName=mt;const xt=Tn=>`${Tn.meta.bundleName}@${Tn.meta.version}`;a.getComponentBundleId=xt;const Tt=Tn=>{if(!Tn)return"";const nn=Tn.split("/");return nn.pop(),!nn.length||(nn[nn.length-1].startsWith("@")&&nn.pop(),!nn.length)?"":nn.join("/")};a.getParentComponentName=Tt;const St=(Tn,nn,{parallel:pn=!1,concurrencyLimit:gn=5,sync:En,params:Rn,_parent:Bn,_root:tn,_level:jt=0,_tasks:Zt,_ancestors:cn=[],_limit:vn}={})=>{const Pn=tn||Bn||Tn,Sn=dt(Tn,cn),Ln=cn.concat(Tn);if(En){const Nn=nn(Tn,{parent:Bn,root:Pn,level:jt,params:Rn,ancestors:cn,id:Sn});if(Tn.children)for(const qn of Tn.children)St(qn,nn,{sync:En,params:Nn,_parent:Tn,_root:Pn,_level:jt+1,_ancestors:Ln});return null}if(!pn)return new Promise(async(Nn,qn)=>{try{const Cn=await nn(Tn,{parent:Bn,root:Pn,level:jt,ancestors:cn,params:Rn,id:Sn});if(Tn.children)for(const kn of Tn.children)await St(kn,nn,{params:Cn,_parent:Tn,_root:Pn,_level:jt+1,_ancestors:Ln});Nn(null)}catch(Cn){qn(Cn)}});const ir=vn||(0,tt.default)(gn),In=Zt||[];if(In.push(ir(()=>nn(Tn,{parent:Bn,root:Pn,level:jt,ancestors:cn,id:Sn}))),Tn.children)for(const Nn of Tn.children)St(Nn,nn,{parallel:pn,_parent:Tn,_root:Pn,_level:jt+1,_tasks:In,_ancestors:Ln,_limit:ir});return Zt?null:Promise.all(In)};a.forEachBlocklet=St;const Rt=(Tn,nn)=>St(Tn,nn,{sync:!0});a.forEachBlockletSync=Rt;const At=(Tn,nn,{parallel:pn=!1,concurrencyLimit:gn=5,sync:En}={})=>{if(En){if(Tn.children)for(const tn of Tn.children)nn(tn);return null}if(!pn)return new Promise(async(tn,jt)=>{try{if(Tn.children)for(const Zt of Tn.children)await nn(Zt);tn(null)}catch(Zt){jt(Zt)}});const Rn=(0,tt.default)(gn),Bn=[];if(Tn.children)for(const tn of Tn.children)Bn.push(Rn(()=>nn(tn)));return Promise.all(Bn)};a.forEachComponentV2=At;const $t=(Tn,nn)=>At(Tn,nn,{sync:!0});a.forEachComponentV2Sync=$t;const kt=(Tn,nn,pn)=>St(Tn,(gn,En)=>En.level===0?{}:nn(gn,En),pn);a.forEachChild=kt;const Pt=(Tn,nn)=>kt(Tn,nn,{sync:!0});a.forEachChildSync=Pt;const Lt=(Tn,nn,{_ancestors:pn=[],returnAncestors:gn=!1}={})=>{if(!nn)return null;if(nn(Tn,{ancestors:pn}))return gn?{component:Tn,ancestors:pn}:Tn;for(const En of Tn.children||[]){const Rn=pn.concat(Tn),Bn=Lt(En,nn,{_ancestors:Rn,returnAncestors:gn});if(Bn)return Bn}return null};a.findComponent=Lt;const Vt=(Tn,nn,{returnAncestors:pn=!1}={})=>(Array.isArray(nn)&&(nn=nn.join("/")),Lt(Tn,(gn,{ancestors:En})=>{const Rn=dt(gn,En);return nn===Rn},{returnAncestors:pn}));a.findComponentById=Vt;const Ft=(Tn,nn)=>{if(!nn)return null;for(const pn of Tn.children||[])if(nn(pn,Tn))return pn;return null};a.findComponentV2=Ft;const Ht=(Tn,nn)=>nn?(Array.isArray(nn)&&(nn=nn.join("/")),Ft(Tn,(pn,gn)=>{if(nn.includes("/")){const En=dt(pn,[gn]);return nn===En}return nn===pn.meta.did})):null;a.findComponentByIdV2=Ht;const qt=(Tn,nn)=>{if(!nn)return[];const pn=[];for(const gn of Tn.children||[])nn(gn,Tn)&&pn.push(gn);return pn};a.filterComponentsV2=qt;const Jt=Tn=>!!Tn&&!!(Tn.key||Tn.name)&&!Tn.secure&&Tn.shared!==!1&&!st.BLOCKLET_CONFIGURABLE_KEY[Tn.key||Tn.name];a.isEnvShareableToClient=Jt;const un=(Tn,nn=!1)=>!!Tn&&!!(Tn.key||Tn.name)&&!!Tn.shared&&!st.BLOCKLET_CONFIGURABLE_KEY[Tn.key||Tn.name]&&(nn?!0:!Tn.secure);a.isEnvShareable=un;const wt=(Tn,nn,pn=!1)=>{const gn={};return!Tn||!nn||(Array.isArray(Tn.configs)&&Tn.configs.forEach(({key:En,value:Rn,secure:Bn})=>{if(!un({key:En,secure:Bn,shared:!0},pn))return;const tn=(Tn.configObj||{})[En]||Rn,jt=(nn.configs||[]).find(Zt=>Zt.key===En);(!jt||un(jt,pn)||!jt.value&&!(nn.configObj||{})[jt.key])&&(gn[En]=tn)}),Array.isArray(Tn.children)&&Tn.children.filter(En=>{var Rn,Bn;return((Rn=En.meta)==null?void 0:Rn.did)!==((Bn=nn.meta)==null?void 0:Bn.did)}).forEach(En=>{(En.configs||[]).filter(Rn=>un(Rn,pn)).filter(Rn=>!(Tn.configs||[]).find(Bn=>Bn.key===Rn.key)).forEach(({key:Rn,value:Bn})=>{const tn=(nn.configs||[]).find(jt=>jt.key===Rn);(!tn||!tn.value&&!(nn.configObj||{})[tn.key])&&(gn[Rn]=Bn)})}),(Tn.configs||[]).forEach(({key:En,value:Rn})=>{[st.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_HOST,st.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_ID,st.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_TYPE].includes(En)&&(gn[st.CHAIN_PROP_MAP[En]]=Rn)})),gn};a.getSharedConfigObj=wt;const it=Tn=>Tn.key.startsWith(st.BLOCKLET_PREFERENCE_PREFIX)===!0;a.isPreferenceKey=it;const ut=(Tn,nn)=>!!(Tn.required&&(!Tn.value&&!nn[Tn.key]||Object.values(st.CHAIN_PROP_MAP).includes(Tn.key)&&Object.keys(nn).includes(Tn.key)&&!nn[Tn.key])),ct=(Tn={})=>{const nn=[];return $t(Tn,pn=>{var Rn;if(((Rn=pn.meta)==null?void 0:Rn.group)===st.BlockletGroup.gateway)return;const gn=pn.configs||[],En=wt(Tn,pn);gn.forEach(Bn=>{ut(Bn,En)&&nn.push({did:pn.meta.did,key:Bn.key,description:Bn.description})})}),nn.filter(pn=>!it(pn))};a.getAppMissingConfigs=ct;const ht=(Tn={},nn={})=>{const pn=[],gn=Tn.configs||[],En=wt(nn,Tn);return gn.forEach(Rn=>{ut(Rn,En)&&pn.push({did:Tn.meta.did,key:Rn.key,description:Rn.description})}),pn};a.getComponentMissingConfigs=ht;const vt=Tn=>Tn.payment?(Tn.payment.price||[]).map(pn=>pn.value||0).every(pn=>pn===0):!0;a.isFreeBlocklet=vt;const Et=Tn=>!Tn.payment||!Tn.payment.componentPrice?!0:!Tn.payment.componentPrice.length;a.isFreeComponent=Et;const Ct=Tn=>Tn&&(St(Tn,nn=>{var pn,gn;nn.configs&&(nn.configs=nn.configs.filter(En=>!it(En)),nn.configs.forEach(En=>{En.secure&&(En.value=En.value?"__encrypted__":"")})),(nn.environments||[]).forEach(En=>{["BLOCKLET_APP_SK","BLOCKLET_APP_PSK"].includes(En.key)&&(En.value="__encrypted__")}),(nn.migratedFrom||[]).forEach(En=>{En.appSk="__encrypted__"}),delete Tn.configObj,delete Tn.environmentObj,(gn=(pn=Tn.settings)==null?void 0:pn.session)==null||delete gn.salt},{sync:!0}),Tn);a.wipeSensitiveData=Ct;const yt=Tn=>{if(!Tn)return!1;const nn=Tn.environments.find(pn=>pn.key==="BLOCKLET_DELETABLE");return nn?nn.value==="yes":!0};a.isDeletableBlocklet=yt;const ot=Tn=>{let nn=!1;return Rt(Tn,pn=>{pn.meta.group!==st.BlockletGroup.gateway&&(nn=!0)}),nn};a.hasRunnableComponent=ot;const bt=(Tn,nn=!1)=>{if(!Tn)return"";const{meta:pn}=Tn;let gn;if(!nn&&Tn.environments){const En=Tn.environments.find(Rn=>Rn.key==="BLOCKLET_APP_NAME");En&&En.value&&(gn=En.value)}return gn||pn.title||pn.name};a.getAppName=bt,a.getDisplayName=bt;const Dt=(Tn,nn=!1)=>{if(!Tn)return"";const{meta:pn}=Tn;let gn;if(!nn&&Tn.environments){const En=Tn.environments.find(Rn=>Rn.key==="BLOCKLET_APP_DESCRIPTION");En&&En.value&&(gn=En.value)}return gn||pn.description||pn.name};a.getAppDescription=Dt;function Mt(Tn){var gn,En,Rn;const nn=(Rn=(En=(gn=Tn==null?void 0:Tn.site)==null?void 0:gn.domainAliases)==null?void 0:En.sort((Bn,tn)=>{var jt,Zt,cn,vn;return(jt=Bn.accessibility)!=null&&jt.accessible&&((Zt=tn.accessibility)!=null&&Zt.accessible)?+Bn.isProtected-+tn.isProtected:+((cn=tn.accessibility)==null?void 0:cn.accessible)-+((vn=Bn.accessibility)==null?void 0:vn.accessible)}))==null?void 0:Rn.map(Bn=>{var Zt;const tn=(Zt=Bn==null?void 0:Bn.domainStatus)!=null&&Zt.isHttps?"https://":"http://",jt=Bn==null?void 0:Bn.value;return`${tn}${jt}`}).filter(Boolean);return nn==null?void 0:nn[0]}const Ut=Tn=>{Tn&&(Rt(Tn,nn=>{nn.status=(0,st.fromBlockletStatus)(nn.status),nn.source!==void 0&&(nn.source=(0,st.fromBlockletSource)(nn.source))}),Tn.settings&&(Tn.settings.children||[]).forEach(nn=>{Rt(nn,pn=>{pn.status=(0,st.fromBlockletStatus)(pn.status),pn.source!==void 0&&(pn.source=(0,st.fromBlockletSource)(pn.source))})}))};a.fixBlockletStatus=Ut;const It=Tn=>{if(!Tn)return null;const nn=Tn.meta||Tn||{},{interfaces:pn=[]}=nn;return Array.isArray(pn)?pn.find(gn=>gn.type===st.BLOCKLET_INTERFACE_TYPE_WEB):null};a.findWebInterface=It;const zt=Tn=>{if(!Tn)return null;const nn=Tn.meta||Tn||{},{interfaces:pn=[]}=nn;return Array.isArray(pn)?pn.find(gn=>gn.type===st.BLOCKLET_INTERFACE_TYPE_DOCKER):null};a.findDockerInterface=zt;const Nt=Tn=>{if(!Tn)return null;const nn=It(Tn),{ports:pn}=Tn;return!nn||!pn?null:pn[nn.port]};a.findWebInterfacePort=Nt;const Yt=(Tn,nn)=>{const pn=[nn],gn=It(Tn);return gn?(gn.services||[]).find(En=>pn.includes(En.name)):null};a.findServiceFromMeta=Yt;const an=({request:Tn,baseUrl:nn})=>{const pn=Tn.headers["x-blocklet-did"]||"",gn=Tn.headers["x-blocklet-real-did"]||"",En=Tn.headers["x-path-prefix"]||"/",Rn=Tn.headers["x-group-path-prefix"]||"/";let Bn=nn;return pn!==gn&&En!==Rn&&(Bn=(0,nt.joinURL)(Bn,"/").replace(En,Rn)),Bn};a.getConnectAppUrl=an;const fn=(Tn,nn)=>{const pn=(nn||"").includes(":")?":":/\./;return(Tn||"").replace(pt,(nn||"").replace(new RegExp(pn,"g"),"-"))};a.replaceSlotToIp=fn;const Kt=Tn=>{const nn=Object.entries(st.CHAIN_INFO_CONFIG).reduce((pn,gn)=>{const[En,[Rn,Bn]]=gn;return pn[Rn]=(0,_e.default)(Tn,En)||Bn,pn},{});return nn.type==="ethereum"&&nn.id==="none"&&(nn.id="1"),nn};a.getChainInfo=Kt;const Ot=Tn=>{const nn=Kt({});if(!Tn)return nn;const pn=Kt(Tn.configObj);if(pn.host!=="none")return pn;let gn;return Pt(Tn,En=>{if(gn&&gn.host!=="none")return;const Rn=Kt(En.configObj);Rn.host!=="none"&&(gn=Rn)}),gn||nn};a.getBlockletChainInfo=Ot;const Wt=Tn=>!!(Tn!=null&&Tn.controller);a.isExternalBlocklet=Wt;const rn=Tn=>{const nn=Array.isArray(Tn.migratedFrom)?Tn.migratedFrom.map(pn=>pn.appDid):[];return(0,et.default)([Tn.appDid,Tn.appPid,...nn].filter(Boolean))};a.getBlockletAppIdList=rn;const Qt=Tn=>{const nn=[];return Tn&&Rt(Tn,pn=>{var En;(((En=pn.meta)==null?void 0:En.interfaces)||[]).filter(Rn=>Rn.type===st.BLOCKLET_INTERFACE_TYPE_SERVICE).forEach(Rn=>{const Bn=Rn.port||{};nn.push({name:Rn.name,protocol:Rn.protocol,port:Number(Bn.external),upstreamPort:Number((pn.ports||{})[Bn.internal])})})}),nn};a.getBlockletServices=Qt;const hn=Tn=>[st.BlockletStatus.downloading,st.BlockletStatus.waiting,st.BlockletStatus.starting,st.BlockletStatus.installing,st.BlockletStatus.stopping,st.BlockletStatus.upgrading,"downloading","waiting","starting","installing","extracting","stopping","upgrading","restarting","deleting"].includes(Tn);a.isInProgress=hn;const xn=Tn=>[st.BlockletStatus.added,st.BlockletStatus.waiting,st.BlockletStatus.downloading,st.BlockletStatus.installing,"added","waiting","downloading","installing"].includes(Tn);a.isBeforeInstalled=xn;const on=Tn=>[st.BlockletStatus.running,"running"].includes(Tn);a.isRunning=on;const dn=Tn=>[st.BlockletStatus.running,st.BlockletStatus.waiting,st.BlockletStatus.downloading,"running","waiting","downloading"].includes(Tn);a.isAccessible=dn;const Dn=(Tn,{type:nn,did:pn}={type:"",did:""})=>{var gn,En,Rn;return Tn?!(0,ft.hasStartEngine)(Tn.meta)&&((Rn=(En=(gn=Tn.meta)==null?void 0:gn.resource)==null?void 0:En.bundles)==null?void 0:Rn.length)>0&&(Tn.meta.resource.bundles||[]).some(Bn=>Bn.type===nn&&Bn.did===pn):!1};a.hasResourceType=Dn;const yn=Tn=>{const nn=[];return Rt(Tn,(pn,{level:gn,params:En})=>{var tn,jt,Zt,cn,vn;if((0,ft.hasMountPoint)(pn.meta)===!1)return null;const Rn=gn>1?En:nn;if(!Rn)return null;const Bn=[];return Rn.push({title:((tn=pn.meta)==null?void 0:tn.title)||"",name:((jt=pn.meta)==null?void 0:jt.bundleName)||"",did:((Zt=pn.meta)==null?void 0:Zt.bundleDid)||"",version:((cn=pn.meta)==null?void 0:cn.version)||"",status:(0,st.fromBlockletStatus)(pn.status),mountPoint:(0,nt.joinURL)("/",pn.mountPoint||""),components:Bn,capabilities:((vn=pn.meta)==null?void 0:vn.capabilities)||{}}),Bn}),nn};a.getMountPoints=yn;const wn=Tn=>{var gn,En;if(!Tn)return!0;const nn=((gn=Tn==null?void 0:Tn.accessPolicy)==null?void 0:gn.roles)??null,pn=((En=Tn==null?void 0:Tn.accessPolicy)==null?void 0:En.reverse)??!1;return nn===null&&pn===!1};a.checkPublicAccess=wn,a.default={isFreeBlocklet:vt,isFreeComponent:Et,forEachBlocklet:St,forEachBlockletSync:Rt,forEachChild:kt,forEachChildSync:Pt,forEachComponentV2:At,forEachComponentV2Sync:$t,isDeletableBlocklet:yt,getSharedConfigObj:wt,getAppMissingConfigs:ct,getComponentMissingConfigs:ht,isEnvShareableToClient:Jt,isEnvShareable:un,wipeSensitiveData:Ct,hasRunnableComponent:ot,getAppName:bt,getAppDescription:Dt,getAppUrl:Mt,getDisplayName:bt,fixBlockletStatus:Ut,findWebInterface:It,findWebInterfacePort:Nt,findDockerInterface:zt,findServiceFromMeta:Yt,checkPublicAccess:wn,replaceSlotToIp:fn,getComponentId:dt,getComponentName:mt,getComponentBundleId:xt,findComponent:Lt,findComponentById:Vt,findComponentV2:Ft,findComponentByIdV2:Ht,filterComponentsV2:qt,getParentComponentName:Tt,getConnectAppUrl:an,getChainInfo:Kt,getBlockletChainInfo:Ot,isExternalBlocklet:Wt,isPreferenceKey:it,getBlockletServices:Qt,isInProgress:hn,isBeforeInstalled:xn,isRunning:on,isAccessible:dn,isGatewayBlocklet:ft.isGatewayBlocklet,isPackBlocklet:ft.isPackBlocklet,hasStartEngine:ft.hasStartEngine,hasResourceType:Dn,getMountPoints:yn}})(util);const getServerUrl=(a,j=!1)=>{const _e=a.routing.adminPath;return j?encodeURIComponent(joinURL(window.location.origin,_e)):joinURL(window.location.origin,_e)},getLaunchAgreementUrl=(a,j,_e)=>{const et=getServerUrl(j),nt=joinURL(_e,`/api/blocklets/${a.did}/blocklet.json`),tt=new URL(joinURL(et,"/launch-blocklet/agreement"));return tt.searchParams.set("blocklet_meta_url",nt),tt.searchParams.set("from",window.location.href),tt.href},ensureDomainAliases=async(a,{getIP:j}={})=>{if(!a||!a.length)return[];if(!j||!a.some(et=>et.value.includes(constant$3.SLOT_FOR_IP_DNS_SITE)))return a;const _e=await j();return _e?a.map(et=>{try{return et.value=util.replaceSlotToIp(et.value,_e),et}catch{return et}}).filter(Boolean):a},getAppCapabilities=a=>{const j={didSpace:null};return util.forEachBlockletSync(a,_e=>{var et,nt;j.didSpace===constant.BLOCKLET_APP_SPACE_REQUIREMENT.REQUIRED||j.didSpace===constant.BLOCKLET_APP_SPACE_REQUIREMENT.REQUIRED_ON_SETUP||(nt=(et=_e==null?void 0:_e.meta)==null?void 0:et.capabilities)!=null&&nt.didSpace&&(j.didSpace=_e.meta.capabilities.didSpace)}),j},fixBlocklet=async(a,{fixRuntime:j=!0,oldBlocklet:_e,getIP:et}={})=>{if(a.site||(a.site={domainAliases:[],rules:[]}),a.site.rules.forEach(nt=>{nt.from.pathPrefix=normalizePathPrefix$1(nt.from.pathPrefix||"/")}),a.site.rules=sortBy$1(a.site.rules,nt=>nt.from.pathPrefix),j===!0)a.site.domainAliases=await ensureDomainAliases(a.site.domainAliases,{getIP:et}),a.appRuntimeInfo&&(a.appRuntimeInfo.startAt=new Date-a.appRuntimeInfo.uptime),util.forEachBlockletSync(a,nt=>{nt.runtimeInfo&&(nt.runtimeInfo.startAt=new Date-nt.runtimeInfo.uptime)});else if(j==="merge-old"&&_e){a.site.domainAliases=_e.site.domainAliases,a.appRuntimeInfo=_e.appRuntimeInfo;const nt={};util.forEachBlockletSync(_e,(tt,{id:rt})=>{nt[rt]=tt}),util.forEachBlockletSync(a,(tt,{id:rt})=>{const st=nt[rt];st&&(tt.runtimeInfo=st.runtimeInfo,tt.diskInfo=st.diskInfo,tt.engine=st.engine)})}else a.site.domainAliases=[];a.capabilities=getAppCapabilities(a)},DEFAULT_WALLET_TYPE="arcblock",getWalletType=(a,j=!1)=>{let _e;return j?(_e=(a.configs||[]).find(et=>et.key==="BLOCKLET_APP_CHAIN_TYPE"),_e&&_e.value||(_e=(a.environments||[]).find(et=>["CHAIN_TYPE","BLOCKLET_APP_CHAIN_TYPE"].includes(et.key)),_e&&_e.value)?_e.value:DEFAULT_WALLET_TYPE):(_e=(a.environments||[]).find(et=>["CHAIN_TYPE","BLOCKLET_APP_CHAIN_TYPE"].includes(et.name)),_e&&_e.default?_e.default:DEFAULT_WALLET_TYPE)},isServerless=a=>!isEmpty$2(a==null?void 0:a.controller);let cache=null;const fetch$1=async()=>{const a=window.env.apiPrefix||"/",j=joinURL(a,"/api/dns-resolve?accessible=1");try{return(await axios$4.get(j)).data.address}catch{return null}},getIp=()=>(cache||(cache=fetch$1()),cache),BlockletsContext=reactExports.createContext({}),{Provider:Provider$2,Consumer:Consumer$2}=BlockletsContext,mergeBlocklets=(a,j,_e)=>_e?a.map(et=>{const nt={...et},tt=j.find(rt=>rt.meta.did===et.meta.did);return tt&&_e.forEach(rt=>{nt[rt]=tt[rt]}),nt}):j;function BlockletsProvider({children:a}){const j=useNodeContext(),[_e,et]=reactExports.useState(null),[nt,tt]=reactExports.useState(!1),[rt,st]=reactExports.useState([]),[ft,pt]=reactExports.useState([]),[dt,mt]=reactExports.useState(!1),xt=(Pt,Lt)=>{util.isExternalBlocklet(Pt)?pt(Lt):st(Lt)},Tt=4,St=async({silent:Pt=!0,retries:Lt=Tt,updates:Vt,useCache:Ft=!0}={})=>{Pt||tt(!0);try{et(null);const{blocklets:Ht}=await j.api.getBlocklets({input:{useCache:Ft}});for(const un of Ht)await fixBlocklet(un,{getIP:getIp});const qt=Ht.filter(un=>!util.isExternalBlocklet(un)),Jt=Ht.filter(util.isExternalBlocklet);st(un=>mergeBlocklets(un,qt,Vt)),pt(un=>mergeBlocklets(un,Jt,Vt)),tt(!1),mt(!0)}catch(Ht){Lt>0?setTimeout(()=>St({silent:Pt,retries:Lt-1,useCache:Ft}),1e3):(tt(!1),et(Ht))}},Rt=async Pt=>{try{const{blocklet:Lt}=await j.api.getBlocklet({input:{did:Pt.meta.did,attachRuntimeInfo:!0}});await fixBlocklet(Lt,{getIP:getIp}),xt(Lt,Vt=>Vt.some(Ft=>Ft.meta.did===Lt.meta.did)?Vt.map(Ft=>Ft.meta.did===Lt.meta.did?Lt:Ft):[...Vt,Lt])}catch(Lt){et(Lt)}},At=Pt=>{j.refresh(),Rt(Pt)};reactExports.useEffect(()=>{St({silent:!1})},[]);const $t=Pt=>{const Lt={};util.forEachBlockletSync(Pt,(Vt,{id:Ft})=>{Lt[Ft]=constant.fromBlockletStatus(Vt.status)}),xt(Pt,Vt=>Vt.map(Ft=>(Ft.meta.did===Pt.meta.did&&util.forEachBlockletSync(Ft,(Ht,{id:qt})=>{Lt[qt]&&(Ht.status=Lt[qt])}),Ft)))};useSubscription(constant.BlockletEvents.added,Pt=>{Pt.status=constant.fromBlockletStatus(Pt.status),xt(Pt,Lt=>[...Lt,Pt])}),useSubscription(constant.BlockletEvents.removed,Pt=>{j.refresh(),xt(Pt,Lt=>Lt.filter(Vt=>Vt.meta.did!==Pt.meta.did))}),useSubscription(constant.BlockletEvents.statusChange,$t),useSubscription(constant.BlockletEvents.installed,At),useSubscription(constant.BlockletEvents.upgraded,At),useSubscription(constant.BlockletEvents.updated,Rt),useSubscription(constant.BlockletEvents.startFailed,Rt);const kt={loading:nt,error:_e,data:rt,externalData:ft,refresh:St,initialized:dt,api:j.api};return jsxRuntimeExports.jsx(Provider$2,{value:{blocklets:kt},children:a})}function useBlockletsContext(){const{blocklets:a}=reactExports.useContext(BlockletsContext);return a}const authorize=({user:a,launchType:j,nftId:_e})=>{var et;if(!a)return!1;if(j==="serverless"){if(!_e)throw new Error("nftId is required");return((et=a==null?void 0:a.controller)==null?void 0:et.nftId)===_e}return(a.permissions||[]).includes("mutate_blocklets")},isServerlessBlockletInstalled=a=>{var j,_e;return a.isGetBlocklet&&((_e=(j=a.runtimeBlocklet)==null?void 0:j.controller)==null?void 0:_e.consumedAt)},getRestoredAccessUrl=async a=>{const j=getBlockletUrls({blocklet:a});let _e="";return _e=j.find(et=>{try{const{hostname:nt}=new URL(et);return urlEvaluation.isSlpDomain(nt)}catch(nt){return console.error(nt),!1}}),_e||(_e=await getAccessibleUrl(j)),_e},LaunchBlockletContext=reactExports.createContext({}),{Provider:Provider$1,Consumer:Consumer$1}=LaunchBlockletContext;function LaunchBlockletProvider({children:a}){const{session:j}=useSessionContext$1(),{t:_e}=useLocaleContext(),{api:et,info:nt}=useNodeContext(),[tt]=useSearchParams(),rt=tt.get("launchType"),st=tt.get("fromLauncher"),ft=tt.get("blocklet_meta_url")||"",pt=tt.get("nftId")||"",dt=tt.get("launcherSessionId")||"",mt=tt.get("launcherUrl")||"",xt=new URL(ft).origin,[Tt,St]=reactExports.useState({meta:null,appDid:tt.get("appDid")||null,sessionId:tt.get("sessionId")||null,isFree:!0,isExternal:!1,isInstalling:!1,isInstalled:!1,isRunning:!1,launcherSession:null,registryUrl:""}),Rt=(Jt,un)=>St(wt=>({...wt,appDid:Jt,sessionId:un})),At=authorize({user:j.user,launchType:rt,nftId:pt}),[$t,kt]=reactExports.useState(null),[Pt,Lt]=reactExports.useState(!0),Vt=reactExports.useMemo(()=>nt?getServerUrl(nt):"",[nt]),Ft=async Jt=>{if(!Jt)throw new Error("appDid should not be empty");const{blocklet:un}=await et.getBlocklet({input:{did:Jt,attachConfig:!1}});if(!un)return null;const wt=constant.BlockletStatus[un.status],it=!!pt,ut=wt<constant.BlockletStatus.installed,ct=wt===constant.BlockletStatus.installed,ht=wt===constant.BlockletStatus.running;return St(vt=>({...vt,isInstalled:ct,isRunning:ht,isExternal:it,isInstalling:ut})),{isInstalled:ct,isRunning:ht,isExternal:it,isInstalling:ut}},Ht=async()=>{Lt(!0);try{if(!ft)throw new Error(_e("common.invalidParam"));const[{meta:Jt,isFree:un,registryUrl:wt},{launcherSession:it,error:ut}]=await Promise.all([et.getBlockletMetaFromUrl({input:{url:ft,checkPrice:!0}}),dt?et.getLauncherSession({input:{launcherSessionId:dt,launcherUrl:mt}}):Promise.resolve({})]);if(dt&&!it)throw new Error(`Launch session invalid: ${ut}`);if(!Jt)throw new Error(_e("LaunchBlockletBlocklet.error.loadMetaFailed"));let ct={};At&&Tt.appDid&&(ct=await Ft(Tt.appDid)),St(ht=>({...ht,...ct,meta:Jt,isFree:un,registryUrl:wt,launcherSession:it}))}catch(Jt){console.error(Jt),kt(Jt.message)}finally{Lt(!1)}};reactExports.useEffect(()=>{var Jt,un,wt;((Jt=j==null?void 0:j.user)==null?void 0:Jt.role)===constant$3.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&((wt=(un=j==null?void 0:j.user)==null?void 0:un.controller)==null?void 0:wt.nftId)!==pt&&j.logout(),Ht()},[]),reactExports.useEffect(()=>{Pt||!Tt.meta||(At?Tt.appDid&&Ft(Tt.appDid).catch(Jt=>{Toast$1.error(Jt.message)}):(St(Jt=>({...Jt,isInstalled:!1,isRunning:!1,isExternal:!1})),kt(null)))},[At]);const qt={meta:Tt.meta,isFree:Tt.isFree,appDid:Tt.appDid,sessionId:Tt.sessionId,isInstalling:Tt.isInstalling,isInstalled:Tt.isInstalled,isExternal:Tt.isExternal,isRunning:Tt.isRunning,serverUrl:Vt,storeUrl:Tt.registryUrl||xt,blockletMetaUrl:ft,fromLauncher:st,loading:Pt,error:$t,api:et,getBlocklet:Ft,setAppDid:Rt,launcherUrl:mt,launcherSession:Tt.launcherSession,launcherSessionId:dt};return jsxRuntimeExports.jsx(Provider$1,{value:qt,children:a})}function useLaunchBlockletContext(){return reactExports.useContext(LaunchBlockletContext)}function useQuery(){return new URLSearchParams(useLocation().search)}const BlockletAppContext=reactExports.createContext(),{Provider,Consumer}=BlockletAppContext;function BlockletAppProvider({children:a}){const _e=useQuery().get("blocklet_meta_url"),et=_default$2(async()=>{const{data:tt}=await axios$1.get(_e);return tt});if(et.loading)return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});const nt={meta:et.value,error:et.error};return jsxRuntimeExports.jsx(Provider,{value:nt,children:a})}BlockletAppProvider.propTypes={children:PropTypes.any.isRequired};function useBlockletAppContext(){return reactExports.useContext(BlockletAppContext)}const Dashboard=reactExports.lazy(()=>__vitePreload(()=>import("./index-DEy7D_Af.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),BlockletList=reactExports.lazy(()=>__vitePreload(()=>import("./index-CwCvYckH.js"),__vite__mapDeps([5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,2,28,29,30,31,32,33,34,35]),import.meta.url)),BlockletRestore=reactExports.lazy(()=>__vitePreload(()=>import("./index-D1i_dZNg.js"),__vite__mapDeps([36,37,38,39,40,41,6,32,42,43,44,14,11,13,18,17]),import.meta.url)),BlockletStore=reactExports.lazy(()=>__vitePreload(()=>import("./index-CMciRqbU.js"),__vite__mapDeps([45,6,46,47,48,16,17,11,39,28,29,14,13,49,50,33,32,51,42,52,3,53,54,18,22,23,24,55,41,56,57]),import.meta.url)),Settings=reactExports.lazy(()=>__vitePreload(()=>import("./index-DKtwy9xB.js"),__vite__mapDeps([58,59,12,56,60,61,62,63,14,11,13,7,8,9,10,15,16,17,18,64,52,3,53,2,65,19,20,6,66,67,68,33,69,35,48,70,71,4]),import.meta.url)),LogPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-D-ZaUnBi.js"),__vite__mapDeps([72,73,23,24,11,74,6]),import.meta.url)),TeamPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-D_9nA38Z.js"),__vite__mapDeps([75,59,12,76,77,78,17,6,11,13,79,15,80,81,33,82,83,84,16,14,7,8,9,10,18,85,35,86,39,87,34,23,24,88,89,62,20,90,54,3,2,42,91,92,93,94,53,95,96,97,98,99,100,49,1,52,70,101]),import.meta.url)),BlockletDetail=reactExports.lazy(()=>__vitePreload(()=>import("./detail-BJdKApB9.js"),__vite__mapDeps([102,59,12,19,20,21,6,18,22,23,24,31,54,90,57]),import.meta.url)),EULAPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-BqY9yKTd.js"),[],import.meta.url)),Notifications=reactExports.lazy(()=>__vitePreload(()=>import("./index-8xWytbgk.js"),__vite__mapDeps([103,1,32,81,79,15]),import.meta.url)),IssuePassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-DkBqG4kx.js"),__vite__mapDeps([104,105,88,89,9,106,92,69,107,41]),import.meta.url)),LostPassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-wbEYjXbS.js"),__vite__mapDeps([108,69,83,51,89,9,107,22,30]),import.meta.url)),ExchangePassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-BVo1y4px.js"),__vite__mapDeps([109,107,22]),import.meta.url)),BlockletLauncher=reactExports.lazy(()=>__vitePreload(()=>import("./index-AcK_GNM5.js"),__vite__mapDeps([110,37,38,39,40,111,77,78,22,44,6,26,27,41,65]),import.meta.url)),NotFoundPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-CpcFfAqd.js"),__vite__mapDeps([112,88]),import.meta.url)),Invite=reactExports.lazy(()=>__vitePreload(()=>import("./index-CTanw7BS.js"),__vite__mapDeps([113,105,88,89,9,106,92,69,107]),import.meta.url)),Console=reactExports.lazy(()=>__vitePreload(()=>import("./index-DcUEykKc.js").then(a=>a.a2),__vite__mapDeps([114,115]),import.meta.url)),AnalyticsPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-D7XN3Ep7.js"),__vite__mapDeps([116,59,12,117,118,47,48,119,11,120,8,121,14,13,49,7,9,10,15,16,17,18,31,122,123,4,6,99,24]),import.meta.url)),GenKeyPair=reactExports.lazy(()=>__vitePreload(()=>import("./index-BPomuV_D.js"),__vite__mapDeps([124,88,69]),import.meta.url));function useSharedContext(){const a=useNodeContext(),{session:j}=useSessionContext$1(),{wallet:_e}=useBrowser(),et=j.user&&j.user.did;return reactExports.useEffect(()=>{const nt=getWsClient();return et?nt.connect():nt.isConnected()&&nt.disconnect(),()=>{nt.isConnected()&&nt.disconnect()}},[et]),reactExports.useEffect(()=>{if(_e)return()=>{};const nt=()=>{document.visibilityState==="visible"&&j.refresh()};return document.addEventListener("visibilitychange",nt),()=>{document.removeEventListener("visibilitychange",nt)}},[]),{node:a,session:j}}function ProtectedApp(){var rt;const{t:a}=useLocaleContext(),{node:j,session:_e}=useSharedContext(),et=useLocation();reactExports.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${et.pathname}${et.search}`)},[et]),reactExports.useEffect(()=>{var st;((st=_e==null?void 0:_e.user)==null?void 0:st.role)===constant$3.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&_e.logout()},[(rt=_e==null?void 0:_e.user)==null?void 0:rt.role]);const nt=jsxRuntimeExports.jsx(CircularProgress,{});if(j.loading||_e.loading)return jsxRuntimeExports.jsx(Center,{children:nt});if(!j.info.initialized)return getAuthMethod.getServerAuthMethod(j.info)==="nft"?jsxRuntimeExports.jsx(NodeVerifyOwner,{action:"verify-owner"}):jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(NodeConnectOwner,{})});if(j.info.upgradeSessionId)return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(MaintainProgress,{})});if(!_e.user)return jsxRuntimeExports.jsx(NodeLogin,{loadingEle:nt});const tt=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsx(NotificationProvider,{children:jsxRuntimeExports.jsxs(BlockletsProvider,{children:[jsxRuntimeExports.jsx(Health,{}),jsxRuntimeExports.jsx(CheckNodeStatus,{}),jsxRuntimeExports.jsx(GlobalSubscriber,{}),jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:tt,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:"/dashboard",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:"Dashboard",children:jsxRuntimeExports.jsx(Dashboard,{})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.blocklets"),children:jsxRuntimeExports.jsx(BlockletList,{})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets/:did/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:"Blocklets",children:jsxRuntimeExports.jsx(BlockletDetail,{})})}),jsxRuntimeExports.jsx(Route,{path:"/settings/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.setting"),children:jsxRuntimeExports.jsx(Settings,{})})}),jsxRuntimeExports.jsx(Route,{path:"/eula",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("setup.steps.eula"),children:jsxRuntimeExports.jsx(EULAPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/store",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.store"),children:jsxRuntimeExports.jsx(BlockletStore,{})})}),jsxRuntimeExports.jsx(Route,{path:"/console",element:jsxRuntimeExports.jsx(DashboardRoute,{title:`GraphQL ${a("common.console")}`,scrollable:!1,fullWidth:!0,children:jsxRuntimeExports.jsx(Console,{})})}),jsxRuntimeExports.jsx(Route,{path:"/notifications",element:jsxRuntimeExports.jsx(DashboardRoute,{children:jsxRuntimeExports.jsx(Notifications,{})})}),jsxRuntimeExports.jsx(Route,{path:"/team/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.team"),children:jsxRuntimeExports.jsx(TeamPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/logs/:name?",element:jsxRuntimeExports.jsx(DashboardRoute,{scrollable:!1,fullWidth:!0,title:a("common.logs"),children:jsxRuntimeExports.jsx(LogPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/analytics/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.analytics"),children:jsxRuntimeExports.jsx(AnalyticsPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/",element:jsxRuntimeExports.jsx(Navigate,{to:"/dashboard",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/team",element:jsxRuntimeExports.jsx(Navigate,{to:"/team/members",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/analytics",element:jsxRuntimeExports.jsx(Navigate,{to:"/analytics/traffic",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/router",element:jsxRuntimeExports.jsx(Navigate,{to:"/router/rules",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/settings",element:jsxRuntimeExports.jsx(Navigate,{to:"/settings/basic",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/marketplace",element:jsxRuntimeExports.jsx(Navigate,{to:"/store",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/marketplace/:did",element:jsxRuntimeExports.jsx(Navigate,{to:"/store/:did",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"*",element:jsxRuntimeExports.jsx(NotFoundPage,{})})]})})]})})}function UnprotectedWrapper({children:a}){const{node:j,session:_e}=useSharedContext();return j.loading||!_e.initialized&&_e.loading?jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})}):j.info.upgradeSessionId?jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(MaintainProgress,{})}):a}function App(){const{changeLocale:a}=useLocaleContext(),j=useQuery();reactExports.useEffect(()=>{const et=j.get("locale");et&&["zh","en"].includes(et)&&a(et)},[]);const _e=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:_e,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(IssuePassport,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(LostPassport,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(ExchangePassport,{})})}),jsxRuntimeExports.jsx(Route,{path:"/accept-server",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(NodeVerifyOwner,{action:"accept-server"})})}),jsxRuntimeExports.jsx(Route,{path:"/gen-key-pair/",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(GenKeyPair,{})})}),jsxRuntimeExports.jsx(Route,{path:"/launch-blocklet/*",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(LaunchBlockletProvider,{children:jsxRuntimeExports.jsx(BlockletLauncher,{})})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets/restore/*",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(BlockletAppProvider,{children:jsxRuntimeExports.jsx(BlockletRestore,{})})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(Invite,{})})}),jsxRuntimeExports.jsx(Route,{path:"/*",element:jsxRuntimeExports.jsx(ProtectedApp,{})})]})})}function AppWrapper(){const a=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(CssBaseline,{}),jsxRuntimeExports.jsx(BrowserRouter,{history,basename:a,children:jsxRuntimeExports.jsx(Root$5,{children:jsxRuntimeExports.jsx(App,{})})})]})}const root=createRoot(document.getElementById("root"));root.render(jsxRuntimeExports.jsx(AppWrapper,{}));const prefix=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";register(`${prefix}/service-worker.js`.replace(/\/+/g,"/"),{registrationOptions:{scope:prefix},registered(){console.info("Service worker has been registered.")},ready(){console.info("Service worker is active.")},cached(){console.info("Content has been cached for offline use.")},updatefound(){console.info("New content is downloading.")},updated(){console.info("New content is available; please refresh.")},offline(){console.info("No internet connection found. App is running in offline mode.")},error(a){console.error("Error during service worker registration:",a)}});export{default_1$l as $,useSearchParams as A,ButtonComponent as B,CircularProgress as C,Dialog as D,constant$3 as E,useMediaQuery as F,Grid as G,lib$2 as H,ImageIcon as I,util as J,Link$2 as K,Link$1 as L,Box as M,isEmpty$2 as N,MenuItem$1 as O,PropTypes as P,Checkbox as Q,RelativeTime$1 as R,Alert as S,TagComponent as T,formatError$1 as U,Permission as V,WrappedDidAddress as W,Center as X,toString_1 as Y,propTypesExports as Z,_createCompounder as _,useSubscription as a,_default$5 as a$,cloneDeep$1 as a0,api$1 as a1,joinURL as a2,merge$1 as a3,IconButton as a4,Confirm as a5,makeStyles as a6,ListItemSecondaryAction as a7,List as a8,ListItem as a9,Tooltip as aA,getBlockletMetaUrl as aB,ErrorBoundary as aC,ErrorFallback as aD,formatRegistryLogoPath as aE,engine as aF,ListItemIcon as aG,ensureDomainAliases as aH,normalizePathPrefix$1 as aI,sortBy$1 as aJ,getIp as aK,stringSortHandlerAsc as aL,getAccessUrl as aM,requireCreateSvgIcon as aN,interopRequireDefaultExports as aO,history as aP,semver$1 as aQ,useReactive as aR,useAsyncEffect as aS,sleep as aT,checkInputByType as aU,FormControlLabel as aV,Stack$5 as aW,_default$2 as aX,axios$1 as aY,shouldCheckDomainStatus as aZ,formatMountPoint as a_,ListItemText as aa,getServerUrl as ab,useBlockletAppContext as ac,getAuthMethod as ad,ConfirmDialog as ae,setSessionToken as af,getRestoredAccessUrl as ag,Debug as ah,isEqual$1 as ai,isServerlessBlockletInstalled as aj,getWsClient as ak,useTheme$2 as al,useQuery as am,getPathPrefix as an,HeaderAddon as ao,SessionContext as ap,Global as aq,Routes as ar,Route as as,Navigate as at,css$1 as au,AvatarWithErrorBoundary as av,formatToDatetime as aw,getLaunchAgreementUrl as ax,axios$4 as ay,useSessionContext$1 as az,LinearProgress as b,useControlled as b$,Menu$1 as b0,checkIsWildcardDomain as b1,Popover as b2,Card as b3,CardContent as b4,formatToDate as b5,sortDomains as b6,Collapse as b7,isUrl$1 as b8,__awaiter as b9,_baseUniq as bA,_baseRest as bB,_arrayFilter as bC,last_1 as bD,isArrayLikeObject_1 as bE,default_1$c as bF,isDownloading as bG,withPermission as bH,getBlockletUrl as bI,getBlockletUrlParams as bJ,createSvgIcon$1 as bK,styled$1 as bL,ButtonBase as bM,_extends$2 as bN,emphasize_1 as bO,_objectWithoutPropertiesLoose$1 as bP,generateUtilityClasses as bQ,generateUtilityClass as bR,useDefaultProps as bS,useSlotProps as bT,clsx$1 as bU,composeClasses as bV,rootShouldForwardProp as bW,SwitchBase as bX,capitalize$3 as bY,alpha_1 as bZ,createChainedFunction$1 as b_,__generator as ba,__spread as bb,React$2 as bc,dayjs$1 as bd,Divider as be,isCertificateMatch as bf,NodeContext as bg,useParams as bh,__spreadArrays as bi,__assign as bj,DidAddressWrapper as bk,createPassportSvg as bl,useNodeContext$1 as bm,getWalletType as bn,__vitePreload as bo,isInstalling as bp,Badge as bq,NavLink$1 as br,createAppPassportSvg as bs,_SetCache as bt,_arrayMap as bu,_baseUnary as bv,_arrayIncludes as bw,_arrayIncludesWith as bx,_cacheHas as by,_baseFlatten as bz,constant as c,ownerWindow as c$,useForkRef as c0,useId as c1,toSlotDomain as c2,omit$1 as c3,fixBlocklet as c4,memoize$5 as c5,defaultCheckAccessible as c6,getBlockletUrls as c7,urlEvaluation as c8,ButtonGroupContext as c9,useLocation as cA,useMount as cB,API_DID_PREFIX as cC,AUTH_SERVICE_PREFIX as cD,formatDateTime as cE,getExplorerLink as cF,patchJsxToLocale as cG,flat$1 as cH,en$2 as cI,LocaleProvider as cJ,getAugmentedNamespace as cK,Theme as cL,ReactDOM as cM,global$2 as cN,punycodeExports as cO,commonjsGlobal as cP,copy$1 as cQ,dist$4 as cR,Util as cS,require$$3 as cT,getSessionToken as cU,SvgLogo as cV,Icon as cW,hoistStatics as cX,getLogoHash as cY,useEnhancedEffect$1 as cZ,debounce$4 as c_,ButtonGroupButtonContext as ca,BlockletAdminRoles as cb,ListItemAvatar as cc,Avatar$1 as cd,NotificationTag as ce,useNotificationContext as cf,useRequest as cg,useMemoizedFn as ch,isNumber$2 as ci,__read as cj,useLatest as ck,defaultDayjs as cl,useBrowser as cm,isFromWallet as cn,Container$4 as co,isFunction$8 as cp,usePassportId as cq,FullPage as cr,useLaunchBlockletContext as cs,useSecurity as ct,authorize as cu,isNewStoreUrl as cv,getAccessibleUrl as cw,getBlockletLogoUrl as cx,Img as cy,getSafeUrl as cz,useBlockletsContext as d,getChipUtilityClass as d$,useRtl as d0,useEventCallback$1 as d1,ownerDocument as d2,colors$1 as d3,useFormControl as d4,formControlState as d5,getMaster as d6,decodeConnectUrl as d7,parseTokenFromConnectUrl as d8,upperFirst$2 as d9,createMuiTheme as dA,darken$1 as dB,decomposeColor$1 as dC,duration as dD,easing as dE,emphasize$1 as dF,getContrastRatio$1 as dG,getLuminance$1 as dH,hexToRgb$1 as dI,hslToRgb$1 as dJ,keyframes as dK,lighten$1 as dL,createMixins as dM,recomposeColor$1 as dN,responsiveFontSizes as dO,rgbToHex$1 as dP,getUnit as dQ,toUnitless as dR,Paper as dS,getPaperUtilityClass as dT,paperClasses as dU,getIconButtonUtilityClass as dV,iconButtonClasses as dW,getTypographyUtilityClass as dX,typographyClasses as dY,chipClasses as dZ,Chip as d_,camelCase$2 as da,ClickToCopy as db,formatMuiErrorMessage$1 as dc,useTheme$3 as dd,deepmerge$1 as de,GlobalStyles$2 as df,ThemeProvider$2 as dg,toPropertyKey$3 as dh,createSpacing as di,createBreakpoints as dj,createTheme$1 as dk,private_safeDarken_1 as dl,private_safeLighten_1 as dm,private_safeEmphasize_1 as dn,private_safeAlpha_1 as dp,private_safeColorChannel_1 as dq,defaultSxConfig as dr,styleFunctionSx$1 as ds,getOverlayAlpha as dt,hslToRgb_1 as du,THEME_ID as dv,createTypography as dw,StyledEngineProvider as dx,ThemeProvider$1 as dy,alpha$1 as dz,_default$1 as e,useThemeProps as e$,buttonClasses as e0,Button$1 as e1,getButtonUtilityClass as e2,checkboxClasses as e3,getCheckboxUtilityClass as e4,formControlLabelClasses as e5,getFormControlLabelUtilityClasses as e6,getGridUtilityClass as e7,gridClasses as e8,Grow as e9,toInteger_1 as eA,noop$6 as eB,isObject$p as eC,urlExports as eD,cloneDeep_1 as eE,get_1 as eF,DID as eG,ListItemButton as eH,FormControlContext as eI,GlobalStyles as eJ,isMuiElement as eK,slotShouldForwardProp as eL,getReactElementRef as eM,ClickAwayListener as eN,MenuList as eO,Popper as eP,SvgIcon as eQ,process$1$1 as eR,Buffer$3 as eS,lib$3 as eT,lib$4 as eU,urlPathFriendly$1 as eV,usePreviousProps as eW,setRef as eX,ClearIcon as eY,emotionCache_browser_esm as eZ,emotionReact_browser_esm as e_,getListItemTextUtilityClass as ea,listItemTextClasses as eb,PopoverPaper as ec,PopoverRoot as ed,getOffsetLeft as ee,getOffsetTop as ef,getPopoverUtilityClass as eg,popoverClasses as eh,getMenuItemUtilityClass as ei,menuItemClasses as ej,getTooltipUtilityClass as ek,tooltipClasses as el,lighten_1 as em,darken_1 as en,Toolbar as eo,getToolbarUtilityClass as ep,toolbarClasses as eq,isHostComponent as er,emotionSerialize_esm as es,emotionUtils_browser_esm as et,reactDomExports as eu,Close as ev,_baseIteratee as ew,isArrayLike_1 as ex,keys_1 as ey,_baseFindIndex as ez,LocaleContext as f,createPassportSvg$2 as f$,defaultTheme$2 as f0,create$4 as f1,ThemeProvider$4 as f2,Hidden as f3,Check$1 as f4,isString$2 as f5,withQuery as f6,getTargetElement as f7,__spreadArray as f8,useEventListener as f9,useUpdate as fA,tmp as fB,useCreation as fC,SessionContext$1 as fD,getVisitorId$2 as fE,useConfirm as fF,translate as fG,util$6 as fH,requireShams as fI,callBound$3 as fJ,objectKeys$4 as fK,hasPropertyDescriptors_1 as fL,defineDataProperty as fM,callBindExports as fN,safeBufferExports as fO,requireBrowser$9 as fP,requireElliptic as fQ,requireCryptoBrowserify as fR,ripemd160 as fS,lib$5 as fT,getInviteLink$1 as fU,getIssuePassportLink as fV,getTextColor_1 as fW,browser as fX,useSize as fY,isProtectedRole as fZ,lib$1 as f_,useUpdateEffect as fa,_baseOrderBy as fb,isArray_1 as fc,createAxios$2 as fd,default_1$n as fe,omitBy$1 as ff,default_1$5 as fg,Drawer as fh,parseURL as fi,parseQuery as fj,parseFilename as fk,stringifyParsedURL as fl,useDebounceFn as fm,Dialog$1 as fn,_t as fo,colors$2 as fp,normalizePathPrefix_1 as fq,clamp$1 as fr,useIsFocusVisible as fs,extractEventHandlers as ft,resolveProps as fu,debounce_1 as fv,noop_1 as fw,_default$3 as fx,formatTime as fy,RelativeTime as fz,getDefaultExportFromCjs$1 as g,forceReflow as g$,requireMs as g0,jsonStableStringify as g1,semver as g2,browserExports as g3,require$$0$1 as g4,isAbsoluteUrl as g5,pick_1$1 as g6,dist$1 as g7,browser$4 as g8,CopyButton as g9,_castSlice as gA,_charsEndIndex as gB,_stringToArray as gC,flat as gD,DialogContent as gE,isUndefined$2 as gF,AxiosError as gG,RELAY_SOCKET_PREFIX$1 as gH,useConnect as gI,identity_1 as gJ,_baseForOwn as gK,_baseMap as gL,isString_1 as gM,isPlainObject_1 as gN,default_1$h as gO,_isIndex as gP,_typeof$2 as gQ,dialogClasses as gR,FocusTrap as gS,DialogActions as gT,TransitionGroup as gU,useTheme$4 as gV,localizedFormatPlugin as gW,isExtracting as gX,APP_PREFIX as gY,objectAssign$1 as gZ,_inheritsLoose$3 as g_,requireObjectWithoutPropertiesLoose as ga,loadIcon as gb,createTheme as gc,ThemeProvider as gd,Fade as ge,AUTH_SERVICE_PREFIX$1 as gf,getTranslation as gg,SessionPermission as gh,NAVIGATION_URL as gi,default_1 as gj,LocaleSelector as gk,SessionUser as gl,default_1$p as gm,ResponsiveHeader as gn,withErrorBoundary as go,NavMenu as gp,DashboardWrapper as gq,data$5 as gr,BlockletSDK as gs,useUnmount as gt,adapter as gu,Buffer$1$1 as gv,base64 as gw,_baseIndexOf as gx,_baseToString as gy,_baseTrim as gz,useTheme as h,gridAutoFlow as h$,Transition$1 as h0,isFunction$5 as h1,getLocale$1 as h2,isDidDomainOrIpEchoDomain as h3,validateDomain as h4,require$$6 as h5,axios_1 as h6,isServerless as h7,getSystemDomains as h8,DefaultPropsProvider as h9,borderBottom as hA,borderBottomColor as hB,borderColor as hC,borderLeft as hD,borderLeftColor as hE,borderRadius as hF,borderRight as hG,borderRightColor as hH,borderTop as hI,borderTopColor as hJ,borderTransform as hK,boxSizing as hL,breakpoints as hM,color$1 as hN,colorChannel$1 as hO,columnGap as hP,createStyled$2 as hQ,createUnarySpacing as hR,createUnaryUnit as hS,gap as hT,getPath$1 as hU,getStyleFromPropValue as hV,getStyleValue as hW,getThemeProps as hX,getValue$4 as hY,gridArea as hZ,gridAutoColumns as h_,useDefaultProps$1 as ha,compose as hb,style$3 as hc,borders as hd,grid as he,palette as hf,sizing as hg,spacing as hh,globalStateClasses as hi,isGlobalState as hj,createBox as hk,ClassNameGenerator as hl,Timeout as hm,useTimeout as hn,teardown as ho,createContainer as hp,createTheme$3 as hq,styled$2 as hr,extendSxProp as hs,createStack as ht,GlobalStyles$1 as hu,RtlProvider as hv,backgroundColor as hw,bgcolor as hx,blend$1 as hy,border as hz,get$7 as i,functionPlugin as i$,gridAutoRows as i0,gridColumn as i1,gridRow as i2,gridTemplateAreas as i3,gridTemplateColumns as i4,gridTemplateRows as i5,handleBreakpoints as i6,height as i7,margin as i8,marginKeys as i9,useTheme$5 as iA,width as iB,ENTERED as iC,ENTERING as iD,EXITING as iE,TransitionGroupContext as iF,config$1 as iG,isRunning as iH,getTransferAppLink as iI,pick$1 as iJ,data$g as iK,data$f as iL,data$h as iM,_copyArray as iN,sleep$3 as iO,withTrailingSlash as iP,clsx$2 as iQ,require$$1$3 as iR,require$$1$4 as iS,require$$4$3 as iT,colorManipulator as iU,require$$6$3 as iV,require$$6$2 as iW,createStyled$1 as iX,require$$5 as iY,data$d as iZ,hoistNonReactStatics_cjs as i_,maxHeight as ia,maxWidth as ib,mergeBreakpointsInOrder as ic,minHeight as id,minWidth as ie,outline as ig,outlineColor as ih,padding as ii,paddingKeys as ij,paletteTransform as ik,private_safeAlpha$1 as il,private_safeColorChannel$1 as im,private_safeDarken$1 as io,private_safeEmphasize$1 as ip,private_safeLighten$1 as iq,rowGap as ir,shape as is,shouldForwardProp$1 as it,sizeHeight as iu,sizeWidth as iv,sizingTransform as iw,systemDefaultTheme$1 as ix,unstable_createStyleFunctionSx as iy,resolveBreakpointValues as iz,jsxRuntimeExports as j,jssGlobal as j0,jssNested as j1,camelCase as j2,defaultUnit as j3,jssVendorPrefixer as j4,jssPropsSort as j5,createJss as j6,getDynamicStyles as j7,isEqual_1$1 as j8,isNil_1 as j9,isValidClusterSize as jA,extractStatusUrlFromNextWorkflow as jB,pWaitFor$1 as jC,hasRequiredSteps as jD,getStoreList as jE,flatten$4 as jF,trimEnd$1 as jG,useCheckUpdateByUrl as jH,DialogTitle as jI,debounce$2 as jJ,isNull$3 as jK,Icon$1 as jL,_baseAssignValue as jM,throttle$3 as jN,pTimeout$2 as jO,TimeoutError_1 as jP,uniq$1 as jQ,createRoot as jR,omit_1 as ja,isObject_1 as jb,withoutTrailingSlash as jc,isAbsoluteUrl$1 as jd,nanoid as je,isNil$1 as jf,isEqual$3 as jg,useEffectWithTarget$1 as jh,__values as ji,isString$3 as jj,_baseEach as jk,_unsupportedIterableToArray as jl,_setPrototypeOf as jm,_assertThisInitialized$1 as jn,_createClass as jo,CacheProvider as jp,createCache as jq,StyleSheet$1 as jr,ThemeContext$1 as js,React$3 as jt,isPlainObject$5 as ju,require$$2$1 as jv,require$$6$4 as jw,createPopper as jx,getScrollbarSize as jy,reactIsExports as jz,filesize as k,Typography as l,formatLocale as m,newStyled as n,useLocaleContext as o,prettyMs as p,useSessionContext as q,reactExports as r,styled as s,_default as t,useNodeContext as u,DialogContentText as v,DidConnect as w,getWebWalletUrl as x,useNavigate as y,Toast$1 as z};
|
|
2565
|
+
`;browser.homedir=function(){return"/"};(function(a){var j=commonjsGlobal&&commonjsGlobal.__importDefault||function(pt){return pt&&pt.__esModule?pt:{default:pt}};Object.defineProperty(a,"__esModule",{value:!0}),a.hasMountPoint=a.hasStartEngine=a.isPackBlocklet=a.isGatewayBlocklet=a.getBlockletEngine=void 0;const _e=j(browser),et=constant,nt=pt=>{if(pt===void 0)throw new Error("blocklet meta param is required");const{engine:dt}=pt;if(!dt)return{interpreter:"node",source:""};if(!Array.isArray(dt))return dt;const mt=_e.default.platform(),xt=dt.find(Tt=>Tt.platform===mt);if(!xt)throw new Error(`can not find a proper engine interpreter on ${mt}`);return xt};a.getBlockletEngine=nt;const tt=pt=>(pt==null?void 0:pt.group)===et.BlockletGroup.gateway;a.isGatewayBlocklet=tt;const rt=pt=>(pt==null?void 0:pt.group)===et.BlockletGroup.pack;a.isPackBlocklet=rt;const st=pt=>!!(pt!=null&&pt.main)||(0,a.getBlockletEngine)(pt||{}).interpreter==="blocklet";a.hasStartEngine=st;const ft=pt=>((0,a.hasStartEngine)(pt)||((pt==null?void 0:pt.interfaces)||[]).find(dt=>dt.type===et.BLOCKLET_INTERFACE_TYPE_WEB))&&(0,a.isGatewayBlocklet)(pt)===!1;a.hasMountPoint=ft})(engine);(function(a){var j=commonjsGlobal&&commonjsGlobal.__importDefault||function(Tn){return Tn&&Tn.__esModule?Tn:{default:Tn}};Object.defineProperty(a,"__esModule",{value:!0}),a.hasResourceType=a.hasStartEngine=a.isPackBlocklet=a.isGatewayBlocklet=a.isAccessible=a.isRunning=a.isBeforeInstalled=a.isInProgress=a.getBlockletServices=a.getBlockletAppIdList=a.isPreferenceKey=a.isExternalBlocklet=a.getBlockletChainInfo=a.getChainInfo=a.getConnectAppUrl=a.getParentComponentName=a.filterComponentsV2=a.findComponentByIdV2=a.findComponentV2=a.findComponentById=a.findComponent=a.getComponentBundleId=a.getComponentName=a.getComponentId=a.replaceSlotToIp=a.checkPublicAccess=a.findServiceFromMeta=a.findDockerInterface=a.findWebInterfacePort=a.findWebInterface=a.fixBlockletStatus=a.getAppDescription=a.getDisplayName=a.getAppName=a.hasRunnableComponent=a.wipeSensitiveData=a.isEnvShareable=a.isEnvShareableToClient=a.getComponentMissingConfigs=a.getAppMissingConfigs=a.getSharedConfigObj=a.isDeletableBlocklet=a.forEachComponentV2Sync=a.forEachComponentV2=a.forEachChildSync=a.forEachChild=a.forEachBlockletSync=a.forEachBlocklet=a.isFreeComponent=a.isFreeBlocklet=void 0,a.getMountPoints=void 0,a.getAppUrl=Mt;const _e=j(get_1),et=j(uniq_1),nt=require$$6,tt=j(pLimit_1),rt=j(constant$3),st=constant,ft=engine;Object.defineProperty(a,"hasStartEngine",{enumerable:!0,get:function(){return ft.hasStartEngine}}),Object.defineProperty(a,"isGatewayBlocklet",{enumerable:!0,get:function(){return ft.isGatewayBlocklet}}),Object.defineProperty(a,"isPackBlocklet",{enumerable:!0,get:function(){return ft.isPackBlocklet}});const{SLOT_FOR_IP_DNS_SITE:pt}=rt.default,dt=(Tn,nn=[])=>`${nn.map(pn=>pn&&pn.meta?pn.meta.did:"").join("/")}${nn.length?"/":""}${Tn&&Tn.meta?Tn.meta.did:""}`;a.getComponentId=dt;const mt=(Tn,nn=[])=>`${nn.map(pn=>pn&&pn.meta?pn.meta.name:"").join("/")}${nn.length?"/":""}${Tn&&Tn.meta?Tn.meta.name:""}`;a.getComponentName=mt;const xt=Tn=>`${Tn.meta.bundleName}@${Tn.meta.version}`;a.getComponentBundleId=xt;const Tt=Tn=>{if(!Tn)return"";const nn=Tn.split("/");return nn.pop(),!nn.length||(nn[nn.length-1].startsWith("@")&&nn.pop(),!nn.length)?"":nn.join("/")};a.getParentComponentName=Tt;const St=(Tn,nn,{parallel:pn=!1,concurrencyLimit:gn=5,sync:En,params:Rn,_parent:Bn,_root:tn,_level:jt=0,_tasks:Zt,_ancestors:cn=[],_limit:vn}={})=>{const Pn=tn||Bn||Tn,Sn=dt(Tn,cn),Ln=cn.concat(Tn);if(En){const Nn=nn(Tn,{parent:Bn,root:Pn,level:jt,params:Rn,ancestors:cn,id:Sn});if(Tn.children)for(const qn of Tn.children)St(qn,nn,{sync:En,params:Nn,_parent:Tn,_root:Pn,_level:jt+1,_ancestors:Ln});return null}if(!pn)return new Promise(async(Nn,qn)=>{try{const Cn=await nn(Tn,{parent:Bn,root:Pn,level:jt,ancestors:cn,params:Rn,id:Sn});if(Tn.children)for(const kn of Tn.children)await St(kn,nn,{params:Cn,_parent:Tn,_root:Pn,_level:jt+1,_ancestors:Ln});Nn(null)}catch(Cn){qn(Cn)}});const ir=vn||(0,tt.default)(gn),In=Zt||[];if(In.push(ir(()=>nn(Tn,{parent:Bn,root:Pn,level:jt,ancestors:cn,id:Sn}))),Tn.children)for(const Nn of Tn.children)St(Nn,nn,{parallel:pn,_parent:Tn,_root:Pn,_level:jt+1,_tasks:In,_ancestors:Ln,_limit:ir});return Zt?null:Promise.all(In)};a.forEachBlocklet=St;const Rt=(Tn,nn)=>St(Tn,nn,{sync:!0});a.forEachBlockletSync=Rt;const At=(Tn,nn,{parallel:pn=!1,concurrencyLimit:gn=5,sync:En}={})=>{if(En){if(Tn.children)for(const tn of Tn.children)nn(tn);return null}if(!pn)return new Promise(async(tn,jt)=>{try{if(Tn.children)for(const Zt of Tn.children)await nn(Zt);tn(null)}catch(Zt){jt(Zt)}});const Rn=(0,tt.default)(gn),Bn=[];if(Tn.children)for(const tn of Tn.children)Bn.push(Rn(()=>nn(tn)));return Promise.all(Bn)};a.forEachComponentV2=At;const $t=(Tn,nn)=>At(Tn,nn,{sync:!0});a.forEachComponentV2Sync=$t;const kt=(Tn,nn,pn)=>St(Tn,(gn,En)=>En.level===0?{}:nn(gn,En),pn);a.forEachChild=kt;const Pt=(Tn,nn)=>kt(Tn,nn,{sync:!0});a.forEachChildSync=Pt;const Lt=(Tn,nn,{_ancestors:pn=[],returnAncestors:gn=!1}={})=>{if(!nn)return null;if(nn(Tn,{ancestors:pn}))return gn?{component:Tn,ancestors:pn}:Tn;for(const En of Tn.children||[]){const Rn=pn.concat(Tn),Bn=Lt(En,nn,{_ancestors:Rn,returnAncestors:gn});if(Bn)return Bn}return null};a.findComponent=Lt;const Vt=(Tn,nn,{returnAncestors:pn=!1}={})=>(Array.isArray(nn)&&(nn=nn.join("/")),Lt(Tn,(gn,{ancestors:En})=>{const Rn=dt(gn,En);return nn===Rn},{returnAncestors:pn}));a.findComponentById=Vt;const Ft=(Tn,nn)=>{if(!nn)return null;for(const pn of Tn.children||[])if(nn(pn,Tn))return pn;return null};a.findComponentV2=Ft;const Ht=(Tn,nn)=>nn?(Array.isArray(nn)&&(nn=nn.join("/")),Ft(Tn,(pn,gn)=>{if(nn.includes("/")){const En=dt(pn,[gn]);return nn===En}return nn===pn.meta.did})):null;a.findComponentByIdV2=Ht;const qt=(Tn,nn)=>{if(!nn)return[];const pn=[];for(const gn of Tn.children||[])nn(gn,Tn)&&pn.push(gn);return pn};a.filterComponentsV2=qt;const Jt=Tn=>!!Tn&&!!(Tn.key||Tn.name)&&!Tn.secure&&Tn.shared!==!1&&!st.BLOCKLET_CONFIGURABLE_KEY[Tn.key||Tn.name];a.isEnvShareableToClient=Jt;const un=(Tn,nn=!1)=>!!Tn&&!!(Tn.key||Tn.name)&&!!Tn.shared&&!st.BLOCKLET_CONFIGURABLE_KEY[Tn.key||Tn.name]&&(nn?!0:!Tn.secure);a.isEnvShareable=un;const wt=(Tn,nn,pn=!1)=>{const gn={};return!Tn||!nn||(Array.isArray(Tn.configs)&&Tn.configs.forEach(({key:En,value:Rn,secure:Bn})=>{if(!un({key:En,secure:Bn,shared:!0},pn))return;const tn=(Tn.configObj||{})[En]||Rn,jt=(nn.configs||[]).find(Zt=>Zt.key===En);(!jt||un(jt,pn)||!jt.value&&!(nn.configObj||{})[jt.key])&&(gn[En]=tn)}),Array.isArray(Tn.children)&&Tn.children.filter(En=>{var Rn,Bn;return((Rn=En.meta)==null?void 0:Rn.did)!==((Bn=nn.meta)==null?void 0:Bn.did)}).forEach(En=>{(En.configs||[]).filter(Rn=>un(Rn,pn)).filter(Rn=>!(Tn.configs||[]).find(Bn=>Bn.key===Rn.key)).forEach(({key:Rn,value:Bn})=>{const tn=(nn.configs||[]).find(jt=>jt.key===Rn);(!tn||!tn.value&&!(nn.configObj||{})[tn.key])&&(gn[Rn]=Bn)})}),(Tn.configs||[]).forEach(({key:En,value:Rn})=>{[st.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_HOST,st.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_ID,st.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_TYPE].includes(En)&&(gn[st.CHAIN_PROP_MAP[En]]=Rn)})),gn};a.getSharedConfigObj=wt;const it=Tn=>Tn.key.startsWith(st.BLOCKLET_PREFERENCE_PREFIX)===!0;a.isPreferenceKey=it;const ut=(Tn,nn)=>!!(Tn.required&&(!Tn.value&&!nn[Tn.key]||Object.values(st.CHAIN_PROP_MAP).includes(Tn.key)&&Object.keys(nn).includes(Tn.key)&&!nn[Tn.key])),ct=(Tn={})=>{const nn=[];return $t(Tn,pn=>{var Rn;if(((Rn=pn.meta)==null?void 0:Rn.group)===st.BlockletGroup.gateway)return;const gn=pn.configs||[],En=wt(Tn,pn);gn.forEach(Bn=>{ut(Bn,En)&&nn.push({did:pn.meta.did,key:Bn.key,description:Bn.description})})}),nn.filter(pn=>!it(pn))};a.getAppMissingConfigs=ct;const ht=(Tn={},nn={})=>{const pn=[],gn=Tn.configs||[],En=wt(nn,Tn);return gn.forEach(Rn=>{ut(Rn,En)&&pn.push({did:Tn.meta.did,key:Rn.key,description:Rn.description})}),pn};a.getComponentMissingConfigs=ht;const vt=Tn=>Tn.payment?(Tn.payment.price||[]).map(pn=>pn.value||0).every(pn=>pn===0):!0;a.isFreeBlocklet=vt;const Et=Tn=>!Tn.payment||!Tn.payment.componentPrice?!0:!Tn.payment.componentPrice.length;a.isFreeComponent=Et;const Ct=Tn=>Tn&&(St(Tn,nn=>{var pn,gn;nn.configs&&(nn.configs=nn.configs.filter(En=>!it(En)),nn.configs.forEach(En=>{En.secure&&(En.value=En.value?"__encrypted__":"")})),(nn.environments||[]).forEach(En=>{["BLOCKLET_APP_SK","BLOCKLET_APP_PSK","BLOCKLET_APP_SALT"].includes(En.key)&&(En.value="__encrypted__")}),(nn.migratedFrom||[]).forEach(En=>{En.appSk="__encrypted__"}),delete Tn.configObj,delete Tn.environmentObj,(gn=(pn=Tn.settings)==null?void 0:pn.session)==null||delete gn.salt},{sync:!0}),Tn);a.wipeSensitiveData=Ct;const yt=Tn=>{if(!Tn)return!1;const nn=Tn.environments.find(pn=>pn.key==="BLOCKLET_DELETABLE");return nn?nn.value==="yes":!0};a.isDeletableBlocklet=yt;const ot=Tn=>{let nn=!1;return Rt(Tn,pn=>{pn.meta.group!==st.BlockletGroup.gateway&&(nn=!0)}),nn};a.hasRunnableComponent=ot;const bt=(Tn,nn=!1)=>{if(!Tn)return"";const{meta:pn}=Tn;let gn;if(!nn&&Tn.environments){const En=Tn.environments.find(Rn=>Rn.key==="BLOCKLET_APP_NAME");En&&En.value&&(gn=En.value)}return gn||pn.title||pn.name};a.getAppName=bt,a.getDisplayName=bt;const Dt=(Tn,nn=!1)=>{if(!Tn)return"";const{meta:pn}=Tn;let gn;if(!nn&&Tn.environments){const En=Tn.environments.find(Rn=>Rn.key==="BLOCKLET_APP_DESCRIPTION");En&&En.value&&(gn=En.value)}return gn||pn.description||pn.name};a.getAppDescription=Dt;function Mt(Tn){var gn,En,Rn;const nn=(Rn=(En=(gn=Tn==null?void 0:Tn.site)==null?void 0:gn.domainAliases)==null?void 0:En.sort((Bn,tn)=>{var jt,Zt,cn,vn;return(jt=Bn.accessibility)!=null&&jt.accessible&&((Zt=tn.accessibility)!=null&&Zt.accessible)?+Bn.isProtected-+tn.isProtected:+((cn=tn.accessibility)==null?void 0:cn.accessible)-+((vn=Bn.accessibility)==null?void 0:vn.accessible)}))==null?void 0:Rn.map(Bn=>{var Zt;const tn=(Zt=Bn==null?void 0:Bn.domainStatus)!=null&&Zt.isHttps?"https://":"http://",jt=Bn==null?void 0:Bn.value;return`${tn}${jt}`}).filter(Boolean);return nn==null?void 0:nn[0]}const Ut=Tn=>{Tn&&(Rt(Tn,nn=>{nn.status=(0,st.fromBlockletStatus)(nn.status),nn.source!==void 0&&(nn.source=(0,st.fromBlockletSource)(nn.source))}),Tn.settings&&(Tn.settings.children||[]).forEach(nn=>{Rt(nn,pn=>{pn.status=(0,st.fromBlockletStatus)(pn.status),pn.source!==void 0&&(pn.source=(0,st.fromBlockletSource)(pn.source))})}))};a.fixBlockletStatus=Ut;const It=Tn=>{if(!Tn)return null;const nn=Tn.meta||Tn||{},{interfaces:pn=[]}=nn;return Array.isArray(pn)?pn.find(gn=>gn.type===st.BLOCKLET_INTERFACE_TYPE_WEB):null};a.findWebInterface=It;const zt=Tn=>{if(!Tn)return null;const nn=Tn.meta||Tn||{},{interfaces:pn=[]}=nn;return Array.isArray(pn)?pn.find(gn=>gn.type===st.BLOCKLET_INTERFACE_TYPE_DOCKER):null};a.findDockerInterface=zt;const Nt=Tn=>{if(!Tn)return null;const nn=It(Tn),{ports:pn}=Tn;return!nn||!pn?null:pn[nn.port]};a.findWebInterfacePort=Nt;const Yt=(Tn,nn)=>{const pn=[nn],gn=It(Tn);return gn?(gn.services||[]).find(En=>pn.includes(En.name)):null};a.findServiceFromMeta=Yt;const an=({request:Tn,baseUrl:nn})=>{const pn=Tn.headers["x-blocklet-did"]||"",gn=Tn.headers["x-blocklet-real-did"]||"",En=Tn.headers["x-path-prefix"]||"/",Rn=Tn.headers["x-group-path-prefix"]||"/";let Bn=nn;return pn!==gn&&En!==Rn&&(Bn=(0,nt.joinURL)(Bn,"/").replace(En,Rn)),Bn};a.getConnectAppUrl=an;const fn=(Tn,nn)=>{const pn=(nn||"").includes(":")?":":/\./;return(Tn||"").replace(pt,(nn||"").replace(new RegExp(pn,"g"),"-"))};a.replaceSlotToIp=fn;const Kt=Tn=>{const nn=Object.entries(st.CHAIN_INFO_CONFIG).reduce((pn,gn)=>{const[En,[Rn,Bn]]=gn;return pn[Rn]=(0,_e.default)(Tn,En)||Bn,pn},{});return nn.type==="ethereum"&&nn.id==="none"&&(nn.id="1"),nn};a.getChainInfo=Kt;const Ot=Tn=>{const nn=Kt({});if(!Tn)return nn;const pn=Kt(Tn.configObj);if(pn.host!=="none")return pn;let gn;return Pt(Tn,En=>{if(gn&&gn.host!=="none")return;const Rn=Kt(En.configObj);Rn.host!=="none"&&(gn=Rn)}),gn||nn};a.getBlockletChainInfo=Ot;const Wt=Tn=>!!(Tn!=null&&Tn.controller);a.isExternalBlocklet=Wt;const rn=Tn=>{const nn=Array.isArray(Tn.migratedFrom)?Tn.migratedFrom.map(pn=>pn.appDid):[];return(0,et.default)([Tn.appDid,Tn.appPid,...nn].filter(Boolean))};a.getBlockletAppIdList=rn;const Qt=Tn=>{const nn=[];return Tn&&Rt(Tn,pn=>{var En;(((En=pn.meta)==null?void 0:En.interfaces)||[]).filter(Rn=>Rn.type===st.BLOCKLET_INTERFACE_TYPE_SERVICE).forEach(Rn=>{const Bn=Rn.port||{};nn.push({name:Rn.name,protocol:Rn.protocol,port:Number(Bn.external),upstreamPort:Number((pn.ports||{})[Bn.internal])})})}),nn};a.getBlockletServices=Qt;const hn=Tn=>[st.BlockletStatus.downloading,st.BlockletStatus.waiting,st.BlockletStatus.starting,st.BlockletStatus.installing,st.BlockletStatus.stopping,st.BlockletStatus.upgrading,"downloading","waiting","starting","installing","extracting","stopping","upgrading","restarting","deleting"].includes(Tn);a.isInProgress=hn;const xn=Tn=>[st.BlockletStatus.added,st.BlockletStatus.waiting,st.BlockletStatus.downloading,st.BlockletStatus.installing,"added","waiting","downloading","installing"].includes(Tn);a.isBeforeInstalled=xn;const on=Tn=>[st.BlockletStatus.running,"running"].includes(Tn);a.isRunning=on;const dn=Tn=>[st.BlockletStatus.running,st.BlockletStatus.waiting,st.BlockletStatus.downloading,"running","waiting","downloading"].includes(Tn);a.isAccessible=dn;const Dn=(Tn,{type:nn,did:pn}={type:"",did:""})=>{var gn,En,Rn;return Tn?!(0,ft.hasStartEngine)(Tn.meta)&&((Rn=(En=(gn=Tn.meta)==null?void 0:gn.resource)==null?void 0:En.bundles)==null?void 0:Rn.length)>0&&(Tn.meta.resource.bundles||[]).some(Bn=>Bn.type===nn&&Bn.did===pn):!1};a.hasResourceType=Dn;const yn=Tn=>{const nn=[];return Rt(Tn,(pn,{level:gn,params:En})=>{var tn,jt,Zt,cn,vn;if((0,ft.hasMountPoint)(pn.meta)===!1)return null;const Rn=gn>1?En:nn;if(!Rn)return null;const Bn=[];return Rn.push({title:((tn=pn.meta)==null?void 0:tn.title)||"",name:((jt=pn.meta)==null?void 0:jt.bundleName)||"",did:((Zt=pn.meta)==null?void 0:Zt.bundleDid)||"",version:((cn=pn.meta)==null?void 0:cn.version)||"",status:(0,st.fromBlockletStatus)(pn.status),mountPoint:(0,nt.joinURL)("/",pn.mountPoint||""),components:Bn,capabilities:((vn=pn.meta)==null?void 0:vn.capabilities)||{}}),Bn}),nn};a.getMountPoints=yn;const wn=Tn=>{var gn,En;if(!Tn)return!0;const nn=((gn=Tn==null?void 0:Tn.accessPolicy)==null?void 0:gn.roles)??null,pn=((En=Tn==null?void 0:Tn.accessPolicy)==null?void 0:En.reverse)??!1;return nn===null&&pn===!1};a.checkPublicAccess=wn,a.default={isFreeBlocklet:vt,isFreeComponent:Et,forEachBlocklet:St,forEachBlockletSync:Rt,forEachChild:kt,forEachChildSync:Pt,forEachComponentV2:At,forEachComponentV2Sync:$t,isDeletableBlocklet:yt,getSharedConfigObj:wt,getAppMissingConfigs:ct,getComponentMissingConfigs:ht,isEnvShareableToClient:Jt,isEnvShareable:un,wipeSensitiveData:Ct,hasRunnableComponent:ot,getAppName:bt,getAppDescription:Dt,getAppUrl:Mt,getDisplayName:bt,fixBlockletStatus:Ut,findWebInterface:It,findWebInterfacePort:Nt,findDockerInterface:zt,findServiceFromMeta:Yt,checkPublicAccess:wn,replaceSlotToIp:fn,getComponentId:dt,getComponentName:mt,getComponentBundleId:xt,findComponent:Lt,findComponentById:Vt,findComponentV2:Ft,findComponentByIdV2:Ht,filterComponentsV2:qt,getParentComponentName:Tt,getConnectAppUrl:an,getChainInfo:Kt,getBlockletChainInfo:Ot,isExternalBlocklet:Wt,isPreferenceKey:it,getBlockletServices:Qt,isInProgress:hn,isBeforeInstalled:xn,isRunning:on,isAccessible:dn,isGatewayBlocklet:ft.isGatewayBlocklet,isPackBlocklet:ft.isPackBlocklet,hasStartEngine:ft.hasStartEngine,hasResourceType:Dn,getMountPoints:yn}})(util);const getServerUrl=(a,j=!1)=>{const _e=a.routing.adminPath;return j?encodeURIComponent(joinURL(window.location.origin,_e)):joinURL(window.location.origin,_e)},getLaunchAgreementUrl=(a,j,_e)=>{const et=getServerUrl(j),nt=joinURL(_e,`/api/blocklets/${a.did}/blocklet.json`),tt=new URL(joinURL(et,"/launch-blocklet/agreement"));return tt.searchParams.set("blocklet_meta_url",nt),tt.searchParams.set("from",window.location.href),tt.href},ensureDomainAliases=async(a,{getIP:j}={})=>{if(!a||!a.length)return[];if(!j||!a.some(et=>et.value.includes(constant$3.SLOT_FOR_IP_DNS_SITE)))return a;const _e=await j();return _e?a.map(et=>{try{return et.value=util.replaceSlotToIp(et.value,_e),et}catch{return et}}).filter(Boolean):a},getAppCapabilities=a=>{const j={didSpace:null};return util.forEachBlockletSync(a,_e=>{var et,nt;j.didSpace===constant.BLOCKLET_APP_SPACE_REQUIREMENT.REQUIRED||j.didSpace===constant.BLOCKLET_APP_SPACE_REQUIREMENT.REQUIRED_ON_SETUP||(nt=(et=_e==null?void 0:_e.meta)==null?void 0:et.capabilities)!=null&&nt.didSpace&&(j.didSpace=_e.meta.capabilities.didSpace)}),j},fixBlocklet=async(a,{fixRuntime:j=!0,oldBlocklet:_e,getIP:et}={})=>{if(a.site||(a.site={domainAliases:[],rules:[]}),a.site.rules.forEach(nt=>{nt.from.pathPrefix=normalizePathPrefix$1(nt.from.pathPrefix||"/")}),a.site.rules=sortBy$1(a.site.rules,nt=>nt.from.pathPrefix),j===!0)a.site.domainAliases=await ensureDomainAliases(a.site.domainAliases,{getIP:et}),a.appRuntimeInfo&&(a.appRuntimeInfo.startAt=new Date-a.appRuntimeInfo.uptime),util.forEachBlockletSync(a,nt=>{nt.runtimeInfo&&(nt.runtimeInfo.startAt=new Date-nt.runtimeInfo.uptime)});else if(j==="merge-old"&&_e){a.site.domainAliases=_e.site.domainAliases,a.appRuntimeInfo=_e.appRuntimeInfo;const nt={};util.forEachBlockletSync(_e,(tt,{id:rt})=>{nt[rt]=tt}),util.forEachBlockletSync(a,(tt,{id:rt})=>{const st=nt[rt];st&&(tt.runtimeInfo=st.runtimeInfo,tt.diskInfo=st.diskInfo,tt.engine=st.engine)})}else a.site.domainAliases=[];a.capabilities=getAppCapabilities(a)},DEFAULT_WALLET_TYPE="arcblock",getWalletType=(a,j=!1)=>{let _e;return j?(_e=(a.configs||[]).find(et=>et.key==="BLOCKLET_APP_CHAIN_TYPE"),_e&&_e.value||(_e=(a.environments||[]).find(et=>["CHAIN_TYPE","BLOCKLET_APP_CHAIN_TYPE"].includes(et.key)),_e&&_e.value)?_e.value:DEFAULT_WALLET_TYPE):(_e=(a.environments||[]).find(et=>["CHAIN_TYPE","BLOCKLET_APP_CHAIN_TYPE"].includes(et.name)),_e&&_e.default?_e.default:DEFAULT_WALLET_TYPE)},isServerless=a=>!isEmpty$2(a==null?void 0:a.controller);let cache=null;const fetch$1=async()=>{const a=window.env.apiPrefix||"/",j=joinURL(a,"/api/dns-resolve?accessible=1");try{return(await axios$4.get(j)).data.address}catch{return null}},getIp=()=>(cache||(cache=fetch$1()),cache),BlockletsContext=reactExports.createContext({}),{Provider:Provider$2,Consumer:Consumer$2}=BlockletsContext,mergeBlocklets=(a,j,_e)=>_e?a.map(et=>{const nt={...et},tt=j.find(rt=>rt.meta.did===et.meta.did);return tt&&_e.forEach(rt=>{nt[rt]=tt[rt]}),nt}):j;function BlockletsProvider({children:a}){const j=useNodeContext(),[_e,et]=reactExports.useState(null),[nt,tt]=reactExports.useState(!1),[rt,st]=reactExports.useState([]),[ft,pt]=reactExports.useState([]),[dt,mt]=reactExports.useState(!1),xt=(Pt,Lt)=>{util.isExternalBlocklet(Pt)?pt(Lt):st(Lt)},Tt=4,St=async({silent:Pt=!0,retries:Lt=Tt,updates:Vt,useCache:Ft=!0}={})=>{Pt||tt(!0);try{et(null);const{blocklets:Ht}=await j.api.getBlocklets({input:{useCache:Ft}});for(const un of Ht)await fixBlocklet(un,{getIP:getIp});const qt=Ht.filter(un=>!util.isExternalBlocklet(un)),Jt=Ht.filter(util.isExternalBlocklet);st(un=>mergeBlocklets(un,qt,Vt)),pt(un=>mergeBlocklets(un,Jt,Vt)),tt(!1),mt(!0)}catch(Ht){Lt>0?setTimeout(()=>St({silent:Pt,retries:Lt-1,useCache:Ft}),1e3):(tt(!1),et(Ht))}},Rt=async Pt=>{try{const{blocklet:Lt}=await j.api.getBlocklet({input:{did:Pt.meta.did,attachRuntimeInfo:!0}});await fixBlocklet(Lt,{getIP:getIp}),xt(Lt,Vt=>Vt.some(Ft=>Ft.meta.did===Lt.meta.did)?Vt.map(Ft=>Ft.meta.did===Lt.meta.did?Lt:Ft):[...Vt,Lt])}catch(Lt){et(Lt)}},At=Pt=>{j.refresh(),Rt(Pt)};reactExports.useEffect(()=>{St({silent:!1})},[]);const $t=Pt=>{const Lt={};util.forEachBlockletSync(Pt,(Vt,{id:Ft})=>{Lt[Ft]=constant.fromBlockletStatus(Vt.status)}),xt(Pt,Vt=>Vt.map(Ft=>(Ft.meta.did===Pt.meta.did&&util.forEachBlockletSync(Ft,(Ht,{id:qt})=>{Lt[qt]&&(Ht.status=Lt[qt])}),Ft)))};useSubscription(constant.BlockletEvents.added,Pt=>{Pt.status=constant.fromBlockletStatus(Pt.status),xt(Pt,Lt=>[...Lt,Pt])}),useSubscription(constant.BlockletEvents.removed,Pt=>{j.refresh(),xt(Pt,Lt=>Lt.filter(Vt=>Vt.meta.did!==Pt.meta.did))}),useSubscription(constant.BlockletEvents.statusChange,$t),useSubscription(constant.BlockletEvents.installed,At),useSubscription(constant.BlockletEvents.upgraded,At),useSubscription(constant.BlockletEvents.updated,Rt),useSubscription(constant.BlockletEvents.startFailed,Rt);const kt={loading:nt,error:_e,data:rt,externalData:ft,refresh:St,initialized:dt,api:j.api};return jsxRuntimeExports.jsx(Provider$2,{value:{blocklets:kt},children:a})}function useBlockletsContext(){const{blocklets:a}=reactExports.useContext(BlockletsContext);return a}const authorize=({user:a,launchType:j,nftId:_e})=>{var et;if(!a)return!1;if(j==="serverless"){if(!_e)throw new Error("nftId is required");return((et=a==null?void 0:a.controller)==null?void 0:et.nftId)===_e}return(a.permissions||[]).includes("mutate_blocklets")},isServerlessBlockletInstalled=a=>{var j,_e;return a.isGetBlocklet&&((_e=(j=a.runtimeBlocklet)==null?void 0:j.controller)==null?void 0:_e.consumedAt)},getRestoredAccessUrl=async a=>{const j=getBlockletUrls({blocklet:a});let _e="";return _e=j.find(et=>{try{const{hostname:nt}=new URL(et);return urlEvaluation.isSlpDomain(nt)}catch(nt){return console.error(nt),!1}}),_e||(_e=await getAccessibleUrl(j)),_e},LaunchBlockletContext=reactExports.createContext({}),{Provider:Provider$1,Consumer:Consumer$1}=LaunchBlockletContext;function LaunchBlockletProvider({children:a}){const{session:j}=useSessionContext$1(),{t:_e}=useLocaleContext(),{api:et,info:nt}=useNodeContext(),[tt]=useSearchParams(),rt=tt.get("launchType"),st=tt.get("fromLauncher"),ft=tt.get("blocklet_meta_url")||"",pt=tt.get("nftId")||"",dt=tt.get("launcherSessionId")||"",mt=tt.get("launcherUrl")||"",xt=new URL(ft).origin,[Tt,St]=reactExports.useState({meta:null,appDid:tt.get("appDid")||null,sessionId:tt.get("sessionId")||null,isFree:!0,isExternal:!1,isInstalling:!1,isInstalled:!1,isRunning:!1,launcherSession:null,registryUrl:""}),Rt=(Jt,un)=>St(wt=>({...wt,appDid:Jt,sessionId:un})),At=authorize({user:j.user,launchType:rt,nftId:pt}),[$t,kt]=reactExports.useState(null),[Pt,Lt]=reactExports.useState(!0),Vt=reactExports.useMemo(()=>nt?getServerUrl(nt):"",[nt]),Ft=async Jt=>{if(!Jt)throw new Error("appDid should not be empty");const{blocklet:un}=await et.getBlocklet({input:{did:Jt,attachConfig:!1}});if(!un)return null;const wt=constant.BlockletStatus[un.status],it=!!pt,ut=wt<constant.BlockletStatus.installed,ct=wt===constant.BlockletStatus.installed,ht=wt===constant.BlockletStatus.running;return St(vt=>({...vt,isInstalled:ct,isRunning:ht,isExternal:it,isInstalling:ut})),{isInstalled:ct,isRunning:ht,isExternal:it,isInstalling:ut}},Ht=async()=>{Lt(!0);try{if(!ft)throw new Error(_e("common.invalidParam"));const[{meta:Jt,isFree:un,registryUrl:wt},{launcherSession:it,error:ut}]=await Promise.all([et.getBlockletMetaFromUrl({input:{url:ft,checkPrice:!0}}),dt?et.getLauncherSession({input:{launcherSessionId:dt,launcherUrl:mt}}):Promise.resolve({})]);if(dt&&!it)throw new Error(`Launch session invalid: ${ut}`);if(!Jt)throw new Error(_e("LaunchBlockletBlocklet.error.loadMetaFailed"));let ct={};At&&Tt.appDid&&(ct=await Ft(Tt.appDid)),St(ht=>({...ht,...ct,meta:Jt,isFree:un,registryUrl:wt,launcherSession:it}))}catch(Jt){console.error(Jt),kt(Jt.message)}finally{Lt(!1)}};reactExports.useEffect(()=>{var Jt,un,wt;((Jt=j==null?void 0:j.user)==null?void 0:Jt.role)===constant$3.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&((wt=(un=j==null?void 0:j.user)==null?void 0:un.controller)==null?void 0:wt.nftId)!==pt&&j.logout(),Ht()},[]),reactExports.useEffect(()=>{Pt||!Tt.meta||(At?Tt.appDid&&Ft(Tt.appDid).catch(Jt=>{Toast$1.error(Jt.message)}):(St(Jt=>({...Jt,isInstalled:!1,isRunning:!1,isExternal:!1})),kt(null)))},[At]);const qt={meta:Tt.meta,isFree:Tt.isFree,appDid:Tt.appDid,sessionId:Tt.sessionId,isInstalling:Tt.isInstalling,isInstalled:Tt.isInstalled,isExternal:Tt.isExternal,isRunning:Tt.isRunning,serverUrl:Vt,storeUrl:Tt.registryUrl||xt,blockletMetaUrl:ft,fromLauncher:st,loading:Pt,error:$t,api:et,getBlocklet:Ft,setAppDid:Rt,launcherUrl:mt,launcherSession:Tt.launcherSession,launcherSessionId:dt};return jsxRuntimeExports.jsx(Provider$1,{value:qt,children:a})}function useLaunchBlockletContext(){return reactExports.useContext(LaunchBlockletContext)}function useQuery(){return new URLSearchParams(useLocation().search)}const BlockletAppContext=reactExports.createContext(),{Provider,Consumer}=BlockletAppContext;function BlockletAppProvider({children:a}){const _e=useQuery().get("blocklet_meta_url"),et=_default$2(async()=>{const{data:tt}=await axios$1.get(_e);return tt});if(et.loading)return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});const nt={meta:et.value,error:et.error};return jsxRuntimeExports.jsx(Provider,{value:nt,children:a})}BlockletAppProvider.propTypes={children:PropTypes.any.isRequired};function useBlockletAppContext(){return reactExports.useContext(BlockletAppContext)}const Dashboard=reactExports.lazy(()=>__vitePreload(()=>import("./index-CnIyAnd4.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),BlockletList=reactExports.lazy(()=>__vitePreload(()=>import("./index-Cu_P5aPZ.js"),__vite__mapDeps([5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,2,28,29,30,31,32,33,34,35]),import.meta.url)),BlockletRestore=reactExports.lazy(()=>__vitePreload(()=>import("./index-D6AgsP-4.js"),__vite__mapDeps([36,37,38,39,40,41,6,32,42,43,44,14,11,13,18,17]),import.meta.url)),BlockletStore=reactExports.lazy(()=>__vitePreload(()=>import("./index-BlzJjap-.js"),__vite__mapDeps([45,6,46,47,48,16,17,11,39,28,29,14,13,49,50,33,32,51,42,52,3,53,54,18,22,23,24,55,41,56,57]),import.meta.url)),Settings=reactExports.lazy(()=>__vitePreload(()=>import("./index-B7UCZsjO.js"),__vite__mapDeps([58,59,12,56,60,61,62,63,14,11,13,7,8,9,10,15,16,17,18,64,52,3,53,2,65,19,20,6,66,67,68,33,69,35,48,70,71,4]),import.meta.url)),LogPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-CezAO7BR.js"),__vite__mapDeps([72,73,23,24,11,74,6]),import.meta.url)),TeamPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-Csp4QH_V.js"),__vite__mapDeps([75,59,12,76,77,78,17,6,11,13,79,15,80,81,33,82,83,84,16,14,7,8,9,10,18,85,35,86,39,87,34,23,24,88,89,62,20,90,54,3,2,42,91,92,93,94,53,95,96,97,98,99,100,49,1,52,70,101]),import.meta.url)),BlockletDetail=reactExports.lazy(()=>__vitePreload(()=>import("./detail-CiYveroN.js"),__vite__mapDeps([102,59,12,19,20,21,6,18,22,23,24,31,54,90,57]),import.meta.url)),EULAPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-Bqlp4s5C.js"),[],import.meta.url)),Notifications=reactExports.lazy(()=>__vitePreload(()=>import("./index-fVZinT7E.js"),__vite__mapDeps([103,1,32,81,79,15]),import.meta.url)),IssuePassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-BsQBtUGA.js"),__vite__mapDeps([104,105,88,89,9,106,92,69,107,41]),import.meta.url)),LostPassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-gvPnSndt.js"),__vite__mapDeps([108,69,83,51,89,9,107,22,30]),import.meta.url)),ExchangePassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-Bnj8RUhY.js"),__vite__mapDeps([109,107,22]),import.meta.url)),BlockletLauncher=reactExports.lazy(()=>__vitePreload(()=>import("./index-qhlxzrLU.js"),__vite__mapDeps([110,37,38,39,40,111,77,78,22,44,6,26,27,41,65]),import.meta.url)),NotFoundPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-Bjz36idA.js"),__vite__mapDeps([112,88]),import.meta.url)),Invite=reactExports.lazy(()=>__vitePreload(()=>import("./index-GQZM8G46.js"),__vite__mapDeps([113,105,88,89,9,106,92,69,107]),import.meta.url)),Console=reactExports.lazy(()=>__vitePreload(()=>import("./index-Cgo_tcN6.js").then(a=>a.a2),__vite__mapDeps([114,115]),import.meta.url)),AnalyticsPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-BEA-r-Xt.js"),__vite__mapDeps([116,59,12,117,118,47,48,119,11,120,8,121,14,13,49,7,9,10,15,16,17,18,31,122,123,4,6,99,24]),import.meta.url)),GenKeyPair=reactExports.lazy(()=>__vitePreload(()=>import("./index-CvqQay-i.js"),__vite__mapDeps([124,88,69]),import.meta.url));function useSharedContext(){const a=useNodeContext(),{session:j}=useSessionContext$1(),{wallet:_e}=useBrowser(),et=j.user&&j.user.did;return reactExports.useEffect(()=>{const nt=getWsClient();return et?nt.connect():nt.isConnected()&&nt.disconnect(),()=>{nt.isConnected()&&nt.disconnect()}},[et]),reactExports.useEffect(()=>{if(_e)return()=>{};const nt=()=>{document.visibilityState==="visible"&&j.refresh()};return document.addEventListener("visibilitychange",nt),()=>{document.removeEventListener("visibilitychange",nt)}},[]),{node:a,session:j}}function ProtectedApp(){var rt;const{t:a}=useLocaleContext(),{node:j,session:_e}=useSharedContext(),et=useLocation();reactExports.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${et.pathname}${et.search}`)},[et]),reactExports.useEffect(()=>{var st;((st=_e==null?void 0:_e.user)==null?void 0:st.role)===constant$3.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&_e.logout()},[(rt=_e==null?void 0:_e.user)==null?void 0:rt.role]);const nt=jsxRuntimeExports.jsx(CircularProgress,{});if(j.loading||_e.loading)return jsxRuntimeExports.jsx(Center,{children:nt});if(!j.info.initialized)return getAuthMethod.getServerAuthMethod(j.info)==="nft"?jsxRuntimeExports.jsx(NodeVerifyOwner,{action:"verify-owner"}):jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(NodeConnectOwner,{})});if(j.info.upgradeSessionId)return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(MaintainProgress,{})});if(!_e.user)return jsxRuntimeExports.jsx(NodeLogin,{loadingEle:nt});const tt=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsx(NotificationProvider,{children:jsxRuntimeExports.jsxs(BlockletsProvider,{children:[jsxRuntimeExports.jsx(Health,{}),jsxRuntimeExports.jsx(CheckNodeStatus,{}),jsxRuntimeExports.jsx(GlobalSubscriber,{}),jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:tt,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:"/dashboard",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:"Dashboard",children:jsxRuntimeExports.jsx(Dashboard,{})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.blocklets"),children:jsxRuntimeExports.jsx(BlockletList,{})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets/:did/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:"Blocklets",children:jsxRuntimeExports.jsx(BlockletDetail,{})})}),jsxRuntimeExports.jsx(Route,{path:"/settings/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.setting"),children:jsxRuntimeExports.jsx(Settings,{})})}),jsxRuntimeExports.jsx(Route,{path:"/eula",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("setup.steps.eula"),children:jsxRuntimeExports.jsx(EULAPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/store",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.store"),children:jsxRuntimeExports.jsx(BlockletStore,{})})}),jsxRuntimeExports.jsx(Route,{path:"/console",element:jsxRuntimeExports.jsx(DashboardRoute,{title:`GraphQL ${a("common.console")}`,scrollable:!1,fullWidth:!0,children:jsxRuntimeExports.jsx(Console,{})})}),jsxRuntimeExports.jsx(Route,{path:"/notifications",element:jsxRuntimeExports.jsx(DashboardRoute,{children:jsxRuntimeExports.jsx(Notifications,{})})}),jsxRuntimeExports.jsx(Route,{path:"/team/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.team"),children:jsxRuntimeExports.jsx(TeamPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/logs/:name?",element:jsxRuntimeExports.jsx(DashboardRoute,{scrollable:!1,fullWidth:!0,title:a("common.logs"),children:jsxRuntimeExports.jsx(LogPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/analytics/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.analytics"),children:jsxRuntimeExports.jsx(AnalyticsPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/",element:jsxRuntimeExports.jsx(Navigate,{to:"/dashboard",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/team",element:jsxRuntimeExports.jsx(Navigate,{to:"/team/members",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/analytics",element:jsxRuntimeExports.jsx(Navigate,{to:"/analytics/traffic",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/router",element:jsxRuntimeExports.jsx(Navigate,{to:"/router/rules",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/settings",element:jsxRuntimeExports.jsx(Navigate,{to:"/settings/basic",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/marketplace",element:jsxRuntimeExports.jsx(Navigate,{to:"/store",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/marketplace/:did",element:jsxRuntimeExports.jsx(Navigate,{to:"/store/:did",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"*",element:jsxRuntimeExports.jsx(NotFoundPage,{})})]})})]})})}function UnprotectedWrapper({children:a}){const{node:j,session:_e}=useSharedContext();return j.loading||!_e.initialized&&_e.loading?jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})}):j.info.upgradeSessionId?jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(MaintainProgress,{})}):a}function App(){const{changeLocale:a}=useLocaleContext(),j=useQuery();reactExports.useEffect(()=>{const et=j.get("locale");et&&["zh","en"].includes(et)&&a(et)},[]);const _e=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:_e,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(IssuePassport,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(LostPassport,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(ExchangePassport,{})})}),jsxRuntimeExports.jsx(Route,{path:"/accept-server",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(NodeVerifyOwner,{action:"accept-server"})})}),jsxRuntimeExports.jsx(Route,{path:"/gen-key-pair/",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(GenKeyPair,{})})}),jsxRuntimeExports.jsx(Route,{path:"/launch-blocklet/*",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(LaunchBlockletProvider,{children:jsxRuntimeExports.jsx(BlockletLauncher,{})})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets/restore/*",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(BlockletAppProvider,{children:jsxRuntimeExports.jsx(BlockletRestore,{})})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(Invite,{})})}),jsxRuntimeExports.jsx(Route,{path:"/*",element:jsxRuntimeExports.jsx(ProtectedApp,{})})]})})}function AppWrapper(){const a=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(CssBaseline,{}),jsxRuntimeExports.jsx(BrowserRouter,{history,basename:a,children:jsxRuntimeExports.jsx(Root$5,{children:jsxRuntimeExports.jsx(App,{})})})]})}const root=createRoot(document.getElementById("root"));root.render(jsxRuntimeExports.jsx(AppWrapper,{}));const prefix=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";register(`${prefix}/service-worker.js`.replace(/\/+/g,"/"),{registrationOptions:{scope:prefix},registered(){console.info("Service worker has been registered.")},ready(){console.info("Service worker is active.")},cached(){console.info("Content has been cached for offline use.")},updatefound(){console.info("New content is downloading.")},updated(){console.info("New content is available; please refresh.")},offline(){console.info("No internet connection found. App is running in offline mode.")},error(a){console.error("Error during service worker registration:",a)}});export{default_1$l as $,useSearchParams as A,ButtonComponent as B,CircularProgress as C,Dialog as D,constant$3 as E,useMediaQuery as F,Grid as G,lib$2 as H,ImageIcon as I,util as J,Link$2 as K,Link$1 as L,Box as M,isEmpty$2 as N,MenuItem$1 as O,PropTypes as P,Checkbox as Q,RelativeTime$1 as R,Alert as S,TagComponent as T,formatError$1 as U,Permission as V,WrappedDidAddress as W,Center as X,toString_1 as Y,propTypesExports as Z,_createCompounder as _,useSubscription as a,_default$5 as a$,cloneDeep$1 as a0,api$1 as a1,joinURL as a2,merge$1 as a3,IconButton as a4,Confirm as a5,makeStyles as a6,ListItemSecondaryAction as a7,List as a8,ListItem as a9,Tooltip as aA,getBlockletMetaUrl as aB,ErrorBoundary as aC,ErrorFallback as aD,formatRegistryLogoPath as aE,engine as aF,ListItemIcon as aG,ensureDomainAliases as aH,normalizePathPrefix$1 as aI,sortBy$1 as aJ,getIp as aK,stringSortHandlerAsc as aL,getAccessUrl as aM,requireCreateSvgIcon as aN,interopRequireDefaultExports as aO,history as aP,semver$1 as aQ,useReactive as aR,useAsyncEffect as aS,sleep as aT,checkInputByType as aU,FormControlLabel as aV,Stack$5 as aW,_default$2 as aX,axios$1 as aY,shouldCheckDomainStatus as aZ,formatMountPoint as a_,ListItemText as aa,getServerUrl as ab,useBlockletAppContext as ac,getAuthMethod as ad,ConfirmDialog as ae,setSessionToken as af,getRestoredAccessUrl as ag,Debug as ah,isEqual$1 as ai,isServerlessBlockletInstalled as aj,getWsClient as ak,useTheme$2 as al,useQuery as am,getPathPrefix as an,HeaderAddon as ao,SessionContext as ap,Global as aq,Routes as ar,Route as as,Navigate as at,css$1 as au,AvatarWithErrorBoundary as av,formatToDatetime as aw,getLaunchAgreementUrl as ax,axios$4 as ay,useSessionContext$1 as az,LinearProgress as b,useControlled as b$,Menu$1 as b0,checkIsWildcardDomain as b1,Popover as b2,Card as b3,CardContent as b4,formatToDate as b5,sortDomains as b6,Collapse as b7,isUrl$1 as b8,__awaiter as b9,_baseUniq as bA,_baseRest as bB,_arrayFilter as bC,last_1 as bD,isArrayLikeObject_1 as bE,default_1$c as bF,isDownloading as bG,withPermission as bH,getBlockletUrl as bI,getBlockletUrlParams as bJ,createSvgIcon$1 as bK,styled$1 as bL,ButtonBase as bM,_extends$2 as bN,emphasize_1 as bO,_objectWithoutPropertiesLoose$1 as bP,generateUtilityClasses as bQ,generateUtilityClass as bR,useDefaultProps as bS,useSlotProps as bT,clsx$1 as bU,composeClasses as bV,rootShouldForwardProp as bW,SwitchBase as bX,capitalize$3 as bY,alpha_1 as bZ,createChainedFunction$1 as b_,__generator as ba,__spread as bb,React$2 as bc,dayjs$1 as bd,Divider as be,isCertificateMatch as bf,NodeContext as bg,useParams as bh,__spreadArrays as bi,__assign as bj,DidAddressWrapper as bk,createPassportSvg as bl,useNodeContext$1 as bm,getWalletType as bn,__vitePreload as bo,isInstalling as bp,Badge as bq,NavLink$1 as br,createAppPassportSvg as bs,_SetCache as bt,_arrayMap as bu,_baseUnary as bv,_arrayIncludes as bw,_arrayIncludesWith as bx,_cacheHas as by,_baseFlatten as bz,constant as c,ownerWindow as c$,useForkRef as c0,useId as c1,toSlotDomain as c2,omit$1 as c3,fixBlocklet as c4,memoize$5 as c5,defaultCheckAccessible as c6,getBlockletUrls as c7,urlEvaluation as c8,ButtonGroupContext as c9,useLocation as cA,useMount as cB,API_DID_PREFIX as cC,AUTH_SERVICE_PREFIX as cD,formatDateTime as cE,getExplorerLink as cF,patchJsxToLocale as cG,flat$1 as cH,en$2 as cI,LocaleProvider as cJ,getAugmentedNamespace as cK,Theme as cL,ReactDOM as cM,global$2 as cN,punycodeExports as cO,commonjsGlobal as cP,copy$1 as cQ,dist$4 as cR,Util as cS,require$$3 as cT,getSessionToken as cU,SvgLogo as cV,Icon as cW,hoistStatics as cX,getLogoHash as cY,useEnhancedEffect$1 as cZ,debounce$4 as c_,ButtonGroupButtonContext as ca,BlockletAdminRoles as cb,ListItemAvatar as cc,Avatar$1 as cd,NotificationTag as ce,useNotificationContext as cf,useRequest as cg,useMemoizedFn as ch,isNumber$2 as ci,__read as cj,useLatest as ck,defaultDayjs as cl,useBrowser as cm,isFromWallet as cn,Container$4 as co,isFunction$8 as cp,usePassportId as cq,FullPage as cr,useLaunchBlockletContext as cs,useSecurity as ct,authorize as cu,isNewStoreUrl as cv,getAccessibleUrl as cw,getBlockletLogoUrl as cx,Img as cy,getSafeUrl as cz,useBlockletsContext as d,getChipUtilityClass as d$,useRtl as d0,useEventCallback$1 as d1,ownerDocument as d2,colors$1 as d3,useFormControl as d4,formControlState as d5,getMaster as d6,decodeConnectUrl as d7,parseTokenFromConnectUrl as d8,upperFirst$2 as d9,createMuiTheme as dA,darken$1 as dB,decomposeColor$1 as dC,duration as dD,easing as dE,emphasize$1 as dF,getContrastRatio$1 as dG,getLuminance$1 as dH,hexToRgb$1 as dI,hslToRgb$1 as dJ,keyframes as dK,lighten$1 as dL,createMixins as dM,recomposeColor$1 as dN,responsiveFontSizes as dO,rgbToHex$1 as dP,getUnit as dQ,toUnitless as dR,Paper as dS,getPaperUtilityClass as dT,paperClasses as dU,getIconButtonUtilityClass as dV,iconButtonClasses as dW,getTypographyUtilityClass as dX,typographyClasses as dY,chipClasses as dZ,Chip as d_,camelCase$2 as da,ClickToCopy as db,formatMuiErrorMessage$1 as dc,useTheme$3 as dd,deepmerge$1 as de,GlobalStyles$2 as df,ThemeProvider$2 as dg,toPropertyKey$3 as dh,createSpacing as di,createBreakpoints as dj,createTheme$1 as dk,private_safeDarken_1 as dl,private_safeLighten_1 as dm,private_safeEmphasize_1 as dn,private_safeAlpha_1 as dp,private_safeColorChannel_1 as dq,defaultSxConfig as dr,styleFunctionSx$1 as ds,getOverlayAlpha as dt,hslToRgb_1 as du,THEME_ID as dv,createTypography as dw,StyledEngineProvider as dx,ThemeProvider$1 as dy,alpha$1 as dz,_default$1 as e,useThemeProps as e$,buttonClasses as e0,Button$1 as e1,getButtonUtilityClass as e2,checkboxClasses as e3,getCheckboxUtilityClass as e4,formControlLabelClasses as e5,getFormControlLabelUtilityClasses as e6,getGridUtilityClass as e7,gridClasses as e8,Grow as e9,toInteger_1 as eA,noop$6 as eB,isObject$p as eC,urlExports as eD,cloneDeep_1 as eE,get_1 as eF,DID as eG,ListItemButton as eH,FormControlContext as eI,GlobalStyles as eJ,isMuiElement as eK,slotShouldForwardProp as eL,getReactElementRef as eM,ClickAwayListener as eN,MenuList as eO,Popper as eP,SvgIcon as eQ,process$1$1 as eR,Buffer$3 as eS,lib$3 as eT,lib$4 as eU,urlPathFriendly$1 as eV,usePreviousProps as eW,setRef as eX,ClearIcon as eY,emotionCache_browser_esm as eZ,emotionReact_browser_esm as e_,getListItemTextUtilityClass as ea,listItemTextClasses as eb,PopoverPaper as ec,PopoverRoot as ed,getOffsetLeft as ee,getOffsetTop as ef,getPopoverUtilityClass as eg,popoverClasses as eh,getMenuItemUtilityClass as ei,menuItemClasses as ej,getTooltipUtilityClass as ek,tooltipClasses as el,lighten_1 as em,darken_1 as en,Toolbar as eo,getToolbarUtilityClass as ep,toolbarClasses as eq,isHostComponent as er,emotionSerialize_esm as es,emotionUtils_browser_esm as et,reactDomExports as eu,Close as ev,_baseIteratee as ew,isArrayLike_1 as ex,keys_1 as ey,_baseFindIndex as ez,LocaleContext as f,createPassportSvg$2 as f$,defaultTheme$2 as f0,create$4 as f1,ThemeProvider$4 as f2,Hidden as f3,Check$1 as f4,isString$2 as f5,withQuery as f6,getTargetElement as f7,__spreadArray as f8,useEventListener as f9,useUpdate as fA,tmp as fB,useCreation as fC,SessionContext$1 as fD,getVisitorId$2 as fE,useConfirm as fF,translate as fG,util$6 as fH,requireShams as fI,callBound$3 as fJ,objectKeys$4 as fK,hasPropertyDescriptors_1 as fL,defineDataProperty as fM,callBindExports as fN,safeBufferExports as fO,requireBrowser$9 as fP,requireElliptic as fQ,requireCryptoBrowserify as fR,ripemd160 as fS,lib$5 as fT,getInviteLink$1 as fU,getIssuePassportLink as fV,getTextColor_1 as fW,browser as fX,useSize as fY,isProtectedRole as fZ,lib$1 as f_,useUpdateEffect as fa,_baseOrderBy as fb,isArray_1 as fc,createAxios$2 as fd,default_1$n as fe,omitBy$1 as ff,default_1$5 as fg,Drawer as fh,parseURL as fi,parseQuery as fj,parseFilename as fk,stringifyParsedURL as fl,useDebounceFn as fm,Dialog$1 as fn,_t as fo,colors$2 as fp,normalizePathPrefix_1 as fq,clamp$1 as fr,useIsFocusVisible as fs,extractEventHandlers as ft,resolveProps as fu,debounce_1 as fv,noop_1 as fw,_default$3 as fx,formatTime as fy,RelativeTime as fz,getDefaultExportFromCjs$1 as g,forceReflow as g$,requireMs as g0,jsonStableStringify as g1,semver as g2,browserExports as g3,require$$0$1 as g4,isAbsoluteUrl as g5,pick_1$1 as g6,dist$1 as g7,browser$4 as g8,CopyButton as g9,_castSlice as gA,_charsEndIndex as gB,_stringToArray as gC,flat as gD,DialogContent as gE,isUndefined$2 as gF,AxiosError as gG,RELAY_SOCKET_PREFIX$1 as gH,useConnect as gI,identity_1 as gJ,_baseForOwn as gK,_baseMap as gL,isString_1 as gM,isPlainObject_1 as gN,default_1$h as gO,_isIndex as gP,_typeof$2 as gQ,dialogClasses as gR,FocusTrap as gS,DialogActions as gT,TransitionGroup as gU,useTheme$4 as gV,localizedFormatPlugin as gW,isExtracting as gX,APP_PREFIX as gY,objectAssign$1 as gZ,_inheritsLoose$3 as g_,requireObjectWithoutPropertiesLoose as ga,loadIcon as gb,createTheme as gc,ThemeProvider as gd,Fade as ge,AUTH_SERVICE_PREFIX$1 as gf,getTranslation as gg,SessionPermission as gh,NAVIGATION_URL as gi,default_1 as gj,LocaleSelector as gk,SessionUser as gl,default_1$p as gm,ResponsiveHeader as gn,withErrorBoundary as go,NavMenu as gp,DashboardWrapper as gq,data$5 as gr,BlockletSDK as gs,useUnmount as gt,adapter as gu,Buffer$1$1 as gv,base64 as gw,_baseIndexOf as gx,_baseToString as gy,_baseTrim as gz,useTheme as h,gridAutoFlow as h$,Transition$1 as h0,isFunction$5 as h1,getLocale$1 as h2,isDidDomainOrIpEchoDomain as h3,validateDomain as h4,require$$6 as h5,axios_1 as h6,isServerless as h7,getSystemDomains as h8,DefaultPropsProvider as h9,borderBottom as hA,borderBottomColor as hB,borderColor as hC,borderLeft as hD,borderLeftColor as hE,borderRadius as hF,borderRight as hG,borderRightColor as hH,borderTop as hI,borderTopColor as hJ,borderTransform as hK,boxSizing as hL,breakpoints as hM,color$1 as hN,colorChannel$1 as hO,columnGap as hP,createStyled$2 as hQ,createUnarySpacing as hR,createUnaryUnit as hS,gap as hT,getPath$1 as hU,getStyleFromPropValue as hV,getStyleValue as hW,getThemeProps as hX,getValue$4 as hY,gridArea as hZ,gridAutoColumns as h_,useDefaultProps$1 as ha,compose as hb,style$3 as hc,borders as hd,grid as he,palette as hf,sizing as hg,spacing as hh,globalStateClasses as hi,isGlobalState as hj,createBox as hk,ClassNameGenerator as hl,Timeout as hm,useTimeout as hn,teardown as ho,createContainer as hp,createTheme$3 as hq,styled$2 as hr,extendSxProp as hs,createStack as ht,GlobalStyles$1 as hu,RtlProvider as hv,backgroundColor as hw,bgcolor as hx,blend$1 as hy,border as hz,get$7 as i,functionPlugin as i$,gridAutoRows as i0,gridColumn as i1,gridRow as i2,gridTemplateAreas as i3,gridTemplateColumns as i4,gridTemplateRows as i5,handleBreakpoints as i6,height as i7,margin as i8,marginKeys as i9,useTheme$5 as iA,width as iB,ENTERED as iC,ENTERING as iD,EXITING as iE,TransitionGroupContext as iF,config$1 as iG,isRunning as iH,getTransferAppLink as iI,pick$1 as iJ,data$g as iK,data$f as iL,data$h as iM,_copyArray as iN,sleep$3 as iO,withTrailingSlash as iP,clsx$2 as iQ,require$$1$3 as iR,require$$1$4 as iS,require$$4$3 as iT,colorManipulator as iU,require$$6$3 as iV,require$$6$2 as iW,createStyled$1 as iX,require$$5 as iY,data$d as iZ,hoistNonReactStatics_cjs as i_,maxHeight as ia,maxWidth as ib,mergeBreakpointsInOrder as ic,minHeight as id,minWidth as ie,outline as ig,outlineColor as ih,padding as ii,paddingKeys as ij,paletteTransform as ik,private_safeAlpha$1 as il,private_safeColorChannel$1 as im,private_safeDarken$1 as io,private_safeEmphasize$1 as ip,private_safeLighten$1 as iq,rowGap as ir,shape as is,shouldForwardProp$1 as it,sizeHeight as iu,sizeWidth as iv,sizingTransform as iw,systemDefaultTheme$1 as ix,unstable_createStyleFunctionSx as iy,resolveBreakpointValues as iz,jsxRuntimeExports as j,jssGlobal as j0,jssNested as j1,camelCase as j2,defaultUnit as j3,jssVendorPrefixer as j4,jssPropsSort as j5,createJss as j6,getDynamicStyles as j7,isEqual_1$1 as j8,isNil_1 as j9,isValidClusterSize as jA,extractStatusUrlFromNextWorkflow as jB,pWaitFor$1 as jC,hasRequiredSteps as jD,getStoreList as jE,flatten$4 as jF,trimEnd$1 as jG,useCheckUpdateByUrl as jH,DialogTitle as jI,debounce$2 as jJ,isNull$3 as jK,Icon$1 as jL,_baseAssignValue as jM,throttle$3 as jN,pTimeout$2 as jO,TimeoutError_1 as jP,uniq$1 as jQ,createRoot as jR,omit_1 as ja,isObject_1 as jb,withoutTrailingSlash as jc,isAbsoluteUrl$1 as jd,nanoid as je,isNil$1 as jf,isEqual$3 as jg,useEffectWithTarget$1 as jh,__values as ji,isString$3 as jj,_baseEach as jk,_unsupportedIterableToArray as jl,_setPrototypeOf as jm,_assertThisInitialized$1 as jn,_createClass as jo,CacheProvider as jp,createCache as jq,StyleSheet$1 as jr,ThemeContext$1 as js,React$3 as jt,isPlainObject$5 as ju,require$$2$1 as jv,require$$6$4 as jw,createPopper as jx,getScrollbarSize as jy,reactIsExports as jz,filesize as k,Typography as l,formatLocale as m,newStyled as n,useLocaleContext as o,prettyMs as p,useSessionContext as q,reactExports as r,styled as s,_default as t,useNodeContext as u,DialogContentText as v,DidConnect as w,getWebWalletUrl as x,useNavigate as y,Toast$1 as z};
|