@abtnode/webapp 1.16.28-beta-23b06b63 → 1.16.28-beta-bfbab430

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.
Files changed (162) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{Add-BxRt9WAM.js → Add-DEou6OQu.js} +1 -1
  4. package/dist/assets/{ArrowDropDown-BDCD7rfw.js → ArrowDropDown-B8q6yJii.js} +1 -1
  5. package/dist/assets/{Autocomplete-mKcnfw_W.js → Autocomplete-CxHBaO5x.js} +1 -1
  6. package/dist/assets/{Breadcrumbs-BTPbI2mY.js → Breadcrumbs--9MrOMZw.js} +1 -1
  7. package/dist/assets/{ButtonGroup-B4i-HvgZ.js → ButtonGroup-BbRXyWVe.js} +1 -1
  8. package/dist/assets/{CheckCircle-DO-RcLP9.js → CheckCircle-D6vwJd9K.js} +1 -1
  9. package/dist/assets/{ChevronLeft-DF7lcjk8.js → ChevronLeft-Bc2acyen.js} +1 -1
  10. package/dist/assets/{ChevronRight-CFOkpNut.js → ChevronRight-Bcko4z80.js} +1 -1
  11. package/dist/assets/{Close-TuMd444H.js → Close-DGnER_ve.js} +1 -1
  12. package/dist/assets/{Delete-DDy4lv2l.js → Delete-BGOcGa_D.js} +1 -1
  13. package/dist/assets/{DeleteOutline-5zk5MLVr.js → DeleteOutline-C7JmRduW.js} +1 -1
  14. package/dist/assets/{Done-DZAunZvS.js → Done-CydSjSOx.js} +1 -1
  15. package/dist/assets/{Edit-CGEHojUC.js → Edit-B0yxTPMe.js} +1 -1
  16. package/dist/assets/{EditIcon-BylMjCE4.js → EditIcon-CF5y6ttj.js} +1 -1
  17. package/dist/assets/{FilterList-dxewgEr3.js → FilterList-RGEuYf_e.js} +1 -1
  18. package/dist/assets/{Google-C7F2Ljnc.js → Google-CuSS9iHp.js} +1 -1
  19. package/dist/assets/{Https-Bv4vNlzR.js → Https-B3P9JJiw.js} +1 -1
  20. package/dist/assets/{InfoOutlined-BcGJkJJl.js → InfoOutlined-B4lqtuRU.js} +1 -1
  21. package/dist/assets/{InputAdornment-CELCg_HF.js → InputAdornment-BzCm_2kz.js} +1 -1
  22. package/dist/assets/{InputLabel-Cag35T0N.js → InputLabel-CdW9MyDY.js} +1 -1
  23. package/dist/assets/{LastPage-CHLGEMPh.js → LastPage-dDlMsztV.js} +1 -1
  24. package/dist/assets/{Launch-COxUNu4j.js → Launch-Dhs9Q_70.js} +1 -1
  25. package/dist/assets/{Link-BkQX3hDp.js → Link-DSNZ4PNo.js} +1 -1
  26. package/dist/assets/{LoadingButton-BeuL1wF-.js → LoadingButton-DrVP9tt_.js} +1 -1
  27. package/dist/assets/{LockIcon-D_Uy157g.js → LockIcon-BMilDbx1.js} +1 -1
  28. package/dist/assets/{Loop-Be9bzVMj.js → Loop-CAxjNyCL.js} +1 -1
  29. package/dist/assets/{MoreVert-DCY4R0I6.js → MoreVert-BL42DjcZ.js} +1 -1
  30. package/dist/assets/{Pagination-B8Go1A0z.js → Pagination-DWKt9t_F.js} +1 -1
  31. package/dist/assets/{Public-XvGsN53V.js → Public-BobH8eAT.js} +1 -1
  32. package/dist/assets/{SchemaReference.es-CnykePQs.js → SchemaReference.es-MUfmufV5.js} +1 -1
  33. package/dist/assets/{Search-DbENMUmJ.js → Search-J7ilvWof.js} +1 -1
  34. package/dist/assets/{Select-BDtCsGy7.js → Select-DJl6HmRs.js} +1 -1
  35. package/dist/assets/{Skeleton-D9CMhdYr.js → Skeleton-CSyuj2cV.js} +1 -1
  36. package/dist/assets/{Slider-zMdqR1_D.js → Slider-DRCfqhU1.js} +1 -1
  37. package/dist/assets/{Stepper-Df_RHJ43.js → Stepper-C2a4PQ3_.js} +1 -1
  38. package/dist/assets/{TextField-PSikz4cm.js → TextField-BD0it3d0.js} +1 -1
  39. package/dist/assets/{ToggleButtonGroup-Bnx6aryv.js → ToggleButtonGroup-CR3zvwUX.js} +1 -1
  40. package/dist/assets/{ViewList-B9miFzh4.js → ViewList-D3pEO1Ca.js} +1 -1
  41. package/dist/assets/{actions-BRgdN5cj.js → actions-CL-Y8Eer.js} +1 -1
  42. package/dist/assets/{actions-D5ZCmrTM.js → actions-Dx15LaaC.js} +1 -1
  43. package/dist/assets/{agreement-hUkyT-rU.js → agreement-Dd1yuqFa.js} +1 -1
  44. package/dist/assets/api-Ce74sKYG.js +1 -0
  45. package/dist/assets/{app-avatar-CxghIswG.js → app-avatar-rgMNqIXw.js} +1 -1
  46. package/dist/assets/{audit-logs-Cj79FN7v.js → audit-logs-CmuAN_qn.js} +1 -1
  47. package/dist/assets/{brace-fold.es-D8DT3AwS.js → brace-fold.es-psNZdrWu.js} +1 -1
  48. package/dist/assets/{bundle-avatar-DsCsmlpx.js → bundle-avatar-C_2wXttj.js} +1 -1
  49. package/dist/assets/{chart-CD97eKtM.js → chart-sF6tbndw.js} +1 -1
  50. package/dist/assets/{click-to-copy-BUpbo6bk.js → click-to-copy-KBQWqGOq.js} +1 -1
  51. package/dist/assets/{closebrackets.es-6cHaiFAL.js → closebrackets.es-ZHCmqLUg.js} +1 -1
  52. package/dist/assets/{codemirror.es-fM7kqYGL.js → codemirror.es-DmoQbR9T.js} +1 -1
  53. package/dist/assets/{comment.es-ug3wJMDP.js → comment.es-B7zL23d5.js} +1 -1
  54. package/dist/assets/{config-navigation-BCwYgsZE.js → config-navigation-BN7PO-cf.js} +1 -1
  55. package/dist/assets/{delete-confirm-D2bWY0RH.js → delete-confirm-ztUwg2kj.js} +1 -1
  56. package/dist/assets/{detail-C1AiJgJr.js → detail-CXbwmlpg.js} +3 -3
  57. package/dist/assets/{dialog.es-COYIW3n4.js → dialog.es-CFWHh6H2.js} +1 -1
  58. package/dist/assets/{download-Dr-5p0Eo.js → download-bWTPRaod.js} +1 -1
  59. package/dist/assets/{foldgutter.es-C-4TReDS.js → foldgutter.es-CqRhTHya.js} +1 -1
  60. package/dist/assets/getValidReactChildren-DKO9kPop.js +1 -0
  61. package/dist/assets/{hint.es-D-HPm2KF.js → hint.es-DK_6KY-o.js} +1 -1
  62. package/dist/assets/{hint.es2-RMq3iMHV.js → hint.es2-CgWo28Uj.js} +1 -1
  63. package/dist/assets/{iframe-CZCbAGTG.js → iframe-C32DbqVc.js} +1 -1
  64. package/dist/assets/{index-BWDq0v0v.js → index-84DtgjQO.js} +1 -1
  65. package/dist/assets/{index-Boh9o_k5.js → index-B0WN-XH2.js} +1 -1
  66. package/dist/assets/{index-Cqjpq5LF.js → index-B4ZjZNN8.js} +1 -1
  67. package/dist/assets/{index-CqReN4T9.js → index-BA_TAXpL.js} +1 -1
  68. package/dist/assets/{index-SNuwf_Y1.js → index-BD7uC7gm.js} +3 -3
  69. package/dist/assets/{index-By0wVBLr.js → index-BET56ssY.js} +1 -1
  70. package/dist/assets/{index-BViEd1Qy.js → index-BNulkcXj.js} +1 -1
  71. package/dist/assets/{index-B-DkREsH.js → index-BoZhSN8h.js} +1 -1
  72. package/dist/assets/{index-huf_vvxX.js → index-Bzs05ai8.js} +1 -1
  73. package/dist/assets/{index-Cl-qWd1J.js → index-C4aM6rsI.js} +1 -1
  74. package/dist/assets/index-C6fuJWed.js +262 -0
  75. package/dist/assets/{index-DFgkZLyi.js → index-CE4mBIM_.js} +1 -1
  76. package/dist/assets/{index-G8t_K0Nh.js → index-CEBXL16c.js} +1 -1
  77. package/dist/assets/{index-CfEdAej2.js → index-CYGLUEkg.js} +3 -3
  78. package/dist/assets/{index-BeUBkDTf.js → index-CYZ-ZpV5.js} +1 -1
  79. package/dist/assets/{index-B_hJh8p2.js → index-Ca7UJIsi.js} +1 -1
  80. package/dist/assets/{index-BIi9UAUe.js → index-CfOOBUnf.js} +1 -1
  81. package/dist/assets/{index-ANhJ54Qu.js → index-CiaQ1OoK.js} +1 -1
  82. package/dist/assets/{index-neNekbhs.js → index-Cj3s4CtX.js} +1 -1
  83. package/dist/assets/{index-B6qhr4Vv.js → index-CkI554oc.js} +3 -3
  84. package/dist/assets/{index-Mhb4iWrQ.js → index-Clbjq5Ay.js} +1 -1
  85. package/dist/assets/{index-D5672HTm.js → index-CsNkkebn.js} +1 -1
  86. package/dist/assets/{index-D7ku2TbR.js → index-CwOFD6vt.js} +1 -1
  87. package/dist/assets/{index-hV9d7GzX.js → index-CzZF4DJ9.js} +1 -1
  88. package/dist/assets/{index-CIFB0zK6.js → index-D2cgpNGA.js} +5 -5
  89. package/dist/assets/{index-Cs9Skmx2.js → index-D5A34D-v.js} +1 -1
  90. package/dist/assets/{index-CLjGBj9p.js → index-D9RqTndg.js} +1 -1
  91. package/dist/assets/{index-DtPnnuqa.js → index-DA4GWzzk.js} +1 -1
  92. package/dist/assets/{index-C-KUrp7f.js → index-DG50udXf.js} +1 -1
  93. package/dist/assets/{index-CqR2D9OX.js → index-DHDAQRQS.js} +1 -1
  94. package/dist/assets/{index-BLP6cSf-.js → index-DbaRhcjK.js} +1 -1
  95. package/dist/assets/{index-DWB-NUab.js → index-Dc48oA1e.js} +1 -1
  96. package/dist/assets/{index-Bq_hHWAs.js → index-DeSsBKwN.js} +1 -1
  97. package/dist/assets/{index-Y-bwPY_P.js → index-Dlmo3B4P.js} +1 -1
  98. package/dist/assets/{index-CzRGlzNy.js → index-DoYPOJLK.js} +31 -31
  99. package/dist/assets/{index-Bgy25Yn1.js → index-DuHl-QWf.js} +1 -1
  100. package/dist/assets/{index-C9crSSRz.js → index-HMFhZkjG.js} +1 -1
  101. package/dist/assets/{index-BIT8HWlC.js → index-aVpXIXlo.js} +1 -1
  102. package/dist/assets/{index-3VaCz9mt.js → index-dQw_Q0Sx.js} +1 -1
  103. package/dist/assets/{index-DiW4LiJk.js → index-lXzOGnDm.js} +1 -1
  104. package/dist/assets/{index-oNZ-9nMm.js → index-lfuZxoX8.js} +1 -1
  105. package/dist/assets/{index-BR6wAIPR.js → index-owRl0jyR.js} +1 -1
  106. package/dist/assets/{index-BdfhWOrS.js → index-sNR67yJ2.js} +1 -1
  107. package/dist/assets/{index.es-CCaw5_ry.js → index.es-r9xAwx7Q.js} +1 -1
  108. package/dist/assets/{index.esm-Dh5y71gJ.js → index.esm-BCQ0BZMT.js} +1 -1
  109. package/dist/assets/{info-addon.es-C41XU5oD.js → info-addon.es-BDFdJmkW.js} +1 -1
  110. package/dist/assets/{info.es-DH9xH_89.js → info.es-CBadJSwW.js} +1 -1
  111. package/dist/assets/{install-from-url-C-r4nFEl.js → install-from-url-DuxahkOW.js} +1 -1
  112. package/dist/assets/{invitation-DAmBegDM.js → invitation-CSvGVnhZ.js} +1 -1
  113. package/dist/assets/{isEqual-DyC_2mMM.js → isEqual-DLk5wI5o.js} +1 -1
  114. package/dist/assets/{item-DTFWXAzg.js → item-Bv034Zcl.js} +1 -1
  115. package/dist/assets/{javascript.es-BNAO-PTr.js → javascript.es-Bq6krn1L.js} +1 -1
  116. package/dist/assets/{jump-to-line.es-BgSBJjpn.js → jump-to-line.es-Cm-kakdo.js} +1 -1
  117. package/dist/assets/{jump.es-C8STSrV8.js → jump.es-VEZCju5l.js} +1 -1
  118. package/dist/assets/{line-3blIv37C.js → line-VNmgswg2.js} +3 -3
  119. package/dist/assets/{lint.es-C9oc6jbS.js → lint.es-DhrBN362.js} +1 -1
  120. package/dist/assets/{lint.es2-B3G36s6A.js → lint.es2-CWQYXYDN.js} +1 -1
  121. package/dist/assets/{lint.es3-Bjrk4lMs.js → lint.es3-HsrZT9m1.js} +1 -1
  122. package/dist/assets/{list-header-Ft6n4kyL.js → list-header-DsWkp7IV.js} +1 -1
  123. package/dist/assets/{log-CA5Bfm_H.js → log-DgVRxyob.js} +1 -1
  124. package/dist/assets/{lottie-Djo2tbD7.js → lottie-CYf1PmCL.js} +1 -1
  125. package/dist/assets/{matchbrackets.es-yNyePD2j.js → matchbrackets.es-BthTk6Jn.js} +1 -1
  126. package/dist/assets/{memory-COJcMqTu.js → memory-dGmMptAO.js} +1 -1
  127. package/dist/assets/{mode.es-ul4Y9zvq.js → mode.es-_GdTPtpx.js} +1 -1
  128. package/dist/assets/{mode.es2-4D-VJI99.js → mode.es2-brmgogqJ.js} +1 -1
  129. package/dist/assets/{mode.es3-DnIPUjSA.js → mode.es3-DPGB-Rg-.js} +1 -1
  130. package/dist/assets/{onlineParser.es-DI_N_VZ6.js → onlineParser.es-BUsBjG_x.js} +1 -1
  131. package/dist/assets/{overview-CpWhs8pb.js → overview-BjqHXIvR.js} +1 -1
  132. package/dist/assets/{react-B-cs_65i.js → react-B-xa5K3p.js} +3 -3
  133. package/dist/assets/{redux-DJbvHHJc.js → redux-BBckwmBz.js} +1 -1
  134. package/dist/assets/{resource-dialog-Dwu2vad3.js → resource-dialog-CIpxrG7w.js} +1 -1
  135. package/dist/assets/{runtime-DlE-mVl3.js → runtime-mnz4kggA.js} +1 -1
  136. package/dist/assets/{search.es-DEvV0pC4.js → search.es-CV0d4AUV.js} +1 -1
  137. package/dist/assets/{searchcursor.es-CbJjnyZ6.js → searchcursor.es-CxYOh1mB.js} +1 -1
  138. package/dist/assets/service-DbM6n6e-.js +1 -0
  139. package/dist/assets/{show-hint.es-BAvfzA33.js → show-hint.es-GDHMVUwy.js} +1 -1
  140. package/dist/assets/{slicedToArray-DXz7P6Jc.js → slicedToArray-Pwxti1pp.js} +1 -1
  141. package/dist/assets/{spaces-C_MVXqkk.js → spaces-3s9pbV-M.js} +1 -1
  142. package/dist/assets/{sublime.es-DEVL-EBh.js → sublime.es-BiX2tLa_.js} +1 -1
  143. package/dist/assets/{switch-control-CoAFfWfN.js → switch-control-1CHbJzd5.js} +1 -1
  144. package/dist/assets/{table-icons-D2RHWn5N.js → table-icons-DjAM1A7C.js} +1 -1
  145. package/dist/assets/{tag-CibAXXt2.js → tag-CdoBHuxB.js} +1 -1
  146. package/dist/assets/{team-hCJdZoCR.js → team-CrNp0IgF.js} +1 -1
  147. package/dist/assets/{toUpper-DN83jaGL.js → toUpper-C7enqaxL.js} +1 -1
  148. package/dist/assets/{traffic-CpCVERHX.js → traffic-Bw_e_wEP.js} +1 -1
  149. package/dist/assets/{url-evaluation-CpLQCS2C.js → url-evaluation-asC5XTLH.js} +1 -1
  150. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-ADtRY_BA.js → use-blocklet-info-for-connect-did-spaces-R82fq7SC.js} +1 -1
  151. package/dist/assets/{useLocalStorage-Dhldbzlz.js → useLocalStorage-DRS65jti.js} +1 -1
  152. package/dist/assets/{util-BSjBcY1Q.js → util-BC42zb0j.js} +1 -1
  153. package/dist/assets/{wait-container-CrBtw_vv.js → wait-container-DzvlQJkQ.js} +1 -1
  154. package/dist/assets/{withStyles-BhZN297l.js → withStyles-CPWhmxGn.js} +1 -1
  155. package/dist/assets/{wrap-locale-CA8TyTj3.js → wrap-locale-p7nrsckq.js} +1 -1
  156. package/dist/index.html +1 -1
  157. package/dist/service-worker.js +1 -1
  158. package/package.json +1 -1
  159. package/dist/assets/api-D8MiIqQL.js +0 -1
  160. package/dist/assets/getValidReactChildren-8XnhSvA9.js +0 -1
  161. package/dist/assets/index-B5LCLWLI.js +0 -262
  162. package/dist/assets/service-CmT6d4X_.js +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__fileDeps=["./index-Cqjpq5LF.js","./index-D9k2I5J1.js","./index-B_hJh8p2.js","./click-to-copy-BUpbo6bk.js","./withStyles-BhZN297l.js","./index-BeUBkDTf.js","./useLocalStorage-Dhldbzlz.js","./index-neNekbhs.js","./FilterList-dxewgEr3.js","./Select-BDtCsGy7.js","./Delete-DDy4lv2l.js","./InputLabel-Cag35T0N.js","./TextField-PSikz4cm.js","./LastPage-CHLGEMPh.js","./index-BIT8HWlC.js","./redux-DJbvHHJc.js","./Search-DbENMUmJ.js","./index-BIi9UAUe.js","./MoreVert-DCY4R0I6.js","./url-evaluation-CpLQCS2C.js","./tag-CibAXXt2.js","./actions-D5ZCmrTM.js","./ButtonGroup-B4i-HvgZ.js","./getValidReactChildren-8XnhSvA9.js","./index-Bgy25Yn1.js","./isEqual-DyC_2mMM.js","./install-from-url-C-r4nFEl.js","./Stepper-Df_RHJ43.js","./app-avatar-CxghIswG.js","./Add-BxRt9WAM.js","./index-Bq_hHWAs.js","./index-C9crSSRz.js","./index-D5672HTm.js","./Skeleton-D9CMhdYr.js","./Close-TuMd444H.js","./lottie-Djo2tbD7.js","./wait-container-CrBtw_vv.js","./Launch-COxUNu4j.js","./DeleteOutline-5zk5MLVr.js","./spaces-C_MVXqkk.js","./api-D8MiIqQL.js","./index-CLjGBj9p.js","./item-DTFWXAzg.js","./index-Mhb4iWrQ.js","./index-BdfhWOrS.js","./InputAdornment-CELCg_HF.js","./preact.module-B1z5cdvs.js","./Done-DZAunZvS.js","./delete-confirm-D2bWY0RH.js","./item-CxkJY_14.css","./ArrowDropDown-BDCD7rfw.js","./Breadcrumbs-BTPbI2mY.js","./index-BR6wAIPR.js","./index-BViEd1Qy.js","./index.esm-Dh5y71gJ.js","./switch-control-CoAFfWfN.js","./Link-BkQX3hDp.js","./logo-BKA11TRi.js","./LoadingButton-BeuL1wF-.js","./Public-XvGsN53V.js","./InfoOutlined-BcGJkJJl.js","./CheckCircle-DO-RcLP9.js","./ChevronRight-CFOkpNut.js","./Edit-CGEHojUC.js","./Https-Bv4vNlzR.js","./Slider-zMdqR1_D.js","./index-hV9d7GzX.js","./download-Dr-5p0Eo.js","./download-D33dFtt_.css","./index-DtPnnuqa.js","./audit-logs-Cj79FN7v.js","./index-Cs9Skmx2.js","./index-D4PP6P2d.css","./Pagination-B8Go1A0z.js","./index-DiW4LiJk.js","./index-DFgkZLyi.js","./Loop-Be9bzVMj.js","./ViewList-B9miFzh4.js","./list-header-Ft6n4kyL.js","./index-DWB-NUab.js","./resource-dialog-Dwu2vad3.js","./index-B-DkREsH.js","./team-hCJdZoCR.js","./actions-BRgdN5cj.js","./index-BWDq0v0v.js","./EditIcon-BylMjCE4.js","./LockIcon-D_Uy157g.js","./Google-C7F2Ljnc.js","./ToggleButtonGroup-Bnx6aryv.js","./detail-C1AiJgJr.js","./index-3VaCz9mt.js","./index-BLP6cSf-.js","./invitation-DAmBegDM.js","./index-CqReN4T9.js","./index-By0wVBLr.js","./wrap-locale-CA8TyTj3.js","./index-CfEdAej2.js","./index-Y-bwPY_P.js","./index-C-KUrp7f.js","./agreement-hUkyT-rU.js","./index-Boh9o_k5.js","./index-CqR2D9OX.js","./index-CIFB0zK6.js","./index-C7igR7se.css","./index-oNZ-9nMm.js","./traffic-CpCVERHX.js","./iframe-CZCbAGTG.js","./ChevronLeft-DF7lcjk8.js","./chart-CD97eKtM.js","./bundle-avatar-DsCsmlpx.js","./memory-COJcMqTu.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
1
+ const __vite__fileDeps=["./index-B4ZjZNN8.js","./index-D9k2I5J1.js","./index-Ca7UJIsi.js","./click-to-copy-KBQWqGOq.js","./withStyles-CPWhmxGn.js","./index-CYZ-ZpV5.js","./useLocalStorage-DRS65jti.js","./index-Cj3s4CtX.js","./FilterList-RGEuYf_e.js","./Select-DJl6HmRs.js","./Delete-BGOcGa_D.js","./InputLabel-CdW9MyDY.js","./TextField-BD0it3d0.js","./LastPage-dDlMsztV.js","./index-aVpXIXlo.js","./redux-BBckwmBz.js","./Search-J7ilvWof.js","./index-CfOOBUnf.js","./MoreVert-BL42DjcZ.js","./url-evaluation-asC5XTLH.js","./tag-CdoBHuxB.js","./actions-Dx15LaaC.js","./ButtonGroup-BbRXyWVe.js","./getValidReactChildren-DKO9kPop.js","./index-DuHl-QWf.js","./isEqual-DLk5wI5o.js","./install-from-url-DuxahkOW.js","./Stepper-C2a4PQ3_.js","./app-avatar-rgMNqIXw.js","./Add-DEou6OQu.js","./index-DeSsBKwN.js","./index-HMFhZkjG.js","./index-CsNkkebn.js","./Skeleton-CSyuj2cV.js","./Close-DGnER_ve.js","./lottie-CYf1PmCL.js","./wait-container-DzvlQJkQ.js","./Launch-Dhs9Q_70.js","./DeleteOutline-C7JmRduW.js","./spaces-3s9pbV-M.js","./api-Ce74sKYG.js","./index-D9RqTndg.js","./item-Bv034Zcl.js","./index-Clbjq5Ay.js","./index-sNR67yJ2.js","./InputAdornment-BzCm_2kz.js","./preact.module-B1z5cdvs.js","./Done-CydSjSOx.js","./delete-confirm-ztUwg2kj.js","./item-CxkJY_14.css","./ArrowDropDown-B8q6yJii.js","./Breadcrumbs--9MrOMZw.js","./index-owRl0jyR.js","./index-BNulkcXj.js","./index.esm-BCQ0BZMT.js","./switch-control-1CHbJzd5.js","./Link-DSNZ4PNo.js","./logo-BKA11TRi.js","./LoadingButton-DrVP9tt_.js","./Public-BobH8eAT.js","./InfoOutlined-B4lqtuRU.js","./CheckCircle-D6vwJd9K.js","./ChevronRight-Bcko4z80.js","./Edit-B0yxTPMe.js","./Https-B3P9JJiw.js","./Slider-DRCfqhU1.js","./index-CzZF4DJ9.js","./download-bWTPRaod.js","./download-D33dFtt_.css","./index-DA4GWzzk.js","./audit-logs-CmuAN_qn.js","./index-D5A34D-v.js","./index-D4PP6P2d.css","./Pagination-DWKt9t_F.js","./index-lXzOGnDm.js","./index-CE4mBIM_.js","./Loop-CAxjNyCL.js","./ViewList-D3pEO1Ca.js","./list-header-DsWkp7IV.js","./index-Dc48oA1e.js","./resource-dialog-CIpxrG7w.js","./index-BoZhSN8h.js","./team-CrNp0IgF.js","./actions-CL-Y8Eer.js","./index-84DtgjQO.js","./EditIcon-CF5y6ttj.js","./LockIcon-BMilDbx1.js","./Google-CuSS9iHp.js","./ToggleButtonGroup-CR3zvwUX.js","./detail-CXbwmlpg.js","./index-dQw_Q0Sx.js","./index-DbaRhcjK.js","./invitation-CSvGVnhZ.js","./index-BA_TAXpL.js","./index-BET56ssY.js","./wrap-locale-p7nrsckq.js","./index-CYGLUEkg.js","./index-Dlmo3B4P.js","./index-DG50udXf.js","./agreement-Dd1yuqFa.js","./index-B0WN-XH2.js","./index-DHDAQRQS.js","./index-D2cgpNGA.js","./index-C7igR7se.css","./index-lfuZxoX8.js","./traffic-Bw_e_wEP.js","./iframe-C32DbqVc.js","./ChevronLeft-Bc2acyen.js","./chart-sF6tbndw.js","./bundle-avatar-C_2wXttj.js","./memory-dGmMptAO.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2
2
  function VW(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ht(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fi(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var zW={exports:{}},e4={},HW={exports:{}},qn={};/**
3
3
  * @license React
4
4
  * react.production.min.js
@@ -1523,7 +1523,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1523
1523
  box-shadow: none;
1524
1524
  background-color: rgba(0, 0, 0, 0.12) !important;
1525
1525
  }
1526
- `;function Jwt(){const{t:e}=po(),{info:t={},api:n}=_l(),[r,i]=U.useState(),{status:o}=t;U.useEffect(()=>{o===mn.SERVER_STATUS.START_FROM_CRASH&&(i(!0),n.resetNodeStatus().catch(s=>{console.error(s.message)}))},[o]);const a=()=>{i(!1)};return r?I.jsx(eL,{description:e("dashboard.startFromCrashTip"),confirm:e("common.confirm"),showCancel:!1,color:"primary",onConfirm:a}):null}function Ywt({error:e,resetErrorBoundary:t}){return I.jsx(na,{children:I.jsxs(nk,{severity:"error",action:I.jsx(Ds,{onClick:t,color:"secondary",variant:"outlined",children:"Reload"}),style:{minWidth:480},children:[I.jsx(IEe,{children:"Oops, this application crashed"}),I.jsx(Zt,{children:e.message})]})})}var Zwt=og;og.flatten=og;og.unflatten=rle;function tle(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function nle(e){return e}function og(e,t){t=t||{};const n=t.delimiter||".",r=t.maxDepth,i=t.transformKey||nle,o={};function a(s,l,c){c=c||1,Object.keys(s).forEach(function(u){const d=s[u],p=t.safe&&Array.isArray(d),g=Object.prototype.toString.call(d),v=tle(d),b=g==="[object Object]"||g==="[object Array]",C=l?l+n+i(u):i(u);if(!p&&!v&&b&&Object.keys(d).length&&(!t.maxDepth||c<r))return a(d,C,c+1);o[C]=d})}return a(e),o}function rle(e,t){t=t||{};const n=t.delimiter||".",r=t.overwrite||!1,i=t.transformKey||nle,o={};if(tle(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function s(u){const d=Number(u);return isNaN(d)||u.indexOf(".")!==-1||t.object?u:d}function l(u,d,p){return Object.keys(p).reduce(function(g,v){return g[u+n+v]=p[v],g},d)}function c(u){const d=Object.prototype.toString.call(u),p=d==="[object Array]",g=d==="[object Object]";if(u){if(p)return!u.length;if(g)return!Object.keys(u).length}else return!0}return e=Object.keys(e).reduce(function(u,d){const p=Object.prototype.toString.call(e[d]);return!(p==="[object Object]"||p==="[object Array]")||c(e[d])?(u[d]=e[d],u):l(d,u,og(e[d],t))},{}),Object.keys(e).forEach(function(u){const d=u.split(n).map(i);let p=s(d.shift()),g=s(d[0]),v=o;for(;g!==void 0;){if(p==="__proto__")return;const b=Object.prototype.toString.call(v[p]),C=b==="[object Object]"||b==="[object Array]";if(!r&&!C&&typeof v[p]<"u")return;(r&&!C||!r&&v[p]==null)&&(v[p]=typeof g=="number"&&!t.object?[]:{}),v=v[p],d.length>0&&(p=s(d.shift()),g=s(d[0]))}v[p]=rle(e[u],t)}),o}const ile=Ht(Zwt);var Xwt=RO,Qwt=use,eTt=Qwt(function(e,t,n){Xwt(e,t,n)}),tTt=eTt;const ole=Ht(tTt),nTt={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"}},acceptServer:{title:"Claim Server with Ownership NFT",tooltip:"If you received a server ownership nft, you can claim your owner passport with this link."},exchangePassport:{title:"Exchange Passport with NFT",success:"You have successfully exchanged 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:"Exchange 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"},common:{invalid:"Invalid",about:"About",access:"Access",accessKey:"Access Keys",action:"Action",actions:"Actions",add:"Add",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",collapseAll:"Collapse All",community:"Community",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",uploadToStore:"Upload to Store",connectToStore:"Connect to Store",blockletStudio:"Studio",upload:"Upload",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",management:"Management",os:"Operating System",overview:"Overview",owner:"Owner",page404:"404 Page",passport:"Passport",permission:"Permission",port:"Port",pre:"Previous",preferences:"Preferences",preview:"Preview",protected:"Protected",protocol:"Protocol",purchase:"Purchase",reconnect:"Reconnect",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:"Screenshot",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",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",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"},blocklet:{external:"External",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 160 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",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",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",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:{ttl:"Login session validity period (user will be asked to login again if they have no activity on this site for {day} days)",day:"{day} day",days:"{day} days"},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"}},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",isFree:"You can use <b>{name}</b> as a component for free;",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:{branding:"Branding",brandingHelp:"More information about the blocklet will be displayed in the Store",download:"Download {name}",delete:"Delete {name}",copyInstallUrl:"Copy Install URL",createResource:"Create Resource",blockletStudio:"Blocklet Studio",tenantScope:"Tenant",addResource:"Add Blocklet",productTitle:"Product",versionTitle:"Versioning",imgTitle:"Images",resourceTitle:"Resources",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?",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:"New 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:"Why can't I see this blocklet in the Store?",whyCantSeeResourceBlockletInStore:"Why can't I see this Resource Blocklet in the Store?",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 the resource to be associated",noDescription:"Blocklet Description is required",noNote:"Release Note is required"},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"},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"},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}"},register:{titleAdded:"Added to Blocklet Launcher",title:"Add to Blocklet Launcher",description:"Once added, you can launch blocklets to this blocklet server from {url}.",descriptionOnAdded:"you can launch blocklets to this blocklet server from {url}.",btn:"Add",update:"Update",added:"Added",addSucceed:"Add succeed",updateSucceed:"Update succeed",detecting:"Detecting",timeout:"Detection timeout, please check if the blocklet launcher is started"},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"},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",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 it now!"},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:{status:{true:"Enabled",false:"Disabled"},switchLabel:"Request Limit",rate:"Request Limit({rate} Request/Second)",ipHeaderLabel:"Customize client IP header(Optional)",ipHeaderDesc:"If the Blocklet Server is running behind some proxies, you can set the header of the client's real IP here. Optional, leave empty to use default."},cacheEnabled:{switchLabel:"Enable Gateway Cache"}}},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:{invite:"Invite New",add:"Add New",member:{name:"Name",passport:"Passport",passports:"Passports",lastLogin:"Last Login",lastLoginIp:"Last Login IP",source:"Register Source",source_derived:"Derived from oauth",source_wallet:"DID Wallet",filter:"Filter by",forbidLogin:"Forbid Login",forbidLoginDescription:"The user will not be able to connect to this application",allowLogin:"Allow Login",allowLoginDescription:"The user will be able to connect to this application",updateRole:"Update Role",deleteUser:"Delete User",deleteUserDescription:'Confirm delete user "{name}"?',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",hideBlockedMember:"Hide Unapproved Members",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>
1526
+ `;function Jwt(){const{t:e}=po(),{info:t={},api:n}=_l(),[r,i]=U.useState(),{status:o}=t;U.useEffect(()=>{o===mn.SERVER_STATUS.START_FROM_CRASH&&(i(!0),n.resetNodeStatus().catch(s=>{console.error(s.message)}))},[o]);const a=()=>{i(!1)};return r?I.jsx(eL,{description:e("dashboard.startFromCrashTip"),confirm:e("common.confirm"),showCancel:!1,color:"primary",onConfirm:a}):null}function Ywt({error:e,resetErrorBoundary:t}){return I.jsx(na,{children:I.jsxs(nk,{severity:"error",action:I.jsx(Ds,{onClick:t,color:"secondary",variant:"outlined",children:"Reload"}),style:{minWidth:480},children:[I.jsx(IEe,{children:"Oops, this application crashed"}),I.jsx(Zt,{children:e.message})]})})}var Zwt=og;og.flatten=og;og.unflatten=rle;function tle(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function nle(e){return e}function og(e,t){t=t||{};const n=t.delimiter||".",r=t.maxDepth,i=t.transformKey||nle,o={};function a(s,l,c){c=c||1,Object.keys(s).forEach(function(u){const d=s[u],p=t.safe&&Array.isArray(d),g=Object.prototype.toString.call(d),v=tle(d),b=g==="[object Object]"||g==="[object Array]",C=l?l+n+i(u):i(u);if(!p&&!v&&b&&Object.keys(d).length&&(!t.maxDepth||c<r))return a(d,C,c+1);o[C]=d})}return a(e),o}function rle(e,t){t=t||{};const n=t.delimiter||".",r=t.overwrite||!1,i=t.transformKey||nle,o={};if(tle(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function s(u){const d=Number(u);return isNaN(d)||u.indexOf(".")!==-1||t.object?u:d}function l(u,d,p){return Object.keys(p).reduce(function(g,v){return g[u+n+v]=p[v],g},d)}function c(u){const d=Object.prototype.toString.call(u),p=d==="[object Array]",g=d==="[object Object]";if(u){if(p)return!u.length;if(g)return!Object.keys(u).length}else return!0}return e=Object.keys(e).reduce(function(u,d){const p=Object.prototype.toString.call(e[d]);return!(p==="[object Object]"||p==="[object Array]")||c(e[d])?(u[d]=e[d],u):l(d,u,og(e[d],t))},{}),Object.keys(e).forEach(function(u){const d=u.split(n).map(i);let p=s(d.shift()),g=s(d[0]),v=o;for(;g!==void 0;){if(p==="__proto__")return;const b=Object.prototype.toString.call(v[p]),C=b==="[object Object]"||b==="[object Array]";if(!r&&!C&&typeof v[p]<"u")return;(r&&!C||!r&&v[p]==null)&&(v[p]=typeof g=="number"&&!t.object?[]:{}),v=v[p],d.length>0&&(p=s(d.shift()),g=s(d[0]))}v[p]=rle(e[u],t)}),o}const ile=Ht(Zwt);var Xwt=RO,Qwt=use,eTt=Qwt(function(e,t,n){Xwt(e,t,n)}),tTt=eTt;const ole=Ht(tTt),nTt={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"}},acceptServer:{title:"Claim Server with Ownership NFT",tooltip:"If you received a server ownership nft, you can claim your owner passport with this link."},exchangePassport:{title:"Exchange Passport with NFT",success:"You have successfully exchanged 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:"Exchange 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"},common:{invalid:"Invalid",about:"About",access:"Access",accessKey:"Access Keys",action:"Action",actions:"Actions",add:"Add",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",collapseAll:"Collapse All",community:"Community",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",uploadToStore:"Upload to Store",connectToStore:"Connect to Store",blockletStudio:"Studio",upload:"Upload",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",management:"Management",os:"Operating System",overview:"Overview",owner:"Owner",page404:"404 Page",passport:"Passport",permission:"Permission",port:"Port",pre:"Previous",preferences:"Preferences",preview:"Preview",protected:"Protected",protocol:"Protocol",purchase:"Purchase",reconnect:"Reconnect",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:"Screenshot",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",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",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"},blocklet:{external:"External",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 160 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",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",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",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:{ttl:"Login session validity period (user will be asked to login again if they have no activity on this site for {day} days)",day:"{day} day",days:"{day} days"},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"}},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",isFree:"You can use <b>{name}</b> as a component for free;",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:{branding:"Branding",brandingHelp:"More information about the blocklet will be displayed in the Store",download:"Download {name}",delete:"Delete {name}",copyInstallUrl:"Copy Install URL",createResource:"Create Resource",blockletStudio:"Blocklet Studio",tenantScope:"Tenant",addResource:"Add Blocklet",productTitle:"Product",versionTitle:"Versioning",imgTitle:"Images",resourceTitle:"Resources",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?",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:"New 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:"Why can't I see this blocklet in the Store?",whyCantSeeResourceBlockletInStore:"Why can't I see this Resource Blocklet in the Store?",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 the resource to be associated",noDescription:"Blocklet Description is required",noNote:"Release Note is required"},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"},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"},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}"},register:{titleAdded:"Added to Blocklet Launcher",title:"Add to Blocklet Launcher",description:"Once added, you can launch blocklets to this blocklet server from {url}.",descriptionOnAdded:"you can launch blocklets to this blocklet server from {url}.",btn:"Add",update:"Update",added:"Added",addSucceed:"Add succeed",updateSucceed:"Update succeed",detecting:"Detecting",timeout:"Detection timeout, please check if the blocklet launcher is started"},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",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 it now!"},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:{status:{true:"Enabled",false:"Disabled"},switchLabel:"Request Limit",rate:"Request Limit({rate} Request/Second)",ipHeaderLabel:"Customize client IP header(Optional)",ipHeaderDesc:"If the Blocklet Server is running behind some proxies, you can set the header of the client's real IP here. Optional, leave empty to use default."},cacheEnabled:{switchLabel:"Enable Gateway Cache"}}},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:{invite:"Invite New",add:"Add New",member:{name:"Name",passport:"Passport",passports:"Passports",lastLogin:"Last Login",lastLoginIp:"Last Login IP",source:"Register Source",source_derived:"Derived from oauth",source_wallet:"DID Wallet",filter:"Filter by",forbidLogin:"Forbid Login",forbidLoginDescription:"The user will not be able to connect to this application",allowLogin:"Allow Login",allowLoginDescription:"The user will be able to connect to this application",updateRole:"Update Role",deleteUser:"Delete User",deleteUserDescription:'Confirm delete user "{name}"?',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",hideBlockedMember:"Hide Unapproved Members",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>
1527
1527
  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:"Since NFT Purchase",ttlExchange:"Since Passport Exchange",ttlNeverTip:"The passport will be valid until revoked",ttlMintTip:"The passport will be valid since the NFT is purchased until you specified ttl or revoke",ttlExchangeTip:"The passport will be valid since 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}"},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:{forbidLogin:"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:"Resource Blocklet cannot be installed as an application, you can mount this blocklet into existing applications."},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",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"},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:{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:"Please connect your DID Spaces",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"}}},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",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"},optionsOrder:{1:"Option One",2:"Option Two"}},rTt={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"}},bo=e=>ile(ole(...e)),iTt={en:ile(ole(nTt,rTt)),ar:async()=>{const e=await Promise.all([hn(()=>import("./ar-DXpJw3XU.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./ar-DEFG_HSF.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},de:async()=>{const e=await Promise.all([hn(()=>import("./de-CWxlIdre.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./de-BXx5XWMv.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},es:async()=>{const e=await Promise.all([hn(()=>import("./es-BmrvDK07.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./es-dYDfzHE0.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},fr:async()=>{const e=await Promise.all([hn(()=>import("./fr-B7SxgRy3.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./fr-DGLilU-8.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},hi:async()=>{const e=await Promise.all([hn(()=>import("./hi-BRRtNIB_.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./hi-EiYI5FnU.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},id:async()=>{const e=await Promise.all([hn(()=>import("./id-D6-Qi7Q1.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./id-BHuBzbF-.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},ja:async()=>{const e=await Promise.all([hn(()=>import("./ja--dtwu5Xy.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./ja-BeNRi6CF.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},ko:async()=>{const e=await Promise.all([hn(()=>import("./ko-DpRJDWhF.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./ko-BGPBfmUw.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},pt:async()=>{const e=await Promise.all([hn(()=>import("./pt-BxA88dKG.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./pt-BmW9xdbz.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},ru:async()=>{const e=await Promise.all([hn(()=>import("./ru-C9WJaQoQ.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./ru-DufkUHOM.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},th:async()=>{const e=await Promise.all([hn(()=>import("./th-z7LSYRZi.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./th-Dl-J4TkD.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},vi:async()=>{const e=await Promise.all([hn(()=>import("./vi-CAtyUyNW.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./vi-BMeJuBa9.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},zh:async()=>{const e=await Promise.all([hn(()=>import("./zh-BVBeddUa.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./zh-BDoN11lM.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)},"zh-TW":async()=>{const e=await Promise.all([hn(()=>import("./zh-tw-CoStw7dd.js"),[],import.meta.url).then(t=>t.default),hn(()=>import("./zh-tw-Dg9g_7UM.js"),[],import.meta.url).then(t=>t.default)]);return bo(e)}},d1=P7({typography:{fontSize:14,button:{textTransform:"none"}},overrides:{MuiTableRow:{root:{"&:nth-child(even)":{backgroundColor:"rgba(0, 0, 0, 0.02)"}},head:{backgroundColor:"transparent"}}},palette:{primary:{main:"#1DC1C7",contrastText:"#fff"}},breakpoints:{values:{xs:0,sm:600,md:960,lg:1280,xl:1920}}}),oTt=pu`
1528
1528
  a {
1529
1529
  color: ${o3.A700};
@@ -2514,4 +2514,4 @@ ${r}
2514
2514
  ${e=>e.scrollable?"":"overflow: hidden"};
2515
2515
  }
2516
2516
  `;function b8t(){const{t:e}=po(),{session:t}=x0(),{info:n,refresh:r}=_l();return Ji(ei.TeamEvents.userUpdated,({teamDid:i,user:o})=>{i===n.did&&o&&!o.approved&&t&&t.user&&t.user.did===o.did&&(ui.warning(e("session.forbidLogin"),{autoHideDuration:10*1e3}),t.logout())}),Ji(mn.EVENTS.NOTIFICATION_CREATE,i=>{i.entityType==="node"&&r({silent:!0})}),Ji(mn.EVENTS.NODE_UPDATED,()=>{r({silent:!0})}),null}var Cs={},w8t=sie;function T8t(e){return e&&e.length?w8t(e):[]}var zle=T8t;const YEt=Ht(zle);class x8t{constructor(t){this.value=t,this.next=void 0}}let S8t=class{constructor(){this.clear()}enqueue(t){const n=new x8t(t);this._head?(this._tail.next=n,this._tail=n):(this._head=n,this._tail=n),this._size++}dequeue(){const t=this._head;if(t)return this._head=this._head.next,this._size--,t.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let t=this._head;for(;t;)yield t.value,t=t.next}};var _8t=S8t;const E8t=_8t,C8t=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");const t=new E8t;let n=0;const r=()=>{n--,t.size>0&&t.dequeue()()},i=async(s,l,...c)=>{n++;const u=(async()=>s(...c))();l(u);try{await u}catch{}r()},o=(s,l,...c)=>{t.enqueue(i.bind(null,s,l,...c)),(async()=>(await Promise.resolve(),n<e&&t.size>0&&t.dequeue()()))()},a=(s,...l)=>new Promise(c=>{o(s,c,...l)});return Object.defineProperties(a,{activeCount:{get:()=>n},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),a};var A8t=C8t,Hle={},Ri={};Ri.endianness=function(){return"LE"};Ri.hostname=function(){return typeof location<"u"?location.hostname:""};Ri.loadavg=function(){return[]};Ri.uptime=function(){return 0};Ri.freemem=function(){return Number.MAX_VALUE};Ri.totalmem=function(){return Number.MAX_VALUE};Ri.cpus=function(){return[]};Ri.type=function(){return"Browser"};Ri.release=function(){return typeof navigator<"u"?navigator.appVersion:""};Ri.networkInterfaces=Ri.getNetworkInterfaces=function(){return{}};Ri.arch=function(){return"javascript"};Ri.platform=function(){return"browser"};Ri.tmpdir=Ri.tmpDir=function(){return"/tmp"};Ri.EOL=`
2517
- `;Ri.homedir=function(){return"/"};(function(e){var t=ht&&ht.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(e,"__esModule",{value:!0}),e.hasMountPoint=e.hasStartEngine=e.isEngineBlocklet=e.isPackBlocklet=e.isGatewayBlocklet=e.getBlockletEngine=void 0;const n=t(Ri),r=ei,i=u=>{if(u===void 0)throw new Error("blocklet meta param is required");const{engine:d}=u;if(!d)return{interpreter:"node",source:""};if(!Array.isArray(d))return d;const p=n.default.platform(),g=d.find(v=>v.platform===p);if(!g)throw new Error(`can not find a proper engine interpreter on ${p}`);return g};e.getBlockletEngine=i;const o=u=>(u==null?void 0:u.group)===r.BlockletGroup.gateway;e.isGatewayBlocklet=o;const a=u=>(u==null?void 0:u.group)===r.BlockletGroup.pack;e.isPackBlocklet=a;const s=u=>(u==null?void 0:u.group)===r.BlockletGroup.engine;e.isEngineBlocklet=s;const l=u=>!!(u!=null&&u.main)||(0,e.getBlockletEngine)(u||{}).interpreter==="blocklet";e.hasStartEngine=l;const c=u=>((0,e.hasStartEngine)(u)||((u==null?void 0:u.interfaces)||[]).find(d=>d.type===r.BLOCKLET_INTERFACE_TYPE_WEB))&&(0,e.isEngineBlocklet)(u)===!1&&(0,e.isGatewayBlocklet)(u)===!1;e.hasMountPoint=c})(Hle);(function(e){var t=ht&&ht.__importDefault||function(te){return te&&te.__esModule?te:{default:te}};Object.defineProperty(e,"__esModule",{value:!0}),e.isEngineBlocklet=e.isGatewayBlocklet=e.isAccessible=e.isRunning=e.isBeforeInstalled=e.isInProgress=e.getBlockletServices=e.getBlockletAppIdList=e.getRolesFromAuthConfig=e.isPreferenceKey=e.isExternalBlocklet=e.getBlockletChainInfo=e.getChainInfo=e.getConnectAppUrl=e.getParentComponentName=e.filterComponentsV2=e.findComponentByIdV2=e.findComponentV2=e.findComponentById=e.findComponent=e.getComponentBundleId=e.getComponentName=e.getComponentId=e.replaceSlotToIp=e.getComponentWhoCanAccess=e.getWhoCanAccess=e.findServiceFromMeta=e.findWebInterfacePort=e.findWebInterface=e.fixBlockletStatus=e.getAppDescription=e.getDisplayName=e.getAppName=e.hasRunnableComponent=e.wipeSensitiveData=e.isEnvShareable=e.isEnvShareableToClient=e.getComponentMissingConfigs=e.getAppMissingConfigs=e.getSharedConfigObj=e.isDeletableBlocklet=e.forEachComponentV2Sync=e.forEachComponentV2=e.forEachChildSync=e.forEachChild=e.forEachBlockletSync=e.forEachBlocklet=e.isFreeComponent=e.isFreeBlocklet=e.getAppUrl=void 0,e.hasResourceType=e.hasStartEngine=e.isPackBlocklet=void 0;const n=t(h6),r=t(zle),i=t(Wre),o=t(A8t),a=t(mn),s=ei,l=Hle;Object.defineProperty(e,"hasStartEngine",{enumerable:!0,get:function(){return l.hasStartEngine}}),Object.defineProperty(e,"isEngineBlocklet",{enumerable:!0,get:function(){return l.isEngineBlocklet}}),Object.defineProperty(e,"isGatewayBlocklet",{enumerable:!0,get:function(){return l.isGatewayBlocklet}}),Object.defineProperty(e,"isPackBlocklet",{enumerable:!0,get:function(){return l.isPackBlocklet}});const{NODE_SERVICES:c,SLOT_FOR_IP_DNS_SITE:u,WHO_CAN_ACCESS:d,WHO_CAN_ACCESS_PREFIX_ROLES:p}=a.default,g=(te,we=[])=>`${we.map($e=>$e&&$e.meta?$e.meta.did:"").join("/")}${we.length?"/":""}${te&&te.meta?te.meta.did:""}`;e.getComponentId=g;const v=(te,we=[])=>`${we.map($e=>$e&&$e.meta?$e.meta.name:"").join("/")}${we.length?"/":""}${te&&te.meta?te.meta.name:""}`;e.getComponentName=v;const b=te=>`${te.meta.bundleName}@${te.meta.version}`;e.getComponentBundleId=b;const C=te=>{if(!te)return"";const we=te.split("/");return we.pop(),!we.length||(we[we.length-1].startsWith("@")&&we.pop(),!we.length)?"":we.join("/")};e.getParentComponentName=C;const x=(te,we,{parallel:$e=!1,concurrencyLimit:De=5,sync:re,params:V,_parent:W,_root:ce,_level:ke=0,_tasks:Ae,_ancestors:xe=[],_limit:Ue}={})=>{const je=ce||W||te,He=g(te,xe),lt=xe.concat(te);if(re){const Le=we(te,{parent:W,root:je,level:ke,params:V,ancestors:xe,id:He});if(te.children)for(const Oe of te.children)x(Oe,we,{sync:re,params:Le,_parent:te,_root:je,_level:ke+1,_ancestors:lt});return null}if(!$e)return new Promise(async(Le,Oe)=>{try{const Pe=await we(te,{parent:W,root:je,level:ke,ancestors:xe,params:V,id:He});if(te.children)for(const nt of te.children)await x(nt,we,{params:Pe,_parent:te,_root:je,_level:ke+1,_ancestors:lt});Le(null)}catch(Pe){Oe(Pe)}});const Ze=Ue||(0,o.default)(De),Ye=Ae||[];if(Ye.push(Ze(()=>we(te,{parent:W,root:je,level:ke,ancestors:xe,id:He}))),te.children)for(const Le of te.children)x(Le,we,{parallel:$e,_parent:te,_root:je,_level:ke+1,_tasks:Ye,_ancestors:lt,_limit:Ze});return Ae?null:Promise.all(Ye)};e.forEachBlocklet=x;const D=(te,we)=>x(te,we,{sync:!0});e.forEachBlockletSync=D;const L=(te,we,{parallel:$e=!1,concurrencyLimit:De=5,sync:re}={})=>{if(re){if(te.children)for(const ce of te.children)we(ce);return null}if(!$e)return new Promise(async(ce,ke)=>{try{if(te.children)for(const Ae of te.children)await we(Ae);ce(null)}catch(Ae){ke(Ae)}});const V=(0,o.default)(De),W=[];if(te.children)for(const ce of te.children)W.push(V(()=>we(ce)));return Promise.all(W)};e.forEachComponentV2=L;const P=(te,we)=>L(te,we,{sync:!0});e.forEachComponentV2Sync=P;const q=(te,we,$e)=>x(te,(De,re)=>re.level===0?{}:we(De,re),$e);e.forEachChild=q;const M=(te,we)=>q(te,we,{sync:!0});e.forEachChildSync=M;const j=(te,we,{_ancestors:$e=[],returnAncestors:De=!1}={})=>{if(!we)return null;if(we(te,{ancestors:$e}))return De?{component:te,ancestors:$e}:te;for(const re of te.children||[]){const V=$e.concat(te),W=j(re,we,{_ancestors:V,returnAncestors:De});if(W)return W}return null};e.findComponent=j;const K=(te,we,{returnAncestors:$e=!1}={})=>(Array.isArray(we)&&(we=we.join("/")),j(te,(De,{ancestors:re})=>{const V=g(De,re);return we===V},{returnAncestors:$e}));e.findComponentById=K;const ie=(te,we)=>{if(!we)return null;for(const $e of te.children||[])if(we($e,te))return $e;return null};e.findComponentV2=ie;const ue=(te,we)=>we?(Array.isArray(we)&&(we=we.join("/")),ie(te,($e,De)=>{if(we.includes("/")){const re=g($e,[De]);return we===re}return we===$e.meta.did})):null;e.findComponentByIdV2=ue;const G=(te,we)=>{if(!we)return[];const $e=[];for(const De of te.children||[])we(De,te)&&$e.push(De);return $e};e.filterComponentsV2=G;const B=te=>!!te&&!!(te.key||te.name)&&!te.secure&&te.shared!==!1&&!s.BLOCKLET_CONFIGURABLE_KEY[te.key||te.name];e.isEnvShareableToClient=B;const T=te=>!!te&&!!(te.key||te.name)&&!te.secure&&!!te.shared&&!s.BLOCKLET_CONFIGURABLE_KEY[te.key||te.name];e.isEnvShareable=T;const f=(te,we)=>{const $e={};return!te||!we||(Array.isArray(te.configs)&&te.configs.forEach(({key:De,value:re,secure:V})=>{if(!T({key:De,secure:V,shared:!0}))return;const W=(te.configObj||{})[De]||re,ce=(we.configs||[]).find(ke=>ke.key===De);(!ce||T(ce)||!ce.value&&!(we.configObj||{})[ce.key])&&($e[De]=W)}),(te.configs||[]).forEach(({key:De,value:re})=>{[s.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_HOST,s.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_ID,s.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_TYPE].includes(De)&&($e[s.CHAIN_PROP_MAP[De]]=re)})),$e};e.getSharedConfigObj=f;const h=te=>te.key.startsWith(s.BLOCKLET_PREFERENCE_PREFIX)===!0;e.isPreferenceKey=h;const w=(te,we)=>!!(te.required&&(!te.value&&!we[te.key]||Object.values(s.CHAIN_PROP_MAP).includes(te.key)&&Object.keys(we).includes(te.key)&&!we[te.key])),E=(te={})=>{const we=[];return P(te,$e=>{var V;if(((V=$e.meta)==null?void 0:V.group)===s.BlockletGroup.gateway)return;const De=$e.configs||[],re=f(te,$e);De.forEach(W=>{w(W,re)&&we.push({did:$e.meta.did,key:W.key,description:W.description})})}),we.filter($e=>!h($e))};e.getAppMissingConfigs=E;const R=(te={},we={})=>{const $e=[],De=te.configs||[],re=f(we,te);return De.forEach(V=>{w(V,re)&&$e.push({did:te.meta.did,key:V.key,description:V.description})}),$e};e.getComponentMissingConfigs=R;const k=te=>te.payment?(te.payment.price||[]).map($e=>$e.value||0).every($e=>$e===0):!0;e.isFreeBlocklet=k;const _=te=>!te.payment||!te.payment.componentPrice?!0:!te.payment.componentPrice.length;e.isFreeComponent=_;const A=te=>te&&(x(te,we=>{we.configs&&(we.configs=we.configs.filter($e=>!h($e)),we.configs.forEach($e=>{$e.secure&&($e.value=$e.value?"__encrypted__":"")})),(we.environments||[]).forEach($e=>{["BLOCKLET_APP_SK","BLOCKLET_APP_PSK"].includes($e.key)&&($e.value="__encrypted__")}),(we.migratedFrom||[]).forEach($e=>{$e.appSk="__encrypted__"}),delete te.configObj,delete te.environmentObj},{sync:!0}),te);e.wipeSensitiveData=A;const y=te=>{if(!te)return!1;const we=te.environments.find($e=>$e.key==="BLOCKLET_DELETABLE");return we?we.value==="yes":!0};e.isDeletableBlocklet=y;const O=te=>{let we=!1;return D(te,$e=>{$e.meta.group!==s.BlockletGroup.gateway&&(we=!0)}),we};e.hasRunnableComponent=O;const ne=(te,we=!1)=>{if(!te)return"";const{meta:$e}=te;let De;if(!we&&te.environments){const re=te.environments.find(V=>V.key==="BLOCKLET_APP_NAME");re&&re.value&&(De=re.value)}return De||$e.title||$e.name};e.getAppName=ne,e.getDisplayName=ne;const F=(te,we=!1)=>{if(!te)return"";const{meta:$e}=te;let De;if(!we&&te.environments){const re=te.environments.find(V=>V.key==="BLOCKLET_APP_DESCRIPTION");re&&re.value&&(De=re.value)}return De||$e.description||$e.name};e.getAppDescription=F;function J(te){var De,re,V;const we=(V=(re=(De=te==null?void 0:te.site)==null?void 0:De.domainAliases)==null?void 0:re.sort((W,ce)=>{var ke,Ae,xe,Ue;return(ke=W.accessibility)!=null&&ke.accessible&&((Ae=ce.accessibility)!=null&&Ae.accessible)?+W.isProtected-+ce.isProtected:+((xe=ce.accessibility)==null?void 0:xe.accessible)-+((Ue=W.accessibility)==null?void 0:Ue.accessible)}))==null?void 0:V.map(W=>{var Ae;const ce=(Ae=W==null?void 0:W.domainStatus)!=null&&Ae.isHttps?"https://":"http://",ke=W==null?void 0:W.value;return`${ce}${ke}`}).filter(Boolean);return we==null?void 0:we[0]}e.getAppUrl=J;const se=te=>{te&&(D(te,we=>{we.status=(0,s.fromBlockletStatus)(we.status),we.source!==void 0&&(we.source=(0,s.fromBlockletSource)(we.source))}),te.settings&&(te.settings.children||[]).forEach(we=>{D(we,$e=>{$e.status=(0,s.fromBlockletStatus)($e.status),$e.source!==void 0&&($e.source=(0,s.fromBlockletSource)($e.source))})}))};e.fixBlockletStatus=se;const pe=te=>{if(!te)return null;const we=te.meta||te||{},{interfaces:$e=[]}=we;return Array.isArray($e)?$e.find(De=>De.type===s.BLOCKLET_INTERFACE_TYPE_WEB):null};e.findWebInterface=pe;const be=te=>{if(!te)return null;const we=pe(te),{ports:$e}=te;return!we||!$e?null:$e[we.port]};e.findWebInterfacePort=be;const Re=(te,we)=>{const $e=[we];we===c.AUTH&&$e.push(c.AUTH_SERVICE);const De=pe(te);return De?(De.services||[]).find(re=>$e.includes(re.name)):null};e.findServiceFromMeta=Re;const H=te=>{if(!te)return d.ALL;if((0,n.default)(te,"settings.whoCanAccess"))return te.settings.whoCanAccess;const we=Re(te.meta,c.AUTH);return(0,n.default)(we,"config.whoCanAccess")?we.config.whoCanAccess:d.ALL};e.getWhoCanAccess=H;const $=(te,we)=>{const $e=(te.configs||[]).find(re=>re.key===s.BLOCKLET_CONFIGURABLE_KEY.COMPONENT_ACCESS_WHO);if($e)return $e.value;if(we&&(0,n.default)(we,"settings.whoCanAccess")&&(0,n.default)(we,"settings.whoCanAccess")!==d.ALL)return(0,n.default)(we,"settings.whoCanAccess");const De=Re(te.meta,c.AUTH);return(0,n.default)(De,"config.whoCanAccess")?De.config.whoCanAccess:d.ALL};e.getComponentWhoCanAccess=$;const X=({request:te,baseUrl:we})=>{const $e=te.headers["x-blocklet-did"]||"",De=te.headers["x-blocklet-real-did"]||"",re=te.headers["x-path-prefix"]||"/",V=te.headers["x-group-path-prefix"]||"/";let W=we;return $e!==De&&re!==V&&(W=(0,i.default)((0,i.default)(W,"/").replace(re,V),"")),W};e.getConnectAppUrl=X;const Y=(te,we)=>{const $e=(we||"").includes(":")?":":/\./;return(te||"").replace(u,(we||"").replace(new RegExp($e,"g"),"-"))};e.replaceSlotToIp=Y;const oe=te=>{const we=Object.entries(s.CHAIN_INFO_CONFIG).reduce(($e,De)=>{const[re,[V,W]]=De;return $e[V]=(0,n.default)(te,re)||W,$e},{});return we.type==="ethereum"&&we.id==="none"&&(we.id="1"),we};e.getChainInfo=oe;const Te=te=>{const we=oe({});if(!te)return we;const $e=oe(te.configObj);if($e.host!=="none")return $e;let De;return M(te,re=>{if(De&&De.host!=="none")return;const V=oe(re.configObj);V.host!=="none"&&(De=V)}),De||we};e.getBlockletChainInfo=Te;const me=te=>!!(te!=null&&te.controller);e.isExternalBlocklet=me;const le=te=>te.whoCanAccess.startsWith(p)?te.whoCanAccess.substring(p.length).split(","):[];e.getRolesFromAuthConfig=le;const ve=te=>{const we=Array.isArray(te.migratedFrom)?te.migratedFrom.map($e=>$e.appDid):[];return(0,r.default)([te.appDid,te.appPid,...we].filter(Boolean))};e.getBlockletAppIdList=ve;const Ce=te=>{const we=[];return te&&D(te,$e=>{var re;(((re=$e.meta)==null?void 0:re.interfaces)||[]).filter(V=>V.type===s.BLOCKLET_INTERFACE_TYPE_SERVICE).forEach(V=>{const W=V.port||{};we.push({name:V.name,protocol:V.protocol,port:Number(W.external),upstreamPort:Number(($e.ports||{})[W.internal])})})}),we};e.getBlockletServices=Ce;const Se=te=>[s.BlockletStatus.downloading,s.BlockletStatus.waiting,s.BlockletStatus.starting,s.BlockletStatus.installing,s.BlockletStatus.stopping,s.BlockletStatus.upgrading,"downloading","waiting","starting","installing","extracting","stopping","upgrading","restarting","deleting"].includes(te);e.isInProgress=Se;const ze=te=>[s.BlockletStatus.added,s.BlockletStatus.waiting,s.BlockletStatus.downloading,s.BlockletStatus.installing,"added","waiting","downloading","installing"].includes(te);e.isBeforeInstalled=ze;const Je=te=>[s.BlockletStatus.running,"running"].includes(te);e.isRunning=Je;const ge=te=>[s.BlockletStatus.running,s.BlockletStatus.waiting,s.BlockletStatus.downloading,"running","waiting","downloading"].includes(te);e.isAccessible=ge;const Ie=(te,{type:we,did:$e}={type:"",did:""})=>{var De,re,V;return te?!(0,l.hasStartEngine)(te.meta)&&((V=(re=(De=te.meta)==null?void 0:De.resource)==null?void 0:re.bundles)==null?void 0:V.length)>0&&(te.meta.resource.bundles||[]).some(W=>W.type===we&&W.did===$e):!1};e.hasResourceType=Ie,e.default={isFreeBlocklet:k,isFreeComponent:_,forEachBlocklet:x,forEachBlockletSync:D,forEachChild:q,forEachChildSync:M,forEachComponentV2:L,forEachComponentV2Sync:P,isDeletableBlocklet:y,getSharedConfigObj:f,getAppMissingConfigs:E,getComponentMissingConfigs:R,isEnvShareableToClient:B,isEnvShareable:T,wipeSensitiveData:A,hasRunnableComponent:O,getAppName:ne,getAppDescription:F,getAppUrl:J,getDisplayName:ne,fixBlockletStatus:se,findWebInterface:pe,findWebInterfacePort:be,findServiceFromMeta:Re,getWhoCanAccess:H,getComponentWhoCanAccess:$,replaceSlotToIp:Y,getComponentId:g,getComponentName:v,getComponentBundleId:b,findComponent:j,findComponentById:K,findComponentV2:ie,findComponentByIdV2:ue,filterComponentsV2:G,getParentComponentName:C,getConnectAppUrl:X,getChainInfo:oe,getBlockletChainInfo:Te,isExternalBlocklet:me,isPreferenceKey:h,getRolesFromAuthConfig:le,getBlockletServices:Ce,isInProgress:Se,isBeforeInstalled:ze,isRunning:Je,isAccessible:ge,isGatewayBlocklet:l.isGatewayBlocklet,isEngineBlocklet:l.isEngineBlocklet,isPackBlocklet:l.isPackBlocklet,hasStartEngine:l.hasStartEngine,hasResourceType:Ie}})(Cs);const Wle=(e,t=!1)=>{const n=e.routing.adminPath;return t?encodeURIComponent(On(window.location.origin,n)):On(window.location.origin,n)},XEt=(e,t,n)=>{const r=Wle(t),i=On(n,`/api/blocklets/${e.did}/blocklet.json`),o=new URL(On(r,"/launch-blocklet/agreement"));return o.searchParams.set("blocklet_meta_url",i),o.searchParams.set("from",window.location.href),o.href},R8t=async(e,{getIP:t}={})=>{if(!e||!e.length)return[];if(!t||!e.some(r=>r.value.includes(mn.SLOT_FOR_IP_DNS_SITE)))return e;const n=await t();return n?e.map(r=>{try{return r.value=Cs.replaceSlotToIp(r.value,n),r}catch{return r}}).filter(Boolean):e},k8t=e=>{const t={didSpace:null};return Cs.forEachBlockletSync(e,n=>{var r,i;t.didSpace===ei.BLOCKLET_APP_SPACE_REQUIREMENT.REQUIRED||t.didSpace===ei.BLOCKLET_APP_SPACE_REQUIREMENT.REQUIRED_ON_SETUP||(i=(r=n==null?void 0:n.meta)==null?void 0:r.capabilities)!=null&&i.didSpace&&(t.didSpace=n.meta.capabilities.didSpace)}),t},NW=async(e,{fixRuntime:t=!0,oldBlocklet:n,getIP:r}={})=>{if(e.site||(e.site={domainAliases:[],rules:[]}),e.site.rules.forEach(i=>{i.from.pathPrefix=V9(i.from.pathPrefix||"/")}),e.site.rules=cie(e.site.rules,i=>i.from.pathPrefix),t===!0)e.site.domainAliases=await R8t(e.site.domainAliases,{getIP:r}),e.appRuntimeInfo&&(e.appRuntimeInfo.startAt=new Date-e.appRuntimeInfo.uptime),Cs.forEachBlockletSync(e,i=>{i.runtimeInfo&&(i.runtimeInfo.startAt=new Date-i.runtimeInfo.uptime)});else if(t==="merge-old"&&n){e.site.domainAliases=n.site.domainAliases,e.appRuntimeInfo=n.appRuntimeInfo;const i={};Cs.forEachBlockletSync(n,(o,{id:a})=>{i[a]=o}),Cs.forEachBlockletSync(e,(o,{id:a})=>{const s=i[a];s&&(o.runtimeInfo=s.runtimeInfo,o.diskInfo=s.diskInfo,o.engine=s.engine)})}else e.site.domainAliases=[];e.capabilities=k8t(e)},$W="arcblock",QEt=(e,t=!1)=>{let n;return t?(n=(e.configs||[]).find(r=>r.key==="BLOCKLET_APP_CHAIN_TYPE"),n&&n.value||(n=(e.environments||[]).find(r=>["CHAIN_TYPE","BLOCKLET_APP_CHAIN_TYPE"].includes(r.key)),n&&n.value)?n.value:$W):(n=(e.environments||[]).find(r=>["CHAIN_TYPE","BLOCKLET_APP_CHAIN_TYPE"].includes(r.name)),n&&n.default?n.default:$W)},eCt=e=>!Ak(e==null?void 0:e.controller);let B_=null;const D8t=async()=>{const e=window.env.apiPrefix||"/",t=On(e,"/api/dns-resolve?accessible=1");try{return(await bD.get(t)).data.address}catch{return null}},FW=()=>(B_||(B_=D8t()),B_),Gle=U.createContext({}),{Provider:O8t,Consumer:tCt}=Gle,UW=(e,t,n)=>n?e.map(r=>{const i={...r},o=t.find(a=>a.meta.did===r.meta.did);return o&&n.forEach(a=>{i[a]=o[a]}),i}):t;function L8t({children:e}){const t=_l(),n=W5(),[r,i]=U.useState(null),[o,a]=U.useState(!1),[s,l]=U.useState([]),[c,u]=U.useState([]),[d,p]=U.useState(!1),g=(P,q)=>{Cs.isExternalBlocklet(P)?u(q):l(q)},v=4,b=async({silent:P=!0,retries:q=v,updates:M,useCache:j=!0}={})=>{P||a(!0);try{i(null);const{blocklets:K}=await n.getBlocklets({input:{useCache:j}});for(const G of K)await NW(G,{getIP:FW});const ie=K.filter(G=>!Cs.isExternalBlocklet(G)),ue=K.filter(Cs.isExternalBlocklet);l(G=>UW(G,ie,M)),u(G=>UW(G,ue,M)),a(!1),p(!0)}catch(K){q>0?setTimeout(()=>b({silent:P,retries:q-1,useCache:j}),1e3):(a(!1),i(K))}},C=async P=>{try{const{blocklet:q}=await t.api.getBlocklet({input:{did:P.meta.did,attachRuntimeInfo:!0}});await NW(q,{getIP:FW}),g(q,M=>M.some(j=>j.meta.did===q.meta.did)?M.map(j=>j.meta.did===q.meta.did?q:j):[...M,q])}catch(q){i(q)}},x=P=>{t.refresh(),C(P)};U.useEffect(()=>{b({silent:!1})},[]);const D=P=>{const q={};Cs.forEachBlockletSync(P,(M,{id:j})=>{q[j]=ei.fromBlockletStatus(M.status)}),g(P,M=>M.map(j=>(j.meta.did===P.meta.did&&Cs.forEachBlockletSync(j,(K,{id:ie})=>{q[ie]&&(K.status=q[ie])}),j)))};Ji(ei.BlockletEvents.added,P=>{P.status=ei.fromBlockletStatus(P.status),g(P,q=>[...q,P])}),Ji(ei.BlockletEvents.removed,P=>{t.refresh(),g(P,q=>q.filter(M=>M.meta.did!==P.meta.did))}),Ji(ei.BlockletEvents.statusChange,D),Ji(ei.BlockletEvents.installed,x),Ji(ei.BlockletEvents.upgraded,x),Ji(ei.BlockletEvents.updated,C),Ji(ei.BlockletEvents.startFailed,C),Ji(ei.BlockletEvents.reloaded,C);const L={loading:o,error:r,data:s,externalData:c,refresh:b,initialized:d,api:n};return I.jsx(O8t,{value:{blocklets:L},children:e})}function nCt(){const{blocklets:e}=U.useContext(Gle);return e}const I8t=({user:e,launchType:t,nftId:n})=>{var r;if(!e)return!1;if(t==="serverless"){if(!n)throw new Error("nftId is required");return((r=e==null?void 0:e.controller)==null?void 0:r.nftId)===n}return(e.permissions||[]).includes("mutate_blocklets")},rCt=e=>{var t,n;return e.isGetBlocklet&&((n=(t=e.runtimeBlocklet)==null?void 0:t.controller)==null?void 0:n.consumedAt)},iCt=async e=>{const t=kft({blocklet:e});let n="";return n=t.find(r=>{try{const{hostname:i}=new URL(r);return koe.isSlpDomain(i)}catch(i){return console.error(i),!1}}),n||(n=await Ift(t)),n},Kle=U.createContext({}),{Provider:P8t,Consumer:oCt}=Kle;function M8t({children:e}){const{session:t}=x0(),{t:n}=po(),{api:r,info:i}=_l(),[o]=GJ(),a=W5(),s=o.get("launchType"),l=o.get("fromLauncher"),c=o.get("blocklet_meta_url")||"",u=o.get("nftId")||"",d=o.get("launcherSessionId")||"",p=o.get("launcherUrl")||"",g=new URL(c).origin,[v,b]=U.useState({meta:null,appDid:o.get("appDid")||null,sessionId:o.get("sessionId")||null,isFree:!0,isExternal:!1,isInstalling:!1,isInstalled:!1,isRunning:!1,launcherSession:null}),C=(ue,G)=>b(B=>({...B,appDid:ue,sessionId:G})),x=I8t({user:t.user,launchType:s,nftId:u}),[D,L]=U.useState(null),[P,q]=U.useState(!0),M=U.useMemo(()=>i?Wle(i):"",[i]),j=async ue=>{if(!ue)throw new Error("appDid should not be empty");const{blocklet:G}=await r.getBlocklet({input:{did:ue,attachConfig:!1}});if(!G)return null;const B=ei.BlockletStatus[G.status],T=!!u,f=B<ei.BlockletStatus.installed,h=B===ei.BlockletStatus.installed,w=B===ei.BlockletStatus.running;return b(E=>({...E,isInstalled:h,isRunning:w,isExternal:T,isInstalling:f})),{isInstalled:h,isRunning:w,isExternal:T,isInstalling:f}},K=async()=>{q(!0);try{if(!c)throw new Error(n("common.invalidParam"));const[{meta:ue,isFree:G},{launcherSession:B,error:T}]=await Promise.all([r.getBlockletMetaFromUrl({input:{url:c,checkPrice:!0}}),d?r.getLauncherSession({input:{launcherSessionId:d,launcherUrl:p}}):Promise.resolve({})]);if(d&&!B)throw new Error(`Launch session invalid: ${T}`);if(!ue)throw new Error(n("LaunchBlockletBlocklet.error.loadMetaFailed"));let f={};x&&v.appDid&&(f=await j(v.appDid)),b(h=>({...h,...f,meta:ue,isFree:G,launcherSession:B}))}catch(ue){console.error(ue),L(ue.message)}finally{q(!1)}};U.useEffect(()=>{var ue,G,B;((ue=t==null?void 0:t.user)==null?void 0:ue.role)===mn.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&((B=(G=t==null?void 0:t.user)==null?void 0:G.controller)==null?void 0:B.nftId)!==u&&t.logout(),K()},[]),U.useEffect(()=>{P||!v.meta||(x?v.appDid&&j(v.appDid).catch(ue=>{ui.error(ue.message)}):(b(ue=>({...ue,isInstalled:!1,isRunning:!1,isExternal:!1})),L(null)))},[x]);const ie={meta:v.meta,isFree:v.isFree,appDid:v.appDid,sessionId:v.sessionId,isInstalling:v.isInstalling,isInstalled:v.isInstalled,isExternal:v.isExternal,isRunning:v.isRunning,serverUrl:M,storeUrl:g,blockletMetaUrl:c,fromLauncher:l,loading:P,error:D,api:a,getBlocklet:j,setAppDid:C,launcherUrl:p,launcherSession:v.launcherSession,launcherSessionId:d};return I.jsx(P8t,{value:ie,children:e})}function aCt(){return U.useContext(Kle)}function Jle(){return new URLSearchParams(mi().search)}const Yle=U.createContext(),{Provider:B8t,Consumer:sCt}=Yle;function Zle({children:e}){const n=Jle().get("blocklet_meta_url"),r=USt(async()=>{const{data:o}=await q9.get(n);return o});if(r.loading)return I.jsx(na,{children:I.jsx(aa,{})});const i={meta:r.value,error:r.error};return I.jsx(B8t,{value:i,children:e})}Zle.propTypes={children:Z.any.isRequired};function lCt(){return U.useContext(Yle)}const N8t=U.lazy(()=>hn(()=>import("./index-Cqjpq5LF.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),$8t=U.lazy(()=>hn(()=>import("./index-BeUBkDTf.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,2,27,28,29,30]),import.meta.url)),F8t=U.lazy(()=>hn(()=>import("./index-C9crSSRz.js"),__vite__mapDeps([31,32,33,34,35,36,6,37,38,39,40,12,9,11,25,18,17]),import.meta.url)),U8t=U.lazy(()=>hn(()=>import("./index-CLjGBj9p.js"),__vite__mapDeps([41,6,42,43,17,16,44,9,45,46,29,12,11,37,47,38,48,3,18,22,23,49,50,51]),import.meta.url)),j8t=U.lazy(()=>hn(()=>import("./index-BR6wAIPR.js"),__vite__mapDeps([52,53,10,50,54,55,44,12,9,11,7,8,13,14,15,16,17,18,56,48,3,2,57,6,58,59,29,19,20,60,61,62,63,64,4,65]),import.meta.url)),q8t=U.lazy(()=>hn(()=>import("./index-hV9d7GzX.js"),__vite__mapDeps([66,67,22,23,9,68]),import.meta.url)),V8t=U.lazy(()=>hn(()=>import("./index-DtPnnuqa.js"),__vite__mapDeps([69,53,10,70,71,72,17,6,9,11,73,13,74,75,29,76,77,78,16,12,7,8,14,15,18,79,80,81,44,20,82,3,2,83,84,30,22,23,85,86,87,24,25,43,45,88,1,48,63]),import.meta.url)),z8t=U.lazy(()=>hn(()=>import("./detail-C1AiJgJr.js").then(e=>e.d),__vite__mapDeps([89,53,10,19,20,21,6,18,22,23,28,82,39,40,51]),import.meta.url)),H8t=U.lazy(()=>hn(()=>import("./index-G8t_K0Nh.js"),[],import.meta.url)),W8t=U.lazy(()=>hn(()=>import("./index-3VaCz9mt.js"),__vite__mapDeps([90,1,73,13]),import.meta.url)),G8t=U.lazy(()=>hn(()=>import("./index-BLP6cSf-.js"),__vite__mapDeps([91,92,93,94,61,95]),import.meta.url)),K8t=U.lazy(()=>hn(()=>import("./index-CfEdAej2.js"),__vite__mapDeps([96,61,77,47,95,27]),import.meta.url)),J8t=U.lazy(()=>hn(()=>import("./index-Y-bwPY_P.js"),__vite__mapDeps([97,95]),import.meta.url)),Y8t=U.lazy(()=>hn(()=>import("./index-C-KUrp7f.js"),__vite__mapDeps([98,32,33,34,35,36,99,71,72,40,25,6,57]),import.meta.url)),Z8t=U.lazy(()=>hn(()=>import("./index-Boh9o_k5.js"),__vite__mapDeps([100,93]),import.meta.url)),X8t=U.lazy(()=>hn(()=>import("./index-CqR2D9OX.js"),__vite__mapDeps([101,92,93,94,61,95]),import.meta.url)),Q8t=U.lazy(()=>hn(()=>import("./index-CIFB0zK6.js").then(e=>e.a2),__vite__mapDeps([102,103]),import.meta.url)),e_t=U.lazy(()=>hn(()=>import("./index-oNZ-9nMm.js"),__vite__mapDeps([104,53,10,105,106,107,62,9,108,12,11,45,7,8,13,14,15,16,17,18,28,109,110,4,6,88,23]),import.meta.url));function Xle(){const e=_l(),{session:t}=x0(),{wallet:n}=Yh(),r=t.user&&t.user.did;return U.useEffect(()=>{const i=Q5();return r?i.connect():i.isConnected()&&i.disconnect(),()=>{i.isConnected()&&i.disconnect()}},[r]),U.useEffect(()=>{if(n)return()=>{};const i=()=>{document.visibilityState==="visible"&&t.refresh()};return document.addEventListener("visibilitychange",i),()=>{document.removeEventListener("visibilitychange",i)}},[]),{node:e,session:t}}function t_t(){var a;const{t:e}=po(),{node:t,session:n}=Xle(),r=mi();U.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${r.pathname}${r.search}`)},[r]),U.useEffect(()=>{var s;((s=n==null?void 0:n.user)==null?void 0:s.role)===mn.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&n.logout()},[(a=n==null?void 0:n.user)==null?void 0:a.role]);const i=I.jsx(aa,{});if(t.loading||n.loading)return I.jsx(na,{children:i});if(!t.info.initialized)return w8e.getServerAuthMethod(t.info)==="nft"?I.jsx(WO,{action:"verify-owner"}):I.jsx(na,{children:I.jsx(L6t,{})});if(t.info.upgradeSessionId)return I.jsx(na,{children:I.jsx($se,{})});if(!n.user)return I.jsx(KO,{loadingEle:i});const o=I.jsx(na,{children:I.jsx(aa,{})});return I.jsx(g8t,{children:I.jsxs(L8t,{children:[I.jsx(j6t,{}),I.jsx(Jwt,{}),I.jsx(b8t,{}),I.jsx(U.Suspense,{fallback:o,children:I.jsxs(T4,{children:[I.jsx(or,{path:"/dashboard",element:I.jsx(Zo,{fullWidth:!0,title:"Dashboard",children:I.jsx(N8t,{})})}),I.jsx(or,{path:"/blocklets",element:I.jsx(Zo,{fullWidth:!0,title:e("common.blocklets"),children:I.jsx($8t,{})})}),I.jsx(or,{path:"/blocklets/:did/:tab",element:I.jsx(Zo,{fullWidth:!0,title:"Blocklets",children:I.jsx(z8t,{})})}),I.jsx(or,{path:"/settings/:tab",element:I.jsx(Zo,{fullWidth:!0,title:e("common.setting"),children:I.jsx(j8t,{})})}),I.jsx(or,{path:"/eula",element:I.jsx(Zo,{fullWidth:!0,title:e("setup.steps.eula"),children:I.jsx(H8t,{})})}),I.jsx(or,{path:"/store",element:I.jsx(Zo,{fullWidth:!0,title:e("common.store"),children:I.jsx(U8t,{})})}),I.jsx(or,{path:"/console",element:I.jsx(Zo,{title:`GraphQL ${e("common.console")}`,scrollable:!1,fullWidth:!0,children:I.jsx(Q8t,{})})}),I.jsx(or,{path:"/notifications",element:I.jsx(Zo,{children:I.jsx(W8t,{})})}),I.jsx(or,{path:"/team/:tab",element:I.jsx(Zo,{fullWidth:!0,title:e("common.team"),children:I.jsx(V8t,{})})}),I.jsx(or,{path:"/logs/:name",element:I.jsx(Zo,{scrollable:!1,fullWidth:!0,title:e("common.logs"),children:I.jsx(q8t,{})})}),I.jsx(or,{path:"/analytics/:tab",element:I.jsx(Zo,{fullWidth:!0,title:e("common.analytics"),children:I.jsx(e_t,{})})}),I.jsx(or,{path:"/",element:I.jsx(Gs,{to:"/dashboard",replace:!0})}),I.jsx(or,{path:"/team",element:I.jsx(Gs,{to:"/team/members",replace:!0})}),I.jsx(or,{path:"/analytics",element:I.jsx(Gs,{to:"/analytics/traffic",replace:!0})}),I.jsx(or,{path:"/logs",element:I.jsx(Gs,{to:"/logs/abtnode",replace:!0})}),I.jsx(or,{path:"/router",element:I.jsx(Gs,{to:"/router/rules",replace:!0})}),I.jsx(or,{path:"/settings",element:I.jsx(Gs,{to:"/settings/basic",replace:!0})}),I.jsx(or,{path:"/marketplace",element:I.jsx(Gs,{to:"/store",replace:!0})}),I.jsx(or,{path:"/marketplace/:did",element:I.jsx(Gs,{to:"/store/:did",replace:!0})}),I.jsx(or,{path:"*",element:I.jsx(Z8t,{})})]})})]})})}function Xc({children:e}){const{node:t,session:n}=Xle();return t.loading||!n.initialized&&n.loading?I.jsx(na,{children:I.jsx(aa,{})}):t.info.upgradeSessionId?I.jsx(na,{children:I.jsx($se,{})}):e}function n_t(){const{changeLocale:e}=po(),t=Jle();U.useEffect(()=>{const r=t.get("locale");r&&["zh","en"].includes(r)&&e(r)},[]);const n=I.jsx(na,{children:I.jsx(aa,{})});return I.jsx(U.Suspense,{fallback:n,children:I.jsxs(T4,{children:[I.jsx(or,{path:`${mn.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:I.jsx(Xc,{children:I.jsx(G8t,{})})}),I.jsx(or,{path:`${mn.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:I.jsx(Xc,{children:I.jsx(K8t,{})})}),I.jsx(or,{path:`${mn.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:I.jsx(Xc,{children:I.jsx(J8t,{})})}),I.jsx(or,{path:"/accept-server",element:I.jsx(Xc,{children:I.jsx(WO,{action:"accept-server"})})}),I.jsx(or,{path:"/launch-blocklet/*",element:I.jsx(Xc,{children:I.jsx(M8t,{children:I.jsx(Y8t,{})})})}),I.jsx(or,{path:"/blocklets/restore/*",element:I.jsx(Xc,{children:I.jsx(Zle,{children:I.jsx(F8t,{})})})}),I.jsx(or,{path:`${mn.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:I.jsx(Xc,{children:I.jsx(X8t,{})})}),I.jsx(or,{path:"/*",element:I.jsx(t_t,{})})]})})}function r_t(){const e=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";return I.jsxs(I.Fragment,{children:[I.jsx(I7,{}),I.jsx(VJ,{history:Q8e,basename:e,children:I.jsx(aTt,{children:I.jsx(n_t,{})})})]})}const i_t=rJ(document.getElementById("root"));i_t.render(I.jsx(r_t,{}));const jW=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";Tge(`${jW}/service-worker.js`.replace(/\/+/g,"/"),{registrationOptions:{scope:jW},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(e){console.error("Error during service worker registration:",e)}});export{Yp as $,ui as A,Ds as B,aa as C,JD as D,GJ as E,mn as F,ix as G,Ms as H,bL as I,Lot as J,act as K,jX as L,Cs as M,fl as N,ct as O,Z as P,Ak as Q,ID as R,V1 as S,Lle as T,ow as U,na as V,tL as W,Rc as X,Cve as Y,RD as Z,cst as _,Ji as a,$Re as a$,Q9 as a0,On as a1,no as a2,h5 as a3,Wwt as a4,FEt as a5,l9e as a6,hk as a7,g9e as a8,zX as a9,ple as aA,Oft as aB,k9e as aC,R8t as aD,V9 as aE,cie as aF,FW as aG,hEt as aH,joe as aI,ha as aJ,fo as aK,Q8e as aL,Rft as aM,nk as aN,cEt as aO,Lke as aP,_Et as aQ,USt as aR,q9 as aS,dEt as aT,LEt as aU,Aft as aV,BX as aW,RX as aX,nOe as aY,pEt as aZ,mk as a_,Wle as aa,lCt as ab,w8e as ac,eL as ad,X9 as ae,iCt as af,W_t as ag,rCt as ah,Q5 as ai,Jle as aj,TEt as ak,VL as al,zO as am,y7 as an,T4 as ao,or as ap,Gs as aq,pu as ar,vl as as,WV as at,XEt as au,bD as av,x0 as aw,Po as ax,CEt as ay,u5 as az,ei as b,O7 as b$,YRe as b0,Dft as b1,OEt as b2,Sle as b3,S_e as b4,Eut as b5,k6 as b6,D6 as b7,XX as b8,Qt as b9,Gg as bA,HZe as bB,zre as bC,HD as bD,lle as bE,sEt as bF,GEt as bG,tEt as bH,SEt as bI,j_t as bJ,da as bK,Rt as bL,vc as bM,ye as bN,Zbe as bO,Mt as bP,ln as bQ,on as bR,dn as bS,dl as bT,It as bU,an as bV,hu as bW,p7e as bX,pt as bY,Hn as bZ,FE as b_,zr as ba,Ju as bb,mh as bc,xEt as bd,_5 as be,DJ as bf,Qo as bg,QX as bh,X1 as bi,NEt as bj,_ie as bk,QEt as bl,mQ as bm,hn as bn,aEt as bo,gRe as bp,zJ as bq,$Et as br,VD as bs,Gh as bt,Ng as bu,fre as bv,dre as bw,zD as bx,QD as by,sie as bz,W5 as c,s6 as c$,Nr as c0,D7 as c1,S_t as c2,Z_t as c3,kft as c4,koe as c5,ole as c6,kEt as c7,v5 as c8,NW as c9,Of as cA,mi as cB,di as cC,wD as cD,oEt as cE,nEt as cF,rEt as cG,ile as cH,nTt as cI,Y7 as cJ,Fi as cK,T_t as cL,Em as cM,Jm as cN,lut as cO,ht as cP,Gne as cQ,a_t as cR,C_t as cS,Tne as cT,O5 as cU,YSt as cV,hbe as cW,MEt as cX,Xa as cY,k7 as cZ,mc as c_,_Re as ca,CRe as cb,Mft as cc,x9e as cd,QAe as ce,jle as cf,y8t as cg,$Le as ch,St as ci,KOe as cj,Lr as ck,vh as cl,ou as cm,hi as cn,Yh as co,Og as cp,Zu as cq,U6t as cr,ew as cs,aCt as ct,EWe as cu,I8t as cv,AEt as cw,Ift as cx,Hle as cy,wEt as cz,nCt as d,d_t as d$,ja as d0,Ei as d1,At as d2,EX as d3,UAe as d4,Fa as d5,K_t as d6,J_t as d7,DD as d8,jke as d9,wu as dA,A9 as dB,PYe as dC,Vie as dD,fEt as dE,qAe as dF,s3 as dG,J4e as dH,pc as dI,Ao as dJ,tZ as dK,w6e as dL,_6 as dM,is as dN,Zh as dO,A6 as dP,Xh as dQ,L7 as dR,BY as dS,L4e as dT,P4e as dU,qve as dV,dY as dW,wg as dX,p_t as dY,m_t as dZ,h_t as d_,q1 as da,c3 as db,WX as dc,V9e as dd,H$ as de,z$ as df,$9e as dg,I_t as dh,rn as di,u_t as dj,l_t as dk,s_t as dl,c_t as dm,Mh as dn,ED as dp,b5 as dq,cd as dr,Kg as ds,TKe as dt,MZ as du,Gn as dv,x_t as dw,Zp as dx,BZ as dy,Xt as dz,VSt as e,W4 as e$,Qbe as e0,hg as e1,Nh as e2,_N as e3,f_t as e4,Vf as e5,R3e as e6,v7 as e7,uZ as e8,b_t as e9,IAe as eA,Sv as eB,TRe as eC,nx as eD,y7e as eE,Am as eF,Ike as eG,D9e as eH,f3 as eI,rOe as eJ,om as eK,_Oe as eL,Jl as eM,Xb as eN,Zb as eO,$Oe as eP,LOe as eQ,M_t as eR,Yre as eS,Ls as eT,SC as eU,P7 as eV,IY as eW,FX as eX,qWe as eY,$h as eZ,QY as e_,g_t as ea,u4e as eb,hc as ec,GY as ed,P3e as ee,f4e as ef,v_t as eg,$E as eh,a4e as ei,l4e as ej,bl as ek,c4e as el,Gbe as em,i6 as en,B6e as eo,y_t as ep,O6e as eq,zc as er,__e as es,k_t as et,tEe as eu,nEe as ev,bEe as ew,D_t as ex,er as ey,Rp as ez,Dc as f,uy as f$,bg as f0,T7 as f1,p3 as f2,Z$ as f3,Wf as f4,ci as f5,Git as f6,Uo as f7,f0 as f8,en as f9,yEt as fA,Y_t as fB,bEt as fC,Eie as fD,hoe as fE,v6t as fF,u9 as fG,tse as fH,Uoe as fI,h6 as fJ,Ovt as fK,iie as fL,e6e as fM,cZ as fN,M7 as fO,Wn as fP,S6 as fQ,r9e as fR,H7 as fS,p8e as fT,PL as fU,E_t as fV,$L as fW,NL as fX,T5 as fY,V_t as fZ,_L as f_,Lg as fa,hze as fb,jLe as fc,rJ as fd,t0 as fe,Zn as ff,Dee as fg,Aee as fh,b6 as fi,lct as fj,UY as fk,a6 as fl,l3 as fm,QR as fn,dQ as fo,eee as fp,M6t as fq,iEt as fr,XL as fs,hQ as ft,o_t as fu,gc as fv,MJe as fw,kc as fx,mEt as fy,hd as fz,Ht as g,Dh as g$,kL as g0,_ze as g1,e0 as g2,xle as g3,p5 as g4,bit as g5,Dit as g6,Qte as g7,vk as g8,lrt as g9,tct as gA,kD as gB,eCt as gC,PEt as gD,uEt as gE,gEt as gF,vEt as gG,g5 as gH,bre as gI,wre as gJ,vre as gK,Lre as gL,rZ as gM,e3 as gN,fEe as gO,pbe as gP,R5t as gQ,P5t as gR,N5t as gS,j5t as gT,z5t as gU,Ewt as gV,Cwt as gW,zse as gX,Hse as gY,BVe as gZ,ott as g_,wie as ga,Zf as gb,m5 as gc,$1 as gd,E6 as ge,rx as gf,C6 as gg,ZEe as gh,DX as gi,m_e as gj,lX as gk,fve as gl,lEt as gm,REt as gn,KTt as go,Rg as gp,u_e as gq,w6 as gr,cre as gs,U7 as gt,gSe as gu,j7 as gv,Rut as gw,V7 as gx,eEt as gy,Wre as gz,QO as h,U_t as h0,qVe as h1,X_t as h2,N_t as h3,IEt as h4,mV as h5,r1 as h6,KLe as h7,yQ as h8,d3 as h9,z_t as hA,But as hB,OX as hC,KEt as hD,Cit as hE,YD as hF,LLe as hG,VEt as hH,qEt as hI,pQ as hJ,zte as hK,YEt as hL,CX as hM,B_t as ha,z1 as hb,w_t as hc,T6e as hd,R_t as he,g_e as hf,vRe as hg,wDe as hh,mDe as hi,O_t as hj,TDe as hk,L_t as hl,H9e as hm,P_t as hn,G5t as ho,YE as hp,XE as hq,Fse as hr,Q4e as hs,AD as ht,cN as hu,EEt as hv,V2t as hw,BEt as hx,DEt as hy,CH as hz,gh as i,I as j,Cf as k,Q_t as l,Zt as m,Ya as n,D5 as o,BA as p,po as q,U as r,Qn as s,n8t as t,_l as u,HSt as v,ske as w,w9 as x,Z9 as y,Ec as z};
2517
+ `;Ri.homedir=function(){return"/"};(function(e){var t=ht&&ht.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(e,"__esModule",{value:!0}),e.hasMountPoint=e.hasStartEngine=e.isEngineBlocklet=e.isPackBlocklet=e.isGatewayBlocklet=e.getBlockletEngine=void 0;const n=t(Ri),r=ei,i=u=>{if(u===void 0)throw new Error("blocklet meta param is required");const{engine:d}=u;if(!d)return{interpreter:"node",source:""};if(!Array.isArray(d))return d;const p=n.default.platform(),g=d.find(v=>v.platform===p);if(!g)throw new Error(`can not find a proper engine interpreter on ${p}`);return g};e.getBlockletEngine=i;const o=u=>(u==null?void 0:u.group)===r.BlockletGroup.gateway;e.isGatewayBlocklet=o;const a=u=>(u==null?void 0:u.group)===r.BlockletGroup.pack;e.isPackBlocklet=a;const s=u=>(u==null?void 0:u.group)===r.BlockletGroup.engine;e.isEngineBlocklet=s;const l=u=>!!(u!=null&&u.main)||(0,e.getBlockletEngine)(u||{}).interpreter==="blocklet";e.hasStartEngine=l;const c=u=>((0,e.hasStartEngine)(u)||((u==null?void 0:u.interfaces)||[]).find(d=>d.type===r.BLOCKLET_INTERFACE_TYPE_WEB))&&(0,e.isGatewayBlocklet)(u)===!1;e.hasMountPoint=c})(Hle);(function(e){var t=ht&&ht.__importDefault||function(te){return te&&te.__esModule?te:{default:te}};Object.defineProperty(e,"__esModule",{value:!0}),e.isEngineBlocklet=e.isGatewayBlocklet=e.isAccessible=e.isRunning=e.isBeforeInstalled=e.isInProgress=e.getBlockletServices=e.getBlockletAppIdList=e.getRolesFromAuthConfig=e.isPreferenceKey=e.isExternalBlocklet=e.getBlockletChainInfo=e.getChainInfo=e.getConnectAppUrl=e.getParentComponentName=e.filterComponentsV2=e.findComponentByIdV2=e.findComponentV2=e.findComponentById=e.findComponent=e.getComponentBundleId=e.getComponentName=e.getComponentId=e.replaceSlotToIp=e.getComponentWhoCanAccess=e.getWhoCanAccess=e.findServiceFromMeta=e.findWebInterfacePort=e.findWebInterface=e.fixBlockletStatus=e.getAppDescription=e.getDisplayName=e.getAppName=e.hasRunnableComponent=e.wipeSensitiveData=e.isEnvShareable=e.isEnvShareableToClient=e.getComponentMissingConfigs=e.getAppMissingConfigs=e.getSharedConfigObj=e.isDeletableBlocklet=e.forEachComponentV2Sync=e.forEachComponentV2=e.forEachChildSync=e.forEachChild=e.forEachBlockletSync=e.forEachBlocklet=e.isFreeComponent=e.isFreeBlocklet=e.getAppUrl=void 0,e.hasResourceType=e.hasStartEngine=e.isPackBlocklet=void 0;const n=t(h6),r=t(zle),i=t(Wre),o=t(A8t),a=t(mn),s=ei,l=Hle;Object.defineProperty(e,"hasStartEngine",{enumerable:!0,get:function(){return l.hasStartEngine}}),Object.defineProperty(e,"isEngineBlocklet",{enumerable:!0,get:function(){return l.isEngineBlocklet}}),Object.defineProperty(e,"isGatewayBlocklet",{enumerable:!0,get:function(){return l.isGatewayBlocklet}}),Object.defineProperty(e,"isPackBlocklet",{enumerable:!0,get:function(){return l.isPackBlocklet}});const{NODE_SERVICES:c,SLOT_FOR_IP_DNS_SITE:u,WHO_CAN_ACCESS:d,WHO_CAN_ACCESS_PREFIX_ROLES:p}=a.default,g=(te,we=[])=>`${we.map($e=>$e&&$e.meta?$e.meta.did:"").join("/")}${we.length?"/":""}${te&&te.meta?te.meta.did:""}`;e.getComponentId=g;const v=(te,we=[])=>`${we.map($e=>$e&&$e.meta?$e.meta.name:"").join("/")}${we.length?"/":""}${te&&te.meta?te.meta.name:""}`;e.getComponentName=v;const b=te=>`${te.meta.bundleName}@${te.meta.version}`;e.getComponentBundleId=b;const C=te=>{if(!te)return"";const we=te.split("/");return we.pop(),!we.length||(we[we.length-1].startsWith("@")&&we.pop(),!we.length)?"":we.join("/")};e.getParentComponentName=C;const x=(te,we,{parallel:$e=!1,concurrencyLimit:De=5,sync:re,params:V,_parent:W,_root:ce,_level:ke=0,_tasks:Ae,_ancestors:xe=[],_limit:Ue}={})=>{const je=ce||W||te,He=g(te,xe),lt=xe.concat(te);if(re){const Le=we(te,{parent:W,root:je,level:ke,params:V,ancestors:xe,id:He});if(te.children)for(const Oe of te.children)x(Oe,we,{sync:re,params:Le,_parent:te,_root:je,_level:ke+1,_ancestors:lt});return null}if(!$e)return new Promise(async(Le,Oe)=>{try{const Pe=await we(te,{parent:W,root:je,level:ke,ancestors:xe,params:V,id:He});if(te.children)for(const nt of te.children)await x(nt,we,{params:Pe,_parent:te,_root:je,_level:ke+1,_ancestors:lt});Le(null)}catch(Pe){Oe(Pe)}});const Ze=Ue||(0,o.default)(De),Ye=Ae||[];if(Ye.push(Ze(()=>we(te,{parent:W,root:je,level:ke,ancestors:xe,id:He}))),te.children)for(const Le of te.children)x(Le,we,{parallel:$e,_parent:te,_root:je,_level:ke+1,_tasks:Ye,_ancestors:lt,_limit:Ze});return Ae?null:Promise.all(Ye)};e.forEachBlocklet=x;const D=(te,we)=>x(te,we,{sync:!0});e.forEachBlockletSync=D;const L=(te,we,{parallel:$e=!1,concurrencyLimit:De=5,sync:re}={})=>{if(re){if(te.children)for(const ce of te.children)we(ce);return null}if(!$e)return new Promise(async(ce,ke)=>{try{if(te.children)for(const Ae of te.children)await we(Ae);ce(null)}catch(Ae){ke(Ae)}});const V=(0,o.default)(De),W=[];if(te.children)for(const ce of te.children)W.push(V(()=>we(ce)));return Promise.all(W)};e.forEachComponentV2=L;const P=(te,we)=>L(te,we,{sync:!0});e.forEachComponentV2Sync=P;const q=(te,we,$e)=>x(te,(De,re)=>re.level===0?{}:we(De,re),$e);e.forEachChild=q;const M=(te,we)=>q(te,we,{sync:!0});e.forEachChildSync=M;const j=(te,we,{_ancestors:$e=[],returnAncestors:De=!1}={})=>{if(!we)return null;if(we(te,{ancestors:$e}))return De?{component:te,ancestors:$e}:te;for(const re of te.children||[]){const V=$e.concat(te),W=j(re,we,{_ancestors:V,returnAncestors:De});if(W)return W}return null};e.findComponent=j;const K=(te,we,{returnAncestors:$e=!1}={})=>(Array.isArray(we)&&(we=we.join("/")),j(te,(De,{ancestors:re})=>{const V=g(De,re);return we===V},{returnAncestors:$e}));e.findComponentById=K;const ie=(te,we)=>{if(!we)return null;for(const $e of te.children||[])if(we($e,te))return $e;return null};e.findComponentV2=ie;const ue=(te,we)=>we?(Array.isArray(we)&&(we=we.join("/")),ie(te,($e,De)=>{if(we.includes("/")){const re=g($e,[De]);return we===re}return we===$e.meta.did})):null;e.findComponentByIdV2=ue;const G=(te,we)=>{if(!we)return[];const $e=[];for(const De of te.children||[])we(De,te)&&$e.push(De);return $e};e.filterComponentsV2=G;const B=te=>!!te&&!!(te.key||te.name)&&!te.secure&&te.shared!==!1&&!s.BLOCKLET_CONFIGURABLE_KEY[te.key||te.name];e.isEnvShareableToClient=B;const T=te=>!!te&&!!(te.key||te.name)&&!te.secure&&!!te.shared&&!s.BLOCKLET_CONFIGURABLE_KEY[te.key||te.name];e.isEnvShareable=T;const f=(te,we)=>{const $e={};return!te||!we||(Array.isArray(te.configs)&&te.configs.forEach(({key:De,value:re,secure:V})=>{if(!T({key:De,secure:V,shared:!0}))return;const W=(te.configObj||{})[De]||re,ce=(we.configs||[]).find(ke=>ke.key===De);(!ce||T(ce)||!ce.value&&!(we.configObj||{})[ce.key])&&($e[De]=W)}),(te.configs||[]).forEach(({key:De,value:re})=>{[s.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_HOST,s.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_ID,s.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_CHAIN_TYPE].includes(De)&&($e[s.CHAIN_PROP_MAP[De]]=re)})),$e};e.getSharedConfigObj=f;const h=te=>te.key.startsWith(s.BLOCKLET_PREFERENCE_PREFIX)===!0;e.isPreferenceKey=h;const w=(te,we)=>!!(te.required&&(!te.value&&!we[te.key]||Object.values(s.CHAIN_PROP_MAP).includes(te.key)&&Object.keys(we).includes(te.key)&&!we[te.key])),E=(te={})=>{const we=[];return P(te,$e=>{var V;if(((V=$e.meta)==null?void 0:V.group)===s.BlockletGroup.gateway)return;const De=$e.configs||[],re=f(te,$e);De.forEach(W=>{w(W,re)&&we.push({did:$e.meta.did,key:W.key,description:W.description})})}),we.filter($e=>!h($e))};e.getAppMissingConfigs=E;const R=(te={},we={})=>{const $e=[],De=te.configs||[],re=f(we,te);return De.forEach(V=>{w(V,re)&&$e.push({did:te.meta.did,key:V.key,description:V.description})}),$e};e.getComponentMissingConfigs=R;const k=te=>te.payment?(te.payment.price||[]).map($e=>$e.value||0).every($e=>$e===0):!0;e.isFreeBlocklet=k;const _=te=>!te.payment||!te.payment.componentPrice?!0:!te.payment.componentPrice.length;e.isFreeComponent=_;const A=te=>te&&(x(te,we=>{we.configs&&(we.configs=we.configs.filter($e=>!h($e)),we.configs.forEach($e=>{$e.secure&&($e.value=$e.value?"__encrypted__":"")})),(we.environments||[]).forEach($e=>{["BLOCKLET_APP_SK","BLOCKLET_APP_PSK"].includes($e.key)&&($e.value="__encrypted__")}),(we.migratedFrom||[]).forEach($e=>{$e.appSk="__encrypted__"}),delete te.configObj,delete te.environmentObj},{sync:!0}),te);e.wipeSensitiveData=A;const y=te=>{if(!te)return!1;const we=te.environments.find($e=>$e.key==="BLOCKLET_DELETABLE");return we?we.value==="yes":!0};e.isDeletableBlocklet=y;const O=te=>{let we=!1;return D(te,$e=>{$e.meta.group!==s.BlockletGroup.gateway&&(we=!0)}),we};e.hasRunnableComponent=O;const ne=(te,we=!1)=>{if(!te)return"";const{meta:$e}=te;let De;if(!we&&te.environments){const re=te.environments.find(V=>V.key==="BLOCKLET_APP_NAME");re&&re.value&&(De=re.value)}return De||$e.title||$e.name};e.getAppName=ne,e.getDisplayName=ne;const F=(te,we=!1)=>{if(!te)return"";const{meta:$e}=te;let De;if(!we&&te.environments){const re=te.environments.find(V=>V.key==="BLOCKLET_APP_DESCRIPTION");re&&re.value&&(De=re.value)}return De||$e.description||$e.name};e.getAppDescription=F;function J(te){var De,re,V;const we=(V=(re=(De=te==null?void 0:te.site)==null?void 0:De.domainAliases)==null?void 0:re.sort((W,ce)=>{var ke,Ae,xe,Ue;return(ke=W.accessibility)!=null&&ke.accessible&&((Ae=ce.accessibility)!=null&&Ae.accessible)?+W.isProtected-+ce.isProtected:+((xe=ce.accessibility)==null?void 0:xe.accessible)-+((Ue=W.accessibility)==null?void 0:Ue.accessible)}))==null?void 0:V.map(W=>{var Ae;const ce=(Ae=W==null?void 0:W.domainStatus)!=null&&Ae.isHttps?"https://":"http://",ke=W==null?void 0:W.value;return`${ce}${ke}`}).filter(Boolean);return we==null?void 0:we[0]}e.getAppUrl=J;const se=te=>{te&&(D(te,we=>{we.status=(0,s.fromBlockletStatus)(we.status),we.source!==void 0&&(we.source=(0,s.fromBlockletSource)(we.source))}),te.settings&&(te.settings.children||[]).forEach(we=>{D(we,$e=>{$e.status=(0,s.fromBlockletStatus)($e.status),$e.source!==void 0&&($e.source=(0,s.fromBlockletSource)($e.source))})}))};e.fixBlockletStatus=se;const pe=te=>{if(!te)return null;const we=te.meta||te||{},{interfaces:$e=[]}=we;return Array.isArray($e)?$e.find(De=>De.type===s.BLOCKLET_INTERFACE_TYPE_WEB):null};e.findWebInterface=pe;const be=te=>{if(!te)return null;const we=pe(te),{ports:$e}=te;return!we||!$e?null:$e[we.port]};e.findWebInterfacePort=be;const Re=(te,we)=>{const $e=[we];we===c.AUTH&&$e.push(c.AUTH_SERVICE);const De=pe(te);return De?(De.services||[]).find(re=>$e.includes(re.name)):null};e.findServiceFromMeta=Re;const H=te=>{if(!te)return d.ALL;if((0,n.default)(te,"settings.whoCanAccess"))return te.settings.whoCanAccess;const we=Re(te.meta,c.AUTH);return(0,n.default)(we,"config.whoCanAccess")?we.config.whoCanAccess:d.ALL};e.getWhoCanAccess=H;const $=(te,we)=>{const $e=(te.configs||[]).find(re=>re.key===s.BLOCKLET_CONFIGURABLE_KEY.COMPONENT_ACCESS_WHO);if($e)return $e.value;if(we&&(0,n.default)(we,"settings.whoCanAccess")&&(0,n.default)(we,"settings.whoCanAccess")!==d.ALL)return(0,n.default)(we,"settings.whoCanAccess");const De=Re(te.meta,c.AUTH);return(0,n.default)(De,"config.whoCanAccess")?De.config.whoCanAccess:d.ALL};e.getComponentWhoCanAccess=$;const X=({request:te,baseUrl:we})=>{const $e=te.headers["x-blocklet-did"]||"",De=te.headers["x-blocklet-real-did"]||"",re=te.headers["x-path-prefix"]||"/",V=te.headers["x-group-path-prefix"]||"/";let W=we;return $e!==De&&re!==V&&(W=(0,i.default)((0,i.default)(W,"/").replace(re,V),"")),W};e.getConnectAppUrl=X;const Y=(te,we)=>{const $e=(we||"").includes(":")?":":/\./;return(te||"").replace(u,(we||"").replace(new RegExp($e,"g"),"-"))};e.replaceSlotToIp=Y;const oe=te=>{const we=Object.entries(s.CHAIN_INFO_CONFIG).reduce(($e,De)=>{const[re,[V,W]]=De;return $e[V]=(0,n.default)(te,re)||W,$e},{});return we.type==="ethereum"&&we.id==="none"&&(we.id="1"),we};e.getChainInfo=oe;const Te=te=>{const we=oe({});if(!te)return we;const $e=oe(te.configObj);if($e.host!=="none")return $e;let De;return M(te,re=>{if(De&&De.host!=="none")return;const V=oe(re.configObj);V.host!=="none"&&(De=V)}),De||we};e.getBlockletChainInfo=Te;const me=te=>!!(te!=null&&te.controller);e.isExternalBlocklet=me;const le=te=>te.whoCanAccess.startsWith(p)?te.whoCanAccess.substring(p.length).split(","):[];e.getRolesFromAuthConfig=le;const ve=te=>{const we=Array.isArray(te.migratedFrom)?te.migratedFrom.map($e=>$e.appDid):[];return(0,r.default)([te.appDid,te.appPid,...we].filter(Boolean))};e.getBlockletAppIdList=ve;const Ce=te=>{const we=[];return te&&D(te,$e=>{var re;(((re=$e.meta)==null?void 0:re.interfaces)||[]).filter(V=>V.type===s.BLOCKLET_INTERFACE_TYPE_SERVICE).forEach(V=>{const W=V.port||{};we.push({name:V.name,protocol:V.protocol,port:Number(W.external),upstreamPort:Number(($e.ports||{})[W.internal])})})}),we};e.getBlockletServices=Ce;const Se=te=>[s.BlockletStatus.downloading,s.BlockletStatus.waiting,s.BlockletStatus.starting,s.BlockletStatus.installing,s.BlockletStatus.stopping,s.BlockletStatus.upgrading,"downloading","waiting","starting","installing","extracting","stopping","upgrading","restarting","deleting"].includes(te);e.isInProgress=Se;const ze=te=>[s.BlockletStatus.added,s.BlockletStatus.waiting,s.BlockletStatus.downloading,s.BlockletStatus.installing,"added","waiting","downloading","installing"].includes(te);e.isBeforeInstalled=ze;const Je=te=>[s.BlockletStatus.running,"running"].includes(te);e.isRunning=Je;const ge=te=>[s.BlockletStatus.running,s.BlockletStatus.waiting,s.BlockletStatus.downloading,"running","waiting","downloading"].includes(te);e.isAccessible=ge;const Ie=(te,{type:we,did:$e}={type:"",did:""})=>{var De,re,V;return te?!(0,l.hasStartEngine)(te.meta)&&((V=(re=(De=te.meta)==null?void 0:De.resource)==null?void 0:re.bundles)==null?void 0:V.length)>0&&(te.meta.resource.bundles||[]).some(W=>W.type===we&&W.did===$e):!1};e.hasResourceType=Ie,e.default={isFreeBlocklet:k,isFreeComponent:_,forEachBlocklet:x,forEachBlockletSync:D,forEachChild:q,forEachChildSync:M,forEachComponentV2:L,forEachComponentV2Sync:P,isDeletableBlocklet:y,getSharedConfigObj:f,getAppMissingConfigs:E,getComponentMissingConfigs:R,isEnvShareableToClient:B,isEnvShareable:T,wipeSensitiveData:A,hasRunnableComponent:O,getAppName:ne,getAppDescription:F,getAppUrl:J,getDisplayName:ne,fixBlockletStatus:se,findWebInterface:pe,findWebInterfacePort:be,findServiceFromMeta:Re,getWhoCanAccess:H,getComponentWhoCanAccess:$,replaceSlotToIp:Y,getComponentId:g,getComponentName:v,getComponentBundleId:b,findComponent:j,findComponentById:K,findComponentV2:ie,findComponentByIdV2:ue,filterComponentsV2:G,getParentComponentName:C,getConnectAppUrl:X,getChainInfo:oe,getBlockletChainInfo:Te,isExternalBlocklet:me,isPreferenceKey:h,getRolesFromAuthConfig:le,getBlockletServices:Ce,isInProgress:Se,isBeforeInstalled:ze,isRunning:Je,isAccessible:ge,isGatewayBlocklet:l.isGatewayBlocklet,isEngineBlocklet:l.isEngineBlocklet,isPackBlocklet:l.isPackBlocklet,hasStartEngine:l.hasStartEngine,hasResourceType:Ie}})(Cs);const Wle=(e,t=!1)=>{const n=e.routing.adminPath;return t?encodeURIComponent(On(window.location.origin,n)):On(window.location.origin,n)},XEt=(e,t,n)=>{const r=Wle(t),i=On(n,`/api/blocklets/${e.did}/blocklet.json`),o=new URL(On(r,"/launch-blocklet/agreement"));return o.searchParams.set("blocklet_meta_url",i),o.searchParams.set("from",window.location.href),o.href},R8t=async(e,{getIP:t}={})=>{if(!e||!e.length)return[];if(!t||!e.some(r=>r.value.includes(mn.SLOT_FOR_IP_DNS_SITE)))return e;const n=await t();return n?e.map(r=>{try{return r.value=Cs.replaceSlotToIp(r.value,n),r}catch{return r}}).filter(Boolean):e},k8t=e=>{const t={didSpace:null};return Cs.forEachBlockletSync(e,n=>{var r,i;t.didSpace===ei.BLOCKLET_APP_SPACE_REQUIREMENT.REQUIRED||t.didSpace===ei.BLOCKLET_APP_SPACE_REQUIREMENT.REQUIRED_ON_SETUP||(i=(r=n==null?void 0:n.meta)==null?void 0:r.capabilities)!=null&&i.didSpace&&(t.didSpace=n.meta.capabilities.didSpace)}),t},NW=async(e,{fixRuntime:t=!0,oldBlocklet:n,getIP:r}={})=>{if(e.site||(e.site={domainAliases:[],rules:[]}),e.site.rules.forEach(i=>{i.from.pathPrefix=V9(i.from.pathPrefix||"/")}),e.site.rules=cie(e.site.rules,i=>i.from.pathPrefix),t===!0)e.site.domainAliases=await R8t(e.site.domainAliases,{getIP:r}),e.appRuntimeInfo&&(e.appRuntimeInfo.startAt=new Date-e.appRuntimeInfo.uptime),Cs.forEachBlockletSync(e,i=>{i.runtimeInfo&&(i.runtimeInfo.startAt=new Date-i.runtimeInfo.uptime)});else if(t==="merge-old"&&n){e.site.domainAliases=n.site.domainAliases,e.appRuntimeInfo=n.appRuntimeInfo;const i={};Cs.forEachBlockletSync(n,(o,{id:a})=>{i[a]=o}),Cs.forEachBlockletSync(e,(o,{id:a})=>{const s=i[a];s&&(o.runtimeInfo=s.runtimeInfo,o.diskInfo=s.diskInfo,o.engine=s.engine)})}else e.site.domainAliases=[];e.capabilities=k8t(e)},$W="arcblock",QEt=(e,t=!1)=>{let n;return t?(n=(e.configs||[]).find(r=>r.key==="BLOCKLET_APP_CHAIN_TYPE"),n&&n.value||(n=(e.environments||[]).find(r=>["CHAIN_TYPE","BLOCKLET_APP_CHAIN_TYPE"].includes(r.key)),n&&n.value)?n.value:$W):(n=(e.environments||[]).find(r=>["CHAIN_TYPE","BLOCKLET_APP_CHAIN_TYPE"].includes(r.name)),n&&n.default?n.default:$W)},eCt=e=>!Ak(e==null?void 0:e.controller);let B_=null;const D8t=async()=>{const e=window.env.apiPrefix||"/",t=On(e,"/api/dns-resolve?accessible=1");try{return(await bD.get(t)).data.address}catch{return null}},FW=()=>(B_||(B_=D8t()),B_),Gle=U.createContext({}),{Provider:O8t,Consumer:tCt}=Gle,UW=(e,t,n)=>n?e.map(r=>{const i={...r},o=t.find(a=>a.meta.did===r.meta.did);return o&&n.forEach(a=>{i[a]=o[a]}),i}):t;function L8t({children:e}){const t=_l(),n=W5(),[r,i]=U.useState(null),[o,a]=U.useState(!1),[s,l]=U.useState([]),[c,u]=U.useState([]),[d,p]=U.useState(!1),g=(P,q)=>{Cs.isExternalBlocklet(P)?u(q):l(q)},v=4,b=async({silent:P=!0,retries:q=v,updates:M,useCache:j=!0}={})=>{P||a(!0);try{i(null);const{blocklets:K}=await n.getBlocklets({input:{useCache:j}});for(const G of K)await NW(G,{getIP:FW});const ie=K.filter(G=>!Cs.isExternalBlocklet(G)),ue=K.filter(Cs.isExternalBlocklet);l(G=>UW(G,ie,M)),u(G=>UW(G,ue,M)),a(!1),p(!0)}catch(K){q>0?setTimeout(()=>b({silent:P,retries:q-1,useCache:j}),1e3):(a(!1),i(K))}},C=async P=>{try{const{blocklet:q}=await t.api.getBlocklet({input:{did:P.meta.did,attachRuntimeInfo:!0}});await NW(q,{getIP:FW}),g(q,M=>M.some(j=>j.meta.did===q.meta.did)?M.map(j=>j.meta.did===q.meta.did?q:j):[...M,q])}catch(q){i(q)}},x=P=>{t.refresh(),C(P)};U.useEffect(()=>{b({silent:!1})},[]);const D=P=>{const q={};Cs.forEachBlockletSync(P,(M,{id:j})=>{q[j]=ei.fromBlockletStatus(M.status)}),g(P,M=>M.map(j=>(j.meta.did===P.meta.did&&Cs.forEachBlockletSync(j,(K,{id:ie})=>{q[ie]&&(K.status=q[ie])}),j)))};Ji(ei.BlockletEvents.added,P=>{P.status=ei.fromBlockletStatus(P.status),g(P,q=>[...q,P])}),Ji(ei.BlockletEvents.removed,P=>{t.refresh(),g(P,q=>q.filter(M=>M.meta.did!==P.meta.did))}),Ji(ei.BlockletEvents.statusChange,D),Ji(ei.BlockletEvents.installed,x),Ji(ei.BlockletEvents.upgraded,x),Ji(ei.BlockletEvents.updated,C),Ji(ei.BlockletEvents.startFailed,C),Ji(ei.BlockletEvents.reloaded,C);const L={loading:o,error:r,data:s,externalData:c,refresh:b,initialized:d,api:n};return I.jsx(O8t,{value:{blocklets:L},children:e})}function nCt(){const{blocklets:e}=U.useContext(Gle);return e}const I8t=({user:e,launchType:t,nftId:n})=>{var r;if(!e)return!1;if(t==="serverless"){if(!n)throw new Error("nftId is required");return((r=e==null?void 0:e.controller)==null?void 0:r.nftId)===n}return(e.permissions||[]).includes("mutate_blocklets")},rCt=e=>{var t,n;return e.isGetBlocklet&&((n=(t=e.runtimeBlocklet)==null?void 0:t.controller)==null?void 0:n.consumedAt)},iCt=async e=>{const t=kft({blocklet:e});let n="";return n=t.find(r=>{try{const{hostname:i}=new URL(r);return koe.isSlpDomain(i)}catch(i){return console.error(i),!1}}),n||(n=await Ift(t)),n},Kle=U.createContext({}),{Provider:P8t,Consumer:oCt}=Kle;function M8t({children:e}){const{session:t}=x0(),{t:n}=po(),{api:r,info:i}=_l(),[o]=GJ(),a=W5(),s=o.get("launchType"),l=o.get("fromLauncher"),c=o.get("blocklet_meta_url")||"",u=o.get("nftId")||"",d=o.get("launcherSessionId")||"",p=o.get("launcherUrl")||"",g=new URL(c).origin,[v,b]=U.useState({meta:null,appDid:o.get("appDid")||null,sessionId:o.get("sessionId")||null,isFree:!0,isExternal:!1,isInstalling:!1,isInstalled:!1,isRunning:!1,launcherSession:null}),C=(ue,G)=>b(B=>({...B,appDid:ue,sessionId:G})),x=I8t({user:t.user,launchType:s,nftId:u}),[D,L]=U.useState(null),[P,q]=U.useState(!0),M=U.useMemo(()=>i?Wle(i):"",[i]),j=async ue=>{if(!ue)throw new Error("appDid should not be empty");const{blocklet:G}=await r.getBlocklet({input:{did:ue,attachConfig:!1}});if(!G)return null;const B=ei.BlockletStatus[G.status],T=!!u,f=B<ei.BlockletStatus.installed,h=B===ei.BlockletStatus.installed,w=B===ei.BlockletStatus.running;return b(E=>({...E,isInstalled:h,isRunning:w,isExternal:T,isInstalling:f})),{isInstalled:h,isRunning:w,isExternal:T,isInstalling:f}},K=async()=>{q(!0);try{if(!c)throw new Error(n("common.invalidParam"));const[{meta:ue,isFree:G},{launcherSession:B,error:T}]=await Promise.all([r.getBlockletMetaFromUrl({input:{url:c,checkPrice:!0}}),d?r.getLauncherSession({input:{launcherSessionId:d,launcherUrl:p}}):Promise.resolve({})]);if(d&&!B)throw new Error(`Launch session invalid: ${T}`);if(!ue)throw new Error(n("LaunchBlockletBlocklet.error.loadMetaFailed"));let f={};x&&v.appDid&&(f=await j(v.appDid)),b(h=>({...h,...f,meta:ue,isFree:G,launcherSession:B}))}catch(ue){console.error(ue),L(ue.message)}finally{q(!1)}};U.useEffect(()=>{var ue,G,B;((ue=t==null?void 0:t.user)==null?void 0:ue.role)===mn.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&((B=(G=t==null?void 0:t.user)==null?void 0:G.controller)==null?void 0:B.nftId)!==u&&t.logout(),K()},[]),U.useEffect(()=>{P||!v.meta||(x?v.appDid&&j(v.appDid).catch(ue=>{ui.error(ue.message)}):(b(ue=>({...ue,isInstalled:!1,isRunning:!1,isExternal:!1})),L(null)))},[x]);const ie={meta:v.meta,isFree:v.isFree,appDid:v.appDid,sessionId:v.sessionId,isInstalling:v.isInstalling,isInstalled:v.isInstalled,isExternal:v.isExternal,isRunning:v.isRunning,serverUrl:M,storeUrl:g,blockletMetaUrl:c,fromLauncher:l,loading:P,error:D,api:a,getBlocklet:j,setAppDid:C,launcherUrl:p,launcherSession:v.launcherSession,launcherSessionId:d};return I.jsx(P8t,{value:ie,children:e})}function aCt(){return U.useContext(Kle)}function Jle(){return new URLSearchParams(mi().search)}const Yle=U.createContext(),{Provider:B8t,Consumer:sCt}=Yle;function Zle({children:e}){const n=Jle().get("blocklet_meta_url"),r=USt(async()=>{const{data:o}=await q9.get(n);return o});if(r.loading)return I.jsx(na,{children:I.jsx(aa,{})});const i={meta:r.value,error:r.error};return I.jsx(B8t,{value:i,children:e})}Zle.propTypes={children:Z.any.isRequired};function lCt(){return U.useContext(Yle)}const N8t=U.lazy(()=>hn(()=>import("./index-B4ZjZNN8.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),$8t=U.lazy(()=>hn(()=>import("./index-CYZ-ZpV5.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,2,27,28,29,30]),import.meta.url)),F8t=U.lazy(()=>hn(()=>import("./index-HMFhZkjG.js"),__vite__mapDeps([31,32,33,34,35,36,6,37,38,39,40,12,9,11,25,18,17]),import.meta.url)),U8t=U.lazy(()=>hn(()=>import("./index-D9RqTndg.js"),__vite__mapDeps([41,6,42,43,17,16,44,9,45,46,29,12,11,37,47,38,48,3,18,22,23,49,50,51]),import.meta.url)),j8t=U.lazy(()=>hn(()=>import("./index-owRl0jyR.js"),__vite__mapDeps([52,53,10,50,54,55,44,12,9,11,7,8,13,14,15,16,17,18,56,48,3,2,57,6,58,59,29,19,20,60,61,62,63,64,4,65]),import.meta.url)),q8t=U.lazy(()=>hn(()=>import("./index-CzZF4DJ9.js"),__vite__mapDeps([66,67,22,23,9,68]),import.meta.url)),V8t=U.lazy(()=>hn(()=>import("./index-DA4GWzzk.js"),__vite__mapDeps([69,53,10,70,71,72,17,6,9,11,73,13,74,75,29,76,77,78,16,12,7,8,14,15,18,79,80,81,44,20,82,3,2,83,84,30,22,23,85,86,87,24,25,43,45,88,1,48,63]),import.meta.url)),z8t=U.lazy(()=>hn(()=>import("./detail-CXbwmlpg.js").then(e=>e.d),__vite__mapDeps([89,53,10,19,20,21,6,18,22,23,28,82,39,40,51]),import.meta.url)),H8t=U.lazy(()=>hn(()=>import("./index-CEBXL16c.js"),[],import.meta.url)),W8t=U.lazy(()=>hn(()=>import("./index-dQw_Q0Sx.js"),__vite__mapDeps([90,1,73,13]),import.meta.url)),G8t=U.lazy(()=>hn(()=>import("./index-DbaRhcjK.js"),__vite__mapDeps([91,92,93,94,61,95]),import.meta.url)),K8t=U.lazy(()=>hn(()=>import("./index-CYGLUEkg.js"),__vite__mapDeps([96,61,77,47,95,27]),import.meta.url)),J8t=U.lazy(()=>hn(()=>import("./index-Dlmo3B4P.js"),__vite__mapDeps([97,95]),import.meta.url)),Y8t=U.lazy(()=>hn(()=>import("./index-DG50udXf.js"),__vite__mapDeps([98,32,33,34,35,36,99,71,72,40,25,6,57]),import.meta.url)),Z8t=U.lazy(()=>hn(()=>import("./index-B0WN-XH2.js"),__vite__mapDeps([100,93]),import.meta.url)),X8t=U.lazy(()=>hn(()=>import("./index-DHDAQRQS.js"),__vite__mapDeps([101,92,93,94,61,95]),import.meta.url)),Q8t=U.lazy(()=>hn(()=>import("./index-D2cgpNGA.js").then(e=>e.a2),__vite__mapDeps([102,103]),import.meta.url)),e_t=U.lazy(()=>hn(()=>import("./index-lfuZxoX8.js"),__vite__mapDeps([104,53,10,105,106,107,62,9,108,12,11,45,7,8,13,14,15,16,17,18,28,109,110,4,6,88,23]),import.meta.url));function Xle(){const e=_l(),{session:t}=x0(),{wallet:n}=Yh(),r=t.user&&t.user.did;return U.useEffect(()=>{const i=Q5();return r?i.connect():i.isConnected()&&i.disconnect(),()=>{i.isConnected()&&i.disconnect()}},[r]),U.useEffect(()=>{if(n)return()=>{};const i=()=>{document.visibilityState==="visible"&&t.refresh()};return document.addEventListener("visibilitychange",i),()=>{document.removeEventListener("visibilitychange",i)}},[]),{node:e,session:t}}function t_t(){var a;const{t:e}=po(),{node:t,session:n}=Xle(),r=mi();U.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${r.pathname}${r.search}`)},[r]),U.useEffect(()=>{var s;((s=n==null?void 0:n.user)==null?void 0:s.role)===mn.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&n.logout()},[(a=n==null?void 0:n.user)==null?void 0:a.role]);const i=I.jsx(aa,{});if(t.loading||n.loading)return I.jsx(na,{children:i});if(!t.info.initialized)return w8e.getServerAuthMethod(t.info)==="nft"?I.jsx(WO,{action:"verify-owner"}):I.jsx(na,{children:I.jsx(L6t,{})});if(t.info.upgradeSessionId)return I.jsx(na,{children:I.jsx($se,{})});if(!n.user)return I.jsx(KO,{loadingEle:i});const o=I.jsx(na,{children:I.jsx(aa,{})});return I.jsx(g8t,{children:I.jsxs(L8t,{children:[I.jsx(j6t,{}),I.jsx(Jwt,{}),I.jsx(b8t,{}),I.jsx(U.Suspense,{fallback:o,children:I.jsxs(T4,{children:[I.jsx(or,{path:"/dashboard",element:I.jsx(Zo,{fullWidth:!0,title:"Dashboard",children:I.jsx(N8t,{})})}),I.jsx(or,{path:"/blocklets",element:I.jsx(Zo,{fullWidth:!0,title:e("common.blocklets"),children:I.jsx($8t,{})})}),I.jsx(or,{path:"/blocklets/:did/:tab",element:I.jsx(Zo,{fullWidth:!0,title:"Blocklets",children:I.jsx(z8t,{})})}),I.jsx(or,{path:"/settings/:tab",element:I.jsx(Zo,{fullWidth:!0,title:e("common.setting"),children:I.jsx(j8t,{})})}),I.jsx(or,{path:"/eula",element:I.jsx(Zo,{fullWidth:!0,title:e("setup.steps.eula"),children:I.jsx(H8t,{})})}),I.jsx(or,{path:"/store",element:I.jsx(Zo,{fullWidth:!0,title:e("common.store"),children:I.jsx(U8t,{})})}),I.jsx(or,{path:"/console",element:I.jsx(Zo,{title:`GraphQL ${e("common.console")}`,scrollable:!1,fullWidth:!0,children:I.jsx(Q8t,{})})}),I.jsx(or,{path:"/notifications",element:I.jsx(Zo,{children:I.jsx(W8t,{})})}),I.jsx(or,{path:"/team/:tab",element:I.jsx(Zo,{fullWidth:!0,title:e("common.team"),children:I.jsx(V8t,{})})}),I.jsx(or,{path:"/logs/:name",element:I.jsx(Zo,{scrollable:!1,fullWidth:!0,title:e("common.logs"),children:I.jsx(q8t,{})})}),I.jsx(or,{path:"/analytics/:tab",element:I.jsx(Zo,{fullWidth:!0,title:e("common.analytics"),children:I.jsx(e_t,{})})}),I.jsx(or,{path:"/",element:I.jsx(Gs,{to:"/dashboard",replace:!0})}),I.jsx(or,{path:"/team",element:I.jsx(Gs,{to:"/team/members",replace:!0})}),I.jsx(or,{path:"/analytics",element:I.jsx(Gs,{to:"/analytics/traffic",replace:!0})}),I.jsx(or,{path:"/logs",element:I.jsx(Gs,{to:"/logs/abtnode",replace:!0})}),I.jsx(or,{path:"/router",element:I.jsx(Gs,{to:"/router/rules",replace:!0})}),I.jsx(or,{path:"/settings",element:I.jsx(Gs,{to:"/settings/basic",replace:!0})}),I.jsx(or,{path:"/marketplace",element:I.jsx(Gs,{to:"/store",replace:!0})}),I.jsx(or,{path:"/marketplace/:did",element:I.jsx(Gs,{to:"/store/:did",replace:!0})}),I.jsx(or,{path:"*",element:I.jsx(Z8t,{})})]})})]})})}function Xc({children:e}){const{node:t,session:n}=Xle();return t.loading||!n.initialized&&n.loading?I.jsx(na,{children:I.jsx(aa,{})}):t.info.upgradeSessionId?I.jsx(na,{children:I.jsx($se,{})}):e}function n_t(){const{changeLocale:e}=po(),t=Jle();U.useEffect(()=>{const r=t.get("locale");r&&["zh","en"].includes(r)&&e(r)},[]);const n=I.jsx(na,{children:I.jsx(aa,{})});return I.jsx(U.Suspense,{fallback:n,children:I.jsxs(T4,{children:[I.jsx(or,{path:`${mn.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:I.jsx(Xc,{children:I.jsx(G8t,{})})}),I.jsx(or,{path:`${mn.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:I.jsx(Xc,{children:I.jsx(K8t,{})})}),I.jsx(or,{path:`${mn.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:I.jsx(Xc,{children:I.jsx(J8t,{})})}),I.jsx(or,{path:"/accept-server",element:I.jsx(Xc,{children:I.jsx(WO,{action:"accept-server"})})}),I.jsx(or,{path:"/launch-blocklet/*",element:I.jsx(Xc,{children:I.jsx(M8t,{children:I.jsx(Y8t,{})})})}),I.jsx(or,{path:"/blocklets/restore/*",element:I.jsx(Xc,{children:I.jsx(Zle,{children:I.jsx(F8t,{})})})}),I.jsx(or,{path:`${mn.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:I.jsx(Xc,{children:I.jsx(X8t,{})})}),I.jsx(or,{path:"/*",element:I.jsx(t_t,{})})]})})}function r_t(){const e=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";return I.jsxs(I.Fragment,{children:[I.jsx(I7,{}),I.jsx(VJ,{history:Q8e,basename:e,children:I.jsx(aTt,{children:I.jsx(n_t,{})})})]})}const i_t=rJ(document.getElementById("root"));i_t.render(I.jsx(r_t,{}));const jW=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";Tge(`${jW}/service-worker.js`.replace(/\/+/g,"/"),{registrationOptions:{scope:jW},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(e){console.error("Error during service worker registration:",e)}});export{Yp as $,ui as A,Ds as B,aa as C,JD as D,GJ as E,mn as F,ix as G,Ms as H,bL as I,Lot as J,act as K,jX as L,Cs as M,fl as N,ct as O,Z as P,Ak as Q,ID as R,V1 as S,Lle as T,ow as U,na as V,tL as W,Rc as X,Cve as Y,RD as Z,cst as _,Ji as a,$Re as a$,Q9 as a0,On as a1,no as a2,h5 as a3,Wwt as a4,FEt as a5,l9e as a6,hk as a7,g9e as a8,zX as a9,ple as aA,Oft as aB,k9e as aC,R8t as aD,V9 as aE,cie as aF,FW as aG,hEt as aH,joe as aI,ha as aJ,fo as aK,Q8e as aL,Rft as aM,nk as aN,cEt as aO,Lke as aP,_Et as aQ,USt as aR,q9 as aS,dEt as aT,LEt as aU,Aft as aV,BX as aW,RX as aX,nOe as aY,pEt as aZ,mk as a_,Wle as aa,lCt as ab,w8e as ac,eL as ad,X9 as ae,iCt as af,W_t as ag,rCt as ah,Q5 as ai,Jle as aj,TEt as ak,VL as al,zO as am,y7 as an,T4 as ao,or as ap,Gs as aq,pu as ar,vl as as,WV as at,XEt as au,bD as av,x0 as aw,Po as ax,CEt as ay,u5 as az,ei as b,O7 as b$,YRe as b0,Dft as b1,OEt as b2,Sle as b3,S_e as b4,Eut as b5,k6 as b6,D6 as b7,XX as b8,Qt as b9,Gg as bA,HZe as bB,zre as bC,HD as bD,lle as bE,sEt as bF,GEt as bG,tEt as bH,SEt as bI,j_t as bJ,da as bK,Rt as bL,vc as bM,ye as bN,Zbe as bO,Mt as bP,ln as bQ,on as bR,dn as bS,dl as bT,It as bU,an as bV,hu as bW,p7e as bX,pt as bY,Hn as bZ,FE as b_,zr as ba,Ju as bb,mh as bc,xEt as bd,_5 as be,DJ as bf,Qo as bg,QX as bh,X1 as bi,NEt as bj,_ie as bk,QEt as bl,mQ as bm,hn as bn,aEt as bo,gRe as bp,zJ as bq,$Et as br,VD as bs,Gh as bt,Ng as bu,fre as bv,dre as bw,zD as bx,QD as by,sie as bz,W5 as c,s6 as c$,Nr as c0,D7 as c1,S_t as c2,Z_t as c3,kft as c4,koe as c5,ole as c6,kEt as c7,v5 as c8,NW as c9,Of as cA,mi as cB,di as cC,wD as cD,oEt as cE,nEt as cF,rEt as cG,ile as cH,nTt as cI,Y7 as cJ,Fi as cK,T_t as cL,Em as cM,Jm as cN,lut as cO,ht as cP,Gne as cQ,a_t as cR,C_t as cS,Tne as cT,O5 as cU,YSt as cV,hbe as cW,MEt as cX,Xa as cY,k7 as cZ,mc as c_,_Re as ca,CRe as cb,Mft as cc,x9e as cd,QAe as ce,jle as cf,y8t as cg,$Le as ch,St as ci,KOe as cj,Lr as ck,vh as cl,ou as cm,hi as cn,Yh as co,Og as cp,Zu as cq,U6t as cr,ew as cs,aCt as ct,EWe as cu,I8t as cv,AEt as cw,Ift as cx,Hle as cy,wEt as cz,nCt as d,d_t as d$,ja as d0,Ei as d1,At as d2,EX as d3,UAe as d4,Fa as d5,K_t as d6,J_t as d7,DD as d8,jke as d9,wu as dA,A9 as dB,PYe as dC,Vie as dD,fEt as dE,qAe as dF,s3 as dG,J4e as dH,pc as dI,Ao as dJ,tZ as dK,w6e as dL,_6 as dM,is as dN,Zh as dO,A6 as dP,Xh as dQ,L7 as dR,BY as dS,L4e as dT,P4e as dU,qve as dV,dY as dW,wg as dX,p_t as dY,m_t as dZ,h_t as d_,q1 as da,c3 as db,WX as dc,V9e as dd,H$ as de,z$ as df,$9e as dg,I_t as dh,rn as di,u_t as dj,l_t as dk,s_t as dl,c_t as dm,Mh as dn,ED as dp,b5 as dq,cd as dr,Kg as ds,TKe as dt,MZ as du,Gn as dv,x_t as dw,Zp as dx,BZ as dy,Xt as dz,VSt as e,W4 as e$,Qbe as e0,hg as e1,Nh as e2,_N as e3,f_t as e4,Vf as e5,R3e as e6,v7 as e7,uZ as e8,b_t as e9,IAe as eA,Sv as eB,TRe as eC,nx as eD,y7e as eE,Am as eF,Ike as eG,D9e as eH,f3 as eI,rOe as eJ,om as eK,_Oe as eL,Jl as eM,Xb as eN,Zb as eO,$Oe as eP,LOe as eQ,M_t as eR,Yre as eS,Ls as eT,SC as eU,P7 as eV,IY as eW,FX as eX,qWe as eY,$h as eZ,QY as e_,g_t as ea,u4e as eb,hc as ec,GY as ed,P3e as ee,f4e as ef,v_t as eg,$E as eh,a4e as ei,l4e as ej,bl as ek,c4e as el,Gbe as em,i6 as en,B6e as eo,y_t as ep,O6e as eq,zc as er,__e as es,k_t as et,tEe as eu,nEe as ev,bEe as ew,D_t as ex,er as ey,Rp as ez,Dc as f,uy as f$,bg as f0,T7 as f1,p3 as f2,Z$ as f3,Wf as f4,ci as f5,Git as f6,Uo as f7,f0 as f8,en as f9,yEt as fA,Y_t as fB,bEt as fC,Eie as fD,hoe as fE,v6t as fF,u9 as fG,tse as fH,Uoe as fI,h6 as fJ,Ovt as fK,iie as fL,e6e as fM,cZ as fN,M7 as fO,Wn as fP,S6 as fQ,r9e as fR,H7 as fS,p8e as fT,PL as fU,E_t as fV,$L as fW,NL as fX,T5 as fY,V_t as fZ,_L as f_,Lg as fa,hze as fb,jLe as fc,rJ as fd,t0 as fe,Zn as ff,Dee as fg,Aee as fh,b6 as fi,lct as fj,UY as fk,a6 as fl,l3 as fm,QR as fn,dQ as fo,eee as fp,M6t as fq,iEt as fr,XL as fs,hQ as ft,o_t as fu,gc as fv,MJe as fw,kc as fx,mEt as fy,hd as fz,Ht as g,Dh as g$,kL as g0,_ze as g1,e0 as g2,xle as g3,p5 as g4,bit as g5,Dit as g6,Qte as g7,vk as g8,lrt as g9,tct as gA,kD as gB,eCt as gC,PEt as gD,uEt as gE,gEt as gF,vEt as gG,g5 as gH,bre as gI,wre as gJ,vre as gK,Lre as gL,rZ as gM,e3 as gN,fEe as gO,pbe as gP,R5t as gQ,P5t as gR,N5t as gS,j5t as gT,z5t as gU,Ewt as gV,Cwt as gW,zse as gX,Hse as gY,BVe as gZ,ott as g_,wie as ga,Zf as gb,m5 as gc,$1 as gd,E6 as ge,rx as gf,C6 as gg,ZEe as gh,DX as gi,m_e as gj,lX as gk,fve as gl,lEt as gm,REt as gn,KTt as go,Rg as gp,u_e as gq,w6 as gr,cre as gs,U7 as gt,gSe as gu,j7 as gv,Rut as gw,V7 as gx,eEt as gy,Wre as gz,QO as h,U_t as h0,qVe as h1,X_t as h2,N_t as h3,IEt as h4,mV as h5,r1 as h6,KLe as h7,yQ as h8,d3 as h9,z_t as hA,But as hB,KEt as hC,OX as hD,Cit as hE,YD as hF,LLe as hG,VEt as hH,qEt as hI,pQ as hJ,zte as hK,YEt as hL,CX as hM,B_t as ha,z1 as hb,w_t as hc,T6e as hd,R_t as he,g_e as hf,vRe as hg,wDe as hh,mDe as hi,O_t as hj,TDe as hk,L_t as hl,H9e as hm,P_t as hn,G5t as ho,YE as hp,XE as hq,Fse as hr,Q4e as hs,AD as ht,cN as hu,EEt as hv,V2t as hw,BEt as hx,DEt as hy,CH as hz,gh as i,I as j,Cf as k,Q_t as l,Zt as m,Ya as n,D5 as o,BA as p,po as q,U as r,Qn as s,n8t as t,_l as u,HSt as v,ske as w,w9 as x,Z9 as y,Ec as z};
@@ -1,4 +1,4 @@
1
- import{fg as H,g as L,fh as W}from"./index-B6qhr4Vv.js";var d={},A,I;function X(){if(I)return A;I=1;var y,r,a={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
1
+ import{fg as H,g as L,fh as W}from"./index-CkI554oc.js";var d={},A,I;function X(){if(I)return A;I=1;var y,r,a={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
2
2
  `,r:"\r",t:" "},c;function s(t){throw{name:"SyntaxError",message:t,at:y,text:c}}function n(t){return t&&t!==r&&s("Expected '"+t+"' instead of '"+r+"'"),r=c.charAt(y),y+=1,r}function h(){var t,i="";for(r==="-"&&(i="-",n("-"));r>="0"&&r<="9";)i+=r,n();if(r===".")for(i+=".";n()&&r>="0"&&r<="9";)i+=r;if(r==="e"||r==="E")for(i+=r,n(),(r==="-"||r==="+")&&(i+=r,n());r>="0"&&r<="9";)i+=r,n();return t=Number(i),isFinite(t)||s("Bad number"),t}function v(){var t,i,f="",g;if(r==='"')for(;n();){if(r==='"')return n(),f;if(r==="\\")if(n(),r==="u"){for(g=0,i=0;i<4&&(t=parseInt(n(),16),!!isFinite(t));i+=1)g=g*16+t;f+=String.fromCharCode(g)}else if(typeof a[r]=="string")f+=a[r];else break;else f+=r}s("Bad string")}function u(){for(;r&&r<=" ";)n()}function o(){switch(r){case"t":return n("t"),n("r"),n("u"),n("e"),!0;case"f":return n("f"),n("a"),n("l"),n("s"),n("e"),!1;case"n":return n("n"),n("u"),n("l"),n("l"),null;default:s("Unexpected '"+r+"'")}}function p(){var t=[];if(r==="["){if(n("["),u(),r==="]")return n("]"),t;for(;r;){if(t.push(e()),u(),r==="]")return n("]"),t;n(","),u()}}s("Bad array")}function l(){var t,i={};if(r==="{"){if(n("{"),u(),r==="}")return n("}"),i;for(;r;){if(t=v(),u(),n(":"),Object.prototype.hasOwnProperty.call(i,t)&&s('Duplicate key "'+t+'"'),i[t]=e(),u(),r==="}")return n("}"),i;n(","),u()}}s("Bad object")}function e(){switch(u(),r){case"{":return l();case"[":return p();case'"':return v();case"-":return h();default:return r>="0"&&r<="9"?h():o()}}return A=function(t,i){var f;return c=t,y=0,r=" ",f=e(),u(),r&&s("Syntax error"),typeof i=="function"?function g(S,m){var b,O,w=S[m];if(w&&typeof w=="object")for(b in e)Object.prototype.hasOwnProperty.call(w,b)&&(O=g(w,b),typeof O>"u"?delete w[b]:w[b]=O);return i.call(S,m,w)}({"":f},""):f},A}var J,_;function Y(){if(_)return J;_=1;var y=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r,a,c={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},s;function n(v){return y.lastIndex=0,y.test(v)?'"'+v.replace(y,function(u){var o=c[u];return typeof o=="string"?o:"\\u"+("0000"+u.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+v+'"'}function h(v,u){var o,p,l,e,t=r,i,f=u[v];switch(f&&typeof f=="object"&&typeof f.toJSON=="function"&&(f=f.toJSON(v)),typeof s=="function"&&(f=s.call(u,v,f)),typeof f){case"string":return n(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":return String(f);case"object":if(!f)return"null";if(r+=a,i=[],Object.prototype.toString.apply(f)==="[object Array]"){for(e=f.length,o=0;o<e;o+=1)i[o]=h(o,f)||"null";return l=i.length===0?"[]":r?`[
3
3
  `+r+i.join(`,
4
4
  `+r)+`