@abtnode/blocklet-services 1.16.26-beta-cca12425 → 1.16.26-beta-63f52a83

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 (229) hide show
  1. package/api/libs/auth/adapters/apple.js +3 -0
  2. package/api/libs/auth/index.js +2 -1
  3. package/api/middlewares/check-running.js +3 -1
  4. package/api/routes/oauth.js +13 -5
  5. package/api/routes/user-session.js +10 -4
  6. package/api/routes/user.js +15 -7
  7. package/api/services/auth/connect/invite.js +6 -5
  8. package/api/services/auth/connect/issue-passport.js +6 -5
  9. package/api/services/auth/connect/login.js +1 -0
  10. package/api/services/auth/session.js +37 -2
  11. package/api/services/oauth/index.js +1 -1
  12. package/api/util/index.js +1 -4
  13. package/dist/assets/{Add-B1KQFZbB.js → Add-wq3K3S8N.js} +1 -1
  14. package/dist/assets/{AddBox-C_rCPKut.js → AddBox-a3huCt7Z.js} +1 -1
  15. package/dist/assets/Alert-AeJ1R0Ji.js +1 -0
  16. package/dist/assets/{ArrowDropDown-DDSSUsgw.js → ArrowDropDown-QBtbt6dl.js} +1 -1
  17. package/dist/assets/{Avatar-BKvod5qm.js → Avatar-CbYlXxe5.js} +1 -1
  18. package/dist/assets/{ButtonGroup-B93e6tqm.js → ButtonGroup-Dr1wINhL.js} +1 -1
  19. package/dist/assets/{CheckCircle-DgHejmJm.js → CheckCircle-FvPC4iRr.js} +1 -1
  20. package/dist/assets/{ChevronRight-KVhjO69S.js → ChevronRight-B8Tr2-kK.js} +1 -1
  21. package/dist/assets/{CloseOutlined-BdzvaiT0.js → CloseOutlined-CiEIAAqH.js} +1 -1
  22. package/dist/assets/{Delete-Cmb6a-TW.js → Delete-DdNrAas3.js} +1 -1
  23. package/dist/assets/{DeleteOutline-C_JPQWoC.js → DeleteOutline-CqfMaUnc.js} +1 -1
  24. package/dist/assets/{Done-Cqcgj3XK.js → Done-W8gzfT_5.js} +1 -1
  25. package/dist/assets/{Download-DYDCm5jq.js → Download-BC3qtlUd.js} +1 -1
  26. package/dist/assets/{Edit-JQ58DRtF.js → Edit-DaZNrrOH.js} +1 -1
  27. package/dist/assets/{EditIcon-BuHKvSX-.js → EditIcon-CnJwBmy2.js} +1 -1
  28. package/dist/assets/{Error-bprXV3Qz.js → Error-BXB8PYOq.js} +1 -1
  29. package/dist/assets/{ExpandMore-CMOFmrRl.js → ExpandMore-C3wlzrO6.js} +1 -1
  30. package/dist/assets/{FilterList-MfdHX_OT.js → FilterList-soA8TS15.js} +1 -1
  31. package/dist/assets/{FormControl-BrDVvV0w.js → FormControl-CJq7Xfma.js} +1 -1
  32. package/dist/assets/{FormControlLabel-Bj1raPoa.js → FormControlLabel-6GUtJ3UI.js} +1 -1
  33. package/dist/assets/FormGroup-wC9N37Ln.js +1 -0
  34. package/dist/assets/{Google-B8EaETJY.js → Google-BufVmtgT.js} +1 -1
  35. package/dist/assets/{Grid-BtGjPvuC.js → Grid-pyRe8btq.js} +1 -1
  36. package/dist/assets/{Hidden-DWKJv_Ts.js → Hidden-BDqqTjop.js} +1 -1
  37. package/dist/assets/{InfoOutlined-BItr8vqq.js → InfoOutlined-BfwDDLiK.js} +1 -1
  38. package/dist/assets/{InputAdornment-CGuzdfXX.js → InputAdornment-C_Fsz_Fg.js} +1 -1
  39. package/dist/assets/{InputLabel-DA3u5GP-.js → InputLabel-BKPmNudA.js} +1 -1
  40. package/dist/assets/{LastPage-DzK9EKF-.js → LastPage-2HRADEqb.js} +1 -1
  41. package/dist/assets/{Launch-p5mGEt8g.js → Launch-DAeEHLJt.js} +1 -1
  42. package/dist/assets/{LaunchOutlined-BiGPJuP-.js → LaunchOutlined-DpspIgnU.js} +1 -1
  43. package/dist/assets/{Link-C1R9I8T5.js → Link-BhFnPrd2.js} +1 -1
  44. package/dist/assets/{ListItemText-9kG4LhTP.js → ListItemText-DeMaBW89.js} +1 -1
  45. package/dist/assets/{LockIcon-BYVTkf1W.js → LockIcon-DarkAnSi.js} +1 -1
  46. package/dist/assets/{Loop-DoUT9kIB.js → Loop-DqznqNl_.js} +1 -1
  47. package/dist/assets/{MoreHoriz-B921hlWY.js → MoreHoriz-BREdPNxQ.js} +1 -1
  48. package/dist/assets/{MoreVert-C4XqRKE4.js → MoreVert-CXjMcYsr.js} +1 -1
  49. package/dist/assets/{OpenInNew-DjHvMAdQ.js → OpenInNew-BV4lXYOl.js} +1 -1
  50. package/dist/assets/{Pagination-BlJxwbJW.js → Pagination-yXfVrXV-.js} +1 -1
  51. package/dist/assets/PlayArrow-BII9eapC.js +1 -0
  52. package/dist/assets/{RadioGroup-DFQHgpUl.js → RadioGroup-D3tXB92J.js} +1 -1
  53. package/dist/assets/{Search-BuZJTzDq.js → Search-DxjUq8WV.js} +1 -1
  54. package/dist/assets/{Select-0rvptrXH.js → Select-Cl7jr-Au.js} +2 -2
  55. package/dist/assets/{ServerLogo-BS1tW7SN.js → ServerLogo-PN_tOEc_.js} +1 -1
  56. package/dist/assets/{Skeleton-BQyN-0sJ.js → Skeleton-3bt4KCgR.js} +3 -3
  57. package/dist/assets/{Slider-DaMMponj.js → Slider-VR8fYgQ1.js} +1 -1
  58. package/dist/assets/{Stepper-ASzJY9Wh.js → Stepper-DcXy94Rg.js} +1 -1
  59. package/dist/assets/{TableRow-DQB9jM8W.js → TableRow-C9biku2f.js} +2 -2
  60. package/dist/assets/{TextField-BHg3uTSC.js → TextField-TSikKYan.js} +1 -1
  61. package/dist/assets/{Toolbar-C3gbqZgN.js → Toolbar-C-qwCTaG.js} +1 -1
  62. package/dist/assets/{ViewList-D9nsZOsI.js → ViewList-C5EiQpXT.js} +1 -1
  63. package/dist/assets/access-control-DKZ_6Mft.js +13 -0
  64. package/dist/assets/{actions-CFxlQnVb.js → actions-DX0vxC2x.js} +1 -1
  65. package/dist/assets/{add-component-core-CUisTrXt.js → add-component-core-DrmZbwKZ.js} +58 -57
  66. package/dist/assets/add-resource-C8x0CQeQ.js +1 -0
  67. package/dist/assets/{addon-htB6vNOx.js → addon-oHVHML4Z.js} +1 -1
  68. package/dist/assets/{analytics-D0Q9Rbgs.js → analytics-BqHiZXGu.js} +1 -1
  69. package/dist/assets/api-CefHmPpT.js +1 -0
  70. package/dist/assets/ar-CmjKzXiM.js +1 -0
  71. package/dist/assets/{audit-logs-DsHwARYT.js → audit-logs-DbzFLcIc.js} +1 -1
  72. package/dist/assets/{button-CtcdFik9.js → button-D7T8hUwS.js} +1 -1
  73. package/dist/assets/{click-to-copy-DJVlTNr8.js → click-to-copy-CEYD8rZu.js} +1 -1
  74. package/dist/assets/{complete-CGMY06_W.js → complete-CVQBghtq.js} +1 -1
  75. package/dist/assets/{component-C8WremgG.js → component--4UTcMPh.js} +57 -35
  76. package/dist/assets/{config-J8uHydLG.js → config-ClMGUD_s.js} +2 -2
  77. package/dist/assets/{config-ggazJABW.js → config-DPW6RN7f.js} +1 -1
  78. package/dist/assets/{config-navigation-COwAaVq0.js → config-navigation-oMPN9B_B.js} +1 -1
  79. package/dist/assets/{config-space-CPyb_eZ-.js → config-space-D4Odh64U.js} +1 -1
  80. package/dist/assets/{confirm-BjHkE8rM.js → confirm-BpbD98r0.js} +1 -1
  81. package/dist/assets/{connect-BuLrPUuZ.js → connect-DGuTTy26.js} +1 -1
  82. package/dist/assets/{connect-BbzlMR5b.js → connect-oaGanWb8.js} +1 -1
  83. package/dist/assets/{connect-to-BQINcy1q.js → connect-to-3xwIHcHn.js} +2 -2
  84. package/dist/assets/{content-layout-af8Tk37j.js → content-layout-BAtirHjd.js} +1 -1
  85. package/dist/assets/dashboard-nnP33m90.js +134 -0
  86. package/dist/assets/de-1i1rpVGy.js +1 -0
  87. package/dist/assets/{did-address-BTH0hYaF.js → did-address-C8LHTEPs.js} +1 -1
  88. package/dist/assets/{domain-CMHk_z2Z.js → domain-Bbh6oxOt.js} +1 -1
  89. package/dist/assets/domain-list-BXY_QQIA.js +12 -0
  90. package/dist/assets/es-B63xrBF8.js +1 -0
  91. package/dist/assets/{exchange-passport-CQ4sTk73.js → exchange-passport-CDHq-p_h.js} +1 -1
  92. package/dist/assets/{fallback-BCzfpkx_.js → fallback-COb8X0HB.js} +1 -1
  93. package/dist/assets/fr-CiSjR8sO.js +1 -0
  94. package/dist/assets/{fuel-DAtablaD.js → fuel-c20C7se8.js} +1 -1
  95. package/dist/assets/{fullpage-DY6OHAG0.js → fullpage-CglmHMez.js} +1 -1
  96. package/dist/assets/hi-CmN3rbg5.js +1 -0
  97. package/dist/assets/{home-BfnWYBKb.js → home-ByATld9X.js} +1 -1
  98. package/dist/assets/id-B9e1ETpi.js +1 -0
  99. package/dist/assets/{iframe-Cet_1xjB.js → iframe-rf9uwL5E.js} +1 -1
  100. package/dist/assets/{index-DMPZsfun.js → index-9gdShBVt.js} +1 -1
  101. package/dist/assets/index-B05Db2Ns.js +16 -0
  102. package/dist/assets/{index-DJI8p4CV.js → index-B29IbhC9.js} +1 -1
  103. package/dist/assets/{index-e7NHyY1q.js → index-B3BoU7cW.js} +7 -7
  104. package/dist/assets/{index-D0TsVpOv.js → index-BU47DxN0.js} +1 -1
  105. package/dist/assets/{index-A5YVryx_.js → index-BUuKDGn7.js} +1 -1
  106. package/dist/assets/{index-6HBsHgLl.js → index-BXIedBZ6.js} +1 -1
  107. package/dist/assets/{index-ByPqHR4r.js → index-B_y65RU8.js} +9 -9
  108. package/dist/assets/{index-CnV_HSYC.js → index-Bh3fbWz9.js} +1 -1
  109. package/dist/assets/{index-NdCq_QfL.js → index-BisDKl6l.js} +8 -8
  110. package/dist/assets/index-BjZoVrCi.js +1290 -0
  111. package/dist/assets/{index-CZ9EO740.js → index-Bwv7AG9N.js} +4 -4
  112. package/dist/assets/index-C6mOMD3e.js +262 -0
  113. package/dist/assets/{index-CgXB8tNh.js → index-CHhP84BV.js} +2 -2
  114. package/dist/assets/{index-DJvJ2Tmc.js → index-CPSIBCmf.js} +1 -1
  115. package/dist/assets/{index-LSzcGKHj.js → index-CUi6XG87.js} +4 -4
  116. package/dist/assets/{index-CKhzUQzq.js → index-C_1DpacI.js} +1 -1
  117. package/dist/assets/{index-C5WzGzSj.js → index-CbK1pHld.js} +1 -1
  118. package/dist/assets/index-D2wkr_9R.js +221 -0
  119. package/dist/assets/index-DCDzYQMB.js +1 -0
  120. package/dist/assets/{index-Dbqss1Fe.js → index-DDXxu2V0.js} +7 -7
  121. package/dist/assets/{index-DG2_Yw8Q.js → index-DE4Fz0yq.js} +1 -1
  122. package/dist/assets/{index-zxzrHJEP.js → index-DIGh8Teu.js} +2 -2
  123. package/dist/assets/{index-DcHRVIKm.js → index-DPGe_CmP.js} +1 -1
  124. package/dist/assets/{index-DthjsZ09.js → index-DRRv3qFX.js} +1 -1
  125. package/dist/assets/{index-Bt4rb2Bc.js → index-Dk2_L9Cb.js} +1 -1
  126. package/dist/assets/{index-C9d9WjZ0.js → index-DqicrHi6.js} +1 -1
  127. package/dist/assets/{index-BXCKXS5j.js → index-GzgoR6kP.js} +1 -1
  128. package/dist/assets/index-j--bQGLl.js +4 -0
  129. package/dist/assets/{index-Cn1zzQRb.js → index-yMkC5dZG.js} +1 -1
  130. package/dist/assets/{index.es-BEaw1DFj.js → index.es-qkddoL5U.js} +1 -1
  131. package/dist/assets/{index.esm-C9zb95qH.js → index.esm-j7Y5H-V0.js} +1 -1
  132. package/dist/assets/info-outline-rounded-CAtoxPQe.js +57 -0
  133. package/dist/assets/{invitation-3r-X891j.js → invitation-BL94n7u7.js} +1 -1
  134. package/dist/assets/{invite-CrWjnaC0.js → invite-CnE7XY1Z.js} +1 -1
  135. package/dist/assets/{issue-passport-CCGBLWf8.js → issue-passport-BVBEMRGD.js} +1 -1
  136. package/dist/assets/{item-BNHxZM2p.js → item-BfrZyNeB.js} +1 -1
  137. package/dist/assets/ja-u7LzudUH.js +1 -0
  138. package/dist/assets/{jss-plugin-props-sort.esm-CjzdPk2L.js → jss-plugin-props-sort.esm-Bl2Rw-QZ.js} +6 -6
  139. package/dist/assets/ko-Bwaycrvp.js +1 -0
  140. package/dist/assets/{launch-result-message-D2CQfmUY.js → launch-result-message-Bql_D20B.js} +1 -1
  141. package/dist/assets/{layout--pblhAfc.js → layout-CXJf_Rrv.js} +2 -2
  142. package/dist/assets/{list-header-Br5YHewG.js → list-header-kKYEDQWv.js} +1 -1
  143. package/dist/assets/localization-nliBxJ-D.js +1 -0
  144. package/dist/assets/{log-BJjAfVl8.js → log-VtW4qFO_.js} +1 -1
  145. package/dist/assets/{login-BQQD6meW.js → login-DLrRvrvd.js} +1 -1
  146. package/dist/assets/login-oauth-callback-JEz55t-G.js +1 -0
  147. package/dist/assets/{logo-uploader-eDNDJkbn.js → logo-uploader-CHy1V18F.js} +3 -3
  148. package/dist/assets/{lost-passport-BWTuZR78.js → lost-passport-B3qTZVPf.js} +3 -3
  149. package/dist/assets/{lottie-VJFQ68oA.js → lottie-DEoLwZAx.js} +1 -1
  150. package/dist/assets/{notifications-DwecRDR9.js → notifications-CR7EXwBF.js} +2 -2
  151. package/dist/assets/overview-BBCCr1Vd.js +12 -0
  152. package/dist/assets/{page-header-EqcdM7n1.js → page-header-BmCsNjq6.js} +1 -1
  153. package/dist/assets/{permission-D9TNO0kT.js → permission-D1UMw4p9.js} +1 -1
  154. package/dist/assets/{preferences-CN9EJ9NX.js → preferences-v04BMnj5.js} +1 -1
  155. package/dist/assets/pt-yexEAmVM.js +1 -0
  156. package/dist/assets/publish-resource-DnjdsY2v.js +1 -0
  157. package/dist/assets/{react-DP2ngoHF.js → react-Bm9MpxNr.js} +3 -3
  158. package/dist/assets/{redux-BpyOm6pS.js → redux-LM7tQupS.js} +1 -1
  159. package/dist/assets/ru-CZZrKeyD.js +1 -0
  160. package/dist/assets/{selector-Dpt9nBq7.js → selector-DX2rg91W.js} +3 -3
  161. package/dist/assets/session-gABemNhB.js +1 -0
  162. package/dist/assets/setup-DubProJv.js +19 -0
  163. package/dist/assets/{slicedToArray-SBrU6gJV.js → slicedToArray-C3coSglk.js} +2 -2
  164. package/dist/assets/spaces-V708wb9Z.js +1 -0
  165. package/dist/assets/start-BDyrLr5o.js +186 -0
  166. package/dist/assets/{step-actions-BNn2aM9R.js → step-actions-BCYlCgff.js} +1 -1
  167. package/dist/assets/{studio-8gthozLh.js → studio-BQwrI_FJ.js} +1 -1
  168. package/dist/assets/{switch-control-DO3LxG2v.js → switch-control-CCrwzQnk.js} +1 -1
  169. package/dist/assets/th-Bd1vOYLA.js +1 -0
  170. package/dist/assets/{toUpper-C0A9jQTp.js → toUpper-BFW0USLO.js} +1 -1
  171. package/dist/assets/{transfer-Blq_vH7z.js → transfer-1_LjcvIR.js} +1 -1
  172. package/dist/assets/uniqBy-DZwfVFVL.js +1 -0
  173. package/dist/assets/{unsubscribe-CkiFEJUY.js → unsubscribe-CYer6hWm.js} +1 -1
  174. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-Car-GPAS.js → use-blocklet-info-for-connect-did-spaces-DuJeGPlM.js} +1 -1
  175. package/dist/assets/{useAsync-D0lrbkdE.js → useAsync-BT0mXFoa.js} +1 -1
  176. package/dist/assets/{useFormControl-b_gcFCyO.js → useFormControl-DQK7RvNb.js} +1 -1
  177. package/dist/assets/{useLocalStorage-Cvbq9kSP.js → useLocalStorage-qtxzz8XA.js} +1 -1
  178. package/dist/assets/{useSetState-p_ztAK1J.js → useSetState-Cz5XYWAQ.js} +1 -1
  179. package/dist/assets/{useSlot-MeMXV443.js → useSlot-BDG4HR3S.js} +1 -1
  180. package/dist/assets/{user-center-B0jK0JhV.js → user-center-Dbl7h7gJ.js} +1 -1
  181. package/dist/assets/user-sessions-6LIYsTwc.js +1 -0
  182. package/dist/assets/{util-BkBoAuZA.js → util-DqcQm4xd.js} +1 -1
  183. package/dist/assets/vi-D-6-T7Z8.js +1 -0
  184. package/dist/assets/wrap-locale-CcEfDBvh.js +1 -0
  185. package/dist/assets/zh-DOTV37ZA.js +2 -0
  186. package/dist/assets/zh-tw-DJTikE7z.js +1 -0
  187. package/dist/index.html +1 -1
  188. package/dist/service-worker.js +1 -1
  189. package/package.json +25 -25
  190. package/dist/assets/Alert-D7OuAtqq.js +0 -1
  191. package/dist/assets/FormGroup-CTmu8GWz.js +0 -1
  192. package/dist/assets/PlayArrow-D4vxqsKR.js +0 -1
  193. package/dist/assets/access-control-CZnhbObg.js +0 -13
  194. package/dist/assets/add-resource-Cg68DwqT.js +0 -1
  195. package/dist/assets/api-DZcbXOwe.js +0 -1
  196. package/dist/assets/ar-D80LEtfP.js +0 -1
  197. package/dist/assets/dashboard-CMs2secm.js +0 -134
  198. package/dist/assets/de-R8SpyfWD.js +0 -1
  199. package/dist/assets/domain-list-DFffhAi2.js +0 -12
  200. package/dist/assets/es-DQJXbL8c.js +0 -1
  201. package/dist/assets/fr-ojA_joLk.js +0 -1
  202. package/dist/assets/hi-BQAxHgmg.js +0 -1
  203. package/dist/assets/id-BerMjI8d.js +0 -1
  204. package/dist/assets/index-BqsMd8kb.js +0 -1290
  205. package/dist/assets/index-BxJWfUoy.js +0 -262
  206. package/dist/assets/index-CHX9AKKy.js +0 -221
  207. package/dist/assets/index-DtNxMhKO.js +0 -1
  208. package/dist/assets/index-Dylzk7Aa.js +0 -16
  209. package/dist/assets/index-o-Ihmjeu.js +0 -4
  210. package/dist/assets/info-outline-rounded-BTpTFmEK.js +0 -57
  211. package/dist/assets/ja-BO4aqMDb.js +0 -1
  212. package/dist/assets/ko-Cv-NiLYG.js +0 -1
  213. package/dist/assets/localization-BwDw74Zq.js +0 -1
  214. package/dist/assets/login-oauth-callback-Dmleuitf.js +0 -1
  215. package/dist/assets/overview-BMcMnUtN.js +0 -12
  216. package/dist/assets/pt-DfarVqto.js +0 -1
  217. package/dist/assets/publish-resource-D7WXvm6u.js +0 -1
  218. package/dist/assets/ru-DeqfYyhe.js +0 -1
  219. package/dist/assets/session-DESbRLD5.js +0 -1
  220. package/dist/assets/setup-DFybTsc-.js +0 -19
  221. package/dist/assets/spaces-DNtrZi8N.js +0 -1
  222. package/dist/assets/start-CgH7B6u8.js +0 -186
  223. package/dist/assets/th-BEfUwHXu.js +0 -1
  224. package/dist/assets/uniqBy-DN9WBw_C.js +0 -1
  225. package/dist/assets/user-sessions-gd1hKrWX.js +0 -1
  226. package/dist/assets/vi-CVN1WwF4.js +0 -1
  227. package/dist/assets/wrap-locale-BONrbXck.js +0 -1
  228. package/dist/assets/zh-Bgfgr3pp.js +0 -2
  229. package/dist/assets/zh-tw-kaMajsUI.js +0 -1
@@ -1 +1 @@
1
- import{aW as y}from"./index-BqsMd8kb.js";var c={};function u(e,i){typeof i=="boolean"&&(i={forever:i}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=i||{},this._maxRetryTime=i&&i.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}var T=u;u.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};u.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};u.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var i=new Date().getTime();if(e&&i-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var t=this._timeouts.shift();if(t===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),t=this._cachedTimeouts.slice(-1);else return!1;var r=this;return this._timer=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},t),this._options.unref&&this._timer.unref(),!0};u.prototype.attempt=function(e,i){this._fn=e,i&&(i.timeout&&(this._operationTimeout=i.timeout),i.cb&&(this._operationTimeoutCb=i.cb));var t=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){t._operationTimeoutCb()},t._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};u.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};u.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};u.prototype.start=u.prototype.try;u.prototype.errors=function(){return this._errors};u.prototype.attempts=function(){return this._attempts};u.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},i=null,t=0,r=0;r<this._errors.length;r++){var a=this._errors[r],o=a.message,n=(e[o]||0)+1;e[o]=n,n>=t&&(i=a,t=n)}return i};(function(e){var i=T;e.operation=function(t){var r=e.timeouts(t);return new i(r,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},e.timeouts=function(t){if(t instanceof Array)return[].concat(t);var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var a in t)r[a]=t[a];if(r.minTimeout>r.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var o=[],n=0;n<r.retries;n++)o.push(this.createTimeout(n,r));return t&&t.forever&&!o.length&&o.push(this.createTimeout(n,r)),o.sort(function(s,m){return s-m}),o},e.createTimeout=function(t,r){var a=r.randomize?Math.random()+1:1,o=Math.round(a*Math.max(r.minTimeout,1)*Math.pow(r.factor,t));return o=Math.min(o,r.maxTimeout),o},e.wrap=function(t,r,a){if(r instanceof Array&&(a=r,r=null),!a){a=[];for(var o in t)typeof t[o]=="function"&&a.push(o)}for(var n=0;n<a.length;n++){var s=a[n],m=t[s];t[s]=(function(p){var f=e.operation(r),h=Array.prototype.slice.call(arguments,1),l=h.pop();h.push(function(_){f.retry(_)||(_&&(arguments[0]=f.mainError()),l.apply(this,arguments))}),f.attempt(function(){p.apply(t,h)})}).bind(t,m),t[s].options=r}}})(c);var v=c;const R=y(v);export{R as a,v as r};
1
+ import{b8 as y}from"./index-BjZoVrCi.js";var c={};function u(e,i){typeof i=="boolean"&&(i={forever:i}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=i||{},this._maxRetryTime=i&&i.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}var T=u;u.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};u.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};u.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var i=new Date().getTime();if(e&&i-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var t=this._timeouts.shift();if(t===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),t=this._cachedTimeouts.slice(-1);else return!1;var r=this;return this._timer=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},t),this._options.unref&&this._timer.unref(),!0};u.prototype.attempt=function(e,i){this._fn=e,i&&(i.timeout&&(this._operationTimeout=i.timeout),i.cb&&(this._operationTimeoutCb=i.cb));var t=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){t._operationTimeoutCb()},t._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};u.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};u.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};u.prototype.start=u.prototype.try;u.prototype.errors=function(){return this._errors};u.prototype.attempts=function(){return this._attempts};u.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},i=null,t=0,r=0;r<this._errors.length;r++){var n=this._errors[r],o=n.message,a=(e[o]||0)+1;e[o]=a,a>=t&&(i=n,t=a)}return i};(function(e){var i=T;e.operation=function(t){var r=e.timeouts(t);return new i(r,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},e.timeouts=function(t){if(t instanceof Array)return[].concat(t);var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var n in t)r[n]=t[n];if(r.minTimeout>r.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var o=[],a=0;a<r.retries;a++)o.push(this.createTimeout(a,r));return t&&t.forever&&!o.length&&o.push(this.createTimeout(a,r)),o.sort(function(s,m){return s-m}),o},e.createTimeout=function(t,r){var n=r.randomize?Math.random()+1:1,o=Math.round(n*Math.max(r.minTimeout,1)*Math.pow(r.factor,t));return o=Math.min(o,r.maxTimeout),o},e.wrap=function(t,r,n){if(r instanceof Array&&(n=r,r=null),!n){n=[];for(var o in t)typeof t[o]=="function"&&n.push(o)}for(var a=0;a<n.length;a++){var s=n[a],m=t[s];t[s]=(function(p){var f=e.operation(r),h=Array.prototype.slice.call(arguments,1),l=h.pop();h.push(function(_){f.retry(_)||(_&&(arguments[0]=f.mainError()),l.apply(this,arguments))}),f.attempt(function(){p.apply(t,h)})}).bind(t,m),t[s].options=r}}})(c);var v=c;const R=y(v);export{R as a,v as r};
@@ -0,0 +1,16 @@
1
+ import{r,aS as d,j as e,b as u,ae as M,bq as I,cj as z,P as o,bA as S,c1 as m,bp as A}from"./index-BjZoVrCi.js";import{d as E}from"./ExpandMore-C3wlzrO6.js";import{B as O}from"./ButtonGroup-Dr1wINhL.js";function p(s){const{size:f,color:i,menu:a,children:l,variant:h,onClick:x,menuButtonProps:y,...j}=s,[g,c]=r.useState(!1),t=r.useRef(null),k=Array.isArray(a)?a.map((n,b)=>r.isValidElement(n)?n:r.createElement(d,{...n,key:b})):a,B=()=>{c(n=>!n)},C=n=>{t.current&&t.current.contains(n.target)||c(!1)},P=n=>{n.target.closest(".MuiMenuItem-root")&&c(!1)};return e.jsxs(e.Fragment,{children:[e.jsxs(v,{variant:h,size:f,color:i,ref:t,...j,children:[typeof l=="function"?l():e.jsx(u,{onClick:x,color:i,children:l}),e.jsx(u,{onClick:B,color:i,...y,"aria-label":"more functions",children:e.jsx(E,{})})]}),e.jsx(L,{open:g,anchorEl:t.current,placement:"bottom-end",disablePortal:!1,children:e.jsx(M,{children:e.jsx(I,{onClickAway:C,children:e.jsx(z,{onClick:P,children:k})})})})]})}p.propTypes={size:o.oneOf(["small","medium","large"]),color:o.oneOf(["primary","secondary","inherit"]),menu:o.oneOfType([o.node,o.array]),children:o.node,variant:o.oneOf(["outlined","contained"]),onClick:o.func,menuButtonProps:o.object};p.defaultProps={size:"medium",color:"primary",menu:[],children:null,variant:"contained",onClick:S,menuButtonProps:{}};p.Item=d;const v=m(O)`
2
+ > .MuiButtonBase-root:last-of-type {
3
+ min-width: 2em;
4
+ padding-left: 0;
5
+ padding-right: 0;
6
+ }
7
+ `,L=m(A)`
8
+ z-index: ${s=>s.theme.zIndex.tooltip};
9
+ .MuiList-root {
10
+ padding: 4px 0;
11
+ }
12
+ .MuiListItem-root {
13
+ padding-top: 4px;
14
+ padding-bottom: 4px;
15
+ }
16
+ `;export{p as S};
@@ -1,4 +1,4 @@
1
- import{bb as Y,a$ as ce,u as E,r as v,eG as Ze,b_ as ie,c as Z,f3 as Pe,j as e,T as x,B as u,F as re,ar as Qe,$ as W,S as q,be as de,o as B,P as p,Y as ve,Z as He,gq as Ve,W as _,X as $,b5 as V,f2 as Ke,aA as Xe,b3 as We,a4 as Ge,N as Ye,bl as je,dJ as qe,cq as _e,aa as $e,x as L,bm as H,a as et,gr as tt}from"./index-BqsMd8kb.js";import{S as ye}from"./index-Dylzk7Aa.js";import{D as st,A as ot,f as le}from"./index-LSzcGKHj.js";import"./api-DZcbXOwe.js";import{u as Be,P as nt}from"./use-blocklet-info-for-connect-did-spaces-Car-GPAS.js";import{e as G,f as Ae,h as at,i as Se,j as it,k as rt,l as Ce,d as lt}from"./spaces-DNtrZi8N.js";import{g as J}from"./dashboard-CMs2secm.js";import{T as ct}from"./TextField-BHg3uTSC.js";import{I as dt}from"./index-CnV_HSYC.js";import{E as Ie}from"./Link-C1R9I8T5.js";import{W as pt}from"./did-address-BTH0hYaF.js";import{S as ke}from"./switch-control-DO3LxG2v.js";import{d as mt}from"./MoreVert-C4XqRKE4.js";import{d as ht}from"./DeleteOutline-C_JPQWoC.js";import{L as K,a as X}from"./ListItemText-9kG4LhTP.js";import{e as ut}from"./mode-B2dWMeTO.js";import{T as ae}from"./index-A5YVryx_.js";import{D as ft}from"./index-BXCKXS5j.js";import"./ExpandMore-CMOFmrRl.js";import"./ButtonGroup-B93e6tqm.js";import"./CloseOutlined-BdzvaiT0.js";import"./index-DJvJ2Tmc.js";import"./index-D-XBJ_hS.js";import"./index-C5WzGzSj.js";import"./permission-D9TNO0kT.js";import"./useAsync-D0lrbkdE.js";import"./session-DESbRLD5.js";import"./useLocalStorage-Cvbq9kSP.js";import"./confirm-BjHkE8rM.js";import"./Alert-D7OuAtqq.js";import"./useSlot-MeMXV443.js";import"./Delete-Cmb6a-TW.js";import"./PlayArrow-D4vxqsKR.js";import"./RadioGroup-DFQHgpUl.js";import"./FormControlLabel-Bj1raPoa.js";import"./useFormControl-b_gcFCyO.js";import"./FormGroup-CTmu8GWz.js";import"./Avatar-BKvod5qm.js";import"./useSetState-p_ztAK1J.js";import"./fallback-BCzfpkx_.js";import"./index-e7NHyY1q.js";import"./Toolbar-C3gbqZgN.js";import"./Hidden-DWKJv_Ts.js";import"./MoreHoriz-B921hlWY.js";import"./index-zxzrHJEP.js";import"./selector-Dpt9nBq7.js";import"./FormControl-BrDVvV0w.js";import"./InputLabel-DA3u5GP-.js";import"./Select-0rvptrXH.js";import"./index-C9d9WjZ0.js";import"./FilterList-MfdHX_OT.js";import"./TableRow-DQB9jM8W.js";import"./Grid-BtGjPvuC.js";import"./LastPage-DzK9EKF-.js";import"./index-ByPqHR4r.js";import"./redux-BpyOm6pS.js";import"./Search-BuZJTzDq.js";import"./index-DcHRVIKm.js";function ee({...t}){const{blocklet:s}=Y(),{info:d}=ce(),{t:a,locale:i}=E(),[h,o]=v.useState(""),[r,j]=v.useState(!1),[c,m]=v.useState(!1),[k,y]=v.useState(""),f=Be({blocklet:s}),g=Ze(d),{spaceGateways:I,addSpaceGateway:se}=J(),[D,M]=v.useState({open:!1,action:"connect-to-did-spaces",checkTimeout:1e3*300,checkFn:ie.create({baseURL:Z(window.location.origin,Pe())}).get,messages:{title:a("storage.spaces.provideNFT.title",{appName:f.appName},i),scan:a("storage.spaces.provideNFT.scan",{appName:f.appName},i),confirm:"",success:e.jsx(x,{gutterBottom:!0,children:a("storage.spaces.provideNFT.success")})},onClose:()=>{M(l=>({...l,open:!1}))}}),[n,z]=v.useState({open:!1,action:"one-click-authorization",checkTimeout:1e3*300,messages:{title:a("storage.spaces.authorize.title",{appName:f.appName},i),scan:a("storage.spaces.authorize.scan",{appName:f.appName},i),confirm:"",success:e.jsx(x,{gutterBottom:!0,children:a("storage.spaces.authorize.success")})},onClose:()=>{z(l=>({...l,open:!1}))}}),b=async({endpoint:l,name:A,did:S})=>{const R=await Ae(l);if(!await Se(R)){B.error(a("storage.spaces.gateway.add.invalidUrl"));return}if(I.some(P=>P.endpoint===l)){B.error(a("storage.spaces.gateway.add.duplicate",{name:A}));return}const O={name:A,did:S,url:R,endpoint:l};await se(O,l),B.success(a("storage.spaces.connectedWithName",{name:(O==null?void 0:O.name)??"DID Spaces"}))},T=async(l,A)=>{try{if(!de.isEmpty(l.spaceGateway))await b(A(l.spaceGateway));else{const S=A(l.endpoint),R=l.space?A(l.space):{};await b({endpoint:S,did:G(S),name:"DID Space",...R})}z(S=>({...S,open:!1})),o(null),M(S=>({...S,open:!1}))}catch(S){console.error(S),B.error(le(S))}},C=()=>{M(l=>({...l,open:!0,extraParams:{appPid:s.appPid,appName:f.appName,appDescription:f.appDescription,scopes:f.scopes,appUrl:f.appUrl,referrer:f.referrer,nodeDid:d.did}}))},w=async()=>{try{j(!0);const l=await Ae(h),A=at(l),S=new URL(l).searchParams.get("spaceDid");if(!await Se(A))throw new Error(a("storage.spaces.gateway.add.invalidUrl"));z(R=>({...R,open:!0,prefix:Z(A,"space/api/did"),baseUrl:new URL(A).origin,checkFn:ie.create({baseURL:Z(A,"space")}).get,extraParams:{appDid:f.appDid,appName:f.appName,appDescription:f.appDescription,scopes:f.scopes,appUrl:f.appUrl,referrer:f.referrer,nodeDid:d.did,spaceDid:S}})),m(!1)}catch(l){const A=`${a("storage.spaces.gateway.add.failed",i)}: ${le(l)}`;y(A)}finally{j(!1)}};return e.jsxs(u,{children:[e.jsx(ye,{color:"primary",style:{textTransform:"none !important",fontSize:"1rem"},size:"small",onClick:C,menu:[e.jsx(ye.Item,{sx:{textTransform:"none"},onClick:()=>m(!0),size:"small",...t,children:a("storage.spaces.connect.useSpaceGateway")},"1")],children:e.jsx(x,{sx:{fontWeight:"bold",textTransform:"none"},children:a("storage.spaces.connect.useWallet")})}),e.jsx(re,{forceConnected:!1,saveConnect:!1,prefix:D.prefix,open:D.open,popup:!0,action:D.action,webWalletUrl:g,baseUrl:D.baseUrl,checkFn:D.checkFn,onSuccess:T,onClose:D.onClose,checkTimeout:D.checkTimeout,extraParams:D.extraParams,messages:D.messages,locale:i}),e.jsx(re,{forceConnected:!1,saveConnect:!1,prefix:n.prefix,open:n.open,popup:!0,action:n.action,baseUrl:n.baseUrl,checkFn:n.checkFn,onSuccess:T,onClose:n.onClose,checkTimeout:n.checkTimeout,extraParams:n.extraParams,messages:n.messages,locale:i}),e.jsxs(Qe,{title:a("storage.spaces.gateway.add.title"),fullWidth:!0,maxWidth:"md",open:c,onClose:()=>m(!1),PaperProps:{style:{minHeight:"auto"}},actions:e.jsxs(e.Fragment,{children:[e.jsx(W,{onClick:l=>{l.stopPropagation(),m(!1)},color:"inherit",children:a("common.cancel")}),e.jsxs(W,{onClick:w,color:"primary",disabled:r||!h,variant:"contained",autoFocus:!0,children:[r&&e.jsx(q,{size:16}),a("common.confirm")]})]}),children:[e.jsx("div",{style:{paddingTop:12,overflowY:"hidden"},children:e.jsx(st,{component:"div",children:e.jsx(x,{component:"div",children:e.jsx(ct,{label:a("storage.spaces.gateway.add.label"),autoComplete:"off",variant:"outlined",name:"url",fullWidth:!0,value:h,onChange:l=>{y(null),o(l.target.value)},disabled:r,onKeyPress:async l=>{l.key==="Enter"&&await w()},autoFocus:!0})})})}),!!k&&e.jsx(ot,{type:"error",style:{width:"100%"},children:k})]})]})}ee.propTypes={};ee.defaultProps={};function te({blocklet:t,...s}){const{t:d}=v.useContext(He);if(!t.diskInfo)return e.jsx(x,{children:d("blocklet.diskInfo.empty")});const a=(o,r,j)=>e.jsxs(x,{children:[j?e.jsx(Ie,{style:{cursor:"pointer"},onClick:j,underline:"hover",children:o}):o," ",e.jsx("strong",{children:r?Ve(r):"empty"})]}),i=t.environments.reduce((o,r)=>(o[r.key]=r.value,o),{}),h=[{key:"appDir",name:d("blocklet.diskInfo.appDir"),value:a(i.BLOCKLET_APP_DIR,t.diskInfo.app)},{key:"dataDir",name:d("blocklet.diskInfo.dataDir"),value:a(i.BLOCKLET_DATA_DIR,t.diskInfo.data)},{key:"logDir",name:d("blocklet.diskInfo.logDir"),value:a(i.BLOCKLET_LOG_DIR,t.diskInfo.log)},{key:"cacheDir",name:d("blocklet.diskInfo.cacheDir"),value:a(i.BLOCKLET_CACHE_DIR,t.diskInfo.cache)}];return e.jsx(xt,{component:"div",...s,children:h.map(o=>e.jsx(dt,{valueComponent:"div",nameWidth:120,name:o.name,children:o.value},o.key))})}te.propTypes={blocklet:p.object.isRequired};te.defaultProps={};const xt=ve(x)``;var De=function(s){return e.jsxs("svg",{...s,children:[e.jsxs("g",{filter:"url(#a)",children:[e.jsx("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97Z",fill:"#DDD"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m49.192 6.222-40.97 40.97A11 11 0 0 0 5 54.971V240c0 6.075 4.925 11 11 11h196c6.075 0 11-4.925 11-11V14c0-6.075-4.925-11-11-11H56.97a11 11 0 0 0-7.778 3.222Zm-.707-.707A12 12 0 0 1 56.971 2H212c6.627 0 12 5.373 12 12v226c0 6.627-5.373 12-12 12H16c-6.627 0-12-5.373-12-12V54.97a12 12 0 0 1 3.515-8.485l40.97-40.97Z",fill:"#000",fillOpacity:".08"}),e.jsx("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"2",width:"220",height:"250",children:e.jsx("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97Z",fill:"#D9D9D9"})}),e.jsxs("g",{mask:"url(#b)",children:[e.jsx("path",{opacity:".5",fill:"url(#c)",d:"M4 2h220v128H4z"}),e.jsx("path",{opacity:".1",fill:"url(#d)",d:"M4 130h220v122H4z"}),e.jsx("path",{d:"M33.045 169h-3.767v-11.636h3.887c1.14 0 2.12.233 2.937.698a4.61 4.61 0 0 1 1.881 1.995c.44.863.659 1.899.659 3.108 0 1.212-.222 2.254-.665 3.125a4.668 4.668 0 0 1-1.909 2.011c-.833.466-1.84.699-3.023.699Zm-2.01-1.534h1.914c.886 0 1.623-.167 2.21-.5a3.152 3.152 0 0 0 1.318-1.46c.292-.64.438-1.421.438-2.341 0-.913-.146-1.688-.438-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568Zm11.546-10.102V169h-1.756v-11.636h1.756ZM48.905 169h-3.767v-11.636h3.886c1.14 0 2.12.233 2.938.698a4.609 4.609 0 0 1 1.88 1.995c.44.863.66 1.899.66 3.108 0 1.212-.222 2.254-.665 3.125a4.667 4.667 0 0 1-1.91 2.011c-.833.466-1.84.699-3.022.699Zm-2.011-1.534h1.914c.887 0 1.623-.167 2.21-.5a3.151 3.151 0 0 0 1.319-1.46c.291-.64.437-1.421.437-2.341 0-.913-.146-1.688-.437-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568Zm20.372-7.046a1.662 1.662 0 0 0-.75-1.25c-.44-.299-.993-.448-1.66-.448-.477 0-.89.075-1.238.227a1.91 1.91 0 0 0-.813.613c-.189.258-.284.552-.284.881 0 .277.065.515.194.716.132.201.304.369.516.506.216.132.447.244.694.335.246.087.483.159.71.216l1.136.295c.371.091.752.214 1.142.37.39.155.752.36 1.086.613.333.254.602.568.806.944.209.374.313.823.313 1.346 0 .659-.17 1.244-.511 1.756-.338.511-.828.915-1.472 1.21-.64.295-1.415.443-2.324.443-.871 0-1.625-.138-2.261-.415-.637-.276-1.135-.668-1.495-1.176-.36-.511-.558-1.117-.596-1.818h1.761c.034.421.17.771.41 1.051.242.277.55.483.925.62.38.132.794.198 1.245.198.496 0 .937-.077 1.324-.233.39-.159.697-.378.92-.659a1.56 1.56 0 0 0 .335-.994c0-.345-.098-.627-.295-.847a2.191 2.191 0 0 0-.79-.545 7.725 7.725 0 0 0-1.12-.381l-1.374-.375c-.932-.253-1.67-.627-2.216-1.119-.542-.492-.813-1.144-.813-1.955 0-.67.182-1.255.546-1.755.363-.5.856-.888 1.477-1.165.621-.28 1.322-.42 2.102-.42.788 0 1.483.138 2.085.414.607.277 1.084.658 1.432 1.142.349.481.53 1.034.546 1.659h-1.693Zm3.813 11.853v-12h1.66v1.415h.142c.098-.182.24-.393.426-.631.185-.239.443-.447.772-.625.33-.182.766-.273 1.307-.273.705 0 1.334.178 1.887.534.553.356.987.869 1.3 1.54.319.67.478 1.477.478 2.42 0 .944-.157 1.752-.472 2.427-.314.67-.746 1.187-1.295 1.551-.55.36-1.176.539-1.88.539-.53 0-.965-.089-1.302-.267a2.457 2.457 0 0 1-.784-.625 4.667 4.667 0 0 1-.437-.636h-.103v4.631H71.08Zm1.665-7.637c0 .614.09 1.152.267 1.614.178.462.436.824.773 1.085.337.258.75.387 1.239.387.507 0 .931-.135 1.273-.404.34-.273.598-.642.772-1.108.178-.466.267-.99.267-1.574 0-.575-.087-1.092-.261-1.551-.17-.458-.428-.82-.773-1.085-.34-.265-.767-.398-1.278-.398-.493 0-.91.127-1.25.381-.337.254-.593.608-.767 1.062-.175.455-.262.985-.262 1.591Zm10.75 4.557a3.557 3.557 0 0 1-1.5-.307 2.523 2.523 0 0 1-1.062-.903c-.258-.394-.386-.877-.386-1.449 0-.492.094-.898.283-1.216.19-.318.446-.57.768-.756a4.036 4.036 0 0 1 1.08-.42c.397-.095.802-.167 1.215-.216l1.273-.148c.325-.041.562-.108.71-.198.148-.091.222-.239.222-.444v-.039c0-.497-.14-.881-.42-1.154-.277-.273-.69-.409-1.24-.409-.572 0-1.022.127-1.352.381-.325.25-.55.528-.676.835l-1.597-.364c.19-.53.466-.958.83-1.284.368-.329.79-.568 1.267-.716.477-.151.98-.227 1.506-.227.348 0 .718.042 1.108.125.394.08.761.227 1.102.443.345.216.627.525.847.926.22.398.33.915.33 1.552V169h-1.66v-1.193h-.068c-.11.22-.275.435-.495.648-.22.212-.501.388-.846.528s-.758.21-1.239.21Zm.37-1.363c.47 0 .87-.093 1.204-.279.337-.185.593-.428.767-.727.178-.303.267-.627.267-.972v-1.125c-.06.061-.178.118-.352.171-.17.049-.365.093-.585.13-.22.034-.434.067-.642.097l-.523.068c-.33.042-.63.112-.903.21a1.553 1.553 0 0 0-.648.427c-.16.181-.239.424-.239.727 0 .42.156.738.466.954.31.212.707.319 1.188.319Zm9.876 1.346c-.845 0-1.572-.191-2.182-.574a3.796 3.796 0 0 1-1.398-1.596c-.325-.678-.488-1.455-.488-2.33 0-.886.166-1.668.5-2.346a3.832 3.832 0 0 1 1.409-1.597c.606-.383 1.32-.574 2.142-.574.663 0 1.254.123 1.773.369.519.243.937.584 1.255 1.023.322.44.514.953.574 1.54h-1.653c-.091-.409-.3-.761-.625-1.057-.322-.295-.754-.443-1.296-.443a2.11 2.11 0 0 0-1.244.375c-.352.246-.627.598-.824 1.057-.197.454-.295.992-.295 1.613 0 .637.096 1.186.29 1.648.193.462.466.82.818 1.074.356.254.774.381 1.255.381.322 0 .614-.059.875-.177.266-.121.487-.293.665-.517.182-.223.309-.492.38-.806h1.654a3.211 3.211 0 0 1-.55 1.511 3.165 3.165 0 0 1-1.234 1.045c-.511.254-1.111.381-1.8.381Zm9.163 0c-.859 0-1.6-.184-2.221-.551a3.732 3.732 0 0 1-1.432-1.563c-.333-.674-.5-1.464-.5-2.369 0-.894.167-1.682.5-2.363a3.887 3.887 0 0 1 1.409-1.597c.606-.383 1.314-.574 2.125-.574.493 0 .97.082 1.432.244.462.163.877.419 1.244.767.368.349.657.802.87 1.358.212.553.318 1.226.318 2.017v.603H99.71v-1.273h5.273c0-.447-.091-.843-.273-1.187a2.052 2.052 0 0 0-.767-.824c-.326-.201-.708-.302-1.148-.302a2.22 2.22 0 0 0-1.25.353 2.364 2.364 0 0 0-.818.909 2.626 2.626 0 0 0-.284 1.21v.994c0 .584.102 1.08.307 1.489.208.409.498.722.869.938.372.212.805.318 1.301.318a2.7 2.7 0 0 0 .881-.137c.265-.094.494-.234.688-.42.193-.186.341-.415.443-.688l1.608.29c-.129.474-.36.888-.693 1.244-.33.353-.745.627-1.245.824-.496.194-1.062.29-1.699.29Z",fill:"#fff"}),e.jsx("path",{d:"M117.604 47.263 121.523 45h14.267v41.862h-14.267l-15.335-8.854V53.854l1.818-1.05 3.2 1.848-1.818 1.05V76.16l12.993 7.502h10.209V48.2h-10.209l-1.577.91-3.2-1.847Z",fill:"url(#e)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.402 76.16V55.701L106.409 48.2H96.2v35.462h10.209l1.582-.913 3.2 1.847-3.924 2.266H93V45h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047Z",fill:"url(#f)"}),e.jsxs("g",{clipPath:"url(#g)",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",children:[e.jsx("path",{d:"m50.928 216.089 1.034 2.852h-2.503l1.028-2.842a4.95 4.95 0 0 0 .107-.338 7.17 7.17 0 0 0 .111-.409c.075.297.15.542.223.737Zm2.28 5.591h.796l-2.775-7.352h-1.043l-2.774 7.352h.795a.338.338 0 0 0 .223-.077.425.425 0 0 0 .127-.179l.615-1.705h3.07l.617 1.705a.399.399 0 0 0 .126.184.339.339 0 0 0 .223.072Zm4.823-.963a2.023 2.023 0 0 1-.67.098h-1.455v-2.453h1.456c.5 0 .871.106 1.11.318.24.208.36.495.36.86 0 .184-.028.355-.083.512a1.005 1.005 0 0 1-.262.399 1.2 1.2 0 0 1-.456.266Zm-2.125-3.128v-2.406h1.237c.498 0 .865.095 1.101.286.236.192.355.497.355.917 0 .369-.125.662-.374.881-.246.215-.623.322-1.13.322h-1.189Zm2.358-3.128a4.106 4.106 0 0 0-1.12-.133h-2.27v7.352h2.507c.391 0 .74-.051 1.048-.154.307-.102.566-.247.776-.435.21-.188.37-.409.48-.665.11-.26.165-.547.165-.861 0-.904-.506-1.462-1.518-1.674.22-.075.41-.169.572-.281a1.79 1.79 0 0 0 .403-.379c.106-.144.186-.297.237-.461.052-.164.078-.335.078-.512a2.1 2.1 0 0 0-.146-.804 1.49 1.49 0 0 0-.441-.609 2.073 2.073 0 0 0-.771-.384Zm7.535.778h-2.212v6.441h-1.028v-6.441h-2.222v-.911H65.8v.911Zm2.439.564h-1.13v1.193h1.13v-1.193Zm-1.13 2.983h1.13v1.193h-1.13v-1.193Z",fillOpacity:".8"}),e.jsx("path",{d:"M28.247 221.771V214h3.894c.99.072 1.765.944 1.765 1.998v3.77c0 1.106-.85 2.003-1.897 2.003h-3.762ZM36.355 214h-1.011v7.783h1.01V214Zm-7.097 6.704v-5.642h2.751c.49 0 .886.419.886.936v3.77c0 .517-.396.936-.886.936h-2.75ZM37.775 214v7.771h3.762c1.047 0 1.897-.897 1.897-2.003v-3.77c0-1.054-.774-1.926-1.765-1.998h-3.894Zm6.946 1.803h1.13v1.193h-1.13v-1.193Zm1.13 2.983h-1.13v1.193h1.13v-1.193Zm-7.065-3.724v5.642h2.75c.49 0 .887-.419.887-.936v-3.77c0-.517-.397-.936-.886-.936h-2.751Z"})]}),e.jsx("circle",{cx:"191.32",cy:"218",r:"10",fill:"url(#h)"}),e.jsx("path",{d:"m192.064 213.333.976-.564h3.554v10.427h-3.286a1 1 0 0 1-.5-.134l-3.588-2.071v-6.016l.453-.262.797.46-.453.262v5.096l3.237 1.868h2.543v-8.833h-2.543l-.393.227-.797-.46Z",fill:"#fff"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M192.512 220.531v-5.096l-3.237-1.869h-2.543v8.833h2.543l.394-.227.797.46-.977.564h-3.554v-10.427h3.554l3.82 2.206v6.016l-.452.261-.797-.461.452-.26Z",fill:"#fff"})]})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"d",x1:"114",y1:"130",x2:"114",y2:"252",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#101010"}),e.jsx("stop",{offset:"1",stopColor:"#272727"})]}),e.jsxs("linearGradient",{id:"e",x1:"120.989",y1:"45",x2:"120.989",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#fff",stopOpacity:".4"}),e.jsx("stop",{offset:"1",stopColor:"#fff"})]}),e.jsxs("linearGradient",{id:"f",x1:"107.801",y1:"45",x2:"107.801",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#fff"}),e.jsx("stop",{offset:"1",stopColor:"#fff",stopOpacity:".4"})]}),e.jsxs("radialGradient",{id:"h",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(17 -8.76924 6.97565 13.52294 183.166 221)",children:[e.jsx("stop",{stopColor:"#016BED"}),e.jsx("stop",{offset:".699",stopColor:"#4498FB"}),e.jsx("stop",{offset:"1",stopColor:"#9DFFE8"})]}),e.jsx("clipPath",{id:"g",children:e.jsx("path",{fill:"#fff",transform:"translate(28 214)",d:"M0 0h40.32v8H0z"})}),e.jsx("pattern",{id:"c",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:e.jsx("use",{xlinkHref:"#i",transform:"scale(.00455 .00781)"})}),e.jsxs("filter",{id:"a",x:"0",y:"0",width:"228",height:"258",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"2"}),e.jsx("feGaussianBlur",{stdDeviation:"2"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),e.jsx("feColorMatrix",{values:"0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0"}),e.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1410_22507"}),e.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1410_22507",result:"shape"})]}),e.jsx("image",{id:"i",width:"220",height:"128",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACABAMAAACSOBo+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQO3sjRRBG4a+qWzJhVfdIJqzuGXsJe2bkJe0e2UA4shdIJS2X1LBcUpbL/wae5yQnfVHGjp2+V08yKR7OwBDYte8pi5Aq9DObSBouqN9cidZyusonzWtGJO13phLebEn6xKEnlYyXe5hnySc53Ym9Abn7crTse8r7BMeIB8yBOVZK0trMjxT5S/cgc9G63BQqZoF3xSYZYeRk2hoIvEBFA7XMtaaF8TdY1GjiDDqgE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yvsMZHn2j2wOECoTtkfJt89O+eYUnXB/gFxHxPmOeL9ogAAAABJRU5ErkJggg=="})]})]})};De.defaultProps={width:"228",height:"258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"};function Ue(){const{t}=E(),{blocklet:s}=Y();return e.jsxs(u,{children:[e.jsxs(u,{minHeight:"40vh",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",alignContent:"center",children:[e.jsx(De,{style:{width:200,height:250}}),e.jsx(x,{marginTop:"24px",marginBottom:"24px",children:t("storage.spaces.connect.provider")}),e.jsx(ee,{})]}),e.jsx(x,{fontSize:"1.2rem",fontWeight:"bold",mb:2,children:t("common.dataStorage")}),e.jsx(te,{blocklet:s})]})}Ue.propTypes={};var pe={},gt=$;Object.defineProperty(pe,"__esModule",{value:!0});var be=pe.default=void 0,jt=gt(_()),yt=e;be=pe.default=(0,jt.default)((0,yt.jsx)("path",{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"}),"ArrowOutward");var me={},At=$;Object.defineProperty(me,"__esModule",{value:!0});var Re=me.default=void 0,St=At(_()),Ct=e;Re=me.default=(0,St.default)((0,Ct.jsx)("path",{d:"M14.69 2.21 4.33 11.49c-.64.58-.28 1.65.58 1.73L13 14l-4.85 6.76c-.22.31-.19.74.08 1.01.3.3.77.31 1.08.02l10.36-9.28c.64-.58.28-1.65-.58-1.73L11 10l4.85-6.76c.22-.31.19-.74-.08-1.01-.3-.3-.77-.31-1.08-.02"}),"ElectricBoltOutlined");var he={},vt=$;Object.defineProperty(he,"__esModule",{value:!0});var Ee=he.default=void 0,Bt=vt(_()),It=e;Ee=he.default=(0,Bt.default)((0,It.jsx)("path",{d:"m9.17 6 2 2H20v10H4V6zM10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}),"FolderOutlined");function ue({spaceGateway:t,onDelete:s}){const{t:d}=E(),[a,i]=v.useState(!1),[h,o]=v.useState(!1),r=(c,m)=>{c==null||c.preventDefault(),c==null||c.stopPropagation(),i(m)},j=async c=>{try{c==null||c.stopPropagation(),o(!0),await s(t),i(!1)}catch(m){console.error(m),B.error(`${d("storage.space.gateway.delete.failed")}: ${le(m)}`)}finally{o(!1)}};return e.jsxs(e.Fragment,{children:[e.jsxs(V,{color:"red",onClick:c=>r(c,!0),children:[e.jsx(K,{style:{minWidth:24,color:"red"},children:e.jsx(ht,{fontSize:"small"})}),e.jsx(X,{style:{color:"red"},children:d("common.delete")})]}),e.jsx(Ke,{title:d("common.delConfirmDescription",{data:`${t==null?void 0:t.name}`}),open:a,confirmButton:{text:d("common.confirm"),props:{variant:"contained",color:"error",loading:h}},cancelButton:{text:d("common.cancel"),props:{variant:"contained",color:"primary"},loading:h},onConfirm:j,onCancel:c=>r(c,!1)})]})}ue.propTypes={onDelete:p.func,spaceGateway:p.shape({name:p.string.isRequired,url:p.string.isRequired,protected:p.bool}).isRequired};ue.defaultProps={onDelete:()=>{}};function fe({spaceGateway:t,connected:s,onDelete:d,onConnect:a,enableSwitchToSpace:i,backupInProgress:h,...o}){const[r,j]=v.useState(null),{t:c}=E(),[m,k]=v.useState(!1),y=(g,I)=>{g.stopPropagation(),g.preventDefault(),j(I&&g.currentTarget)},f=async g=>{try{k(!0),y(g,!1),await a(t)}catch(I){console.error(I),B.error(I.message)}finally{k(!1)}};return e.jsxs(e.Fragment,{children:[e.jsx(Xe,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"trigger-blocklet-actions",onClick:g=>y(g,!0),size:"small",...o,children:m||t!=null&&t.loading?e.jsx(q,{size:"24px"}):e.jsx(mt,{})}),e.jsxs(We,{id:"simple-menu",anchorEl:r,keepMounted:!0,open:!!r,onClose:g=>y(g,!1),children:[e.jsxs(V,{onClick:g=>{y(g,!1),window.open(t.endpoint?it(t.endpoint):t.url)},children:[e.jsx(K,{style:{minWidth:24},children:e.jsx(be,{fontSize:"small"})}),e.jsx(X,{children:c("common.open")})]}),e.jsxs(V,{onClick:g=>{y(g,!1),window.open(rt(t.endpoint))},children:[e.jsx(K,{style:{minWidth:24},children:e.jsx(Ee,{fontSize:"small"})}),e.jsx(X,{children:c("storage.spaces.strategy.viewBackupFiles")})]}),!s&&i&&e.jsxs(V,{onClick:f,children:[e.jsx(K,{style:{minWidth:24},children:e.jsx(Re,{fontSize:"small"})}),e.jsx(X,{children:c("storage.spaces.connect.switchToSpace")})]}),!h&&e.jsx(ue,{spaceGateway:t,onDelete:d})]})]})}fe.propTypes={spaceGateway:p.shape({name:p.string.isRequired,url:p.string.isRequired,protected:p.bool,endpoint:p.string.isRequired,loading:p.bool}).isRequired,connected:p.bool.isRequired,enableSwitchToSpace:p.bool,onDelete:p.func,onConnect:p.func,backupInProgress:p.bool};fe.defaultProps={onDelete:()=>{},onConnect:()=>{},enableSwitchToSpace:!0,backupInProgress:!1};var Te=function(s){return e.jsx("svg",{...s,children:e.jsx("circle",{cx:"4",cy:"4",r:"4",fill:"#25C99B"})})};Te.defaultProps={width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var we=function(s){return e.jsx("svg",{...s,children:e.jsx("circle",{cx:"4",cy:"4",r:"4",fill:"#F16E6E"})})};we.defaultProps={width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xe({spaceGateway:t,connected:s,onDelete:d,onBackupNow:a,...i}){const h=Ge(U=>U.breakpoints.down("md")),{t:o,locale:r}=E(),{blocklet:j}=Y(),{api:c,info:{did:m}}=ce(),{appDid:k,appName:y,appDescription:f,scopes:g,appUrl:I,referrer:se}=Be({blocklet:j}),{updateSpaceGateway:D,backupEndpoint:M,backupProgress:n,refreshBackupEndpoint:z}=J(),[b,T]=v.useState(!1),[C,w]=v.useState({open:!1,action:"one-click-authorization",checkTimeout:1e3*300,messages:{title:o("storage.spaces.authorize.title",{appName:y},r),scan:o("storage.spaces.authorize.scan",{appName:y},r),confirm:"",success:e.jsx(x,{gutterBottom:!0,children:o("storage.spaces.authorize.success")})},onClose:()=>{w(U=>({...U,open:!1}))}}),{data:l,loading:A}=Ye(async()=>s?Ce(M):!0,{refreshDeps:[s,M,C==null?void 0:C.open,b]}),S=s&&l,R=s&&!b&&l&&!(t!=null&&t.loading),F=s&&b&&l,O=s&&!l&&!A&&!b,P=async()=>{if(await Ce(t==null?void 0:t.endpoint)){await c.configBlocklet({input:{did:[j.meta.did],configs:[{key:$e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:t.endpoint}]}}),z(),B.success(o("storage.spaces.connect.switchToSpaceSucceeded",{name:t.name?`(${t.name})`:""}));return}w(Q=>({...Q,open:!0,prefix:Z(t.url,"space/api/did"),baseUrl:new URL(t.url).origin,checkFn:ie.create({baseURL:Z(t.url,"space")}).get,extraParams:{appDid:k,appName:y,appDescription:f,scopes:g,appUrl:I,referrer:se,nodeDid:m,spaceDid:t.did}}))},Me=async(U,Q)=>{const oe=Q(U.endpoint),Je=G(oe),N=U.space?Q(U.space):{};if(t.did&&Je!==t.did){w(ne=>({...ne,open:!1})),B.error(o("storage.spaces.gateway.switch.failedForMismatchSpace",{name:N!=null&&N.name?N.name:""}));return}const ze={...t,name:N.name??"DID Space",did:N.did??G(oe),endpoint:oe};await D(ze),w(ne=>({...ne,open:!1}))},Ne=async()=>{try{if(b)return;T(!0),await a()}catch(U){console.error(U),B.error(U.message)}finally{T(!0)}};return v.useEffect(()=>{n!=null&&n.completed?((n==null?void 0:n.progress)===100?B.success(o("storage.spaces.backupSuccessfully")):(n==null?void 0:n.progress)===-1&&B.error(n==null?void 0:n.message),T(!1),n.progress=0,n.message=""):n.progress&&T(!0)},[n]),e.jsxs(kt,{style:{position:"relative"},children:[e.jsxs(u,{sx:{backgroundColor:s?"#F0FDFF":"inherit","&:hover":{backgroundColor:s?"#F0FDFF":"#FBFBFB"},borderRadius:"8px"},display:"flex",padding:"12px 20px",...i,children:[e.jsx(u,{display:"flex",children:e.jsx(nt,{alt:t.did,src:lt(t.endpoint)})}),e.jsxs(u,{className:"spaces-info",display:"flex",flexGrow:(!h||!F)&&1,minWidth:"180px",flexDirection:F?"row":"column",sx:{marginLeft:"20px",padding:"0px 0px"},children:[e.jsxs(u,{className:"spaces-info",display:"flex",maxWidth:"360px",alignItems:"center",children:[e.jsx(x,{color:s?"primary":"inherit",fontSize:"1rem",fontWeight:"bold",children:t.name}),S&&e.jsx(je,{label:e.jsxs(e.Fragment,{children:[e.jsx(Te,{style:{marginRight:"4px"}}),o("storage.spaces.connected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}}),O&&e.jsx(je,{label:e.jsxs(e.Fragment,{children:[e.jsx(we,{style:{marginRight:"4px"}}),o("storage.spaces.disconnected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}})]}),e.jsx(u,{className:"spaces-address",display:F?"none":"flex",color:"#9397A1",marginTop:"8px",children:e.jsx(x,{sx:{display:"inline-flex",alignItems:"center",fontSize:"14px"},color:"#9397A1",children:t.did&&e.jsx(pt,{copyable:!1,size:14,compact:!0,responsive:!1,did:t.did})})})]}),e.jsxs(u,{className:"spaces-backup",display:"flex",alignItems:"center",flex:h&&F&&1,children:[R&&e.jsxs(u,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:[e.jsx(W,{variant:"contained",size:"small",onClick:Ne,children:o("storage.spaces.strategy.backupNow")}),ut&&e.jsx(ke,{name:"enable-auto-backup",title:"coming soon",disabled:!0,labelProps:{label:e.jsx(x,{sx:{marginRight:"8px",fontSize:"16px"},children:e.jsx("span",{children:o("storage.spaces.strategy.autoBackup")})})},style:{marginLeft:"64px"}})]}),F&&e.jsxs(u,{className:"backup-progress",display:"flex",flexDirection:"column",alignItems:"center",minWidth:!h&&"640px",marginLeft:h&&"16px",width:h&&"360px",marginRight:"auto",alignSelf:"flex-end",children:[e.jsx(x,{color:"primary",children:n==null?void 0:n.message}),e.jsxs(u,{sx:{display:"flex",alignItems:"center"},width:"100%",children:[e.jsx(u,{sx:{width:"100%",mr:1},children:e.jsx(qe,{color:"primary",variant:"determinate",value:n==null?void 0:n.progress})}),e.jsx(u,{sx:{maxWidth:"100%"},children:e.jsxs(x,{variant:"body2",color:"text.secondary",children:[n==null?void 0:n.progress,"%"]})})]})]}),O&&e.jsx(u,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:e.jsx(W,{color:"error",variant:"contained",size:"small",onClick:P,children:o("storage.spaces.disconnected.reconnectNow")})}),e.jsx(fe,{sx:{marginLeft:"16px",marginRight:"16px",alignItems:"flex-end",justifyItems:"flex-end"},spaceGateway:t,connected:s,onDelete:d,onConnect:P,enableSwitchToSpace:(n==null?void 0:n.completed)||de.isEmpty(n==null?void 0:n.message),backupInProgress:F})]})]}),e.jsx(re,{forceConnected:!1,saveConnect:!1,prefix:C.prefix,open:C.open,popup:!0,action:C.action,baseUrl:C.baseUrl,checkFn:C.checkFn,onSuccess:Me,onClose:C.onClose,checkTimeout:C.checkTimeout,extraParams:C.extraParams,messages:C.messages,locale:r},"get-endpoint"),e.jsx(u,{className:`selected-container ${s?"selected":""}`,children:e.jsx(_e,{className:"selected-icon"})})]})}xe.propTypes={spaceGateway:p.shape({did:p.string.isRequired,name:p.string.isRequired,url:p.string.isRequired,endpoint:p.string.isRequired,protected:p.bool,loading:p.bool}).isRequired,connected:p.bool.isRequired,progress:p.any.isRequired,onDelete:p.func,onBackupNow:p.func};xe.defaultProps={onDelete:()=>{},onBackupNow:()=>{}};const kt=ve(u)`
1
+ import{aY as Y,aL as ce,u as E,r as v,eG as Ze,b_ as ie,c as Z,f3 as Qe,j as e,T as x,B as u,F as re,ap as Pe,$ as W,S as q,bc as de,o as B,P as p,Y as ve,Z as He,gq as Ve,W as _,X as $,aS as V,f2 as Ke,ay as Xe,aQ as We,a2 as Ge,N as Ye,bi as je,dJ as qe,cq as _e,a8 as $e,x as L,bj as H,a as et,gr as tt}from"./index-BjZoVrCi.js";import{S as ye}from"./index-B05Db2Ns.js";import{D as st,A as ot,f as le}from"./index-CUi6XG87.js";import"./api-CefHmPpT.js";import{u as Be,P as nt}from"./use-blocklet-info-for-connect-did-spaces-DuJeGPlM.js";import{e as G,f as Ae,h as at,i as Se,j as it,k as rt,l as Ce,d as lt}from"./spaces-V708wb9Z.js";import{g as J}from"./dashboard-nnP33m90.js";import{T as ct}from"./TextField-TSikKYan.js";import{I as dt}from"./index-Bh3fbWz9.js";import{E as Ie}from"./Link-BhFnPrd2.js";import{W as pt}from"./did-address-C8LHTEPs.js";import{S as ke}from"./switch-control-CCrwzQnk.js";import{d as mt}from"./MoreVert-CXjMcYsr.js";import{d as ht}from"./DeleteOutline-CqfMaUnc.js";import{L as K,a as X}from"./ListItemText-DeMaBW89.js";import{e as ut}from"./mode-B2dWMeTO.js";import{T as ae}from"./index-BUuKDGn7.js";import{D as ft}from"./index-GzgoR6kP.js";import"./ExpandMore-C3wlzrO6.js";import"./ButtonGroup-Dr1wINhL.js";import"./CloseOutlined-CiEIAAqH.js";import"./index-CPSIBCmf.js";import"./index-D-XBJ_hS.js";import"./index-CbK1pHld.js";import"./useLocalStorage-qtxzz8XA.js";import"./confirm-BpbD98r0.js";import"./Alert-AeJ1R0Ji.js";import"./useSlot-BDG4HR3S.js";import"./Delete-DdNrAas3.js";import"./PlayArrow-BII9eapC.js";import"./RadioGroup-D3tXB92J.js";import"./FormControlLabel-6GUtJ3UI.js";import"./useFormControl-DQK7RvNb.js";import"./FormGroup-wC9N37Ln.js";import"./Avatar-CbYlXxe5.js";import"./session-gABemNhB.js";import"./permission-D1UMw4p9.js";import"./useAsync-BT0mXFoa.js";import"./useSetState-Cz5XYWAQ.js";import"./fallback-COb8X0HB.js";import"./index-B3BoU7cW.js";import"./Toolbar-C-qwCTaG.js";import"./Hidden-BDqqTjop.js";import"./MoreHoriz-BREdPNxQ.js";import"./index-DIGh8Teu.js";import"./selector-DX2rg91W.js";import"./FormControl-CJq7Xfma.js";import"./InputLabel-BKPmNudA.js";import"./Select-Cl7jr-Au.js";import"./index-DqicrHi6.js";import"./FilterList-soA8TS15.js";import"./TableRow-C9biku2f.js";import"./Grid-pyRe8btq.js";import"./LastPage-2HRADEqb.js";import"./index-B_y65RU8.js";import"./redux-LM7tQupS.js";import"./Search-DxjUq8WV.js";import"./index-DPGe_CmP.js";function ee({...t}){const{blocklet:s}=Y(),{info:d}=ce(),{t:a,locale:i}=E(),[h,o]=v.useState(""),[r,j]=v.useState(!1),[c,m]=v.useState(!1),[k,y]=v.useState(""),f=Be({blocklet:s}),g=Ze(d),{spaceGateways:I,addSpaceGateway:se}=J(),[D,M]=v.useState({open:!1,action:"connect-to-did-spaces",checkTimeout:1e3*300,checkFn:ie.create({baseURL:Z(window.location.origin,Qe())}).get,messages:{title:a("storage.spaces.provideNFT.title",{appName:f.appName},i),scan:a("storage.spaces.provideNFT.scan",{appName:f.appName},i),confirm:"",success:e.jsx(x,{gutterBottom:!0,children:a("storage.spaces.provideNFT.success")})},onClose:()=>{M(l=>({...l,open:!1}))}}),[n,z]=v.useState({open:!1,action:"one-click-authorization",checkTimeout:1e3*300,messages:{title:a("storage.spaces.authorize.title",{appName:f.appName},i),scan:a("storage.spaces.authorize.scan",{appName:f.appName},i),confirm:"",success:e.jsx(x,{gutterBottom:!0,children:a("storage.spaces.authorize.success")})},onClose:()=>{z(l=>({...l,open:!1}))}}),b=async({endpoint:l,name:A,did:S})=>{const R=await Ae(l);if(!await Se(R)){B.error(a("storage.spaces.gateway.add.invalidUrl"));return}if(I.some(Q=>Q.endpoint===l)){B.error(a("storage.spaces.gateway.add.duplicate",{name:A}));return}const O={name:A,did:S,url:R,endpoint:l};await se(O,l),B.success(a("storage.spaces.connectedWithName",{name:(O==null?void 0:O.name)??"DID Spaces"}))},T=async(l,A)=>{try{if(!de.isEmpty(l.spaceGateway))await b(A(l.spaceGateway));else{const S=A(l.endpoint),R=l.space?A(l.space):{};await b({endpoint:S,did:G(S),name:"DID Space",...R})}z(S=>({...S,open:!1})),o(null),M(S=>({...S,open:!1}))}catch(S){console.error(S),B.error(le(S))}},C=()=>{M(l=>({...l,open:!0,extraParams:{appPid:s.appPid,appName:f.appName,appDescription:f.appDescription,scopes:f.scopes,appUrl:f.appUrl,referrer:f.referrer,nodeDid:d.did}}))},w=async()=>{try{j(!0);const l=await Ae(h),A=at(l),S=new URL(l).searchParams.get("spaceDid");if(!await Se(A))throw new Error(a("storage.spaces.gateway.add.invalidUrl"));z(R=>({...R,open:!0,prefix:Z(A,"space/api/did"),baseUrl:new URL(A).origin,checkFn:ie.create({baseURL:Z(A,"space")}).get,extraParams:{appDid:f.appDid,appName:f.appName,appDescription:f.appDescription,scopes:f.scopes,appUrl:f.appUrl,referrer:f.referrer,nodeDid:d.did,spaceDid:S}})),m(!1)}catch(l){const A=`${a("storage.spaces.gateway.add.failed",i)}: ${le(l)}`;y(A)}finally{j(!1)}};return e.jsxs(u,{children:[e.jsx(ye,{color:"primary",style:{textTransform:"none !important",fontSize:"1rem"},size:"small",onClick:C,menu:[e.jsx(ye.Item,{sx:{textTransform:"none"},onClick:()=>m(!0),size:"small",...t,children:a("storage.spaces.connect.useSpaceGateway")},"1")],children:e.jsx(x,{sx:{fontWeight:"bold",textTransform:"none"},children:a("storage.spaces.connect.useWallet")})}),e.jsx(re,{forceConnected:!1,saveConnect:!1,prefix:D.prefix,open:D.open,popup:!0,action:D.action,webWalletUrl:g,baseUrl:D.baseUrl,checkFn:D.checkFn,onSuccess:T,onClose:D.onClose,checkTimeout:D.checkTimeout,extraParams:D.extraParams,messages:D.messages,locale:i}),e.jsx(re,{forceConnected:!1,saveConnect:!1,prefix:n.prefix,open:n.open,popup:!0,action:n.action,baseUrl:n.baseUrl,checkFn:n.checkFn,onSuccess:T,onClose:n.onClose,checkTimeout:n.checkTimeout,extraParams:n.extraParams,messages:n.messages,locale:i}),e.jsxs(Pe,{title:a("storage.spaces.gateway.add.title"),fullWidth:!0,maxWidth:"md",open:c,onClose:()=>m(!1),PaperProps:{style:{minHeight:"auto"}},actions:e.jsxs(e.Fragment,{children:[e.jsx(W,{onClick:l=>{l.stopPropagation(),m(!1)},color:"inherit",children:a("common.cancel")}),e.jsxs(W,{onClick:w,color:"primary",disabled:r||!h,variant:"contained",autoFocus:!0,children:[r&&e.jsx(q,{size:16}),a("common.confirm")]})]}),children:[e.jsx("div",{style:{paddingTop:12,overflowY:"hidden"},children:e.jsx(st,{component:"div",children:e.jsx(x,{component:"div",children:e.jsx(ct,{label:a("storage.spaces.gateway.add.label"),autoComplete:"off",variant:"outlined",name:"url",fullWidth:!0,value:h,onChange:l=>{y(null),o(l.target.value)},disabled:r,onKeyPress:async l=>{l.key==="Enter"&&await w()},autoFocus:!0})})})}),!!k&&e.jsx(ot,{type:"error",style:{width:"100%"},children:k})]})]})}ee.propTypes={};ee.defaultProps={};function te({blocklet:t,...s}){const{t:d}=v.useContext(He);if(!t.diskInfo)return e.jsx(x,{children:d("blocklet.diskInfo.empty")});const a=(o,r,j)=>e.jsxs(x,{children:[j?e.jsx(Ie,{style:{cursor:"pointer"},onClick:j,underline:"hover",children:o}):o," ",e.jsx("strong",{children:r?Ve(r):"empty"})]}),i=t.environments.reduce((o,r)=>(o[r.key]=r.value,o),{}),h=[{key:"appDir",name:d("blocklet.diskInfo.appDir"),value:a(i.BLOCKLET_APP_DIR,t.diskInfo.app)},{key:"dataDir",name:d("blocklet.diskInfo.dataDir"),value:a(i.BLOCKLET_DATA_DIR,t.diskInfo.data)},{key:"logDir",name:d("blocklet.diskInfo.logDir"),value:a(i.BLOCKLET_LOG_DIR,t.diskInfo.log)},{key:"cacheDir",name:d("blocklet.diskInfo.cacheDir"),value:a(i.BLOCKLET_CACHE_DIR,t.diskInfo.cache)}];return e.jsx(xt,{component:"div",...s,children:h.map(o=>e.jsx(dt,{valueComponent:"div",nameWidth:120,name:o.name,children:o.value},o.key))})}te.propTypes={blocklet:p.object.isRequired};te.defaultProps={};const xt=ve(x)``;var De=function(s){return e.jsxs("svg",{...s,children:[e.jsxs("g",{filter:"url(#a)",children:[e.jsx("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97Z",fill:"#DDD"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m49.192 6.222-40.97 40.97A11 11 0 0 0 5 54.971V240c0 6.075 4.925 11 11 11h196c6.075 0 11-4.925 11-11V14c0-6.075-4.925-11-11-11H56.97a11 11 0 0 0-7.778 3.222Zm-.707-.707A12 12 0 0 1 56.971 2H212c6.627 0 12 5.373 12 12v226c0 6.627-5.373 12-12 12H16c-6.627 0-12-5.373-12-12V54.97a12 12 0 0 1 3.515-8.485l40.97-40.97Z",fill:"#000",fillOpacity:".08"}),e.jsx("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"4",y:"2",width:"220",height:"250",children:e.jsx("path",{d:"M56.97 2a12 12 0 0 0-8.485 3.515l-40.97 40.97A12 12 0 0 0 4 54.971V240c0 6.627 5.373 12 12 12h196c6.627 0 12-5.373 12-12V14c0-6.627-5.373-12-12-12H56.97Z",fill:"#D9D9D9"})}),e.jsxs("g",{mask:"url(#b)",children:[e.jsx("path",{opacity:".5",fill:"url(#c)",d:"M4 2h220v128H4z"}),e.jsx("path",{opacity:".1",fill:"url(#d)",d:"M4 130h220v122H4z"}),e.jsx("path",{d:"M33.045 169h-3.767v-11.636h3.887c1.14 0 2.12.233 2.937.698a4.61 4.61 0 0 1 1.881 1.995c.44.863.659 1.899.659 3.108 0 1.212-.222 2.254-.665 3.125a4.668 4.668 0 0 1-1.909 2.011c-.833.466-1.84.699-3.023.699Zm-2.01-1.534h1.914c.886 0 1.623-.167 2.21-.5a3.152 3.152 0 0 0 1.318-1.46c.292-.64.438-1.421.438-2.341 0-.913-.146-1.688-.438-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568Zm11.546-10.102V169h-1.756v-11.636h1.756ZM48.905 169h-3.767v-11.636h3.886c1.14 0 2.12.233 2.938.698a4.609 4.609 0 0 1 1.88 1.995c.44.863.66 1.899.66 3.108 0 1.212-.222 2.254-.665 3.125a4.667 4.667 0 0 1-1.91 2.011c-.833.466-1.84.699-3.022.699Zm-2.011-1.534h1.914c.887 0 1.623-.167 2.21-.5a3.151 3.151 0 0 0 1.319-1.46c.291-.64.437-1.421.437-2.341 0-.913-.146-1.688-.437-2.324a3.095 3.095 0 0 0-1.29-1.449c-.572-.33-1.282-.494-2.13-.494h-2.023v8.568Zm20.372-7.046a1.662 1.662 0 0 0-.75-1.25c-.44-.299-.993-.448-1.66-.448-.477 0-.89.075-1.238.227a1.91 1.91 0 0 0-.813.613c-.189.258-.284.552-.284.881 0 .277.065.515.194.716.132.201.304.369.516.506.216.132.447.244.694.335.246.087.483.159.71.216l1.136.295c.371.091.752.214 1.142.37.39.155.752.36 1.086.613.333.254.602.568.806.944.209.374.313.823.313 1.346 0 .659-.17 1.244-.511 1.756-.338.511-.828.915-1.472 1.21-.64.295-1.415.443-2.324.443-.871 0-1.625-.138-2.261-.415-.637-.276-1.135-.668-1.495-1.176-.36-.511-.558-1.117-.596-1.818h1.761c.034.421.17.771.41 1.051.242.277.55.483.925.62.38.132.794.198 1.245.198.496 0 .937-.077 1.324-.233.39-.159.697-.378.92-.659a1.56 1.56 0 0 0 .335-.994c0-.345-.098-.627-.295-.847a2.191 2.191 0 0 0-.79-.545 7.725 7.725 0 0 0-1.12-.381l-1.374-.375c-.932-.253-1.67-.627-2.216-1.119-.542-.492-.813-1.144-.813-1.955 0-.67.182-1.255.546-1.755.363-.5.856-.888 1.477-1.165.621-.28 1.322-.42 2.102-.42.788 0 1.483.138 2.085.414.607.277 1.084.658 1.432 1.142.349.481.53 1.034.546 1.659h-1.693Zm3.813 11.853v-12h1.66v1.415h.142c.098-.182.24-.393.426-.631.185-.239.443-.447.772-.625.33-.182.766-.273 1.307-.273.705 0 1.334.178 1.887.534.553.356.987.869 1.3 1.54.319.67.478 1.477.478 2.42 0 .944-.157 1.752-.472 2.427-.314.67-.746 1.187-1.295 1.551-.55.36-1.176.539-1.88.539-.53 0-.965-.089-1.302-.267a2.457 2.457 0 0 1-.784-.625 4.667 4.667 0 0 1-.437-.636h-.103v4.631H71.08Zm1.665-7.637c0 .614.09 1.152.267 1.614.178.462.436.824.773 1.085.337.258.75.387 1.239.387.507 0 .931-.135 1.273-.404.34-.273.598-.642.772-1.108.178-.466.267-.99.267-1.574 0-.575-.087-1.092-.261-1.551-.17-.458-.428-.82-.773-1.085-.34-.265-.767-.398-1.278-.398-.493 0-.91.127-1.25.381-.337.254-.593.608-.767 1.062-.175.455-.262.985-.262 1.591Zm10.75 4.557a3.557 3.557 0 0 1-1.5-.307 2.523 2.523 0 0 1-1.062-.903c-.258-.394-.386-.877-.386-1.449 0-.492.094-.898.283-1.216.19-.318.446-.57.768-.756a4.036 4.036 0 0 1 1.08-.42c.397-.095.802-.167 1.215-.216l1.273-.148c.325-.041.562-.108.71-.198.148-.091.222-.239.222-.444v-.039c0-.497-.14-.881-.42-1.154-.277-.273-.69-.409-1.24-.409-.572 0-1.022.127-1.352.381-.325.25-.55.528-.676.835l-1.597-.364c.19-.53.466-.958.83-1.284.368-.329.79-.568 1.267-.716.477-.151.98-.227 1.506-.227.348 0 .718.042 1.108.125.394.08.761.227 1.102.443.345.216.627.525.847.926.22.398.33.915.33 1.552V169h-1.66v-1.193h-.068c-.11.22-.275.435-.495.648-.22.212-.501.388-.846.528s-.758.21-1.239.21Zm.37-1.363c.47 0 .87-.093 1.204-.279.337-.185.593-.428.767-.727.178-.303.267-.627.267-.972v-1.125c-.06.061-.178.118-.352.171-.17.049-.365.093-.585.13-.22.034-.434.067-.642.097l-.523.068c-.33.042-.63.112-.903.21a1.553 1.553 0 0 0-.648.427c-.16.181-.239.424-.239.727 0 .42.156.738.466.954.31.212.707.319 1.188.319Zm9.876 1.346c-.845 0-1.572-.191-2.182-.574a3.796 3.796 0 0 1-1.398-1.596c-.325-.678-.488-1.455-.488-2.33 0-.886.166-1.668.5-2.346a3.832 3.832 0 0 1 1.409-1.597c.606-.383 1.32-.574 2.142-.574.663 0 1.254.123 1.773.369.519.243.937.584 1.255 1.023.322.44.514.953.574 1.54h-1.653c-.091-.409-.3-.761-.625-1.057-.322-.295-.754-.443-1.296-.443a2.11 2.11 0 0 0-1.244.375c-.352.246-.627.598-.824 1.057-.197.454-.295.992-.295 1.613 0 .637.096 1.186.29 1.648.193.462.466.82.818 1.074.356.254.774.381 1.255.381.322 0 .614-.059.875-.177.266-.121.487-.293.665-.517.182-.223.309-.492.38-.806h1.654a3.211 3.211 0 0 1-.55 1.511 3.165 3.165 0 0 1-1.234 1.045c-.511.254-1.111.381-1.8.381Zm9.163 0c-.859 0-1.6-.184-2.221-.551a3.732 3.732 0 0 1-1.432-1.563c-.333-.674-.5-1.464-.5-2.369 0-.894.167-1.682.5-2.363a3.887 3.887 0 0 1 1.409-1.597c.606-.383 1.314-.574 2.125-.574.493 0 .97.082 1.432.244.462.163.877.419 1.244.767.368.349.657.802.87 1.358.212.553.318 1.226.318 2.017v.603H99.71v-1.273h5.273c0-.447-.091-.843-.273-1.187a2.052 2.052 0 0 0-.767-.824c-.326-.201-.708-.302-1.148-.302a2.22 2.22 0 0 0-1.25.353 2.364 2.364 0 0 0-.818.909 2.626 2.626 0 0 0-.284 1.21v.994c0 .584.102 1.08.307 1.489.208.409.498.722.869.938.372.212.805.318 1.301.318a2.7 2.7 0 0 0 .881-.137c.265-.094.494-.234.688-.42.193-.186.341-.415.443-.688l1.608.29c-.129.474-.36.888-.693 1.244-.33.353-.745.627-1.245.824-.496.194-1.062.29-1.699.29Z",fill:"#fff"}),e.jsx("path",{d:"M117.604 47.263 121.523 45h14.267v41.862h-14.267l-15.335-8.854V53.854l1.818-1.05 3.2 1.848-1.818 1.05V76.16l12.993 7.502h10.209V48.2h-10.209l-1.577.91-3.2-1.847Z",fill:"url(#e)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M119.402 76.16V55.701L106.409 48.2H96.2v35.462h10.209l1.582-.913 3.2 1.847-3.924 2.266H93V45h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047Z",fill:"url(#f)"}),e.jsxs("g",{clipPath:"url(#g)",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff",children:[e.jsx("path",{d:"m50.928 216.089 1.034 2.852h-2.503l1.028-2.842a4.95 4.95 0 0 0 .107-.338 7.17 7.17 0 0 0 .111-.409c.075.297.15.542.223.737Zm2.28 5.591h.796l-2.775-7.352h-1.043l-2.774 7.352h.795a.338.338 0 0 0 .223-.077.425.425 0 0 0 .127-.179l.615-1.705h3.07l.617 1.705a.399.399 0 0 0 .126.184.339.339 0 0 0 .223.072Zm4.823-.963a2.023 2.023 0 0 1-.67.098h-1.455v-2.453h1.456c.5 0 .871.106 1.11.318.24.208.36.495.36.86 0 .184-.028.355-.083.512a1.005 1.005 0 0 1-.262.399 1.2 1.2 0 0 1-.456.266Zm-2.125-3.128v-2.406h1.237c.498 0 .865.095 1.101.286.236.192.355.497.355.917 0 .369-.125.662-.374.881-.246.215-.623.322-1.13.322h-1.189Zm2.358-3.128a4.106 4.106 0 0 0-1.12-.133h-2.27v7.352h2.507c.391 0 .74-.051 1.048-.154.307-.102.566-.247.776-.435.21-.188.37-.409.48-.665.11-.26.165-.547.165-.861 0-.904-.506-1.462-1.518-1.674.22-.075.41-.169.572-.281a1.79 1.79 0 0 0 .403-.379c.106-.144.186-.297.237-.461.052-.164.078-.335.078-.512a2.1 2.1 0 0 0-.146-.804 1.49 1.49 0 0 0-.441-.609 2.073 2.073 0 0 0-.771-.384Zm7.535.778h-2.212v6.441h-1.028v-6.441h-2.222v-.911H65.8v.911Zm2.439.564h-1.13v1.193h1.13v-1.193Zm-1.13 2.983h1.13v1.193h-1.13v-1.193Z",fillOpacity:".8"}),e.jsx("path",{d:"M28.247 221.771V214h3.894c.99.072 1.765.944 1.765 1.998v3.77c0 1.106-.85 2.003-1.897 2.003h-3.762ZM36.355 214h-1.011v7.783h1.01V214Zm-7.097 6.704v-5.642h2.751c.49 0 .886.419.886.936v3.77c0 .517-.396.936-.886.936h-2.75ZM37.775 214v7.771h3.762c1.047 0 1.897-.897 1.897-2.003v-3.77c0-1.054-.774-1.926-1.765-1.998h-3.894Zm6.946 1.803h1.13v1.193h-1.13v-1.193Zm1.13 2.983h-1.13v1.193h1.13v-1.193Zm-7.065-3.724v5.642h2.75c.49 0 .887-.419.887-.936v-3.77c0-.517-.397-.936-.886-.936h-2.751Z"})]}),e.jsx("circle",{cx:"191.32",cy:"218",r:"10",fill:"url(#h)"}),e.jsx("path",{d:"m192.064 213.333.976-.564h3.554v10.427h-3.286a1 1 0 0 1-.5-.134l-3.588-2.071v-6.016l.453-.262.797.46-.453.262v5.096l3.237 1.868h2.543v-8.833h-2.543l-.393.227-.797-.46Z",fill:"#fff"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M192.512 220.531v-5.096l-3.237-1.869h-2.543v8.833h2.543l.394-.227.797.46-.977.564h-3.554v-10.427h3.554l3.82 2.206v6.016l-.452.261-.797-.461.452-.26Z",fill:"#fff"})]})]}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"d",x1:"114",y1:"130",x2:"114",y2:"252",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#101010"}),e.jsx("stop",{offset:"1",stopColor:"#272727"})]}),e.jsxs("linearGradient",{id:"e",x1:"120.989",y1:"45",x2:"120.989",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#fff",stopOpacity:".4"}),e.jsx("stop",{offset:"1",stopColor:"#fff"})]}),e.jsxs("linearGradient",{id:"f",x1:"107.801",y1:"45",x2:"107.801",y2:"86.862",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#fff"}),e.jsx("stop",{offset:"1",stopColor:"#fff",stopOpacity:".4"})]}),e.jsxs("radialGradient",{id:"h",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(17 -8.76924 6.97565 13.52294 183.166 221)",children:[e.jsx("stop",{stopColor:"#016BED"}),e.jsx("stop",{offset:".699",stopColor:"#4498FB"}),e.jsx("stop",{offset:"1",stopColor:"#9DFFE8"})]}),e.jsx("clipPath",{id:"g",children:e.jsx("path",{fill:"#fff",transform:"translate(28 214)",d:"M0 0h40.32v8H0z"})}),e.jsx("pattern",{id:"c",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:e.jsx("use",{xlinkHref:"#i",transform:"scale(.00455 .00781)"})}),e.jsxs("filter",{id:"a",x:"0",y:"0",width:"228",height:"258",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[e.jsx("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.jsx("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.jsx("feOffset",{dy:"2"}),e.jsx("feGaussianBlur",{stdDeviation:"2"}),e.jsx("feComposite",{in2:"hardAlpha",operator:"out"}),e.jsx("feColorMatrix",{values:"0 0 0 0 0.0631944 0 0 0 0 0.242785 0 0 0 0 0.403472 0 0 0 0.2 0"}),e.jsx("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1410_22507"}),e.jsx("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1410_22507",result:"shape"})]}),e.jsx("image",{id:"i",width:"220",height:"128",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACABAMAAACSOBo+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQO3sjRRBG4a+qWzJhVfdIJqzuGXsJe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i7BqLbFkKcfxLQYhAXfjam0yFFd3PZE9wlXWfHYKlg2cFlTcnwRH6z8DpSfQHidMhElmCMb07li9ceHQHFknk/98f4KJRLpX6xQEXVAnJxlr8Aw6/qb0wu9SNolstScB0izxmMC5DiytBJd9Rcm3RGf42aiddmUTM4d4dgdjiT+vMPX0/RzfZdLoZ4aQqPzhx9plNI3QyvsMZHn2j2wOECoTtkfJt89O+eYUnXB/gFxHxPmOeL9ogAAAABJRU5ErkJggg=="})]})]})};De.defaultProps={width:"228",height:"258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"};function Ue(){const{t}=E(),{blocklet:s}=Y();return e.jsxs(u,{children:[e.jsxs(u,{minHeight:"40vh",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",alignContent:"center",children:[e.jsx(De,{style:{width:200,height:250}}),e.jsx(x,{marginTop:"24px",marginBottom:"24px",children:t("storage.spaces.connect.provider")}),e.jsx(ee,{})]}),e.jsx(x,{fontSize:"1.2rem",fontWeight:"bold",mb:2,children:t("common.dataStorage")}),e.jsx(te,{blocklet:s})]})}Ue.propTypes={};var pe={},gt=$;Object.defineProperty(pe,"__esModule",{value:!0});var be=pe.default=void 0,jt=gt(_()),yt=e;be=pe.default=(0,jt.default)((0,yt.jsx)("path",{d:"M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z"}),"ArrowOutward");var me={},At=$;Object.defineProperty(me,"__esModule",{value:!0});var Re=me.default=void 0,St=At(_()),Ct=e;Re=me.default=(0,St.default)((0,Ct.jsx)("path",{d:"M14.69 2.21 4.33 11.49c-.64.58-.28 1.65.58 1.73L13 14l-4.85 6.76c-.22.31-.19.74.08 1.01.3.3.77.31 1.08.02l10.36-9.28c.64-.58.28-1.65-.58-1.73L11 10l4.85-6.76c.22-.31.19-.74-.08-1.01-.3-.3-.77-.31-1.08-.02"}),"ElectricBoltOutlined");var he={},vt=$;Object.defineProperty(he,"__esModule",{value:!0});var Ee=he.default=void 0,Bt=vt(_()),It=e;Ee=he.default=(0,Bt.default)((0,It.jsx)("path",{d:"m9.17 6 2 2H20v10H4V6zM10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"}),"FolderOutlined");function ue({spaceGateway:t,onDelete:s}){const{t:d}=E(),[a,i]=v.useState(!1),[h,o]=v.useState(!1),r=(c,m)=>{c==null||c.preventDefault(),c==null||c.stopPropagation(),i(m)},j=async c=>{try{c==null||c.stopPropagation(),o(!0),await s(t),i(!1)}catch(m){console.error(m),B.error(`${d("storage.space.gateway.delete.failed")}: ${le(m)}`)}finally{o(!1)}};return e.jsxs(e.Fragment,{children:[e.jsxs(V,{color:"red",onClick:c=>r(c,!0),children:[e.jsx(K,{style:{minWidth:24,color:"red"},children:e.jsx(ht,{fontSize:"small"})}),e.jsx(X,{style:{color:"red"},children:d("common.delete")})]}),e.jsx(Ke,{title:d("common.delConfirmDescription",{data:`${t==null?void 0:t.name}`}),open:a,confirmButton:{text:d("common.confirm"),props:{variant:"contained",color:"error",loading:h}},cancelButton:{text:d("common.cancel"),props:{variant:"contained",color:"primary"},loading:h},onConfirm:j,onCancel:c=>r(c,!1)})]})}ue.propTypes={onDelete:p.func,spaceGateway:p.shape({name:p.string.isRequired,url:p.string.isRequired,protected:p.bool}).isRequired};ue.defaultProps={onDelete:()=>{}};function fe({spaceGateway:t,connected:s,onDelete:d,onConnect:a,enableSwitchToSpace:i,backupInProgress:h,...o}){const[r,j]=v.useState(null),{t:c}=E(),[m,k]=v.useState(!1),y=(g,I)=>{g.stopPropagation(),g.preventDefault(),j(I&&g.currentTarget)},f=async g=>{try{k(!0),y(g,!1),await a(t)}catch(I){console.error(I),B.error(I.message)}finally{k(!1)}};return e.jsxs(e.Fragment,{children:[e.jsx(Xe,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"trigger-blocklet-actions",onClick:g=>y(g,!0),size:"small",...o,children:m||t!=null&&t.loading?e.jsx(q,{size:"24px"}):e.jsx(mt,{})}),e.jsxs(We,{id:"simple-menu",anchorEl:r,keepMounted:!0,open:!!r,onClose:g=>y(g,!1),children:[e.jsxs(V,{onClick:g=>{y(g,!1),window.open(t.endpoint?it(t.endpoint):t.url)},children:[e.jsx(K,{style:{minWidth:24},children:e.jsx(be,{fontSize:"small"})}),e.jsx(X,{children:c("common.open")})]}),e.jsxs(V,{onClick:g=>{y(g,!1),window.open(rt(t.endpoint))},children:[e.jsx(K,{style:{minWidth:24},children:e.jsx(Ee,{fontSize:"small"})}),e.jsx(X,{children:c("storage.spaces.strategy.viewBackupFiles")})]}),!s&&i&&e.jsxs(V,{onClick:f,children:[e.jsx(K,{style:{minWidth:24},children:e.jsx(Re,{fontSize:"small"})}),e.jsx(X,{children:c("storage.spaces.connect.switchToSpace")})]}),!h&&e.jsx(ue,{spaceGateway:t,onDelete:d})]})]})}fe.propTypes={spaceGateway:p.shape({name:p.string.isRequired,url:p.string.isRequired,protected:p.bool,endpoint:p.string.isRequired,loading:p.bool}).isRequired,connected:p.bool.isRequired,enableSwitchToSpace:p.bool,onDelete:p.func,onConnect:p.func,backupInProgress:p.bool};fe.defaultProps={onDelete:()=>{},onConnect:()=>{},enableSwitchToSpace:!0,backupInProgress:!1};var Te=function(s){return e.jsx("svg",{...s,children:e.jsx("circle",{cx:"4",cy:"4",r:"4",fill:"#25C99B"})})};Te.defaultProps={width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var we=function(s){return e.jsx("svg",{...s,children:e.jsx("circle",{cx:"4",cy:"4",r:"4",fill:"#F16E6E"})})};we.defaultProps={width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xe({spaceGateway:t,connected:s,onDelete:d,onBackupNow:a,...i}){const h=Ge(U=>U.breakpoints.down("md")),{t:o,locale:r}=E(),{blocklet:j}=Y(),{api:c,info:{did:m}}=ce(),{appDid:k,appName:y,appDescription:f,scopes:g,appUrl:I,referrer:se}=Be({blocklet:j}),{updateSpaceGateway:D,backupEndpoint:M,backupProgress:n,refreshBackupEndpoint:z}=J(),[b,T]=v.useState(!1),[C,w]=v.useState({open:!1,action:"one-click-authorization",checkTimeout:1e3*300,messages:{title:o("storage.spaces.authorize.title",{appName:y},r),scan:o("storage.spaces.authorize.scan",{appName:y},r),confirm:"",success:e.jsx(x,{gutterBottom:!0,children:o("storage.spaces.authorize.success")})},onClose:()=>{w(U=>({...U,open:!1}))}}),{data:l,loading:A}=Ye(async()=>s?Ce(M):!0,{refreshDeps:[s,M,C==null?void 0:C.open,b]}),S=s&&l,R=s&&!b&&l&&!(t!=null&&t.loading),F=s&&b&&l,O=s&&!l&&!A&&!b,Q=async()=>{if(await Ce(t==null?void 0:t.endpoint)){await c.configBlocklet({input:{did:[j.meta.did],configs:[{key:$e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_BACKUP_ENDPOINT,value:t.endpoint}]}}),z(),B.success(o("storage.spaces.connect.switchToSpaceSucceeded",{name:t.name?`(${t.name})`:""}));return}w(P=>({...P,open:!0,prefix:Z(t.url,"space/api/did"),baseUrl:new URL(t.url).origin,checkFn:ie.create({baseURL:Z(t.url,"space")}).get,extraParams:{appDid:k,appName:y,appDescription:f,scopes:g,appUrl:I,referrer:se,nodeDid:m,spaceDid:t.did}}))},Me=async(U,P)=>{const oe=P(U.endpoint),Je=G(oe),N=U.space?P(U.space):{};if(t.did&&Je!==t.did){w(ne=>({...ne,open:!1})),B.error(o("storage.spaces.gateway.switch.failedForMismatchSpace",{name:N!=null&&N.name?N.name:""}));return}const ze={...t,name:N.name??"DID Space",did:N.did??G(oe),endpoint:oe};await D(ze),w(ne=>({...ne,open:!1}))},Ne=async()=>{try{if(b)return;T(!0),await a()}catch(U){console.error(U),B.error(U.message)}finally{T(!0)}};return v.useEffect(()=>{n!=null&&n.completed?((n==null?void 0:n.progress)===100?B.success(o("storage.spaces.backupSuccessfully")):(n==null?void 0:n.progress)===-1&&B.error(n==null?void 0:n.message),T(!1),n.progress=0,n.message=""):n.progress&&T(!0)},[n]),e.jsxs(kt,{style:{position:"relative"},children:[e.jsxs(u,{sx:{backgroundColor:s?"#F0FDFF":"inherit","&:hover":{backgroundColor:s?"#F0FDFF":"#FBFBFB"},borderRadius:"8px"},display:"flex",padding:"12px 20px",...i,children:[e.jsx(u,{display:"flex",children:e.jsx(nt,{alt:t.did,src:lt(t.endpoint)})}),e.jsxs(u,{className:"spaces-info",display:"flex",flexGrow:(!h||!F)&&1,minWidth:"180px",flexDirection:F?"row":"column",sx:{marginLeft:"20px",padding:"0px 0px"},children:[e.jsxs(u,{className:"spaces-info",display:"flex",maxWidth:"360px",alignItems:"center",children:[e.jsx(x,{color:s?"primary":"inherit",fontSize:"1rem",fontWeight:"bold",children:t.name}),S&&e.jsx(je,{label:e.jsxs(e.Fragment,{children:[e.jsx(Te,{style:{marginRight:"4px"}}),o("storage.spaces.connected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}}),O&&e.jsx(je,{label:e.jsxs(e.Fragment,{children:[e.jsx(we,{style:{marginRight:"4px"}}),o("storage.spaces.disconnected.tag")]}),variant:"outlined",size:"small",style:{marginLeft:"20px",fontWeight:"bold"}})]}),e.jsx(u,{className:"spaces-address",display:F?"none":"flex",color:"#9397A1",marginTop:"8px",children:e.jsx(x,{sx:{display:"inline-flex",alignItems:"center",fontSize:"14px"},color:"#9397A1",children:t.did&&e.jsx(pt,{copyable:!1,size:14,compact:!0,responsive:!1,did:t.did})})})]}),e.jsxs(u,{className:"spaces-backup",display:"flex",alignItems:"center",flex:h&&F&&1,children:[R&&e.jsxs(u,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:[e.jsx(W,{variant:"contained",size:"small",onClick:Ne,children:o("storage.spaces.strategy.backupNow")}),ut&&e.jsx(ke,{name:"enable-auto-backup",title:"coming soon",disabled:!0,labelProps:{label:e.jsx(x,{sx:{marginRight:"8px",fontSize:"16px"},children:e.jsx("span",{children:o("storage.spaces.strategy.autoBackup")})})},style:{marginLeft:"64px"}})]}),F&&e.jsxs(u,{className:"backup-progress",display:"flex",flexDirection:"column",alignItems:"center",minWidth:!h&&"640px",marginLeft:h&&"16px",width:h&&"360px",marginRight:"auto",alignSelf:"flex-end",children:[e.jsx(x,{color:"primary",children:n==null?void 0:n.message}),e.jsxs(u,{sx:{display:"flex",alignItems:"center"},width:"100%",children:[e.jsx(u,{sx:{width:"100%",mr:1},children:e.jsx(qe,{color:"primary",variant:"determinate",value:n==null?void 0:n.progress})}),e.jsx(u,{sx:{maxWidth:"100%"},children:e.jsxs(x,{variant:"body2",color:"text.secondary",children:[n==null?void 0:n.progress,"%"]})})]})]}),O&&e.jsx(u,{className:"backup-strategy",display:"flex",alignItems:"center",width:"100%",children:e.jsx(W,{color:"error",variant:"contained",size:"small",onClick:Q,children:o("storage.spaces.disconnected.reconnectNow")})}),e.jsx(fe,{sx:{marginLeft:"16px",marginRight:"16px",alignItems:"flex-end",justifyItems:"flex-end"},spaceGateway:t,connected:s,onDelete:d,onConnect:Q,enableSwitchToSpace:(n==null?void 0:n.completed)||de.isEmpty(n==null?void 0:n.message),backupInProgress:F})]})]}),e.jsx(re,{forceConnected:!1,saveConnect:!1,prefix:C.prefix,open:C.open,popup:!0,action:C.action,baseUrl:C.baseUrl,checkFn:C.checkFn,onSuccess:Me,onClose:C.onClose,checkTimeout:C.checkTimeout,extraParams:C.extraParams,messages:C.messages,locale:r},"get-endpoint"),e.jsx(u,{className:`selected-container ${s?"selected":""}`,children:e.jsx(_e,{className:"selected-icon"})})]})}xe.propTypes={spaceGateway:p.shape({did:p.string.isRequired,name:p.string.isRequired,url:p.string.isRequired,endpoint:p.string.isRequired,protected:p.bool,loading:p.bool}).isRequired,connected:p.bool.isRequired,progress:p.any.isRequired,onDelete:p.func,onBackupNow:p.func};xe.defaultProps={onDelete:()=>{},onBackupNow:()=>{}};const kt=ve(u)`
2
2
  .selected-container {
3
3
  position: absolute;
4
4
  right: 0px;
@@ -1,4 +1,4 @@
1
- import{aD as Pe,aC as ze,aE as ee,ag as Ne,aF as W,aH as P,r as l,aL as Ce,aG as ae,j as o,aJ as T,aK as Me,d7 as eo,cV as oo,bp as oe,cG as ro,d8 as no,P as n,W as ie,X as le,c1 as v,ad as to,az as de,L as Q,T as F,b as ao,aA as Re,B as C,c2 as so,y as S,d9 as io,H as Te,a4 as lo,da as co,h as po,db as uo,dc as ho}from"./index-BqsMd8kb.js";import{T as xo}from"./Toolbar-C3gbqZgN.js";import{H as Be}from"./Hidden-DWKJv_Ts.js";import{d as mo}from"./MoreHoriz-B921hlWY.js";import{d as fo}from"./ExpandMore-CMOFmrRl.js";const se={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"};function go(e){return Pe("MuiAppBar",e)}ze("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const bo=["className","color","enableColorOnDark","position"],vo=e=>{const{color:r,position:t,classes:a}=e,s={root:["root",`color${W(r)}`,`position${W(t)}`]};return Me(s,go,a)},K=(e,r)=>e?`${e==null?void 0:e.replace(")","")}, ${r})`:r,yo=ee(Ne,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,r[`position${W(t.position)}`],r[`color${W(t.color)}`]]}})(({theme:e,ownerState:r})=>{const t=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return P({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},r.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},r.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="static"&&{position:"static"},r.position==="relative"&&{position:"relative"},!e.vars&&P({},r.color==="default"&&{backgroundColor:t,color:e.palette.getContrastText(t)},r.color&&r.color!=="default"&&r.color!=="inherit"&&r.color!=="transparent"&&{backgroundColor:e.palette[r.color].main,color:e.palette[r.color].contrastText},r.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!r.enableColorOnDark&&{backgroundColor:null,color:null},r.color==="transparent"&&P({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&P({},r.color==="default"&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette.AppBar.defaultBg:K(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":r.enableColorOnDark?e.vars.palette.text.primary:K(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},r.color&&!r.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette[r.color].main:K(e.vars.palette.AppBar.darkBg,e.vars.palette[r.color].main),"--AppBar-color":r.enableColorOnDark?e.vars.palette[r.color].contrastText:K(e.vars.palette.AppBar.darkColor,e.vars.palette[r.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:r.color==="inherit"?"inherit":"var(--AppBar-color)"},r.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),jo=l.forwardRef(function(r,t){const a=Ce({props:r,name:"MuiAppBar"}),{className:s,color:c="primary",enableColorOnDark:d=!1,position:i="fixed"}=a,p=ae(a,bo),u=P({},a,{color:c,position:i,enableColorOnDark:d}),x=vo(u);return o.jsx(yo,P({square:!0,component:"header",ownerState:u,elevation:4,className:T(x.root,s,i==="fixed"&&"mui-fixed"),ref:t},p))}),wo=jo;function ko(e){return Pe("MuiDrawer",e)}ze("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const $o=["BackdropProps"],Po=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Le=(e,r)=>{const{ownerState:t}=e;return[r.root,(t.variant==="permanent"||t.variant==="persistent")&&r.docked,r.modal]},zo=e=>{const{classes:r,anchor:t,variant:a}=e,s={root:["root"],docked:[(a==="permanent"||a==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${W(t)}`,a!=="temporary"&&`paperAnchorDocked${W(t)}`]};return Me(s,ko,r)},No=ee(eo,{name:"MuiDrawer",slot:"Root",overridesResolver:Le})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),ke=ee("div",{shouldForwardProp:oo,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Le})({flex:"0 0 auto"}),Co=ee(Ne,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.paper,r[`paperAnchor${W(t.anchor)}`],t.variant!=="temporary"&&r[`paperAnchorDocked${W(t.anchor)}`]]}})(({theme:e,ownerState:r})=>P({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},r.anchor==="left"&&{left:0},r.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="right"&&{right:0},r.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="left"&&r.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="top"&&r.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="right"&&r.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="bottom"&&r.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),Ae={left:"right",right:"left",top:"down",bottom:"up"};function Mo(e){return["left","right"].indexOf(e)!==-1}function Ro({direction:e},r){return e==="rtl"&&Mo(r)?Ae[r]:r}const To=l.forwardRef(function(r,t){const a=Ce({props:r,name:"MuiDrawer"}),s=oe(),c=ro(),d={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:i="left",BackdropProps:p,children:u,className:x,elevation:m=16,hideBackdrop:j=!1,ModalProps:{BackdropProps:y}={},onClose:z,open:g=!1,PaperProps:b={},SlideProps:N,TransitionComponent:w=no,transitionDuration:M=d,variant:R="temporary"}=a,I=ae(a.ModalProps,$o),k=ae(a,Po),$=l.useRef(!1);l.useEffect(()=>{$.current=!0},[]);const _=Ro({direction:c?"rtl":"ltr"},i),B=P({},a,{anchor:i,elevation:m,open:g,variant:R},k),L=zo(B),J=o.jsx(Co,P({elevation:R==="temporary"?m:0,square:!0},b,{className:T(L.paper,b.className),ownerState:B,children:u}));if(R==="permanent")return o.jsx(ke,P({className:T(L.root,L.docked,x),ownerState:B,ref:t},k,{children:J}));const q=o.jsx(w,P({in:g,direction:Ae[_],timeout:M,appear:$.current},N,{children:J}));return R==="persistent"?o.jsx(ke,P({className:T(L.root,L.docked,x),ownerState:B,ref:t},k,{children:q})):o.jsx(No,P({BackdropProps:P({},p,y,{transitionDuration:M}),className:T(L.root,L.modal,x),open:g,ownerState:B,onClose:z,hideBackdrop:j,ref:t},k,I,{children:q}))}),De=To,Ie=l.createContext(),Bo=e=>{const r=l.useContext(Ie);return l.useLayoutEffect(()=>{e&&r.configure(e)},[]),r};function _e({children:e,...r}){const[t,a]=l.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),s=()=>{a(d=>({...d,inFullPage:!d.inFullPage}))},c=l.useMemo(()=>({...t,headerVisible:!t.inFullPage||t.headerVisibleInFullPage,footerVisible:!t.inFullPage||t.footerVisibleInFullPage,sidebarVisible:!t.inFullPage||t.sidebarVisibleInFullPage,toggleFullPage:s,configure:d=>a(i=>({...i,...d}))}),[t]);return o.jsx(Ie.Provider,{value:c,...r,children:e})}_e.propTypes={children:n.node.isRequired};var ce={},Lo=le;Object.defineProperty(ce,"__esModule",{value:!0});var Fe=ce.default=void 0,Ao=Lo(ie()),Do=o;Fe=ce.default=(0,Ao.default)((0,Do.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");var pe={},Io=le;Object.defineProperty(pe,"__esModule",{value:!0});var We=pe.default=void 0,_o=Io(ie()),Fo=o;We=pe.default=(0,_o.default)((0,Fo.jsx)("path",{d:"M22 3.41 16.71 8.7 20 12h-8V4l3.29 3.29L20.59 2zM3.41 22l5.29-5.29L12 20v-8H4l3.29 3.29L2 20.59z"}),"CloseFullscreen");function ue({name:e,size:r,alt:t,color:a,style:s,prefix:c,showBadge:d,...i}){const p=`${c}/${e}-${a.replace(/^#/,"")}.png`;return o.jsxs(Wo,{style:{width:r,height:r},children:[o.jsx(to,{width:r,height:r,alt:t||e,src:p,style:Object.assign({width:r},s),...i}),d&&o.jsx("i",{className:"badge-point"})]})}ue.propTypes={name:n.string.isRequired,size:n.number,color:n.string,alt:n.string,style:n.object,prefix:n.string,showBadge:n.bool};ue.defaultProps={size:36,color:"#000000",alt:"",style:{},prefix:"/images",showBadge:!1};const Wo=v("div")`
1
+ import{aB as Pe,aA as ze,aC as ee,ae as Ne,aD as W,aF as P,r as l,aJ as Ce,aE as ae,j as o,aH as T,aI as Me,d7 as eo,cV as oo,bm as oe,cG as ro,d8 as no,P as n,W as ie,X as le,c1 as v,ab as to,ax as de,L as K,T as F,b as ao,ay as Re,B as C,c2 as so,y as S,d9 as io,H as Te,a2 as lo,da as co,h as po,db as uo,dc as ho}from"./index-BjZoVrCi.js";import{T as xo}from"./Toolbar-C-qwCTaG.js";import{H as Be}from"./Hidden-BDqqTjop.js";import{d as mo}from"./MoreHoriz-BREdPNxQ.js";import{d as fo}from"./ExpandMore-C3wlzrO6.js";const se={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"};function go(e){return Pe("MuiAppBar",e)}ze("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const bo=["className","color","enableColorOnDark","position"],vo=e=>{const{color:r,position:t,classes:a}=e,s={root:["root",`color${W(r)}`,`position${W(t)}`]};return Me(s,go,a)},Q=(e,r)=>e?`${e==null?void 0:e.replace(")","")}, ${r})`:r,yo=ee(Ne,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,r[`position${W(t.position)}`],r[`color${W(t.color)}`]]}})(({theme:e,ownerState:r})=>{const t=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return P({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},r.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},r.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},r.position==="static"&&{position:"static"},r.position==="relative"&&{position:"relative"},!e.vars&&P({},r.color==="default"&&{backgroundColor:t,color:e.palette.getContrastText(t)},r.color&&r.color!=="default"&&r.color!=="inherit"&&r.color!=="transparent"&&{backgroundColor:e.palette[r.color].main,color:e.palette[r.color].contrastText},r.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!r.enableColorOnDark&&{backgroundColor:null,color:null},r.color==="transparent"&&P({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&P({},r.color==="default"&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Q(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":r.enableColorOnDark?e.vars.palette.text.primary:Q(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},r.color&&!r.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette[r.color].main:Q(e.vars.palette.AppBar.darkBg,e.vars.palette[r.color].main),"--AppBar-color":r.enableColorOnDark?e.vars.palette[r.color].contrastText:Q(e.vars.palette.AppBar.darkColor,e.vars.palette[r.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:r.color==="inherit"?"inherit":"var(--AppBar-color)"},r.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),jo=l.forwardRef(function(r,t){const a=Ce({props:r,name:"MuiAppBar"}),{className:s,color:c="primary",enableColorOnDark:d=!1,position:i="fixed"}=a,p=ae(a,bo),u=P({},a,{color:c,position:i,enableColorOnDark:d}),x=vo(u);return o.jsx(yo,P({square:!0,component:"header",ownerState:u,elevation:4,className:T(x.root,s,i==="fixed"&&"mui-fixed"),ref:t},p))}),wo=jo;function ko(e){return Pe("MuiDrawer",e)}ze("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const $o=["BackdropProps"],Po=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],Ae=(e,r)=>{const{ownerState:t}=e;return[r.root,(t.variant==="permanent"||t.variant==="persistent")&&r.docked,r.modal]},zo=e=>{const{classes:r,anchor:t,variant:a}=e,s={root:["root"],docked:[(a==="permanent"||a==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${W(t)}`,a!=="temporary"&&`paperAnchorDocked${W(t)}`]};return Me(s,ko,r)},No=ee(eo,{name:"MuiDrawer",slot:"Root",overridesResolver:Ae})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),ke=ee("div",{shouldForwardProp:oo,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Ae})({flex:"0 0 auto"}),Co=ee(Ne,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.paper,r[`paperAnchor${W(t.anchor)}`],t.variant!=="temporary"&&r[`paperAnchorDocked${W(t.anchor)}`]]}})(({theme:e,ownerState:r})=>P({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},r.anchor==="left"&&{left:0},r.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="right"&&{right:0},r.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},r.anchor==="left"&&r.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="top"&&r.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="right"&&r.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},r.anchor==="bottom"&&r.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),Le={left:"right",right:"left",top:"down",bottom:"up"};function Mo(e){return["left","right"].indexOf(e)!==-1}function Ro({direction:e},r){return e==="rtl"&&Mo(r)?Le[r]:r}const To=l.forwardRef(function(r,t){const a=Ce({props:r,name:"MuiDrawer"}),s=oe(),c=ro(),d={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:i="left",BackdropProps:p,children:u,className:x,elevation:m=16,hideBackdrop:j=!1,ModalProps:{BackdropProps:y}={},onClose:z,open:g=!1,PaperProps:b={},SlideProps:N,TransitionComponent:w=no,transitionDuration:M=d,variant:R="temporary"}=a,I=ae(a.ModalProps,$o),k=ae(a,Po),$=l.useRef(!1);l.useEffect(()=>{$.current=!0},[]);const _=Ro({direction:c?"rtl":"ltr"},i),B=P({},a,{anchor:i,elevation:m,open:g,variant:R},k),A=zo(B),J=o.jsx(Co,P({elevation:R==="temporary"?m:0,square:!0},b,{className:T(A.paper,b.className),ownerState:B,children:u}));if(R==="permanent")return o.jsx(ke,P({className:T(A.root,A.docked,x),ownerState:B,ref:t},k,{children:J}));const q=o.jsx(w,P({in:g,direction:Le[_],timeout:M,appear:$.current},N,{children:J}));return R==="persistent"?o.jsx(ke,P({className:T(A.root,A.docked,x),ownerState:B,ref:t},k,{children:q})):o.jsx(No,P({BackdropProps:P({},p,y,{transitionDuration:M}),className:T(A.root,A.modal,x),open:g,ownerState:B,onClose:z,hideBackdrop:j,ref:t},k,I,{children:q}))}),De=To,Ie=l.createContext(),Bo=e=>{const r=l.useContext(Ie);return l.useLayoutEffect(()=>{e&&r.configure(e)},[]),r};function _e({children:e,...r}){const[t,a]=l.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),s=()=>{a(d=>({...d,inFullPage:!d.inFullPage}))},c=l.useMemo(()=>({...t,headerVisible:!t.inFullPage||t.headerVisibleInFullPage,footerVisible:!t.inFullPage||t.footerVisibleInFullPage,sidebarVisible:!t.inFullPage||t.sidebarVisibleInFullPage,toggleFullPage:s,configure:d=>a(i=>({...i,...d}))}),[t]);return o.jsx(Ie.Provider,{value:c,...r,children:e})}_e.propTypes={children:n.node.isRequired};var ce={},Ao=le;Object.defineProperty(ce,"__esModule",{value:!0});var Fe=ce.default=void 0,Lo=Ao(ie()),Do=o;Fe=ce.default=(0,Lo.default)((0,Do.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");var pe={},Io=le;Object.defineProperty(pe,"__esModule",{value:!0});var We=pe.default=void 0,_o=Io(ie()),Fo=o;We=pe.default=(0,_o.default)((0,Fo.jsx)("path",{d:"M22 3.41 16.71 8.7 20 12h-8V4l3.29 3.29L20.59 2zM3.41 22l5.29-5.29L12 20v-8H4l3.29 3.29L2 20.59z"}),"CloseFullscreen");function ue({name:e,size:r,alt:t,color:a,style:s,prefix:c,showBadge:d,...i}){const p=`${c}/${e}-${a.replace(/^#/,"")}.png`;return o.jsxs(Wo,{style:{width:r,height:r},children:[o.jsx(to,{width:r,height:r,alt:t||e,src:p,style:Object.assign({width:r},s),...i}),d&&o.jsx("i",{className:"badge-point"})]})}ue.propTypes={name:n.string.isRequired,size:n.number,color:n.string,alt:n.string,style:n.object,prefix:n.string,showBadge:n.bool};ue.defaultProps={size:36,color:"#000000",alt:"",style:{},prefix:"/images",showBadge:!1};const Wo=v("div")`
2
2
  position: relative;
3
3
  .badge-point {
4
4
  position: absolute;
@@ -20,7 +20,7 @@ import{aD as Pe,aC as ze,aE as ee,ag as Ne,aF as W,aH as P,r as l,aL as Ce,aG as
20
20
  ${e=>e.layout==="vertical"?"margin-top: 8px;":""}
21
21
  ${e=>e.layout==="vertical"?"":"margin-left: 8px;"};
22
22
  }
23
- `;function he({images:e,links:r,prefix:t,addons:a,logo:s,...c}){const d=oe(),i=de(),p=(u,x)=>new RegExp(`/${x}`).test(i.pathname);return o.jsxs(Ho,{...c,children:[o.jsx(Q,{to:"/",className:"sidebar-logo",children:s||o.jsx(U,{showText:!1,size:20})}),r.map(({url:u,name:x,title:m,showBadge:j})=>{const y=p(u,x);return o.jsxs(Vo,{component:Q,selected:y,to:u,children:[o.jsx(ue,{name:e[x],size:36,color:y?"#00c2c4":d.typography.color.main,prefix:t,showBadge:j}),o.jsx(F,{component:"span",className:"menu-title",children:m})]},u)}),o.jsx("div",{style:{flex:1}}),a]})}he.propTypes={images:n.object.isRequired,links:n.array.isRequired,prefix:n.string,addons:n.any,logo:n.any};he.defaultProps={prefix:"/images",addons:null,logo:null};const Ho=l.memo(v("div")`
23
+ `;function he({images:e,links:r,prefix:t,addons:a,logo:s,...c}){const d=oe(),i=de(),p=(u,x)=>new RegExp(`/${x}`).test(i.pathname);return o.jsxs(Ho,{...c,children:[o.jsx(K,{to:"/",className:"sidebar-logo",children:s||o.jsx(U,{showText:!1,size:20})}),r.map(({url:u,name:x,title:m,showBadge:j})=>{const y=p(u,x);return o.jsxs(Vo,{component:K,selected:y,to:u,children:[o.jsx(ue,{name:e[x],size:36,color:y?"#00c2c4":d.typography.color.main,prefix:t,showBadge:j}),o.jsx(F,{component:"span",className:"menu-title",children:m})]},u)}),o.jsx("div",{style:{flex:1}}),a]})}he.propTypes={images:n.object.isRequired,links:n.array.isRequired,prefix:n.string,addons:n.any,logo:n.any};he.defaultProps={prefix:"/images",addons:null,logo:null};const Ho=l.memo(v("div")`
24
24
  flex: 1;
25
25
  display: flex;
26
26
  flex-direction: column;
@@ -140,7 +140,7 @@ import{aD as Pe,aC as ze,aE as ee,ag as Ne,aF as W,aH as P,r as l,aL as Ce,aG as
140
140
  display: block;
141
141
  }
142
142
  }
143
- `;function me({children:e,brand:r,brandAddon:t,description:a,addons:s,onToggleMenu:c,homeUrl:d,logo:i,...p}){return o.jsx(Uo,{position:"sticky",className:"header",...p,children:o.jsxs(xo,{disableGutters:!1,className:"header-toolbar",children:[o.jsx(Re,{color:"inherit","aria-label":"open drawer",edge:"start",className:"header-menu","aira-label":"header menu button",onClick:c,children:o.jsx(re,{})}),o.jsxs(Q,{to:d,className:"header-link",children:[o.jsx(Be,{mdDown:!0,children:o.jsx("div",{className:"header-logo",children:i||o.jsx(U,{showText:!1})})}),o.jsxs("div",{className:"header-title",children:[o.jsxs(F,{component:"h2",noWrap:!0,className:"header-title__primary",children:[r,t]}),o.jsx(F,{component:"p",noWrap:!0,className:"header-title__secondary",children:a})]})]}),o.jsx(C,{flexGrow:1}),!!e&&o.jsx("div",{className:"header-children",children:e}),o.jsx("div",{className:"header-addons",children:s})]})})}me.propTypes={onToggleMenu:n.func.isRequired,brand:n.string.isRequired,brandAddon:n.object,description:n.any.isRequired,children:n.any,addons:n.any,homeUrl:n.string,logo:n.any};me.defaultProps={children:null,addons:null,brandAddon:null,homeUrl:"/",logo:null};function H(e){var m;const r=so(e,H,["dark","style"]),{className:t,copyStart:a,style:s,brand:c,dark:d,addon:i}=r,p=`${new Date().getFullYear()}`,u=`${a}`,x=p===u?p:`${u}-${p}`;return o.jsxs(Go,{className:t,style:s,dark:d,children:[o.jsx(S,{maxWidth:!1,children:o.jsxs(F,{component:"div",className:"footer",children:[o.jsxs(F,{component:"p",className:"footer-item",children:[o.jsxs("span",{className:"footer-copy",children:["Copyright © ",x," "]}),o.jsx("span",{className:"footer-brand",children:c})]}),i&&o.jsx(F,{component:"div",className:"footer-item",sx:{order:{xs:"-1",md:"initial"},ml:{xs:0,md:"auto"},width:{xs:"100%",md:"auto"}},children:i}),o.jsxs(F,{component:"p",className:"footer-item",style:{justifyContent:"flex-end",flexShrink:0},children:["Powered by",o.jsx(U,{mode:d?"light":"dark",layout:"horizontal",className:"logo-container"})]})]})}),o.jsx(C,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(m=window==null?void 0:window.blocklet)==null?void 0:m.version})]})}H.propTypes={dark:n.bool,className:n.string,copyStart:n.oneOfType([n.string,n.number]),brand:n.string,style:n.object,addon:n.node};H.defaultProps={dark:!1,brand:"ArcBlock",copyStart:"2017",className:"",style:{},addon:null};const Go=v("div",{shouldForwardProp:e=>e!=="dark"})`
143
+ `;function me({children:e,brand:r,brandAddon:t,description:a,addons:s,onToggleMenu:c,homeUrl:d,logo:i,...p}){return o.jsx(Uo,{position:"sticky",className:"header",...p,children:o.jsxs(xo,{disableGutters:!1,className:"header-toolbar",children:[o.jsx(Re,{color:"inherit","aria-label":"open drawer",edge:"start",className:"header-menu","aira-label":"header menu button",onClick:c,children:o.jsx(re,{})}),o.jsxs(K,{to:d,className:"header-link",children:[o.jsx(Be,{mdDown:!0,children:o.jsx("div",{className:"header-logo",children:i||o.jsx(U,{showText:!1})})}),o.jsxs("div",{className:"header-title",children:[o.jsxs(F,{component:"h2",noWrap:!0,className:"header-title__primary",children:[r,t]}),o.jsx(F,{component:"p",noWrap:!0,className:"header-title__secondary",children:a})]})]}),o.jsx(C,{flexGrow:1}),!!e&&o.jsx("div",{className:"header-children",children:e}),o.jsx("div",{className:"header-addons",children:s})]})})}me.propTypes={onToggleMenu:n.func.isRequired,brand:n.string.isRequired,brandAddon:n.object,description:n.any.isRequired,children:n.any,addons:n.any,homeUrl:n.string,logo:n.any};me.defaultProps={children:null,addons:null,brandAddon:null,homeUrl:"/",logo:null};function H(e){var m;const r=so(e,H,["dark","style"]),{className:t,copyStart:a,style:s,brand:c,dark:d,addon:i}=r,p=`${new Date().getFullYear()}`,u=`${a}`,x=p===u?p:`${u}-${p}`;return o.jsxs(Go,{className:t,style:s,dark:d,children:[o.jsx(S,{maxWidth:!1,children:o.jsxs(F,{component:"div",className:"footer",children:[o.jsxs(F,{component:"p",className:"footer-item",children:[o.jsxs("span",{className:"footer-copy",children:["Copyright © ",x," "]}),o.jsx("span",{className:"footer-brand",children:c})]}),i&&o.jsx(F,{component:"div",className:"footer-item",sx:{order:{xs:"-1",md:"initial"},ml:{xs:0,md:"auto"},width:{xs:"100%",md:"auto"}},children:i}),o.jsxs(F,{component:"p",className:"footer-item",style:{justifyContent:"flex-end",flexShrink:0},children:["Powered by",o.jsx(U,{mode:d?"light":"dark",layout:"horizontal",className:"logo-container"})]})]})}),o.jsx(C,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(m=window==null?void 0:window.blocklet)==null?void 0:m.version})]})}H.propTypes={dark:n.bool,className:n.string,copyStart:n.oneOfType([n.string,n.number]),brand:n.string,style:n.object,addon:n.node};H.defaultProps={dark:!1,brand:"ArcBlock",copyStart:"2017",className:"",style:{},addon:null};const Go=v("div",{shouldForwardProp:e=>e!=="dark"})`
144
144
  position: relative;
145
145
  margin-top: 64px;
146
146
  padding: 24px 0 32px;
@@ -337,7 +337,7 @@ import{aD as Pe,aC as ze,aE as ee,ag as Ne,aF as W,aH as P,r as l,aL as Ce,aG as
337
337
  }
338
338
  }
339
339
  }
340
- `;function ge({menu:e,prepend:r,children:t,...a}){const s=oe(),c=lo(s.breakpoints.down("md")),[d,i]=l.useState(!1),p=typeof t=="function"?t({isMobile:c,closeMenu:()=>i(!1)}):t;return t?o.jsxs(Ko,{prepend:r||o.jsx(Re,{sx:{color:s.palette.grey[500]},edge:"start",className:"header-menu","aria-label":"header menu button",onClick:()=>i(!d),children:d?o.jsx(co,{}):o.jsx(re,{})}),...a,children:[!c&&p,c&&o.jsx(De,{open:d,onClose:()=>i(!1),ModalProps:{disablePortal:!1,keepMounted:!0,BackdropComponent:null},anchor:"top",sx:{top:64,zIndex:s.zIndex.appBar-1},PaperProps:{style:{top:64,bottom:0,boxShadow:"none"}},children:o.jsx(Qo,{children:p})})]}):o.jsx(V,{prepend:r,...a})}ge.propTypes={...V.PropTypes,children:n.oneOfType([n.node,n.func])};ge.defaultProps={...V.defaultProps};const Ko=v(V)`
340
+ `;function ge({menu:e,prepend:r,children:t,...a}){const s=oe(),c=lo(s.breakpoints.down("md")),[d,i]=l.useState(!1),p=typeof t=="function"?t({isMobile:c,closeMenu:()=>i(!1)}):t;return t?o.jsxs(Qo,{prepend:r||o.jsx(Re,{sx:{color:s.palette.grey[500]},edge:"start",className:"header-menu","aria-label":"header menu button",onClick:()=>i(!d),children:d?o.jsx(co,{}):o.jsx(re,{})}),...a,children:[!c&&p,c&&o.jsx(De,{open:d,onClose:()=>i(!1),ModalProps:{disablePortal:!1,keepMounted:!0,BackdropComponent:null},anchor:"top",sx:{top:64,zIndex:s.zIndex.appBar-1},PaperProps:{style:{top:64,bottom:0,boxShadow:"none"}},children:o.jsx(Ko,{children:p})})]}):o.jsx(V,{prepend:r,...a})}ge.propTypes={...V.PropTypes,children:n.oneOfType([n.node,n.func])};ge.defaultProps={...V.defaultProps};const Qo=v(V)`
341
341
  .header-menu {
342
342
  display: none;
343
343
  }
@@ -347,7 +347,7 @@ import{aD as Pe,aC as ze,aE as ee,ag as Ne,aF as W,aH as P,r as l,aL as Ce,aG as
347
347
  margin-right: 12px;
348
348
  }
349
349
  }
350
- `,Qo=v(S)`
350
+ `,Ko=v(S)`
351
351
  padding-top: 8px;
352
352
  padding-bottom: 16px;
353
353
  .navmenu {
@@ -532,7 +532,7 @@ import{aD as Pe,aC as ze,aE as ee,ag as Ne,aF as W,aH as P,r as l,aL as Ce,aG as
532
532
  .navmenu-sub--opened > .navmenu-sub-container {
533
533
  display: block;
534
534
  }
535
- `,be=l.createContext();function Ue(e){return e?l.Children.toArray(e).filter(r=>r.type===Y||r.type===O):null}function Ge(e){return l.useRef(e||`navmenu-item-id-${Math.random().toString(36).slice(2)}`).current}function G({items:e,mode:r,children:t,activeId:a,textColor:s,activeTextColor:c,bgColor:d,onSelected:i,...p}){var q;if(t=Ue(t),!(e!=null&&e.length)&&!(t!=null&&t.length))throw new Error("One of 'items' or 'children' is required by NavMenu component.");const[u,x]=l.useState({activeId:a,openedIds:[]}),m=l.useCallback(h=>{x(f=>({...f,activeId:h})),i==null||i(h)},[i]),j=l.useCallback(h=>{x(f=>({...f,openedIds:[...f.openedIds,h]}))},[]),y=l.useCallback(h=>{x(f=>({...f,openedIds:f.openedIds.filter(A=>A!==h)}))},[]),z=l.useMemo(()=>({...u,mode:r,activate:m,open:j,close:y}),[u,r,m,j,y]),[g,b]=l.useState(0),N=l.useRef(),w=l.useRef([]),M=l.useRef(),R=g===((q=w.current)==null?void 0:q.length),I=R?o.jsx(re,{}):o.jsx(mo,{}),k=R?{marginLeft:"0px"}:void 0,$=h=>l.Children.map(h,(f,A)=>l.cloneElement(f,{ref:D=>{w.current[A]=D}})),_=po(()=>{var je;let h=0,f=0,A=!1;const D=((je=N.current)==null?void 0:je.offsetWidth)||0,te=M.current?M.current.offsetWidth+parseFloat(window.getComputedStyle(M.current).marginLeft):0;w.current.forEach((E,Qe)=>{if(E){E.style.display="flex";const Ze=Qe>0?parseFloat(window.getComputedStyle(E).marginLeft):0,we=E.offsetWidth+Ze;D-te>=h+we&&!A?h+=we:(E.style.display="none",A=!0,f++)}}),f!==g&&b(f)});l.useEffect(()=>{if(r==="horizontal")return _(),window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}},[r]),l.useEffect(()=>{a!=null&&x(h=>({...h,activeId:a}))},[a]);const ye=T("navmenu",`navmenu--${r}`,p.className),B=(h,f,A=!1)=>h!=null&&h.children?o.jsx(O,{id:h.id,icon:h.icon,label:h.label,ref:A?D=>{w.current[f]=D}:void 0,children:h.children.map((D,te)=>B(D,te,!1))},f):o.jsx(Y,{id:h.id,icon:h.icon,label:h.label,active:h.active,ref:A?D=>{w.current[f]=D}:void 0},f),L=e?e==null?void 0:e.slice(-g).map((h,f)=>B(h,f)):t==null?void 0:t.slice(-g),J=r==="inline"?er:Zo;return o.jsx(be.Provider,{value:z,children:o.jsx(J,{...p,className:ye,$textColor:s,$activeTextColor:c,$bgColor:d,children:o.jsxs("ul",{className:"navmenu-root",ref:N,children:[e?e.map((h,f)=>B(h,f,!0)):$(t),g>0&&o.jsx(O,{expandIcon:!1,icon:I,label:"",ref:M,style:k,children:L})]})})})}G.propTypes={items:n.array,mode:n.oneOf(["horizontal","vertical","inline"]),children:n.array,activeId:n.string,textColor:n.string,activeTextColor:n.string,bgColor:n.string,onSelected:n.func};G.defaultProps={items:null,mode:"horizontal",children:null,activeId:null,textColor:"#9397a1",activeTextColor:"#25292f",bgColor:"#fff",onSelected:null};const Y=l.forwardRef(({id:e,icon:r,label:t,active:a,onClick:s,...c},d)=>{const i=Ge(e),{activeId:p,activate:u}=l.useContext(be),x=T("navmenu-item",{"navmenu-item--active":p===i},c.className);l.useEffect(()=>{a&&u(i)},[a]);const m=()=>{s==null||s(),u(i)};return o.jsxs("li",{...c,className:x,onClick:m,ref:d,children:[r&&o.jsx("span",{className:"navmenu-item-icon",children:r}),o.jsx("span",{className:"navmenu-item-label",children:t})]})});Y.propTypes={id:n.string,icon:n.element,label:n.node,active:n.bool,onClick:n.func};Y.defaultProps={id:null,icon:null,label:"",active:!1,onClick:null};const O=l.forwardRef(({id:e,icon:r,label:t,children:a,expandIcon:s,...c},d)=>{const i=Ge(e),{openedIds:p,open:u,close:x,mode:m}=l.useContext(be),j=p.includes(i),y=T("navmenu-sub",{"navmenu-sub--opened":j},c.className),z=m==="inline",g=z?{onClick:()=>p.includes(i)?x(i):u(i)}:{onMouseEnter:()=>u(i),onMouseLeave:()=>x(i)},b=z?{onClick:N=>N.stopPropagation()}:{};return o.jsxs("li",{...c,className:y,...g,ref:d,children:[r&&o.jsx("span",{className:"navmenu-sub-icon",children:r}),o.jsx("span",{className:"navmenu-sub-label",children:t}),s&&o.jsx("span",{className:"navmenu-sub-expand-icon",children:(s==null?void 0:s({isOpen:j}))||s}),o.jsx("div",{className:"navmenu-sub-container",...b,children:o.jsx("ul",{className:"navmenu-sub-list",children:Ue(a)})})]})});O.propTypes={id:n.string,icon:n.element,label:n.node.isRequired,children:n.array.isRequired,expandIcon:n.oneOfType([n.node,n.func])};O.defaultProps={id:null,icon:null,expandIcon:({isOpen:e})=>o.jsx(fo,{style:{transform:`rotate(${e?180:0}deg)`}})};G.Item=Y;G.Sub=O;function ne({children:e,routerLinkComponent:r,to:t,external:a,...s}){return a?o.jsx("a",{href:t,...s,children:e}):o.jsx(r,{to:t,...s,children:e})}ne.propTypes={children:n.any.isRequired,routerLinkComponent:n.elementType.isRequired,external:n.bool,to:n.oneOfType([n.string,n.object]).isRequired};ne.defaultProps={external:!1};function Ye(e){return o.jsx(ne,{routerLinkComponent:Q,...e})}function ve({className:e,...r}){const t=r.external&&typeof e=="function"?e({}):e;return o.jsx(ne,{routerLinkComponent:uo,className:t,...r})}ve.propTypes={className:n.oneOfType([n.string,n.func])};ve.defaultProps={className:""};function or(e,r){return o.jsxs("li",{className:"layout-sidebar-group",children:[o.jsx("span",{className:"layout-sidebar-group-title",children:e.title}),o.jsx("ul",{children:e.children.map(Xe)})]},`group-${e.title}-${r}`)}function Xe(e,r){var p;if((p=e.children)!=null&&p.length)return or(e,r);const{url:t,icon:a,title:s,showBadge:c,external:d,active:i}=e;return o.jsx("li",{className:"layout-sidebar-item",children:o.jsxs(ve,{external:d,to:t,className:({isActive:u})=>T("layout-sidebar-link",{"layout-sidebar-link--active":d?i:u}),children:[a&&o.jsx("span",{className:`layout-sidebar-icon ${c?"layout-sidebar-badge":""}`,children:a}),o.jsx(F,{component:"span",className:"layout-sidebar-link-text",children:s})]})},`${t}-${r}`)}function Z({links:e,addons:r,dense:t,...a}){return o.jsxs(nr,{...a,className:T({"layout-sidebar-dense":t}),children:[o.jsx("ul",{children:e.map(Xe)}),o.jsx("div",{style:{flex:1}}),r]})}Z.propTypes={links:n.array.isRequired,addons:n.any,dense:n.bool};Z.defaultProps={addons:null,dense:!1};const rr="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",nr=v("div")`
535
+ `,be=l.createContext();function Ue(e){return e?l.Children.toArray(e).filter(r=>r.type===Y||r.type===O):null}function Ge(e){return l.useRef(e||`navmenu-item-id-${Math.random().toString(36).slice(2)}`).current}function G({items:e,mode:r,children:t,activeId:a,textColor:s,activeTextColor:c,bgColor:d,onSelected:i,...p}){var q;if(t=Ue(t),!(e!=null&&e.length)&&!(t!=null&&t.length))throw new Error("One of 'items' or 'children' is required by NavMenu component.");const[u,x]=l.useState({activeId:a,openedIds:[]}),m=l.useCallback(h=>{x(f=>({...f,activeId:h})),i==null||i(h)},[i]),j=l.useCallback(h=>{x(f=>({...f,openedIds:[...f.openedIds,h]}))},[]),y=l.useCallback(h=>{x(f=>({...f,openedIds:f.openedIds.filter(L=>L!==h)}))},[]),z=l.useMemo(()=>({...u,mode:r,activate:m,open:j,close:y}),[u,r,m,j,y]),[g,b]=l.useState(0),N=l.useRef(),w=l.useRef([]),M=l.useRef(),R=g===((q=w.current)==null?void 0:q.length),I=R?o.jsx(re,{}):o.jsx(mo,{}),k=R?{marginLeft:"0px"}:void 0,$=h=>l.Children.map(h,(f,L)=>l.cloneElement(f,{ref:D=>{w.current[L]=D}})),_=po(()=>{var je;let h=0,f=0,L=!1;const D=((je=N.current)==null?void 0:je.offsetWidth)||0,te=M.current?M.current.offsetWidth+parseFloat(window.getComputedStyle(M.current).marginLeft):0;w.current.forEach((E,Ke)=>{if(E){E.style.display="flex";const Ze=Ke>0?parseFloat(window.getComputedStyle(E).marginLeft):0,we=E.offsetWidth+Ze;D-te>=h+we&&!L?h+=we:(E.style.display="none",L=!0,f++)}}),f!==g&&b(f)});l.useEffect(()=>{if(r==="horizontal")return _(),window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}},[r]),l.useEffect(()=>{a!=null&&x(h=>({...h,activeId:a}))},[a]);const ye=T("navmenu",`navmenu--${r}`,p.className),B=(h,f,L=!1)=>h!=null&&h.children?o.jsx(O,{id:h.id,icon:h.icon,label:h.label,ref:L?D=>{w.current[f]=D}:void 0,children:h.children.map((D,te)=>B(D,te,!1))},f):o.jsx(Y,{id:h.id,icon:h.icon,label:h.label,active:h.active,ref:L?D=>{w.current[f]=D}:void 0},f),A=e?e==null?void 0:e.slice(-g).map((h,f)=>B(h,f)):t==null?void 0:t.slice(-g),J=r==="inline"?er:Zo;return o.jsx(be.Provider,{value:z,children:o.jsx(J,{...p,className:ye,$textColor:s,$activeTextColor:c,$bgColor:d,children:o.jsxs("ul",{className:"navmenu-root",ref:N,children:[e?e.map((h,f)=>B(h,f,!0)):$(t),g>0&&o.jsx(O,{expandIcon:!1,icon:I,label:"",ref:M,style:k,children:A})]})})})}G.propTypes={items:n.array,mode:n.oneOf(["horizontal","vertical","inline"]),children:n.array,activeId:n.string,textColor:n.string,activeTextColor:n.string,bgColor:n.string,onSelected:n.func};G.defaultProps={items:null,mode:"horizontal",children:null,activeId:null,textColor:"#9397a1",activeTextColor:"#25292f",bgColor:"#fff",onSelected:null};const Y=l.forwardRef(({id:e,icon:r,label:t,active:a,onClick:s,...c},d)=>{const i=Ge(e),{activeId:p,activate:u}=l.useContext(be),x=T("navmenu-item",{"navmenu-item--active":p===i},c.className);l.useEffect(()=>{a&&u(i)},[a]);const m=()=>{s==null||s(),u(i)};return o.jsxs("li",{...c,className:x,onClick:m,ref:d,children:[r&&o.jsx("span",{className:"navmenu-item-icon",children:r}),o.jsx("span",{className:"navmenu-item-label",children:t})]})});Y.propTypes={id:n.string,icon:n.element,label:n.node,active:n.bool,onClick:n.func};Y.defaultProps={id:null,icon:null,label:"",active:!1,onClick:null};const O=l.forwardRef(({id:e,icon:r,label:t,children:a,expandIcon:s,...c},d)=>{const i=Ge(e),{openedIds:p,open:u,close:x,mode:m}=l.useContext(be),j=p.includes(i),y=T("navmenu-sub",{"navmenu-sub--opened":j},c.className),z=m==="inline",g=z?{onClick:()=>p.includes(i)?x(i):u(i)}:{onMouseEnter:()=>u(i),onMouseLeave:()=>x(i)},b=z?{onClick:N=>N.stopPropagation()}:{};return o.jsxs("li",{...c,className:y,...g,ref:d,children:[r&&o.jsx("span",{className:"navmenu-sub-icon",children:r}),o.jsx("span",{className:"navmenu-sub-label",children:t}),s&&o.jsx("span",{className:"navmenu-sub-expand-icon",children:(s==null?void 0:s({isOpen:j}))||s}),o.jsx("div",{className:"navmenu-sub-container",...b,children:o.jsx("ul",{className:"navmenu-sub-list",children:Ue(a)})})]})});O.propTypes={id:n.string,icon:n.element,label:n.node.isRequired,children:n.array.isRequired,expandIcon:n.oneOfType([n.node,n.func])};O.defaultProps={id:null,icon:null,expandIcon:({isOpen:e})=>o.jsx(fo,{style:{transform:`rotate(${e?180:0}deg)`}})};G.Item=Y;G.Sub=O;function ne({children:e,routerLinkComponent:r,to:t,external:a,...s}){return a?o.jsx("a",{href:t,...s,children:e}):o.jsx(r,{to:t,...s,children:e})}ne.propTypes={children:n.any.isRequired,routerLinkComponent:n.elementType.isRequired,external:n.bool,to:n.oneOfType([n.string,n.object]).isRequired};ne.defaultProps={external:!1};function Ye(e){return o.jsx(ne,{routerLinkComponent:K,...e})}function ve({className:e,...r}){const t=r.external&&typeof e=="function"?e({}):e;return o.jsx(ne,{routerLinkComponent:uo,className:t,...r})}ve.propTypes={className:n.oneOfType([n.string,n.func])};ve.defaultProps={className:""};function or(e,r){return o.jsxs("li",{className:"layout-sidebar-group",children:[o.jsx("span",{className:"layout-sidebar-group-title",children:e.title}),o.jsx("ul",{children:e.children.map(Xe)})]},`group-${e.title}-${r}`)}function Xe(e,r){var p;if((p=e.children)!=null&&p.length)return or(e,r);const{url:t,icon:a,title:s,showBadge:c,external:d,active:i}=e;return o.jsx("li",{className:"layout-sidebar-item",children:o.jsxs(ve,{external:d,to:t,className:({isActive:u})=>T("layout-sidebar-link",{"layout-sidebar-link--active":d?i:u}),children:[a&&o.jsx("span",{className:`layout-sidebar-icon ${c?"layout-sidebar-badge":""}`,children:a}),o.jsx(F,{component:"span",className:"layout-sidebar-link-text",children:s})]})},`${t}-${r}`)}function Z({links:e,addons:r,dense:t,...a}){return o.jsxs(nr,{...a,className:T({"layout-sidebar-dense":t}),children:[o.jsx("ul",{children:e.map(Xe)}),o.jsx("div",{style:{flex:1}}),r]})}Z.propTypes={links:n.array.isRequired,addons:n.any,dense:n.bool};Z.defaultProps={addons:null,dense:!1};const rr="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",nr=v("div")`
536
536
  display: flex;
537
537
  flex-direction: column;
538
538
  ul {
@@ -712,4 +712,4 @@ import{aD as Pe,aC as ze,aE as ee,ag as Ne,aF as W,aH as P,r as l,aL as Ce,aG as
712
712
  .header-container {
713
713
  max-width: 100%;
714
714
  }
715
- `;function Ke({legacy:e,...r}){return e?o.jsx(fe,{...r}):o.jsx(_e,{children:o.jsx(X,{...r})})}Ke.propTypes={...X.propTypes,legacy:n.bool,footerProps:n.shape(H.propTypes)};Ke.defaultProps={...X.defaultProps,legacy:!0};export{Ke as D,G as N,ge as R,Bo as u};
715
+ `;function Qe({legacy:e,...r}){return e?o.jsx(fe,{...r}):o.jsx(_e,{children:o.jsx(X,{...r})})}Qe.propTypes={...X.propTypes,legacy:n.bool,footerProps:n.shape(H.propTypes)};Qe.defaultProps={...X.defaultProps,legacy:!0};export{Qe as D,G as N,ge as R,Bo as u};
@@ -1 +1 @@
1
- import{r as v,j as c,P as f,$ as d}from"./index-BqsMd8kb.js";var o={};Object.defineProperty(o,"__esModule",{value:!0});var s=o.default=void 0;m(v);var n=c;function m(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(h){return Object.getOwnPropertyDescriptor(e,h).enumerable})),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(a){y(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function y(e,t,r){return t=g(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){var t=j(e,"string");return typeof t=="symbol"?t:String(t)}function j(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var i=function(t){return(0,n.jsxs)("svg",u(u({},t),{},{children:[(0,n.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"}),(0,n.jsx)("path",{d:"M138.44 27.684c.192 0 .357.075.496.224l1.344 1.472a9.584 9.584 0 0 1-3.44 2.576c-1.344.608-2.965.912-4.864.912-1.664 0-3.173-.288-4.528-.864a10.056 10.056 0 0 1-3.456-2.416c-.949-1.035-1.685-2.272-2.208-3.712-.523-1.44-.784-3.024-.784-4.752 0-1.728.272-3.312.816-4.752.555-1.44 1.328-2.677 2.32-3.712a10.444 10.444 0 0 1 3.552-2.416c1.387-.576 2.917-.864 4.592-.864 1.632 0 3.083.267 4.352.8a10.973 10.973 0 0 1 3.312 2.128l-1.12 1.584a.936.936 0 0 1-.288.288.742.742 0 0 1-.432.112c-.203 0-.443-.101-.72-.304a8.802 8.802 0 0 0-1.072-.672c-.437-.256-.981-.485-1.632-.688-.651-.203-1.461-.304-2.432-.304-1.141 0-2.187.203-3.136.608a6.885 6.885 0 0 0-2.464 1.728c-.683.747-1.216 1.67-1.6 2.768-.373 1.088-.56 2.32-.56 3.696 0 1.397.197 2.64.592 3.728.395 1.088.939 2.01 1.632 2.768a6.914 6.914 0 0 0 2.448 1.728 7.764 7.764 0 0 0 3.04.592c.661 0 1.253-.037 1.776-.112a7.843 7.843 0 0 0 1.456-.368c.448-.16.869-.363 1.264-.608a8.89 8.89 0 0 0 1.168-.912c.085-.075.176-.133.272-.176a.616.616 0 0 1 .304-.08zM149.68 16.1c1.195 0 2.272.197 3.232.592a6.54 6.54 0 0 1 2.464 1.68c.683.725 1.205 1.605 1.568 2.64.363 1.024.544 2.176.544 3.456 0 1.28-.181 2.437-.544 3.472-.363 1.035-.885 1.915-1.568 2.64a6.795 6.795 0 0 1-2.464 1.68c-.96.384-2.037.576-3.232.576-1.205 0-2.293-.192-3.264-.576a6.987 6.987 0 0 1-2.464-1.68c-.683-.725-1.211-1.605-1.584-2.64-.363-1.035-.544-2.192-.544-3.472 0-1.28.181-2.432.544-3.456.373-1.035.901-1.915 1.584-2.64a6.717 6.717 0 0 1 2.464-1.68c.971-.395 2.059-.592 3.264-.592zm0 14.304c1.536 0 2.683-.517 3.44-1.552.757-1.035 1.136-2.49 1.136-4.368 0-1.877-.379-3.333-1.136-4.368-.757-1.045-1.904-1.568-3.44-1.568-1.557 0-2.72.523-3.488 1.568-.757 1.035-1.136 2.49-1.136 4.368 0 1.877.379 3.333 1.136 4.368.768 1.035 1.931 1.552 3.488 1.552zM163.899 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.442 6.442 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448.682.299 1.253.72 1.712 1.264.458.533.805 1.179 1.04 1.936.234.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.534-.65-1.35-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.38 7.38 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM181.805 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.448 6.448 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448a4.63 4.63 0 0 1 1.712 1.264c.459.533.805 1.179 1.04 1.936.235.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.533-.65-1.349-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.396 7.396 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM207.551 22.676c0-.619-.09-1.19-.272-1.712a3.77 3.77 0 0 0-.768-1.36 3.521 3.521 0 0 0-1.248-.896c-.49-.213-1.056-.32-1.696-.32-1.312 0-2.346.379-3.104 1.136-.746.757-1.221 1.808-1.424 3.152h8.512zm2.576 7.616a6.311 6.311 0 0 1-1.328 1.168 7.926 7.926 0 0 1-1.6.784 9.664 9.664 0 0 1-1.76.448c-.597.096-1.189.144-1.776.144-1.12 0-2.16-.187-3.12-.56a7.159 7.159 0 0 1-2.48-1.664c-.693-.736-1.237-1.643-1.632-2.72-.384-1.088-.576-2.336-.576-3.744 0-1.13.176-2.181.528-3.152a7.67 7.67 0 0 1 1.504-2.56 7.064 7.064 0 0 1 2.416-1.712c.95-.416 2.016-.624 3.2-.624.992 0 1.904.165 2.736.496.843.32 1.568.79 2.176 1.408.608.619 1.083 1.381 1.424 2.288.352.907.528 1.941.528 3.104 0 .48-.053.805-.16.976-.106.16-.304.24-.592.24h-10.656c.032.97.171 1.819.416 2.544.246.715.582 1.312 1.008 1.792.438.48.955.837 1.552 1.072.598.235 1.264.352 2 .352.694 0 1.291-.08 1.792-.24.512-.16.95-.33 1.312-.512.374-.192.683-.368.928-.528.256-.16.48-.24.672-.24.256 0 .454.096.592.288l.896 1.152zM225.113 19.396a1.836 1.836 0 0 1-.288.288c-.086.064-.214.096-.384.096-.171 0-.352-.064-.544-.192a4.872 4.872 0 0 0-.704-.432 5.21 5.21 0 0 0-1.024-.432c-.395-.139-.886-.208-1.472-.208-.768 0-1.446.139-2.032.416a3.972 3.972 0 0 0-1.472 1.184c-.384.512-.678 1.136-.88 1.872-.203.736-.304 1.563-.304 2.48 0 .95.106 1.797.32 2.544.213.736.517 1.36.912 1.872.394.501.874.885 1.44 1.152a4.522 4.522 0 0 0 1.888.384c.672 0 1.226-.08 1.664-.24.437-.17.8-.352 1.088-.544.288-.192.528-.368.72-.528.192-.17.389-.256.592-.256.256 0 .453.096.592.288l.896 1.152a5.966 5.966 0 0 1-1.264 1.168c-.459.32-.95.581-1.472.784a8.34 8.34 0 0 1-1.648.448c-.566.096-1.142.144-1.728.144a7.25 7.25 0 0 1-2.848-.56 6.52 6.52 0 0 1-2.288-1.632c-.64-.715-1.147-1.59-1.52-2.624-.374-1.045-.56-2.23-.56-3.552 0-1.205.165-2.32.496-3.344.341-1.024.837-1.904 1.488-2.64a6.821 6.821 0 0 1 2.432-1.744c.96-.427 2.058-.64 3.296-.64 1.162 0 2.186.187 3.072.56a7.514 7.514 0 0 1 2.368 1.584l-.832 1.152zM234.121 32.868c-1.312 0-2.325-.368-3.04-1.104-.704-.736-1.056-1.787-1.056-3.152v-9.728h-1.888a.701.701 0 0 1-.464-.16c-.117-.117-.176-.288-.176-.512v-1.264l2.64-.368.704-4.848a.738.738 0 0 1 .24-.416.724.724 0 0 1 .48-.16h1.584v5.456h4.608v2.272h-4.608v9.52c0 .64.155 1.12.464 1.44.32.31.726.464 1.216.464.288 0 .534-.037.736-.112a3.27 3.27 0 0 0 .544-.24c.15-.096.278-.181.384-.256a.521.521 0 0 1 .288-.112c.107 0 .187.027.24.08a.694.694 0 0 1 .192.224l.928 1.504c-.512.47-1.12.832-1.824 1.088a6.362 6.362 0 0 1-2.192.384z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z"})]}))};i.defaultProps={width:"239",height:"42",viewBox:"0 0 239 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};i.displayName="connect-logo";s=o.default=i;function p({children:e,...t}){return c.jsxs(d,{color:"did",variant:"contained",...t,children:[c.jsx("span",{style:{fontWeight:400},children:e||"Continue With"}),c.jsx(s,{style:{width:"auto",height:"1.2em",margin:"0 4px 0 8px"}})]})}p.propTypes={children:f.any};p.defaultProps={children:""};export{p as C};
1
+ import{r as v,j as c,P as f,$ as d}from"./index-BjZoVrCi.js";var o={};Object.defineProperty(o,"__esModule",{value:!0});var s=o.default=void 0;m(v);var n=c;function m(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(h){return Object.getOwnPropertyDescriptor(e,h).enumerable})),r.push.apply(r,a)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(a){y(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function y(e,t,r){return t=g(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g(e){var t=j(e,"string");return typeof t=="symbol"?t:String(t)}function j(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var a=r.call(e,t||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var i=function(t){return(0,n.jsxs)("svg",u(u({},t),{},{children:[(0,n.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"}),(0,n.jsx)("path",{d:"M138.44 27.684c.192 0 .357.075.496.224l1.344 1.472a9.584 9.584 0 0 1-3.44 2.576c-1.344.608-2.965.912-4.864.912-1.664 0-3.173-.288-4.528-.864a10.056 10.056 0 0 1-3.456-2.416c-.949-1.035-1.685-2.272-2.208-3.712-.523-1.44-.784-3.024-.784-4.752 0-1.728.272-3.312.816-4.752.555-1.44 1.328-2.677 2.32-3.712a10.444 10.444 0 0 1 3.552-2.416c1.387-.576 2.917-.864 4.592-.864 1.632 0 3.083.267 4.352.8a10.973 10.973 0 0 1 3.312 2.128l-1.12 1.584a.936.936 0 0 1-.288.288.742.742 0 0 1-.432.112c-.203 0-.443-.101-.72-.304a8.802 8.802 0 0 0-1.072-.672c-.437-.256-.981-.485-1.632-.688-.651-.203-1.461-.304-2.432-.304-1.141 0-2.187.203-3.136.608a6.885 6.885 0 0 0-2.464 1.728c-.683.747-1.216 1.67-1.6 2.768-.373 1.088-.56 2.32-.56 3.696 0 1.397.197 2.64.592 3.728.395 1.088.939 2.01 1.632 2.768a6.914 6.914 0 0 0 2.448 1.728 7.764 7.764 0 0 0 3.04.592c.661 0 1.253-.037 1.776-.112a7.843 7.843 0 0 0 1.456-.368c.448-.16.869-.363 1.264-.608a8.89 8.89 0 0 0 1.168-.912c.085-.075.176-.133.272-.176a.616.616 0 0 1 .304-.08zM149.68 16.1c1.195 0 2.272.197 3.232.592a6.54 6.54 0 0 1 2.464 1.68c.683.725 1.205 1.605 1.568 2.64.363 1.024.544 2.176.544 3.456 0 1.28-.181 2.437-.544 3.472-.363 1.035-.885 1.915-1.568 2.64a6.795 6.795 0 0 1-2.464 1.68c-.96.384-2.037.576-3.232.576-1.205 0-2.293-.192-3.264-.576a6.987 6.987 0 0 1-2.464-1.68c-.683-.725-1.211-1.605-1.584-2.64-.363-1.035-.544-2.192-.544-3.472 0-1.28.181-2.432.544-3.456.373-1.035.901-1.915 1.584-2.64a6.717 6.717 0 0 1 2.464-1.68c.971-.395 2.059-.592 3.264-.592zm0 14.304c1.536 0 2.683-.517 3.44-1.552.757-1.035 1.136-2.49 1.136-4.368 0-1.877-.379-3.333-1.136-4.368-.757-1.045-1.904-1.568-3.44-1.568-1.557 0-2.72.523-3.488 1.568-.757 1.035-1.136 2.49-1.136 4.368 0 1.877.379 3.333 1.136 4.368.768 1.035 1.931 1.552 3.488 1.552zM163.899 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.442 6.442 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448.682.299 1.253.72 1.712 1.264.458.533.805 1.179 1.04 1.936.234.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.534-.65-1.35-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.38 7.38 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM181.805 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.448 6.448 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448a4.63 4.63 0 0 1 1.712 1.264c.459.533.805 1.179 1.04 1.936.235.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.533-.65-1.349-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.396 7.396 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM207.551 22.676c0-.619-.09-1.19-.272-1.712a3.77 3.77 0 0 0-.768-1.36 3.521 3.521 0 0 0-1.248-.896c-.49-.213-1.056-.32-1.696-.32-1.312 0-2.346.379-3.104 1.136-.746.757-1.221 1.808-1.424 3.152h8.512zm2.576 7.616a6.311 6.311 0 0 1-1.328 1.168 7.926 7.926 0 0 1-1.6.784 9.664 9.664 0 0 1-1.76.448c-.597.096-1.189.144-1.776.144-1.12 0-2.16-.187-3.12-.56a7.159 7.159 0 0 1-2.48-1.664c-.693-.736-1.237-1.643-1.632-2.72-.384-1.088-.576-2.336-.576-3.744 0-1.13.176-2.181.528-3.152a7.67 7.67 0 0 1 1.504-2.56 7.064 7.064 0 0 1 2.416-1.712c.95-.416 2.016-.624 3.2-.624.992 0 1.904.165 2.736.496.843.32 1.568.79 2.176 1.408.608.619 1.083 1.381 1.424 2.288.352.907.528 1.941.528 3.104 0 .48-.053.805-.16.976-.106.16-.304.24-.592.24h-10.656c.032.97.171 1.819.416 2.544.246.715.582 1.312 1.008 1.792.438.48.955.837 1.552 1.072.598.235 1.264.352 2 .352.694 0 1.291-.08 1.792-.24.512-.16.95-.33 1.312-.512.374-.192.683-.368.928-.528.256-.16.48-.24.672-.24.256 0 .454.096.592.288l.896 1.152zM225.113 19.396a1.836 1.836 0 0 1-.288.288c-.086.064-.214.096-.384.096-.171 0-.352-.064-.544-.192a4.872 4.872 0 0 0-.704-.432 5.21 5.21 0 0 0-1.024-.432c-.395-.139-.886-.208-1.472-.208-.768 0-1.446.139-2.032.416a3.972 3.972 0 0 0-1.472 1.184c-.384.512-.678 1.136-.88 1.872-.203.736-.304 1.563-.304 2.48 0 .95.106 1.797.32 2.544.213.736.517 1.36.912 1.872.394.501.874.885 1.44 1.152a4.522 4.522 0 0 0 1.888.384c.672 0 1.226-.08 1.664-.24.437-.17.8-.352 1.088-.544.288-.192.528-.368.72-.528.192-.17.389-.256.592-.256.256 0 .453.096.592.288l.896 1.152a5.966 5.966 0 0 1-1.264 1.168c-.459.32-.95.581-1.472.784a8.34 8.34 0 0 1-1.648.448c-.566.096-1.142.144-1.728.144a7.25 7.25 0 0 1-2.848-.56 6.52 6.52 0 0 1-2.288-1.632c-.64-.715-1.147-1.59-1.52-2.624-.374-1.045-.56-2.23-.56-3.552 0-1.205.165-2.32.496-3.344.341-1.024.837-1.904 1.488-2.64a6.821 6.821 0 0 1 2.432-1.744c.96-.427 2.058-.64 3.296-.64 1.162 0 2.186.187 3.072.56a7.514 7.514 0 0 1 2.368 1.584l-.832 1.152zM234.121 32.868c-1.312 0-2.325-.368-3.04-1.104-.704-.736-1.056-1.787-1.056-3.152v-9.728h-1.888a.701.701 0 0 1-.464-.16c-.117-.117-.176-.288-.176-.512v-1.264l2.64-.368.704-4.848a.738.738 0 0 1 .24-.416.724.724 0 0 1 .48-.16h1.584v5.456h4.608v2.272h-4.608v9.52c0 .64.155 1.12.464 1.44.32.31.726.464 1.216.464.288 0 .534-.037.736-.112a3.27 3.27 0 0 0 .544-.24c.15-.096.278-.181.384-.256a.521.521 0 0 1 .288-.112c.107 0 .187.027.24.08a.694.694 0 0 1 .192.224l.928 1.504c-.512.47-1.12.832-1.824 1.088a6.362 6.362 0 0 1-2.192.384z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z"})]}))};i.defaultProps={width:"239",height:"42",viewBox:"0 0 239 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};i.displayName="connect-logo";s=o.default=i;function p({children:e,...t}){return c.jsxs(d,{color:"did",variant:"contained",...t,children:[c.jsx("span",{style:{fontWeight:400},children:e||"Continue With"}),c.jsx(s,{style:{width:"auto",height:"1.2em",margin:"0 4px 0 8px"}})]})}p.propTypes={children:f.any};p.defaultProps={children:""};export{p as C};
@@ -1,4 +1,4 @@
1
- import{c0 as e,P as o,r as u,j as p,c1 as h,c2 as x,bp as b,T as w}from"./index-BqsMd8kb.js";const c={error:{color:e.common.white,backgroundColor:e.error.main},warning:{color:e.common.white,backgroundColor:e.warning.main},success:{color:e.common.white,backgroundColor:e.success.main},primary:{color:e.common.white,backgroundColor:e.primary.main},reverse:{color:"#fff",backgroundColor:"#222"}};function s(n){const t=x(n,s,["style"]),{type:r,content:l,children:m,style:y,className:g,forwardedRef:d,...f}=t,{palette:a}=b(),i=Object.assign({},c[r]||c.primary,y);return a[r]&&Object.assign(i,{color:a[r].contrastText||e.common.white,backgroundColor:a[r].main}),p.jsx(j,{ref:d,component:"span",className:g,style:i,...f,children:l||m})}s.propTypes={children:o.any.isRequired,type:o.oneOf(Object.keys(c)),content:o.string,className:o.string,style:o.oneOfType([o.object,o.string])};s.defaultProps={type:"primary",content:"",className:"",style:{}};const T=u.forwardRef((n,t)=>p.jsx(s,{...n,forwardedRef:t})),C=T,j=h(w)`
1
+ import{c0 as e,P as o,r as u,j as p,c1 as h,c2 as x,bm as b,T as w}from"./index-BjZoVrCi.js";const c={error:{color:e.common.white,backgroundColor:e.error.main},warning:{color:e.common.white,backgroundColor:e.warning.main},success:{color:e.common.white,backgroundColor:e.success.main},primary:{color:e.common.white,backgroundColor:e.primary.main},reverse:{color:"#fff",backgroundColor:"#222"}};function s(n){const t=x(n,s,["style"]),{type:r,content:l,children:m,style:y,className:g,forwardedRef:d,...f}=t,{palette:a}=b(),i=Object.assign({},c[r]||c.primary,y);return a[r]&&Object.assign(i,{color:a[r].contrastText||e.common.white,backgroundColor:a[r].main}),p.jsx(j,{ref:d,component:"span",className:g,style:i,...f,children:l||m})}s.propTypes={children:o.any.isRequired,type:o.oneOf(Object.keys(c)),content:o.string,className:o.string,style:o.oneOfType([o.object,o.string])};s.defaultProps={type:"primary",content:"",className:"",style:{}};const T=u.forwardRef((n,t)=>p.jsx(s,{...n,forwardedRef:t})),C=T,j=h(w)`
2
2
  && {
3
3
  display: inline-flex;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{r as a,Z as e,j as t,av as n,Y as o}from"./index-BqsMd8kb.js";function p(){const{t:s}=a.useContext(e);return t.jsx(r,{style:{paddingTop:"25vh"},children:t.jsx(n,{status:"404",description:s("noMatch.desc"),style:{backgroundColor:"transparent"}})})}const r=o.main``;export{p as default};
1
+ import{r as a,Z as e,j as t,at as n,Y as o}from"./index-BjZoVrCi.js";function p(){const{t:s}=a.useContext(e);return t.jsx(r,{style:{paddingTop:"25vh"},children:t.jsx(n,{status:"404",description:s("noMatch.desc"),style:{backgroundColor:"transparent"}})})}const r=o.main``;export{p as default};