@abtnode/blocklet-services 1.16.21-beta-445a8baa → 1.16.21-beta-2e75c75c

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 (278) hide show
  1. package/api/index.js +14 -3
  2. package/api/libs/connect/session.js +9 -4
  3. package/api/libs/connect/v2.js +1 -2
  4. package/api/libs/email.js +1 -1
  5. package/api/libs/logger.js +13 -0
  6. package/api/libs/open-graph/index.js +1 -1
  7. package/api/middlewares/check-blocklet.js +1 -1
  8. package/api/middlewares/check-running.js +1 -1
  9. package/api/routes/blocklet.js +1 -1
  10. package/api/routes/federated.js +1 -2
  11. package/api/routes/oauth.js +13 -1
  12. package/api/routes/user-session.js +10 -1
  13. package/api/routes/user.js +13 -1
  14. package/api/services/auth/connect/bind-wallet.js +1 -2
  15. package/api/services/auth/connect/exchange-passport.js +2 -2
  16. package/api/services/auth/connect/fuel.js +2 -1
  17. package/api/services/auth/connect/gen-blocklet-key-pair.js +2 -1
  18. package/api/services/auth/connect/invite.js +7 -1
  19. package/api/services/auth/connect/login.js +1 -2
  20. package/api/services/auth/connect/migrate-app-to-struct-v2.js +1 -2
  21. package/api/services/auth/connect/pre-setup.js +1 -1
  22. package/api/services/auth/connect/receive-transfer-app-owner.js +1 -1
  23. package/api/services/auth/connect/setup.js +1 -1
  24. package/api/services/auth/connect/transfer-app-owner.js +2 -1
  25. package/api/services/auth/index.js +1 -1
  26. package/api/services/dashboard/index.js +1 -2
  27. package/api/services/image/index.js +1 -1
  28. package/api/services/notification/blocklet-events-notifier.js +1 -1
  29. package/api/services/notification/index.js +1 -4
  30. package/api/services/oauth/index.js +2 -1
  31. package/api/services/relay/index.js +1 -4
  32. package/api/socket/channel/component.js +1 -1
  33. package/api/socket/channel/did.js +1 -2
  34. package/api/socket/util.js +1 -3
  35. package/api/state/index.js +1 -1
  36. package/api/util/blocklet-utils.js +1 -1
  37. package/dist/assets/{Add-3a4e9bf2.js → Add-aQrnrfzf.js} +1 -1
  38. package/dist/assets/Alert-TRn-W2uZ.js +1 -0
  39. package/dist/assets/{ArrowDropDown-a2deccb8.js → ArrowDropDown-CH040cMg.js} +1 -1
  40. package/dist/assets/Autocomplete-tXxDeUFr.js +1 -0
  41. package/dist/assets/{Avatar-31b251b1.js → Avatar-rHHH0tYI.js} +1 -1
  42. package/dist/assets/ButtonGroup-wdx9FsdX.js +1 -0
  43. package/dist/assets/CardContent-aTkzcvcb.js +1 -0
  44. package/dist/assets/{CheckCircle-a6858d5d.js → CheckCircle-n6sFL-ik.js} +1 -1
  45. package/dist/assets/Checkbox-j_1e5eTr.js +1 -0
  46. package/dist/assets/{ChevronRight-0de6ef39.js → ChevronRight-Z1HFANQM.js} +1 -1
  47. package/dist/assets/{DeleteOutline-978854b1.js → DeleteOutline-W9qfFaBp.js} +1 -1
  48. package/dist/assets/DialogContentText-OScaEdVl.js +1 -0
  49. package/dist/assets/{Done-e501bd33.js → Done-lojMP8XA.js} +1 -1
  50. package/dist/assets/{Download-ee01aba6.js → Download-zIigmX7y.js} +1 -1
  51. package/dist/assets/{Edit-fd7c9bed.js → Edit-9ZK8H_Fl.js} +1 -1
  52. package/dist/assets/{EditIcon-b1d73915.js → EditIcon-yhAmfbJG.js} +1 -1
  53. package/dist/assets/{ExpandMore-7c173148.js → ExpandMore-JKQWi6LF.js} +1 -1
  54. package/dist/assets/FilterList-4kCG8LRc.js +25 -0
  55. package/dist/assets/FormControl-PQjEXXGg.js +1 -0
  56. package/dist/assets/FormControlLabel-mJkBkk_g.js +1 -0
  57. package/dist/assets/FormGroup-vpdPgGk-.js +1 -0
  58. package/dist/assets/Google-VdMmJxwT.js +27 -0
  59. package/dist/assets/{Grid-c5601a70.js → Grid-p48e3xhB.js} +1 -1
  60. package/dist/assets/Hidden-ETMkRLtp.js +1 -0
  61. package/dist/assets/{Icon-29934361.js → Icon-44EJb3WR.js} +1 -1
  62. package/dist/assets/{InfoOutlined-eb4ab650.js → InfoOutlined-6gb2VM7I.js} +1 -1
  63. package/dist/assets/InputAdornment-Aryxdlq1.js +1 -0
  64. package/dist/assets/InputLabel-h-1ztqT6.js +1 -0
  65. package/dist/assets/{LastPage-c187ae76.js → LastPage-mfo1tUHa.js} +1 -1
  66. package/dist/assets/{Launch-8e54c9a5.js → Launch-AFmXeao0.js} +1 -1
  67. package/dist/assets/{LaunchOutlined-9dd9c853.js → LaunchOutlined-Bq_DfYoo.js} +1 -1
  68. package/dist/assets/ListItem-EJFW5_aw.js +1 -0
  69. package/dist/assets/{LockIcon-93d28688.js → LockIcon-D2isnori.js} +1 -1
  70. package/dist/assets/{Loop-9bace654.js → Loop-EkXTC6vo.js} +1 -1
  71. package/dist/assets/MoreHoriz-M3NU6QRD.js +1 -0
  72. package/dist/assets/{MoreVert-3d0977ab.js → MoreVert-0G7nxjS1.js} +2 -2
  73. package/dist/assets/{OpenInNew-e7cd0cc2.js → OpenInNew-hRo2SIn6.js} +1 -1
  74. package/dist/assets/{Pagination-6fcfcfda.js → Pagination-nXChL-n4.js} +2 -2
  75. package/dist/assets/{PlayArrow-961eaacd.js → PlayArrow-CyzooC2w.js} +1 -1
  76. package/dist/assets/RadioGroup-qU1ho8Ao.js +1 -0
  77. package/dist/assets/{Search-f8fe0d11.js → Search-k3UVP7sV.js} +1 -1
  78. package/dist/assets/{Select-86168230.js → Select-SiGR5MWy.js} +2 -2
  79. package/dist/assets/{ServerLogo-b9434abe.js → ServerLogo--wztj3ua.js} +1 -1
  80. package/dist/assets/Skeleton-EToYSB3k.js +51 -0
  81. package/dist/assets/Slider-CNwMVLkd.js +1 -0
  82. package/dist/assets/Stepper-ycMUSRhL.js +1 -0
  83. package/dist/assets/{TableRow-c019aa76.js → TableRow-0s5gqtkd.js} +2 -2
  84. package/dist/assets/TextField-5mqig0lI.js +1 -0
  85. package/dist/assets/{Toolbar-3eef999e.js → Toolbar-lPJJUJ1m.js} +1 -1
  86. package/dist/assets/{access-control-9ae6bc7e.js → access-control-ydDah6D7.js} +1 -1
  87. package/dist/assets/actions-KV6_T4pn.js +1 -0
  88. package/dist/assets/{add-component-core-a389deaa.js → add-component-core-j8O0sdKT.js} +40 -40
  89. package/dist/assets/add-component-core-wegghUnI.css +1 -0
  90. package/dist/assets/add-resource-qYTftMuf.js +1 -0
  91. package/dist/assets/addon-PObek_gJ.js +26 -0
  92. package/dist/assets/analytics-yABECUBU.js +52 -0
  93. package/dist/assets/api-taacukW-.js +1 -0
  94. package/dist/assets/{audit-logs-b77b5880.js → audit-logs-YVY6A7wy.js} +6 -6
  95. package/dist/assets/{button-df38f255.js → button-MNFZKmGM.js} +1 -1
  96. package/dist/assets/{click-to-copy-aea6a9bd.js → click-to-copy-vjabm7J5.js} +1 -1
  97. package/dist/assets/{complete-50b01711.js → complete-GGXUF0LK.js} +3 -3
  98. package/dist/assets/{component-ca8cf1c6.js → component-4ZMFkbkH.js} +38 -38
  99. package/dist/assets/{config-df87ad09.js → config-5i0Otxmz.js} +1 -1
  100. package/dist/assets/{config-d3b02cb4.js → config-d8eAy9AQ.js} +2 -2
  101. package/dist/assets/{config-navigation-cecc3eed.js → config-navigation-igDecGk9.js} +13 -13
  102. package/dist/assets/{confirm-ddc8b167.js → confirm-McA4faDz.js} +1 -1
  103. package/dist/assets/confirm-YPm7YFIn.js +7 -0
  104. package/dist/assets/{connect-b9415d0d.js → connect-KuguHe9k.js} +1 -1
  105. package/dist/assets/connect-tJMWKdid.js +1 -0
  106. package/dist/assets/{content-layout-c45180bc.js → content-layout-G5-XilZ6.js} +1 -1
  107. package/dist/assets/dashboard-50D9Dr3p.js +132 -0
  108. package/dist/assets/{did-address-6f8ac748.js → did-address-utn80azk.js} +1 -1
  109. package/dist/assets/{did-utils-e5a93c03.js → did-utils-4YEK01Hu.js} +1 -1
  110. package/dist/assets/domain-l69EGiWi.js +9 -0
  111. package/dist/assets/domain-list-WIxoLqLh.js +12 -0
  112. package/dist/assets/{exchange-passport-49de9567.js → exchange-passport-4MwJchuG.js} +1 -1
  113. package/dist/assets/{fallback-0a2aea38.js → fallback-qea1DwWv.js} +2 -2
  114. package/dist/assets/{format-error-cb03fbac.js → format-error-j9iyo8Yt.js} +1 -1
  115. package/dist/assets/{fuel-60fee1f9.js → fuel-0OwtGCtK.js} +1 -1
  116. package/dist/assets/fullpage-Oekyc1Xj.js +6 -0
  117. package/dist/assets/home-g-wTEPg3.js +1 -0
  118. package/dist/assets/{iframe-e27aa5eb.js → iframe-Ssz096D4.js} +1 -1
  119. package/dist/assets/index--kHy2X7X.js +57 -0
  120. package/dist/assets/index-3vHCMpvy.js +180 -0
  121. package/dist/assets/{index-263c5c47.js → index-4gQJ4T4X.js} +1 -1
  122. package/dist/assets/index-5ZgcPEtO.js +1 -0
  123. package/dist/assets/{index-d5c608a0.js → index-8eSZR55e.js} +1 -1
  124. package/dist/assets/{index-564c075f.js → index-BfVuEv33.js} +14 -14
  125. package/dist/assets/{index-710f1958.js → index-CcwxHzov.js} +5 -5
  126. package/dist/assets/index-CrzXvgtx.js +1 -0
  127. package/dist/assets/{index-a8342096.js → index-Czx_Yp7n.js} +11 -5
  128. package/dist/assets/{index-1bb44511.js → index-F_S38T2q.js} +1 -1
  129. package/dist/assets/{index-d8bbb108.css → index-Fay2ci-b.css} +1 -1
  130. package/dist/assets/{index-b938b74f.js → index-GGXNmXwI.js} +2 -2
  131. package/dist/assets/{index-ffef1c73.js → index-Gjml824M.js} +1 -1
  132. package/dist/assets/{index-63a4e02a.js → index-Iq8E4Lsq.js} +1 -1
  133. package/dist/assets/{index-c284b28f.js → index-JUPNeZG5.js} +1 -1
  134. package/dist/assets/{index-88adaebe.js → index-ORGg9jKv.js} +9 -9
  135. package/dist/assets/index-Pk6ACq9L.js +54 -0
  136. package/dist/assets/index-YtTdwnwX.js +16 -0
  137. package/dist/assets/{index-81318943.js → index-awu4CdLA.js} +8 -8
  138. package/dist/assets/index-b19Yrn_0.js +37 -0
  139. package/dist/assets/{index-aadc33f3.js → index-gaqdjuPF.js} +12 -12
  140. package/dist/assets/{index-6d7aa2de.js → index-jSUvqhlP.js} +24 -24
  141. package/dist/assets/index-pPYPIBlE.js +1443 -0
  142. package/dist/assets/{index-ad20f5d3.js → index-qZqgv8yB.js} +1 -1
  143. package/dist/assets/index-tFlExYQQ.js +1 -0
  144. package/dist/assets/{index-c093e71f.js → index-tJTwzBb_.js} +12 -12
  145. package/dist/assets/{index-b68f9890.js → index-w1Cpmbnp.js} +1 -1
  146. package/dist/assets/{index-ca434966.js → index-wZvmUWED.js} +1 -1
  147. package/dist/assets/{index.es-9b2db4aa.js → index.es--c4ru_97.js} +3 -3
  148. package/dist/assets/{index.esm-8eb4e6fc.js → index.esm-ShjBgrpC.js} +1 -1
  149. package/dist/assets/{invite-0ce1ce33.js → invite-XWTjq6KS.js} +3 -3
  150. package/dist/assets/issue-passport-qvaKDelt.js +23 -0
  151. package/dist/assets/{jss-plugin-props-sort.esm-bce6f159.js → jss-plugin-props-sort.esm-zfUHJiac.js} +6 -6
  152. package/dist/assets/{launch-result-message-b57dfcd0.js → launch-result-message-fsq6UHAu.js} +1 -1
  153. package/dist/assets/{layout-30e687a6.js → layout-VUay_GRX.js} +1 -1
  154. package/dist/assets/{list-header-cc4af7a1.js → list-header-93nr5oB-.js} +1 -1
  155. package/dist/assets/localization-yv9kIu3G.js +1 -0
  156. package/dist/assets/{log-30bb3f7c.js → log-U6xlWa4y.js} +8 -8
  157. package/dist/assets/{login-c8bbda83.js → login-atHIgY1G.js} +1 -1
  158. package/dist/assets/login-bg-m34fVHNm.png +0 -0
  159. package/dist/assets/{logo-uploader-f1f683e3.js → logo-uploader-FMfBEamH.js} +10 -4
  160. package/dist/assets/{lost-passport-8d3360a7.js → lost-passport-mht-nQzc.js} +8 -2
  161. package/dist/assets/{lottie-ed0144dd.js → lottie-ADPdpha1.js} +2 -2
  162. package/dist/assets/{memoize-one.esm-9b916d19.js → memoize-one.esm-lesmZsqu.js} +1 -1
  163. package/dist/assets/mode-Ip8p6ZjP.js +1 -0
  164. package/dist/assets/nav-menu-rYrXDg0l.js +305 -0
  165. package/dist/assets/notifications-fuSVFN6r.js +62 -0
  166. package/dist/assets/overview-iCb3XBvN.js +12 -0
  167. package/dist/assets/{page-header-bd167e51.js → page-header-zhjbpE4d.js} +1 -1
  168. package/dist/assets/{permission-1721d6ff.js → permission-_9JEBgjE.js} +4 -4
  169. package/dist/assets/preferences-raGCxSAm.js +1 -0
  170. package/dist/assets/publish-resource-_xR0SqTQ.js +1 -0
  171. package/dist/assets/react-IpGwX7Xn.js +87 -0
  172. package/dist/assets/{react-1ee50eda.css → react-yqGXLqWb.css} +1 -1
  173. package/dist/assets/{redux-2be0c609.js → redux-XOuz_cVf.js} +1 -1
  174. package/dist/assets/selector-jHLMIir9.js +46 -0
  175. package/dist/assets/session-_d807uES.js +1 -0
  176. package/dist/assets/setup-fevmOmkt.js +19 -0
  177. package/dist/assets/{slicedToArray-44714d87.js → slicedToArray-lYfsf7tU.js} +2 -2
  178. package/dist/assets/{spaces-884bd1bc.js → spaces-uqF3-sWW.js} +1 -1
  179. package/dist/assets/start-t3LoVjvu.js +186 -0
  180. package/dist/assets/{step-actions-e2c31c4a.js → step-actions-FSJC0U6T.js} +1 -1
  181. package/dist/assets/{studio-6d583ba0.js → studio-DC0Wz_Lu.js} +1 -1
  182. package/dist/assets/switch-control-MAwqpbvg.js +13 -0
  183. package/dist/assets/{transfer-38c48c41.js → transfer-FNwkS78F.js} +2 -2
  184. package/dist/assets/{uniqBy-1a4484bb.js → uniqBy-09zFKL9T.js} +1 -1
  185. package/dist/assets/unsubscribe-TpNUimcc.js +1 -0
  186. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-02cb5725.js → use-blocklet-info-for-connect-did-spaces-3VT2_Z5z.js} +1 -1
  187. package/dist/assets/{use-passport-id-7bbe3403.js → use-passport-id-pXgWCnyq.js} +1 -1
  188. package/dist/assets/{useAsync-e9cdf811.js → useAsync-IU1dWu3c.js} +1 -1
  189. package/dist/assets/useFormControl-048JKEU7.js +1 -0
  190. package/dist/assets/useLocalStorage-YCi9UL9H.js +1 -0
  191. package/dist/assets/{useSetState-6d3b66bd.js → useSetState-UpmVsjwc.js} +1 -1
  192. package/dist/assets/user-DpBEcTCg.js +22 -0
  193. package/dist/assets/{util-9fdf979a.js → util-YhTYpH34.js} +1 -1
  194. package/dist/assets/wallet-hidden-topbar-PzOecHVw.js +17 -0
  195. package/dist/assets/wrap-locale-jESJ2pw3.js +1 -0
  196. package/dist/index.html +2 -3
  197. package/dist/service-worker.js +2 -2
  198. package/package.json +37 -37
  199. package/dist/assets/Alert-88ccddfd.js +0 -1
  200. package/dist/assets/Autocomplete-a2328d71.js +0 -1
  201. package/dist/assets/ButtonGroup-d9cd68eb.js +0 -1
  202. package/dist/assets/CardContent-e96dbcb2.js +0 -1
  203. package/dist/assets/Checkbox-bf851887.js +0 -1
  204. package/dist/assets/DialogContentText-6418436c.js +0 -1
  205. package/dist/assets/FilterList-4f490637.js +0 -25
  206. package/dist/assets/FormControl-a1fbecf5.js +0 -1
  207. package/dist/assets/FormControlLabel-4a842c06.js +0 -1
  208. package/dist/assets/FormGroup-b7d9ef97.js +0 -1
  209. package/dist/assets/Google-91a8c0fe.js +0 -27
  210. package/dist/assets/Hidden-35230dda.js +0 -1
  211. package/dist/assets/InputAdornment-e4c90a63.js +0 -1
  212. package/dist/assets/InputLabel-49e6958a.js +0 -1
  213. package/dist/assets/ListItem-e314bf12.js +0 -1
  214. package/dist/assets/RadioGroup-8d4ab553.js +0 -1
  215. package/dist/assets/Slider-dc450dee.js +0 -1
  216. package/dist/assets/Stepper-0951e629.js +0 -1
  217. package/dist/assets/Switch-183772a5.js +0 -1
  218. package/dist/assets/TextField-fedebf1f.js +0 -1
  219. package/dist/assets/actions-28620eeb.js +0 -1
  220. package/dist/assets/add-component-core-d1824719.css +0 -1
  221. package/dist/assets/add-resource-9509ff95.js +0 -1
  222. package/dist/assets/addon-67a138a5.js +0 -26
  223. package/dist/assets/analytics-1cc14b8d.js +0 -52
  224. package/dist/assets/api-cf320b38.js +0 -1
  225. package/dist/assets/confirm-06053193.js +0 -7
  226. package/dist/assets/connect-eb42cf82.js +0 -1
  227. package/dist/assets/dashboard-869969b3.js +0 -126
  228. package/dist/assets/domain-ce3d68ba.js +0 -9
  229. package/dist/assets/domain-list-c01d42a2.js +0 -12
  230. package/dist/assets/home-13a41811.js +0 -1
  231. package/dist/assets/index-0f945049.js +0 -54
  232. package/dist/assets/index-40d4e6fe.js +0 -37
  233. package/dist/assets/index-48a58a22.js +0 -1
  234. package/dist/assets/index-5ecec248.js +0 -1
  235. package/dist/assets/index-67652289.js +0 -57
  236. package/dist/assets/index-a472b88f.js +0 -1
  237. package/dist/assets/index-a575450e.js +0 -174
  238. package/dist/assets/index-ca1233b4.js +0 -1
  239. package/dist/assets/index-f5164e7a.js +0 -1743
  240. package/dist/assets/index-fb610e48.js +0 -16
  241. package/dist/assets/issue-passport-eeb74a6b.js +0 -23
  242. package/dist/assets/listItemButtonClasses-811dce88.js +0 -1
  243. package/dist/assets/localization-586c2161.js +0 -1
  244. package/dist/assets/nav-menu-2e0bf9b0.js +0 -301
  245. package/dist/assets/notifications-9acb30be.js +0 -62
  246. package/dist/assets/overview-b5205c37.js +0 -12
  247. package/dist/assets/preferences-2cc81c57.js +0 -1
  248. package/dist/assets/publish-resource-309461c6.js +0 -1
  249. package/dist/assets/react-a6e6612e.js +0 -87
  250. package/dist/assets/selector-8aed4b44.js +0 -45
  251. package/dist/assets/session-5cca81f2.js +0 -1
  252. package/dist/assets/setup-4a3ca937.js +0 -13
  253. package/dist/assets/start-b1f2c2fa.js +0 -186
  254. package/dist/assets/switch-control-97423316.js +0 -13
  255. package/dist/assets/unsubscribe-7c8ecf1f.js +0 -1
  256. package/dist/assets/useFormControl-be0583f6.js +0 -1
  257. package/dist/assets/useLocalStorage-6f44c0e8.js +0 -1
  258. package/dist/assets/user-b04d443a.js +0 -22
  259. package/dist/assets/wallet-hidden-topbar-30953049.js +0 -11
  260. package/dist/assets/wrap-locale-c74ee18c.js +0 -1
  261. /package/dist/assets/{audit-logs-71685e49.css → audit-logs-QseNTS8s.css} +0 -0
  262. /package/dist/assets/{index-eac0d35b.css → index-1NyTkR9G.css} +0 -0
  263. /package/dist/assets/{lato-all-400-normal-8844f83a.woff → lato-all-400-normal-J9JTbfbq.woff} +0 -0
  264. /package/dist/assets/{lato-all-700-normal-4bfd21d1.woff → lato-all-700-normal-hoWrJF_J.woff} +0 -0
  265. /package/dist/assets/{lato-latin-400-normal-918b7dc3.woff2 → lato-latin-400-normal-RIbX5ua0.woff2} +0 -0
  266. /package/dist/assets/{lato-latin-700-normal-c447dd76.woff2 → lato-latin-700-normal-VBjIIp-A.woff2} +0 -0
  267. /package/dist/assets/{lato-latin-ext-400-normal-1c2fc265.woff2 → lato-latin-ext-400-normal-vHgWfo9s.woff2} +0 -0
  268. /package/dist/assets/{lato-latin-ext-700-normal-4ef7cd3d.woff2 → lato-latin-ext-700-normal-uVlnzcMZ.woff2} +0 -0
  269. /package/dist/assets/{log-27ad1df4.css → log-993Rbbf_.css} +0 -0
  270. /package/dist/assets/{preact.module-783a6d9f.js → preact.module-yJdvQMHZ.js} +0 -0
  271. /package/dist/assets/{toPropertyKey-acc744d8.js → toPropertyKey-NzAT2yhV.js} +0 -0
  272. /package/dist/assets/{ubuntu-mono-all-400-normal-f4a8f91f.woff → ubuntu-mono-all-400-normal-bPeWxOcj.woff} +0 -0
  273. /package/dist/assets/{ubuntu-mono-cyrillic-400-normal-b958f4d0.woff2 → ubuntu-mono-cyrillic-400-normal-1r_k7was.woff2} +0 -0
  274. /package/dist/assets/{ubuntu-mono-cyrillic-ext-400-normal-fcf55b87.woff2 → ubuntu-mono-cyrillic-ext-400-normal-Ni0K3o4l.woff2} +0 -0
  275. /package/dist/assets/{ubuntu-mono-greek-400-normal-6799188f.woff2 → ubuntu-mono-greek-400-normal-ZqeL-uKU.woff2} +0 -0
  276. /package/dist/assets/{ubuntu-mono-greek-ext-400-normal-8b0abaf5.woff2 → ubuntu-mono-greek-ext-400-normal-bPDHNzua.woff2} +0 -0
  277. /package/dist/assets/{ubuntu-mono-latin-400-normal-b07e4ebe.woff2 → ubuntu-mono-latin-400-normal-uDUzuIHS.woff2} +0 -0
  278. /package/dist/assets/{ubuntu-mono-latin-ext-400-normal-1fe80c26.woff2 → ubuntu-mono-latin-ext-400-normal-pKhfBlxE.woff2} +0 -0
@@ -0,0 +1 @@
1
+ import{aA as S,az as T,aB as g,aF as l,r as k,aD as M,aE as E,j as t,aH as L,aI as U,T as b,d as _,aw as F,u as I,M as $,f as H,h as D,B as j,c as R,w as A,L as W,G as N,n as w,cc as z}from"./index-pPYPIBlE.js";import{C as B,a as O}from"./CardContent-aTkzcvcb.js";function K(o){return S("MuiCardActions",o)}T("MuiCardActions",["root","spacing"]);const V=["disableSpacing","className"],X=o=>{const{classes:s,disableSpacing:a}=o;return U({root:["root",!a&&"spacing"]},K,s)},Y=g("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:a}=o;return[s.root,!a.disableSpacing&&s.spacing]}})(({ownerState:o})=>l({display:"flex",alignItems:"center",padding:8},!o.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),q=k.forwardRef(function(s,a){const n=M({props:s,name:"MuiCardActions"}),{disableSpacing:i=!1,className:e}=n,h=E(n,V),d=l({},n,{disableSpacing:i}),r=X(d);return t.jsx(Y,l({className:L(r.root,e),ownerState:d,ref:a},h))}),G=q;function J(o){return S("MuiCardHeader",o)}const Q=T("MuiCardHeader",["root","avatar","action","content","title","subheader"]),P=Q,Z=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],ee=o=>{const{classes:s}=o;return U({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},J,s)},se=g("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(o,s)=>l({[`& .${P.title}`]:s.title,[`& .${P.subheader}`]:s.subheader},s.root)})({display:"flex",alignItems:"center",padding:16}),ae=g("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(o,s)=>s.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),te=g("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(o,s)=>s.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),oe=g("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(o,s)=>s.content})({flex:"1 1 auto"}),re=k.forwardRef(function(s,a){const n=M({props:s,name:"MuiCardHeader"}),{action:i,avatar:e,className:h,component:d="div",disableTypography:r=!1,subheader:y,subheaderTypographyProps:v,title:x,titleTypographyProps:C}=n,c=E(n,Z),u=l({},n,{component:d,disableTypography:r}),p=ee(u);let m=x;m!=null&&m.type!==b&&!r&&(m=t.jsx(b,l({variant:e?"body2":"h5",className:p.title,component:"span",display:"block"},C,{children:m})));let f=y;return f!=null&&f.type!==b&&!r&&(f=t.jsx(b,l({variant:e?"body2":"body1",className:p.subheader,color:"text.secondary",component:"span",display:"block"},v,{children:f}))),t.jsxs(se,l({className:L(p.root,h),as:d,ref:a,ownerState:u},c,{children:[e&&t.jsx(ae,{className:p.avatar,ownerState:u,children:e}),t.jsxs(oe,{className:p.content,ownerState:u,children:[m,f]}),i&&t.jsx(te,{className:p.action,ownerState:u,children:i})]}))}),ne=re;function le(){var x,C;const{api:o}=_(),s=F(),{t:a}=I(),i=new URLSearchParams(s.search).get("token"),e=$({error:"",finished:!1,loading:!1}),h=H(()=>{window.close(),window.location.replace("/")}),d=H(async()=>{try{e.loading=!0;const{data:c}=await o.post("/api/user/notification/unsubscribe",{token:i});c.success===!0?(e.finished=!0,w.success(a("notification.unsubscribeSucceed"))):(e.finished=!1,w.error(a("notification.unsubscribeFailed")))}catch(c){e.finished=!1,w.error(c.message||a("notification.unsubscribeFailed"))}finally{e.loading=!1}});D(()=>{if(!i)e.error=a("notification.unsubscribeTokenRequired");else{const c=z(i);if(!c)e.error=a("notification.unsubscribeTokenInvalid");else{const{exp:u}=c;u*1e3<=Date.now()&&(e.error=a("notification.unsubscribeTokenExpired"))}}});const r=(x=window==null?void 0:window.blocklet)==null?void 0:x.copyright,y=(r==null?void 0:r.owner)||((C=window==null?void 0:window.blocklet)==null?void 0:C.appName),v=(r==null?void 0:r.year)||new Date().getFullYear();return t.jsx(j,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",minHeight:"100vh",backgroundColor:"#fafafa"},children:t.jsxs(j,{sx:{width:"450px",maxWidth:"90%"},children:[t.jsx(j,{sx:{width:"100%"},children:t.jsx("img",{style:{height:"40px"},src:R(A.WELLKNOWN_SERVICE_PATH_PREFIX,"/blocklet/logo-rect?imageFilter=resize&h=80"),alt:"blocklet logo"})}),t.jsxs(B,{variant:"outlined",sx:{my:1},children:[t.jsx(ne,{title:e.finished?a("notification.unsubscribeSucceed"):a("notification.email.unsubscribe")}),t.jsxs(O,{sx:{minHeight:"10em"},children:[e.error?e.error:null,!e.error&&!e.finished?a("notification.email.unsubscribeDescription"):null,!e.error&&e.finished?t.jsxs(t.Fragment,{children:[a("notification.email.subscribeDescription")," ",t.jsx(W,{to:R(A.WELLKNOWN_SERVICE_PATH_PREFIX,"/user/settings"),color:"primary",children:a("notification.email.subscribe")})]}):null]}),t.jsxs(G,{sx:{justifyContent:"end!important"},children:[t.jsx(N,{size:"small",color:e.error?"error":"primary",variant:"outlined",onClick:h,children:a("common.close")}),e.error||e.finished?null:t.jsx(N,{size:"small",color:"primary",variant:"contained",onClick:d,loading:e.loading,children:a("notification.unsubscribe")})]})]}),t.jsxs(b,{variant:"body2",color:"gray",children:["Copyright © ",v," ",y]})]})})}export{le as default};
@@ -1 +1 @@
1
- import{c1 as v,r as y,aW as _,H as $,I as e1,j as e,a9 as b,ck as t1,ci as a1,av as r1,ej as s1,ek as l1}from"./index-f5164e7a.js";var T={},Q={},d={},E={},g={};g.__esModule=!0;g.joinClassNames=void 0;g.joinClassNames=function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];return n.filter(function(u){return u}).join(" ")};(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(l){for(var i,t=1,r=arguments.length;t<r;t++){i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(l[a]=i[a])}return l},s.apply(this,arguments)};n.__esModule=!0;var u=y,f=g,p=function(l){var i=l.className,t=l.maxHeight,r=l.color,a=l.lineSpacing,c=a===void 0?"0.7em":a,o=l.style,h={maxHeight:t,width:"100%",height:"1em",backgroundColor:r,marginTop:c};return u.createElement("div",{className:f.joinClassNames("text-row",i),style:s(s({},h),o)})};n.default=p})(E);var M={};(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(l){for(var i,t=1,r=arguments.length;t<r;t++){i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(l[a]=i[a])}return l},s.apply(this,arguments)};n.__esModule=!0;var u=y,f=g,p=function(l){var i=l.className,t=l.style,r=l.color,a={backgroundColor:r,borderRadius:"500rem",width:"100%",height:"100%"};return u.createElement("div",{className:f.joinClassNames("round-shape",i),style:s(s({},a),t)})};n.default=p})(M);var z={};(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(l){for(var i,t=1,r=arguments.length;t<r;t++){i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(l[a]=i[a])}return l},s.apply(this,arguments)};n.__esModule=!0;var u=y,f=g,p=function(l){var i=l.className,t=l.style,r=l.color,a={backgroundColor:r,width:"100%",height:"100%",marginRight:10};return u.createElement("div",{className:f.joinClassNames("rect-shape",i),style:s(s({},a),t)})};n.default=p})(z);var U={};(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(r){for(var a,c=1,o=arguments.length;c<o;c++){a=arguments[c];for(var h in a)Object.prototype.hasOwnProperty.call(a,h)&&(r[h]=a[h])}return r},s.apply(this,arguments)};n.__esModule=!0;var u=y,f=E,p=g,l={width:"100%"},i=[97,100,94,90,98,95,98,40],t=function(r){var a=r.rows,c=r.lineSpacing,o=r.color,h=r.style,j=r.className,m=r.widths,C=m===void 0?i:m,A=function(B){return{maxHeight:100/(a*2-1)+"%",width:C[(B+C.length)%C.length]+"%"}};return u.createElement("div",{className:p.joinClassNames("text-block",j),style:s(s({},l),h)},Array.apply(null,Array(a)).map(function(B,R){return u.createElement(f.default,{color:o,style:A(R),lineSpacing:R!==0?c:0,key:R})}))};n.default=t})(U);var L={};(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(r){for(var a,c=1,o=arguments.length;c<o;c++){a=arguments[c];for(var h in a)Object.prototype.hasOwnProperty.call(a,h)&&(r[h]=a[h])}return r},s.apply(this,arguments)};n.__esModule=!0;var u=y,f=U,p=M,l=g,i={display:"flex"},t=function(r){var a=r.className,c=r.style,o=r.color,h=r.rows;return u.createElement("div",{className:l.joinClassNames("media-block",a),style:s(s({},i),c)},u.createElement(p.default,{color:o,style:{minHeight:55,width:55,minWidth:55,marginRight:10}}),u.createElement(f.default,{color:o,rows:h}))};n.default=t})(L);d.__esModule=!0;d.media=d.text=d.rect=d.round=d.textRow=d.MediaBlock=d.TextBlock=d.RectShape=d.RoundShape=d.TextRow=void 0;var D=E;d.TextRow=D.default;var H=M;d.RoundShape=H.default;var V=z;d.RectShape=V.default;var G=U;d.TextBlock=G.default;var P=L;d.MediaBlock=P.default;d.textRow=D.default;d.round=H.default;d.rect=V.default;d.text=G.default;d.media=P.default;(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(t){for(var r,a=1,c=arguments.length;a<c;a++){r=arguments[a];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},s.apply(this,arguments)},u=v&&v.__rest||function(t,r){var a={};for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&r.indexOf(c)<0&&(a[c]=t[c]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,c=Object.getOwnPropertySymbols(t);o<c.length;o++)r.indexOf(c[o])<0&&Object.prototype.propertyIsEnumerable.call(t,c[o])&&(a[c[o]]=t[c[o]]);return a};n.__esModule=!0;var f=y,p=d,l=g,i=function(t){var r=t.delay,a=r===void 0?0:r,c=t.type,o=c===void 0?"text":c,h=t.color,j=h===void 0?"#CDCDCD":h,m=t.rows,C=m===void 0?3:m,A=t.ready,B=t.firstLaunchOnly,R=t.children,J=t.className,Z=t.showLoadingAnimation,x=t.customPlaceholder,K=u(t,["delay","type","color","rows","ready","firstLaunchOnly","children","className","showLoadingAnimation","customPlaceholder"]),N=f.useState(A),O=N[0],I=N[1],S=f.useRef(null),Y=function(){var F=Z?l.joinClassNames("show-loading-animation",J):J;if(x&&f.isValidElement(x)){var W=l.joinClassNames(x.props.className,F);return f.cloneElement(x,{className:W})}else if(x)return x;var q=p[o];return f.createElement(q,s({},K,{color:j,rows:C,className:F}))};return f.useEffect(function(){!B&&O&&!A?a&&a>0?S.current=window.setTimeout(function(){I(!1)},a):I(!1):A&&(S.current&&window.clearTimeout(S.current),O||I(!0))},[B,O,A,a]),f.useEffect(function(){return function(){S.current&&window.clearTimeout(S.current)}},[]),O?R:Y()};n.default=i})(Q);(function(n){n.__esModule=!0;var s=Q;n.default=s.default})(T);const n1=_(T);var k={},o1=e1;Object.defineProperty(k,"__esModule",{value:!0});var X=k.default=void 0,c1=o1($()),i1=e,h1=(0,c1.default)((0,i1.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}),"CloseOutlined");X=k.default=h1;var w=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.222l-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.263L121.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.089l1.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.333l.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("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("pattern",{id:"c",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:e.jsx("use",{xlinkHref:"#i",transform:"scale(.00455 .00781)"})}),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("image",{id:"i",width:"220",height:"128",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACABAMAAACSOBo+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQO3sjRRBG4a+qWzJhVfdIJqzuGXsJe2bkJe0e2UA4shdIJS2X1LBcUpbL/wae5yQnfVHGjp2+V08yKR7OwBDYte8pi5Aq9DObSBouqN9cidZyusonzWtGJO13phLebEn6xKEnlYyXe5hnySc53Ym9Abn7crTse8r7BMeIB8yBOVZK0trMjxT5S/cgc9G63BQqZoF3xSYZYeRk2hoIvEBFA7XMtaaF8TdY1GjiDDqgEswRDlWnRtmYzl5zRUq3sx3I+JL7sBJKXchDGJY9D+SfHAIoA+TuHCyYYYFjkhNB8tO5hhju0ANjdCITLx4/JDL+yyP0ErZR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0 228 258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"};function d1({src:n,alt:s}){const[u,f]=y.useState(!1),[p,l]=y.useState(!1),i=()=>l(!0),t=()=>l(!1);return e.jsxs(e.Fragment,{children:[e.jsx(n1,{ready:u,customPlaceholder:e.jsx("img",{style:{cursor:"pointer"},alt:s,src:n,width:"58px",height:"58px",onError:()=>f(!0),onClick:i}),children:e.jsx(w,{style:{cursor:"pointer",width:"58px",height:"58px"},onClick:i})}),e.jsx(t1,{open:p,onClose:t,"aria-labelledby":"preview-space-nft-display","aria-describedby":"preview space nft display",fullWidth:!0,maxWidth:"md",children:e.jsxs(a1,{style:{padding:"8px 8px",backgroundColor:"rgba(0,0,0,0.8)"},children:[e.jsx(r1,{color:"inherit",onClick:t,"aria-label":"close",style:{position:"absolute",top:8,right:8,color:"white"},children:e.jsx(X,{})}),u?e.jsx(w,{style:{width:"100%",height:"75vh"}}):e.jsx("img",{src:n,alt:"",style:{width:"100%",height:"75vh",objectFit:"contain"}})]})})]})}d1.propTypes={src:b.string.isRequired,alt:b.string.isRequired};function f1({blocklet:n}){var r,a,c;const{appDid:s}=n,u=s1(n),f=l1(n),p=(c=(a=(r=n==null?void 0:n.site)==null?void 0:r.domainAliases)==null?void 0:a.sort((o,h)=>o.accessibility.accessible&&h.accessibility.accessible?+o.isProtected-+h.isProtected:+h.accessibility.accessible-+o.accessibility.accessible))==null?void 0:c.map(o=>{var m;const h=(m=o==null?void 0:o.domainStatus)!=null&&m.isHttps?"https://":"http://",j=o==null?void 0:o.value;return`${h}${j}`}).filter(Boolean),l=p==null?void 0:p[0],i="list:object read:object write:object",t=window.location.href;return{appDid:s,appName:u,appDescription:f,appUrl:l,scopes:i,referrer:t,isReady:!!l}}export{d1 as P,f1 as u};
1
+ import{cd as v,r as y,aT as _,J as $,K as e1,j as e,ab as F,cx as t1,cv as a1,ax as r1,es as s1,et as l1}from"./index-pPYPIBlE.js";var T={},Q={},d={},E={},g={};g.__esModule=!0;g.joinClassNames=void 0;g.joinClassNames=function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];return n.filter(function(u){return u}).join(" ")};(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(l){for(var i,t=1,r=arguments.length;t<r;t++){i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(l[a]=i[a])}return l},s.apply(this,arguments)};n.__esModule=!0;var u=y,f=g,p=function(l){var i=l.className,t=l.maxHeight,r=l.color,a=l.lineSpacing,c=a===void 0?"0.7em":a,o=l.style,h={maxHeight:t,width:"100%",height:"1em",backgroundColor:r,marginTop:c};return u.createElement("div",{className:f.joinClassNames("text-row",i),style:s(s({},h),o)})};n.default=p})(E);var M={};(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(l){for(var i,t=1,r=arguments.length;t<r;t++){i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(l[a]=i[a])}return l},s.apply(this,arguments)};n.__esModule=!0;var u=y,f=g,p=function(l){var i=l.className,t=l.style,r=l.color,a={backgroundColor:r,borderRadius:"500rem",width:"100%",height:"100%"};return u.createElement("div",{className:f.joinClassNames("round-shape",i),style:s(s({},a),t)})};n.default=p})(M);var z={};(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(l){for(var i,t=1,r=arguments.length;t<r;t++){i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(l[a]=i[a])}return l},s.apply(this,arguments)};n.__esModule=!0;var u=y,f=g,p=function(l){var i=l.className,t=l.style,r=l.color,a={backgroundColor:r,width:"100%",height:"100%",marginRight:10};return u.createElement("div",{className:f.joinClassNames("rect-shape",i),style:s(s({},a),t)})};n.default=p})(z);var U={};(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(r){for(var a,c=1,o=arguments.length;c<o;c++){a=arguments[c];for(var h in a)Object.prototype.hasOwnProperty.call(a,h)&&(r[h]=a[h])}return r},s.apply(this,arguments)};n.__esModule=!0;var u=y,f=E,p=g,l={width:"100%"},i=[97,100,94,90,98,95,98,40],t=function(r){var a=r.rows,c=r.lineSpacing,o=r.color,h=r.style,j=r.className,m=r.widths,C=m===void 0?i:m,A=function(B){return{maxHeight:100/(a*2-1)+"%",width:C[(B+C.length)%C.length]+"%"}};return u.createElement("div",{className:p.joinClassNames("text-block",j),style:s(s({},l),h)},Array.apply(null,Array(a)).map(function(B,R){return u.createElement(f.default,{color:o,style:A(R),lineSpacing:R!==0?c:0,key:R})}))};n.default=t})(U);var L={};(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(r){for(var a,c=1,o=arguments.length;c<o;c++){a=arguments[c];for(var h in a)Object.prototype.hasOwnProperty.call(a,h)&&(r[h]=a[h])}return r},s.apply(this,arguments)};n.__esModule=!0;var u=y,f=U,p=M,l=g,i={display:"flex"},t=function(r){var a=r.className,c=r.style,o=r.color,h=r.rows;return u.createElement("div",{className:l.joinClassNames("media-block",a),style:s(s({},i),c)},u.createElement(p.default,{color:o,style:{minHeight:55,width:55,minWidth:55,marginRight:10}}),u.createElement(f.default,{color:o,rows:h}))};n.default=t})(L);d.__esModule=!0;d.media=d.text=d.rect=d.round=d.textRow=d.MediaBlock=d.TextBlock=d.RectShape=d.RoundShape=d.TextRow=void 0;var D=E;d.TextRow=D.default;var V=M;d.RoundShape=V.default;var H=z;d.RectShape=H.default;var G=U;d.TextBlock=G.default;var P=L;d.MediaBlock=P.default;d.textRow=D.default;d.round=V.default;d.rect=H.default;d.text=G.default;d.media=P.default;(function(n){var s=v&&v.__assign||function(){return s=Object.assign||function(t){for(var r,a=1,c=arguments.length;a<c;a++){r=arguments[a];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},s.apply(this,arguments)},u=v&&v.__rest||function(t,r){var a={};for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&r.indexOf(c)<0&&(a[c]=t[c]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,c=Object.getOwnPropertySymbols(t);o<c.length;o++)r.indexOf(c[o])<0&&Object.prototype.propertyIsEnumerable.call(t,c[o])&&(a[c[o]]=t[c[o]]);return a};n.__esModule=!0;var f=y,p=d,l=g,i=function(t){var r=t.delay,a=r===void 0?0:r,c=t.type,o=c===void 0?"text":c,h=t.color,j=h===void 0?"#CDCDCD":h,m=t.rows,C=m===void 0?3:m,A=t.ready,B=t.firstLaunchOnly,R=t.children,k=t.className,Z=t.showLoadingAnimation,x=t.customPlaceholder,K=u(t,["delay","type","color","rows","ready","firstLaunchOnly","children","className","showLoadingAnimation","customPlaceholder"]),N=f.useState(A),O=N[0],I=N[1],S=f.useRef(null),Y=function(){var b=Z?l.joinClassNames("show-loading-animation",k):k;if(x&&f.isValidElement(x)){var W=l.joinClassNames(x.props.className,b);return f.cloneElement(x,{className:W})}else if(x)return x;var q=p[o];return f.createElement(q,s({},K,{color:j,rows:C,className:b}))};return f.useEffect(function(){!B&&O&&!A?a&&a>0?S.current=window.setTimeout(function(){I(!1)},a):I(!1):A&&(S.current&&window.clearTimeout(S.current),O||I(!0))},[B,O,A,a]),f.useEffect(function(){return function(){S.current&&window.clearTimeout(S.current)}},[]),O?R:Y()};n.default=i})(Q);(function(n){n.__esModule=!0;var s=Q;n.default=s.default})(T);const n1=_(T);var J={},o1=e1;Object.defineProperty(J,"__esModule",{value:!0});var X=J.default=void 0,c1=o1($()),i1=e,h1=(0,c1.default)((0,i1.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}),"CloseOutlined");X=J.default=h1;var w=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.222l-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.263L121.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.089l1.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.333l.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("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("pattern",{id:"c",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:e.jsx("use",{xlinkHref:"#i",transform:"scale(.00455 .00781)"})}),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("image",{id:"i",width:"220",height:"128",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAACABAMAAACSOBo+AAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlMSFhkOHAsfCCOMH5MiAAAjjElEQVRo3hTQO3sjRRBG4a+qWzJhVfdIJqzuGXsJe2bkJe0e2UA4shdIJS2X1LBcUpbL/wae5yQnfVHGjp2+V08yKR7OwBDYte8pi5Aq9DObSBouqN9cidZyusonzWtGJO13phLebEn6xKEnlYyXe5hnySc53Ym9Abn7crTse8r7BMeIB8yBOVZK0trMjxT5S/cgc9G63BQqZoF3xSYZYeRk2hoIvEBFA7XMtaaF8TdY1GjiDDqgEswRDlWnRtmYzl5zRUq3sx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89O+eYUnXB/gFxHxPmOeL9ogAAAABJRU5ErkJggg=="})]})]})};w.defaultProps={width:"228",height:"258",viewBox:"0 0 228 258",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"};function d1({src:n,alt:s}){const[u,f]=y.useState(!1),[p,l]=y.useState(!1),i=()=>l(!0),t=()=>l(!1);return e.jsxs(e.Fragment,{children:[e.jsx(n1,{ready:u,customPlaceholder:e.jsx("img",{style:{cursor:"pointer"},alt:s,src:n,width:"58px",height:"58px",onError:()=>f(!0),onClick:i}),children:e.jsx(w,{style:{cursor:"pointer",width:"58px",height:"58px"},onClick:i})}),e.jsx(t1,{open:p,onClose:t,"aria-labelledby":"preview-space-nft-display","aria-describedby":"preview space nft display",fullWidth:!0,maxWidth:"md",children:e.jsxs(a1,{style:{padding:"8px 8px",backgroundColor:"rgba(0,0,0,0.8)"},children:[e.jsx(r1,{color:"inherit",onClick:t,"aria-label":"close",style:{position:"absolute",top:8,right:8,color:"white"},children:e.jsx(X,{})}),u?e.jsx(w,{style:{width:"100%",height:"75vh"}}):e.jsx("img",{src:n,alt:"",style:{width:"100%",height:"75vh",objectFit:"contain"}})]})})]})}d1.propTypes={src:F.string.isRequired,alt:F.string.isRequired};function f1({blocklet:n}){var r,a,c;const{appDid:s}=n,u=s1(n),f=l1(n),p=(c=(a=(r=n==null?void 0:n.site)==null?void 0:r.domainAliases)==null?void 0:a.sort((o,h)=>o.accessibility.accessible&&h.accessibility.accessible?+o.isProtected-+h.isProtected:+h.accessibility.accessible-+o.accessibility.accessible))==null?void 0:c.map(o=>{var m;const h=(m=o==null?void 0:o.domainStatus)!=null&&m.isHttps?"https://":"http://",j=o==null?void 0:o.value;return`${h}${j}`}).filter(Boolean),l=p==null?void 0:p[0],i="list:object read:object write:object",t=window.location.href;return{appDid:s,appName:u,appDescription:f,appUrl:l,scopes:i,referrer:t,isReady:!!l}}export{d1 as P,f1 as u};
@@ -1 +1 @@
1
- function e(){const s=()=>{localStorage.removeItem("passportId")};return{getPassportId:()=>{const t=localStorage.getItem("passportId")||"";return s(),t},setPassportId:t=>{localStorage.setItem("passportId",t)}}}export{e as u};
1
+ function e(){const s=()=>{localStorage.removeItem("passportId")};return{getPassportId:()=>{const t=localStorage.getItem("passportId")||"";return s(),t},setPassportId:t=>{localStorage.setItem("passportId",t)},clearPassportId:s}}export{e as u};
@@ -1 +1 @@
1
- import{cn as R,co as $,r as v}from"./index-f5164e7a.js";const p=R($);var q={},c={},o={},M;function h(){if(M)return o;M=1,Object.defineProperty(o,"__esModule",{value:!0});var e=v;function r(){var t=e.useRef(!1),a=e.useCallback(function(){return t.current},[]);return e.useEffect(function(){return t.current=!0,function(){t.current=!1}},[]),a}return o.default=r,o}var A;function k(){if(A)return c;A=1,Object.defineProperty(c,"__esModule",{value:!0});var e=p,r=v,t=e.__importDefault(h());function a(n,f,l){f===void 0&&(f=[]),l===void 0&&(l={loading:!1});var i=r.useRef(0),_=t.default(),g=r.useState(l),y=g[0],d=g[1],F=r.useCallback(function(){for(var b=[],s=0;s<arguments.length;s++)b[s]=arguments[s];var m=++i.current;return y.loading||d(function(u){return e.__assign(e.__assign({},u),{loading:!0})}),n.apply(void 0,b).then(function(u){return _()&&m===i.current&&d({value:u,loading:!1}),u},function(u){return _()&&m===i.current&&d({error:u,loading:!1}),u})},f);return[y,F]}return c.default=a,c}Object.defineProperty(q,"__esModule",{value:!0});var S=p,U=v,j=S.__importDefault(k());function C(e,r){r===void 0&&(r=[]);var t=j.default(e,r,{loading:!0}),a=t[0],n=t[1];return U.useEffect(function(){n()},[n]),a}var O=q.default=C;export{O as _,p as r,q as u};
1
+ import{cA as R,cB as $,r as v}from"./index-pPYPIBlE.js";const p=R($);var q={},c={},f={},A;function h(){if(A)return f;A=1,Object.defineProperty(f,"__esModule",{value:!0});var e=v;function r(){var t=e.useRef(!1),a=e.useCallback(function(){return t.current},[]);return e.useEffect(function(){return t.current=!0,function(){t.current=!1}},[]),a}return f.default=r,f}var M;function k(){if(M)return c;M=1,Object.defineProperty(c,"__esModule",{value:!0});var e=p,r=v,t=e.__importDefault(h());function a(n,o,l){o===void 0&&(o=[]),l===void 0&&(l={loading:!1});var i=r.useRef(0),_=t.default(),g=r.useState(l),y=g[0],d=g[1],F=r.useCallback(function(){for(var b=[],s=0;s<arguments.length;s++)b[s]=arguments[s];var m=++i.current;return y.loading||d(function(u){return e.__assign(e.__assign({},u),{loading:!0})}),n.apply(void 0,b).then(function(u){return _()&&m===i.current&&d({value:u,loading:!1}),u},function(u){return _()&&m===i.current&&d({error:u,loading:!1}),u})},o);return[y,F]}return c.default=a,c}Object.defineProperty(q,"__esModule",{value:!0});var S=p,U=v,j=S.__importDefault(k());function C(e,r){r===void 0&&(r=[]);var t=j.default(e,r,{loading:!0}),a=t[0],n=t[1];return U.useEffect(function(){n()},[n]),a}var O=q.default=C;export{O as _,p as r,q as u};
@@ -0,0 +1 @@
1
+ import{r as e}from"./index-pPYPIBlE.js";function x({props:n,states:f,muiFormControl:t}){return f.reduce((r,o)=>(r[o]=n[o],t&&typeof n[o]>"u"&&(r[o]=t[o]),r),{})}const u=e.createContext(void 0),C=u;function d(){return e.useContext(C)}export{C as F,x as f,d as u};
@@ -0,0 +1 @@
1
+ import{r as S,cb as y}from"./index-pPYPIBlE.js";var d={};Object.defineProperty(d,"__esModule",{value:!0});var i=S,u=y,z=function(f,s,r){if(!u.isBrowser)return[s,u.noop,u.noop];if(!f)throw new Error("useLocalStorage key may not be falsy");var n=r?r.raw?function(t){return t}:r.deserializer:JSON.parse,o=i.useRef(function(t){try{var a=r?r.raw?String:r.serializer:JSON.stringify,e=localStorage.getItem(t);return e!==null?n(e):(s&&localStorage.setItem(t,a(s)),s)}catch{return s}}),l=i.useState(function(){return o.current(f)}),g=l[0],c=l[1];i.useLayoutEffect(function(){return c(o.current(f))},[f]);var v=i.useCallback(function(t){try{var a=typeof t=="function"?t(g):t;if(typeof a>"u")return;var e=void 0;r?r.raw?typeof a=="string"?e=a:e=JSON.stringify(a):r.serializer?e=r.serializer(a):e=JSON.stringify(a):e=JSON.stringify(a),localStorage.setItem(f,e),c(n(e))}catch{}},[f,c]),_=i.useCallback(function(){try{localStorage.removeItem(f),c(void 0)}catch{}},[f,c]);return[g,v,_]},J=d.default=z;export{J as _};
@@ -1 +1 @@
1
- import{H as l,I as d,j as c,r as i}from"./index-f5164e7a.js";var a={},_=d;Object.defineProperty(a,"__esModule",{value:!0});var j=a.default=void 0,p=_(l()),x=c,D=(0,p.default)((0,x.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");j=a.default=D;var o={};Object.defineProperty(o,"__esModule",{value:!0});var s=i,S=function(e){e===void 0&&(e={});var r=s.useState(e),n=r[0],v=r[1],f=s.useCallback(function(t){v(function(u){return Object.assign({},u,t instanceof Function?t(u):t)})},[]);return[n,f]},m=o.default=S;export{a as D,m as _,j as d};
1
+ import{J as l,K as d,j as c,r as i}from"./index-pPYPIBlE.js";var a={},_=d;Object.defineProperty(a,"__esModule",{value:!0});var j=a.default=void 0,p=_(l()),x=c,D=(0,p.default)((0,x.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");j=a.default=D;var o={};Object.defineProperty(o,"__esModule",{value:!0});var s=i,S=function(e){e===void 0&&(e={});var r=s.useState(e),n=r[0],v=r[1],f=s.useCallback(function(t){v(function(u){return Object.assign({},u,t instanceof Function?t(u):t)})},[]);return[n,f]},m=o.default=S;export{a as D,m as _,j as d};
@@ -0,0 +1,22 @@
1
+ import{bx as Q,r as _,by as X,bz as R,al as C,j as e,d as L,aq as Y,S as Z,u as S,bA as J,aw as ee,e as H,h as te,T as u,G as f,bB as q,b2 as D,ax as U,bC as G,n as w,bw as ne,M as se,Z as oe,B as V,bg as ae,bD as F,bl as N,w as M,Q as re,y as ie,N as le}from"./index-pPYPIBlE.js";import{H as ce}from"./index-4gQJ4T4X.js";import{I as P}from"./index-wZvmUWED.js";import{T as me}from"./index-Gjml824M.js";import{W as de}from"./did-address-utn80azk.js";import{g as pe,U as ue,P as he}from"./did-utils-4YEK01Hu.js";import{i as xe}from"./index-8eSZR55e.js";import{u as ge,a as fe,C as v}from"./index.esm-ShjBgrpC.js";import{u as be}from"./confirm-McA4faDz.js";import{A as je}from"./Alert-TRn-W2uZ.js";import{S as c,F as T}from"./FormControlLabel-mJkBkk_g.js";import{C as I}from"./Checkbox-j_1e5eTr.js";import{S as ve}from"./Select-SiGR5MWy.js";import{T as ye}from"./TextField-5mqig0lI.js";import{M as we}from"./InputAdornment-Aryxdlq1.js";import{f as B}from"./format-error-j9iyo8Yt.js";import{A as Ce}from"./Avatar-rHHH0tYI.js";import"./fallback-qea1DwWv.js";import"./nav-menu-rYrXDg0l.js";import"./MoreHoriz-M3NU6QRD.js";import"./ExpandMore-JKQWi6LF.js";import"./wallet-hidden-topbar-PzOecHVw.js";import"./ListItem-EJFW5_aw.js";import"./selector-jHLMIir9.js";import"./useFormControl-048JKEU7.js";import"./FormControl-PQjEXXGg.js";import"./InputLabel-h-1ztqT6.js";var Se=function(n){var o=Q(_.useState(n),2),i=o[0],t=o[1],a=_.useCallback(function(s){t(function(m){var d=X(s)?s(m):s;return d?R(R({},m),d):m})},[]);return[i,a]};const ke=C(e.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"AddOutlined"),Ae=C(e.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5-1-1h-5l-1 1H5v2h14V4h-3.5z"}),"DeleteOutlineOutlined"),ze=C(e.jsx("path",{d:"M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83V6.31l6-2.12 6 2.12v4.78zm-9.18-.5L7.4 12l3.54 3.54 5.66-5.66-1.41-1.41-4.24 4.24-2.13-2.12z"}),"GppGoodOutlined"),Te=C(e.jsx("path",{d:"m4.01 6.03 7.51 3.22-7.52-1 .01-2.22m7.5 8.72L4 17.97v-2.22l7.51-1M2.01 3 2 10l15 2-15 2 .01 7L23 12 2.01 3z"}),"SendOutlined");function Ie({data:n,user:o,onChange:i}){const{t}=S(),{api:a}=L(),[s,m]=Se({editing:!1,dirty:!1}),{control:d,getValues:g,setValue:p,formState:x,handleSubmit:k}=ge({defaultValues:J({notifications:{email:!0,wallet:!0,phone:!1},webhooks:[]},n)}),{confirmApi:A,confirmHolder:y}=be(),O=ee(),E=new URLSearchParams(O.search),$=H(),b=fe({control:d,name:"webhooks"}),z=async r=>{try{await a.post("/api/user/extra",r),w.success(t("common.saveSuccess")),m({editing:!1}),await i()}catch(l){w.error(B(l))}};te(()=>{if(E.get("action")==="unsubscribe"){const r=E.get("channel");["email","wallet","phone"].includes(r)&&($(O.pathname,{replace:!0}),A.open({title:t("notification.email.disable"),content:t("notification.email.disableDescription"),async onConfirm(l){await z({notifications:{[r]:!1}}),l()}}))}});const K=async r=>{try{const l=g();await a.put("/api/user/extra",l.webhooks[r]),w.success(t("team.member.settings.tested"))}catch(l){w.error(B(l))}};return e.jsxs(c,{spacing:3,children:[e.jsxs(c,{sx:{width:"100%"},children:[e.jsxs(c,{direction:"row",justifyContent:"space-between",children:[e.jsx(u,{variant:"h6",gutterBottom:!0,children:t("team.member.settings.notification")}),e.jsx(f,{variant:"contained",size:"small",color:"primary",style:{height:"32px"},onClick:k(z),disabled:x.isSubmitting,children:t("common.save")})]}),e.jsx(v,{name:"notifications.wallet",control:d,render:({field:r})=>e.jsx(T,{control:e.jsx(I,{checked:g().notifications.wallet,...r,onChange:(l,h)=>p(r.name,h)}),disableTypography:!0,label:e.jsxs(u,{color:"text.primary",children:[t("team.member.settings.wallet"),e.jsx(u,{component:"span",color:"text.secondary",ml:1,children:pe(o)})]})})}),e.jsx(v,{name:"notifications.email",control:d,render:({field:r})=>e.jsx(T,{control:e.jsx(I,{checked:g().notifications.email,...r,onChange:(l,h)=>p(r.name,h)}),disableTypography:!0,label:e.jsxs(u,{color:"text.primary",children:[t("team.member.settings.email"),e.jsx(u,{component:"span",color:"text.secondary",ml:1,children:o.email||""})]})})}),e.jsx(v,{name:"notifications.phone",control:d,render:({field:r})=>e.jsx(T,{control:e.jsx(I,{checked:g().notifications.phone,...r,onChange:(l,h)=>p(r.name,h)}),disableTypography:!0,disabled:!0,label:e.jsxs(u,{color:"text.primary",children:[t("team.member.settings.phone"),e.jsx(u,{component:"span",color:"text.secondary",ml:1,children:o.phone||""})]})})})]}),e.jsxs(c,{children:[e.jsxs(c,{direction:"row",justifyContent:"space-between",children:[e.jsx(u,{variant:"h6",gutterBottom:!0,children:t("team.member.settings.webhook")}),e.jsxs(c,{direction:"row",children:[s.editing&&e.jsx(f,{variant:"text",size:"small",color:"primary",style:{height:"32px"},onClick:()=>m({editing:!1}),children:t("common.cancel")}),e.jsx(f,{variant:"contained",size:"small",color:"primary",style:{height:"32px"},onClick:s.editing?k(z):()=>m({editing:!0}),disabled:x.isSubmitting,children:s.editing?t("common.save"):t("common.edit")})]})]}),b.fields.map((r,l)=>{var W;const h=(W=q(x.errors,`webhooks.${l}.url`))==null?void 0:W.message;return s.editing?e.jsxs(c,{mt:2,spacing:2,sx:{width:"100%"},direction:"row",alignItems:"center",children:[e.jsxs(c,{direction:"row",spacing:2,sx:{width:"80%"},children:[e.jsx(v,{name:`webhooks.${l}.type`,control:d,rules:{required:t("common.required")},render:({field:j})=>e.jsxs(ve,{...j,sx:{flex:1},fullWidth:!0,size:"small",children:[e.jsx(D,{value:"api",children:t("team.member.settings.url")}),e.jsx(D,{value:"slack",children:t("team.member.settings.slack")})]})}),e.jsx(v,{name:`webhooks.${l}.url`,control:d,rules:{required:t("common.required"),validate:j=>xe(j)||t("common.invalid")},render:({field:j})=>e.jsx(ye,{sx:{flex:4},fullWidth:!0,size:"small",required:!0,...j,error:!!h,InputProps:{endAdornment:h?e.jsx(we,{position:"end",children:e.jsx(u,{component:"span",color:"error",children:h})}):null}})})]}),e.jsxs(c,{direction:"row",spacing:1,children:[e.jsx(U,{size:"small",onClick:()=>K(l),children:e.jsx(Te,{color:"primary",sx:{opacity:.75}})}),e.jsx(U,{size:"small",onClick:()=>b.remove(l),children:e.jsx(Ae,{color:"error",sx:{opacity:.75}})})]})]},r.id):e.jsx(P,{style:{alignItems:"flex-start"},valueComponent:"div",nameWidth:120,name:r.type,children:r.url},r.id)}),!s.editing&&!b.fields.length&&e.jsx(G,{children:t("common.empty")}),s.editing&&e.jsx(c,{mt:b.fields.length?2:1,direction:"row",justifyContent:"space-between",children:e.jsxs(f,{size:"small",variant:"outlined",color:"primary",onClick:()=>b.append({type:"slack",url:""}),children:[e.jsx(ke,{fontSize:"small"})," ",t("team.member.settings.add")]})})]}),y]})}function Pe({user:n}){const{api:o}=L(),{loading:i,error:t,runAsync:a,data:s}=Y(()=>o.get("/api/user/extra").then(m=>m.data));return t?e.jsx(je,{severity:"error",children:t.message}):i||!s?e.jsx(Z,{}):e.jsx(Ie,{data:s,user:n,onChange:a})}function Le({user:n}){const{t:o,locale:i}=S(),t={auth0:"Auth0",wallet:"DID wallet",federated:"Federated"};return[{name:o("team.member.name"),value:n.fullName},{name:o("common.email"),value:n.email},{name:o("common.phone"),value:n.phone},{name:o("team.member.lastLogin"),value:N(n.lastLoginAt,i)},{name:o("team.member.lastLoginIp"),value:n.lastLoginIp||""},{name:o("common.createdAt"),value:N(n.createdAt,i)},{name:o("team.member.source"),value:t[(n==null?void 0:n.sourceProvider)||M.USER_TYPE.WALLET]||(n==null?void 0:n.sourceProvider)}].filter(Boolean).map(s=>s.name===o("common.did")?e.jsx(P,{valueComponent:"div",nameWidth:120,name:s.name,nameFormatter:()=>o("common.did"),children:s.value},s.name):e.jsx(P,{style:{alignItems:"flex-start"},valueComponent:"div",nameWidth:120,name:s.name,children:s.value},s.name))}function Me({user:n}){const{t:o}=S(),i=(q(n,"passports")||[]).map(t=>({...t,revoked:t.status===M.PASSPORT_STATUS.REVOKED}));return i.length===0?e.jsx(G,{children:o("common.empty")}):e.jsx(c,{direction:"row",spacing:3,children:i.map(t=>e.jsx(he,{passport:t,user:n,width:200,color:window.blocklet.passportColor,createPassportSvg:re,sx:{flexDirection:"column",alignItems:"center"}},t.id))})}function it(){const n=H(),o=ne(),{t:i}=S(),{session:t}=L(),a=se({user:t.user,tab:o.tab||"profile"}),s=p=>{a.tab=p,n(`${M.WELLKNOWN_SERVICE_PATH_PREFIX}/user/${p}`)},m={info:{label:i("common.profile"),value:"profile",component:Le},oauth:{label:i("team.member.connections"),value:"connections",component:ue},passports:{label:i("team.member.passports"),value:"passports",component:Me},settings:{label:i("common.setting"),value:"settings",component:Pe}},d=Object.values(m).map(({label:p,value:x})=>({label:p,value:x})).filter(p=>{var x;return p.value==="connections"?(((x=a.user)==null?void 0:x.connectedAccounts)||[]).find(A=>{var y;return A.provider!==(((y=a.user)==null?void 0:y.sourceProvider)||oe.LOGIN_PROVIDER.WALLET)}):!0}),g=m[a.tab]||m.info;return e.jsxs(e.Fragment,{children:[e.jsx(ce,{}),e.jsxs(Oe,{sx:{mt:4},children:[e.jsxs(c,{direction:"row",alignItems:"center",justifyContent:"space-between",children:[e.jsxs(c,{direction:"row",spacing:1,alignItems:"center",children:[e.jsx(Ce,{src:a.user.avatar,variant:"rounded",style:{width:80,height:80,backgroundColor:"transparent",marginRight:8}}),e.jsxs(c,{direction:"column",spacing:.5,children:[e.jsx(u,{variant:"h4",fontWeight:"bold",children:a.user.fullName}),e.jsx(V,{children:e.jsx(ae,{label:a.user.role.toUpperCase(),size:"small",variant:"outlined",color:"success",sx:{height:"auto",fontWeight:"bold",fontSize:"12px"},icon:e.jsx(ze,{sx:{fontSize:"0.8em"}})})}),e.jsx(de,{did:a.user.did})]})]}),e.jsxs(c,{children:[a.tab==="profile"&&e.jsx(f,{variant:"contained",size:"small",color:"primary",onClick:()=>t.switchProfile(F,{}),children:i("team.member.switch.profile")}),a.tab==="passports"&&e.jsx(f,{variant:"contained",size:"small",color:"primary",onClick:()=>t.switchPassport(F,{}),children:i("team.member.switch.passport")})]})]}),e.jsx(V,{className:"tabs",sx:{my:3},children:e.jsx(me,{tabs:d,current:a.tab,onChange:s})}),e.jsx("div",{className:"body",children:e.jsx(g.component,{user:a.user})})]})]})}const Oe=ie(le)`
2
+ .MuiTab-root {
3
+ padding: 0;
4
+ margin-right: 24px;
5
+ min-height: 32px;
6
+ min-width: auto;
7
+ }
8
+
9
+ .MuiTabs-root {
10
+ min-height: 32px;
11
+ margin-bottom: 8px;
12
+ }
13
+
14
+ .MuiTabs-scroller {
15
+ border-bottom: 1px solid #eee;
16
+ }
17
+
18
+ .MuiCheckbox-root {
19
+ padding-top: 2px;
20
+ padding-bottom: 2px;
21
+ }
22
+ `;export{Me as UserPassports,Le as UserProfile,it as default};
@@ -1 +1 @@
1
- import{aW as l,e7 as s,e8 as h,X as P,w as u}from"./index-f5164e7a.js";const d=s;var c=(e,r)=>d(e)===d(r);const E=l(c),x=(e,r)=>{if(e.type===u.ROUTING_RULE_TYPES.REDIRECT){if(!e.url)return new Error(`${r("router.validation.redirectUrlRequired")}`);if(!e.redirectCode)return new Error(`redirect ${r("router.validation.redirectCodeRequired")}`)}else if(e.type===u.ROUTING_RULE_TYPES.BLOCKLET&&!e.did)return new Error(r("router.validation.didRequired"));return null},R=(e,r)=>{const t=x(e,r);return t||(e.pathPrefix.length?e.pathPrefix.length>150?new Error(r("router.validation.pathPrefixTooLong",{length:150})):null:new Error(r("router.validation.pathPrefixCannotBeEmpty")))},v=({params:e,blocklets:r,blocklet:t,locale:o="en"})=>{if(t){let i=(t.children||[]).find(f=>h(f.meta)&&E(f.mountPoint,e.pathPrefix));if(t.meta.group!=="gateway"&&e.pathPrefix==="/"&&(i="/"),i)return{zh:`挂载点 ${e.pathPrefix} 已存在,请使用其他挂载点`,en:`The mount point ${e.pathPrefix} already exist, please use another mount point`}[o]}const a=r.find(i=>i.meta.did===e.did);if(!a)return"";const n=a.meta.interfaces.find(i=>i.type==="web");return n&&n.prefix!==P.BLOCKLET_DYNAMIC_PATH_PREFIX&&e.pathPrefix!==n.prefix?{zh:`该 blocklet 只能挂载在 ${n.prefix}`,en:`This blocklet can only be mounted on ${n.prefix}`}[o]:""},T=e=>{if(!e||typeof e!="string")return e;let r=e.trim();try{return r=r.toLowerCase(),r.startsWith("http://")||r.startsWith("https://")?new URL(r).hostname:r}catch(t){return console.error("format domain failed",t),r}};export{R as a,T as p,v};
1
+ import{aT as l,ek as s,el as h,Z as P,w as u}from"./index-pPYPIBlE.js";const d=s;var c=(e,r)=>d(e)===d(r);const E=l(c),x=(e,r)=>{if(e.type===u.ROUTING_RULE_TYPES.REDIRECT){if(!e.url)return new Error(`${r("router.validation.redirectUrlRequired")}`);if(!e.redirectCode)return new Error(`redirect ${r("router.validation.redirectCodeRequired")}`)}else if(e.type===u.ROUTING_RULE_TYPES.BLOCKLET&&!e.did)return new Error(r("router.validation.didRequired"));return null},R=(e,r)=>{const t=x(e,r);return t||(e.pathPrefix.length?e.pathPrefix.length>150?new Error(r("router.validation.pathPrefixTooLong",{length:150})):null:new Error(r("router.validation.pathPrefixCannotBeEmpty")))},T=({params:e,blocklets:r,blocklet:t,locale:o="en"})=>{if(t){let i=(t.children||[]).find(f=>h(f.meta)&&E(f.mountPoint,e.pathPrefix));if(t.meta.group!=="gateway"&&e.pathPrefix==="/"&&(i="/"),i)return{zh:`挂载点 ${e.pathPrefix} 已存在,请使用其他挂载点`,en:`The mount point ${e.pathPrefix} already exist, please use another mount point`}[o]}const a=r.find(i=>i.meta.did===e.did);if(!a)return"";const n=a.meta.interfaces.find(i=>i.type==="web");return n&&n.prefix!==P.BLOCKLET_DYNAMIC_PATH_PREFIX&&e.pathPrefix!==n.prefix?{zh:`该 blocklet 只能挂载在 ${n.prefix}`,en:`This blocklet can only be mounted on ${n.prefix}`}[o]:""},v=e=>{if(!e||typeof e!="string")return e;let r=e.trim();try{return r=r.toLowerCase(),r.startsWith("http://")||r.startsWith("https://")?new URL(r).hostname:r}catch(t){return console.error("format domain failed",t),r}};export{R as a,v as p,T as v};
@@ -0,0 +1,17 @@
1
+ var ut=Object.defineProperty;var ft=(e,t,n)=>t in e?ut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var B=(e,t,n)=>(ft(e,typeof t!="symbol"?t+"":t,n),n);import{aB as dt,bE as pt,bF as ht,aF as D,bG as H,r as T,aD as gt,aE as bt,aJ as xe,bH as mt,bI as yt,j as m,aH as we,aI as xt,P as f,M as wt,f as vt,ax as It,bJ as ve,bp as Ct,bq as St,bK as Tt,a7 as At,I as S,bn as Pt,B as jt,bL as kt,T as Lt,bM as Mt,G as Ot,bN as Rt,be as _t,u as Et,ay as qt,_ as Nt,O as Ft}from"./index-pPYPIBlE.js";import{l as L,g as $t,L as Bt}from"./ListItem-EJFW5_aw.js";import{L as Ht}from"./selector-jHLMIir9.js";const zt=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Vt=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},Zt=e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:s,divider:i,selected:a}=e,l=xt({root:["root",r&&"dense",!s&&"gutters",i&&"divider",o&&"disabled",t==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},$t,n);return D({},n,l)},Dt=dt(pt,{shouldForwardProp:e=>ht(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:Vt})(({theme:e,ownerState:t})=>D({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${L.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:H(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${L.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:H(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${L.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:H(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:H(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${L.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${L.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),Ut=T.forwardRef(function(t,n){const r=gt({props:t,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:s=!1,component:i="div",children:a,dense:c=!1,disableGutters:l=!1,divider:u=!1,focusVisibleClassName:d,selected:p=!1,className:x}=r,g=bt(r,zt),y=T.useContext(xe),v=T.useMemo(()=>({dense:c||y.dense||!1,alignItems:o,disableGutters:l}),[o,y.dense,c,l]),C=T.useRef(null);mt(()=>{s&&C.current&&C.current.focus()},[s]);const w=D({},r,{alignItems:o,dense:v.dense,disableGutters:l,divider:u,selected:p}),b=Zt(w),Y=yt(C,n);return m.jsx(xe.Provider,{value:v,children:m.jsx(Dt,D({ref:Y,href:g.href||g.to,component:(g.href||g.to)&&i==="div"?"button":i,focusVisibleClassName:we(b.focusVisible,d),ownerState:w,className:we(b.root,x)},g,{classes:b,children:a}))})}),Qt=Ut;/**
2
+ * (c) Iconify
3
+ *
4
+ * For the full copyright and license information, please view the license.txt
5
+ * files at https://github.com/iconify/iconify
6
+ *
7
+ * Licensed under MIT.
8
+ *
9
+ * @license MIT
10
+ * @version 1.0.8
11
+ */const He=Object.freeze({left:0,top:0,width:16,height:16}),U=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),N=Object.freeze({...He,...U}),re=Object.freeze({...N,body:"",hidden:!1}),Gt=Object.freeze({width:null,height:null}),ze=Object.freeze({...Gt,...U});function Wt(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const Jt=/[\s,]+/;function Xt(e,t){t.split(Jt).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}const Ve={...ze,preserveAspectRatio:""};function Ie(e){const t={...Ve},n=(r,o)=>e.getAttribute(r)||o;return t.width=n("width",null),t.height=n("height",null),t.rotate=Wt(n("rotate","")),Xt(t,n("flip","")),t.preserveAspectRatio=n("preserveAspectRatio",n("preserveaspectratio","")),t}function Yt(e,t){for(const n in Ve)if(e[n]!==t[n])return!0;return!1}const O=/^[a-z0-9]+(-[a-z0-9]+)*$/,F=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:r,prefix:c,name:a};return t&&!V(l)?null:l}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!V(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!V(a,n)?null:a}return null},V=(e,t)=>e?!!((e.provider===""||e.provider.match(O))&&(t&&e.prefix===""||e.prefix.match(O))&&e.name.match(O)):!1;function Kt(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Ce(e,t){const n=Kt(e,t);for(const r in re)r in U?r in e&&!(r in n)&&(n[r]=U[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function en(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,c=a&&s(a);c&&(o[i]=[a].concat(c))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function tn(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Ce(r[a]||o[a],s)}return i(t),n.forEach(i),Ce(e,s)}function Ze(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=en(e);for(const o in r){const s=r[o];s&&(t(o,tn(e,o,s)),n.push(o))}return n}const nn={provider:"",aliases:{},not_found:{},...He};function ee(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function De(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!ee(e,nn))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(O)||typeof s.body!="string"||!ee(s,re))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(O)||typeof i!="string"||!n[i]&&!r[i]||!ee(s,re))return null}return t}const Q=Object.create(null);function on(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function A(e,t){const n=Q[e]||(Q[e]=Object.create(null));return n[t]||(n[t]=on(e,t))}function de(e,t){return De(t)?Ze(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function rn(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}function sn(e,t){let n=[];return(typeof e=="string"?[e]:Object.keys(Q)).forEach(o=>{(typeof o=="string"&&typeof t=="string"?[t]:Object.keys(Q[o]||{})).forEach(i=>{const a=A(o,i);n=n.concat(Object.keys(a.icons).map(c=>(o!==""?"@"+o+":":"")+i+":"+c))})}),n}let _=!1;function Ue(e){return typeof e=="boolean"&&(_=e),_}function E(e){const t=typeof e=="string"?F(e,!0,_):e;if(t){const n=A(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Qe(e,t){const n=F(e,!0,_);if(!n)return!1;const r=A(n.provider,n.prefix);return rn(r,n.name,t)}function Se(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),_&&!t&&!e.prefix){let o=!1;return De(e)&&(e.prefix="",Ze(e,(s,i)=>{i&&Qe(s,i)&&(o=!0)})),o}const n=e.prefix;if(!V({provider:t,prefix:n,name:"a"}))return!1;const r=A(t,n);return!!de(r,e)}function cn(e){return!!E(e)}function an(e){const t=E(e);return t?{...N,...t}:null}function ln(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,c=n[s]||(n[s]=Object.create(null)),l=c[i]||(c[i]=A(s,i));let u;a in l.icons?u=t.loaded:i===""||l.missing.has(a)?u=t.missing:u=t.pending;const d={provider:s,prefix:i,name:a};u.push(d)}),t}function Ge(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function un(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(e.icons[l])i.loaded.push({provider:r,prefix:o,name:l});else if(e.missing.has(l))i.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||Ge([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let fn=0;function dn(e,t,n){const r=fn++,o=Ge.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}const se=Object.create(null);function Te(e,t){se[e]=t}function ie(e){return se[e]||se[""]}function pn(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?F(o,t,n):o;s&&r.push(s)}),r}var hn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function gn(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let h=e.resources.slice(0);for(i=[];h.length>1;){const I=Math.floor(Math.random()*h.length);i.push(h[I]),h=h.slice(0,I).concat(h.slice(I+1))}i=i.concat(h)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let c="pending",l=0,u,d=null,p=[],x=[];typeof r=="function"&&x.push(r);function g(){d&&(clearTimeout(d),d=null)}function y(){c==="pending"&&(c="aborted"),g(),p.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),p=[]}function v(h,I){I&&(x=[]),typeof h=="function"&&x.push(h)}function C(){return{startTime:a,payload:t,status:c,queriesSent:l,queriesPending:p.length,subscribe:v,abort:y}}function w(){c="failed",x.forEach(h=>{h(void 0,u)})}function b(){p.forEach(h=>{h.status==="pending"&&(h.status="aborted")}),p=[]}function Y(h,I,k){const $=I!=="success";switch(p=p.filter(P=>P!==h),c){case"pending":break;case"failed":if($||!e.dataAfterTimeout)return;break;default:return}if(I==="abort"){u=k,w();return}if($){u=k,p.length||(i.length?K():w());return}if(g(),b(),!e.random){const P=e.resources.indexOf(h.resource);P!==-1&&P!==e.index&&(e.index=P)}c="completed",x.forEach(P=>{P(k)})}function K(){if(c!=="pending")return;g();const h=i.shift();if(h===void 0){if(p.length){d=setTimeout(()=>{g(),c==="pending"&&(b(),w())},e.timeout);return}w();return}const I={status:"pending",resource:h,callback:(k,$)=>{Y(I,k,$)}};p.push(I),l++,d=setTimeout(K,e.rotate),n(h,t,I.callback)}return setTimeout(K),C}function We(e){const t={...hn,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,l){const u=gn(t,a,c,(d,p)=>{r(),l&&l(d,p)});return n.push(u),u}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function pe(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const W=Object.create(null),M=["https://api.simplesvg.com","https://api.unisvg.com"],Z=[];for(;M.length>0;)M.length===1||Math.random()>.5?Z.push(M.shift()):Z.push(M.pop());W[""]=pe({resources:["https://api.iconify.design"].concat(Z)});function Ae(e,t){const n=pe(t);return n===null?!1:(W[e]=n,!0)}function J(e){return W[e]}function bn(){return Object.keys(W)}function Pe(){}const te=Object.create(null);function mn(e){if(!te[e]){const t=J(e);if(!t)return;const n=We(t),r={config:t,redundancy:n};te[e]=r}return te[e]}function Je(e,t,n){let r,o;if(typeof e=="string"){const s=ie(e);if(!s)return n(void 0,424),Pe;o=s.send;const i=mn(e);i&&(r=i.redundancy)}else{const s=pe(e);if(s){r=We(s);const i=e.resources?e.resources[0]:"",a=ie(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),Pe):r.query(t,o,n)().abort}const je="iconify2",q="iconify",Xe=q+"-count",ke=q+"-version",Ye=36e5,yn=168;function ce(e,t){try{return e.getItem(t)}catch{}}function he(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Le(e,t){try{e.removeItem(t)}catch{}}function ae(e,t){return he(e,Xe,t.toString())}function le(e){return parseInt(ce(e,Xe))||0}const j={local:!0,session:!0},Ke={local:new Set,session:new Set};let ge=!1;function xn(e){ge=e}let z=typeof window>"u"?{}:window;function et(e){const t=e+"Storage";try{if(z&&z[t]&&typeof z[t].length=="number")return z[t]}catch{}j[e]=!1}function tt(e,t){const n=et(e);if(!n)return;const r=ce(n,ke);if(r!==je){if(r){const a=le(n);for(let c=0;c<a;c++)Le(n,q+c.toString())}he(n,ke,je),ae(n,0);return}const o=Math.floor(Date.now()/Ye)-yn,s=a=>{const c=q+a.toString(),l=ce(n,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}Le(n,c)}};let i=le(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,ae(n,i)):Ke[e].add(a))}function nt(){if(!ge){xn(!0);for(const e in j)tt(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=A(r,o);if(!de(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function wn(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in j)tt(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function vn(e,t){ge||nt();function n(r){let o;if(!j[r]||!(o=et(r)))return;const s=Ke[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=le(o),!ae(o,i+1))return;const a={cached:Math.floor(Date.now()/Ye),provider:e.provider,data:t};return he(o,q+i.toString(),JSON.stringify(a))}t.lastModified&&!wn(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Me(){}function In(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,un(e)}))}function Cn(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=ie(n)))return;s.prepare(n,r,o).forEach(a=>{Je(n,a,c=>{if(typeof c!="object")a.icons.forEach(l=>{e.missing.add(l)});else try{const l=de(e,c);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(d=>{u.delete(d)}),vn(e,c)}catch(l){console.error(l)}In(e)})})}))}const be=(e,t)=>{const n=pn(e,!0,Ue()),r=ln(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,Me)}),()=>{c=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===a&&l===i)return;i=l,a=u,s.push(A(l,u));const d=o[l]||(o[l]=Object.create(null));d[u]||(d[u]=[])}),r.pending.forEach(c=>{const{provider:l,prefix:u,name:d}=c,p=A(l,u),x=p.pendingIcons||(p.pendingIcons=new Set);x.has(d)||(x.add(d),o[l][u].push(d))}),s.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&Cn(c,o[l][u])}),t?dn(t,r,s):Me},Sn=e=>new Promise((t,n)=>{const r=typeof e=="string"?F(e,!0):e;if(!r){n(e);return}be([r||e],o=>{if(o.length&&r){const s=E(r);if(s){t({...N,...s});return}}n(e)})});function Tn(e){try{const t=typeof e=="string"?JSON.parse(e):e;if(typeof t.body=="string")return{...t}}catch{}}function An(e,t){const n=typeof e=="string"?F(e,!0,!0):null;if(!n){const s=Tn(e);return{value:e,data:s}}const r=E(n);if(r!==void 0||!n.prefix)return{value:e,name:n,data:r};const o=be([n],()=>t(e,n,E(n)));return{value:e,name:n,loading:o}}function ne(e){return e.hasAttribute("inline")}let ot=!1;try{ot=navigator.vendor.indexOf("Apple")===0}catch{}function Pn(e,t){switch(t){case"svg":case"bg":case"mask":return t}return t!=="style"&&(ot||e.indexOf("<a")===-1)?"svg":e.indexOf("currentColor")===-1?"bg":"mask"}const jn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,kn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ue(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(jn);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=kn.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const Ln=e=>e==="unset"||e==="undefined"||e==="none";function rt(e,t){const n={...N,...e},r={...ze,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(g=>{const y=[],v=g.hFlip,C=g.vFlip;let w=g.rotate;v?C?w+=2:(y.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),y.push("scale(-1 1)"),o.top=o.left=0):C&&(y.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),y.push("scale(1 -1)"),o.top=o.left=0);let b;switch(w<0&&(w-=Math.floor(w/4)*4),w=w%4,w){case 1:b=o.height/2+o.top,y.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:y.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,y.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}w%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),y.length&&(s='<g transform="'+y.join(" ")+'">'+s+"</g>")});const i=r.width,a=r.height,c=o.width,l=o.height;let u,d;i===null?(d=a===null?"1em":a==="auto"?l:a,u=ue(d,c/l)):(u=i==="auto"?c:i,d=a===null?ue(u,l/c):a==="auto"?l:a);const p={},x=(g,y)=>{Ln(y)||(p[g]=y.toString())};return x("width",u),x("height",d),p.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:p,body:s}}const Mn=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let G=Mn();function On(e){G=e}function Rn(){return G}function _n(e,t){const n=J(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function En(e){return e===404}const qn=(e,t,n)=>{const r=[],o=_n(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=c.length),i.icons.push(c)}),r.push(i),r};function Nn(e){if(typeof e=="string"){const t=J(e);if(t)return t.path}return"/"}const Fn=(e,t,n)=>{if(!G){n("abort",424);return}let r=Nn(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;G(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(En(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},$n={prepare:qn,send:Fn};function Oe(e,t){switch(e){case"local":case"session":j[e]=t;break;case"all":for(const n in j)j[n]=t;break}}const oe="data-style";let st="";function Bn(e){st=e}function Re(e,t){let n=Array.from(e.childNodes).find(r=>r.hasAttribute&&r.hasAttribute(oe));n||(n=document.createElement("style"),n.setAttribute(oe,oe),e.appendChild(n)),n.textContent=":host{display:inline-block;vertical-align:"+(t?"-0.125em":"0")+"}span,svg{display:block}"+st}function it(){Te("",$n),Ue(!0);let e;try{e=window}catch{}if(e){if(nt(),e.IconifyPreload!==void 0){const n=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!Se(o))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const n=e.IconifyProviders;if(typeof n=="object"&&n!==null)for(const r in n){const o="IconifyProviders["+r+"] is invalid.";try{const s=n[r];if(typeof s!="object"||!s||s.resources===void 0)continue;Ae(r,s)||console.error(o)}catch{console.error(o)}}}}return{enableCache:n=>Oe(n,!0),disableCache:n=>Oe(n,!1),iconExists:cn,getIcon:an,listIcons:sn,addIcon:Qe,addCollection:Se,calculateSize:ue,buildIcon:rt,loadIcons:be,loadIcon:Sn,addAPIProvider:Ae,appendCustomStyle:Bn,_api:{getAPIConfig:J,setAPIModule:Te,sendAPIQuery:Je,setFetch:On,getFetch:Rn,listAPIProviders:bn}}}function ct(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Hn(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function zn(e){return"data:image/svg+xml,"+Hn(e)}function Vn(e){return'url("'+zn(e)+'")'}const fe={"background-color":"currentColor"},at={"background-color":"transparent"},_e={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},Ee={"-webkit-mask":fe,mask:fe,background:at};for(const e in Ee){const t=Ee[e];for(const n in _e)t[e+"-"+n]=_e[n]}function qe(e){return e?e+(e.match(/^[-0-9.]+$/)?"px":""):"inherit"}function Zn(e,t,n){const r=document.createElement("span");let o=e.body;o.indexOf("<a")!==-1&&(o+="<!-- "+Date.now()+" -->");const s=e.attributes,i=ct(o,{...s,width:t.width+"",height:t.height+""}),a=Vn(i),c=r.style,l={"--svg":a,width:qe(s.width),height:qe(s.height),...n?fe:at};for(const u in l)c.setProperty(u,l[u]);return r}let R;function Dn(){try{R=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{R=null}}function Un(e){return R===void 0&&Dn(),R?R.createHTML(e):e}function Qn(e){const t=document.createElement("span"),n=e.attributes;let r="";n.width||(r="width: inherit;"),n.height||(r+="height: inherit;"),r&&(n.style=r);const o=ct(e.body,n);return t.innerHTML=Un(o),t.firstChild}function Ne(e,t){const n=t.icon.data,r=t.customisations,o=rt(n,r);r.preserveAspectRatio&&(o.attributes.preserveAspectRatio=r.preserveAspectRatio);const s=t.renderedMode;let i;switch(s){case"svg":i=Qn(o);break;default:i=Zn(o,{...N,...n},s==="mask")}const a=Array.from(e.childNodes).find(c=>{const l=c.tagName&&c.tagName.toUpperCase();return l==="SPAN"||l==="SVG"});a?i.tagName==="SPAN"&&a.tagName===i.tagName?a.setAttribute("style",i.getAttribute("style")):e.replaceChild(i,a):e.appendChild(i)}function Fe(e,t,n){const r=n&&(n.rendered?n:n.lastRender);return{rendered:!1,inline:t,icon:e,lastRender:r}}function Gn(e="iconify-icon"){let t,n;try{t=window.customElements,n=window.HTMLElement}catch{return}if(!t||!n)return;const r=t.get(e);if(r)return r;const o=["icon","mode","inline","width","height","rotate","flip"],s=class extends n{constructor(){super();B(this,"_shadowRoot");B(this,"_state");B(this,"_checkQueued",!1);const c=this._shadowRoot=this.attachShadow({mode:"open"}),l=ne(this);Re(c,l),this._state=Fe({value:""},l),this._queueCheck()}static get observedAttributes(){return o.slice(0)}attributeChangedCallback(c){if(c==="inline"){const l=ne(this),u=this._state;l!==u.inline&&(u.inline=l,Re(this._shadowRoot,l))}else this._queueCheck()}get icon(){const c=this.getAttribute("icon");if(c&&c.slice(0,1)==="{")try{return JSON.parse(c)}catch{}return c}set icon(c){typeof c=="object"&&(c=JSON.stringify(c)),this.setAttribute("icon",c)}get inline(){return ne(this)}set inline(c){c?this.setAttribute("inline","true"):this.removeAttribute("inline")}restartAnimation(){const c=this._state;if(c.rendered){const l=this._shadowRoot;if(c.renderedMode==="svg")try{l.lastChild.setCurrentTime(0);return}catch{}Ne(l,c)}}get status(){const c=this._state;return c.rendered?"rendered":c.icon.data===null?"failed":"loading"}_queueCheck(){this._checkQueued||(this._checkQueued=!0,setTimeout(()=>{this._check()}))}_check(){if(!this._checkQueued)return;this._checkQueued=!1;const c=this._state,l=this.getAttribute("icon");if(l!==c.icon.value){this._iconChanged(l);return}if(!c.rendered)return;const u=this.getAttribute("mode"),d=Ie(this);(c.attrMode!==u||Yt(c.customisations,d))&&this._renderIcon(c.icon,d,u)}_iconChanged(c){const l=An(c,(u,d,p)=>{const x=this._state;if(x.rendered||this.getAttribute("icon")!==u)return;const g={value:u,name:d,data:p};g.data?this._gotIconData(g):x.icon=g});l.data?this._gotIconData(l):this._state=Fe(l,this._state.inline,this._state)}_gotIconData(c){this._checkQueued=!1,this._renderIcon(c,Ie(this),this.getAttribute("mode"))}_renderIcon(c,l,u){const d=Pn(c.data.body,u),p=this._state.inline;Ne(this._shadowRoot,this._state={rendered:!0,icon:c,inline:p,customisations:l,attrMode:u,renderedMode:d})}};o.forEach(a=>{a in s.prototype||Object.defineProperty(s.prototype,a,{get:function(){return this.getAttribute(a)},set:function(c){c!==null?this.setAttribute(a,c):this.removeAttribute(a)}})});const i=it();for(const a in i)s[a]=s.prototype[a]=i[a];return t.define(e,s),s}Gn()||it();const uo=f.shape({appLogo:f.node,appName:f.string,theme:f.shape({background:f.string}),enableConnect:f.bool,enableLocale:f.bool,navigation:f.arrayOf(f.shape({title:f.oneOfType([f.string,f.object]),link:f.oneOfType([f.string,f.object]),icon:f.string,items:f.arrayOf(f.shape({title:f.oneOfType([f.string,f.object]),link:f.oneOfType([f.string,f.object])}))}))}),Wn=f.shape({showText:f.bool,showRole:f.bool,switchDid:f.bool,switchProfile:f.bool,switchPassport:f.bool,disableLogout:f.bool,onLogin:f.func,onLogout:f.func,onSwitchDid:f.func,onSwitchProfile:f.func,onSwitchPassport:f.func,menu:f.array,menuRender:f.func,dark:f.bool,size:f.number}),X=(e,t,n="children")=>e.map(r=>Array.isArray(r[n])?t({...r,[n]:X(r[n],t,n)}):t(r)),fo=(e,t="children")=>{const n=[];return X(e,r=>n.push(r),t),n},me=(e,t,n="children")=>e.map(r=>({...r})).filter(r=>{const o=r[n];if(Array.isArray(o)){const i=me(o,t,n);r[n]=i!=null&&i.length?i:void 0}const s={filteredChildren:r[n],isLeaf:!(o!=null&&o.length)};return t(r,s)}),Jn=e=>/^https?:\/\//.test(e),po=e=>/^[\w-]+:[\w-]+$/.test(e),Xn=e=>{if(!e||!(e!=null&&e.startsWith("/")))return!1;const t=o=>o.endsWith("/")?o:`${o}/`,n=t(window.location.pathname),r=t(new URL(e,window.location.origin).pathname);return n.startsWith(r)},ho=(e=[])=>{const t=e.map((r,o)=>({path:r,index:o})).filter(r=>Xn(r.path));return t!=null&&t.length?t.slice(1).reduce((r,o)=>r.path.length>=o.path.length?r:o,t[0]).index:-1};var $e,Be;const go=(($e=window==null?void 0:window.blocklet)==null?void 0:$e.groupPrefix)||((Be=window==null?void 0:window.blocklet)==null?void 0:Be.prefix)||"/",Yn=e=>{const t={...e},n=e==null?void 0:e.background;return typeof n=="string"?t.background={header:n,footer:n,default:n}:n&&typeof n=="object"&&(t.background={header:n.header||n.default,footer:n.footer||n.default,default:n.default}),t},Kn=(e,t="en")=>{if(!(e!=null&&e.length))return e;const n=(o,s)=>typeof o=="string"?o:typeof o=="object"?o[s]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o,r=(o,s)=>{if(typeof o=="string"){if(Jn(o)){const a=new URL(o);return a.searchParams.set("locale",s),a.href}const i=new URL(o,window.location.origin);return i.searchParams.set("locale",s),i.pathname+i.search}return typeof o=="object"?o[s]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o};return X(e,o=>{var s;return{...o,title:n(o.title,t),link:(s=o.items)!=null&&s.length?o.link:r(o.link,t)}},"items")},eo=e=>X(e,t=>t.role?{...t,role:Array.isArray(t.role)?t.role:[t.role]}:t,"items"),to=e=>{if(!(e!=null&&e.length))return null;const t=eo(e),n={header:[],footer:[],social:[],bottom:[],dashboard:[],sessionManager:[]};return t.forEach(r=>{var o;r.section?Array.isArray(r.section)?r.section.forEach(s=>{var i;(i=n[s])==null||i.push(r)}):typeof r.section=="string"&&((o=n[r.section])==null||o.push(r)):n.header.push(r)}),n},bo=e=>{if(!e)return null;const t={...e};return t.theme=Yn(t.theme),t.navigation=to(no(t.navigation)),t},no=(e=[])=>me(e,(t,n)=>{var r;return!!t.link||((r=n.filteredChildren)==null?void 0:r.length)},"items"),oo=(e,t)=>me(e,(n,r)=>{var s;const o=!n.role||t&&n.role.includes(t);return r.isLeaf?o:o&&((s=r.filteredChildren)==null?void 0:s.length)},"items"),ro={width:24,height:24,body:'<path fill="currentColor" d="M13 8V4q0-.425.288-.713T14 3h6q.425 0 .713.288T21 4v4q0 .425-.288.713T20 9h-6q-.425 0-.713-.288T13 8ZM3 12V4q0-.425.288-.713T4 3h6q.425 0 .713.288T11 4v8q0 .425-.288.713T10 13H4q-.425 0-.713-.288T3 12Zm10 8v-8q0-.425.288-.713T14 11h6q.425 0 .713.288T21 12v8q0 .425-.288.713T20 21h-6q-.425 0-.713-.288T13 20ZM3 20v-4q0-.425.288-.713T4 15h6q.425 0 .713.288T11 16v4q0 .425-.288.713T10 21H4q-.425 0-.713-.288T3 20Zm2-9h4V5H5v6Zm10 8h4v-6h-4v6Zm0-12h4V5h-4v2ZM5 19h4v-2H5v2Zm4-8Zm6-4Zm0 6Zm-6 4Z"/>'},so={width:24,height:24,body:'<path fill="currentColor" d="M15.95 12.3L11.7 8.05q-.15-.15-.212-.325t-.063-.375q0-.2.063-.375t.212-.325l4.25-4.25q.15-.15.325-.212t.375-.063q.2 0 .375.063t.325.212l4.25 4.25q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.25 4.25q-.15.15-.325.213t-.375.062q-.2 0-.375-.062t-.325-.213ZM3 10V4q0-.425.288-.713T4 3h6q.425 0 .713.288T11 4v6q0 .425-.288.713T10 11H4q-.425 0-.713-.288T3 10Zm10 10v-6q0-.425.288-.713T14 13h6q.425 0 .713.288T21 14v6q0 .425-.288.713T20 21h-6q-.425 0-.713-.288T13 20ZM3 20v-6q0-.425.288-.713T4 13h6q.425 0 .713.288T11 14v6q0 .425-.288.713T10 21H4q-.425 0-.713-.288T3 20ZM5 9h4V5H5v4Zm11.675 1.2L19.5 7.375L16.675 4.55L13.85 7.375l2.825 2.825ZM15 19h4v-4h-4v4ZM5 19h4v-4H5v4ZM9 9Zm4.85-1.625ZM9 15Zm6 0Z"/>'};function ye({session:e,locale:t,size:n}){const r=(window==null?void 0:window.blocklet)||{},o=(r.navigation||[]).filter(c=>c.section==="sessionManager"&&!["/sessionManager"].includes(c.id)).filter(c=>{var l;return!!((c==null?void 0:c.role)||[]).includes(((l=e==null?void 0:e.user)==null?void 0:l.role)||"guest")}).map(c=>{const l=((r==null?void 0:r.componentMountPoints)||[]).find(u=>c.component===u.name);return{...c,component:l}}),s=T.useRef(null),i=wt({open:!1}),a=vt((c=!i.open)=>{i.open=c});return o.length===0?null:m.jsxs(m.Fragment,{children:[m.jsx(It,{size:"medium",ref:s,onClick:()=>a(),children:m.jsx(ve,{icon:ro,fontSize:n})}),m.jsx(Ct,{open:i.open,onClose:()=>a(!1),anchorEl:s.current,transition:!0,placement:"bottom-end",sx:{zIndex:1600},children:({TransitionProps:c})=>m.jsx(St,{onClickAway:l=>{l.preventDefault(),l.stopPropagation(),a(!1)},children:m.jsx(Tt,{...c,timeout:350,children:m.jsxs(At,{variant:"outlined",sx:{borderRadius:3,width:350,maxWidth:"90vw",borderColor:S.lineStep,p:2,border:"0 !important",boxShadow:`0px 8px 16px 0px ${S.gray6}, 0px 0px 0px 1px ${S.gray6}`},children:[m.jsx(Pt,{sx:{display:"grid",gridTemplateColumns:"repeat(auto-fill, 100px)",gridAutoRows:"minmax(100px, max-content)",justifyContent:"space-between",maxHeight:350,overflowY:"auto",p:0},children:o.map(l=>{var u,d;return m.jsx(Bt,{disablePadding:!0,children:m.jsxs(Qt,{href:l.link,sx:{p:1,display:"flex",flexDirection:"column",alignItems:"center",gap:1,width:"100%",height:"100%",borderRadius:2,"&:hover":{backgroundColor:S.surfacePrimarySubtitle}},children:[(u=l==null?void 0:l.component)!=null&&u.did?m.jsx(jt,{component:"img",src:`${kt}/blocklet/logo-bundle/${l.component.did}`,sx:{borderRadius:2,width:50,height:50,objectFit:"contain"}}):m.jsx(ve,{fontSize:50,icon:l.icon||so,color:S.textSubtitle}),m.jsx(Lt,{sx:{fontSize:"12px",color:S.textBase,textAlign:"center",lineHeight:"normal"},children:((d=l.title)==null?void 0:d.zh)||l.title})]})},l.id)})}),m.jsx(Mt,{session:e,children:m.jsx(Ot,{variant:"outlined",fullWidth:!0,href:Rt,sx:{mt:1,borderRadius:2,color:S.textBase,borderColor:S.lineBorderStrong,"&:hover":{color:S.primaryBase,borderColor:S.primaryBase}},children:t==="zh"?"管理":"Manage"})})]})})})})]})}ye.propTypes={session:f.object.isRequired,locale:f.string,size:f.number};ye.defaultProps={locale:"en",size:24};function lt({formattedBlocklet:e,addons:t,sessionManagerProps:n}){var p,x,g,y;const r=T.useContext(_t),{locale:o}=Et()||{},{enableConnect:s=!0,enableLocale:i=!0}=e,a=!!((p=r==null?void 0:r.session)!=null&&p.user);let c=Kn((x=e==null?void 0:e.navigation)==null?void 0:x.sessionManager,o)||[];c=oo(c,(y=(g=r==null?void 0:r.session)==null?void 0:g.user)==null?void 0:y.role);const u=(()=>{if(t&&typeof t!="function")return Array.isArray(t)?t:[t];let v=[];if(i&&o&&v.push(m.jsx(Ht,{showText:!1},"locale-selector")),s&&r){const C=[];a&&(c?c.slice(0,5):[]).forEach(b=>{C.push({label:b.title,icon:b.icon?m.jsx("iconify-icon",{icon:b.icon,height:24,style:{marginRight:8}}):null,component:"a",href:b.link,key:b.link})}),v.push(m.jsx(ye,{session:r.session,locale:o},"session-blocklet")),v.push(m.jsx(qt,{session:r.session,locale:o,menu:C,showRole:!0,...n},"session-user"))}return typeof t=="function"&&(v=t(v)||[]),v})();return T.createElement(m.Fragment,null,...Array.isArray(u)?u:[u])}lt.propTypes={formattedBlocklet:f.object.isRequired,addons:f.oneOfType([f.func,f.node]),sessionManagerProps:Wn};lt.defaultProps={addons:null,sessionManagerProps:{showRole:!0}};const mo=()=>{const e=Nt();T.useEffect(()=>{e.wallet&&Ft(()=>import("./index-F_S38T2q.js").then(t=>t.i),__vite__mapDeps([0,1,2])).then(t=>{t.call||(t=t.default),t.call("arcHideTopBar","{}")}).catch(t=>{console.error("load dsbridge error",t)})},[e])};export{lt as H,Qt as L,oo as a,uo as b,fo as c,ho as d,po as e,bo as f,Kn as g,Jn as i,X as m,go as p,Wn as s,mo as u};
12
+ function __vite__mapDeps(indexes) {
13
+ if (!__vite__mapDeps.viteFileDeps) {
14
+ __vite__mapDeps.viteFileDeps = ["assets/index-F_S38T2q.js","assets/index-pPYPIBlE.js","assets/index-Fay2ci-b.css"]
15
+ }
16
+ return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
17
+ }
@@ -0,0 +1 @@
1
+ import{as as a,at as t,au as e,j as r,av as o}from"./index-pPYPIBlE.js";const i={zh:a(t),en:a(e)};function p(s){return function(n){return r.jsx(o,{translations:i,children:r.jsx(s,{...n})})}}export{p as w};
package/dist/index.html CHANGED
@@ -14,14 +14,13 @@
14
14
  padding: 0;
15
15
  }
16
16
  </style>
17
- <script type="module" crossorigin src="/.well-known/service/static/assets/index-f5164e7a.js"></script>
18
- <link rel="stylesheet" href="/.well-known/service/static/assets/index-d8bbb108.css">
17
+ <script type="module" crossorigin src="/.well-known/service/static/assets/index-pPYPIBlE.js"></script>
18
+ <link rel="stylesheet" crossorigin href="/.well-known/service/static/assets/index-Fay2ci-b.css">
19
19
  </head>
20
20
 
21
21
  <body>
22
22
  <noscript> You need to enable JavaScript to run this app. </noscript>
23
23
  <div id="app"></div>
24
-
25
24
  </body>
26
25
 
27
26
  </html>
@@ -1,2 +1,2 @@
1
- try{self["workbox:core:6.5.3"]&&_()}catch{}const Q=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},z=Q;class h extends Error{constructor(e,t){const n=z(e,t);super(n),this.name=e,this.details=t}}const j=new Set;function J(s){j.add(s)}const d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},E=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),X=s=>{for(const e of Object.keys(d))s(e)},x={updateDetails:s=>{X(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||E(d.googleAnalytics),getPrecacheName:s=>s||E(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||E(d.runtime),getSuffix:()=>d.suffix};function A(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function Y(s,e,t,n){const r=A(e.url,t);if(e.url===r)return s.match(e,n);const a=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await s.keys(e,a);for(const c of i){const o=A(c.url,t);if(r===o)return s.match(c,n)}}let m;function Z(){if(m===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),m=!0}catch{m=!1}m=!1}return m}function F(s){s.then(()=>{})}class ee{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}async function te(){for(const s of j)await s()}const se=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function ne(s){return new Promise(e=>setTimeout(e,s))}function v(s,e){const t=e();return s.waitUntil(t),t}async function re(s,e){let t=null;if(s.url&&(t=new URL(s.url).origin),t!==self.location.origin)throw new h("cross-origin-copy-response",{origin:t});const n=s.clone(),r={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},a=e?e(r):r,i=Z()?n.body:await n.blob();return new Response(i,a)}function ae(){self.addEventListener("activate",()=>self.clients.claim())}try{self["workbox:precaching:6.5.3"]&&_()}catch{}const ie="__WB_REVISION__";function ce(s){if(!s)throw new h("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const a=new URL(s,location.href);return{cacheKey:a.href,url:a.href}}const{revision:e,url:t}=s;if(!t)throw new h("add-to-cache-list-unexpected-type",{entry:s});if(!e){const a=new URL(t,location.href);return{cacheKey:a.href,url:a.href}}const n=new URL(t,location.href),r=new URL(t,location.href);return n.searchParams.set(ie,e),{cacheKey:n.href,url:r.href}}class oe{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const r=t.originalRequest.url;n?this.notUpdatedURLs.push(r):this.updatedURLs.push(r)}return n}}}class le{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:n})=>{const r=(n==null?void 0:n.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return r?new Request(r,{headers:t.headers}):t},this._precacheController=e}}try{self["workbox:strategies:6.5.3"]&&_()}catch{}function b(s){return typeof s=="string"?new Request(s):s}class he{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new ee,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=b(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const i=await t.preloadResponse;if(i)return i}const r=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const i of this.iterateCallbacks("requestWillFetch"))n=await i({request:n.clone(),event:t})}catch(i){if(i instanceof Error)throw new h("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const a=n.clone();try{let i;i=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))i=await c({event:t,request:a,response:i});return i}catch(i){throw r&&await this.runCallbacks("fetchDidFail",{error:i,event:t,originalRequest:r.clone(),request:a.clone()}),i}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=b(e);let n;const{cacheName:r,matchOptions:a}=this._strategy,i=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},a),{cacheName:r});n=await caches.match(i,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await o({cacheName:r,matchOptions:a,cachedResponse:n,request:i,event:this.event})||void 0;return n}async cachePut(e,t){const n=b(e);await ne(0);const r=await this.getCacheKey(n,"write");if(!t)throw new h("cache-put-with-no-response",{url:se(r.url)});const a=await this._ensureResponseSafeToCache(t);if(!a)return!1;const{cacheName:i,matchOptions:c}=this._strategy,o=await self.caches.open(i),l=this.hasCallback("cacheDidUpdate"),g=l?await Y(o,r.clone(),["__WB_REVISION__"],c):null;try{await o.put(r,l?a.clone():a)}catch(u){if(u instanceof Error)throw u.name==="QuotaExceededError"&&await te(),u}for(const u of this.iterateCallbacks("cacheDidUpdate"))await u({cacheName:i,oldResponse:g,newResponse:a.clone(),request:r,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let r=e;for(const a of this.iterateCallbacks("cacheKeyWillBeUsed"))r=b(await a({mode:t,request:r,event:this.event,params:this.params}));this._cacheKeys[n]=r}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield a=>{const i=Object.assign(Object.assign({},a),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const r of this.iterateCallbacks("cacheWillUpdate"))if(t=await r({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}}class I{constructor(e={}){this.cacheName=x.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,r="params"in e?e.params:void 0,a=new he(this,{event:t,request:n,params:r}),i=this._getResponse(a,n,t),c=this._awaitComplete(i,a,n,t);return[i,c]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let r;try{if(r=await this._handle(t,e),!r||r.type==="error")throw new h("no-response",{url:t.url})}catch(a){if(a instanceof Error){for(const i of e.iterateCallbacks("handlerDidError"))if(r=await i({error:a,event:n,request:t}),r)break}if(!r)throw a}for(const a of e.iterateCallbacks("handlerWillRespond"))r=await a({event:n,request:t,response:r});return r}async _awaitComplete(e,t,n,r){let a,i;try{a=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:r,request:n,response:a}),await t.doneWaiting()}catch(c){c instanceof Error&&(i=c)}if(await t.runCallbacks("handlerDidComplete",{event:r,request:n,response:a,error:i}),t.destroy(),i)throw i}}class p extends I{constructor(e={}){e.cacheName=x.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(p.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const r=t.params||{};if(this._fallbackToNetwork){const a=r.integrity,i=e.integrity,c=!i||i===a;n=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?i||a:void 0})),a&&c&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,n.clone()))}else throw new h("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new h("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,r]of this.plugins.entries())r!==p.copyRedirectedCacheableResponsesPlugin&&(r===p.defaultPrecacheCacheabilityPlugin&&(e=n),r.cacheWillUpdate&&t++);t===0?this.plugins.push(p.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}p.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};p.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await re(s):s}};class ue{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new p({cacheName:x.getPrecacheName(e),plugins:[...t,new le({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){typeof n=="string"?t.push(n):n&&n.revision===void 0&&t.push(n.url);const{cacheKey:r,url:a}=ce(n),i=typeof n!="string"&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(a)&&this._urlsToCacheKeys.get(a)!==r)throw new h("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(a),secondEntry:r});if(typeof n!="string"&&n.integrity){if(this._cacheKeysToIntegrities.has(r)&&this._cacheKeysToIntegrities.get(r)!==n.integrity)throw new h("add-to-cache-list-conflicting-integrities",{url:a});this._cacheKeysToIntegrities.set(r,n.integrity)}if(this._urlsToCacheKeys.set(a,r),this._urlsToCacheModes.set(a,i),t.length>0){const c=`Workbox is precaching URLs without revision info: ${t.join(", ")}
2
- This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return v(e,async()=>{const t=new oe;this.strategy.plugins.push(t);for(const[a,i]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(i),o=this._urlsToCacheModes.get(a),l=new Request(a,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:i},request:l,event:e}))}const{updatedURLs:n,notUpdatedURLs:r}=t;return{updatedURLs:n,notUpdatedURLs:r}})}activate(e){return v(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),n=await t.keys(),r=new Set(this._urlsToCacheKeys.values()),a=[];for(const i of n)r.has(i.url)||(await t.delete(i),a.push(i.url));return{deletedURLs:a}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new h("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let D;const q=()=>(D||(D=new ue),D);try{self["workbox:routing:6.5.3"]&&_()}catch{}const H="GET",C=s=>s&&typeof s=="object"?s:{handle:s};class R{constructor(e,t,n=H){this.handler=C(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=C(e)}}class de extends R{constructor(e,t,n){const r=({url:a})=>{const i=e.exec(a.href);if(i&&!(a.origin!==location.origin&&i.index!==0))return i.slice(1)};super(r,t,n)}}class fe{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(r=>{typeof r=="string"&&(r=[r]);const a=new Request(...r);return this.handleRequest({request:a,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const r=n.origin===location.origin,{params:a,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:r,url:n});let c=i&&i.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let l;try{l=c.handle({url:n,request:e,event:t,params:a})}catch(u){l=Promise.reject(u)}const g=i&&i.catchHandler;return l instanceof Promise&&(this._catchHandler||g)&&(l=l.catch(async u=>{if(g)try{return await g.handle({url:n,request:e,event:t,params:a})}catch(K){K instanceof Error&&(u=K)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw u})),l}findMatchingRoute({url:e,sameOrigin:t,request:n,event:r}){const a=this._routes.get(n.method)||[];for(const i of a){let c;const o=i.match({url:e,sameOrigin:t,request:n,event:r});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:i,params:c}}return{}}setDefaultHandler(e,t=H){this._defaultHandlerMap.set(t,C(e))}setCatchHandler(e){this._catchHandler=C(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new h("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new h("unregister-route-route-not-registered")}}let w;const pe=()=>(w||(w=new fe,w.addFetchListener(),w.addCacheListener()),w);function M(s,e,t){let n;if(typeof s=="string"){const a=new URL(s,location.href),i=({url:c})=>c.href===a.href;n=new R(i,e,t)}else if(s instanceof RegExp)n=new de(s,e,t);else if(typeof s=="function")n=new R(s,e,t);else if(s instanceof R)n=s;else throw new h("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return pe().registerRoute(n),n}function ge(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(n=>n.test(t))&&s.searchParams.delete(t);return s}function*me(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:r}={}){const a=new URL(s,location.href);a.hash="",yield a.href;const i=ge(a,e);if(yield i.href,t&&i.pathname.endsWith("/")){const c=new URL(i.href);c.pathname+=t,yield c.href}if(n){const c=new URL(i.href);c.pathname+=".html",yield c.href}if(r){const c=r({url:a});for(const o of c)yield o.href}}class we extends R{constructor(e,t){const n=({request:r})=>{const a=e.getURLsToCacheKeys();for(const i of me(r.url,t)){const c=a.get(i);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(n,e.strategy)}}function ye(s){const e=q(),t=new we(e,s);M(t)}function _e(s){q().precache(s)}function Re(s,e){_e(s),ye(e)}const be=(s,e)=>e.some(t=>s instanceof t);let O,S;function Ce(){return O||(O=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function xe(){return S||(S=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const V=new WeakMap,T=new WeakMap,$=new WeakMap,L=new WeakMap,N=new WeakMap;function Ee(s){const e=new Promise((t,n)=>{const r=()=>{s.removeEventListener("success",a),s.removeEventListener("error",i)},a=()=>{t(f(s.result)),r()},i=()=>{n(s.error),r()};s.addEventListener("success",a),s.addEventListener("error",i)});return e.then(t=>{t instanceof IDBCursor&&V.set(t,s)}).catch(()=>{}),N.set(e,s),e}function De(s){if(T.has(s))return;const e=new Promise((t,n)=>{const r=()=>{s.removeEventListener("complete",a),s.removeEventListener("error",i),s.removeEventListener("abort",i)},a=()=>{t(),r()},i=()=>{n(s.error||new DOMException("AbortError","AbortError")),r()};s.addEventListener("complete",a),s.addEventListener("error",i),s.addEventListener("abort",i)});T.set(s,e)}let P={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return T.get(s);if(e==="objectStoreNames")return s.objectStoreNames||$.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return f(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function Le(s){P=s(P)}function Ue(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const n=s.call(U(this),e,...t);return $.set(n,e.sort?e.sort():[e]),f(n)}:xe().includes(s)?function(...e){return s.apply(U(this),e),f(V.get(this))}:function(...e){return f(s.apply(U(this),e))}}function ke(s){return typeof s=="function"?Ue(s):(s instanceof IDBTransaction&&De(s),be(s,Ce())?new Proxy(s,P):s)}function f(s){if(s instanceof IDBRequest)return Ee(s);if(L.has(s))return L.get(s);const e=ke(s);return e!==s&&(L.set(s,e),N.set(e,s)),e}const U=s=>N.get(s);function Te(s,e,{blocked:t,upgrade:n,blocking:r,terminated:a}={}){const i=indexedDB.open(s,e),c=f(i);return n&&i.addEventListener("upgradeneeded",o=>{n(f(i.result),o.oldVersion,o.newVersion,f(i.transaction),o)}),t&&i.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{a&&o.addEventListener("close",()=>a()),r&&o.addEventListener("versionchange",l=>r(l.oldVersion,l.newVersion,l))}).catch(()=>{}),c}function Pe(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",n=>e(n.oldVersion,n)),f(t).then(()=>{})}const Ie=["get","getKey","getAll","getAllKeys","count"],Me=["put","add","delete","clear"],k=new Map;function W(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(k.get(e))return k.get(e);const t=e.replace(/FromIndex$/,""),n=e!==t,r=Me.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!(r||Ie.includes(t)))return;const a=async function(i,...c){const o=this.transaction(i,r?"readwrite":"readonly");let l=o.store;return n&&(l=l.index(c.shift())),(await Promise.all([l[t](...c),r&&o.done]))[0]};return k.set(e,a),a}Le(s=>({...s,get:(e,t,n)=>W(e,t)||s.get(e,t,n),has:(e,t)=>!!W(e,t)||s.has(e,t)}));try{self["workbox:expiration:6.5.3"]&&_()}catch{}const Ne="workbox-expiration",y="cache-entries",B=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class Ke{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(y,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&Pe(this._cacheName)}async setTimestamp(e,t){e=B(e);const n={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},a=(await this.getDb()).transaction(y,"readwrite",{durability:"relaxed"});await a.store.put(n),await a.done}async getTimestamp(e){const n=await(await this.getDb()).get(y,this._getId(e));return n==null?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let r=await n.transaction(y).store.index("timestamp").openCursor(null,"prev");const a=[];let i=0;for(;r;){const o=r.value;o.cacheName===this._cacheName&&(e&&o.timestamp<e||t&&i>=t?a.push(r.value):i++),r=await r.continue()}const c=[];for(const o of a)await n.delete(y,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+B(e)}async getDb(){return this._db||(this._db=await Te(Ne,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class Ae{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new Ke(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const r of t)await n.delete(r,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,F(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t<n:!0}else return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}class ve{constructor(e={}){this.cachedResponseWillBeUsed=async({event:t,request:n,cacheName:r,cachedResponse:a})=>{if(!a)return null;const i=this._isResponseDateFresh(a),c=this._getCacheExpiration(r);F(c.expireEntries());const o=c.updateTimestamp(n.url);if(t)try{t.waitUntil(o)}catch{}return i?a:null},this.cacheDidUpdate=async({cacheName:t,request:n})=>{const r=this._getCacheExpiration(t);await r.updateTimestamp(n.url),await r.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&J(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===x.getRuntimeName())throw new h("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new Ae(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const n=Date.now();return t>=n-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),r=new Date(t).getTime();return isNaN(r)?null:r}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}class Oe extends I{async _handle(e,t){let n=await t.cacheMatch(e),r;if(!n)try{n=await t.fetchAndCachePut(e)}catch(a){a instanceof Error&&(r=a)}if(!n)throw new h("no-response",{url:e.url,error:r});return n}}const Se={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class We extends I{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(Se)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(n);let r=await t.cacheMatch(e),a;if(!r)try{r=await n}catch(i){i instanceof Error&&(a=i)}if(!r)throw new h("no-response",{url:e.url,error:a});return r}}Re((self.__WB_MANIFEST||[]).filter(s=>s.url!=="/"&&!s.url.includes("index.html")));ae();self.addEventListener("activate",()=>{console.log("Service Worker activated")});self.addEventListener("install",s=>{console.log("Service Worker installed"),s.waitUntil(self.skipWaiting())});const G=s=>!!(s.method!=="GET"||s.url.includes("/api")||s.url.includes("__meta__.js")||s.url.includes("__blocklet__.js"));M(s=>{const{request:e}=s;return G(e)?!1:e.url.includes("/static/")},new Oe({cacheName:"static",plugins:[new ve({maxEntries:200})]}));M(s=>{const{request:e}=s;return G(e)?!1:e.url.includes("/images/")||e.url.includes("/router/-template-styles/")},new We);
1
+ try{self["workbox:core:6.5.3"]&&_()}catch{}const Q=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},z=Q;class h extends Error{constructor(e,t){const n=z(e,t);super(n),this.name=e,this.details=t}}const j=new Set;function J(s){j.add(s)}const d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},E=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),X=s=>{for(const e of Object.keys(d))s(e)},x={updateDetails:s=>{X(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||E(d.googleAnalytics),getPrecacheName:s=>s||E(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||E(d.runtime),getSuffix:()=>d.suffix};function K(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function Y(s,e,t,n){const a=K(e.url,t);if(e.url===a)return s.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await s.keys(e,r);for(const c of i){const o=K(c.url,t);if(a===o)return s.match(c,n)}}let m;function Z(){if(m===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),m=!0}catch{m=!1}m=!1}return m}function F(s){s.then(()=>{})}class ee{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}async function te(){for(const s of j)await s()}const se=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function ne(s){return new Promise(e=>setTimeout(e,s))}function A(s,e){const t=e();return s.waitUntil(t),t}async function ae(s,e){let t=null;if(s.url&&(t=new URL(s.url).origin),t!==self.location.origin)throw new h("cross-origin-copy-response",{origin:t});const n=s.clone(),a={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},r=e?e(a):a,i=Z()?n.body:await n.blob();return new Response(i,r)}function re(){self.addEventListener("activate",()=>self.clients.claim())}try{self["workbox:precaching:6.5.3"]&&_()}catch{}const ie="__WB_REVISION__";function ce(s){if(!s)throw new h("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const r=new URL(s,location.href);return{cacheKey:r.href,url:r.href}}const{revision:e,url:t}=s;if(!t)throw new h("add-to-cache-list-unexpected-type",{entry:s});if(!e){const r=new URL(t,location.href);return{cacheKey:r.href,url:r.href}}const n=new URL(t,location.href),a=new URL(t,location.href);return n.searchParams.set(ie,e),{cacheKey:n.href,url:a.href}}class oe{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const a=t.originalRequest.url;n?this.notUpdatedURLs.push(a):this.updatedURLs.push(a)}return n}}}class le{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:n})=>{const a=(n==null?void 0:n.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return a?new Request(a,{headers:t.headers}):t},this._precacheController=e}}try{self["workbox:strategies:6.5.3"]&&_()}catch{}function b(s){return typeof s=="string"?new Request(s):s}class he{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new ee,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=b(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const i=await t.preloadResponse;if(i)return i}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const i of this.iterateCallbacks("requestWillFetch"))n=await i({request:n.clone(),event:t})}catch(i){if(i instanceof Error)throw new h("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let i;i=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))i=await c({event:t,request:r,response:i});return i}catch(i){throw a&&await this.runCallbacks("fetchDidFail",{error:i,event:t,originalRequest:a.clone(),request:r.clone()}),i}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=b(e);let n;const{cacheName:a,matchOptions:r}=this._strategy,i=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},r),{cacheName:a});n=await caches.match(i,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await o({cacheName:a,matchOptions:r,cachedResponse:n,request:i,event:this.event})||void 0;return n}async cachePut(e,t){const n=b(e);await ne(0);const a=await this.getCacheKey(n,"write");if(!t)throw new h("cache-put-with-no-response",{url:se(a.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:i,matchOptions:c}=this._strategy,o=await self.caches.open(i),l=this.hasCallback("cacheDidUpdate"),g=l?await Y(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,l?r.clone():r)}catch(u){if(u instanceof Error)throw u.name==="QuotaExceededError"&&await te(),u}for(const u of this.iterateCallbacks("cacheDidUpdate"))await u({cacheName:i,oldResponse:g,newResponse:r.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let a=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))a=b(await r({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[n]=a}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield r=>{const i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}}class v{constructor(e={}){this.cacheName=x.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,r=new he(this,{event:t,request:n,params:a}),i=this._getResponse(r,n,t),c=this._awaitComplete(i,r,n,t);return[i,c]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new h("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const i of e.iterateCallbacks("handlerDidError"))if(a=await i({error:r,event:n,request:t}),a)break}if(!a)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))a=await r({event:n,request:t,response:a});return a}async _awaitComplete(e,t,n,a){let r,i;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:n,response:r}),await t.doneWaiting()}catch(c){c instanceof Error&&(i=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:n,response:r,error:i}),t.destroy(),i)throw i}}class p extends v{constructor(e={}){e.cacheName=x.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(p.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const a=t.params||{};if(this._fallbackToNetwork){const r=a.integrity,i=e.integrity,c=!i||i===r;n=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?i||r:void 0})),r&&c&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,n.clone()))}else throw new h("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new h("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,a]of this.plugins.entries())a!==p.copyRedirectedCacheableResponsesPlugin&&(a===p.defaultPrecacheCacheabilityPlugin&&(e=n),a.cacheWillUpdate&&t++);t===0?this.plugins.push(p.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}p.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};p.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await ae(s):s}};class ue{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new p({cacheName:x.getPrecacheName(e),plugins:[...t,new le({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){typeof n=="string"?t.push(n):n&&n.revision===void 0&&t.push(n.url);const{cacheKey:a,url:r}=ce(n),i=typeof n!="string"&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==a)throw new h("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:a});if(typeof n!="string"&&n.integrity){if(this._cacheKeysToIntegrities.has(a)&&this._cacheKeysToIntegrities.get(a)!==n.integrity)throw new h("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(a,n.integrity)}if(this._urlsToCacheKeys.set(r,a),this._urlsToCacheModes.set(r,i),t.length>0){const c=`Workbox is precaching URLs without revision info: ${t.join(", ")}
2
+ This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return A(e,async()=>{const t=new oe;this.strategy.plugins.push(t);for(const[r,i]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(i),o=this._urlsToCacheModes.get(r),l=new Request(r,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:i},request:l,event:e}))}const{updatedURLs:n,notUpdatedURLs:a}=t;return{updatedURLs:n,notUpdatedURLs:a}})}activate(e){return A(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),n=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),r=[];for(const i of n)a.has(i.url)||(await t.delete(i),r.push(i.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new h("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let D;const q=()=>(D||(D=new ue),D);try{self["workbox:routing:6.5.3"]&&_()}catch{}const H="GET",C=s=>s&&typeof s=="object"?s:{handle:s};class R{constructor(e,t,n=H){this.handler=C(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=C(e)}}class de extends R{constructor(e,t,n){const a=({url:r})=>{const i=e.exec(r.href);if(i&&!(r.origin!==location.origin&&i.index!==0))return i.slice(1)};super(a,t,n)}}class fe{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const r=new Request(...a);return this.handleRequest({request:r,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:n});let c=i&&i.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let l;try{l=c.handle({url:n,request:e,event:t,params:r})}catch(u){l=Promise.reject(u)}const g=i&&i.catchHandler;return l instanceof Promise&&(this._catchHandler||g)&&(l=l.catch(async u=>{if(g)try{return await g.handle({url:n,request:e,event:t,params:r})}catch(N){N instanceof Error&&(u=N)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw u})),l}findMatchingRoute({url:e,sameOrigin:t,request:n,event:a}){const r=this._routes.get(n.method)||[];for(const i of r){let c;const o=i.match({url:e,sameOrigin:t,request:n,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:i,params:c}}return{}}setDefaultHandler(e,t=H){this._defaultHandlerMap.set(t,C(e))}setCatchHandler(e){this._catchHandler=C(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new h("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new h("unregister-route-route-not-registered")}}let w;const pe=()=>(w||(w=new fe,w.addFetchListener(),w.addCacheListener()),w);function I(s,e,t){let n;if(typeof s=="string"){const r=new URL(s,location.href),i=({url:c})=>c.href===r.href;n=new R(i,e,t)}else if(s instanceof RegExp)n=new de(s,e,t);else if(typeof s=="function")n=new R(s,e,t);else if(s instanceof R)n=s;else throw new h("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return pe().registerRoute(n),n}function ge(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(n=>n.test(t))&&s.searchParams.delete(t);return s}function*me(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(s,location.href);r.hash="",yield r.href;const i=ge(r,e);if(yield i.href,t&&i.pathname.endsWith("/")){const c=new URL(i.href);c.pathname+=t,yield c.href}if(n){const c=new URL(i.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:r});for(const o of c)yield o.href}}class we extends R{constructor(e,t){const n=({request:a})=>{const r=e.getURLsToCacheKeys();for(const i of me(a.url,t)){const c=r.get(i);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(n,e.strategy)}}function ye(s){const e=q(),t=new we(e,s);I(t)}function _e(s){q().precache(s)}function Re(s,e){_e(s),ye(e)}const be=(s,e)=>e.some(t=>s instanceof t);let O,S;function Ce(){return O||(O=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function xe(){return S||(S=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const V=new WeakMap,T=new WeakMap,$=new WeakMap,L=new WeakMap,M=new WeakMap;function Ee(s){const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("success",r),s.removeEventListener("error",i)},r=()=>{t(f(s.result)),a()},i=()=>{n(s.error),a()};s.addEventListener("success",r),s.addEventListener("error",i)});return e.then(t=>{t instanceof IDBCursor&&V.set(t,s)}).catch(()=>{}),M.set(e,s),e}function De(s){if(T.has(s))return;const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("complete",r),s.removeEventListener("error",i),s.removeEventListener("abort",i)},r=()=>{t(),a()},i=()=>{n(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",r),s.addEventListener("error",i),s.addEventListener("abort",i)});T.set(s,e)}let P={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return T.get(s);if(e==="objectStoreNames")return s.objectStoreNames||$.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return f(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function Le(s){P=s(P)}function Ue(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const n=s.call(U(this),e,...t);return $.set(n,e.sort?e.sort():[e]),f(n)}:xe().includes(s)?function(...e){return s.apply(U(this),e),f(V.get(this))}:function(...e){return f(s.apply(U(this),e))}}function ke(s){return typeof s=="function"?Ue(s):(s instanceof IDBTransaction&&De(s),be(s,Ce())?new Proxy(s,P):s)}function f(s){if(s instanceof IDBRequest)return Ee(s);if(L.has(s))return L.get(s);const e=ke(s);return e!==s&&(L.set(s,e),M.set(e,s)),e}const U=s=>M.get(s);function Te(s,e,{blocked:t,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(s,e),c=f(i);return n&&i.addEventListener("upgradeneeded",o=>{n(f(i.result),o.oldVersion,o.newVersion,f(i.transaction),o)}),t&&i.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{r&&o.addEventListener("close",()=>r()),a&&o.addEventListener("versionchange",l=>a(l.oldVersion,l.newVersion,l))}).catch(()=>{}),c}function Pe(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",n=>e(n.oldVersion,n)),f(t).then(()=>{})}const ve=["get","getKey","getAll","getAllKeys","count"],Ie=["put","add","delete","clear"],k=new Map;function W(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(k.get(e))return k.get(e);const t=e.replace(/FromIndex$/,""),n=e!==t,a=Ie.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!(a||ve.includes(t)))return;const r=async function(i,...c){const o=this.transaction(i,a?"readwrite":"readonly");let l=o.store;return n&&(l=l.index(c.shift())),(await Promise.all([l[t](...c),a&&o.done]))[0]};return k.set(e,r),r}Le(s=>({...s,get:(e,t,n)=>W(e,t)||s.get(e,t,n),has:(e,t)=>!!W(e,t)||s.has(e,t)}));try{self["workbox:expiration:6.5.3"]&&_()}catch{}const Me="workbox-expiration",y="cache-entries",B=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class Ne{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(y,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&Pe(this._cacheName)}async setTimestamp(e,t){e=B(e);const n={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(y,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const n=await(await this.getDb()).get(y,this._getId(e));return n==null?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let a=await n.transaction(y).store.index("timestamp").openCursor(null,"prev");const r=[];let i=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp<e||t&&i>=t?r.push(a.value):i++),a=await a.continue()}const c=[];for(const o of r)await n.delete(y,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+B(e)}async getDb(){return this._db||(this._db=await Te(Me,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class Ke{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new Ne(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const a of t)await n.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,F(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t<n:!0}else return!1}async delete(){this._rerunRequested=!1,await this._timestampModel.expireEntries(1/0)}}class Ae{constructor(e={}){this.cachedResponseWillBeUsed=async({event:t,request:n,cacheName:a,cachedResponse:r})=>{if(!r)return null;const i=this._isResponseDateFresh(r),c=this._getCacheExpiration(a);F(c.expireEntries());const o=c.updateTimestamp(n.url);if(t)try{t.waitUntil(o)}catch{}return i?r:null},this.cacheDidUpdate=async({cacheName:t,request:n})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(n.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&J(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===x.getRuntimeName())throw new h("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new Ke(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const n=Date.now();return t>=n-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),a=new Date(t).getTime();return isNaN(a)?null:a}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}class Oe extends v{async _handle(e,t){let n=await t.cacheMatch(e),a;if(!n)try{n=await t.fetchAndCachePut(e)}catch(r){r instanceof Error&&(a=r)}if(!n)throw new h("no-response",{url:e.url,error:a});return n}}const Se={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class We extends v{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(Se)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(n);let a=await t.cacheMatch(e),r;if(!a)try{a=await n}catch(i){i instanceof Error&&(r=i)}if(!a)throw new h("no-response",{url:e.url,error:r});return a}}Re((self.__WB_MANIFEST||[]).filter(s=>s.url!=="/"&&!s.url.includes("index.html")));re();self.addEventListener("activate",()=>{console.log("Service Worker activated")});self.addEventListener("install",s=>{console.log("Service Worker installed"),s.waitUntil(self.skipWaiting())});const G=s=>!!(s.method!=="GET"||s.url.includes("/api")||s.url.includes("__meta__.js")||s.url.includes("__blocklet__.js"));I(s=>{const{request:e}=s;return G(e)?!1:e.url.includes("/static/")},new Oe({cacheName:"static",plugins:[new Ae({maxEntries:200})]}));I(s=>{const{request:e}=s;return G(e)?!1:e.url.includes("/images/")||e.url.includes("/router/-template-styles/")},new We);