@abtnode/blocklet-services 1.16.32-beta-0b7f1250 → 1.16.32-beta-04a5da00

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 (206) hide show
  1. package/dist/assets/{Add-DK2sSVal.js → Add-2VoKTpUb.js} +1 -1
  2. package/dist/assets/{AddBox-k344mb3q.js → AddBox-Dl7mso27.js} +1 -1
  3. package/dist/assets/{Alert-BBnZ-bJY.js → Alert-DPUEB95E.js} +1 -1
  4. package/dist/assets/{ArrowDropDown-Ds7eP3kq.js → ArrowDropDown-0yDa2aHH.js} +1 -1
  5. package/dist/assets/{Avatar-B_ozaB1d.js → Avatar-Cw952dlh.js} +1 -1
  6. package/dist/assets/{ButtonGroup-Brd5tASZ.js → ButtonGroup-d0oDm0RO.js} +1 -1
  7. package/dist/assets/{CheckCircle-D8MY3EHO.js → CheckCircle-CyZ2-BIj.js} +1 -1
  8. package/dist/assets/{ChevronRight-Clkn1-CT.js → ChevronRight-DDyzifk9.js} +1 -1
  9. package/dist/assets/{Close-B78FCRQD.js → Close-BkBXMJo_.js} +1 -1
  10. package/dist/assets/{CloseOutlined-C_pRRRMb.js → CloseOutlined-DmlGPmzq.js} +1 -1
  11. package/dist/assets/{Delete-D4dMA0lG.js → Delete-B2wSgiTE.js} +1 -1
  12. package/dist/assets/{DeleteOutline-xp-yy9Ns.js → DeleteOutline-BMqkCxEq.js} +1 -1
  13. package/dist/assets/{Done-BLCIniIk.js → Done-ZAZhEq2L.js} +1 -1
  14. package/dist/assets/{Download-YHpdHIjQ.js → Download-1xH6mRbf.js} +1 -1
  15. package/dist/assets/{Edit-sp3_Gw67.js → Edit-MvOKdBEJ.js} +1 -1
  16. package/dist/assets/{EditIcon-D8pL4kWj.js → EditIcon-B68lRQt1.js} +1 -1
  17. package/dist/assets/{Error-7Kc9kGgC.js → Error-xmdfCNYq.js} +1 -1
  18. package/dist/assets/{ExpandMore-Bu3C6pU8.js → ExpandMore-DkoxrM3F.js} +1 -1
  19. package/dist/assets/{FilterList-qJZckPS6.js → FilterList-DbTqBTrF.js} +1 -1
  20. package/dist/assets/{FormControl-DKCPWiUE.js → FormControl-BUn4wQGt.js} +1 -1
  21. package/dist/assets/{FormControlLabel-DJ7JqxQ9.js → FormControlLabel-Cn1ZEQIw.js} +1 -1
  22. package/dist/assets/{FormGroup-QuE1_Stk.js → FormGroup-BDqHH6R7.js} +1 -1
  23. package/dist/assets/{Google-z-HMOZVU.js → Google-DwKupHqA.js} +1 -1
  24. package/dist/assets/{Hidden-DhJpb55-.js → Hidden-w-nWLLe2.js} +1 -1
  25. package/dist/assets/{InfoOutlined-muBBlc-m.js → InfoOutlined-CgNZyv9N.js} +1 -1
  26. package/dist/assets/{InputAdornment-btyswwKp.js → InputAdornment-DKErxOxA.js} +1 -1
  27. package/dist/assets/{InputLabel-C9tGpQ3p.js → InputLabel-BU0FzAth.js} +1 -1
  28. package/dist/assets/{LastPage-B0el3h-h.js → LastPage-BRQIhdX7.js} +1 -1
  29. package/dist/assets/{Launch-ByZVFHQK.js → Launch-DZvL7Btt.js} +1 -1
  30. package/dist/assets/{LaunchOutlined-Dv-6yYm6.js → LaunchOutlined-BEo8P2Tl.js} +1 -1
  31. package/dist/assets/{Link-6h9rQRZt.js → Link-CPGMRK--.js} +1 -1
  32. package/dist/assets/{ListItemText-CiKmy0GT.js → ListItemText-D00e-P7J.js} +1 -1
  33. package/dist/assets/{LoadingButton-CPUfUJs9.js → LoadingButton-Dnokttyl.js} +1 -1
  34. package/dist/assets/{LockIcon-HkFVG9UK.js → LockIcon-lwFTQyw5.js} +1 -1
  35. package/dist/assets/{Loop-CnSbkmS4.js → Loop-UQ-nGsCg.js} +1 -1
  36. package/dist/assets/{MoreHoriz-C9DIIKqb.js → MoreHoriz-ClHVZaho.js} +1 -1
  37. package/dist/assets/{MoreVert-BTFxIHaV.js → MoreVert-D7siuKO-.js} +1 -1
  38. package/dist/assets/{OpenInNew-BWbkYWxs.js → OpenInNew-Dn1FcPSH.js} +1 -1
  39. package/dist/assets/{Pagination-CvW6Pm78.js → Pagination-EqcGDqMl.js} +1 -1
  40. package/dist/assets/{PlayArrow-PtLuQObP.js → PlayArrow-CnWuAQ7W.js} +1 -1
  41. package/dist/assets/{QuestionMarkCircle-Deiz5Rc3.js → QuestionMarkCircle-B7Bpx0cE.js} +1 -1
  42. package/dist/assets/{RadioGroup-Go7EuXBQ.js → RadioGroup-Bu2zmWw_.js} +1 -1
  43. package/dist/assets/{Search-CbL27Q7U.js → Search-CQlVySI6.js} +1 -1
  44. package/dist/assets/{Select-DUGjpI0N.js → Select-BzfN1x8W.js} +1 -1
  45. package/dist/assets/{ServerLogo-DWPLCv8y.js → ServerLogo-DfCDjLNl.js} +1 -1
  46. package/dist/assets/{Skeleton-BY3oxWsr.js → Skeleton-DqrgKJha.js} +1 -1
  47. package/dist/assets/{Slider-Bi1zs913.js → Slider-BtNkKS5B.js} +1 -1
  48. package/dist/assets/{Stepper-uK2JpL--.js → Stepper-xGvqwz44.js} +1 -1
  49. package/dist/assets/{TextField-BiJ3RQiw.js → TextField-OgHHL_KP.js} +1 -1
  50. package/dist/assets/{Toolbar-DDNMlPZf.js → Toolbar-IW4D_zYa.js} +1 -1
  51. package/dist/assets/{ViewList-Dh4E6yfK.js → ViewList-BFQT-hmR.js} +1 -1
  52. package/dist/assets/{access-control-CgbuXgI-.js → access-control-2b9mvnB3.js} +1 -1
  53. package/dist/assets/{actions-BAcMW3DB.js → actions-DaKlRJnV.js} +1 -1
  54. package/dist/assets/{add-component-core-B2J7jCBj.js → add-component-core-BPcx3JYq.js} +3 -3
  55. package/dist/assets/{add-resource-DzhP3aLp.js → add-resource-2dxnZcDy.js} +1 -1
  56. package/dist/assets/{addon-CddIIloI.js → addon-CSAbVfSS.js} +1 -1
  57. package/dist/assets/{analytics-DpEdpBg-.js → analytics-C434vWOY.js} +1 -1
  58. package/dist/assets/api-_ltIr2BU.js +1 -0
  59. package/dist/assets/ar-BSACs5SN.js +1 -0
  60. package/dist/assets/{audit-logs-CpDEAQjL.js → audit-logs-CZte5uoR.js} +1 -1
  61. package/dist/assets/{button-CcPpUnKG.js → button-CR8UEQyZ.js} +1 -1
  62. package/dist/assets/{click-to-copy-DtOMfCfh.js → click-to-copy-3x1G9XH4.js} +1 -1
  63. package/dist/assets/{complete-B0JqZgYL.js → complete-k3Qs8bm-.js} +1 -1
  64. package/dist/assets/{component-DgsF1k-M.js → component-D-I8mVct.js} +1 -1
  65. package/dist/assets/{config-C5tFszp6.js → config-D3UgjDma.js} +1 -1
  66. package/dist/assets/{config-Dmf2xbNQ.js → config-D5HYWnF4.js} +1 -1
  67. package/dist/assets/{config-navigation-D1ns7E7n.js → config-navigation-CpN5oPZv.js} +1 -1
  68. package/dist/assets/{confirm-B7pqTTSN.js → confirm-CtLbKcS0.js} +1 -1
  69. package/dist/assets/{connect-GHjJ7J_-.js → connect-B7XAaWGG.js} +1 -1
  70. package/dist/assets/{connect-DbFTOOeI.js → connect-D07YGJkK.js} +1 -1
  71. package/dist/assets/{connect-to-Cd3wBWCK.js → connect-to-COqWAMKF.js} +1 -1
  72. package/dist/assets/{content-layout-D5ZvSsu-.js → content-layout-DPij9Nh6.js} +1 -1
  73. package/dist/assets/{dashboard-Cup1mVAX.js → dashboard-BeSQUyuf.js} +3 -3
  74. package/dist/assets/de-9vHBMa7b.js +1 -0
  75. package/dist/assets/{did-address-Ciyb1jN9.js → did-address-43xkXM21.js} +1 -1
  76. package/dist/assets/{domain-DGXGl0S1.js → domain-4Nq3hHWj.js} +1 -1
  77. package/dist/assets/{domain-list-Q2-sRfSu.js → domain-list-M6G-dRKq.js} +1 -1
  78. package/dist/assets/es-Bk9E9Gbf.js +1 -0
  79. package/dist/assets/{exchange-passport-B-jGlSuV.js → exchange-passport--fiEF2lu.js} +1 -1
  80. package/dist/assets/{fallback-DA2HQbL8.js → fallback-Cn_W-m4r.js} +1 -1
  81. package/dist/assets/{format-error-Db99DYGG.js → format-error-Bn7NObKb.js} +1 -1
  82. package/dist/assets/fr-C5fh5fdm.js +1 -0
  83. package/dist/assets/{fuel-KUOmAMY5.js → fuel-Df5fciLt.js} +1 -1
  84. package/dist/assets/{fullpage-CpHiInve.js → fullpage-DTRlawT9.js} +1 -1
  85. package/dist/assets/hi-HiGtGtUs.js +1 -0
  86. package/dist/assets/{home-Dgp9XlAL.js → home-C1E0r4u0.js} +1 -1
  87. package/dist/assets/id-CirrqXGd.js +1 -0
  88. package/dist/assets/{iframe-D5srTSG3.js → iframe-EFuUBe3_.js} +1 -1
  89. package/dist/assets/{index-DsUxvQoO.js → index-98pN37bN.js} +1 -1
  90. package/dist/assets/{index-q-zqQDlr.js → index-B29G6Shi.js} +1 -1
  91. package/dist/assets/{index-D8wABV60.js → index-BCp3frMn.js} +1 -1
  92. package/dist/assets/{index-C7GXSvdc.js → index-BJtcCGWr.js} +1 -1
  93. package/dist/assets/{index-CCsWG3Cf.js → index-BLVcicxZ.js} +1 -1
  94. package/dist/assets/{index-BeM0EvDH.js → index-BZUzIWGh.js} +1 -1
  95. package/dist/assets/{index-m4ukMT05.js → index-Bdey46ix.js} +1 -1
  96. package/dist/assets/{index-C4As0bgL.js → index-BnsMQNE7.js} +1 -1
  97. package/dist/assets/{index-tfeZTZg0.js → index-BrwvkAJ2.js} +1 -1
  98. package/dist/assets/{index-CMSC7IoC.js → index-BtPZTcXb.js} +1 -1
  99. package/dist/assets/{index-B5ijpvD9.js → index-Bup-bUaa.js} +1 -1
  100. package/dist/assets/{index-CF_vZ6wr.js → index-C0SGixzY.js} +1 -1
  101. package/dist/assets/{index-BjkxCT5R.js → index-CKp5dXwW.js} +1 -1
  102. package/dist/assets/{index-Be5Rna_o.js → index-CTfT52DI.js} +1 -1
  103. package/dist/assets/{index-BQHcS9Mc.js → index-Cb0PVWPM.js} +1 -1
  104. package/dist/assets/{index-BqtJq3EF.js → index-CjW-BiBJ.js} +1 -1
  105. package/dist/assets/{index-Db3ZRDws.js → index-CosdjVLd.js} +1 -1
  106. package/dist/assets/{index-i5ly4LjU.js → index-CvPYqGkG.js} +1 -1
  107. package/dist/assets/{index-DX4QcWTB.js → index-Cvw6NSyS.js} +1 -1
  108. package/dist/assets/{index-DeMjTJxJ.js → index-D5vX4Ooa.js} +1 -1
  109. package/dist/assets/{index-B-wURug7.js → index-D9l4FLNE.js} +1 -1
  110. package/dist/assets/{index-BFruBwjT.js → index-DFjXeol_.js} +1 -1
  111. package/dist/assets/{index-CvQpkp6C.js → index-DIxJxM78.js} +9 -9
  112. package/dist/assets/{index-BqThu2uY.js → index-DesPWyQa.js} +1 -1
  113. package/dist/assets/{index-BKhaY6h3.js → index-Dg03Eob-.js} +1 -1
  114. package/dist/assets/{index-DFffafJk.js → index-DwqzQo9e.js} +3 -3
  115. package/dist/assets/{index-iByZOC72.js → index-QiNYWFY0.js} +1 -1
  116. package/dist/assets/{index-CCPa-_3P.js → index-UGGSjH4u.js} +1 -1
  117. package/dist/assets/{index-DTXVlwdz.js → index-cz02fWRO.js} +1 -1
  118. package/dist/assets/{index-xJBv_VjQ.js → index-oDZbyv4v.js} +4 -4
  119. package/dist/assets/{index-D90jUSrf.js → index-s7iKiLXT.js} +1 -1
  120. package/dist/assets/{index-BATO4pBH.js → index-xkcMt7XQ.js} +1 -1
  121. package/dist/assets/{index.es-B4WvF3X_.js → index.es-DohPHCUD.js} +1 -1
  122. package/dist/assets/{index.esm-Bv05oeeV.js → index.esm-Beu0fK3G.js} +1 -1
  123. package/dist/assets/{invitation-D18tWyxu.js → invitation-c2LXgJZO.js} +1 -1
  124. package/dist/assets/{invite-BMGqQLM9.js → invite-um-OhXL2.js} +1 -1
  125. package/dist/assets/{issue-passport-BEiivf0H.js → issue-passport-CCZaXyql.js} +1 -1
  126. package/dist/assets/{item-BNkHJk4v.js → item-CBjm7rgp.js} +1 -1
  127. package/dist/assets/ja-BOs7uPqI.js +1 -0
  128. package/dist/assets/{jss-plugin-props-sort.esm-TYQD_Idh.js → jss-plugin-props-sort.esm-D6EO5AkF.js} +1 -1
  129. package/dist/assets/ko-D1G4UvNg.js +1 -0
  130. package/dist/assets/{launch-result-message-wF7nzrW2.js → launch-result-message-DAGuAhAQ.js} +1 -1
  131. package/dist/assets/{layout-BOuDTjaq.js → layout-oG70Renu.js} +1 -1
  132. package/dist/assets/{list-header-xLJ1AFDh.js → list-header-DfX9T1rW.js} +1 -1
  133. package/dist/assets/localization-C8kIKwrb.js +1 -0
  134. package/dist/assets/{log-C_IQfpA6.js → log-BmIrjtPp.js} +1 -1
  135. package/dist/assets/{login-CKynPt3S.js → login-juMWHvtW.js} +1 -1
  136. package/dist/assets/{login-oauth-callback-DlPkWbQy.js → login-oauth-callback-_A65YhiH.js} +1 -1
  137. package/dist/assets/{logo-uploader-fiB12uqZ.js → logo-uploader-P1VlMV5V.js} +3 -3
  138. package/dist/assets/{lost-passport-CFO2cLSb.js → lost-passport-BkiX_vW7.js} +3 -3
  139. package/dist/assets/{lottie-DJwtX3kw.js → lottie-Cf2K1-ns.js} +1 -1
  140. package/dist/assets/{notifications-CIe1Wbve.js → notifications-DwrtVs17.js} +1 -1
  141. package/dist/assets/{open-window-BmdrOwtb.js → open-window-DvlHyaGG.js} +1 -1
  142. package/dist/assets/{overview-_WReVOO5.js → overview-BIRtop8p.js} +1 -1
  143. package/dist/assets/{page-header-qGr3Urx0.js → page-header-CNwTM6gh.js} +1 -1
  144. package/dist/assets/{permission-CTtuDV7x.js → permission-DaB1xF5g.js} +1 -1
  145. package/dist/assets/{preferences-DTNd1Hzy.js → preferences-Td5o-d6-.js} +1 -1
  146. package/dist/assets/pt-CcFeyma6.js +1 -0
  147. package/dist/assets/publish-resource-WQmyUOcm.js +1 -0
  148. package/dist/assets/{react-D5g67fVw.js → react-CwZHH_b9.js} +20 -20
  149. package/dist/assets/{redux-CFX_KgA-.js → redux-uiwtTAq3.js} +1 -1
  150. package/dist/assets/{resource-dialog-PcDAyoWb.js → resource-dialog-D8uC-XQU.js} +1 -1
  151. package/dist/assets/ru-OymXgLUI.js +1 -0
  152. package/dist/assets/sdk-ByGrtgOC.js +1 -0
  153. package/dist/assets/{selector-lupSMMbD.js → selector-CLP7imhL.js} +1 -1
  154. package/dist/assets/session-BmQaZaGU.js +1 -0
  155. package/dist/assets/{setup-DsNNvMHM.js → setup-WlrDU92w.js} +3 -3
  156. package/dist/assets/{shorten-label-nc4Gz0wo.js → shorten-label-DHOOsTvW.js} +1 -1
  157. package/dist/assets/{slicedToArray-D8wLvMFk.js → slicedToArray-shTeAcQc.js} +1 -1
  158. package/dist/assets/{spaces-6dcXbeW4.js → spaces-BirpDOm3.js} +1 -1
  159. package/dist/assets/{start-BZKaBE0Q.js → start-pnT_BQvG.js} +1 -1
  160. package/dist/assets/{step-actions-DrkmJABm.js → step-actions-Dj3cCBJ3.js} +1 -1
  161. package/dist/assets/{studio-BEeqozxg.js → studio-D3LuzSrd.js} +1 -1
  162. package/dist/assets/{switch-control-CjEJidzr.js → switch-control-dGBNspU7.js} +1 -1
  163. package/dist/assets/th-CZbdb5PZ.js +1 -0
  164. package/dist/assets/{toUpper-Ccj-rFez.js → toUpper-BAGcwHI1.js} +1 -1
  165. package/dist/assets/{transfer-D9kO5yaP.js → transfer-BPGSieyR.js} +1 -1
  166. package/dist/assets/{uniqBy-BJ4Rz_fc.js → uniqBy-C2dKepDX.js} +1 -1
  167. package/dist/assets/{unsubscribe-C1coPrfE.js → unsubscribe-CLOTSJNJ.js} +1 -1
  168. package/dist/assets/{url-join-F3HDi_f9.js → url-join-CTlMVeSl.js} +1 -1
  169. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-Enuu3Koa.js → use-blocklet-info-for-connect-did-spaces-BniHEOwv.js} +1 -1
  170. package/dist/assets/{use-mobile-E62R3PvF.js → use-mobile-coO1LYtd.js} +1 -1
  171. package/dist/assets/{useAsync-D88Uwkbh.js → useAsync-C-N7xB1Q.js} +1 -1
  172. package/dist/assets/{useFormControl-CVJHU3Z8.js → useFormControl-DqoBF9iH.js} +1 -1
  173. package/dist/assets/{useLocalStorage-ir8uP4g6.js → useLocalStorage-kWCrVKjB.js} +1 -1
  174. package/dist/assets/{useSetState-Bsisx7wb.js → useSetState-B68uVZku.js} +1 -1
  175. package/dist/assets/{useSlot-Lnh_3w1R.js → useSlot-CQP4hUUG.js} +1 -1
  176. package/dist/assets/{useSlotProps-CvpMe4Jk.js → useSlotProps-DMBoZT8C.js} +1 -1
  177. package/dist/assets/{useThemeProps-CDhmnq0d.js → useThemeProps-V4iYGCCr.js} +1 -1
  178. package/dist/assets/{user-center-DN7iYr7s.js → user-center-B6VeBSYd.js} +1 -1
  179. package/dist/assets/{user-sessions-Byj0rQDW.js → user-sessions-Bdav9S_E.js} +1 -1
  180. package/dist/assets/{util-Bv3X6aF1.js → util-D_sPE-Qe.js} +1 -1
  181. package/dist/assets/vi-DhjQx2Z1.js +1 -0
  182. package/dist/assets/wrap-locale-BrsNecIZ.js +1 -0
  183. package/dist/assets/{zh-DfGqeTts.js → zh-jGK5FFL0.js} +1 -1
  184. package/dist/assets/zh-tw-DnmwTx49.js +1 -0
  185. package/dist/index.html +1 -1
  186. package/dist/service-worker.js +1 -1
  187. package/package.json +25 -25
  188. package/dist/assets/api-LCPZdy3r.js +0 -1
  189. package/dist/assets/ar-2JePd-i1.js +0 -1
  190. package/dist/assets/de-DFRVy5eA.js +0 -1
  191. package/dist/assets/es-D3TLX5Mb.js +0 -1
  192. package/dist/assets/fr-B2p5dLWr.js +0 -1
  193. package/dist/assets/hi-DmXVnjfE.js +0 -1
  194. package/dist/assets/id-BPCkzz44.js +0 -1
  195. package/dist/assets/ja-DdBhyqmR.js +0 -1
  196. package/dist/assets/ko-DagkAgw5.js +0 -1
  197. package/dist/assets/localization-CMb7_NwM.js +0 -1
  198. package/dist/assets/pt-DTmAqAWs.js +0 -1
  199. package/dist/assets/publish-resource-tL30wKL2.js +0 -1
  200. package/dist/assets/ru-BZQlsXeO.js +0 -1
  201. package/dist/assets/sdk-DH6Qg9cJ.js +0 -1
  202. package/dist/assets/session-DUaMqnH_.js +0 -1
  203. package/dist/assets/th-DSRLorcE.js +0 -1
  204. package/dist/assets/vi-dE7BhTCc.js +0 -1
  205. package/dist/assets/wrap-locale-DqkY5JLX.js +0 -1
  206. package/dist/assets/zh-tw-COZAaB9V.js +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-CKynPt3S.js","assets/use-passport-id-B-b-_oYF.js","assets/LaunchOutlined-Dv-6yYm6.js","assets/login-oauth-callback-DlPkWbQy.js","assets/fallback-DA2HQbL8.js","assets/Alert-BBnZ-bJY.js","assets/useSlot-Lnh_3w1R.js","assets/connect-DbFTOOeI.js","assets/index-BATO4pBH.js","assets/fullpage-CpHiInve.js","assets/Link-6h9rQRZt.js","assets/exchange-passport-B-jGlSuV.js","assets/wrap-locale-DqkY5JLX.js","assets/issue-passport-BEiivf0H.js","assets/invitation-D18tWyxu.js","assets/index-CMSC7IoC.js","assets/session-DUaMqnH_.js","assets/sdk-DH6Qg9cJ.js","assets/CheckCircle-D8MY3EHO.js","assets/lost-passport-CFO2cLSb.js","assets/ViewList-Dh4E6yfK.js","assets/Done-BLCIniIk.js","assets/did-address-Ciyb1jN9.js","assets/Avatar-B_ozaB1d.js","assets/Stepper-uK2JpL--.js","assets/start-BZKaBE0Q.js","assets/PlayArrow-PtLuQObP.js","assets/Error-7Kc9kGgC.js","assets/ServerLogo-DWPLCv8y.js","assets/addon-CddIIloI.js","assets/selector-lupSMMbD.js","assets/QuestionMarkCircle-Deiz5Rc3.js","assets/setup-DsNNvMHM.js","assets/index-CCPa-_3P.js","assets/spaces-6dcXbeW4.js","assets/api-LCPZdy3r.js","assets/url-join-F3HDi_f9.js","assets/Skeleton-BY3oxWsr.js","assets/Hidden-DhJpb55-.js","assets/invite-BMGqQLM9.js","assets/transfer-D9kO5yaP.js","assets/dashboard-Cup1mVAX.js","assets/index-q-zqQDlr.js","assets/useLocalStorage-ir8uP4g6.js","assets/MoreVert-BTFxIHaV.js","assets/confirm-B7pqTTSN.js","assets/format-error-Db99DYGG.js","assets/Delete-D4dMA0lG.js","assets/ListItemText-CiKmy0GT.js","assets/ButtonGroup-Brd5tASZ.js","assets/RadioGroup-Go7EuXBQ.js","assets/FormControlLabel-DJ7JqxQ9.js","assets/useFormControl-CVJHU3Z8.js","assets/FormGroup-QuE1_Stk.js","assets/permission-CTtuDV7x.js","assets/useAsync-D88Uwkbh.js","assets/index-i5ly4LjU.js","assets/useSetState-Bsisx7wb.js","assets/index-CF_vZ6wr.js","assets/Toolbar-DDNMlPZf.js","assets/index-BQHcS9Mc.js","assets/user-center-DN7iYr7s.js","assets/index-BFruBwjT.js","assets/ExpandMore-Bu3C6pU8.js","assets/resource-dialog-PcDAyoWb.js","assets/OpenInNew-BWbkYWxs.js","assets/CloseOutlined-C_pRRRMb.js","assets/use-mobile-E62R3PvF.js","assets/index-CCsWG3Cf.js","assets/uniqBy-BJ4Rz_fc.js","assets/index-Be5Rna_o.js","assets/Select-DUGjpI0N.js","assets/FormControl-DKCPWiUE.js","assets/TextField-BiJ3RQiw.js","assets/InputLabel-C9tGpQ3p.js","assets/InputAdornment-btyswwKp.js","assets/user-sessions-Byj0rQDW.js","assets/index-BKhaY6h3.js","assets/FilterList-qJZckPS6.js","assets/useThemeProps-CDhmnq0d.js","assets/toPropertyKey-PLuKRk1e.js","assets/LastPage-B0el3h-h.js","assets/index-DTXVlwdz.js","assets/redux-CFX_KgA-.js","assets/Search-CbL27Q7U.js","assets/home-Dgp9XlAL.js","assets/studio-BEeqozxg.js","assets/preferences-DTNd1Hzy.js","assets/iframe-D5srTSG3.js","assets/localization-CMb7_NwM.js","assets/add-resource-DzhP3aLp.js","assets/add-component-core-B2J7jCBj.js","assets/lottie-DJwtX3kw.js","assets/launch-result-message-wF7nzrW2.js","assets/Close-B78FCRQD.js","assets/page-header-qGr3Urx0.js","assets/logo-uploader-fiB12uqZ.js","assets/index-BeM0EvDH.js","assets/index-B-wURug7.js","assets/EditIcon-D8pL4kWj.js","assets/Google-z-HMOZVU.js","assets/index-BqtJq3EF.js","assets/index-D4PP6P2d.css","assets/index-DX4QcWTB.js","assets/index-BqThu2uY.js","assets/item-BNkHJk4v.js","assets/Add-DK2sSVal.js","assets/Launch-ByZVFHQK.js","assets/DeleteOutline-xp-yy9Ns.js","assets/click-to-copy-DtOMfCfh.js","assets/shorten-label-nc4Gz0wo.js","assets/jss-plugin-props-sort.esm-TYQD_Idh.js","assets/util-Bv3X6aF1.js","assets/connect-to-Cd3wBWCK.js","assets/use-blocklet-info-for-connect-did-spaces-Enuu3Koa.js","assets/index-iByZOC72.js","assets/content-layout-D5ZvSsu-.js","assets/ArrowDropDown-Ds7eP3kq.js","assets/preact.module-DJUF--8d.js","assets/add-component-core-D_j8BgsJ.css","assets/publish-resource-tL30wKL2.js","assets/index-xJBv_VjQ.js","assets/AddBox-k344mb3q.js","assets/ChevronRight-Clkn1-CT.js","assets/Download-YHpdHIjQ.js","assets/index-HqFqdQ4r.js","assets/useSlotProps-CvpMe4Jk.js","assets/index-C7GXSvdc.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/login-juMWHvtW.js","assets/use-passport-id-B-b-_oYF.js","assets/LaunchOutlined-BEo8P2Tl.js","assets/login-oauth-callback-_A65YhiH.js","assets/fallback-Cn_W-m4r.js","assets/Alert-DPUEB95E.js","assets/useSlot-CQP4hUUG.js","assets/connect-D07YGJkK.js","assets/index-xkcMt7XQ.js","assets/fullpage-DTRlawT9.js","assets/Link-CPGMRK--.js","assets/exchange-passport--fiEF2lu.js","assets/wrap-locale-BrsNecIZ.js","assets/issue-passport-CCZaXyql.js","assets/invitation-c2LXgJZO.js","assets/index-BtPZTcXb.js","assets/session-BmQaZaGU.js","assets/sdk-ByGrtgOC.js","assets/CheckCircle-CyZ2-BIj.js","assets/lost-passport-BkiX_vW7.js","assets/ViewList-BFQT-hmR.js","assets/Done-ZAZhEq2L.js","assets/did-address-43xkXM21.js","assets/Avatar-Cw952dlh.js","assets/Stepper-xGvqwz44.js","assets/start-pnT_BQvG.js","assets/PlayArrow-CnWuAQ7W.js","assets/Error-xmdfCNYq.js","assets/ServerLogo-DfCDjLNl.js","assets/addon-CSAbVfSS.js","assets/selector-CLP7imhL.js","assets/QuestionMarkCircle-B7Bpx0cE.js","assets/setup-WlrDU92w.js","assets/index-UGGSjH4u.js","assets/spaces-BirpDOm3.js","assets/api-_ltIr2BU.js","assets/url-join-CTlMVeSl.js","assets/Skeleton-DqrgKJha.js","assets/Hidden-w-nWLLe2.js","assets/invite-um-OhXL2.js","assets/transfer-BPGSieyR.js","assets/dashboard-BeSQUyuf.js","assets/index-B29G6Shi.js","assets/useLocalStorage-kWCrVKjB.js","assets/MoreVert-D7siuKO-.js","assets/confirm-CtLbKcS0.js","assets/format-error-Bn7NObKb.js","assets/Delete-B2wSgiTE.js","assets/ListItemText-D00e-P7J.js","assets/ButtonGroup-d0oDm0RO.js","assets/RadioGroup-Bu2zmWw_.js","assets/FormControlLabel-Cn1ZEQIw.js","assets/useFormControl-DqoBF9iH.js","assets/FormGroup-BDqHH6R7.js","assets/permission-DaB1xF5g.js","assets/useAsync-C-N7xB1Q.js","assets/index-CvPYqGkG.js","assets/useSetState-B68uVZku.js","assets/index-C0SGixzY.js","assets/Toolbar-IW4D_zYa.js","assets/index-Cb0PVWPM.js","assets/user-center-B6VeBSYd.js","assets/index-DFjXeol_.js","assets/ExpandMore-DkoxrM3F.js","assets/resource-dialog-D8uC-XQU.js","assets/OpenInNew-Dn1FcPSH.js","assets/CloseOutlined-DmlGPmzq.js","assets/use-mobile-coO1LYtd.js","assets/index-BLVcicxZ.js","assets/uniqBy-C2dKepDX.js","assets/index-CTfT52DI.js","assets/Select-BzfN1x8W.js","assets/FormControl-BUn4wQGt.js","assets/TextField-OgHHL_KP.js","assets/InputLabel-BU0FzAth.js","assets/InputAdornment-DKErxOxA.js","assets/user-sessions-Bdav9S_E.js","assets/index-Dg03Eob-.js","assets/FilterList-DbTqBTrF.js","assets/useThemeProps-V4iYGCCr.js","assets/toPropertyKey-PLuKRk1e.js","assets/LastPage-BRQIhdX7.js","assets/index-cz02fWRO.js","assets/redux-uiwtTAq3.js","assets/Search-CQlVySI6.js","assets/home-C1E0r4u0.js","assets/studio-D3LuzSrd.js","assets/preferences-Td5o-d6-.js","assets/iframe-EFuUBe3_.js","assets/localization-C8kIKwrb.js","assets/add-resource-2dxnZcDy.js","assets/add-component-core-BPcx3JYq.js","assets/lottie-Cf2K1-ns.js","assets/launch-result-message-DAGuAhAQ.js","assets/Close-BkBXMJo_.js","assets/page-header-CNwTM6gh.js","assets/logo-uploader-P1VlMV5V.js","assets/index-BZUzIWGh.js","assets/index-D9l4FLNE.js","assets/EditIcon-B68lRQt1.js","assets/Google-DwKupHqA.js","assets/index-CjW-BiBJ.js","assets/index-D4PP6P2d.css","assets/index-Cvw6NSyS.js","assets/index-DesPWyQa.js","assets/item-CBjm7rgp.js","assets/Add-2VoKTpUb.js","assets/Launch-DZvL7Btt.js","assets/DeleteOutline-BMqkCxEq.js","assets/click-to-copy-3x1G9XH4.js","assets/shorten-label-DHOOsTvW.js","assets/jss-plugin-props-sort.esm-D6EO5AkF.js","assets/util-D_sPE-Qe.js","assets/connect-to-COqWAMKF.js","assets/use-blocklet-info-for-connect-did-spaces-BniHEOwv.js","assets/index-QiNYWFY0.js","assets/content-layout-DPij9Nh6.js","assets/ArrowDropDown-0yDa2aHH.js","assets/preact.module-DJUF--8d.js","assets/add-component-core-D_j8BgsJ.css","assets/publish-resource-WQmyUOcm.js","assets/index-oDZbyv4v.js","assets/AddBox-Dl7mso27.js","assets/ChevronRight-DDyzifk9.js","assets/Download-1xH6mRbf.js","assets/index-HqFqdQ4r.js","assets/useSlotProps-DMBoZT8C.js","assets/index-BJtcCGWr.js"])))=>i.map(i=>d[i]);
2
2
  var z1=a=>{throw TypeError(a)};var kp=(a,j,_e)=>j.has(a)||z1("Cannot "+_e);var Gr=(a,j,_e)=>(kp(a,j,"read from private field"),_e?_e.call(a):j.get(a)),Ps=(a,j,_e)=>j.has(a)?z1("Cannot add the same private member more than once"):j instanceof WeakSet?j.add(a):j.set(a,_e),Ho=(a,j,_e,et)=>(kp(a,j,"write to private field"),et?et.call(a,_e):j.set(a,_e),_e),wo=(a,j,_e)=>(kp(a,j,"access private method"),_e);var Mp=(a,j,_e,et)=>({set _(nt){Ho(a,j,nt,_e)},get _(){return Gr(a,j,et)}});function _mergeNamespaces(a,j){for(var _e=0;_e<j.length;_e++){const et=j[_e];if(typeof et!="string"&&!Array.isArray(et)){for(const nt in et)if(nt!=="default"&&!(nt in a)){const tt=Object.getOwnPropertyDescriptor(et,nt);tt&&Object.defineProperty(a,nt,tt.get?tt:{enumerable:!0,get:()=>et[nt]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const j=document.createElement("link").relList;if(j&&j.supports&&j.supports("modulepreload"))return;for(const nt of document.querySelectorAll('link[rel="modulepreload"]'))et(nt);new MutationObserver(nt=>{for(const tt of nt)if(tt.type==="childList")for(const ot of tt.addedNodes)ot.tagName==="LINK"&&ot.rel==="modulepreload"&&et(ot)}).observe(document,{childList:!0,subtree:!0});function _e(nt){const tt={};return nt.integrity&&(tt.integrity=nt.integrity),nt.referrerPolicy&&(tt.referrerPolicy=nt.referrerPolicy),nt.crossOrigin==="use-credentials"?tt.credentials="include":nt.crossOrigin==="anonymous"?tt.credentials="omit":tt.credentials="same-origin",tt}function et(nt){if(nt.ep)return;nt.ep=!0;const tt=_e(nt);fetch(nt.href,tt)}})();const scriptRel="modulepreload",assetsURL=function(a){return"/.well-known/service/static/"+a},seen={},__vitePreload=function(j,_e,et){let nt=Promise.resolve();if(_e&&_e.length>0){document.getElementsByTagName("link");const tt=document.querySelector("meta[property=csp-nonce]"),ot=(tt==null?void 0:tt.nonce)||(tt==null?void 0:tt.getAttribute("nonce"));nt=Promise.all(_e.map(ft=>{if(ft=assetsURL(ft),ft in seen)return;seen[ft]=!0;const dt=ft.endsWith(".css"),mt=dt?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${ft}"]${mt}`))return;const pt=document.createElement("link");if(pt.rel=dt?"stylesheet":scriptRel,dt||(pt.as="script",pt.crossOrigin=""),pt.href=ft,ot&&pt.setAttribute("nonce",ot),document.head.appendChild(pt),dt)return new Promise((yt,Tt)=>{pt.addEventListener("load",yt),pt.addEventListener("error",()=>Tt(new Error(`Unable to preload CSS for ${ft}`)))})}))}return nt.then(()=>j()).catch(tt=>{const ot=new Event("vite:preloadError",{cancelable:!0});if(ot.payload=tt,window.dispatchEvent(ot),!ot.defaultPrevented)throw tt})};var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs$1(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}function getAugmentedNamespace(a){if(a.__esModule)return a;var j=a.default;if(typeof j=="function"){var _e=function et(){return this instanceof et?Reflect.construct(j,arguments,this.constructor):j.apply(this,arguments)};_e.prototype=j.prototype}else _e={};return Object.defineProperty(_e,"__esModule",{value:!0}),Object.keys(a).forEach(function(et){var nt=Object.getOwnPropertyDescriptor(a,et);Object.defineProperty(_e,et,nt.get?nt:{enumerable:!0,get:function(){return a[et]}})}),_e}var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},react={exports:{}},react_production_min={};/**
3
3
  * @license React
4
4
  * react.production.min.js
@@ -257,8 +257,8 @@ object-assign
257
257
  10.59L10 14.17L17.59 6.58L19 8L10 17Z`}))},WarningIcon=function(j){return React$2.createElement(SvgIcon,Object.assign({},j),React$2.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},ErrorIcon=function(j){return React$2.createElement(SvgIcon,Object.assign({},j),React$2.createElement("path",{d:`M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,
258
258
  6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,
259
259
  13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z`}))},InfoIcon=function(j){return React$2.createElement(SvgIcon,Object.assign({},j),React$2.createElement("path",{d:`M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,
260
- 0 22,12A10,10 0 0,0 12,2Z`}))},iconStyles={fontSize:20,marginInlineEnd:8},defaultIconVariants={default:void 0,success:React$2.createElement(CheckIcon,{style:iconStyles}),warning:React$2.createElement(WarningIcon,{style:iconStyles}),error:React$2.createElement(ErrorIcon,{style:iconStyles}),info:React$2.createElement(InfoIcon,{style:iconStyles})};function createChainedFunction(a,j){return a.reduce(function(_e,et){return et==null?_e:function(){for(var tt=arguments.length,ot=new Array(tt),ft=0;ft<tt;ft++)ot[ft]=arguments[ft];var dt=[].concat(ot);j&&dt.indexOf(j)===-1&&dt.push(j),_e.apply(this,dt),et.apply(this,dt)}},function(){})}var useEnhancedEffect=typeof window<"u"?reactExports.useLayoutEffect:reactExports.useEffect;function useEventCallback(a){var j=reactExports.useRef(a);return useEnhancedEffect(function(){j.current=a}),reactExports.useCallback(function(){return j.current.apply(void 0,arguments)},[])}var Snackbar=reactExports.forwardRef(function(a,j){var _e=a.children,et=a.autoHideDuration,nt=a.ClickAwayListenerProps,tt=a.disableWindowBlurListener,ot=tt===void 0?!1:tt,ft=a.onClose,dt=a.onMouseEnter,mt=a.onMouseLeave,pt=a.open,yt=a.resumeHideDuration,Tt=_objectWithoutPropertiesLoose(a,["children","autoHideDuration","ClickAwayListenerProps","disableWindowBlurListener","onClose","onMouseEnter","onMouseLeave","open","resumeHideDuration"]),St=reactExports.useRef(),At=useEventCallback(function(){ft&&ft.apply(void 0,arguments)}),Ct=useEventCallback(function(Yt){!ft||Yt==null||(clearTimeout(St.current),St.current=setTimeout(function(){At(null,REASONS.TIMEOUT)},Yt))});reactExports.useEffect(function(){return pt&&Ct(et),function(){clearTimeout(St.current)}},[pt,et,Ct]);var Mt=function(){clearTimeout(St.current)},kt=reactExports.useCallback(function(){et!=null&&Ct(yt??et*.5)},[et,yt,Ct]),Pt=function(jt){dt&&dt(jt),Mt()},Lt=function(jt){mt&&mt(jt),kt()},Ft=function(jt){ft&&ft(jt,REASONS.CLICKAWAY)};return reactExports.useEffect(function(){if(!ot&&pt)return window.addEventListener("focus",kt),window.addEventListener("blur",Mt),function(){window.removeEventListener("focus",kt),window.removeEventListener("blur",Mt)}},[ot,kt,pt]),reactExports.createElement(ClickAwayListener,_extends({onClickAway:Ft},nt),reactExports.createElement("div",_extends({onMouseEnter:Pt,onMouseLeave:Lt,ref:j},Tt),_e))}),componentName$1="SnackbarItem",classes$1$1={contentRoot:componentName$1+"-contentRoot",lessPadding:componentName$1+"-lessPadding",variantSuccess:componentName$1+"-variantSuccess",variantError:componentName$1+"-variantError",variantInfo:componentName$1+"-variantInfo",variantWarning:componentName$1+"-variantWarning",message:componentName$1+"-message",action:componentName$1+"-action",wrappedRoot:componentName$1+"-wrappedRoot"},StyledSnackbar=styled$1(Snackbar)(function(a){var j,_e=a.theme,et=_e.palette.mode||_e.palette.type,nt=emphasize$1(_e.palette.background.default,et==="light"?.8:.98);return j={},j["&."+classes$1$1.wrappedRoot]={position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0},j["."+classes$1$1.contentRoot]=_extends({},_e.typography.body2,{backgroundColor:nt,color:_e.palette.getContrastText(nt),alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"}),j["."+classes$1$1.lessPadding]={paddingLeft:8*2.5},j["."+classes$1$1.variantSuccess]={backgroundColor:"#43a047",color:"#fff"},j["."+classes$1$1.variantError]={backgroundColor:"#d32f2f",color:"#fff"},j["."+classes$1$1.variantInfo]={backgroundColor:"#2196f3",color:"#fff"},j["."+classes$1$1.variantWarning]={backgroundColor:"#ff9800",color:"#fff"},j["."+classes$1$1.message]={display:"flex",alignItems:"center",padding:"8px 0"},j["."+classes$1$1.action]={display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8},j}),SnackbarItem=function(j){var _e=j.classes,et=_objectWithoutPropertiesLoose(j,["classes"]),nt=reactExports.useRef(),tt=reactExports.useState(!0),ot=tt[0],ft=tt[1];reactExports.useEffect(function(){return function(){nt.current&&clearTimeout(nt.current)}},[]);var dt=createChainedFunction([et.snack.onClose,et.onClose],et.snack.key),mt=function(){et.snack.requestClose&&dt(null,REASONS.INSTRCUTED)},pt=function(){nt.current=setTimeout(function(){ft(!ot)},125)},yt=et.style,Tt=et.ariaAttributes,St=et.className,At=et.hideIconVariant,Ct=et.iconVariant,Mt=et.snack,kt=et.action,Pt=et.content,Lt=et.TransitionComponent,Ft=et.TransitionProps,Yt=et.transitionDuration,jt=_objectWithoutPropertiesLoose(et,["style","dense","ariaAttributes","className","hideIconVariant","iconVariant","snack","action","content","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),Wt=Mt.key,sn=Mt.open,ln=Mt.className,vn=Mt.variant,Rt=Mt.content,rt=Mt.action,ut=Mt.ariaAttributes,ct=Mt.anchorOrigin,ht=Mt.message,vt=Mt.TransitionComponent,$t=Mt.TransitionProps,xt=Mt.transitionDuration,bt=_objectWithoutPropertiesLoose(Mt,["persist","key","open","entered","requestClose","className","variant","content","action","ariaAttributes","anchorOrigin","message","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),it=_extends({},defaultIconVariants,{},Ct)[vn],Et=_extends({"aria-describedby":"notistack-snackbar"},objectMerge(ut,Tt)),Dt=vt||Lt||DEFAULTS.TransitionComponent,Nt=objectMerge(xt,Yt,DEFAULTS.transitionDuration),Vt=_extends({direction:getTransitionDirection(ct)},objectMerge($t,Ft)),Bt=rt||kt;typeof Bt=="function"&&(Bt=Bt(Wt));var Kt=Rt||Pt;typeof Kt=="function"&&(Kt=Kt(Wt,Mt.message));var qt=["onEnter","onEntering","onEntered","onExit","onExiting","onExited"].reduce(function(nn,un){var hn;return _extends({},nn,(hn={},hn[un]=createChainedFunction([et.snack[un],et[un]],et.snack.key),hn))},{});return React$2.createElement(Collapse,{unmountOnExit:!0,timeout:175,in:ot,onExited:qt.onExited},React$2.createElement(StyledSnackbar,Object.assign({},jt,bt,{open:sn,className:clsx(_e.root,classes$1$1.wrappedRoot,_e[transformer.toAnchorOrigin(ct)]),onClose:dt}),React$2.createElement(Dt,Object.assign({appear:!0,in:sn,timeout:Nt},Vt,{onExit:qt.onExit,onExiting:qt.onExiting,onExited:pt,onEnter:qt.onEnter,onEntering:qt.onEntering,onEntered:createChainedFunction([qt.onEntered,mt])}),Kt||React$2.createElement(SnackbarContent,Object.assign({},Et,{role:"alert",style:yt,className:clsx(classes$1$1.contentRoot,classes$1$1[transformer.toVariant(vn)],_e[transformer.toVariant(vn)],St,ln,!At&&it&&classes$1$1.lessPadding)}),React$2.createElement("div",{id:Et["aria-describedby"],className:classes$1$1.message},At?null:it,ht),Bt&&React$2.createElement("div",{className:classes$1$1.action},Bt)))))},collapse={container:"& > .MuiCollapse-container, & > .MuiCollapse-root",wrapper:"& > .MuiCollapse-container > .MuiCollapse-wrapper, & > .MuiCollapse-root > .MuiCollapse-wrapper"},xsWidthMargin=16,componentName$2="SnackbarContainer",classes$2={root:componentName$2+"-root",rootDense:componentName$2+"-rootDense",top:componentName$2+"-top",bottom:componentName$2+"-bottom",left:componentName$2+"-left",right:componentName$2+"-right",center:componentName$2+"-center"},Root$1$1=styled$1("div")(function(a){var j,_e,et,nt,tt,ot,ft=a.theme;return ot={},ot["&."+classes$2.root]=(j={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:ft.zIndex.snackbar,height:"auto",width:"auto",transition:"top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms",pointerEvents:"none"},j[collapse.container]={pointerEvents:"all"},j[collapse.wrapper]={padding:SNACKBAR_INDENTS.snackbar.default+"px 0px",transition:"padding 300ms ease 0ms"},j.maxWidth="calc(100% - "+SNACKBAR_INDENTS.view.default*2+"px)",j[ft.breakpoints.down("sm")]={width:"100%",maxWidth:"calc(100% - "+xsWidthMargin*2+"px)"},j),ot["&."+classes$2.rootDense]=(_e={},_e[collapse.wrapper]={padding:SNACKBAR_INDENTS.snackbar.dense+"px 0px"},_e),ot["&."+classes$2.top]={top:SNACKBAR_INDENTS.view.default-SNACKBAR_INDENTS.snackbar.default,flexDirection:"column"},ot["&."+classes$2.bottom]={bottom:SNACKBAR_INDENTS.view.default-SNACKBAR_INDENTS.snackbar.default,flexDirection:"column-reverse"},ot["&."+classes$2.left]=(et={left:SNACKBAR_INDENTS.view.default},et[ft.breakpoints.up("sm")]={alignItems:"flex-start"},et[ft.breakpoints.down("sm")]={left:xsWidthMargin+"px"},et),ot["&."+classes$2.right]=(nt={right:SNACKBAR_INDENTS.view.default},nt[ft.breakpoints.up("sm")]={alignItems:"flex-end"},nt[ft.breakpoints.down("sm")]={right:xsWidthMargin+"px"},nt),ot["&."+classes$2.center]=(tt={left:"50%",transform:"translateX(-50%)"},tt[ft.breakpoints.up("sm")]={alignItems:"center"},tt),ot}),SnackbarContainer=function(j){var _e=j.className,et=j.anchorOrigin,nt=j.dense,tt=_objectWithoutPropertiesLoose(j,["className","anchorOrigin","dense"]),ot=clsx(classes$2[et.vertical],classes$2[et.horizontal],classes$2.root,_e,nt&&classes$2.rootDense);return React$2.createElement(Root$1$1,Object.assign({className:ot},tt))},SnackbarContainer$1=React$2.memo(SnackbarContainer),SnackbarProvider=function(a){_inheritsLoose$1(j,a);function j(et){var nt;return nt=a.call(this,et)||this,nt.enqueueSnackbar=function(tt,ot){ot===void 0&&(ot={});var ft=ot,dt=ft.key,mt=ft.preventDuplicate,pt=_objectWithoutPropertiesLoose(ft,["key","preventDuplicate"]),yt=isDefined(dt),Tt=yt?dt:new Date().getTime()+Math.random(),St=merge$3(pt,nt.props,DEFAULTS),At=_extends({key:Tt},pt,{message:tt,open:!0,entered:!1,requestClose:!1,variant:St("variant"),anchorOrigin:St("anchorOrigin"),autoHideDuration:St("autoHideDuration")});return pt.persist&&(At.autoHideDuration=void 0),nt.setState(function(Ct){if(mt===void 0&&nt.props.preventDuplicate||mt){var Mt=function(Ft){return yt?Ft.key===dt:Ft.message===tt},kt=Ct.queue.findIndex(Mt)>-1,Pt=Ct.snacks.findIndex(Mt)>-1;if(kt||Pt)return Ct}return nt.handleDisplaySnack(_extends({},Ct,{queue:[].concat(Ct.queue,[At])}))}),Tt},nt.handleDisplaySnack=function(tt){var ot=tt.snacks;return ot.length>=nt.maxSnack?nt.handleDismissOldest(tt):nt.processQueue(tt)},nt.processQueue=function(tt){var ot=tt.queue,ft=tt.snacks;return ot.length>0?_extends({},tt,{snacks:[].concat(ft,[ot[0]]),queue:ot.slice(1,ot.length)}):tt},nt.handleDismissOldest=function(tt){if(tt.snacks.some(function(pt){return!pt.open||pt.requestClose}))return tt;var ot=!1,ft=!1,dt=tt.snacks.reduce(function(pt,yt){return pt+(yt.open&&yt.persist?1:0)},0);dt===nt.maxSnack&&(ft=!0);var mt=tt.snacks.map(function(pt){return!ot&&(!pt.persist||ft)?(ot=!0,pt.entered?(pt.onClose&&pt.onClose(null,REASONS.MAXSNACK,pt.key),nt.props.onClose&&nt.props.onClose(null,REASONS.MAXSNACK,pt.key),_extends({},pt,{open:!1})):_extends({},pt,{requestClose:!0})):_extends({},pt)});return _extends({},tt,{snacks:mt})},nt.handleEnteredSnack=function(tt,ot,ft){if(!isDefined(ft))throw new Error("handleEnteredSnack Cannot be called with undefined key");nt.setState(function(dt){var mt=dt.snacks;return{snacks:mt.map(function(pt){return pt.key===ft?_extends({},pt,{entered:!0}):_extends({},pt)})}})},nt.handleCloseSnack=function(tt,ot,ft){if(nt.props.onClose&&nt.props.onClose(tt,ot,ft),ot!==REASONS.CLICKAWAY){var dt=ft===void 0;nt.setState(function(mt){var pt=mt.snacks,yt=mt.queue;return{snacks:pt.map(function(Tt){return!dt&&Tt.key!==ft?_extends({},Tt):Tt.entered?_extends({},Tt,{open:!1}):_extends({},Tt,{requestClose:!0})}),queue:yt.filter(function(Tt){return Tt.key!==ft})}})}},nt.closeSnackbar=function(tt){var ot=nt.state.snacks.find(function(ft){return ft.key===tt});isDefined(tt)&&ot&&ot.onClose&&ot.onClose(null,REASONS.INSTRUCTED,tt),nt.handleCloseSnack(null,REASONS.INSTRUCTED,tt)},nt.handleExitedSnack=function(tt,ot,ft){var dt=ot||ft;if(!isDefined(dt))throw new Error("handleExitedSnack Cannot be called with undefined key");nt.setState(function(mt){var pt=nt.processQueue(_extends({},mt,{snacks:mt.snacks.filter(function(yt){return yt.key!==dt})}));return pt.queue.length===0?pt:nt.handleDismissOldest(pt)})},nt.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:nt.enqueueSnackbar.bind(_assertThisInitialized(nt)),closeSnackbar:nt.closeSnackbar.bind(_assertThisInitialized(nt))}},nt}var _e=j.prototype;return _e.render=function(){var nt=this,tt=this.state.contextValue,ot=this.props,ft=ot.iconVariant,dt=ot.dense,mt=dt===void 0?DEFAULTS.dense:dt,pt=ot.hideIconVariant,yt=pt===void 0?DEFAULTS.hideIconVariant:pt,Tt=ot.domRoot,St=ot.children,At=ot.classes,Ct=At===void 0?{}:At,Mt=_objectWithoutPropertiesLoose(ot,["maxSnack","preventDuplicate","variant","anchorOrigin","iconVariant","dense","hideIconVariant","domRoot","children","classes"]),kt=this.state.snacks.reduce(function(Lt,Ft){var Yt,jt=originKeyExtractor(Ft.anchorOrigin),Wt=Lt[jt]||[];return _extends({},Lt,(Yt={},Yt[jt]=[].concat(Wt,[Ft]),Yt))},{}),Pt=Object.keys(kt).map(function(Lt){var Ft=kt[Lt];return React$2.createElement(SnackbarContainer$1,{key:Lt,dense:mt,anchorOrigin:Ft[0].anchorOrigin,className:clsx(Ct.containerRoot,Ct[transformer.toContainerAnchorOrigin(Lt)])},Ft.map(function(Yt){return React$2.createElement(SnackbarItem,Object.assign({},Mt,{key:Yt.key,snack:Yt,dense:mt,iconVariant:ft,hideIconVariant:yt,classes:omitContainerKeys(Ct),onClose:nt.handleCloseSnack,onExited:createChainedFunction([nt.handleExitedSnack,nt.props.onExited]),onEntered:createChainedFunction([nt.handleEnteredSnack,nt.props.onEntered])}))}))});return React$2.createElement(SnackbarContext.Provider,{value:tt},St,Tt?reactDomExports.createPortal(Pt,Tt):Pt)},_createClass(j,[{key:"maxSnack",get:function(){return this.props.maxSnack||DEFAULTS.maxSnack}}]),j}(reactExports.Component),useSnackbar=function(){return reactExports.useContext(SnackbarContext)},Close={},createSvgIcon={};const require$$0$7=getAugmentedNamespace(utils$p);var hasRequiredCreateSvgIcon;function requireCreateSvgIcon(){return hasRequiredCreateSvgIcon||(hasRequiredCreateSvgIcon=1,function(a){"use client";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return j.createSvgIcon}});var j=require$$0$7}(createSvgIcon)),createSvgIcon}var _interopRequireDefault$7=interopRequireDefaultExports;Object.defineProperty(Close,"__esModule",{value:!0});var default_1$7=Close.default=void 0,_createSvgIcon$4=_interopRequireDefault$7(requireCreateSvgIcon()),_jsxRuntime$6=jsxRuntimeExports;default_1$7=Close.default=(0,_createSvgIcon$4.default)((0,_jsxRuntime$6.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 12z"}),"Close");function noop$6(){}var noop_1=noop$6;const noop$7=getDefaultExportFromCjs$1(noop_1);let success=noop$7,error=noop$7,warning=noop$7,info=noop$7;const genFn=(a,j)=>(_e,et={})=>{a(_e,{autoHideDuration:5e3,variant:j,...et})};function ToastProvider({children:a}){const j=reactExports.createRef(),_e=et=>()=>{j.current.closeSnackbar(et)};return jsxRuntimeExports.jsxs(SnackbarProvider,{anchorOrigin:{vertical:"top",horizontal:"right"},ref:j,action:et=>jsxRuntimeExports.jsx(IconButton,{"aria-label":"close",color:"inherit",onClick:_e(et),size:"large",children:jsxRuntimeExports.jsx(default_1$7,{style:{fontSize:16}})},"close"),children:[jsxRuntimeExports.jsx(Toast,{}),a]})}function Toast(){const{enqueueSnackbar:a}=useSnackbar();return success=genFn(a,"success"),error=genFn(a,"error"),warning=genFn(a,"warning"),info=genFn(a,"info"),null}const Toast$1={success:(a,j={},..._e)=>success(a,j,..._e),error:(a,j={autoHideDuration:15e3},..._e)=>error(a,j,..._e),warning:(a,j={},..._e)=>warning(a,j,..._e),info:(a,j={},..._e)=>info(a,j,..._e)};var flat=flatten$4;flatten$4.flatten=flatten$4;flatten$4.unflatten=unflatten;function isBuffer$7(a){return a&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function keyIdentity(a){return a}function flatten$4(a,j){j=j||{};const _e=j.delimiter||".",et=j.maxDepth,nt=j.transformKey||keyIdentity,tt={};function ot(ft,dt,mt){mt=mt||1,Object.keys(ft).forEach(function(pt){const yt=ft[pt],Tt=j.safe&&Array.isArray(yt),St=Object.prototype.toString.call(yt),At=isBuffer$7(yt),Ct=St==="[object Object]"||St==="[object Array]",Mt=dt?dt+_e+nt(pt):nt(pt);if(!Tt&&!At&&Ct&&Object.keys(yt).length&&(!j.maxDepth||mt<et))return ot(yt,Mt,mt+1);tt[Mt]=yt})}return ot(a),tt}function unflatten(a,j){j=j||{};const _e=j.delimiter||".",et=j.overwrite||!1,nt=j.transformKey||keyIdentity,tt={};if(isBuffer$7(a)||Object.prototype.toString.call(a)!=="[object Object]")return a;function ft(pt){const yt=Number(pt);return isNaN(yt)||pt.indexOf(".")!==-1||j.object?pt:yt}function dt(pt,yt,Tt){return Object.keys(Tt).reduce(function(St,At){return St[pt+_e+At]=Tt[At],St},yt)}function mt(pt){const yt=Object.prototype.toString.call(pt),Tt=yt==="[object Array]",St=yt==="[object Object]";if(pt){if(Tt)return!pt.length;if(St)return!Object.keys(pt).length}else return!0}return a=Object.keys(a).reduce(function(pt,yt){const Tt=Object.prototype.toString.call(a[yt]);return!(Tt==="[object Object]"||Tt==="[object Array]")||mt(a[yt])?(pt[yt]=a[yt],pt):dt(yt,pt,flatten$4(a[yt],j))},{}),Object.keys(a).forEach(function(pt){const yt=pt.split(_e).map(nt);let Tt=ft(yt.shift()),St=ft(yt[0]),At=tt;for(;St!==void 0;){if(Tt==="__proto__")return;const Ct=Object.prototype.toString.call(At[Tt]),Mt=Ct==="[object Object]"||Ct==="[object Array]";if(!et&&!Mt&&typeof At[Tt]<"u")return;(et&&!Mt||!et&&At[Tt]==null)&&(At[Tt]=typeof St=="number"&&!j.object?[]:{}),At=At[Tt],yt.length>0&&(Tt=ft(yt.shift()),St=ft(yt[0]))}At[Tt]=unflatten(a[pt],j)}),tt}const be=getDefaultExportFromCjs$1(flat);var ListCache$4=_ListCache;function stackClear$1(){this.__data__=new ListCache$4,this.size=0}var _stackClear=stackClear$1;function stackDelete$1(a){var j=this.__data__,_e=j.delete(a);return this.size=j.size,_e}var _stackDelete=stackDelete$1;function stackGet$1(a){return this.__data__.get(a)}var _stackGet=stackGet$1;function stackHas$1(a){return this.__data__.has(a)}var _stackHas=stackHas$1,ListCache$3=_ListCache,Map$4=_Map,MapCache$3=_MapCache,LARGE_ARRAY_SIZE$1=200;function stackSet$1(a,j){var _e=this.__data__;if(_e instanceof ListCache$3){var et=_e.__data__;if(!Map$4||et.length<LARGE_ARRAY_SIZE$1-1)return et.push([a,j]),this.size=++_e.size,this;_e=this.__data__=new MapCache$3(et)}return _e.set(a,j),this.size=_e.size,this}var _stackSet=stackSet$1,ListCache$2=_ListCache,stackClear=_stackClear,stackDelete=_stackDelete,stackGet=_stackGet,stackHas=_stackHas,stackSet=_stackSet;function Stack$4(a){var j=this.__data__=new ListCache$2(a);this.size=j.size}Stack$4.prototype.clear=stackClear;Stack$4.prototype.delete=stackDelete;Stack$4.prototype.get=stackGet;Stack$4.prototype.has=stackHas;Stack$4.prototype.set=stackSet;var _Stack=Stack$4,getNative$6=_getNative,defineProperty$4=function(){try{var a=getNative$6(Object,"defineProperty");return a({},"",{}),a}catch{}}(),_defineProperty$2=defineProperty$4,defineProperty$3=_defineProperty$2;function baseAssignValue$3(a,j,_e){j=="__proto__"&&defineProperty$3?defineProperty$3(a,j,{configurable:!0,enumerable:!0,value:_e,writable:!0}):a[j]=_e}var _baseAssignValue=baseAssignValue$3,baseAssignValue$2=_baseAssignValue,eq$8=eq_1$1;function assignMergeValue$2(a,j,_e){(_e!==void 0&&!eq$8(a[j],_e)||_e===void 0&&!(j in a))&&baseAssignValue$2(a,j,_e)}var _assignMergeValue=assignMergeValue$2;function createBaseFor$1(a){return function(j,_e,et){for(var nt=-1,tt=Object(j),ot=et(j),ft=ot.length;ft--;){var dt=ot[a?ft:++nt];if(_e(tt[dt],dt,tt)===!1)break}return j}}var _createBaseFor=createBaseFor$1,createBaseFor=_createBaseFor,baseFor$2=createBaseFor(),_baseFor=baseFor$2,_cloneBuffer={exports:{}};_cloneBuffer.exports;(function(a,j){var _e=_root,et=j&&!j.nodeType&&j,nt=et&&!0&&a&&!a.nodeType&&a,tt=nt&&nt.exports===et,ot=tt?_e.Buffer:void 0,ft=ot?ot.allocUnsafe:void 0;function dt(mt,pt){if(pt)return mt.slice();var yt=mt.length,Tt=ft?ft(yt):new mt.constructor(yt);return mt.copy(Tt),Tt}a.exports=dt})(_cloneBuffer,_cloneBuffer.exports);var _cloneBufferExports=_cloneBuffer.exports,root$8=_root,Uint8Array$3=root$8.Uint8Array,_Uint8Array=Uint8Array$3,Uint8Array$2=_Uint8Array;function cloneArrayBuffer$3(a){var j=new a.constructor(a.byteLength);return new Uint8Array$2(j).set(new Uint8Array$2(a)),j}var _cloneArrayBuffer=cloneArrayBuffer$3,cloneArrayBuffer$2=_cloneArrayBuffer;function cloneTypedArray$2(a,j){var _e=j?cloneArrayBuffer$2(a.buffer):a.buffer;return new a.constructor(_e,a.byteOffset,a.length)}var _cloneTypedArray=cloneTypedArray$2;function copyArray$2(a,j){var _e=-1,et=a.length;for(j||(j=Array(et));++_e<et;)j[_e]=a[_e];return j}var _copyArray=copyArray$2,isObject$k=isObject_1,objectCreate$1=Object.create,baseCreate$1=function(){function a(){}return function(j){if(!isObject$k(j))return{};if(objectCreate$1)return objectCreate$1(j);a.prototype=j;var _e=new a;return a.prototype=void 0,_e}}(),_baseCreate=baseCreate$1;function overArg$2(a,j){return function(_e){return a(j(_e))}}var _overArg=overArg$2,overArg$1=_overArg,getPrototype$3=overArg$1(Object.getPrototypeOf,Object),_getPrototype=getPrototype$3,objectProto$d=Object.prototype;function isPrototype$4(a){var j=a&&a.constructor,_e=typeof j=="function"&&j.prototype||objectProto$d;return a===_e}var _isPrototype=isPrototype$4,baseCreate=_baseCreate,getPrototype$2=_getPrototype,isPrototype$3=_isPrototype;function initCloneObject$2(a){return typeof a.constructor=="function"&&!isPrototype$3(a)?baseCreate(getPrototype$2(a)):{}}var _initCloneObject=initCloneObject$2,baseGetTag$6=_baseGetTag,isObjectLike$d=isObjectLike_1,argsTag$3="[object Arguments]";function baseIsArguments$1(a){return isObjectLike$d(a)&&baseGetTag$6(a)==argsTag$3}var _baseIsArguments=baseIsArguments$1,baseIsArguments=_baseIsArguments,isObjectLike$c=isObjectLike_1,objectProto$c=Object.prototype,hasOwnProperty$g=objectProto$c.hasOwnProperty,propertyIsEnumerable$1=objectProto$c.propertyIsEnumerable,isArguments$7=baseIsArguments(function(){return arguments}())?baseIsArguments:function(a){return isObjectLike$c(a)&&hasOwnProperty$g.call(a,"callee")&&!propertyIsEnumerable$1.call(a,"callee")},isArguments_1=isArguments$7,MAX_SAFE_INTEGER$4=9007199254740991;function isLength$3(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=MAX_SAFE_INTEGER$4}var isLength_1=isLength$3,isFunction$5=isFunction_1,isLength$2=isLength_1;function isArrayLike$7(a){return a!=null&&isLength$2(a.length)&&!isFunction$5(a)}var isArrayLike_1=isArrayLike$7,isArrayLike$6=isArrayLike_1,isObjectLike$b=isObjectLike_1;function isArrayLikeObject$3(a){return isObjectLike$b(a)&&isArrayLike$6(a)}var isArrayLikeObject_1=isArrayLikeObject$3,isBuffer$6={exports:{}};function stubFalse(){return!1}var stubFalse_1=stubFalse;isBuffer$6.exports;(function(a,j){var _e=_root,et=stubFalse_1,nt=j&&!j.nodeType&&j,tt=nt&&!0&&a&&!a.nodeType&&a,ot=tt&&tt.exports===nt,ft=ot?_e.Buffer:void 0,dt=ft?ft.isBuffer:void 0,mt=dt||et;a.exports=mt})(isBuffer$6,isBuffer$6.exports);var isBufferExports=isBuffer$6.exports,baseGetTag$5=_baseGetTag,getPrototype$1=_getPrototype,isObjectLike$a=isObjectLike_1,objectTag$4="[object Object]",funcProto$2=Function.prototype,objectProto$b=Object.prototype,funcToString$2=funcProto$2.toString,hasOwnProperty$f=objectProto$b.hasOwnProperty,objectCtorString=funcToString$2.call(Object);function isPlainObject$3(a){if(!isObjectLike$a(a)||baseGetTag$5(a)!=objectTag$4)return!1;var j=getPrototype$1(a);if(j===null)return!0;var _e=hasOwnProperty$f.call(j,"constructor")&&j.constructor;return typeof _e=="function"&&_e instanceof _e&&funcToString$2.call(_e)==objectCtorString}var isPlainObject_1=isPlainObject$3;const isPlainObject$4=getDefaultExportFromCjs$1(isPlainObject_1);var baseGetTag$4=_baseGetTag,isLength$1=isLength_1,isObjectLike$9=isObjectLike_1,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$4="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$3="[object Function]",mapTag$6="[object Map]",numberTag$4="[object Number]",objectTag$3="[object Object]",regexpTag$3="[object RegExp]",setTag$6="[object Set]",stringTag$4="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$4]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$3]=typedArrayTags[mapTag$6]=typedArrayTags[numberTag$4]=typedArrayTags[objectTag$3]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$6]=typedArrayTags[stringTag$4]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray$1(a){return isObjectLike$9(a)&&isLength$1(a.length)&&!!typedArrayTags[baseGetTag$4(a)]}var _baseIsTypedArray=baseIsTypedArray$1;function baseUnary$5(a){return function(j){return a(j)}}var _baseUnary=baseUnary$5,_nodeUtil={exports:{}};_nodeUtil.exports;(function(a,j){var _e=_freeGlobal,et=j&&!j.nodeType&&j,nt=et&&!0&&a&&!a.nodeType&&a,tt=nt&&nt.exports===et,ot=tt&&_e.process,ft=function(){try{var dt=nt&&nt.require&&nt.require("util").types;return dt||ot&&ot.binding&&ot.binding("util")}catch{}}();a.exports=ft})(_nodeUtil,_nodeUtil.exports);var _nodeUtilExports=_nodeUtil.exports,baseIsTypedArray=_baseIsTypedArray,baseUnary$4=_baseUnary,nodeUtil$2=_nodeUtilExports,nodeIsTypedArray=nodeUtil$2&&nodeUtil$2.isTypedArray,isTypedArray$6=nodeIsTypedArray?baseUnary$4(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$6;function safeGet$2(a,j){if(!(j==="constructor"&&typeof a[j]=="function")&&j!="__proto__")return a[j]}var _safeGet=safeGet$2,baseAssignValue$1=_baseAssignValue,eq$7=eq_1$1,objectProto$a=Object.prototype,hasOwnProperty$e=objectProto$a.hasOwnProperty;function assignValue$4(a,j,_e){var et=a[j];(!(hasOwnProperty$e.call(a,j)&&eq$7(et,_e))||_e===void 0&&!(j in a))&&baseAssignValue$1(a,j,_e)}var _assignValue=assignValue$4,assignValue$3=_assignValue,baseAssignValue=_baseAssignValue;function copyObject$6(a,j,_e,et){var nt=!_e;_e||(_e={});for(var tt=-1,ot=j.length;++tt<ot;){var ft=j[tt],dt=et?et(_e[ft],a[ft],ft,_e,a):void 0;dt===void 0&&(dt=a[ft]),nt?baseAssignValue(_e,ft,dt):assignValue$3(_e,ft,dt)}return _e}var _copyObject=copyObject$6;function baseTimes$1(a,j){for(var _e=-1,et=Array(a);++_e<a;)et[_e]=j(_e);return et}var _baseTimes=baseTimes$1,MAX_SAFE_INTEGER$3=9007199254740991,reIsUint$1=/^(?:0|[1-9]\d*)$/;function isIndex$5(a,j){var _e=typeof a;return j=j??MAX_SAFE_INTEGER$3,!!j&&(_e=="number"||_e!="symbol"&&reIsUint$1.test(a))&&a>-1&&a%1==0&&a<j}var _isIndex=isIndex$5,baseTimes=_baseTimes,isArguments$6=isArguments_1,isArray$g=isArray_1,isBuffer$5=isBufferExports,isIndex$4=_isIndex,isTypedArray$5=isTypedArray_1,objectProto$9=Object.prototype,hasOwnProperty$d=objectProto$9.hasOwnProperty;function arrayLikeKeys$2(a,j){var _e=isArray$g(a),et=!_e&&isArguments$6(a),nt=!_e&&!et&&isBuffer$5(a),tt=!_e&&!et&&!nt&&isTypedArray$5(a),ot=_e||et||nt||tt,ft=ot?baseTimes(a.length,String):[],dt=ft.length;for(var mt in a)(j||hasOwnProperty$d.call(a,mt))&&!(ot&&(mt=="length"||nt&&(mt=="offset"||mt=="parent")||tt&&(mt=="buffer"||mt=="byteLength"||mt=="byteOffset")||isIndex$4(mt,dt)))&&ft.push(mt);return ft}var _arrayLikeKeys=arrayLikeKeys$2;function nativeKeysIn$1(a){var j=[];if(a!=null)for(var _e in Object(a))j.push(_e);return j}var _nativeKeysIn=nativeKeysIn$1,isObject$j=isObject_1,isPrototype$2=_isPrototype,nativeKeysIn=_nativeKeysIn,objectProto$8=Object.prototype,hasOwnProperty$c=objectProto$8.hasOwnProperty;function baseKeysIn$1(a){if(!isObject$j(a))return nativeKeysIn(a);var j=isPrototype$2(a),_e=[];for(var et in a)et=="constructor"&&(j||!hasOwnProperty$c.call(a,et))||_e.push(et);return _e}var _baseKeysIn=baseKeysIn$1,arrayLikeKeys$1=_arrayLikeKeys,baseKeysIn=_baseKeysIn,isArrayLike$5=isArrayLike_1;function keysIn$5(a){return isArrayLike$5(a)?arrayLikeKeys$1(a,!0):baseKeysIn(a)}var keysIn_1=keysIn$5,copyObject$5=_copyObject,keysIn$4=keysIn_1;function toPlainObject$1(a){return copyObject$5(a,keysIn$4(a))}var toPlainObject_1=toPlainObject$1,assignMergeValue$1=_assignMergeValue,cloneBuffer$1=_cloneBufferExports,cloneTypedArray$1=_cloneTypedArray,copyArray$1=_copyArray,initCloneObject$1=_initCloneObject,isArguments$5=isArguments_1,isArray$f=isArray_1,isArrayLikeObject$2=isArrayLikeObject_1,isBuffer$4=isBufferExports,isFunction$4=isFunction_1,isObject$i=isObject_1,isPlainObject$2=isPlainObject_1,isTypedArray$4=isTypedArray_1,safeGet$1=_safeGet,toPlainObject=toPlainObject_1;function baseMergeDeep$1(a,j,_e,et,nt,tt,ot){var ft=safeGet$1(a,_e),dt=safeGet$1(j,_e),mt=ot.get(dt);if(mt){assignMergeValue$1(a,_e,mt);return}var pt=tt?tt(ft,dt,_e+"",a,j,ot):void 0,yt=pt===void 0;if(yt){var Tt=isArray$f(dt),St=!Tt&&isBuffer$4(dt),At=!Tt&&!St&&isTypedArray$4(dt);pt=dt,Tt||St||At?isArray$f(ft)?pt=ft:isArrayLikeObject$2(ft)?pt=copyArray$1(ft):St?(yt=!1,pt=cloneBuffer$1(dt,!0)):At?(yt=!1,pt=cloneTypedArray$1(dt,!0)):pt=[]:isPlainObject$2(dt)||isArguments$5(dt)?(pt=ft,isArguments$5(ft)?pt=toPlainObject(ft):(!isObject$i(ft)||isFunction$4(ft))&&(pt=initCloneObject$1(dt))):yt=!1}yt&&(ot.set(dt,pt),nt(pt,dt,et,tt,ot),ot.delete(dt)),assignMergeValue$1(a,_e,pt)}var _baseMergeDeep=baseMergeDeep$1,Stack$3=_Stack,assignMergeValue=_assignMergeValue,baseFor$1=_baseFor,baseMergeDeep=_baseMergeDeep,isObject$h=isObject_1,keysIn$3=keysIn_1,safeGet=_safeGet;function baseMerge$3(a,j,_e,et,nt){a!==j&&baseFor$1(j,function(tt,ot){if(nt||(nt=new Stack$3),isObject$h(tt))baseMergeDeep(a,j,ot,_e,baseMerge$3,et,nt);else{var ft=et?et(safeGet(a,ot),tt,ot+"",a,j,nt):void 0;ft===void 0&&(ft=tt),assignMergeValue(a,ot,ft)}},keysIn$3)}var _baseMerge=baseMerge$3;function identity$4(a){return a}var identity_1=identity$4;function apply$4(a,j,_e){switch(_e.length){case 0:return a.call(j);case 1:return a.call(j,_e[0]);case 2:return a.call(j,_e[0],_e[1]);case 3:return a.call(j,_e[0],_e[1],_e[2])}return a.apply(j,_e)}var _apply=apply$4,apply$3=_apply,nativeMax$1=Math.max;function overRest$2(a,j,_e){return j=nativeMax$1(j===void 0?a.length-1:j,0),function(){for(var et=arguments,nt=-1,tt=nativeMax$1(et.length-j,0),ot=Array(tt);++nt<tt;)ot[nt]=et[j+nt];nt=-1;for(var ft=Array(j+1);++nt<j;)ft[nt]=et[nt];return ft[j]=_e(ot),apply$3(a,this,ft)}}var _overRest=overRest$2;function constant$1(a){return function(){return a}}var constant_1=constant$1,constant=constant_1,defineProperty$2=_defineProperty$2,identity$3=identity_1,baseSetToString$1=defineProperty$2?function(a,j){return defineProperty$2(a,"toString",{configurable:!0,enumerable:!1,value:constant(j),writable:!0})}:identity$3,_baseSetToString=baseSetToString$1,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut$1(a){var j=0,_e=0;return function(){var et=nativeNow(),nt=HOT_SPAN-(et-_e);if(_e=et,nt>0){if(++j>=HOT_COUNT)return arguments[0]}else j=0;return a.apply(void 0,arguments)}}var _shortOut=shortOut$1,baseSetToString=_baseSetToString,shortOut=_shortOut,setToString$2=shortOut(baseSetToString),_setToString=setToString$2,identity$2=identity_1,overRest$1=_overRest,setToString$1=_setToString;function baseRest$5(a,j){return setToString$1(overRest$1(a,j,identity$2),a+"")}var _baseRest=baseRest$5,eq$6=eq_1$1,isArrayLike$4=isArrayLike_1,isIndex$3=_isIndex,isObject$g=isObject_1;function isIterateeCall$2(a,j,_e){if(!isObject$g(_e))return!1;var et=typeof j;return(et=="number"?isArrayLike$4(_e)&&isIndex$3(j,_e.length):et=="string"&&j in _e)?eq$6(_e[j],a):!1}var _isIterateeCall=isIterateeCall$2,baseRest$4=_baseRest,isIterateeCall$1=_isIterateeCall;function createAssigner$2(a){return baseRest$4(function(j,_e){var et=-1,nt=_e.length,tt=nt>1?_e[nt-1]:void 0,ot=nt>2?_e[2]:void 0;for(tt=a.length>3&&typeof tt=="function"?(nt--,tt):void 0,ot&&isIterateeCall$1(_e[0],_e[1],ot)&&(tt=nt<3?void 0:tt,nt=1),j=Object(j);++et<nt;){var ft=_e[et];ft&&a(j,ft,et,tt)}return j})}var _createAssigner=createAssigner$2,baseMerge$2=_baseMerge,createAssigner$1=_createAssigner,merge$1=createAssigner$1(function(a,j,_e){baseMerge$2(a,j,_e)}),merge_1=merge$1;const merge$2=getDefaultExportFromCjs$1(merge_1),en$1={setup:{connect:{title:"Signature Required",scan:"Connect your DID Wallet to become the owner of this server",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},keyPair:{title:"Derived KeyPair Required",scan:"Connect your DID Wallet to generate a key-pair for this app",confirm:"Review this operation on your DID Wallet",success:"Your key pair is securely stored"},verify:{title:"Ownership Credential Required",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},accept:{title:"Accepting server require ownership certificates",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},title:"Setup Blocklet Server",steps:{eula:"End User License Agreement",eulaFooter:"I have read and agreed to the terms of the EULA",connect:"Connect Owner DID Wallet",verify:"Verify Ownership",basicSettings:"Basic Settings",launchApp:"Launch Application",complete:"Complete"},congratulation:"Congratulations! Your Blocklet Server is secure and ready to use",redirectButton:"Take me to dashboard!"},login:{loginTo:"Connect to",description:"Only server owner and approved members can access the dashboard",switchDid:{title:"Switch DID Wallet",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch DID Wallet",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect DID Wallet",scan:"Connect your DID Wallet to provide passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"}},acceptServer:{title:"Claim Server with Ownership NFT",tooltip:"If you received a server ownership nft, you can claim your owner passport with this link."},exchangePassport:{title:"Get Passport with NFT",success:"You have successfully get your passport and logged in with the passport",login:"Login",tooltip:"If you own NFT from collection {collections}, you can exchange your passport with this link.",dialog:{title:"Get Passport with NFT",scan:"Connect your DID Wallet to present your NFT to get a passport",confirm:"Select NFT on your DID Wallet",success:"Passport has been successfully exchanged"}},payablePassport:{title:"Purchase passport with payment",tooltip:"If you do not have a passport, you can purchase a passport with this link."},sidebar:{dashboard:"Dashboard",blocklets:"Blocklets",console:"Console",settings:"Settings"},system:{total:"Total",used:"Used",free:"Free",cores:"Number of cores",instances:"Number of instances"},common:{invalid:"Invalid",about:"About",access:"Access",change:"Change",upload:"Upload",accessKey:"Access Keys",action:"Action",actions:"Actions",add:"Add",address:"Address",afterTime:"After {time}",allow:"Allow",alreadyExist:"already exists",approve:"Approve",approved:"approved",appUrl:"APP Url",auditLogs:"Audit Trail",author:"Author",avatar:"Avatar",back:"Back",basic:"Basic",basicInfo:"Basic Information",profile:"Profile",bind:"Bind",blocklet:"Blocklet",blocklets:"Blocklets",blockletsStorage:"Blocklets Storage",cacheStorage:"Cache Storage",cancel:"Cancel",certificate:"certificate",category:"Log Topic",click:"Click to copy",close:"Close",collapseAll:"Collapse All",community:"Community",complete:"Complete",componentBasicInfo:"Component Basic Information",components:"Blocklets",config:"Configure",configuration:"Configuration",configNavigation:"Navigation",configSuccess:"Config successfully",confirm:"Confirm",connect:"Connect",console:"Console",continue:"Continue",continueWith:"Continue With",copiedTip:"Copied",copyAndClose:"Copy & Close",copyTip:"Click To Copy",coreStorage:"Core Storage",cpu:"CPU",create:"Create",createSuccess:"Create Access Key",created:"Created At",createdAt:"Created At",createdBy:"Created By",dAddress:"Decentralized Identifiers (DID)",dataStorage:"Storage on Local Disk",delConfirm:"Delete",delConfirmDescription:"Confirm delete {data}?",delete:"Delete",dependents:"Dependents",description:"Description",detail:"Detail",did:"DID",disk:"Disk",diskInfo:"Disk Info",docker:"IS Docker",documentation:"Documentation",domain:"Domain",downgradeTo:"Downgrade to",download:"Download",connectToStore:"Connect to Store",blockletStudio:"Studio",uploaded:"Uploaded",downloading:"Downloading",edit:"Edit",email:"Email",phone:"Phone",empty:"Empty",emptyData:"No results found",enable:"Enable",engine:"Engine",env:"Environment",environment:"Environment",expandAll:"Expand All",expired:"Expired",expires:"Expires",export:"Export",externalIp:"External IP",failed:"Failed",filter:"Log Filter",fingerprint:"Fingerprint",finish:"Finish",forbid:"Forbid",free:"Free",general:"General",gitpod:"IS Gitpod",goEULA:'Click to view "End User License Agreement"',group:"Group",image:"IS Image",install:"Install",installed:"Installed",installedAt:"Installed At",installSuccess:"Successfully installed",installing:"Installing",internalIp:"Internal IP",introduction:"Introduction",invite:"Invite",inviting:"Inviting",ip:"IP",isPublic:"Public",issue:"Issue",issuer:"Issuer",item:"Item",joined:"Joined",key:"Key",lastPublishedAt:"Published At",launcher:"Launcher Information",leavePageTip:"Are you sure to leave the page?",link:"Link",loading:"loading",log:"View Logs",logStorage:"Log Storage",login:"Login",logo:"Logo",logout:"Logout",logs:"Logs",manageTeam:"Manage Team",marketplace:"Marketplace",member:"Member",members:"Members",memory:"Memory",meta:"Meta Data",analytics:"Analytics",runtime:"Runtime",traffic:"Traffic",more:"More",mountPoint:"MountPoint",name:"Name",next:"Next",no:"No",noData:"No records to display",notice:"Unexpected bad things will happen if you don’t read this!",noticeTitle:"Notice",notification:"Notification",open:"Open",visitStore:"Visit Store",visitTarget:"Visit {name}",management:"Management",os:"Operating System",overview:"Overview",owner:"Owner",page404:"404 Page",passport:"Passport",permission:"Permission",port:"Port",pre:"Previous",preferences:"Preferences",preview:"Preview",protected:"Protected",protocol:"Protocol",purchase:"Purchase",reconnect:"Reconnect",disconnect:"Disconnect",readMore:"More",redirect:"Redirect",redirectCode:"Redirect Code",redirectPermanently:"Permanent Redirect",redirectTemporary:"Temporary Redirect",redirectUrl:"Redirect URL",rewrite:"Rewrite",release:"Release",rewriteUrl:"Rewrite URL",reject:"Reject",reload:"Reload",remark:"Remark",remove:"Remove",removeSuccess:"Remove successfully",renew:"Renew",reportIssue:"Report an issue",required:"Required",requiredErrorText:"{name} is required",resource:"Resource",restart:"Restart",restore:"Restore",retry:"Retry",revoke:"Revoke",role:"Role",running:"running",runtimeInfo:"Runtime Info",save:"Save",saveChanges:"Save Changes",saveSuccess:"Saved successfully",scheduleFailed:"schedule failed",scheduleSuccess:"successfully scheduled",scope:"Scope",screenshot:"Screenshot",search:"Search",security:"Security",serverDid:"Server DID",serverVersion:"Server Version",setting:"Settings",start:"Start",status:"Status",stop:"Stop",storage:"Storage",backup:"Backup",store:"Store",succeeded:"Succeeded",subscription:"Subscription",support:"Support",switch:"Switch",team:"Team",the:"The",timeAgo:"{time} ago",title:"Title",type:"Type",unavailable:"Unavailable",update:"Update",updateAvailable:"New version {version} available",updatedAt:"Updated At",updatedBy:"Updated By",upgrade:"Upgrade",upgradeTo:"Upgrade to",upgrading:"Upgrading",uptime:"Uptime",url:"URL",valid:"Valid",value:"Value",version:"Version",visit:"Visit",waiting:"Waiting",webhook:"Integrations",yes:"Yes",invalidParam:"Invalid Params",launch:"Launch",price:"Price",redirecting:"Redirecting",error:"Error",reminder:"Reminder",normal:"Normal",gateway:"Gateway",verifyNFT:"Verify NFT",errorMessage:"Error Message: ",slugifyHint:"The actual mount point will be: {value}",strategy:"Strategy",auto:"Auto",manual:"Manual",progress:"In progress",startTime:"Start time",endTime:"End time",selected:"Selected",timeoutError:"Timeout error",tags:"Tags",sourceApp:"Belong to App"},blocklet:{external:"External",notFound:"Blocklet not found on this server, maybe it has been deleted",installFromMarket:"Install New Blocklets",installFromUrl:"Install From Url",installFromCreate:"Create Blocklet",titleValidationError:"Title length must be between 3 and 20 characters",descriptionValidationError:"Description length must be between 3 and 80 characters",installFromDiskBackup:"Restore from this server",installedAt:"Installed At",internal:"Internal",startedAt:"Started At",stoppedAt:"Stopped At",urlEmptyTip:"No Access URL, ",goToAddRule:"Go To Add",services:"Exposed Services",upstreamPort:"Upstream Port",noService:"No Services",appId:"App DID",appPid:"Permanent DID",whyNeedAppPid:"If your application has been migrated, the permanent DID is the DID generated when this Blocklet was originally installed",alsoKnownAs:"Also Known As",skSource:"Owner Wallet",reloadSuccess:"Blocklet was reloaded successfully",statusTip:"Blocklet is {status}",initialUptime:"Less than 1m",dashboard:"Blocklet Dashboard",noComponent:"Application has no components and cannot be started",fromUrl:{title:"Install Blocklet",label:"Blocklet Meta URL",description:"The URL should point to the Meta File of the Blocklet. If you need to refer to a local file, please add the file:// prefix, e.g. file:///Users/foo/blocklet.json.",confirm:"Install",step0:"Input URL",step1:"Confirm Meta Info",existTipPrefix:"Blocklet with the same DID already exists, the version is",existTipSuffix:", Please install a higher version."},action:{stopDescription:"Stopping the blocklet will make its public interfaces unaccessible, which may cause end user failures",stopComponentDescription:"Stopping the component will make its public interfaces unaccessible, which may cause end user failures",confirmStop:"Yes, Stop It",cancelDownloadDescription:"Cancel download {name} ?",removeApplicationDescription:"Removing the application will erase code and data generated by this application, which is not recoverable if you do not have any backups",removeApplicationAfterBackup:"Backup and remove the application. You can restore the application from this server if you need",removeApplicationComplete:"Remove both code and data for this application",removeComponentDescription:"Removing the component will erase code and data generated by this component, which is not recoverable if you do not have any backups",removeComponentKeepData:"Keep data for this component, only remove code",removeComponentComplete:"Remove both code and data for this component",confirmRemove:"Yes, Remove It",confirmComponentRemove:"Yes, Remove It",upgradeDescription:"Upgrading the blocklet will make it temporarily unavailable, are you sure to continue?",confirmUpgrade:"Yes, Upgrade It",confirmRestart:"Yes, Restart It",restartDescription:"Restarting the blocklet will temporarily suspended and may not start because of a configuration change"},dev:{modeTip:"Please switch Blocklet Server to DEBUG mode"},index:{tableTitle:"Manage Your Blocklets",noBlocklet:"No blocklets found in this Blocklet Server, install a blocklet from market place to start."},admin:{iframeTitle:"Blocklet Admin Interface",title:"Admin Interface",noContent:"This blocklet does not have a admin interface",securityError:"SecurityError: Can not open the admin url from accessing a cross-origin frame"},config:{name:"App Name",description:"App Description",sk:"Secret key for the app wallet",logoSquare:"App Logo",logoRect:"Rect logo",logoRectDesc:"Usually displayed at the top of the page, default to app logo",logoFavicon:"Favicon",logoFaviconDesc:"Usually displayed in the browser's address bar or tab page, default to app logo",clusterSize:"Instance count when run this blocklet in cluster mode",copyrightOwner:"Copyright Owner (Display in footer)",copyrightYear:"Copyright Year (Display in footer)",deletable:{name:"Delete Protection",enable:"This blocklet can NOT currently be deleted",disable:"This blocklet can currently be deleted"},tenantMode:{name:"Multiple Tenant Mode",multiple:"This blocklet runs in multiple tenant mode, data should be isolated for each tenant",single:"This blocklet runs in single tenant mode, all data are shared"},walletType:{name:"Wallet Type",description:"Blocklet instance wallet type, will change the derived DID"},languages:"Supported Languages",selectLanguagesTip:"Adjust the order by removing and re-adding",languagesSearch:"Search by Country's Local Name, English Name, or ISO Code...",passportColor:"Passport Color",appUrl:"App URL",access:{title:"Who Can Access",description:"Who can access the blocklet",useDefault:"Use default",defaultDescription:"Use the application's default configuration",whoCanAccess:{all:{title:"Accessible to all",description:"Open to the world anyone can access without passport"},owner:{title:"Only me can access",description:"You must provide owner passport to access this application"},invited:{title:"Only invited people can access",description:"You can invite members later in the admin page"}},publicToStore:"Public On Store",publicInstanceTip:"The access address of this blocklet will be displayed in the Store (along with your DID for accepting donations)",updatedTip:"Access Control Modified"},changedTip:"Configuration updated, please restart Blocklet",missingRequired:"Missing required configuration to start the blocklet",gotoFix:"Go to fix",environment:{key:"Configuration key",value:"Configuration value",keyValueRequired:"Configuration key and value must be specified",invalidKey:"Configuration key must not start with BLOCKLET_ or COMPONENT_",deleteForbidden:"This configuration is required and should not be deleted",tip:"Configurations prefixed with BWA_ should not contain sensitive information because they will be sent to the browser"},dangerZone:"Danger Zone",blockletTypeChangeTip:"Wallet Type will be changed to <b>{value}</b>",appDidChangeTip:"This operation will change the DID of the application, which will lead to the following problems. Please confirm after careful evaluation:",appDidChangeTipL1:"The user's account connected to this application will change",appDidChangeTipL2:"The DID domain name of the application will change, and the original domain name will become invalid",appSkChangeTip:"You are changing application secret key",walletTypeTitle:"Update Wallet Type",appSkTitle:"Update Application Secret Key",sharedToAllComponents:"Will be shared to all components",session:{ttl:"Login session validity period (user will be asked to login again if they have no activity on this site for {day} days)",day:"{day} day",days:"{day} days"},clearCache:{name:"Cache Management",purpose:"Manage files cached in router and blocklet services",title:"Confirm Cache Clear?",action:"Clear Cache",success:"Successfully cleared {count} cache entries",description:"Are you sure you want to clear cached files in router and blocklet service? this operation may cause slight performance downgrade in the short term"}},overview:{source:"Source",deployedFrom:"Deployed From",accessControl:"Access Control",viewInStore:"View It In Store"},diskInfo:{empty:"Disk info not available now!",appDir:"App Directory",dataDir:"Data Directory",logDir:"Log Directory",cacheDir:"Cache Directory"},runtimeInfo:{noRunning:"Runtime information will be available when blocklet is running!",memoryUsage:"Memory Usage",cpuUsage:"CPU Usage",uptime:"Uptime",port:"Port",processId:"Process ID"},dist:{downloadLink:"Download Link",verify:"Verify"},status:{added:"Added",waiting:"Waiting",downloading:"Downloading",extracting:"Extracting",installing:"Installing",upgrading:"Upgrading",installed:"Installed",created:"Created",starting:"Starting",running:"Running",stopping:"Stopping",stopped:"Stopped",error:"Error",deleting:"Deleting",corrupted:"Corrupted",purchasing:"Waiting for purchase",purchased:"Purchased",verifying:"Verifying purchase",resource:"Resource"},list:{download:"Download",star:"Star"},component:{container:"Global Config",showContainer:"Show Global Config",didSpaceConfig:"Configure DID Spaces",didSpaceConfigTip:"Complete the following authorize process to store application data in DID Spaces",didSpaceConnected:"Storage being authorized to: {endpoint}",checkUpdateTitle:"Check for Updates",updateTitle:"Update Blocklets",noUpdate:"No Blocklets to update",add:"Add Blocklet",selectComponent:"Select Blocklet",selectRegistry:"Select Blocklet Store",selectRegistryTip:"You can switch blocklet store to see more components",selectInstance:"Select Instance",selectInstanceTip:"You can select an existing instance or create a new instance. Existing instances will use previously saved configuration and data",newInstance:"Create New Instance",noComponent:"No Blocklets",mountPoint:"What's the mount point?",mountPointTip:"If you set mount point to '/my-prefix', then all requests that begins with that mount point will be routed to the selected Blocklet",delete:"Delete Blocklet",deleteDescription:"This Blocklet will not be accessible after deletion. Confirm delete?",purchase:"Payment Required",tip:{stopBlocklet:"Please stop running Blocklet first",requiredBy:"The Blocklet is required by {name}"},choose:"Choose",upgrade:"Upgrade",addWithName:"Add Blocklet To {name}",relatedComponents:"Related Blocklets",required:"Required",noDependencies:"{name} doesn't have any dependencies",installed:"Installed",installingTip:"Installing component, please wait...",installingCanCloseWindowTip:"Installing component in the background, you can safely close this window",installSuccessTip:"Congratulations, the component was installed successfully!",missDownloadTokenTip:"Cannot add paid component without valid download token",purchaseComponentSecondCheckTip:"Please present your blocklet purchase NFT to continue",installComponentError:"There was an error installing the component, please retry again",downloadComponentError:"There was an error downloading the component, please retry again",addComponentTip:{introduction:"Welcome to the Add Component Wizard",isPurchase:"You need to Verify NFT before use <b>{name}</b> as a component;",belowInformation:"Below is the information for the component: ",verifyNFT:"Please select the Verify NFT method",config:"Please fill in the configuration of the component",environment:"Please fill in the environment of the component",fromUrl:"Add Blocklet From Url"},addNext:"Add {name}",upgradeNext:"Upgrade {name}",setting:"Settings"},router:{urlPath:"URL Path",noRunning:"The blocklet is not currently started. Unable to access through the following address!",securitySetting:"Security Setting",checkUrlAccessible:"Check the accessibility of the address",urlInaccessible:"It may be due to network reasons, the address is temporarily inaccessible",noAccessibleUrl:"No accessible URL",domainLockTooltip:"The system generated Domain cannot be edited.",urlLockTooltip:"The system generated URL Path cannot be edited.",showAllDomains:"Show all domains",showAllDIDs:"Show all DIDs",currentDomainTip:"You are accessing the current page through this domain"},export:{title:"Export Blocklet",name:"Bundle Name",nameTip:'e.g. "my-blocklet-name" or "@my-scope/blocklet-name"',result:"What's next",exportSource:"Export Source",success:"Blocklet successfully exported",resultTipStart:"With",resultTipEnd:"you can build and publish this blocklet within minutes",uploadedComponentTip:"Directly uploaded components cannot be exported:"},migrate:{title:"Migrate Application",scan:"Connect your DID Wallet to generate a key-pair for this application",confirm:"Review this operation on your DID Wallet",success:"Your application is successfully migrated, the page will be refreshed in {sec} seconds",intro:{l1:"Click here",l2:"to migrate your application to new version (changes are disabled before the migration completes)",l3:"1. The application DID will be fully controlled from your DID Wallet.",l4:"2. The application data will be migrated, and no further changes required.",l5:"3. The new application structure will give you more flexibly when change components.",l6:"4. Please do not change component mount points before component new version is out."},tip:{duplicate:"Find duplicate component {name}, please delete useless components and migrate again",running:"Please stop blocklet before migration"}},error:{isRunning:"Blocklet is running, please stop it first",isInProgress:"Blocklet is in progress, please wait for it to finish"},publish:{connectOrUpload:"Connect or Upload",projectSettings:"Project Settings",noStoreSelected:"Please select one of the existing stores or add a new store to continue",autoUploadTip:"Upload release to connected Blocklet Stores automatically after creation",possibleSameStoreTip:"Try resolving dependency blocklets to the same Blocklet Store before each uploading when possible",needProjectId:"Please create a project first",developerInfo:"Developer Information",branding:"Branding",brandingHelp:"More information about the blocklet will be displayed in the Store",download:"Download {name}",deleteStoreTip:"Are you sure you want to remove {name} from the connect Store list?",delete:"Delete {name}",copyInstallUrl:"Copy Install URL",installToThisServer:"Install to this server",createResource:"Create Resource",blockletStudio:"Blocklet Studio",tenantScope:"Tenant",addResource:"Add Blocklet",productTitle:"Product",versionTitle:"Versioning",imgTitle:"Images",resourceTitle:"Resources",resourceSelect:"Select resource from following blocklets",resourceUpload:"Upload resource from your disk (index.html is required in the archive)",blockletEmptyTip:"There aren’t any blocklets here",createBlockletTip:"You can create new blocklet through existing resources, components, and configuration in this application",createBlocklet:"New blocklet",reconnectStoreTip:"After reconnecting, a new developer will be bound. Are you sure you want to reconnect?",disconnectStoreTip:"After disconnecting, the blocklet will be removed from the store. Are you sure you want to disconnect?",componentNotRunning:"Blocklet {name} is not running, please start it first",allComponentsNotRunning:"Blocklets is not running, please start it first",releaseEmptyTip:"There aren't any releases here",resourceEmptyTip:"No available resources",viewLastRelease:"View last release",createReleaseTip:"You can create a release of the blocklet, along with release notes and resources, for other people to use",createRelease:"Create release",deleteReleaseTip:"The release cannot be recovered after deletion",createBlockletDid:"Create from DID Wallet",createReleaseSuccess:"Release created successfully",saveDraftSuccess:"Draft saved successfully",packTip:"Currently blocklets can be installed directly as applications. Components and application configurations will be automatically included in the Blocklet",resourceTip:"Currently, as a Resource Blocklet, it cannot be directly installed from the Store.",whyCantSeeInStore:"You need to publish the blocklet on connected store before you can see it in the store listing page",whyCantSeeResourceBlockletInStore:"Resource Blocklet are hidden from the store listing page by default",resourceChangedWarning:"You have modified the resource, please save it in time",install:"Install {name}",installResourceTip:"Install Url:",installResourceTip2:"If you want to see more tips, please visit",installResourceHelp:"Help Document",componentIncluded:"Included",componentForceRequired:"Required",steps:{branding:"Describe the basic information of your Blocklet. This information will be presented to users in the store.",introduction:"A clear introduction can effectively highlight your Blocklet. You can use Markdown syntax to write and preview it.",resources:"Please select the resources that need to be associated with the current Blocklet, as these resources will be installed along with the Blocklet.",blocklets:"Please select the Blocklets that need to be associated and installed when installing the current Blocklet.",version:"Set the release version and the change log."},connect:{title:"Create Blocklet DID",scan:"Scan the QR code below to generate Blocklet DID",confirm:"Confirm using DID Wallet",success:"Blocklet DID has been generated, please continue your operation"},deleteProject:{title:"Delete {name}",scan:"Scan the QR code below to delete {name}",confirm:"Confirm using DID Wallet",success:"Blocklet has been deleted, please continue your operation",description:"Are you sure you want to delete the Blocklet? Here are the issues you might encounter:",tip1:"The Blocklet cannot be recovered after deletion.",tip2:"You will no longer be able to publish new versions to the deleted Blocklet, which means that the Blocklet will not be updated in the Store anymore.",tip3:"Deleting the Blocklet will not affect its currently published version in the Store."},saveDraft:"Save Draft",releaseNote:"Release Note",errorTip:{noDid:"Blocklet DID is required",noFirstDid:"Please create Blocklet DID first",noTitle:"Blocklet Title is required",noVersion:"Blocklet Version is required",inValidVersion:"Invalid Blocklet Version",noResource:"Please select upload resource to be included in the blocklet",noDescription:"Blocklet Description is required",noNote:"Release Note is required"},uploadToStoreSuccess:"Blocklet upload to Store successfully, you need publish it in the Store",publishToStoreSuccess:"Blocklet published to Store successfully",connectStoreSuccess:"Blocklet Store connected successfully"}},dashboard:{nodeDid:"Node",ownerDid:"Owner",routingEngine:"Routing Engine",ownerNftURL:"Owner NFT",expirationLeft:"Expiration Left",startFromCrashTip:"Blocklet Server did not exit normally last time, please manually start the blocklets that needs to be run.",runtimeConfig:{blockletMaxMemoryLimit:"Blocklet Max Memory Limit",daemonMaxMemoryLimit:"Server Max Memory Limit",proxyMaxMemoryLimit:"Event Bus Max Memory Limit"}},store:{nameSort:"Name",popularSort:"Popularity",headerDescription:"Find and Install Your Blocklets",detail:{purchase:"Purchase {name}",open:"Open {name}",install:"Install {name}",upgrade:"Upgrade {name}",empty:"No introduction"},blockletRegistry:{changeFailed:"Change Blocklet Store Failed: ",addFailed:"Add Blocklet Store Failed: ",editFailed:"Edit Blocklet Store Failed: ",switchRegistry:"Switch Blocklet Store",addRegistry:"Add Blocklet Store",editRegistry:"Edit Blocklet Store",deleteRegistry:"Delete Blocklet Store",haveSameRegistry:"The same blocklet store exists",registryName:"Blocklet Store Name",registryUrl:"Blocklet Store URL",registryNameEmpty:"Blocklet Store name cannot be empty",registryUrlEmpty:"Blocklet store url cannot be empty",deleteDesc:'Confirm Delete blocklet store {name} ?<br/><span style="color: {color}">*After removing this blocklet store, you cannot update the apps installed from this blocklet store unless you add them again.</span>',confirmDesc:"Please input {name} to delete"},purchase:{title:"Purchase {name}",confirmed:"Your blocklet purchase NFT is verified",declined:"You do not provided valid the blocklet purchase NFT",waiting:"Waiting for purchase complete...",purchase:{title:"Purchase NFT",description:"Pay some token before installing this blocklet if you have not purchased this blocklet"},verify:{title:"Verify NFT",description:"Your NFT will be verified before installing this blocklet if you have purchased and hold the purchase NFT in your DID Wallet",auth:{title:"Purchase Credential Required",scan:"Connect DID Wallet to provide blocklet purchase NFT",confirm:"Review this operation on your DID Wallet",success:"Your purchase NFT is verified, and installing has started"}},auth:{title:"Purchase {name}",scan:"Scan following QRCode with your DID Wallet",confirm:"Confirm on your DID Wallet",success:"Purchase NFT sent to your DID Wallet"},launch:"Launch {name}",autoLaunch:"{name} successfully purchased, redirecting to launch page..."}},setting:{saveSuccess:"Settings Saved Successfully",unSavedTip:'There are unsaved changes, please click "Save Changes" to save them.',unSavedLeaveTip:"There are unsaved changes, are you sure to leave the page?",form:{name:"Name Your Server",nameRequired:"Server description is required",namePlaceholder:"Server Name",description:"Describe Your Server",descriptionHolder:"Server Description",descriptionRequired:"Server description is required",domain:"Your Server Domain Name",domainPlaceholder:"Server Domain Name",domainRequired:"Server domain is required",ipPlaceholder:"IP",ipRequired:"IP is required",registry:"Blocklet Store",registryPlaceholder:"Blocklet store to fetch blocklets",registryRequired:"Blocklet store is required ",registerUrl:"Blocklet Launcher URL",registerUrlPlaceholder:"Input the URL of your preferred Blocklet Launcher, you can use the official one safely",webWalletUrl:"DID Wallet URL",webWalletUrlPlaceholder:'Please input the URL of your hosted "DID Wallet", you can use the official one safely',nftDomainUrl:"NFT Domain URL",nftDomainUrlPlaceholder:'Please input the URL of your hosted "NFT Domain", you can use the official one safely',enableWelcomePage:"Enable welcome page",welcome:{switchLabel:"Welcome Page"},security:{switchLabel:"File System Isolation",switchTips:"After disabling this option, the file system of the Blocklet will no longer be in isolation, which may pose a risk of malicious software damaging the file system.",warningTips:"The file system isolation feature cannot take effect. Please upgrade the node.js version (current version is {version}) to v21.6.0 or higher."},upgrade:{title:"Upgrade Blocklet Server to {version}",description:"During the upgrade, your Blocklet Server will enter maintenance mode for a few minutes while the update is completed.",dialog:'Click on "confirm" to install the update. Blocklet Server will enter maintenance mode until the update is completed and return to production mode automatically.',confirm:"Upgrade",switchLabel:"Auto Update Check",enableBetaRelease:"Enable Beta Release",setup:"Preparing the upgrade",installing:"Installing Blocklet Server v{version}",restarting:"Restarting Blocklet Server",cleanup:"Migrating Blocklet Server data",verifying:"Verifying Blocklet Server v{version}",rollback:"Rollback Blocklet Server",complete:"Upgrade complete!",progress:"Upgrading {name}",check:"Check for Updates",latest:"You are running the latest version."},restart:{title:"Restart Blocklet Server",description:"During the restarting, your Blocklet Server will enter maintenance mode while the restart is completed.",dialog:'Click on "confirm" to restart. Blocklet Server will enter maintenance mode until the restart is completed and return to production mode automatically.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting Blocklet Server",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting {name}"},register:{titleAdded:"Added to Blocklet Launcher",title:"Add to Blocklet Launcher",description:"Once added, you can launch blocklets to this blocklet server from {url}.",descriptionOnAdded:"you can launch blocklets to this blocklet server from {url}.",btn:"Add",update:"Update",added:"Added",addSucceed:"Add succeed",updateSucceed:"Update succeed",detecting:"Detecting",timeout:"Detection timeout, please check if the blocklet launcher is started"},monitor:{diskThreshold:"Send alert when disk usage exceeds (%)",diskThresholdPlaceholder:"Please set the disk usage alert threshold"}},accessKey:{accessKeyId:"ACCESS KEY",lastUsed:"Last Used At",tip:"Please enter a name for this access key for future reference:",saveSecretTip:"This is the only time that your Access Secret key can be viewed and cannot be recovered. However, you can create new access keys at any time",iKnow:"I have copied and saved the Access Secret",showSecret:"Show Secret Access Key",hideSecret:"Hide Secret",title:"Delete Access Key",descriptionNoTime:"This will permanently delete the access key {key} with name {name}, which is (never used before)",description:"This will permanently delete access key {key} with name {name}, which is (last used on {time}, {timeAge})",confirm_desc:"Please input {name} to delete",remark:"Access Key Name",remarkInvalid:"Access Key Name is required"},webhook:{add:"Add Integration",delTitle:"Delete Integration",requiredError:"Please provide a valid {type}",confirm_desc:"Please input {name} to delete",test:"Test",description:"This will permanently delete integration with ID {id}",columns:{description:"ID",params:"Params",createdAt:"createdAt"}}},notification:{title:"Activities",empty:"No activities yet",viewAll:"View All",showRead:"Show Read",markAllAsRead:"Mark All as Read",markAsRead:"Mark As Read",proceed:"Proceed",checkingForUpdates:"Checking for updates...",installComponentError:"Not found uninstalled component {name}",installingComponent:"Installing component {name}",pushKit:{enable:"Enable PushKit notification",endpoint:"PushKit endpoint",endpointInvalid:"PushKit endpoint is invalid URL",testSuccess:"Test PushKit send successfully",testFailed:"Test PushKit send failed",testReceiver:"PushKit receiver",testSend:"Test push-kit send",inputTestReceiver:"Please input test receiver did",receiverRequired:"PushKit receiver is required",pushPath:"Api path for push-kit (default /api/push)",did:"PushKit Blocklet DID",customOptions:"Custom Options"},email:{enable:"Enable email notification",from:"Email sender",host:"SMTP server host",port:"SMTP server port",user:"SMTP server username",secure:"Enable secure connection",password:"SMTP server user password",fromRequired:"Email sender is required",fromInvalid:"Email sender is invalid",receiverRequired:"Email receiver is required",receiverInvalid:"Email receiver is invalid",hostRequired:"SMTP server host is required",hostInvalid:"SMTP server host is invalid",portRequired:"SMTP server port is required",portInvalid:"SMTP server port is invalid, port should be between 1 and 65535",userRequired:"SMTP server username is required",passwordRequired:"SMTP server user password is required",testSuccess:"Test email send successfully",testFailed:"Test email send failed",testReceiver:"Email receiver",testSendEmail:"Test email send",inputTestReceiver:"Please input test receiver email",disable:"Unsubscribe email notification",disableDescription:"After unsubscribe, you will no longer receive email notifications. To receive email notifications, you can subscribe it again on this page.",unsubscribe:"Unsubscribe email notification",unsubscribeDescription:"After unsubscribe, you will no longer receive any email notifications.",subscribe:"subscribe",subscribeDescription:"To receive email notifications, you can subscribe it again on settings page."},comingSoon:"More notification channel are under construction",unsubscribe:"Unsubscribe",unsubscribeSucceed:"Unsubscribe succeeded",unsubscribeFailed:"Unsubscribe failed",unsubscribeTokenRequired:"Unsubscribe token in required",unsubscribeTokenExpired:"Unsubscribe token is expired",unsubscribeTokenInvalid:"Unsubscribe token is invalid"},router:{routerSetting:"Domains & URLs",certSetting:"SSL Certificates",defaultSite:"Default",urlHelperText:"URL that do not start with HTTP/HTTPS are considered relative paths",empty:"Click on Actions to setup URL Mapping",healthy:{ok:"Blocklet or service is running",error:"Blocklet or service is not running or not installed"},service:{select:"Select Blocklet Services (Optional)",what:"Blocklet Services are pipelines executed against the request before redirecting to upstream blocklet"},nonProvider:{title:"Engine Change Warning",description:"If you change engine to none, your current page may not work properly because the previous engine will be stopped, are you sure to continue?",confirm:"I understand, continue"},validation:{urlRequired:"URL is required",redirectCodeRequired:"Redirect code is required",didRequired:"Blocklet is required",pathPrefixTooLong:"The URL Prefix cannot exceed {length} characters",pathPrefixCannotBeEmpty:"The URL Prefix cannot be empty",domainRequired:"Server domain is required",invalidUrl:"Please provide a valid URL",pathPrefixRequired:"URL prefix is required",redirectUrlRequired:"Redirect URL is required",rewriteUrlRequired:"Rewrite URL is required"},domain:{addSite:"Add Site",validate:{emptyTip:"Site domain cannot be empty",suffixTip:"Site domain cannot include {suffix}"},add:{title:"Add Domain Name",description:"Please provide a valid domain name",confirm:"Add",cancel:"Cancel",blocklet:"Select Blocklet",redirect:"Where to redirect the traffic?",port:"What port does your request handler need to listen to?",portTip:"This defaults to the main port of request handler, you can customize this",type:"Traffic Handler",component:"Select Component",pageGroup:"Page Group",pageGroupTip:"This component can render any group of pages listed above, leave empty to render all pages"},update:{title:"Update Site Domain",label:"Site Domain",description:"Please provide a valid site domain"},setup:{tipStart:"Add the DNS records for the domain",tipEnd:"as per the following guidelines",recordType:"Record Type",recordValue:"Record Value"},verify:{ok:"The domain resolution is normal",notResolved:"This domain neither resolved nor accessible, please check your DNS configuration"},https:{ok:"This domain has https enabled",bad:"This domain has not enabled https"},delete:{title:"Delete Site",description:'By confirming, you will delete your existing "{name}" site. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your site',confirm_desc:"Please input {name} to confirm"}},domainAlias:{nftDomain:"Automatic config with DID Domain",showTipHint:"How do I configure domain name resolution?",add:{title:"Add Additional Domain",domainDescription:"Please provide a valid domain name",forceTip:"Force add if domain name already exists",helperText:"If an HTTP or HTTPS URL is entered, it will be automatically converted into a domain name.",isDidDomainError:"This domain is a DID Domain. Please add it using the method for automatic domain configuration."},addCustomDomain:{name:"Custom Domain"},addDomainNFT:{showNFT:"Configure domain automatically",tips:"You can enter a domain purchased from DID Domain. If a DID Domain is detected, you must present the DID Domain NFT to continue.",connect:{title:"Please show your Domain NFT",scan:"Scan following QR code with DID Wallet to authorize to blocklet to use your domain",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},buyTip:"DID Domain will do the domain name resolution automatically, no need to configure it manually, and the application will update the resolution record of the domain name automatically when needed. If your don't have DID Domain NFT yet, ",buy:"buy it now!"},delete:{title:"Delete",description:"After removing a domain alias, access to that alias may not be handled properly."}},domainSecurity:{title:"Domain Security",cors:{title:"Allowed CORS Domains",description:'Domain list that can send cross origin requests to {name}, comma separated, use "*" to allow anyone, which is not recommended',domainInvalid:"Please input a valid list of domain names"}},rule:{add:{title:"Add URL Mapping",confirm:"Add",pathPrefix:"What's the URL Prefix?",pathPrefixTip:"If you set prefix to '/my-prefix', then all requests that begins with that prefix will be routed to the configured blocklet",blocklet:"Which Blocklet will be handling those requests?",port:"Which port of the blocklet will be handling requests?",portTip:"This defaults to the main port of blocklet, if your blocklet listens on multiple ports, you can customize this",responseType:"Response Type",responseBody:"Response Content",responseBodyTip:"Paste your response content here, should not exceed 4096 characters",responseBodyRequired:"Response content can not be empty"},delete:{title:"Delete URL Mapping",description:'By confirming, you will delete your existing "{name}" URL Mapping. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your URL Mapping.',confirm_desc:"Please input {name} to delete",cancel:"Cancel"},update:{title:"Update URL Mapping",confirm:"Yes, Update",cancel:"Cancel"}},cert:{name:"Certificate Name",domain:"Domain Name",action:"Action",commonName:"Common Name",boundDomains:"Domains",source:"Source",expired:"Expired",leftDays:" days left",issuedOn:"Issued On",expiryOn:"Expiry On",fingerprintAlg:"Fingerprint Algorithm",validityPeriod:"Validity Period",matchedSites:"Matched Sites",upload:"Manual Upload",publicCertHelperText:"Public certificates can be downloaded",nonPublicCertHelperText:"Non-public certificates cannot be downloaded",protectedCertHelperText:"Protected certificates cannot be edited",unprotectedCertHelperText:"Unprotected certificates can be edited",issuing:"Certificate being generated",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"},table:{nodata:"No data"},delete:{title:"Delete Certificate",description:"Confirm delete certificate of domain {domain}? Deleting it may affect related services. Please confirm it's safe before proceeding with the deletion.",confirm:"Confirm"},nginx:{title:"Update Certificate",titleAdd:"Add Certificate",pem:"SSL Certificate File",pemTip:'Please drop your server certificate file here, it should ends with ".pem" or ".crt"',key:"Private Key File",keyTip:'Please drop your server private key file here, it should ends with ".pem" or ".key"',confirm:"Save",cancel:"Cancel",invalidFile:"You have selected an invalid file",empty:"No file selected yet",source:"Source",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"}},detail:{title:"Certificate Details"},genLetsEncryptCert:{title:"Generate Let's Encrypt certificate",dnsTip:"Please make sure the domain name has point to the current Blocklet Server.",description:"Adding a certificate will make the service more secure, and Blocklet Server will automatically renew the certificate before it expires."}},gateway:{reqLimit:{status:{true:"Enabled",false:"Disabled"},switchLabel:"Request Limit",rate:"Request Limit({rate} Request/Second)",ipHeaderLabel:"Customize client IP header(Optional)",ipHeaderDesc:"If the Blocklet Server is running behind some proxies, you can set the header of the client's real IP here. Optional, leave empty to use default."},cacheEnabled:{switchLabel:"Enable Gateway Cache"}}},noMatch:{desc:"We can't find the page that you're looking for"},health:{connectionErrorTip:"Blocklet Server can't connect to the network, please check if Blocklet Server has been stopped or there is a network issue",connectionRecoveryTip:"Blocklet Server connectivity has been recovered",connectionStoppedTip:"Blocklet Server has been stopped",wrongAccessUrlTip:"Blocklet Server access address is wrong, please use the correct access address"},debug:{title:"Your Blocklet Server is up and running!"},team:{add:"Add New",invite:{action:"Invite New",setting:"Invite Settings",enabled:"Allow any user to invite new user to this blocklet",disabled:"Only owner/admin can invite new user to this blocklet",inviter:"Invited By"},member:{name:"Name",passport:"Passport",passports:"Passports",lastLogin:"Last Login",lastLoginIp:"Last Login IP",openProfile:"View Profile",source:"Register Source",source_derived:"Derived from oauth",source_wallet:"DID Wallet",filter:"Filter by",forbidLogin:"Forbid Login",forbidLoginDescription:"The user will not be able to connect to this application",allowLogin:"Allow Login",allowLoginDescription:"The user will be able to connect to this application",updateRole:"Update Role",deleteUser:"Delete User",deleteUserDescription:'Confirm delete user "{name}"?',revokePassport:"Revoke Passport",revokePassportDescription:"Once the passport is revoked, the passport holder can not use it to login again, are you sure to continue?",enablePassport:"Enable Passport",enablePassportDescription:"Once the revoked passport is enabled again, the passport holder can use it to login again, are you sure to continue?",passportPermissionTitle:"The passport has the following permissions:",search:"Search Member",hideBlockedMember:"Hide Unapproved Members",inviteDialog:{createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},error:{passportEmpty:"Passport should not be empty"},connectedAccounts:"Connected Accounts",connections:"Connections",federated:"Federated",switch:{did:"Switch DID",profile:"Switch Profile",passport:"Switch Passport"},settings:{notification:"Notifications",email:"Send email to me when some events happen",wallet:"Send notification to my wallet when some events happen",phone:"Send text message to me when some events happen",webhook:"Webhooks",add:"Add new webhook",url:"Custom URL",slack:"Slack Webhook",tested:"Test message sent"},activeUserSessions:"Active User Sessions",forceLogout:"Force logout",forceLogoutDescription:"Confirm to force logout this user?"},transferNode:{name:"Transfer Ownership",inviteDialog:{title:"Transfer Blocklet Server",tips:{progress:"Transfer the server needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the server with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and Blocklets.",revoke:'If you want to withdraw the transfer invitation, you can delete the invitation link in the "Team -> Members -> Inviting" page.'},createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},delegateDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize server to transfer server ownership NFT.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"}},transferApp:{name:"Transfer Ownership",transferDialog:{title:"Transfer Application",tips:{progress:"Transfer the application needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the application with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and settings."},createTransferLink:"Generate Transfer Link",createSuccessTip1:'The transfer link is successfully created, the invitee must use <a style="color: rgb(29, 193, 199)" target="_blank" href="https://www.didwallet.io/">DID Wallet</a> to receive the app ownership',createSuccessTip2:"Please click to copy and send the link to the invited member, please note that this transfer link can not be reused and will expire on {expireDate}. Your transfer link will only be shown once and will not be viewable again after closing this dialog",createSuccessTip3:"After the transfer is successful, the application will automatically restart to make the changes take effect",link:"Transfer Link",iKnow:"I have copied and saved the link"},connectDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize application to transfer ownership.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},receiveDialog:{title:"Receive Application Ownership",scan:"Scan following QR code with DID Wallet to receive the application ownership.",confirm:"Confirm on your DID Wallet",success:"Receive Ownership Successfully"},successTitle:"You have become the new owner of this application",visitDashboard:"Visit Application Dashboard"},permission:{create:{title:"Create Permission",description:`Format: <action>_<resource>
261
- e.g. 'query_user', 'mutate_user'`},delete:{title:"Delete Permission",description:"Confirm delete {name}?"},error:{actionEmpty:"action cannot be empty",resourceEmpty:"resource cannot be empty",permissionTooLong:"permission cannot exceed {length} characters",descriptionTooLong:"description cannot exceed {length} characters"}},passport:{create:{title:"Create Passport",titleTip:"Title cannot be modified after created, recommended within 14 letters"},bind:{title:"Bind Permission",roleTip:"You will get all the permissions of the selected passport after binding",permissionTip:"You will get the selected permissions after binding",transferLeftTitle:"All permissions",transferRightTitle:"Granted permissions"},delete:{title:"Delete Passport",description:"The passports holds by user will lose all permissions after it is deleted. Are you sure to continue?"},error:{titleEmpty:"title cannot be empty",titleTooLong:"title cannot exceed {length} characters",descriptionEmpty:"description cannot be empty"},issuance:{pending:"Pending",create:{title:"Generate Link"},delete:{title:"Delete Receive Link",description:"Confirm delete {link}?"}},issue:"Issue Passport",disableIssuance:"Disable Passport Issuance",enableIssuance:"Enable Passport Issuance",disableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be disabled',enableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be enabled',trustedPassportIssuers:"Trusted Passport Issuers",trustedIssuers:"Trusted Issuers",trustedFactories:"Trusted NFT Collections",trustedFactoriesTip:"Manage trusted NFT Collections that can be used to exchange for a passport",searchFactoryAddress:"Search Collection DID",configFactories:"Config Trusted NFT Collections",configFactoriesTip:"Allow users to exchange NFTs for passport",factoryAddress:"NFT Collection Address",factory404:"NFT Collection not found",factoryAddressTip:"The NFT Collection address must exist on ArcBlock Main Chain",role:"Passport Type",ttl:"Passport Expire Policy",ttlNever:"Never Expire",ttlMint:"From NFT Purchase",ttlExchange:"From Passport Exchange",ttlNeverTip:"The passport will be valid until revoked",ttlMintTip:"The passport will be valid from the time the NFT is purchased until you specified ttl or revoke",ttlExchangeTip:"The passport will be valid from the time user successfully exchanged until you specified ttl or revoke",ttlTip:'"365d" means 365 days, you can also use "30 days" or "24h"',validUntil:"Valid until: {date}",externalPassport:"External Passport",notTrustedIssuerTip:"The passport cannot be used because the issuer is not on the list of trusted issuers",issuerDid:"Issuer DID",addNodeToTrustedIssuers:"Add current server as a trusted passport issuer",revoked:"Revoked",noPermission:"No permission to perform this operation",shouldNotDeleteCurrent:"You can not revoke your passport currently in use",mappingRule:"Mapping rule",defaultRule:"Default rule",search:"Search Passport",searchIssuerDid:"Search Issuer DID",issueBy:"Issue by {name}",configColor:"Config Passport Color",configColorTip:"Customize the color of the passport",color:"Passport Color",description:"Use this passport to connect {teamName} as {title}"},inviting:{link:"Invite Link",inviter:"Inviter",delete:{title:"Delete Invite Link",description:"Confirm delete {link}?"},disabledTip:"Invitation is not enabled"},whoCanAccess:{all:{title:"Accessible to all"},owner:{title:"Owner only"},invited:{title:"Invited user only"}}},launcher:{provider:"Provider",adminUrl:"URL"},session:{forbidLogin:"You have been blocked from access this server"},launchBlocklet:{appInfo:"Application Information",appInfoDesc:"Confirm the application information",author:"Application Author: {author}",setup:"Setup Blocklet",redirect:"Redirect",alreadyRunning:"Application {name} is already running on this Blocklet Server",alreadyInstalled:"Application {name} is already installed on this Blocklet Server",alreadyExists:"This application already exists, redirecting...",purchased:"Already Purchased",purchase:"Purchase",nextStep:"Next Step",agreement:"License Agreement",agreeAll:"Agree & Continue",installing:"Installing {appName} on {serverName}, it may take minutes to complete, please stay tuned...",redirecting:"{appName} is successfully installed, now starting...",start:"Launching",launch:"Install Blocklet to Server",launchSuccess:"{appName} is successfully launched!",installSuccess:"Blocklet is successfully installed and launched on {serverName}",openInRegistry:"View in Blocklet Store",subTitle:"Ready to install Blocklet {appName} on {serverName}",installingSubTitle:"{appName} installing",access:"Open the application",installRelatedComponents:"Install related Blocklets",viewApplication:"View Application",newVersion:"New Version",newVersionDesc:"The application already exists, but the current version can be upgraded",upgradeNow:"Upgrade Now",later:"Later",introduction:"Introduction",welcome:"Welcome to the Blocklet Launch Wizard",accept:"I agree to the Blocklet EULA",license:"Application License",next:"Agree to the EULA and continue",purchaseApp:"Purchase Blocklet",setupAppDesc:"Initialize your Blocklet",launched:"Complete",confirmInstall:"Confirm Installation",dialog:{title:"Become App Owner",nftFreeDescription:"Please present app space NFT and create app account to continue",nftPaidDescription:"Please present app space NFT and app purchase NFT to continue",freeDescription:"Please create app account to continue",paidDescription:"Please present app purchase NFT and create app account to continue",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully",authorizationTimeout:"Authorization timeout"},waiting:{verifying:"Verifying app meta...",downloading:"Downloading app bundle...",downloadingComponent:"Downloading {name}",extractingComponent:"Extracting {name}",extracting:"Extracting app bundle...",installing:"Installing app components...",installed:"Installed",starting:"Starting the app...",done:"Waiting for app ready..."},error:{loadMetaFailed:"Load app information failed",appMetaNotFound:"No information found for this app",downloadFailed:"Failed to download the app, please try again",installFailed:"Failed to install the app, please try again",startFailed:"Failed to start the app, please try again",launchFailed:"Failed to launch the app, please try again",installedButStopped:"The app is installed successfully, but cannot be started. You can start it manually after resolving blocking issues",installedButError:"The app is successfully installed, but failed to start",restoreFailed:"Failed to restore app, please try again",resourceBlocklet:"This blocklet cannot be launched directly, but you can add it into existing application."},steps:{introduction:"Introduction",installApp:"Install Application",purchaseSpace:"Purchase Space",prepareSpace:"Prepare Space"}},issuePassport:{title:"Receive Passport",description:"Use DID Wallet to receive the passport issued by {name}",dialog:{scan:"Use your DID Wallet to claim the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet",loginWithPassport:"Connect with this Passport",autoClose:"Page will auto close in {seconds}s",autoJump:"Page will auto jump in {seconds}s"}},lostPassport:{title:"Lost Passport",description:"The owner of {name} can scan the QR code to retrieve the passport, members please contact the owner to reissue the passport",dialog:{title:"Recover Passport",scan:"Use your DID Wallet to recover the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet"},return:"Connect with passport",selectPassport:"Select passport",receivePassport:"Receive passport"},invite:{message:"{name} invite you to be the {role} of {dapp}",success:"You have successfully joined {dapp}",receive:"Receive with",validUntil:"Valid until:",viewPermission:"View Permission",emptyPermission:"Empty Permission",open:"Open",description:{step1:"Download and setup your {wallet}",step2:"Click above button to receive passport",step3:"Login in {dapp} with received passport"},transferNFTDialog:{title:"Accept Blocklet Server {name}",scan:"Connect the Launcher to complete the reception of the Blocklet Server.",confirm:"Review this operation on your DID Wallet",success:"Connect successfully, waiting for confirmation of receiving the Server"}},receive:{dialog:{title:"Use your DID Wallet to receive passport",scan:"Connect your DID Wallet to receive passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"}},navigation:{navigation:"Navigation",access:"Access",members:"Members",passport:"Passport",analytics:"Analytics",dashboard:"Dashboard",studio:"Studio",blockletService:"Blocklet Service",actionFailed:"Action Failed",form:{title:"Title",titlePlaceholder:"Please input navigation title",titleTooLong:"Title length should small than {len}",icon:"Navigation Icon",iconPlaceholder:"Please input navigation icon",invalidIcon:"Icon is invalid",findMoreIcon:"Find more icons",link:"Link",linkPlaceholder:"Please input navigation link",invalidLink:"Link is invalid",component:"Component",componentPlaceholder:"Please select navigation component",role:"Role",rolePlaceholder:"Please select navigation role",locale:"Locale",localePlaceholder:"Please input locale need to add",localeExists:"{value} is already exists"},action:{add:"Add navigation",addSub:"Add sub navigation",edit:"Edit navigation",hide:"Hide navigation",show:"Show navigation",del:"Delete navigation",new:"New",noAddSub:"Uninstalled component can't add sub navigation",noEdit:"Uninstalled component can't edit",noDel:"Not allowed delete built-in navigation",reset:"Reset",restConfirmTitle:"Do you want to clear all custom navigation?",restConfirmDesc:"After clearing, the navigation will be restored to Blocklet's original default configuration.",resetSuccessful:"Reset successful"}},storage:{spaces:{tips:"Tips",label:"Enter DID Spaces Gateway",connected:{title:"Connected DID Spaces",tag:"Connected"},connectedWithName:"You have successfully connected to {name}",addedWithName:"You have successfully added {name}",connects:"Connect",reconnect:"Reconnect",addressCannotEmpty:"Address cannot be empty",addressNotValid:"{url} is not a valid address",authorize:{title:"Connect {appName} to DID Spaces",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} to connect to DID Spaces",success:"Connected successfully"},provideNFT:{title:"Please show the DID Spaces NFT for {appName}",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} show DID space NFT",success:"Connected successfully"},backup:{title:"Backup",records:"Backup Records"},autoBackup:{title:"Auto backup",enabled:"Automatic backup is on",disabled:"Automatic backup is off"},autoCheckUpdate:{title:"Automatically check for new version notification",enabled:"Automatically check for new version is on",disabled:"Automatically check for new version is off"},backupSuccessfully:"Backup successfully",restore:"Restore",restoreSuccessfully:"Restore successfully",gateway:{title:"Gateway",select:"Select a DID Spaces",add:{title:"Add DID Spaces",label:"Enter the url of the DID Spaces",failed:"Add DID Spaces failed",invalidUrl:"Invalid DID Spaces gateway url",duplicate:"DID Space({name}) already exist"},delete:{title:"Delete gateway",succeeded:"Delete DID Spaces{name} Success",failed:"Delete gateway failed",failedForSelected:"Unable to delete a selected DID Spaces"},connect:{title:"Connect DID Spaces",add:"Connect to DID Spaces now",addTips:"You are not connected to any Space yet",switch:"Switch DID Spaces",switchTips:"You are connected to {name}",connected:"Connected"},switch:{failedForMismatchSpace:"Please connect to the correct Space{name}"},connectTo:"Connect to DID Spaces"},strategy:{title:"Backup Strategy",autoBackup:"Auto backup",backupNow:"Backup now",viewBackupFiles:"View backup files"},progress:{title:"Backup progress"},record:{title:"Backup records",emptyData:"No records"},notYet:"You don't have a backup in progress yet...",connect:{now:"Connect now",title:"Connect DID Spaces",provider:"Provide your DID Spaces to start backups",providerForStorage:"Please connect your DID Spaces",useWallet:"Connect with DID Wallet",useWalletReconnect:"Reconnect with DID Wallet",useSpaceGateway:"Connect using the DID Spaces gateway",useSpaceGatewayReconnect:"Reconnect using the DID Spaces gateway",switchToSpace:"Switch to Space",switchToSpaceSucceeded:"Switched to Space{name}",succeeded:"You have successfully connected to DID Spaces",disconnect:"disconnect"},disconnected:{tag:"Disconnected",reconnectNow:"Reconnect Now"}}},log:{lastDays:{1:"Last 1 Day",7:"Last 1 Week"}},oauth:{commonSettings:"Common Settings",save:"Save",saveSuccess:"Save successfully",saveFailed:"Save failed",issued:"Issued",thirdPartyLogin:"Third party login",alreadyBindOAuth:"Already bind third party login",alreadyBindWallet:"Already bind DID Wallet",auth0:{enable:"Enable Auth0 login",domain:"Domain",domainDescription:"Auth0's domain is required",clientId:"Client ID",clientIdDescription:"Auth0 OAuth application client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Auth0 OAuth application Client Secret is required"},github:{enable:"Enable Github login",clientId:"Client ID",clientIdDescription:"Github OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Github OAuth application Client Secret is required"},google:{enable:"Enable Google login",clientId:"Client ID",clientIdDescription:"Google OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Google OAuth application Client Secret is required"},apple:{enable:"Enable Apple login",teamId:"Team ID",teamIdDescription:"Apple OAuth application Team ID is required",serviceId:"Service ID",serviceIdDescription:"Apple OAuth application Service ID is required",keyId:"Key ID",keyIdDescription:"Apple OAuth application Key ID is required",authKey:"Auth Key",authKeyDescription:"Apple OAuth application Auth Key is required",bundleId:"Bundle ID",bundleIdDescription:"Apple OAuth application Bundle ID is required"},comingSoon:"More login methods are under construction",moreLogin:"More Login",federated:"Federated Login",oauth:"Third Party Login",runTest:"Test"},expiration:{mobile:{tips:{success:"{validity}",warning:"{validity}",error:"Expired"},loadFailed:"Retry!"},desktop:{tips:{success:"Subscription will expire after {validity}",warning:"Subscription will expire after {validity}",error:"Subscription Expired"},loading:"Load subscription...",loadFailed:"Failed to load subscription info, please retry!",nextInvoice:"Next Invoice: {date}"}},analytics:{trend:"Trends",detail:"Breakdown",traffic:{totalRequests:"Total Requests",validRequests:"Success Requests",failedRequests:"Failed Requests",uniqueVisitors:"Unique Visitors",uniqueFiles:"Unique URLs",uniqueReferrers:"Unique Referrers",uniqueNotFound:"Unique 404",uniqueStaticFiles:"Unique Static Files",logSize:"Log Size",bandwidth:"Bandwidth"}},federated:{inviteJoinFederatedLogin:"Invite to join federated login",inviteJoinFederatedLoginDescription:"Copy the following address and fill it in the application where you need to join to apply for federated login.",federatedLogin:"Federated login",joinFederatedLogin:"Join federated login",joinFederatedLoginDescription:"Please enter the federated login address provided by Master Blocklet to join the federated login",quitFederatedLogin:"Quit federated login",quitFederatedLoginDescription:"After quit federated login, normal login is always available",federatedJoinAppUrl:"Federated login join appUrl",federatedJoinAppUrlRequired:"Please input federated login join appUrl",failedToGetFederatedLoginAppUrl:"Failed to get federated login join appUrl",federatedJoinAppUrlInvalid:"Federated login appUrl is invalid",siteDetail:"Site detail",approveToJoinLogin:"Approve to join federated login",approve:"Enable login",revoke:"Disable login",enableFederatedLogin:"Enable federated login",disableFederatedLogin:"Disable federated login",enableFederatedLoginDescription:"After enable federated login, this site will be auto login",disableFederatedLoginDescription:"After disable federated login, this site will not be auto login",enableFederatedAutoLogin:"Enable automatic login",enableFederatedAutoLoginDescription:"After enable automatic login, if there is currently a unified login status, the site will automatically log in the identity of the federated login",disableFederatedAutoLogin:"Disable automatic login",disableFederatedAutoLoginDescription:"After the automatic login is turned off, the site will not automatically log in the user information of the unified login, and you can still choose to manually click to log in with the identity of the federated login",info:{appId:"APP DID",appPid:"Permanent ID",migratedFrom:"Also Known As",appName:"Blocklet name",appDescription:"Blocklet description",appUrl:"Blocklet url",appLogo:"Blocklet logo",did:"Blocklet DID",serverId:"Blocklet Server ID",serverVersion:"Blocklet Server version",version:"Blocklet version",appliedAt:"Apply at",status:"Status"},status:{pending:"Pending",approved:"Approved",rejected:"Rejected",revoked:"Revoked"},disbandFederatedLogin:"Disband federated login",disbandFederatedLoginDescription:"After disband federated login, all member site will quit federated login automatically"},optionsOrder:{1:"Option One",2:"Option Two"}},en={pageTitle:{login:"Login",dashboard:"Blocklet Dashboard",userCenter:"User Center",invite:"Invite",issuePassport:"Issue Passport",lostPassort:"Lost Passport"},auth:{noPermission:{title:"No Permission",description:"You are not the administrator of the blocklet"}},login:{reLogin:"Reconnect",description:"You must connect your DID Wallet to access {name}",already:"You are connected as",connectWallet:"Connect DID Wallet",closeWindow:"Close window",switchDid:{title:"Switch DID Wallet",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch DID Wallet",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect DID Wallet",scan:"Connect your DID Wallet to access this application",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"},accessLimit:{title:"Page access restricted ",description:"This page requires the following passports to access, please connect to the wallet to change or apply for the corresponding pass.",alreadyHavePassport:"Already have the passport",connectWithPassport:"Connect with this passport",buyPassport:"buyPassport"},connectWithPassport:"Connect with this passport",needManualClose:"Login success, if this window is not auto closed, please close it.",invalidRedirectUrl:"Invalid redirect url"},studio:{home:"Studio",preferences:"Preference Builder",localization:"Localization"},blocklet:{startApplication:"Start Application",startDescription:"Ready to start {name}",start:"Start",starting:"Starting...",open:"Open",suspended:"Application suspended",terminated:"Application terminated",suspendedCausedByExpired:"This application has been suspended due to payment expiration. Please renew before the {deadline} to resume. Failure to renew within the specified timeframe will result in the inability to renew or resume.",suspendedCausedByTerminated:"The application was terminated due to the cancellation of the subscription, which was canceled on {canceledAt}, and the data will be retained until {deadline}; before the data is deleted, you can back up the data to DID Spaces.",manageSubscription:"Manage Subscription"},setup:{steps:{connect:"Connect",didSpace:"DID Spaces",config:"Configuration",domain:"Domain",access:"Access Control",fuel:"Fuel",complete:"Complete",introduction:"Introduction",selectNodeDesc:"Select Blocklet Server",launchAppDesc:"Install Blocklet to Server",setupAppDesc:"Setup Blocklet",launched:"Complete"},connect:{title:"Connect to Application",scan:"Connect your DID Wallet to provide user profile and the blocklet's Owner privileges, then you can configure and launch the app.",confirm:"Confirm on your DID Wallet",success:"You are connected successfully"},domain:{addTitle:"Add a new domain name (Optional)",title:"Domain Setting",subTitle:"Set a custom domain for the application",label:"Please provide a valid domain name",tipStart:"Please make sure",tipEnd:"has point to the current Server",cannotResolve:"{domain} can not be resolved, please check your DNS configuration",checkingResolvable:"Checking domain status...",addingCert:"Generating certificate...",addingDomain:"Adding domain...",recordType:"Record Type",recordValue:"Record Value",skipStart:"You can",skip:"skip custom domain setting",skipEnd:"and use the default domain to access the application",genCertSuccess:"The {domain} certificate is issued successfully",genCertFailed:"Failed to issue certificate for {domain}: {message}",genCertFailedForNFTDomain:"Added NFT domain successfully, but failed to generate HTTPS certificate, please try again later",resolvedAddressError:"{domain} does not point to the same IP address as {curDomain}",invalidDNSReminder:"{error}. However, you can continue to add the domain, but automatic certificate generation is not available.",continueAdd:"Continue Adding"},didSpace:{title:"Configure DID Spaces",subTitle:"Complete the following connection process to store application data in DID Spaces",tips:"Tips",description:"Configure the DID Spaces instance address and store the application data in DID Spaces after a successful connection",label:"Please select the DID Spaces service",connected:"You have successfully connected to DID Spaces",connect:"Connect Now",reconnect:"Reconnect",addressCannotEmpty:"Address cannot be empty",addressNotValid:"{url} is not a valid address",authorize:{title:"Connect {appName} to DID Spaces",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} to connect to DID Spaces",success:"Connected successfully"}},config:{title:"Configuration",subTitle:"Other configuration items (you will also need to set the following items)"},complete:{title:"Everything is Ready",failedTitle:"Failed to start Blocklet",backToServer:"Back to Blocklet Server",notRunning:"Blocklet failed to start on the first shot, please retry"},fuel:{title:"Fuel required to start",tipStart:"slot",tipEnd:" is required for this application to work properly, the fund are saved in the application wallet and can consumed for transaction gas purpose. You can withdraw your balance at any time when you no longer have the app running.",addressTitle:"Application Account",addressTip:"Fuel the application with DID Wallet",need:"Need",current:"Current",fuelApp:"Fuel the application"},title:"Setup",next:"Next",previous:"Previous",continue:"Continue",skip:"Skip",startNow:"Start Now",confirm:"Confirm",cancel:"Cancel"},user:{walletNotification:"DID Wallet notification",emailNotification:"Email notification",smsNotification:"SMS notification",addWebhook:"Add New Webhook"}},translations$9={en:be(merge$2(en$1,en)),ar:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ar-2JePd-i1.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ar-lTVP4T3d.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},de:async()=>{const a=await Promise.all([__vitePreload(()=>import("./de-DFRVy5eA.js"),[]).then(j=>j.default),__vitePreload(()=>import("./de-B3TxaybY.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},es:async()=>{const a=await Promise.all([__vitePreload(()=>import("./es-D3TLX5Mb.js"),[]).then(j=>j.default),__vitePreload(()=>import("./es-BY0KMFme.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},fr:async()=>{const a=await Promise.all([__vitePreload(()=>import("./fr-B2p5dLWr.js"),[]).then(j=>j.default),__vitePreload(()=>import("./fr-BiVZLeXU.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},hi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./hi-DmXVnjfE.js"),[]).then(j=>j.default),__vitePreload(()=>import("./hi-B_LrkIOS.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},id:async()=>{const a=await Promise.all([__vitePreload(()=>import("./id-BPCkzz44.js"),[]).then(j=>j.default),__vitePreload(()=>import("./id-jBXPD1he.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},ja:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ja-DdBhyqmR.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ja-DKiHQ6DE.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},ko:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ko-DagkAgw5.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ko-BBYyf1yM.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},pt:async()=>{const a=await Promise.all([__vitePreload(()=>import("./pt-DTmAqAWs.js"),[]).then(j=>j.default),__vitePreload(()=>import("./pt-DI2MIkSi.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},ru:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ru-BZQlsXeO.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ru-B2L3CRQ4.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},th:async()=>{const a=await Promise.all([__vitePreload(()=>import("./th-DSRLorcE.js"),[]).then(j=>j.default),__vitePreload(()=>import("./th-CfNBHHtU.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},vi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./vi-dE7BhTCc.js"),[]).then(j=>j.default),__vitePreload(()=>import("./vi-DbzhnofW.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},zh:async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-DfGqeTts.js"),[]).then(j=>j.default),__vitePreload(()=>import("./zh-FO0C29Rb.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},"zh-TW":async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-tw-COZAaB9V.js"),[]).then(j=>j.default),__vitePreload(()=>import("./zh-tw-cyWwf75a.js"),[]).then(j=>j.default)]);return be(merge$2(...a))}};function arrayEach$1(a,j){for(var _e=-1,et=a==null?0:a.length;++_e<et&&j(a[_e],_e,a)!==!1;);return a}var _arrayEach=arrayEach$1,overArg=_overArg,nativeKeys$1=overArg(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype$1=_isPrototype,nativeKeys=_nativeKeys,objectProto$7=Object.prototype,hasOwnProperty$b=objectProto$7.hasOwnProperty;function baseKeys$2(a){if(!isPrototype$1(a))return nativeKeys(a);var j=[];for(var _e in Object(a))hasOwnProperty$b.call(a,_e)&&_e!="constructor"&&j.push(_e);return j}var _baseKeys=baseKeys$2,arrayLikeKeys=_arrayLikeKeys,baseKeys$1=_baseKeys,isArrayLike$3=isArrayLike_1;function keys$6(a){return isArrayLike$3(a)?arrayLikeKeys(a):baseKeys$1(a)}var keys_1=keys$6,copyObject$4=_copyObject,keys$5=keys_1;function baseAssign$1(a,j){return a&&copyObject$4(j,keys$5(j),a)}var _baseAssign=baseAssign$1,copyObject$3=_copyObject,keysIn$2=keysIn_1;function baseAssignIn$1(a,j){return a&&copyObject$3(j,keysIn$2(j),a)}var _baseAssignIn=baseAssignIn$1;function arrayFilter$1(a,j){for(var _e=-1,et=a==null?0:a.length,nt=0,tt=[];++_e<et;){var ot=a[_e];j(ot,_e,a)&&(tt[nt++]=ot)}return tt}var _arrayFilter=arrayFilter$1;function stubArray$2(){return[]}var stubArray_1=stubArray$2,arrayFilter=_arrayFilter,stubArray$1=stubArray_1,objectProto$6=Object.prototype,propertyIsEnumerable=objectProto$6.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols$3=nativeGetSymbols$1?function(a){return a==null?[]:(a=Object(a),arrayFilter(nativeGetSymbols$1(a),function(j){return propertyIsEnumerable.call(a,j)}))}:stubArray$1,_getSymbols=getSymbols$3,copyObject$2=_copyObject,getSymbols$2=_getSymbols;function copySymbols$1(a,j){return copyObject$2(a,getSymbols$2(a),j)}var _copySymbols=copySymbols$1;function arrayPush$3(a,j){for(var _e=-1,et=j.length,nt=a.length;++_e<et;)a[nt+_e]=j[_e];return a}var _arrayPush=arrayPush$3,arrayPush$2=_arrayPush,getPrototype=_getPrototype,getSymbols$1=_getSymbols,stubArray=stubArray_1,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn$2=nativeGetSymbols?function(a){for(var j=[];a;)arrayPush$2(j,getSymbols$1(a)),a=getPrototype(a);return j}:stubArray,_getSymbolsIn=getSymbolsIn$2,copyObject$1=_copyObject,getSymbolsIn$1=_getSymbolsIn;function copySymbolsIn$1(a,j){return copyObject$1(a,getSymbolsIn$1(a),j)}var _copySymbolsIn=copySymbolsIn$1,arrayPush$1=_arrayPush,isArray$e=isArray_1;function baseGetAllKeys$2(a,j,_e){var et=j(a);return isArray$e(a)?et:arrayPush$1(et,_e(a))}var _baseGetAllKeys=baseGetAllKeys$2,baseGetAllKeys$1=_baseGetAllKeys,getSymbols=_getSymbols,keys$4=keys_1;function getAllKeys$2(a){return baseGetAllKeys$1(a,keys$4,getSymbols)}var _getAllKeys=getAllKeys$2,baseGetAllKeys=_baseGetAllKeys,getSymbolsIn=_getSymbolsIn,keysIn$1=keysIn_1;function getAllKeysIn$3(a){return baseGetAllKeys(a,keysIn$1,getSymbolsIn)}var _getAllKeysIn=getAllKeysIn$3,getNative$5=_getNative,root$7=_root,DataView$2=getNative$5(root$7,"DataView"),_DataView=DataView$2,getNative$4=_getNative,root$6=_root,Promise$2=getNative$4(root$6,"Promise"),_Promise=Promise$2,getNative$3=_getNative,root$5=_root,Set$3=getNative$3(root$5,"Set"),_Set=Set$3,getNative$2=_getNative,root$4=_root,WeakMap$4=getNative$2(root$4,"WeakMap"),_WeakMap=WeakMap$4,DataView$1=_DataView,Map$3=_Map,Promise$1=_Promise,Set$2=_Set,WeakMap$3=_WeakMap,baseGetTag$3=_baseGetTag,toSource$2=_toSource,mapTag$5="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$5="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource$2(DataView$1),mapCtorString=toSource$2(Map$3),promiseCtorString=toSource$2(Promise$1),setCtorString=toSource$2(Set$2),weakMapCtorString=toSource$2(WeakMap$3),getTag$5=baseGetTag$3;(DataView$1&&getTag$5(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$3||Map$3&&getTag$5(new Map$3)!=mapTag$5||Promise$1&&getTag$5(Promise$1.resolve())!=promiseTag||Set$2&&getTag$5(new Set$2)!=setTag$5||WeakMap$3&&getTag$5(new WeakMap$3)!=weakMapTag$1)&&(getTag$5=function(a){var j=baseGetTag$3(a),_e=j==objectTag$2?a.constructor:void 0,et=_e?toSource$2(_e):"";if(et)switch(et){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$5;case promiseCtorString:return promiseTag;case setCtorString:return setTag$5;case weakMapCtorString:return weakMapTag$1}return j});var _getTag=getTag$5,objectProto$5=Object.prototype,hasOwnProperty$a=objectProto$5.hasOwnProperty;function initCloneArray$1(a){var j=a.length,_e=new a.constructor(j);return j&&typeof a[0]=="string"&&hasOwnProperty$a.call(a,"index")&&(_e.index=a.index,_e.input=a.input),_e}var _initCloneArray=initCloneArray$1,cloneArrayBuffer$1=_cloneArrayBuffer;function cloneDataView$1(a,j){var _e=j?cloneArrayBuffer$1(a.buffer):a.buffer;return new a.constructor(_e,a.byteOffset,a.byteLength)}var _cloneDataView=cloneDataView$1,reFlags=/\w*$/;function cloneRegExp$1(a){var j=new a.constructor(a.source,reFlags.exec(a));return j.lastIndex=a.lastIndex,j}var _cloneRegExp=cloneRegExp$1,Symbol$6=_Symbol,symbolProto$3=Symbol$6?Symbol$6.prototype:void 0,symbolValueOf$1=symbolProto$3?symbolProto$3.valueOf:void 0;function cloneSymbol$1(a){return symbolValueOf$1?Object(symbolValueOf$1.call(a)):{}}var _cloneSymbol=cloneSymbol$1,cloneArrayBuffer=_cloneArrayBuffer,cloneDataView=_cloneDataView,cloneRegExp=_cloneRegExp,cloneSymbol=_cloneSymbol,cloneTypedArray=_cloneTypedArray,boolTag$3="[object Boolean]",dateTag$2="[object Date]",mapTag$4="[object Map]",numberTag$3="[object Number]",regexpTag$2="[object RegExp]",setTag$4="[object Set]",stringTag$3="[object String]",symbolTag$4="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag$1(a,j,_e){var et=a.constructor;switch(j){case arrayBufferTag$2:return cloneArrayBuffer(a);case boolTag$3:case dateTag$2:return new et(+a);case dataViewTag$2:return cloneDataView(a,_e);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(a,_e);case mapTag$4:return new et;case numberTag$3:case stringTag$3:return new et(a);case regexpTag$2:return cloneRegExp(a);case setTag$4:return new et;case symbolTag$4:return cloneSymbol(a)}}var _initCloneByTag=initCloneByTag$1,getTag$4=_getTag,isObjectLike$8=isObjectLike_1,mapTag$3="[object Map]";function baseIsMap$1(a){return isObjectLike$8(a)&&getTag$4(a)==mapTag$3}var _baseIsMap=baseIsMap$1,baseIsMap=_baseIsMap,baseUnary$3=_baseUnary,nodeUtil$1=_nodeUtilExports,nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap$1=nodeIsMap?baseUnary$3(nodeIsMap):baseIsMap,isMap_1=isMap$1,getTag$3=_getTag,isObjectLike$7=isObjectLike_1,setTag$3="[object Set]";function baseIsSet$1(a){return isObjectLike$7(a)&&getTag$3(a)==setTag$3}var _baseIsSet=baseIsSet$1,baseIsSet=_baseIsSet,baseUnary$2=_baseUnary,nodeUtil=_nodeUtilExports,nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet$1=nodeIsSet?baseUnary$2(nodeIsSet):baseIsSet,isSet_1=isSet$1,Stack$2=_Stack,arrayEach=_arrayEach,assignValue$2=_assignValue,baseAssign=_baseAssign,baseAssignIn=_baseAssignIn,cloneBuffer=_cloneBufferExports,copyArray=_copyArray,copySymbols=_copySymbols,copySymbolsIn=_copySymbolsIn,getAllKeys$1=_getAllKeys,getAllKeysIn$2=_getAllKeysIn,getTag$2=_getTag,initCloneArray=_initCloneArray,initCloneByTag=_initCloneByTag,initCloneObject=_initCloneObject,isArray$d=isArray_1,isBuffer$3=isBufferExports,isMap=isMap_1,isObject$f=isObject_1,isSet=isSet_1,keys$3=keys_1,keysIn=keysIn_1,CLONE_DEEP_FLAG$2=1,CLONE_FLAT_FLAG$1=2,CLONE_SYMBOLS_FLAG$2=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$2="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag$2="[object Function]",genTag$2="[object GeneratorFunction]",mapTag$2="[object Map]",numberTag$2="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$2="[object String]",symbolTag$3="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$2]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$2]=cloneableTags[numberTag$2]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$2]=cloneableTags[stringTag$2]=cloneableTags[symbolTag$3]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag$2]=cloneableTags[weakMapTag]=!1;function baseClone$2(a,j,_e,et,nt,tt){var ot,ft=j&CLONE_DEEP_FLAG$2,dt=j&CLONE_FLAT_FLAG$1,mt=j&CLONE_SYMBOLS_FLAG$2;if(_e&&(ot=nt?_e(a,et,nt,tt):_e(a)),ot!==void 0)return ot;if(!isObject$f(a))return a;var pt=isArray$d(a);if(pt){if(ot=initCloneArray(a),!ft)return copyArray(a,ot)}else{var yt=getTag$2(a),Tt=yt==funcTag$2||yt==genTag$2;if(isBuffer$3(a))return cloneBuffer(a,ft);if(yt==objectTag$1||yt==argsTag$1||Tt&&!nt){if(ot=dt||Tt?{}:initCloneObject(a),!ft)return dt?copySymbolsIn(a,baseAssignIn(ot,a)):copySymbols(a,baseAssign(ot,a))}else{if(!cloneableTags[yt])return nt?a:{};ot=initCloneByTag(a,yt,ft)}}tt||(tt=new Stack$2);var St=tt.get(a);if(St)return St;tt.set(a,ot),isSet(a)?a.forEach(function(Mt){ot.add(baseClone$2(Mt,j,_e,Mt,a,tt))}):isMap(a)&&a.forEach(function(Mt,kt){ot.set(kt,baseClone$2(Mt,j,_e,kt,a,tt))});var At=mt?dt?getAllKeysIn$2:getAllKeys$1:dt?keysIn:keys$3,Ct=pt?void 0:At(a);return arrayEach(Ct||a,function(Mt,kt){Ct&&(kt=Mt,Mt=a[kt]),assignValue$2(ot,kt,baseClone$2(Mt,j,_e,kt,a,tt))}),ot}var _baseClone=baseClone$2;function last$2(a){var j=a==null?0:a.length;return j?a[j-1]:void 0}var last_1=last$2,baseGet$4=_baseGet,baseSlice=_baseSlice;function parent$1(a,j){return j.length<2?a:baseGet$4(a,baseSlice(j,0,-1))}var _parent=parent$1,castPath$6=_castPath,last$1=last_1,parent=_parent,toKey$6=_toKey;function baseUnset$1(a,j){return j=castPath$6(j,a),a=parent(a,j),a==null||delete a[toKey$6(last$1(j))]}var _baseUnset=baseUnset$1,isPlainObject$1=isPlainObject_1;function customOmitClone$1(a){return isPlainObject$1(a)?void 0:a}var _customOmitClone=customOmitClone$1,Symbol$5=_Symbol,isArguments$4=isArguments_1,isArray$c=isArray_1,spreadableSymbol=Symbol$5?Symbol$5.isConcatSpreadable:void 0;function isFlattenable$1(a){return isArray$c(a)||isArguments$4(a)||!!(spreadableSymbol&&a&&a[spreadableSymbol])}var _isFlattenable=isFlattenable$1,arrayPush=_arrayPush,isFlattenable=_isFlattenable;function baseFlatten$3(a,j,_e,et,nt){var tt=-1,ot=a.length;for(_e||(_e=isFlattenable),nt||(nt=[]);++tt<ot;){var ft=a[tt];j>0&&_e(ft)?j>1?baseFlatten$3(ft,j-1,_e,et,nt):arrayPush(nt,ft):et||(nt[nt.length]=ft)}return nt}var _baseFlatten=baseFlatten$3,baseFlatten$2=_baseFlatten;function flatten$2(a){var j=a==null?0:a.length;return j?baseFlatten$2(a,1):[]}var flatten_1=flatten$2;const flatten$3=getDefaultExportFromCjs$1(flatten_1);var flatten$1=flatten_1,overRest=_overRest,setToString=_setToString;function flatRest$2(a){return setToString(overRest(a,void 0,flatten$1),a+"")}var _flatRest=flatRest$2,arrayMap$4=_arrayMap,baseClone$1=_baseClone,baseUnset=_baseUnset,castPath$5=_castPath,copyObject=_copyObject,customOmitClone=_customOmitClone,flatRest$1=_flatRest,getAllKeysIn$1=_getAllKeysIn,CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,omit=flatRest$1(function(a,j){var _e={};if(a==null)return _e;var et=!1;j=arrayMap$4(j,function(tt){return tt=castPath$5(tt,a),et||(et=tt.length>1),tt}),copyObject(a,getAllKeysIn$1(a),_e),et&&(_e=baseClone$1(_e,CLONE_DEEP_FLAG$1|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG$1,customOmitClone));for(var nt=j.length;nt--;)baseUnset(_e,j[nt]);return _e}),omit_1=omit;const omit$1=getDefaultExportFromCjs$1(omit_1);var assignValue$1=_assignValue,castPath$4=_castPath,isIndex$2=_isIndex,isObject$e=isObject_1,toKey$5=_toKey;function baseSet$2(a,j,_e,et){if(!isObject$e(a))return a;j=castPath$4(j,a);for(var nt=-1,tt=j.length,ot=tt-1,ft=a;ft!=null&&++nt<tt;){var dt=toKey$5(j[nt]),mt=_e;if(dt==="__proto__"||dt==="constructor"||dt==="prototype")return a;if(nt!=ot){var pt=ft[dt];mt=et?et(pt,dt,ft):void 0,mt===void 0&&(mt=isObject$e(pt)?pt:isIndex$2(j[nt+1])?[]:{})}assignValue$1(ft,dt,mt),ft=ft[dt]}return a}var _baseSet=baseSet$2,baseGet$3=_baseGet,baseSet$1=_baseSet,castPath$3=_castPath;function basePickBy$2(a,j,_e){for(var et=-1,nt=j.length,tt={};++et<nt;){var ot=j[et],ft=baseGet$3(a,ot);_e(ft,ot)&&baseSet$1(tt,castPath$3(ot,a),ft)}return tt}var _basePickBy=basePickBy$2;function baseHasIn$1(a,j){return a!=null&&j in Object(a)}var _baseHasIn=baseHasIn$1,castPath$2=_castPath,isArguments$3=isArguments_1,isArray$b=isArray_1,isIndex$1=_isIndex,isLength=isLength_1,toKey$4=_toKey;function hasPath$1(a,j,_e){j=castPath$2(j,a);for(var et=-1,nt=j.length,tt=!1;++et<nt;){var ot=toKey$4(j[et]);if(!(tt=a!=null&&_e(a,ot)))break;a=a[ot]}return tt||++et!=nt?tt:(nt=a==null?0:a.length,!!nt&&isLength(nt)&&isIndex$1(ot,nt)&&(isArray$b(a)||isArguments$3(a)))}var _hasPath=hasPath$1,baseHasIn=_baseHasIn,hasPath=_hasPath;function hasIn$2(a,j){return a!=null&&hasPath(a,j,baseHasIn)}var hasIn_1=hasIn$2,basePickBy$1=_basePickBy,hasIn$1=hasIn_1;function basePick$1(a,j){return basePickBy$1(a,j,function(_e,et){return hasIn$1(a,et)})}var _basePick=basePick$1,basePick=_basePick,flatRest=_flatRest,pick$1=flatRest(function(a,j){return a==null?{}:basePick(a,j)}),pick_1$1=pick$1;const pick$2=getDefaultExportFromCjs$1(pick_1$1);var baseClone=_baseClone,CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(a){return baseClone(a,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var cloneDeep_1=cloneDeep;const cloneDeep$1=getDefaultExportFromCjs$1(cloneDeep_1);function isUndefined$1(a){return a===void 0}var isUndefined_1=isUndefined$1;const isUndefined$2=getDefaultExportFromCjs$1(isUndefined_1);var baseMerge$1=_baseMerge,isObject$d=isObject_1;function customDefaultsMerge$1(a,j,_e,et,nt,tt){return isObject$d(a)&&isObject$d(j)&&(tt.set(j,a),baseMerge$1(a,j,void 0,customDefaultsMerge$1,tt),tt.delete(j)),a}var _customDefaultsMerge=customDefaultsMerge$1,baseMerge=_baseMerge,createAssigner=_createAssigner,mergeWith$1=createAssigner(function(a,j,_e,et){baseMerge(a,j,_e,et)}),mergeWith_1=mergeWith$1,apply$2=_apply,baseRest$3=_baseRest,customDefaultsMerge=_customDefaultsMerge,mergeWith=mergeWith_1,defaultsDeep=baseRest$3(function(a){return a.push(void 0,customDefaultsMerge),apply$2(mergeWith,void 0,a)}),defaultsDeep_1=defaultsDeep;const defaultsDeep$1=getDefaultExportFromCjs$1(defaultsDeep_1);var eventemitter3$1={exports:{}};(function(a){var j=Object.prototype.hasOwnProperty,_e="~";function et(){}Object.create&&(et.prototype=Object.create(null),new et().__proto__||(_e=!1));function nt(dt,mt,pt){this.fn=dt,this.context=mt,this.once=pt||!1}function tt(dt,mt,pt,yt,Tt){if(typeof pt!="function")throw new TypeError("The listener must be a function");var St=new nt(pt,yt||dt,Tt),At=_e?_e+mt:mt;return dt._events[At]?dt._events[At].fn?dt._events[At]=[dt._events[At],St]:dt._events[At].push(St):(dt._events[At]=St,dt._eventsCount++),dt}function ot(dt,mt){--dt._eventsCount===0?dt._events=new et:delete dt._events[mt]}function ft(){this._events=new et,this._eventsCount=0}ft.prototype.eventNames=function(){var mt=[],pt,yt;if(this._eventsCount===0)return mt;for(yt in pt=this._events)j.call(pt,yt)&&mt.push(_e?yt.slice(1):yt);return Object.getOwnPropertySymbols?mt.concat(Object.getOwnPropertySymbols(pt)):mt},ft.prototype.listeners=function(mt){var pt=_e?_e+mt:mt,yt=this._events[pt];if(!yt)return[];if(yt.fn)return[yt.fn];for(var Tt=0,St=yt.length,At=new Array(St);Tt<St;Tt++)At[Tt]=yt[Tt].fn;return At},ft.prototype.listenerCount=function(mt){var pt=_e?_e+mt:mt,yt=this._events[pt];return yt?yt.fn?1:yt.length:0},ft.prototype.emit=function(mt,pt,yt,Tt,St,At){var Ct=_e?_e+mt:mt;if(!this._events[Ct])return!1;var Mt=this._events[Ct],kt=arguments.length,Pt,Lt;if(Mt.fn){switch(Mt.once&&this.removeListener(mt,Mt.fn,void 0,!0),kt){case 1:return Mt.fn.call(Mt.context),!0;case 2:return Mt.fn.call(Mt.context,pt),!0;case 3:return Mt.fn.call(Mt.context,pt,yt),!0;case 4:return Mt.fn.call(Mt.context,pt,yt,Tt),!0;case 5:return Mt.fn.call(Mt.context,pt,yt,Tt,St),!0;case 6:return Mt.fn.call(Mt.context,pt,yt,Tt,St,At),!0}for(Lt=1,Pt=new Array(kt-1);Lt<kt;Lt++)Pt[Lt-1]=arguments[Lt];Mt.fn.apply(Mt.context,Pt)}else{var Ft=Mt.length,Yt;for(Lt=0;Lt<Ft;Lt++)switch(Mt[Lt].once&&this.removeListener(mt,Mt[Lt].fn,void 0,!0),kt){case 1:Mt[Lt].fn.call(Mt[Lt].context);break;case 2:Mt[Lt].fn.call(Mt[Lt].context,pt);break;case 3:Mt[Lt].fn.call(Mt[Lt].context,pt,yt);break;case 4:Mt[Lt].fn.call(Mt[Lt].context,pt,yt,Tt);break;default:if(!Pt)for(Yt=1,Pt=new Array(kt-1);Yt<kt;Yt++)Pt[Yt-1]=arguments[Yt];Mt[Lt].fn.apply(Mt[Lt].context,Pt)}}return!0},ft.prototype.on=function(mt,pt,yt){return tt(this,mt,pt,yt,!1)},ft.prototype.once=function(mt,pt,yt){return tt(this,mt,pt,yt,!0)},ft.prototype.removeListener=function(mt,pt,yt,Tt){var St=_e?_e+mt:mt;if(!this._events[St])return this;if(!pt)return ot(this,St),this;var At=this._events[St];if(At.fn)At.fn===pt&&(!Tt||At.once)&&(!yt||At.context===yt)&&ot(this,St);else{for(var Ct=0,Mt=[],kt=At.length;Ct<kt;Ct++)(At[Ct].fn!==pt||Tt&&!At[Ct].once||yt&&At[Ct].context!==yt)&&Mt.push(At[Ct]);Mt.length?this._events[St]=Mt.length===1?Mt[0]:Mt:ot(this,St)}return this},ft.prototype.removeAllListeners=function(mt){var pt;return mt?(pt=_e?_e+mt:mt,this._events[pt]&&ot(this,pt)):(this._events=new et,this._eventsCount=0),this},ft.prototype.off=ft.prototype.removeListener,ft.prototype.addListener=ft.prototype.on,ft.prefixed=_e,ft.EventEmitter=ft,a.exports=ft})(eventemitter3$1);var eventemitter3Exports$1=eventemitter3$1.exports;const EventEmitter$6=getDefaultExportFromCjs$1(eventemitter3Exports$1);var pWaitFor$2={exports:{}},pTimeout$3={exports:{}};class TimeoutError extends Error{constructor(j){super(j),this.name="TimeoutError"}}const pTimeout$1=(a,j,_e,et)=>{let nt;const tt=new Promise((ot,ft)=>{if(typeof j!="number"||j<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(j===1/0){ot(a);return}et={customTimers:{setTimeout,clearTimeout},...et},nt=et.customTimers.setTimeout.call(void 0,()=>{if(typeof _e=="function"){try{ot(_e())}catch(pt){ft(pt)}return}const dt=typeof _e=="string"?_e:`Promise timed out after ${j} milliseconds`,mt=_e instanceof Error?_e:new TimeoutError(dt);typeof a.cancel=="function"&&a.cancel(),ft(mt)},j),(async()=>{try{ot(await a)}catch(dt){ft(dt)}finally{et.customTimers.clearTimeout.call(void 0,nt)}})()});return tt.clear=()=>{clearTimeout(nt),nt=void 0},tt};pTimeout$3.exports=pTimeout$1;pTimeout$3.exports.default=pTimeout$1;var TimeoutError_1=pTimeout$3.exports.TimeoutError=TimeoutError,pTimeoutExports=pTimeout$3.exports;const pTimeout$2=getDefaultExportFromCjs$1(pTimeoutExports),pTimeout=pTimeoutExports,pWaitFor=async(a,j)=>{j={interval:20,timeout:1/0,leadingCheck:!0,...j};let _e;const et=new Promise((nt,tt)=>{const ot=async()=>{try{const ft=await a();if(typeof ft!="boolean")throw new TypeError("Expected condition to return a boolean");ft===!0?nt():_e=setTimeout(ot,j.interval)}catch(ft){tt(ft)}};j.leadingCheck?ot():_e=setTimeout(ot,j.interval)});if(j.timeout!==1/0)try{return await pTimeout(et,j.timeout)}catch(nt){throw _e&&clearTimeout(_e),nt}return et};pWaitFor$2.exports=pWaitFor;pWaitFor$2.exports.default=pWaitFor;var pWaitForExports=pWaitFor$2.exports;const pWaitFor$1=getDefaultExportFromCjs$1(pWaitForExports);var createUpdateEffect=function(a){return function(j,_e){var et=reactExports.useRef(!1);a(function(){return function(){et.current=!1}},[]),a(function(){if(!et.current)et.current=!0;else return j()},_e)}},extendStatics=function(a,j){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,et){_e.__proto__=et}||function(_e,et){for(var nt in et)Object.prototype.hasOwnProperty.call(et,nt)&&(_e[nt]=et[nt])},extendStatics(a,j)};function __extends(a,j){if(typeof j!="function"&&j!==null)throw new TypeError("Class extends value "+String(j)+" is not a constructor or null");extendStatics(a,j);function _e(){this.constructor=a}a.prototype=j===null?Object.create(j):(_e.prototype=j.prototype,new _e)}var __assign=function(){return __assign=Object.assign||function(j){for(var _e,et=1,nt=arguments.length;et<nt;et++){_e=arguments[et];for(var tt in _e)Object.prototype.hasOwnProperty.call(_e,tt)&&(j[tt]=_e[tt])}return j},__assign.apply(this,arguments)};function __rest(a,j){var _e={};for(var et in a)Object.prototype.hasOwnProperty.call(a,et)&&j.indexOf(et)<0&&(_e[et]=a[et]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,et=Object.getOwnPropertySymbols(a);nt<et.length;nt++)j.indexOf(et[nt])<0&&Object.prototype.propertyIsEnumerable.call(a,et[nt])&&(_e[et[nt]]=a[et[nt]]);return _e}function __decorate(a,j,_e,et){var nt=arguments.length,tt=nt<3?j:et===null?et=Object.getOwnPropertyDescriptor(j,_e):et,ot;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")tt=Reflect.decorate(a,j,_e,et);else for(var ft=a.length-1;ft>=0;ft--)(ot=a[ft])&&(tt=(nt<3?ot(tt):nt>3?ot(j,_e,tt):ot(j,_e))||tt);return nt>3&&tt&&Object.defineProperty(j,_e,tt),tt}function __param(a,j){return function(_e,et){j(_e,et,a)}}function __esDecorate(a,j,_e,et,nt,tt){function ot(kt){if(kt!==void 0&&typeof kt!="function")throw new TypeError("Function expected");return kt}for(var ft=et.kind,dt=ft==="getter"?"get":ft==="setter"?"set":"value",mt=!j&&a?et.static?a:a.prototype:null,pt=j||(mt?Object.getOwnPropertyDescriptor(mt,et.name):{}),yt,Tt=!1,St=_e.length-1;St>=0;St--){var At={};for(var Ct in et)At[Ct]=Ct==="access"?{}:et[Ct];for(var Ct in et.access)At.access[Ct]=et.access[Ct];At.addInitializer=function(kt){if(Tt)throw new TypeError("Cannot add initializers after decoration has completed");tt.push(ot(kt||null))};var Mt=(0,_e[St])(ft==="accessor"?{get:pt.get,set:pt.set}:pt[dt],At);if(ft==="accessor"){if(Mt===void 0)continue;if(Mt===null||typeof Mt!="object")throw new TypeError("Object expected");(yt=ot(Mt.get))&&(pt.get=yt),(yt=ot(Mt.set))&&(pt.set=yt),(yt=ot(Mt.init))&&nt.unshift(yt)}else(yt=ot(Mt))&&(ft==="field"?nt.unshift(yt):pt[dt]=yt)}mt&&Object.defineProperty(mt,et.name,pt),Tt=!0}function __runInitializers(a,j,_e){for(var et=arguments.length>2,nt=0;nt<j.length;nt++)_e=et?j[nt].call(a,_e):j[nt].call(a);return et?_e:void 0}function __propKey(a){return typeof a=="symbol"?a:"".concat(a)}function __setFunctionName(a,j,_e){return typeof j=="symbol"&&(j=j.description?"[".concat(j.description,"]"):""),Object.defineProperty(a,"name",{configurable:!0,value:_e?"".concat(_e," ",j):j})}function __metadata(a,j){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,j)}function __awaiter(a,j,_e,et){function nt(tt){return tt instanceof _e?tt:new _e(function(ot){ot(tt)})}return new(_e||(_e=Promise))(function(tt,ot){function ft(pt){try{mt(et.next(pt))}catch(yt){ot(yt)}}function dt(pt){try{mt(et.throw(pt))}catch(yt){ot(yt)}}function mt(pt){pt.done?tt(pt.value):nt(pt.value).then(ft,dt)}mt((et=et.apply(a,j||[])).next())})}function __generator(a,j){var _e={label:0,sent:function(){if(tt[0]&1)throw tt[1];return tt[1]},trys:[],ops:[]},et,nt,tt,ot;return ot={next:ft(0),throw:ft(1),return:ft(2)},typeof Symbol=="function"&&(ot[Symbol.iterator]=function(){return this}),ot;function ft(mt){return function(pt){return dt([mt,pt])}}function dt(mt){if(et)throw new TypeError("Generator is already executing.");for(;ot&&(ot=0,mt[0]&&(_e=0)),_e;)try{if(et=1,nt&&(tt=mt[0]&2?nt.return:mt[0]?nt.throw||((tt=nt.return)&&tt.call(nt),0):nt.next)&&!(tt=tt.call(nt,mt[1])).done)return tt;switch(nt=0,tt&&(mt=[mt[0]&2,tt.value]),mt[0]){case 0:case 1:tt=mt;break;case 4:return _e.label++,{value:mt[1],done:!1};case 5:_e.label++,nt=mt[1],mt=[0];continue;case 7:mt=_e.ops.pop(),_e.trys.pop();continue;default:if(tt=_e.trys,!(tt=tt.length>0&&tt[tt.length-1])&&(mt[0]===6||mt[0]===2)){_e=0;continue}if(mt[0]===3&&(!tt||mt[1]>tt[0]&&mt[1]<tt[3])){_e.label=mt[1];break}if(mt[0]===6&&_e.label<tt[1]){_e.label=tt[1],tt=mt;break}if(tt&&_e.label<tt[2]){_e.label=tt[2],_e.ops.push(mt);break}tt[2]&&_e.ops.pop(),_e.trys.pop();continue}mt=j.call(a,_e)}catch(pt){mt=[6,pt],nt=0}finally{et=tt=0}if(mt[0]&5)throw mt[1];return{value:mt[0]?mt[1]:void 0,done:!0}}}var __createBinding=Object.create?function(a,j,_e,et){et===void 0&&(et=_e);var nt=Object.getOwnPropertyDescriptor(j,_e);(!nt||("get"in nt?!j.__esModule:nt.writable||nt.configurable))&&(nt={enumerable:!0,get:function(){return j[_e]}}),Object.defineProperty(a,et,nt)}:function(a,j,_e,et){et===void 0&&(et=_e),a[et]=j[_e]};function __exportStar(a,j){for(var _e in a)_e!=="default"&&!Object.prototype.hasOwnProperty.call(j,_e)&&__createBinding(j,a,_e)}function __values(a){var j=typeof Symbol=="function"&&Symbol.iterator,_e=j&&a[j],et=0;if(_e)return _e.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&et>=a.length&&(a=void 0),{value:a&&a[et++],done:!a}}};throw new TypeError(j?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(a,j){var _e=typeof Symbol=="function"&&a[Symbol.iterator];if(!_e)return a;var et=_e.call(a),nt,tt=[],ot;try{for(;(j===void 0||j-- >0)&&!(nt=et.next()).done;)tt.push(nt.value)}catch(ft){ot={error:ft}}finally{try{nt&&!nt.done&&(_e=et.return)&&_e.call(et)}finally{if(ot)throw ot.error}}return tt}function __spread(){for(var a=[],j=0;j<arguments.length;j++)a=a.concat(__read(arguments[j]));return a}function __spreadArrays(){for(var a=0,j=0,_e=arguments.length;j<_e;j++)a+=arguments[j].length;for(var et=Array(a),nt=0,j=0;j<_e;j++)for(var tt=arguments[j],ot=0,ft=tt.length;ot<ft;ot++,nt++)et[nt]=tt[ot];return et}function __spreadArray(a,j,_e){if(_e||arguments.length===2)for(var et=0,nt=j.length,tt;et<nt;et++)(tt||!(et in j))&&(tt||(tt=Array.prototype.slice.call(j,0,et)),tt[et]=j[et]);return a.concat(tt||Array.prototype.slice.call(j))}function __await(a){return this instanceof __await?(this.v=a,this):new __await(a)}function __asyncGenerator(a,j,_e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var et=_e.apply(a,j||[]),nt,tt=[];return nt={},ft("next"),ft("throw"),ft("return",ot),nt[Symbol.asyncIterator]=function(){return this},nt;function ot(St){return function(At){return Promise.resolve(At).then(St,yt)}}function ft(St,At){et[St]&&(nt[St]=function(Ct){return new Promise(function(Mt,kt){tt.push([St,Ct,Mt,kt])>1||dt(St,Ct)})},At&&(nt[St]=At(nt[St])))}function dt(St,At){try{mt(et[St](At))}catch(Ct){Tt(tt[0][3],Ct)}}function mt(St){St.value instanceof __await?Promise.resolve(St.value.v).then(pt,yt):Tt(tt[0][2],St)}function pt(St){dt("next",St)}function yt(St){dt("throw",St)}function Tt(St,At){St(At),tt.shift(),tt.length&&dt(tt[0][0],tt[0][1])}}function __asyncDelegator(a){var j,_e;return j={},et("next"),et("throw",function(nt){throw nt}),et("return"),j[Symbol.iterator]=function(){return this},j;function et(nt,tt){j[nt]=a[nt]?function(ot){return(_e=!_e)?{value:__await(a[nt](ot)),done:!1}:tt?tt(ot):ot}:tt}}function __asyncValues(a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j=a[Symbol.asyncIterator],_e;return j?j.call(a):(a=typeof __values=="function"?__values(a):a[Symbol.iterator](),_e={},et("next"),et("throw"),et("return"),_e[Symbol.asyncIterator]=function(){return this},_e);function et(tt){_e[tt]=a[tt]&&function(ot){return new Promise(function(ft,dt){ot=a[tt](ot),nt(ft,dt,ot.done,ot.value)})}}function nt(tt,ot,ft,dt){Promise.resolve(dt).then(function(mt){tt({value:mt,done:ft})},ot)}}function __makeTemplateObject(a,j){return Object.defineProperty?Object.defineProperty(a,"raw",{value:j}):a.raw=j,a}var __setModuleDefault=Object.create?function(a,j){Object.defineProperty(a,"default",{enumerable:!0,value:j})}:function(a,j){a.default=j};function __importStar(a){if(a&&a.__esModule)return a;var j={};if(a!=null)for(var _e in a)_e!=="default"&&Object.prototype.hasOwnProperty.call(a,_e)&&__createBinding(j,a,_e);return __setModuleDefault(j,a),j}function __importDefault$b(a){return a&&a.__esModule?a:{default:a}}function __classPrivateFieldGet(a,j,_e,et){if(_e==="a"&&!et)throw new TypeError("Private accessor was defined without a getter");if(typeof j=="function"?a!==j||!et:!j.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return _e==="m"?et:_e==="a"?et.call(a):et?et.value:j.get(a)}function __classPrivateFieldSet(a,j,_e,et,nt){if(et==="m")throw new TypeError("Private method is not writable");if(et==="a"&&!nt)throw new TypeError("Private accessor was defined without a setter");if(typeof j=="function"?a!==j||!nt:!j.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return et==="a"?nt.call(a,_e):nt?nt.value=_e:j.set(a,_e),_e}function __classPrivateFieldIn(a,j){if(j===null||typeof j!="object"&&typeof j!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof a=="function"?j===a:a.has(j)}function __addDisposableResource(a,j,_e){if(j!=null){if(typeof j!="object"&&typeof j!="function")throw new TypeError("Object expected.");var et,nt;if(_e){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");et=j[Symbol.asyncDispose]}if(et===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");et=j[Symbol.dispose],_e&&(nt=et)}if(typeof et!="function")throw new TypeError("Object not disposable.");nt&&(et=function(){try{nt.call(this)}catch(tt){return Promise.reject(tt)}}),a.stack.push({value:j,dispose:et,async:_e})}else _e&&a.stack.push({async:!0});return j}var _SuppressedError=typeof SuppressedError=="function"?SuppressedError:function(a,j,_e){var et=new Error(_e);return et.name="SuppressedError",et.error=a,et.suppressed=j,et};function __disposeResources(a){function j(et){a.error=a.hasError?new _SuppressedError(et,a.error,"An error was suppressed during disposal."):et,a.hasError=!0}function _e(){for(;a.stack.length;){var et=a.stack.pop();try{var nt=et.dispose&&et.dispose.call(et.value);if(et.async)return Promise.resolve(nt).then(_e,function(tt){return j(tt),_e()})}catch(tt){j(tt)}}if(a.hasError)throw a.error}return _e()}const tslib_es6={__extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__createBinding,__exportStar,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault:__importDefault$b,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,__addDisposableResource,__disposeResources},tslib_es6$1=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource,get __assign(){return __assign},__asyncDelegator,__asyncGenerator,__asyncValues,__await,__awaiter,__classPrivateFieldGet,__classPrivateFieldIn,__classPrivateFieldSet,__createBinding,__decorate,__disposeResources,__esDecorate,__exportStar,__extends,__generator,__importDefault:__importDefault$b,__importStar,__makeTemplateObject,__metadata,__param,__propKey,__read,__rest,__runInitializers,__setFunctionName,__spread,__spreadArray,__spreadArrays,__values,default:tslib_es6},Symbol.toStringTag,{value:"Module"}));var isFunction$3=function(a){return typeof a=="function"},isString$3=function(a){return typeof a=="string"},isNumber$2=function(a){return typeof a=="number"},isUndef=function(a){return typeof a>"u"};function useMemoizedFn(a){var j=reactExports.useRef(a);j.current=reactExports.useMemo(function(){return a},[a]);var _e=reactExports.useRef();return _e.current||(_e.current=function(){for(var et=[],nt=0;nt<arguments.length;nt++)et[nt]=arguments[nt];return j.current.apply(this,et)}),_e.current}const useUpdateEffect=createUpdateEffect(reactExports.useEffect);var useAutoRunPlugin=function(a,j){var _e=j.manual,et=j.ready,nt=et===void 0?!0:et,tt=j.defaultParams,ot=tt===void 0?[]:tt,ft=j.refreshDeps,dt=ft===void 0?[]:ft,mt=j.refreshDepsAction,pt=reactExports.useRef(!1);return pt.current=!1,useUpdateEffect(function(){!_e&&nt&&(pt.current=!0,a.run.apply(a,__spreadArray([],__read(ot),!1)))},[nt]),useUpdateEffect(function(){pt.current||_e||(pt.current=!0,mt?mt():a.refresh())},__spreadArray([],__read(dt),!1)),{onBefore:function(){if(!nt)return{stopNow:!0}}}};useAutoRunPlugin.onInit=function(a){var j=a.ready,_e=j===void 0?!0:j,et=a.manual;return{loading:!et&&_e}};function depsAreSame(a,j){if(a===j)return!0;for(var _e=0;_e<a.length;_e++)if(!Object.is(a[_e],j[_e]))return!1;return!0}function useCreation(a,j){var _e=reactExports.useRef({deps:j,obj:void 0,initialized:!1}).current;return(_e.initialized===!1||!depsAreSame(_e.deps,j))&&(_e.deps=j,_e.obj=a(),_e.initialized=!0),_e.obj}function useLatest(a){var j=reactExports.useRef(a);return j.current=a,j}var useUnmount=function(a){var j=useLatest(a);reactExports.useEffect(function(){return function(){j.current()}},[])},cache$2=new Map,setCache=function(a,j,_e){var et=cache$2.get(a);et!=null&&et.timer&&clearTimeout(et.timer);var nt=void 0;j>-1&&(nt=setTimeout(function(){cache$2.delete(a)},j)),cache$2.set(a,__assign(__assign({},_e),{timer:nt}))},getCache=function(a){return cache$2.get(a)},cachePromise=new Map,getCachePromise=function(a){return cachePromise.get(a)},setCachePromise=function(a,j){cachePromise.set(a,j),j.then(function(_e){return cachePromise.delete(a),_e}).catch(function(){cachePromise.delete(a)})},listeners$2={},trigger=function(a,j){listeners$2[a]&&listeners$2[a].forEach(function(_e){return _e(j)})},subscribe$2=function(a,j){return listeners$2[a]||(listeners$2[a]=[]),listeners$2[a].push(j),function(){var et=listeners$2[a].indexOf(j);listeners$2[a].splice(et,1)}},useCachePlugin=function(a,j){var _e=j.cacheKey,et=j.cacheTime,nt=et===void 0?5*60*1e3:et,tt=j.staleTime,ot=tt===void 0?0:tt,ft=j.setCache,dt=j.getCache,mt=reactExports.useRef(),pt=reactExports.useRef(),yt=function(St,At){ft?ft(At):setCache(St,nt,At),trigger(St,At.data)},Tt=function(St,At){return At===void 0&&(At=[]),dt?dt(At):getCache(St)};return useCreation(function(){if(_e){var St=Tt(_e);St&&Object.hasOwnProperty.call(St,"data")&&(a.state.data=St.data,a.state.params=St.params,(ot===-1||new Date().getTime()-St.time<=ot)&&(a.state.loading=!1)),mt.current=subscribe$2(_e,function(At){a.setState({data:At})})}},[]),useUnmount(function(){var St;(St=mt.current)===null||St===void 0||St.call(mt)}),_e?{onBefore:function(St){var At=Tt(_e,St);return!At||!Object.hasOwnProperty.call(At,"data")?{}:ot===-1||new Date().getTime()-At.time<=ot?{loading:!1,data:At==null?void 0:At.data,error:void 0,returnNow:!0}:{data:At==null?void 0:At.data,error:void 0}},onRequest:function(St,At){var Ct=getCachePromise(_e);return Ct&&Ct!==pt.current?{servicePromise:Ct}:(Ct=St.apply(void 0,__spreadArray([],__read(At),!1)),pt.current=Ct,setCachePromise(_e,Ct),{servicePromise:Ct})},onSuccess:function(St,At){var Ct;_e&&((Ct=mt.current)===null||Ct===void 0||Ct.call(mt),yt(_e,{data:St,params:At,time:new Date().getTime()}),mt.current=subscribe$2(_e,function(Mt){a.setState({data:Mt})}))},onMutate:function(St){var At;_e&&((At=mt.current)===null||At===void 0||At.call(mt),yt(_e,{data:St,params:a.state.params,time:new Date().getTime()}),mt.current=subscribe$2(_e,function(Ct){a.setState({data:Ct})}))}}:{}},root$3=_root,now$1=function(){return root$3.Date.now()},now_1=now$1,isObject$c=isObject_1,now=now_1,toNumber$2=toNumber_1,FUNC_ERROR_TEXT$4="Expected a function",nativeMax=Math.max,nativeMin$1=Math.min;function debounce$2(a,j,_e){var et,nt,tt,ot,ft,dt,mt=0,pt=!1,yt=!1,Tt=!0;if(typeof a!="function")throw new TypeError(FUNC_ERROR_TEXT$4);j=toNumber$2(j)||0,isObject$c(_e)&&(pt=!!_e.leading,yt="maxWait"in _e,tt=yt?nativeMax(toNumber$2(_e.maxWait)||0,j):tt,Tt="trailing"in _e?!!_e.trailing:Tt);function St(jt){var Wt=et,sn=nt;return et=nt=void 0,mt=jt,ot=a.apply(sn,Wt),ot}function At(jt){return mt=jt,ft=setTimeout(kt,j),pt?St(jt):ot}function Ct(jt){var Wt=jt-dt,sn=jt-mt,ln=j-Wt;return yt?nativeMin$1(ln,tt-sn):ln}function Mt(jt){var Wt=jt-dt,sn=jt-mt;return dt===void 0||Wt>=j||Wt<0||yt&&sn>=tt}function kt(){var jt=now();if(Mt(jt))return Pt(jt);ft=setTimeout(kt,Ct(jt))}function Pt(jt){return ft=void 0,Tt&&et?St(jt):(et=nt=void 0,ot)}function Lt(){ft!==void 0&&clearTimeout(ft),mt=0,et=dt=nt=ft=void 0}function Ft(){return ft===void 0?ot:Pt(now())}function Yt(){var jt=now(),Wt=Mt(jt);if(et=arguments,nt=this,dt=jt,Wt){if(ft===void 0)return At(dt);if(yt)return clearTimeout(ft),ft=setTimeout(kt,j),St(dt)}return ft===void 0&&(ft=setTimeout(kt,j)),ot}return Yt.cancel=Lt,Yt.flush=Ft,Yt}var debounce_1=debounce$2;const debounce$3=getDefaultExportFromCjs$1(debounce_1);var useDebouncePlugin=function(a,j){var _e=j.debounceWait,et=j.debounceLeading,nt=j.debounceTrailing,tt=j.debounceMaxWait,ot=reactExports.useRef(),ft=reactExports.useMemo(function(){var dt={};return et!==void 0&&(dt.leading=et),nt!==void 0&&(dt.trailing=nt),tt!==void 0&&(dt.maxWait=tt),dt},[et,nt,tt]);return reactExports.useEffect(function(){if(_e){var dt=a.runAsync.bind(a);return ot.current=debounce$3(function(mt){mt()},_e,ft),a.runAsync=function(){for(var mt=[],pt=0;pt<arguments.length;pt++)mt[pt]=arguments[pt];return new Promise(function(yt,Tt){var St;(St=ot.current)===null||St===void 0||St.call(ot,function(){dt.apply(void 0,__spreadArray([],__read(mt),!1)).then(yt).catch(Tt)})})},function(){var mt;(mt=ot.current)===null||mt===void 0||mt.cancel(),a.runAsync=dt}}},[_e,ft]),_e?{onCancel:function(){var dt;(dt=ot.current)===null||dt===void 0||dt.cancel()}}:{}},useLoadingDelayPlugin=function(a,j){var _e=j.loadingDelay,et=j.ready,nt=reactExports.useRef();if(!_e)return{};var tt=function(){nt.current&&clearTimeout(nt.current)};return{onBefore:function(){return tt(),et!==!1&&(nt.current=setTimeout(function(){a.setState({loading:!0})},_e)),{loading:!1}},onFinally:function(){tt()},onCancel:function(){tt()}}},isBrowser$1=!!(typeof window<"u"&&window.document&&window.document.createElement);function isDocumentVisible(){return isBrowser$1?document.visibilityState!=="hidden":!0}var listeners$1=[];function subscribe$1(a){return listeners$1.push(a),function(){var _e=listeners$1.indexOf(a);listeners$1.splice(_e,1)}}if(isBrowser$1){var revalidate$1=function(){if(isDocumentVisible())for(var a=0;a<listeners$1.length;a++){var j=listeners$1[a];j()}};window.addEventListener("visibilitychange",revalidate$1,!1)}var usePollingPlugin=function(a,j){var _e=j.pollingInterval,et=j.pollingWhenHidden,nt=et===void 0?!0:et,tt=j.pollingErrorRetryCount,ot=tt===void 0?-1:tt,ft=reactExports.useRef(),dt=reactExports.useRef(),mt=reactExports.useRef(0),pt=function(){var yt;ft.current&&clearTimeout(ft.current),(yt=dt.current)===null||yt===void 0||yt.call(dt)};return useUpdateEffect(function(){_e||pt()},[_e]),_e?{onBefore:function(){pt()},onError:function(){mt.current+=1},onSuccess:function(){mt.current=0},onFinally:function(){ot===-1||ot!==-1&&mt.current<=ot?ft.current=setTimeout(function(){!nt&&!isDocumentVisible()?dt.current=subscribe$1(function(){a.refresh()}):a.refresh()},_e):mt.current=0},onCancel:function(){pt()}}:{}};function limit(a,j){var _e=!1;return function(){for(var et=[],nt=0;nt<arguments.length;nt++)et[nt]=arguments[nt];_e||(_e=!0,a.apply(void 0,__spreadArray([],__read(et),!1)),setTimeout(function(){_e=!1},j))}}function isOnline(){return isBrowser$1&&typeof navigator.onLine<"u"?navigator.onLine:!0}var listeners=[];function subscribe(a){return listeners.push(a),function(){var _e=listeners.indexOf(a);_e>-1&&listeners.splice(_e,1)}}if(isBrowser$1){var revalidate=function(){if(!(!isDocumentVisible()||!isOnline()))for(var a=0;a<listeners.length;a++){var j=listeners[a];j()}};window.addEventListener("visibilitychange",revalidate,!1),window.addEventListener("focus",revalidate,!1)}var useRefreshOnWindowFocusPlugin=function(a,j){var _e=j.refreshOnWindowFocus,et=j.focusTimespan,nt=et===void 0?5e3:et,tt=reactExports.useRef(),ot=function(){var ft;(ft=tt.current)===null||ft===void 0||ft.call(tt)};return reactExports.useEffect(function(){if(_e){var ft=limit(a.refresh.bind(a),nt);tt.current=subscribe(function(){ft()})}return function(){ot()}},[_e,nt]),useUnmount(function(){ot()}),{}},useRetryPlugin=function(a,j){var _e=j.retryInterval,et=j.retryCount,nt=reactExports.useRef(),tt=reactExports.useRef(0),ot=reactExports.useRef(!1);return et?{onBefore:function(){ot.current||(tt.current=0),ot.current=!1,nt.current&&clearTimeout(nt.current)},onSuccess:function(){tt.current=0},onError:function(){if(tt.current+=1,et===-1||tt.current<=et){var ft=_e??Math.min(1e3*Math.pow(2,tt.current),3e4);nt.current=setTimeout(function(){ot.current=!0,a.refresh()},ft)}else tt.current=0},onCancel:function(){tt.current=0,nt.current&&clearTimeout(nt.current)}}:{}},debounce$1=debounce_1,isObject$b=isObject_1,FUNC_ERROR_TEXT$3="Expected a function";function throttle$3(a,j,_e){var et=!0,nt=!0;if(typeof a!="function")throw new TypeError(FUNC_ERROR_TEXT$3);return isObject$b(_e)&&(et="leading"in _e?!!_e.leading:et,nt="trailing"in _e?!!_e.trailing:nt),debounce$1(a,j,{leading:et,maxWait:j,trailing:nt})}var throttle_1=throttle$3;const throttle$4=getDefaultExportFromCjs$1(throttle_1);var useThrottlePlugin=function(a,j){var _e=j.throttleWait,et=j.throttleLeading,nt=j.throttleTrailing,tt=reactExports.useRef(),ot={};return et!==void 0&&(ot.leading=et),nt!==void 0&&(ot.trailing=nt),reactExports.useEffect(function(){if(_e){var ft=a.runAsync.bind(a);return tt.current=throttle$4(function(dt){dt()},_e,ot),a.runAsync=function(){for(var dt=[],mt=0;mt<arguments.length;mt++)dt[mt]=arguments[mt];return new Promise(function(pt,yt){var Tt;(Tt=tt.current)===null||Tt===void 0||Tt.call(tt,function(){ft.apply(void 0,__spreadArray([],__read(dt),!1)).then(pt).catch(yt)})})},function(){var dt;a.runAsync=ft,(dt=tt.current)===null||dt===void 0||dt.cancel()}}},[_e,et,nt]),_e?{onCancel:function(){var ft;(ft=tt.current)===null||ft===void 0||ft.cancel()}}:{}},useMount=function(a){reactExports.useEffect(function(){a==null||a()},[])},useUpdate=function(){var a=__read(reactExports.useState({}),2),j=a[1];return reactExports.useCallback(function(){return j({})},[])},Fetch=function(){function a(j,_e,et,nt){nt===void 0&&(nt={}),this.serviceRef=j,this.options=_e,this.subscribe=et,this.initState=nt,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=__assign(__assign(__assign({},this.state),{loading:!_e.manual}),nt)}return a.prototype.setState=function(j){j===void 0&&(j={}),this.state=__assign(__assign({},this.state),j),this.subscribe()},a.prototype.runPluginHandler=function(j){for(var _e=[],et=1;et<arguments.length;et++)_e[et-1]=arguments[et];var nt=this.pluginImpls.map(function(tt){var ot;return(ot=tt[j])===null||ot===void 0?void 0:ot.call.apply(ot,__spreadArray([tt],__read(_e),!1))}).filter(Boolean);return Object.assign.apply(Object,__spreadArray([{}],__read(nt),!1))},a.prototype.runAsync=function(){for(var j,_e,et,nt,tt,ot,ft,dt,mt,pt,yt=[],Tt=0;Tt<arguments.length;Tt++)yt[Tt]=arguments[Tt];return __awaiter(this,void 0,void 0,function(){var St,At,Ct,Mt,kt,Pt,Lt,Ft,Yt,jt,Wt;return __generator(this,function(sn){switch(sn.label){case 0:if(this.count+=1,St=this.count,At=this.runPluginHandler("onBefore",yt),Ct=At.stopNow,Mt=Ct===void 0?!1:Ct,kt=At.returnNow,Pt=kt===void 0?!1:kt,Lt=__rest(At,["stopNow","returnNow"]),Mt)return[2,new Promise(function(){})];if(this.setState(__assign({loading:!0,params:yt},Lt)),Pt)return[2,Promise.resolve(Lt.data)];(_e=(j=this.options).onBefore)===null||_e===void 0||_e.call(j,yt),sn.label=1;case 1:return sn.trys.push([1,3,,4]),Ft=this.runPluginHandler("onRequest",this.serviceRef.current,yt).servicePromise,Ft||(Ft=(Wt=this.serviceRef).current.apply(Wt,__spreadArray([],__read(yt),!1))),[4,Ft];case 2:return Yt=sn.sent(),St!==this.count?[2,new Promise(function(){})]:(this.setState({data:Yt,error:void 0,loading:!1}),(nt=(et=this.options).onSuccess)===null||nt===void 0||nt.call(et,Yt,yt),this.runPluginHandler("onSuccess",Yt,yt),(ot=(tt=this.options).onFinally)===null||ot===void 0||ot.call(tt,yt,Yt,void 0),St===this.count&&this.runPluginHandler("onFinally",yt,Yt,void 0),[2,Yt]);case 3:if(jt=sn.sent(),St!==this.count)return[2,new Promise(function(){})];throw this.setState({error:jt,loading:!1}),(dt=(ft=this.options).onError)===null||dt===void 0||dt.call(ft,jt,yt),this.runPluginHandler("onError",jt,yt),(pt=(mt=this.options).onFinally)===null||pt===void 0||pt.call(mt,yt,void 0,jt),St===this.count&&this.runPluginHandler("onFinally",yt,void 0,jt),jt;case 4:return[2]}})})},a.prototype.run=function(){for(var j=this,_e=[],et=0;et<arguments.length;et++)_e[et]=arguments[et];this.runAsync.apply(this,__spreadArray([],__read(_e),!1)).catch(function(nt){j.options.onError||console.error(nt)})},a.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},a.prototype.refresh=function(){this.run.apply(this,__spreadArray([],__read(this.state.params||[]),!1))},a.prototype.refreshAsync=function(){return this.runAsync.apply(this,__spreadArray([],__read(this.state.params||[]),!1))},a.prototype.mutate=function(j){var _e=isFunction$3(j)?j(this.state.data):j;this.runPluginHandler("onMutate",_e),this.setState({data:_e})},a}();function useRequestImplement(a,j,_e){j===void 0&&(j={}),_e===void 0&&(_e=[]);var et=j.manual,nt=et===void 0?!1:et,tt=j.ready,ot=tt===void 0?!0:tt,ft=__rest(j,["manual","ready"]),dt=__assign({manual:nt,ready:ot},ft),mt=useLatest(a),pt=useUpdate(),yt=useCreation(function(){var Tt=_e.map(function(St){var At;return(At=St==null?void 0:St.onInit)===null||At===void 0?void 0:At.call(St,dt)}).filter(Boolean);return new Fetch(mt,dt,pt,Object.assign.apply(Object,__spreadArray([{}],__read(Tt),!1)))},[]);return yt.options=dt,yt.pluginImpls=_e.map(function(Tt){return Tt(yt,dt)}),useMount(function(){if(!nt&&ot){var Tt=yt.state.params||j.defaultParams||[];yt.run.apply(yt,__spreadArray([],__read(Tt),!1))}}),useUnmount(function(){yt.cancel()}),{loading:yt.state.loading,data:yt.state.data,error:yt.state.error,params:yt.state.params||[],cancel:useMemoizedFn(yt.cancel.bind(yt)),refresh:useMemoizedFn(yt.refresh.bind(yt)),refreshAsync:useMemoizedFn(yt.refreshAsync.bind(yt)),run:useMemoizedFn(yt.run.bind(yt)),runAsync:useMemoizedFn(yt.runAsync.bind(yt)),mutate:useMemoizedFn(yt.mutate.bind(yt))}}function useRequest(a,j,_e){return useRequestImplement(a,j,__spreadArray(__spreadArray([],__read([]),!1),[useDebouncePlugin,useLoadingDelayPlugin,usePollingPlugin,useRefreshOnWindowFocusPlugin,useThrottlePlugin,useAutoRunPlugin,useCachePlugin,useRetryPlugin],!1))}function isAsyncGenerator(a){return isFunction$3(a[Symbol.asyncIterator])}function useAsyncEffect(a,j){reactExports.useEffect(function(){var _e=a(),et=!1;function nt(){return __awaiter(this,void 0,void 0,function(){var tt;return __generator(this,function(ot){switch(ot.label){case 0:if(!isAsyncGenerator(_e))return[3,4];ot.label=1;case 1:return[4,_e.next()];case 2:return tt=ot.sent(),tt.done||et?[3,3]:[3,1];case 3:return[3,6];case 4:return[4,_e];case 5:ot.sent(),ot.label=6;case 6:return[2]}})})}return nt(),function(){et=!0}},j)}function getTargetElement(a,j){if(isBrowser$1){if(!a)return j;var _e;return isFunction$3(a)?_e=a():"current"in a?_e=a.current:_e=a,_e}}var createEffectWithTarget=function(a){var j=function(_e,et,nt){var tt=reactExports.useRef(!1),ot=reactExports.useRef([]),ft=reactExports.useRef([]),dt=reactExports.useRef();a(function(){var mt,pt=Array.isArray(nt)?nt:[nt],yt=pt.map(function(Tt){return getTargetElement(Tt)});if(!tt.current){tt.current=!0,ot.current=yt,ft.current=et,dt.current=_e();return}(yt.length!==ot.current.length||!depsAreSame(ot.current,yt)||!depsAreSame(ft.current,et))&&((mt=dt.current)===null||mt===void 0||mt.call(dt),ot.current=yt,ft.current=et,dt.current=_e())}),useUnmount(function(){var mt;(mt=dt.current)===null||mt===void 0||mt.call(dt),tt.current=!1})};return j},useEffectWithTarget$1=createEffectWithTarget(reactExports.useEffect);function isNodeOrWeb(){var a=(typeof global$2>"u"?"undefined":typeof global$2)=="object"&&global$2&&global$2.Object===Object&&global$2,j=typeof self=="object"&&self&&self.Object===Object&&self;return a||j}isNodeOrWeb()||(global$2.Date=Date);function useDebounceFn(a,j){var _e,et=useLatest(a),nt=(_e=j==null?void 0:j.wait)!==null&&_e!==void 0?_e:1e3,tt=reactExports.useMemo(function(){return debounce$3(function(){for(var ot=[],ft=0;ft<arguments.length;ft++)ot[ft]=arguments[ft];return et.current.apply(et,__spreadArray([],__read(ot),!1))},nt,j)},[]);return useUnmount(function(){tt.cancel()}),{run:tt,cancel:tt.cancel,flush:tt.flush}}function useDebounce(a,j){var _e=__read(reactExports.useState(a),2),et=_e[0],nt=_e[1],tt=useDebounceFn(function(){nt(a)},j).run;return reactExports.useEffect(function(){tt()},[a]),et}function useEventListener(a,j,_e){_e===void 0&&(_e={});var et=_e.enable,nt=et===void 0?!0:et,tt=useLatest(j);useEffectWithTarget$1(function(){if(nt){var ot=getTargetElement(_e.target,window);if(ot!=null&&ot.addEventListener){var ft=function(dt){return tt.current(dt)};return ot.addEventListener(a,ft,{capture:_e.capture,once:_e.once,passive:_e.passive}),function(){ot.removeEventListener(a,ft,{capture:_e.capture})}}}},[a,_e.capture,_e.once,_e.passive,nt],_e.target)}var useInterval$1=function(a,j,_e){_e===void 0&&(_e={});var et=useMemoizedFn(a),nt=reactExports.useRef(null),tt=reactExports.useCallback(function(){nt.current&&clearInterval(nt.current)},[]);return reactExports.useEffect(function(){if(!(!isNumber$2(j)||j<0))return _e.immediate&&et(),nt.current=setInterval(et,j),tt},[j,_e.immediate]),tt},SYNC_STORAGE_EVENT_NAME="AHOOKS_SYNC_STORAGE_EVENT_NAME";function createUseStorageState(a){function j(_e,et){et===void 0&&(et={});var nt,tt=et.listenStorageChange,ot=tt===void 0?!1:tt,ft=et.onError,dt=ft===void 0?function(Pt){console.error(Pt)}:ft;try{nt=a()}catch(Pt){dt(Pt)}var mt=function(Pt){return et.serializer?et.serializer(Pt):JSON.stringify(Pt)},pt=function(Pt){return et.deserializer?et.deserializer(Pt):JSON.parse(Pt)};function yt(){try{var Pt=nt==null?void 0:nt.getItem(_e);if(Pt)return pt(Pt)}catch(Lt){dt(Lt)}return isFunction$3(et.defaultValue)?et.defaultValue():et.defaultValue}var Tt=__read(reactExports.useState(yt),2),St=Tt[0],At=Tt[1];useUpdateEffect(function(){At(yt())},[_e]);var Ct=function(Pt){var Lt=isFunction$3(Pt)?Pt(St):Pt;ot||At(Lt);try{var Ft=void 0,Yt=nt==null?void 0:nt.getItem(_e);isUndef(Lt)?(Ft=null,nt==null||nt.removeItem(_e)):(Ft=mt(Lt),nt==null||nt.setItem(_e,Ft)),dispatchEvent(new CustomEvent(SYNC_STORAGE_EVENT_NAME,{detail:{key:_e,newValue:Ft,oldValue:Yt,storageArea:nt}}))}catch(jt){dt(jt)}},Mt=function(Pt){Pt.key!==_e||Pt.storageArea!==nt||At(yt())},kt=function(Pt){Mt(Pt.detail)};return useEventListener("storage",Mt,{enable:ot}),useEventListener(SYNC_STORAGE_EVENT_NAME,kt,{enable:ot}),[St,useMemoizedFn(Ct)]}return j}var useLocalStorageState=createUseStorageState(function(){return isBrowser$1?localStorage:void 0});function useRafState(a){var j=reactExports.useRef(0),_e=__read(reactExports.useState(a),2),et=_e[0],nt=_e[1],tt=reactExports.useCallback(function(ot){cancelAnimationFrame(j.current),j.current=requestAnimationFrame(function(){nt(ot)})},[]);return useUnmount(function(){cancelAnimationFrame(j.current)}),[et,tt]}var defaultShouldUpdate=function(a,j){return!Object.is(a,j)};function usePrevious(a,j){j===void 0&&(j=defaultShouldUpdate);var _e=reactExports.useRef(),et=reactExports.useRef();return j(et.current,a)&&(_e.current=et.current,et.current=a),_e.current}var proxyMap=new WeakMap,rawMap=new WeakMap;function observer(a,j){var _e=proxyMap.get(a);if(_e)return _e;if(rawMap.has(a))return a;var et=new Proxy(a,{get:function(nt,tt,ot){var ft=Reflect.get(nt,tt,ot),dt=Reflect.getOwnPropertyDescriptor(nt,tt);return!(dt!=null&&dt.configurable)&&!(dt!=null&&dt.writable)?ft:isPlainObject$4(ft)||Array.isArray(ft)?observer(ft,j):ft},set:function(nt,tt,ot){var ft=Reflect.set(nt,tt,ot);return j(),ft},deleteProperty:function(nt,tt){var ot=Reflect.deleteProperty(nt,tt);return j(),ot}});return proxyMap.set(a,et),rawMap.set(et,a),et}function useReactive(a){var j=useUpdate(),_e=reactExports.useRef(a),et=useCreation(function(){return observer(_e.current,function(){j()})},[]);return et}var MapShim=function(){if(typeof Map<"u")return Map;function a(j,_e){var et=-1;return j.some(function(nt,tt){return nt[0]===_e?(et=tt,!0):!1}),et}return function(){function j(){this.__entries__=[]}return Object.defineProperty(j.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),j.prototype.get=function(_e){var et=a(this.__entries__,_e),nt=this.__entries__[et];return nt&&nt[1]},j.prototype.set=function(_e,et){var nt=a(this.__entries__,_e);~nt?this.__entries__[nt][1]=et:this.__entries__.push([_e,et])},j.prototype.delete=function(_e){var et=this.__entries__,nt=a(et,_e);~nt&&et.splice(nt,1)},j.prototype.has=function(_e){return!!~a(this.__entries__,_e)},j.prototype.clear=function(){this.__entries__.splice(0)},j.prototype.forEach=function(_e,et){et===void 0&&(et=null);for(var nt=0,tt=this.__entries__;nt<tt.length;nt++){var ot=tt[nt];_e.call(et,ot[1],ot[0])}},j}()}(),isBrowser=typeof window<"u"&&typeof document<"u"&&window.document===document,global$1$1=function(){return typeof global$2<"u"&&global$2.Math===Math?global$2:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),requestAnimationFrame$1=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(global$1$1):function(a){return setTimeout(function(){return a(Date.now())},1e3/60)}}(),trailingTimeout=2;function throttle$2(a,j){var _e=!1,et=!1,nt=0;function tt(){_e&&(_e=!1,a()),et&&ft()}function ot(){requestAnimationFrame$1(tt)}function ft(){var dt=Date.now();if(_e){if(dt-nt<trailingTimeout)return;et=!0}else _e=!0,et=!1,setTimeout(ot,j);nt=dt}return ft}var REFRESH_DELAY=20,transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported=typeof MutationObserver<"u",ResizeObserverController=function(){function a(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=throttle$2(this.refresh.bind(this),REFRESH_DELAY)}return a.prototype.addObserver=function(j){~this.observers_.indexOf(j)||this.observers_.push(j),this.connected_||this.connect_()},a.prototype.removeObserver=function(j){var _e=this.observers_,et=_e.indexOf(j);~et&&_e.splice(et,1),!_e.length&&this.connected_&&this.disconnect_()},a.prototype.refresh=function(){var j=this.updateObservers_();j&&this.refresh()},a.prototype.updateObservers_=function(){var j=this.observers_.filter(function(_e){return _e.gatherActive(),_e.hasActive()});return j.forEach(function(_e){return _e.broadcastActive()}),j.length>0},a.prototype.connect_=function(){!isBrowser||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},a.prototype.disconnect_=function(){!isBrowser||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},a.prototype.onTransitionEnd_=function(j){var _e=j.propertyName,et=_e===void 0?"":_e,nt=transitionKeys.some(function(tt){return!!~et.indexOf(tt)});nt&&this.refresh()},a.getInstance=function(){return this.instance_||(this.instance_=new a),this.instance_},a.instance_=null,a}(),defineConfigurable=function(a,j){for(var _e=0,et=Object.keys(j);_e<et.length;_e++){var nt=et[_e];Object.defineProperty(a,nt,{value:j[nt],enumerable:!1,writable:!1,configurable:!0})}return a},getWindowOf=function(a){var j=a&&a.ownerDocument&&a.ownerDocument.defaultView;return j||global$1$1},emptyRect=createRectInit(0,0,0,0);function toFloat(a){return parseFloat(a)||0}function getBordersSize(a){for(var j=[],_e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];return j.reduce(function(et,nt){var tt=a["border-"+nt+"-width"];return et+toFloat(tt)},0)}function getPaddings(a){for(var j=["top","right","bottom","left"],_e={},et=0,nt=j;et<nt.length;et++){var tt=nt[et],ot=a["padding-"+tt];_e[tt]=toFloat(ot)}return _e}function getSVGContentRect(a){var j=a.getBBox();return createRectInit(0,0,j.width,j.height)}function getHTMLElementContentRect(a){var j=a.clientWidth,_e=a.clientHeight;if(!j&&!_e)return emptyRect;var et=getWindowOf(a).getComputedStyle(a),nt=getPaddings(et),tt=nt.left+nt.right,ot=nt.top+nt.bottom,ft=toFloat(et.width),dt=toFloat(et.height);if(et.boxSizing==="border-box"&&(Math.round(ft+tt)!==j&&(ft-=getBordersSize(et,"left","right")+tt),Math.round(dt+ot)!==_e&&(dt-=getBordersSize(et,"top","bottom")+ot)),!isDocumentElement(a)){var mt=Math.round(ft+tt)-j,pt=Math.round(dt+ot)-_e;Math.abs(mt)!==1&&(ft-=mt),Math.abs(pt)!==1&&(dt-=pt)}return createRectInit(nt.left,nt.top,ft,dt)}var isSVGGraphicsElement=function(){return typeof SVGGraphicsElement<"u"?function(a){return a instanceof getWindowOf(a).SVGGraphicsElement}:function(a){return a instanceof getWindowOf(a).SVGElement&&typeof a.getBBox=="function"}}();function isDocumentElement(a){return a===getWindowOf(a).document.documentElement}function getContentRect(a){return isBrowser?isSVGGraphicsElement(a)?getSVGContentRect(a):getHTMLElementContentRect(a):emptyRect}function createReadOnlyRect(a){var j=a.x,_e=a.y,et=a.width,nt=a.height,tt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,ot=Object.create(tt.prototype);return defineConfigurable(ot,{x:j,y:_e,width:et,height:nt,top:_e,right:j+et,bottom:nt+_e,left:j}),ot}function createRectInit(a,j,_e,et){return{x:a,y:j,width:_e,height:et}}var ResizeObservation=function(){function a(j){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=j}return a.prototype.isActive=function(){var j=getContentRect(this.target);return this.contentRect_=j,j.width!==this.broadcastWidth||j.height!==this.broadcastHeight},a.prototype.broadcastRect=function(){var j=this.contentRect_;return this.broadcastWidth=j.width,this.broadcastHeight=j.height,j},a}(),ResizeObserverEntry=function(){function a(j,_e){var et=createReadOnlyRect(_e);defineConfigurable(this,{target:j,contentRect:et})}return a}(),ResizeObserverSPI=function(){function a(j,_e,et){if(this.activeObservations_=[],this.observations_=new MapShim,typeof j!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=j,this.controller_=_e,this.callbackCtx_=et}return a.prototype.observe=function(j){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(j instanceof getWindowOf(j).Element))throw new TypeError('parameter 1 is not of type "Element".');var _e=this.observations_;_e.has(j)||(_e.set(j,new ResizeObservation(j)),this.controller_.addObserver(this),this.controller_.refresh())}},a.prototype.unobserve=function(j){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(j instanceof getWindowOf(j).Element))throw new TypeError('parameter 1 is not of type "Element".');var _e=this.observations_;_e.has(j)&&(_e.delete(j),_e.size||this.controller_.removeObserver(this))}},a.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},a.prototype.gatherActive=function(){var j=this;this.clearActive(),this.observations_.forEach(function(_e){_e.isActive()&&j.activeObservations_.push(_e)})},a.prototype.broadcastActive=function(){if(this.hasActive()){var j=this.callbackCtx_,_e=this.activeObservations_.map(function(et){return new ResizeObserverEntry(et.target,et.broadcastRect())});this.callback_.call(j,_e,j),this.clearActive()}},a.prototype.clearActive=function(){this.activeObservations_.splice(0)},a.prototype.hasActive=function(){return this.activeObservations_.length>0},a}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver=function(){function a(j){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var _e=ResizeObserverController.getInstance(),et=new ResizeObserverSPI(j,_e,this);observers.set(this,et)}return a}();["observe","unobserve","disconnect"].forEach(function(a){ResizeObserver.prototype[a]=function(){var j;return(j=observers.get(this))[a].apply(j,arguments)}});var index=function(){return typeof global$1$1.ResizeObserver<"u"?global$1$1.ResizeObserver:ResizeObserver}(),useEffectWithTarget=createEffectWithTarget(reactExports.useLayoutEffect),useIsomorphicLayoutEffectWithTarget=isBrowser$1?useEffectWithTarget:useEffectWithTarget$1;function useSize(a){var j=__read(useRafState(function(){var nt=getTargetElement(a);return nt?{width:nt.clientWidth,height:nt.clientHeight}:void 0}),2),_e=j[0],et=j[1];return useIsomorphicLayoutEffectWithTarget(function(){var nt=getTargetElement(a);if(nt){var tt=new index(function(ot){ot.forEach(function(ft){var dt=ft.target,mt=dt.clientWidth,pt=dt.clientHeight;et({width:mt,height:pt})})});return tt.observe(nt),function(){tt.disconnect()}}},[],a),_e}const n$1=/[^\0-\x7E]/,t$3=/[\x2E\u3002\uFF0E\uFF61]/g,o$1={overflow:"Overflow Error","not-basic":"Illegal Input","invalid-input":"Invalid Input"},e$1=Math.floor,r$2=String.fromCharCode;function s$1(a){throw new RangeError(o$1[a])}const c=function(a,j){return a+22+75*(a<26)-((j!=0)<<5)},u=function(a,j,_e){let et=0;for(a=_e?e$1(a/700):a>>1,a+=e$1(a/j);a>455;et+=36)a=e$1(a/35);return e$1(et+36*a/(a+38))};function toASCII(a){return function(j,_e){const et=j.split("@");let nt="";et.length>1&&(nt=et[0]+"@",j=et[1]);const tt=function(ot,ft){const dt=[];let mt=ot.length;for(;mt--;)dt[mt]=ft(ot[mt]);return dt}((j=j.replace(t$3,".")).split("."),_e).join(".");return nt+tt}(a,function(j){return n$1.test(j)?"xn--"+function(_e){const et=[],nt=(_e=function(pt){const yt=[];let Tt=0;const St=pt.length;for(;Tt<St;){const At=pt.charCodeAt(Tt++);if(At>=55296&&At<=56319&&Tt<St){const Ct=pt.charCodeAt(Tt++);(64512&Ct)==56320?yt.push(((1023&At)<<10)+(1023&Ct)+65536):(yt.push(At),Tt--)}else yt.push(At)}return yt}(_e)).length;let tt=128,ot=0,ft=72;for(const pt of _e)pt<128&&et.push(r$2(pt));const dt=et.length;let mt=dt;for(dt&&et.push("-");mt<nt;){let pt=2147483647;for(const Tt of _e)Tt>=tt&&Tt<pt&&(pt=Tt);const yt=mt+1;pt-tt>e$1((2147483647-ot)/yt)&&s$1("overflow"),ot+=(pt-tt)*yt,tt=pt;for(const Tt of _e)if(Tt<tt&&++ot>2147483647&&s$1("overflow"),Tt==tt){let St=ot;for(let At=36;;At+=36){const Ct=At<=ft?1:At>=ft+26?26:At-ft;if(St<Ct)break;const Mt=St-Ct,kt=36-Ct;et.push(r$2(c(Ct+Mt%kt,0))),St=e$1(Mt/kt)}et.push(r$2(c(St,0))),ft=u(ot,yt,mt==dt),ot=0,++mt}++ot,++tt}return et.join("")}(j):j})}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_CARET_RE=/%5e/gi,ENC_BACKTICK_RE=/%60/gi,ENC_CURLY_OPEN_RE=/%7b/gi,ENC_PIPE_RE=/%7c/gi,ENC_CURLY_CLOSE_RE=/%7d/gi,ENC_SPACE_RE=/%20/gi,ENC_SLASH_RE=/%2f/gi,ENC_ENC_SLASH_RE=/%252f/gi;function encode$7(a){return encodeURI(""+a).replace(ENC_PIPE_RE,"|")}function encodeHash(a){return encode$7(a).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(a){return encode$7(typeof a=="string"?a:JSON.stringify(a)).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CARET_RE,"^").replace(SLASH_RE,"%2F")}function encodeQueryKey(a){return encodeQueryValue(a).replace(EQUAL_RE,"%3D")}function encodePath(a){return encode$7(a).replace(HASH_RE,"%23").replace(IM_RE,"%3F").replace(ENC_ENC_SLASH_RE,"%2F").replace(AMPERSAND_RE,"%26").replace(PLUS_RE,"%2B")}function encodeParam(a){return encodePath(a).replace(SLASH_RE,"%2F")}function decode$4(a=""){try{return decodeURIComponent(""+a)}catch{return""+a}}function decodePath(a){return decode$4(a.replace(ENC_SLASH_RE,"%252F"))}function decodeQueryKey(a){return decode$4(a.replace(PLUS_RE," "))}function decodeQueryValue(a){return decode$4(a.replace(PLUS_RE," "))}function encodeHost(a=""){return toASCII(a)}function parseQuery(a=""){const j={};a[0]==="?"&&(a=a.slice(1));for(const _e of a.split("&")){const et=_e.match(/([^=]+)=?(.*)/)||[];if(et.length<2)continue;const nt=decodeQueryKey(et[1]);if(nt==="__proto__"||nt==="constructor")continue;const tt=decodeQueryValue(et[2]||"");j[nt]===void 0?j[nt]=tt:Array.isArray(j[nt])?j[nt].push(tt):j[nt]=[j[nt],tt]}return j}function encodeQueryItem(a,j){return(typeof j=="number"||typeof j=="boolean")&&(j=String(j)),j?Array.isArray(j)?j.map(_e=>`${encodeQueryKey(a)}=${encodeQueryValue(_e)}`).join("&"):`${encodeQueryKey(a)}=${encodeQueryValue(j)}`:encodeQueryKey(a)}function stringifyQuery(a){return Object.keys(a).filter(j=>a[j]!==void 0).map(j=>encodeQueryItem(j,a[j])).filter(Boolean).join("&")}const PROTOCOL_STRICT_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,PROTOCOL_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,PROTOCOL_RELATIVE_REGEX=/^([/\\]\s*){2,}[^/\\]/,PROTOCOL_SCRIPT_RE=/^[\s\0]*(blob|data|javascript|vbscript):$/i,TRAILING_SLASH_RE=/\/$|\/\?|\/#/,JOIN_LEADING_SLASH_RE=/^\.?\//;function isRelative(a){return["./","../"].some(j=>a.startsWith(j))}function hasProtocol(a,j={}){return typeof j=="boolean"&&(j={acceptRelative:j}),j.strict?PROTOCOL_STRICT_REGEX.test(a):PROTOCOL_REGEX.test(a)||(j.acceptRelative?PROTOCOL_RELATIVE_REGEX.test(a):!1)}function isScriptProtocol(a){return!!a&&PROTOCOL_SCRIPT_RE.test(a)}function hasTrailingSlash(a="",j){return j?TRAILING_SLASH_RE.test(a):a.endsWith("/")}function withoutTrailingSlash(a="",j){if(!j)return(hasTrailingSlash(a)?a.slice(0,-1):a)||"/";if(!hasTrailingSlash(a,!0))return a||"/";let _e=a,et="";const nt=a.indexOf("#");nt>=0&&(_e=a.slice(0,nt),et=a.slice(nt));const[tt,...ot]=_e.split("?");return((tt.endsWith("/")?tt.slice(0,-1):tt)||"/")+(ot.length>0?`?${ot.join("?")}`:"")+et}function withTrailingSlash(a="",j){if(!j)return a.endsWith("/")?a:a+"/";if(hasTrailingSlash(a,!0))return a||"/";let _e=a,et="";const nt=a.indexOf("#");if(nt>=0&&(_e=a.slice(0,nt),et=a.slice(nt),!_e))return et;const[tt,...ot]=_e.split("?");return tt+"/"+(ot.length>0?`?${ot.join("?")}`:"")+et}function hasLeadingSlash(a=""){return a.startsWith("/")}function withoutLeadingSlash(a=""){return(hasLeadingSlash(a)?a.slice(1):a)||"/"}function withLeadingSlash(a=""){return hasLeadingSlash(a)?a:"/"+a}function cleanDoubleSlashes(a=""){return a.split("://").map(j=>j.replace(/\/{2,}/g,"/")).join("://")}function withBase(a,j){if(isEmptyURL(j)||hasProtocol(a))return a;const _e=withoutTrailingSlash(j);return a.startsWith(_e)?a:joinURL(_e,a)}function withoutBase(a,j){if(isEmptyURL(j))return a;const _e=withoutTrailingSlash(j);if(!a.startsWith(_e))return a;const et=a.slice(_e.length);return et[0]==="/"?et:"/"+et}function withQuery(a,j){const _e=parseURL(a),et={...parseQuery(_e.search),...j};return _e.search=stringifyQuery(et),stringifyParsedURL(_e)}function getQuery(a){return parseQuery(parseURL(a).search)}function isEmptyURL(a){return!a||a==="/"}function isNonEmptyURL(a){return a&&a!=="/"}function joinURL(a,...j){let _e=a||"";for(const et of j.filter(nt=>isNonEmptyURL(nt)))if(_e){const nt=et.replace(JOIN_LEADING_SLASH_RE,"");_e=withTrailingSlash(_e)+nt}else _e=et;return _e}function joinRelativeURL(...a){var ot,ft,dt,mt;const j=/\/(?!\/)/,_e=a.filter(Boolean),et=[];let nt=0;for(const pt of _e)if(!(!pt||pt==="/")){for(const[yt,Tt]of pt.split(j).entries())if(!(!Tt||Tt===".")){if(Tt===".."){if(et.length===1&&hasProtocol(et[0]))continue;et.pop(),nt--;continue}if(yt===1&&((ot=et[et.length-1])!=null&&ot.endsWith(":/"))){et[et.length-1]+="/"+Tt;continue}et.push(Tt),nt++}}let tt=et.join("/");return nt>=0?(ft=_e[0])!=null&&ft.startsWith("/")&&!tt.startsWith("/")?tt="/"+tt:(dt=_e[0])!=null&&dt.startsWith("./")&&!tt.startsWith("./")&&(tt="./"+tt):tt="../".repeat(-1*nt)+tt,(mt=_e[_e.length-1])!=null&&mt.endsWith("/")&&!tt.endsWith("/")&&(tt+="/"),tt}function withHttp(a){return withProtocol(a,"http://")}function withHttps(a){return withProtocol(a,"https://")}function withoutProtocol(a){return withProtocol(a,"")}function withProtocol(a,j){let _e=a.match(PROTOCOL_REGEX);return _e||(_e=a.match(/^\/{2,}/)),_e?j+a.slice(_e[0].length):j+a}function normalizeURL(a){const j=parseURL(a);return j.pathname=encodePath(decodePath(j.pathname)),j.hash=encodeHash(decode$4(j.hash)),j.host=encodeHost(decode$4(j.host)),j.search=stringifyQuery(parseQuery(j.search)),stringifyParsedURL(j)}function resolveURL(a="",...j){if(typeof a!="string")throw new TypeError(`URL input should be string received ${typeof a} (${a})`);const _e=j.filter(nt=>isNonEmptyURL(nt));if(_e.length===0)return a;const et=parseURL(a);for(const nt of _e){const tt=parseURL(nt);if(tt.pathname&&(et.pathname=withTrailingSlash(et.pathname)+withoutLeadingSlash(tt.pathname)),tt.hash&&tt.hash!=="#"&&(et.hash=tt.hash),tt.search&&tt.search!=="?")if(et.search&&et.search!=="?"){const ot=stringifyQuery({...parseQuery(et.search),...parseQuery(tt.search)});et.search=ot.length>0?"?"+ot:""}else et.search=tt.search}return stringifyParsedURL(et)}function isSamePath(a,j){return decode$4(withoutTrailingSlash(a))===decode$4(withoutTrailingSlash(j))}function isEqual$2(a,j,_e={}){return _e.trailingSlash||(a=withTrailingSlash(a),j=withTrailingSlash(j)),_e.leadingSlash||(a=withLeadingSlash(a),j=withLeadingSlash(j)),_e.encoding||(a=decode$4(a),j=decode$4(j)),a===j}function withFragment(a,j){if(!j||j==="#")return a;const _e=parseURL(a);return _e.hash=j===""?"":"#"+encodeHash(j),stringifyParsedURL(_e)}function withoutFragment(a){return stringifyParsedURL({...parseURL(a),hash:""})}function withoutHost(a){const j=parseURL(a);return(j.pathname||"/")+j.search+j.hash}const protocolRelative=Symbol.for("ufo:protocolRelative");function parseURL(a="",j){const _e=a.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(_e){const[,yt,Tt=""]=_e;return{protocol:yt.toLowerCase(),pathname:Tt,href:yt+Tt,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(a,{acceptRelative:!0}))return j?parseURL(j+a):parsePath(a);const[,et="",nt,tt=""]=a.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,ot="",ft=""]=tt.match(/([^#/?]*)(.*)?/)||[];et==="file:"&&(ft=ft.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:dt,search:mt,hash:pt}=parsePath(ft);return{protocol:et.toLowerCase(),auth:nt?nt.slice(0,Math.max(0,nt.length-1)):"",host:ot,pathname:dt,search:mt,hash:pt,[protocolRelative]:!et}}function parsePath(a=""){const[j="",_e="",et=""]=(a.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:j,search:_e,hash:et}}function parseAuth(a=""){const[j,_e]=a.split(":");return{username:decode$4(j),password:decode$4(_e)}}function parseHost(a=""){const[j,_e]=(a.match(/([^/:]*):?(\d+)?/)||[]).splice(1);return{hostname:decode$4(j),port:_e}}function stringifyParsedURL(a){const j=a.pathname||"",_e=a.search?(a.search.startsWith("?")?"":"?")+a.search:"",et=a.hash||"",nt=a.auth?a.auth+"@":"",tt=a.host||"";return(a.protocol||a[protocolRelative]?(a.protocol||"")+"//":"")+nt+tt+j+_e+et}const FILENAME_STRICT_REGEX=/\/([^/]+\.[^/]+)$/,FILENAME_REGEX=/\/([^/]+)$/;function parseFilename(a="",{strict:j}){const{pathname:_e}=parseURL(a),et=j?_e.match(FILENAME_STRICT_REGEX):_e.match(FILENAME_REGEX);return et?et[1]:void 0}var __defProp$5=Object.defineProperty,__defNormalProp$4=(a,j,_e)=>j in a?__defProp$5(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$3=(a,j,_e)=>(__defNormalProp$4(a,typeof j!="symbol"?j+"":j,_e),_e);class $URL{constructor(j=""){if(__publicField$3(this,"protocol"),__publicField$3(this,"host"),__publicField$3(this,"auth"),__publicField$3(this,"pathname"),__publicField$3(this,"query",{}),__publicField$3(this,"hash"),typeof j!="string")throw new TypeError(`URL input should be string received ${typeof j} (${j})`);const _e=parseURL(j);this.protocol=decode$4(_e.protocol),this.host=decode$4(_e.host),this.auth=decode$4(_e.auth),this.pathname=decodePath(_e.pathname),this.query=parseQuery(_e.search),this.hash=decode$4(_e.hash)}get hostname(){return parseHost(this.host).hostname}get port(){return parseHost(this.host).port||""}get username(){return parseAuth(this.auth).username}get password(){return parseAuth(this.auth).password||""}get hasProtocol(){return this.protocol.length}get isAbsolute(){return this.hasProtocol||this.pathname[0]==="/"}get search(){const j=stringifyQuery(this.query);return j.length>0?"?"+j:""}get searchParams(){const j=new URLSearchParams;for(const _e in this.query){const et=this.query[_e];if(Array.isArray(et))for(const nt of et)j.append(_e,nt);else j.append(_e,typeof et=="string"?et:JSON.stringify(et))}return j}get origin(){return(this.protocol?this.protocol+"//":"")+encodeHost(this.host)}get fullpath(){return encodePath(this.pathname)+this.search+encodeHash(this.hash)}get encodedAuth(){if(!this.auth)return"";const{username:j,password:_e}=parseAuth(this.auth);return encodeURIComponent(j)+(_e?":"+encodeURIComponent(_e):"")}get href(){const j=this.encodedAuth,_e=(this.protocol?this.protocol+"//":"")+(j?j+"@":"")+encodeHost(this.host);return this.hasProtocol&&this.isAbsolute?_e+this.fullpath:this.fullpath}append(j){if(j.hasProtocol)throw new Error("Cannot append a URL with protocol");Object.assign(this.query,j.query),j.pathname&&(this.pathname=withTrailingSlash(this.pathname)+withoutLeadingSlash(j.pathname)),j.hash&&(this.hash=j.hash)}toJSON(){return this.href}toString(){return this.href}}function createURL(a){return new $URL(a)}const dist$3=Object.freeze(Object.defineProperty({__proto__:null,$URL,cleanDoubleSlashes,createURL,decode:decode$4,decodePath,decodeQueryKey,decodeQueryValue,encode:encode$7,encodeHash,encodeHost,encodeParam,encodePath,encodeQueryItem,encodeQueryKey,encodeQueryValue,getQuery,hasLeadingSlash,hasProtocol,hasTrailingSlash,isEmptyURL,isEqual:isEqual$2,isNonEmptyURL,isRelative,isSamePath,isScriptProtocol,joinRelativeURL,joinURL,normalizeURL,parseAuth,parseFilename,parseHost,parsePath,parseQuery,parseURL,resolveURL,stringifyParsedURL,stringifyQuery,withBase,withFragment,withHttp,withHttps,withLeadingSlash,withProtocol,withQuery,withTrailingSlash,withoutBase,withoutFragment,withoutHost,withoutLeadingSlash,withoutProtocol,withoutTrailingSlash},Symbol.toStringTag,{value:"Module"})),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(a,j,_e,et="")=>{const nt=a.split(":");if(a.slice(0,1)==="@"){if(nt.length<2||nt.length>3)return null;et=nt.shift().slice(1)}if(nt.length>3||!nt.length)return null;if(nt.length>1){const ft=nt.pop(),dt=nt.pop(),mt={provider:nt.length>0?nt[0]:et,prefix:dt,name:ft};return j&&!validateIconName(mt)?null:mt}const tt=nt[0],ot=tt.split("-");if(ot.length>1){const ft={provider:et,prefix:ot.shift(),name:ot.join("-")};return j&&!validateIconName(ft)?null:ft}if(_e&&et===""){const ft={provider:et,prefix:"",name:tt};return j&&!validateIconName(ft,_e)?null:ft}return null},validateIconName=(a,j)=>a?!!((a.provider===""||a.provider.match(matchIconName))&&(j&&a.prefix===""||a.prefix.match(matchIconName))&&a.name.match(matchIconName)):!1,defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(a,j){const _e={};!a.hFlip!=!j.hFlip&&(_e.hFlip=!0),!a.vFlip!=!j.vFlip&&(_e.vFlip=!0);const et=((a.rotate||0)+(j.rotate||0))%4;return et&&(_e.rotate=et),_e}function mergeIconData(a,j){const _e=mergeIconTransformations(a,j);for(const et in defaultExtendedIconProps)et in defaultIconTransformations?et in a&&!(et in _e)&&(_e[et]=defaultIconTransformations[et]):et in j?_e[et]=j[et]:et in a&&(_e[et]=a[et]);return _e}function getIconsTree(a,j){const _e=a.icons,et=a.aliases||Object.create(null),nt=Object.create(null);function tt(ot){if(_e[ot])return nt[ot]=[];if(!(ot in nt)){nt[ot]=null;const ft=et[ot]&&et[ot].parent,dt=ft&&tt(ft);dt&&(nt[ot]=[ft].concat(dt))}return nt[ot]}return Object.keys(_e).concat(Object.keys(et)).forEach(tt),nt}function internalGetIconData(a,j,_e){const et=a.icons,nt=a.aliases||Object.create(null);let tt={};function ot(ft){tt=mergeIconData(et[ft]||nt[ft],tt)}return ot(j),_e.forEach(ot),mergeIconData(a,tt)}function parseIconSet(a,j){const _e=[];if(typeof a!="object"||typeof a.icons!="object")return _e;a.not_found instanceof Array&&a.not_found.forEach(nt=>{j(nt,null),_e.push(nt)});const et=getIconsTree(a);for(const nt in et){const tt=et[nt];tt&&(j(nt,internalGetIconData(a,nt,tt)),_e.push(nt))}return _e}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(a,j){for(const _e in j)if(_e in a&&typeof a[_e]!=typeof j[_e])return!1;return!0}function quicklyValidateIconSet(a){if(typeof a!="object"||a===null)return null;const j=a;if(typeof j.prefix!="string"||!a.icons||typeof a.icons!="object"||!checkOptionalProps(a,optionalPropertyDefaults))return null;const _e=j.icons;for(const nt in _e){const tt=_e[nt];if(!nt.match(matchIconName)||typeof tt.body!="string"||!checkOptionalProps(tt,defaultExtendedIconProps))return null}const et=j.aliases||Object.create(null);for(const nt in et){const tt=et[nt],ot=tt.parent;if(!nt.match(matchIconName)||typeof ot!="string"||!_e[ot]&&!et[ot]||!checkOptionalProps(tt,defaultExtendedIconProps))return null}return j}const dataStorage=Object.create(null);function newStorage(a,j){return{provider:a,prefix:j,icons:Object.create(null),missing:new Set}}function getStorage(a,j){const _e=dataStorage[a]||(dataStorage[a]=Object.create(null));return _e[j]||(_e[j]=newStorage(a,j))}function addIconSet(a,j){return quicklyValidateIconSet(j)?parseIconSet(j,(_e,et)=>{et?a.icons[_e]=et:a.missing.add(_e)}):[]}function addIconToStorage(a,j,_e){try{if(typeof _e.body=="string")return a.icons[j]={..._e},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames(a){return typeof a=="boolean"&&(simpleNames=a),simpleNames}function getIconData(a){const j=typeof a=="string"?stringToIcon(a,!0,simpleNames):a;if(j){const _e=getStorage(j.provider,j.prefix),et=j.name;return _e.icons[et]||(_e.missing.has(et)?null:void 0)}}function addIcon(a,j){const _e=stringToIcon(a,!0,simpleNames);if(!_e)return!1;const et=getStorage(_e.provider,_e.prefix);return addIconToStorage(et,_e.name,j)}function addCollection(a,j){if(typeof a!="object")return!1;if(typeof j!="string"&&(j=a.provider||""),simpleNames&&!j&&!a.prefix){let nt=!1;return quicklyValidateIconSet(a)&&(a.prefix="",parseIconSet(a,(tt,ot)=>{ot&&addIcon(tt,ot)&&(nt=!0)})),nt}const _e=a.prefix;if(!validateIconName({provider:j,prefix:_e,name:"a"}))return!1;const et=getStorage(j,_e);return!!addIconSet(et,a)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(a,j,_e){if(j===1)return a;if(_e=_e||100,typeof a=="number")return Math.ceil(a*j*_e)/_e;if(typeof a!="string")return a;const et=a.split(unitsSplit);if(et===null||!et.length)return a;const nt=[];let tt=et.shift(),ot=unitsTest.test(tt);for(;;){if(ot){const ft=parseFloat(tt);isNaN(ft)?nt.push(tt):nt.push(Math.ceil(ft*j*_e)/_e)}else nt.push(tt);if(tt=et.shift(),tt===void 0)return nt.join("");ot=!ot}}const isUnsetKeyword=a=>a==="unset"||a==="undefined"||a==="none";function iconToSVG(a,j){const _e={...defaultIconProps,...a},et={...defaultIconCustomisations,...j},nt={left:_e.left,top:_e.top,width:_e.width,height:_e.height};let tt=_e.body;[_e,et].forEach(At=>{const Ct=[],Mt=At.hFlip,kt=At.vFlip;let Pt=At.rotate;Mt?kt?Pt+=2:(Ct.push("translate("+(nt.width+nt.left).toString()+" "+(0-nt.top).toString()+")"),Ct.push("scale(-1 1)"),nt.top=nt.left=0):kt&&(Ct.push("translate("+(0-nt.left).toString()+" "+(nt.height+nt.top).toString()+")"),Ct.push("scale(1 -1)"),nt.top=nt.left=0);let Lt;switch(Pt<0&&(Pt-=Math.floor(Pt/4)*4),Pt=Pt%4,Pt){case 1:Lt=nt.height/2+nt.top,Ct.unshift("rotate(90 "+Lt.toString()+" "+Lt.toString()+")");break;case 2:Ct.unshift("rotate(180 "+(nt.width/2+nt.left).toString()+" "+(nt.height/2+nt.top).toString()+")");break;case 3:Lt=nt.width/2+nt.left,Ct.unshift("rotate(-90 "+Lt.toString()+" "+Lt.toString()+")");break}Pt%2===1&&(nt.left!==nt.top&&(Lt=nt.left,nt.left=nt.top,nt.top=Lt),nt.width!==nt.height&&(Lt=nt.width,nt.width=nt.height,nt.height=Lt)),Ct.length&&(tt='<g transform="'+Ct.join(" ")+'">'+tt+"</g>")});const ot=et.width,ft=et.height,dt=nt.width,mt=nt.height;let pt,yt;ot===null?(yt=ft===null?"1em":ft==="auto"?mt:ft,pt=calculateSize(yt,dt/mt)):(pt=ot==="auto"?dt:ot,yt=ft===null?calculateSize(pt,mt/dt):ft==="auto"?mt:ft);const Tt={},St=(At,Ct)=>{isUnsetKeyword(Ct)||(Tt[At]=Ct.toString())};return St("width",pt),St("height",yt),Tt.viewBox=nt.left.toString()+" "+nt.top.toString()+" "+dt.toString()+" "+mt.toString(),{attributes:Tt,body:tt}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(a,j=randomPrefix){const _e=[];let et;for(;et=regex.exec(a);)_e.push(et[1]);if(!_e.length)return a;const nt="suffix"+(Math.random()*16777216|Date.now()).toString(16);return _e.forEach(tt=>{const ot=typeof j=="function"?j(tt):j+(counter++).toString(),ft=tt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");a=a.replace(new RegExp('([#;"])('+ft+')([")]|\\.[a-z])',"g"),"$1"+ot+nt+"$3")}),a=a.replace(new RegExp(nt,"g"),""),a}const storage=Object.create(null);function setAPIModule(a,j){storage[a]=j}function getAPIModule(a){return storage[a]||storage[""]}function createAPIConfig(a){let j;if(typeof a.resources=="string")j=[a.resources];else if(j=a.resources,!(j instanceof Array)||!j.length)return null;return{resources:j,path:a.path||"/",maxURL:a.maxURL||500,rotate:a.rotate||750,timeout:a.timeout||5e3,random:a.random===!0,index:a.index||0,dataAfterTimeout:a.dataAfterTimeout!==!1}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)fallBackAPISources.length===1||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});function addAPIProvider(a,j){const _e=createAPIConfig(j);return _e===null?!1:(configStorage[a]=_e,!0)}function getAPIConfig(a){return configStorage[a]}const detectFetch=()=>{let a;try{if(a=fetch,typeof a=="function")return a}catch{}};let fetchModule=detectFetch();function calculateMaxLength(a,j){const _e=getAPIConfig(a);if(!_e)return 0;let et;if(!_e.maxURL)et=0;else{let nt=0;_e.resources.forEach(ot=>{nt=Math.max(nt,ot.length)});const tt=j+".json?icons=";et=_e.maxURL-nt-_e.path.length-tt.length}return et}function shouldAbort(a){return a===404}const prepare=(a,j,_e)=>{const et=[],nt=calculateMaxLength(a,j),tt="icons";let ot={type:tt,provider:a,prefix:j,icons:[]},ft=0;return _e.forEach((dt,mt)=>{ft+=dt.length+1,ft>=nt&&mt>0&&(et.push(ot),ot={type:tt,provider:a,prefix:j,icons:[]},ft=dt.length),ot.icons.push(dt)}),et.push(ot),et};function getPath(a){if(typeof a=="string"){const j=getAPIConfig(a);if(j)return j.path}return"/"}const send=(a,j,_e)=>{if(!fetchModule){_e("abort",424);return}let et=getPath(j.provider);switch(j.type){case"icons":{const tt=j.prefix,ft=j.icons.join(","),dt=new URLSearchParams({icons:ft});et+=tt+".json?"+dt.toString();break}case"custom":{const tt=j.uri;et+=tt.slice(0,1)==="/"?tt.slice(1):tt;break}default:_e("abort",400);return}let nt=503;fetchModule(a+et).then(tt=>{const ot=tt.status;if(ot!==200){setTimeout(()=>{_e(shouldAbort(ot)?"abort":"next",ot)});return}return nt=501,tt.json()}).then(tt=>{if(typeof tt!="object"||tt===null){setTimeout(()=>{tt===404?_e("abort",tt):_e("next",nt)});return}setTimeout(()=>{_e("success",tt)})}).catch(()=>{_e("next",nt)})},fetchAPIModule={prepare,send};function sortIcons(a){const j={loaded:[],missing:[],pending:[]},_e=Object.create(null);a.sort((nt,tt)=>nt.provider!==tt.provider?nt.provider.localeCompare(tt.provider):nt.prefix!==tt.prefix?nt.prefix.localeCompare(tt.prefix):nt.name.localeCompare(tt.name));let et={provider:"",prefix:"",name:""};return a.forEach(nt=>{if(et.name===nt.name&&et.prefix===nt.prefix&&et.provider===nt.provider)return;et=nt;const tt=nt.provider,ot=nt.prefix,ft=nt.name,dt=_e[tt]||(_e[tt]=Object.create(null)),mt=dt[ot]||(dt[ot]=getStorage(tt,ot));let pt;ft in mt.icons?pt=j.loaded:ot===""||mt.missing.has(ft)?pt=j.missing:pt=j.pending;const yt={provider:tt,prefix:ot,name:ft};pt.push(yt)}),j}function removeCallback(a,j){a.forEach(_e=>{const et=_e.loaderCallbacks;et&&(_e.loaderCallbacks=et.filter(nt=>nt.id!==j))})}function updateCallbacks(a){a.pendingCallbacksFlag||(a.pendingCallbacksFlag=!0,setTimeout(()=>{a.pendingCallbacksFlag=!1;const j=a.loaderCallbacks?a.loaderCallbacks.slice(0):[];if(!j.length)return;let _e=!1;const et=a.provider,nt=a.prefix;j.forEach(tt=>{const ot=tt.icons,ft=ot.pending.length;ot.pending=ot.pending.filter(dt=>{if(dt.prefix!==nt)return!0;const mt=dt.name;if(a.icons[mt])ot.loaded.push({provider:et,prefix:nt,name:mt});else if(a.missing.has(mt))ot.missing.push({provider:et,prefix:nt,name:mt});else return _e=!0,!0;return!1}),ot.pending.length!==ft&&(_e||removeCallback([a],tt.id),tt.callback(ot.loaded.slice(0),ot.missing.slice(0),ot.pending.slice(0),tt.abort))})}))}let idCounter=0;function storeCallback(a,j,_e){const et=idCounter++,nt=removeCallback.bind(null,_e,et);if(!j.pending.length)return nt;const tt={id:et,icons:j,callback:a,abort:nt};return _e.forEach(ot=>{(ot.loaderCallbacks||(ot.loaderCallbacks=[])).push(tt)}),nt}function listToIcons(a,j=!0,_e=!1){const et=[];return a.forEach(nt=>{const tt=typeof nt=="string"?stringToIcon(nt,j,_e):nt;tt&&et.push(tt)}),et}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(a,j,_e,et){const nt=a.resources.length,tt=a.random?Math.floor(Math.random()*nt):a.index;let ot;if(a.random){let jt=a.resources.slice(0);for(ot=[];jt.length>1;){const Wt=Math.floor(Math.random()*jt.length);ot.push(jt[Wt]),jt=jt.slice(0,Wt).concat(jt.slice(Wt+1))}ot=ot.concat(jt)}else ot=a.resources.slice(tt).concat(a.resources.slice(0,tt));const ft=Date.now();let dt="pending",mt=0,pt,yt=null,Tt=[],St=[];typeof et=="function"&&St.push(et);function At(){yt&&(clearTimeout(yt),yt=null)}function Ct(){dt==="pending"&&(dt="aborted"),At(),Tt.forEach(jt=>{jt.status==="pending"&&(jt.status="aborted")}),Tt=[]}function Mt(jt,Wt){Wt&&(St=[]),typeof jt=="function"&&St.push(jt)}function kt(){return{startTime:ft,payload:j,status:dt,queriesSent:mt,queriesPending:Tt.length,subscribe:Mt,abort:Ct}}function Pt(){dt="failed",St.forEach(jt=>{jt(void 0,pt)})}function Lt(){Tt.forEach(jt=>{jt.status==="pending"&&(jt.status="aborted")}),Tt=[]}function Ft(jt,Wt,sn){const ln=Wt!=="success";switch(Tt=Tt.filter(vn=>vn!==jt),dt){case"pending":break;case"failed":if(ln||!a.dataAfterTimeout)return;break;default:return}if(Wt==="abort"){pt=sn,Pt();return}if(ln){pt=sn,Tt.length||(ot.length?Yt():Pt());return}if(At(),Lt(),!a.random){const vn=a.resources.indexOf(jt.resource);vn!==-1&&vn!==a.index&&(a.index=vn)}dt="completed",St.forEach(vn=>{vn(sn)})}function Yt(){if(dt!=="pending")return;At();const jt=ot.shift();if(jt===void 0){if(Tt.length){yt=setTimeout(()=>{At(),dt==="pending"&&(Lt(),Pt())},a.timeout);return}Pt();return}const Wt={status:"pending",resource:jt,callback:(sn,ln)=>{Ft(Wt,sn,ln)}};Tt.push(Wt),mt++,yt=setTimeout(Yt,a.rotate),_e(jt,j,Wt.callback)}return setTimeout(Yt),kt}function initRedundancy(a){const j={...defaultConfig,...a};let _e=[];function et(){_e=_e.filter(ft=>ft().status==="pending")}function nt(ft,dt,mt){const pt=sendQuery(j,ft,dt,(yt,Tt)=>{et(),mt&&mt(yt,Tt)});return _e.push(pt),pt}function tt(ft){return _e.find(dt=>ft(dt))||null}return{query:nt,find:tt,setIndex:ft=>{j.index=ft},getIndex:()=>j.index,cleanup:et}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(a){if(!redundancyCache[a]){const j=getAPIConfig(a);if(!j)return;const _e=initRedundancy(j),et={config:j,redundancy:_e};redundancyCache[a]=et}return redundancyCache[a]}function sendAPIQuery(a,j,_e){let et,nt;if(typeof a=="string"){const tt=getAPIModule(a);if(!tt)return _e(void 0,424),emptyCallback$1;nt=tt.send;const ot=getRedundancyCache(a);ot&&(et=ot.redundancy)}else{const tt=createAPIConfig(a);if(tt){et=initRedundancy(tt);const ot=a.resources?a.resources[0]:"",ft=getAPIModule(ot);ft&&(nt=ft.send)}}return!et||!nt?(_e(void 0,424),emptyCallback$1):et.query(j,nt,_e)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem(a,j){try{return a.getItem(j)}catch{}}function setStoredItem(a,j,_e){try{return a.setItem(j,_e),!0}catch{}}function removeStoredItem(a,j){try{a.removeItem(j)}catch{}}function setBrowserStorageItemsCount(a,j){return setStoredItem(a,browserCacheCountKey,j.toString())}function getBrowserStorageItemsCount(a){return parseInt(getStoredItem(a,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(a){browserStorageStatus=a}let _window=typeof window>"u"?{}:window;function getBrowserStorage(a){const j=a+"Storage";try{if(_window&&_window[j]&&typeof _window[j].length=="number")return _window[j]}catch{}browserStorageConfig[a]=!1}function iterateBrowserStorage(a,j){const _e=getBrowserStorage(a);if(!_e)return;const et=getStoredItem(_e,browserCacheVersionKey);if(et!==browserCacheVersion){if(et){const ft=getBrowserStorageItemsCount(_e);for(let dt=0;dt<ft;dt++)removeStoredItem(_e,browserCachePrefix+dt.toString())}setStoredItem(_e,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount(_e,0);return}const nt=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,tt=ft=>{const dt=browserCachePrefix+ft.toString(),mt=getStoredItem(_e,dt);if(typeof mt=="string"){try{const pt=JSON.parse(mt);if(typeof pt=="object"&&typeof pt.cached=="number"&&pt.cached>nt&&typeof pt.provider=="string"&&typeof pt.data=="object"&&typeof pt.data.prefix=="string"&&j(pt,ft))return!0}catch{}removeStoredItem(_e,dt)}};let ot=getBrowserStorageItemsCount(_e);for(let ft=ot-1;ft>=0;ft--)tt(ft)||(ft===ot-1?(ot--,setBrowserStorageItemsCount(_e,ot)):browserStorageEmptyItems[a].add(ft))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const a in browserStorageConfig)iterateBrowserStorage(a,j=>{const _e=j.data,et=j.provider,nt=_e.prefix,tt=getStorage(et,nt);if(!addIconSet(tt,_e).length)return!1;const ot=_e.lastModified||-1;return tt.lastModifiedCached=tt.lastModifiedCached?Math.min(tt.lastModifiedCached,ot):ot,!0})}}function updateLastModified(a,j){const _e=a.lastModifiedCached;if(_e&&_e>=j)return _e===j;if(a.lastModifiedCached=j,_e)for(const et in browserStorageConfig)iterateBrowserStorage(et,nt=>{const tt=nt.data;return nt.provider!==a.provider||tt.prefix!==a.prefix||tt.lastModified===j});return!0}function storeInBrowserStorage(a,j){browserStorageStatus||initBrowserStorage();function _e(et){let nt;if(!browserStorageConfig[et]||!(nt=getBrowserStorage(et)))return;const tt=browserStorageEmptyItems[et];let ot;if(tt.size)tt.delete(ot=Array.from(tt).shift());else if(ot=getBrowserStorageItemsCount(nt),!setBrowserStorageItemsCount(nt,ot+1))return;const ft={cached:Math.floor(Date.now()/browserStorageHour),provider:a.provider,data:j};return setStoredItem(nt,browserCachePrefix+ot.toString(),JSON.stringify(ft))}j.lastModified&&!updateLastModified(a,j.lastModified)||Object.keys(j.icons).length&&(j.not_found&&(j=Object.assign({},j),delete j.not_found),_e("local")||_e("session"))}function emptyCallback(){}function loadedNewIcons(a){a.iconsLoaderFlag||(a.iconsLoaderFlag=!0,setTimeout(()=>{a.iconsLoaderFlag=!1,updateCallbacks(a)}))}function loadNewIcons(a,j){a.iconsToLoad?a.iconsToLoad=a.iconsToLoad.concat(j).sort():a.iconsToLoad=j,a.iconsQueueFlag||(a.iconsQueueFlag=!0,setTimeout(()=>{a.iconsQueueFlag=!1;const{provider:_e,prefix:et}=a,nt=a.iconsToLoad;delete a.iconsToLoad;let tt;if(!nt||!(tt=getAPIModule(_e)))return;tt.prepare(_e,et,nt).forEach(ft=>{sendAPIQuery(_e,ft,dt=>{if(typeof dt!="object")ft.icons.forEach(mt=>{a.missing.add(mt)});else try{const mt=addIconSet(a,dt);if(!mt.length)return;const pt=a.pendingIcons;pt&&mt.forEach(yt=>{pt.delete(yt)}),storeInBrowserStorage(a,dt)}catch(mt){console.error(mt)}loadedNewIcons(a)})})}))}const loadIcons=(a,j)=>{const _e=listToIcons(a,!0,allowSimpleNames()),et=sortIcons(_e);if(!et.pending.length){let dt=!0;return j&&setTimeout(()=>{dt&&j(et.loaded,et.missing,et.pending,emptyCallback)}),()=>{dt=!1}}const nt=Object.create(null),tt=[];let ot,ft;return et.pending.forEach(dt=>{const{provider:mt,prefix:pt}=dt;if(pt===ft&&mt===ot)return;ot=mt,ft=pt,tt.push(getStorage(mt,pt));const yt=nt[mt]||(nt[mt]=Object.create(null));yt[pt]||(yt[pt]=[])}),et.pending.forEach(dt=>{const{provider:mt,prefix:pt,name:yt}=dt,Tt=getStorage(mt,pt),St=Tt.pendingIcons||(Tt.pendingIcons=new Set);St.has(yt)||(St.add(yt),nt[mt][pt].push(yt))}),tt.forEach(dt=>{const{provider:mt,prefix:pt}=dt;nt[mt][pt].length&&loadNewIcons(dt,nt[mt][pt])}),j?storeCallback(j,et,tt):emptyCallback},loadIcon=a=>new Promise((j,_e)=>{const et=typeof a=="string"?stringToIcon(a,!0):a;if(!et){_e(a);return}loadIcons([et||a],nt=>{if(nt.length&&et){const tt=getIconData(et);if(tt){j({...defaultIconProps,...tt});return}}_e(a)})});function mergeCustomisations(a,j){const _e={...a};for(const et in j){const nt=j[et],tt=typeof nt;et in defaultIconSizeCustomisations?(nt===null||nt&&(tt==="string"||tt==="number"))&&(_e[et]=nt):tt===typeof _e[et]&&(_e[et]=et==="rotate"?nt%4:nt)}return _e}const separator=/[\s,]+/;function flipFromString(a,j){j.split(separator).forEach(_e=>{switch(_e.trim()){case"horizontal":a.hFlip=!0;break;case"vertical":a.vFlip=!0;break}})}function rotateFromString(a,j=0){const _e=a.replace(/^-?[0-9.]*/,"");function et(nt){for(;nt<0;)nt+=4;return nt%4}if(_e===""){const nt=parseInt(a);return isNaN(nt)?0:et(nt)}else if(_e!==a){let nt=0;switch(_e){case"%":nt=25;break;case"deg":nt=90}if(nt){let tt=parseFloat(a.slice(0,a.length-_e.length));return isNaN(tt)?0:(tt=tt/nt,tt%1===0?et(tt):0)}}return j}function iconToHTML(a,j){let _e=a.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const et in j)_e+=" "+et+'="'+j[et]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+_e+">"+a+"</svg>"}function encodeSVGforURL(a){return a.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData(a){return"data:image/svg+xml,"+encodeSVGforURL(a)}function svgToURL(a){return'url("'+svgToData(a)+'")'}let policy;function createPolicy(){try{policy=window.trustedTypes.createPolicy("iconify",{createHTML:a=>a})}catch{policy=null}}function cleanUpInnerHTML(a){return policy===void 0&&createPolicy(),policy?policy.createHTML(a):a}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={WebkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const a in propsToAddTo){const j=propsToAddTo[a];for(const _e in propsToAdd)j[a+_e]=propsToAdd[_e]}const inlineDefaults={...defaultExtendedIconCustomisations,inline:!0};function fixSize(a){return a+(a.match(/^[-0-9.]+$/)?"px":"")}const render=(a,j,_e,et)=>{const nt=_e?inlineDefaults:defaultExtendedIconCustomisations,tt=mergeCustomisations(nt,j),ot=j.mode||"svg",ft={},dt=j.style||{},mt={...ot==="svg"?svgDefaults:{},ref:et};for(let kt in j){const Pt=j[kt];if(Pt!==void 0)switch(kt){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":tt[kt]=Pt===!0||Pt==="true"||Pt===1;break;case"flip":typeof Pt=="string"&&flipFromString(tt,Pt);break;case"color":ft.color=Pt;break;case"rotate":typeof Pt=="string"?tt[kt]=rotateFromString(Pt):typeof Pt=="number"&&(tt[kt]=Pt);break;case"ariaHidden":case"aria-hidden":Pt!==!0&&Pt!=="true"&&delete mt["aria-hidden"];break;default:nt[kt]===void 0&&(mt[kt]=Pt)}}const pt=iconToSVG(a,tt),yt=pt.attributes;if(tt.inline&&(ft.verticalAlign="-0.125em"),ot==="svg"){mt.style={...ft,...dt},Object.assign(mt,yt);let kt=0,Pt=j.id;return typeof Pt=="string"&&(Pt=Pt.replace(/-/g,"_")),mt.dangerouslySetInnerHTML={__html:cleanUpInnerHTML(replaceIDs(pt.body,Pt?()=>Pt+"ID"+kt++:"iconifyReact"))},React$2.createElement("svg",mt)}const{body:Tt,width:St,height:At}=a,Ct=ot==="mask"||(ot==="bg"?!1:Tt.indexOf("currentColor")!==-1),Mt=iconToHTML(Tt,{...yt,width:St+"",height:At+""});return mt.style={...ft,"--svg":svgToURL(Mt),width:fixSize(yt.width),height:fixSize(yt.height),...commonProps,...Ct?monotoneProps:coloredProps,...dt},React$2.createElement("span",mt)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const a=window;if(a.IconifyPreload!==void 0){const j=a.IconifyPreload,_e="Invalid IconifyPreload syntax.";typeof j=="object"&&j!==null&&(j instanceof Array?j:[j]).forEach(et=>{try{(typeof et!="object"||et===null||et instanceof Array||typeof et.icons!="object"||typeof et.prefix!="string"||!addCollection(et))&&console.error(_e)}catch{console.error(_e)}})}if(a.IconifyProviders!==void 0){const j=a.IconifyProviders;if(typeof j=="object"&&j!==null)for(let _e in j){const et="IconifyProviders["+_e+"] is invalid.";try{const nt=j[_e];if(typeof nt!="object"||!nt||nt.resources===void 0)continue;addAPIProvider(_e,nt)||console.error(et)}catch{console.error(et)}}}}class IconComponent extends React$2.Component{constructor(j){super(j),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(j){this.state.icon!==j&&this.setState({icon:j})}_checkIcon(j){const _e=this.state,et=this.props.icon;if(typeof et=="object"&&et!==null&&typeof et.body=="string"){this._icon="",this._abortLoading(),(j||_e.icon===null)&&this._setData({data:et});return}let nt;if(typeof et!="string"||(nt=stringToIcon(et,!1,!0))===null){this._abortLoading(),this._setData(null);return}const tt=getIconData(nt);if(!tt){(!this._loading||this._loading.name!==et)&&(this._abortLoading(),this._icon="",this._setData(null),tt!==null&&(this._loading={name:et,abort:loadIcons([nt],this._checkIcon.bind(this,!1))}));return}if(this._icon!==et||_e.icon===null){this._abortLoading(),this._icon=et;const ot=["iconify"];nt.prefix!==""&&ot.push("iconify--"+nt.prefix),nt.provider!==""&&ot.push("iconify--"+nt.provider),this._setData({data:tt,classes:ot}),this.props.onLoad&&this.props.onLoad(et)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(j){j.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const j=this.props,_e=this.state.icon;if(_e===null)return j.children?j.children:React$2.createElement("span",{});let et=j;return _e.classes&&(et={...j,className:(typeof j.className=="string"?j.className+" ":"")+_e.classes.join(" ")}),render({...defaultIconProps,..._e.data},et,j._inline,j._ref)}}const Icon=React$2.forwardRef(function(j,_e){const et={...j,_ref:_e,_inline:!1};return React$2.createElement(IconComponent,et)});React$2.forwardRef(function(j,_e){const et={...j,_ref:_e,_inline:!0};return React$2.createElement(IconComponent,et)});const data$w={width:24,height:24,body:'<path fill="currentColor" d="M9.575 12L5.7 8.1q-.275-.275-.288-.688T5.7 6.7q.275-.275.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375q0 .2-.062.375t-.213.325l-4.6 4.6q-.275.275-.687.288T5.7 17.3q-.275-.275-.275-.7t.275-.7L9.575 12Zm6.6 0L12.3 8.1q-.275-.275-.288-.688T12.3 6.7q.275-.275.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.6 4.6q-.275.275-.687.288T12.3 17.3q-.275-.275-.275-.7t.275-.7l3.875-3.9Z"/>'};var appleIphone=/iPhone/i,appleIpod=/iPod/i,appleTablet=/iPad/i,appleUniversal=/\biOS-universal(?:.+)Mac\b/i,androidPhone=/\bAndroid(?:.+)Mobile\b/i,androidTablet=/Android/i,amazonPhone=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,amazonTablet=/Silk/i,windowsPhone=/Windows Phone/i,windowsTablet=/\bWindows(?:.+)ARM\b/i,otherBlackBerry=/BlackBerry/i,otherBlackBerry10=/BB10/i,otherOpera=/Opera Mini/i,otherChrome=/\b(CriOS|Chrome)(?:.+)Mobile/i,otherFirefox=/Mobile(?:.+)Firefox\b/i,isAppleTabletOnIos13=function(a){return typeof a<"u"&&a.platform==="MacIntel"&&typeof a.maxTouchPoints=="number"&&a.maxTouchPoints>1&&typeof MSStream>"u"};function createMatch(a){return function(j){return j.test(a)}}function isMobile(a){var j={userAgent:"",platform:"",maxTouchPoints:0};!a&&typeof navigator<"u"?j={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof a=="string"?j.userAgent=a:a&&a.userAgent&&(j={userAgent:a.userAgent,platform:a.platform,maxTouchPoints:a.maxTouchPoints||0});var _e=j.userAgent,et=_e.split("[FBAN");typeof et[1]<"u"&&(_e=et[0]),et=_e.split("Twitter"),typeof et[1]<"u"&&(_e=et[0]);var nt=createMatch(_e),tt={apple:{phone:nt(appleIphone)&&!nt(windowsPhone),ipod:nt(appleIpod),tablet:!nt(appleIphone)&&(nt(appleTablet)||isAppleTabletOnIos13(j))&&!nt(windowsPhone),universal:nt(appleUniversal),device:(nt(appleIphone)||nt(appleIpod)||nt(appleTablet)||nt(appleUniversal)||isAppleTabletOnIos13(j))&&!nt(windowsPhone)},amazon:{phone:nt(amazonPhone),tablet:!nt(amazonPhone)&&nt(amazonTablet),device:nt(amazonPhone)||nt(amazonTablet)},android:{phone:!nt(windowsPhone)&&nt(amazonPhone)||!nt(windowsPhone)&&nt(androidPhone),tablet:!nt(windowsPhone)&&!nt(amazonPhone)&&!nt(androidPhone)&&(nt(amazonTablet)||nt(androidTablet)),device:!nt(windowsPhone)&&(nt(amazonPhone)||nt(amazonTablet)||nt(androidPhone)||nt(androidTablet))||nt(/\bokhttp\b/i)},windows:{phone:nt(windowsPhone),tablet:nt(windowsTablet),device:nt(windowsPhone)||nt(windowsTablet)},other:{blackberry:nt(otherBlackBerry),blackberry10:nt(otherBlackBerry10),opera:nt(otherOpera),firefox:nt(otherFirefox),chrome:nt(otherChrome),device:nt(otherBlackBerry)||nt(otherBlackBerry10)||nt(otherOpera)||nt(otherFirefox)||nt(otherChrome)},any:!1,phone:!1,tablet:!1};return tt.any=tt.apple.device||tt.android.device||tt.windows.device||tt.other.device,tt.phone=tt.apple.phone||tt.android.phone||tt.windows.phone,tt.tablet=tt.apple.tablet||tt.android.tablet||tt.windows.tablet,tt}const DID_WALLET_TAG="ABTWallet",ARC_SPHERE_TAG="ArcSphere";function getDIDWalletVersion(a){var nt;const _e=new RegExp(`${DID_WALLET_TAG}/(?<version>[0-9.]+)`,"g").exec(a);return(nt=_e==null?void 0:_e.groups)==null?void 0:nt.version}function useBrowser(){var _e;const a=(_e=window==null?void 0:window.navigator)==null?void 0:_e.userAgent,[j]=reactExports.useState({wallet:a.indexOf(DID_WALLET_TAG)>-1||a.indexOf(ARC_SPHERE_TAG)>-1,walletVersion:getDIDWalletVersion(a),wechat:/MicroMessenger/i.test(a),mobile:{apple:{phone:!1,ipod:!1,tablet:!1,device:!1},amazon:{phone:!1,tablet:!1,device:!1},android:{phone:!1,tablet:!1,device:!1},windows:{phone:!1,tablet:!1,device:!1},other:{blackberry:!1,blackberry10:!1,opera:!1,firefox:!1,chrome:!1,device:!1},phone:!1,tablet:!1,any:!1,...isMobile(a)}});return j}const extendedColors={did:{contained:{backgroundColor:colors$2.did.primary,color:colors$2.common.white},outlined:{borderColor:colors$2.did.primary,color:colors$2.did.primary}},reverse:{contained:{backgroundColor:"rgba(255, 255, 255, 0.9)",color:colors$2.grey[900]},outlined:{borderColor:colors$2.grey[900],color:colors$2.grey[900]}}};function wrap$1(a){function j(_e){const et=mergeProps(_e,j,["style"]),{children:nt,rounded:tt,loading:ot,disabled:ft,style:dt,forwardedRef:mt,color:pt,...yt}=et,Tt=ft||ot;let St=16;switch(yt.size){case"small":St=14;break;case"large":St=18;break}const At=extendedColors[pt]&&extendedColors[pt][yt.variant],Ct=Object.assign({},dt,{boxShadow:"none",textTransform:"capitalize",...At});let Mt=yt;return At||(Mt={...Mt,color:pt}),tt&&(Ct.borderRadius="100vw"),jsxRuntimeExports.jsxs(a,{style:Ct,ref:mt,disabled:Tt,...Mt,children:[ot&&jsxRuntimeExports.jsx(CircularProgress,{size:St,style:{marginRight:5}}),nt]})}return j.propTypes={children:PropTypes.any.isRequired,style:PropTypes.oneOfType([PropTypes.object,PropTypes.string]),size:PropTypes.oneOf(["large","medium","small"]),forwardedRef:PropTypes.any,rounded:PropTypes.bool},j.defaultProps={rounded:!1,size:"medium",forwardedRef:null,style:{}},reactExports.forwardRef((_e,et)=>jsxRuntimeExports.jsx(j,{..._e,forwardedRef:et}))}const ButtonComponent=wrap$1(Button$1);function Dialog({children:a,title:j,prepend:_e,toolbar:et,actions:nt,showCloseButton:tt,actionsPosition:ot,PaperProps:ft,slotProps:dt,...mt}){const pt=useTheme$1(),yt=useMediaQuery(pt.breakpoints.down("md")),Tt=j||tt||et,St=(Ct,Mt)=>{const{onClose:kt}=mt;kt&&kt(Ct,Mt)};ft.style=Object.assign({minWidth:300,minHeight:300},ft.style);const At=jsxRuntimeExports.jsx(IconButton,{className:"ux-dialog_closeButton",onClick:Ct=>St(Ct,"closeButton"),children:jsxRuntimeExports.jsx(default_1$7,{})});return jsxRuntimeExports.jsxs(StyledMuiDialog,{fullScreen:yt,onClose:St,PaperProps:ft,...mt,children:[Tt&&jsxRuntimeExports.jsxs(Header$1,{...dt.header,className:"ux-dialog_header",isMobile:yt,children:[jsxRuntimeExports.jsxs("div",{className:"ux-dialog_left",children:[tt&&yt&&At,_e&&jsxRuntimeExports.jsx("div",{className:"ux-dialog_prepend",children:_e}),j&&jsxRuntimeExports.jsx(Typography,{variant:"h6",className:"ux-dialog_title",children:j})]}),jsxRuntimeExports.jsxs("div",{className:"ux-dialog_right",children:[jsxRuntimeExports.jsx("div",{className:"ux-dialog_toolbar",children:et}),tt&&!yt&&At]})]}),jsxRuntimeExports.jsx(DialogContent,{...dt.content,children:a}),nt&&jsxRuntimeExports.jsx(DialogActions,{className:`ux-dialog_actions--${ot}`,children:nt})]})}Dialog.propTypes={children:PropTypes.node.isRequired,title:PropTypes.node,prepend:PropTypes.node,toolbar:PropTypes.node,actions:PropTypes.node,showCloseButton:PropTypes.bool,actionsPosition:PropTypes.oneOf(["left","center","right"]),PaperProps:PropTypes.object,slotProps:PropTypes.shape({content:PropTypes.object,header:PropTypes.object})};Dialog.defaultProps={showCloseButton:!0,title:"",prepend:null,toolbar:null,actions:null,actionsPosition:"right",PaperProps:{},slotProps:{}};const StyledMuiDialog=styled(Dialog$1)`
260
+ 0 22,12A10,10 0 0,0 12,2Z`}))},iconStyles={fontSize:20,marginInlineEnd:8},defaultIconVariants={default:void 0,success:React$2.createElement(CheckIcon,{style:iconStyles}),warning:React$2.createElement(WarningIcon,{style:iconStyles}),error:React$2.createElement(ErrorIcon,{style:iconStyles}),info:React$2.createElement(InfoIcon,{style:iconStyles})};function createChainedFunction(a,j){return a.reduce(function(_e,et){return et==null?_e:function(){for(var tt=arguments.length,ot=new Array(tt),ft=0;ft<tt;ft++)ot[ft]=arguments[ft];var dt=[].concat(ot);j&&dt.indexOf(j)===-1&&dt.push(j),_e.apply(this,dt),et.apply(this,dt)}},function(){})}var useEnhancedEffect=typeof window<"u"?reactExports.useLayoutEffect:reactExports.useEffect;function useEventCallback(a){var j=reactExports.useRef(a);return useEnhancedEffect(function(){j.current=a}),reactExports.useCallback(function(){return j.current.apply(void 0,arguments)},[])}var Snackbar=reactExports.forwardRef(function(a,j){var _e=a.children,et=a.autoHideDuration,nt=a.ClickAwayListenerProps,tt=a.disableWindowBlurListener,ot=tt===void 0?!1:tt,ft=a.onClose,dt=a.onMouseEnter,mt=a.onMouseLeave,pt=a.open,yt=a.resumeHideDuration,Tt=_objectWithoutPropertiesLoose(a,["children","autoHideDuration","ClickAwayListenerProps","disableWindowBlurListener","onClose","onMouseEnter","onMouseLeave","open","resumeHideDuration"]),St=reactExports.useRef(),At=useEventCallback(function(){ft&&ft.apply(void 0,arguments)}),Ct=useEventCallback(function(Yt){!ft||Yt==null||(clearTimeout(St.current),St.current=setTimeout(function(){At(null,REASONS.TIMEOUT)},Yt))});reactExports.useEffect(function(){return pt&&Ct(et),function(){clearTimeout(St.current)}},[pt,et,Ct]);var Mt=function(){clearTimeout(St.current)},kt=reactExports.useCallback(function(){et!=null&&Ct(yt??et*.5)},[et,yt,Ct]),Pt=function(jt){dt&&dt(jt),Mt()},Lt=function(jt){mt&&mt(jt),kt()},Ft=function(jt){ft&&ft(jt,REASONS.CLICKAWAY)};return reactExports.useEffect(function(){if(!ot&&pt)return window.addEventListener("focus",kt),window.addEventListener("blur",Mt),function(){window.removeEventListener("focus",kt),window.removeEventListener("blur",Mt)}},[ot,kt,pt]),reactExports.createElement(ClickAwayListener,_extends({onClickAway:Ft},nt),reactExports.createElement("div",_extends({onMouseEnter:Pt,onMouseLeave:Lt,ref:j},Tt),_e))}),componentName$1="SnackbarItem",classes$1$1={contentRoot:componentName$1+"-contentRoot",lessPadding:componentName$1+"-lessPadding",variantSuccess:componentName$1+"-variantSuccess",variantError:componentName$1+"-variantError",variantInfo:componentName$1+"-variantInfo",variantWarning:componentName$1+"-variantWarning",message:componentName$1+"-message",action:componentName$1+"-action",wrappedRoot:componentName$1+"-wrappedRoot"},StyledSnackbar=styled$1(Snackbar)(function(a){var j,_e=a.theme,et=_e.palette.mode||_e.palette.type,nt=emphasize$1(_e.palette.background.default,et==="light"?.8:.98);return j={},j["&."+classes$1$1.wrappedRoot]={position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0},j["."+classes$1$1.contentRoot]=_extends({},_e.typography.body2,{backgroundColor:nt,color:_e.palette.getContrastText(nt),alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"}),j["."+classes$1$1.lessPadding]={paddingLeft:8*2.5},j["."+classes$1$1.variantSuccess]={backgroundColor:"#43a047",color:"#fff"},j["."+classes$1$1.variantError]={backgroundColor:"#d32f2f",color:"#fff"},j["."+classes$1$1.variantInfo]={backgroundColor:"#2196f3",color:"#fff"},j["."+classes$1$1.variantWarning]={backgroundColor:"#ff9800",color:"#fff"},j["."+classes$1$1.message]={display:"flex",alignItems:"center",padding:"8px 0"},j["."+classes$1$1.action]={display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8},j}),SnackbarItem=function(j){var _e=j.classes,et=_objectWithoutPropertiesLoose(j,["classes"]),nt=reactExports.useRef(),tt=reactExports.useState(!0),ot=tt[0],ft=tt[1];reactExports.useEffect(function(){return function(){nt.current&&clearTimeout(nt.current)}},[]);var dt=createChainedFunction([et.snack.onClose,et.onClose],et.snack.key),mt=function(){et.snack.requestClose&&dt(null,REASONS.INSTRCUTED)},pt=function(){nt.current=setTimeout(function(){ft(!ot)},125)},yt=et.style,Tt=et.ariaAttributes,St=et.className,At=et.hideIconVariant,Ct=et.iconVariant,Mt=et.snack,kt=et.action,Pt=et.content,Lt=et.TransitionComponent,Ft=et.TransitionProps,Yt=et.transitionDuration,jt=_objectWithoutPropertiesLoose(et,["style","dense","ariaAttributes","className","hideIconVariant","iconVariant","snack","action","content","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),Wt=Mt.key,sn=Mt.open,ln=Mt.className,vn=Mt.variant,Rt=Mt.content,rt=Mt.action,ut=Mt.ariaAttributes,ct=Mt.anchorOrigin,ht=Mt.message,vt=Mt.TransitionComponent,$t=Mt.TransitionProps,xt=Mt.transitionDuration,bt=_objectWithoutPropertiesLoose(Mt,["persist","key","open","entered","requestClose","className","variant","content","action","ariaAttributes","anchorOrigin","message","TransitionComponent","TransitionProps","transitionDuration","onEnter","onEntered","onEntering","onExit","onExited","onExiting"]),it=_extends({},defaultIconVariants,{},Ct)[vn],Et=_extends({"aria-describedby":"notistack-snackbar"},objectMerge(ut,Tt)),Dt=vt||Lt||DEFAULTS.TransitionComponent,Nt=objectMerge(xt,Yt,DEFAULTS.transitionDuration),Vt=_extends({direction:getTransitionDirection(ct)},objectMerge($t,Ft)),Bt=rt||kt;typeof Bt=="function"&&(Bt=Bt(Wt));var Kt=Rt||Pt;typeof Kt=="function"&&(Kt=Kt(Wt,Mt.message));var qt=["onEnter","onEntering","onEntered","onExit","onExiting","onExited"].reduce(function(nn,un){var hn;return _extends({},nn,(hn={},hn[un]=createChainedFunction([et.snack[un],et[un]],et.snack.key),hn))},{});return React$2.createElement(Collapse,{unmountOnExit:!0,timeout:175,in:ot,onExited:qt.onExited},React$2.createElement(StyledSnackbar,Object.assign({},jt,bt,{open:sn,className:clsx(_e.root,classes$1$1.wrappedRoot,_e[transformer.toAnchorOrigin(ct)]),onClose:dt}),React$2.createElement(Dt,Object.assign({appear:!0,in:sn,timeout:Nt},Vt,{onExit:qt.onExit,onExiting:qt.onExiting,onExited:pt,onEnter:qt.onEnter,onEntering:qt.onEntering,onEntered:createChainedFunction([qt.onEntered,mt])}),Kt||React$2.createElement(SnackbarContent,Object.assign({},Et,{role:"alert",style:yt,className:clsx(classes$1$1.contentRoot,classes$1$1[transformer.toVariant(vn)],_e[transformer.toVariant(vn)],St,ln,!At&&it&&classes$1$1.lessPadding)}),React$2.createElement("div",{id:Et["aria-describedby"],className:classes$1$1.message},At?null:it,ht),Bt&&React$2.createElement("div",{className:classes$1$1.action},Bt)))))},collapse={container:"& > .MuiCollapse-container, & > .MuiCollapse-root",wrapper:"& > .MuiCollapse-container > .MuiCollapse-wrapper, & > .MuiCollapse-root > .MuiCollapse-wrapper"},xsWidthMargin=16,componentName$2="SnackbarContainer",classes$2={root:componentName$2+"-root",rootDense:componentName$2+"-rootDense",top:componentName$2+"-top",bottom:componentName$2+"-bottom",left:componentName$2+"-left",right:componentName$2+"-right",center:componentName$2+"-center"},Root$1$1=styled$1("div")(function(a){var j,_e,et,nt,tt,ot,ft=a.theme;return ot={},ot["&."+classes$2.root]=(j={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:ft.zIndex.snackbar,height:"auto",width:"auto",transition:"top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms",pointerEvents:"none"},j[collapse.container]={pointerEvents:"all"},j[collapse.wrapper]={padding:SNACKBAR_INDENTS.snackbar.default+"px 0px",transition:"padding 300ms ease 0ms"},j.maxWidth="calc(100% - "+SNACKBAR_INDENTS.view.default*2+"px)",j[ft.breakpoints.down("sm")]={width:"100%",maxWidth:"calc(100% - "+xsWidthMargin*2+"px)"},j),ot["&."+classes$2.rootDense]=(_e={},_e[collapse.wrapper]={padding:SNACKBAR_INDENTS.snackbar.dense+"px 0px"},_e),ot["&."+classes$2.top]={top:SNACKBAR_INDENTS.view.default-SNACKBAR_INDENTS.snackbar.default,flexDirection:"column"},ot["&."+classes$2.bottom]={bottom:SNACKBAR_INDENTS.view.default-SNACKBAR_INDENTS.snackbar.default,flexDirection:"column-reverse"},ot["&."+classes$2.left]=(et={left:SNACKBAR_INDENTS.view.default},et[ft.breakpoints.up("sm")]={alignItems:"flex-start"},et[ft.breakpoints.down("sm")]={left:xsWidthMargin+"px"},et),ot["&."+classes$2.right]=(nt={right:SNACKBAR_INDENTS.view.default},nt[ft.breakpoints.up("sm")]={alignItems:"flex-end"},nt[ft.breakpoints.down("sm")]={right:xsWidthMargin+"px"},nt),ot["&."+classes$2.center]=(tt={left:"50%",transform:"translateX(-50%)"},tt[ft.breakpoints.up("sm")]={alignItems:"center"},tt),ot}),SnackbarContainer=function(j){var _e=j.className,et=j.anchorOrigin,nt=j.dense,tt=_objectWithoutPropertiesLoose(j,["className","anchorOrigin","dense"]),ot=clsx(classes$2[et.vertical],classes$2[et.horizontal],classes$2.root,_e,nt&&classes$2.rootDense);return React$2.createElement(Root$1$1,Object.assign({className:ot},tt))},SnackbarContainer$1=React$2.memo(SnackbarContainer),SnackbarProvider=function(a){_inheritsLoose$1(j,a);function j(et){var nt;return nt=a.call(this,et)||this,nt.enqueueSnackbar=function(tt,ot){ot===void 0&&(ot={});var ft=ot,dt=ft.key,mt=ft.preventDuplicate,pt=_objectWithoutPropertiesLoose(ft,["key","preventDuplicate"]),yt=isDefined(dt),Tt=yt?dt:new Date().getTime()+Math.random(),St=merge$3(pt,nt.props,DEFAULTS),At=_extends({key:Tt},pt,{message:tt,open:!0,entered:!1,requestClose:!1,variant:St("variant"),anchorOrigin:St("anchorOrigin"),autoHideDuration:St("autoHideDuration")});return pt.persist&&(At.autoHideDuration=void 0),nt.setState(function(Ct){if(mt===void 0&&nt.props.preventDuplicate||mt){var Mt=function(Ft){return yt?Ft.key===dt:Ft.message===tt},kt=Ct.queue.findIndex(Mt)>-1,Pt=Ct.snacks.findIndex(Mt)>-1;if(kt||Pt)return Ct}return nt.handleDisplaySnack(_extends({},Ct,{queue:[].concat(Ct.queue,[At])}))}),Tt},nt.handleDisplaySnack=function(tt){var ot=tt.snacks;return ot.length>=nt.maxSnack?nt.handleDismissOldest(tt):nt.processQueue(tt)},nt.processQueue=function(tt){var ot=tt.queue,ft=tt.snacks;return ot.length>0?_extends({},tt,{snacks:[].concat(ft,[ot[0]]),queue:ot.slice(1,ot.length)}):tt},nt.handleDismissOldest=function(tt){if(tt.snacks.some(function(pt){return!pt.open||pt.requestClose}))return tt;var ot=!1,ft=!1,dt=tt.snacks.reduce(function(pt,yt){return pt+(yt.open&&yt.persist?1:0)},0);dt===nt.maxSnack&&(ft=!0);var mt=tt.snacks.map(function(pt){return!ot&&(!pt.persist||ft)?(ot=!0,pt.entered?(pt.onClose&&pt.onClose(null,REASONS.MAXSNACK,pt.key),nt.props.onClose&&nt.props.onClose(null,REASONS.MAXSNACK,pt.key),_extends({},pt,{open:!1})):_extends({},pt,{requestClose:!0})):_extends({},pt)});return _extends({},tt,{snacks:mt})},nt.handleEnteredSnack=function(tt,ot,ft){if(!isDefined(ft))throw new Error("handleEnteredSnack Cannot be called with undefined key");nt.setState(function(dt){var mt=dt.snacks;return{snacks:mt.map(function(pt){return pt.key===ft?_extends({},pt,{entered:!0}):_extends({},pt)})}})},nt.handleCloseSnack=function(tt,ot,ft){if(nt.props.onClose&&nt.props.onClose(tt,ot,ft),ot!==REASONS.CLICKAWAY){var dt=ft===void 0;nt.setState(function(mt){var pt=mt.snacks,yt=mt.queue;return{snacks:pt.map(function(Tt){return!dt&&Tt.key!==ft?_extends({},Tt):Tt.entered?_extends({},Tt,{open:!1}):_extends({},Tt,{requestClose:!0})}),queue:yt.filter(function(Tt){return Tt.key!==ft})}})}},nt.closeSnackbar=function(tt){var ot=nt.state.snacks.find(function(ft){return ft.key===tt});isDefined(tt)&&ot&&ot.onClose&&ot.onClose(null,REASONS.INSTRUCTED,tt),nt.handleCloseSnack(null,REASONS.INSTRUCTED,tt)},nt.handleExitedSnack=function(tt,ot,ft){var dt=ot||ft;if(!isDefined(dt))throw new Error("handleExitedSnack Cannot be called with undefined key");nt.setState(function(mt){var pt=nt.processQueue(_extends({},mt,{snacks:mt.snacks.filter(function(yt){return yt.key!==dt})}));return pt.queue.length===0?pt:nt.handleDismissOldest(pt)})},nt.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:nt.enqueueSnackbar.bind(_assertThisInitialized(nt)),closeSnackbar:nt.closeSnackbar.bind(_assertThisInitialized(nt))}},nt}var _e=j.prototype;return _e.render=function(){var nt=this,tt=this.state.contextValue,ot=this.props,ft=ot.iconVariant,dt=ot.dense,mt=dt===void 0?DEFAULTS.dense:dt,pt=ot.hideIconVariant,yt=pt===void 0?DEFAULTS.hideIconVariant:pt,Tt=ot.domRoot,St=ot.children,At=ot.classes,Ct=At===void 0?{}:At,Mt=_objectWithoutPropertiesLoose(ot,["maxSnack","preventDuplicate","variant","anchorOrigin","iconVariant","dense","hideIconVariant","domRoot","children","classes"]),kt=this.state.snacks.reduce(function(Lt,Ft){var Yt,jt=originKeyExtractor(Ft.anchorOrigin),Wt=Lt[jt]||[];return _extends({},Lt,(Yt={},Yt[jt]=[].concat(Wt,[Ft]),Yt))},{}),Pt=Object.keys(kt).map(function(Lt){var Ft=kt[Lt];return React$2.createElement(SnackbarContainer$1,{key:Lt,dense:mt,anchorOrigin:Ft[0].anchorOrigin,className:clsx(Ct.containerRoot,Ct[transformer.toContainerAnchorOrigin(Lt)])},Ft.map(function(Yt){return React$2.createElement(SnackbarItem,Object.assign({},Mt,{key:Yt.key,snack:Yt,dense:mt,iconVariant:ft,hideIconVariant:yt,classes:omitContainerKeys(Ct),onClose:nt.handleCloseSnack,onExited:createChainedFunction([nt.handleExitedSnack,nt.props.onExited]),onEntered:createChainedFunction([nt.handleEnteredSnack,nt.props.onEntered])}))}))});return React$2.createElement(SnackbarContext.Provider,{value:tt},St,Tt?reactDomExports.createPortal(Pt,Tt):Pt)},_createClass(j,[{key:"maxSnack",get:function(){return this.props.maxSnack||DEFAULTS.maxSnack}}]),j}(reactExports.Component),useSnackbar=function(){return reactExports.useContext(SnackbarContext)},Close={},createSvgIcon={};const require$$0$7=getAugmentedNamespace(utils$p);var hasRequiredCreateSvgIcon;function requireCreateSvgIcon(){return hasRequiredCreateSvgIcon||(hasRequiredCreateSvgIcon=1,function(a){"use client";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return j.createSvgIcon}});var j=require$$0$7}(createSvgIcon)),createSvgIcon}var _interopRequireDefault$7=interopRequireDefaultExports;Object.defineProperty(Close,"__esModule",{value:!0});var default_1$7=Close.default=void 0,_createSvgIcon$4=_interopRequireDefault$7(requireCreateSvgIcon()),_jsxRuntime$6=jsxRuntimeExports;default_1$7=Close.default=(0,_createSvgIcon$4.default)((0,_jsxRuntime$6.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 12z"}),"Close");function noop$6(){}var noop_1=noop$6;const noop$7=getDefaultExportFromCjs$1(noop_1);let success=noop$7,error=noop$7,warning=noop$7,info=noop$7;const genFn=(a,j)=>(_e,et={})=>{a(_e,{autoHideDuration:5e3,variant:j,...et})};function ToastProvider({children:a}){const j=reactExports.createRef(),_e=et=>()=>{j.current.closeSnackbar(et)};return jsxRuntimeExports.jsxs(SnackbarProvider,{anchorOrigin:{vertical:"top",horizontal:"right"},ref:j,action:et=>jsxRuntimeExports.jsx(IconButton,{"aria-label":"close",color:"inherit",onClick:_e(et),size:"large",children:jsxRuntimeExports.jsx(default_1$7,{style:{fontSize:16}})},"close"),children:[jsxRuntimeExports.jsx(Toast,{}),a]})}function Toast(){const{enqueueSnackbar:a}=useSnackbar();return success=genFn(a,"success"),error=genFn(a,"error"),warning=genFn(a,"warning"),info=genFn(a,"info"),null}const Toast$1={success:(a,j={},..._e)=>success(a,j,..._e),error:(a,j={autoHideDuration:15e3},..._e)=>error(a,j,..._e),warning:(a,j={},..._e)=>warning(a,j,..._e),info:(a,j={},..._e)=>info(a,j,..._e)};var flat=flatten$4;flatten$4.flatten=flatten$4;flatten$4.unflatten=unflatten;function isBuffer$7(a){return a&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function keyIdentity(a){return a}function flatten$4(a,j){j=j||{};const _e=j.delimiter||".",et=j.maxDepth,nt=j.transformKey||keyIdentity,tt={};function ot(ft,dt,mt){mt=mt||1,Object.keys(ft).forEach(function(pt){const yt=ft[pt],Tt=j.safe&&Array.isArray(yt),St=Object.prototype.toString.call(yt),At=isBuffer$7(yt),Ct=St==="[object Object]"||St==="[object Array]",Mt=dt?dt+_e+nt(pt):nt(pt);if(!Tt&&!At&&Ct&&Object.keys(yt).length&&(!j.maxDepth||mt<et))return ot(yt,Mt,mt+1);tt[Mt]=yt})}return ot(a),tt}function unflatten(a,j){j=j||{};const _e=j.delimiter||".",et=j.overwrite||!1,nt=j.transformKey||keyIdentity,tt={};if(isBuffer$7(a)||Object.prototype.toString.call(a)!=="[object Object]")return a;function ft(pt){const yt=Number(pt);return isNaN(yt)||pt.indexOf(".")!==-1||j.object?pt:yt}function dt(pt,yt,Tt){return Object.keys(Tt).reduce(function(St,At){return St[pt+_e+At]=Tt[At],St},yt)}function mt(pt){const yt=Object.prototype.toString.call(pt),Tt=yt==="[object Array]",St=yt==="[object Object]";if(pt){if(Tt)return!pt.length;if(St)return!Object.keys(pt).length}else return!0}return a=Object.keys(a).reduce(function(pt,yt){const Tt=Object.prototype.toString.call(a[yt]);return!(Tt==="[object Object]"||Tt==="[object Array]")||mt(a[yt])?(pt[yt]=a[yt],pt):dt(yt,pt,flatten$4(a[yt],j))},{}),Object.keys(a).forEach(function(pt){const yt=pt.split(_e).map(nt);let Tt=ft(yt.shift()),St=ft(yt[0]),At=tt;for(;St!==void 0;){if(Tt==="__proto__")return;const Ct=Object.prototype.toString.call(At[Tt]),Mt=Ct==="[object Object]"||Ct==="[object Array]";if(!et&&!Mt&&typeof At[Tt]<"u")return;(et&&!Mt||!et&&At[Tt]==null)&&(At[Tt]=typeof St=="number"&&!j.object?[]:{}),At=At[Tt],yt.length>0&&(Tt=ft(yt.shift()),St=ft(yt[0]))}At[Tt]=unflatten(a[pt],j)}),tt}const be=getDefaultExportFromCjs$1(flat);var ListCache$4=_ListCache;function stackClear$1(){this.__data__=new ListCache$4,this.size=0}var _stackClear=stackClear$1;function stackDelete$1(a){var j=this.__data__,_e=j.delete(a);return this.size=j.size,_e}var _stackDelete=stackDelete$1;function stackGet$1(a){return this.__data__.get(a)}var _stackGet=stackGet$1;function stackHas$1(a){return this.__data__.has(a)}var _stackHas=stackHas$1,ListCache$3=_ListCache,Map$4=_Map,MapCache$3=_MapCache,LARGE_ARRAY_SIZE$1=200;function stackSet$1(a,j){var _e=this.__data__;if(_e instanceof ListCache$3){var et=_e.__data__;if(!Map$4||et.length<LARGE_ARRAY_SIZE$1-1)return et.push([a,j]),this.size=++_e.size,this;_e=this.__data__=new MapCache$3(et)}return _e.set(a,j),this.size=_e.size,this}var _stackSet=stackSet$1,ListCache$2=_ListCache,stackClear=_stackClear,stackDelete=_stackDelete,stackGet=_stackGet,stackHas=_stackHas,stackSet=_stackSet;function Stack$4(a){var j=this.__data__=new ListCache$2(a);this.size=j.size}Stack$4.prototype.clear=stackClear;Stack$4.prototype.delete=stackDelete;Stack$4.prototype.get=stackGet;Stack$4.prototype.has=stackHas;Stack$4.prototype.set=stackSet;var _Stack=Stack$4,getNative$6=_getNative,defineProperty$4=function(){try{var a=getNative$6(Object,"defineProperty");return a({},"",{}),a}catch{}}(),_defineProperty$2=defineProperty$4,defineProperty$3=_defineProperty$2;function baseAssignValue$3(a,j,_e){j=="__proto__"&&defineProperty$3?defineProperty$3(a,j,{configurable:!0,enumerable:!0,value:_e,writable:!0}):a[j]=_e}var _baseAssignValue=baseAssignValue$3,baseAssignValue$2=_baseAssignValue,eq$8=eq_1$1;function assignMergeValue$2(a,j,_e){(_e!==void 0&&!eq$8(a[j],_e)||_e===void 0&&!(j in a))&&baseAssignValue$2(a,j,_e)}var _assignMergeValue=assignMergeValue$2;function createBaseFor$1(a){return function(j,_e,et){for(var nt=-1,tt=Object(j),ot=et(j),ft=ot.length;ft--;){var dt=ot[a?ft:++nt];if(_e(tt[dt],dt,tt)===!1)break}return j}}var _createBaseFor=createBaseFor$1,createBaseFor=_createBaseFor,baseFor$2=createBaseFor(),_baseFor=baseFor$2,_cloneBuffer={exports:{}};_cloneBuffer.exports;(function(a,j){var _e=_root,et=j&&!j.nodeType&&j,nt=et&&!0&&a&&!a.nodeType&&a,tt=nt&&nt.exports===et,ot=tt?_e.Buffer:void 0,ft=ot?ot.allocUnsafe:void 0;function dt(mt,pt){if(pt)return mt.slice();var yt=mt.length,Tt=ft?ft(yt):new mt.constructor(yt);return mt.copy(Tt),Tt}a.exports=dt})(_cloneBuffer,_cloneBuffer.exports);var _cloneBufferExports=_cloneBuffer.exports,root$8=_root,Uint8Array$3=root$8.Uint8Array,_Uint8Array=Uint8Array$3,Uint8Array$2=_Uint8Array;function cloneArrayBuffer$3(a){var j=new a.constructor(a.byteLength);return new Uint8Array$2(j).set(new Uint8Array$2(a)),j}var _cloneArrayBuffer=cloneArrayBuffer$3,cloneArrayBuffer$2=_cloneArrayBuffer;function cloneTypedArray$2(a,j){var _e=j?cloneArrayBuffer$2(a.buffer):a.buffer;return new a.constructor(_e,a.byteOffset,a.length)}var _cloneTypedArray=cloneTypedArray$2;function copyArray$2(a,j){var _e=-1,et=a.length;for(j||(j=Array(et));++_e<et;)j[_e]=a[_e];return j}var _copyArray=copyArray$2,isObject$k=isObject_1,objectCreate$1=Object.create,baseCreate$1=function(){function a(){}return function(j){if(!isObject$k(j))return{};if(objectCreate$1)return objectCreate$1(j);a.prototype=j;var _e=new a;return a.prototype=void 0,_e}}(),_baseCreate=baseCreate$1;function overArg$2(a,j){return function(_e){return a(j(_e))}}var _overArg=overArg$2,overArg$1=_overArg,getPrototype$3=overArg$1(Object.getPrototypeOf,Object),_getPrototype=getPrototype$3,objectProto$d=Object.prototype;function isPrototype$4(a){var j=a&&a.constructor,_e=typeof j=="function"&&j.prototype||objectProto$d;return a===_e}var _isPrototype=isPrototype$4,baseCreate=_baseCreate,getPrototype$2=_getPrototype,isPrototype$3=_isPrototype;function initCloneObject$2(a){return typeof a.constructor=="function"&&!isPrototype$3(a)?baseCreate(getPrototype$2(a)):{}}var _initCloneObject=initCloneObject$2,baseGetTag$6=_baseGetTag,isObjectLike$d=isObjectLike_1,argsTag$3="[object Arguments]";function baseIsArguments$1(a){return isObjectLike$d(a)&&baseGetTag$6(a)==argsTag$3}var _baseIsArguments=baseIsArguments$1,baseIsArguments=_baseIsArguments,isObjectLike$c=isObjectLike_1,objectProto$c=Object.prototype,hasOwnProperty$g=objectProto$c.hasOwnProperty,propertyIsEnumerable$1=objectProto$c.propertyIsEnumerable,isArguments$7=baseIsArguments(function(){return arguments}())?baseIsArguments:function(a){return isObjectLike$c(a)&&hasOwnProperty$g.call(a,"callee")&&!propertyIsEnumerable$1.call(a,"callee")},isArguments_1=isArguments$7,MAX_SAFE_INTEGER$4=9007199254740991;function isLength$3(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=MAX_SAFE_INTEGER$4}var isLength_1=isLength$3,isFunction$5=isFunction_1,isLength$2=isLength_1;function isArrayLike$7(a){return a!=null&&isLength$2(a.length)&&!isFunction$5(a)}var isArrayLike_1=isArrayLike$7,isArrayLike$6=isArrayLike_1,isObjectLike$b=isObjectLike_1;function isArrayLikeObject$3(a){return isObjectLike$b(a)&&isArrayLike$6(a)}var isArrayLikeObject_1=isArrayLikeObject$3,isBuffer$6={exports:{}};function stubFalse(){return!1}var stubFalse_1=stubFalse;isBuffer$6.exports;(function(a,j){var _e=_root,et=stubFalse_1,nt=j&&!j.nodeType&&j,tt=nt&&!0&&a&&!a.nodeType&&a,ot=tt&&tt.exports===nt,ft=ot?_e.Buffer:void 0,dt=ft?ft.isBuffer:void 0,mt=dt||et;a.exports=mt})(isBuffer$6,isBuffer$6.exports);var isBufferExports=isBuffer$6.exports,baseGetTag$5=_baseGetTag,getPrototype$1=_getPrototype,isObjectLike$a=isObjectLike_1,objectTag$4="[object Object]",funcProto$2=Function.prototype,objectProto$b=Object.prototype,funcToString$2=funcProto$2.toString,hasOwnProperty$f=objectProto$b.hasOwnProperty,objectCtorString=funcToString$2.call(Object);function isPlainObject$3(a){if(!isObjectLike$a(a)||baseGetTag$5(a)!=objectTag$4)return!1;var j=getPrototype$1(a);if(j===null)return!0;var _e=hasOwnProperty$f.call(j,"constructor")&&j.constructor;return typeof _e=="function"&&_e instanceof _e&&funcToString$2.call(_e)==objectCtorString}var isPlainObject_1=isPlainObject$3;const isPlainObject$4=getDefaultExportFromCjs$1(isPlainObject_1);var baseGetTag$4=_baseGetTag,isLength$1=isLength_1,isObjectLike$9=isObjectLike_1,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$4="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$3="[object Function]",mapTag$6="[object Map]",numberTag$4="[object Number]",objectTag$3="[object Object]",regexpTag$3="[object RegExp]",setTag$6="[object Set]",stringTag$4="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$4]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$3]=typedArrayTags[mapTag$6]=typedArrayTags[numberTag$4]=typedArrayTags[objectTag$3]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$6]=typedArrayTags[stringTag$4]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray$1(a){return isObjectLike$9(a)&&isLength$1(a.length)&&!!typedArrayTags[baseGetTag$4(a)]}var _baseIsTypedArray=baseIsTypedArray$1;function baseUnary$5(a){return function(j){return a(j)}}var _baseUnary=baseUnary$5,_nodeUtil={exports:{}};_nodeUtil.exports;(function(a,j){var _e=_freeGlobal,et=j&&!j.nodeType&&j,nt=et&&!0&&a&&!a.nodeType&&a,tt=nt&&nt.exports===et,ot=tt&&_e.process,ft=function(){try{var dt=nt&&nt.require&&nt.require("util").types;return dt||ot&&ot.binding&&ot.binding("util")}catch{}}();a.exports=ft})(_nodeUtil,_nodeUtil.exports);var _nodeUtilExports=_nodeUtil.exports,baseIsTypedArray=_baseIsTypedArray,baseUnary$4=_baseUnary,nodeUtil$2=_nodeUtilExports,nodeIsTypedArray=nodeUtil$2&&nodeUtil$2.isTypedArray,isTypedArray$6=nodeIsTypedArray?baseUnary$4(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$6;function safeGet$2(a,j){if(!(j==="constructor"&&typeof a[j]=="function")&&j!="__proto__")return a[j]}var _safeGet=safeGet$2,baseAssignValue$1=_baseAssignValue,eq$7=eq_1$1,objectProto$a=Object.prototype,hasOwnProperty$e=objectProto$a.hasOwnProperty;function assignValue$4(a,j,_e){var et=a[j];(!(hasOwnProperty$e.call(a,j)&&eq$7(et,_e))||_e===void 0&&!(j in a))&&baseAssignValue$1(a,j,_e)}var _assignValue=assignValue$4,assignValue$3=_assignValue,baseAssignValue=_baseAssignValue;function copyObject$6(a,j,_e,et){var nt=!_e;_e||(_e={});for(var tt=-1,ot=j.length;++tt<ot;){var ft=j[tt],dt=et?et(_e[ft],a[ft],ft,_e,a):void 0;dt===void 0&&(dt=a[ft]),nt?baseAssignValue(_e,ft,dt):assignValue$3(_e,ft,dt)}return _e}var _copyObject=copyObject$6;function baseTimes$1(a,j){for(var _e=-1,et=Array(a);++_e<a;)et[_e]=j(_e);return et}var _baseTimes=baseTimes$1,MAX_SAFE_INTEGER$3=9007199254740991,reIsUint$1=/^(?:0|[1-9]\d*)$/;function isIndex$5(a,j){var _e=typeof a;return j=j??MAX_SAFE_INTEGER$3,!!j&&(_e=="number"||_e!="symbol"&&reIsUint$1.test(a))&&a>-1&&a%1==0&&a<j}var _isIndex=isIndex$5,baseTimes=_baseTimes,isArguments$6=isArguments_1,isArray$g=isArray_1,isBuffer$5=isBufferExports,isIndex$4=_isIndex,isTypedArray$5=isTypedArray_1,objectProto$9=Object.prototype,hasOwnProperty$d=objectProto$9.hasOwnProperty;function arrayLikeKeys$2(a,j){var _e=isArray$g(a),et=!_e&&isArguments$6(a),nt=!_e&&!et&&isBuffer$5(a),tt=!_e&&!et&&!nt&&isTypedArray$5(a),ot=_e||et||nt||tt,ft=ot?baseTimes(a.length,String):[],dt=ft.length;for(var mt in a)(j||hasOwnProperty$d.call(a,mt))&&!(ot&&(mt=="length"||nt&&(mt=="offset"||mt=="parent")||tt&&(mt=="buffer"||mt=="byteLength"||mt=="byteOffset")||isIndex$4(mt,dt)))&&ft.push(mt);return ft}var _arrayLikeKeys=arrayLikeKeys$2;function nativeKeysIn$1(a){var j=[];if(a!=null)for(var _e in Object(a))j.push(_e);return j}var _nativeKeysIn=nativeKeysIn$1,isObject$j=isObject_1,isPrototype$2=_isPrototype,nativeKeysIn=_nativeKeysIn,objectProto$8=Object.prototype,hasOwnProperty$c=objectProto$8.hasOwnProperty;function baseKeysIn$1(a){if(!isObject$j(a))return nativeKeysIn(a);var j=isPrototype$2(a),_e=[];for(var et in a)et=="constructor"&&(j||!hasOwnProperty$c.call(a,et))||_e.push(et);return _e}var _baseKeysIn=baseKeysIn$1,arrayLikeKeys$1=_arrayLikeKeys,baseKeysIn=_baseKeysIn,isArrayLike$5=isArrayLike_1;function keysIn$5(a){return isArrayLike$5(a)?arrayLikeKeys$1(a,!0):baseKeysIn(a)}var keysIn_1=keysIn$5,copyObject$5=_copyObject,keysIn$4=keysIn_1;function toPlainObject$1(a){return copyObject$5(a,keysIn$4(a))}var toPlainObject_1=toPlainObject$1,assignMergeValue$1=_assignMergeValue,cloneBuffer$1=_cloneBufferExports,cloneTypedArray$1=_cloneTypedArray,copyArray$1=_copyArray,initCloneObject$1=_initCloneObject,isArguments$5=isArguments_1,isArray$f=isArray_1,isArrayLikeObject$2=isArrayLikeObject_1,isBuffer$4=isBufferExports,isFunction$4=isFunction_1,isObject$i=isObject_1,isPlainObject$2=isPlainObject_1,isTypedArray$4=isTypedArray_1,safeGet$1=_safeGet,toPlainObject=toPlainObject_1;function baseMergeDeep$1(a,j,_e,et,nt,tt,ot){var ft=safeGet$1(a,_e),dt=safeGet$1(j,_e),mt=ot.get(dt);if(mt){assignMergeValue$1(a,_e,mt);return}var pt=tt?tt(ft,dt,_e+"",a,j,ot):void 0,yt=pt===void 0;if(yt){var Tt=isArray$f(dt),St=!Tt&&isBuffer$4(dt),At=!Tt&&!St&&isTypedArray$4(dt);pt=dt,Tt||St||At?isArray$f(ft)?pt=ft:isArrayLikeObject$2(ft)?pt=copyArray$1(ft):St?(yt=!1,pt=cloneBuffer$1(dt,!0)):At?(yt=!1,pt=cloneTypedArray$1(dt,!0)):pt=[]:isPlainObject$2(dt)||isArguments$5(dt)?(pt=ft,isArguments$5(ft)?pt=toPlainObject(ft):(!isObject$i(ft)||isFunction$4(ft))&&(pt=initCloneObject$1(dt))):yt=!1}yt&&(ot.set(dt,pt),nt(pt,dt,et,tt,ot),ot.delete(dt)),assignMergeValue$1(a,_e,pt)}var _baseMergeDeep=baseMergeDeep$1,Stack$3=_Stack,assignMergeValue=_assignMergeValue,baseFor$1=_baseFor,baseMergeDeep=_baseMergeDeep,isObject$h=isObject_1,keysIn$3=keysIn_1,safeGet=_safeGet;function baseMerge$3(a,j,_e,et,nt){a!==j&&baseFor$1(j,function(tt,ot){if(nt||(nt=new Stack$3),isObject$h(tt))baseMergeDeep(a,j,ot,_e,baseMerge$3,et,nt);else{var ft=et?et(safeGet(a,ot),tt,ot+"",a,j,nt):void 0;ft===void 0&&(ft=tt),assignMergeValue(a,ot,ft)}},keysIn$3)}var _baseMerge=baseMerge$3;function identity$4(a){return a}var identity_1=identity$4;function apply$4(a,j,_e){switch(_e.length){case 0:return a.call(j);case 1:return a.call(j,_e[0]);case 2:return a.call(j,_e[0],_e[1]);case 3:return a.call(j,_e[0],_e[1],_e[2])}return a.apply(j,_e)}var _apply=apply$4,apply$3=_apply,nativeMax$1=Math.max;function overRest$2(a,j,_e){return j=nativeMax$1(j===void 0?a.length-1:j,0),function(){for(var et=arguments,nt=-1,tt=nativeMax$1(et.length-j,0),ot=Array(tt);++nt<tt;)ot[nt]=et[j+nt];nt=-1;for(var ft=Array(j+1);++nt<j;)ft[nt]=et[nt];return ft[j]=_e(ot),apply$3(a,this,ft)}}var _overRest=overRest$2;function constant$1(a){return function(){return a}}var constant_1=constant$1,constant=constant_1,defineProperty$2=_defineProperty$2,identity$3=identity_1,baseSetToString$1=defineProperty$2?function(a,j){return defineProperty$2(a,"toString",{configurable:!0,enumerable:!1,value:constant(j),writable:!0})}:identity$3,_baseSetToString=baseSetToString$1,HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut$1(a){var j=0,_e=0;return function(){var et=nativeNow(),nt=HOT_SPAN-(et-_e);if(_e=et,nt>0){if(++j>=HOT_COUNT)return arguments[0]}else j=0;return a.apply(void 0,arguments)}}var _shortOut=shortOut$1,baseSetToString=_baseSetToString,shortOut=_shortOut,setToString$2=shortOut(baseSetToString),_setToString=setToString$2,identity$2=identity_1,overRest$1=_overRest,setToString$1=_setToString;function baseRest$5(a,j){return setToString$1(overRest$1(a,j,identity$2),a+"")}var _baseRest=baseRest$5,eq$6=eq_1$1,isArrayLike$4=isArrayLike_1,isIndex$3=_isIndex,isObject$g=isObject_1;function isIterateeCall$2(a,j,_e){if(!isObject$g(_e))return!1;var et=typeof j;return(et=="number"?isArrayLike$4(_e)&&isIndex$3(j,_e.length):et=="string"&&j in _e)?eq$6(_e[j],a):!1}var _isIterateeCall=isIterateeCall$2,baseRest$4=_baseRest,isIterateeCall$1=_isIterateeCall;function createAssigner$2(a){return baseRest$4(function(j,_e){var et=-1,nt=_e.length,tt=nt>1?_e[nt-1]:void 0,ot=nt>2?_e[2]:void 0;for(tt=a.length>3&&typeof tt=="function"?(nt--,tt):void 0,ot&&isIterateeCall$1(_e[0],_e[1],ot)&&(tt=nt<3?void 0:tt,nt=1),j=Object(j);++et<nt;){var ft=_e[et];ft&&a(j,ft,et,tt)}return j})}var _createAssigner=createAssigner$2,baseMerge$2=_baseMerge,createAssigner$1=_createAssigner,merge$1=createAssigner$1(function(a,j,_e){baseMerge$2(a,j,_e)}),merge_1=merge$1;const merge$2=getDefaultExportFromCjs$1(merge_1),en$1={setup:{connect:{title:"Signature Required",scan:"Connect your DID Wallet to become the owner of this server",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},keyPair:{title:"Derived KeyPair Required",scan:"Connect your DID Wallet to generate a key-pair for this app",confirm:"Review this operation on your DID Wallet",success:"Your key pair is securely stored"},verify:{title:"Ownership Credential Required",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},accept:{title:"Accepting server require ownership certificates",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},title:"Setup Blocklet Server",steps:{eula:"End User License Agreement",eulaFooter:"I have read and agreed to the terms of the EULA",connect:"Connect Owner DID Wallet",verify:"Verify Ownership",basicSettings:"Basic Settings",launchApp:"Launch Application",complete:"Complete"},congratulation:"Congratulations! Your Blocklet Server is secure and ready to use",redirectButton:"Take me to dashboard!"},login:{loginTo:"Connect to",description:"Only server owner and approved members can access the dashboard",switchDid:{title:"Switch DID Wallet",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch DID Wallet",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect DID Wallet",scan:"Connect your DID Wallet to provide passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"}},acceptServer:{title:"Claim Server with Ownership NFT",tooltip:"If you received a server ownership nft, you can claim your owner passport with this link."},exchangePassport:{title:"Get Passport with NFT",success:"You have successfully get your passport and logged in with the passport",login:"Login",tooltip:"If you own NFT from collection {collections}, you can exchange your passport with this link.",dialog:{title:"Get Passport with NFT",scan:"Connect your DID Wallet to present your NFT to get a passport",confirm:"Select NFT on your DID Wallet",success:"Passport has been successfully exchanged"}},payablePassport:{title:"Purchase passport with payment",tooltip:"If you do not have a passport, you can purchase a passport with this link."},sidebar:{dashboard:"Dashboard",blocklets:"Blocklets",console:"Console",settings:"Settings"},system:{total:"Total",used:"Used",free:"Free",cores:"Number of cores",instances:"Number of instances"},common:{invalid:"Invalid",about:"About",access:"Access",change:"Change",upload:"Upload",accessKey:"Access Keys",action:"Action",actions:"Actions",add:"Add",address:"Address",afterTime:"After {time}",allow:"Allow",alreadyExist:"already exists",approve:"Approve",approved:"approved",appUrl:"APP Url",auditLogs:"Audit Trail",author:"Author",avatar:"Avatar",back:"Back",basic:"Basic",basicInfo:"Basic Information",profile:"Profile",bind:"Bind",blocklet:"Blocklet",blocklets:"Blocklets",blockletsStorage:"Blocklets Storage",cacheStorage:"Cache Storage",cancel:"Cancel",certificate:"certificate",category:"Log Topic",click:"Click to copy",close:"Close",collapseAll:"Collapse All",community:"Community",complete:"Complete",componentBasicInfo:"Component Basic Information",components:"Blocklets",config:"Configure",configuration:"Configuration",configNavigation:"Navigation",configSuccess:"Config successfully",confirm:"Confirm",connect:"Connect",console:"Console",continue:"Continue",continueWith:"Continue With",copiedTip:"Copied",copyAndClose:"Copy & Close",copyTip:"Click To Copy",coreStorage:"Core Storage",cpu:"CPU",create:"Create",createSuccess:"Create Access Key",created:"Created At",createdAt:"Created At",createdBy:"Created By",dAddress:"Decentralized Identifiers (DID)",dataStorage:"Storage on Local Disk",delConfirm:"Delete",delConfirmDescription:"Confirm delete {data}?",delete:"Delete",dependents:"Dependents",description:"Description",detail:"Detail",did:"DID",disk:"Disk",diskInfo:"Disk Info",docker:"IS Docker",documentation:"Documentation",domain:"Domain",downgradeTo:"Downgrade to",download:"Download",connectToStore:"Connect to Store",blockletStudio:"Studio",uploaded:"Uploaded",downloading:"Downloading",edit:"Edit",email:"Email",phone:"Phone",empty:"Empty",emptyData:"No results found",enable:"Enable",engine:"Engine",env:"Environment",environment:"Environment",expandAll:"Expand All",expired:"Expired",expires:"Expires",export:"Export",externalIp:"External IP",failed:"Failed",filter:"Log Filter",fingerprint:"Fingerprint",finish:"Finish",forbid:"Forbid",free:"Free",general:"General",gitpod:"IS Gitpod",goEULA:'Click to view "End User License Agreement"',group:"Group",image:"IS Image",install:"Install",installed:"Installed",installedAt:"Installed At",installSuccess:"Successfully installed",installing:"Installing",internalIp:"Internal IP",introduction:"Introduction",invite:"Invite",inviting:"Inviting",ip:"IP",isPublic:"Public",issue:"Issue",issuer:"Issuer",item:"Item",joined:"Joined",key:"Key",lastPublishedAt:"Published At",launcher:"Launcher Information",leavePageTip:"Are you sure to leave the page?",link:"Link",loading:"loading",log:"View Logs",logStorage:"Log Storage",login:"Login",logo:"Logo",logout:"Logout",logs:"Logs",manageTeam:"Manage Team",marketplace:"Marketplace",member:"Member",members:"Members",memory:"Memory",meta:"Meta Data",analytics:"Analytics",runtime:"Runtime",traffic:"Traffic",more:"More",mountPoint:"MountPoint",name:"Name",next:"Next",no:"No",noData:"No records to display",notice:"Unexpected bad things will happen if you don’t read this!",noticeTitle:"Notice",notification:"Notification",open:"Open",visitStore:"Visit Store",visitTarget:"Visit {name}",management:"Management",os:"Operating System",overview:"Overview",owner:"Owner",page404:"404 Page",passport:"Passport",permission:"Permission",port:"Port",pre:"Previous",preferences:"Preferences",preview:"Preview",protected:"Protected",protocol:"Protocol",purchase:"Purchase",reconnect:"Reconnect",disconnect:"Disconnect",readMore:"More",redirect:"Redirect",redirectCode:"Redirect Code",redirectPermanently:"Permanent Redirect",redirectTemporary:"Temporary Redirect",redirectUrl:"Redirect URL",rewrite:"Rewrite",release:"Release",rewriteUrl:"Rewrite URL",reject:"Reject",reload:"Reload",remark:"Remark",remove:"Remove",removeSuccess:"Remove successfully",renew:"Renew",reportIssue:"Report an issue",required:"Required",requiredErrorText:"{name} is required",resource:"Resource",restart:"Restart",restore:"Restore",retry:"Retry",revoke:"Revoke",role:"Role",running:"running",runtimeInfo:"Runtime Info",save:"Save",saveChanges:"Save Changes",saveSuccess:"Saved successfully",scheduleFailed:"schedule failed",scheduleSuccess:"successfully scheduled",scope:"Scope",screenshot:"Screenshot",search:"Search",security:"Security",serverDid:"Server DID",serverVersion:"Server Version",setting:"Settings",start:"Start",status:"Status",stop:"Stop",storage:"Storage",backup:"Backup",store:"Store",succeeded:"Succeeded",subscription:"Subscription",support:"Support",switch:"Switch",team:"Team",the:"The",timeAgo:"{time} ago",title:"Title",type:"Type",unavailable:"Unavailable",update:"Update",updateAvailable:"New version {version} available",updatedAt:"Updated At",updatedBy:"Updated By",upgrade:"Upgrade",upgradeTo:"Upgrade to",upgrading:"Upgrading",uptime:"Uptime",url:"URL",valid:"Valid",value:"Value",version:"Version",visit:"Visit",waiting:"Waiting",webhook:"Integrations",yes:"Yes",invalidParam:"Invalid Params",launch:"Launch",price:"Price",redirecting:"Redirecting",error:"Error",reminder:"Reminder",normal:"Normal",gateway:"Gateway",verifyNFT:"Verify NFT",errorMessage:"Error Message: ",slugifyHint:"The actual mount point will be: {value}",strategy:"Strategy",auto:"Auto",manual:"Manual",progress:"In progress",startTime:"Start time",endTime:"End time",selected:"Selected",timeoutError:"Timeout error",tags:"Tags",sourceApp:"Belong to App"},blocklet:{external:"External",notFound:"Blocklet not found on this server, maybe it has been deleted",installFromMarket:"Install New Blocklets",installFromUrl:"Install From Url",installFromCreate:"Create Blocklet",titleValidationError:"Title length must be between 3 and 20 characters",descriptionValidationError:"Description length must be between 3 and 80 characters",installFromDiskBackup:"Restore from this server",installedAt:"Installed At",internal:"Internal",startedAt:"Started At",stoppedAt:"Stopped At",urlEmptyTip:"No Access URL, ",goToAddRule:"Go To Add",services:"Exposed Services",upstreamPort:"Upstream Port",noService:"No Services",appId:"App DID",appPid:"Permanent DID",whyNeedAppPid:"If your application has been migrated, the permanent DID is the DID generated when this Blocklet was originally installed",alsoKnownAs:"Also Known As",skSource:"Owner Wallet",reloadSuccess:"Blocklet was reloaded successfully",statusTip:"Blocklet is {status}",initialUptime:"Less than 1m",dashboard:"Blocklet Dashboard",noComponent:"Application has no components and cannot be started",fromUrl:{title:"Install Blocklet",label:"Blocklet Meta URL",description:"The URL should point to the Meta File of the Blocklet. If you need to refer to a local file, please add the file:// prefix, e.g. file:///Users/foo/blocklet.json.",confirm:"Install",step0:"Input URL",step1:"Confirm Meta Info",existTipPrefix:"Blocklet with the same DID already exists, the version is",existTipSuffix:", Please install a higher version."},action:{stopDescription:"Stopping the blocklet will make its public interfaces unaccessible, which may cause end user failures",stopComponentDescription:"Stopping the component will make its public interfaces unaccessible, which may cause end user failures",confirmStop:"Yes, Stop It",cancelDownloadDescription:"Cancel download {name} ?",removeApplicationDescription:"Removing the application will erase code and data generated by this application, which is not recoverable if you do not have any backups",removeApplicationAfterBackup:"Backup and remove the application. You can restore the application from this server if you need",removeApplicationComplete:"Remove both code and data for this application",removeComponentDescription:"Removing the component will erase code and data generated by this component, which is not recoverable if you do not have any backups",removeComponentKeepData:"Keep data for this component, only remove code",removeComponentComplete:"Remove both code and data for this component",confirmRemove:"Yes, Remove It",confirmComponentRemove:"Yes, Remove It",upgradeDescription:"Upgrading the blocklet will make it temporarily unavailable, are you sure to continue?",confirmUpgrade:"Yes, Upgrade It",confirmRestart:"Yes, Restart It",restartDescription:"Restarting the blocklet will temporarily suspended and may not start because of a configuration change"},dev:{modeTip:"Please switch Blocklet Server to DEBUG mode"},index:{tableTitle:"Manage Your Blocklets",noBlocklet:"No blocklets found in this Blocklet Server, install a blocklet from market place to start."},admin:{iframeTitle:"Blocklet Admin Interface",title:"Admin Interface",noContent:"This blocklet does not have a admin interface",securityError:"SecurityError: Can not open the admin url from accessing a cross-origin frame"},config:{name:"App Name",description:"App Description",sk:"Secret key for the app wallet",logoSquare:"App Logo",logoRect:"Rect logo",logoRectDesc:"Usually displayed at the top of the page, default to app logo",logoFavicon:"Favicon",logoFaviconDesc:"Usually displayed in the browser's address bar or tab page, default to app logo",clusterSize:"Instance count when run this blocklet in cluster mode",copyrightOwner:"Copyright Owner (Display in footer)",copyrightYear:"Copyright Year (Display in footer)",deletable:{name:"Delete Protection",enable:"This blocklet can NOT currently be deleted",disable:"This blocklet can currently be deleted"},tenantMode:{name:"Multiple Tenant Mode",multiple:"This blocklet runs in multiple tenant mode, data should be isolated for each tenant",single:"This blocklet runs in single tenant mode, all data are shared"},walletType:{name:"Wallet Type",description:"Blocklet instance wallet type, will change the derived DID"},languages:"Supported Languages",selectLanguagesTip:"Adjust the order by removing and re-adding",languagesSearch:"Search by Country's Local Name, English Name, or ISO Code...",passportColor:"Passport Color",appUrl:"App URL",access:{title:"Who Can Access",description:"Who can access the blocklet",useDefault:"Use default",defaultDescription:"Use the application's default configuration",whoCanAccess:{all:{title:"Accessible to all",description:"Open to the world anyone can access without passport"},owner:{title:"Only me can access",description:"You must provide owner passport to access this application"},invited:{title:"Only invited people can access",description:"You can invite members later in the admin page"}},publicToStore:"Public On Store",publicInstanceTip:"The access address of this blocklet will be displayed in the Store (along with your DID for accepting donations)",updatedTip:"Access Control Modified"},changedTip:"Configuration updated, please restart Blocklet",missingRequired:"Missing required configuration to start the blocklet",gotoFix:"Go to fix",environment:{key:"Configuration key",value:"Configuration value",keyValueRequired:"Configuration key and value must be specified",invalidKey:"Configuration key must not start with BLOCKLET_ or COMPONENT_",deleteForbidden:"This configuration is required and should not be deleted",tip:"Configurations prefixed with BWA_ should not contain sensitive information because they will be sent to the browser"},dangerZone:"Danger Zone",blockletTypeChangeTip:"Wallet Type will be changed to <b>{value}</b>",appDidChangeTip:"This operation will change the DID of the application, which will lead to the following problems. Please confirm after careful evaluation:",appDidChangeTipL1:"The user's account connected to this application will change",appDidChangeTipL2:"The DID domain name of the application will change, and the original domain name will become invalid",appSkChangeTip:"You are changing application secret key",walletTypeTitle:"Update Wallet Type",appSkTitle:"Update Application Secret Key",sharedToAllComponents:"Will be shared to all components",session:{ttl:"Login session validity period (user will be asked to login again if they have no activity on this site for {day} days)",day:"{day} day",days:"{day} days"},clearCache:{name:"Cache Management",purpose:"Manage files cached in router and blocklet services",title:"Confirm Cache Clear?",action:"Clear Cache",success:"Successfully cleared {count} cache entries",description:"Are you sure you want to clear cached files in router and blocklet service? this operation may cause slight performance downgrade in the short term"}},overview:{source:"Source",deployedFrom:"Deployed From",accessControl:"Access Control",viewInStore:"View It In Store"},diskInfo:{empty:"Disk info not available now!",appDir:"App Directory",dataDir:"Data Directory",logDir:"Log Directory",cacheDir:"Cache Directory"},runtimeInfo:{noRunning:"Runtime information will be available when blocklet is running!",memoryUsage:"Memory Usage",cpuUsage:"CPU Usage",uptime:"Uptime",port:"Port",processId:"Process ID"},dist:{downloadLink:"Download Link",verify:"Verify"},status:{added:"Added",waiting:"Waiting",downloading:"Downloading",extracting:"Extracting",installing:"Installing",upgrading:"Upgrading",installed:"Installed",created:"Created",starting:"Starting",running:"Running",stopping:"Stopping",stopped:"Stopped",error:"Error",deleting:"Deleting",corrupted:"Corrupted",purchasing:"Waiting for purchase",purchased:"Purchased",verifying:"Verifying purchase",resource:"Resource"},list:{download:"Download",star:"Star"},component:{container:"Global Config",showContainer:"Show Global Config",didSpaceConfig:"Configure DID Spaces",didSpaceConfigTip:"Complete the following authorize process to store application data in DID Spaces",didSpaceConnected:"Storage being authorized to: {endpoint}",checkUpdateTitle:"Check for Updates",updateTitle:"Update Blocklets",noUpdate:"No Blocklets to update",add:"Add Blocklet",selectComponent:"Select Blocklet",selectRegistry:"Select Blocklet Store",selectRegistryTip:"You can switch blocklet store to see more components",selectInstance:"Select Instance",selectInstanceTip:"You can select an existing instance or create a new instance. Existing instances will use previously saved configuration and data",newInstance:"Create New Instance",noComponent:"No Blocklets",mountPoint:"What's the mount point?",mountPointTip:"If you set mount point to '/my-prefix', then all requests that begins with that mount point will be routed to the selected Blocklet",delete:"Delete Blocklet",deleteDescription:"This Blocklet will not be accessible after deletion. Confirm delete?",purchase:"Payment Required",tip:{stopBlocklet:"Please stop running Blocklet first",requiredBy:"The Blocklet is required by {name}"},choose:"Choose",upgrade:"Upgrade",addWithName:"Add Blocklet To {name}",relatedComponents:"Related Blocklets",required:"Required",noDependencies:"{name} doesn't have any dependencies",installed:"Installed",installingTip:"Installing component, please wait...",installingCanCloseWindowTip:"Installing component in the background, you can safely close this window",installSuccessTip:"Congratulations, the component was installed successfully!",missDownloadTokenTip:"Cannot add paid component without valid download token",purchaseComponentSecondCheckTip:"Please present your blocklet purchase NFT to continue",installComponentError:"There was an error installing the component, please retry again",downloadComponentError:"There was an error downloading the component, please retry again",addComponentTip:{introduction:"Welcome to the Add Component Wizard",isPurchase:"You need to Verify NFT before use <b>{name}</b> as a component;",belowInformation:"Below is the information for the component: ",verifyNFT:"Please select the Verify NFT method",config:"Please fill in the configuration of the component",environment:"Please fill in the environment of the component",fromUrl:"Add Blocklet From Url"},addNext:"Add {name}",upgradeNext:"Upgrade {name}",setting:"Settings"},router:{urlPath:"URL Path",noRunning:"The blocklet is not currently started. Unable to access through the following address!",securitySetting:"Security Setting",checkUrlAccessible:"Check the accessibility of the address",urlInaccessible:"It may be due to network reasons, the address is temporarily inaccessible",noAccessibleUrl:"No accessible URL",domainLockTooltip:"The system generated Domain cannot be edited.",urlLockTooltip:"The system generated URL Path cannot be edited.",showAllDomains:"Show all domains",showAllDIDs:"Show all DIDs",currentDomainTip:"You are accessing the current page through this domain"},export:{title:"Export Blocklet",name:"Bundle Name",nameTip:'e.g. "my-blocklet-name" or "@my-scope/blocklet-name"',result:"What's next",exportSource:"Export Source",success:"Blocklet successfully exported",resultTipStart:"With",resultTipEnd:"you can build and publish this blocklet within minutes",uploadedComponentTip:"Directly uploaded components cannot be exported:"},migrate:{title:"Migrate Application",scan:"Connect your DID Wallet to generate a key-pair for this application",confirm:"Review this operation on your DID Wallet",success:"Your application is successfully migrated, the page will be refreshed in {sec} seconds",intro:{l1:"Click here",l2:"to migrate your application to new version (changes are disabled before the migration completes)",l3:"1. The application DID will be fully controlled from your DID Wallet.",l4:"2. The application data will be migrated, and no further changes required.",l5:"3. The new application structure will give you more flexibly when change components.",l6:"4. Please do not change component mount points before component new version is out."},tip:{duplicate:"Find duplicate component {name}, please delete useless components and migrate again",running:"Please stop blocklet before migration"}},error:{isRunning:"Blocklet is running, please stop it first",isInProgress:"Blocklet is in progress, please wait for it to finish"},publish:{connectOrUpload:"Connect or Upload",projectSettings:"Project Settings",noStoreSelected:"Please select one of the existing stores or add a new store to continue",autoUploadTip:"Upload release to connected Blocklet Stores automatically after creation",possibleSameStoreTip:"Try resolving dependency blocklets to the same Blocklet Store before each uploading when possible",needProjectId:"Please create a project first",developerInfo:"Developer Information",branding:"Branding",brandingHelp:"More information about the blocklet will be displayed in the Store",download:"Download {name}",deleteStoreTip:"Are you sure you want to remove {name} from the connect Store list?",delete:"Delete {name}",copyInstallUrl:"Copy Install URL",installToThisServer:"Install to this server",createResource:"Create Resource",blockletStudio:"Blocklet Studio",tenantScope:"Tenant",addResource:"Add Blocklet",productTitle:"Product",versionTitle:"Versioning",imgTitle:"Images",resourceTitle:"Resources",resourceSelect:"Select resource from following blocklets",resourceUpload:"Upload resource from your disk (index.html is required in the archive)",blockletEmptyTip:"There aren’t any blocklets here",createBlockletTip:"You can create new blocklet through existing resources, components, and configuration in this application",createBlocklet:"New blocklet",reconnectStoreTip:"After reconnecting, a new developer will be bound. Are you sure you want to reconnect?",disconnectStoreTip:"After disconnecting, the blocklet will be removed from the store. Are you sure you want to disconnect?",componentNotRunning:"Blocklet {name} is not running, please start it first",allComponentsNotRunning:"Blocklets is not running, please start it first",releaseEmptyTip:"There aren't any releases here",resourceEmptyTip:"No available resources",viewLastRelease:"View last release",createReleaseTip:"You can create a release of the blocklet, along with release notes and resources, for other people to use",createRelease:"Create release",deleteReleaseTip:"The release cannot be recovered after deletion",createBlockletDid:"Create from DID Wallet",createReleaseSuccess:"Release created successfully",saveDraftSuccess:"Draft saved successfully",packTip:"Currently blocklets can be installed directly as applications. Components and application configurations will be automatically included in the Blocklet",resourceTip:"Currently, as a Resource Blocklet, it cannot be directly installed from the Store.",whyCantSeeInStore:"You need to publish the blocklet on connected store before you can see it in the store listing page",whyCantSeeResourceBlockletInStore:"Resource Blocklet are hidden from the store listing page by default",resourceChangedWarning:"You have modified the resource, please save it in time",install:"Install {name}",installResourceTip:"Install Url:",installResourceTip2:"If you want to see more tips, please visit",installResourceHelp:"Help Document",componentIncluded:"Included",componentForceRequired:"Required",steps:{branding:"Describe the basic information of your Blocklet. This information will be presented to users in the store.",introduction:"A clear introduction can effectively highlight your Blocklet. You can use Markdown syntax to write and preview it.",resources:"Please select the resources that need to be associated with the current Blocklet, as these resources will be installed along with the Blocklet.",blocklets:"Please select the Blocklets that need to be associated and installed when installing the current Blocklet.",version:"Set the release version and the change log."},connect:{title:"Create Blocklet DID",scan:"Scan the QR code below to generate Blocklet DID",confirm:"Confirm using DID Wallet",success:"Blocklet DID has been generated, please continue your operation"},deleteProject:{title:"Delete {name}",scan:"Scan the QR code below to delete {name}",confirm:"Confirm using DID Wallet",success:"Blocklet has been deleted, please continue your operation",description:"Are you sure you want to delete the Blocklet? Here are the issues you might encounter:",tip1:"The Blocklet cannot be recovered after deletion.",tip2:"You will no longer be able to publish new versions to the deleted Blocklet, which means that the Blocklet will not be updated in the Store anymore.",tip3:"Deleting the Blocklet will not affect its currently published version in the Store."},saveDraft:"Save Draft",releaseNote:"Release Note",errorTip:{noDid:"Blocklet DID is required",noFirstDid:"Please create Blocklet DID first",noTitle:"Blocklet Title is required",noVersion:"Blocklet Version is required",inValidVersion:"Invalid Blocklet Version",noResource:"Please select upload resource to be included in the blocklet",noDescription:"Blocklet Description is required",noNote:"Release Note is required"},uploadToStoreSuccess:"Blocklet upload to Store successfully, you need publish it in the Store",publishToStoreSuccess:"Blocklet published to Store successfully",connectStoreSuccess:"Blocklet Store connected successfully"}},dashboard:{nodeDid:"Node",ownerDid:"Owner",routingEngine:"Routing Engine",ownerNftURL:"Owner NFT",expirationLeft:"Expiration Left",startFromCrashTip:"Blocklet Server did not exit normally last time, please manually start the blocklets that needs to be run.",runtimeConfig:{blockletMaxMemoryLimit:"Blocklet Max Memory Limit",daemonMaxMemoryLimit:"Server Max Memory Limit",proxyMaxMemoryLimit:"Event Bus Max Memory Limit"}},store:{nameSort:"Name",popularSort:"Popularity",headerDescription:"Find and Install Your Blocklets",detail:{purchase:"Purchase {name}",open:"Open {name}",install:"Install {name}",upgrade:"Upgrade {name}",empty:"No introduction"},blockletRegistry:{changeFailed:"Change Blocklet Store Failed: ",addFailed:"Add Blocklet Store Failed: ",editFailed:"Edit Blocklet Store Failed: ",switchRegistry:"Switch Blocklet Store",addRegistry:"Add Blocklet Store",editRegistry:"Edit Blocklet Store",deleteRegistry:"Delete Blocklet Store",haveSameRegistry:"The same blocklet store exists",registryName:"Blocklet Store Name",registryUrl:"Blocklet Store URL",registryNameEmpty:"Blocklet Store name cannot be empty",registryUrlEmpty:"Blocklet store url cannot be empty",deleteDesc:'Confirm Delete blocklet store {name} ?<br/><span style="color: {color}">*After removing this blocklet store, you cannot update the apps installed from this blocklet store unless you add them again.</span>',confirmDesc:"Please input {name} to delete"},purchase:{title:"Purchase {name}",confirmed:"Your blocklet purchase NFT is verified",declined:"You do not provided valid the blocklet purchase NFT",waiting:"Waiting for purchase complete...",purchase:{title:"Purchase NFT",description:"Pay some token before installing this blocklet if you have not purchased this blocklet"},verify:{title:"Verify NFT",description:"Your NFT will be verified before installing this blocklet if you have purchased and hold the purchase NFT in your DID Wallet",auth:{title:"Purchase Credential Required",scan:"Connect DID Wallet to provide blocklet purchase NFT",confirm:"Review this operation on your DID Wallet",success:"Your purchase NFT is verified, and installing has started"}},auth:{title:"Purchase {name}",scan:"Scan following QRCode with your DID Wallet",confirm:"Confirm on your DID Wallet",success:"Purchase NFT sent to your DID Wallet"},launch:"Launch {name}",autoLaunch:"{name} successfully purchased, redirecting to launch page..."}},setting:{saveSuccess:"Settings Saved Successfully",unSavedTip:'There are unsaved changes, please click "Save Changes" to save them.',unSavedLeaveTip:"There are unsaved changes, are you sure to leave the page?",form:{name:"Name Your Server",nameRequired:"Server description is required",namePlaceholder:"Server Name",description:"Describe Your Server",descriptionHolder:"Server Description",descriptionRequired:"Server description is required",domain:"Your Server Domain Name",domainPlaceholder:"Server Domain Name",domainRequired:"Server domain is required",ipPlaceholder:"IP",ipRequired:"IP is required",registry:"Blocklet Store",registryPlaceholder:"Blocklet store to fetch blocklets",registryRequired:"Blocklet store is required ",registerUrl:"Blocklet Launcher URL",registerUrlPlaceholder:"Input the URL of your preferred Blocklet Launcher, you can use the official one safely",webWalletUrl:"DID Wallet URL",webWalletUrlPlaceholder:'Please input the URL of your hosted "DID Wallet", you can use the official one safely',nftDomainUrl:"NFT Domain URL",nftDomainUrlPlaceholder:'Please input the URL of your hosted "NFT Domain", you can use the official one safely',enableWelcomePage:"Enable welcome page",welcome:{switchLabel:"Welcome Page"},security:{switchLabel:"File System Isolation",switchTips:"After disabling this option, the file system of the Blocklet will no longer be in isolation, which may pose a risk of malicious software damaging the file system.",warningTips:"The file system isolation feature cannot take effect. Please upgrade the node.js version (current version is {version}) to v21.6.0 or higher."},docker:{switchLabel:"Blocklets run in containers",switchTips:"After enabling this option, all blocklets will be run in Docker containers, which can improve the server's overall security.",notInstalled:"Can not enable container mode because docker is not installed or the current user has insufficient permission to run docker",needCloseFileSystemIsolation:"File system isolation and docker container mode runtime cannot be enabled at the same time"},upgrade:{title:"Upgrade Blocklet Server to {version}",description:"During the upgrade, your Blocklet Server will enter maintenance mode for a few minutes while the update is completed.",dialog:'Click on "confirm" to install the update. Blocklet Server will enter maintenance mode until the update is completed and return to production mode automatically.',confirm:"Upgrade",switchLabel:"Auto Update Check",enableBetaRelease:"Enable Beta Release",setup:"Preparing the upgrade",installing:"Installing Blocklet Server v{version}",restarting:"Restarting Blocklet Server",cleanup:"Migrating Blocklet Server data",verifying:"Verifying Blocklet Server v{version}",rollback:"Rollback Blocklet Server",complete:"Upgrade complete!",progress:"Upgrading {name}",check:"Check for Updates",latest:"You are running the latest version."},restart:{title:"Restart Blocklet Server",description:"During the restarting, your Blocklet Server will enter maintenance mode while the restart is completed.",dialog:'Click on "confirm" to restart. Blocklet Server will enter maintenance mode until the restart is completed and return to production mode automatically.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting Blocklet Server",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting {name}"},register:{titleAdded:"Added to Blocklet Launcher",title:"Add to Blocklet Launcher",description:"Once added, you can launch blocklets to this blocklet server from {url}.",descriptionOnAdded:"you can launch blocklets to this blocklet server from {url}.",btn:"Add",update:"Update",added:"Added",addSucceed:"Add succeed",updateSucceed:"Update succeed",detecting:"Detecting",timeout:"Detection timeout, please check if the blocklet launcher is started"},monitor:{diskThreshold:"Send alert when disk usage exceeds (%)",diskThresholdPlaceholder:"Please set the disk usage alert threshold"}},accessKey:{accessKeyId:"ACCESS KEY",lastUsed:"Last Used At",tip:"Please enter a name for this access key for future reference:",saveSecretTip:"This is the only time that your Access Secret key can be viewed and cannot be recovered. However, you can create new access keys at any time",iKnow:"I have copied and saved the Access Secret",showSecret:"Show Secret Access Key",hideSecret:"Hide Secret",title:"Delete Access Key",descriptionNoTime:"This will permanently delete the access key {key} with name {name}, which is (never used before)",description:"This will permanently delete access key {key} with name {name}, which is (last used on {time}, {timeAge})",confirm_desc:"Please input {name} to delete",remark:"Access Key Name",remarkInvalid:"Access Key Name is required"},webhook:{add:"Add Integration",delTitle:"Delete Integration",requiredError:"Please provide a valid {type}",confirm_desc:"Please input {name} to delete",test:"Test",description:"This will permanently delete integration with ID {id}",columns:{description:"ID",params:"Params",createdAt:"createdAt"}}},notification:{title:"Activities",empty:"No activities yet",viewAll:"View All",showRead:"Show Read",markAllAsRead:"Mark All as Read",markAsRead:"Mark As Read",proceed:"Proceed",checkingForUpdates:"Checking for updates...",installComponentError:"Not found uninstalled component {name}",installingComponent:"Installing component {name}",pushKit:{enable:"Enable PushKit notification",endpoint:"PushKit endpoint",endpointInvalid:"PushKit endpoint is invalid URL",testSuccess:"Test PushKit send successfully",testFailed:"Test PushKit send failed",testReceiver:"PushKit receiver",testSend:"Test push-kit send",inputTestReceiver:"Please input test receiver did",receiverRequired:"PushKit receiver is required",pushPath:"Api path for push-kit (default /api/push)",did:"PushKit Blocklet DID",customOptions:"Custom Options"},email:{enable:"Enable email notification",from:"Email sender",host:"SMTP server host",port:"SMTP server port",user:"SMTP server username",secure:"Enable secure connection",password:"SMTP server user password",fromRequired:"Email sender is required",fromInvalid:"Email sender is invalid",receiverRequired:"Email receiver is required",receiverInvalid:"Email receiver is invalid",hostRequired:"SMTP server host is required",hostInvalid:"SMTP server host is invalid",portRequired:"SMTP server port is required",portInvalid:"SMTP server port is invalid, port should be between 1 and 65535",userRequired:"SMTP server username is required",passwordRequired:"SMTP server user password is required",testSuccess:"Test email send successfully",testFailed:"Test email send failed",testReceiver:"Email receiver",testSendEmail:"Test email send",inputTestReceiver:"Please input test receiver email",disable:"Unsubscribe email notification",disableDescription:"After unsubscribe, you will no longer receive email notifications. To receive email notifications, you can subscribe it again on this page.",unsubscribe:"Unsubscribe email notification",unsubscribeDescription:"After unsubscribe, you will no longer receive any email notifications.",subscribe:"subscribe",subscribeDescription:"To receive email notifications, you can subscribe it again on settings page."},comingSoon:"More notification channel are under construction",unsubscribe:"Unsubscribe",unsubscribeSucceed:"Unsubscribe succeeded",unsubscribeFailed:"Unsubscribe failed",unsubscribeTokenRequired:"Unsubscribe token in required",unsubscribeTokenExpired:"Unsubscribe token is expired",unsubscribeTokenInvalid:"Unsubscribe token is invalid"},router:{routerSetting:"Domains & URLs",certSetting:"SSL Certificates",defaultSite:"Default",urlHelperText:"URL that do not start with HTTP/HTTPS are considered relative paths",empty:"Click on Actions to setup URL Mapping",healthy:{ok:"Blocklet or service is running",error:"Blocklet or service is not running or not installed"},service:{select:"Select Blocklet Services (Optional)",what:"Blocklet Services are pipelines executed against the request before redirecting to upstream blocklet"},nonProvider:{title:"Engine Change Warning",description:"If you change engine to none, your current page may not work properly because the previous engine will be stopped, are you sure to continue?",confirm:"I understand, continue"},validation:{urlRequired:"URL is required",redirectCodeRequired:"Redirect code is required",didRequired:"Blocklet is required",pathPrefixTooLong:"The URL Prefix cannot exceed {length} characters",pathPrefixCannotBeEmpty:"The URL Prefix cannot be empty",domainRequired:"Server domain is required",invalidUrl:"Please provide a valid URL",pathPrefixRequired:"URL prefix is required",redirectUrlRequired:"Redirect URL is required",rewriteUrlRequired:"Rewrite URL is required"},domain:{addSite:"Add Site",validate:{emptyTip:"Site domain cannot be empty",suffixTip:"Site domain cannot include {suffix}"},add:{title:"Add Domain Name",description:"Please provide a valid domain name",confirm:"Add",cancel:"Cancel",blocklet:"Select Blocklet",redirect:"Where to redirect the traffic?",port:"What port does your request handler need to listen to?",portTip:"This defaults to the main port of request handler, you can customize this",type:"Traffic Handler",component:"Select Component",pageGroup:"Page Group",pageGroupTip:"This component can render any group of pages listed above, leave empty to render all pages"},update:{title:"Update Site Domain",label:"Site Domain",description:"Please provide a valid site domain"},setup:{tipStart:"Add the DNS records for the domain",tipEnd:"as per the following guidelines",recordType:"Record Type",recordValue:"Record Value"},verify:{ok:"The domain resolution is normal",notResolved:"This domain neither resolved nor accessible, please check your DNS configuration"},https:{ok:"This domain has https enabled",bad:"This domain has not enabled https"},delete:{title:"Delete Site",description:'By confirming, you will delete your existing "{name}" site. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your site',confirm_desc:"Please input {name} to confirm"}},domainAlias:{nftDomain:"Automatic config with DID Domain",showTipHint:"How do I configure domain name resolution?",add:{title:"Add Additional Domain",domainDescription:"Please provide a valid domain name",forceTip:"Force add if domain name already exists",helperText:"If an HTTP or HTTPS URL is entered, it will be automatically converted into a domain name.",isDidDomainError:"This domain is a DID Domain. Please add it using the method for automatic domain configuration."},addCustomDomain:{name:"Custom Domain"},addDomainNFT:{showNFT:"Configure domain automatically",tips:"You can enter a domain purchased from DID Domain. If a DID Domain is detected, you must present the DID Domain NFT to continue.",connect:{title:"Please show your Domain NFT",scan:"Scan following QR code with DID Wallet to authorize to blocklet to use your domain",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},buyTip:"DID Domain will do the domain name resolution automatically, no need to configure it manually, and the application will update the resolution record of the domain name automatically when needed. If your don't have DID Domain NFT yet, ",buy:"buy it now!"},delete:{title:"Delete",description:"After removing a domain alias, access to that alias may not be handled properly."}},domainSecurity:{title:"Domain Security",cors:{title:"Allowed CORS Domains",description:'Domain list that can send cross origin requests to {name}, comma separated, use "*" to allow anyone, which is not recommended',domainInvalid:"Please input a valid list of domain names"}},rule:{add:{title:"Add URL Mapping",confirm:"Add",pathPrefix:"What's the URL Prefix?",pathPrefixTip:"If you set prefix to '/my-prefix', then all requests that begins with that prefix will be routed to the configured blocklet",blocklet:"Which Blocklet will be handling those requests?",port:"Which port of the blocklet will be handling requests?",portTip:"This defaults to the main port of blocklet, if your blocklet listens on multiple ports, you can customize this",responseType:"Response Type",responseBody:"Response Content",responseBodyTip:"Paste your response content here, should not exceed 4096 characters",responseBodyRequired:"Response content can not be empty"},delete:{title:"Delete URL Mapping",description:'By confirming, you will delete your existing "{name}" URL Mapping. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your URL Mapping.',confirm_desc:"Please input {name} to delete",cancel:"Cancel"},update:{title:"Update URL Mapping",confirm:"Yes, Update",cancel:"Cancel"}},cert:{name:"Certificate Name",domain:"Domain Name",action:"Action",commonName:"Common Name",boundDomains:"Domains",source:"Source",expired:"Expired",leftDays:" days left",issuedOn:"Issued On",expiryOn:"Expiry On",fingerprintAlg:"Fingerprint Algorithm",validityPeriod:"Validity Period",matchedSites:"Matched Sites",upload:"Manual Upload",publicCertHelperText:"Public certificates can be downloaded",nonPublicCertHelperText:"Non-public certificates cannot be downloaded",protectedCertHelperText:"Protected certificates cannot be edited",unprotectedCertHelperText:"Unprotected certificates can be edited",issuing:"Certificate being generated",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"},table:{nodata:"No data"},delete:{title:"Delete Certificate",description:"Confirm delete certificate of domain {domain}? Deleting it may affect related services. Please confirm it's safe before proceeding with the deletion.",confirm:"Confirm"},nginx:{title:"Update Certificate",titleAdd:"Add Certificate",pem:"SSL Certificate File",pemTip:'Please drop your server certificate file here, it should ends with ".pem" or ".crt"',key:"Private Key File",keyTip:'Please drop your server private key file here, it should ends with ".pem" or ".key"',confirm:"Save",cancel:"Cancel",invalidFile:"You have selected an invalid file",empty:"No file selected yet",source:"Source",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"}},detail:{title:"Certificate Details"},genLetsEncryptCert:{title:"Generate Let's Encrypt certificate",dnsTip:"Please make sure the domain name has point to the current Blocklet Server.",description:"Adding a certificate will make the service more secure, and Blocklet Server will automatically renew the certificate before it expires."}},gateway:{reqLimit:{status:{true:"Enabled",false:"Disabled"},switchLabel:"Request Limit",rate:"Request Limit({rate} Request/Second)",ipHeaderLabel:"Customize client IP header(Optional)",ipHeaderDesc:"If the Blocklet Server is running behind some proxies, you can set the header of the client's real IP here. Optional, leave empty to use default."},cacheEnabled:{switchLabel:"Enable Gateway Cache"}}},noMatch:{desc:"We can't find the page that you're looking for"},health:{connectionErrorTip:"Blocklet Server can't connect to the network, please check if Blocklet Server has been stopped or there is a network issue",connectionRecoveryTip:"Blocklet Server connectivity has been recovered",connectionStoppedTip:"Blocklet Server has been stopped",wrongAccessUrlTip:"Blocklet Server access address is wrong, please use the correct access address"},debug:{title:"Your Blocklet Server is up and running!"},team:{add:"Add New",invite:{action:"Invite New",setting:"Invite Settings",enabled:"Allow any user to invite new user to this blocklet",disabled:"Only owner/admin can invite new user to this blocklet",inviter:"Invited By"},member:{name:"Name",passport:"Passport",passports:"Passports",lastLogin:"Last Login",lastLoginIp:"Last Login IP",openProfile:"View Profile",source:"Register Source",source_derived:"Derived from oauth",source_wallet:"DID Wallet",filter:"Filter by",forbidLogin:"Forbid Login",forbidLoginDescription:"The user will not be able to connect to this application",allowLogin:"Allow Login",allowLoginDescription:"The user will be able to connect to this application",updateRole:"Update Role",deleteUser:"Delete User",deleteUserDescription:'Confirm delete user "{name}"?',revokePassport:"Revoke Passport",revokePassportDescription:"Once the passport is revoked, the passport holder can not use it to login again, are you sure to continue?",enablePassport:"Enable Passport",enablePassportDescription:"Once the revoked passport is enabled again, the passport holder can use it to login again, are you sure to continue?",passportPermissionTitle:"The passport has the following permissions:",search:"Search Member",hideBlockedMember:"Hide Unapproved Members",inviteDialog:{createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},error:{passportEmpty:"Passport should not be empty"},connectedAccounts:"Connected Accounts",connections:"Connections",federated:"Federated",switch:{did:"Switch DID",profile:"Switch Profile",passport:"Switch Passport"},settings:{notification:"Notifications",email:"Send email to me when some events happen",wallet:"Send notification to my wallet when some events happen",phone:"Send text message to me when some events happen",webhook:"Webhooks",add:"Add new webhook",url:"Custom URL",slack:"Slack Webhook",tested:"Test message sent"},activeUserSessions:"Active User Sessions",forceLogout:"Force logout",forceLogoutDescription:"Confirm to force logout this user?"},transferNode:{name:"Transfer Ownership",inviteDialog:{title:"Transfer Blocklet Server",tips:{progress:"Transfer the server needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the server with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and Blocklets.",revoke:'If you want to withdraw the transfer invitation, you can delete the invitation link in the "Team -> Members -> Inviting" page.'},createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},delegateDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize server to transfer server ownership NFT.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"}},transferApp:{name:"Transfer Ownership",transferDialog:{title:"Transfer Application",tips:{progress:"Transfer the application needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the application with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and settings."},createTransferLink:"Generate Transfer Link",createSuccessTip1:'The transfer link is successfully created, the invitee must use <a style="color: rgb(29, 193, 199)" target="_blank" href="https://www.didwallet.io/">DID Wallet</a> to receive the app ownership',createSuccessTip2:"Please click to copy and send the link to the invited member, please note that this transfer link can not be reused and will expire on {expireDate}. Your transfer link will only be shown once and will not be viewable again after closing this dialog",createSuccessTip3:"After the transfer is successful, the application will automatically restart to make the changes take effect",link:"Transfer Link",iKnow:"I have copied and saved the link"},connectDialog:{title:"Authorize Required",scan:"Scan following QR code with DID Wallet to authorize application to transfer ownership.",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully"},receiveDialog:{title:"Receive Application Ownership",scan:"Scan following QR code with DID Wallet to receive the application ownership.",confirm:"Confirm on your DID Wallet",success:"Receive Ownership Successfully"},successTitle:"You have become the new owner of this application",visitDashboard:"Visit Application Dashboard"},permission:{create:{title:"Create Permission",description:`Format: <action>_<resource>
261
+ e.g. 'query_user', 'mutate_user'`},delete:{title:"Delete Permission",description:"Confirm delete {name}?"},error:{actionEmpty:"action cannot be empty",resourceEmpty:"resource cannot be empty",permissionTooLong:"permission cannot exceed {length} characters",descriptionTooLong:"description cannot exceed {length} characters"}},passport:{create:{title:"Create Passport",titleTip:"Title cannot be modified after created, recommended within 14 letters"},bind:{title:"Bind Permission",roleTip:"You will get all the permissions of the selected passport after binding",permissionTip:"You will get the selected permissions after binding",transferLeftTitle:"All permissions",transferRightTitle:"Granted permissions"},delete:{title:"Delete Passport",description:"The passports holds by user will lose all permissions after it is deleted. Are you sure to continue?"},error:{titleEmpty:"title cannot be empty",titleTooLong:"title cannot exceed {length} characters",descriptionEmpty:"description cannot be empty"},issuance:{pending:"Pending",create:{title:"Generate Link"},delete:{title:"Delete Receive Link",description:"Confirm delete {link}?"}},issue:"Issue Passport",disableIssuance:"Disable Passport Issuance",enableIssuance:"Enable Passport Issuance",disableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be disabled',enableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be enabled',trustedPassportIssuers:"Trusted Passport Issuers",trustedIssuers:"Trusted Issuers",trustedFactories:"Trusted NFT Collections",trustedFactoriesTip:"Manage trusted NFT Collections that can be used to exchange for a passport",searchFactoryAddress:"Search Collection DID",configFactories:"Config Trusted NFT Collections",configFactoriesTip:"Allow users to exchange NFTs for passport",factoryAddress:"NFT Collection Address",factory404:"NFT Collection not found",factoryAddressTip:"The NFT Collection address must exist on ArcBlock Main Chain",role:"Passport Type",ttl:"Passport Expire Policy",ttlNever:"Never Expire",ttlMint:"From NFT Purchase",ttlExchange:"From Passport Exchange",ttlNeverTip:"The passport will be valid until revoked",ttlMintTip:"The passport will be valid from the time the NFT is purchased until you specified ttl or revoke",ttlExchangeTip:"The passport will be valid from the time user successfully exchanged until you specified ttl or revoke",ttlTip:'"365d" means 365 days, you can also use "30 days" or "24h"',validUntil:"Valid until: {date}",externalPassport:"External Passport",notTrustedIssuerTip:"The passport cannot be used because the issuer is not on the list of trusted issuers",issuerDid:"Issuer DID",addNodeToTrustedIssuers:"Add current server as a trusted passport issuer",revoked:"Revoked",noPermission:"No permission to perform this operation",shouldNotDeleteCurrent:"You can not revoke your passport currently in use",mappingRule:"Mapping rule",defaultRule:"Default rule",search:"Search Passport",searchIssuerDid:"Search Issuer DID",issueBy:"Issue by {name}",configColor:"Config Passport Color",configColorTip:"Customize the color of the passport",color:"Passport Color",description:"Use this passport to connect {teamName} as {title}"},inviting:{link:"Invite Link",inviter:"Inviter",delete:{title:"Delete Invite Link",description:"Confirm delete {link}?"},disabledTip:"Invitation is not enabled"},whoCanAccess:{all:{title:"Accessible to all"},owner:{title:"Owner only"},invited:{title:"Invited user only"}}},launcher:{provider:"Provider",adminUrl:"URL"},session:{forbidLogin:"You have been blocked from access this server"},launchBlocklet:{appInfo:"Application Information",appInfoDesc:"Confirm the application information",author:"Application Author: {author}",setup:"Setup Blocklet",redirect:"Redirect",alreadyRunning:"Application {name} is already running on this Blocklet Server",alreadyInstalled:"Application {name} is already installed on this Blocklet Server",alreadyExists:"This application already exists, redirecting...",purchased:"Already Purchased",purchase:"Purchase",nextStep:"Next Step",agreement:"License Agreement",agreeAll:"Agree & Continue",installing:"Installing {appName} on {serverName}, it may take minutes to complete, please stay tuned...",redirecting:"{appName} is successfully installed, now starting...",start:"Launching",launch:"Install Blocklet to Server",launchSuccess:"{appName} is successfully launched!",installSuccess:"Blocklet is successfully installed and launched on {serverName}",openInRegistry:"View in Blocklet Store",subTitle:"Ready to install Blocklet {appName} on {serverName}",installingSubTitle:"{appName} installing",access:"Open the application",installRelatedComponents:"Install related Blocklets",viewApplication:"View Application",newVersion:"New Version",newVersionDesc:"The application already exists, but the current version can be upgraded",upgradeNow:"Upgrade Now",later:"Later",introduction:"Introduction",welcome:"Welcome to the Blocklet Launch Wizard",accept:"I agree to the Blocklet EULA",license:"Application License",next:"Agree to the EULA and continue",purchaseApp:"Purchase Blocklet",setupAppDesc:"Initialize your Blocklet",launched:"Complete",confirmInstall:"Confirm Installation",dialog:{title:"Become App Owner",nftFreeDescription:"Please present app space NFT and create app account to continue",nftPaidDescription:"Please present app space NFT and app purchase NFT to continue",freeDescription:"Please create app account to continue",paidDescription:"Please present app purchase NFT and create app account to continue",confirm:"Confirm on your DID Wallet",success:"Authorization Successfully",authorizationTimeout:"Authorization timeout"},waiting:{verifying:"Verifying app meta...",downloading:"Downloading app bundle...",downloadingComponent:"Downloading {name}",extractingComponent:"Extracting {name}",extracting:"Extracting app bundle...",installing:"Installing app components...",installed:"Installed",starting:"Starting the app...",done:"Waiting for app ready..."},error:{loadMetaFailed:"Load app information failed",appMetaNotFound:"No information found for this app",downloadFailed:"Failed to download the app, please try again",installFailed:"Failed to install the app, please try again",startFailed:"Failed to start the app, please try again",launchFailed:"Failed to launch the app, please try again",installedButStopped:"The app is installed successfully, but cannot be started. You can start it manually after resolving blocking issues",installedButError:"The app is successfully installed, but failed to start",restoreFailed:"Failed to restore app, please try again",resourceBlocklet:"This blocklet cannot be launched directly, but you can add it into existing application."},steps:{introduction:"Introduction",installApp:"Install Application",purchaseSpace:"Purchase Space",prepareSpace:"Prepare Space"}},issuePassport:{title:"Receive Passport",description:"Use DID Wallet to receive the passport issued by {name}",dialog:{scan:"Use your DID Wallet to claim the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet",loginWithPassport:"Connect with this Passport",autoClose:"Page will auto close in {seconds}s",autoJump:"Page will auto jump in {seconds}s"}},lostPassport:{title:"Lost Passport",description:"The owner of {name} can scan the QR code to retrieve the passport, members please contact the owner to reissue the passport",dialog:{title:"Recover Passport",scan:"Use your DID Wallet to recover the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet"},return:"Connect with passport",selectPassport:"Select passport",receivePassport:"Receive passport"},invite:{message:"{name} invite you to be the {role} of {dapp}",success:"You have successfully joined {dapp}",receive:"Receive with",validUntil:"Valid until:",viewPermission:"View Permission",emptyPermission:"Empty Permission",open:"Open",description:{step1:"Download and setup your {wallet}",step2:"Click above button to receive passport",step3:"Login in {dapp} with received passport"},transferNFTDialog:{title:"Accept Blocklet Server {name}",scan:"Connect the Launcher to complete the reception of the Blocklet Server.",confirm:"Review this operation on your DID Wallet",success:"Connect successfully, waiting for confirmation of receiving the Server"}},receive:{dialog:{title:"Use your DID Wallet to receive passport",scan:"Connect your DID Wallet to receive passport",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"}},navigation:{navigation:"Navigation",access:"Access",members:"Members",passport:"Passport",analytics:"Analytics",dashboard:"Dashboard",studio:"Studio",blockletService:"Blocklet Service",actionFailed:"Action Failed",form:{title:"Title",titlePlaceholder:"Please input navigation title",titleTooLong:"Title length should small than {len}",icon:"Navigation Icon",iconPlaceholder:"Please input navigation icon",invalidIcon:"Icon is invalid",findMoreIcon:"Find more icons",link:"Link",linkPlaceholder:"Please input navigation link",invalidLink:"Link is invalid",component:"Component",componentPlaceholder:"Please select navigation component",role:"Role",rolePlaceholder:"Please select navigation role",locale:"Locale",localePlaceholder:"Please input locale need to add",localeExists:"{value} is already exists"},action:{add:"Add navigation",addSub:"Add sub navigation",edit:"Edit navigation",hide:"Hide navigation",show:"Show navigation",del:"Delete navigation",new:"New",noAddSub:"Uninstalled component can't add sub navigation",noEdit:"Uninstalled component can't edit",noDel:"Not allowed delete built-in navigation",reset:"Reset",restConfirmTitle:"Do you want to clear all custom navigation?",restConfirmDesc:"After clearing, the navigation will be restored to Blocklet's original default configuration.",resetSuccessful:"Reset successful"}},storage:{spaces:{tips:"Tips",label:"Enter DID Spaces Gateway",connected:{title:"Connected DID Spaces",tag:"Connected"},connectedWithName:"You have successfully connected to {name}",addedWithName:"You have successfully added {name}",connects:"Connect",reconnect:"Reconnect",addressCannotEmpty:"Address cannot be empty",addressNotValid:"{url} is not a valid address",authorize:{title:"Connect {appName} to DID Spaces",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} to connect to DID Spaces",success:"Connected successfully"},provideNFT:{title:"Please show the DID Spaces NFT for {appName}",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} show DID space NFT",success:"Connected successfully"},backup:{title:"Backup",records:"Backup Records"},autoBackup:{title:"Auto backup",enabled:"Automatic backup is on",disabled:"Automatic backup is off"},autoCheckUpdate:{title:"Automatically check for new version notification",enabled:"Automatically check for new version is on",disabled:"Automatically check for new version is off"},backupSuccessfully:"Backup successfully",restore:"Restore",restoreSuccessfully:"Restore successfully",gateway:{title:"Gateway",select:"Select a DID Spaces",add:{title:"Add DID Spaces",label:"Enter the url of the DID Spaces",failed:"Add DID Spaces failed",invalidUrl:"Invalid DID Spaces gateway url",duplicate:"DID Space({name}) already exist"},delete:{title:"Delete gateway",succeeded:"Delete DID Spaces{name} Success",failed:"Delete gateway failed",failedForSelected:"Unable to delete a selected DID Spaces"},connect:{title:"Connect DID Spaces",add:"Connect to DID Spaces now",addTips:"You are not connected to any Space yet",switch:"Switch DID Spaces",switchTips:"You are connected to {name}",connected:"Connected"},switch:{failedForMismatchSpace:"Please connect to the correct Space{name}"},connectTo:"Connect to DID Spaces"},strategy:{title:"Backup Strategy",autoBackup:"Auto backup",backupNow:"Backup now",viewBackupFiles:"View backup files"},progress:{title:"Backup progress"},record:{title:"Backup records",emptyData:"No records"},notYet:"You don't have a backup in progress yet...",connect:{now:"Connect now",title:"Connect DID Spaces",provider:"Provide your DID Spaces to start backups",providerForStorage:"Please connect your DID Spaces",useWallet:"Connect with DID Wallet",useWalletReconnect:"Reconnect with DID Wallet",useSpaceGateway:"Connect using the DID Spaces gateway",useSpaceGatewayReconnect:"Reconnect using the DID Spaces gateway",switchToSpace:"Switch to Space",switchToSpaceSucceeded:"Switched to Space{name}",succeeded:"You have successfully connected to DID Spaces",disconnect:"disconnect"},disconnected:{tag:"Disconnected",reconnectNow:"Reconnect Now"}}},log:{lastDays:{1:"Last 1 Day",7:"Last 1 Week"}},oauth:{commonSettings:"Common Settings",save:"Save",saveSuccess:"Save successfully",saveFailed:"Save failed",issued:"Issued",thirdPartyLogin:"Third party login",alreadyBindOAuth:"Already bind third party login",alreadyBindWallet:"Already bind DID Wallet",auth0:{enable:"Enable Auth0 login",domain:"Domain",domainDescription:"Auth0's domain is required",clientId:"Client ID",clientIdDescription:"Auth0 OAuth application client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Auth0 OAuth application Client Secret is required"},github:{enable:"Enable Github login",clientId:"Client ID",clientIdDescription:"Github OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Github OAuth application Client Secret is required"},google:{enable:"Enable Google login",clientId:"Client ID",clientIdDescription:"Google OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Google OAuth application Client Secret is required"},apple:{enable:"Enable Apple login",teamId:"Team ID",teamIdDescription:"Apple OAuth application Team ID is required",serviceId:"Service ID",serviceIdDescription:"Apple OAuth application Service ID is required",keyId:"Key ID",keyIdDescription:"Apple OAuth application Key ID is required",authKey:"Auth Key",authKeyDescription:"Apple OAuth application Auth Key is required",bundleId:"Bundle ID",bundleIdDescription:"Apple OAuth application Bundle ID is required"},comingSoon:"More login methods are under construction",moreLogin:"More Login",federated:"Federated Login",oauth:"Third Party Login",runTest:"Test"},expiration:{mobile:{tips:{success:"{validity}",warning:"{validity}",error:"Expired"},loadFailed:"Retry!"},desktop:{tips:{success:"Subscription will expire after {validity}",warning:"Subscription will expire after {validity}",error:"Subscription Expired"},loading:"Load subscription...",loadFailed:"Failed to load subscription info, please retry!",nextInvoice:"Next Invoice: {date}"}},analytics:{trend:"Trends",detail:"Breakdown",traffic:{totalRequests:"Total Requests",validRequests:"Success Requests",failedRequests:"Failed Requests",uniqueVisitors:"Unique Visitors",uniqueFiles:"Unique URLs",uniqueReferrers:"Unique Referrers",uniqueNotFound:"Unique 404",uniqueStaticFiles:"Unique Static Files",logSize:"Log Size",bandwidth:"Bandwidth"}},federated:{inviteJoinFederatedLogin:"Invite to join federated login",inviteJoinFederatedLoginDescription:"Copy the following address and fill it in the application where you need to join to apply for federated login.",federatedLogin:"Federated login",joinFederatedLogin:"Join federated login",joinFederatedLoginDescription:"Please enter the federated login address provided by Master Blocklet to join the federated login",quitFederatedLogin:"Quit federated login",quitFederatedLoginDescription:"After quit federated login, normal login is always available",federatedJoinAppUrl:"Federated login join appUrl",federatedJoinAppUrlRequired:"Please input federated login join appUrl",failedToGetFederatedLoginAppUrl:"Failed to get federated login join appUrl",federatedJoinAppUrlInvalid:"Federated login appUrl is invalid",siteDetail:"Site detail",approveToJoinLogin:"Approve to join federated login",approve:"Enable login",revoke:"Disable login",enableFederatedLogin:"Enable federated login",disableFederatedLogin:"Disable federated login",enableFederatedLoginDescription:"After enable federated login, this site will be auto login",disableFederatedLoginDescription:"After disable federated login, this site will not be auto login",enableFederatedAutoLogin:"Enable automatic login",enableFederatedAutoLoginDescription:"After enable automatic login, if there is currently a unified login status, the site will automatically log in the identity of the federated login",disableFederatedAutoLogin:"Disable automatic login",disableFederatedAutoLoginDescription:"After the automatic login is turned off, the site will not automatically log in the user information of the unified login, and you can still choose to manually click to log in with the identity of the federated login",info:{appId:"APP DID",appPid:"Permanent ID",migratedFrom:"Also Known As",appName:"Blocklet name",appDescription:"Blocklet description",appUrl:"Blocklet url",appLogo:"Blocklet logo",did:"Blocklet DID",serverId:"Blocklet Server ID",serverVersion:"Blocklet Server version",version:"Blocklet version",appliedAt:"Apply at",status:"Status"},status:{pending:"Pending",approved:"Approved",rejected:"Rejected",revoked:"Revoked"},disbandFederatedLogin:"Disband federated login",disbandFederatedLoginDescription:"After disband federated login, all member site will quit federated login automatically"},optionsOrder:{1:"Option One",2:"Option Two"}},en={pageTitle:{login:"Login",dashboard:"Blocklet Dashboard",userCenter:"User Center",invite:"Invite",issuePassport:"Issue Passport",lostPassort:"Lost Passport"},auth:{noPermission:{title:"No Permission",description:"You are not the administrator of the blocklet"}},login:{reLogin:"Reconnect",description:"You must connect your DID Wallet to access {name}",already:"You are connected as",connectWallet:"Connect DID Wallet",closeWindow:"Close window",switchDid:{title:"Switch DID Wallet",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch DID Wallet",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect DID Wallet",scan:"Connect your DID Wallet to access this application",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"},accessLimit:{title:"Page access restricted ",description:"This page requires the following passports to access, please connect to the wallet to change or apply for the corresponding pass.",alreadyHavePassport:"Already have the passport",connectWithPassport:"Connect with this passport",buyPassport:"buyPassport"},connectWithPassport:"Connect with this passport",needManualClose:"Login success, if this window is not auto closed, please close it.",invalidRedirectUrl:"Invalid redirect url"},studio:{home:"Studio",preferences:"Preference Builder",localization:"Localization"},blocklet:{startApplication:"Start Application",startDescription:"Ready to start {name}",start:"Start",starting:"Starting...",open:"Open",suspended:"Application suspended",terminated:"Application terminated",suspendedCausedByExpired:"This application has been suspended due to payment expiration. Please renew before the {deadline} to resume. Failure to renew within the specified timeframe will result in the inability to renew or resume.",suspendedCausedByTerminated:"The application was terminated due to the cancellation of the subscription, which was canceled on {canceledAt}, and the data will be retained until {deadline}; before the data is deleted, you can back up the data to DID Spaces.",manageSubscription:"Manage Subscription"},setup:{steps:{connect:"Connect",didSpace:"DID Spaces",config:"Configuration",domain:"Domain",access:"Access Control",fuel:"Fuel",complete:"Complete",introduction:"Introduction",selectNodeDesc:"Select Blocklet Server",launchAppDesc:"Install Blocklet to Server",setupAppDesc:"Setup Blocklet",launched:"Complete"},connect:{title:"Connect to Application",scan:"Connect your DID Wallet to provide user profile and the blocklet's Owner privileges, then you can configure and launch the app.",confirm:"Confirm on your DID Wallet",success:"You are connected successfully"},domain:{addTitle:"Add a new domain name (Optional)",title:"Domain Setting",subTitle:"Set a custom domain for the application",label:"Please provide a valid domain name",tipStart:"Please make sure",tipEnd:"has point to the current Server",cannotResolve:"{domain} can not be resolved, please check your DNS configuration",checkingResolvable:"Checking domain status...",addingCert:"Generating certificate...",addingDomain:"Adding domain...",recordType:"Record Type",recordValue:"Record Value",skipStart:"You can",skip:"skip custom domain setting",skipEnd:"and use the default domain to access the application",genCertSuccess:"The {domain} certificate is issued successfully",genCertFailed:"Failed to issue certificate for {domain}: {message}",genCertFailedForNFTDomain:"Added NFT domain successfully, but failed to generate HTTPS certificate, please try again later",resolvedAddressError:"{domain} does not point to the same IP address as {curDomain}",invalidDNSReminder:"{error}. However, you can continue to add the domain, but automatic certificate generation is not available.",continueAdd:"Continue Adding"},didSpace:{title:"Configure DID Spaces",subTitle:"Complete the following connection process to store application data in DID Spaces",tips:"Tips",description:"Configure the DID Spaces instance address and store the application data in DID Spaces after a successful connection",label:"Please select the DID Spaces service",connected:"You have successfully connected to DID Spaces",connect:"Connect Now",reconnect:"Reconnect",addressCannotEmpty:"Address cannot be empty",addressNotValid:"{url} is not a valid address",authorize:{title:"Connect {appName} to DID Spaces",scan:"Use your DID Wallet to scan the QR code below to allow the app {appName} to connect to DID Spaces",success:"Connected successfully"}},config:{title:"Configuration",subTitle:"Other configuration items (you will also need to set the following items)"},complete:{title:"Everything is Ready",failedTitle:"Failed to start Blocklet",backToServer:"Back to Blocklet Server",notRunning:"Blocklet failed to start on the first shot, please retry"},fuel:{title:"Fuel required to start",tipStart:"slot",tipEnd:" is required for this application to work properly, the fund are saved in the application wallet and can consumed for transaction gas purpose. You can withdraw your balance at any time when you no longer have the app running.",addressTitle:"Application Account",addressTip:"Fuel the application with DID Wallet",need:"Need",current:"Current",fuelApp:"Fuel the application"},title:"Setup",next:"Next",previous:"Previous",continue:"Continue",skip:"Skip",startNow:"Start Now",confirm:"Confirm",cancel:"Cancel"},user:{walletNotification:"DID Wallet notification",emailNotification:"Email notification",smsNotification:"SMS notification",addWebhook:"Add New Webhook"}},translations$9={en:be(merge$2(en$1,en)),ar:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ar-BSACs5SN.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ar-lTVP4T3d.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},de:async()=>{const a=await Promise.all([__vitePreload(()=>import("./de-9vHBMa7b.js"),[]).then(j=>j.default),__vitePreload(()=>import("./de-B3TxaybY.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},es:async()=>{const a=await Promise.all([__vitePreload(()=>import("./es-Bk9E9Gbf.js"),[]).then(j=>j.default),__vitePreload(()=>import("./es-BY0KMFme.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},fr:async()=>{const a=await Promise.all([__vitePreload(()=>import("./fr-C5fh5fdm.js"),[]).then(j=>j.default),__vitePreload(()=>import("./fr-BiVZLeXU.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},hi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./hi-HiGtGtUs.js"),[]).then(j=>j.default),__vitePreload(()=>import("./hi-B_LrkIOS.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},id:async()=>{const a=await Promise.all([__vitePreload(()=>import("./id-CirrqXGd.js"),[]).then(j=>j.default),__vitePreload(()=>import("./id-jBXPD1he.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},ja:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ja-BOs7uPqI.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ja-DKiHQ6DE.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},ko:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ko-D1G4UvNg.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ko-BBYyf1yM.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},pt:async()=>{const a=await Promise.all([__vitePreload(()=>import("./pt-CcFeyma6.js"),[]).then(j=>j.default),__vitePreload(()=>import("./pt-DI2MIkSi.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},ru:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ru-OymXgLUI.js"),[]).then(j=>j.default),__vitePreload(()=>import("./ru-B2L3CRQ4.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},th:async()=>{const a=await Promise.all([__vitePreload(()=>import("./th-CZbdb5PZ.js"),[]).then(j=>j.default),__vitePreload(()=>import("./th-CfNBHHtU.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},vi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./vi-DhjQx2Z1.js"),[]).then(j=>j.default),__vitePreload(()=>import("./vi-DbzhnofW.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},zh:async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-jGK5FFL0.js"),[]).then(j=>j.default),__vitePreload(()=>import("./zh-FO0C29Rb.js"),[]).then(j=>j.default)]);return be(merge$2(...a))},"zh-TW":async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-tw-DnmwTx49.js"),[]).then(j=>j.default),__vitePreload(()=>import("./zh-tw-cyWwf75a.js"),[]).then(j=>j.default)]);return be(merge$2(...a))}};function arrayEach$1(a,j){for(var _e=-1,et=a==null?0:a.length;++_e<et&&j(a[_e],_e,a)!==!1;);return a}var _arrayEach=arrayEach$1,overArg=_overArg,nativeKeys$1=overArg(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype$1=_isPrototype,nativeKeys=_nativeKeys,objectProto$7=Object.prototype,hasOwnProperty$b=objectProto$7.hasOwnProperty;function baseKeys$2(a){if(!isPrototype$1(a))return nativeKeys(a);var j=[];for(var _e in Object(a))hasOwnProperty$b.call(a,_e)&&_e!="constructor"&&j.push(_e);return j}var _baseKeys=baseKeys$2,arrayLikeKeys=_arrayLikeKeys,baseKeys$1=_baseKeys,isArrayLike$3=isArrayLike_1;function keys$6(a){return isArrayLike$3(a)?arrayLikeKeys(a):baseKeys$1(a)}var keys_1=keys$6,copyObject$4=_copyObject,keys$5=keys_1;function baseAssign$1(a,j){return a&&copyObject$4(j,keys$5(j),a)}var _baseAssign=baseAssign$1,copyObject$3=_copyObject,keysIn$2=keysIn_1;function baseAssignIn$1(a,j){return a&&copyObject$3(j,keysIn$2(j),a)}var _baseAssignIn=baseAssignIn$1;function arrayFilter$1(a,j){for(var _e=-1,et=a==null?0:a.length,nt=0,tt=[];++_e<et;){var ot=a[_e];j(ot,_e,a)&&(tt[nt++]=ot)}return tt}var _arrayFilter=arrayFilter$1;function stubArray$2(){return[]}var stubArray_1=stubArray$2,arrayFilter=_arrayFilter,stubArray$1=stubArray_1,objectProto$6=Object.prototype,propertyIsEnumerable=objectProto$6.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols$3=nativeGetSymbols$1?function(a){return a==null?[]:(a=Object(a),arrayFilter(nativeGetSymbols$1(a),function(j){return propertyIsEnumerable.call(a,j)}))}:stubArray$1,_getSymbols=getSymbols$3,copyObject$2=_copyObject,getSymbols$2=_getSymbols;function copySymbols$1(a,j){return copyObject$2(a,getSymbols$2(a),j)}var _copySymbols=copySymbols$1;function arrayPush$3(a,j){for(var _e=-1,et=j.length,nt=a.length;++_e<et;)a[nt+_e]=j[_e];return a}var _arrayPush=arrayPush$3,arrayPush$2=_arrayPush,getPrototype=_getPrototype,getSymbols$1=_getSymbols,stubArray=stubArray_1,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn$2=nativeGetSymbols?function(a){for(var j=[];a;)arrayPush$2(j,getSymbols$1(a)),a=getPrototype(a);return j}:stubArray,_getSymbolsIn=getSymbolsIn$2,copyObject$1=_copyObject,getSymbolsIn$1=_getSymbolsIn;function copySymbolsIn$1(a,j){return copyObject$1(a,getSymbolsIn$1(a),j)}var _copySymbolsIn=copySymbolsIn$1,arrayPush$1=_arrayPush,isArray$e=isArray_1;function baseGetAllKeys$2(a,j,_e){var et=j(a);return isArray$e(a)?et:arrayPush$1(et,_e(a))}var _baseGetAllKeys=baseGetAllKeys$2,baseGetAllKeys$1=_baseGetAllKeys,getSymbols=_getSymbols,keys$4=keys_1;function getAllKeys$2(a){return baseGetAllKeys$1(a,keys$4,getSymbols)}var _getAllKeys=getAllKeys$2,baseGetAllKeys=_baseGetAllKeys,getSymbolsIn=_getSymbolsIn,keysIn$1=keysIn_1;function getAllKeysIn$3(a){return baseGetAllKeys(a,keysIn$1,getSymbolsIn)}var _getAllKeysIn=getAllKeysIn$3,getNative$5=_getNative,root$7=_root,DataView$2=getNative$5(root$7,"DataView"),_DataView=DataView$2,getNative$4=_getNative,root$6=_root,Promise$2=getNative$4(root$6,"Promise"),_Promise=Promise$2,getNative$3=_getNative,root$5=_root,Set$3=getNative$3(root$5,"Set"),_Set=Set$3,getNative$2=_getNative,root$4=_root,WeakMap$4=getNative$2(root$4,"WeakMap"),_WeakMap=WeakMap$4,DataView$1=_DataView,Map$3=_Map,Promise$1=_Promise,Set$2=_Set,WeakMap$3=_WeakMap,baseGetTag$3=_baseGetTag,toSource$2=_toSource,mapTag$5="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$5="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource$2(DataView$1),mapCtorString=toSource$2(Map$3),promiseCtorString=toSource$2(Promise$1),setCtorString=toSource$2(Set$2),weakMapCtorString=toSource$2(WeakMap$3),getTag$5=baseGetTag$3;(DataView$1&&getTag$5(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$3||Map$3&&getTag$5(new Map$3)!=mapTag$5||Promise$1&&getTag$5(Promise$1.resolve())!=promiseTag||Set$2&&getTag$5(new Set$2)!=setTag$5||WeakMap$3&&getTag$5(new WeakMap$3)!=weakMapTag$1)&&(getTag$5=function(a){var j=baseGetTag$3(a),_e=j==objectTag$2?a.constructor:void 0,et=_e?toSource$2(_e):"";if(et)switch(et){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$5;case promiseCtorString:return promiseTag;case setCtorString:return setTag$5;case weakMapCtorString:return weakMapTag$1}return j});var _getTag=getTag$5,objectProto$5=Object.prototype,hasOwnProperty$a=objectProto$5.hasOwnProperty;function initCloneArray$1(a){var j=a.length,_e=new a.constructor(j);return j&&typeof a[0]=="string"&&hasOwnProperty$a.call(a,"index")&&(_e.index=a.index,_e.input=a.input),_e}var _initCloneArray=initCloneArray$1,cloneArrayBuffer$1=_cloneArrayBuffer;function cloneDataView$1(a,j){var _e=j?cloneArrayBuffer$1(a.buffer):a.buffer;return new a.constructor(_e,a.byteOffset,a.byteLength)}var _cloneDataView=cloneDataView$1,reFlags=/\w*$/;function cloneRegExp$1(a){var j=new a.constructor(a.source,reFlags.exec(a));return j.lastIndex=a.lastIndex,j}var _cloneRegExp=cloneRegExp$1,Symbol$6=_Symbol,symbolProto$3=Symbol$6?Symbol$6.prototype:void 0,symbolValueOf$1=symbolProto$3?symbolProto$3.valueOf:void 0;function cloneSymbol$1(a){return symbolValueOf$1?Object(symbolValueOf$1.call(a)):{}}var _cloneSymbol=cloneSymbol$1,cloneArrayBuffer=_cloneArrayBuffer,cloneDataView=_cloneDataView,cloneRegExp=_cloneRegExp,cloneSymbol=_cloneSymbol,cloneTypedArray=_cloneTypedArray,boolTag$3="[object Boolean]",dateTag$2="[object Date]",mapTag$4="[object Map]",numberTag$3="[object Number]",regexpTag$2="[object RegExp]",setTag$4="[object Set]",stringTag$3="[object String]",symbolTag$4="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag$1(a,j,_e){var et=a.constructor;switch(j){case arrayBufferTag$2:return cloneArrayBuffer(a);case boolTag$3:case dateTag$2:return new et(+a);case dataViewTag$2:return cloneDataView(a,_e);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(a,_e);case mapTag$4:return new et;case numberTag$3:case stringTag$3:return new et(a);case regexpTag$2:return cloneRegExp(a);case setTag$4:return new et;case symbolTag$4:return cloneSymbol(a)}}var _initCloneByTag=initCloneByTag$1,getTag$4=_getTag,isObjectLike$8=isObjectLike_1,mapTag$3="[object Map]";function baseIsMap$1(a){return isObjectLike$8(a)&&getTag$4(a)==mapTag$3}var _baseIsMap=baseIsMap$1,baseIsMap=_baseIsMap,baseUnary$3=_baseUnary,nodeUtil$1=_nodeUtilExports,nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap$1=nodeIsMap?baseUnary$3(nodeIsMap):baseIsMap,isMap_1=isMap$1,getTag$3=_getTag,isObjectLike$7=isObjectLike_1,setTag$3="[object Set]";function baseIsSet$1(a){return isObjectLike$7(a)&&getTag$3(a)==setTag$3}var _baseIsSet=baseIsSet$1,baseIsSet=_baseIsSet,baseUnary$2=_baseUnary,nodeUtil=_nodeUtilExports,nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet$1=nodeIsSet?baseUnary$2(nodeIsSet):baseIsSet,isSet_1=isSet$1,Stack$2=_Stack,arrayEach=_arrayEach,assignValue$2=_assignValue,baseAssign=_baseAssign,baseAssignIn=_baseAssignIn,cloneBuffer=_cloneBufferExports,copyArray=_copyArray,copySymbols=_copySymbols,copySymbolsIn=_copySymbolsIn,getAllKeys$1=_getAllKeys,getAllKeysIn$2=_getAllKeysIn,getTag$2=_getTag,initCloneArray=_initCloneArray,initCloneByTag=_initCloneByTag,initCloneObject=_initCloneObject,isArray$d=isArray_1,isBuffer$3=isBufferExports,isMap=isMap_1,isObject$f=isObject_1,isSet=isSet_1,keys$3=keys_1,keysIn=keysIn_1,CLONE_DEEP_FLAG$2=1,CLONE_FLAT_FLAG$1=2,CLONE_SYMBOLS_FLAG$2=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$2="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag$2="[object Function]",genTag$2="[object GeneratorFunction]",mapTag$2="[object Map]",numberTag$2="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$2="[object Set]",stringTag$2="[object String]",symbolTag$3="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$2]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$2]=cloneableTags[numberTag$2]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$2]=cloneableTags[stringTag$2]=cloneableTags[symbolTag$3]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag$2]=cloneableTags[weakMapTag]=!1;function baseClone$2(a,j,_e,et,nt,tt){var ot,ft=j&CLONE_DEEP_FLAG$2,dt=j&CLONE_FLAT_FLAG$1,mt=j&CLONE_SYMBOLS_FLAG$2;if(_e&&(ot=nt?_e(a,et,nt,tt):_e(a)),ot!==void 0)return ot;if(!isObject$f(a))return a;var pt=isArray$d(a);if(pt){if(ot=initCloneArray(a),!ft)return copyArray(a,ot)}else{var yt=getTag$2(a),Tt=yt==funcTag$2||yt==genTag$2;if(isBuffer$3(a))return cloneBuffer(a,ft);if(yt==objectTag$1||yt==argsTag$1||Tt&&!nt){if(ot=dt||Tt?{}:initCloneObject(a),!ft)return dt?copySymbolsIn(a,baseAssignIn(ot,a)):copySymbols(a,baseAssign(ot,a))}else{if(!cloneableTags[yt])return nt?a:{};ot=initCloneByTag(a,yt,ft)}}tt||(tt=new Stack$2);var St=tt.get(a);if(St)return St;tt.set(a,ot),isSet(a)?a.forEach(function(Mt){ot.add(baseClone$2(Mt,j,_e,Mt,a,tt))}):isMap(a)&&a.forEach(function(Mt,kt){ot.set(kt,baseClone$2(Mt,j,_e,kt,a,tt))});var At=mt?dt?getAllKeysIn$2:getAllKeys$1:dt?keysIn:keys$3,Ct=pt?void 0:At(a);return arrayEach(Ct||a,function(Mt,kt){Ct&&(kt=Mt,Mt=a[kt]),assignValue$2(ot,kt,baseClone$2(Mt,j,_e,kt,a,tt))}),ot}var _baseClone=baseClone$2;function last$2(a){var j=a==null?0:a.length;return j?a[j-1]:void 0}var last_1=last$2,baseGet$4=_baseGet,baseSlice=_baseSlice;function parent$1(a,j){return j.length<2?a:baseGet$4(a,baseSlice(j,0,-1))}var _parent=parent$1,castPath$6=_castPath,last$1=last_1,parent=_parent,toKey$6=_toKey;function baseUnset$1(a,j){return j=castPath$6(j,a),a=parent(a,j),a==null||delete a[toKey$6(last$1(j))]}var _baseUnset=baseUnset$1,isPlainObject$1=isPlainObject_1;function customOmitClone$1(a){return isPlainObject$1(a)?void 0:a}var _customOmitClone=customOmitClone$1,Symbol$5=_Symbol,isArguments$4=isArguments_1,isArray$c=isArray_1,spreadableSymbol=Symbol$5?Symbol$5.isConcatSpreadable:void 0;function isFlattenable$1(a){return isArray$c(a)||isArguments$4(a)||!!(spreadableSymbol&&a&&a[spreadableSymbol])}var _isFlattenable=isFlattenable$1,arrayPush=_arrayPush,isFlattenable=_isFlattenable;function baseFlatten$3(a,j,_e,et,nt){var tt=-1,ot=a.length;for(_e||(_e=isFlattenable),nt||(nt=[]);++tt<ot;){var ft=a[tt];j>0&&_e(ft)?j>1?baseFlatten$3(ft,j-1,_e,et,nt):arrayPush(nt,ft):et||(nt[nt.length]=ft)}return nt}var _baseFlatten=baseFlatten$3,baseFlatten$2=_baseFlatten;function flatten$2(a){var j=a==null?0:a.length;return j?baseFlatten$2(a,1):[]}var flatten_1=flatten$2;const flatten$3=getDefaultExportFromCjs$1(flatten_1);var flatten$1=flatten_1,overRest=_overRest,setToString=_setToString;function flatRest$2(a){return setToString(overRest(a,void 0,flatten$1),a+"")}var _flatRest=flatRest$2,arrayMap$4=_arrayMap,baseClone$1=_baseClone,baseUnset=_baseUnset,castPath$5=_castPath,copyObject=_copyObject,customOmitClone=_customOmitClone,flatRest$1=_flatRest,getAllKeysIn$1=_getAllKeysIn,CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,omit=flatRest$1(function(a,j){var _e={};if(a==null)return _e;var et=!1;j=arrayMap$4(j,function(tt){return tt=castPath$5(tt,a),et||(et=tt.length>1),tt}),copyObject(a,getAllKeysIn$1(a),_e),et&&(_e=baseClone$1(_e,CLONE_DEEP_FLAG$1|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG$1,customOmitClone));for(var nt=j.length;nt--;)baseUnset(_e,j[nt]);return _e}),omit_1=omit;const omit$1=getDefaultExportFromCjs$1(omit_1);var assignValue$1=_assignValue,castPath$4=_castPath,isIndex$2=_isIndex,isObject$e=isObject_1,toKey$5=_toKey;function baseSet$2(a,j,_e,et){if(!isObject$e(a))return a;j=castPath$4(j,a);for(var nt=-1,tt=j.length,ot=tt-1,ft=a;ft!=null&&++nt<tt;){var dt=toKey$5(j[nt]),mt=_e;if(dt==="__proto__"||dt==="constructor"||dt==="prototype")return a;if(nt!=ot){var pt=ft[dt];mt=et?et(pt,dt,ft):void 0,mt===void 0&&(mt=isObject$e(pt)?pt:isIndex$2(j[nt+1])?[]:{})}assignValue$1(ft,dt,mt),ft=ft[dt]}return a}var _baseSet=baseSet$2,baseGet$3=_baseGet,baseSet$1=_baseSet,castPath$3=_castPath;function basePickBy$2(a,j,_e){for(var et=-1,nt=j.length,tt={};++et<nt;){var ot=j[et],ft=baseGet$3(a,ot);_e(ft,ot)&&baseSet$1(tt,castPath$3(ot,a),ft)}return tt}var _basePickBy=basePickBy$2;function baseHasIn$1(a,j){return a!=null&&j in Object(a)}var _baseHasIn=baseHasIn$1,castPath$2=_castPath,isArguments$3=isArguments_1,isArray$b=isArray_1,isIndex$1=_isIndex,isLength=isLength_1,toKey$4=_toKey;function hasPath$1(a,j,_e){j=castPath$2(j,a);for(var et=-1,nt=j.length,tt=!1;++et<nt;){var ot=toKey$4(j[et]);if(!(tt=a!=null&&_e(a,ot)))break;a=a[ot]}return tt||++et!=nt?tt:(nt=a==null?0:a.length,!!nt&&isLength(nt)&&isIndex$1(ot,nt)&&(isArray$b(a)||isArguments$3(a)))}var _hasPath=hasPath$1,baseHasIn=_baseHasIn,hasPath=_hasPath;function hasIn$2(a,j){return a!=null&&hasPath(a,j,baseHasIn)}var hasIn_1=hasIn$2,basePickBy$1=_basePickBy,hasIn$1=hasIn_1;function basePick$1(a,j){return basePickBy$1(a,j,function(_e,et){return hasIn$1(a,et)})}var _basePick=basePick$1,basePick=_basePick,flatRest=_flatRest,pick$1=flatRest(function(a,j){return a==null?{}:basePick(a,j)}),pick_1$1=pick$1;const pick$2=getDefaultExportFromCjs$1(pick_1$1);var baseClone=_baseClone,CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(a){return baseClone(a,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var cloneDeep_1=cloneDeep;const cloneDeep$1=getDefaultExportFromCjs$1(cloneDeep_1);function isUndefined$1(a){return a===void 0}var isUndefined_1=isUndefined$1;const isUndefined$2=getDefaultExportFromCjs$1(isUndefined_1);var baseMerge$1=_baseMerge,isObject$d=isObject_1;function customDefaultsMerge$1(a,j,_e,et,nt,tt){return isObject$d(a)&&isObject$d(j)&&(tt.set(j,a),baseMerge$1(a,j,void 0,customDefaultsMerge$1,tt),tt.delete(j)),a}var _customDefaultsMerge=customDefaultsMerge$1,baseMerge=_baseMerge,createAssigner=_createAssigner,mergeWith$1=createAssigner(function(a,j,_e,et){baseMerge(a,j,_e,et)}),mergeWith_1=mergeWith$1,apply$2=_apply,baseRest$3=_baseRest,customDefaultsMerge=_customDefaultsMerge,mergeWith=mergeWith_1,defaultsDeep=baseRest$3(function(a){return a.push(void 0,customDefaultsMerge),apply$2(mergeWith,void 0,a)}),defaultsDeep_1=defaultsDeep;const defaultsDeep$1=getDefaultExportFromCjs$1(defaultsDeep_1);var eventemitter3$1={exports:{}};(function(a){var j=Object.prototype.hasOwnProperty,_e="~";function et(){}Object.create&&(et.prototype=Object.create(null),new et().__proto__||(_e=!1));function nt(dt,mt,pt){this.fn=dt,this.context=mt,this.once=pt||!1}function tt(dt,mt,pt,yt,Tt){if(typeof pt!="function")throw new TypeError("The listener must be a function");var St=new nt(pt,yt||dt,Tt),At=_e?_e+mt:mt;return dt._events[At]?dt._events[At].fn?dt._events[At]=[dt._events[At],St]:dt._events[At].push(St):(dt._events[At]=St,dt._eventsCount++),dt}function ot(dt,mt){--dt._eventsCount===0?dt._events=new et:delete dt._events[mt]}function ft(){this._events=new et,this._eventsCount=0}ft.prototype.eventNames=function(){var mt=[],pt,yt;if(this._eventsCount===0)return mt;for(yt in pt=this._events)j.call(pt,yt)&&mt.push(_e?yt.slice(1):yt);return Object.getOwnPropertySymbols?mt.concat(Object.getOwnPropertySymbols(pt)):mt},ft.prototype.listeners=function(mt){var pt=_e?_e+mt:mt,yt=this._events[pt];if(!yt)return[];if(yt.fn)return[yt.fn];for(var Tt=0,St=yt.length,At=new Array(St);Tt<St;Tt++)At[Tt]=yt[Tt].fn;return At},ft.prototype.listenerCount=function(mt){var pt=_e?_e+mt:mt,yt=this._events[pt];return yt?yt.fn?1:yt.length:0},ft.prototype.emit=function(mt,pt,yt,Tt,St,At){var Ct=_e?_e+mt:mt;if(!this._events[Ct])return!1;var Mt=this._events[Ct],kt=arguments.length,Pt,Lt;if(Mt.fn){switch(Mt.once&&this.removeListener(mt,Mt.fn,void 0,!0),kt){case 1:return Mt.fn.call(Mt.context),!0;case 2:return Mt.fn.call(Mt.context,pt),!0;case 3:return Mt.fn.call(Mt.context,pt,yt),!0;case 4:return Mt.fn.call(Mt.context,pt,yt,Tt),!0;case 5:return Mt.fn.call(Mt.context,pt,yt,Tt,St),!0;case 6:return Mt.fn.call(Mt.context,pt,yt,Tt,St,At),!0}for(Lt=1,Pt=new Array(kt-1);Lt<kt;Lt++)Pt[Lt-1]=arguments[Lt];Mt.fn.apply(Mt.context,Pt)}else{var Ft=Mt.length,Yt;for(Lt=0;Lt<Ft;Lt++)switch(Mt[Lt].once&&this.removeListener(mt,Mt[Lt].fn,void 0,!0),kt){case 1:Mt[Lt].fn.call(Mt[Lt].context);break;case 2:Mt[Lt].fn.call(Mt[Lt].context,pt);break;case 3:Mt[Lt].fn.call(Mt[Lt].context,pt,yt);break;case 4:Mt[Lt].fn.call(Mt[Lt].context,pt,yt,Tt);break;default:if(!Pt)for(Yt=1,Pt=new Array(kt-1);Yt<kt;Yt++)Pt[Yt-1]=arguments[Yt];Mt[Lt].fn.apply(Mt[Lt].context,Pt)}}return!0},ft.prototype.on=function(mt,pt,yt){return tt(this,mt,pt,yt,!1)},ft.prototype.once=function(mt,pt,yt){return tt(this,mt,pt,yt,!0)},ft.prototype.removeListener=function(mt,pt,yt,Tt){var St=_e?_e+mt:mt;if(!this._events[St])return this;if(!pt)return ot(this,St),this;var At=this._events[St];if(At.fn)At.fn===pt&&(!Tt||At.once)&&(!yt||At.context===yt)&&ot(this,St);else{for(var Ct=0,Mt=[],kt=At.length;Ct<kt;Ct++)(At[Ct].fn!==pt||Tt&&!At[Ct].once||yt&&At[Ct].context!==yt)&&Mt.push(At[Ct]);Mt.length?this._events[St]=Mt.length===1?Mt[0]:Mt:ot(this,St)}return this},ft.prototype.removeAllListeners=function(mt){var pt;return mt?(pt=_e?_e+mt:mt,this._events[pt]&&ot(this,pt)):(this._events=new et,this._eventsCount=0),this},ft.prototype.off=ft.prototype.removeListener,ft.prototype.addListener=ft.prototype.on,ft.prefixed=_e,ft.EventEmitter=ft,a.exports=ft})(eventemitter3$1);var eventemitter3Exports$1=eventemitter3$1.exports;const EventEmitter$6=getDefaultExportFromCjs$1(eventemitter3Exports$1);var pWaitFor$2={exports:{}},pTimeout$3={exports:{}};class TimeoutError extends Error{constructor(j){super(j),this.name="TimeoutError"}}const pTimeout$1=(a,j,_e,et)=>{let nt;const tt=new Promise((ot,ft)=>{if(typeof j!="number"||j<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(j===1/0){ot(a);return}et={customTimers:{setTimeout,clearTimeout},...et},nt=et.customTimers.setTimeout.call(void 0,()=>{if(typeof _e=="function"){try{ot(_e())}catch(pt){ft(pt)}return}const dt=typeof _e=="string"?_e:`Promise timed out after ${j} milliseconds`,mt=_e instanceof Error?_e:new TimeoutError(dt);typeof a.cancel=="function"&&a.cancel(),ft(mt)},j),(async()=>{try{ot(await a)}catch(dt){ft(dt)}finally{et.customTimers.clearTimeout.call(void 0,nt)}})()});return tt.clear=()=>{clearTimeout(nt),nt=void 0},tt};pTimeout$3.exports=pTimeout$1;pTimeout$3.exports.default=pTimeout$1;var TimeoutError_1=pTimeout$3.exports.TimeoutError=TimeoutError,pTimeoutExports=pTimeout$3.exports;const pTimeout$2=getDefaultExportFromCjs$1(pTimeoutExports),pTimeout=pTimeoutExports,pWaitFor=async(a,j)=>{j={interval:20,timeout:1/0,leadingCheck:!0,...j};let _e;const et=new Promise((nt,tt)=>{const ot=async()=>{try{const ft=await a();if(typeof ft!="boolean")throw new TypeError("Expected condition to return a boolean");ft===!0?nt():_e=setTimeout(ot,j.interval)}catch(ft){tt(ft)}};j.leadingCheck?ot():_e=setTimeout(ot,j.interval)});if(j.timeout!==1/0)try{return await pTimeout(et,j.timeout)}catch(nt){throw _e&&clearTimeout(_e),nt}return et};pWaitFor$2.exports=pWaitFor;pWaitFor$2.exports.default=pWaitFor;var pWaitForExports=pWaitFor$2.exports;const pWaitFor$1=getDefaultExportFromCjs$1(pWaitForExports);var createUpdateEffect=function(a){return function(j,_e){var et=reactExports.useRef(!1);a(function(){return function(){et.current=!1}},[]),a(function(){if(!et.current)et.current=!0;else return j()},_e)}},extendStatics=function(a,j){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,et){_e.__proto__=et}||function(_e,et){for(var nt in et)Object.prototype.hasOwnProperty.call(et,nt)&&(_e[nt]=et[nt])},extendStatics(a,j)};function __extends(a,j){if(typeof j!="function"&&j!==null)throw new TypeError("Class extends value "+String(j)+" is not a constructor or null");extendStatics(a,j);function _e(){this.constructor=a}a.prototype=j===null?Object.create(j):(_e.prototype=j.prototype,new _e)}var __assign=function(){return __assign=Object.assign||function(j){for(var _e,et=1,nt=arguments.length;et<nt;et++){_e=arguments[et];for(var tt in _e)Object.prototype.hasOwnProperty.call(_e,tt)&&(j[tt]=_e[tt])}return j},__assign.apply(this,arguments)};function __rest(a,j){var _e={};for(var et in a)Object.prototype.hasOwnProperty.call(a,et)&&j.indexOf(et)<0&&(_e[et]=a[et]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,et=Object.getOwnPropertySymbols(a);nt<et.length;nt++)j.indexOf(et[nt])<0&&Object.prototype.propertyIsEnumerable.call(a,et[nt])&&(_e[et[nt]]=a[et[nt]]);return _e}function __decorate(a,j,_e,et){var nt=arguments.length,tt=nt<3?j:et===null?et=Object.getOwnPropertyDescriptor(j,_e):et,ot;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")tt=Reflect.decorate(a,j,_e,et);else for(var ft=a.length-1;ft>=0;ft--)(ot=a[ft])&&(tt=(nt<3?ot(tt):nt>3?ot(j,_e,tt):ot(j,_e))||tt);return nt>3&&tt&&Object.defineProperty(j,_e,tt),tt}function __param(a,j){return function(_e,et){j(_e,et,a)}}function __esDecorate(a,j,_e,et,nt,tt){function ot(kt){if(kt!==void 0&&typeof kt!="function")throw new TypeError("Function expected");return kt}for(var ft=et.kind,dt=ft==="getter"?"get":ft==="setter"?"set":"value",mt=!j&&a?et.static?a:a.prototype:null,pt=j||(mt?Object.getOwnPropertyDescriptor(mt,et.name):{}),yt,Tt=!1,St=_e.length-1;St>=0;St--){var At={};for(var Ct in et)At[Ct]=Ct==="access"?{}:et[Ct];for(var Ct in et.access)At.access[Ct]=et.access[Ct];At.addInitializer=function(kt){if(Tt)throw new TypeError("Cannot add initializers after decoration has completed");tt.push(ot(kt||null))};var Mt=(0,_e[St])(ft==="accessor"?{get:pt.get,set:pt.set}:pt[dt],At);if(ft==="accessor"){if(Mt===void 0)continue;if(Mt===null||typeof Mt!="object")throw new TypeError("Object expected");(yt=ot(Mt.get))&&(pt.get=yt),(yt=ot(Mt.set))&&(pt.set=yt),(yt=ot(Mt.init))&&nt.unshift(yt)}else(yt=ot(Mt))&&(ft==="field"?nt.unshift(yt):pt[dt]=yt)}mt&&Object.defineProperty(mt,et.name,pt),Tt=!0}function __runInitializers(a,j,_e){for(var et=arguments.length>2,nt=0;nt<j.length;nt++)_e=et?j[nt].call(a,_e):j[nt].call(a);return et?_e:void 0}function __propKey(a){return typeof a=="symbol"?a:"".concat(a)}function __setFunctionName(a,j,_e){return typeof j=="symbol"&&(j=j.description?"[".concat(j.description,"]"):""),Object.defineProperty(a,"name",{configurable:!0,value:_e?"".concat(_e," ",j):j})}function __metadata(a,j){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,j)}function __awaiter(a,j,_e,et){function nt(tt){return tt instanceof _e?tt:new _e(function(ot){ot(tt)})}return new(_e||(_e=Promise))(function(tt,ot){function ft(pt){try{mt(et.next(pt))}catch(yt){ot(yt)}}function dt(pt){try{mt(et.throw(pt))}catch(yt){ot(yt)}}function mt(pt){pt.done?tt(pt.value):nt(pt.value).then(ft,dt)}mt((et=et.apply(a,j||[])).next())})}function __generator(a,j){var _e={label:0,sent:function(){if(tt[0]&1)throw tt[1];return tt[1]},trys:[],ops:[]},et,nt,tt,ot;return ot={next:ft(0),throw:ft(1),return:ft(2)},typeof Symbol=="function"&&(ot[Symbol.iterator]=function(){return this}),ot;function ft(mt){return function(pt){return dt([mt,pt])}}function dt(mt){if(et)throw new TypeError("Generator is already executing.");for(;ot&&(ot=0,mt[0]&&(_e=0)),_e;)try{if(et=1,nt&&(tt=mt[0]&2?nt.return:mt[0]?nt.throw||((tt=nt.return)&&tt.call(nt),0):nt.next)&&!(tt=tt.call(nt,mt[1])).done)return tt;switch(nt=0,tt&&(mt=[mt[0]&2,tt.value]),mt[0]){case 0:case 1:tt=mt;break;case 4:return _e.label++,{value:mt[1],done:!1};case 5:_e.label++,nt=mt[1],mt=[0];continue;case 7:mt=_e.ops.pop(),_e.trys.pop();continue;default:if(tt=_e.trys,!(tt=tt.length>0&&tt[tt.length-1])&&(mt[0]===6||mt[0]===2)){_e=0;continue}if(mt[0]===3&&(!tt||mt[1]>tt[0]&&mt[1]<tt[3])){_e.label=mt[1];break}if(mt[0]===6&&_e.label<tt[1]){_e.label=tt[1],tt=mt;break}if(tt&&_e.label<tt[2]){_e.label=tt[2],_e.ops.push(mt);break}tt[2]&&_e.ops.pop(),_e.trys.pop();continue}mt=j.call(a,_e)}catch(pt){mt=[6,pt],nt=0}finally{et=tt=0}if(mt[0]&5)throw mt[1];return{value:mt[0]?mt[1]:void 0,done:!0}}}var __createBinding=Object.create?function(a,j,_e,et){et===void 0&&(et=_e);var nt=Object.getOwnPropertyDescriptor(j,_e);(!nt||("get"in nt?!j.__esModule:nt.writable||nt.configurable))&&(nt={enumerable:!0,get:function(){return j[_e]}}),Object.defineProperty(a,et,nt)}:function(a,j,_e,et){et===void 0&&(et=_e),a[et]=j[_e]};function __exportStar(a,j){for(var _e in a)_e!=="default"&&!Object.prototype.hasOwnProperty.call(j,_e)&&__createBinding(j,a,_e)}function __values(a){var j=typeof Symbol=="function"&&Symbol.iterator,_e=j&&a[j],et=0;if(_e)return _e.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&et>=a.length&&(a=void 0),{value:a&&a[et++],done:!a}}};throw new TypeError(j?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(a,j){var _e=typeof Symbol=="function"&&a[Symbol.iterator];if(!_e)return a;var et=_e.call(a),nt,tt=[],ot;try{for(;(j===void 0||j-- >0)&&!(nt=et.next()).done;)tt.push(nt.value)}catch(ft){ot={error:ft}}finally{try{nt&&!nt.done&&(_e=et.return)&&_e.call(et)}finally{if(ot)throw ot.error}}return tt}function __spread(){for(var a=[],j=0;j<arguments.length;j++)a=a.concat(__read(arguments[j]));return a}function __spreadArrays(){for(var a=0,j=0,_e=arguments.length;j<_e;j++)a+=arguments[j].length;for(var et=Array(a),nt=0,j=0;j<_e;j++)for(var tt=arguments[j],ot=0,ft=tt.length;ot<ft;ot++,nt++)et[nt]=tt[ot];return et}function __spreadArray(a,j,_e){if(_e||arguments.length===2)for(var et=0,nt=j.length,tt;et<nt;et++)(tt||!(et in j))&&(tt||(tt=Array.prototype.slice.call(j,0,et)),tt[et]=j[et]);return a.concat(tt||Array.prototype.slice.call(j))}function __await(a){return this instanceof __await?(this.v=a,this):new __await(a)}function __asyncGenerator(a,j,_e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var et=_e.apply(a,j||[]),nt,tt=[];return nt={},ft("next"),ft("throw"),ft("return",ot),nt[Symbol.asyncIterator]=function(){return this},nt;function ot(St){return function(At){return Promise.resolve(At).then(St,yt)}}function ft(St,At){et[St]&&(nt[St]=function(Ct){return new Promise(function(Mt,kt){tt.push([St,Ct,Mt,kt])>1||dt(St,Ct)})},At&&(nt[St]=At(nt[St])))}function dt(St,At){try{mt(et[St](At))}catch(Ct){Tt(tt[0][3],Ct)}}function mt(St){St.value instanceof __await?Promise.resolve(St.value.v).then(pt,yt):Tt(tt[0][2],St)}function pt(St){dt("next",St)}function yt(St){dt("throw",St)}function Tt(St,At){St(At),tt.shift(),tt.length&&dt(tt[0][0],tt[0][1])}}function __asyncDelegator(a){var j,_e;return j={},et("next"),et("throw",function(nt){throw nt}),et("return"),j[Symbol.iterator]=function(){return this},j;function et(nt,tt){j[nt]=a[nt]?function(ot){return(_e=!_e)?{value:__await(a[nt](ot)),done:!1}:tt?tt(ot):ot}:tt}}function __asyncValues(a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j=a[Symbol.asyncIterator],_e;return j?j.call(a):(a=typeof __values=="function"?__values(a):a[Symbol.iterator](),_e={},et("next"),et("throw"),et("return"),_e[Symbol.asyncIterator]=function(){return this},_e);function et(tt){_e[tt]=a[tt]&&function(ot){return new Promise(function(ft,dt){ot=a[tt](ot),nt(ft,dt,ot.done,ot.value)})}}function nt(tt,ot,ft,dt){Promise.resolve(dt).then(function(mt){tt({value:mt,done:ft})},ot)}}function __makeTemplateObject(a,j){return Object.defineProperty?Object.defineProperty(a,"raw",{value:j}):a.raw=j,a}var __setModuleDefault=Object.create?function(a,j){Object.defineProperty(a,"default",{enumerable:!0,value:j})}:function(a,j){a.default=j};function __importStar(a){if(a&&a.__esModule)return a;var j={};if(a!=null)for(var _e in a)_e!=="default"&&Object.prototype.hasOwnProperty.call(a,_e)&&__createBinding(j,a,_e);return __setModuleDefault(j,a),j}function __importDefault$b(a){return a&&a.__esModule?a:{default:a}}function __classPrivateFieldGet(a,j,_e,et){if(_e==="a"&&!et)throw new TypeError("Private accessor was defined without a getter");if(typeof j=="function"?a!==j||!et:!j.has(a))throw new TypeError("Cannot read private member from an object whose class did not declare it");return _e==="m"?et:_e==="a"?et.call(a):et?et.value:j.get(a)}function __classPrivateFieldSet(a,j,_e,et,nt){if(et==="m")throw new TypeError("Private method is not writable");if(et==="a"&&!nt)throw new TypeError("Private accessor was defined without a setter");if(typeof j=="function"?a!==j||!nt:!j.has(a))throw new TypeError("Cannot write private member to an object whose class did not declare it");return et==="a"?nt.call(a,_e):nt?nt.value=_e:j.set(a,_e),_e}function __classPrivateFieldIn(a,j){if(j===null||typeof j!="object"&&typeof j!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof a=="function"?j===a:a.has(j)}function __addDisposableResource(a,j,_e){if(j!=null){if(typeof j!="object"&&typeof j!="function")throw new TypeError("Object expected.");var et,nt;if(_e){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");et=j[Symbol.asyncDispose]}if(et===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");et=j[Symbol.dispose],_e&&(nt=et)}if(typeof et!="function")throw new TypeError("Object not disposable.");nt&&(et=function(){try{nt.call(this)}catch(tt){return Promise.reject(tt)}}),a.stack.push({value:j,dispose:et,async:_e})}else _e&&a.stack.push({async:!0});return j}var _SuppressedError=typeof SuppressedError=="function"?SuppressedError:function(a,j,_e){var et=new Error(_e);return et.name="SuppressedError",et.error=a,et.suppressed=j,et};function __disposeResources(a){function j(et){a.error=a.hasError?new _SuppressedError(et,a.error,"An error was suppressed during disposal."):et,a.hasError=!0}function _e(){for(;a.stack.length;){var et=a.stack.pop();try{var nt=et.dispose&&et.dispose.call(et.value);if(et.async)return Promise.resolve(nt).then(_e,function(tt){return j(tt),_e()})}catch(tt){j(tt)}}if(a.hasError)throw a.error}return _e()}const tslib_es6={__extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__createBinding,__exportStar,__values,__read,__spread,__spreadArrays,__spreadArray,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault:__importDefault$b,__classPrivateFieldGet,__classPrivateFieldSet,__classPrivateFieldIn,__addDisposableResource,__disposeResources},tslib_es6$1=Object.freeze(Object.defineProperty({__proto__:null,__addDisposableResource,get __assign(){return __assign},__asyncDelegator,__asyncGenerator,__asyncValues,__await,__awaiter,__classPrivateFieldGet,__classPrivateFieldIn,__classPrivateFieldSet,__createBinding,__decorate,__disposeResources,__esDecorate,__exportStar,__extends,__generator,__importDefault:__importDefault$b,__importStar,__makeTemplateObject,__metadata,__param,__propKey,__read,__rest,__runInitializers,__setFunctionName,__spread,__spreadArray,__spreadArrays,__values,default:tslib_es6},Symbol.toStringTag,{value:"Module"}));var isFunction$3=function(a){return typeof a=="function"},isString$3=function(a){return typeof a=="string"},isNumber$2=function(a){return typeof a=="number"},isUndef=function(a){return typeof a>"u"};function useMemoizedFn(a){var j=reactExports.useRef(a);j.current=reactExports.useMemo(function(){return a},[a]);var _e=reactExports.useRef();return _e.current||(_e.current=function(){for(var et=[],nt=0;nt<arguments.length;nt++)et[nt]=arguments[nt];return j.current.apply(this,et)}),_e.current}const useUpdateEffect=createUpdateEffect(reactExports.useEffect);var useAutoRunPlugin=function(a,j){var _e=j.manual,et=j.ready,nt=et===void 0?!0:et,tt=j.defaultParams,ot=tt===void 0?[]:tt,ft=j.refreshDeps,dt=ft===void 0?[]:ft,mt=j.refreshDepsAction,pt=reactExports.useRef(!1);return pt.current=!1,useUpdateEffect(function(){!_e&&nt&&(pt.current=!0,a.run.apply(a,__spreadArray([],__read(ot),!1)))},[nt]),useUpdateEffect(function(){pt.current||_e||(pt.current=!0,mt?mt():a.refresh())},__spreadArray([],__read(dt),!1)),{onBefore:function(){if(!nt)return{stopNow:!0}}}};useAutoRunPlugin.onInit=function(a){var j=a.ready,_e=j===void 0?!0:j,et=a.manual;return{loading:!et&&_e}};function depsAreSame(a,j){if(a===j)return!0;for(var _e=0;_e<a.length;_e++)if(!Object.is(a[_e],j[_e]))return!1;return!0}function useCreation(a,j){var _e=reactExports.useRef({deps:j,obj:void 0,initialized:!1}).current;return(_e.initialized===!1||!depsAreSame(_e.deps,j))&&(_e.deps=j,_e.obj=a(),_e.initialized=!0),_e.obj}function useLatest(a){var j=reactExports.useRef(a);return j.current=a,j}var useUnmount=function(a){var j=useLatest(a);reactExports.useEffect(function(){return function(){j.current()}},[])},cache$2=new Map,setCache=function(a,j,_e){var et=cache$2.get(a);et!=null&&et.timer&&clearTimeout(et.timer);var nt=void 0;j>-1&&(nt=setTimeout(function(){cache$2.delete(a)},j)),cache$2.set(a,__assign(__assign({},_e),{timer:nt}))},getCache=function(a){return cache$2.get(a)},cachePromise=new Map,getCachePromise=function(a){return cachePromise.get(a)},setCachePromise=function(a,j){cachePromise.set(a,j),j.then(function(_e){return cachePromise.delete(a),_e}).catch(function(){cachePromise.delete(a)})},listeners$2={},trigger=function(a,j){listeners$2[a]&&listeners$2[a].forEach(function(_e){return _e(j)})},subscribe$2=function(a,j){return listeners$2[a]||(listeners$2[a]=[]),listeners$2[a].push(j),function(){var et=listeners$2[a].indexOf(j);listeners$2[a].splice(et,1)}},useCachePlugin=function(a,j){var _e=j.cacheKey,et=j.cacheTime,nt=et===void 0?5*60*1e3:et,tt=j.staleTime,ot=tt===void 0?0:tt,ft=j.setCache,dt=j.getCache,mt=reactExports.useRef(),pt=reactExports.useRef(),yt=function(St,At){ft?ft(At):setCache(St,nt,At),trigger(St,At.data)},Tt=function(St,At){return At===void 0&&(At=[]),dt?dt(At):getCache(St)};return useCreation(function(){if(_e){var St=Tt(_e);St&&Object.hasOwnProperty.call(St,"data")&&(a.state.data=St.data,a.state.params=St.params,(ot===-1||new Date().getTime()-St.time<=ot)&&(a.state.loading=!1)),mt.current=subscribe$2(_e,function(At){a.setState({data:At})})}},[]),useUnmount(function(){var St;(St=mt.current)===null||St===void 0||St.call(mt)}),_e?{onBefore:function(St){var At=Tt(_e,St);return!At||!Object.hasOwnProperty.call(At,"data")?{}:ot===-1||new Date().getTime()-At.time<=ot?{loading:!1,data:At==null?void 0:At.data,error:void 0,returnNow:!0}:{data:At==null?void 0:At.data,error:void 0}},onRequest:function(St,At){var Ct=getCachePromise(_e);return Ct&&Ct!==pt.current?{servicePromise:Ct}:(Ct=St.apply(void 0,__spreadArray([],__read(At),!1)),pt.current=Ct,setCachePromise(_e,Ct),{servicePromise:Ct})},onSuccess:function(St,At){var Ct;_e&&((Ct=mt.current)===null||Ct===void 0||Ct.call(mt),yt(_e,{data:St,params:At,time:new Date().getTime()}),mt.current=subscribe$2(_e,function(Mt){a.setState({data:Mt})}))},onMutate:function(St){var At;_e&&((At=mt.current)===null||At===void 0||At.call(mt),yt(_e,{data:St,params:a.state.params,time:new Date().getTime()}),mt.current=subscribe$2(_e,function(Ct){a.setState({data:Ct})}))}}:{}},root$3=_root,now$1=function(){return root$3.Date.now()},now_1=now$1,isObject$c=isObject_1,now=now_1,toNumber$2=toNumber_1,FUNC_ERROR_TEXT$4="Expected a function",nativeMax=Math.max,nativeMin$1=Math.min;function debounce$2(a,j,_e){var et,nt,tt,ot,ft,dt,mt=0,pt=!1,yt=!1,Tt=!0;if(typeof a!="function")throw new TypeError(FUNC_ERROR_TEXT$4);j=toNumber$2(j)||0,isObject$c(_e)&&(pt=!!_e.leading,yt="maxWait"in _e,tt=yt?nativeMax(toNumber$2(_e.maxWait)||0,j):tt,Tt="trailing"in _e?!!_e.trailing:Tt);function St(jt){var Wt=et,sn=nt;return et=nt=void 0,mt=jt,ot=a.apply(sn,Wt),ot}function At(jt){return mt=jt,ft=setTimeout(kt,j),pt?St(jt):ot}function Ct(jt){var Wt=jt-dt,sn=jt-mt,ln=j-Wt;return yt?nativeMin$1(ln,tt-sn):ln}function Mt(jt){var Wt=jt-dt,sn=jt-mt;return dt===void 0||Wt>=j||Wt<0||yt&&sn>=tt}function kt(){var jt=now();if(Mt(jt))return Pt(jt);ft=setTimeout(kt,Ct(jt))}function Pt(jt){return ft=void 0,Tt&&et?St(jt):(et=nt=void 0,ot)}function Lt(){ft!==void 0&&clearTimeout(ft),mt=0,et=dt=nt=ft=void 0}function Ft(){return ft===void 0?ot:Pt(now())}function Yt(){var jt=now(),Wt=Mt(jt);if(et=arguments,nt=this,dt=jt,Wt){if(ft===void 0)return At(dt);if(yt)return clearTimeout(ft),ft=setTimeout(kt,j),St(dt)}return ft===void 0&&(ft=setTimeout(kt,j)),ot}return Yt.cancel=Lt,Yt.flush=Ft,Yt}var debounce_1=debounce$2;const debounce$3=getDefaultExportFromCjs$1(debounce_1);var useDebouncePlugin=function(a,j){var _e=j.debounceWait,et=j.debounceLeading,nt=j.debounceTrailing,tt=j.debounceMaxWait,ot=reactExports.useRef(),ft=reactExports.useMemo(function(){var dt={};return et!==void 0&&(dt.leading=et),nt!==void 0&&(dt.trailing=nt),tt!==void 0&&(dt.maxWait=tt),dt},[et,nt,tt]);return reactExports.useEffect(function(){if(_e){var dt=a.runAsync.bind(a);return ot.current=debounce$3(function(mt){mt()},_e,ft),a.runAsync=function(){for(var mt=[],pt=0;pt<arguments.length;pt++)mt[pt]=arguments[pt];return new Promise(function(yt,Tt){var St;(St=ot.current)===null||St===void 0||St.call(ot,function(){dt.apply(void 0,__spreadArray([],__read(mt),!1)).then(yt).catch(Tt)})})},function(){var mt;(mt=ot.current)===null||mt===void 0||mt.cancel(),a.runAsync=dt}}},[_e,ft]),_e?{onCancel:function(){var dt;(dt=ot.current)===null||dt===void 0||dt.cancel()}}:{}},useLoadingDelayPlugin=function(a,j){var _e=j.loadingDelay,et=j.ready,nt=reactExports.useRef();if(!_e)return{};var tt=function(){nt.current&&clearTimeout(nt.current)};return{onBefore:function(){return tt(),et!==!1&&(nt.current=setTimeout(function(){a.setState({loading:!0})},_e)),{loading:!1}},onFinally:function(){tt()},onCancel:function(){tt()}}},isBrowser$1=!!(typeof window<"u"&&window.document&&window.document.createElement);function isDocumentVisible(){return isBrowser$1?document.visibilityState!=="hidden":!0}var listeners$1=[];function subscribe$1(a){return listeners$1.push(a),function(){var _e=listeners$1.indexOf(a);listeners$1.splice(_e,1)}}if(isBrowser$1){var revalidate$1=function(){if(isDocumentVisible())for(var a=0;a<listeners$1.length;a++){var j=listeners$1[a];j()}};window.addEventListener("visibilitychange",revalidate$1,!1)}var usePollingPlugin=function(a,j){var _e=j.pollingInterval,et=j.pollingWhenHidden,nt=et===void 0?!0:et,tt=j.pollingErrorRetryCount,ot=tt===void 0?-1:tt,ft=reactExports.useRef(),dt=reactExports.useRef(),mt=reactExports.useRef(0),pt=function(){var yt;ft.current&&clearTimeout(ft.current),(yt=dt.current)===null||yt===void 0||yt.call(dt)};return useUpdateEffect(function(){_e||pt()},[_e]),_e?{onBefore:function(){pt()},onError:function(){mt.current+=1},onSuccess:function(){mt.current=0},onFinally:function(){ot===-1||ot!==-1&&mt.current<=ot?ft.current=setTimeout(function(){!nt&&!isDocumentVisible()?dt.current=subscribe$1(function(){a.refresh()}):a.refresh()},_e):mt.current=0},onCancel:function(){pt()}}:{}};function limit(a,j){var _e=!1;return function(){for(var et=[],nt=0;nt<arguments.length;nt++)et[nt]=arguments[nt];_e||(_e=!0,a.apply(void 0,__spreadArray([],__read(et),!1)),setTimeout(function(){_e=!1},j))}}function isOnline(){return isBrowser$1&&typeof navigator.onLine<"u"?navigator.onLine:!0}var listeners=[];function subscribe(a){return listeners.push(a),function(){var _e=listeners.indexOf(a);_e>-1&&listeners.splice(_e,1)}}if(isBrowser$1){var revalidate=function(){if(!(!isDocumentVisible()||!isOnline()))for(var a=0;a<listeners.length;a++){var j=listeners[a];j()}};window.addEventListener("visibilitychange",revalidate,!1),window.addEventListener("focus",revalidate,!1)}var useRefreshOnWindowFocusPlugin=function(a,j){var _e=j.refreshOnWindowFocus,et=j.focusTimespan,nt=et===void 0?5e3:et,tt=reactExports.useRef(),ot=function(){var ft;(ft=tt.current)===null||ft===void 0||ft.call(tt)};return reactExports.useEffect(function(){if(_e){var ft=limit(a.refresh.bind(a),nt);tt.current=subscribe(function(){ft()})}return function(){ot()}},[_e,nt]),useUnmount(function(){ot()}),{}},useRetryPlugin=function(a,j){var _e=j.retryInterval,et=j.retryCount,nt=reactExports.useRef(),tt=reactExports.useRef(0),ot=reactExports.useRef(!1);return et?{onBefore:function(){ot.current||(tt.current=0),ot.current=!1,nt.current&&clearTimeout(nt.current)},onSuccess:function(){tt.current=0},onError:function(){if(tt.current+=1,et===-1||tt.current<=et){var ft=_e??Math.min(1e3*Math.pow(2,tt.current),3e4);nt.current=setTimeout(function(){ot.current=!0,a.refresh()},ft)}else tt.current=0},onCancel:function(){tt.current=0,nt.current&&clearTimeout(nt.current)}}:{}},debounce$1=debounce_1,isObject$b=isObject_1,FUNC_ERROR_TEXT$3="Expected a function";function throttle$3(a,j,_e){var et=!0,nt=!0;if(typeof a!="function")throw new TypeError(FUNC_ERROR_TEXT$3);return isObject$b(_e)&&(et="leading"in _e?!!_e.leading:et,nt="trailing"in _e?!!_e.trailing:nt),debounce$1(a,j,{leading:et,maxWait:j,trailing:nt})}var throttle_1=throttle$3;const throttle$4=getDefaultExportFromCjs$1(throttle_1);var useThrottlePlugin=function(a,j){var _e=j.throttleWait,et=j.throttleLeading,nt=j.throttleTrailing,tt=reactExports.useRef(),ot={};return et!==void 0&&(ot.leading=et),nt!==void 0&&(ot.trailing=nt),reactExports.useEffect(function(){if(_e){var ft=a.runAsync.bind(a);return tt.current=throttle$4(function(dt){dt()},_e,ot),a.runAsync=function(){for(var dt=[],mt=0;mt<arguments.length;mt++)dt[mt]=arguments[mt];return new Promise(function(pt,yt){var Tt;(Tt=tt.current)===null||Tt===void 0||Tt.call(tt,function(){ft.apply(void 0,__spreadArray([],__read(dt),!1)).then(pt).catch(yt)})})},function(){var dt;a.runAsync=ft,(dt=tt.current)===null||dt===void 0||dt.cancel()}}},[_e,et,nt]),_e?{onCancel:function(){var ft;(ft=tt.current)===null||ft===void 0||ft.cancel()}}:{}},useMount=function(a){reactExports.useEffect(function(){a==null||a()},[])},useUpdate=function(){var a=__read(reactExports.useState({}),2),j=a[1];return reactExports.useCallback(function(){return j({})},[])},Fetch=function(){function a(j,_e,et,nt){nt===void 0&&(nt={}),this.serviceRef=j,this.options=_e,this.subscribe=et,this.initState=nt,this.count=0,this.state={loading:!1,params:void 0,data:void 0,error:void 0},this.state=__assign(__assign(__assign({},this.state),{loading:!_e.manual}),nt)}return a.prototype.setState=function(j){j===void 0&&(j={}),this.state=__assign(__assign({},this.state),j),this.subscribe()},a.prototype.runPluginHandler=function(j){for(var _e=[],et=1;et<arguments.length;et++)_e[et-1]=arguments[et];var nt=this.pluginImpls.map(function(tt){var ot;return(ot=tt[j])===null||ot===void 0?void 0:ot.call.apply(ot,__spreadArray([tt],__read(_e),!1))}).filter(Boolean);return Object.assign.apply(Object,__spreadArray([{}],__read(nt),!1))},a.prototype.runAsync=function(){for(var j,_e,et,nt,tt,ot,ft,dt,mt,pt,yt=[],Tt=0;Tt<arguments.length;Tt++)yt[Tt]=arguments[Tt];return __awaiter(this,void 0,void 0,function(){var St,At,Ct,Mt,kt,Pt,Lt,Ft,Yt,jt,Wt;return __generator(this,function(sn){switch(sn.label){case 0:if(this.count+=1,St=this.count,At=this.runPluginHandler("onBefore",yt),Ct=At.stopNow,Mt=Ct===void 0?!1:Ct,kt=At.returnNow,Pt=kt===void 0?!1:kt,Lt=__rest(At,["stopNow","returnNow"]),Mt)return[2,new Promise(function(){})];if(this.setState(__assign({loading:!0,params:yt},Lt)),Pt)return[2,Promise.resolve(Lt.data)];(_e=(j=this.options).onBefore)===null||_e===void 0||_e.call(j,yt),sn.label=1;case 1:return sn.trys.push([1,3,,4]),Ft=this.runPluginHandler("onRequest",this.serviceRef.current,yt).servicePromise,Ft||(Ft=(Wt=this.serviceRef).current.apply(Wt,__spreadArray([],__read(yt),!1))),[4,Ft];case 2:return Yt=sn.sent(),St!==this.count?[2,new Promise(function(){})]:(this.setState({data:Yt,error:void 0,loading:!1}),(nt=(et=this.options).onSuccess)===null||nt===void 0||nt.call(et,Yt,yt),this.runPluginHandler("onSuccess",Yt,yt),(ot=(tt=this.options).onFinally)===null||ot===void 0||ot.call(tt,yt,Yt,void 0),St===this.count&&this.runPluginHandler("onFinally",yt,Yt,void 0),[2,Yt]);case 3:if(jt=sn.sent(),St!==this.count)return[2,new Promise(function(){})];throw this.setState({error:jt,loading:!1}),(dt=(ft=this.options).onError)===null||dt===void 0||dt.call(ft,jt,yt),this.runPluginHandler("onError",jt,yt),(pt=(mt=this.options).onFinally)===null||pt===void 0||pt.call(mt,yt,void 0,jt),St===this.count&&this.runPluginHandler("onFinally",yt,void 0,jt),jt;case 4:return[2]}})})},a.prototype.run=function(){for(var j=this,_e=[],et=0;et<arguments.length;et++)_e[et]=arguments[et];this.runAsync.apply(this,__spreadArray([],__read(_e),!1)).catch(function(nt){j.options.onError||console.error(nt)})},a.prototype.cancel=function(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")},a.prototype.refresh=function(){this.run.apply(this,__spreadArray([],__read(this.state.params||[]),!1))},a.prototype.refreshAsync=function(){return this.runAsync.apply(this,__spreadArray([],__read(this.state.params||[]),!1))},a.prototype.mutate=function(j){var _e=isFunction$3(j)?j(this.state.data):j;this.runPluginHandler("onMutate",_e),this.setState({data:_e})},a}();function useRequestImplement(a,j,_e){j===void 0&&(j={}),_e===void 0&&(_e=[]);var et=j.manual,nt=et===void 0?!1:et,tt=j.ready,ot=tt===void 0?!0:tt,ft=__rest(j,["manual","ready"]),dt=__assign({manual:nt,ready:ot},ft),mt=useLatest(a),pt=useUpdate(),yt=useCreation(function(){var Tt=_e.map(function(St){var At;return(At=St==null?void 0:St.onInit)===null||At===void 0?void 0:At.call(St,dt)}).filter(Boolean);return new Fetch(mt,dt,pt,Object.assign.apply(Object,__spreadArray([{}],__read(Tt),!1)))},[]);return yt.options=dt,yt.pluginImpls=_e.map(function(Tt){return Tt(yt,dt)}),useMount(function(){if(!nt&&ot){var Tt=yt.state.params||j.defaultParams||[];yt.run.apply(yt,__spreadArray([],__read(Tt),!1))}}),useUnmount(function(){yt.cancel()}),{loading:yt.state.loading,data:yt.state.data,error:yt.state.error,params:yt.state.params||[],cancel:useMemoizedFn(yt.cancel.bind(yt)),refresh:useMemoizedFn(yt.refresh.bind(yt)),refreshAsync:useMemoizedFn(yt.refreshAsync.bind(yt)),run:useMemoizedFn(yt.run.bind(yt)),runAsync:useMemoizedFn(yt.runAsync.bind(yt)),mutate:useMemoizedFn(yt.mutate.bind(yt))}}function useRequest(a,j,_e){return useRequestImplement(a,j,__spreadArray(__spreadArray([],__read([]),!1),[useDebouncePlugin,useLoadingDelayPlugin,usePollingPlugin,useRefreshOnWindowFocusPlugin,useThrottlePlugin,useAutoRunPlugin,useCachePlugin,useRetryPlugin],!1))}function isAsyncGenerator(a){return isFunction$3(a[Symbol.asyncIterator])}function useAsyncEffect(a,j){reactExports.useEffect(function(){var _e=a(),et=!1;function nt(){return __awaiter(this,void 0,void 0,function(){var tt;return __generator(this,function(ot){switch(ot.label){case 0:if(!isAsyncGenerator(_e))return[3,4];ot.label=1;case 1:return[4,_e.next()];case 2:return tt=ot.sent(),tt.done||et?[3,3]:[3,1];case 3:return[3,6];case 4:return[4,_e];case 5:ot.sent(),ot.label=6;case 6:return[2]}})})}return nt(),function(){et=!0}},j)}function getTargetElement(a,j){if(isBrowser$1){if(!a)return j;var _e;return isFunction$3(a)?_e=a():"current"in a?_e=a.current:_e=a,_e}}var createEffectWithTarget=function(a){var j=function(_e,et,nt){var tt=reactExports.useRef(!1),ot=reactExports.useRef([]),ft=reactExports.useRef([]),dt=reactExports.useRef();a(function(){var mt,pt=Array.isArray(nt)?nt:[nt],yt=pt.map(function(Tt){return getTargetElement(Tt)});if(!tt.current){tt.current=!0,ot.current=yt,ft.current=et,dt.current=_e();return}(yt.length!==ot.current.length||!depsAreSame(ot.current,yt)||!depsAreSame(ft.current,et))&&((mt=dt.current)===null||mt===void 0||mt.call(dt),ot.current=yt,ft.current=et,dt.current=_e())}),useUnmount(function(){var mt;(mt=dt.current)===null||mt===void 0||mt.call(dt),tt.current=!1})};return j},useEffectWithTarget$1=createEffectWithTarget(reactExports.useEffect);function isNodeOrWeb(){var a=(typeof global$2>"u"?"undefined":typeof global$2)=="object"&&global$2&&global$2.Object===Object&&global$2,j=typeof self=="object"&&self&&self.Object===Object&&self;return a||j}isNodeOrWeb()||(global$2.Date=Date);function useDebounceFn(a,j){var _e,et=useLatest(a),nt=(_e=j==null?void 0:j.wait)!==null&&_e!==void 0?_e:1e3,tt=reactExports.useMemo(function(){return debounce$3(function(){for(var ot=[],ft=0;ft<arguments.length;ft++)ot[ft]=arguments[ft];return et.current.apply(et,__spreadArray([],__read(ot),!1))},nt,j)},[]);return useUnmount(function(){tt.cancel()}),{run:tt,cancel:tt.cancel,flush:tt.flush}}function useDebounce(a,j){var _e=__read(reactExports.useState(a),2),et=_e[0],nt=_e[1],tt=useDebounceFn(function(){nt(a)},j).run;return reactExports.useEffect(function(){tt()},[a]),et}function useEventListener(a,j,_e){_e===void 0&&(_e={});var et=_e.enable,nt=et===void 0?!0:et,tt=useLatest(j);useEffectWithTarget$1(function(){if(nt){var ot=getTargetElement(_e.target,window);if(ot!=null&&ot.addEventListener){var ft=function(dt){return tt.current(dt)};return ot.addEventListener(a,ft,{capture:_e.capture,once:_e.once,passive:_e.passive}),function(){ot.removeEventListener(a,ft,{capture:_e.capture})}}}},[a,_e.capture,_e.once,_e.passive,nt],_e.target)}var useInterval$1=function(a,j,_e){_e===void 0&&(_e={});var et=useMemoizedFn(a),nt=reactExports.useRef(null),tt=reactExports.useCallback(function(){nt.current&&clearInterval(nt.current)},[]);return reactExports.useEffect(function(){if(!(!isNumber$2(j)||j<0))return _e.immediate&&et(),nt.current=setInterval(et,j),tt},[j,_e.immediate]),tt},SYNC_STORAGE_EVENT_NAME="AHOOKS_SYNC_STORAGE_EVENT_NAME";function createUseStorageState(a){function j(_e,et){et===void 0&&(et={});var nt,tt=et.listenStorageChange,ot=tt===void 0?!1:tt,ft=et.onError,dt=ft===void 0?function(Pt){console.error(Pt)}:ft;try{nt=a()}catch(Pt){dt(Pt)}var mt=function(Pt){return et.serializer?et.serializer(Pt):JSON.stringify(Pt)},pt=function(Pt){return et.deserializer?et.deserializer(Pt):JSON.parse(Pt)};function yt(){try{var Pt=nt==null?void 0:nt.getItem(_e);if(Pt)return pt(Pt)}catch(Lt){dt(Lt)}return isFunction$3(et.defaultValue)?et.defaultValue():et.defaultValue}var Tt=__read(reactExports.useState(yt),2),St=Tt[0],At=Tt[1];useUpdateEffect(function(){At(yt())},[_e]);var Ct=function(Pt){var Lt=isFunction$3(Pt)?Pt(St):Pt;ot||At(Lt);try{var Ft=void 0,Yt=nt==null?void 0:nt.getItem(_e);isUndef(Lt)?(Ft=null,nt==null||nt.removeItem(_e)):(Ft=mt(Lt),nt==null||nt.setItem(_e,Ft)),dispatchEvent(new CustomEvent(SYNC_STORAGE_EVENT_NAME,{detail:{key:_e,newValue:Ft,oldValue:Yt,storageArea:nt}}))}catch(jt){dt(jt)}},Mt=function(Pt){Pt.key!==_e||Pt.storageArea!==nt||At(yt())},kt=function(Pt){Mt(Pt.detail)};return useEventListener("storage",Mt,{enable:ot}),useEventListener(SYNC_STORAGE_EVENT_NAME,kt,{enable:ot}),[St,useMemoizedFn(Ct)]}return j}var useLocalStorageState=createUseStorageState(function(){return isBrowser$1?localStorage:void 0});function useRafState(a){var j=reactExports.useRef(0),_e=__read(reactExports.useState(a),2),et=_e[0],nt=_e[1],tt=reactExports.useCallback(function(ot){cancelAnimationFrame(j.current),j.current=requestAnimationFrame(function(){nt(ot)})},[]);return useUnmount(function(){cancelAnimationFrame(j.current)}),[et,tt]}var defaultShouldUpdate=function(a,j){return!Object.is(a,j)};function usePrevious(a,j){j===void 0&&(j=defaultShouldUpdate);var _e=reactExports.useRef(),et=reactExports.useRef();return j(et.current,a)&&(_e.current=et.current,et.current=a),_e.current}var proxyMap=new WeakMap,rawMap=new WeakMap;function observer(a,j){var _e=proxyMap.get(a);if(_e)return _e;if(rawMap.has(a))return a;var et=new Proxy(a,{get:function(nt,tt,ot){var ft=Reflect.get(nt,tt,ot),dt=Reflect.getOwnPropertyDescriptor(nt,tt);return!(dt!=null&&dt.configurable)&&!(dt!=null&&dt.writable)?ft:isPlainObject$4(ft)||Array.isArray(ft)?observer(ft,j):ft},set:function(nt,tt,ot){var ft=Reflect.set(nt,tt,ot);return j(),ft},deleteProperty:function(nt,tt){var ot=Reflect.deleteProperty(nt,tt);return j(),ot}});return proxyMap.set(a,et),rawMap.set(et,a),et}function useReactive(a){var j=useUpdate(),_e=reactExports.useRef(a),et=useCreation(function(){return observer(_e.current,function(){j()})},[]);return et}var MapShim=function(){if(typeof Map<"u")return Map;function a(j,_e){var et=-1;return j.some(function(nt,tt){return nt[0]===_e?(et=tt,!0):!1}),et}return function(){function j(){this.__entries__=[]}return Object.defineProperty(j.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),j.prototype.get=function(_e){var et=a(this.__entries__,_e),nt=this.__entries__[et];return nt&&nt[1]},j.prototype.set=function(_e,et){var nt=a(this.__entries__,_e);~nt?this.__entries__[nt][1]=et:this.__entries__.push([_e,et])},j.prototype.delete=function(_e){var et=this.__entries__,nt=a(et,_e);~nt&&et.splice(nt,1)},j.prototype.has=function(_e){return!!~a(this.__entries__,_e)},j.prototype.clear=function(){this.__entries__.splice(0)},j.prototype.forEach=function(_e,et){et===void 0&&(et=null);for(var nt=0,tt=this.__entries__;nt<tt.length;nt++){var ot=tt[nt];_e.call(et,ot[1],ot[0])}},j}()}(),isBrowser=typeof window<"u"&&typeof document<"u"&&window.document===document,global$1$1=function(){return typeof global$2<"u"&&global$2.Math===Math?global$2:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),requestAnimationFrame$1=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(global$1$1):function(a){return setTimeout(function(){return a(Date.now())},1e3/60)}}(),trailingTimeout=2;function throttle$2(a,j){var _e=!1,et=!1,nt=0;function tt(){_e&&(_e=!1,a()),et&&ft()}function ot(){requestAnimationFrame$1(tt)}function ft(){var dt=Date.now();if(_e){if(dt-nt<trailingTimeout)return;et=!0}else _e=!0,et=!1,setTimeout(ot,j);nt=dt}return ft}var REFRESH_DELAY=20,transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported=typeof MutationObserver<"u",ResizeObserverController=function(){function a(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=throttle$2(this.refresh.bind(this),REFRESH_DELAY)}return a.prototype.addObserver=function(j){~this.observers_.indexOf(j)||this.observers_.push(j),this.connected_||this.connect_()},a.prototype.removeObserver=function(j){var _e=this.observers_,et=_e.indexOf(j);~et&&_e.splice(et,1),!_e.length&&this.connected_&&this.disconnect_()},a.prototype.refresh=function(){var j=this.updateObservers_();j&&this.refresh()},a.prototype.updateObservers_=function(){var j=this.observers_.filter(function(_e){return _e.gatherActive(),_e.hasActive()});return j.forEach(function(_e){return _e.broadcastActive()}),j.length>0},a.prototype.connect_=function(){!isBrowser||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},a.prototype.disconnect_=function(){!isBrowser||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},a.prototype.onTransitionEnd_=function(j){var _e=j.propertyName,et=_e===void 0?"":_e,nt=transitionKeys.some(function(tt){return!!~et.indexOf(tt)});nt&&this.refresh()},a.getInstance=function(){return this.instance_||(this.instance_=new a),this.instance_},a.instance_=null,a}(),defineConfigurable=function(a,j){for(var _e=0,et=Object.keys(j);_e<et.length;_e++){var nt=et[_e];Object.defineProperty(a,nt,{value:j[nt],enumerable:!1,writable:!1,configurable:!0})}return a},getWindowOf=function(a){var j=a&&a.ownerDocument&&a.ownerDocument.defaultView;return j||global$1$1},emptyRect=createRectInit(0,0,0,0);function toFloat(a){return parseFloat(a)||0}function getBordersSize(a){for(var j=[],_e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];return j.reduce(function(et,nt){var tt=a["border-"+nt+"-width"];return et+toFloat(tt)},0)}function getPaddings(a){for(var j=["top","right","bottom","left"],_e={},et=0,nt=j;et<nt.length;et++){var tt=nt[et],ot=a["padding-"+tt];_e[tt]=toFloat(ot)}return _e}function getSVGContentRect(a){var j=a.getBBox();return createRectInit(0,0,j.width,j.height)}function getHTMLElementContentRect(a){var j=a.clientWidth,_e=a.clientHeight;if(!j&&!_e)return emptyRect;var et=getWindowOf(a).getComputedStyle(a),nt=getPaddings(et),tt=nt.left+nt.right,ot=nt.top+nt.bottom,ft=toFloat(et.width),dt=toFloat(et.height);if(et.boxSizing==="border-box"&&(Math.round(ft+tt)!==j&&(ft-=getBordersSize(et,"left","right")+tt),Math.round(dt+ot)!==_e&&(dt-=getBordersSize(et,"top","bottom")+ot)),!isDocumentElement(a)){var mt=Math.round(ft+tt)-j,pt=Math.round(dt+ot)-_e;Math.abs(mt)!==1&&(ft-=mt),Math.abs(pt)!==1&&(dt-=pt)}return createRectInit(nt.left,nt.top,ft,dt)}var isSVGGraphicsElement=function(){return typeof SVGGraphicsElement<"u"?function(a){return a instanceof getWindowOf(a).SVGGraphicsElement}:function(a){return a instanceof getWindowOf(a).SVGElement&&typeof a.getBBox=="function"}}();function isDocumentElement(a){return a===getWindowOf(a).document.documentElement}function getContentRect(a){return isBrowser?isSVGGraphicsElement(a)?getSVGContentRect(a):getHTMLElementContentRect(a):emptyRect}function createReadOnlyRect(a){var j=a.x,_e=a.y,et=a.width,nt=a.height,tt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,ot=Object.create(tt.prototype);return defineConfigurable(ot,{x:j,y:_e,width:et,height:nt,top:_e,right:j+et,bottom:nt+_e,left:j}),ot}function createRectInit(a,j,_e,et){return{x:a,y:j,width:_e,height:et}}var ResizeObservation=function(){function a(j){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=j}return a.prototype.isActive=function(){var j=getContentRect(this.target);return this.contentRect_=j,j.width!==this.broadcastWidth||j.height!==this.broadcastHeight},a.prototype.broadcastRect=function(){var j=this.contentRect_;return this.broadcastWidth=j.width,this.broadcastHeight=j.height,j},a}(),ResizeObserverEntry=function(){function a(j,_e){var et=createReadOnlyRect(_e);defineConfigurable(this,{target:j,contentRect:et})}return a}(),ResizeObserverSPI=function(){function a(j,_e,et){if(this.activeObservations_=[],this.observations_=new MapShim,typeof j!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=j,this.controller_=_e,this.callbackCtx_=et}return a.prototype.observe=function(j){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(j instanceof getWindowOf(j).Element))throw new TypeError('parameter 1 is not of type "Element".');var _e=this.observations_;_e.has(j)||(_e.set(j,new ResizeObservation(j)),this.controller_.addObserver(this),this.controller_.refresh())}},a.prototype.unobserve=function(j){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(j instanceof getWindowOf(j).Element))throw new TypeError('parameter 1 is not of type "Element".');var _e=this.observations_;_e.has(j)&&(_e.delete(j),_e.size||this.controller_.removeObserver(this))}},a.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},a.prototype.gatherActive=function(){var j=this;this.clearActive(),this.observations_.forEach(function(_e){_e.isActive()&&j.activeObservations_.push(_e)})},a.prototype.broadcastActive=function(){if(this.hasActive()){var j=this.callbackCtx_,_e=this.activeObservations_.map(function(et){return new ResizeObserverEntry(et.target,et.broadcastRect())});this.callback_.call(j,_e,j),this.clearActive()}},a.prototype.clearActive=function(){this.activeObservations_.splice(0)},a.prototype.hasActive=function(){return this.activeObservations_.length>0},a}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver=function(){function a(j){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var _e=ResizeObserverController.getInstance(),et=new ResizeObserverSPI(j,_e,this);observers.set(this,et)}return a}();["observe","unobserve","disconnect"].forEach(function(a){ResizeObserver.prototype[a]=function(){var j;return(j=observers.get(this))[a].apply(j,arguments)}});var index=function(){return typeof global$1$1.ResizeObserver<"u"?global$1$1.ResizeObserver:ResizeObserver}(),useEffectWithTarget=createEffectWithTarget(reactExports.useLayoutEffect),useIsomorphicLayoutEffectWithTarget=isBrowser$1?useEffectWithTarget:useEffectWithTarget$1;function useSize(a){var j=__read(useRafState(function(){var nt=getTargetElement(a);return nt?{width:nt.clientWidth,height:nt.clientHeight}:void 0}),2),_e=j[0],et=j[1];return useIsomorphicLayoutEffectWithTarget(function(){var nt=getTargetElement(a);if(nt){var tt=new index(function(ot){ot.forEach(function(ft){var dt=ft.target,mt=dt.clientWidth,pt=dt.clientHeight;et({width:mt,height:pt})})});return tt.observe(nt),function(){tt.disconnect()}}},[],a),_e}const n$1=/[^\0-\x7E]/,t$3=/[\x2E\u3002\uFF0E\uFF61]/g,o$1={overflow:"Overflow Error","not-basic":"Illegal Input","invalid-input":"Invalid Input"},e$1=Math.floor,r$2=String.fromCharCode;function s$1(a){throw new RangeError(o$1[a])}const c=function(a,j){return a+22+75*(a<26)-((j!=0)<<5)},u=function(a,j,_e){let et=0;for(a=_e?e$1(a/700):a>>1,a+=e$1(a/j);a>455;et+=36)a=e$1(a/35);return e$1(et+36*a/(a+38))};function toASCII(a){return function(j,_e){const et=j.split("@");let nt="";et.length>1&&(nt=et[0]+"@",j=et[1]);const tt=function(ot,ft){const dt=[];let mt=ot.length;for(;mt--;)dt[mt]=ft(ot[mt]);return dt}((j=j.replace(t$3,".")).split("."),_e).join(".");return nt+tt}(a,function(j){return n$1.test(j)?"xn--"+function(_e){const et=[],nt=(_e=function(pt){const yt=[];let Tt=0;const St=pt.length;for(;Tt<St;){const At=pt.charCodeAt(Tt++);if(At>=55296&&At<=56319&&Tt<St){const Ct=pt.charCodeAt(Tt++);(64512&Ct)==56320?yt.push(((1023&At)<<10)+(1023&Ct)+65536):(yt.push(At),Tt--)}else yt.push(At)}return yt}(_e)).length;let tt=128,ot=0,ft=72;for(const pt of _e)pt<128&&et.push(r$2(pt));const dt=et.length;let mt=dt;for(dt&&et.push("-");mt<nt;){let pt=2147483647;for(const Tt of _e)Tt>=tt&&Tt<pt&&(pt=Tt);const yt=mt+1;pt-tt>e$1((2147483647-ot)/yt)&&s$1("overflow"),ot+=(pt-tt)*yt,tt=pt;for(const Tt of _e)if(Tt<tt&&++ot>2147483647&&s$1("overflow"),Tt==tt){let St=ot;for(let At=36;;At+=36){const Ct=At<=ft?1:At>=ft+26?26:At-ft;if(St<Ct)break;const Mt=St-Ct,kt=36-Ct;et.push(r$2(c(Ct+Mt%kt,0))),St=e$1(Mt/kt)}et.push(r$2(c(St,0))),ft=u(ot,yt,mt==dt),ot=0,++mt}++ot,++tt}return et.join("")}(j):j})}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_CARET_RE=/%5e/gi,ENC_BACKTICK_RE=/%60/gi,ENC_CURLY_OPEN_RE=/%7b/gi,ENC_PIPE_RE=/%7c/gi,ENC_CURLY_CLOSE_RE=/%7d/gi,ENC_SPACE_RE=/%20/gi,ENC_SLASH_RE=/%2f/gi,ENC_ENC_SLASH_RE=/%252f/gi;function encode$7(a){return encodeURI(""+a).replace(ENC_PIPE_RE,"|")}function encodeHash(a){return encode$7(a).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(a){return encode$7(typeof a=="string"?a:JSON.stringify(a)).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CARET_RE,"^").replace(SLASH_RE,"%2F")}function encodeQueryKey(a){return encodeQueryValue(a).replace(EQUAL_RE,"%3D")}function encodePath(a){return encode$7(a).replace(HASH_RE,"%23").replace(IM_RE,"%3F").replace(ENC_ENC_SLASH_RE,"%2F").replace(AMPERSAND_RE,"%26").replace(PLUS_RE,"%2B")}function encodeParam(a){return encodePath(a).replace(SLASH_RE,"%2F")}function decode$4(a=""){try{return decodeURIComponent(""+a)}catch{return""+a}}function decodePath(a){return decode$4(a.replace(ENC_SLASH_RE,"%252F"))}function decodeQueryKey(a){return decode$4(a.replace(PLUS_RE," "))}function decodeQueryValue(a){return decode$4(a.replace(PLUS_RE," "))}function encodeHost(a=""){return toASCII(a)}function parseQuery(a=""){const j={};a[0]==="?"&&(a=a.slice(1));for(const _e of a.split("&")){const et=_e.match(/([^=]+)=?(.*)/)||[];if(et.length<2)continue;const nt=decodeQueryKey(et[1]);if(nt==="__proto__"||nt==="constructor")continue;const tt=decodeQueryValue(et[2]||"");j[nt]===void 0?j[nt]=tt:Array.isArray(j[nt])?j[nt].push(tt):j[nt]=[j[nt],tt]}return j}function encodeQueryItem(a,j){return(typeof j=="number"||typeof j=="boolean")&&(j=String(j)),j?Array.isArray(j)?j.map(_e=>`${encodeQueryKey(a)}=${encodeQueryValue(_e)}`).join("&"):`${encodeQueryKey(a)}=${encodeQueryValue(j)}`:encodeQueryKey(a)}function stringifyQuery(a){return Object.keys(a).filter(j=>a[j]!==void 0).map(j=>encodeQueryItem(j,a[j])).filter(Boolean).join("&")}const PROTOCOL_STRICT_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,PROTOCOL_REGEX=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,PROTOCOL_RELATIVE_REGEX=/^([/\\]\s*){2,}[^/\\]/,PROTOCOL_SCRIPT_RE=/^[\s\0]*(blob|data|javascript|vbscript):$/i,TRAILING_SLASH_RE=/\/$|\/\?|\/#/,JOIN_LEADING_SLASH_RE=/^\.?\//;function isRelative(a){return["./","../"].some(j=>a.startsWith(j))}function hasProtocol(a,j={}){return typeof j=="boolean"&&(j={acceptRelative:j}),j.strict?PROTOCOL_STRICT_REGEX.test(a):PROTOCOL_REGEX.test(a)||(j.acceptRelative?PROTOCOL_RELATIVE_REGEX.test(a):!1)}function isScriptProtocol(a){return!!a&&PROTOCOL_SCRIPT_RE.test(a)}function hasTrailingSlash(a="",j){return j?TRAILING_SLASH_RE.test(a):a.endsWith("/")}function withoutTrailingSlash(a="",j){if(!j)return(hasTrailingSlash(a)?a.slice(0,-1):a)||"/";if(!hasTrailingSlash(a,!0))return a||"/";let _e=a,et="";const nt=a.indexOf("#");nt>=0&&(_e=a.slice(0,nt),et=a.slice(nt));const[tt,...ot]=_e.split("?");return((tt.endsWith("/")?tt.slice(0,-1):tt)||"/")+(ot.length>0?`?${ot.join("?")}`:"")+et}function withTrailingSlash(a="",j){if(!j)return a.endsWith("/")?a:a+"/";if(hasTrailingSlash(a,!0))return a||"/";let _e=a,et="";const nt=a.indexOf("#");if(nt>=0&&(_e=a.slice(0,nt),et=a.slice(nt),!_e))return et;const[tt,...ot]=_e.split("?");return tt+"/"+(ot.length>0?`?${ot.join("?")}`:"")+et}function hasLeadingSlash(a=""){return a.startsWith("/")}function withoutLeadingSlash(a=""){return(hasLeadingSlash(a)?a.slice(1):a)||"/"}function withLeadingSlash(a=""){return hasLeadingSlash(a)?a:"/"+a}function cleanDoubleSlashes(a=""){return a.split("://").map(j=>j.replace(/\/{2,}/g,"/")).join("://")}function withBase(a,j){if(isEmptyURL(j)||hasProtocol(a))return a;const _e=withoutTrailingSlash(j);return a.startsWith(_e)?a:joinURL(_e,a)}function withoutBase(a,j){if(isEmptyURL(j))return a;const _e=withoutTrailingSlash(j);if(!a.startsWith(_e))return a;const et=a.slice(_e.length);return et[0]==="/"?et:"/"+et}function withQuery(a,j){const _e=parseURL(a),et={...parseQuery(_e.search),...j};return _e.search=stringifyQuery(et),stringifyParsedURL(_e)}function getQuery(a){return parseQuery(parseURL(a).search)}function isEmptyURL(a){return!a||a==="/"}function isNonEmptyURL(a){return a&&a!=="/"}function joinURL(a,...j){let _e=a||"";for(const et of j.filter(nt=>isNonEmptyURL(nt)))if(_e){const nt=et.replace(JOIN_LEADING_SLASH_RE,"");_e=withTrailingSlash(_e)+nt}else _e=et;return _e}function joinRelativeURL(...a){var ot,ft,dt,mt;const j=/\/(?!\/)/,_e=a.filter(Boolean),et=[];let nt=0;for(const pt of _e)if(!(!pt||pt==="/")){for(const[yt,Tt]of pt.split(j).entries())if(!(!Tt||Tt===".")){if(Tt===".."){if(et.length===1&&hasProtocol(et[0]))continue;et.pop(),nt--;continue}if(yt===1&&((ot=et[et.length-1])!=null&&ot.endsWith(":/"))){et[et.length-1]+="/"+Tt;continue}et.push(Tt),nt++}}let tt=et.join("/");return nt>=0?(ft=_e[0])!=null&&ft.startsWith("/")&&!tt.startsWith("/")?tt="/"+tt:(dt=_e[0])!=null&&dt.startsWith("./")&&!tt.startsWith("./")&&(tt="./"+tt):tt="../".repeat(-1*nt)+tt,(mt=_e[_e.length-1])!=null&&mt.endsWith("/")&&!tt.endsWith("/")&&(tt+="/"),tt}function withHttp(a){return withProtocol(a,"http://")}function withHttps(a){return withProtocol(a,"https://")}function withoutProtocol(a){return withProtocol(a,"")}function withProtocol(a,j){let _e=a.match(PROTOCOL_REGEX);return _e||(_e=a.match(/^\/{2,}/)),_e?j+a.slice(_e[0].length):j+a}function normalizeURL(a){const j=parseURL(a);return j.pathname=encodePath(decodePath(j.pathname)),j.hash=encodeHash(decode$4(j.hash)),j.host=encodeHost(decode$4(j.host)),j.search=stringifyQuery(parseQuery(j.search)),stringifyParsedURL(j)}function resolveURL(a="",...j){if(typeof a!="string")throw new TypeError(`URL input should be string received ${typeof a} (${a})`);const _e=j.filter(nt=>isNonEmptyURL(nt));if(_e.length===0)return a;const et=parseURL(a);for(const nt of _e){const tt=parseURL(nt);if(tt.pathname&&(et.pathname=withTrailingSlash(et.pathname)+withoutLeadingSlash(tt.pathname)),tt.hash&&tt.hash!=="#"&&(et.hash=tt.hash),tt.search&&tt.search!=="?")if(et.search&&et.search!=="?"){const ot=stringifyQuery({...parseQuery(et.search),...parseQuery(tt.search)});et.search=ot.length>0?"?"+ot:""}else et.search=tt.search}return stringifyParsedURL(et)}function isSamePath(a,j){return decode$4(withoutTrailingSlash(a))===decode$4(withoutTrailingSlash(j))}function isEqual$2(a,j,_e={}){return _e.trailingSlash||(a=withTrailingSlash(a),j=withTrailingSlash(j)),_e.leadingSlash||(a=withLeadingSlash(a),j=withLeadingSlash(j)),_e.encoding||(a=decode$4(a),j=decode$4(j)),a===j}function withFragment(a,j){if(!j||j==="#")return a;const _e=parseURL(a);return _e.hash=j===""?"":"#"+encodeHash(j),stringifyParsedURL(_e)}function withoutFragment(a){return stringifyParsedURL({...parseURL(a),hash:""})}function withoutHost(a){const j=parseURL(a);return(j.pathname||"/")+j.search+j.hash}const protocolRelative=Symbol.for("ufo:protocolRelative");function parseURL(a="",j){const _e=a.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(_e){const[,yt,Tt=""]=_e;return{protocol:yt.toLowerCase(),pathname:Tt,href:yt+Tt,auth:"",host:"",search:"",hash:""}}if(!hasProtocol(a,{acceptRelative:!0}))return j?parseURL(j+a):parsePath(a);const[,et="",nt,tt=""]=a.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,ot="",ft=""]=tt.match(/([^#/?]*)(.*)?/)||[];et==="file:"&&(ft=ft.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:dt,search:mt,hash:pt}=parsePath(ft);return{protocol:et.toLowerCase(),auth:nt?nt.slice(0,Math.max(0,nt.length-1)):"",host:ot,pathname:dt,search:mt,hash:pt,[protocolRelative]:!et}}function parsePath(a=""){const[j="",_e="",et=""]=(a.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:j,search:_e,hash:et}}function parseAuth(a=""){const[j,_e]=a.split(":");return{username:decode$4(j),password:decode$4(_e)}}function parseHost(a=""){const[j,_e]=(a.match(/([^/:]*):?(\d+)?/)||[]).splice(1);return{hostname:decode$4(j),port:_e}}function stringifyParsedURL(a){const j=a.pathname||"",_e=a.search?(a.search.startsWith("?")?"":"?")+a.search:"",et=a.hash||"",nt=a.auth?a.auth+"@":"",tt=a.host||"";return(a.protocol||a[protocolRelative]?(a.protocol||"")+"//":"")+nt+tt+j+_e+et}const FILENAME_STRICT_REGEX=/\/([^/]+\.[^/]+)$/,FILENAME_REGEX=/\/([^/]+)$/;function parseFilename(a="",{strict:j}){const{pathname:_e}=parseURL(a),et=j?_e.match(FILENAME_STRICT_REGEX):_e.match(FILENAME_REGEX);return et?et[1]:void 0}var __defProp$5=Object.defineProperty,__defNormalProp$4=(a,j,_e)=>j in a?__defProp$5(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$3=(a,j,_e)=>(__defNormalProp$4(a,typeof j!="symbol"?j+"":j,_e),_e);class $URL{constructor(j=""){if(__publicField$3(this,"protocol"),__publicField$3(this,"host"),__publicField$3(this,"auth"),__publicField$3(this,"pathname"),__publicField$3(this,"query",{}),__publicField$3(this,"hash"),typeof j!="string")throw new TypeError(`URL input should be string received ${typeof j} (${j})`);const _e=parseURL(j);this.protocol=decode$4(_e.protocol),this.host=decode$4(_e.host),this.auth=decode$4(_e.auth),this.pathname=decodePath(_e.pathname),this.query=parseQuery(_e.search),this.hash=decode$4(_e.hash)}get hostname(){return parseHost(this.host).hostname}get port(){return parseHost(this.host).port||""}get username(){return parseAuth(this.auth).username}get password(){return parseAuth(this.auth).password||""}get hasProtocol(){return this.protocol.length}get isAbsolute(){return this.hasProtocol||this.pathname[0]==="/"}get search(){const j=stringifyQuery(this.query);return j.length>0?"?"+j:""}get searchParams(){const j=new URLSearchParams;for(const _e in this.query){const et=this.query[_e];if(Array.isArray(et))for(const nt of et)j.append(_e,nt);else j.append(_e,typeof et=="string"?et:JSON.stringify(et))}return j}get origin(){return(this.protocol?this.protocol+"//":"")+encodeHost(this.host)}get fullpath(){return encodePath(this.pathname)+this.search+encodeHash(this.hash)}get encodedAuth(){if(!this.auth)return"";const{username:j,password:_e}=parseAuth(this.auth);return encodeURIComponent(j)+(_e?":"+encodeURIComponent(_e):"")}get href(){const j=this.encodedAuth,_e=(this.protocol?this.protocol+"//":"")+(j?j+"@":"")+encodeHost(this.host);return this.hasProtocol&&this.isAbsolute?_e+this.fullpath:this.fullpath}append(j){if(j.hasProtocol)throw new Error("Cannot append a URL with protocol");Object.assign(this.query,j.query),j.pathname&&(this.pathname=withTrailingSlash(this.pathname)+withoutLeadingSlash(j.pathname)),j.hash&&(this.hash=j.hash)}toJSON(){return this.href}toString(){return this.href}}function createURL(a){return new $URL(a)}const dist$3=Object.freeze(Object.defineProperty({__proto__:null,$URL,cleanDoubleSlashes,createURL,decode:decode$4,decodePath,decodeQueryKey,decodeQueryValue,encode:encode$7,encodeHash,encodeHost,encodeParam,encodePath,encodeQueryItem,encodeQueryKey,encodeQueryValue,getQuery,hasLeadingSlash,hasProtocol,hasTrailingSlash,isEmptyURL,isEqual:isEqual$2,isNonEmptyURL,isRelative,isSamePath,isScriptProtocol,joinRelativeURL,joinURL,normalizeURL,parseAuth,parseFilename,parseHost,parsePath,parseQuery,parseURL,resolveURL,stringifyParsedURL,stringifyQuery,withBase,withFragment,withHttp,withHttps,withLeadingSlash,withProtocol,withQuery,withTrailingSlash,withoutBase,withoutFragment,withoutHost,withoutLeadingSlash,withoutProtocol,withoutTrailingSlash},Symbol.toStringTag,{value:"Module"})),matchIconName=/^[a-z0-9]+(-[a-z0-9]+)*$/,stringToIcon=(a,j,_e,et="")=>{const nt=a.split(":");if(a.slice(0,1)==="@"){if(nt.length<2||nt.length>3)return null;et=nt.shift().slice(1)}if(nt.length>3||!nt.length)return null;if(nt.length>1){const ft=nt.pop(),dt=nt.pop(),mt={provider:nt.length>0?nt[0]:et,prefix:dt,name:ft};return j&&!validateIconName(mt)?null:mt}const tt=nt[0],ot=tt.split("-");if(ot.length>1){const ft={provider:et,prefix:ot.shift(),name:ot.join("-")};return j&&!validateIconName(ft)?null:ft}if(_e&&et===""){const ft={provider:et,prefix:"",name:tt};return j&&!validateIconName(ft,_e)?null:ft}return null},validateIconName=(a,j)=>a?!!((a.provider===""||a.provider.match(matchIconName))&&(j&&a.prefix===""||a.prefix.match(matchIconName))&&a.name.match(matchIconName)):!1,defaultIconDimensions=Object.freeze({left:0,top:0,width:16,height:16}),defaultIconTransformations=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),defaultIconProps=Object.freeze({...defaultIconDimensions,...defaultIconTransformations}),defaultExtendedIconProps=Object.freeze({...defaultIconProps,body:"",hidden:!1});function mergeIconTransformations(a,j){const _e={};!a.hFlip!=!j.hFlip&&(_e.hFlip=!0),!a.vFlip!=!j.vFlip&&(_e.vFlip=!0);const et=((a.rotate||0)+(j.rotate||0))%4;return et&&(_e.rotate=et),_e}function mergeIconData(a,j){const _e=mergeIconTransformations(a,j);for(const et in defaultExtendedIconProps)et in defaultIconTransformations?et in a&&!(et in _e)&&(_e[et]=defaultIconTransformations[et]):et in j?_e[et]=j[et]:et in a&&(_e[et]=a[et]);return _e}function getIconsTree(a,j){const _e=a.icons,et=a.aliases||Object.create(null),nt=Object.create(null);function tt(ot){if(_e[ot])return nt[ot]=[];if(!(ot in nt)){nt[ot]=null;const ft=et[ot]&&et[ot].parent,dt=ft&&tt(ft);dt&&(nt[ot]=[ft].concat(dt))}return nt[ot]}return Object.keys(_e).concat(Object.keys(et)).forEach(tt),nt}function internalGetIconData(a,j,_e){const et=a.icons,nt=a.aliases||Object.create(null);let tt={};function ot(ft){tt=mergeIconData(et[ft]||nt[ft],tt)}return ot(j),_e.forEach(ot),mergeIconData(a,tt)}function parseIconSet(a,j){const _e=[];if(typeof a!="object"||typeof a.icons!="object")return _e;a.not_found instanceof Array&&a.not_found.forEach(nt=>{j(nt,null),_e.push(nt)});const et=getIconsTree(a);for(const nt in et){const tt=et[nt];tt&&(j(nt,internalGetIconData(a,nt,tt)),_e.push(nt))}return _e}const optionalPropertyDefaults={provider:"",aliases:{},not_found:{},...defaultIconDimensions};function checkOptionalProps(a,j){for(const _e in j)if(_e in a&&typeof a[_e]!=typeof j[_e])return!1;return!0}function quicklyValidateIconSet(a){if(typeof a!="object"||a===null)return null;const j=a;if(typeof j.prefix!="string"||!a.icons||typeof a.icons!="object"||!checkOptionalProps(a,optionalPropertyDefaults))return null;const _e=j.icons;for(const nt in _e){const tt=_e[nt];if(!nt.match(matchIconName)||typeof tt.body!="string"||!checkOptionalProps(tt,defaultExtendedIconProps))return null}const et=j.aliases||Object.create(null);for(const nt in et){const tt=et[nt],ot=tt.parent;if(!nt.match(matchIconName)||typeof ot!="string"||!_e[ot]&&!et[ot]||!checkOptionalProps(tt,defaultExtendedIconProps))return null}return j}const dataStorage=Object.create(null);function newStorage(a,j){return{provider:a,prefix:j,icons:Object.create(null),missing:new Set}}function getStorage(a,j){const _e=dataStorage[a]||(dataStorage[a]=Object.create(null));return _e[j]||(_e[j]=newStorage(a,j))}function addIconSet(a,j){return quicklyValidateIconSet(j)?parseIconSet(j,(_e,et)=>{et?a.icons[_e]=et:a.missing.add(_e)}):[]}function addIconToStorage(a,j,_e){try{if(typeof _e.body=="string")return a.icons[j]={..._e},!0}catch{}return!1}let simpleNames=!1;function allowSimpleNames(a){return typeof a=="boolean"&&(simpleNames=a),simpleNames}function getIconData(a){const j=typeof a=="string"?stringToIcon(a,!0,simpleNames):a;if(j){const _e=getStorage(j.provider,j.prefix),et=j.name;return _e.icons[et]||(_e.missing.has(et)?null:void 0)}}function addIcon(a,j){const _e=stringToIcon(a,!0,simpleNames);if(!_e)return!1;const et=getStorage(_e.provider,_e.prefix);return addIconToStorage(et,_e.name,j)}function addCollection(a,j){if(typeof a!="object")return!1;if(typeof j!="string"&&(j=a.provider||""),simpleNames&&!j&&!a.prefix){let nt=!1;return quicklyValidateIconSet(a)&&(a.prefix="",parseIconSet(a,(tt,ot)=>{ot&&addIcon(tt,ot)&&(nt=!0)})),nt}const _e=a.prefix;if(!validateIconName({provider:j,prefix:_e,name:"a"}))return!1;const et=getStorage(j,_e);return!!addIconSet(et,a)}const defaultIconSizeCustomisations=Object.freeze({width:null,height:null}),defaultIconCustomisations=Object.freeze({...defaultIconSizeCustomisations,...defaultIconTransformations}),unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(a,j,_e){if(j===1)return a;if(_e=_e||100,typeof a=="number")return Math.ceil(a*j*_e)/_e;if(typeof a!="string")return a;const et=a.split(unitsSplit);if(et===null||!et.length)return a;const nt=[];let tt=et.shift(),ot=unitsTest.test(tt);for(;;){if(ot){const ft=parseFloat(tt);isNaN(ft)?nt.push(tt):nt.push(Math.ceil(ft*j*_e)/_e)}else nt.push(tt);if(tt=et.shift(),tt===void 0)return nt.join("");ot=!ot}}const isUnsetKeyword=a=>a==="unset"||a==="undefined"||a==="none";function iconToSVG(a,j){const _e={...defaultIconProps,...a},et={...defaultIconCustomisations,...j},nt={left:_e.left,top:_e.top,width:_e.width,height:_e.height};let tt=_e.body;[_e,et].forEach(At=>{const Ct=[],Mt=At.hFlip,kt=At.vFlip;let Pt=At.rotate;Mt?kt?Pt+=2:(Ct.push("translate("+(nt.width+nt.left).toString()+" "+(0-nt.top).toString()+")"),Ct.push("scale(-1 1)"),nt.top=nt.left=0):kt&&(Ct.push("translate("+(0-nt.left).toString()+" "+(nt.height+nt.top).toString()+")"),Ct.push("scale(1 -1)"),nt.top=nt.left=0);let Lt;switch(Pt<0&&(Pt-=Math.floor(Pt/4)*4),Pt=Pt%4,Pt){case 1:Lt=nt.height/2+nt.top,Ct.unshift("rotate(90 "+Lt.toString()+" "+Lt.toString()+")");break;case 2:Ct.unshift("rotate(180 "+(nt.width/2+nt.left).toString()+" "+(nt.height/2+nt.top).toString()+")");break;case 3:Lt=nt.width/2+nt.left,Ct.unshift("rotate(-90 "+Lt.toString()+" "+Lt.toString()+")");break}Pt%2===1&&(nt.left!==nt.top&&(Lt=nt.left,nt.left=nt.top,nt.top=Lt),nt.width!==nt.height&&(Lt=nt.width,nt.width=nt.height,nt.height=Lt)),Ct.length&&(tt='<g transform="'+Ct.join(" ")+'">'+tt+"</g>")});const ot=et.width,ft=et.height,dt=nt.width,mt=nt.height;let pt,yt;ot===null?(yt=ft===null?"1em":ft==="auto"?mt:ft,pt=calculateSize(yt,dt/mt)):(pt=ot==="auto"?dt:ot,yt=ft===null?calculateSize(pt,mt/dt):ft==="auto"?mt:ft);const Tt={},St=(At,Ct)=>{isUnsetKeyword(Ct)||(Tt[At]=Ct.toString())};return St("width",pt),St("height",yt),Tt.viewBox=nt.left.toString()+" "+nt.top.toString()+" "+dt.toString()+" "+mt.toString(),{attributes:Tt,body:tt}}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let counter=0;function replaceIDs(a,j=randomPrefix){const _e=[];let et;for(;et=regex.exec(a);)_e.push(et[1]);if(!_e.length)return a;const nt="suffix"+(Math.random()*16777216|Date.now()).toString(16);return _e.forEach(tt=>{const ot=typeof j=="function"?j(tt):j+(counter++).toString(),ft=tt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");a=a.replace(new RegExp('([#;"])('+ft+')([")]|\\.[a-z])',"g"),"$1"+ot+nt+"$3")}),a=a.replace(new RegExp(nt,"g"),""),a}const storage=Object.create(null);function setAPIModule(a,j){storage[a]=j}function getAPIModule(a){return storage[a]||storage[""]}function createAPIConfig(a){let j;if(typeof a.resources=="string")j=[a.resources];else if(j=a.resources,!(j instanceof Array)||!j.length)return null;return{resources:j,path:a.path||"/",maxURL:a.maxURL||500,rotate:a.rotate||750,timeout:a.timeout||5e3,random:a.random===!0,index:a.index||0,dataAfterTimeout:a.dataAfterTimeout!==!1}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)fallBackAPISources.length===1||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});function addAPIProvider(a,j){const _e=createAPIConfig(j);return _e===null?!1:(configStorage[a]=_e,!0)}function getAPIConfig(a){return configStorage[a]}const detectFetch=()=>{let a;try{if(a=fetch,typeof a=="function")return a}catch{}};let fetchModule=detectFetch();function calculateMaxLength(a,j){const _e=getAPIConfig(a);if(!_e)return 0;let et;if(!_e.maxURL)et=0;else{let nt=0;_e.resources.forEach(ot=>{nt=Math.max(nt,ot.length)});const tt=j+".json?icons=";et=_e.maxURL-nt-_e.path.length-tt.length}return et}function shouldAbort(a){return a===404}const prepare=(a,j,_e)=>{const et=[],nt=calculateMaxLength(a,j),tt="icons";let ot={type:tt,provider:a,prefix:j,icons:[]},ft=0;return _e.forEach((dt,mt)=>{ft+=dt.length+1,ft>=nt&&mt>0&&(et.push(ot),ot={type:tt,provider:a,prefix:j,icons:[]},ft=dt.length),ot.icons.push(dt)}),et.push(ot),et};function getPath(a){if(typeof a=="string"){const j=getAPIConfig(a);if(j)return j.path}return"/"}const send=(a,j,_e)=>{if(!fetchModule){_e("abort",424);return}let et=getPath(j.provider);switch(j.type){case"icons":{const tt=j.prefix,ft=j.icons.join(","),dt=new URLSearchParams({icons:ft});et+=tt+".json?"+dt.toString();break}case"custom":{const tt=j.uri;et+=tt.slice(0,1)==="/"?tt.slice(1):tt;break}default:_e("abort",400);return}let nt=503;fetchModule(a+et).then(tt=>{const ot=tt.status;if(ot!==200){setTimeout(()=>{_e(shouldAbort(ot)?"abort":"next",ot)});return}return nt=501,tt.json()}).then(tt=>{if(typeof tt!="object"||tt===null){setTimeout(()=>{tt===404?_e("abort",tt):_e("next",nt)});return}setTimeout(()=>{_e("success",tt)})}).catch(()=>{_e("next",nt)})},fetchAPIModule={prepare,send};function sortIcons(a){const j={loaded:[],missing:[],pending:[]},_e=Object.create(null);a.sort((nt,tt)=>nt.provider!==tt.provider?nt.provider.localeCompare(tt.provider):nt.prefix!==tt.prefix?nt.prefix.localeCompare(tt.prefix):nt.name.localeCompare(tt.name));let et={provider:"",prefix:"",name:""};return a.forEach(nt=>{if(et.name===nt.name&&et.prefix===nt.prefix&&et.provider===nt.provider)return;et=nt;const tt=nt.provider,ot=nt.prefix,ft=nt.name,dt=_e[tt]||(_e[tt]=Object.create(null)),mt=dt[ot]||(dt[ot]=getStorage(tt,ot));let pt;ft in mt.icons?pt=j.loaded:ot===""||mt.missing.has(ft)?pt=j.missing:pt=j.pending;const yt={provider:tt,prefix:ot,name:ft};pt.push(yt)}),j}function removeCallback(a,j){a.forEach(_e=>{const et=_e.loaderCallbacks;et&&(_e.loaderCallbacks=et.filter(nt=>nt.id!==j))})}function updateCallbacks(a){a.pendingCallbacksFlag||(a.pendingCallbacksFlag=!0,setTimeout(()=>{a.pendingCallbacksFlag=!1;const j=a.loaderCallbacks?a.loaderCallbacks.slice(0):[];if(!j.length)return;let _e=!1;const et=a.provider,nt=a.prefix;j.forEach(tt=>{const ot=tt.icons,ft=ot.pending.length;ot.pending=ot.pending.filter(dt=>{if(dt.prefix!==nt)return!0;const mt=dt.name;if(a.icons[mt])ot.loaded.push({provider:et,prefix:nt,name:mt});else if(a.missing.has(mt))ot.missing.push({provider:et,prefix:nt,name:mt});else return _e=!0,!0;return!1}),ot.pending.length!==ft&&(_e||removeCallback([a],tt.id),tt.callback(ot.loaded.slice(0),ot.missing.slice(0),ot.pending.slice(0),tt.abort))})}))}let idCounter=0;function storeCallback(a,j,_e){const et=idCounter++,nt=removeCallback.bind(null,_e,et);if(!j.pending.length)return nt;const tt={id:et,icons:j,callback:a,abort:nt};return _e.forEach(ot=>{(ot.loaderCallbacks||(ot.loaderCallbacks=[])).push(tt)}),nt}function listToIcons(a,j=!0,_e=!1){const et=[];return a.forEach(nt=>{const tt=typeof nt=="string"?stringToIcon(nt,j,_e):nt;tt&&et.push(tt)}),et}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(a,j,_e,et){const nt=a.resources.length,tt=a.random?Math.floor(Math.random()*nt):a.index;let ot;if(a.random){let jt=a.resources.slice(0);for(ot=[];jt.length>1;){const Wt=Math.floor(Math.random()*jt.length);ot.push(jt[Wt]),jt=jt.slice(0,Wt).concat(jt.slice(Wt+1))}ot=ot.concat(jt)}else ot=a.resources.slice(tt).concat(a.resources.slice(0,tt));const ft=Date.now();let dt="pending",mt=0,pt,yt=null,Tt=[],St=[];typeof et=="function"&&St.push(et);function At(){yt&&(clearTimeout(yt),yt=null)}function Ct(){dt==="pending"&&(dt="aborted"),At(),Tt.forEach(jt=>{jt.status==="pending"&&(jt.status="aborted")}),Tt=[]}function Mt(jt,Wt){Wt&&(St=[]),typeof jt=="function"&&St.push(jt)}function kt(){return{startTime:ft,payload:j,status:dt,queriesSent:mt,queriesPending:Tt.length,subscribe:Mt,abort:Ct}}function Pt(){dt="failed",St.forEach(jt=>{jt(void 0,pt)})}function Lt(){Tt.forEach(jt=>{jt.status==="pending"&&(jt.status="aborted")}),Tt=[]}function Ft(jt,Wt,sn){const ln=Wt!=="success";switch(Tt=Tt.filter(vn=>vn!==jt),dt){case"pending":break;case"failed":if(ln||!a.dataAfterTimeout)return;break;default:return}if(Wt==="abort"){pt=sn,Pt();return}if(ln){pt=sn,Tt.length||(ot.length?Yt():Pt());return}if(At(),Lt(),!a.random){const vn=a.resources.indexOf(jt.resource);vn!==-1&&vn!==a.index&&(a.index=vn)}dt="completed",St.forEach(vn=>{vn(sn)})}function Yt(){if(dt!=="pending")return;At();const jt=ot.shift();if(jt===void 0){if(Tt.length){yt=setTimeout(()=>{At(),dt==="pending"&&(Lt(),Pt())},a.timeout);return}Pt();return}const Wt={status:"pending",resource:jt,callback:(sn,ln)=>{Ft(Wt,sn,ln)}};Tt.push(Wt),mt++,yt=setTimeout(Yt,a.rotate),_e(jt,j,Wt.callback)}return setTimeout(Yt),kt}function initRedundancy(a){const j={...defaultConfig,...a};let _e=[];function et(){_e=_e.filter(ft=>ft().status==="pending")}function nt(ft,dt,mt){const pt=sendQuery(j,ft,dt,(yt,Tt)=>{et(),mt&&mt(yt,Tt)});return _e.push(pt),pt}function tt(ft){return _e.find(dt=>ft(dt))||null}return{query:nt,find:tt,setIndex:ft=>{j.index=ft},getIndex:()=>j.index,cleanup:et}}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(a){if(!redundancyCache[a]){const j=getAPIConfig(a);if(!j)return;const _e=initRedundancy(j),et={config:j,redundancy:_e};redundancyCache[a]=et}return redundancyCache[a]}function sendAPIQuery(a,j,_e){let et,nt;if(typeof a=="string"){const tt=getAPIModule(a);if(!tt)return _e(void 0,424),emptyCallback$1;nt=tt.send;const ot=getRedundancyCache(a);ot&&(et=ot.redundancy)}else{const tt=createAPIConfig(a);if(tt){et=initRedundancy(tt);const ot=a.resources?a.resources[0]:"",ft=getAPIModule(ot);ft&&(nt=ft.send)}}return!et||!nt?(_e(void 0,424),emptyCallback$1):et.query(j,nt,_e)().abort}const browserCacheVersion="iconify2",browserCachePrefix="iconify",browserCacheCountKey=browserCachePrefix+"-count",browserCacheVersionKey=browserCachePrefix+"-version",browserStorageHour=36e5,browserStorageCacheExpiration=168;function getStoredItem(a,j){try{return a.getItem(j)}catch{}}function setStoredItem(a,j,_e){try{return a.setItem(j,_e),!0}catch{}}function removeStoredItem(a,j){try{a.removeItem(j)}catch{}}function setBrowserStorageItemsCount(a,j){return setStoredItem(a,browserCacheCountKey,j.toString())}function getBrowserStorageItemsCount(a){return parseInt(getStoredItem(a,browserCacheCountKey))||0}const browserStorageConfig={local:!0,session:!0},browserStorageEmptyItems={local:new Set,session:new Set};let browserStorageStatus=!1;function setBrowserStorageStatus(a){browserStorageStatus=a}let _window=typeof window>"u"?{}:window;function getBrowserStorage(a){const j=a+"Storage";try{if(_window&&_window[j]&&typeof _window[j].length=="number")return _window[j]}catch{}browserStorageConfig[a]=!1}function iterateBrowserStorage(a,j){const _e=getBrowserStorage(a);if(!_e)return;const et=getStoredItem(_e,browserCacheVersionKey);if(et!==browserCacheVersion){if(et){const ft=getBrowserStorageItemsCount(_e);for(let dt=0;dt<ft;dt++)removeStoredItem(_e,browserCachePrefix+dt.toString())}setStoredItem(_e,browserCacheVersionKey,browserCacheVersion),setBrowserStorageItemsCount(_e,0);return}const nt=Math.floor(Date.now()/browserStorageHour)-browserStorageCacheExpiration,tt=ft=>{const dt=browserCachePrefix+ft.toString(),mt=getStoredItem(_e,dt);if(typeof mt=="string"){try{const pt=JSON.parse(mt);if(typeof pt=="object"&&typeof pt.cached=="number"&&pt.cached>nt&&typeof pt.provider=="string"&&typeof pt.data=="object"&&typeof pt.data.prefix=="string"&&j(pt,ft))return!0}catch{}removeStoredItem(_e,dt)}};let ot=getBrowserStorageItemsCount(_e);for(let ft=ot-1;ft>=0;ft--)tt(ft)||(ft===ot-1?(ot--,setBrowserStorageItemsCount(_e,ot)):browserStorageEmptyItems[a].add(ft))}function initBrowserStorage(){if(!browserStorageStatus){setBrowserStorageStatus(!0);for(const a in browserStorageConfig)iterateBrowserStorage(a,j=>{const _e=j.data,et=j.provider,nt=_e.prefix,tt=getStorage(et,nt);if(!addIconSet(tt,_e).length)return!1;const ot=_e.lastModified||-1;return tt.lastModifiedCached=tt.lastModifiedCached?Math.min(tt.lastModifiedCached,ot):ot,!0})}}function updateLastModified(a,j){const _e=a.lastModifiedCached;if(_e&&_e>=j)return _e===j;if(a.lastModifiedCached=j,_e)for(const et in browserStorageConfig)iterateBrowserStorage(et,nt=>{const tt=nt.data;return nt.provider!==a.provider||tt.prefix!==a.prefix||tt.lastModified===j});return!0}function storeInBrowserStorage(a,j){browserStorageStatus||initBrowserStorage();function _e(et){let nt;if(!browserStorageConfig[et]||!(nt=getBrowserStorage(et)))return;const tt=browserStorageEmptyItems[et];let ot;if(tt.size)tt.delete(ot=Array.from(tt).shift());else if(ot=getBrowserStorageItemsCount(nt),!setBrowserStorageItemsCount(nt,ot+1))return;const ft={cached:Math.floor(Date.now()/browserStorageHour),provider:a.provider,data:j};return setStoredItem(nt,browserCachePrefix+ot.toString(),JSON.stringify(ft))}j.lastModified&&!updateLastModified(a,j.lastModified)||Object.keys(j.icons).length&&(j.not_found&&(j=Object.assign({},j),delete j.not_found),_e("local")||_e("session"))}function emptyCallback(){}function loadedNewIcons(a){a.iconsLoaderFlag||(a.iconsLoaderFlag=!0,setTimeout(()=>{a.iconsLoaderFlag=!1,updateCallbacks(a)}))}function loadNewIcons(a,j){a.iconsToLoad?a.iconsToLoad=a.iconsToLoad.concat(j).sort():a.iconsToLoad=j,a.iconsQueueFlag||(a.iconsQueueFlag=!0,setTimeout(()=>{a.iconsQueueFlag=!1;const{provider:_e,prefix:et}=a,nt=a.iconsToLoad;delete a.iconsToLoad;let tt;if(!nt||!(tt=getAPIModule(_e)))return;tt.prepare(_e,et,nt).forEach(ft=>{sendAPIQuery(_e,ft,dt=>{if(typeof dt!="object")ft.icons.forEach(mt=>{a.missing.add(mt)});else try{const mt=addIconSet(a,dt);if(!mt.length)return;const pt=a.pendingIcons;pt&&mt.forEach(yt=>{pt.delete(yt)}),storeInBrowserStorage(a,dt)}catch(mt){console.error(mt)}loadedNewIcons(a)})})}))}const loadIcons=(a,j)=>{const _e=listToIcons(a,!0,allowSimpleNames()),et=sortIcons(_e);if(!et.pending.length){let dt=!0;return j&&setTimeout(()=>{dt&&j(et.loaded,et.missing,et.pending,emptyCallback)}),()=>{dt=!1}}const nt=Object.create(null),tt=[];let ot,ft;return et.pending.forEach(dt=>{const{provider:mt,prefix:pt}=dt;if(pt===ft&&mt===ot)return;ot=mt,ft=pt,tt.push(getStorage(mt,pt));const yt=nt[mt]||(nt[mt]=Object.create(null));yt[pt]||(yt[pt]=[])}),et.pending.forEach(dt=>{const{provider:mt,prefix:pt,name:yt}=dt,Tt=getStorage(mt,pt),St=Tt.pendingIcons||(Tt.pendingIcons=new Set);St.has(yt)||(St.add(yt),nt[mt][pt].push(yt))}),tt.forEach(dt=>{const{provider:mt,prefix:pt}=dt;nt[mt][pt].length&&loadNewIcons(dt,nt[mt][pt])}),j?storeCallback(j,et,tt):emptyCallback},loadIcon=a=>new Promise((j,_e)=>{const et=typeof a=="string"?stringToIcon(a,!0):a;if(!et){_e(a);return}loadIcons([et||a],nt=>{if(nt.length&&et){const tt=getIconData(et);if(tt){j({...defaultIconProps,...tt});return}}_e(a)})});function mergeCustomisations(a,j){const _e={...a};for(const et in j){const nt=j[et],tt=typeof nt;et in defaultIconSizeCustomisations?(nt===null||nt&&(tt==="string"||tt==="number"))&&(_e[et]=nt):tt===typeof _e[et]&&(_e[et]=et==="rotate"?nt%4:nt)}return _e}const separator=/[\s,]+/;function flipFromString(a,j){j.split(separator).forEach(_e=>{switch(_e.trim()){case"horizontal":a.hFlip=!0;break;case"vertical":a.vFlip=!0;break}})}function rotateFromString(a,j=0){const _e=a.replace(/^-?[0-9.]*/,"");function et(nt){for(;nt<0;)nt+=4;return nt%4}if(_e===""){const nt=parseInt(a);return isNaN(nt)?0:et(nt)}else if(_e!==a){let nt=0;switch(_e){case"%":nt=25;break;case"deg":nt=90}if(nt){let tt=parseFloat(a.slice(0,a.length-_e.length));return isNaN(tt)?0:(tt=tt/nt,tt%1===0?et(tt):0)}}return j}function iconToHTML(a,j){let _e=a.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const et in j)_e+=" "+et+'="'+j[et]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+_e+">"+a+"</svg>"}function encodeSVGforURL(a){return a.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function svgToData(a){return"data:image/svg+xml,"+encodeSVGforURL(a)}function svgToURL(a){return'url("'+svgToData(a)+'")'}let policy;function createPolicy(){try{policy=window.trustedTypes.createPolicy("iconify",{createHTML:a=>a})}catch{policy=null}}function cleanUpInnerHTML(a){return policy===void 0&&createPolicy(),policy?policy.createHTML(a):a}const defaultExtendedIconCustomisations={...defaultIconCustomisations,inline:!1},svgDefaults={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},commonProps={display:"inline-block"},monotoneProps={backgroundColor:"currentColor"},coloredProps={backgroundColor:"transparent"},propsToAdd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},propsToAddTo={WebkitMask:monotoneProps,mask:monotoneProps,background:coloredProps};for(const a in propsToAddTo){const j=propsToAddTo[a];for(const _e in propsToAdd)j[a+_e]=propsToAdd[_e]}const inlineDefaults={...defaultExtendedIconCustomisations,inline:!0};function fixSize(a){return a+(a.match(/^[-0-9.]+$/)?"px":"")}const render=(a,j,_e,et)=>{const nt=_e?inlineDefaults:defaultExtendedIconCustomisations,tt=mergeCustomisations(nt,j),ot=j.mode||"svg",ft={},dt=j.style||{},mt={...ot==="svg"?svgDefaults:{},ref:et};for(let kt in j){const Pt=j[kt];if(Pt!==void 0)switch(kt){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":tt[kt]=Pt===!0||Pt==="true"||Pt===1;break;case"flip":typeof Pt=="string"&&flipFromString(tt,Pt);break;case"color":ft.color=Pt;break;case"rotate":typeof Pt=="string"?tt[kt]=rotateFromString(Pt):typeof Pt=="number"&&(tt[kt]=Pt);break;case"ariaHidden":case"aria-hidden":Pt!==!0&&Pt!=="true"&&delete mt["aria-hidden"];break;default:nt[kt]===void 0&&(mt[kt]=Pt)}}const pt=iconToSVG(a,tt),yt=pt.attributes;if(tt.inline&&(ft.verticalAlign="-0.125em"),ot==="svg"){mt.style={...ft,...dt},Object.assign(mt,yt);let kt=0,Pt=j.id;return typeof Pt=="string"&&(Pt=Pt.replace(/-/g,"_")),mt.dangerouslySetInnerHTML={__html:cleanUpInnerHTML(replaceIDs(pt.body,Pt?()=>Pt+"ID"+kt++:"iconifyReact"))},React$2.createElement("svg",mt)}const{body:Tt,width:St,height:At}=a,Ct=ot==="mask"||(ot==="bg"?!1:Tt.indexOf("currentColor")!==-1),Mt=iconToHTML(Tt,{...yt,width:St+"",height:At+""});return mt.style={...ft,"--svg":svgToURL(Mt),width:fixSize(yt.width),height:fixSize(yt.height),...commonProps,...Ct?monotoneProps:coloredProps,...dt},React$2.createElement("span",mt)};allowSimpleNames(!0);setAPIModule("",fetchAPIModule);if(typeof document<"u"&&typeof window<"u"){initBrowserStorage();const a=window;if(a.IconifyPreload!==void 0){const j=a.IconifyPreload,_e="Invalid IconifyPreload syntax.";typeof j=="object"&&j!==null&&(j instanceof Array?j:[j]).forEach(et=>{try{(typeof et!="object"||et===null||et instanceof Array||typeof et.icons!="object"||typeof et.prefix!="string"||!addCollection(et))&&console.error(_e)}catch{console.error(_e)}})}if(a.IconifyProviders!==void 0){const j=a.IconifyProviders;if(typeof j=="object"&&j!==null)for(let _e in j){const et="IconifyProviders["+_e+"] is invalid.";try{const nt=j[_e];if(typeof nt!="object"||!nt||nt.resources===void 0)continue;addAPIProvider(_e,nt)||console.error(et)}catch{console.error(et)}}}}class IconComponent extends React$2.Component{constructor(j){super(j),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(j){this.state.icon!==j&&this.setState({icon:j})}_checkIcon(j){const _e=this.state,et=this.props.icon;if(typeof et=="object"&&et!==null&&typeof et.body=="string"){this._icon="",this._abortLoading(),(j||_e.icon===null)&&this._setData({data:et});return}let nt;if(typeof et!="string"||(nt=stringToIcon(et,!1,!0))===null){this._abortLoading(),this._setData(null);return}const tt=getIconData(nt);if(!tt){(!this._loading||this._loading.name!==et)&&(this._abortLoading(),this._icon="",this._setData(null),tt!==null&&(this._loading={name:et,abort:loadIcons([nt],this._checkIcon.bind(this,!1))}));return}if(this._icon!==et||_e.icon===null){this._abortLoading(),this._icon=et;const ot=["iconify"];nt.prefix!==""&&ot.push("iconify--"+nt.prefix),nt.provider!==""&&ot.push("iconify--"+nt.provider),this._setData({data:tt,classes:ot}),this.props.onLoad&&this.props.onLoad(et)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(j){j.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const j=this.props,_e=this.state.icon;if(_e===null)return j.children?j.children:React$2.createElement("span",{});let et=j;return _e.classes&&(et={...j,className:(typeof j.className=="string"?j.className+" ":"")+_e.classes.join(" ")}),render({...defaultIconProps,..._e.data},et,j._inline,j._ref)}}const Icon=React$2.forwardRef(function(j,_e){const et={...j,_ref:_e,_inline:!1};return React$2.createElement(IconComponent,et)});React$2.forwardRef(function(j,_e){const et={...j,_ref:_e,_inline:!0};return React$2.createElement(IconComponent,et)});const data$w={width:24,height:24,body:'<path fill="currentColor" d="M9.575 12L5.7 8.1q-.275-.275-.288-.688T5.7 6.7q.275-.275.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375q0 .2-.062.375t-.213.325l-4.6 4.6q-.275.275-.687.288T5.7 17.3q-.275-.275-.275-.7t.275-.7L9.575 12Zm6.6 0L12.3 8.1q-.275-.275-.288-.688T12.3 6.7q.275-.275.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.6 4.6q-.275.275-.687.288T12.3 17.3q-.275-.275-.275-.7t.275-.7l3.875-3.9Z"/>'};var appleIphone=/iPhone/i,appleIpod=/iPod/i,appleTablet=/iPad/i,appleUniversal=/\biOS-universal(?:.+)Mac\b/i,androidPhone=/\bAndroid(?:.+)Mobile\b/i,androidTablet=/Android/i,amazonPhone=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,amazonTablet=/Silk/i,windowsPhone=/Windows Phone/i,windowsTablet=/\bWindows(?:.+)ARM\b/i,otherBlackBerry=/BlackBerry/i,otherBlackBerry10=/BB10/i,otherOpera=/Opera Mini/i,otherChrome=/\b(CriOS|Chrome)(?:.+)Mobile/i,otherFirefox=/Mobile(?:.+)Firefox\b/i,isAppleTabletOnIos13=function(a){return typeof a<"u"&&a.platform==="MacIntel"&&typeof a.maxTouchPoints=="number"&&a.maxTouchPoints>1&&typeof MSStream>"u"};function createMatch(a){return function(j){return j.test(a)}}function isMobile(a){var j={userAgent:"",platform:"",maxTouchPoints:0};!a&&typeof navigator<"u"?j={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof a=="string"?j.userAgent=a:a&&a.userAgent&&(j={userAgent:a.userAgent,platform:a.platform,maxTouchPoints:a.maxTouchPoints||0});var _e=j.userAgent,et=_e.split("[FBAN");typeof et[1]<"u"&&(_e=et[0]),et=_e.split("Twitter"),typeof et[1]<"u"&&(_e=et[0]);var nt=createMatch(_e),tt={apple:{phone:nt(appleIphone)&&!nt(windowsPhone),ipod:nt(appleIpod),tablet:!nt(appleIphone)&&(nt(appleTablet)||isAppleTabletOnIos13(j))&&!nt(windowsPhone),universal:nt(appleUniversal),device:(nt(appleIphone)||nt(appleIpod)||nt(appleTablet)||nt(appleUniversal)||isAppleTabletOnIos13(j))&&!nt(windowsPhone)},amazon:{phone:nt(amazonPhone),tablet:!nt(amazonPhone)&&nt(amazonTablet),device:nt(amazonPhone)||nt(amazonTablet)},android:{phone:!nt(windowsPhone)&&nt(amazonPhone)||!nt(windowsPhone)&&nt(androidPhone),tablet:!nt(windowsPhone)&&!nt(amazonPhone)&&!nt(androidPhone)&&(nt(amazonTablet)||nt(androidTablet)),device:!nt(windowsPhone)&&(nt(amazonPhone)||nt(amazonTablet)||nt(androidPhone)||nt(androidTablet))||nt(/\bokhttp\b/i)},windows:{phone:nt(windowsPhone),tablet:nt(windowsTablet),device:nt(windowsPhone)||nt(windowsTablet)},other:{blackberry:nt(otherBlackBerry),blackberry10:nt(otherBlackBerry10),opera:nt(otherOpera),firefox:nt(otherFirefox),chrome:nt(otherChrome),device:nt(otherBlackBerry)||nt(otherBlackBerry10)||nt(otherOpera)||nt(otherFirefox)||nt(otherChrome)},any:!1,phone:!1,tablet:!1};return tt.any=tt.apple.device||tt.android.device||tt.windows.device||tt.other.device,tt.phone=tt.apple.phone||tt.android.phone||tt.windows.phone,tt.tablet=tt.apple.tablet||tt.android.tablet||tt.windows.tablet,tt}const DID_WALLET_TAG="ABTWallet",ARC_SPHERE_TAG="ArcSphere";function getDIDWalletVersion(a){var nt;const _e=new RegExp(`${DID_WALLET_TAG}/(?<version>[0-9.]+)`,"g").exec(a);return(nt=_e==null?void 0:_e.groups)==null?void 0:nt.version}function useBrowser(){var _e;const a=(_e=window==null?void 0:window.navigator)==null?void 0:_e.userAgent,[j]=reactExports.useState({wallet:a.indexOf(DID_WALLET_TAG)>-1||a.indexOf(ARC_SPHERE_TAG)>-1,walletVersion:getDIDWalletVersion(a),wechat:/MicroMessenger/i.test(a),mobile:{apple:{phone:!1,ipod:!1,tablet:!1,device:!1},amazon:{phone:!1,tablet:!1,device:!1},android:{phone:!1,tablet:!1,device:!1},windows:{phone:!1,tablet:!1,device:!1},other:{blackberry:!1,blackberry10:!1,opera:!1,firefox:!1,chrome:!1,device:!1},phone:!1,tablet:!1,any:!1,...isMobile(a)}});return j}const extendedColors={did:{contained:{backgroundColor:colors$2.did.primary,color:colors$2.common.white},outlined:{borderColor:colors$2.did.primary,color:colors$2.did.primary}},reverse:{contained:{backgroundColor:"rgba(255, 255, 255, 0.9)",color:colors$2.grey[900]},outlined:{borderColor:colors$2.grey[900],color:colors$2.grey[900]}}};function wrap$1(a){function j(_e){const et=mergeProps(_e,j,["style"]),{children:nt,rounded:tt,loading:ot,disabled:ft,style:dt,forwardedRef:mt,color:pt,...yt}=et,Tt=ft||ot;let St=16;switch(yt.size){case"small":St=14;break;case"large":St=18;break}const At=extendedColors[pt]&&extendedColors[pt][yt.variant],Ct=Object.assign({},dt,{boxShadow:"none",textTransform:"capitalize",...At});let Mt=yt;return At||(Mt={...Mt,color:pt}),tt&&(Ct.borderRadius="100vw"),jsxRuntimeExports.jsxs(a,{style:Ct,ref:mt,disabled:Tt,...Mt,children:[ot&&jsxRuntimeExports.jsx(CircularProgress,{size:St,style:{marginRight:5}}),nt]})}return j.propTypes={children:PropTypes.any.isRequired,style:PropTypes.oneOfType([PropTypes.object,PropTypes.string]),size:PropTypes.oneOf(["large","medium","small"]),forwardedRef:PropTypes.any,rounded:PropTypes.bool},j.defaultProps={rounded:!1,size:"medium",forwardedRef:null,style:{}},reactExports.forwardRef((_e,et)=>jsxRuntimeExports.jsx(j,{..._e,forwardedRef:et}))}const ButtonComponent=wrap$1(Button$1);function Dialog({children:a,title:j,prepend:_e,toolbar:et,actions:nt,showCloseButton:tt,actionsPosition:ot,PaperProps:ft,slotProps:dt,...mt}){const pt=useTheme$1(),yt=useMediaQuery(pt.breakpoints.down("md")),Tt=j||tt||et,St=(Ct,Mt)=>{const{onClose:kt}=mt;kt&&kt(Ct,Mt)};ft.style=Object.assign({minWidth:300,minHeight:300},ft.style);const At=jsxRuntimeExports.jsx(IconButton,{className:"ux-dialog_closeButton",onClick:Ct=>St(Ct,"closeButton"),children:jsxRuntimeExports.jsx(default_1$7,{})});return jsxRuntimeExports.jsxs(StyledMuiDialog,{fullScreen:yt,onClose:St,PaperProps:ft,...mt,children:[Tt&&jsxRuntimeExports.jsxs(Header$1,{...dt.header,className:"ux-dialog_header",isMobile:yt,children:[jsxRuntimeExports.jsxs("div",{className:"ux-dialog_left",children:[tt&&yt&&At,_e&&jsxRuntimeExports.jsx("div",{className:"ux-dialog_prepend",children:_e}),j&&jsxRuntimeExports.jsx(Typography,{variant:"h6",className:"ux-dialog_title",children:j})]}),jsxRuntimeExports.jsxs("div",{className:"ux-dialog_right",children:[jsxRuntimeExports.jsx("div",{className:"ux-dialog_toolbar",children:et}),tt&&!yt&&At]})]}),jsxRuntimeExports.jsx(DialogContent,{...dt.content,children:a}),nt&&jsxRuntimeExports.jsx(DialogActions,{className:`ux-dialog_actions--${ot}`,children:nt})]})}Dialog.propTypes={children:PropTypes.node.isRequired,title:PropTypes.node,prepend:PropTypes.node,toolbar:PropTypes.node,actions:PropTypes.node,showCloseButton:PropTypes.bool,actionsPosition:PropTypes.oneOf(["left","center","right"]),PaperProps:PropTypes.object,slotProps:PropTypes.shape({content:PropTypes.object,header:PropTypes.object}),onClose:PropTypes.func};Dialog.defaultProps={title:"",prepend:null,toolbar:null,actions:null,showCloseButton:!0,actionsPosition:"right",PaperProps:{},slotProps:{},onClose:void 0};const StyledMuiDialog=styled(Dialog$1)`
262
262
  .MuiDialog-paper {
263
263
  ${a=>a.fullScreen?"border-radius: 0;":""};
264
264
  }
@@ -401,7 +401,7 @@ object-assign
401
401
  overflow: visible;
402
402
  text-overflow: unset;
403
403
  }
404
- `;function DidAddressWrapper({responsive:a,...j}){return a?jsxRuntimeExports.jsx(ResponsiveDidAddress,{...j}):jsxRuntimeExports.jsx(DidAddress,{...j})}DidAddressWrapper.propTypes={responsive:PropTypes.bool};DidAddressWrapper.defaultProps={responsive:!0};var changedArray=function(j,_e){return j===void 0&&(j=[]),_e===void 0&&(_e=[]),j.length!==_e.length||j.some(function(et,nt){return!Object.is(et,_e[nt])})},initialState={error:null},ErrorBoundary=function(a){_inheritsLoose$2(j,a);function j(){for(var et,nt=arguments.length,tt=new Array(nt),ot=0;ot<nt;ot++)tt[ot]=arguments[ot];return et=a.call.apply(a,[this].concat(tt))||this,et.state=initialState,et.resetErrorBoundary=function(){for(var ft,dt=arguments.length,mt=new Array(dt),pt=0;pt<dt;pt++)mt[pt]=arguments[pt];et.props.onReset==null||(ft=et.props).onReset.apply(ft,mt),et.reset()},et}j.getDerivedStateFromError=function(nt){return{error:nt}};var _e=j.prototype;return _e.reset=function(){this.setState(initialState)},_e.componentDidCatch=function(nt,tt){var ot,ft;(ot=(ft=this.props).onError)==null||ot.call(ft,nt,tt)},_e.componentDidUpdate=function(nt,tt){var ot=this.state.error,ft=this.props.resetKeys;if(ot!==null&&tt.error!==null&&changedArray(nt.resetKeys,ft)){var dt,mt;(dt=(mt=this.props).onResetKeysChange)==null||dt.call(mt,nt.resetKeys,ft),this.reset()}},_e.render=function(){var nt=this.state.error,tt=this.props,ot=tt.fallbackRender,ft=tt.FallbackComponent,dt=tt.fallback;if(nt!==null){var mt={error:nt,resetErrorBoundary:this.resetErrorBoundary};if(reactExports.isValidElement(dt))return dt;if(typeof ot=="function")return ot(mt);if(ft)return reactExports.createElement(ft,mt);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},j}(reactExports.Component);function withErrorBoundary(a,j){var _e=function(tt){return reactExports.createElement(ErrorBoundary,j,reactExports.createElement(a,tt))},et=a.displayName||a.name||"Unknown";return _e.displayName="withErrorBoundary("+et+")",_e}var observerMap=new Map,RootIds=new WeakMap,rootId=0,unsupportedValue=void 0;function getRootId(a){return a?(RootIds.has(a)||(rootId+=1,RootIds.set(a,rootId.toString())),RootIds.get(a)):"0"}function optionsToId(a){return Object.keys(a).sort().filter(function(j){return a[j]!==void 0}).map(function(j){return j+"_"+(j==="root"?getRootId(a.root):a[j])}).toString()}function createObserver(a){var j=optionsToId(a),_e=observerMap.get(j);if(!_e){var et=new Map,nt,tt=new IntersectionObserver(function(ot){ot.forEach(function(ft){var dt,mt=ft.isIntersecting&&nt.some(function(pt){return ft.intersectionRatio>=pt});a.trackVisibility&&typeof ft.isVisible>"u"&&(ft.isVisible=mt),(dt=et.get(ft.target))==null||dt.forEach(function(pt){pt(mt,ft)})})},a);nt=tt.thresholds||(Array.isArray(a.threshold)?a.threshold:[a.threshold||0]),_e={id:j,observer:tt,elements:et},observerMap.set(j,_e)}return _e}function observe(a,j,_e,et){if(_e===void 0&&(_e={}),et===void 0&&(et=unsupportedValue),typeof window.IntersectionObserver>"u"&&et!==void 0){var nt=a.getBoundingClientRect();return j(et,{isIntersecting:et,target:a,intersectionRatio:typeof _e.threshold=="number"?_e.threshold:0,time:0,boundingClientRect:nt,intersectionRect:nt,rootBounds:nt}),function(){}}var tt=createObserver(_e),ot=tt.id,ft=tt.observer,dt=tt.elements,mt=dt.get(a)||[];return dt.has(a)||dt.set(a,mt),mt.push(j),ft.observe(a),function(){mt.splice(mt.indexOf(j),1),mt.length===0&&(dt.delete(a),ft.unobserve(a)),dt.size===0&&(ft.disconnect(),observerMap.delete(ot))}}function useInView(a){var j=a===void 0?{}:a,_e=j.threshold,et=j.delay,nt=j.trackVisibility,tt=j.rootMargin,ot=j.root,ft=j.triggerOnce,dt=j.skip,mt=j.initialInView,pt=j.fallbackInView,yt=reactExports.useRef(),Tt=reactExports.useState({inView:!!mt}),St=Tt[0],At=Tt[1],Ct=reactExports.useCallback(function(kt){yt.current!==void 0&&(yt.current(),yt.current=void 0),!dt&&kt&&(yt.current=observe(kt,function(Pt,Lt){At({inView:Pt,entry:Lt}),Lt.isIntersecting&&ft&&yt.current&&(yt.current(),yt.current=void 0)},{root:ot,rootMargin:tt,threshold:_e,trackVisibility:nt,delay:et},pt))},[Array.isArray(_e)?_e.toString():_e,ot,tt,ft,dt,nt,pt,et]);reactExports.useEffect(function(){!yt.current&&St.entry&&!ft&&!dt&&At({inView:!!mt})});var Mt=[Ct,St.inView,St.entry];return Mt.ref=Mt[0],Mt.inView=Mt[1],Mt.entry=Mt[2],Mt}const data$u={width:24,height:24,body:'<path fill="currentColor" d="M2.725 21q-.275 0-.5-.138t-.35-.362q-.125-.225-.138-.488t.138-.512l9.25-16q.15-.25.388-.375T12 3q.25 0 .488.125t.387.375l9.25 16q.15.25.138.513t-.138.487q-.125.225-.35.363t-.5.137H2.725ZM12 18q.425 0 .713-.288T13 17q0-.425-.288-.713T12 16q-.425 0-.713.288T11 17q0 .425.288.713T12 18Zm0-3q.425 0 .713-.288T13 14v-3q0-.425-.288-.713T12 10q-.425 0-.713.288T11 11v3q0 .425.288.713T12 15Z"/>'},data$t={width:24,height:24,body:'<path fill="currentColor" d="M5 21q-.825 0-1.413-.588T3 19V5q0-.825.588-1.413T5 3h14q.825 0 1.413.588T21 5v14q0 .825-.588 1.413T19 21H5Zm2-4h10q.3 0 .45-.275t-.05-.525l-2.75-3.675q-.15-.2-.4-.2t-.4.2L11.25 16L9.4 13.525q-.15-.2-.4-.2t-.4.2l-2 2.675q-.2.25-.05.525T7 17Z"/>'},PREFIX$1="Img",classes={root:`${PREFIX$1}-root`};function Img({lazy:a,width:j,height:_e,repeat:et,ratio:nt,alt:tt,size:ot,position:ft,src:dt,placeholder:mt,fallback:pt,style:yt,className:Tt,onError:St,onSuccess:At,...Ct}){const[Mt,kt]=a?useInView({threshold:0,triggerOnce:!0}):[null,!0],[Pt,Lt]=reactExports.useState("init"),Ft=reactExports.useMemo(()=>{switch(Pt){case"init":case"loading":return mt;case"error":return pt;case"loaded":return dt;default:return null}},[mt,pt,dt,Pt]),Yt=j&&_e?100*_e/j:nt*100,jt=reactExports.useMemo(()=>({backgroundImage:Ft?`url(${Ft})`:"",backgroundPosition:ft,backgroundSize:ot,backgroundRepeat:et,paddingTop:`${Yt}%`}),[Ft,ft,ot,Pt]),Wt={...yt,display:"inline-block",width:j?`${j}px`:"100%"};function sn(){const ln=new Image;ln.src=dt,Lt("loading"),ln.onload=()=>{Lt("loaded"),At()},ln.onerror=vn=>{Lt("error"),St(vn)}}return reactExports.useEffect(()=>{kt&&sn()},[kt]),jsxRuntimeExports.jsx(Box,{"data-id":"2",ref:Mt,style:Wt,...Ct,sx:{[`& .${classes.root}`]:{position:"relative",overflow:"hidden","& .image--state, & .image--img":{minWidth:"100%",minHeight:"100%",position:"absolute",top:0,left:"50%",transform:"translateX(-50%)"},"& .image--state":{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"#999",background:"#eee",width:"100%",height:"100%"},"& .image--img":{opacity:0,visibility:"hidden"},"& .image--icon":{fontSize:30,maxWidth:"80%",maxHeight:"80%"}},...Ct.sx},children:jsxRuntimeExports.jsxs("div",{className:`image ${Tt} ${classes.root}`,style:jt,children:[!pt&&Pt==="error"&&jsxRuntimeExports.jsx("div",{className:"image--state",title:"loading image",children:jsxRuntimeExports.jsx(Icon,{icon:data$u,className:"image--icon"})}),!mt&&Pt==="loading"&&jsxRuntimeExports.jsx("div",{className:"image--state",title:"Image load error",children:jsxRuntimeExports.jsx(Icon,{icon:data$t,className:"image--icon"})}),Pt==="loaded"&&jsxRuntimeExports.jsx("img",{className:"image--img",src:dt,alt:tt})]})})}Img.propTypes={src:PropTypes.string.isRequired,alt:PropTypes.string,size:PropTypes.string,position:PropTypes.string,style:PropTypes.object,ratio:PropTypes.number,repeat:PropTypes.string,width:PropTypes.number,height:PropTypes.number,lazy:PropTypes.bool,placeholder:PropTypes.string,fallback:PropTypes.string,className:PropTypes.string,onError:PropTypes.func,onSuccess:PropTypes.func};Img.defaultProps={alt:null,size:"cover",position:"top center",repeat:"no-repeat",style:null,ratio:1,width:null,height:null,lazy:!0,placeholder:null,fallback:null,className:"",onError:noop$7,onSuccess:noop$7};function DIDMotif({did:a,size:j,animation:_e,shape:et,responsive:nt,...tt}){const ot=reactExports.useRef(null);if(reactExports.useLayoutEffect(()=>{update$1(ot.current,a,{size:j,animation:_e,shape:et})},[a,j,et]),nt){const ft={...tt.style,width:"100%"};return jsxRuntimeExports.jsx(Box,{component:"svg",ref:ot,...tt,style:ft})}return jsxRuntimeExports.jsx(Box,{component:"span",...tt,style:{display:"inline-block",width:j,height:j,...tt.style},children:jsxRuntimeExports.jsx(Box,{component:"svg",ref:ot,style:{width:"100%"}})})}DIDMotif.propTypes={did:PropTypes.string.isRequired,size:PropTypes.number,animation:PropTypes.bool,responsive:PropTypes.bool,shape:PropTypes.number};DIDMotif.defaultProps={size:200,animation:!1,responsive:!1,shape:null};const randseed=new Array(4);function seedrand(a){for(let j=0;j<randseed.length;j++)randseed[j]=0;for(let j=0;j<a.length;j++)randseed[j%4]=(randseed[j%4]<<5)-randseed[j%4]+a.charCodeAt(j)}function rand(){const a=randseed[0]^randseed[0]<<11;return randseed[0]=randseed[1],randseed[1]=randseed[2],randseed[2]=randseed[3],randseed[3]=randseed[3]^randseed[3]>>19^a^a>>8,(randseed[3]>>>0)/(1<<31>>>0)}function createColor(){const a=Math.floor(rand()*360),j=`${rand()*60+40}%`,_e=`${(rand()+rand()+rand()+rand())*25}%`;return`hsl(${a},${j},${_e})`}function createImageData(a){const j=a,_e=a,et=Math.ceil(j/2),nt=j-et,tt=[];for(let ot=0;ot<_e;ot++){let ft=[];for(let mt=0;mt<et;mt++)ft[mt]=Math.floor(rand()*2.3);const dt=ft.slice(0,nt);dt.reverse(),ft=ft.concat(dt);for(let mt=0;mt<ft.length;mt++)tt.push(ft[mt])}return tt}function createCanvas(a,j,_e,et,nt){const tt=document.createElement("canvas"),ot=Math.sqrt(a.length);tt.width=tt.height=ot*_e;const ft=tt.getContext("2d");ft.fillStyle=et,ft.fillRect(0,0,tt.width,tt.height),ft.fillStyle=j;for(let dt=0;dt<a.length;dt++){const mt=Math.floor(dt/ot),pt=dt%ot;ft.fillStyle=a[dt]===1?j:nt,a[dt]&&ft.fillRect(pt*_e,mt*_e,_e,_e)}return tt}function createIcon(a){a=a||{};const j=a.size||8,_e=a.scale||4,et=a.seed||Math.floor(Math.random()*10**16).toString(16);seedrand(et);const nt=a.color||createColor(),tt=a.bgcolor||createColor(),ot=a.spotcolor||createColor(),ft=createImageData(j);return createCanvas(ft,nt,_e,tt,ot)}const blockies={createIcon};function Avatar(a){const[j,_e]=reactExports.useState(!1),et=mergeProps(a,Avatar,[]),{did:nt="",size:tt,src:ot,variant:ft,animation:dt,shape:mt,blockiesPadding:pt,responsive:yt,...Tt}=et,St=reactExports.useMemo(()=>isEthereumDid$1(nt)?blockies.createIcon({seed:nt.replace(DID_PREFIX$1,"").toLowerCase(),size:8,scale:16}).toDataURL():null,[nt]);if(ot&&!j)return jsxRuntimeExports.jsx(Img,{width:tt,src:ot,alt:nt,onError:()=>_e(!0),...Tt,className:`avatar-img--${ft} ${(Tt==null?void 0:Tt.className)||""}`,sx:{"& .avatar-img--rounded":{borderRadius:"4px",overflow:"hidden"},"& .avatar-img--circle":{borderRadius:"100%",overflow:"hidden"},...Tt.sx}});if(St){if(pt){const At=tt>24?4:2;return jsxRuntimeExports.jsx(Box,{...Tt,sx:{display:"flex",alignItems:"center",width:tt,height:tt,".blocky-icon-inner":{boxSizing:"border-box",display:"flex",justifyContent:"center",alignItems:"center",width:tt,height:tt*.7,borderRadius:`${Math.min(10,Math.floor(.1*tt+2))}px`,background:"#ddd"},...Tt.sx},children:jsxRuntimeExports.jsx("div",{className:"blocky-icon-inner",children:jsxRuntimeExports.jsx(Img,{width:tt*.7-At*2,src:St,alt:nt})})})}return jsxRuntimeExports.jsx(Img,{...Tt,width:tt,src:St,alt:nt,style:{marginRight:4}})}if(nt)return jsxRuntimeExports.jsx(DIDMotif,{did:nt.replace(DID_PREFIX$1,""),size:tt,animation:dt,shape:Shape[(mt||"").toUpperCase()],responsive:yt,...Tt});throw new Error(`Invalid DID: ${nt}`)}Avatar.propTypes={did:PropTypes.string.isRequired,size:PropTypes.number,variant:PropTypes.oneOf(["circle","rounded","default"]),animation:PropTypes.bool,shape:PropTypes.oneOf(["","rectangle","square","hexagon","circle"]),blockiesPadding:PropTypes.bool,responsive:PropTypes.bool};Avatar.defaultProps={size:36,variant:"default",animation:!1,blockiesPadding:!0,shape:"",responsive:!1};function AvatarWithErrorBoundary(a){const j=a.size||36,_e={rounded:"4px",circle:"100%"}[a.variant]||0;return jsxRuntimeExports.jsx(ErrorBoundary,{fallbackRender:()=>jsxRuntimeExports.jsx(Box,{width:j,height:j,bgcolor:"grey.300",borderRadius:_e}),children:jsxRuntimeExports.jsx(Avatar,{...a})})}AvatarWithErrorBoundary.propTypes=Avatar.propTypes;const translations$6={en:{scanQrcode:"Scan with DID Wallet to transfer token to here",download:"Download",downloadTips:"Don't have DID Wallet ?"},zh:{scanQrcode:"扫描此二维码,用 DID Wallet 转账",download:"下载",downloadTips:"没有 DID Wallet ?"}},DIDPropTypes={did:PropTypes.string.isRequired,size:PropTypes.number,component:PropTypes.string,copyable:PropTypes.bool,responsive:PropTypes.bool,showCopyButtonInTooltip:PropTypes.bool,showAvatar:PropTypes.bool,showQrcode:PropTypes.bool,inline:PropTypes.bool,append:PropTypes.any,compact:PropTypes.bool,startChars:PropTypes.number,endChars:PropTypes.number,locale:PropTypes.oneOf(["en","zh"]),chainId:PropTypes.string},DEFAULT_CHAIN_ID="xenon-2020-01-15",CHAIN_ID_MAP={"main.abtnetwork.io":DEFAULT_CHAIN_ID,"beta.abtnetwork.io":"beta"},getFontColor=(a,j,_e)=>_e?getDIDColor(a):j.color,isSquareMotif=a=>!{0:!0,6:!0,17:!0}[a],getAvatarSize=(a,j,_e)=>j||isSquareMotif(a.roleType)?_e*.75:_e,DID=reactExports.forwardRef(({did:a,showAvatar:j,showQrcode:_e,chainId:et,locale:nt,...tt},ot)=>{var Pt;const ft=useMemoizedFn((Lt,Ft={})=>translate(translations$6,Lt,nt,"en",Ft));try{if(!et){const Lt=(Pt=window==null?void 0:window.blocklet)==null?void 0:Pt.CHAIN_HOST;if(Lt){const Ft=new URL(Lt).hostname;Ft&&(et=CHAIN_ID_MAP[Ft])}}}catch{console.warn("Failed to parse chainHost")}const[dt,mt]=reactExports.useState(!1),pt=isEthereumDid$1(a),yt=pt?void 0:getDIDMotifInfo(a),Tt=getFontSize(tt.size),St=[jsxRuntimeExports.jsx("span",{style:{flex:"0 0 auto",fontSize:Tt,color:getFontColor(a,yt,pt)},children:"DID:"},"prefix-did"),jsxRuntimeExports.jsx("span",{className:"did-address-text",style:{fontSize:Tt},children:"ABT:"},"prefix-abt"),j&&jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:a,size:getAvatarSize(yt,pt,tt.size||18),style:{display:"inline-flex",alignItems:"center",marginLeft:2,marginRight:4},blockiesPadding:!1,className:"did-address-avatar"},"avatar")],At=useMemoizedFn(()=>{mt(!1)}),Ct=useMemoizedFn(Lt=>{Lt.stopPropagation(),Lt.preventDefault(),mt(!0)}),Mt=useCreation(()=>["zh","en"].includes?`https://www.didwallet.io/${nt}`:"https://www.didwallet.io/en",[nt]),kt=useCreation(()=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[ft("downloadTips")," ",jsxRuntimeExports.jsx(Box,{component:"a",href:Mt,target:"_blank",rel:"noreferrer",sx:{color:colors$1.foregroundsFgInteractive,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:ft("download")})]}),[Mt]);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(DidAddressWrapper,{ref:ot,locale:nt,content:`${DID_PREFIX$1}${a}`,...tt,prepend:St,append:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[_e?jsxRuntimeExports.jsx(Box,{component:Icon,icon:data$v,onClick:Ct,sx:{flexShrink:0,cursor:"pointer",ml:tt.copyable?.5:0,color:"grey.500"}}):null,tt.append]}),children:a}),jsxRuntimeExports.jsxs(Dialog$1,{open:dt,onClose:At,maxWidth:"sm",children:[jsxRuntimeExports.jsx(DialogTitle,{align:"center",children:jsxRuntimeExports.jsx(Typography,{variant:"h6",component:"h3",children:ft("scanQrcode")})}),jsxRuntimeExports.jsxs(DialogContent,{align:"center",children:[jsxRuntimeExports.jsx(QRCode$1,{value:`abt://abtwallet.io/i?did=${DID_PREFIX$1}${a}&action=didRecognize&chainID=${et||DEFAULT_CHAIN_ID}`,size:256,renderAs:"svg",level:"M"}),jsxRuntimeExports.jsx(Box,{sx:{marginTop:1,textAlign:"center"},children:jsxRuntimeExports.jsx(DidAddressWrapper,{copyable:!0,locale:nt,content:`${DID_PREFIX$1}${a}`,prepend:St,children:a})}),jsxRuntimeExports.jsx(Typography,{variant:"body2",sx:{color:colors$1.textSubtitle,fontSize:"12px",mt:1},children:kt})]})]})]})});DID.propTypes=DIDPropTypes;DID.defaultProps={size:0,component:"span",copyable:!0,responsive:!0,showCopyButtonInTooltip:!1,showAvatar:!0,showQrcode:!1,inline:!1,append:null,compact:!1,startChars:6,endChars:6,locale:"en",chainId:""};const getCurrentAppPid=a=>{var j;return(a==null?void 0:a.sourceAppPid)||((j=window==null?void 0:window.blocklet)==null?void 0:j.appPid)};function getConnectedAccounts$1(a){var j;return(a==null?void 0:a.connectedAccounts)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.connectedAccounts)||[]}function getSourceProvider$1(a){var j;return(a==null?void 0:a.sourceProvider)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.sourceProvider)||"wallet"}function getWallet$1(a){return getConnectedAccounts$1(a).find(et=>et.provider==="wallet")}function getWalletDid$1(a){const j=getWallet$1(a);return j==null?void 0:j.did}/*! js-cookie v3.0.5 | MIT */function assign(a){for(var j=1;j<arguments.length;j++){var _e=arguments[j];for(var et in _e)a[et]=_e[et]}return a}var defaultConverter={read:function(a){return a[0]==='"'&&(a=a.slice(1,-1)),a.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(a){return encodeURIComponent(a).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function init(a,j){function _e(nt,tt,ot){if(!(typeof document>"u")){ot=assign({},j,ot),typeof ot.expires=="number"&&(ot.expires=new Date(Date.now()+ot.expires*864e5)),ot.expires&&(ot.expires=ot.expires.toUTCString()),nt=encodeURIComponent(nt).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var ft="";for(var dt in ot)ot[dt]&&(ft+="; "+dt,ot[dt]!==!0&&(ft+="="+ot[dt].split(";")[0]));return document.cookie=nt+"="+a.write(tt,nt)+ft}}function et(nt){if(!(typeof document>"u"||arguments.length&&!nt)){for(var tt=document.cookie?document.cookie.split("; "):[],ot={},ft=0;ft<tt.length;ft++){var dt=tt[ft].split("="),mt=dt.slice(1).join("=");try{var pt=decodeURIComponent(dt[0]);if(ot[pt]=a.read(mt,pt),nt===pt)break}catch{}}return nt?ot[nt]:ot}}return Object.create({set:_e,get:et,remove:function(nt,tt){_e(nt,"",assign({},tt,{expires:-1}))},withAttributes:function(nt){return init(this.converter,assign({},this.attributes,nt))},withConverter:function(nt){return init(assign({},this.converter,nt),this.attributes)}},{attributes:{value:Object.freeze(j)},converter:{value:Object.freeze(a)}})}var api$5=init(defaultConverter,{path:"/"}),is,To,Ro,Ds,Fl,Ls,fo,Pp,us,nm,Dp,Lp,Op,rm,Bp;class QuickLRU extends Map{constructor(_e={}){super();Ps(this,fo);Ps(this,is,0);Ps(this,To,new Map);Ps(this,Ro,new Map);Ps(this,Ds);Ps(this,Fl);Ps(this,Ls);if(!(_e.maxSize&&_e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if(typeof _e.maxAge=="number"&&_e.maxAge===0)throw new TypeError("`maxAge` must be a number greater than 0");Ho(this,Ds,_e.maxSize),Ho(this,Fl,_e.maxAge||Number.POSITIVE_INFINITY),Ho(this,Ls,_e.onEviction)}get __oldCache(){return Gr(this,Ro)}get(_e){if(Gr(this,To).has(_e)){const et=Gr(this,To).get(_e);return wo(this,fo,Dp).call(this,_e,et)}if(Gr(this,Ro).has(_e)){const et=Gr(this,Ro).get(_e);if(wo(this,fo,us).call(this,_e,et)===!1)return wo(this,fo,rm).call(this,_e,et),et.value}}set(_e,et,{maxAge:nt=Gr(this,Fl)}={}){const tt=typeof nt=="number"&&nt!==Number.POSITIVE_INFINITY?Date.now()+nt:void 0;return Gr(this,To).has(_e)?Gr(this,To).set(_e,{value:et,expiry:tt}):wo(this,fo,Op).call(this,_e,{value:et,expiry:tt}),this}has(_e){return Gr(this,To).has(_e)?!wo(this,fo,us).call(this,_e,Gr(this,To).get(_e)):Gr(this,Ro).has(_e)?!wo(this,fo,us).call(this,_e,Gr(this,Ro).get(_e)):!1}peek(_e){if(Gr(this,To).has(_e))return wo(this,fo,Lp).call(this,_e,Gr(this,To));if(Gr(this,Ro).has(_e))return wo(this,fo,Lp).call(this,_e,Gr(this,Ro))}delete(_e){const et=Gr(this,To).delete(_e);return et&&Mp(this,is)._--,Gr(this,Ro).delete(_e)||et}clear(){Gr(this,To).clear(),Gr(this,Ro).clear(),Ho(this,is,0)}resize(_e){if(!(_e&&_e>0))throw new TypeError("`maxSize` must be a number greater than 0");const et=[...wo(this,fo,Bp).call(this)],nt=et.length-_e;nt<0?(Ho(this,To,new Map(et)),Ho(this,Ro,new Map),Ho(this,is,et.length)):(nt>0&&wo(this,fo,Pp).call(this,et.slice(0,nt)),Ho(this,Ro,new Map(et.slice(nt))),Ho(this,To,new Map),Ho(this,is,0)),Ho(this,Ds,_e)}*keys(){for(const[_e]of this)yield _e}*values(){for(const[,_e]of this)yield _e}*[Symbol.iterator](){for(const _e of Gr(this,To)){const[et,nt]=_e;wo(this,fo,us).call(this,et,nt)===!1&&(yield[et,nt.value])}for(const _e of Gr(this,Ro)){const[et,nt]=_e;Gr(this,To).has(et)||wo(this,fo,us).call(this,et,nt)===!1&&(yield[et,nt.value])}}*entriesDescending(){let _e=[...Gr(this,To)];for(let et=_e.length-1;et>=0;--et){const nt=_e[et],[tt,ot]=nt;wo(this,fo,us).call(this,tt,ot)===!1&&(yield[tt,ot.value])}_e=[...Gr(this,Ro)];for(let et=_e.length-1;et>=0;--et){const nt=_e[et],[tt,ot]=nt;Gr(this,To).has(tt)||wo(this,fo,us).call(this,tt,ot)===!1&&(yield[tt,ot.value])}}*entriesAscending(){for(const[_e,et]of wo(this,fo,Bp).call(this))yield[_e,et.value]}get size(){if(!Gr(this,is))return Gr(this,Ro).size;let _e=0;for(const et of Gr(this,Ro).keys())Gr(this,To).has(et)||_e++;return Math.min(Gr(this,is)+_e,Gr(this,Ds))}get maxSize(){return Gr(this,Ds)}entries(){return this.entriesAscending()}forEach(_e,et=this){for(const[nt,tt]of this.entriesAscending())_e.call(et,tt,nt,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}is=new WeakMap,To=new WeakMap,Ro=new WeakMap,Ds=new WeakMap,Fl=new WeakMap,Ls=new WeakMap,fo=new WeakSet,Pp=function(_e){if(typeof Gr(this,Ls)=="function")for(const[et,nt]of _e)Gr(this,Ls).call(this,et,nt.value)},us=function(_e,et){return typeof et.expiry=="number"&&et.expiry<=Date.now()?(typeof Gr(this,Ls)=="function"&&Gr(this,Ls).call(this,_e,et.value),this.delete(_e)):!1},nm=function(_e,et){if(wo(this,fo,us).call(this,_e,et)===!1)return et.value},Dp=function(_e,et){return et.expiry?wo(this,fo,nm).call(this,_e,et):et.value},Lp=function(_e,et){const nt=et.get(_e);return wo(this,fo,Dp).call(this,_e,nt)},Op=function(_e,et){Gr(this,To).set(_e,et),Mp(this,is)._++,Gr(this,is)>=Gr(this,Ds)&&(Ho(this,is,0),wo(this,fo,Pp).call(this,Gr(this,Ro)),Ho(this,Ro,Gr(this,To)),Ho(this,To,new Map))},rm=function(_e,et){Gr(this,Ro).delete(_e),wo(this,fo,Op).call(this,_e,et)},Bp=function*(){for(const _e of Gr(this,Ro)){const[et,nt]=_e;Gr(this,To).has(et)||wo(this,fo,us).call(this,et,nt)===!1&&(yield _e)}for(const _e of Gr(this,To)){const[et,nt]=_e;wo(this,fo,us).call(this,et,nt)===!1&&(yield _e)}};function getDefaultExportFromCjs(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var browser$i={exports:{}},process$1=browser$i.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(a){if(cachedSetTimeout===setTimeout)return setTimeout(a,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(a,0);try{return cachedSetTimeout(a,0)}catch{try{return cachedSetTimeout.call(null,a,0)}catch{return cachedSetTimeout.call(this,a,0)}}}function runClearTimeout(a){if(cachedClearTimeout===clearTimeout)return clearTimeout(a);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(a);try{return cachedClearTimeout(a)}catch{try{return cachedClearTimeout.call(null,a)}catch{return cachedClearTimeout.call(this,a)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var a=runTimeout(cleanUpNextTick);draining=!0;for(var j=queue.length;j;){for(currentQueue=queue,queue=[];++queueIndex<j;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,j=queue.length}currentQueue=null,draining=!1,runClearTimeout(a)}}process$1.nextTick=function(a){var j=new Array(arguments.length-1);if(arguments.length>1)for(var _e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];queue.push(new Item(a,j)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(a,j){this.fun=a,this.array=j}Item.prototype.run=function(){this.fun.apply(null,this.array)};process$1.title="browser";process$1.browser=!0;process$1.env={};process$1.argv=[];process$1.version="";process$1.versions={};function noop$5(){}process$1.on=noop$5;process$1.addListener=noop$5;process$1.once=noop$5;process$1.off=noop$5;process$1.removeListener=noop$5;process$1.removeAllListeners=noop$5;process$1.emit=noop$5;process$1.prependListener=noop$5;process$1.prependOnceListener=noop$5;process$1.listeners=function(a){return[]};process$1.binding=function(a){throw new Error("process.binding is not supported")};process$1.cwd=function(){return"/"};process$1.chdir=function(a){throw new Error("process.chdir is not supported")};process$1.umask=function(){return 0};var browserExports$2=browser$i.exports;const process$1$1=getDefaultExportFromCjs(browserExports$2);function bind$2(a,j){return function(){return a.apply(j,arguments)}}const{toString:toString$i}=Object.prototype,{getPrototypeOf:getPrototypeOf$1}=Object,kindOf=(a=>j=>{const _e=toString$i.call(j);return a[_e]||(a[_e]=_e.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=a=>(a=a.toLowerCase(),j=>kindOf(j)===a),typeOfTest=a=>j=>typeof j===a,{isArray:isArray$a}=Array,isUndefined=typeOfTest("undefined");function isBuffer$2(a){return a!==null&&!isUndefined(a)&&a.constructor!==null&&!isUndefined(a.constructor)&&isFunction$2(a.constructor.isBuffer)&&a.constructor.isBuffer(a)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(a){let j;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?j=ArrayBuffer.isView(a):j=a&&a.buffer&&isArrayBuffer(a.buffer),j}const isString$2=typeOfTest("string"),isFunction$2=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$a=a=>a!==null&&typeof a=="object",isBoolean$1=a=>a===!0||a===!1,isPlainObject=a=>{if(kindOf(a)!=="object")return!1;const j=getPrototypeOf$1(a);return(j===null||j===Object.prototype||Object.getPrototypeOf(j)===null)&&!(Symbol.toStringTag in a)&&!(Symbol.iterator in a)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=a=>isObject$a(a)&&isFunction$2(a.pipe),isFormData=a=>{let j;return a&&(typeof FormData=="function"&&a instanceof FormData||isFunction$2(a.append)&&((j=kindOf(a))==="formdata"||j==="object"&&isFunction$2(a.toString)&&a.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest$2,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=a=>a.trim?a.trim():a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach$2(a,j,{allOwnKeys:_e=!1}={}){if(a===null||typeof a>"u")return;let et,nt;if(typeof a!="object"&&(a=[a]),isArray$a(a))for(et=0,nt=a.length;et<nt;et++)j.call(null,a[et],et,a);else{const tt=_e?Object.getOwnPropertyNames(a):Object.keys(a),ot=tt.length;let ft;for(et=0;et<ot;et++)ft=tt[et],j.call(null,a[ft],ft,a)}}function findKey(a,j){j=j.toLowerCase();const _e=Object.keys(a);let et=_e.length,nt;for(;et-- >0;)if(nt=_e[et],j===nt.toLowerCase())return nt;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global$2,isContextDefined=a=>!isUndefined(a)&&a!==_global;function merge(){const{caseless:a}=isContextDefined(this)&&this||{},j={},_e=(et,nt)=>{const tt=a&&findKey(j,nt)||nt;isPlainObject(j[tt])&&isPlainObject(et)?j[tt]=merge(j[tt],et):isPlainObject(et)?j[tt]=merge({},et):isArray$a(et)?j[tt]=et.slice():j[tt]=et};for(let et=0,nt=arguments.length;et<nt;et++)arguments[et]&&forEach$2(arguments[et],_e);return j}const extend$1=(a,j,_e,{allOwnKeys:et}={})=>(forEach$2(j,(nt,tt)=>{_e&&isFunction$2(nt)?a[tt]=bind$2(nt,_e):a[tt]=nt},{allOwnKeys:et}),a),stripBOM=a=>(a.charCodeAt(0)===65279&&(a=a.slice(1)),a),inherits$8=(a,j,_e,et)=>{a.prototype=Object.create(j.prototype,et),a.prototype.constructor=a,Object.defineProperty(a,"super",{value:j.prototype}),_e&&Object.assign(a.prototype,_e)},toFlatObject=(a,j,_e,et)=>{let nt,tt,ot;const ft={};if(j=j||{},a==null)return j;do{for(nt=Object.getOwnPropertyNames(a),tt=nt.length;tt-- >0;)ot=nt[tt],(!et||et(ot,a,j))&&!ft[ot]&&(j[ot]=a[ot],ft[ot]=!0);a=_e!==!1&&getPrototypeOf$1(a)}while(a&&(!_e||_e(a,j))&&a!==Object.prototype);return j},endsWith$1=(a,j,_e)=>{a=String(a),(_e===void 0||_e>a.length)&&(_e=a.length),_e-=j.length;const et=a.indexOf(j,_e);return et!==-1&&et===_e},toArray$2=a=>{if(!a)return null;if(isArray$a(a))return a;let j=a.length;if(!isNumber$1(j))return null;const _e=new Array(j);for(;j-- >0;)_e[j]=a[j];return _e},isTypedArray$3=(a=>j=>a&&j instanceof a)(typeof Uint8Array<"u"&&getPrototypeOf$1(Uint8Array)),forEachEntry=(a,j)=>{const et=(a&&a[Symbol.iterator]).call(a);let nt;for(;(nt=et.next())&&!nt.done;){const tt=nt.value;j.call(a,tt[0],tt[1])}},matchAll=(a,j)=>{let _e;const et=[];for(;(_e=a.exec(j))!==null;)et.push(_e);return et},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=a=>a.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(_e,et,nt){return et.toUpperCase()+nt}),hasOwnProperty$9=(({hasOwnProperty:a})=>(j,_e)=>a.call(j,_e))(Object.prototype),isRegExp$1=kindOfTest("RegExp"),reduceDescriptors=(a,j)=>{const _e=Object.getOwnPropertyDescriptors(a),et={};forEach$2(_e,(nt,tt)=>{let ot;(ot=j(nt,tt,a))!==!1&&(et[tt]=ot||nt)}),Object.defineProperties(a,et)},freezeMethods=a=>{reduceDescriptors(a,(j,_e)=>{if(isFunction$2(a)&&["arguments","caller","callee"].indexOf(_e)!==-1)return!1;const et=a[_e];if(isFunction$2(et)){if(j.enumerable=!1,"writable"in j){j.writable=!1;return}j.set||(j.set=()=>{throw Error("Can not rewrite read-only method '"+_e+"'")})}})},toObjectSet=(a,j)=>{const _e={},et=nt=>{nt.forEach(tt=>{_e[tt]=!0})};return isArray$a(a)?et(a):et(String(a).split(j)),_e},noop$4=()=>{},toFiniteNumber=(a,j)=>a!=null&&Number.isFinite(a=+a)?a:j,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(a=16,j=ALPHABET.ALPHA_DIGIT)=>{let _e="";const{length:et}=j;for(;a--;)_e+=j[Math.random()*et|0];return _e};function isSpecCompliantForm(a){return!!(a&&isFunction$2(a.append)&&a[Symbol.toStringTag]==="FormData"&&a[Symbol.iterator])}const toJSONObject=a=>{const j=new Array(10),_e=(et,nt)=>{if(isObject$a(et)){if(j.indexOf(et)>=0)return;if(!("toJSON"in et)){j[nt]=et;const tt=isArray$a(et)?[]:{};return forEach$2(et,(ot,ft)=>{const dt=_e(ot,nt+1);!isUndefined(dt)&&(tt[ft]=dt)}),j[nt]=void 0,tt}}return et};return _e(a,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=a=>a&&(isObject$a(a)||isFunction$2(a))&&isFunction$2(a.then)&&isFunction$2(a.catch),_setImmediate=((a,j)=>a?setImmediate:j?((_e,et)=>(_global.addEventListener("message",({source:nt,data:tt})=>{nt===_global&&tt===_e&&et.length&&et.shift()()},!1),nt=>{et.push(nt),_global.postMessage(_e,"*")}))(`axios@${Math.random()}`,[]):_e=>setTimeout(_e))(typeof setImmediate=="function",isFunction$2(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof process$1$1<"u"&&process$1$1.nextTick||_setImmediate,utils$o={isArray:isArray$a,isArrayBuffer,isBuffer:isBuffer$2,isFormData,isArrayBufferView,isString:isString$2,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject:isObject$a,isPlainObject,isReadableStream,isRequest:isRequest$2,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp:isRegExp$1,isFunction:isFunction$2,isStream,isURLSearchParams,isTypedArray:isTypedArray$3,isFileList,forEach:forEach$2,merge,extend:extend$1,trim,stripBOM,inherits:inherits$8,toFlatObject,kindOf,kindOfTest,endsWith:endsWith$1,toArray:toArray$2,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$9,hasOwnProp:hasOwnProperty$9,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop:noop$4,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};var buffer$1={},base64Js={};base64Js.byteLength=byteLength;base64Js.toByteArray=toByteArray;base64Js.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;revLookup[45]=62;revLookup[95]=63;function getLens(a){var j=a.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var _e=a.indexOf("=");_e===-1&&(_e=j);var et=_e===j?0:4-_e%4;return[_e,et]}function byteLength(a){var j=getLens(a),_e=j[0],et=j[1];return(_e+et)*3/4-et}function _byteLength(a,j,_e){return(j+_e)*3/4-_e}function toByteArray(a){var j,_e=getLens(a),et=_e[0],nt=_e[1],tt=new Arr(_byteLength(a,et,nt)),ot=0,ft=nt>0?et-4:et,dt;for(dt=0;dt<ft;dt+=4)j=revLookup[a.charCodeAt(dt)]<<18|revLookup[a.charCodeAt(dt+1)]<<12|revLookup[a.charCodeAt(dt+2)]<<6|revLookup[a.charCodeAt(dt+3)],tt[ot++]=j>>16&255,tt[ot++]=j>>8&255,tt[ot++]=j&255;return nt===2&&(j=revLookup[a.charCodeAt(dt)]<<2|revLookup[a.charCodeAt(dt+1)]>>4,tt[ot++]=j&255),nt===1&&(j=revLookup[a.charCodeAt(dt)]<<10|revLookup[a.charCodeAt(dt+1)]<<4|revLookup[a.charCodeAt(dt+2)]>>2,tt[ot++]=j>>8&255,tt[ot++]=j&255),tt}function tripletToBase64(a){return lookup[a>>18&63]+lookup[a>>12&63]+lookup[a>>6&63]+lookup[a&63]}function encodeChunk(a,j,_e){for(var et,nt=[],tt=j;tt<_e;tt+=3)et=(a[tt]<<16&16711680)+(a[tt+1]<<8&65280)+(a[tt+2]&255),nt.push(tripletToBase64(et));return nt.join("")}function fromByteArray(a){for(var j,_e=a.length,et=_e%3,nt=[],tt=16383,ot=0,ft=_e-et;ot<ft;ot+=tt)nt.push(encodeChunk(a,ot,ot+tt>ft?ft:ot+tt));return et===1?(j=a[_e-1],nt.push(lookup[j>>2]+lookup[j<<4&63]+"==")):et===2&&(j=(a[_e-2]<<8)+a[_e-1],nt.push(lookup[j>>10]+lookup[j>>4&63]+lookup[j<<2&63]+"=")),nt.join("")}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ieee754.read=function(a,j,_e,et,nt){var tt,ot,ft=nt*8-et-1,dt=(1<<ft)-1,mt=dt>>1,pt=-7,yt=_e?nt-1:0,Tt=_e?-1:1,St=a[j+yt];for(yt+=Tt,tt=St&(1<<-pt)-1,St>>=-pt,pt+=ft;pt>0;tt=tt*256+a[j+yt],yt+=Tt,pt-=8);for(ot=tt&(1<<-pt)-1,tt>>=-pt,pt+=et;pt>0;ot=ot*256+a[j+yt],yt+=Tt,pt-=8);if(tt===0)tt=1-mt;else{if(tt===dt)return ot?NaN:(St?-1:1)*(1/0);ot=ot+Math.pow(2,et),tt=tt-mt}return(St?-1:1)*ot*Math.pow(2,tt-et)};ieee754.write=function(a,j,_e,et,nt,tt){var ot,ft,dt,mt=tt*8-nt-1,pt=(1<<mt)-1,yt=pt>>1,Tt=nt===23?Math.pow(2,-24)-Math.pow(2,-77):0,St=et?0:tt-1,At=et?1:-1,Ct=j<0||j===0&&1/j<0?1:0;for(j=Math.abs(j),isNaN(j)||j===1/0?(ft=isNaN(j)?1:0,ot=pt):(ot=Math.floor(Math.log(j)/Math.LN2),j*(dt=Math.pow(2,-ot))<1&&(ot--,dt*=2),ot+yt>=1?j+=Tt/dt:j+=Tt*Math.pow(2,1-yt),j*dt>=2&&(ot++,dt/=2),ot+yt>=pt?(ft=0,ot=pt):ot+yt>=1?(ft=(j*dt-1)*Math.pow(2,nt),ot=ot+yt):(ft=j*Math.pow(2,yt-1)*Math.pow(2,nt),ot=0));nt>=8;a[_e+St]=ft&255,St+=At,ft/=256,nt-=8);for(ot=ot<<nt|ft,mt+=nt;mt>0;a[_e+St]=ot&255,St+=At,ot/=256,mt-=8);a[_e+St-At]|=Ct*128};/*!
404
+ `;function DidAddressWrapper({responsive:a,...j}){return a?jsxRuntimeExports.jsx(ResponsiveDidAddress,{...j}):jsxRuntimeExports.jsx(DidAddress,{...j})}DidAddressWrapper.propTypes={responsive:PropTypes.bool};DidAddressWrapper.defaultProps={responsive:!0};var changedArray=function(j,_e){return j===void 0&&(j=[]),_e===void 0&&(_e=[]),j.length!==_e.length||j.some(function(et,nt){return!Object.is(et,_e[nt])})},initialState={error:null},ErrorBoundary=function(a){_inheritsLoose$2(j,a);function j(){for(var et,nt=arguments.length,tt=new Array(nt),ot=0;ot<nt;ot++)tt[ot]=arguments[ot];return et=a.call.apply(a,[this].concat(tt))||this,et.state=initialState,et.resetErrorBoundary=function(){for(var ft,dt=arguments.length,mt=new Array(dt),pt=0;pt<dt;pt++)mt[pt]=arguments[pt];et.props.onReset==null||(ft=et.props).onReset.apply(ft,mt),et.reset()},et}j.getDerivedStateFromError=function(nt){return{error:nt}};var _e=j.prototype;return _e.reset=function(){this.setState(initialState)},_e.componentDidCatch=function(nt,tt){var ot,ft;(ot=(ft=this.props).onError)==null||ot.call(ft,nt,tt)},_e.componentDidUpdate=function(nt,tt){var ot=this.state.error,ft=this.props.resetKeys;if(ot!==null&&tt.error!==null&&changedArray(nt.resetKeys,ft)){var dt,mt;(dt=(mt=this.props).onResetKeysChange)==null||dt.call(mt,nt.resetKeys,ft),this.reset()}},_e.render=function(){var nt=this.state.error,tt=this.props,ot=tt.fallbackRender,ft=tt.FallbackComponent,dt=tt.fallback;if(nt!==null){var mt={error:nt,resetErrorBoundary:this.resetErrorBoundary};if(reactExports.isValidElement(dt))return dt;if(typeof ot=="function")return ot(mt);if(ft)return reactExports.createElement(ft,mt);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},j}(reactExports.Component);function withErrorBoundary(a,j){var _e=function(tt){return reactExports.createElement(ErrorBoundary,j,reactExports.createElement(a,tt))},et=a.displayName||a.name||"Unknown";return _e.displayName="withErrorBoundary("+et+")",_e}var observerMap=new Map,RootIds=new WeakMap,rootId=0,unsupportedValue=void 0;function getRootId(a){return a?(RootIds.has(a)||(rootId+=1,RootIds.set(a,rootId.toString())),RootIds.get(a)):"0"}function optionsToId(a){return Object.keys(a).sort().filter(function(j){return a[j]!==void 0}).map(function(j){return j+"_"+(j==="root"?getRootId(a.root):a[j])}).toString()}function createObserver(a){var j=optionsToId(a),_e=observerMap.get(j);if(!_e){var et=new Map,nt,tt=new IntersectionObserver(function(ot){ot.forEach(function(ft){var dt,mt=ft.isIntersecting&&nt.some(function(pt){return ft.intersectionRatio>=pt});a.trackVisibility&&typeof ft.isVisible>"u"&&(ft.isVisible=mt),(dt=et.get(ft.target))==null||dt.forEach(function(pt){pt(mt,ft)})})},a);nt=tt.thresholds||(Array.isArray(a.threshold)?a.threshold:[a.threshold||0]),_e={id:j,observer:tt,elements:et},observerMap.set(j,_e)}return _e}function observe(a,j,_e,et){if(_e===void 0&&(_e={}),et===void 0&&(et=unsupportedValue),typeof window.IntersectionObserver>"u"&&et!==void 0){var nt=a.getBoundingClientRect();return j(et,{isIntersecting:et,target:a,intersectionRatio:typeof _e.threshold=="number"?_e.threshold:0,time:0,boundingClientRect:nt,intersectionRect:nt,rootBounds:nt}),function(){}}var tt=createObserver(_e),ot=tt.id,ft=tt.observer,dt=tt.elements,mt=dt.get(a)||[];return dt.has(a)||dt.set(a,mt),mt.push(j),ft.observe(a),function(){mt.splice(mt.indexOf(j),1),mt.length===0&&(dt.delete(a),ft.unobserve(a)),dt.size===0&&(ft.disconnect(),observerMap.delete(ot))}}function useInView(a){var j=a===void 0?{}:a,_e=j.threshold,et=j.delay,nt=j.trackVisibility,tt=j.rootMargin,ot=j.root,ft=j.triggerOnce,dt=j.skip,mt=j.initialInView,pt=j.fallbackInView,yt=reactExports.useRef(),Tt=reactExports.useState({inView:!!mt}),St=Tt[0],At=Tt[1],Ct=reactExports.useCallback(function(kt){yt.current!==void 0&&(yt.current(),yt.current=void 0),!dt&&kt&&(yt.current=observe(kt,function(Pt,Lt){At({inView:Pt,entry:Lt}),Lt.isIntersecting&&ft&&yt.current&&(yt.current(),yt.current=void 0)},{root:ot,rootMargin:tt,threshold:_e,trackVisibility:nt,delay:et},pt))},[Array.isArray(_e)?_e.toString():_e,ot,tt,ft,dt,nt,pt,et]);reactExports.useEffect(function(){!yt.current&&St.entry&&!ft&&!dt&&At({inView:!!mt})});var Mt=[Ct,St.inView,St.entry];return Mt.ref=Mt[0],Mt.inView=Mt[1],Mt.entry=Mt[2],Mt}const data$u={width:24,height:24,body:'<path fill="currentColor" d="M2.725 21q-.275 0-.5-.138t-.35-.362q-.125-.225-.138-.488t.138-.512l9.25-16q.15-.25.388-.375T12 3q.25 0 .488.125t.387.375l9.25 16q.15.25.138.513t-.138.487q-.125.225-.35.363t-.5.137H2.725ZM12 18q.425 0 .713-.288T13 17q0-.425-.288-.713T12 16q-.425 0-.713.288T11 17q0 .425.288.713T12 18Zm0-3q.425 0 .713-.288T13 14v-3q0-.425-.288-.713T12 10q-.425 0-.713.288T11 11v3q0 .425.288.713T12 15Z"/>'},data$t={width:24,height:24,body:'<path fill="currentColor" d="M5 21q-.825 0-1.413-.588T3 19V5q0-.825.588-1.413T5 3h14q.825 0 1.413.588T21 5v14q0 .825-.588 1.413T19 21H5Zm2-4h10q.3 0 .45-.275t-.05-.525l-2.75-3.675q-.15-.2-.4-.2t-.4.2L11.25 16L9.4 13.525q-.15-.2-.4-.2t-.4.2l-2 2.675q-.2.25-.05.525T7 17Z"/>'},PREFIX$1="Img",classes={root:`${PREFIX$1}-root`};function Img({lazy:a,width:j,height:_e,repeat:et,ratio:nt,alt:tt,size:ot,position:ft,src:dt,placeholder:mt,fallback:pt,style:yt,className:Tt,onError:St,onSuccess:At,...Ct}){const[Mt,kt]=a?useInView({threshold:0,triggerOnce:!0}):[null,!0],[Pt,Lt]=reactExports.useState("init"),Ft=reactExports.useMemo(()=>{switch(Pt){case"init":case"loading":return mt;case"error":return pt;case"loaded":return dt;default:return null}},[mt,pt,dt,Pt]),Yt=j&&_e?100*_e/j:nt*100,jt=reactExports.useMemo(()=>({backgroundImage:Ft?`url(${Ft})`:"",backgroundPosition:ft,backgroundSize:ot,backgroundRepeat:et,paddingTop:`${Yt}%`}),[Ft,ft,ot,Pt]),Wt={...yt,display:"inline-block",width:j?`${j}px`:"100%"};function sn(){const ln=new Image;ln.src=dt,Lt("loading"),ln.onload=()=>{Lt("loaded"),At()},ln.onerror=vn=>{Lt("error"),St(vn)}}return reactExports.useEffect(()=>{kt&&sn()},[kt]),jsxRuntimeExports.jsx(Box,{"data-id":"2",ref:Mt,style:Wt,...Ct,sx:{[`& .${classes.root}`]:{position:"relative",overflow:"hidden","& .image--state, & .image--img":{minWidth:"100%",minHeight:"100%",position:"absolute",top:0,left:"50%",transform:"translateX(-50%)"},"& .image--state":{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"#999",background:"#eee",width:"100%",height:"100%"},"& .image--img":{opacity:0,visibility:"hidden"},"& .image--icon":{fontSize:30,maxWidth:"80%",maxHeight:"80%"}},...Ct.sx},children:jsxRuntimeExports.jsxs("div",{className:`image ${Tt} ${classes.root}`,style:jt,children:[!pt&&Pt==="error"&&jsxRuntimeExports.jsx("div",{className:"image--state",title:"loading image",children:jsxRuntimeExports.jsx(Icon,{icon:data$u,className:"image--icon"})}),!mt&&Pt==="loading"&&jsxRuntimeExports.jsx("div",{className:"image--state",title:"Image load error",children:jsxRuntimeExports.jsx(Icon,{icon:data$t,className:"image--icon"})}),Pt==="loaded"&&jsxRuntimeExports.jsx("img",{className:"image--img",src:dt,alt:tt})]})})}Img.propTypes={src:PropTypes.string.isRequired,alt:PropTypes.string,size:PropTypes.string,position:PropTypes.string,style:PropTypes.object,ratio:PropTypes.number,repeat:PropTypes.string,width:PropTypes.number,height:PropTypes.number,lazy:PropTypes.bool,placeholder:PropTypes.string,fallback:PropTypes.string,className:PropTypes.string,onError:PropTypes.func,onSuccess:PropTypes.func};Img.defaultProps={alt:null,size:"cover",position:"top center",repeat:"no-repeat",style:null,ratio:1,width:null,height:null,lazy:!0,placeholder:null,fallback:null,className:"",onError:noop$7,onSuccess:noop$7};function DIDMotif({did:a,size:j,animation:_e,shape:et,responsive:nt,...tt}){const ot=reactExports.useRef(null);if(reactExports.useLayoutEffect(()=>{update$1(ot.current,a,{size:j,animation:_e,shape:et})},[a,j,et]),nt){const ft={...tt.style,width:"100%"};return jsxRuntimeExports.jsx(Box,{component:"svg",ref:ot,...tt,style:ft})}return jsxRuntimeExports.jsx(Box,{component:"span",...tt,style:{display:"inline-block",width:j,height:j,...tt.style},children:jsxRuntimeExports.jsx(Box,{component:"svg",ref:ot,style:{width:"100%"}})})}DIDMotif.propTypes={did:PropTypes.string.isRequired,size:PropTypes.number,animation:PropTypes.bool,responsive:PropTypes.bool,shape:PropTypes.number};DIDMotif.defaultProps={size:200,animation:!1,responsive:!1,shape:null};const randseed=new Array(4);function seedrand(a){for(let j=0;j<randseed.length;j++)randseed[j]=0;for(let j=0;j<a.length;j++)randseed[j%4]=(randseed[j%4]<<5)-randseed[j%4]+a.charCodeAt(j)}function rand(){const a=randseed[0]^randseed[0]<<11;return randseed[0]=randseed[1],randseed[1]=randseed[2],randseed[2]=randseed[3],randseed[3]=randseed[3]^randseed[3]>>19^a^a>>8,(randseed[3]>>>0)/(1<<31>>>0)}function createColor(){const a=Math.floor(rand()*360),j=`${rand()*60+40}%`,_e=`${(rand()+rand()+rand()+rand())*25}%`;return`hsl(${a},${j},${_e})`}function createImageData(a){const j=a,_e=a,et=Math.ceil(j/2),nt=j-et,tt=[];for(let ot=0;ot<_e;ot++){let ft=[];for(let mt=0;mt<et;mt++)ft[mt]=Math.floor(rand()*2.3);const dt=ft.slice(0,nt);dt.reverse(),ft=ft.concat(dt);for(let mt=0;mt<ft.length;mt++)tt.push(ft[mt])}return tt}function createCanvas(a,j,_e,et,nt){const tt=document.createElement("canvas"),ot=Math.sqrt(a.length);tt.width=tt.height=ot*_e;const ft=tt.getContext("2d");ft.fillStyle=et,ft.fillRect(0,0,tt.width,tt.height),ft.fillStyle=j;for(let dt=0;dt<a.length;dt++){const mt=Math.floor(dt/ot),pt=dt%ot;ft.fillStyle=a[dt]===1?j:nt,a[dt]&&ft.fillRect(pt*_e,mt*_e,_e,_e)}return tt}function createIcon(a){a=a||{};const j=a.size||8,_e=a.scale||4,et=a.seed||Math.floor(Math.random()*10**16).toString(16);seedrand(et);const nt=a.color||createColor(),tt=a.bgcolor||createColor(),ot=a.spotcolor||createColor(),ft=createImageData(j);return createCanvas(ft,nt,_e,tt,ot)}const blockies={createIcon};function Avatar(a){const[j,_e]=reactExports.useState(!1),et=mergeProps(a,Avatar,[]),{did:nt="",size:tt,src:ot,variant:ft,animation:dt,shape:mt,blockiesPadding:pt,responsive:yt,...Tt}=et,St=reactExports.useMemo(()=>isEthereumDid$1(nt)?blockies.createIcon({seed:nt.replace(DID_PREFIX$1,"").toLowerCase(),size:8,scale:16}).toDataURL():null,[nt]);if(ot&&!j)return jsxRuntimeExports.jsx(Img,{width:tt,src:ot,alt:nt,onError:()=>_e(!0),...Tt,className:`avatar-img--${ft} ${(Tt==null?void 0:Tt.className)||""}`,sx:{"& .avatar-img--rounded":{borderRadius:"4px",overflow:"hidden"},"& .avatar-img--circle":{borderRadius:"100%",overflow:"hidden"},...Tt.sx}});if(St){if(pt){const At=tt>24?4:2;return jsxRuntimeExports.jsx(Box,{...Tt,sx:{display:"flex",alignItems:"center",width:tt,height:tt,".blocky-icon-inner":{boxSizing:"border-box",display:"flex",justifyContent:"center",alignItems:"center",width:tt,height:tt*.7,borderRadius:`${Math.min(10,Math.floor(.1*tt+2))}px`,background:"#ddd"},...Tt.sx},children:jsxRuntimeExports.jsx("div",{className:"blocky-icon-inner",children:jsxRuntimeExports.jsx(Img,{width:tt*.7-At*2,src:St,alt:nt})})})}return jsxRuntimeExports.jsx(Img,{...Tt,width:tt,src:St,alt:nt,style:{marginRight:4}})}if(nt)return jsxRuntimeExports.jsx(DIDMotif,{did:nt.replace(DID_PREFIX$1,""),size:tt,animation:dt,shape:Shape[(mt||"").toUpperCase()],responsive:yt,...Tt});throw new Error(`Invalid DID: ${nt}`)}Avatar.propTypes={did:PropTypes.string,size:PropTypes.number,variant:PropTypes.oneOf(["circle","rounded","default"]),animation:PropTypes.bool,shape:PropTypes.oneOf(["","rectangle","square","hexagon","circle"]),blockiesPadding:PropTypes.bool,responsive:PropTypes.bool};Avatar.defaultProps={did:"",size:36,variant:"default",animation:!1,shape:"",blockiesPadding:!0,responsive:!1};function AvatarWithErrorBoundary(a){const j=a.size||36,_e={rounded:"4px",circle:"100%"}[a.variant]||0;return jsxRuntimeExports.jsx(ErrorBoundary,{fallbackRender:()=>jsxRuntimeExports.jsx(Box,{width:j,height:j,bgcolor:"grey.300",borderRadius:_e}),children:jsxRuntimeExports.jsx(Avatar,{...a})})}AvatarWithErrorBoundary.propTypes=Avatar.propTypes;const translations$6={en:{scanQrcode:"Scan with DID Wallet to transfer token to here",download:"Download",downloadTips:"Don't have DID Wallet ?"},zh:{scanQrcode:"扫描此二维码,用 DID Wallet 转账",download:"下载",downloadTips:"没有 DID Wallet ?"}},DIDPropTypes={did:PropTypes.string.isRequired,size:PropTypes.number,component:PropTypes.string,copyable:PropTypes.bool,responsive:PropTypes.bool,showCopyButtonInTooltip:PropTypes.bool,showAvatar:PropTypes.bool,showQrcode:PropTypes.bool,inline:PropTypes.bool,append:PropTypes.any,compact:PropTypes.bool,startChars:PropTypes.number,endChars:PropTypes.number,locale:PropTypes.oneOf(["en","zh"]),chainId:PropTypes.string},DEFAULT_CHAIN_ID="xenon-2020-01-15",CHAIN_ID_MAP={"main.abtnetwork.io":DEFAULT_CHAIN_ID,"beta.abtnetwork.io":"beta"},getFontColor=(a,j,_e)=>_e?getDIDColor(a):j.color,isSquareMotif=a=>!{0:!0,6:!0,17:!0}[a],getAvatarSize=(a,j,_e)=>j||isSquareMotif(a.roleType)?_e*.75:_e,DID=reactExports.forwardRef(({did:a,showAvatar:j,showQrcode:_e,chainId:et,locale:nt,...tt},ot)=>{var Pt;const ft=useMemoizedFn((Lt,Ft={})=>translate(translations$6,Lt,nt,"en",Ft));try{if(!et){const Lt=(Pt=window==null?void 0:window.blocklet)==null?void 0:Pt.CHAIN_HOST;if(Lt){const Ft=new URL(Lt).hostname;Ft&&(et=CHAIN_ID_MAP[Ft])}}}catch{console.warn("Failed to parse chainHost")}const[dt,mt]=reactExports.useState(!1),pt=isEthereumDid$1(a),yt=pt?void 0:getDIDMotifInfo(a),Tt=getFontSize(tt.size),St=[jsxRuntimeExports.jsx("span",{style:{flex:"0 0 auto",fontSize:Tt,color:getFontColor(a,yt,pt)},children:"DID:"},"prefix-did"),jsxRuntimeExports.jsx("span",{className:"did-address-text",style:{fontSize:Tt},children:"ABT:"},"prefix-abt"),j&&jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:a,size:getAvatarSize(yt,pt,tt.size||18),style:{display:"inline-flex",alignItems:"center",marginLeft:2,marginRight:4},blockiesPadding:!1,className:"did-address-avatar"},"avatar")],At=useMemoizedFn(()=>{mt(!1)}),Ct=useMemoizedFn(Lt=>{Lt.stopPropagation(),Lt.preventDefault(),mt(!0)}),Mt=useCreation(()=>["zh","en"].includes?`https://www.didwallet.io/${nt}`:"https://www.didwallet.io/en",[nt]),kt=useCreation(()=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[ft("downloadTips")," ",jsxRuntimeExports.jsx(Box,{component:"a",href:Mt,target:"_blank",rel:"noreferrer",sx:{color:colors$1.foregroundsFgInteractive,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:ft("download")})]}),[Mt]);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(DidAddressWrapper,{ref:ot,locale:nt,content:`${DID_PREFIX$1}${a}`,...tt,prepend:St,append:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[_e?jsxRuntimeExports.jsx(Box,{component:Icon,icon:data$v,onClick:Ct,sx:{flexShrink:0,cursor:"pointer",ml:tt.copyable?.5:0,color:"grey.500"}}):null,tt.append]}),children:a}),jsxRuntimeExports.jsxs(Dialog$1,{open:dt,onClose:At,maxWidth:"sm",children:[jsxRuntimeExports.jsx(DialogTitle,{align:"center",children:jsxRuntimeExports.jsx(Typography,{variant:"h6",component:"h3",children:ft("scanQrcode")})}),jsxRuntimeExports.jsxs(DialogContent,{align:"center",children:[jsxRuntimeExports.jsx(QRCode$1,{value:`abt://abtwallet.io/i?did=${DID_PREFIX$1}${a}&action=didRecognize&chainID=${et||DEFAULT_CHAIN_ID}`,size:256,renderAs:"svg",level:"M"}),jsxRuntimeExports.jsx(Box,{sx:{marginTop:1,textAlign:"center"},children:jsxRuntimeExports.jsx(DidAddressWrapper,{copyable:!0,locale:nt,content:`${DID_PREFIX$1}${a}`,prepend:St,children:a})}),jsxRuntimeExports.jsx(Typography,{variant:"body2",sx:{color:colors$1.textSubtitle,fontSize:"12px",mt:1},children:kt})]})]})]})});DID.propTypes=DIDPropTypes;DID.defaultProps={size:0,component:"span",copyable:!0,responsive:!0,showCopyButtonInTooltip:!1,showAvatar:!0,showQrcode:!1,inline:!1,append:null,compact:!1,startChars:6,endChars:6,locale:"en",chainId:""};const getCurrentAppPid=a=>{var j;return(a==null?void 0:a.sourceAppPid)||((j=window==null?void 0:window.blocklet)==null?void 0:j.appPid)};function getConnectedAccounts$1(a){var j;return(a==null?void 0:a.connectedAccounts)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.connectedAccounts)||[]}function getSourceProvider$1(a){var j;return(a==null?void 0:a.sourceProvider)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.sourceProvider)||"wallet"}function getWallet$1(a){return getConnectedAccounts$1(a).find(et=>et.provider==="wallet")}function getWalletDid$1(a){const j=getWallet$1(a);return j==null?void 0:j.did}/*! js-cookie v3.0.5 | MIT */function assign(a){for(var j=1;j<arguments.length;j++){var _e=arguments[j];for(var et in _e)a[et]=_e[et]}return a}var defaultConverter={read:function(a){return a[0]==='"'&&(a=a.slice(1,-1)),a.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(a){return encodeURIComponent(a).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function init(a,j){function _e(nt,tt,ot){if(!(typeof document>"u")){ot=assign({},j,ot),typeof ot.expires=="number"&&(ot.expires=new Date(Date.now()+ot.expires*864e5)),ot.expires&&(ot.expires=ot.expires.toUTCString()),nt=encodeURIComponent(nt).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var ft="";for(var dt in ot)ot[dt]&&(ft+="; "+dt,ot[dt]!==!0&&(ft+="="+ot[dt].split(";")[0]));return document.cookie=nt+"="+a.write(tt,nt)+ft}}function et(nt){if(!(typeof document>"u"||arguments.length&&!nt)){for(var tt=document.cookie?document.cookie.split("; "):[],ot={},ft=0;ft<tt.length;ft++){var dt=tt[ft].split("="),mt=dt.slice(1).join("=");try{var pt=decodeURIComponent(dt[0]);if(ot[pt]=a.read(mt,pt),nt===pt)break}catch{}}return nt?ot[nt]:ot}}return Object.create({set:_e,get:et,remove:function(nt,tt){_e(nt,"",assign({},tt,{expires:-1}))},withAttributes:function(nt){return init(this.converter,assign({},this.attributes,nt))},withConverter:function(nt){return init(assign({},this.converter,nt),this.attributes)}},{attributes:{value:Object.freeze(j)},converter:{value:Object.freeze(a)}})}var api$5=init(defaultConverter,{path:"/"}),is,To,Ro,Ds,Fl,Ls,fo,Pp,us,nm,Dp,Lp,Op,rm,Bp;class QuickLRU extends Map{constructor(_e={}){super();Ps(this,fo);Ps(this,is,0);Ps(this,To,new Map);Ps(this,Ro,new Map);Ps(this,Ds);Ps(this,Fl);Ps(this,Ls);if(!(_e.maxSize&&_e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if(typeof _e.maxAge=="number"&&_e.maxAge===0)throw new TypeError("`maxAge` must be a number greater than 0");Ho(this,Ds,_e.maxSize),Ho(this,Fl,_e.maxAge||Number.POSITIVE_INFINITY),Ho(this,Ls,_e.onEviction)}get __oldCache(){return Gr(this,Ro)}get(_e){if(Gr(this,To).has(_e)){const et=Gr(this,To).get(_e);return wo(this,fo,Dp).call(this,_e,et)}if(Gr(this,Ro).has(_e)){const et=Gr(this,Ro).get(_e);if(wo(this,fo,us).call(this,_e,et)===!1)return wo(this,fo,rm).call(this,_e,et),et.value}}set(_e,et,{maxAge:nt=Gr(this,Fl)}={}){const tt=typeof nt=="number"&&nt!==Number.POSITIVE_INFINITY?Date.now()+nt:void 0;return Gr(this,To).has(_e)?Gr(this,To).set(_e,{value:et,expiry:tt}):wo(this,fo,Op).call(this,_e,{value:et,expiry:tt}),this}has(_e){return Gr(this,To).has(_e)?!wo(this,fo,us).call(this,_e,Gr(this,To).get(_e)):Gr(this,Ro).has(_e)?!wo(this,fo,us).call(this,_e,Gr(this,Ro).get(_e)):!1}peek(_e){if(Gr(this,To).has(_e))return wo(this,fo,Lp).call(this,_e,Gr(this,To));if(Gr(this,Ro).has(_e))return wo(this,fo,Lp).call(this,_e,Gr(this,Ro))}delete(_e){const et=Gr(this,To).delete(_e);return et&&Mp(this,is)._--,Gr(this,Ro).delete(_e)||et}clear(){Gr(this,To).clear(),Gr(this,Ro).clear(),Ho(this,is,0)}resize(_e){if(!(_e&&_e>0))throw new TypeError("`maxSize` must be a number greater than 0");const et=[...wo(this,fo,Bp).call(this)],nt=et.length-_e;nt<0?(Ho(this,To,new Map(et)),Ho(this,Ro,new Map),Ho(this,is,et.length)):(nt>0&&wo(this,fo,Pp).call(this,et.slice(0,nt)),Ho(this,Ro,new Map(et.slice(nt))),Ho(this,To,new Map),Ho(this,is,0)),Ho(this,Ds,_e)}*keys(){for(const[_e]of this)yield _e}*values(){for(const[,_e]of this)yield _e}*[Symbol.iterator](){for(const _e of Gr(this,To)){const[et,nt]=_e;wo(this,fo,us).call(this,et,nt)===!1&&(yield[et,nt.value])}for(const _e of Gr(this,Ro)){const[et,nt]=_e;Gr(this,To).has(et)||wo(this,fo,us).call(this,et,nt)===!1&&(yield[et,nt.value])}}*entriesDescending(){let _e=[...Gr(this,To)];for(let et=_e.length-1;et>=0;--et){const nt=_e[et],[tt,ot]=nt;wo(this,fo,us).call(this,tt,ot)===!1&&(yield[tt,ot.value])}_e=[...Gr(this,Ro)];for(let et=_e.length-1;et>=0;--et){const nt=_e[et],[tt,ot]=nt;Gr(this,To).has(tt)||wo(this,fo,us).call(this,tt,ot)===!1&&(yield[tt,ot.value])}}*entriesAscending(){for(const[_e,et]of wo(this,fo,Bp).call(this))yield[_e,et.value]}get size(){if(!Gr(this,is))return Gr(this,Ro).size;let _e=0;for(const et of Gr(this,Ro).keys())Gr(this,To).has(et)||_e++;return Math.min(Gr(this,is)+_e,Gr(this,Ds))}get maxSize(){return Gr(this,Ds)}entries(){return this.entriesAscending()}forEach(_e,et=this){for(const[nt,tt]of this.entriesAscending())_e.call(et,tt,nt,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}is=new WeakMap,To=new WeakMap,Ro=new WeakMap,Ds=new WeakMap,Fl=new WeakMap,Ls=new WeakMap,fo=new WeakSet,Pp=function(_e){if(typeof Gr(this,Ls)=="function")for(const[et,nt]of _e)Gr(this,Ls).call(this,et,nt.value)},us=function(_e,et){return typeof et.expiry=="number"&&et.expiry<=Date.now()?(typeof Gr(this,Ls)=="function"&&Gr(this,Ls).call(this,_e,et.value),this.delete(_e)):!1},nm=function(_e,et){if(wo(this,fo,us).call(this,_e,et)===!1)return et.value},Dp=function(_e,et){return et.expiry?wo(this,fo,nm).call(this,_e,et):et.value},Lp=function(_e,et){const nt=et.get(_e);return wo(this,fo,Dp).call(this,_e,nt)},Op=function(_e,et){Gr(this,To).set(_e,et),Mp(this,is)._++,Gr(this,is)>=Gr(this,Ds)&&(Ho(this,is,0),wo(this,fo,Pp).call(this,Gr(this,Ro)),Ho(this,Ro,Gr(this,To)),Ho(this,To,new Map))},rm=function(_e,et){Gr(this,Ro).delete(_e),wo(this,fo,Op).call(this,_e,et)},Bp=function*(){for(const _e of Gr(this,Ro)){const[et,nt]=_e;Gr(this,To).has(et)||wo(this,fo,us).call(this,et,nt)===!1&&(yield _e)}for(const _e of Gr(this,To)){const[et,nt]=_e;wo(this,fo,us).call(this,et,nt)===!1&&(yield _e)}};function getDefaultExportFromCjs(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var browser$i={exports:{}},process$1=browser$i.exports={},cachedSetTimeout,cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?cachedSetTimeout=setTimeout:cachedSetTimeout=defaultSetTimout}catch{cachedSetTimeout=defaultSetTimout}try{typeof clearTimeout=="function"?cachedClearTimeout=clearTimeout:cachedClearTimeout=defaultClearTimeout}catch{cachedClearTimeout=defaultClearTimeout}})();function runTimeout(a){if(cachedSetTimeout===setTimeout)return setTimeout(a,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(a,0);try{return cachedSetTimeout(a,0)}catch{try{return cachedSetTimeout.call(null,a,0)}catch{return cachedSetTimeout.call(this,a,0)}}}function runClearTimeout(a){if(cachedClearTimeout===clearTimeout)return clearTimeout(a);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(a);try{return cachedClearTimeout(a)}catch{try{return cachedClearTimeout.call(null,a)}catch{return cachedClearTimeout.call(this,a)}}}var queue=[],draining=!1,currentQueue,queueIndex=-1;function cleanUpNextTick(){!draining||!currentQueue||(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var a=runTimeout(cleanUpNextTick);draining=!0;for(var j=queue.length;j;){for(currentQueue=queue,queue=[];++queueIndex<j;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,j=queue.length}currentQueue=null,draining=!1,runClearTimeout(a)}}process$1.nextTick=function(a){var j=new Array(arguments.length-1);if(arguments.length>1)for(var _e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];queue.push(new Item(a,j)),queue.length===1&&!draining&&runTimeout(drainQueue)};function Item(a,j){this.fun=a,this.array=j}Item.prototype.run=function(){this.fun.apply(null,this.array)};process$1.title="browser";process$1.browser=!0;process$1.env={};process$1.argv=[];process$1.version="";process$1.versions={};function noop$5(){}process$1.on=noop$5;process$1.addListener=noop$5;process$1.once=noop$5;process$1.off=noop$5;process$1.removeListener=noop$5;process$1.removeAllListeners=noop$5;process$1.emit=noop$5;process$1.prependListener=noop$5;process$1.prependOnceListener=noop$5;process$1.listeners=function(a){return[]};process$1.binding=function(a){throw new Error("process.binding is not supported")};process$1.cwd=function(){return"/"};process$1.chdir=function(a){throw new Error("process.chdir is not supported")};process$1.umask=function(){return 0};var browserExports$2=browser$i.exports;const process$1$1=getDefaultExportFromCjs(browserExports$2);function bind$2(a,j){return function(){return a.apply(j,arguments)}}const{toString:toString$i}=Object.prototype,{getPrototypeOf:getPrototypeOf$1}=Object,kindOf=(a=>j=>{const _e=toString$i.call(j);return a[_e]||(a[_e]=_e.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=a=>(a=a.toLowerCase(),j=>kindOf(j)===a),typeOfTest=a=>j=>typeof j===a,{isArray:isArray$a}=Array,isUndefined=typeOfTest("undefined");function isBuffer$2(a){return a!==null&&!isUndefined(a)&&a.constructor!==null&&!isUndefined(a.constructor)&&isFunction$2(a.constructor.isBuffer)&&a.constructor.isBuffer(a)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(a){let j;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?j=ArrayBuffer.isView(a):j=a&&a.buffer&&isArrayBuffer(a.buffer),j}const isString$2=typeOfTest("string"),isFunction$2=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$a=a=>a!==null&&typeof a=="object",isBoolean$1=a=>a===!0||a===!1,isPlainObject=a=>{if(kindOf(a)!=="object")return!1;const j=getPrototypeOf$1(a);return(j===null||j===Object.prototype||Object.getPrototypeOf(j)===null)&&!(Symbol.toStringTag in a)&&!(Symbol.iterator in a)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=a=>isObject$a(a)&&isFunction$2(a.pipe),isFormData=a=>{let j;return a&&(typeof FormData=="function"&&a instanceof FormData||isFunction$2(a.append)&&((j=kindOf(a))==="formdata"||j==="object"&&isFunction$2(a.toString)&&a.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest$2,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=a=>a.trim?a.trim():a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach$2(a,j,{allOwnKeys:_e=!1}={}){if(a===null||typeof a>"u")return;let et,nt;if(typeof a!="object"&&(a=[a]),isArray$a(a))for(et=0,nt=a.length;et<nt;et++)j.call(null,a[et],et,a);else{const tt=_e?Object.getOwnPropertyNames(a):Object.keys(a),ot=tt.length;let ft;for(et=0;et<ot;et++)ft=tt[et],j.call(null,a[ft],ft,a)}}function findKey(a,j){j=j.toLowerCase();const _e=Object.keys(a);let et=_e.length,nt;for(;et-- >0;)if(nt=_e[et],j===nt.toLowerCase())return nt;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global$2,isContextDefined=a=>!isUndefined(a)&&a!==_global;function merge(){const{caseless:a}=isContextDefined(this)&&this||{},j={},_e=(et,nt)=>{const tt=a&&findKey(j,nt)||nt;isPlainObject(j[tt])&&isPlainObject(et)?j[tt]=merge(j[tt],et):isPlainObject(et)?j[tt]=merge({},et):isArray$a(et)?j[tt]=et.slice():j[tt]=et};for(let et=0,nt=arguments.length;et<nt;et++)arguments[et]&&forEach$2(arguments[et],_e);return j}const extend$1=(a,j,_e,{allOwnKeys:et}={})=>(forEach$2(j,(nt,tt)=>{_e&&isFunction$2(nt)?a[tt]=bind$2(nt,_e):a[tt]=nt},{allOwnKeys:et}),a),stripBOM=a=>(a.charCodeAt(0)===65279&&(a=a.slice(1)),a),inherits$8=(a,j,_e,et)=>{a.prototype=Object.create(j.prototype,et),a.prototype.constructor=a,Object.defineProperty(a,"super",{value:j.prototype}),_e&&Object.assign(a.prototype,_e)},toFlatObject=(a,j,_e,et)=>{let nt,tt,ot;const ft={};if(j=j||{},a==null)return j;do{for(nt=Object.getOwnPropertyNames(a),tt=nt.length;tt-- >0;)ot=nt[tt],(!et||et(ot,a,j))&&!ft[ot]&&(j[ot]=a[ot],ft[ot]=!0);a=_e!==!1&&getPrototypeOf$1(a)}while(a&&(!_e||_e(a,j))&&a!==Object.prototype);return j},endsWith$1=(a,j,_e)=>{a=String(a),(_e===void 0||_e>a.length)&&(_e=a.length),_e-=j.length;const et=a.indexOf(j,_e);return et!==-1&&et===_e},toArray$2=a=>{if(!a)return null;if(isArray$a(a))return a;let j=a.length;if(!isNumber$1(j))return null;const _e=new Array(j);for(;j-- >0;)_e[j]=a[j];return _e},isTypedArray$3=(a=>j=>a&&j instanceof a)(typeof Uint8Array<"u"&&getPrototypeOf$1(Uint8Array)),forEachEntry=(a,j)=>{const et=(a&&a[Symbol.iterator]).call(a);let nt;for(;(nt=et.next())&&!nt.done;){const tt=nt.value;j.call(a,tt[0],tt[1])}},matchAll=(a,j)=>{let _e;const et=[];for(;(_e=a.exec(j))!==null;)et.push(_e);return et},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=a=>a.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(_e,et,nt){return et.toUpperCase()+nt}),hasOwnProperty$9=(({hasOwnProperty:a})=>(j,_e)=>a.call(j,_e))(Object.prototype),isRegExp$1=kindOfTest("RegExp"),reduceDescriptors=(a,j)=>{const _e=Object.getOwnPropertyDescriptors(a),et={};forEach$2(_e,(nt,tt)=>{let ot;(ot=j(nt,tt,a))!==!1&&(et[tt]=ot||nt)}),Object.defineProperties(a,et)},freezeMethods=a=>{reduceDescriptors(a,(j,_e)=>{if(isFunction$2(a)&&["arguments","caller","callee"].indexOf(_e)!==-1)return!1;const et=a[_e];if(isFunction$2(et)){if(j.enumerable=!1,"writable"in j){j.writable=!1;return}j.set||(j.set=()=>{throw Error("Can not rewrite read-only method '"+_e+"'")})}})},toObjectSet=(a,j)=>{const _e={},et=nt=>{nt.forEach(tt=>{_e[tt]=!0})};return isArray$a(a)?et(a):et(String(a).split(j)),_e},noop$4=()=>{},toFiniteNumber=(a,j)=>a!=null&&Number.isFinite(a=+a)?a:j,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(a=16,j=ALPHABET.ALPHA_DIGIT)=>{let _e="";const{length:et}=j;for(;a--;)_e+=j[Math.random()*et|0];return _e};function isSpecCompliantForm(a){return!!(a&&isFunction$2(a.append)&&a[Symbol.toStringTag]==="FormData"&&a[Symbol.iterator])}const toJSONObject=a=>{const j=new Array(10),_e=(et,nt)=>{if(isObject$a(et)){if(j.indexOf(et)>=0)return;if(!("toJSON"in et)){j[nt]=et;const tt=isArray$a(et)?[]:{};return forEach$2(et,(ot,ft)=>{const dt=_e(ot,nt+1);!isUndefined(dt)&&(tt[ft]=dt)}),j[nt]=void 0,tt}}return et};return _e(a,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=a=>a&&(isObject$a(a)||isFunction$2(a))&&isFunction$2(a.then)&&isFunction$2(a.catch),_setImmediate=((a,j)=>a?setImmediate:j?((_e,et)=>(_global.addEventListener("message",({source:nt,data:tt})=>{nt===_global&&tt===_e&&et.length&&et.shift()()},!1),nt=>{et.push(nt),_global.postMessage(_e,"*")}))(`axios@${Math.random()}`,[]):_e=>setTimeout(_e))(typeof setImmediate=="function",isFunction$2(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof process$1$1<"u"&&process$1$1.nextTick||_setImmediate,utils$o={isArray:isArray$a,isArrayBuffer,isBuffer:isBuffer$2,isFormData,isArrayBufferView,isString:isString$2,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject:isObject$a,isPlainObject,isReadableStream,isRequest:isRequest$2,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp:isRegExp$1,isFunction:isFunction$2,isStream,isURLSearchParams,isTypedArray:isTypedArray$3,isFileList,forEach:forEach$2,merge,extend:extend$1,trim,stripBOM,inherits:inherits$8,toFlatObject,kindOf,kindOfTest,endsWith:endsWith$1,toArray:toArray$2,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$9,hasOwnProp:hasOwnProperty$9,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop:noop$4,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};var buffer$1={},base64Js={};base64Js.byteLength=byteLength;base64Js.toByteArray=toByteArray;base64Js.fromByteArray=fromByteArray;var lookup=[],revLookup=[],Arr=typeof Uint8Array<"u"?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i=0,len=code.length;i<len;++i)lookup[i]=code[i],revLookup[code.charCodeAt(i)]=i;revLookup[45]=62;revLookup[95]=63;function getLens(a){var j=a.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var _e=a.indexOf("=");_e===-1&&(_e=j);var et=_e===j?0:4-_e%4;return[_e,et]}function byteLength(a){var j=getLens(a),_e=j[0],et=j[1];return(_e+et)*3/4-et}function _byteLength(a,j,_e){return(j+_e)*3/4-_e}function toByteArray(a){var j,_e=getLens(a),et=_e[0],nt=_e[1],tt=new Arr(_byteLength(a,et,nt)),ot=0,ft=nt>0?et-4:et,dt;for(dt=0;dt<ft;dt+=4)j=revLookup[a.charCodeAt(dt)]<<18|revLookup[a.charCodeAt(dt+1)]<<12|revLookup[a.charCodeAt(dt+2)]<<6|revLookup[a.charCodeAt(dt+3)],tt[ot++]=j>>16&255,tt[ot++]=j>>8&255,tt[ot++]=j&255;return nt===2&&(j=revLookup[a.charCodeAt(dt)]<<2|revLookup[a.charCodeAt(dt+1)]>>4,tt[ot++]=j&255),nt===1&&(j=revLookup[a.charCodeAt(dt)]<<10|revLookup[a.charCodeAt(dt+1)]<<4|revLookup[a.charCodeAt(dt+2)]>>2,tt[ot++]=j>>8&255,tt[ot++]=j&255),tt}function tripletToBase64(a){return lookup[a>>18&63]+lookup[a>>12&63]+lookup[a>>6&63]+lookup[a&63]}function encodeChunk(a,j,_e){for(var et,nt=[],tt=j;tt<_e;tt+=3)et=(a[tt]<<16&16711680)+(a[tt+1]<<8&65280)+(a[tt+2]&255),nt.push(tripletToBase64(et));return nt.join("")}function fromByteArray(a){for(var j,_e=a.length,et=_e%3,nt=[],tt=16383,ot=0,ft=_e-et;ot<ft;ot+=tt)nt.push(encodeChunk(a,ot,ot+tt>ft?ft:ot+tt));return et===1?(j=a[_e-1],nt.push(lookup[j>>2]+lookup[j<<4&63]+"==")):et===2&&(j=(a[_e-2]<<8)+a[_e-1],nt.push(lookup[j>>10]+lookup[j>>4&63]+lookup[j<<2&63]+"=")),nt.join("")}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ieee754.read=function(a,j,_e,et,nt){var tt,ot,ft=nt*8-et-1,dt=(1<<ft)-1,mt=dt>>1,pt=-7,yt=_e?nt-1:0,Tt=_e?-1:1,St=a[j+yt];for(yt+=Tt,tt=St&(1<<-pt)-1,St>>=-pt,pt+=ft;pt>0;tt=tt*256+a[j+yt],yt+=Tt,pt-=8);for(ot=tt&(1<<-pt)-1,tt>>=-pt,pt+=et;pt>0;ot=ot*256+a[j+yt],yt+=Tt,pt-=8);if(tt===0)tt=1-mt;else{if(tt===dt)return ot?NaN:(St?-1:1)*(1/0);ot=ot+Math.pow(2,et),tt=tt-mt}return(St?-1:1)*ot*Math.pow(2,tt-et)};ieee754.write=function(a,j,_e,et,nt,tt){var ot,ft,dt,mt=tt*8-nt-1,pt=(1<<mt)-1,yt=pt>>1,Tt=nt===23?Math.pow(2,-24)-Math.pow(2,-77):0,St=et?0:tt-1,At=et?1:-1,Ct=j<0||j===0&&1/j<0?1:0;for(j=Math.abs(j),isNaN(j)||j===1/0?(ft=isNaN(j)?1:0,ot=pt):(ot=Math.floor(Math.log(j)/Math.LN2),j*(dt=Math.pow(2,-ot))<1&&(ot--,dt*=2),ot+yt>=1?j+=Tt/dt:j+=Tt*Math.pow(2,1-yt),j*dt>=2&&(ot++,dt/=2),ot+yt>=pt?(ft=0,ot=pt):ot+yt>=1?(ft=(j*dt-1)*Math.pow(2,nt),ot=ot+yt):(ft=j*Math.pow(2,yt-1)*Math.pow(2,nt),ot=0));nt>=8;a[_e+St]=ft&255,St+=At,ft/=256,nt-=8);for(ot=ot<<nt|ft,mt+=nt;mt>0;a[_e+St]=ot&255,St+=At,ot/=256,mt-=8);a[_e+St-At]|=Ct*128};/*!
405
405
  * The buffer module from node.js, for the browser.
406
406
  *
407
407
  * @author Feross Aboukhadijeh <https://feross.org>
@@ -428,7 +428,7 @@ Use Chrome, Firefox or Internet Explorer 11`)}var Buffer$2=safeBufferExports.Buf
428
428
  use chrome, FireFox or Internet Explorer 11`)}var j=safeBufferExports,_e=browserExports$1,et=j.Buffer,nt=j.kMaxLength,tt=commonjsGlobal.crypto||commonjsGlobal.msCrypto,ot=Math.pow(2,32)-1;function ft(Tt,St){if(typeof Tt!="number"||Tt!==Tt)throw new TypeError("offset must be a number");if(Tt>ot||Tt<0)throw new TypeError("offset must be a uint32");if(Tt>nt||Tt>St)throw new RangeError("offset out of range")}function dt(Tt,St,At){if(typeof Tt!="number"||Tt!==Tt)throw new TypeError("size must be a number");if(Tt>ot||Tt<0)throw new TypeError("size must be a uint32");if(Tt+St>At||Tt>nt)throw new RangeError("buffer too small")}tt&&tt.getRandomValues||!process$1$1.browser?(browser$6.randomFill=mt,browser$6.randomFillSync=yt):(browser$6.randomFill=a,browser$6.randomFillSync=a);function mt(Tt,St,At,Ct){if(!et.isBuffer(Tt)&&!(Tt instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof St=="function")Ct=St,St=0,At=Tt.length;else if(typeof At=="function")Ct=At,At=Tt.length-St;else if(typeof Ct!="function")throw new TypeError('"cb" argument must be a function');return ft(St,Tt.length),dt(At,St,Tt.length),pt(Tt,St,At,Ct)}function pt(Tt,St,At,Ct){if(process$1$1.browser){var Mt=Tt.buffer,kt=new Uint8Array(Mt,St,At);if(tt.getRandomValues(kt),Ct){process$1$1.nextTick(function(){Ct(null,Tt)});return}return Tt}if(Ct){_e(At,function(Lt,Ft){if(Lt)return Ct(Lt);Ft.copy(Tt,St),Ct(null,Tt)});return}var Pt=_e(At);return Pt.copy(Tt,St),Tt}function yt(Tt,St,At){if(typeof St>"u"&&(St=0),!et.isBuffer(Tt)&&!(Tt instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return ft(St,Tt.length),At===void 0&&(At=Tt.length-St),dt(At,St,Tt.length),pt(Tt,St,At)}return browser$6}var hasRequiredCryptoBrowserify;function requireCryptoBrowserify(){if(hasRequiredCryptoBrowserify)return cryptoBrowserify;hasRequiredCryptoBrowserify=1,cryptoBrowserify.randomBytes=cryptoBrowserify.rng=cryptoBrowserify.pseudoRandomBytes=cryptoBrowserify.prng=browserExports$1,cryptoBrowserify.createHash=cryptoBrowserify.Hash=requireBrowser$9(),cryptoBrowserify.createHmac=cryptoBrowserify.Hmac=requireBrowser$8();var a=requireAlgos(),j=Object.keys(a),_e=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(j);cryptoBrowserify.getHashes=function(){return _e};var et=requireBrowser$7();cryptoBrowserify.pbkdf2=et.pbkdf2,cryptoBrowserify.pbkdf2Sync=et.pbkdf2Sync;var nt=requireBrowser$5();cryptoBrowserify.Cipher=nt.Cipher,cryptoBrowserify.createCipher=nt.createCipher,cryptoBrowserify.Cipheriv=nt.Cipheriv,cryptoBrowserify.createCipheriv=nt.createCipheriv,cryptoBrowserify.Decipher=nt.Decipher,cryptoBrowserify.createDecipher=nt.createDecipher,cryptoBrowserify.Decipheriv=nt.Decipheriv,cryptoBrowserify.createDecipheriv=nt.createDecipheriv,cryptoBrowserify.getCiphers=nt.getCiphers,cryptoBrowserify.listCiphers=nt.listCiphers;var tt=requireBrowser$4();cryptoBrowserify.DiffieHellmanGroup=tt.DiffieHellmanGroup,cryptoBrowserify.createDiffieHellmanGroup=tt.createDiffieHellmanGroup,cryptoBrowserify.getDiffieHellman=tt.getDiffieHellman,cryptoBrowserify.createDiffieHellman=tt.createDiffieHellman,cryptoBrowserify.DiffieHellman=tt.DiffieHellman;var ot=requireBrowser$3();cryptoBrowserify.createSign=ot.createSign,cryptoBrowserify.Sign=ot.Sign,cryptoBrowserify.createVerify=ot.createVerify,cryptoBrowserify.Verify=ot.Verify,cryptoBrowserify.createECDH=requireBrowser$2();var ft=requireBrowser$1();cryptoBrowserify.publicEncrypt=ft.publicEncrypt,cryptoBrowserify.privateEncrypt=ft.privateEncrypt,cryptoBrowserify.publicDecrypt=ft.publicDecrypt,cryptoBrowserify.privateDecrypt=ft.privateDecrypt;var dt=requireBrowser();return cryptoBrowserify.randomFill=dt.randomFill,cryptoBrowserify.randomFillSync=dt.randomFillSync,cryptoBrowserify.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(`
429
429
  `))},cryptoBrowserify.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6},cryptoBrowserify}(function(a){(function(j){var _e=function(Xt){var Qt,rn=new Float64Array(16);if(Xt)for(Qt=0;Qt<Xt.length;Qt++)rn[Qt]=Xt[Qt];return rn},et=function(){throw new Error("no PRNG")},nt=new Uint8Array(16),tt=new Uint8Array(32);tt[0]=9;var ot=_e(),ft=_e([1]),dt=_e([56129,1]),mt=_e([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),pt=_e([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),yt=_e([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),Tt=_e([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),St=_e([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function At(Xt,Qt,rn,Jt){Xt[Qt]=rn>>24&255,Xt[Qt+1]=rn>>16&255,Xt[Qt+2]=rn>>8&255,Xt[Qt+3]=rn&255,Xt[Qt+4]=Jt>>24&255,Xt[Qt+5]=Jt>>16&255,Xt[Qt+6]=Jt>>8&255,Xt[Qt+7]=Jt&255}function Ct(Xt,Qt,rn,Jt,pn){var Sn,Fn=0;for(Sn=0;Sn<pn;Sn++)Fn|=Xt[Qt+Sn]^rn[Jt+Sn];return(1&Fn-1>>>8)-1}function Mt(Xt,Qt,rn,Jt){return Ct(Xt,Qt,rn,Jt,16)}function kt(Xt,Qt,rn,Jt){return Ct(Xt,Qt,rn,Jt,32)}function Pt(Xt,Qt,rn,Jt){for(var pn=Jt[0]&255|(Jt[1]&255)<<8|(Jt[2]&255)<<16|(Jt[3]&255)<<24,Sn=rn[0]&255|(rn[1]&255)<<8|(rn[2]&255)<<16|(rn[3]&255)<<24,Fn=rn[4]&255|(rn[5]&255)<<8|(rn[6]&255)<<16|(rn[7]&255)<<24,In=rn[8]&255|(rn[9]&255)<<8|(rn[10]&255)<<16|(rn[11]&255)<<24,Bn=rn[12]&255|(rn[13]&255)<<8|(rn[14]&255)<<16|(rn[15]&255)<<24,or=Jt[4]&255|(Jt[5]&255)<<8|(Jt[6]&255)<<16|(Jt[7]&255)<<24,ar=Qt[0]&255|(Qt[1]&255)<<8|(Qt[2]&255)<<16|(Qt[3]&255)<<24,Sr=Qt[4]&255|(Qt[5]&255)<<8|(Qt[6]&255)<<16|(Qt[7]&255)<<24,pr=Qt[8]&255|(Qt[9]&255)<<8|(Qt[10]&255)<<16|(Qt[11]&255)<<24,lr=Qt[12]&255|(Qt[13]&255)<<8|(Qt[14]&255)<<16|(Qt[15]&255)<<24,Er=Jt[8]&255|(Jt[9]&255)<<8|(Jt[10]&255)<<16|(Jt[11]&255)<<24,Rr=rn[16]&255|(rn[17]&255)<<8|(rn[18]&255)<<16|(rn[19]&255)<<24,Lr=rn[20]&255|(rn[21]&255)<<8|(rn[22]&255)<<16|(rn[23]&255)<<24,Mr=rn[24]&255|(rn[25]&255)<<8|(rn[26]&255)<<16|(rn[27]&255)<<24,Pr=rn[28]&255|(rn[29]&255)<<8|(rn[30]&255)<<16|(rn[31]&255)<<24,Dr=Jt[12]&255|(Jt[13]&255)<<8|(Jt[14]&255)<<16|(Jt[15]&255)<<24,xr=pn,Cr=Sn,Tr=Fn,wr=In,Ir=Bn,ur=or,Zn=ar,er=Sr,gr=pr,yr=lr,br=Er,kr=Rr,Hr=Lr,Kr=Mr,Yr=Pr,Wr=Dr,Vn,_i=0;_i<20;_i+=2)Vn=xr+Hr|0,Ir^=Vn<<7|Vn>>>25,Vn=Ir+xr|0,gr^=Vn<<9|Vn>>>23,Vn=gr+Ir|0,Hr^=Vn<<13|Vn>>>19,Vn=Hr+gr|0,xr^=Vn<<18|Vn>>>14,Vn=ur+Cr|0,yr^=Vn<<7|Vn>>>25,Vn=yr+ur|0,Kr^=Vn<<9|Vn>>>23,Vn=Kr+yr|0,Cr^=Vn<<13|Vn>>>19,Vn=Cr+Kr|0,ur^=Vn<<18|Vn>>>14,Vn=br+Zn|0,Yr^=Vn<<7|Vn>>>25,Vn=Yr+br|0,Tr^=Vn<<9|Vn>>>23,Vn=Tr+Yr|0,Zn^=Vn<<13|Vn>>>19,Vn=Zn+Tr|0,br^=Vn<<18|Vn>>>14,Vn=Wr+kr|0,wr^=Vn<<7|Vn>>>25,Vn=wr+Wr|0,er^=Vn<<9|Vn>>>23,Vn=er+wr|0,kr^=Vn<<13|Vn>>>19,Vn=kr+er|0,Wr^=Vn<<18|Vn>>>14,Vn=xr+wr|0,Cr^=Vn<<7|Vn>>>25,Vn=Cr+xr|0,Tr^=Vn<<9|Vn>>>23,Vn=Tr+Cr|0,wr^=Vn<<13|Vn>>>19,Vn=wr+Tr|0,xr^=Vn<<18|Vn>>>14,Vn=ur+Ir|0,Zn^=Vn<<7|Vn>>>25,Vn=Zn+ur|0,er^=Vn<<9|Vn>>>23,Vn=er+Zn|0,Ir^=Vn<<13|Vn>>>19,Vn=Ir+er|0,ur^=Vn<<18|Vn>>>14,Vn=br+yr|0,kr^=Vn<<7|Vn>>>25,Vn=kr+br|0,gr^=Vn<<9|Vn>>>23,Vn=gr+kr|0,yr^=Vn<<13|Vn>>>19,Vn=yr+gr|0,br^=Vn<<18|Vn>>>14,Vn=Wr+Yr|0,Hr^=Vn<<7|Vn>>>25,Vn=Hr+Wr|0,Kr^=Vn<<9|Vn>>>23,Vn=Kr+Hr|0,Yr^=Vn<<13|Vn>>>19,Vn=Yr+Kr|0,Wr^=Vn<<18|Vn>>>14;xr=xr+pn|0,Cr=Cr+Sn|0,Tr=Tr+Fn|0,wr=wr+In|0,Ir=Ir+Bn|0,ur=ur+or|0,Zn=Zn+ar|0,er=er+Sr|0,gr=gr+pr|0,yr=yr+lr|0,br=br+Er|0,kr=kr+Rr|0,Hr=Hr+Lr|0,Kr=Kr+Mr|0,Yr=Yr+Pr|0,Wr=Wr+Dr|0,Xt[0]=xr>>>0&255,Xt[1]=xr>>>8&255,Xt[2]=xr>>>16&255,Xt[3]=xr>>>24&255,Xt[4]=Cr>>>0&255,Xt[5]=Cr>>>8&255,Xt[6]=Cr>>>16&255,Xt[7]=Cr>>>24&255,Xt[8]=Tr>>>0&255,Xt[9]=Tr>>>8&255,Xt[10]=Tr>>>16&255,Xt[11]=Tr>>>24&255,Xt[12]=wr>>>0&255,Xt[13]=wr>>>8&255,Xt[14]=wr>>>16&255,Xt[15]=wr>>>24&255,Xt[16]=Ir>>>0&255,Xt[17]=Ir>>>8&255,Xt[18]=Ir>>>16&255,Xt[19]=Ir>>>24&255,Xt[20]=ur>>>0&255,Xt[21]=ur>>>8&255,Xt[22]=ur>>>16&255,Xt[23]=ur>>>24&255,Xt[24]=Zn>>>0&255,Xt[25]=Zn>>>8&255,Xt[26]=Zn>>>16&255,Xt[27]=Zn>>>24&255,Xt[28]=er>>>0&255,Xt[29]=er>>>8&255,Xt[30]=er>>>16&255,Xt[31]=er>>>24&255,Xt[32]=gr>>>0&255,Xt[33]=gr>>>8&255,Xt[34]=gr>>>16&255,Xt[35]=gr>>>24&255,Xt[36]=yr>>>0&255,Xt[37]=yr>>>8&255,Xt[38]=yr>>>16&255,Xt[39]=yr>>>24&255,Xt[40]=br>>>0&255,Xt[41]=br>>>8&255,Xt[42]=br>>>16&255,Xt[43]=br>>>24&255,Xt[44]=kr>>>0&255,Xt[45]=kr>>>8&255,Xt[46]=kr>>>16&255,Xt[47]=kr>>>24&255,Xt[48]=Hr>>>0&255,Xt[49]=Hr>>>8&255,Xt[50]=Hr>>>16&255,Xt[51]=Hr>>>24&255,Xt[52]=Kr>>>0&255,Xt[53]=Kr>>>8&255,Xt[54]=Kr>>>16&255,Xt[55]=Kr>>>24&255,Xt[56]=Yr>>>0&255,Xt[57]=Yr>>>8&255,Xt[58]=Yr>>>16&255,Xt[59]=Yr>>>24&255,Xt[60]=Wr>>>0&255,Xt[61]=Wr>>>8&255,Xt[62]=Wr>>>16&255,Xt[63]=Wr>>>24&255}function Lt(Xt,Qt,rn,Jt){for(var pn=Jt[0]&255|(Jt[1]&255)<<8|(Jt[2]&255)<<16|(Jt[3]&255)<<24,Sn=rn[0]&255|(rn[1]&255)<<8|(rn[2]&255)<<16|(rn[3]&255)<<24,Fn=rn[4]&255|(rn[5]&255)<<8|(rn[6]&255)<<16|(rn[7]&255)<<24,In=rn[8]&255|(rn[9]&255)<<8|(rn[10]&255)<<16|(rn[11]&255)<<24,Bn=rn[12]&255|(rn[13]&255)<<8|(rn[14]&255)<<16|(rn[15]&255)<<24,or=Jt[4]&255|(Jt[5]&255)<<8|(Jt[6]&255)<<16|(Jt[7]&255)<<24,ar=Qt[0]&255|(Qt[1]&255)<<8|(Qt[2]&255)<<16|(Qt[3]&255)<<24,Sr=Qt[4]&255|(Qt[5]&255)<<8|(Qt[6]&255)<<16|(Qt[7]&255)<<24,pr=Qt[8]&255|(Qt[9]&255)<<8|(Qt[10]&255)<<16|(Qt[11]&255)<<24,lr=Qt[12]&255|(Qt[13]&255)<<8|(Qt[14]&255)<<16|(Qt[15]&255)<<24,Er=Jt[8]&255|(Jt[9]&255)<<8|(Jt[10]&255)<<16|(Jt[11]&255)<<24,Rr=rn[16]&255|(rn[17]&255)<<8|(rn[18]&255)<<16|(rn[19]&255)<<24,Lr=rn[20]&255|(rn[21]&255)<<8|(rn[22]&255)<<16|(rn[23]&255)<<24,Mr=rn[24]&255|(rn[25]&255)<<8|(rn[26]&255)<<16|(rn[27]&255)<<24,Pr=rn[28]&255|(rn[29]&255)<<8|(rn[30]&255)<<16|(rn[31]&255)<<24,Dr=Jt[12]&255|(Jt[13]&255)<<8|(Jt[14]&255)<<16|(Jt[15]&255)<<24,xr=pn,Cr=Sn,Tr=Fn,wr=In,Ir=Bn,ur=or,Zn=ar,er=Sr,gr=pr,yr=lr,br=Er,kr=Rr,Hr=Lr,Kr=Mr,Yr=Pr,Wr=Dr,Vn,_i=0;_i<20;_i+=2)Vn=xr+Hr|0,Ir^=Vn<<7|Vn>>>25,Vn=Ir+xr|0,gr^=Vn<<9|Vn>>>23,Vn=gr+Ir|0,Hr^=Vn<<13|Vn>>>19,Vn=Hr+gr|0,xr^=Vn<<18|Vn>>>14,Vn=ur+Cr|0,yr^=Vn<<7|Vn>>>25,Vn=yr+ur|0,Kr^=Vn<<9|Vn>>>23,Vn=Kr+yr|0,Cr^=Vn<<13|Vn>>>19,Vn=Cr+Kr|0,ur^=Vn<<18|Vn>>>14,Vn=br+Zn|0,Yr^=Vn<<7|Vn>>>25,Vn=Yr+br|0,Tr^=Vn<<9|Vn>>>23,Vn=Tr+Yr|0,Zn^=Vn<<13|Vn>>>19,Vn=Zn+Tr|0,br^=Vn<<18|Vn>>>14,Vn=Wr+kr|0,wr^=Vn<<7|Vn>>>25,Vn=wr+Wr|0,er^=Vn<<9|Vn>>>23,Vn=er+wr|0,kr^=Vn<<13|Vn>>>19,Vn=kr+er|0,Wr^=Vn<<18|Vn>>>14,Vn=xr+wr|0,Cr^=Vn<<7|Vn>>>25,Vn=Cr+xr|0,Tr^=Vn<<9|Vn>>>23,Vn=Tr+Cr|0,wr^=Vn<<13|Vn>>>19,Vn=wr+Tr|0,xr^=Vn<<18|Vn>>>14,Vn=ur+Ir|0,Zn^=Vn<<7|Vn>>>25,Vn=Zn+ur|0,er^=Vn<<9|Vn>>>23,Vn=er+Zn|0,Ir^=Vn<<13|Vn>>>19,Vn=Ir+er|0,ur^=Vn<<18|Vn>>>14,Vn=br+yr|0,kr^=Vn<<7|Vn>>>25,Vn=kr+br|0,gr^=Vn<<9|Vn>>>23,Vn=gr+kr|0,yr^=Vn<<13|Vn>>>19,Vn=yr+gr|0,br^=Vn<<18|Vn>>>14,Vn=Wr+Yr|0,Hr^=Vn<<7|Vn>>>25,Vn=Hr+Wr|0,Kr^=Vn<<9|Vn>>>23,Vn=Kr+Hr|0,Yr^=Vn<<13|Vn>>>19,Vn=Yr+Kr|0,Wr^=Vn<<18|Vn>>>14;Xt[0]=xr>>>0&255,Xt[1]=xr>>>8&255,Xt[2]=xr>>>16&255,Xt[3]=xr>>>24&255,Xt[4]=ur>>>0&255,Xt[5]=ur>>>8&255,Xt[6]=ur>>>16&255,Xt[7]=ur>>>24&255,Xt[8]=br>>>0&255,Xt[9]=br>>>8&255,Xt[10]=br>>>16&255,Xt[11]=br>>>24&255,Xt[12]=Wr>>>0&255,Xt[13]=Wr>>>8&255,Xt[14]=Wr>>>16&255,Xt[15]=Wr>>>24&255,Xt[16]=Zn>>>0&255,Xt[17]=Zn>>>8&255,Xt[18]=Zn>>>16&255,Xt[19]=Zn>>>24&255,Xt[20]=er>>>0&255,Xt[21]=er>>>8&255,Xt[22]=er>>>16&255,Xt[23]=er>>>24&255,Xt[24]=gr>>>0&255,Xt[25]=gr>>>8&255,Xt[26]=gr>>>16&255,Xt[27]=gr>>>24&255,Xt[28]=yr>>>0&255,Xt[29]=yr>>>8&255,Xt[30]=yr>>>16&255,Xt[31]=yr>>>24&255}function Ft(Xt,Qt,rn,Jt){Pt(Xt,Qt,rn,Jt)}function Yt(Xt,Qt,rn,Jt){Lt(Xt,Qt,rn,Jt)}var jt=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function Wt(Xt,Qt,rn,Jt,pn,Sn,Fn){var In=new Uint8Array(16),Bn=new Uint8Array(64),or,ar;for(ar=0;ar<16;ar++)In[ar]=0;for(ar=0;ar<8;ar++)In[ar]=Sn[ar];for(;pn>=64;){for(Ft(Bn,In,Fn,jt),ar=0;ar<64;ar++)Xt[Qt+ar]=rn[Jt+ar]^Bn[ar];for(or=1,ar=8;ar<16;ar++)or=or+(In[ar]&255)|0,In[ar]=or&255,or>>>=8;pn-=64,Qt+=64,Jt+=64}if(pn>0)for(Ft(Bn,In,Fn,jt),ar=0;ar<pn;ar++)Xt[Qt+ar]=rn[Jt+ar]^Bn[ar];return 0}function sn(Xt,Qt,rn,Jt,pn){var Sn=new Uint8Array(16),Fn=new Uint8Array(64),In,Bn;for(Bn=0;Bn<16;Bn++)Sn[Bn]=0;for(Bn=0;Bn<8;Bn++)Sn[Bn]=Jt[Bn];for(;rn>=64;){for(Ft(Fn,Sn,pn,jt),Bn=0;Bn<64;Bn++)Xt[Qt+Bn]=Fn[Bn];for(In=1,Bn=8;Bn<16;Bn++)In=In+(Sn[Bn]&255)|0,Sn[Bn]=In&255,In>>>=8;rn-=64,Qt+=64}if(rn>0)for(Ft(Fn,Sn,pn,jt),Bn=0;Bn<rn;Bn++)Xt[Qt+Bn]=Fn[Bn];return 0}function ln(Xt,Qt,rn,Jt,pn){var Sn=new Uint8Array(32);Yt(Sn,Jt,pn,jt);for(var Fn=new Uint8Array(8),In=0;In<8;In++)Fn[In]=Jt[In+16];return sn(Xt,Qt,rn,Fn,Sn)}function vn(Xt,Qt,rn,Jt,pn,Sn,Fn){var In=new Uint8Array(32);Yt(In,Sn,Fn,jt);for(var Bn=new Uint8Array(8),or=0;or<8;or++)Bn[or]=Sn[or+16];return Wt(Xt,Qt,rn,Jt,pn,Bn,In)}var Rt=function(Xt){this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0;var Qt,rn,Jt,pn,Sn,Fn,In,Bn;Qt=Xt[0]&255|(Xt[1]&255)<<8,this.r[0]=Qt&8191,rn=Xt[2]&255|(Xt[3]&255)<<8,this.r[1]=(Qt>>>13|rn<<3)&8191,Jt=Xt[4]&255|(Xt[5]&255)<<8,this.r[2]=(rn>>>10|Jt<<6)&7939,pn=Xt[6]&255|(Xt[7]&255)<<8,this.r[3]=(Jt>>>7|pn<<9)&8191,Sn=Xt[8]&255|(Xt[9]&255)<<8,this.r[4]=(pn>>>4|Sn<<12)&255,this.r[5]=Sn>>>1&8190,Fn=Xt[10]&255|(Xt[11]&255)<<8,this.r[6]=(Sn>>>14|Fn<<2)&8191,In=Xt[12]&255|(Xt[13]&255)<<8,this.r[7]=(Fn>>>11|In<<5)&8065,Bn=Xt[14]&255|(Xt[15]&255)<<8,this.r[8]=(In>>>8|Bn<<8)&8191,this.r[9]=Bn>>>5&127,this.pad[0]=Xt[16]&255|(Xt[17]&255)<<8,this.pad[1]=Xt[18]&255|(Xt[19]&255)<<8,this.pad[2]=Xt[20]&255|(Xt[21]&255)<<8,this.pad[3]=Xt[22]&255|(Xt[23]&255)<<8,this.pad[4]=Xt[24]&255|(Xt[25]&255)<<8,this.pad[5]=Xt[26]&255|(Xt[27]&255)<<8,this.pad[6]=Xt[28]&255|(Xt[29]&255)<<8,this.pad[7]=Xt[30]&255|(Xt[31]&255)<<8};Rt.prototype.blocks=function(Xt,Qt,rn){for(var Jt=this.fin?0:2048,pn,Sn,Fn,In,Bn,or,ar,Sr,pr,lr,Er,Rr,Lr,Mr,Pr,Dr,xr,Cr,Tr,wr=this.h[0],Ir=this.h[1],ur=this.h[2],Zn=this.h[3],er=this.h[4],gr=this.h[5],yr=this.h[6],br=this.h[7],kr=this.h[8],Hr=this.h[9],Kr=this.r[0],Yr=this.r[1],Wr=this.r[2],Vn=this.r[3],_i=this.r[4],oo=this.r[5],ao=this.r[6],Xr=this.r[7],so=this.r[8],ro=this.r[9];rn>=16;)pn=Xt[Qt+0]&255|(Xt[Qt+1]&255)<<8,wr+=pn&8191,Sn=Xt[Qt+2]&255|(Xt[Qt+3]&255)<<8,Ir+=(pn>>>13|Sn<<3)&8191,Fn=Xt[Qt+4]&255|(Xt[Qt+5]&255)<<8,ur+=(Sn>>>10|Fn<<6)&8191,In=Xt[Qt+6]&255|(Xt[Qt+7]&255)<<8,Zn+=(Fn>>>7|In<<9)&8191,Bn=Xt[Qt+8]&255|(Xt[Qt+9]&255)<<8,er+=(In>>>4|Bn<<12)&8191,gr+=Bn>>>1&8191,or=Xt[Qt+10]&255|(Xt[Qt+11]&255)<<8,yr+=(Bn>>>14|or<<2)&8191,ar=Xt[Qt+12]&255|(Xt[Qt+13]&255)<<8,br+=(or>>>11|ar<<5)&8191,Sr=Xt[Qt+14]&255|(Xt[Qt+15]&255)<<8,kr+=(ar>>>8|Sr<<8)&8191,Hr+=Sr>>>5|Jt,pr=0,lr=pr,lr+=wr*Kr,lr+=Ir*(5*ro),lr+=ur*(5*so),lr+=Zn*(5*Xr),lr+=er*(5*ao),pr=lr>>>13,lr&=8191,lr+=gr*(5*oo),lr+=yr*(5*_i),lr+=br*(5*Vn),lr+=kr*(5*Wr),lr+=Hr*(5*Yr),pr+=lr>>>13,lr&=8191,Er=pr,Er+=wr*Yr,Er+=Ir*Kr,Er+=ur*(5*ro),Er+=Zn*(5*so),Er+=er*(5*Xr),pr=Er>>>13,Er&=8191,Er+=gr*(5*ao),Er+=yr*(5*oo),Er+=br*(5*_i),Er+=kr*(5*Vn),Er+=Hr*(5*Wr),pr+=Er>>>13,Er&=8191,Rr=pr,Rr+=wr*Wr,Rr+=Ir*Yr,Rr+=ur*Kr,Rr+=Zn*(5*ro),Rr+=er*(5*so),pr=Rr>>>13,Rr&=8191,Rr+=gr*(5*Xr),Rr+=yr*(5*ao),Rr+=br*(5*oo),Rr+=kr*(5*_i),Rr+=Hr*(5*Vn),pr+=Rr>>>13,Rr&=8191,Lr=pr,Lr+=wr*Vn,Lr+=Ir*Wr,Lr+=ur*Yr,Lr+=Zn*Kr,Lr+=er*(5*ro),pr=Lr>>>13,Lr&=8191,Lr+=gr*(5*so),Lr+=yr*(5*Xr),Lr+=br*(5*ao),Lr+=kr*(5*oo),Lr+=Hr*(5*_i),pr+=Lr>>>13,Lr&=8191,Mr=pr,Mr+=wr*_i,Mr+=Ir*Vn,Mr+=ur*Wr,Mr+=Zn*Yr,Mr+=er*Kr,pr=Mr>>>13,Mr&=8191,Mr+=gr*(5*ro),Mr+=yr*(5*so),Mr+=br*(5*Xr),Mr+=kr*(5*ao),Mr+=Hr*(5*oo),pr+=Mr>>>13,Mr&=8191,Pr=pr,Pr+=wr*oo,Pr+=Ir*_i,Pr+=ur*Vn,Pr+=Zn*Wr,Pr+=er*Yr,pr=Pr>>>13,Pr&=8191,Pr+=gr*Kr,Pr+=yr*(5*ro),Pr+=br*(5*so),Pr+=kr*(5*Xr),Pr+=Hr*(5*ao),pr+=Pr>>>13,Pr&=8191,Dr=pr,Dr+=wr*ao,Dr+=Ir*oo,Dr+=ur*_i,Dr+=Zn*Vn,Dr+=er*Wr,pr=Dr>>>13,Dr&=8191,Dr+=gr*Yr,Dr+=yr*Kr,Dr+=br*(5*ro),Dr+=kr*(5*so),Dr+=Hr*(5*Xr),pr+=Dr>>>13,Dr&=8191,xr=pr,xr+=wr*Xr,xr+=Ir*ao,xr+=ur*oo,xr+=Zn*_i,xr+=er*Vn,pr=xr>>>13,xr&=8191,xr+=gr*Wr,xr+=yr*Yr,xr+=br*Kr,xr+=kr*(5*ro),xr+=Hr*(5*so),pr+=xr>>>13,xr&=8191,Cr=pr,Cr+=wr*so,Cr+=Ir*Xr,Cr+=ur*ao,Cr+=Zn*oo,Cr+=er*_i,pr=Cr>>>13,Cr&=8191,Cr+=gr*Vn,Cr+=yr*Wr,Cr+=br*Yr,Cr+=kr*Kr,Cr+=Hr*(5*ro),pr+=Cr>>>13,Cr&=8191,Tr=pr,Tr+=wr*ro,Tr+=Ir*so,Tr+=ur*Xr,Tr+=Zn*ao,Tr+=er*oo,pr=Tr>>>13,Tr&=8191,Tr+=gr*_i,Tr+=yr*Vn,Tr+=br*Wr,Tr+=kr*Yr,Tr+=Hr*Kr,pr+=Tr>>>13,Tr&=8191,pr=(pr<<2)+pr|0,pr=pr+lr|0,lr=pr&8191,pr=pr>>>13,Er+=pr,wr=lr,Ir=Er,ur=Rr,Zn=Lr,er=Mr,gr=Pr,yr=Dr,br=xr,kr=Cr,Hr=Tr,Qt+=16,rn-=16;this.h[0]=wr,this.h[1]=Ir,this.h[2]=ur,this.h[3]=Zn,this.h[4]=er,this.h[5]=gr,this.h[6]=yr,this.h[7]=br,this.h[8]=kr,this.h[9]=Hr},Rt.prototype.finish=function(Xt,Qt){var rn=new Uint16Array(10),Jt,pn,Sn,Fn;if(this.leftover){for(Fn=this.leftover,this.buffer[Fn++]=1;Fn<16;Fn++)this.buffer[Fn]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(Jt=this.h[1]>>>13,this.h[1]&=8191,Fn=2;Fn<10;Fn++)this.h[Fn]+=Jt,Jt=this.h[Fn]>>>13,this.h[Fn]&=8191;for(this.h[0]+=Jt*5,Jt=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=Jt,Jt=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=Jt,rn[0]=this.h[0]+5,Jt=rn[0]>>>13,rn[0]&=8191,Fn=1;Fn<10;Fn++)rn[Fn]=this.h[Fn]+Jt,Jt=rn[Fn]>>>13,rn[Fn]&=8191;for(rn[9]-=8192,pn=(Jt^1)-1,Fn=0;Fn<10;Fn++)rn[Fn]&=pn;for(pn=~pn,Fn=0;Fn<10;Fn++)this.h[Fn]=this.h[Fn]&pn|rn[Fn];for(this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535,Sn=this.h[0]+this.pad[0],this.h[0]=Sn&65535,Fn=1;Fn<8;Fn++)Sn=(this.h[Fn]+this.pad[Fn]|0)+(Sn>>>16)|0,this.h[Fn]=Sn&65535;Xt[Qt+0]=this.h[0]>>>0&255,Xt[Qt+1]=this.h[0]>>>8&255,Xt[Qt+2]=this.h[1]>>>0&255,Xt[Qt+3]=this.h[1]>>>8&255,Xt[Qt+4]=this.h[2]>>>0&255,Xt[Qt+5]=this.h[2]>>>8&255,Xt[Qt+6]=this.h[3]>>>0&255,Xt[Qt+7]=this.h[3]>>>8&255,Xt[Qt+8]=this.h[4]>>>0&255,Xt[Qt+9]=this.h[4]>>>8&255,Xt[Qt+10]=this.h[5]>>>0&255,Xt[Qt+11]=this.h[5]>>>8&255,Xt[Qt+12]=this.h[6]>>>0&255,Xt[Qt+13]=this.h[6]>>>8&255,Xt[Qt+14]=this.h[7]>>>0&255,Xt[Qt+15]=this.h[7]>>>8&255},Rt.prototype.update=function(Xt,Qt,rn){var Jt,pn;if(this.leftover){for(pn=16-this.leftover,pn>rn&&(pn=rn),Jt=0;Jt<pn;Jt++)this.buffer[this.leftover+Jt]=Xt[Qt+Jt];if(rn-=pn,Qt+=pn,this.leftover+=pn,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(rn>=16&&(pn=rn-rn%16,this.blocks(Xt,Qt,pn),Qt+=pn,rn-=pn),rn){for(Jt=0;Jt<rn;Jt++)this.buffer[this.leftover+Jt]=Xt[Qt+Jt];this.leftover+=rn}};function rt(Xt,Qt,rn,Jt,pn,Sn){var Fn=new Rt(Sn);return Fn.update(rn,Jt,pn),Fn.finish(Xt,Qt),0}function ut(Xt,Qt,rn,Jt,pn,Sn){var Fn=new Uint8Array(16);return rt(Fn,0,rn,Jt,pn,Sn),Mt(Xt,Qt,Fn,0)}function ct(Xt,Qt,rn,Jt,pn){var Sn;if(rn<32)return-1;for(vn(Xt,0,Qt,0,rn,Jt,pn),rt(Xt,16,Xt,32,rn-32,Xt),Sn=0;Sn<16;Sn++)Xt[Sn]=0;return 0}function ht(Xt,Qt,rn,Jt,pn){var Sn,Fn=new Uint8Array(32);if(rn<32||(ln(Fn,0,32,Jt,pn),ut(Qt,16,Qt,32,rn-32,Fn)!==0))return-1;for(vn(Xt,0,Qt,0,rn,Jt,pn),Sn=0;Sn<32;Sn++)Xt[Sn]=0;return 0}function vt(Xt,Qt){var rn;for(rn=0;rn<16;rn++)Xt[rn]=Qt[rn]|0}function $t(Xt){var Qt,rn,Jt=1;for(Qt=0;Qt<16;Qt++)rn=Xt[Qt]+Jt+65535,Jt=Math.floor(rn/65536),Xt[Qt]=rn-Jt*65536;Xt[0]+=Jt-1+37*(Jt-1)}function xt(Xt,Qt,rn){for(var Jt,pn=~(rn-1),Sn=0;Sn<16;Sn++)Jt=pn&(Xt[Sn]^Qt[Sn]),Xt[Sn]^=Jt,Qt[Sn]^=Jt}function bt(Xt,Qt){var rn,Jt,pn,Sn=_e(),Fn=_e();for(rn=0;rn<16;rn++)Fn[rn]=Qt[rn];for($t(Fn),$t(Fn),$t(Fn),Jt=0;Jt<2;Jt++){for(Sn[0]=Fn[0]-65517,rn=1;rn<15;rn++)Sn[rn]=Fn[rn]-65535-(Sn[rn-1]>>16&1),Sn[rn-1]&=65535;Sn[15]=Fn[15]-32767-(Sn[14]>>16&1),pn=Sn[15]>>16&1,Sn[14]&=65535,xt(Fn,Sn,1-pn)}for(rn=0;rn<16;rn++)Xt[2*rn]=Fn[rn]&255,Xt[2*rn+1]=Fn[rn]>>8}function it(Xt,Qt){var rn=new Uint8Array(32),Jt=new Uint8Array(32);return bt(rn,Xt),bt(Jt,Qt),kt(rn,0,Jt,0)}function Et(Xt){var Qt=new Uint8Array(32);return bt(Qt,Xt),Qt[0]&1}function Dt(Xt,Qt){var rn;for(rn=0;rn<16;rn++)Xt[rn]=Qt[2*rn]+(Qt[2*rn+1]<<8);Xt[15]&=32767}function Nt(Xt,Qt,rn){for(var Jt=0;Jt<16;Jt++)Xt[Jt]=Qt[Jt]+rn[Jt]}function Vt(Xt,Qt,rn){for(var Jt=0;Jt<16;Jt++)Xt[Jt]=Qt[Jt]-rn[Jt]}function Bt(Xt,Qt,rn){var Jt,pn,Sn=0,Fn=0,In=0,Bn=0,or=0,ar=0,Sr=0,pr=0,lr=0,Er=0,Rr=0,Lr=0,Mr=0,Pr=0,Dr=0,xr=0,Cr=0,Tr=0,wr=0,Ir=0,ur=0,Zn=0,er=0,gr=0,yr=0,br=0,kr=0,Hr=0,Kr=0,Yr=0,Wr=0,Vn=rn[0],_i=rn[1],oo=rn[2],ao=rn[3],Xr=rn[4],so=rn[5],ro=rn[6],bo=rn[7],co=rn[8],mo=rn[9],Eo=rn[10],$o=rn[11],Co=rn[12],Mo=rn[13],Po=rn[14],Do=rn[15];Jt=Qt[0],Sn+=Jt*Vn,Fn+=Jt*_i,In+=Jt*oo,Bn+=Jt*ao,or+=Jt*Xr,ar+=Jt*so,Sr+=Jt*ro,pr+=Jt*bo,lr+=Jt*co,Er+=Jt*mo,Rr+=Jt*Eo,Lr+=Jt*$o,Mr+=Jt*Co,Pr+=Jt*Mo,Dr+=Jt*Po,xr+=Jt*Do,Jt=Qt[1],Fn+=Jt*Vn,In+=Jt*_i,Bn+=Jt*oo,or+=Jt*ao,ar+=Jt*Xr,Sr+=Jt*so,pr+=Jt*ro,lr+=Jt*bo,Er+=Jt*co,Rr+=Jt*mo,Lr+=Jt*Eo,Mr+=Jt*$o,Pr+=Jt*Co,Dr+=Jt*Mo,xr+=Jt*Po,Cr+=Jt*Do,Jt=Qt[2],In+=Jt*Vn,Bn+=Jt*_i,or+=Jt*oo,ar+=Jt*ao,Sr+=Jt*Xr,pr+=Jt*so,lr+=Jt*ro,Er+=Jt*bo,Rr+=Jt*co,Lr+=Jt*mo,Mr+=Jt*Eo,Pr+=Jt*$o,Dr+=Jt*Co,xr+=Jt*Mo,Cr+=Jt*Po,Tr+=Jt*Do,Jt=Qt[3],Bn+=Jt*Vn,or+=Jt*_i,ar+=Jt*oo,Sr+=Jt*ao,pr+=Jt*Xr,lr+=Jt*so,Er+=Jt*ro,Rr+=Jt*bo,Lr+=Jt*co,Mr+=Jt*mo,Pr+=Jt*Eo,Dr+=Jt*$o,xr+=Jt*Co,Cr+=Jt*Mo,Tr+=Jt*Po,wr+=Jt*Do,Jt=Qt[4],or+=Jt*Vn,ar+=Jt*_i,Sr+=Jt*oo,pr+=Jt*ao,lr+=Jt*Xr,Er+=Jt*so,Rr+=Jt*ro,Lr+=Jt*bo,Mr+=Jt*co,Pr+=Jt*mo,Dr+=Jt*Eo,xr+=Jt*$o,Cr+=Jt*Co,Tr+=Jt*Mo,wr+=Jt*Po,Ir+=Jt*Do,Jt=Qt[5],ar+=Jt*Vn,Sr+=Jt*_i,pr+=Jt*oo,lr+=Jt*ao,Er+=Jt*Xr,Rr+=Jt*so,Lr+=Jt*ro,Mr+=Jt*bo,Pr+=Jt*co,Dr+=Jt*mo,xr+=Jt*Eo,Cr+=Jt*$o,Tr+=Jt*Co,wr+=Jt*Mo,Ir+=Jt*Po,ur+=Jt*Do,Jt=Qt[6],Sr+=Jt*Vn,pr+=Jt*_i,lr+=Jt*oo,Er+=Jt*ao,Rr+=Jt*Xr,Lr+=Jt*so,Mr+=Jt*ro,Pr+=Jt*bo,Dr+=Jt*co,xr+=Jt*mo,Cr+=Jt*Eo,Tr+=Jt*$o,wr+=Jt*Co,Ir+=Jt*Mo,ur+=Jt*Po,Zn+=Jt*Do,Jt=Qt[7],pr+=Jt*Vn,lr+=Jt*_i,Er+=Jt*oo,Rr+=Jt*ao,Lr+=Jt*Xr,Mr+=Jt*so,Pr+=Jt*ro,Dr+=Jt*bo,xr+=Jt*co,Cr+=Jt*mo,Tr+=Jt*Eo,wr+=Jt*$o,Ir+=Jt*Co,ur+=Jt*Mo,Zn+=Jt*Po,er+=Jt*Do,Jt=Qt[8],lr+=Jt*Vn,Er+=Jt*_i,Rr+=Jt*oo,Lr+=Jt*ao,Mr+=Jt*Xr,Pr+=Jt*so,Dr+=Jt*ro,xr+=Jt*bo,Cr+=Jt*co,Tr+=Jt*mo,wr+=Jt*Eo,Ir+=Jt*$o,ur+=Jt*Co,Zn+=Jt*Mo,er+=Jt*Po,gr+=Jt*Do,Jt=Qt[9],Er+=Jt*Vn,Rr+=Jt*_i,Lr+=Jt*oo,Mr+=Jt*ao,Pr+=Jt*Xr,Dr+=Jt*so,xr+=Jt*ro,Cr+=Jt*bo,Tr+=Jt*co,wr+=Jt*mo,Ir+=Jt*Eo,ur+=Jt*$o,Zn+=Jt*Co,er+=Jt*Mo,gr+=Jt*Po,yr+=Jt*Do,Jt=Qt[10],Rr+=Jt*Vn,Lr+=Jt*_i,Mr+=Jt*oo,Pr+=Jt*ao,Dr+=Jt*Xr,xr+=Jt*so,Cr+=Jt*ro,Tr+=Jt*bo,wr+=Jt*co,Ir+=Jt*mo,ur+=Jt*Eo,Zn+=Jt*$o,er+=Jt*Co,gr+=Jt*Mo,yr+=Jt*Po,br+=Jt*Do,Jt=Qt[11],Lr+=Jt*Vn,Mr+=Jt*_i,Pr+=Jt*oo,Dr+=Jt*ao,xr+=Jt*Xr,Cr+=Jt*so,Tr+=Jt*ro,wr+=Jt*bo,Ir+=Jt*co,ur+=Jt*mo,Zn+=Jt*Eo,er+=Jt*$o,gr+=Jt*Co,yr+=Jt*Mo,br+=Jt*Po,kr+=Jt*Do,Jt=Qt[12],Mr+=Jt*Vn,Pr+=Jt*_i,Dr+=Jt*oo,xr+=Jt*ao,Cr+=Jt*Xr,Tr+=Jt*so,wr+=Jt*ro,Ir+=Jt*bo,ur+=Jt*co,Zn+=Jt*mo,er+=Jt*Eo,gr+=Jt*$o,yr+=Jt*Co,br+=Jt*Mo,kr+=Jt*Po,Hr+=Jt*Do,Jt=Qt[13],Pr+=Jt*Vn,Dr+=Jt*_i,xr+=Jt*oo,Cr+=Jt*ao,Tr+=Jt*Xr,wr+=Jt*so,Ir+=Jt*ro,ur+=Jt*bo,Zn+=Jt*co,er+=Jt*mo,gr+=Jt*Eo,yr+=Jt*$o,br+=Jt*Co,kr+=Jt*Mo,Hr+=Jt*Po,Kr+=Jt*Do,Jt=Qt[14],Dr+=Jt*Vn,xr+=Jt*_i,Cr+=Jt*oo,Tr+=Jt*ao,wr+=Jt*Xr,Ir+=Jt*so,ur+=Jt*ro,Zn+=Jt*bo,er+=Jt*co,gr+=Jt*mo,yr+=Jt*Eo,br+=Jt*$o,kr+=Jt*Co,Hr+=Jt*Mo,Kr+=Jt*Po,Yr+=Jt*Do,Jt=Qt[15],xr+=Jt*Vn,Cr+=Jt*_i,Tr+=Jt*oo,wr+=Jt*ao,Ir+=Jt*Xr,ur+=Jt*so,Zn+=Jt*ro,er+=Jt*bo,gr+=Jt*co,yr+=Jt*mo,br+=Jt*Eo,kr+=Jt*$o,Hr+=Jt*Co,Kr+=Jt*Mo,Yr+=Jt*Po,Wr+=Jt*Do,Sn+=38*Cr,Fn+=38*Tr,In+=38*wr,Bn+=38*Ir,or+=38*ur,ar+=38*Zn,Sr+=38*er,pr+=38*gr,lr+=38*yr,Er+=38*br,Rr+=38*kr,Lr+=38*Hr,Mr+=38*Kr,Pr+=38*Yr,Dr+=38*Wr,pn=1,Jt=Sn+pn+65535,pn=Math.floor(Jt/65536),Sn=Jt-pn*65536,Jt=Fn+pn+65535,pn=Math.floor(Jt/65536),Fn=Jt-pn*65536,Jt=In+pn+65535,pn=Math.floor(Jt/65536),In=Jt-pn*65536,Jt=Bn+pn+65535,pn=Math.floor(Jt/65536),Bn=Jt-pn*65536,Jt=or+pn+65535,pn=Math.floor(Jt/65536),or=Jt-pn*65536,Jt=ar+pn+65535,pn=Math.floor(Jt/65536),ar=Jt-pn*65536,Jt=Sr+pn+65535,pn=Math.floor(Jt/65536),Sr=Jt-pn*65536,Jt=pr+pn+65535,pn=Math.floor(Jt/65536),pr=Jt-pn*65536,Jt=lr+pn+65535,pn=Math.floor(Jt/65536),lr=Jt-pn*65536,Jt=Er+pn+65535,pn=Math.floor(Jt/65536),Er=Jt-pn*65536,Jt=Rr+pn+65535,pn=Math.floor(Jt/65536),Rr=Jt-pn*65536,Jt=Lr+pn+65535,pn=Math.floor(Jt/65536),Lr=Jt-pn*65536,Jt=Mr+pn+65535,pn=Math.floor(Jt/65536),Mr=Jt-pn*65536,Jt=Pr+pn+65535,pn=Math.floor(Jt/65536),Pr=Jt-pn*65536,Jt=Dr+pn+65535,pn=Math.floor(Jt/65536),Dr=Jt-pn*65536,Jt=xr+pn+65535,pn=Math.floor(Jt/65536),xr=Jt-pn*65536,Sn+=pn-1+37*(pn-1),pn=1,Jt=Sn+pn+65535,pn=Math.floor(Jt/65536),Sn=Jt-pn*65536,Jt=Fn+pn+65535,pn=Math.floor(Jt/65536),Fn=Jt-pn*65536,Jt=In+pn+65535,pn=Math.floor(Jt/65536),In=Jt-pn*65536,Jt=Bn+pn+65535,pn=Math.floor(Jt/65536),Bn=Jt-pn*65536,Jt=or+pn+65535,pn=Math.floor(Jt/65536),or=Jt-pn*65536,Jt=ar+pn+65535,pn=Math.floor(Jt/65536),ar=Jt-pn*65536,Jt=Sr+pn+65535,pn=Math.floor(Jt/65536),Sr=Jt-pn*65536,Jt=pr+pn+65535,pn=Math.floor(Jt/65536),pr=Jt-pn*65536,Jt=lr+pn+65535,pn=Math.floor(Jt/65536),lr=Jt-pn*65536,Jt=Er+pn+65535,pn=Math.floor(Jt/65536),Er=Jt-pn*65536,Jt=Rr+pn+65535,pn=Math.floor(Jt/65536),Rr=Jt-pn*65536,Jt=Lr+pn+65535,pn=Math.floor(Jt/65536),Lr=Jt-pn*65536,Jt=Mr+pn+65535,pn=Math.floor(Jt/65536),Mr=Jt-pn*65536,Jt=Pr+pn+65535,pn=Math.floor(Jt/65536),Pr=Jt-pn*65536,Jt=Dr+pn+65535,pn=Math.floor(Jt/65536),Dr=Jt-pn*65536,Jt=xr+pn+65535,pn=Math.floor(Jt/65536),xr=Jt-pn*65536,Sn+=pn-1+37*(pn-1),Xt[0]=Sn,Xt[1]=Fn,Xt[2]=In,Xt[3]=Bn,Xt[4]=or,Xt[5]=ar,Xt[6]=Sr,Xt[7]=pr,Xt[8]=lr,Xt[9]=Er,Xt[10]=Rr,Xt[11]=Lr,Xt[12]=Mr,Xt[13]=Pr,Xt[14]=Dr,Xt[15]=xr}function Kt(Xt,Qt){Bt(Xt,Qt,Qt)}function qt(Xt,Qt){var rn=_e(),Jt;for(Jt=0;Jt<16;Jt++)rn[Jt]=Qt[Jt];for(Jt=253;Jt>=0;Jt--)Kt(rn,rn),Jt!==2&&Jt!==4&&Bt(rn,rn,Qt);for(Jt=0;Jt<16;Jt++)Xt[Jt]=rn[Jt]}function nn(Xt,Qt){var rn=_e(),Jt;for(Jt=0;Jt<16;Jt++)rn[Jt]=Qt[Jt];for(Jt=250;Jt>=0;Jt--)Kt(rn,rn),Jt!==1&&Bt(rn,rn,Qt);for(Jt=0;Jt<16;Jt++)Xt[Jt]=rn[Jt]}function un(Xt,Qt,rn){var Jt=new Uint8Array(32),pn=new Float64Array(80),Sn,Fn,In=_e(),Bn=_e(),or=_e(),ar=_e(),Sr=_e(),pr=_e();for(Fn=0;Fn<31;Fn++)Jt[Fn]=Qt[Fn];for(Jt[31]=Qt[31]&127|64,Jt[0]&=248,Dt(pn,rn),Fn=0;Fn<16;Fn++)Bn[Fn]=pn[Fn],ar[Fn]=In[Fn]=or[Fn]=0;for(In[0]=ar[0]=1,Fn=254;Fn>=0;--Fn)Sn=Jt[Fn>>>3]>>>(Fn&7)&1,xt(In,Bn,Sn),xt(or,ar,Sn),Nt(Sr,In,or),Vt(In,In,or),Nt(or,Bn,ar),Vt(Bn,Bn,ar),Kt(ar,Sr),Kt(pr,In),Bt(In,or,In),Bt(or,Bn,Sr),Nt(Sr,In,or),Vt(In,In,or),Kt(Bn,In),Vt(or,ar,pr),Bt(In,or,dt),Nt(In,In,ar),Bt(or,or,In),Bt(In,ar,pr),Bt(ar,Bn,pn),Kt(Bn,Sr),xt(In,Bn,Sn),xt(or,ar,Sn);for(Fn=0;Fn<16;Fn++)pn[Fn+16]=In[Fn],pn[Fn+32]=or[Fn],pn[Fn+48]=Bn[Fn],pn[Fn+64]=ar[Fn];var lr=pn.subarray(32),Er=pn.subarray(16);return qt(lr,lr),Bt(Er,Er,lr),bt(Xt,Er),0}function hn(Xt,Qt){return un(Xt,Qt,tt)}function zt(Xt,Qt){return et(Qt,32),hn(Xt,Qt)}function Ot(Xt,Qt,rn){var Jt=new Uint8Array(32);return un(Jt,rn,Qt),Yt(Xt,nt,Jt,jt)}var Gt=ct,cn=ht;function tn(Xt,Qt,rn,Jt,pn,Sn){var Fn=new Uint8Array(32);return Ot(Fn,pn,Sn),Gt(Xt,Qt,rn,Jt,Fn)}function yn(Xt,Qt,rn,Jt,pn,Sn){var Fn=new Uint8Array(32);return Ot(Fn,pn,Sn),cn(Xt,Qt,rn,Jt,Fn)}var xn=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function dn(Xt,Qt,rn,Jt){for(var pn=new Int32Array(16),Sn=new Int32Array(16),Fn,In,Bn,or,ar,Sr,pr,lr,Er,Rr,Lr,Mr,Pr,Dr,xr,Cr,Tr,wr,Ir,ur,Zn,er,gr,yr,br,kr,Hr=Xt[0],Kr=Xt[1],Yr=Xt[2],Wr=Xt[3],Vn=Xt[4],_i=Xt[5],oo=Xt[6],ao=Xt[7],Xr=Qt[0],so=Qt[1],ro=Qt[2],bo=Qt[3],co=Qt[4],mo=Qt[5],Eo=Qt[6],$o=Qt[7],Co=0;Jt>=128;){for(Ir=0;Ir<16;Ir++)ur=8*Ir+Co,pn[Ir]=rn[ur+0]<<24|rn[ur+1]<<16|rn[ur+2]<<8|rn[ur+3],Sn[Ir]=rn[ur+4]<<24|rn[ur+5]<<16|rn[ur+6]<<8|rn[ur+7];for(Ir=0;Ir<80;Ir++)if(Fn=Hr,In=Kr,Bn=Yr,or=Wr,ar=Vn,Sr=_i,pr=oo,lr=ao,Er=Xr,Rr=so,Lr=ro,Mr=bo,Pr=co,Dr=mo,xr=Eo,Cr=$o,Zn=ao,er=$o,gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=(Vn>>>14|co<<18)^(Vn>>>18|co<<14)^(co>>>9|Vn<<23),er=(co>>>14|Vn<<18)^(co>>>18|Vn<<14)^(Vn>>>9|co<<23),gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,Zn=Vn&_i^~Vn&oo,er=co&mo^~co&Eo,gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,Zn=xn[Ir*2],er=xn[Ir*2+1],gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,Zn=pn[Ir%16],er=Sn[Ir%16],gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,Tr=br&65535|kr<<16,wr=gr&65535|yr<<16,Zn=Tr,er=wr,gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=(Hr>>>28|Xr<<4)^(Xr>>>2|Hr<<30)^(Xr>>>7|Hr<<25),er=(Xr>>>28|Hr<<4)^(Hr>>>2|Xr<<30)^(Hr>>>7|Xr<<25),gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,Zn=Hr&Kr^Hr&Yr^Kr&Yr,er=Xr&so^Xr&ro^so&ro,gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,lr=br&65535|kr<<16,Cr=gr&65535|yr<<16,Zn=or,er=Mr,gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=Tr,er=wr,gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,or=br&65535|kr<<16,Mr=gr&65535|yr<<16,Kr=Fn,Yr=In,Wr=Bn,Vn=or,_i=ar,oo=Sr,ao=pr,Hr=lr,so=Er,ro=Rr,bo=Lr,co=Mr,mo=Pr,Eo=Dr,$o=xr,Xr=Cr,Ir%16===15)for(ur=0;ur<16;ur++)Zn=pn[ur],er=Sn[ur],gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=pn[(ur+9)%16],er=Sn[(ur+9)%16],gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,Tr=pn[(ur+1)%16],wr=Sn[(ur+1)%16],Zn=(Tr>>>1|wr<<31)^(Tr>>>8|wr<<24)^Tr>>>7,er=(wr>>>1|Tr<<31)^(wr>>>8|Tr<<24)^(wr>>>7|Tr<<25),gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,Tr=pn[(ur+14)%16],wr=Sn[(ur+14)%16],Zn=(Tr>>>19|wr<<13)^(wr>>>29|Tr<<3)^Tr>>>6,er=(wr>>>19|Tr<<13)^(Tr>>>29|wr<<3)^(wr>>>6|Tr<<26),gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,pn[ur]=br&65535|kr<<16,Sn[ur]=gr&65535|yr<<16;Zn=Hr,er=Xr,gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=Xt[0],er=Qt[0],gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,Xt[0]=Hr=br&65535|kr<<16,Qt[0]=Xr=gr&65535|yr<<16,Zn=Kr,er=so,gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=Xt[1],er=Qt[1],gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,Xt[1]=Kr=br&65535|kr<<16,Qt[1]=so=gr&65535|yr<<16,Zn=Yr,er=ro,gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=Xt[2],er=Qt[2],gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,Xt[2]=Yr=br&65535|kr<<16,Qt[2]=ro=gr&65535|yr<<16,Zn=Wr,er=bo,gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=Xt[3],er=Qt[3],gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,Xt[3]=Wr=br&65535|kr<<16,Qt[3]=bo=gr&65535|yr<<16,Zn=Vn,er=co,gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=Xt[4],er=Qt[4],gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,Xt[4]=Vn=br&65535|kr<<16,Qt[4]=co=gr&65535|yr<<16,Zn=_i,er=mo,gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=Xt[5],er=Qt[5],gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,Xt[5]=_i=br&65535|kr<<16,Qt[5]=mo=gr&65535|yr<<16,Zn=oo,er=Eo,gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=Xt[6],er=Qt[6],gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,Xt[6]=oo=br&65535|kr<<16,Qt[6]=Eo=gr&65535|yr<<16,Zn=ao,er=$o,gr=er&65535,yr=er>>>16,br=Zn&65535,kr=Zn>>>16,Zn=Xt[7],er=Qt[7],gr+=er&65535,yr+=er>>>16,br+=Zn&65535,kr+=Zn>>>16,yr+=gr>>>16,br+=yr>>>16,kr+=br>>>16,Xt[7]=ao=br&65535|kr<<16,Qt[7]=$o=gr&65535|yr<<16,Co+=128,Jt-=128}return Jt}function gn(Xt,Qt,rn){var Jt=new Int32Array(8),pn=new Int32Array(8),Sn=new Uint8Array(256),Fn,In=rn;for(Jt[0]=1779033703,Jt[1]=3144134277,Jt[2]=1013904242,Jt[3]=2773480762,Jt[4]=1359893119,Jt[5]=2600822924,Jt[6]=528734635,Jt[7]=1541459225,pn[0]=4089235720,pn[1]=2227873595,pn[2]=4271175723,pn[3]=1595750129,pn[4]=2917565137,pn[5]=725511199,pn[6]=4215389547,pn[7]=327033209,dn(Jt,pn,Qt,rn),rn%=128,Fn=0;Fn<rn;Fn++)Sn[Fn]=Qt[In-rn+Fn];for(Sn[rn]=128,rn=256-128*(rn<112?1:0),Sn[rn-9]=0,At(Sn,rn-8,In/536870912|0,In<<3),dn(Jt,pn,Sn,rn),Fn=0;Fn<8;Fn++)At(Xt,8*Fn,Jt[Fn],pn[Fn]);return 0}function Un(Xt,Qt){var rn=_e(),Jt=_e(),pn=_e(),Sn=_e(),Fn=_e(),In=_e(),Bn=_e(),or=_e(),ar=_e();Vt(rn,Xt[1],Xt[0]),Vt(ar,Qt[1],Qt[0]),Bt(rn,rn,ar),Nt(Jt,Xt[0],Xt[1]),Nt(ar,Qt[0],Qt[1]),Bt(Jt,Jt,ar),Bt(pn,Xt[3],Qt[3]),Bt(pn,pn,pt),Bt(Sn,Xt[2],Qt[2]),Nt(Sn,Sn,Sn),Vt(Fn,Jt,rn),Vt(In,Sn,pn),Nt(Bn,Sn,pn),Nt(or,Jt,rn),Bt(Xt[0],Fn,In),Bt(Xt[1],or,Bn),Bt(Xt[2],Bn,In),Bt(Xt[3],Fn,or)}function En(Xt,Qt,rn){var Jt;for(Jt=0;Jt<4;Jt++)xt(Xt[Jt],Qt[Jt],rn)}function Mn(Xt,Qt){var rn=_e(),Jt=_e(),pn=_e();qt(pn,Qt[2]),Bt(rn,Qt[0],pn),Bt(Jt,Qt[1],pn),bt(Xt,Jt),Xt[31]^=Et(rn)<<7}function cr(Xt,Qt,rn){var Jt,pn;for(vt(Xt[0],ot),vt(Xt[1],ft),vt(Xt[2],ft),vt(Xt[3],ot),pn=255;pn>=0;--pn)Jt=rn[pn/8|0]>>(pn&7)&1,En(Xt,Qt,Jt),Un(Qt,Xt),Un(Xt,Xt),En(Xt,Qt,Jt)}function On(Xt,Qt){var rn=[_e(),_e(),_e(),_e()];vt(rn[0],yt),vt(rn[1],Tt),vt(rn[2],ft),Bt(rn[3],yt,Tt),cr(Xt,rn,Qt)}function Ln(Xt,Qt,rn){var Jt=new Uint8Array(64),pn=[_e(),_e(),_e(),_e()],Sn;for(rn||et(Qt,32),gn(Jt,Qt,32),Jt[0]&=248,Jt[31]&=127,Jt[31]|=64,On(pn,Jt),Mn(Xt,pn),Sn=0;Sn<32;Sn++)Qt[Sn+32]=Xt[Sn];return 0}var wn=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function _n(Xt,Qt){var rn,Jt,pn,Sn;for(Jt=63;Jt>=32;--Jt){for(rn=0,pn=Jt-32,Sn=Jt-12;pn<Sn;++pn)Qt[pn]+=rn-16*Qt[Jt]*wn[pn-(Jt-32)],rn=Math.floor((Qt[pn]+128)/256),Qt[pn]-=rn*256;Qt[pn]+=rn,Qt[Jt]=0}for(rn=0,pn=0;pn<32;pn++)Qt[pn]+=rn-(Qt[31]>>4)*wn[pn],rn=Qt[pn]>>8,Qt[pn]&=255;for(pn=0;pn<32;pn++)Qt[pn]-=rn*wn[pn];for(Jt=0;Jt<32;Jt++)Qt[Jt+1]+=Qt[Jt]>>8,Xt[Jt]=Qt[Jt]&255}function Cn(Xt){var Qt=new Float64Array(64),rn;for(rn=0;rn<64;rn++)Qt[rn]=Xt[rn];for(rn=0;rn<64;rn++)Xt[rn]=0;_n(Xt,Qt)}function Jn(Xt,Qt,rn,Jt){var pn=new Uint8Array(64),Sn=new Uint8Array(64),Fn=new Uint8Array(64),In,Bn,or=new Float64Array(64),ar=[_e(),_e(),_e(),_e()];gn(pn,Jt,32),pn[0]&=248,pn[31]&=127,pn[31]|=64;var Sr=rn+64;for(In=0;In<rn;In++)Xt[64+In]=Qt[In];for(In=0;In<32;In++)Xt[32+In]=pn[32+In];for(gn(Fn,Xt.subarray(32),rn+32),Cn(Fn),On(ar,Fn),Mn(Xt,ar),In=32;In<64;In++)Xt[In]=Jt[In];for(gn(Sn,Xt,rn+64),Cn(Sn),In=0;In<64;In++)or[In]=0;for(In=0;In<32;In++)or[In]=Fn[In];for(In=0;In<32;In++)for(Bn=0;Bn<32;Bn++)or[In+Bn]+=Sn[In]*pn[Bn];return _n(Xt.subarray(32),or),Sr}function an(Xt,Qt){var rn=_e(),Jt=_e(),pn=_e(),Sn=_e(),Fn=_e(),In=_e(),Bn=_e();return vt(Xt[2],ft),Dt(Xt[1],Qt),Kt(pn,Xt[1]),Bt(Sn,pn,mt),Vt(pn,pn,Xt[2]),Nt(Sn,Xt[2],Sn),Kt(Fn,Sn),Kt(In,Fn),Bt(Bn,In,Fn),Bt(rn,Bn,pn),Bt(rn,rn,Sn),nn(rn,rn),Bt(rn,rn,pn),Bt(rn,rn,Sn),Bt(rn,rn,Sn),Bt(Xt[0],rn,Sn),Kt(Jt,Xt[0]),Bt(Jt,Jt,Sn),it(Jt,pn)&&Bt(Xt[0],Xt[0],St),Kt(Jt,Xt[0]),Bt(Jt,Jt,Sn),it(Jt,pn)?-1:(Et(Xt[0])===Qt[31]>>7&&Vt(Xt[0],ot,Xt[0]),Bt(Xt[3],Xt[0],Xt[1]),0)}function Ht(Xt,Qt,rn,Jt){var pn,Sn=new Uint8Array(32),Fn=new Uint8Array(64),In=[_e(),_e(),_e(),_e()],Bn=[_e(),_e(),_e(),_e()];if(rn<64||an(Bn,Jt))return-1;for(pn=0;pn<rn;pn++)Xt[pn]=Qt[pn];for(pn=0;pn<32;pn++)Xt[pn+32]=Jt[pn];if(gn(Fn,Xt,rn),Cn(Fn),cr(In,Bn,Fn),On(Bn,Qt.subarray(32)),Un(In,Bn),Mn(Sn,In),rn-=64,kt(Qt,0,Sn,0)){for(pn=0;pn<rn;pn++)Xt[pn]=0;return-1}for(pn=0;pn<rn;pn++)Xt[pn]=Qt[pn+64];return rn}var Zt=32,mn=24,Tn=32,jn=16,kn=32,Dn=32,Wn=32,Nn=32,Hn=32,dr=mn,Gn=Tn,Qn=jn,Br=64,zn=32,tr=64,Fr=32,Xn=64;j.lowlevel={crypto_core_hsalsa20:Yt,crypto_stream_xor:vn,crypto_stream:ln,crypto_stream_salsa20_xor:Wt,crypto_stream_salsa20:sn,crypto_onetimeauth:rt,crypto_onetimeauth_verify:ut,crypto_verify_16:Mt,crypto_verify_32:kt,crypto_secretbox:ct,crypto_secretbox_open:ht,crypto_scalarmult:un,crypto_scalarmult_base:hn,crypto_box_beforenm:Ot,crypto_box_afternm:Gt,crypto_box:tn,crypto_box_open:yn,crypto_box_keypair:zt,crypto_hash:gn,crypto_sign:Jn,crypto_sign_keypair:Ln,crypto_sign_open:Ht,crypto_secretbox_KEYBYTES:Zt,crypto_secretbox_NONCEBYTES:mn,crypto_secretbox_ZEROBYTES:Tn,crypto_secretbox_BOXZEROBYTES:jn,crypto_scalarmult_BYTES:kn,crypto_scalarmult_SCALARBYTES:Dn,crypto_box_PUBLICKEYBYTES:Wn,crypto_box_SECRETKEYBYTES:Nn,crypto_box_BEFORENMBYTES:Hn,crypto_box_NONCEBYTES:dr,crypto_box_ZEROBYTES:Gn,crypto_box_BOXZEROBYTES:Qn,crypto_sign_BYTES:Br,crypto_sign_PUBLICKEYBYTES:zn,crypto_sign_SECRETKEYBYTES:tr,crypto_sign_SEEDBYTES:Fr,crypto_hash_BYTES:Xn,gf:_e,D:mt,L:wn,pack25519:bt,unpack25519:Dt,M:Bt,A:Nt,S:Kt,Z:Vt,pow2523:nn,add:Un,set25519:vt,modL:_n,scalarmult:cr,scalarbase:On};function ir(Xt,Qt){if(Xt.length!==Zt)throw new Error("bad key size");if(Qt.length!==mn)throw new Error("bad nonce size")}function Or(Xt,Qt){if(Xt.length!==Wn)throw new Error("bad public key size");if(Qt.length!==Nn)throw new Error("bad secret key size")}function Kn(){for(var Xt=0;Xt<arguments.length;Xt++)if(!(arguments[Xt]instanceof Uint8Array))throw new TypeError("unexpected type, use Uint8Array")}function An(Xt){for(var Qt=0;Qt<Xt.length;Qt++)Xt[Qt]=0}j.randomBytes=function(Xt){var Qt=new Uint8Array(Xt);return et(Qt,Xt),Qt},j.secretbox=function(Xt,Qt,rn){Kn(Xt,Qt,rn),ir(rn,Qt);for(var Jt=new Uint8Array(Tn+Xt.length),pn=new Uint8Array(Jt.length),Sn=0;Sn<Xt.length;Sn++)Jt[Sn+Tn]=Xt[Sn];return ct(pn,Jt,Jt.length,Qt,rn),pn.subarray(jn)},j.secretbox.open=function(Xt,Qt,rn){Kn(Xt,Qt,rn),ir(rn,Qt);for(var Jt=new Uint8Array(jn+Xt.length),pn=new Uint8Array(Jt.length),Sn=0;Sn<Xt.length;Sn++)Jt[Sn+jn]=Xt[Sn];return Jt.length<32||ht(pn,Jt,Jt.length,Qt,rn)!==0?null:pn.subarray(Tn)},j.secretbox.keyLength=Zt,j.secretbox.nonceLength=mn,j.secretbox.overheadLength=jn,j.scalarMult=function(Xt,Qt){if(Kn(Xt,Qt),Xt.length!==Dn)throw new Error("bad n size");if(Qt.length!==kn)throw new Error("bad p size");var rn=new Uint8Array(kn);return un(rn,Xt,Qt),rn},j.scalarMult.base=function(Xt){if(Kn(Xt),Xt.length!==Dn)throw new Error("bad n size");var Qt=new Uint8Array(kn);return hn(Qt,Xt),Qt},j.scalarMult.scalarLength=Dn,j.scalarMult.groupElementLength=kn,j.box=function(Xt,Qt,rn,Jt){var pn=j.box.before(rn,Jt);return j.secretbox(Xt,Qt,pn)},j.box.before=function(Xt,Qt){Kn(Xt,Qt),Or(Xt,Qt);var rn=new Uint8Array(Hn);return Ot(rn,Xt,Qt),rn},j.box.after=j.secretbox,j.box.open=function(Xt,Qt,rn,Jt){var pn=j.box.before(rn,Jt);return j.secretbox.open(Xt,Qt,pn)},j.box.open.after=j.secretbox.open,j.box.keyPair=function(){var Xt=new Uint8Array(Wn),Qt=new Uint8Array(Nn);return zt(Xt,Qt),{publicKey:Xt,secretKey:Qt}},j.box.keyPair.fromSecretKey=function(Xt){if(Kn(Xt),Xt.length!==Nn)throw new Error("bad secret key size");var Qt=new Uint8Array(Wn);return hn(Qt,Xt),{publicKey:Qt,secretKey:new Uint8Array(Xt)}},j.box.publicKeyLength=Wn,j.box.secretKeyLength=Nn,j.box.sharedKeyLength=Hn,j.box.nonceLength=dr,j.box.overheadLength=j.secretbox.overheadLength,j.sign=function(Xt,Qt){if(Kn(Xt,Qt),Qt.length!==tr)throw new Error("bad secret key size");var rn=new Uint8Array(Br+Xt.length);return Jn(rn,Xt,Xt.length,Qt),rn},j.sign.open=function(Xt,Qt){if(Kn(Xt,Qt),Qt.length!==zn)throw new Error("bad public key size");var rn=new Uint8Array(Xt.length),Jt=Ht(rn,Xt,Xt.length,Qt);if(Jt<0)return null;for(var pn=new Uint8Array(Jt),Sn=0;Sn<pn.length;Sn++)pn[Sn]=rn[Sn];return pn},j.sign.detached=function(Xt,Qt){for(var rn=j.sign(Xt,Qt),Jt=new Uint8Array(Br),pn=0;pn<Jt.length;pn++)Jt[pn]=rn[pn];return Jt},j.sign.detached.verify=function(Xt,Qt,rn){if(Kn(Xt,Qt,rn),Qt.length!==Br)throw new Error("bad signature size");if(rn.length!==zn)throw new Error("bad public key size");var Jt=new Uint8Array(Br+Xt.length),pn=new Uint8Array(Br+Xt.length),Sn;for(Sn=0;Sn<Br;Sn++)Jt[Sn]=Qt[Sn];for(Sn=0;Sn<Xt.length;Sn++)Jt[Sn+Br]=Xt[Sn];return Ht(pn,Jt,Jt.length,rn)>=0},j.sign.keyPair=function(){var Xt=new Uint8Array(zn),Qt=new Uint8Array(tr);return Ln(Xt,Qt),{publicKey:Xt,secretKey:Qt}},j.sign.keyPair.fromSecretKey=function(Xt){if(Kn(Xt),Xt.length!==tr)throw new Error("bad secret key size");for(var Qt=new Uint8Array(zn),rn=0;rn<Qt.length;rn++)Qt[rn]=Xt[32+rn];return{publicKey:Qt,secretKey:new Uint8Array(Xt)}},j.sign.keyPair.fromSeed=function(Xt){if(Kn(Xt),Xt.length!==Fr)throw new Error("bad seed size");for(var Qt=new Uint8Array(zn),rn=new Uint8Array(tr),Jt=0;Jt<32;Jt++)rn[Jt]=Xt[Jt];return Ln(Qt,rn,!0),{publicKey:Qt,secretKey:rn}},j.sign.publicKeyLength=zn,j.sign.secretKeyLength=tr,j.sign.seedLength=Fr,j.sign.signatureLength=Br,j.hash=function(Xt){Kn(Xt);var Qt=new Uint8Array(Xn);return gn(Qt,Xt,Xt.length),Qt},j.hash.hashLength=Xn,j.verify=function(Xt,Qt){return Kn(Xt,Qt),Xt.length===0||Qt.length===0||Xt.length!==Qt.length?!1:Ct(Xt,0,Qt,0,Xt.length)===0},j.setPRNG=function(Xt){et=Xt},function(){var Xt=typeof self<"u"?self.crypto||self.msCrypto:null;if(Xt&&Xt.getRandomValues){var Qt=65536;j.setPRNG(function(rn,Jt){var pn,Sn=new Uint8Array(Jt);for(pn=0;pn<Jt;pn+=Qt)Xt.getRandomValues(Sn.subarray(pn,pn+Math.min(Jt-pn,Qt)));for(pn=0;pn<Jt;pn++)rn[pn]=Sn[pn];An(Sn)})}else typeof commonjsRequire<"u"&&(Xt=requireCryptoBrowserify(),Xt&&Xt.randomBytes&&j.setPRNG(function(rn,Jt){var pn,Sn=Xt.randomBytes(Jt);for(pn=0;pn<Jt;pn++)rn[pn]=Sn[pn];An(Sn)}))}()})(a.exports?a.exports:self.nacl=self.nacl||{})})(naclFast);var naclFastExports=naclFast.exports;const tweetnacl=getDefaultExportFromCjs$1(naclFastExports),overheadLength=tweetnacl.box.publicKeyLength+tweetnacl.box.overheadLength,ERROR_MSG_INPUT="Input must be an string, Buffer or Uint8Array";function normalizeInput(a){let j;if(a instanceof Uint8Array)j=a;else if(typeof a=="string")j=new TextEncoder().encode(a);else throw new Error(ERROR_MSG_INPUT);return j}function toHex(a){return Array.prototype.map.call(a,function(j){return(j<16?"0":"")+j.toString(16)}).join("")}function uint32ToHex(a){return(4294967296+a).toString(16).substring(1)}function debugPrint(a,j,_e){let et=`
430
430
  `+a+" = ";for(let nt=0;nt<j.length;nt+=2){if(_e===32)et+=uint32ToHex(j[nt]).toUpperCase(),et+=" ",et+=uint32ToHex(j[nt+1]).toUpperCase();else if(_e===64)et+=uint32ToHex(j[nt+1]).toUpperCase(),et+=uint32ToHex(j[nt]).toUpperCase();else throw new Error("Invalid size "+_e);nt%6===4?et+=`
431
- `+new Array(a.length+4).join(" "):nt<j.length-2&&(et+=" ")}console.log(et)}function testSpeed(a,j,_e){let et=new Date().getTime();const nt=new Uint8Array(j);for(let ot=0;ot<j;ot++)nt[ot]=ot%256;const tt=new Date().getTime();console.log("Generated random input in "+(tt-et)+"ms"),et=tt;for(let ot=0;ot<_e;ot++){const ft=a(nt),dt=new Date().getTime(),mt=dt-et;et=dt,console.log("Hashed in "+mt+"ms: "+ft.substring(0,20)+"..."),console.log(Math.round(j/(1<<20)/(mt/1e3)*100)/100+" MB PER SECOND")}}var util$6={normalizeInput,toHex,debugPrint,testSpeed};const util$5=util$6;function ADD64AA(a,j,_e){const et=a[j]+a[_e];let nt=a[j+1]+a[_e+1];et>=4294967296&&nt++,a[j]=et,a[j+1]=nt}function ADD64AC(a,j,_e,et){let nt=a[j]+_e;_e<0&&(nt+=4294967296);let tt=a[j+1]+et;nt>=4294967296&&tt++,a[j]=nt,a[j+1]=tt}function B2B_GET32(a,j){return a[j]^a[j+1]<<8^a[j+2]<<16^a[j+3]<<24}function B2B_G(a,j,_e,et,nt,tt){const ot=m[nt],ft=m[nt+1],dt=m[tt],mt=m[tt+1];ADD64AA(v,a,j),ADD64AC(v,a,ot,ft);let pt=v[et]^v[a],yt=v[et+1]^v[a+1];v[et]=yt,v[et+1]=pt,ADD64AA(v,_e,et),pt=v[j]^v[_e],yt=v[j+1]^v[_e+1],v[j]=pt>>>24^yt<<8,v[j+1]=yt>>>24^pt<<8,ADD64AA(v,a,j),ADD64AC(v,a,dt,mt),pt=v[et]^v[a],yt=v[et+1]^v[a+1],v[et]=pt>>>16^yt<<16,v[et+1]=yt>>>16^pt<<16,ADD64AA(v,_e,et),pt=v[j]^v[_e],yt=v[j+1]^v[_e+1],v[j]=yt>>>31^pt<<1,v[j+1]=pt>>>31^yt<<1}const BLAKE2B_IV32=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),SIGMA8=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],SIGMA82=new Uint8Array(SIGMA8.map(function(a){return a*2})),v=new Uint32Array(32),m=new Uint32Array(32);function blake2bCompress(a,j){let _e=0;for(_e=0;_e<16;_e++)v[_e]=a.h[_e],v[_e+16]=BLAKE2B_IV32[_e];for(v[24]=v[24]^a.t,v[25]=v[25]^a.t/4294967296,j&&(v[28]=~v[28],v[29]=~v[29]),_e=0;_e<32;_e++)m[_e]=B2B_GET32(a.b,4*_e);for(_e=0;_e<12;_e++)B2B_G(0,8,16,24,SIGMA82[_e*16+0],SIGMA82[_e*16+1]),B2B_G(2,10,18,26,SIGMA82[_e*16+2],SIGMA82[_e*16+3]),B2B_G(4,12,20,28,SIGMA82[_e*16+4],SIGMA82[_e*16+5]),B2B_G(6,14,22,30,SIGMA82[_e*16+6],SIGMA82[_e*16+7]),B2B_G(0,10,20,30,SIGMA82[_e*16+8],SIGMA82[_e*16+9]),B2B_G(2,12,22,24,SIGMA82[_e*16+10],SIGMA82[_e*16+11]),B2B_G(4,14,16,26,SIGMA82[_e*16+12],SIGMA82[_e*16+13]),B2B_G(6,8,18,28,SIGMA82[_e*16+14],SIGMA82[_e*16+15]);for(_e=0;_e<16;_e++)a.h[_e]=a.h[_e]^v[_e]^v[_e+16]}const parameterBlock=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function blake2bInit(a,j,_e,et){if(a===0||a>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(j&&j.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(_e&&_e.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(et&&et.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const nt={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:a};parameterBlock.fill(0),parameterBlock[0]=a,j&&(parameterBlock[1]=j.length),parameterBlock[2]=1,parameterBlock[3]=1,_e&&parameterBlock.set(_e,32),et&&parameterBlock.set(et,48);for(let tt=0;tt<16;tt++)nt.h[tt]=BLAKE2B_IV32[tt]^B2B_GET32(parameterBlock,tt*4);return j&&(blake2bUpdate(nt,j),nt.c=128),nt}function blake2bUpdate(a,j){for(let _e=0;_e<j.length;_e++)a.c===128&&(a.t+=a.c,blake2bCompress(a,!1),a.c=0),a.b[a.c++]=j[_e]}function blake2bFinal(a){for(a.t+=a.c;a.c<128;)a.b[a.c++]=0;blake2bCompress(a,!0);const j=new Uint8Array(a.outlen);for(let _e=0;_e<a.outlen;_e++)j[_e]=a.h[_e>>2]>>8*(_e&3);return j}function blake2b(a,j,_e,et,nt){_e=_e||64,a=util$5.normalizeInput(a),et&&(et=util$5.normalizeInput(et)),nt&&(nt=util$5.normalizeInput(nt));const tt=blake2bInit(_e,j,et,nt);return blake2bUpdate(tt,a),blake2bFinal(tt)}function blake2bHex(a,j,_e,et,nt){const tt=blake2b(a,j,_e,et,nt);return util$5.toHex(tt)}var blake2b_1={blake2b,blake2bHex,blake2bInit,blake2bUpdate,blake2bFinal};const blake=getDefaultExportFromCjs$1(blake2b_1);function nonce(a,j){var _e=blake.blake2bInit(tweetnacl.box.nonceLength,null);return blake.blake2bUpdate(_e,a),blake.blake2bUpdate(_e,j),blake.blake2bFinal(_e)}function zero(a){for(var j=0;j<a.length;j++)a[j]=0}function seal(a,j){var _e=new Uint8Array(overheadLength+a.length),et=tweetnacl.box.keyPair();_e.set(et.publicKey);var nt=nonce(et.publicKey,j),tt=tweetnacl.box(a,nt,j,et.secretKey);return _e.set(tt,et.publicKey.length),zero(et.secretKey),_e}function open(a,j,_e){var et=a.subarray(0,tweetnacl.box.publicKeyLength),nt=nonce(et,j),tt=a.subarray(tweetnacl.box.publicKeyLength);return tweetnacl.box.open(tt,nt,et,_e)}const SealedBox={seal,open};function isNil(a){return a==null}var isNil_1=isNil;const isNil$1=getDefaultExportFromCjs$1(isNil_1);var baseGetTag$2=_baseGetTag,isArray$9=isArray_1,isObjectLike$6=isObjectLike_1,stringTag$1="[object String]";function isString(a){return typeof a=="string"||!isArray$9(a)&&isObjectLike$6(a)&&baseGetTag$2(a)==stringTag$1}var isString_1=isString;const isString$1=getDefaultExportFromCjs$1(isString_1),name="@arcblock/did-connect",version$2="2.10.28",description="Client side library to work with DID Connect by ArcBlock.",keywords=["react","arcblock","component"],author="wangshijun<wangshijun2010@gmail.com>",homepage="https://github.com/ArcBlock/ux#readme",license="Apache-2.0",main$1="lib/index.js",module$1="lib/index.js",repository={type:"git",url:"git+https://github.com/ArcBlock/ux.git"},scripts={lint:"eslint src tests --ext js --ext jsx","lint:fix":"npm run lint -- --fix",build:"babel --config-file ./babel.config.es.js src --out-dir lib --copy-files --no-copy-ignored",autoexports:"node tools/auto-exports.js",watch:"babel --config-file ./babel.config.es.js src --out-dir lib -w --copy-files --no-copy-ignored",precommit:"CI=1 npm run lint",prepush:"CI=1 npm run lint",prepublish:"npm run build",test:"node tools/jest.js",coverage:"npm run test -- --coverage"},bugs={url:"https://github.com/ArcBlock/ux/issues"},dependencies={"@arcblock/bridge":"^2.10.28","@arcblock/icons":"^2.10.28","@arcblock/react-hooks":"^2.10.28","@arcblock/ws":"^1.18.135","@fontsource/inter":"^5.0.16","@iconify-icons/logos":"^1.2.36","@iconify-icons/material-symbols":"^1.2.58","@iconify/react":"^4.1.1",ahooks:"^3.7.10",axios:"^1.7.5",buffer:"^6.0.3","core-js":"^3.25.5",eventemitter3:"^5.0.1","js-cookie":"^2.2.1","jwt-decode":"^3.1.2",lodash:"^4.17.21","mdi-material-ui":"^7.5.0","p-queue":"^6.6.2","p-wait-for":"^5.0.2","path-to-regexp":"^1.8.0",semver:"^7.6.3",tweetnacl:"^1.0.3","tweetnacl-sealedbox-js":"^1.2.0",ufo:"^1.5.3"},peerDependencies={"@arcblock/ux":"^2.9.79","@blocklet/js-sdk":"^1.16.30","@emotion/react":"^11.10.4","@emotion/styled":"^11.10.4","@mui/material":"^5.15.0",react:"^18.2.0","react-dom":"^18.2.0"},publishConfig={access:"public"},devDependencies={"@babel/cli":"^7.19.3","@babel/core":"^7.19.3","@babel/preset-env":"^7.19.3","@babel/preset-react":"^7.18.6","eslint-plugin-react-hooks":"^4.6.0",glob:"^10.3.3",jest:"^28.1.3"},gitHead="71cb15e455bd2f3bdf906c14ae4ef87f9da9c271",pkg={name,version:version$2,description,keywords,author,homepage,license,main:main$1,module:module$1,repository,scripts,bugs,dependencies,peerDependencies,publishConfig,devDependencies,gitHead},DEFAULT_TIMEOUT$1=5*60,DEFAULT_WINDOW_TIMEOUT=30*60,AUTH_SERVICE_PREFIX="/.well-known/service",SESSION_TOKEN_STORAGE_KEY="login_token",REFRESH_TOKEN_STORAGE_KEY="refresh_token",RELAY_SOCKET_PREFIX="/.well-known/service",API_DID_PREFIX="/api/did",DEFAULT_NAME="DID Connect",DID_CONNECT_URL_PARAMS_NAME="__did-connect__";class NotOpenError extends Error{constructor(){super("Failed to open popup")}}const providerName="wallet_url",getWebWalletUrl$1=()=>{var a,j;return window.localStorage.getItem(providerName)||((a=window.env)==null?void 0:a.webWalletUrl)||((j=window.blocklet)==null?void 0:j.webWalletUrl)||"https://web.abtwallet.io/"},checkSameProtocol=a=>{const{protocol:j}=window.location;let _e="";try{_e=new URL(a).protocol}catch{_e=""}return j===_e},{version:version$1}=pkg;function unescape$2(a){return(a+"===".slice((a.length+3)%4)).replace(/-/g,"+").replace(/_/g,"/")}function escape$2(a){return a.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const decodeConnectUrl=a=>window.atob(unescape$2(a)),parseTokenFromConnectUrl=a=>{const j=new URL(a),_e=decodeURIComponent(j.searchParams.get("url"));return new URL(_e).searchParams.get("_t_")},getAppId$1=(a,j)=>{var et,nt,tt;let _e=j==null?void 0:j.publisher;if(!_e){if(a!=null&&a.agentDid)return a.agentDid;_e=a==null?void 0:a.publisher}return _e?_e.replace("did:abt:",""):((et=globalThis.blocklet)==null?void 0:et.appPid)||((nt=globalThis.blocklet)==null?void 0:nt.appId)||((tt=globalThis.env)==null?void 0:tt.appId)||""},getConnectedInfo=a=>{var _e;const j={connected_did:a.did||"",connected_pk:a.pk||"",connected_app:getAppId$1(a.appInfo,a.memberAppInfo)};return(_e=a==null?void 0:a.connectedWallet)!=null&&_e.os&&(j.connected_wallet_os=a.connectedWallet.os),j},updateConnectedInfo=(a,j=!1)=>{if(!a)return;j||(a=getConnectedInfo(a));const _e=getCookieOptions({expireInDays:7,returnDomain:!1});isNil$1(a.connected_did)||Cookie.set("connected_did",a.connected_did,_e),isNil$1(a.connected_pk)||Cookie.set("connected_pk",a.connected_pk,_e),isNil$1(a.connected_app)||Cookie.set("connected_app",a.connected_app,_e),a.connected_wallet_os&&Cookie.set("connected_wallet_os",a.connected_wallet_os,_e)},encodeKey=a=>escape$2(Buffer$1$1.from(a).toString("base64")),decodeKey=a=>Uint8Array.from(Buffer$1$1.from(unescape$2(a),"base64")),decrypt$1=(a,j,_e)=>{const et=SealedBox.open(Uint8Array.from(Buffer$1$1.from(a,"base64")),decodeKey(j),decodeKey(_e));return JSON.parse(Buffer$1$1.from(et).toString("utf8"))},encrypt=(a,j)=>Buffer$1$1.from(SealedBox.seal(Uint8Array.from(Buffer$1$1.from(a)),decodeKey(j))).toString("base64"),parseNextWorkflow=(a,j="_t_")=>{const _e=new URL(a),et={baseUrl:_e.origin,prefix:_e.pathname.replace(/\/auth$/,""),token:_e.searchParams.get(j)||""};if(!et.baseUrl)throw new Error("Invalid next workflow: origin empty");if(!et.token)throw new Error("Invalid next workflow: token not found");return et},getApiErrorMessage=(a,j)=>{var et;let _e=a.message;return a.response&&(_e=((et=a.response)==null?void 0:et.data)||j),_e},createAxios=(a={},{lazy:j=!1,lazyTime:_e=300}={})=>createAxios$2({...a,headers:{...a.headers,"x-did-connect-version":version$1}},{lazy:j,lazyTime:_e}),sleep$1=(a=0)=>new Promise(j=>{setTimeout(()=>{j()},a)});function getBrowserLang(){if(typeof window>"u")return null;const a=window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null;return{"zh-CN":"zh","zh-TW":"zh",zh:"zh",en:"en"}[a]||"en"}async function decodeUrlParams(){const a=window.location.href;try{const j=new URL(a),_e=j.searchParams.get(DID_CONNECT_URL_PARAMS_NAME);if(_e){j.searchParams.delete(DID_CONNECT_URL_PARAMS_NAME);const et=JSON.parse(Buffer$1$1.from(_e,"base64").toString("utf-8"));if(isString$1(et.forceConnected)&&isUndefined$2(et.sourceAppPid)){const tt=await new BlockletSDK().user.getUserPublicInfo({did:et.forceConnected});isUndefined$2(tt==null?void 0:tt.sourceAppPid)||(et.sourceAppPid=tt.sourceAppPid)}return{params:et,url:j.href}}}catch{console.warn("Failed to decode did-connect url params")}return{params:null,url:a}}const openPopup=(a,{width:j=600,height:_e=700,name:et="did-connect:popup"}={})=>{const nt=window.screenX+(window.innerWidth-j)/2,tt=window.screenY+(window.innerHeight-_e)/2,ot=[`left=${nt}`,`top=${tt}`,`width=${j}`,`height=${_e}`,"resizable=no","scrollbars=yes","status=yes","popup=yes"],ft=window.open("",et,ot.join(","));if(ft===null)throw new NotOpenError;return ft.location.href=a,ft},runPopup=a=>new Promise((j,_e)=>{let et,nt;const tt=({data:ot})=>{if(ot&&ot.type==="authorization_response"){if(ot!=null&&ot.error){console.error(ot.error);return}setTimeout(()=>{var ft;(ft=a.popup)==null||ft.close(),clearTimeout(nt),clearInterval(et),window.removeEventListener("message",tt,!1),j(ot)},a.closeTimeout||0)}};nt=setTimeout(()=>{clearInterval(et),_e(new Error("Timeout")),window.removeEventListener("message",tt,!1)},(a.timeoutInSeconds||DEFAULT_WINDOW_TIMEOUT)*1e3),et=setInterval(()=>{var ot;(ot=a.popup)!=null&&ot.closed&&(clearInterval(et),clearTimeout(nt),window.removeEventListener("message",tt,!1),_e(new Error("Popup closed")))},1e3),window.addEventListener("message",tt)});function WindowFocusAware({callback:a}){return reactExports.useEffect(()=>(window.addEventListener("focus",a),()=>{window.removeEventListener("focus",a)}),[]),null}WindowFocusAware.propTypes={callback:PropTypes.func.isRequired};function CardSelector({list:a,width:j,height:_e,cardSpace:et,onSelect:nt,defaultIndex:tt}){const[ot,ft]=reactExports.useState(0),[dt,mt]=reactExports.useState(0),pt=reactExports.useRef(null),yt=Ct=>{if(Ct<0||Ct>a.length-1)return;ft(Ct);const Mt=pt.current.clientWidth;mt(Ct*(j+et)-(Mt-j)/2+et*.5),nt(Ct)};reactExports.useEffect(()=>{yt(tt);const Ct=Mt=>Mt.preventDefault();pt.current.addEventListener("touchmove",Ct,{passive:!1})},[]);let Tt;const St=Ct=>{Tt=Ct.touches[0].clientX},At=Ct=>{const Mt=Ct.changedTouches[0],kt=Tt-Mt.clientX;Math.abs(kt)>60&&(kt>0?yt(ot+1):yt(ot-1))};return jsxRuntimeExports.jsx(Contianer,{ref:pt,onTouchStart:St,onTouchEnd:At,children:jsxRuntimeExports.jsx("div",{className:"card-container",style:{transform:`translate(${-dt}px, 0)`},children:a.map((Ct,Mt)=>Ct instanceof Function?jsxRuntimeExports.jsx("div",{className:`card-item ${Mt===ot?"selected":""}`,style:{width:j,height:_e,margin:et/2},onClick:()=>yt(Mt),children:Ct(Mt)},Mt):jsxRuntimeExports.jsx("div",{className:`card-item ${Mt===ot?"selected":""}`,style:{width:j,height:_e,margin:et/2},onClick:()=>yt(Mt),children:jsxRuntimeExports.jsx("img",{src:Ct.src,alt:Ct.name})},Mt))})})}const Contianer=newStyled.div`
431
+ `+new Array(a.length+4).join(" "):nt<j.length-2&&(et+=" ")}console.log(et)}function testSpeed(a,j,_e){let et=new Date().getTime();const nt=new Uint8Array(j);for(let ot=0;ot<j;ot++)nt[ot]=ot%256;const tt=new Date().getTime();console.log("Generated random input in "+(tt-et)+"ms"),et=tt;for(let ot=0;ot<_e;ot++){const ft=a(nt),dt=new Date().getTime(),mt=dt-et;et=dt,console.log("Hashed in "+mt+"ms: "+ft.substring(0,20)+"..."),console.log(Math.round(j/(1<<20)/(mt/1e3)*100)/100+" MB PER SECOND")}}var util$6={normalizeInput,toHex,debugPrint,testSpeed};const util$5=util$6;function ADD64AA(a,j,_e){const et=a[j]+a[_e];let nt=a[j+1]+a[_e+1];et>=4294967296&&nt++,a[j]=et,a[j+1]=nt}function ADD64AC(a,j,_e,et){let nt=a[j]+_e;_e<0&&(nt+=4294967296);let tt=a[j+1]+et;nt>=4294967296&&tt++,a[j]=nt,a[j+1]=tt}function B2B_GET32(a,j){return a[j]^a[j+1]<<8^a[j+2]<<16^a[j+3]<<24}function B2B_G(a,j,_e,et,nt,tt){const ot=m[nt],ft=m[nt+1],dt=m[tt],mt=m[tt+1];ADD64AA(v,a,j),ADD64AC(v,a,ot,ft);let pt=v[et]^v[a],yt=v[et+1]^v[a+1];v[et]=yt,v[et+1]=pt,ADD64AA(v,_e,et),pt=v[j]^v[_e],yt=v[j+1]^v[_e+1],v[j]=pt>>>24^yt<<8,v[j+1]=yt>>>24^pt<<8,ADD64AA(v,a,j),ADD64AC(v,a,dt,mt),pt=v[et]^v[a],yt=v[et+1]^v[a+1],v[et]=pt>>>16^yt<<16,v[et+1]=yt>>>16^pt<<16,ADD64AA(v,_e,et),pt=v[j]^v[_e],yt=v[j+1]^v[_e+1],v[j]=yt>>>31^pt<<1,v[j+1]=pt>>>31^yt<<1}const BLAKE2B_IV32=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),SIGMA8=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],SIGMA82=new Uint8Array(SIGMA8.map(function(a){return a*2})),v=new Uint32Array(32),m=new Uint32Array(32);function blake2bCompress(a,j){let _e=0;for(_e=0;_e<16;_e++)v[_e]=a.h[_e],v[_e+16]=BLAKE2B_IV32[_e];for(v[24]=v[24]^a.t,v[25]=v[25]^a.t/4294967296,j&&(v[28]=~v[28],v[29]=~v[29]),_e=0;_e<32;_e++)m[_e]=B2B_GET32(a.b,4*_e);for(_e=0;_e<12;_e++)B2B_G(0,8,16,24,SIGMA82[_e*16+0],SIGMA82[_e*16+1]),B2B_G(2,10,18,26,SIGMA82[_e*16+2],SIGMA82[_e*16+3]),B2B_G(4,12,20,28,SIGMA82[_e*16+4],SIGMA82[_e*16+5]),B2B_G(6,14,22,30,SIGMA82[_e*16+6],SIGMA82[_e*16+7]),B2B_G(0,10,20,30,SIGMA82[_e*16+8],SIGMA82[_e*16+9]),B2B_G(2,12,22,24,SIGMA82[_e*16+10],SIGMA82[_e*16+11]),B2B_G(4,14,16,26,SIGMA82[_e*16+12],SIGMA82[_e*16+13]),B2B_G(6,8,18,28,SIGMA82[_e*16+14],SIGMA82[_e*16+15]);for(_e=0;_e<16;_e++)a.h[_e]=a.h[_e]^v[_e]^v[_e+16]}const parameterBlock=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function blake2bInit(a,j,_e,et){if(a===0||a>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(j&&j.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(_e&&_e.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(et&&et.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const nt={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:a};parameterBlock.fill(0),parameterBlock[0]=a,j&&(parameterBlock[1]=j.length),parameterBlock[2]=1,parameterBlock[3]=1,_e&&parameterBlock.set(_e,32),et&&parameterBlock.set(et,48);for(let tt=0;tt<16;tt++)nt.h[tt]=BLAKE2B_IV32[tt]^B2B_GET32(parameterBlock,tt*4);return j&&(blake2bUpdate(nt,j),nt.c=128),nt}function blake2bUpdate(a,j){for(let _e=0;_e<j.length;_e++)a.c===128&&(a.t+=a.c,blake2bCompress(a,!1),a.c=0),a.b[a.c++]=j[_e]}function blake2bFinal(a){for(a.t+=a.c;a.c<128;)a.b[a.c++]=0;blake2bCompress(a,!0);const j=new Uint8Array(a.outlen);for(let _e=0;_e<a.outlen;_e++)j[_e]=a.h[_e>>2]>>8*(_e&3);return j}function blake2b(a,j,_e,et,nt){_e=_e||64,a=util$5.normalizeInput(a),et&&(et=util$5.normalizeInput(et)),nt&&(nt=util$5.normalizeInput(nt));const tt=blake2bInit(_e,j,et,nt);return blake2bUpdate(tt,a),blake2bFinal(tt)}function blake2bHex(a,j,_e,et,nt){const tt=blake2b(a,j,_e,et,nt);return util$5.toHex(tt)}var blake2b_1={blake2b,blake2bHex,blake2bInit,blake2bUpdate,blake2bFinal};const blake=getDefaultExportFromCjs$1(blake2b_1);function nonce(a,j){var _e=blake.blake2bInit(tweetnacl.box.nonceLength,null);return blake.blake2bUpdate(_e,a),blake.blake2bUpdate(_e,j),blake.blake2bFinal(_e)}function zero(a){for(var j=0;j<a.length;j++)a[j]=0}function seal(a,j){var _e=new Uint8Array(overheadLength+a.length),et=tweetnacl.box.keyPair();_e.set(et.publicKey);var nt=nonce(et.publicKey,j),tt=tweetnacl.box(a,nt,j,et.secretKey);return _e.set(tt,et.publicKey.length),zero(et.secretKey),_e}function open(a,j,_e){var et=a.subarray(0,tweetnacl.box.publicKeyLength),nt=nonce(et,j),tt=a.subarray(tweetnacl.box.publicKeyLength);return tweetnacl.box.open(tt,nt,et,_e)}const SealedBox={seal,open};function isNil(a){return a==null}var isNil_1=isNil;const isNil$1=getDefaultExportFromCjs$1(isNil_1);var baseGetTag$2=_baseGetTag,isArray$9=isArray_1,isObjectLike$6=isObjectLike_1,stringTag$1="[object String]";function isString(a){return typeof a=="string"||!isArray$9(a)&&isObjectLike$6(a)&&baseGetTag$2(a)==stringTag$1}var isString_1=isString;const isString$1=getDefaultExportFromCjs$1(isString_1),name="@arcblock/did-connect",version$2="2.10.30",description="Client side library to work with DID Connect by ArcBlock.",keywords=["react","arcblock","component"],author="wangshijun<wangshijun2010@gmail.com>",homepage="https://github.com/ArcBlock/ux#readme",license="Apache-2.0",main$1="lib/index.js",module$1="lib/index.js",repository={type:"git",url:"git+https://github.com/ArcBlock/ux.git"},scripts={lint:"eslint src tests --ext js --ext jsx","lint:fix":"npm run lint -- --fix",build:"babel --config-file ./babel.config.es.js src --out-dir lib --copy-files --no-copy-ignored",autoexports:"node tools/auto-exports.js",watch:"babel --config-file ./babel.config.es.js src --out-dir lib -w --copy-files --no-copy-ignored",precommit:"CI=1 npm run lint",prepush:"CI=1 npm run lint",prepublish:"npm run build",test:"node tools/jest.js",coverage:"npm run test -- --coverage"},bugs={url:"https://github.com/ArcBlock/ux/issues"},dependencies={"@arcblock/bridge":"^2.10.30","@arcblock/icons":"^2.10.30","@arcblock/react-hooks":"^2.10.30","@arcblock/ws":"^1.18.135","@fontsource/inter":"^5.0.16","@iconify-icons/logos":"^1.2.36","@iconify-icons/material-symbols":"^1.2.58","@iconify/react":"^4.1.1",ahooks:"^3.7.10",axios:"^1.7.5",buffer:"^6.0.3","core-js":"^3.25.5",eventemitter3:"^5.0.1","js-cookie":"^2.2.1","jwt-decode":"^3.1.2",lodash:"^4.17.21","mdi-material-ui":"^7.5.0","p-queue":"^6.6.2","p-wait-for":"^5.0.2","path-to-regexp":"^1.8.0",semver:"^7.6.3",tweetnacl:"^1.0.3","tweetnacl-sealedbox-js":"^1.2.0",ufo:"^1.5.3"},peerDependencies={"@arcblock/ux":"^2.9.79","@blocklet/js-sdk":"^1.16.30","@emotion/react":"^11.10.4","@emotion/styled":"^11.10.4","@mui/material":"^5.15.0",react:"^18.2.0","react-dom":"^18.2.0"},publishConfig={access:"public"},devDependencies={"@babel/cli":"^7.19.3","@babel/core":"^7.19.3","@babel/preset-env":"^7.19.3","@babel/preset-react":"^7.18.6","eslint-plugin-react-hooks":"^4.6.0",glob:"^10.3.3",jest:"^28.1.3"},gitHead="fc513c9d7b90fecd65844cc562b41f3c5dd5f398",pkg={name,version:version$2,description,keywords,author,homepage,license,main:main$1,module:module$1,repository,scripts,bugs,dependencies,peerDependencies,publishConfig,devDependencies,gitHead},DEFAULT_TIMEOUT$1=5*60,DEFAULT_WINDOW_TIMEOUT=30*60,AUTH_SERVICE_PREFIX="/.well-known/service",SESSION_TOKEN_STORAGE_KEY="login_token",REFRESH_TOKEN_STORAGE_KEY="refresh_token",RELAY_SOCKET_PREFIX="/.well-known/service",API_DID_PREFIX="/api/did",DEFAULT_NAME="DID Connect",DID_CONNECT_URL_PARAMS_NAME="__did-connect__";class NotOpenError extends Error{constructor(){super("Failed to open popup")}}const providerName="wallet_url",getWebWalletUrl$1=()=>{var a,j;return window.localStorage.getItem(providerName)||((a=window.env)==null?void 0:a.webWalletUrl)||((j=window.blocklet)==null?void 0:j.webWalletUrl)||"https://web.abtwallet.io/"},checkSameProtocol=a=>{const{protocol:j}=window.location;let _e="";try{_e=new URL(a).protocol}catch{_e=""}return j===_e},{version:version$1}=pkg;function unescape$2(a){return(a+"===".slice((a.length+3)%4)).replace(/-/g,"+").replace(/_/g,"/")}function escape$2(a){return a.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const decodeConnectUrl=a=>window.atob(unescape$2(a)),parseTokenFromConnectUrl=a=>{const j=new URL(a),_e=decodeURIComponent(j.searchParams.get("url"));return new URL(_e).searchParams.get("_t_")},getAppId$1=(a,j)=>{var et,nt,tt;let _e=j==null?void 0:j.publisher;if(!_e){if(a!=null&&a.agentDid)return a.agentDid;_e=a==null?void 0:a.publisher}return _e?_e.replace("did:abt:",""):((et=globalThis.blocklet)==null?void 0:et.appPid)||((nt=globalThis.blocklet)==null?void 0:nt.appId)||((tt=globalThis.env)==null?void 0:tt.appId)||""},getConnectedInfo=a=>{var _e;const j={connected_did:a.did||"",connected_pk:a.pk||"",connected_app:getAppId$1(a.appInfo,a.memberAppInfo)};return(_e=a==null?void 0:a.connectedWallet)!=null&&_e.os&&(j.connected_wallet_os=a.connectedWallet.os),j},updateConnectedInfo=(a,j=!1)=>{if(!a)return;j||(a=getConnectedInfo(a));const _e=getCookieOptions({expireInDays:7,returnDomain:!1});isNil$1(a.connected_did)||Cookie.set("connected_did",a.connected_did,_e),isNil$1(a.connected_pk)||Cookie.set("connected_pk",a.connected_pk,_e),isNil$1(a.connected_app)||Cookie.set("connected_app",a.connected_app,_e),a.connected_wallet_os&&Cookie.set("connected_wallet_os",a.connected_wallet_os,_e)},encodeKey=a=>escape$2(Buffer$1$1.from(a).toString("base64")),decodeKey=a=>Uint8Array.from(Buffer$1$1.from(unescape$2(a),"base64")),decrypt$1=(a,j,_e)=>{const et=SealedBox.open(Uint8Array.from(Buffer$1$1.from(a,"base64")),decodeKey(j),decodeKey(_e));return JSON.parse(Buffer$1$1.from(et).toString("utf8"))},encrypt=(a,j)=>Buffer$1$1.from(SealedBox.seal(Uint8Array.from(Buffer$1$1.from(a)),decodeKey(j))).toString("base64"),parseNextWorkflow=(a,j="_t_")=>{const _e=new URL(a),et={baseUrl:_e.origin,prefix:_e.pathname.replace(/\/auth$/,""),token:_e.searchParams.get(j)||""};if(!et.baseUrl)throw new Error("Invalid next workflow: origin empty");if(!et.token)throw new Error("Invalid next workflow: token not found");return et},getApiErrorMessage=(a,j)=>{var et;let _e=a.message;return a.response&&(_e=((et=a.response)==null?void 0:et.data)||j),_e},createAxios=(a={},{lazy:j=!1,lazyTime:_e=300}={})=>createAxios$2({...a,headers:{...a.headers,"x-did-connect-version":version$1}},{lazy:j,lazyTime:_e}),sleep$1=(a=0)=>new Promise(j=>{setTimeout(()=>{j()},a)});function getBrowserLang(){if(typeof window>"u")return null;const a=window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null;return{"zh-CN":"zh","zh-TW":"zh",zh:"zh",en:"en"}[a]||"en"}async function decodeUrlParams(){const a=window.location.href;try{const j=new URL(a),_e=j.searchParams.get(DID_CONNECT_URL_PARAMS_NAME);if(_e){j.searchParams.delete(DID_CONNECT_URL_PARAMS_NAME);const et=JSON.parse(Buffer$1$1.from(_e,"base64").toString("utf-8"));if(isString$1(et.forceConnected)&&isUndefined$2(et.sourceAppPid)){const tt=await new BlockletSDK().user.getUserPublicInfo({did:et.forceConnected});isUndefined$2(tt==null?void 0:tt.sourceAppPid)||(et.sourceAppPid=tt.sourceAppPid)}return{params:et,url:j.href}}}catch{console.warn("Failed to decode did-connect url params")}return{params:null,url:a}}const openPopup=(a,{width:j=600,height:_e=700,name:et="did-connect:popup"}={})=>{const nt=window.screenX+(window.innerWidth-j)/2,tt=window.screenY+(window.innerHeight-_e)/2,ot=[`left=${nt}`,`top=${tt}`,`width=${j}`,`height=${_e}`,"resizable=no","scrollbars=yes","status=yes","popup=yes"],ft=window.open("",et,ot.join(","));if(ft===null)throw new NotOpenError;return ft.location.href=a,ft},runPopup=a=>new Promise((j,_e)=>{let et,nt;const tt=({data:ot})=>{if(ot&&ot.type==="authorization_response"){if(ot!=null&&ot.error){console.error(ot.error);return}setTimeout(()=>{var ft;(ft=a.popup)==null||ft.close(),clearTimeout(nt),clearInterval(et),window.removeEventListener("message",tt,!1),j(ot)},a.closeTimeout||0)}};nt=setTimeout(()=>{clearInterval(et),_e(new Error("Timeout")),window.removeEventListener("message",tt,!1)},(a.timeoutInSeconds||DEFAULT_WINDOW_TIMEOUT)*1e3),et=setInterval(()=>{var ot;(ot=a.popup)!=null&&ot.closed&&(clearInterval(et),clearTimeout(nt),window.removeEventListener("message",tt,!1),_e(new Error("Popup closed")))},1e3),window.addEventListener("message",tt)});function WindowFocusAware({callback:a}){return reactExports.useEffect(()=>(window.addEventListener("focus",a),()=>{window.removeEventListener("focus",a)}),[]),null}WindowFocusAware.propTypes={callback:PropTypes.func.isRequired};function CardSelector({list:a,width:j,height:_e,cardSpace:et,onSelect:nt,defaultIndex:tt}){const[ot,ft]=reactExports.useState(0),[dt,mt]=reactExports.useState(0),pt=reactExports.useRef(null),yt=Ct=>{if(Ct<0||Ct>a.length-1)return;ft(Ct);const Mt=pt.current.clientWidth;mt(Ct*(j+et)-(Mt-j)/2+et*.5),nt(Ct)};reactExports.useEffect(()=>{yt(tt);const Ct=Mt=>Mt.preventDefault();pt.current.addEventListener("touchmove",Ct,{passive:!1})},[]);let Tt;const St=Ct=>{Tt=Ct.touches[0].clientX},At=Ct=>{const Mt=Ct.changedTouches[0],kt=Tt-Mt.clientX;Math.abs(kt)>60&&(kt>0?yt(ot+1):yt(ot-1))};return jsxRuntimeExports.jsx(Contianer,{ref:pt,onTouchStart:St,onTouchEnd:At,children:jsxRuntimeExports.jsx("div",{className:"card-container",style:{transform:`translate(${-dt}px, 0)`},children:a.map((Ct,Mt)=>Ct instanceof Function?jsxRuntimeExports.jsx("div",{className:`card-item ${Mt===ot?"selected":""}`,style:{width:j,height:_e,margin:et/2},onClick:()=>yt(Mt),children:Ct(Mt)},Mt):jsxRuntimeExports.jsx("div",{className:`card-item ${Mt===ot?"selected":""}`,style:{width:j,height:_e,margin:et/2},onClick:()=>yt(Mt),children:jsxRuntimeExports.jsx("img",{src:Ct.src,alt:Ct.name})},Mt))})})}const Contianer=newStyled.div`
432
432
  overflow: hidden;
433
433
  mask-image: linear-gradient(to left, transparent, black 3%, black 97%, transparent);
434
434
  overflow: hidden;
@@ -462,7 +462,7 @@ use chrome, FireFox or Internet Explorer 11`)}var j=safeBufferExports,_e=browser
462
462
  }
463
463
  }
464
464
  }
465
- `;CardSelector.propTypes={list:PropTypes.array,width:PropTypes.number,height:PropTypes.number,cardSpace:PropTypes.number,onSelect:PropTypes.func,defaultIndex:PropTypes.number};CardSelector.defaultProps={list:"",width:300,height:400,cardSpace:40,onSelect:noop$7,defaultIndex:0};var baseKeys=_baseKeys,getTag$1=_getTag,isArguments$1=isArguments_1,isArray$8=isArray_1,isArrayLike$2=isArrayLike_1,isBuffer$1=isBufferExports,isPrototype=_isPrototype,isTypedArray$1=isTypedArray_1,mapTag$1="[object Map]",setTag$1="[object Set]",objectProto$4=Object.prototype,hasOwnProperty$7=objectProto$4.hasOwnProperty;function isEmpty(a){if(a==null)return!0;if(isArrayLike$2(a)&&(isArray$8(a)||typeof a=="string"||typeof a.splice=="function"||isBuffer$1(a)||isTypedArray$1(a)||isArguments$1(a)))return!a.length;var j=getTag$1(a);if(j==mapTag$1||j==setTag$1)return!a.size;if(isPrototype(a))return!baseKeys(a).length;for(var _e in a)if(hasOwnProperty$7.call(a,_e))return!1;return!0}var isEmpty_1=isEmpty;const isEmpty$1=getDefaultExportFromCjs$1(isEmpty_1);function getMaster(a=window.blocklet){var _e;return(((_e=a==null?void 0:a.settings)==null?void 0:_e.federated)||{}).master}function getConfig(a=window.blocklet){var _e;return(((_e=a==null?void 0:a.settings)==null?void 0:_e.federated)||{}).config}function getFederatedEnabled(a=window.blocklet){const j=getConfig(a);return(j==null?void 0:j.status)==="approved"}function getFederatedApp(a=window.blocklet){const j=getMaster(a);return!isEmpty$1(j)?{appId:j.appId,appName:j.appName,appDescription:j.appDescription,appLogo:j.appLogo,appPid:j.appPid,appUrl:j.appUrl,version:j.version,sourceAppPid:j.appPid,provider:"wallet"}:null}function getCurrentApp(a=window.blocklet){return a?{appId:a.appId,appName:a.appName,appDescription:a.appDescription,appLogo:a.appLogo,appPid:a.appPid,appUrl:a.appUrl,version:a.version,sourceAppPid:null,provider:"wallet"}:window.env?(a=window.env,{appId:a.appId,appName:a.appName,appDescription:a.appDescription,appUrl:a.baseUrl,sourceAppPid:null,provider:"wallet",type:"server"}):null}function getApps(a){const j=[],_e=getFederatedApp(a),et=getCurrentApp(a),nt=getFederatedEnabled(a);return et&&j.push(et),_e&&(_e==null?void 0:_e.appId)!==(et==null?void 0:et.appId)&&nt&&j.push(_e),j.reverse()}async function getBlockletData(a){try{const j=new URL("__blocklet__.js",a);return j.searchParams.set("type","json"),await(await fetch(j.href)).json()}catch(j){return console.error(`Failed to get blocklet data: ${a}`,j),null}}var Guest=function a(j){return jsxRuntimeExports.jsxs("svg",{...j,children:[jsxRuntimeExports.jsx("rect",{x:"1",y:"1",width:"418",height:"473",rx:"19",fill:"#FBFBFB"}),jsxRuntimeExports.jsx("g",{clipPath:"url(#a)",children:jsxRuntimeExports.jsx("path",{opacity:".7",fill:"#DDD",d:"M0 100h420v168H0z"})}),jsxRuntimeExports.jsx("circle",{cx:"210",cy:"248",r:"60",fill:"#C4C5CA"}),jsxRuntimeExports.jsx("path",{d:"M181 284l7.2-7.2 7.2 7.2 7.2-10.8 7.2 10.8 7.2-10.8 7.2 10.8 7.2-7.2 7.2 7.2v-43.2c0-15.907-12.893-28.8-28.8-28.8S181 224.893 181 240.8V284z",fill:"#C4C5CA",stroke:"#fff",strokeWidth:"5",strokeLinejoin:"round"}),jsxRuntimeExports.jsx("path",{d:"M200.797 240.812h3.6-3.6zm21.6 0h3.6-3.6z",fill:"#C4C5CA"}),jsxRuntimeExports.jsx("path",{d:"M200.797 240.812h3.6m18 0h3.6",stroke:"#fff",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),jsxRuntimeExports.jsx("path",{opacity:".7",d:"M24 29h189v40H24V29z",fill:"#C4C5CA"}),jsxRuntimeExports.jsx("path",{opacity:".42",fill:"#C4C5CA",d:"M313 24h83v14h-83z"}),jsxRuntimeExports.jsx("path",{opacity:".7",fill:"#C4C5CA",d:"M291 50h105v26H291z"}),jsxRuntimeExports.jsx("path",{d:"M177.388 388.4c-1.733 0-3.32-.213-4.76-.64a12.355 12.355 0 0 1-3.8-1.88 15.072 15.072 0 0 1-2.96-3l3.76-4.28c1.307 1.813 2.6 3.053 3.88 3.72 1.307.64 2.72.96 4.24.96.827 0 1.56-.107 2.2-.32.667-.24 1.187-.573 1.56-1 .373-.427.56-.933.56-1.52 0-.427-.093-.813-.28-1.16a2.764 2.764 0 0 0-.8-.96 5.139 5.139 0 0 0-1.24-.76 8.666 8.666 0 0 0-1.6-.6 12.728 12.728 0 0 0-1.92-.44c-1.493-.347-2.8-.76-3.92-1.24-1.12-.507-2.053-1.12-2.8-1.84a7.456 7.456 0 0 1-1.68-2.52c-.347-.933-.52-1.987-.52-3.16 0-1.2.267-2.307.8-3.32a8.187 8.187 0 0 1 2.2-2.68 10.68 10.68 0 0 1 3.28-1.72c1.253-.4 2.573-.6 3.96-.6 1.707 0 3.2.2 4.48.6 1.28.373 2.387.92 3.32 1.64.96.72 1.76 1.6 2.4 2.64l-3.8 3.68a9.48 9.48 0 0 0-1.84-1.88 6.482 6.482 0 0 0-2.12-1.12 6.84 6.84 0 0 0-2.32-.4c-.88 0-1.64.12-2.28.36-.64.213-1.147.533-1.52.96-.347.427-.52.947-.52 1.56 0 .48.12.907.36 1.28s.587.707 1.04 1c.453.267 1 .507 1.64.72.64.213 1.347.4 2.12.56 1.467.293 2.787.68 3.96 1.16 1.173.48 2.173 1.067 3 1.76a6.784 6.784 0 0 1 1.96 2.4c.453.907.68 1.933.68 3.08 0 1.893-.453 3.507-1.36 4.84-.907 1.333-2.16 2.36-3.76 3.08-1.6.693-3.467 1.04-5.6 1.04zm17.394-.4v-26.52h5.68V388h-5.68zm-3.96-16.08v-5.08h13.96v5.08h-13.96zm25.387 16.48c-1.76 0-3.346-.48-4.76-1.44-1.413-.96-2.533-2.267-3.36-3.92-.826-1.653-1.24-3.547-1.24-5.68 0-2.133.414-4.013 1.24-5.64.854-1.653 2-2.947 3.44-3.88 1.44-.96 3.08-1.44 4.92-1.44 1.04 0 1.987.16 2.84.48.88.293 1.64.707 2.28 1.24a7.831 7.831 0 0 1 1.68 1.84c.454.693.774 1.44.96 2.24l-1.2-.2v-5.16h5.64V388h-5.72v-5.08l1.28-.12a6.81 6.81 0 0 1-1.04 2.12 8.213 8.213 0 0 1-1.8 1.8c-.693.507-1.48.92-2.36 1.24-.88.293-1.813.44-2.8.44zm1.56-4.92c1.067 0 2-.253 2.8-.76.8-.507 1.414-1.213 1.84-2.12.454-.933.68-2.013.68-3.24 0-1.2-.226-2.253-.68-3.16-.426-.907-1.04-1.613-1.84-2.12-.8-.533-1.733-.8-2.8-.8-1.04 0-1.96.267-2.76.8-.773.507-1.386 1.213-1.84 2.12-.453.907-.68 1.96-.68 3.16 0 1.227.227 2.307.68 3.24.454.907 1.067 1.613 1.84 2.12.8.507 1.72.76 2.76.76zm19.066 13.72l4.64-10.88.08 3.28-10.32-22.76h6.44l5.16 12.2c.213.453.413.987.6 1.6.213.587.387 1.16.52 1.72l-.96.4c.16-.453.347-.973.56-1.56.213-.587.427-1.213.64-1.88l4.44-12.48h6.48l-8.88 21.16-3.64 9.2h-5.76zM92.8 438l10.96-28h5.36l10.92 28h-6.16l-5.64-15.08c-.16-.427-.36-.973-.6-1.64l-.68-2.12-.68-2.12a27.95 27.95 0 0 1-.48-1.72l1.08-.04c-.16.613-.346 1.253-.56 1.92-.186.64-.386 1.307-.6 2-.213.667-.44 1.32-.68 1.96-.24.64-.466 1.267-.68 1.88L98.72 438H92.8zm5.08-5.88l1.96-4.84h12.84l2 4.84h-16.8zm25.292 5.88v-21.16h5.44l.16 4.32-1.12.48c.293-.96.813-1.827 1.56-2.6a8.83 8.83 0 0 1 2.76-1.92 8.1 8.1 0 0 1 3.36-.72c1.6 0 2.933.32 4 .96 1.093.64 1.907 1.613 2.44 2.92.56 1.28.84 2.867.84 4.76V438h-5.68v-12.52c0-.96-.133-1.76-.4-2.4-.267-.64-.68-1.107-1.24-1.4-.533-.32-1.2-.453-2-.4-.64 0-1.24.107-1.8.32a3.94 3.94 0 0 0-1.4.84c-.373.373-.68.8-.92 1.28-.213.48-.32 1-.32 1.56V438h-5.68zm34.723.4c-2.16 0-4.093-.467-5.8-1.4a10.853 10.853 0 0 1-4-3.92c-.96-1.653-1.44-3.547-1.44-5.68 0-2.133.48-4.013 1.44-5.64a10.853 10.853 0 0 1 4-3.92c1.707-.96 3.64-1.44 5.8-1.44 2.133 0 4.04.48 5.72 1.44 1.707.96 3.04 2.267 4 3.92.96 1.627 1.44 3.507 1.44 5.64 0 2.133-.48 4.027-1.44 5.68-.96 1.653-2.293 2.96-4 3.92-1.68.933-3.587 1.4-5.72 1.4zm0-4.96c1.04 0 1.973-.253 2.8-.76a5.371 5.371 0 0 0 1.92-2.16c.48-.933.72-1.973.72-3.12 0-1.173-.24-2.213-.72-3.12-.453-.933-1.093-1.653-1.92-2.16-.827-.533-1.76-.8-2.8-.8-1.067 0-2.013.267-2.84.8a5.673 5.673 0 0 0-1.96 2.16c-.48.907-.707 1.947-.68 3.12-.027 1.147.2 2.187.68 3.12a5.673 5.673 0 0 0 1.96 2.16c.827.507 1.773.76 2.84.76zm15.433 4.56v-21.16h5.44l.16 4.32-1.12.48c.294-.96.814-1.827 1.56-2.6a8.853 8.853 0 0 1 2.76-1.92 8.1 8.1 0 0 1 3.36-.72c1.6 0 2.934.32 4 .96 1.094.64 1.907 1.613 2.44 2.92.56 1.28.84 2.867.84 4.76V438h-5.68v-12.52c0-.96-.133-1.76-.4-2.4-.266-.64-.68-1.107-1.24-1.4-.533-.32-1.2-.453-2-.4-.64 0-1.24.107-1.8.32a3.94 3.94 0 0 0-1.4.84c-.373.373-.68.8-.92 1.28-.213.48-.32 1-.32 1.56V438h-5.68zm27.648 9.2l4.64-10.88.08 3.28-10.32-22.76h6.44l5.16 12.2c.213.453.413.987.6 1.6.213.587.386 1.16.52 1.72l-.96.4c.16-.453.346-.973.56-1.56.213-.587.426-1.213.64-1.88l4.44-12.48h6.48l-8.88 21.16-3.64 9.2h-5.76zm21.297-9.2v-21.16h5.48l.12 4.04-.84.16c.293-.693.68-1.32 1.16-1.88.48-.56 1.04-1.04 1.68-1.44.666-.4 1.36-.707 2.08-.92.72-.24 1.44-.36 2.16-.36 1.093 0 2.08.173 2.96.52.88.347 1.626.893 2.24 1.64.613.72 1.093 1.68 1.44 2.88l-.88-.08.28-.64a6.852 6.852 0 0 1 1.32-1.72 8.178 8.178 0 0 1 1.8-1.36c.666-.4 1.36-.707 2.08-.92a7.448 7.448 0 0 1 2.12-.32c1.653 0 3.026.333 4.12 1 1.093.64 1.906 1.613 2.44 2.92.56 1.307.84 2.907.84 4.8V438h-5.68v-12.44c0-.96-.134-1.747-.4-2.36-.267-.613-.654-1.067-1.16-1.36-.507-.32-1.16-.48-1.96-.48a4.59 4.59 0 0 0-1.72.32c-.507.187-.96.467-1.36.84a3.74 3.74 0 0 0-.88 1.24 3.885 3.885 0 0 0-.32 1.6V438h-5.68v-12.48c0-.88-.147-1.627-.44-2.24-.267-.64-.654-1.12-1.16-1.44-.507-.32-1.134-.48-1.88-.48a4.59 4.59 0 0 0-1.72.32 3.608 3.608 0 0 0-1.32.84c-.374.347-.68.76-.92 1.24-.214.48-.32 1-.32 1.56V438h-5.68zm47.848.4c-2.16 0-4.093-.467-5.8-1.4a10.853 10.853 0 0 1-4-3.92c-.96-1.653-1.44-3.547-1.44-5.68 0-2.133.48-4.013 1.44-5.64a10.853 10.853 0 0 1 4-3.92c1.707-.96 3.64-1.44 5.8-1.44 2.134 0 4.04.48 5.72 1.44 1.707.96 3.04 2.267 4 3.92.96 1.627 1.44 3.507 1.44 5.64 0 2.133-.48 4.027-1.44 5.68-.96 1.653-2.293 2.96-4 3.92-1.68.933-3.586 1.4-5.72 1.4zm0-4.96c1.04 0 1.974-.253 2.8-.76a5.371 5.371 0 0 0 1.92-2.16c.48-.933.72-1.973.72-3.12 0-1.173-.24-2.213-.72-3.12-.453-.933-1.093-1.653-1.92-2.16-.826-.533-1.76-.8-2.8-.8-1.066 0-2.013.267-2.84.8a5.681 5.681 0 0 0-1.96 2.16c-.48.907-.706 1.947-.68 3.12-.026 1.147.2 2.187.68 3.12a5.681 5.681 0 0 0 1.96 2.16c.827.507 1.774.76 2.84.76zm22.714 4.96c-1.547 0-2.88-.333-4-1-1.093-.693-1.947-1.667-2.56-2.92-.587-1.28-.88-2.813-.88-4.6v-13.04h5.68v12.12c0 .96.16 1.8.48 2.52.32.693.773 1.227 1.36 1.6.587.373 1.307.56 2.16.56.613 0 1.187-.093 1.72-.28a3.993 3.993 0 0 0 1.36-.88c.373-.373.667-.813.88-1.32.213-.507.32-1.053.32-1.64v-12.68h5.68V438h-5.4l-.2-4.36 1.04-.48a7.107 7.107 0 0 1-1.6 2.68 7.981 7.981 0 0 1-2.68 1.88c-1.04.453-2.16.68-3.36.68zm25.035 0c-1.973 0-3.733-.32-5.28-.96-1.52-.667-2.747-1.573-3.68-2.72l3.52-3.04c.827.88 1.747 1.52 2.76 1.92a8.75 8.75 0 0 0 3.04.56c.4 0 .76-.04 1.08-.12.347-.107.64-.24.88-.4.24-.187.413-.4.52-.64.133-.267.2-.547.2-.84 0-.587-.24-1.053-.72-1.4-.267-.133-.68-.293-1.24-.48-.56-.213-1.28-.44-2.16-.68-1.36-.347-2.52-.747-3.48-1.2-.933-.48-1.68-1.013-2.24-1.6a6.755 6.755 0 0 1-1.12-1.8c-.24-.667-.36-1.4-.36-2.2 0-.96.213-1.827.64-2.6a6.138 6.138 0 0 1 1.76-2.04 8.66 8.66 0 0 1 2.64-1.28c.987-.32 2.027-.48 3.12-.48s2.16.133 3.2.4 2 .653 2.88 1.16a9.77 9.77 0 0 1 2.36 1.72l-3.04 3.36a9.806 9.806 0 0 0-1.64-1.24 8.324 8.324 0 0 0-1.84-.88c-.64-.213-1.213-.32-1.72-.32-.453 0-.867.04-1.24.12-.347.08-.64.2-.88.36-.24.16-.427.373-.56.64-.107.24-.16.507-.16.8 0 .293.067.573.2.84.16.267.373.493.64.68.293.16.72.347 1.28.56a30.74 30.74 0 0 0 2.36.72c1.28.347 2.36.733 3.24 1.16.907.427 1.627.92 2.16 1.48.453.48.787 1.027 1 1.64.213.613.32 1.293.32 2.04 0 1.307-.373 2.48-1.12 3.52-.72 1.013-1.72 1.813-3 2.4-1.28.56-2.72.84-4.32.84z",fill:"#25292F"}),jsxRuntimeExports.jsx("rect",{x:"1",y:"1",width:"418",height:"558",rx:"19",stroke:"#DDD",strokeWidth:"2"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsx("clipPath",{id:"a",children:jsxRuntimeExports.jsx("path",{fill:"#fff",transform:"translate(0 100)",d:"M0 0h420v168H0z"})})})]})};Guest.defaultProps={width:"420",height:"475",viewBox:"0 0 420 475",fill:"none",xmlns:"http://www.w3.org/2000/svg"};const OAuthContext=reactExports.createContext({}),{Provider:Provider$7,Consumer:OAuthConsumer}=OAuthContext,prefix$3=`${AUTH_SERVICE_PREFIX}/api/oauth`,parseResponse=a=>a?typeof a=="string"?{sessionToken:a}:pick$2(a,["sessionToken","refreshToken","visitorId"]):{},translations$5={zh:{bindOAuth:"绑定第三方登录",bind:"绑定",noneOAuth:"未配置第三方登录方式",bindOAuthSucceed:"绑定 {provider} 成功",unbindOAuthSucceed:"解绑 {provider} 成功",loginOAuthFailed:"登录 {provider} 失败",bindOAuthFailed:"绑定 {provider} 失败",unbindOAuthFailed:"绑定 {provider} 失败",switchPassport:"切换通行证",switchPassportFailed:"切换通行证失败",switchPassportSucceed:"切换通行证成功",choosePassport:"请选择一个通行证",switch:"切换",cancel:"取消",currentRole:"当前角色:",passport:"通行证",noPassports:"没有可更换的通行证",getPassportFailed:"获取通行证失败",loginRequired:"授权请求被拒绝",cancelAuth:"取消授权"},en:{bindOAuth:"Bind third party login",bind:"Bind ",noneOAuth:"Third party login is not configured",bindOAuthSucceed:"Bind {provider} succeed",unbindOAuthSucceed:"Unbind {provider} succeed",loginOAuthFailed:"Login {provider} failed",bindOAuthFailed:"Bind {provider} failed",unbindOAuthFailed:"Unbind {provider} failed",switchPassport:"Switch passport",switchPassportFailed:"Switch passport failed",switchPassportSucceed:"Switch passport succeed",choosePassport:"Select a passport to switch",switch:"Switch",cancel:"Cancel",currentRole:"Current role: ",passport:"Passport",noPassports:"No passport to switch",getPassportFailed:"Get passports failed",loginRequired:"You have declined the authentication request",cancelAuth:"Cancel authentication"}};function OAuthProvider({children:a,locale:j,onBindOAuth:_e,onUnbindOAuth:et,onSwitchPassport:nt}){var Yt;const tt=useReactive({baseUrl:"/",bindFnSession:void 0,bindAuthLoading:!1,unbindAuthLoading:!1}),ot=useReactive({open:!1,currentUser:null,passports:[],choosePassport:void 0,reset(){ot.open=!1,ot.currentUser=null,ot.passports=[],ot.choosePassport=void 0}}),ft=useReactive({user:null,checking:!1,loading:!1,error:"",status:"",reset(){ft.loading=!1,ft.checking=!1,ft.error="",ft.status=""}}),dt=useMemoizedFn((jt,Wt={})=>translate(translations$5,jt,j,"en",Wt)),mt=useCreation(()=>createAxios({baseURL:joinURL(tt.baseUrl,prefix$3)}),[tt.baseUrl,prefix$3]),pt=useMemoizedFn(async()=>{if(tt.baseUrl==="/")return window.blocklet;try{if(new URL(tt.baseUrl).host===window.location.host)return window.blocklet}catch{}return await getBlockletData(tt.baseUrl)}),yt=useMemoizedFn(async({sourceAppPid:jt}={})=>{var vn,Rt;const Wt=await pt(),sn=getFederatedEnabled(Wt),ln=getMaster(Wt);if(sn&&(ln!=null&&ln.appPid)&&jt===(ln==null?void 0:ln.appPid)){const rt=await getBlockletData(ln.appUrl);return((vn=rt==null?void 0:rt.settings)==null?void 0:vn.oauth)||{}}return((Rt=Wt==null?void 0:Wt.settings)==null?void 0:Rt.oauth)||{}}),Tt=useMemoizedFn(async({sourceAppPid:jt}={})=>{const Wt=await yt({sourceAppPid:jt});return Object.entries(Wt).map(([ln,vn])=>({...vn,provider:ln})).filter(ln=>ln.enabled).sort((ln,vn)=>(ln==null?void 0:ln.order)!==void 0&&(vn==null?void 0:vn.order)!==void 0?ln.order-vn.order:(ln==null?void 0:ln.order)!==void 0?-1:1)}),St=useMemoizedFn(async({provider:jt}={})=>{var sn;const Wt=openPopup(joinURL(tt.baseUrl,"/.well-known/service/oauth/login",jt),{name:"oauth-login:popup"});try{const ln=await runPopup({popup:Wt,closeTimeout:0});return ln!=null&&ln.response?(sn=ln.response)==null?void 0:sn.code:null}catch(ln){throw(ln==null?void 0:ln.message)==="Popup closed"?new Error(dt("cancelAuth")):ln}}),At=async({session:jt,oauthItem:Wt}={})=>{var sn,ln;tt.bindFnSession=jt,tt.bindAuthLoading=!0;try{const vn=await St(Wt),Rt=(ln=(sn=tt.bindFnSession)==null?void 0:sn.user)==null?void 0:ln.sourceAppPid;await mt.post("/bind",{locale:j,provider:Wt.provider,code:vn,sourceAppPid:Rt}),Toast$1.success(dt("bindOAuthSucceed",{provider:OAUTH_PROVIDER[Wt.provider]})),_e(Wt)}catch(vn){Toast$1.error(getApiErrorMessage(vn,dt("bindOAuthFailed",{provider:OAUTH_PROVIDER[Wt.provider]})))}finally{tt.bindAuthLoading=!1}},Ct=async({session:jt,connectedAccount:Wt})=>{var sn;tt.unbindAuthLoading=!0;try{const ln=(sn=jt==null?void 0:jt.user)==null?void 0:sn.sourceAppPid;await mt.post("/unbind",{locale:j,connectedAccount:omit$1(Wt,["showProvider"]),sourceAppPid:ln}),Toast$1.success(dt("unbindOAuthSucceed",{provider:OAUTH_PROVIDER[Wt.showProvider||Wt.provider]})),et(Wt)}catch(ln){Toast$1.error(getApiErrorMessage(ln,dt("unbindOAuthFailed",{provider:OAUTH_PROVIDER[Wt.showProvider||Wt.provider]})))}finally{tt.unbindAuthLoading=!1}},Mt=async(jt={})=>{try{const{data:Wt}=await mt.get("/passports");Wt.length?(ot.open=!0,ot.currentUser=jt,ot.passports=Wt||[]):Toast$1.error(dt("noPassports"))}catch(Wt){Toast$1.error(Wt.message||dt("getPassportFailed"))}},kt=async()=>{try{const{data:jt}=await mt.post("/switch",{passportId:ot.choosePassport}),{sessionToken:Wt,refreshToken:sn}=parseResponse(jt);nt({sessionToken:Wt,refreshToken:sn}),Toast$1.success(dt("switchPassportSucceed"))}catch(jt){Toast$1.error(jt.message||dt("switchPassportFailed"))}},Pt=jt=>{tt.baseUrl=jt||"/"},Lt=useMemoizedFn(async({provider:jt}={},{action:Wt="login",...sn}={})=>{var Rt,rt,ut;const ln=tt.baseUrl;if((sn==null?void 0:sn.sourceAppPid)===((Rt=window.blocklet)==null?void 0:Rt.appPid))tt.baseUrl=((rt=window.blocklet)==null?void 0:rt.appUrl)||"/";else if(sn!=null&&sn.sourceAppPid){const ct=await pt(),ht=getFederatedEnabled(ct),vt=getMaster(ct);ht&&(vt!=null&&vt.appPid)&&(sn==null?void 0:sn.sourceAppPid)===(vt==null?void 0:vt.appPid)&&(tt.baseUrl=vt.appUrl)}const vn=(ut=window==null?void 0:window.blocklet)==null?void 0:ut.componentId;try{const ct=await St({provider:jt});if(ct){const ht={...sn,action:Wt,locale:j,code:ct,provider:jt,componentId:vn,visitorId:getVisitorId$2()};isUndefined$2(ht.inviter)&&window.localStorage.getItem("inviter")&&(ht.inviter=window.localStorage.getItem("inviter"));const{data:vt}=await mt.post("/login",ht);return parseResponse(vt)}return tt.baseUrl=ln,null}catch(ct){const ht=getApiErrorMessage(ct,dt("loginOAuthFailed",{provider:OAUTH_PROVIDER[jt]}));throw tt.baseUrl=ln,new Error(ht)}}),Ft=useMemoizedFn(()=>{});return jsxRuntimeExports.jsxs(Provider$7,{value:{locale:j,getOAuthConfigs:yt,getOAuthConfigList:Tt,bindOAuth:At,unbindOAuth:Ct,loginOAuth:Lt,logoutOAuth:Ft,switchOAuthPassport:Mt,baseUrl:tt.baseUrl,setBaseUrl:Pt,oauthState:ft,unbindAuthLoading:tt.unbindAuthLoading,bindAuthLoading:tt.bindAuthLoading,t:dt},children:[a,jsxRuntimeExports.jsxs(Confirm,{open:ot.open,title:dt("switchPassport"),onConfirm:kt,onCancel:()=>ot.reset,confirmButton:{text:dt("switch"),props:{variant:"contained",color:"primary"}},cancelButton:{text:dt("cancel"),props:{color:"inherit"}},PaperProps:{style:{width:600}},children:[jsxRuntimeExports.jsxs(Box,{mb:2,children:[dt("currentRole"),(Yt=ot.currentUser)==null?void 0:Yt.role]}),jsxRuntimeExports.jsx(CardSelector,{width:160,height:240,cardSpace:24,list:[()=>jsxRuntimeExports.jsx(Guest,{}),...ot.passports.map(jt=>({src:jt.display,name:jt.title}))],onSelect:jt=>{ot.choosePassport=jt>0?ot.passports[jt-1].id:void 0},defaultIndex:0})]})]})}function useOAuth(){const a=reactExports.useContext(OAuthContext);return omit$1(a,["locale","getToken"])}OAuthProvider.propTypes={children:PropTypes.node.isRequired,locale:PropTypes.string,onBindOAuth:PropTypes.func,onUnbindOAuth:PropTypes.func,onSwitchPassport:PropTypes.func};OAuthProvider.defaultProps={locale:"en",onBindOAuth:noop$7,onUnbindOAuth:noop$7,onSwitchPassport:noop$7};function getPermanentDid(a){return a==null?void 0:a.did}function getConnectedAccounts(a){var j;return(a==null?void 0:a.connectedAccounts)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.connectedAccounts)||[]}function getSourceProvider(a){var j;return(a==null?void 0:a.sourceProvider)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.sourceProvider)||"wallet"}function getSourceProviders(a){return getConnectedAccounts(a).map(_e=>_e.provider)}function getConnectedDids(a){return getConnectedAccounts(a).map(et=>et.did)}function getWallet(a){return getConnectedAccounts(a).find(et=>et.provider==="wallet")}function getWalletDid(a){const j=getWallet(a);return j==null?void 0:j.did}function useDid({session:a}){const[j,_e]=reactExports.useState({did:"",wallet:"",walletDid:"",permanentDid:"",connectedDids:[],connectedAccounts:[],sourceProvider:"",sourceProviders:[]});return reactExports.useEffect(()=>{if(a!=null&&a.user){const et=getPermanentDid(a.user),nt=getWalletDid(a.user),tt=getConnectedAccounts(a.user),ot=getConnectedDids(a.user),ft=getWallet(a.user),dt=getSourceProvider(a.user),mt=getSourceProviders(a.user);_e({did:et,wallet:ft,walletDid:nt,permanentDid:et,connectedDids:ot,connectedAccounts:tt,sourceProvider:dt,sourceProviders:mt})}},[a==null?void 0:a.user]),j}function WrapDid({session:a,children:j}){const _e=useDid({session:a});return j instanceof Function?j(_e):null}WrapDid.propTypes={session:PropTypes.object.isRequired,children:PropTypes.func.isRequired};const api$3=createAxios();async function getMasterToken(){const a=joinURL(AUTH_SERVICE_PREFIX,"/api/federated/loginMaster"),{data:j}=await api$3.post(a);return j}async function mountFederatedIframe({mode:a,refreshToken:j="",blocklet:_e}){const et=getMaster(_e);return new Promise(nt=>{if(!["login","logout"].includes(a)){nt();return}const tt=document.createElement("iframe");tt.style.display="none",tt.onload=async()=>{await sleep$1(500),document.body.removeChild(tt),nt()},tt.src=joinURL(et.appUrl,AUTH_SERVICE_PREFIX,`functional/federated?mode=${a}&refreshToken=${j}`),document.body.appendChild(tt)})}async function loginFederatedMaster(a={},{fetchToken:j=!0,blocklet:_e}={}){if(!getFederatedEnabled())return console.warn("Federated not enabled"),null;let nt,tt;j&&({sessionToken:nt,refreshToken:tt}=await getMasterToken());const ot=getMaster(_e),ft=joinURL(ot.appUrl,AUTH_SERVICE_PREFIX,"/api/federated/login"),dt={withCredentials:!0};nt&&(dt.headers={Authorization:`Bearer ${nt}`});const{data:mt}=await api$3.post(ft,a,dt);return tt&&await mountFederatedIframe({mode:"login",refreshToken:tt,blocklet:_e}),mt}const translations$4={zh:{notFoundFederatedInfo:"未发现统一登录的信息",autoLoginFederatedFailed:"自动登录统一登录账号失败",manualLoginFederatedFailed:"手动登录统一登录账号失败"},en:{notFoundFederatedInfo:"No federated login info detected",autoLoginFederatedFailed:"Auto login federated account failed",manualLoginFederatedFailed:"Manual login federated account failed"}};function useFederated({locale:a,handleLoginResult:j,login:_e,handleRefreshUser:et}){const nt=useReactive({federatedMaster:null}),tt=getFederatedEnabled(),ot=getMaster(),ft=getConfig(),dt=useMemoizedFn(async(mt=noop$7,pt={},yt={})=>{var At,Ct;typeof yt=="string"&&(yt={origin:yt});let{mode:Tt="auto",...St}=pt;if(yt.mode&&(Tt=yt.mode),Tt==="auto"){if(!tt)throw new Error(translations$4[a].notFoundFederatedInfo);try{const Mt=await loginFederatedMaster({appId:globalThis.blocklet.appId},{fetchToken:!1});j({...Mt,encrypted:!1}),await et(!0,!0),mt()}catch(Mt){const kt=Mt!=null&&Mt.response?(At=Mt.response)==null?void 0:At.data:Mt==null?void 0:Mt.message;mt(kt||translations$4[a].autoLoginFederatedFailed)}}else if(Tt==="manual")try{_e(async()=>{await loginFederatedMaster({appId:globalThis.blocklet.appId,onlyWriteCookie:!0}),mt()},{...St},yt)}catch(Mt){const kt=Mt!=null&&Mt.response?(Ct=Mt.response)==null?void 0:Ct.data:Mt==null?void 0:Mt.message;mt(kt||translations$4[a].autoLoginFederatedFailed)}});return{master:ot,config:ft,federatedMaster:nt.federatedMaster,federatedEnabled:tt,loginFederated:dt,loginFederatedMaster}}async function renewRefreshToken(a,{authServicePrefix:j,serviceHost:_e}){if(!a)throw new Error("Refresh token not found");const et=createAxios({baseURL:_e,timeout:10*1e3,headers:{authorization:`Bearer ${encodeURIComponent(a)}`}}),{data:nt}=await et.post(joinURL(j,"/refreshSession"));return nt}function createService({refreshTokenStorage:a,sessionTokenStorage:j,serviceHost:_e,authServicePrefix:et,onRefreshTokenError:nt,onRefreshTokenSuccess:tt},ot={}){let ft=null;const dt=createAxios({baseURL:_e,timeout:30*1e3,...ot}),{getToken:mt,setToken:pt,removeToken:yt}=j,{getToken:Tt,setToken:St,removeToken:At}=a;return dt.interceptors.request.use(async Ct=>{if(j.engine==="ls"){const Mt=mt();Mt&&(Ct.headers.authorization=`Bearer ${encodeURIComponent(Mt)}`)}return ft&&await ft,Ct},Ct=>Promise.reject(Ct)),dt.interceptors.response.use(Ct=>Ct,async Ct=>{var kt;const Mt=Ct.config;if(Mt.headers={...Mt==null?void 0:Mt.headers},((kt=Ct==null?void 0:Ct.response)==null?void 0:kt.status)===401&&!Mt._retry){Mt._retry=!0,ft||(ft=renewRefreshToken(Tt(),{serviceHost:_e,authServicePrefix:et}));try{const Pt=await ft;return pt(Pt.nextToken),St(Pt.nextRefreshToken),typeof tt=="function"&&tt(Pt),dt(Mt)}catch(Pt){return yt(),At(),typeof nt=="function"&&nt(),Promise.reject(Pt)}finally{ft=null}}return Promise.reject(Ct)}),dt}class ErrorToken extends Error{}const langCookieName="nf_lang",intervalTime=1e3,decrypt=a=>decrypt$1(a,localStorage.getItem("__encKey"),localStorage.getItem("__decKey"));function useSessionToken({state:a,pageState:j,serviceHost:_e,sessionTokenStorage:et,refreshTokenStorage:nt,lazyRefreshToken:tt,apiOptions:ot={}}){const[ft,dt]=reactExports.useState(intervalTime),{getToken:mt,setToken:pt,removeToken:yt}=et,{getToken:Tt,setToken:St,removeToken:At}=nt,Ct=useCreation(()=>createAxios({baseURL:_e,timeout:10*1e3}),[_e]),Mt=()=>{yt(),At()},kt=useCreation(()=>createService({sessionTokenStorage:et,refreshTokenStorage:nt,serviceHost:_e,authServicePrefix:j.prefix,onRefreshTokenError(){Mt(),a.user&&(a.user=null)}},ot),[_e,j.prefix]),Pt=()=>{const vn=getCookieOptions({returnDomain:!1});Cookie.remove("connected_did",vn),Cookie.remove("connected_pk",vn),Cookie.remove("connected_app",vn),Cookie.remove("connected_wallet_os",vn),Mt()},Lt=useMemoizedFn(()=>{const vn=Cookie.get(langCookieName)||getBrowserLang();vn!==j.currentLocale&&(j.currentLocale=vn)}),Ft=useMemoizedFn(async({showProgress:vn=!1,requestFn:Rt=null,onlyRefreshToken:rt=!1})=>{var ut;try{if(a.loading)return console.warn("SessionProvider.refresh is currently in progress, call it will be noop"),{loading:!0};vn&&(a.loading=!0);const{data:ct,status:ht}=await Rt();if(ht===400&&(Mt(),a.user=null,a.error=""),ct.error)throw a.error=ct.error,a.open=!1,new Error(ct.error);if(ct.user)ct.nextToken&&(pt(ct.nextToken),ct.nextRefreshToken&&St(ct.nextRefreshToken)),rt||(a.open=!1,a.user=ct.user,a.provider=ct.provider,a.walletOS=ct.walletOS),mt()||(Toast$1.error("Can't write session token, please use https url to access this page"),Mt());else throw vn&&(a.loading=j.autoConnect),a.open=j.autoConnect,a.user=null,a.provider="",a.walletOS="",new ErrorToken("Invalid token");return{data:ct,status:ht}}catch(ct){throw console.error("SessionProvider.refresh error",ct),a.open=!1,a.error=ct.message,((ut=ct==null?void 0:ct.response)==null?void 0:ut.status)===400?new ErrorToken("Invalid token"):ct}finally{vn&&(a.loading=!1)}}),Yt=useMemoizedFn(async(vn=!1,Rt=!1)=>{const rt=getVisitorId$2()||"",ut=()=>Ct.post(withQuery(joinURL(j.prefix,"/refreshSession"),{visitorId:rt}),null,{headers:{authorization:`Bearer ${encodeURIComponent(Tt())}`}});dt(void 0);try{await Ft({showProgress:vn,requestFn:ut,onlyRefreshToken:Rt})}catch(ct){ct instanceof ErrorToken&&(console.warn("refresh token failed, remove all tokens"),Mt())}finally{dt(intervalTime)}}),jt=useMemoizedFn((vn=!1)=>{if(tt)return;const Rt=mt();let rt=vn;const ut=new Date().getTime();if(Rt)try{const{exp:ct,iat:ht}=o(Rt);ct*1e3-ut<ut-ht*1e3&&(rt=!0)}catch{rt=!0}else rt=!0;rt&&(Tt()?Yt(!1,!0):(Pt(),a.user&&(a.user=null)))}),Wt=useMemoizedFn(async(vn=!1)=>{const Rt=getVisitorId$2()||"",rt=()=>kt.get(withQuery(joinURL(j.prefix,"/session"),{visitorId:Rt}));try{await Ft({showProgress:vn,requestFn:rt})}catch(ut){ut instanceof ErrorToken&&(console.warn("try to refresh token"),await Yt())}}),sn=useMemoizedFn(()=>{if(a.initialized&&a.user)try{jt()}catch{}}),ln=useMemoizedFn(vn=>{const Rt=Array.isArray(vn)?vn[0]:vn,{loginToken:rt,sessionToken:ut,refreshToken:ct,visitorId:ht,encrypted:vt=!0}=Rt,$t=rt||ut;$t&&(pt(vt?decrypt($t):$t),ct&&St(vt?decrypt(ct):ct)),ht&&setVisitorId(vt?decrypt(ht):ht)});return useInterval$1(()=>{Lt(),jt()},ft,{immediate:!0}),{renewToken:sn,handleRefreshUser:Wt,handleRefreshToken:Yt,handleLoginResult:ln,decrypt,removeToken:Mt,clearSession:Pt,getSessionToken:mt,getRefreshToken:Tt,setRefreshToken:St,setSessionToken:pt,service:kt}}var pathToRegexp$2={exports:{}},isarray$2=Array.isArray||function(a){return Object.prototype.toString.call(a)=="[object Array]"},isarray$1=isarray$2;pathToRegexp$2.exports=pathToRegexp;pathToRegexp$2.exports.parse=parse$e;pathToRegexp$2.exports.compile=compile;pathToRegexp$2.exports.tokensToFunction=tokensToFunction;pathToRegexp$2.exports.tokensToRegExp=tokensToRegExp;var PATH_REGEXP=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function parse$e(a,j){for(var _e=[],et=0,nt=0,tt="",ot=j&&j.delimiter||"/",ft;(ft=PATH_REGEXP.exec(a))!=null;){var dt=ft[0],mt=ft[1],pt=ft.index;if(tt+=a.slice(nt,pt),nt=pt+dt.length,mt){tt+=mt[1];continue}var yt=a[nt],Tt=ft[2],St=ft[3],At=ft[4],Ct=ft[5],Mt=ft[6],kt=ft[7];tt&&(_e.push(tt),tt="");var Pt=Tt!=null&&yt!=null&&yt!==Tt,Lt=Mt==="+"||Mt==="*",Ft=Mt==="?"||Mt==="*",Yt=ft[2]||ot,jt=At||Ct;_e.push({name:St||et++,prefix:Tt||"",delimiter:Yt,optional:Ft,repeat:Lt,partial:Pt,asterisk:!!kt,pattern:jt?escapeGroup(jt):kt?".*":"[^"+escapeString(Yt)+"]+?"})}return nt<a.length&&(tt+=a.substr(nt)),tt&&_e.push(tt),_e}function compile(a,j){return tokensToFunction(parse$e(a,j),j)}function encodeURIComponentPretty(a){return encodeURI(a).replace(/[\/?#]/g,function(j){return"%"+j.charCodeAt(0).toString(16).toUpperCase()})}function encodeAsterisk(a){return encodeURI(a).replace(/[?#]/g,function(j){return"%"+j.charCodeAt(0).toString(16).toUpperCase()})}function tokensToFunction(a,j){for(var _e=new Array(a.length),et=0;et<a.length;et++)typeof a[et]=="object"&&(_e[et]=new RegExp("^(?:"+a[et].pattern+")$",flags(j)));return function(nt,tt){for(var ot="",ft=nt||{},dt=tt||{},mt=dt.pretty?encodeURIComponentPretty:encodeURIComponent,pt=0;pt<a.length;pt++){var yt=a[pt];if(typeof yt=="string"){ot+=yt;continue}var Tt=ft[yt.name],St;if(Tt==null)if(yt.optional){yt.partial&&(ot+=yt.prefix);continue}else throw new TypeError('Expected "'+yt.name+'" to be defined');if(isarray$1(Tt)){if(!yt.repeat)throw new TypeError('Expected "'+yt.name+'" to not repeat, but received `'+JSON.stringify(Tt)+"`");if(Tt.length===0){if(yt.optional)continue;throw new TypeError('Expected "'+yt.name+'" to not be empty')}for(var At=0;At<Tt.length;At++){if(St=mt(Tt[At]),!_e[pt].test(St))throw new TypeError('Expected all "'+yt.name+'" to match "'+yt.pattern+'", but received `'+JSON.stringify(St)+"`");ot+=(At===0?yt.prefix:yt.delimiter)+St}continue}if(St=yt.asterisk?encodeAsterisk(Tt):mt(Tt),!_e[pt].test(St))throw new TypeError('Expected "'+yt.name+'" to match "'+yt.pattern+'", but received "'+St+'"');ot+=yt.prefix+St}return ot}}function escapeString(a){return a.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function escapeGroup(a){return a.replace(/([=!:$\/()])/g,"\\$1")}function attachKeys(a,j){return a.keys=j,a}function flags(a){return a&&a.sensitive?"":"i"}function regexpToRegexp(a,j){var _e=a.source.match(/\((?!\?)/g);if(_e)for(var et=0;et<_e.length;et++)j.push({name:et,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return attachKeys(a,j)}function arrayToRegexp(a,j,_e){for(var et=[],nt=0;nt<a.length;nt++)et.push(pathToRegexp(a[nt],j,_e).source);var tt=new RegExp("(?:"+et.join("|")+")",flags(_e));return attachKeys(tt,j)}function stringToRegexp(a,j,_e){return tokensToRegExp(parse$e(a,_e),j,_e)}function tokensToRegExp(a,j,_e){isarray$1(j)||(_e=j||_e,j=[]),_e=_e||{};for(var et=_e.strict,nt=_e.end!==!1,tt="",ot=0;ot<a.length;ot++){var ft=a[ot];if(typeof ft=="string")tt+=escapeString(ft);else{var dt=escapeString(ft.prefix),mt="(?:"+ft.pattern+")";j.push(ft),ft.repeat&&(mt+="(?:"+dt+mt+")*"),ft.optional?ft.partial?mt=dt+"("+mt+")?":mt="(?:"+dt+"("+mt+"))?":mt=dt+"("+mt+")",tt+=mt}}var pt=escapeString(_e.delimiter||"/"),yt=tt.slice(-pt.length)===pt;return et||(tt=(yt?tt.slice(0,-pt.length):tt)+"(?:"+pt+"(?=$))?"),nt?tt+="$":tt+=et&&yt?"":"(?="+pt+"|$)",attachKeys(new RegExp("^"+tt,flags(_e)),j)}function pathToRegexp(a,j,_e){return isarray$1(j)||(_e=j||_e,j=[]),_e=_e||{},a instanceof RegExp?regexpToRegexp(a,j):isarray$1(a)?arrayToRegexp(a,j,_e):stringToRegexp(a,j,_e)}var pathToRegexpExports=pathToRegexp$2.exports;const pathToRegexp$1=getDefaultExportFromCjs$1(pathToRegexpExports);function useProtectedRoutes({protectedRoutes:a=[]}){const j=useCreation(()=>a.map(et=>pathToRegexp$1(et,[])),[a]);return{checkMatch:useMemoizedFn((et=window.location.pathname)=>j.some(nt=>nt.exec(et)))}}const SessionContext$1=reactExports.createContext();var dist$1={},eventemitter3={exports:{}};(function(a){var j=Object.prototype.hasOwnProperty,_e="~";function et(){}Object.create&&(et.prototype=Object.create(null),new et().__proto__||(_e=!1));function nt(dt,mt,pt){this.fn=dt,this.context=mt,this.once=pt||!1}function tt(dt,mt,pt,yt,Tt){if(typeof pt!="function")throw new TypeError("The listener must be a function");var St=new nt(pt,yt||dt,Tt),At=_e?_e+mt:mt;return dt._events[At]?dt._events[At].fn?dt._events[At]=[dt._events[At],St]:dt._events[At].push(St):(dt._events[At]=St,dt._eventsCount++),dt}function ot(dt,mt){--dt._eventsCount===0?dt._events=new et:delete dt._events[mt]}function ft(){this._events=new et,this._eventsCount=0}ft.prototype.eventNames=function(){var mt=[],pt,yt;if(this._eventsCount===0)return mt;for(yt in pt=this._events)j.call(pt,yt)&&mt.push(_e?yt.slice(1):yt);return Object.getOwnPropertySymbols?mt.concat(Object.getOwnPropertySymbols(pt)):mt},ft.prototype.listeners=function(mt){var pt=_e?_e+mt:mt,yt=this._events[pt];if(!yt)return[];if(yt.fn)return[yt.fn];for(var Tt=0,St=yt.length,At=new Array(St);Tt<St;Tt++)At[Tt]=yt[Tt].fn;return At},ft.prototype.listenerCount=function(mt){var pt=_e?_e+mt:mt,yt=this._events[pt];return yt?yt.fn?1:yt.length:0},ft.prototype.emit=function(mt,pt,yt,Tt,St,At){var Ct=_e?_e+mt:mt;if(!this._events[Ct])return!1;var Mt=this._events[Ct],kt=arguments.length,Pt,Lt;if(Mt.fn){switch(Mt.once&&this.removeListener(mt,Mt.fn,void 0,!0),kt){case 1:return Mt.fn.call(Mt.context),!0;case 2:return Mt.fn.call(Mt.context,pt),!0;case 3:return Mt.fn.call(Mt.context,pt,yt),!0;case 4:return Mt.fn.call(Mt.context,pt,yt,Tt),!0;case 5:return Mt.fn.call(Mt.context,pt,yt,Tt,St),!0;case 6:return Mt.fn.call(Mt.context,pt,yt,Tt,St,At),!0}for(Lt=1,Pt=new Array(kt-1);Lt<kt;Lt++)Pt[Lt-1]=arguments[Lt];Mt.fn.apply(Mt.context,Pt)}else{var Ft=Mt.length,Yt;for(Lt=0;Lt<Ft;Lt++)switch(Mt[Lt].once&&this.removeListener(mt,Mt[Lt].fn,void 0,!0),kt){case 1:Mt[Lt].fn.call(Mt[Lt].context);break;case 2:Mt[Lt].fn.call(Mt[Lt].context,pt);break;case 3:Mt[Lt].fn.call(Mt[Lt].context,pt,yt);break;case 4:Mt[Lt].fn.call(Mt[Lt].context,pt,yt,Tt);break;default:if(!Pt)for(Yt=1,Pt=new Array(kt-1);Yt<kt;Yt++)Pt[Yt-1]=arguments[Yt];Mt[Lt].fn.apply(Mt[Lt].context,Pt)}}return!0},ft.prototype.on=function(mt,pt,yt){return tt(this,mt,pt,yt,!1)},ft.prototype.once=function(mt,pt,yt){return tt(this,mt,pt,yt,!0)},ft.prototype.removeListener=function(mt,pt,yt,Tt){var St=_e?_e+mt:mt;if(!this._events[St])return this;if(!pt)return ot(this,St),this;var At=this._events[St];if(At.fn)At.fn===pt&&(!Tt||At.once)&&(!yt||At.context===yt)&&ot(this,St);else{for(var Ct=0,Mt=[],kt=At.length;Ct<kt;Ct++)(At[Ct].fn!==pt||Tt&&!At[Ct].once||yt&&At[Ct].context!==yt)&&Mt.push(At[Ct]);Mt.length?this._events[St]=Mt.length===1?Mt[0]:Mt:ot(this,St)}return this},ft.prototype.removeAllListeners=function(mt){var pt;return mt?(pt=_e?_e+mt:mt,this._events[pt]&&ot(this,pt)):(this._events=new et,this._eventsCount=0),this},ft.prototype.off=ft.prototype.removeListener,ft.prototype.addListener=ft.prototype.on,ft.prefixed=_e,ft.EventEmitter=ft,a.exports=ft})(eventemitter3);var eventemitter3Exports=eventemitter3.exports,priorityQueue={},lowerBound$1={};Object.defineProperty(lowerBound$1,"__esModule",{value:!0});function lowerBound(a,j,_e){let et=0,nt=a.length;for(;nt>0;){const tt=nt/2|0;let ot=et+tt;_e(a[ot],j)<=0?(et=++ot,nt-=tt+1):nt=tt}return et}lowerBound$1.default=lowerBound;Object.defineProperty(priorityQueue,"__esModule",{value:!0});const lower_bound_1=lowerBound$1;class PriorityQueue{constructor(){this._queue=[]}enqueue(j,_e){_e=Object.assign({priority:0},_e);const et={priority:_e.priority,run:j};if(this.size&&this._queue[this.size-1].priority>=_e.priority){this._queue.push(et);return}const nt=lower_bound_1.default(this._queue,et,(tt,ot)=>ot.priority-tt.priority);this._queue.splice(nt,0,et)}dequeue(){const j=this._queue.shift();return j==null?void 0:j.run}filter(j){return this._queue.filter(_e=>_e.priority===j.priority).map(_e=>_e.run)}get size(){return this._queue.length}}priorityQueue.default=PriorityQueue;Object.defineProperty(dist$1,"__esModule",{value:!0});const EventEmitter$4=eventemitter3Exports,p_timeout_1=pTimeoutExports,priority_queue_1=priorityQueue,empty=()=>{},timeoutError=new p_timeout_1.TimeoutError;class PQueue extends EventEmitter$4{constructor(j){var _e,et,nt,tt;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=empty,this._resolveIdle=empty,j=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:priority_queue_1.default},j),!(typeof j.intervalCap=="number"&&j.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(et=(_e=j.intervalCap)===null||_e===void 0?void 0:_e.toString())!==null&&et!==void 0?et:""}\` (${typeof j.intervalCap})`);if(j.interval===void 0||!(Number.isFinite(j.interval)&&j.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(tt=(nt=j.interval)===null||nt===void 0?void 0:nt.toString())!==null&&tt!==void 0?tt:""}\` (${typeof j.interval})`);this._carryoverConcurrencyCount=j.carryoverConcurrencyCount,this._isIntervalIgnored=j.intervalCap===1/0||j.interval===0,this._intervalCap=j.intervalCap,this._interval=j.interval,this._queue=new j.queueClass,this._queueClass=j.queueClass,this.concurrency=j.concurrency,this._timeout=j.timeout,this._throwOnTimeout=j.throwOnTimeout===!0,this._isPaused=j.autoStart===!1}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}get _doesConcurrentAllowAnother(){return this._pendingCount<this._concurrency}_next(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}_resolvePromises(){this._resolveEmpty(),this._resolveEmpty=empty,this._pendingCount===0&&(this._resolveIdle(),this._resolveIdle=empty,this.emit("idle"))}_onResumeInterval(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}_isIntervalPaused(){const j=Date.now();if(this._intervalId===void 0){const _e=this._intervalEnd-j;if(_e<0)this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0;else return this._timeoutId===void 0&&(this._timeoutId=setTimeout(()=>{this._onResumeInterval()},_e)),!0}return!1}_tryToStartAnother(){if(this._queue.size===0)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const j=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const _e=this._queue.dequeue();return _e?(this.emit("active"),_e(),j&&this._initializeIntervalIfNeeded(),!0):!1}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||this._intervalId!==void 0||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){this._intervalCount===0&&this._pendingCount===0&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(j){if(!(typeof j=="number"&&j>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${j}\` (${typeof j})`);this._concurrency=j,this._processQueue()}async add(j,_e={}){return new Promise((et,nt)=>{const tt=async()=>{this._pendingCount++,this._intervalCount++;try{const ot=this._timeout===void 0&&_e.timeout===void 0?j():p_timeout_1.default(Promise.resolve(j()),_e.timeout===void 0?this._timeout:_e.timeout,()=>{(_e.throwOnTimeout===void 0?this._throwOnTimeout:_e.throwOnTimeout)&&nt(timeoutError)});et(await ot)}catch(ot){nt(ot)}this._next()};this._queue.enqueue(tt,_e),this._tryToStartAnother(),this.emit("add")})}async addAll(j,_e){return Promise.all(j.map(async et=>this.add(et,_e)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(this._queue.size!==0)return new Promise(j=>{const _e=this._resolveEmpty;this._resolveEmpty=()=>{_e(),j()}})}async onIdle(){if(!(this._pendingCount===0&&this._queue.size===0))return new Promise(j=>{const _e=this._resolveIdle;this._resolveIdle=()=>{_e(),j()}})}get size(){return this._queue.size}sizeBy(j){return this._queue.filter(j).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(j){this._timeout=j}}var _default$2=dist$1.default=PQueue;const data$s={width:24,height:24,body:'<path fill="currentColor" d="M10 22L0 12L10 2l1.775 1.775L3.55 12l8.225 8.225L10 22Z"/>'},data$r={width:24,height:24,body:'<path fill="currentColor" d="m12 13.4l-4.9 4.9q-.275.275-.7.275t-.7-.275q-.275-.275-.275-.7t.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7t.275-.7q.275-.275.7-.275t.7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275t.7.275q.275.275.275.7t-.275.7L13.4 12l4.9 4.9q.275.275.275.7t-.275.7q-.275.275-.7.275t-.7-.275L12 13.4Z"/>'};function isNull$2(a){return a===null}var isNull_1=isNull$2;const isNull$3=getDefaultExportFromCjs$1(isNull_1),Transition=reactExports.forwardRef(function a(j,_e){return jsxRuntimeExports.jsx(Slide,{direction:"up",ref:_e,...j})});function withDialog(a){function j({popup:_e,open:et,dialogStyle:nt,responsive:tt,...ot}){const ft=useMediaQuery("(max-width:640px)");if(!_e&&!tt)return jsxRuntimeExports.jsx(a,{...ot});const dt=(pt,yt)=>{},mt=tt?!0:et;return jsxRuntimeExports.jsx(Dialog$1,{open:mt,fullScreen:ft,maxWidth:"lg",onClose:dt,...ft?{TransitionComponent:Transition,PaperProps:{sx:{borderRadius:3,borderBottomLeftRadius:0,borderBottomRightRadius:0}}}:{PaperProps:{sx:{borderRadius:3}}},children:jsxRuntimeExports.jsx(DialogContent,{sx:{maxWidth:"100%",maxHeight:"100%",p:"0px !important"},children:jsxRuntimeExports.jsx(Box,{sx:{maxWidth:"100%",width:ft?"100%":500,height:ft?"100%":"auto"},children:jsxRuntimeExports.jsx(a,{...ot,hideCloseButton:(ot==null?void 0:ot.hideCloseButton)??!1,isFullScreen:ft,mode:"dialog"})})})})}return j.propTypes={responsive:PropTypes.bool,popup:PropTypes.bool,open:PropTypes.bool,dialogStyle:PropTypes.object},j.defaultProps={responsive:!1,popup:!1,open:!1,dialogStyle:{}},j}var useIdle$1={},cjs={};Object.defineProperty(cjs,"__esModule",{value:!0});function throttle(a,j,_e,et){var nt,tt=!1,ot=0;function ft(){nt&&clearTimeout(nt)}function dt(){ft(),tt=!0}typeof j!="boolean"&&(et=_e,_e=j,j=void 0);function mt(){for(var pt=arguments.length,yt=new Array(pt),Tt=0;Tt<pt;Tt++)yt[Tt]=arguments[Tt];var St=this,At=Date.now()-ot;if(tt)return;function Ct(){ot=Date.now(),_e.apply(St,yt)}function Mt(){nt=void 0}et&&!nt&&Ct(),ft(),et===void 0&&At>a?Ct():j!==!0&&(nt=setTimeout(et?Mt:Ct,et===void 0?a-At:a))}return mt.cancel=dt,mt}function debounce(a,j,_e){return _e===void 0?throttle(a,j,!1):throttle(a,_e,j!==!1)}cjs.debounce=debounce;cjs.throttle=throttle;var util$4={};Object.defineProperty(util$4,"__esModule",{value:!0});util$4.isNavigator=util$4.isBrowser=util$4.off=util$4.on=util$4.noop=void 0;var noop$1=function(){};util$4.noop=noop$1;function on(a){for(var j=[],_e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];a&&a.addEventListener&&a.addEventListener.apply(a,j)}util$4.on=on;function off(a){for(var j=[],_e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];a&&a.removeEventListener&&a.removeEventListener.apply(a,j)}util$4.off=off;util$4.isBrowser=typeof window<"u";util$4.isNavigator=typeof navigator<"u";Object.defineProperty(useIdle$1,"__esModule",{value:!0});var react_1=reactExports,throttle_debounce_1=cjs,util_1$a=util$4,defaultEvents=["mousemove","mousedown","resize","keydown","touchstart","wheel"],oneMinute=6e4,useIdle=function(a,j,_e){a===void 0&&(a=oneMinute),j===void 0&&(j=!1),_e===void 0&&(_e=defaultEvents);var et=react_1.useState(j),nt=et[0],tt=et[1];return react_1.useEffect(function(){for(var ot=!0,ft,dt=nt,mt=function(St){ot&&(dt=St,tt(St))},pt=throttle_debounce_1.throttle(50,function(){dt&&mt(!1),clearTimeout(ft),ft=setTimeout(function(){return mt(!0)},a)}),yt=function(){document.hidden||pt()},Tt=0;Tt<_e.length;Tt++)util_1$a.on(window,_e[Tt],pt);return util_1$a.on(document,"visibilitychange",yt),ft=setTimeout(function(){return mt(!0)},a),function(){ot=!1;for(var St=0;St<_e.length;St++)util_1$a.off(window,_e[St],pt);util_1$a.off(document,"visibilitychange",yt)}},[a,_e]),nt},_default$1=useIdle$1.default=useIdle;const DEFAULT_MAX_IDLE_TIME=1e3*60*30,STORAGE_KEY_DISABLED="wallet_sw_keeper_disabled";let id$1;const injectIframe=a=>{const j=document.createElement("iframe");j.title="abt wallet",j.id=id$1,j.style.width=0,j.style.height=0,j.style.border=0,j.style.display="block",j.style.position="absolute",j.style.top=0,j.src=`${a}?action=iframe`,document.body.appendChild(j)},removeIframe=()=>{const a=document.getElementById(id$1);a&&document.body.removeChild(a)},cleanup=()=>{removeIframe(),id$1=null},enable=a=>{id$1||(id$1=`web_wallet_sw_keeper_${Date.now()}`,injectIframe(a))};function WebWalletSWKeeper({webWalletUrl:a,maxIdleTime:j}){const _e=reactExports.useRef(!!id$1),et=_default$1(j),nt=()=>{_e.current||cleanup()};return reactExports.useEffect(()=>{et?nt():enable(a)},[et]),reactExports.useEffect(()=>()=>nt(),[]),null}WebWalletSWKeeper.propTypes={webWalletUrl:PropTypes.string.isRequired,maxIdleTime:PropTypes.number};WebWalletSWKeeper.defaultProps={maxIdleTime:DEFAULT_MAX_IDLE_TIME};const withWebWalletSWKeeper=a=>function({webWalletUrl:_e,maxIdleTime:et,...nt}){const tt=useBrowser();_e=_e||getWebWalletUrl$1();const[ot]=useLocalStorageState(STORAGE_KEY_DISABLED,{defaultValue:1}),ft=detectWalletExtension(),dt=checkSameProtocol(_e),mt=tt.wallet;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[!ot&&!ft&&dt&&!mt&&jsxRuntimeExports.jsx(WebWalletSWKeeper,{webWalletUrl:_e,maxIdleTime:et}),jsxRuntimeExports.jsx(a,{webWalletUrl:_e,...nt})]})},BlockletContext$1=reactExports.createContext(),{Provider:Provider$6,Consumer:Consumer$6}=BlockletContext$1;function BlockletProvider$1({children:a,baseUrl:j,loading:_e}){const[et,nt]=reactExports.useState(null),tt=useMemoizedFn(async()=>{if(!j||window.location.href.startsWith(j))throw new Error("no blocklet data");const ot=new URL("__blocklet__.js",j);return ot.searchParams.set("type","json"),await(await fetch(ot.href)).json()});return useAsyncEffect(async()=>{try{const ot=await tt();nt(ot)}catch{const ot=globalThis.blocklet||globalThis.env;nt(ot)}},[j]),jsxRuntimeExports.jsx(Provider$6,{value:et,children:et?a:_e||null})}function useBlockletContext$2(){return{blocklet:reactExports.useContext(BlockletContext$1)}}BlockletProvider$1.propTypes={baseUrl:PropTypes.string,children:PropTypes.any.isRequired,loading:PropTypes.any};BlockletProvider$1.defaultProps={baseUrl:"",loading:null};function Loading(){return jsxRuntimeExports.jsx(Box,{sx:{height:"100%",minWidth:"200px",minHeight:"200px",display:"flex",justifyContent:"center",alignItems:"center"},children:jsxRuntimeExports.jsx(CircularProgress,{sx:{color:colors$1.foregroundsFgInteractive}})})}function withBlocklet(a){function j({...et}){const{blocklet:nt}=useBlockletContext$2();return jsxRuntimeExports.jsx(a,{...et,blocklet:nt})}function _e({baseUrl:et,...nt}){return jsxRuntimeExports.jsx(BlockletProvider$1,{baseUrl:et,loading:jsxRuntimeExports.jsx(Loading,{}),children:jsxRuntimeExports.jsx(j,{baseUrl:et,...nt})})}return _e}const keyPair=tweetnacl.box.keyPair();function useSecurity(){const[a,j]=useLocalStorageState("__encKey",{defaultValue:encodeKey(keyPair.publicKey),deserializer:ot=>ot,serializer:ot=>ot}),[_e,et]=useLocalStorageState("__decKey",{defaultValue:encodeKey(keyPair.secretKey),deserializer:ot=>ot,serializer:ot=>ot});return reactExports.useEffect(()=>{localStorage.getItem("__encKey")||j(encodeKey(keyPair.publicKey)),localStorage.getItem("__decKey")||et(encodeKey(keyPair.secretKey))},[]),{encryptKey:a,decryptKey:_e,decrypt:(ot,ft=a,dt=_e)=>decrypt$1(ot,ft,dt),encrypt:(ot,ft=a)=>encrypt(ot,ft)}}var lodash={exports:{}};/**
465
+ `;CardSelector.propTypes={list:PropTypes.array,width:PropTypes.number,height:PropTypes.number,cardSpace:PropTypes.number,onSelect:PropTypes.func,defaultIndex:PropTypes.number};CardSelector.defaultProps={list:"",width:300,height:400,cardSpace:40,onSelect:noop$7,defaultIndex:0};var baseKeys=_baseKeys,getTag$1=_getTag,isArguments$1=isArguments_1,isArray$8=isArray_1,isArrayLike$2=isArrayLike_1,isBuffer$1=isBufferExports,isPrototype=_isPrototype,isTypedArray$1=isTypedArray_1,mapTag$1="[object Map]",setTag$1="[object Set]",objectProto$4=Object.prototype,hasOwnProperty$7=objectProto$4.hasOwnProperty;function isEmpty(a){if(a==null)return!0;if(isArrayLike$2(a)&&(isArray$8(a)||typeof a=="string"||typeof a.splice=="function"||isBuffer$1(a)||isTypedArray$1(a)||isArguments$1(a)))return!a.length;var j=getTag$1(a);if(j==mapTag$1||j==setTag$1)return!a.size;if(isPrototype(a))return!baseKeys(a).length;for(var _e in a)if(hasOwnProperty$7.call(a,_e))return!1;return!0}var isEmpty_1=isEmpty;const isEmpty$1=getDefaultExportFromCjs$1(isEmpty_1);function getMaster(a=window.blocklet){var _e;return(((_e=a==null?void 0:a.settings)==null?void 0:_e.federated)||{}).master}function getConfig(a=window.blocklet){var _e;return(((_e=a==null?void 0:a.settings)==null?void 0:_e.federated)||{}).config}function getFederatedEnabled(a=window.blocklet){const j=getConfig(a);return(j==null?void 0:j.status)==="approved"}function getFederatedApp(a=window.blocklet){const j=getMaster(a);return!isEmpty$1(j)?{appId:j.appId,appName:j.appName,appDescription:j.appDescription,appLogo:j.appLogo,appPid:j.appPid,appUrl:j.appUrl,version:j.version,sourceAppPid:j.appPid,provider:"wallet"}:null}function getCurrentApp(a=window.blocklet){return a?{appId:a.appId,appName:a.appName,appDescription:a.appDescription,appLogo:a.appLogo,appPid:a.appPid,appUrl:a.appUrl,version:a.version,sourceAppPid:null,provider:"wallet"}:window.env?(a=window.env,{appId:a.appId,appName:a.appName,appDescription:a.appDescription,appUrl:a.baseUrl,sourceAppPid:null,provider:"wallet",type:"server"}):null}function getApps(a){const j=[],_e=getFederatedApp(a),et=getCurrentApp(a),nt=getFederatedEnabled(a);return et&&j.push(et),_e&&(_e==null?void 0:_e.appId)!==(et==null?void 0:et.appId)&&nt&&j.push(_e),j.reverse()}async function getBlockletData(a){try{const j=new URL("__blocklet__.js",a);return j.searchParams.set("type","json"),await(await fetch(j.href)).json()}catch(j){return console.error(`Failed to get blocklet data: ${a}`,j),null}}var Guest=function a(j){return jsxRuntimeExports.jsxs("svg",{...j,children:[jsxRuntimeExports.jsx("rect",{x:"1",y:"1",width:"418",height:"473",rx:"19",fill:"#FBFBFB"}),jsxRuntimeExports.jsx("g",{clipPath:"url(#a)",children:jsxRuntimeExports.jsx("path",{opacity:".7",fill:"#DDD",d:"M0 100h420v168H0z"})}),jsxRuntimeExports.jsx("circle",{cx:"210",cy:"248",r:"60",fill:"#C4C5CA"}),jsxRuntimeExports.jsx("path",{d:"M181 284l7.2-7.2 7.2 7.2 7.2-10.8 7.2 10.8 7.2-10.8 7.2 10.8 7.2-7.2 7.2 7.2v-43.2c0-15.907-12.893-28.8-28.8-28.8S181 224.893 181 240.8V284z",fill:"#C4C5CA",stroke:"#fff",strokeWidth:"5",strokeLinejoin:"round"}),jsxRuntimeExports.jsx("path",{d:"M200.797 240.812h3.6-3.6zm21.6 0h3.6-3.6z",fill:"#C4C5CA"}),jsxRuntimeExports.jsx("path",{d:"M200.797 240.812h3.6m18 0h3.6",stroke:"#fff",strokeWidth:"5",strokeLinecap:"round",strokeLinejoin:"round"}),jsxRuntimeExports.jsx("path",{opacity:".7",d:"M24 29h189v40H24V29z",fill:"#C4C5CA"}),jsxRuntimeExports.jsx("path",{opacity:".42",fill:"#C4C5CA",d:"M313 24h83v14h-83z"}),jsxRuntimeExports.jsx("path",{opacity:".7",fill:"#C4C5CA",d:"M291 50h105v26H291z"}),jsxRuntimeExports.jsx("path",{d:"M177.388 388.4c-1.733 0-3.32-.213-4.76-.64a12.355 12.355 0 0 1-3.8-1.88 15.072 15.072 0 0 1-2.96-3l3.76-4.28c1.307 1.813 2.6 3.053 3.88 3.72 1.307.64 2.72.96 4.24.96.827 0 1.56-.107 2.2-.32.667-.24 1.187-.573 1.56-1 .373-.427.56-.933.56-1.52 0-.427-.093-.813-.28-1.16a2.764 2.764 0 0 0-.8-.96 5.139 5.139 0 0 0-1.24-.76 8.666 8.666 0 0 0-1.6-.6 12.728 12.728 0 0 0-1.92-.44c-1.493-.347-2.8-.76-3.92-1.24-1.12-.507-2.053-1.12-2.8-1.84a7.456 7.456 0 0 1-1.68-2.52c-.347-.933-.52-1.987-.52-3.16 0-1.2.267-2.307.8-3.32a8.187 8.187 0 0 1 2.2-2.68 10.68 10.68 0 0 1 3.28-1.72c1.253-.4 2.573-.6 3.96-.6 1.707 0 3.2.2 4.48.6 1.28.373 2.387.92 3.32 1.64.96.72 1.76 1.6 2.4 2.64l-3.8 3.68a9.48 9.48 0 0 0-1.84-1.88 6.482 6.482 0 0 0-2.12-1.12 6.84 6.84 0 0 0-2.32-.4c-.88 0-1.64.12-2.28.36-.64.213-1.147.533-1.52.96-.347.427-.52.947-.52 1.56 0 .48.12.907.36 1.28s.587.707 1.04 1c.453.267 1 .507 1.64.72.64.213 1.347.4 2.12.56 1.467.293 2.787.68 3.96 1.16 1.173.48 2.173 1.067 3 1.76a6.784 6.784 0 0 1 1.96 2.4c.453.907.68 1.933.68 3.08 0 1.893-.453 3.507-1.36 4.84-.907 1.333-2.16 2.36-3.76 3.08-1.6.693-3.467 1.04-5.6 1.04zm17.394-.4v-26.52h5.68V388h-5.68zm-3.96-16.08v-5.08h13.96v5.08h-13.96zm25.387 16.48c-1.76 0-3.346-.48-4.76-1.44-1.413-.96-2.533-2.267-3.36-3.92-.826-1.653-1.24-3.547-1.24-5.68 0-2.133.414-4.013 1.24-5.64.854-1.653 2-2.947 3.44-3.88 1.44-.96 3.08-1.44 4.92-1.44 1.04 0 1.987.16 2.84.48.88.293 1.64.707 2.28 1.24a7.831 7.831 0 0 1 1.68 1.84c.454.693.774 1.44.96 2.24l-1.2-.2v-5.16h5.64V388h-5.72v-5.08l1.28-.12a6.81 6.81 0 0 1-1.04 2.12 8.213 8.213 0 0 1-1.8 1.8c-.693.507-1.48.92-2.36 1.24-.88.293-1.813.44-2.8.44zm1.56-4.92c1.067 0 2-.253 2.8-.76.8-.507 1.414-1.213 1.84-2.12.454-.933.68-2.013.68-3.24 0-1.2-.226-2.253-.68-3.16-.426-.907-1.04-1.613-1.84-2.12-.8-.533-1.733-.8-2.8-.8-1.04 0-1.96.267-2.76.8-.773.507-1.386 1.213-1.84 2.12-.453.907-.68 1.96-.68 3.16 0 1.227.227 2.307.68 3.24.454.907 1.067 1.613 1.84 2.12.8.507 1.72.76 2.76.76zm19.066 13.72l4.64-10.88.08 3.28-10.32-22.76h6.44l5.16 12.2c.213.453.413.987.6 1.6.213.587.387 1.16.52 1.72l-.96.4c.16-.453.347-.973.56-1.56.213-.587.427-1.213.64-1.88l4.44-12.48h6.48l-8.88 21.16-3.64 9.2h-5.76zM92.8 438l10.96-28h5.36l10.92 28h-6.16l-5.64-15.08c-.16-.427-.36-.973-.6-1.64l-.68-2.12-.68-2.12a27.95 27.95 0 0 1-.48-1.72l1.08-.04c-.16.613-.346 1.253-.56 1.92-.186.64-.386 1.307-.6 2-.213.667-.44 1.32-.68 1.96-.24.64-.466 1.267-.68 1.88L98.72 438H92.8zm5.08-5.88l1.96-4.84h12.84l2 4.84h-16.8zm25.292 5.88v-21.16h5.44l.16 4.32-1.12.48c.293-.96.813-1.827 1.56-2.6a8.83 8.83 0 0 1 2.76-1.92 8.1 8.1 0 0 1 3.36-.72c1.6 0 2.933.32 4 .96 1.093.64 1.907 1.613 2.44 2.92.56 1.28.84 2.867.84 4.76V438h-5.68v-12.52c0-.96-.133-1.76-.4-2.4-.267-.64-.68-1.107-1.24-1.4-.533-.32-1.2-.453-2-.4-.64 0-1.24.107-1.8.32a3.94 3.94 0 0 0-1.4.84c-.373.373-.68.8-.92 1.28-.213.48-.32 1-.32 1.56V438h-5.68zm34.723.4c-2.16 0-4.093-.467-5.8-1.4a10.853 10.853 0 0 1-4-3.92c-.96-1.653-1.44-3.547-1.44-5.68 0-2.133.48-4.013 1.44-5.64a10.853 10.853 0 0 1 4-3.92c1.707-.96 3.64-1.44 5.8-1.44 2.133 0 4.04.48 5.72 1.44 1.707.96 3.04 2.267 4 3.92.96 1.627 1.44 3.507 1.44 5.64 0 2.133-.48 4.027-1.44 5.68-.96 1.653-2.293 2.96-4 3.92-1.68.933-3.587 1.4-5.72 1.4zm0-4.96c1.04 0 1.973-.253 2.8-.76a5.371 5.371 0 0 0 1.92-2.16c.48-.933.72-1.973.72-3.12 0-1.173-.24-2.213-.72-3.12-.453-.933-1.093-1.653-1.92-2.16-.827-.533-1.76-.8-2.8-.8-1.067 0-2.013.267-2.84.8a5.673 5.673 0 0 0-1.96 2.16c-.48.907-.707 1.947-.68 3.12-.027 1.147.2 2.187.68 3.12a5.673 5.673 0 0 0 1.96 2.16c.827.507 1.773.76 2.84.76zm15.433 4.56v-21.16h5.44l.16 4.32-1.12.48c.294-.96.814-1.827 1.56-2.6a8.853 8.853 0 0 1 2.76-1.92 8.1 8.1 0 0 1 3.36-.72c1.6 0 2.934.32 4 .96 1.094.64 1.907 1.613 2.44 2.92.56 1.28.84 2.867.84 4.76V438h-5.68v-12.52c0-.96-.133-1.76-.4-2.4-.266-.64-.68-1.107-1.24-1.4-.533-.32-1.2-.453-2-.4-.64 0-1.24.107-1.8.32a3.94 3.94 0 0 0-1.4.84c-.373.373-.68.8-.92 1.28-.213.48-.32 1-.32 1.56V438h-5.68zm27.648 9.2l4.64-10.88.08 3.28-10.32-22.76h6.44l5.16 12.2c.213.453.413.987.6 1.6.213.587.386 1.16.52 1.72l-.96.4c.16-.453.346-.973.56-1.56.213-.587.426-1.213.64-1.88l4.44-12.48h6.48l-8.88 21.16-3.64 9.2h-5.76zm21.297-9.2v-21.16h5.48l.12 4.04-.84.16c.293-.693.68-1.32 1.16-1.88.48-.56 1.04-1.04 1.68-1.44.666-.4 1.36-.707 2.08-.92.72-.24 1.44-.36 2.16-.36 1.093 0 2.08.173 2.96.52.88.347 1.626.893 2.24 1.64.613.72 1.093 1.68 1.44 2.88l-.88-.08.28-.64a6.852 6.852 0 0 1 1.32-1.72 8.178 8.178 0 0 1 1.8-1.36c.666-.4 1.36-.707 2.08-.92a7.448 7.448 0 0 1 2.12-.32c1.653 0 3.026.333 4.12 1 1.093.64 1.906 1.613 2.44 2.92.56 1.307.84 2.907.84 4.8V438h-5.68v-12.44c0-.96-.134-1.747-.4-2.36-.267-.613-.654-1.067-1.16-1.36-.507-.32-1.16-.48-1.96-.48a4.59 4.59 0 0 0-1.72.32c-.507.187-.96.467-1.36.84a3.74 3.74 0 0 0-.88 1.24 3.885 3.885 0 0 0-.32 1.6V438h-5.68v-12.48c0-.88-.147-1.627-.44-2.24-.267-.64-.654-1.12-1.16-1.44-.507-.32-1.134-.48-1.88-.48a4.59 4.59 0 0 0-1.72.32 3.608 3.608 0 0 0-1.32.84c-.374.347-.68.76-.92 1.24-.214.48-.32 1-.32 1.56V438h-5.68zm47.848.4c-2.16 0-4.093-.467-5.8-1.4a10.853 10.853 0 0 1-4-3.92c-.96-1.653-1.44-3.547-1.44-5.68 0-2.133.48-4.013 1.44-5.64a10.853 10.853 0 0 1 4-3.92c1.707-.96 3.64-1.44 5.8-1.44 2.134 0 4.04.48 5.72 1.44 1.707.96 3.04 2.267 4 3.92.96 1.627 1.44 3.507 1.44 5.64 0 2.133-.48 4.027-1.44 5.68-.96 1.653-2.293 2.96-4 3.92-1.68.933-3.586 1.4-5.72 1.4zm0-4.96c1.04 0 1.974-.253 2.8-.76a5.371 5.371 0 0 0 1.92-2.16c.48-.933.72-1.973.72-3.12 0-1.173-.24-2.213-.72-3.12-.453-.933-1.093-1.653-1.92-2.16-.826-.533-1.76-.8-2.8-.8-1.066 0-2.013.267-2.84.8a5.681 5.681 0 0 0-1.96 2.16c-.48.907-.706 1.947-.68 3.12-.026 1.147.2 2.187.68 3.12a5.681 5.681 0 0 0 1.96 2.16c.827.507 1.774.76 2.84.76zm22.714 4.96c-1.547 0-2.88-.333-4-1-1.093-.693-1.947-1.667-2.56-2.92-.587-1.28-.88-2.813-.88-4.6v-13.04h5.68v12.12c0 .96.16 1.8.48 2.52.32.693.773 1.227 1.36 1.6.587.373 1.307.56 2.16.56.613 0 1.187-.093 1.72-.28a3.993 3.993 0 0 0 1.36-.88c.373-.373.667-.813.88-1.32.213-.507.32-1.053.32-1.64v-12.68h5.68V438h-5.4l-.2-4.36 1.04-.48a7.107 7.107 0 0 1-1.6 2.68 7.981 7.981 0 0 1-2.68 1.88c-1.04.453-2.16.68-3.36.68zm25.035 0c-1.973 0-3.733-.32-5.28-.96-1.52-.667-2.747-1.573-3.68-2.72l3.52-3.04c.827.88 1.747 1.52 2.76 1.92a8.75 8.75 0 0 0 3.04.56c.4 0 .76-.04 1.08-.12.347-.107.64-.24.88-.4.24-.187.413-.4.52-.64.133-.267.2-.547.2-.84 0-.587-.24-1.053-.72-1.4-.267-.133-.68-.293-1.24-.48-.56-.213-1.28-.44-2.16-.68-1.36-.347-2.52-.747-3.48-1.2-.933-.48-1.68-1.013-2.24-1.6a6.755 6.755 0 0 1-1.12-1.8c-.24-.667-.36-1.4-.36-2.2 0-.96.213-1.827.64-2.6a6.138 6.138 0 0 1 1.76-2.04 8.66 8.66 0 0 1 2.64-1.28c.987-.32 2.027-.48 3.12-.48s2.16.133 3.2.4 2 .653 2.88 1.16a9.77 9.77 0 0 1 2.36 1.72l-3.04 3.36a9.806 9.806 0 0 0-1.64-1.24 8.324 8.324 0 0 0-1.84-.88c-.64-.213-1.213-.32-1.72-.32-.453 0-.867.04-1.24.12-.347.08-.64.2-.88.36-.24.16-.427.373-.56.64-.107.24-.16.507-.16.8 0 .293.067.573.2.84.16.267.373.493.64.68.293.16.72.347 1.28.56a30.74 30.74 0 0 0 2.36.72c1.28.347 2.36.733 3.24 1.16.907.427 1.627.92 2.16 1.48.453.48.787 1.027 1 1.64.213.613.32 1.293.32 2.04 0 1.307-.373 2.48-1.12 3.52-.72 1.013-1.72 1.813-3 2.4-1.28.56-2.72.84-4.32.84z",fill:"#25292F"}),jsxRuntimeExports.jsx("rect",{x:"1",y:"1",width:"418",height:"558",rx:"19",stroke:"#DDD",strokeWidth:"2"}),jsxRuntimeExports.jsx("defs",{children:jsxRuntimeExports.jsx("clipPath",{id:"a",children:jsxRuntimeExports.jsx("path",{fill:"#fff",transform:"translate(0 100)",d:"M0 0h420v168H0z"})})})]})};Guest.defaultProps={width:"420",height:"475",viewBox:"0 0 420 475",fill:"none",xmlns:"http://www.w3.org/2000/svg"};const OAuthContext=reactExports.createContext({}),{Provider:Provider$7,Consumer:OAuthConsumer}=OAuthContext,prefix$3=`${AUTH_SERVICE_PREFIX}/api/oauth`,parseResponse=a=>a?typeof a=="string"?{sessionToken:a}:pick$2(a,["sessionToken","refreshToken","visitorId"]):{},translations$5={zh:{bindOAuth:"绑定第三方登录",bind:"绑定",noneOAuth:"未配置第三方登录方式",bindOAuthSucceed:"绑定 {provider} 成功",unbindOAuthSucceed:"解绑 {provider} 成功",loginOAuthFailed:"登录 {provider} 失败",bindOAuthFailed:"绑定 {provider} 失败",unbindOAuthFailed:"绑定 {provider} 失败",switchPassport:"切换通行证",switchPassportFailed:"切换通行证失败",switchPassportSucceed:"切换通行证成功",choosePassport:"请选择一个通行证",switch:"切换",cancel:"取消",currentRole:"当前角色:",passport:"通行证",noPassports:"没有可更换的通行证",getPassportFailed:"获取通行证失败",loginRequired:"授权请求被拒绝",cancelAuth:"取消授权"},en:{bindOAuth:"Bind third party login",bind:"Bind ",noneOAuth:"Third party login is not configured",bindOAuthSucceed:"Bind {provider} succeed",unbindOAuthSucceed:"Unbind {provider} succeed",loginOAuthFailed:"Login {provider} failed",bindOAuthFailed:"Bind {provider} failed",unbindOAuthFailed:"Unbind {provider} failed",switchPassport:"Switch passport",switchPassportFailed:"Switch passport failed",switchPassportSucceed:"Switch passport succeed",choosePassport:"Select a passport to switch",switch:"Switch",cancel:"Cancel",currentRole:"Current role: ",passport:"Passport",noPassports:"No passport to switch",getPassportFailed:"Get passports failed",loginRequired:"You have declined the authentication request",cancelAuth:"Cancel authentication"}};function OAuthProvider({children:a,locale:j,onBindOAuth:_e,onUnbindOAuth:et,onSwitchPassport:nt}){var Yt;const tt=useReactive({baseUrl:"/",bindFnSession:void 0,bindAuthLoading:!1,unbindAuthLoading:!1}),ot=useReactive({open:!1,currentUser:null,passports:[],choosePassport:void 0,reset(){ot.open=!1,ot.currentUser=null,ot.passports=[],ot.choosePassport=void 0}}),ft=useReactive({user:null,checking:!1,loading:!1,error:"",status:"",reset(){ft.loading=!1,ft.checking=!1,ft.error="",ft.status=""}}),dt=useMemoizedFn((jt,Wt={})=>translate(translations$5,jt,j,"en",Wt)),mt=useCreation(()=>createAxios({baseURL:joinURL(tt.baseUrl,prefix$3)}),[tt.baseUrl,prefix$3]),pt=useMemoizedFn(async()=>{if(tt.baseUrl==="/")return window.blocklet;try{if(new URL(tt.baseUrl).host===window.location.host)return window.blocklet}catch{}return await getBlockletData(tt.baseUrl)}),yt=useMemoizedFn(async({sourceAppPid:jt}={})=>{var vn,Rt;const Wt=await pt(),sn=getFederatedEnabled(Wt),ln=getMaster(Wt);if(sn&&(ln!=null&&ln.appPid)&&jt===(ln==null?void 0:ln.appPid)){const rt=await getBlockletData(ln.appUrl);return((vn=rt==null?void 0:rt.settings)==null?void 0:vn.oauth)||{}}return((Rt=Wt==null?void 0:Wt.settings)==null?void 0:Rt.oauth)||{}}),Tt=useMemoizedFn(async({sourceAppPid:jt}={})=>{const Wt=await yt({sourceAppPid:jt});return Object.entries(Wt).map(([ln,vn])=>({...vn,provider:ln})).filter(ln=>ln.enabled).sort((ln,vn)=>(ln==null?void 0:ln.order)!==void 0&&(vn==null?void 0:vn.order)!==void 0?ln.order-vn.order:(ln==null?void 0:ln.order)!==void 0?-1:1)}),St=useMemoizedFn(async({provider:jt}={})=>{var sn;const Wt=openPopup(joinURL(tt.baseUrl,"/.well-known/service/oauth/login",jt),{name:"oauth-login:popup"});try{const ln=await runPopup({popup:Wt,closeTimeout:0});return ln!=null&&ln.response?(sn=ln.response)==null?void 0:sn.code:null}catch(ln){throw(ln==null?void 0:ln.message)==="Popup closed"?new Error(dt("cancelAuth")):ln}}),At=async({session:jt,oauthItem:Wt}={})=>{var sn,ln;tt.bindFnSession=jt,tt.bindAuthLoading=!0;try{const vn=await St(Wt),Rt=(ln=(sn=tt.bindFnSession)==null?void 0:sn.user)==null?void 0:ln.sourceAppPid;await mt.post("/bind",{locale:j,provider:Wt.provider,code:vn,sourceAppPid:Rt}),Toast$1.success(dt("bindOAuthSucceed",{provider:OAUTH_PROVIDER[Wt.provider]})),_e(Wt)}catch(vn){Toast$1.error(getApiErrorMessage(vn,dt("bindOAuthFailed",{provider:OAUTH_PROVIDER[Wt.provider]})))}finally{tt.bindAuthLoading=!1}},Ct=async({session:jt,connectedAccount:Wt})=>{var sn;tt.unbindAuthLoading=!0;try{const ln=(sn=jt==null?void 0:jt.user)==null?void 0:sn.sourceAppPid;await mt.post("/unbind",{locale:j,connectedAccount:omit$1(Wt,["showProvider"]),sourceAppPid:ln}),Toast$1.success(dt("unbindOAuthSucceed",{provider:OAUTH_PROVIDER[Wt.showProvider||Wt.provider]})),et(Wt)}catch(ln){Toast$1.error(getApiErrorMessage(ln,dt("unbindOAuthFailed",{provider:OAUTH_PROVIDER[Wt.showProvider||Wt.provider]})))}finally{tt.unbindAuthLoading=!1}},Mt=async(jt={})=>{try{const{data:Wt}=await mt.get("/passports");Wt.length?(ot.open=!0,ot.currentUser=jt,ot.passports=Wt||[]):Toast$1.error(dt("noPassports"))}catch(Wt){Toast$1.error(Wt.message||dt("getPassportFailed"))}},kt=async()=>{try{const{data:jt}=await mt.post("/switch",{passportId:ot.choosePassport}),{sessionToken:Wt,refreshToken:sn}=parseResponse(jt);nt({sessionToken:Wt,refreshToken:sn}),Toast$1.success(dt("switchPassportSucceed"))}catch(jt){Toast$1.error(jt.message||dt("switchPassportFailed"))}},Pt=jt=>{tt.baseUrl=jt||"/"},Lt=useMemoizedFn(async({provider:jt}={},{action:Wt="login",...sn}={})=>{var Rt,rt,ut;const ln=tt.baseUrl;if((sn==null?void 0:sn.sourceAppPid)===((Rt=window.blocklet)==null?void 0:Rt.appPid))tt.baseUrl=((rt=window.blocklet)==null?void 0:rt.appUrl)||"/";else if(sn!=null&&sn.sourceAppPid){const ct=await pt(),ht=getFederatedEnabled(ct),vt=getMaster(ct);ht&&(vt!=null&&vt.appPid)&&(sn==null?void 0:sn.sourceAppPid)===(vt==null?void 0:vt.appPid)&&(tt.baseUrl=vt.appUrl)}const vn=(ut=window==null?void 0:window.blocklet)==null?void 0:ut.componentId;try{const ct=await St({provider:jt});if(ct){const ht={...sn,action:Wt,locale:j,code:ct,provider:jt,componentId:vn,visitorId:getVisitorId$2()};isUndefined$2(ht.inviter)&&window.localStorage.getItem("inviter")&&(ht.inviter=window.localStorage.getItem("inviter"));const{data:vt}=await mt.post("/login",ht);return parseResponse(vt)}return tt.baseUrl=ln,null}catch(ct){const ht=getApiErrorMessage(ct,dt("loginOAuthFailed",{provider:OAUTH_PROVIDER[jt]}));throw tt.baseUrl=ln,new Error(ht)}}),Ft=useMemoizedFn(()=>{});return jsxRuntimeExports.jsxs(Provider$7,{value:{locale:j,getOAuthConfigs:yt,getOAuthConfigList:Tt,bindOAuth:At,unbindOAuth:Ct,loginOAuth:Lt,logoutOAuth:Ft,switchOAuthPassport:Mt,baseUrl:tt.baseUrl,setBaseUrl:Pt,oauthState:ft,unbindAuthLoading:tt.unbindAuthLoading,bindAuthLoading:tt.bindAuthLoading,t:dt},children:[a,jsxRuntimeExports.jsxs(Confirm,{open:ot.open,title:dt("switchPassport"),onConfirm:kt,onCancel:()=>ot.reset,confirmButton:{text:dt("switch"),props:{variant:"contained",color:"primary"}},cancelButton:{text:dt("cancel"),props:{color:"inherit"}},PaperProps:{style:{width:600}},children:[jsxRuntimeExports.jsxs(Box,{mb:2,children:[dt("currentRole"),(Yt=ot.currentUser)==null?void 0:Yt.role]}),jsxRuntimeExports.jsx(CardSelector,{width:160,height:240,cardSpace:24,list:[()=>jsxRuntimeExports.jsx(Guest,{}),...ot.passports.map(jt=>({src:jt.display,name:jt.title}))],onSelect:jt=>{ot.choosePassport=jt>0?ot.passports[jt-1].id:void 0},defaultIndex:0})]})]})}function useOAuth(){const a=reactExports.useContext(OAuthContext);return omit$1(a,["locale","getToken"])}OAuthProvider.propTypes={children:PropTypes.node.isRequired,locale:PropTypes.string,onBindOAuth:PropTypes.func,onUnbindOAuth:PropTypes.func,onSwitchPassport:PropTypes.func};OAuthProvider.defaultProps={locale:"en",onBindOAuth:noop$7,onUnbindOAuth:noop$7,onSwitchPassport:noop$7};function getPermanentDid(a){return a==null?void 0:a.did}function getConnectedAccounts(a){var j;return(a==null?void 0:a.connectedAccounts)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.connectedAccounts)||[]}function getSourceProvider(a){var j;return(a==null?void 0:a.sourceProvider)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.sourceProvider)||"wallet"}function getSourceProviders(a){return getConnectedAccounts(a).map(_e=>_e.provider)}function getConnectedDids(a){return getConnectedAccounts(a).map(et=>et.did)}function getWallet(a){return getConnectedAccounts(a).find(et=>et.provider==="wallet")}function getWalletDid(a){const j=getWallet(a);return j==null?void 0:j.did}function useDid({session:a}){const[j,_e]=reactExports.useState({did:"",wallet:"",walletDid:"",permanentDid:"",connectedDids:[],connectedAccounts:[],sourceProvider:"",sourceProviders:[]});return reactExports.useEffect(()=>{if(a!=null&&a.user){const et=getPermanentDid(a.user),nt=getWalletDid(a.user),tt=getConnectedAccounts(a.user),ot=getConnectedDids(a.user),ft=getWallet(a.user),dt=getSourceProvider(a.user),mt=getSourceProviders(a.user);_e({did:et,wallet:ft,walletDid:nt,permanentDid:et,connectedDids:ot,connectedAccounts:tt,sourceProvider:dt,sourceProviders:mt})}},[a==null?void 0:a.user]),j}function WrapDid({session:a,children:j}){const _e=useDid({session:a});return j instanceof Function?j(_e):null}WrapDid.propTypes={session:PropTypes.object.isRequired,children:PropTypes.func.isRequired};const api$3=createAxios();async function getMasterToken(){const a=joinURL(AUTH_SERVICE_PREFIX,"/api/federated/loginMaster"),{data:j}=await api$3.post(a);return j}async function mountFederatedIframe({mode:a,refreshToken:j="",blocklet:_e}){const et=getMaster(_e);return new Promise(nt=>{if(!["login","logout"].includes(a)){nt();return}const tt=document.createElement("iframe");tt.style.display="none",tt.onload=async()=>{await sleep$1(500),document.body.removeChild(tt),nt()},tt.src=joinURL(et.appUrl,AUTH_SERVICE_PREFIX,`functional/federated?mode=${a}&refreshToken=${j}`),document.body.appendChild(tt)})}async function loginFederatedMaster(a={},{fetchToken:j=!0,blocklet:_e}={}){if(!getFederatedEnabled())return console.warn("Federated not enabled"),null;let nt,tt;j&&({sessionToken:nt,refreshToken:tt}=await getMasterToken());const ot=getMaster(_e),ft=joinURL(ot.appUrl,AUTH_SERVICE_PREFIX,"/api/federated/login"),dt={withCredentials:!0};nt&&(dt.headers={Authorization:`Bearer ${nt}`});const{data:mt}=await api$3.post(ft,a,dt);return tt&&await mountFederatedIframe({mode:"login",refreshToken:tt,blocklet:_e}),mt}const translations$4={zh:{notFoundFederatedInfo:"未发现统一登录的信息",autoLoginFederatedFailed:"自动登录统一登录账号失败",manualLoginFederatedFailed:"手动登录统一登录账号失败"},en:{notFoundFederatedInfo:"No federated login info detected",autoLoginFederatedFailed:"Auto login federated account failed",manualLoginFederatedFailed:"Manual login federated account failed"}};function useFederated({locale:a,handleLoginResult:j,login:_e,handleRefreshUser:et}){const nt=useReactive({federatedMaster:null}),tt=getFederatedEnabled(),ot=getMaster(),ft=getConfig(),dt=useMemoizedFn(async(mt=noop$7,pt={},yt={})=>{var At,Ct;typeof yt=="string"&&(yt={origin:yt});let{mode:Tt="auto",...St}=pt;if(yt.mode&&(Tt=yt.mode),Tt==="auto"){if(!tt)throw new Error(translations$4[a].notFoundFederatedInfo);try{const Mt=await loginFederatedMaster({appId:globalThis.blocklet.appId},{fetchToken:!1});j({...Mt,encrypted:!1}),await et({showProgress:!0}),mt()}catch(Mt){const kt=Mt!=null&&Mt.response?(At=Mt.response)==null?void 0:At.data:Mt==null?void 0:Mt.message;mt(kt||translations$4[a].autoLoginFederatedFailed)}}else if(Tt==="manual")try{_e(async()=>{await loginFederatedMaster({appId:globalThis.blocklet.appId,onlyWriteCookie:!0}),mt()},{...St},yt)}catch(Mt){const kt=Mt!=null&&Mt.response?(Ct=Mt.response)==null?void 0:Ct.data:Mt==null?void 0:Mt.message;mt(kt||translations$4[a].autoLoginFederatedFailed)}});return{master:ot,config:ft,federatedMaster:nt.federatedMaster,federatedEnabled:tt,loginFederated:dt,loginFederatedMaster}}async function renewRefreshToken(a,{authServicePrefix:j,serviceHost:_e}){if(!a)throw new Error("Refresh token not found");const et=createAxios({baseURL:_e,timeout:10*1e3,headers:{authorization:`Bearer ${encodeURIComponent(a)}`}}),{data:nt}=await et.post(joinURL(j,"/refreshSession"));return nt}function createService({refreshTokenStorage:a,sessionTokenStorage:j,serviceHost:_e,authServicePrefix:et,onRefreshTokenError:nt,onRefreshTokenSuccess:tt},ot={}){let ft=null;const dt=createAxios({baseURL:_e,timeout:30*1e3,...ot}),{getToken:mt,setToken:pt,removeToken:yt}=j,{getToken:Tt,setToken:St,removeToken:At}=a;return dt.interceptors.request.use(async Ct=>{if(j.engine==="ls"){const Mt=mt();Mt&&(Ct.headers.authorization=`Bearer ${encodeURIComponent(Mt)}`)}return ft&&await ft,Ct},Ct=>Promise.reject(Ct)),dt.interceptors.response.use(Ct=>Ct,async Ct=>{var kt;const Mt=Ct.config;if(Mt.headers={...Mt==null?void 0:Mt.headers},((kt=Ct==null?void 0:Ct.response)==null?void 0:kt.status)===401&&!Mt._retry){Mt._retry=!0,ft||(ft=renewRefreshToken(Tt(),{serviceHost:_e,authServicePrefix:et}));try{const Pt=await ft;return pt(Pt.nextToken),St(Pt.nextRefreshToken),typeof tt=="function"&&tt(Pt),dt(Mt)}catch(Pt){return yt(),At(),typeof nt=="function"&&nt(),Promise.reject(Pt)}finally{ft=null}}return Promise.reject(Ct)}),dt}class ErrorToken extends Error{}const langCookieName="nf_lang",intervalTime=1e3,decrypt=a=>decrypt$1(a,localStorage.getItem("__encKey"),localStorage.getItem("__decKey"));function useSessionToken({state:a,pageState:j,serviceHost:_e,sessionTokenStorage:et,refreshTokenStorage:nt,lazyRefreshToken:tt,apiOptions:ot={}}){const[ft,dt]=reactExports.useState(intervalTime),{getToken:mt,setToken:pt,removeToken:yt}=et,{getToken:Tt,setToken:St,removeToken:At}=nt,Ct=useCreation(()=>createAxios({baseURL:_e,timeout:10*1e3}),[_e]),Mt=()=>{yt(),At()},kt=useCreation(()=>createService({sessionTokenStorage:et,refreshTokenStorage:nt,serviceHost:_e,authServicePrefix:j.prefix,onRefreshTokenError(){Mt(),a.user&&(a.user=null)}},ot),[_e,j.prefix]),Pt=()=>{const vn=getCookieOptions({returnDomain:!1});Cookie.remove("connected_did",vn),Cookie.remove("connected_pk",vn),Cookie.remove("connected_app",vn),Cookie.remove("connected_wallet_os",vn),Mt()},Lt=useMemoizedFn(()=>{const vn=Cookie.get(langCookieName)||getBrowserLang();vn!==j.currentLocale&&(j.currentLocale=vn)}),Ft=useMemoizedFn(async({showProgress:vn=!1,requestFn:Rt=null,onlyRefreshToken:rt=!1})=>{var ut;try{if(a.loading)return console.warn("SessionProvider.refresh is currently in progress, call it will be noop"),{loading:!0};vn&&(a.loading=!0);const{data:ct,status:ht}=await Rt();if(ht===400&&(Mt(),a.user=null,a.error=""),ct.error)throw a.error=ct.error,a.open=!1,new Error(ct.error);if(ct.user)ct.nextToken&&(pt(ct.nextToken),ct.nextRefreshToken&&St(ct.nextRefreshToken)),rt||(a.open=!1,a.user=ct.user,a.provider=ct.provider,a.walletOS=ct.walletOS),mt()||(Toast$1.error("Can't write session token, please use https url to access this page"),Mt());else throw vn&&(a.loading=j.autoConnect),a.open=j.autoConnect,a.user=null,a.provider="",a.walletOS="",new ErrorToken("Invalid token");return{data:ct,status:ht}}catch(ct){throw console.error("SessionProvider.refresh error",ct),a.open=!1,a.error=ct.message,((ut=ct==null?void 0:ct.response)==null?void 0:ut.status)===400?new ErrorToken("Invalid token"):ct}finally{vn&&(a.loading=!1)}}),Yt=useMemoizedFn(async(vn=!1,Rt=!1)=>{const rt=getVisitorId$2()||"",ut=()=>Ct.post(withQuery(joinURL(j.prefix,"/refreshSession"),{visitorId:rt}),null,{headers:{authorization:`Bearer ${encodeURIComponent(Tt())}`}});dt(void 0);try{await Ft({showProgress:vn,requestFn:ut,onlyRefreshToken:Rt})}catch(ct){ct instanceof ErrorToken?console.warn("refresh token failed, remove all tokens"):console.error("refresh token failed",ct),Mt()}finally{dt(intervalTime)}}),jt=useMemoizedFn((vn=!1)=>{if(tt)return;const Rt=mt();let rt=vn;const ut=new Date().getTime();if(Rt)try{const{exp:ct,iat:ht}=o(Rt);ct*1e3-ut<ut-ht*1e3&&(rt=!0)}catch{rt=!0}else rt=!0;rt&&(Tt()?Yt(!1,!0):(Pt(),a.user&&(a.user=null)))}),Wt=useMemoizedFn(async({showProgress:vn=!1,forceRefreshToken:Rt=!1}={})=>{const rt=getVisitorId$2()||"",ut=()=>kt.get(withQuery(joinURL(j.prefix,"/session"),{visitorId:rt}));try{if(Rt)throw new ErrorToken("need force refresh token");await Ft({showProgress:vn,requestFn:ut})}catch(ct){ct instanceof ErrorToken&&(console.warn("try to refresh token"),await Yt())}}),sn=useMemoizedFn(()=>{if(a.initialized&&a.user)try{jt()}catch{}}),ln=useMemoizedFn(vn=>{const Rt=Array.isArray(vn)?vn[0]:vn,{loginToken:rt,sessionToken:ut,refreshToken:ct,visitorId:ht,encrypted:vt=!0}=Rt,$t=rt||ut;$t&&(pt(vt?decrypt($t):$t),ct&&St(vt?decrypt(ct):ct)),ht&&setVisitorId(vt?decrypt(ht):ht)});return useInterval$1(()=>{Lt(),jt()},ft,{immediate:!0}),{renewToken:sn,handleRefreshUser:Wt,handleRefreshToken:Yt,handleLoginResult:ln,decrypt,removeToken:Mt,clearSession:Pt,getSessionToken:mt,getRefreshToken:Tt,setRefreshToken:St,setSessionToken:pt,service:kt}}var pathToRegexp$2={exports:{}},isarray$2=Array.isArray||function(a){return Object.prototype.toString.call(a)=="[object Array]"},isarray$1=isarray$2;pathToRegexp$2.exports=pathToRegexp;pathToRegexp$2.exports.parse=parse$e;pathToRegexp$2.exports.compile=compile;pathToRegexp$2.exports.tokensToFunction=tokensToFunction;pathToRegexp$2.exports.tokensToRegExp=tokensToRegExp;var PATH_REGEXP=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function parse$e(a,j){for(var _e=[],et=0,nt=0,tt="",ot=j&&j.delimiter||"/",ft;(ft=PATH_REGEXP.exec(a))!=null;){var dt=ft[0],mt=ft[1],pt=ft.index;if(tt+=a.slice(nt,pt),nt=pt+dt.length,mt){tt+=mt[1];continue}var yt=a[nt],Tt=ft[2],St=ft[3],At=ft[4],Ct=ft[5],Mt=ft[6],kt=ft[7];tt&&(_e.push(tt),tt="");var Pt=Tt!=null&&yt!=null&&yt!==Tt,Lt=Mt==="+"||Mt==="*",Ft=Mt==="?"||Mt==="*",Yt=ft[2]||ot,jt=At||Ct;_e.push({name:St||et++,prefix:Tt||"",delimiter:Yt,optional:Ft,repeat:Lt,partial:Pt,asterisk:!!kt,pattern:jt?escapeGroup(jt):kt?".*":"[^"+escapeString(Yt)+"]+?"})}return nt<a.length&&(tt+=a.substr(nt)),tt&&_e.push(tt),_e}function compile(a,j){return tokensToFunction(parse$e(a,j),j)}function encodeURIComponentPretty(a){return encodeURI(a).replace(/[\/?#]/g,function(j){return"%"+j.charCodeAt(0).toString(16).toUpperCase()})}function encodeAsterisk(a){return encodeURI(a).replace(/[?#]/g,function(j){return"%"+j.charCodeAt(0).toString(16).toUpperCase()})}function tokensToFunction(a,j){for(var _e=new Array(a.length),et=0;et<a.length;et++)typeof a[et]=="object"&&(_e[et]=new RegExp("^(?:"+a[et].pattern+")$",flags(j)));return function(nt,tt){for(var ot="",ft=nt||{},dt=tt||{},mt=dt.pretty?encodeURIComponentPretty:encodeURIComponent,pt=0;pt<a.length;pt++){var yt=a[pt];if(typeof yt=="string"){ot+=yt;continue}var Tt=ft[yt.name],St;if(Tt==null)if(yt.optional){yt.partial&&(ot+=yt.prefix);continue}else throw new TypeError('Expected "'+yt.name+'" to be defined');if(isarray$1(Tt)){if(!yt.repeat)throw new TypeError('Expected "'+yt.name+'" to not repeat, but received `'+JSON.stringify(Tt)+"`");if(Tt.length===0){if(yt.optional)continue;throw new TypeError('Expected "'+yt.name+'" to not be empty')}for(var At=0;At<Tt.length;At++){if(St=mt(Tt[At]),!_e[pt].test(St))throw new TypeError('Expected all "'+yt.name+'" to match "'+yt.pattern+'", but received `'+JSON.stringify(St)+"`");ot+=(At===0?yt.prefix:yt.delimiter)+St}continue}if(St=yt.asterisk?encodeAsterisk(Tt):mt(Tt),!_e[pt].test(St))throw new TypeError('Expected "'+yt.name+'" to match "'+yt.pattern+'", but received "'+St+'"');ot+=yt.prefix+St}return ot}}function escapeString(a){return a.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function escapeGroup(a){return a.replace(/([=!:$\/()])/g,"\\$1")}function attachKeys(a,j){return a.keys=j,a}function flags(a){return a&&a.sensitive?"":"i"}function regexpToRegexp(a,j){var _e=a.source.match(/\((?!\?)/g);if(_e)for(var et=0;et<_e.length;et++)j.push({name:et,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return attachKeys(a,j)}function arrayToRegexp(a,j,_e){for(var et=[],nt=0;nt<a.length;nt++)et.push(pathToRegexp(a[nt],j,_e).source);var tt=new RegExp("(?:"+et.join("|")+")",flags(_e));return attachKeys(tt,j)}function stringToRegexp(a,j,_e){return tokensToRegExp(parse$e(a,_e),j,_e)}function tokensToRegExp(a,j,_e){isarray$1(j)||(_e=j||_e,j=[]),_e=_e||{};for(var et=_e.strict,nt=_e.end!==!1,tt="",ot=0;ot<a.length;ot++){var ft=a[ot];if(typeof ft=="string")tt+=escapeString(ft);else{var dt=escapeString(ft.prefix),mt="(?:"+ft.pattern+")";j.push(ft),ft.repeat&&(mt+="(?:"+dt+mt+")*"),ft.optional?ft.partial?mt=dt+"("+mt+")?":mt="(?:"+dt+"("+mt+"))?":mt=dt+"("+mt+")",tt+=mt}}var pt=escapeString(_e.delimiter||"/"),yt=tt.slice(-pt.length)===pt;return et||(tt=(yt?tt.slice(0,-pt.length):tt)+"(?:"+pt+"(?=$))?"),nt?tt+="$":tt+=et&&yt?"":"(?="+pt+"|$)",attachKeys(new RegExp("^"+tt,flags(_e)),j)}function pathToRegexp(a,j,_e){return isarray$1(j)||(_e=j||_e,j=[]),_e=_e||{},a instanceof RegExp?regexpToRegexp(a,j):isarray$1(a)?arrayToRegexp(a,j,_e):stringToRegexp(a,j,_e)}var pathToRegexpExports=pathToRegexp$2.exports;const pathToRegexp$1=getDefaultExportFromCjs$1(pathToRegexpExports);function useProtectedRoutes({protectedRoutes:a=[]}){const j=useCreation(()=>a.map(et=>pathToRegexp$1(et,[])),[a]);return{checkMatch:useMemoizedFn((et=window.location.pathname)=>j.some(nt=>nt.exec(et)))}}const SessionContext$1=reactExports.createContext();var dist$1={},eventemitter3={exports:{}};(function(a){var j=Object.prototype.hasOwnProperty,_e="~";function et(){}Object.create&&(et.prototype=Object.create(null),new et().__proto__||(_e=!1));function nt(dt,mt,pt){this.fn=dt,this.context=mt,this.once=pt||!1}function tt(dt,mt,pt,yt,Tt){if(typeof pt!="function")throw new TypeError("The listener must be a function");var St=new nt(pt,yt||dt,Tt),At=_e?_e+mt:mt;return dt._events[At]?dt._events[At].fn?dt._events[At]=[dt._events[At],St]:dt._events[At].push(St):(dt._events[At]=St,dt._eventsCount++),dt}function ot(dt,mt){--dt._eventsCount===0?dt._events=new et:delete dt._events[mt]}function ft(){this._events=new et,this._eventsCount=0}ft.prototype.eventNames=function(){var mt=[],pt,yt;if(this._eventsCount===0)return mt;for(yt in pt=this._events)j.call(pt,yt)&&mt.push(_e?yt.slice(1):yt);return Object.getOwnPropertySymbols?mt.concat(Object.getOwnPropertySymbols(pt)):mt},ft.prototype.listeners=function(mt){var pt=_e?_e+mt:mt,yt=this._events[pt];if(!yt)return[];if(yt.fn)return[yt.fn];for(var Tt=0,St=yt.length,At=new Array(St);Tt<St;Tt++)At[Tt]=yt[Tt].fn;return At},ft.prototype.listenerCount=function(mt){var pt=_e?_e+mt:mt,yt=this._events[pt];return yt?yt.fn?1:yt.length:0},ft.prototype.emit=function(mt,pt,yt,Tt,St,At){var Ct=_e?_e+mt:mt;if(!this._events[Ct])return!1;var Mt=this._events[Ct],kt=arguments.length,Pt,Lt;if(Mt.fn){switch(Mt.once&&this.removeListener(mt,Mt.fn,void 0,!0),kt){case 1:return Mt.fn.call(Mt.context),!0;case 2:return Mt.fn.call(Mt.context,pt),!0;case 3:return Mt.fn.call(Mt.context,pt,yt),!0;case 4:return Mt.fn.call(Mt.context,pt,yt,Tt),!0;case 5:return Mt.fn.call(Mt.context,pt,yt,Tt,St),!0;case 6:return Mt.fn.call(Mt.context,pt,yt,Tt,St,At),!0}for(Lt=1,Pt=new Array(kt-1);Lt<kt;Lt++)Pt[Lt-1]=arguments[Lt];Mt.fn.apply(Mt.context,Pt)}else{var Ft=Mt.length,Yt;for(Lt=0;Lt<Ft;Lt++)switch(Mt[Lt].once&&this.removeListener(mt,Mt[Lt].fn,void 0,!0),kt){case 1:Mt[Lt].fn.call(Mt[Lt].context);break;case 2:Mt[Lt].fn.call(Mt[Lt].context,pt);break;case 3:Mt[Lt].fn.call(Mt[Lt].context,pt,yt);break;case 4:Mt[Lt].fn.call(Mt[Lt].context,pt,yt,Tt);break;default:if(!Pt)for(Yt=1,Pt=new Array(kt-1);Yt<kt;Yt++)Pt[Yt-1]=arguments[Yt];Mt[Lt].fn.apply(Mt[Lt].context,Pt)}}return!0},ft.prototype.on=function(mt,pt,yt){return tt(this,mt,pt,yt,!1)},ft.prototype.once=function(mt,pt,yt){return tt(this,mt,pt,yt,!0)},ft.prototype.removeListener=function(mt,pt,yt,Tt){var St=_e?_e+mt:mt;if(!this._events[St])return this;if(!pt)return ot(this,St),this;var At=this._events[St];if(At.fn)At.fn===pt&&(!Tt||At.once)&&(!yt||At.context===yt)&&ot(this,St);else{for(var Ct=0,Mt=[],kt=At.length;Ct<kt;Ct++)(At[Ct].fn!==pt||Tt&&!At[Ct].once||yt&&At[Ct].context!==yt)&&Mt.push(At[Ct]);Mt.length?this._events[St]=Mt.length===1?Mt[0]:Mt:ot(this,St)}return this},ft.prototype.removeAllListeners=function(mt){var pt;return mt?(pt=_e?_e+mt:mt,this._events[pt]&&ot(this,pt)):(this._events=new et,this._eventsCount=0),this},ft.prototype.off=ft.prototype.removeListener,ft.prototype.addListener=ft.prototype.on,ft.prefixed=_e,ft.EventEmitter=ft,a.exports=ft})(eventemitter3);var eventemitter3Exports=eventemitter3.exports,priorityQueue={},lowerBound$1={};Object.defineProperty(lowerBound$1,"__esModule",{value:!0});function lowerBound(a,j,_e){let et=0,nt=a.length;for(;nt>0;){const tt=nt/2|0;let ot=et+tt;_e(a[ot],j)<=0?(et=++ot,nt-=tt+1):nt=tt}return et}lowerBound$1.default=lowerBound;Object.defineProperty(priorityQueue,"__esModule",{value:!0});const lower_bound_1=lowerBound$1;class PriorityQueue{constructor(){this._queue=[]}enqueue(j,_e){_e=Object.assign({priority:0},_e);const et={priority:_e.priority,run:j};if(this.size&&this._queue[this.size-1].priority>=_e.priority){this._queue.push(et);return}const nt=lower_bound_1.default(this._queue,et,(tt,ot)=>ot.priority-tt.priority);this._queue.splice(nt,0,et)}dequeue(){const j=this._queue.shift();return j==null?void 0:j.run}filter(j){return this._queue.filter(_e=>_e.priority===j.priority).map(_e=>_e.run)}get size(){return this._queue.length}}priorityQueue.default=PriorityQueue;Object.defineProperty(dist$1,"__esModule",{value:!0});const EventEmitter$4=eventemitter3Exports,p_timeout_1=pTimeoutExports,priority_queue_1=priorityQueue,empty=()=>{},timeoutError=new p_timeout_1.TimeoutError;class PQueue extends EventEmitter$4{constructor(j){var _e,et,nt,tt;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=empty,this._resolveIdle=empty,j=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:priority_queue_1.default},j),!(typeof j.intervalCap=="number"&&j.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(et=(_e=j.intervalCap)===null||_e===void 0?void 0:_e.toString())!==null&&et!==void 0?et:""}\` (${typeof j.intervalCap})`);if(j.interval===void 0||!(Number.isFinite(j.interval)&&j.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(tt=(nt=j.interval)===null||nt===void 0?void 0:nt.toString())!==null&&tt!==void 0?tt:""}\` (${typeof j.interval})`);this._carryoverConcurrencyCount=j.carryoverConcurrencyCount,this._isIntervalIgnored=j.intervalCap===1/0||j.interval===0,this._intervalCap=j.intervalCap,this._interval=j.interval,this._queue=new j.queueClass,this._queueClass=j.queueClass,this.concurrency=j.concurrency,this._timeout=j.timeout,this._throwOnTimeout=j.throwOnTimeout===!0,this._isPaused=j.autoStart===!1}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}get _doesConcurrentAllowAnother(){return this._pendingCount<this._concurrency}_next(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}_resolvePromises(){this._resolveEmpty(),this._resolveEmpty=empty,this._pendingCount===0&&(this._resolveIdle(),this._resolveIdle=empty,this.emit("idle"))}_onResumeInterval(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}_isIntervalPaused(){const j=Date.now();if(this._intervalId===void 0){const _e=this._intervalEnd-j;if(_e<0)this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0;else return this._timeoutId===void 0&&(this._timeoutId=setTimeout(()=>{this._onResumeInterval()},_e)),!0}return!1}_tryToStartAnother(){if(this._queue.size===0)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const j=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const _e=this._queue.dequeue();return _e?(this.emit("active"),_e(),j&&this._initializeIntervalIfNeeded(),!0):!1}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||this._intervalId!==void 0||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){this._intervalCount===0&&this._pendingCount===0&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(j){if(!(typeof j=="number"&&j>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${j}\` (${typeof j})`);this._concurrency=j,this._processQueue()}async add(j,_e={}){return new Promise((et,nt)=>{const tt=async()=>{this._pendingCount++,this._intervalCount++;try{const ot=this._timeout===void 0&&_e.timeout===void 0?j():p_timeout_1.default(Promise.resolve(j()),_e.timeout===void 0?this._timeout:_e.timeout,()=>{(_e.throwOnTimeout===void 0?this._throwOnTimeout:_e.throwOnTimeout)&&nt(timeoutError)});et(await ot)}catch(ot){nt(ot)}this._next()};this._queue.enqueue(tt,_e),this._tryToStartAnother(),this.emit("add")})}async addAll(j,_e){return Promise.all(j.map(async et=>this.add(et,_e)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(this._queue.size!==0)return new Promise(j=>{const _e=this._resolveEmpty;this._resolveEmpty=()=>{_e(),j()}})}async onIdle(){if(!(this._pendingCount===0&&this._queue.size===0))return new Promise(j=>{const _e=this._resolveIdle;this._resolveIdle=()=>{_e(),j()}})}get size(){return this._queue.size}sizeBy(j){return this._queue.filter(j).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(j){this._timeout=j}}var _default$2=dist$1.default=PQueue;const data$s={width:24,height:24,body:'<path fill="currentColor" d="M10 22L0 12L10 2l1.775 1.775L3.55 12l8.225 8.225L10 22Z"/>'},data$r={width:24,height:24,body:'<path fill="currentColor" d="m12 13.4l-4.9 4.9q-.275.275-.7.275t-.7-.275q-.275-.275-.275-.7t.275-.7l4.9-4.9l-4.9-4.9q-.275-.275-.275-.7t.275-.7q.275-.275.7-.275t.7.275l4.9 4.9l4.9-4.9q.275-.275.7-.275t.7.275q.275.275.275.7t-.275.7L13.4 12l4.9 4.9q.275.275.275.7t-.275.7q-.275.275-.7.275t-.7-.275L12 13.4Z"/>'};function isNull$2(a){return a===null}var isNull_1=isNull$2;const isNull$3=getDefaultExportFromCjs$1(isNull_1),Transition=reactExports.forwardRef(function a(j,_e){return jsxRuntimeExports.jsx(Slide,{direction:"up",ref:_e,...j})});function withDialog(a){function j({popup:_e,open:et,dialogStyle:nt,responsive:tt,...ot}){const ft=useMediaQuery("(max-width:640px)");if(!_e&&!tt)return jsxRuntimeExports.jsx(a,{...ot});const dt=(pt,yt)=>{},mt=tt?!0:et;return jsxRuntimeExports.jsx(Dialog$1,{open:mt,fullScreen:ft,maxWidth:"lg",onClose:dt,...ft?{TransitionComponent:Transition,PaperProps:{sx:{borderRadius:3,borderBottomLeftRadius:0,borderBottomRightRadius:0}}}:{PaperProps:{sx:{borderRadius:3}}},children:jsxRuntimeExports.jsx(DialogContent,{sx:{maxWidth:"100%",maxHeight:"100%",p:"0px !important"},children:jsxRuntimeExports.jsx(Box,{sx:{maxWidth:"100%",width:ft?"100%":500,height:ft?"100%":"auto"},children:jsxRuntimeExports.jsx(a,{...ot,hideCloseButton:(ot==null?void 0:ot.hideCloseButton)??!1,isFullScreen:ft,mode:"dialog"})})})})}return j.propTypes={responsive:PropTypes.bool,popup:PropTypes.bool,open:PropTypes.bool,dialogStyle:PropTypes.object},j.defaultProps={responsive:!1,popup:!1,open:!1,dialogStyle:{}},j}var useIdle$1={},cjs={};Object.defineProperty(cjs,"__esModule",{value:!0});function throttle(a,j,_e,et){var nt,tt=!1,ot=0;function ft(){nt&&clearTimeout(nt)}function dt(){ft(),tt=!0}typeof j!="boolean"&&(et=_e,_e=j,j=void 0);function mt(){for(var pt=arguments.length,yt=new Array(pt),Tt=0;Tt<pt;Tt++)yt[Tt]=arguments[Tt];var St=this,At=Date.now()-ot;if(tt)return;function Ct(){ot=Date.now(),_e.apply(St,yt)}function Mt(){nt=void 0}et&&!nt&&Ct(),ft(),et===void 0&&At>a?Ct():j!==!0&&(nt=setTimeout(et?Mt:Ct,et===void 0?a-At:a))}return mt.cancel=dt,mt}function debounce(a,j,_e){return _e===void 0?throttle(a,j,!1):throttle(a,_e,j!==!1)}cjs.debounce=debounce;cjs.throttle=throttle;var util$4={};Object.defineProperty(util$4,"__esModule",{value:!0});util$4.isNavigator=util$4.isBrowser=util$4.off=util$4.on=util$4.noop=void 0;var noop$1=function(){};util$4.noop=noop$1;function on(a){for(var j=[],_e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];a&&a.addEventListener&&a.addEventListener.apply(a,j)}util$4.on=on;function off(a){for(var j=[],_e=1;_e<arguments.length;_e++)j[_e-1]=arguments[_e];a&&a.removeEventListener&&a.removeEventListener.apply(a,j)}util$4.off=off;util$4.isBrowser=typeof window<"u";util$4.isNavigator=typeof navigator<"u";Object.defineProperty(useIdle$1,"__esModule",{value:!0});var react_1=reactExports,throttle_debounce_1=cjs,util_1$a=util$4,defaultEvents=["mousemove","mousedown","resize","keydown","touchstart","wheel"],oneMinute=6e4,useIdle=function(a,j,_e){a===void 0&&(a=oneMinute),j===void 0&&(j=!1),_e===void 0&&(_e=defaultEvents);var et=react_1.useState(j),nt=et[0],tt=et[1];return react_1.useEffect(function(){for(var ot=!0,ft,dt=nt,mt=function(St){ot&&(dt=St,tt(St))},pt=throttle_debounce_1.throttle(50,function(){dt&&mt(!1),clearTimeout(ft),ft=setTimeout(function(){return mt(!0)},a)}),yt=function(){document.hidden||pt()},Tt=0;Tt<_e.length;Tt++)util_1$a.on(window,_e[Tt],pt);return util_1$a.on(document,"visibilitychange",yt),ft=setTimeout(function(){return mt(!0)},a),function(){ot=!1;for(var St=0;St<_e.length;St++)util_1$a.off(window,_e[St],pt);util_1$a.off(document,"visibilitychange",yt)}},[a,_e]),nt},_default$1=useIdle$1.default=useIdle;const DEFAULT_MAX_IDLE_TIME=1e3*60*30,STORAGE_KEY_DISABLED="wallet_sw_keeper_disabled";let id$1;const injectIframe=a=>{const j=document.createElement("iframe");j.title="abt wallet",j.id=id$1,j.style.width=0,j.style.height=0,j.style.border=0,j.style.display="block",j.style.position="absolute",j.style.top=0,j.src=`${a}?action=iframe`,document.body.appendChild(j)},removeIframe=()=>{const a=document.getElementById(id$1);a&&document.body.removeChild(a)},cleanup=()=>{removeIframe(),id$1=null},enable=a=>{id$1||(id$1=`web_wallet_sw_keeper_${Date.now()}`,injectIframe(a))};function WebWalletSWKeeper({webWalletUrl:a,maxIdleTime:j}){const _e=reactExports.useRef(!!id$1),et=_default$1(j),nt=()=>{_e.current||cleanup()};return reactExports.useEffect(()=>{et?nt():enable(a)},[et]),reactExports.useEffect(()=>()=>nt(),[]),null}WebWalletSWKeeper.propTypes={webWalletUrl:PropTypes.string.isRequired,maxIdleTime:PropTypes.number};WebWalletSWKeeper.defaultProps={maxIdleTime:DEFAULT_MAX_IDLE_TIME};const withWebWalletSWKeeper=a=>function({webWalletUrl:_e,maxIdleTime:et,...nt}){const tt=useBrowser();_e=_e||getWebWalletUrl$1();const[ot]=useLocalStorageState(STORAGE_KEY_DISABLED,{defaultValue:1}),ft=detectWalletExtension(),dt=checkSameProtocol(_e),mt=tt.wallet;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[!ot&&!ft&&dt&&!mt&&jsxRuntimeExports.jsx(WebWalletSWKeeper,{webWalletUrl:_e,maxIdleTime:et}),jsxRuntimeExports.jsx(a,{webWalletUrl:_e,...nt})]})},BlockletContext$1=reactExports.createContext(),{Provider:Provider$6,Consumer:Consumer$6}=BlockletContext$1;function BlockletProvider$1({children:a,baseUrl:j,loading:_e}){const[et,nt]=reactExports.useState(null),tt=useMemoizedFn(async()=>{if(!j||window.location.href.startsWith(j))throw new Error("no blocklet data");const ot=new URL("__blocklet__.js",j);return ot.searchParams.set("type","json"),await(await fetch(ot.href)).json()});return useAsyncEffect(async()=>{try{const ot=await tt();nt(ot)}catch{const ot=globalThis.blocklet||globalThis.env;nt(ot)}},[j]),jsxRuntimeExports.jsx(Provider$6,{value:et,children:et?a:_e||null})}function useBlockletContext$2(){return{blocklet:reactExports.useContext(BlockletContext$1)}}BlockletProvider$1.propTypes={baseUrl:PropTypes.string,children:PropTypes.any.isRequired,loading:PropTypes.any};BlockletProvider$1.defaultProps={baseUrl:"",loading:null};function Loading(){return jsxRuntimeExports.jsx(Box,{sx:{height:"100%",minWidth:"200px",minHeight:"200px",display:"flex",justifyContent:"center",alignItems:"center"},children:jsxRuntimeExports.jsx(CircularProgress,{sx:{color:colors$1.foregroundsFgInteractive}})})}function withBlocklet(a){function j({...et}){const{blocklet:nt}=useBlockletContext$2();return jsxRuntimeExports.jsx(a,{...et,blocklet:nt})}function _e({baseUrl:et,...nt}){return jsxRuntimeExports.jsx(BlockletProvider$1,{baseUrl:et,loading:jsxRuntimeExports.jsx(Loading,{}),children:jsxRuntimeExports.jsx(j,{baseUrl:et,...nt})})}return _e}const keyPair=tweetnacl.box.keyPair();function useSecurity(){const[a,j]=useLocalStorageState("__encKey",{defaultValue:encodeKey(keyPair.publicKey),deserializer:ot=>ot,serializer:ot=>ot}),[_e,et]=useLocalStorageState("__decKey",{defaultValue:encodeKey(keyPair.secretKey),deserializer:ot=>ot,serializer:ot=>ot});return reactExports.useEffect(()=>{localStorage.getItem("__encKey")||j(encodeKey(keyPair.publicKey)),localStorage.getItem("__decKey")||et(encodeKey(keyPair.secretKey))},[]),{encryptKey:a,decryptKey:_e,decrypt:(ot,ft=a,dt=_e)=>decrypt$1(ot,ft,dt),encrypt:(ot,ft=a)=>encrypt(ot,ft)}}var lodash={exports:{}};/**
466
466
  * @license
467
467
  * Lodash <https://lodash.com/>
468
468
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
@@ -493,7 +493,7 @@ function print() { __p += __j.call(arguments, '') }
493
493
  `}return Mn.substring(0,Mn.length-1)},Et.renderTo2dContext=function(zt,Ot){Ot=Ot||2;for(var Gt=Et.getModuleCount(),cn=0;cn<Gt;cn++)for(var tn=0;tn<Gt;tn++)zt.fillStyle=Et.isDark(cn,tn)?"black":"white",zt.fillRect(cn*Ot,tn*Ot,Ot,Ot)},Et};pt.stringToBytes=(pt.stringToBytesFuncs={default:function(ut){for(var ct=[],ht=0;ht<ut.length;ht+=1){var vt=ut.charCodeAt(ht);ct.push(255&vt)}return ct}}).default,pt.createStringToBytes=function(ut,ct){var ht=function(){for(var $t=Rt(ut),xt=function(){var Vt=$t.read();if(Vt==-1)throw"eof";return Vt},bt=0,it={};;){var Et=$t.read();if(Et==-1)break;var Dt=xt(),Nt=xt()<<8|xt();it[String.fromCharCode(Et<<8|Dt)]=Nt,bt+=1}if(bt!=ct)throw bt+" != "+ct;return it}(),vt=63;return function($t){for(var xt=[],bt=0;bt<$t.length;bt+=1){var it=$t.charCodeAt(bt);if(it<128)xt.push(it);else{var Et=ht[$t.charAt(bt)];typeof Et=="number"?(255&Et)==Et?xt.push(Et):(xt.push(Et>>>8),xt.push(255&Et)):xt.push(vt)}}return xt}};var yt,Tt,St,At,Ct,Mt={L:1,M:0,Q:3,H:2},kt=(yt=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],Tt=1335,St=7973,Ct=function(ut){for(var ct=0;ut!=0;)ct+=1,ut>>>=1;return ct},(At={}).getBCHTypeInfo=function(ut){for(var ct=ut<<10;Ct(ct)-Ct(Tt)>=0;)ct^=Tt<<Ct(ct)-Ct(Tt);return 21522^(ut<<10|ct)},At.getBCHTypeNumber=function(ut){for(var ct=ut<<12;Ct(ct)-Ct(St)>=0;)ct^=St<<Ct(ct)-Ct(St);return ut<<12|ct},At.getPatternPosition=function(ut){return yt[ut-1]},At.getMaskFunction=function(ut){switch(ut){case 0:return function(ct,ht){return(ct+ht)%2==0};case 1:return function(ct,ht){return ct%2==0};case 2:return function(ct,ht){return ht%3==0};case 3:return function(ct,ht){return(ct+ht)%3==0};case 4:return function(ct,ht){return(Math.floor(ct/2)+Math.floor(ht/3))%2==0};case 5:return function(ct,ht){return ct*ht%2+ct*ht%3==0};case 6:return function(ct,ht){return(ct*ht%2+ct*ht%3)%2==0};case 7:return function(ct,ht){return(ct*ht%3+(ct+ht)%2)%2==0};default:throw"bad maskPattern:"+ut}},At.getErrorCorrectPolynomial=function(ut){for(var ct=Lt([1],0),ht=0;ht<ut;ht+=1)ct=ct.multiply(Lt([1,Pt.gexp(ht)],0));return ct},At.getLengthInBits=function(ut,ct){if(1<=ct&&ct<10)switch(ut){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+ut}else if(ct<27)switch(ut){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+ut}else{if(!(ct<41))throw"type:"+ct;switch(ut){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+ut}}},At.getLostPoint=function(ut){for(var ct=ut.getModuleCount(),ht=0,vt=0;vt<ct;vt+=1)for(var $t=0;$t<ct;$t+=1){for(var xt=0,bt=ut.isDark(vt,$t),it=-1;it<=1;it+=1)if(!(vt+it<0||ct<=vt+it))for(var Et=-1;Et<=1;Et+=1)$t+Et<0||ct<=$t+Et||it==0&&Et==0||bt==ut.isDark(vt+it,$t+Et)&&(xt+=1);xt>5&&(ht+=3+xt-5)}for(vt=0;vt<ct-1;vt+=1)for($t=0;$t<ct-1;$t+=1){var Dt=0;ut.isDark(vt,$t)&&(Dt+=1),ut.isDark(vt+1,$t)&&(Dt+=1),ut.isDark(vt,$t+1)&&(Dt+=1),ut.isDark(vt+1,$t+1)&&(Dt+=1),Dt!=0&&Dt!=4||(ht+=3)}for(vt=0;vt<ct;vt+=1)for($t=0;$t<ct-6;$t+=1)ut.isDark(vt,$t)&&!ut.isDark(vt,$t+1)&&ut.isDark(vt,$t+2)&&ut.isDark(vt,$t+3)&&ut.isDark(vt,$t+4)&&!ut.isDark(vt,$t+5)&&ut.isDark(vt,$t+6)&&(ht+=40);for($t=0;$t<ct;$t+=1)for(vt=0;vt<ct-6;vt+=1)ut.isDark(vt,$t)&&!ut.isDark(vt+1,$t)&&ut.isDark(vt+2,$t)&&ut.isDark(vt+3,$t)&&ut.isDark(vt+4,$t)&&!ut.isDark(vt+5,$t)&&ut.isDark(vt+6,$t)&&(ht+=40);var Nt=0;for($t=0;$t<ct;$t+=1)for(vt=0;vt<ct;vt+=1)ut.isDark(vt,$t)&&(Nt+=1);return ht+Math.abs(100*Nt/ct/ct-50)/5*10},At),Pt=function(){for(var ut=new Array(256),ct=new Array(256),ht=0;ht<8;ht+=1)ut[ht]=1<<ht;for(ht=8;ht<256;ht+=1)ut[ht]=ut[ht-4]^ut[ht-5]^ut[ht-6]^ut[ht-8];for(ht=0;ht<255;ht+=1)ct[ut[ht]]=ht;return{glog:function(vt){if(vt<1)throw"glog("+vt+")";return ct[vt]},gexp:function(vt){for(;vt<0;)vt+=255;for(;vt>=256;)vt-=255;return ut[vt]}}}();function Lt(ut,ct){if(ut.length===void 0)throw ut.length+"/"+ct;var ht=function(){for(var $t=0;$t<ut.length&&ut[$t]==0;)$t+=1;for(var xt=new Array(ut.length-$t+ct),bt=0;bt<ut.length-$t;bt+=1)xt[bt]=ut[bt+$t];return xt}(),vt={getAt:function($t){return ht[$t]},getLength:function(){return ht.length},multiply:function($t){for(var xt=new Array(vt.getLength()+$t.getLength()-1),bt=0;bt<vt.getLength();bt+=1)for(var it=0;it<$t.getLength();it+=1)xt[bt+it]^=Pt.gexp(Pt.glog(vt.getAt(bt))+Pt.glog($t.getAt(it)));return Lt(xt,0)},mod:function($t){if(vt.getLength()-$t.getLength()<0)return vt;for(var xt=Pt.glog(vt.getAt(0))-Pt.glog($t.getAt(0)),bt=new Array(vt.getLength()),it=0;it<vt.getLength();it+=1)bt[it]=vt.getAt(it);for(it=0;it<$t.getLength();it+=1)bt[it]^=Pt.gexp(Pt.glog($t.getAt(it))+xt);return Lt(bt,0).mod($t)}};return vt}var Ft=function(){var ut=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],ct=function(vt,$t){var xt={};return xt.totalCount=vt,xt.dataCount=$t,xt},ht={getRSBlocks:function(vt,$t){var xt=function(Kt,qt){switch(qt){case Mt.L:return ut[4*(Kt-1)+0];case Mt.M:return ut[4*(Kt-1)+1];case Mt.Q:return ut[4*(Kt-1)+2];case Mt.H:return ut[4*(Kt-1)+3];default:return}}(vt,$t);if(xt===void 0)throw"bad rs block @ typeNumber:"+vt+"/errorCorrectionLevel:"+$t;for(var bt=xt.length/3,it=[],Et=0;Et<bt;Et+=1)for(var Dt=xt[3*Et+0],Nt=xt[3*Et+1],Vt=xt[3*Et+2],Bt=0;Bt<Dt;Bt+=1)it.push(ct(Nt,Vt));return it}};return ht}(),Yt=function(){var ut=[],ct=0,ht={getBuffer:function(){return ut},getAt:function(vt){var $t=Math.floor(vt/8);return(ut[$t]>>>7-vt%8&1)==1},put:function(vt,$t){for(var xt=0;xt<$t;xt+=1)ht.putBit((vt>>>$t-xt-1&1)==1)},getLengthInBits:function(){return ct},putBit:function(vt){var $t=Math.floor(ct/8);ut.length<=$t&&ut.push(0),vt&&(ut[$t]|=128>>>ct%8),ct+=1}};return ht},jt=function(ut){var ct=ut,ht={getMode:function(){return 1},getLength:function(xt){return ct.length},write:function(xt){for(var bt=ct,it=0;it+2<bt.length;)xt.put(vt(bt.substring(it,it+3)),10),it+=3;it<bt.length&&(bt.length-it==1?xt.put(vt(bt.substring(it,it+1)),4):bt.length-it==2&&xt.put(vt(bt.substring(it,it+2)),7))}},vt=function(xt){for(var bt=0,it=0;it<xt.length;it+=1)bt=10*bt+$t(xt.charAt(it));return bt},$t=function(xt){if("0"<=xt&&xt<="9")return xt.charCodeAt(0)-48;throw"illegal char :"+xt};return ht},Wt=function(ut){var ct=ut,ht={getMode:function(){return 2},getLength:function($t){return ct.length},write:function($t){for(var xt=ct,bt=0;bt+1<xt.length;)$t.put(45*vt(xt.charAt(bt))+vt(xt.charAt(bt+1)),11),bt+=2;bt<xt.length&&$t.put(vt(xt.charAt(bt)),6)}},vt=function($t){if("0"<=$t&&$t<="9")return $t.charCodeAt(0)-48;if("A"<=$t&&$t<="Z")return $t.charCodeAt(0)-65+10;switch($t){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+$t}};return ht},sn=function(ut){var ct=pt.stringToBytes(ut);return{getMode:function(){return 4},getLength:function(ht){return ct.length},write:function(ht){for(var vt=0;vt<ct.length;vt+=1)ht.put(ct[vt],8)}}},ln=function(ut){var ct=pt.stringToBytesFuncs.SJIS;if(!ct)throw"sjis not supported.";(function($t,xt){var bt=ct("友");if(bt.length!=2||(bt[0]<<8|bt[1])!=38726)throw"sjis not supported."})();var ht=ct(ut),vt={getMode:function(){return 8},getLength:function($t){return~~(ht.length/2)},write:function($t){for(var xt=ht,bt=0;bt+1<xt.length;){var it=(255&xt[bt])<<8|255&xt[bt+1];if(33088<=it&&it<=40956)it-=33088;else{if(!(57408<=it&&it<=60351))throw"illegal char at "+(bt+1)+"/"+it;it-=49472}it=192*(it>>>8&255)+(255&it),$t.put(it,13),bt+=2}if(bt<xt.length)throw"illegal char at "+(bt+1)}};return vt},vn=function(){var ut=[],ct={writeByte:function(ht){ut.push(255&ht)},writeShort:function(ht){ct.writeByte(ht),ct.writeByte(ht>>>8)},writeBytes:function(ht,vt,$t){vt=vt||0,$t=$t||ht.length;for(var xt=0;xt<$t;xt+=1)ct.writeByte(ht[xt+vt])},writeString:function(ht){for(var vt=0;vt<ht.length;vt+=1)ct.writeByte(ht.charCodeAt(vt))},toByteArray:function(){return ut},toString:function(){var ht="";ht+="[";for(var vt=0;vt<ut.length;vt+=1)vt>0&&(ht+=","),ht+=ut[vt];return ht+"]"}};return ct},Rt=function(ut){var ct=ut,ht=0,vt=0,$t=0,xt={read:function(){for(;$t<8;){if(ht>=ct.length){if($t==0)return-1;throw"unexpected end of file./"+$t}var it=ct.charAt(ht);if(ht+=1,it=="=")return $t=0,-1;it.match(/^\s$/)||(vt=vt<<6|bt(it.charCodeAt(0)),$t+=6)}var Et=vt>>>$t-8&255;return $t-=8,Et}},bt=function(it){if(65<=it&&it<=90)return it-65;if(97<=it&&it<=122)return it-97+26;if(48<=it&&it<=57)return it-48+52;if(it==43)return 62;if(it==47)return 63;throw"c:"+it};return xt},rt=function(ut,ct,ht){for(var vt=function(Nt,Vt){var Bt=Nt,Kt=Vt,qt=new Array(Nt*Vt),nn={setPixel:function(zt,Ot,Gt){qt[Ot*Bt+zt]=Gt},write:function(zt){zt.writeString("GIF87a"),zt.writeShort(Bt),zt.writeShort(Kt),zt.writeByte(128),zt.writeByte(0),zt.writeByte(0),zt.writeByte(0),zt.writeByte(0),zt.writeByte(0),zt.writeByte(255),zt.writeByte(255),zt.writeByte(255),zt.writeString(","),zt.writeShort(0),zt.writeShort(0),zt.writeShort(Bt),zt.writeShort(Kt),zt.writeByte(0);var Ot=un(2);zt.writeByte(2);for(var Gt=0;Ot.length-Gt>255;)zt.writeByte(255),zt.writeBytes(Ot,Gt,255),Gt+=255;zt.writeByte(Ot.length-Gt),zt.writeBytes(Ot,Gt,Ot.length-Gt),zt.writeByte(0),zt.writeString(";")}},un=function(zt){for(var Ot=1<<zt,Gt=1+(1<<zt),cn=zt+1,tn=hn(),yn=0;yn<Ot;yn+=1)tn.add(String.fromCharCode(yn));tn.add(String.fromCharCode(Ot)),tn.add(String.fromCharCode(Gt));var xn,dn,gn,Un=vn(),En=(xn=Un,dn=0,gn=0,{write:function(Ln,wn){if(Ln>>>wn)throw"length over";for(;dn+wn>=8;)xn.writeByte(255&(Ln<<dn|gn)),wn-=8-dn,Ln>>>=8-dn,gn=0,dn=0;gn|=Ln<<dn,dn+=wn},flush:function(){dn>0&&xn.writeByte(gn)}});En.write(Ot,cn);var Mn=0,cr=String.fromCharCode(qt[Mn]);for(Mn+=1;Mn<qt.length;){var On=String.fromCharCode(qt[Mn]);Mn+=1,tn.contains(cr+On)?cr+=On:(En.write(tn.indexOf(cr),cn),tn.size()<4095&&(tn.size()==1<<cn&&(cn+=1),tn.add(cr+On)),cr=On)}return En.write(tn.indexOf(cr),cn),En.write(Gt,cn),En.flush(),Un.toByteArray()},hn=function(){var zt={},Ot=0,Gt={add:function(cn){if(Gt.contains(cn))throw"dup key:"+cn;zt[cn]=Ot,Ot+=1},size:function(){return Ot},indexOf:function(cn){return zt[cn]},contains:function(cn){return zt[cn]!==void 0}};return Gt};return nn}(ut,ct),$t=0;$t<ct;$t+=1)for(var xt=0;xt<ut;xt+=1)vt.setPixel(xt,$t,ht(xt,$t));var bt=vn();vt.write(bt);for(var it=function(){var Nt=0,Vt=0,Bt=0,Kt="",qt={},nn=function(hn){Kt+=String.fromCharCode(un(63&hn))},un=function(hn){if(!(hn<0)){if(hn<26)return 65+hn;if(hn<52)return hn-26+97;if(hn<62)return hn-52+48;if(hn==62)return 43;if(hn==63)return 47}throw"n:"+hn};return qt.writeByte=function(hn){for(Nt=Nt<<8|255&hn,Vt+=8,Bt+=1;Vt>=6;)nn(Nt>>>Vt-6),Vt-=6},qt.flush=function(){if(Vt>0&&(nn(Nt<<6-Vt),Nt=0,Vt=0),Bt%3!=0)for(var hn=3-Bt%3,zt=0;zt<hn;zt+=1)Kt+="="},qt.toString=function(){return Kt},qt}(),Et=bt.toByteArray(),Dt=0;Dt<Et.length;Dt+=1)it.writeByte(Et[Dt]);return it.flush(),"data:image/gif;base64,"+it};return pt}();mt.stringToBytesFuncs["UTF-8"]=function(pt){return function(yt){for(var Tt=[],St=0;St<yt.length;St++){var At=yt.charCodeAt(St);At<128?Tt.push(At):At<2048?Tt.push(192|At>>6,128|63&At):At<55296||At>=57344?Tt.push(224|At>>12,128|At>>6&63,128|63&At):(St++,At=65536+((1023&At)<<10|1023&yt.charCodeAt(St)),Tt.push(240|At>>18,128|At>>12&63,128|At>>6&63,128|63&At))}return Tt}(pt)},(dt=typeof(ft=function(){return mt})=="function"?ft.apply(ot,[]):ft)===void 0||(tt.exports=dt)},676:(tt,ot,ft)=>{ft.d(ot,{default:()=>hn});const dt="Numeric",mt="Alphanumeric",pt="Byte";var yt=function(){return yt=Object.assign||function(zt){for(var Ot,Gt=1,cn=arguments.length;Gt<cn;Gt++)for(var tn in Ot=arguments[Gt])Object.prototype.hasOwnProperty.call(Ot,tn)&&(zt[tn]=Ot[tn]);return zt},yt.apply(this,arguments)},Tt=function(){for(var zt=0,Ot=0,Gt=arguments.length;Ot<Gt;Ot++)zt+=arguments[Ot].length;var cn=Array(zt),tn=0;for(Ot=0;Ot<Gt;Ot++)for(var yn=arguments[Ot],xn=0,dn=yn.length;xn<dn;xn++,tn++)cn[tn]=yn[xn];return cn},St=function(zt){return!!zt&&typeof zt=="object"&&!Array.isArray(zt)};function At(zt){for(var Ot=[],Gt=1;Gt<arguments.length;Gt++)Ot[Gt-1]=arguments[Gt];if(!Ot.length)return zt;var cn=Ot.shift();return cn!==void 0&&St(zt)&&St(cn)?(zt=yt({},zt),Object.keys(cn).forEach(function(tn){var yn=zt[tn],xn=cn[tn];Array.isArray(yn)&&Array.isArray(xn)?zt[tn]=xn:St(yn)&&St(xn)?zt[tn]=At(Object.assign({},yn),xn):zt[tn]=xn}),At.apply(void 0,Tt([zt],Ot))):zt}function Ct(zt,Ot){var Gt=document.createElement("a");Gt.download=Ot,Gt.href=zt,document.body.appendChild(Gt),Gt.click(),document.body.removeChild(Gt)}var Mt=function(zt,Ot,Gt,cn){return new(Gt||(Gt=Promise))(function(tn,yn){function xn(Un){try{gn(cn.next(Un))}catch(En){yn(En)}}function dn(Un){try{gn(cn.throw(Un))}catch(En){yn(En)}}function gn(Un){var En;Un.done?tn(Un.value):(En=Un.value,En instanceof Gt?En:new Gt(function(Mn){Mn(En)})).then(xn,dn)}gn((cn=cn.apply(zt,[])).next())})},kt=function(zt,Ot){var Gt,cn,tn,yn,xn={label:0,sent:function(){if(1&tn[0])throw tn[1];return tn[1]},trys:[],ops:[]};return yn={next:dn(0),throw:dn(1),return:dn(2)},typeof Symbol=="function"&&(yn[Symbol.iterator]=function(){return this}),yn;function dn(gn){return function(Un){return function(En){if(Gt)throw new TypeError("Generator is already executing.");for(;xn;)try{if(Gt=1,cn&&(tn=2&En[0]?cn.return:En[0]?cn.throw||((tn=cn.return)&&tn.call(cn),0):cn.next)&&!(tn=tn.call(cn,En[1])).done)return tn;switch(cn=0,tn&&(En=[2&En[0],tn.value]),En[0]){case 0:case 1:tn=En;break;case 4:return xn.label++,{value:En[1],done:!1};case 5:xn.label++,cn=En[1],En=[0];continue;case 7:En=xn.ops.pop(),xn.trys.pop();continue;default:if(!((tn=(tn=xn.trys).length>0&&tn[tn.length-1])||En[0]!==6&&En[0]!==2)){xn=0;continue}if(En[0]===3&&(!tn||En[1]>tn[0]&&En[1]<tn[3])){xn.label=En[1];break}if(En[0]===6&&xn.label<tn[1]){xn.label=tn[1],tn=En;break}if(tn&&xn.label<tn[2]){xn.label=tn[2],xn.ops.push(En);break}tn[2]&&xn.ops.pop(),xn.trys.pop();continue}En=Ot.call(zt,xn)}catch(Mn){En=[6,Mn],cn=0}finally{Gt=tn=0}if(5&En[0])throw En[1];return{value:En[0]?En[1]:void 0,done:!0}}([gn,Un])}}};function Pt(zt){return Mt(this,void 0,void 0,function(){return kt(this,function(Ot){return[2,new Promise(function(Gt){var cn=new XMLHttpRequest;cn.onload=function(){var tn=new FileReader;tn.onloadend=function(){Gt(tn.result)},tn.readAsDataURL(cn.response)},cn.open("GET",zt),cn.responseType="blob",cn.send()})]})})}const Lt={L:.07,M:.15,Q:.25,H:.3};var Ft=function(){return Ft=Object.assign||function(zt){for(var Ot,Gt=1,cn=arguments.length;Gt<cn;Gt++)for(var tn in Ot=arguments[Gt])Object.prototype.hasOwnProperty.call(Ot,tn)&&(zt[tn]=Ot[tn]);return zt},Ft.apply(this,arguments)},Yt=function(){function zt(Ot){var Gt=Ot.svg,cn=Ot.type;this._svg=Gt,this._type=cn}return zt.prototype.draw=function(Ot,Gt,cn,tn){var yn;switch(this._type){case"dots":yn=this._drawDot;break;case"classy":yn=this._drawClassy;break;case"classy-rounded":yn=this._drawClassyRounded;break;case"rounded":yn=this._drawRounded;break;case"extra-rounded":yn=this._drawExtraRounded;break;default:yn=this._drawSquare}yn.call(this,{x:Ot,y:Gt,size:cn,getNeighbor:tn})},zt.prototype._rotateFigure=function(Ot){var Gt,cn=Ot.x,tn=Ot.y,yn=Ot.size,xn=Ot.rotation,dn=xn===void 0?0:xn,gn=cn+yn/2,Un=tn+yn/2;(0,Ot.draw)(),(Gt=this._element)===null||Gt===void 0||Gt.setAttribute("transform","rotate("+180*dn/Math.PI+","+gn+","+Un+")")},zt.prototype._basicDot=function(Ot){var Gt=this,cn=Ot.size,tn=Ot.x,yn=Ot.y;this._rotateFigure(Ft(Ft({},Ot),{draw:function(){Gt._element=document.createElementNS("http://www.w3.org/2000/svg","circle"),Gt._element.setAttribute("cx",String(tn+cn/2)),Gt._element.setAttribute("cy",String(yn+cn/2)),Gt._element.setAttribute("r",String(cn/2))}}))},zt.prototype._basicSquare=function(Ot){var Gt=this,cn=Ot.size,tn=Ot.x,yn=Ot.y;this._rotateFigure(Ft(Ft({},Ot),{draw:function(){Gt._element=document.createElementNS("http://www.w3.org/2000/svg","rect"),Gt._element.setAttribute("x",String(tn)),Gt._element.setAttribute("y",String(yn)),Gt._element.setAttribute("width",String(cn)),Gt._element.setAttribute("height",String(cn))}}))},zt.prototype._basicSideRounded=function(Ot){var Gt=this,cn=Ot.size,tn=Ot.x,yn=Ot.y;this._rotateFigure(Ft(Ft({},Ot),{draw:function(){Gt._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Gt._element.setAttribute("d","M "+tn+" "+yn+"v "+cn+"h "+cn/2+"a "+cn/2+" "+cn/2+", 0, 0, 0, 0 "+-cn)}}))},zt.prototype._basicCornerRounded=function(Ot){var Gt=this,cn=Ot.size,tn=Ot.x,yn=Ot.y;this._rotateFigure(Ft(Ft({},Ot),{draw:function(){Gt._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Gt._element.setAttribute("d","M "+tn+" "+yn+"v "+cn+"h "+cn+"v "+-cn/2+"a "+cn/2+" "+cn/2+", 0, 0, 0, "+-cn/2+" "+-cn/2)}}))},zt.prototype._basicCornerExtraRounded=function(Ot){var Gt=this,cn=Ot.size,tn=Ot.x,yn=Ot.y;this._rotateFigure(Ft(Ft({},Ot),{draw:function(){Gt._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Gt._element.setAttribute("d","M "+tn+" "+yn+"v "+cn+"h "+cn+"a "+cn+" "+cn+", 0, 0, 0, "+-cn+" "+-cn)}}))},zt.prototype._basicCornersRounded=function(Ot){var Gt=this,cn=Ot.size,tn=Ot.x,yn=Ot.y;this._rotateFigure(Ft(Ft({},Ot),{draw:function(){Gt._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Gt._element.setAttribute("d","M "+tn+" "+yn+"v "+cn/2+"a "+cn/2+" "+cn/2+", 0, 0, 0, "+cn/2+" "+cn/2+"h "+cn/2+"v "+-cn/2+"a "+cn/2+" "+cn/2+", 0, 0, 0, "+-cn/2+" "+-cn/2)}}))},zt.prototype._drawDot=function(Ot){var Gt=Ot.x,cn=Ot.y,tn=Ot.size;this._basicDot({x:Gt,y:cn,size:tn,rotation:0})},zt.prototype._drawSquare=function(Ot){var Gt=Ot.x,cn=Ot.y,tn=Ot.size;this._basicSquare({x:Gt,y:cn,size:tn,rotation:0})},zt.prototype._drawRounded=function(Ot){var Gt=Ot.x,cn=Ot.y,tn=Ot.size,yn=Ot.getNeighbor,xn=yn?+yn(-1,0):0,dn=yn?+yn(1,0):0,gn=yn?+yn(0,-1):0,Un=yn?+yn(0,1):0,En=xn+dn+gn+Un;if(En!==0)if(En>2||xn&&dn||gn&&Un)this._basicSquare({x:Gt,y:cn,size:tn,rotation:0});else{if(En===2){var Mn=0;return xn&&gn?Mn=Math.PI/2:gn&&dn?Mn=Math.PI:dn&&Un&&(Mn=-Math.PI/2),void this._basicCornerRounded({x:Gt,y:cn,size:tn,rotation:Mn})}if(En===1)return Mn=0,gn?Mn=Math.PI/2:dn?Mn=Math.PI:Un&&(Mn=-Math.PI/2),void this._basicSideRounded({x:Gt,y:cn,size:tn,rotation:Mn})}else this._basicDot({x:Gt,y:cn,size:tn,rotation:0})},zt.prototype._drawExtraRounded=function(Ot){var Gt=Ot.x,cn=Ot.y,tn=Ot.size,yn=Ot.getNeighbor,xn=yn?+yn(-1,0):0,dn=yn?+yn(1,0):0,gn=yn?+yn(0,-1):0,Un=yn?+yn(0,1):0,En=xn+dn+gn+Un;if(En!==0)if(En>2||xn&&dn||gn&&Un)this._basicSquare({x:Gt,y:cn,size:tn,rotation:0});else{if(En===2){var Mn=0;return xn&&gn?Mn=Math.PI/2:gn&&dn?Mn=Math.PI:dn&&Un&&(Mn=-Math.PI/2),void this._basicCornerExtraRounded({x:Gt,y:cn,size:tn,rotation:Mn})}if(En===1)return Mn=0,gn?Mn=Math.PI/2:dn?Mn=Math.PI:Un&&(Mn=-Math.PI/2),void this._basicSideRounded({x:Gt,y:cn,size:tn,rotation:Mn})}else this._basicDot({x:Gt,y:cn,size:tn,rotation:0})},zt.prototype._drawClassy=function(Ot){var Gt=Ot.x,cn=Ot.y,tn=Ot.size,yn=Ot.getNeighbor,xn=yn?+yn(-1,0):0,dn=yn?+yn(1,0):0,gn=yn?+yn(0,-1):0,Un=yn?+yn(0,1):0;xn+dn+gn+Un!==0?xn||gn?dn||Un?this._basicSquare({x:Gt,y:cn,size:tn,rotation:0}):this._basicCornerRounded({x:Gt,y:cn,size:tn,rotation:Math.PI/2}):this._basicCornerRounded({x:Gt,y:cn,size:tn,rotation:-Math.PI/2}):this._basicCornersRounded({x:Gt,y:cn,size:tn,rotation:Math.PI/2})},zt.prototype._drawClassyRounded=function(Ot){var Gt=Ot.x,cn=Ot.y,tn=Ot.size,yn=Ot.getNeighbor,xn=yn?+yn(-1,0):0,dn=yn?+yn(1,0):0,gn=yn?+yn(0,-1):0,Un=yn?+yn(0,1):0;xn+dn+gn+Un!==0?xn||gn?dn||Un?this._basicSquare({x:Gt,y:cn,size:tn,rotation:0}):this._basicCornerExtraRounded({x:Gt,y:cn,size:tn,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:Gt,y:cn,size:tn,rotation:-Math.PI/2}):this._basicCornersRounded({x:Gt,y:cn,size:tn,rotation:Math.PI/2})},zt}();const jt=Yt;var Wt=function(){return Wt=Object.assign||function(zt){for(var Ot,Gt=1,cn=arguments.length;Gt<cn;Gt++)for(var tn in Ot=arguments[Gt])Object.prototype.hasOwnProperty.call(Ot,tn)&&(zt[tn]=Ot[tn]);return zt},Wt.apply(this,arguments)},sn=function(){function zt(Ot){var Gt=Ot.svg,cn=Ot.type;this._svg=Gt,this._type=cn}return zt.prototype.draw=function(Ot,Gt,cn,tn){var yn;switch(this._type){case"square":yn=this._drawSquare;break;case"extra-rounded":yn=this._drawExtraRounded;break;default:yn=this._drawDot}yn.call(this,{x:Ot,y:Gt,size:cn,rotation:tn})},zt.prototype._rotateFigure=function(Ot){var Gt,cn=Ot.x,tn=Ot.y,yn=Ot.size,xn=Ot.rotation,dn=xn===void 0?0:xn,gn=cn+yn/2,Un=tn+yn/2;(0,Ot.draw)(),(Gt=this._element)===null||Gt===void 0||Gt.setAttribute("transform","rotate("+180*dn/Math.PI+","+gn+","+Un+")")},zt.prototype._basicDot=function(Ot){var Gt=this,cn=Ot.size,tn=Ot.x,yn=Ot.y,xn=cn/7;this._rotateFigure(Wt(Wt({},Ot),{draw:function(){Gt._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Gt._element.setAttribute("clip-rule","evenodd"),Gt._element.setAttribute("d","M "+(tn+cn/2)+" "+yn+"a "+cn/2+" "+cn/2+" 0 1 0 0.1 0zm 0 "+xn+"a "+(cn/2-xn)+" "+(cn/2-xn)+" 0 1 1 -0.1 0Z")}}))},zt.prototype._basicSquare=function(Ot){var Gt=this,cn=Ot.size,tn=Ot.x,yn=Ot.y,xn=cn/7;this._rotateFigure(Wt(Wt({},Ot),{draw:function(){Gt._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Gt._element.setAttribute("clip-rule","evenodd"),Gt._element.setAttribute("d","M "+tn+" "+yn+"v "+cn+"h "+cn+"v "+-cn+"zM "+(tn+xn)+" "+(yn+xn)+"h "+(cn-2*xn)+"v "+(cn-2*xn)+"h "+(2*xn-cn)+"z")}}))},zt.prototype._basicExtraRounded=function(Ot){var Gt=this,cn=Ot.size,tn=Ot.x,yn=Ot.y,xn=cn/7;this._rotateFigure(Wt(Wt({},Ot),{draw:function(){Gt._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Gt._element.setAttribute("clip-rule","evenodd"),Gt._element.setAttribute("d","M "+tn+" "+(yn+2.5*xn)+"v "+2*xn+"a "+2.5*xn+" "+2.5*xn+", 0, 0, 0, "+2.5*xn+" "+2.5*xn+"h "+2*xn+"a "+2.5*xn+" "+2.5*xn+", 0, 0, 0, "+2.5*xn+" "+2.5*-xn+"v "+-2*xn+"a "+2.5*xn+" "+2.5*xn+", 0, 0, 0, "+2.5*-xn+" "+2.5*-xn+"h "+-2*xn+"a "+2.5*xn+" "+2.5*xn+", 0, 0, 0, "+2.5*-xn+" "+2.5*xn+"M "+(tn+2.5*xn)+" "+(yn+xn)+"h "+2*xn+"a "+1.5*xn+" "+1.5*xn+", 0, 0, 1, "+1.5*xn+" "+1.5*xn+"v "+2*xn+"a "+1.5*xn+" "+1.5*xn+", 0, 0, 1, "+1.5*-xn+" "+1.5*xn+"h "+-2*xn+"a "+1.5*xn+" "+1.5*xn+", 0, 0, 1, "+1.5*-xn+" "+1.5*-xn+"v "+-2*xn+"a "+1.5*xn+" "+1.5*xn+", 0, 0, 1, "+1.5*xn+" "+1.5*-xn)}}))},zt.prototype._drawDot=function(Ot){var Gt=Ot.x,cn=Ot.y,tn=Ot.size,yn=Ot.rotation;this._basicDot({x:Gt,y:cn,size:tn,rotation:yn})},zt.prototype._drawSquare=function(Ot){var Gt=Ot.x,cn=Ot.y,tn=Ot.size,yn=Ot.rotation;this._basicSquare({x:Gt,y:cn,size:tn,rotation:yn})},zt.prototype._drawExtraRounded=function(Ot){var Gt=Ot.x,cn=Ot.y,tn=Ot.size,yn=Ot.rotation;this._basicExtraRounded({x:Gt,y:cn,size:tn,rotation:yn})},zt}();const ln=sn;var vn=function(){return vn=Object.assign||function(zt){for(var Ot,Gt=1,cn=arguments.length;Gt<cn;Gt++)for(var tn in Ot=arguments[Gt])Object.prototype.hasOwnProperty.call(Ot,tn)&&(zt[tn]=Ot[tn]);return zt},vn.apply(this,arguments)},Rt=function(){function zt(Ot){var Gt=Ot.svg,cn=Ot.type;this._svg=Gt,this._type=cn}return zt.prototype.draw=function(Ot,Gt,cn,tn){(this._type==="square"?this._drawSquare:this._drawDot).call(this,{x:Ot,y:Gt,size:cn,rotation:tn})},zt.prototype._rotateFigure=function(Ot){var Gt,cn=Ot.x,tn=Ot.y,yn=Ot.size,xn=Ot.rotation,dn=xn===void 0?0:xn,gn=cn+yn/2,Un=tn+yn/2;(0,Ot.draw)(),(Gt=this._element)===null||Gt===void 0||Gt.setAttribute("transform","rotate("+180*dn/Math.PI+","+gn+","+Un+")")},zt.prototype._basicDot=function(Ot){var Gt=this,cn=Ot.size,tn=Ot.x,yn=Ot.y;this._rotateFigure(vn(vn({},Ot),{draw:function(){Gt._element=document.createElementNS("http://www.w3.org/2000/svg","circle"),Gt._element.setAttribute("cx",String(tn+cn/2)),Gt._element.setAttribute("cy",String(yn+cn/2)),Gt._element.setAttribute("r",String(cn/2))}}))},zt.prototype._basicSquare=function(Ot){var Gt=this,cn=Ot.size,tn=Ot.x,yn=Ot.y;this._rotateFigure(vn(vn({},Ot),{draw:function(){Gt._element=document.createElementNS("http://www.w3.org/2000/svg","rect"),Gt._element.setAttribute("x",String(tn)),Gt._element.setAttribute("y",String(yn)),Gt._element.setAttribute("width",String(cn)),Gt._element.setAttribute("height",String(cn))}}))},zt.prototype._drawDot=function(Ot){var Gt=Ot.x,cn=Ot.y,tn=Ot.size,yn=Ot.rotation;this._basicDot({x:Gt,y:cn,size:tn,rotation:yn})},zt.prototype._drawSquare=function(Ot){var Gt=Ot.x,cn=Ot.y,tn=Ot.size,yn=Ot.rotation;this._basicSquare({x:Gt,y:cn,size:tn,rotation:yn})},zt}();const rt=Rt,ut="circle";var ct=function(zt,Ot,Gt,cn){return new(Gt||(Gt=Promise))(function(tn,yn){function xn(Un){try{gn(cn.next(Un))}catch(En){yn(En)}}function dn(Un){try{gn(cn.throw(Un))}catch(En){yn(En)}}function gn(Un){var En;Un.done?tn(Un.value):(En=Un.value,En instanceof Gt?En:new Gt(function(Mn){Mn(En)})).then(xn,dn)}gn((cn=cn.apply(zt,[])).next())})},ht=function(zt,Ot){var Gt,cn,tn,yn,xn={label:0,sent:function(){if(1&tn[0])throw tn[1];return tn[1]},trys:[],ops:[]};return yn={next:dn(0),throw:dn(1),return:dn(2)},typeof Symbol=="function"&&(yn[Symbol.iterator]=function(){return this}),yn;function dn(gn){return function(Un){return function(En){if(Gt)throw new TypeError("Generator is already executing.");for(;xn;)try{if(Gt=1,cn&&(tn=2&En[0]?cn.return:En[0]?cn.throw||((tn=cn.return)&&tn.call(cn),0):cn.next)&&!(tn=tn.call(cn,En[1])).done)return tn;switch(cn=0,tn&&(En=[2&En[0],tn.value]),En[0]){case 0:case 1:tn=En;break;case 4:return xn.label++,{value:En[1],done:!1};case 5:xn.label++,cn=En[1],En=[0];continue;case 7:En=xn.ops.pop(),xn.trys.pop();continue;default:if(!((tn=(tn=xn.trys).length>0&&tn[tn.length-1])||En[0]!==6&&En[0]!==2)){xn=0;continue}if(En[0]===3&&(!tn||En[1]>tn[0]&&En[1]<tn[3])){xn.label=En[1];break}if(En[0]===6&&xn.label<tn[1]){xn.label=tn[1],tn=En;break}if(tn&&xn.label<tn[2]){xn.label=tn[2],xn.ops.push(En);break}tn[2]&&xn.ops.pop(),xn.trys.pop();continue}En=Ot.call(zt,xn)}catch(Mn){En=[6,Mn],cn=0}finally{Gt=tn=0}if(5&En[0])throw En[1];return{value:En[0]?En[1]:void 0,done:!0}}([gn,Un])}}},vt=[[1,1,1,1,1,1,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,0,0,0,0,0,1],[1,1,1,1,1,1,1]],$t=[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]];const xt=function(){function zt(Ot){this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(Ot.width)),this._element.setAttribute("height",String(Ot.height)),this._defs=document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._instanceId=zt.instanceCount++,this._options=Ot}return Object.defineProperty(zt.prototype,"width",{get:function(){return this._options.width},enumerable:!1,configurable:!0}),Object.defineProperty(zt.prototype,"height",{get:function(){return this._options.height},enumerable:!1,configurable:!0}),zt.prototype.getElement=function(){return this._element},zt.prototype.drawQR=function(Ot){return ct(this,void 0,void 0,function(){var Gt,cn,tn,yn,xn,dn,gn,Un,En,Mn,cr=this;return ht(this,function(On){switch(On.label){case 0:return Gt=Ot.getModuleCount(),cn=Math.min(this._options.width,this._options.height)-2*this._options.margin,tn=this._options.shape===ut?cn/Math.sqrt(2):cn,yn=tn/Gt,xn={hideXDots:0,hideYDots:0,width:0,height:0},this._qr=Ot,this._options.image?[4,this.loadImage()]:[3,2];case 1:if(On.sent(),!this._image)return[2];dn=this._options,gn=dn.imageOptions,Un=dn.qrOptions,En=gn.imageSize*Lt[Un.errorCorrectionLevel],Mn=Math.floor(En*Gt*Gt),xn=function(Ln){var wn=Ln.originalHeight,_n=Ln.originalWidth,Cn=Ln.maxHiddenDots,Jn=Ln.maxHiddenAxisDots,an=Ln.dotSize,Ht={x:0,y:0},Zt={x:0,y:0};if(wn<=0||_n<=0||Cn<=0||an<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};var mn=wn/_n;return Ht.x=Math.floor(Math.sqrt(Cn/mn)),Ht.x<=0&&(Ht.x=1),Jn&&Jn<Ht.x&&(Ht.x=Jn),Ht.x%2==0&&Ht.x--,Zt.x=Ht.x*an,Ht.y=1+2*Math.ceil((Ht.x*mn-1)/2),Zt.y=Math.round(Zt.x*mn),(Ht.y*Ht.x>Cn||Jn&&Jn<Ht.y)&&(Jn&&Jn<Ht.y?(Ht.y=Jn,Ht.y%2==0&&Ht.x--):Ht.y-=2,Zt.y=Ht.y*an,Ht.x=1+2*Math.ceil((Ht.y/mn-1)/2),Zt.x=Math.round(Zt.y/mn)),{height:Zt.y,width:Zt.x,hideYDots:Ht.y,hideXDots:Ht.x}}({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:Mn,maxHiddenAxisDots:Gt-14,dotSize:yn}),On.label=2;case 2:return this.drawBackground(),this.drawDots(function(Ln,wn){var _n,Cn,Jn,an,Ht,Zt;return!(cr._options.imageOptions.hideBackgroundDots&&Ln>=(Gt-xn.hideXDots)/2&&Ln<(Gt+xn.hideXDots)/2&&wn>=(Gt-xn.hideYDots)/2&&wn<(Gt+xn.hideYDots)/2||!((_n=vt[Ln])===null||_n===void 0)&&_n[wn]||!((Cn=vt[Ln-Gt+7])===null||Cn===void 0)&&Cn[wn]||!((Jn=vt[Ln])===null||Jn===void 0)&&Jn[wn-Gt+7]||!((an=$t[Ln])===null||an===void 0)&&an[wn]||!((Ht=$t[Ln-Gt+7])===null||Ht===void 0)&&Ht[wn]||!((Zt=$t[Ln])===null||Zt===void 0)&&Zt[wn-Gt+7])}),this.drawCorners(),this._options.image?[4,this.drawImage({width:xn.width,height:xn.height,count:Gt,dotSize:yn})]:[3,4];case 3:On.sent(),On.label=4;case 4:return[2]}})})},zt.prototype.drawBackground=function(){var Ot,Gt,cn,tn=this._element,yn=this._options;if(tn){var xn=(Ot=yn.backgroundOptions)===null||Ot===void 0?void 0:Ot.gradient,dn=(Gt=yn.backgroundOptions)===null||Gt===void 0?void 0:Gt.color;if((xn||dn)&&this._createColor({options:xn,color:dn,additionalRotation:0,x:0,y:0,height:yn.height,width:yn.width,name:"background-color"}),(cn=yn.backgroundOptions)===null||cn===void 0?void 0:cn.round){var gn=Math.min(yn.width,yn.height),Un=document.createElementNS("http://www.w3.org/2000/svg","rect");this._backgroundClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._backgroundClipPath.setAttribute("id","clip-path-background-color"),this._defs.appendChild(this._backgroundClipPath),Un.setAttribute("x",String((yn.width-gn)/2)),Un.setAttribute("y",String((yn.height-gn)/2)),Un.setAttribute("width",String(gn)),Un.setAttribute("height",String(gn)),Un.setAttribute("rx",String(gn/2*yn.backgroundOptions.round)),this._backgroundClipPath.appendChild(Un)}}},zt.prototype.drawDots=function(Ot){var Gt,cn,tn=this;if(!this._qr)throw"QR code is not defined";var yn=this._options,xn=this._qr.getModuleCount();if(xn>yn.width||xn>yn.height)throw"The canvas is too small.";var dn=Math.min(yn.width,yn.height)-2*yn.margin,gn=(yn.shape===ut?dn/Math.sqrt(2):dn)/xn,Un=(yn.width-xn*gn)/2,En=(yn.height-xn*gn)/2,Mn=new jt({svg:this._element,type:yn.dotsOptions.type});this._dotsClipPath=document.createElementNS("http://www.w3.org/2000/svg","clipPath"),this._dotsClipPath.setAttribute("id","clip-path-dot-color-"+this._instanceId),this._defs.appendChild(this._dotsClipPath),this._createColor({options:(Gt=yn.dotsOptions)===null||Gt===void 0?void 0:Gt.gradient,color:yn.dotsOptions.color,additionalRotation:0,x:0,y:0,height:yn.height,width:yn.width,name:"dot-color-"+this._instanceId});for(var cr=function(jn){for(var kn=function(Wn){return Ot&&!Ot(jn,Wn)?"continue":!((cn=On._qr)===null||cn===void 0)&&cn.isDark(jn,Wn)?(Mn.draw(Un+jn*gn,En+Wn*gn,gn,function(Nn,Hn){return!(jn+Nn<0||Wn+Hn<0||jn+Nn>=xn||Wn+Hn>=xn)&&!(Ot&&!Ot(jn+Nn,Wn+Hn))&&!!tn._qr&&tn._qr.isDark(jn+Nn,Wn+Hn)}),void(Mn._element&&On._dotsClipPath&&On._dotsClipPath.appendChild(Mn._element))):"continue"},Dn=0;Dn<xn;Dn++)kn(Dn)},On=this,Ln=0;Ln<xn;Ln++)cr(Ln);if(yn.shape===ut){var wn=Math.floor((dn/gn-xn)/2),_n=xn+2*wn,Cn=Un-wn*gn,Jn=En-wn*gn,an=[],Ht=Math.floor(_n/2);for(Ln=0;Ln<_n;Ln++){an[Ln]=[];for(var Zt=0;Zt<_n;Zt++)Ln>=wn-1&&Ln<=_n-wn&&Zt>=wn-1&&Zt<=_n-wn||Math.sqrt((Ln-Ht)*(Ln-Ht)+(Zt-Ht)*(Zt-Ht))>Ht?an[Ln][Zt]=0:an[Ln][Zt]=this._qr.isDark(Zt-2*wn<0?Zt:Zt>=xn?Zt-2*wn:Zt-wn,Ln-2*wn<0?Ln:Ln>=xn?Ln-2*wn:Ln-wn)?1:0}var mn=function(jn){for(var kn=function(Wn){if(!an[jn][Wn])return"continue";Mn.draw(Cn+jn*gn,Jn+Wn*gn,gn,function(Nn,Hn){var dr;return!!(!((dr=an[jn+Nn])===null||dr===void 0)&&dr[Wn+Hn])}),Mn._element&&Tn._dotsClipPath&&Tn._dotsClipPath.appendChild(Mn._element)},Dn=0;Dn<_n;Dn++)kn(Dn)},Tn=this;for(Ln=0;Ln<_n;Ln++)mn(Ln)}},zt.prototype.drawCorners=function(){var Ot=this;if(!this._qr)throw"QR code is not defined";var Gt=this._element,cn=this._options;if(!Gt)throw"Element code is not defined";var tn=this._qr.getModuleCount(),yn=Math.min(cn.width,cn.height)-2*cn.margin,xn=(cn.shape===ut?yn/Math.sqrt(2):yn)/tn,dn=7*xn,gn=3*xn,Un=(cn.width-tn*xn)/2,En=(cn.height-tn*xn)/2;[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(function(Mn){var cr,On,Ln,wn,_n,Cn,Jn,an,Ht,Zt,mn,Tn,jn=Mn[0],kn=Mn[1],Dn=Mn[2],Wn=Un+jn*xn*(tn-7),Nn=En+kn*xn*(tn-7),Hn=Ot._dotsClipPath,dr=Ot._dotsClipPath;if((!((cr=cn.cornersSquareOptions)===null||cr===void 0)&&cr.gradient||!((On=cn.cornersSquareOptions)===null||On===void 0)&&On.color)&&((Hn=document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id","clip-path-corners-square-color-"+jn+"-"+kn),Ot._defs.appendChild(Hn),Ot._cornersSquareClipPath=Ot._cornersDotClipPath=dr=Hn,Ot._createColor({options:(Ln=cn.cornersSquareOptions)===null||Ln===void 0?void 0:Ln.gradient,color:(wn=cn.cornersSquareOptions)===null||wn===void 0?void 0:wn.color,additionalRotation:Dn,x:Wn,y:Nn,height:dn,width:dn,name:"corners-square-color-"+jn+"-"+kn})),(_n=cn.cornersSquareOptions)===null||_n===void 0?void 0:_n.type){var Gn=new ln({svg:Ot._element,type:cn.cornersSquareOptions.type});Gn.draw(Wn,Nn,dn,Dn),Gn._element&&Hn&&Hn.appendChild(Gn._element)}else for(var Qn=new jt({svg:Ot._element,type:cn.dotsOptions.type}),Br=function(Xn){for(var ir=function(Kn){if(!(!((Cn=vt[Xn])===null||Cn===void 0)&&Cn[Kn]))return"continue";Qn.draw(Wn+Xn*xn,Nn+Kn*xn,xn,function(An,Xt){var Qt;return!!(!((Qt=vt[Xn+An])===null||Qt===void 0)&&Qt[Kn+Xt])}),Qn._element&&Hn&&Hn.appendChild(Qn._element)},Or=0;Or<vt[Xn].length;Or++)ir(Or)},zn=0;zn<vt.length;zn++)Br(zn);if((!((Jn=cn.cornersDotOptions)===null||Jn===void 0)&&Jn.gradient||!((an=cn.cornersDotOptions)===null||an===void 0)&&an.color)&&((dr=document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id","clip-path-corners-dot-color-"+jn+"-"+kn),Ot._defs.appendChild(dr),Ot._cornersDotClipPath=dr,Ot._createColor({options:(Ht=cn.cornersDotOptions)===null||Ht===void 0?void 0:Ht.gradient,color:(Zt=cn.cornersDotOptions)===null||Zt===void 0?void 0:Zt.color,additionalRotation:Dn,x:Wn+2*xn,y:Nn+2*xn,height:gn,width:gn,name:"corners-dot-color-"+jn+"-"+kn})),(mn=cn.cornersDotOptions)===null||mn===void 0?void 0:mn.type){var tr=new rt({svg:Ot._element,type:cn.cornersDotOptions.type});tr.draw(Wn+2*xn,Nn+2*xn,gn,Dn),tr._element&&dr&&dr.appendChild(tr._element)}else{Qn=new jt({svg:Ot._element,type:cn.dotsOptions.type});var Fr=function(Xn){for(var ir=function(Kn){if(!(!((Tn=$t[Xn])===null||Tn===void 0)&&Tn[Kn]))return"continue";Qn.draw(Wn+Xn*xn,Nn+Kn*xn,xn,function(An,Xt){var Qt;return!!(!((Qt=$t[Xn+An])===null||Qt===void 0)&&Qt[Kn+Xt])}),Qn._element&&dr&&dr.appendChild(Qn._element)},Or=0;Or<$t[Xn].length;Or++)ir(Or)};for(zn=0;zn<$t.length;zn++)Fr(zn)}})},zt.prototype.loadImage=function(){var Ot=this;return new Promise(function(Gt,cn){var tn=Ot._options,yn=new Image;if(!tn.image)return cn("Image is not defined");typeof tn.imageOptions.crossOrigin=="string"&&(yn.crossOrigin=tn.imageOptions.crossOrigin),Ot._image=yn,yn.onload=function(){Gt()},yn.src=tn.image})},zt.prototype.drawImage=function(Ot){var Gt=Ot.width,cn=Ot.height,tn=Ot.count,yn=Ot.dotSize;return ct(this,void 0,void 0,function(){var xn,dn,gn,Un,En,Mn,cr,On,Ln;return ht(this,function(wn){switch(wn.label){case 0:return xn=this._options,dn=(xn.width-tn*yn)/2,gn=(xn.height-tn*yn)/2,Un=dn+xn.imageOptions.margin+(tn*yn-Gt)/2,En=gn+xn.imageOptions.margin+(tn*yn-cn)/2,Mn=Gt-2*xn.imageOptions.margin,cr=cn-2*xn.imageOptions.margin,(On=document.createElementNS("http://www.w3.org/2000/svg","image")).setAttribute("x",String(Un)),On.setAttribute("y",String(En)),On.setAttribute("width",Mn+"px"),On.setAttribute("height",cr+"px"),[4,Pt(xn.image||"")];case 1:return Ln=wn.sent(),On.setAttribute("href",Ln||""),this._element.appendChild(On),[2]}})})},zt.prototype._createColor=function(Ot){var Gt=Ot.options,cn=Ot.color,tn=Ot.additionalRotation,yn=Ot.x,xn=Ot.y,dn=Ot.height,gn=Ot.width,Un=Ot.name,En=gn>dn?gn:dn,Mn=document.createElementNS("http://www.w3.org/2000/svg","rect");if(Mn.setAttribute("x",String(yn)),Mn.setAttribute("y",String(xn)),Mn.setAttribute("height",String(dn)),Mn.setAttribute("width",String(gn)),Mn.setAttribute("clip-path","url('#clip-path-"+Un+"')"),Gt){var cr;if(Gt.type==="radial")(cr=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",Un),cr.setAttribute("gradientUnits","userSpaceOnUse"),cr.setAttribute("fx",String(yn+gn/2)),cr.setAttribute("fy",String(xn+dn/2)),cr.setAttribute("cx",String(yn+gn/2)),cr.setAttribute("cy",String(xn+dn/2)),cr.setAttribute("r",String(En/2));else{var On=((Gt.rotation||0)+tn)%(2*Math.PI),Ln=(On+2*Math.PI)%(2*Math.PI),wn=yn+gn/2,_n=xn+dn/2,Cn=yn+gn/2,Jn=xn+dn/2;Ln>=0&&Ln<=.25*Math.PI||Ln>1.75*Math.PI&&Ln<=2*Math.PI?(wn-=gn/2,_n-=dn/2*Math.tan(On),Cn+=gn/2,Jn+=dn/2*Math.tan(On)):Ln>.25*Math.PI&&Ln<=.75*Math.PI?(_n-=dn/2,wn-=gn/2/Math.tan(On),Jn+=dn/2,Cn+=gn/2/Math.tan(On)):Ln>.75*Math.PI&&Ln<=1.25*Math.PI?(wn+=gn/2,_n+=dn/2*Math.tan(On),Cn-=gn/2,Jn-=dn/2*Math.tan(On)):Ln>1.25*Math.PI&&Ln<=1.75*Math.PI&&(_n+=dn/2,wn+=gn/2/Math.tan(On),Jn-=dn/2,Cn-=gn/2/Math.tan(On)),(cr=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",Un),cr.setAttribute("gradientUnits","userSpaceOnUse"),cr.setAttribute("x1",String(Math.round(wn))),cr.setAttribute("y1",String(Math.round(_n))),cr.setAttribute("x2",String(Math.round(Cn))),cr.setAttribute("y2",String(Math.round(Jn)))}Gt.colorStops.forEach(function(an){var Ht=an.offset,Zt=an.color,mn=document.createElementNS("http://www.w3.org/2000/svg","stop");mn.setAttribute("offset",100*Ht+"%"),mn.setAttribute("stop-color",Zt),cr.appendChild(mn)}),Mn.setAttribute("fill","url('#"+Un+"')"),this._defs.appendChild(cr)}else cn&&Mn.setAttribute("fill",cn);this._element.appendChild(Mn)},zt.instanceCount=0,zt}(),bt="canvas";for(var it={},Et=0;Et<=40;Et++)it[Et]=Et;const Dt={type:bt,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:it[0],mode:void 0,errorCorrectionLevel:"Q"},imageOptions:{hideBackgroundDots:!0,imageSize:.4,crossOrigin:void 0,margin:0},dotsOptions:{type:"square",color:"#000"},backgroundOptions:{round:0,color:"#fff"}};var Nt=function(){return Nt=Object.assign||function(zt){for(var Ot,Gt=1,cn=arguments.length;Gt<cn;Gt++)for(var tn in Ot=arguments[Gt])Object.prototype.hasOwnProperty.call(Ot,tn)&&(zt[tn]=Ot[tn]);return zt},Nt.apply(this,arguments)};function Vt(zt){var Ot=Nt({},zt);if(!Ot.colorStops||!Ot.colorStops.length)throw"Field 'colorStops' is required in gradient";return Ot.rotation?Ot.rotation=Number(Ot.rotation):Ot.rotation=0,Ot.colorStops=Ot.colorStops.map(function(Gt){return Nt(Nt({},Gt),{offset:Number(Gt.offset)})}),Ot}function Bt(zt){var Ot=Nt({},zt);return Ot.width=Number(Ot.width),Ot.height=Number(Ot.height),Ot.margin=Number(Ot.margin),Ot.imageOptions=Nt(Nt({},Ot.imageOptions),{hideBackgroundDots:!!Ot.imageOptions.hideBackgroundDots,imageSize:Number(Ot.imageOptions.imageSize),margin:Number(Ot.imageOptions.margin)}),Ot.margin>Math.min(Ot.width,Ot.height)&&(Ot.margin=Math.min(Ot.width,Ot.height)),Ot.dotsOptions=Nt({},Ot.dotsOptions),Ot.dotsOptions.gradient&&(Ot.dotsOptions.gradient=Vt(Ot.dotsOptions.gradient)),Ot.cornersSquareOptions&&(Ot.cornersSquareOptions=Nt({},Ot.cornersSquareOptions),Ot.cornersSquareOptions.gradient&&(Ot.cornersSquareOptions.gradient=Vt(Ot.cornersSquareOptions.gradient))),Ot.cornersDotOptions&&(Ot.cornersDotOptions=Nt({},Ot.cornersDotOptions),Ot.cornersDotOptions.gradient&&(Ot.cornersDotOptions.gradient=Vt(Ot.cornersDotOptions.gradient))),Ot.backgroundOptions&&(Ot.backgroundOptions=Nt({},Ot.backgroundOptions),Ot.backgroundOptions.gradient&&(Ot.backgroundOptions.gradient=Vt(Ot.backgroundOptions.gradient))),Ot}var Kt=ft(192),qt=ft.n(Kt),nn=function(zt,Ot,Gt,cn){return new(Gt||(Gt=Promise))(function(tn,yn){function xn(Un){try{gn(cn.next(Un))}catch(En){yn(En)}}function dn(Un){try{gn(cn.throw(Un))}catch(En){yn(En)}}function gn(Un){var En;Un.done?tn(Un.value):(En=Un.value,En instanceof Gt?En:new Gt(function(Mn){Mn(En)})).then(xn,dn)}gn((cn=cn.apply(zt,[])).next())})},un=function(zt,Ot){var Gt,cn,tn,yn,xn={label:0,sent:function(){if(1&tn[0])throw tn[1];return tn[1]},trys:[],ops:[]};return yn={next:dn(0),throw:dn(1),return:dn(2)},typeof Symbol=="function"&&(yn[Symbol.iterator]=function(){return this}),yn;function dn(gn){return function(Un){return function(En){if(Gt)throw new TypeError("Generator is already executing.");for(;xn;)try{if(Gt=1,cn&&(tn=2&En[0]?cn.return:En[0]?cn.throw||((tn=cn.return)&&tn.call(cn),0):cn.next)&&!(tn=tn.call(cn,En[1])).done)return tn;switch(cn=0,tn&&(En=[2&En[0],tn.value]),En[0]){case 0:case 1:tn=En;break;case 4:return xn.label++,{value:En[1],done:!1};case 5:xn.label++,cn=En[1],En=[0];continue;case 7:En=xn.ops.pop(),xn.trys.pop();continue;default:if(!((tn=(tn=xn.trys).length>0&&tn[tn.length-1])||En[0]!==6&&En[0]!==2)){xn=0;continue}if(En[0]===3&&(!tn||En[1]>tn[0]&&En[1]<tn[3])){xn.label=En[1];break}if(En[0]===6&&xn.label<tn[1]){xn.label=tn[1],tn=En;break}if(tn&&xn.label<tn[2]){xn.label=tn[2],xn.ops.push(En);break}tn[2]&&xn.ops.pop(),xn.trys.pop();continue}En=Ot.call(zt,xn)}catch(Mn){En=[6,Mn],cn=0}finally{Gt=tn=0}if(5&En[0])throw En[1];return{value:En[0]?En[1]:void 0,done:!0}}([gn,Un])}}};const hn=function(){function zt(Ot){this._options=Ot?Bt(At(Dt,Ot)):Dt,this.update()}return zt._clearContainer=function(Ot){Ot&&(Ot.innerHTML="")},zt.prototype._setupSvg=function(){var Ot=this;if(this._qr){var Gt=new xt(this._options);this._svg=Gt.getElement(),this._svgDrawingPromise=Gt.drawQR(this._qr).then(function(){var cn;Ot._svg&&((cn=Ot._extension)===null||cn===void 0||cn.call(Ot,Gt.getElement(),Ot._options))})}},zt.prototype._setupCanvas=function(){var Ot,Gt=this;this._qr&&(this._canvas=document.createElement("canvas"),this._canvas.width=this._options.width,this._canvas.height=this._options.height,this._setupSvg(),this._canvasDrawingPromise=(Ot=this._svgDrawingPromise)===null||Ot===void 0?void 0:Ot.then(function(){if(Gt._svg){var cn=Gt._svg,tn=new XMLSerializer().serializeToString(cn),yn="data:image/svg+xml;base64,"+btoa(tn),xn=new Image;return new Promise(function(dn){xn.onload=function(){var gn,Un;(Un=(gn=Gt._canvas)===null||gn===void 0?void 0:gn.getContext("2d"))===null||Un===void 0||Un.drawImage(xn,0,0),dn()},xn.src=yn})}}))},zt.prototype._getElement=function(Ot){return Ot===void 0&&(Ot="png"),nn(this,void 0,void 0,function(){return un(this,function(Gt){switch(Gt.label){case 0:if(!this._qr)throw"QR code is empty";return Ot.toLowerCase()!=="svg"?[3,2]:(this._svg&&this._svgDrawingPromise||this._setupSvg(),[4,this._svgDrawingPromise]);case 1:return Gt.sent(),[2,this._svg];case 2:return this._canvas&&this._canvasDrawingPromise||this._setupCanvas(),[4,this._canvasDrawingPromise];case 3:return Gt.sent(),[2,this._canvas]}})})},zt.prototype.update=function(Ot){zt._clearContainer(this._container),this._options=Ot?Bt(At(this._options,Ot)):this._options,this._options.data&&(this._qr=qt()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(Gt){switch(!0){case/^[0-9]*$/.test(Gt):return dt;case/^[0-9A-Z $%*+\-./:]*$/.test(Gt):return mt;default:return pt}}(this._options.data)),this._qr.make(),this._options.type===bt?this._setupCanvas():this._setupSvg(),this.append(this._container))},zt.prototype.append=function(Ot){if(Ot){if(typeof Ot.appendChild!="function")throw"Container should be a single DOM node";this._options.type===bt?this._canvas&&Ot.appendChild(this._canvas):this._svg&&Ot.appendChild(this._svg),this._container=Ot}},zt.prototype.applyExtension=function(Ot){if(!Ot)throw"Extension function should be defined.";this._extension=Ot,this.update()},zt.prototype.deleteExtension=function(){this._extension=void 0,this.update()},zt.prototype.getRawData=function(Ot){return Ot===void 0&&(Ot="png"),nn(this,void 0,void 0,function(){var Gt,cn,tn;return un(this,function(yn){switch(yn.label){case 0:if(!this._qr)throw"QR code is empty";return[4,this._getElement(Ot)];case 1:return(Gt=yn.sent())?Ot.toLowerCase()==="svg"?(cn=new XMLSerializer,tn=cn.serializeToString(Gt),[2,new Blob([`<?xml version="1.0" standalone="no"?>\r
494
494
  `+tn],{type:"image/svg+xml"})]):[2,new Promise(function(xn){return Gt.toBlob(xn,"image/"+Ot,1)})]:[2,null]}})})},zt.prototype.download=function(Ot){return nn(this,void 0,void 0,function(){var Gt,cn,tn,yn,xn;return un(this,function(dn){switch(dn.label){case 0:if(!this._qr)throw"QR code is empty";return Gt="png",cn="qr",typeof Ot=="string"?(Gt=Ot,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):typeof Ot=="object"&&Ot!==null&&(Ot.name&&(cn=Ot.name),Ot.extension&&(Gt=Ot.extension)),[4,this._getElement(Gt)];case 1:return(tn=dn.sent())?(Gt.toLowerCase()==="svg"?(yn=new XMLSerializer,xn=`<?xml version="1.0" standalone="no"?>\r
495
495
  `+(xn=yn.serializeToString(tn)),Ct("data:image/svg+xml;charset=utf-8,"+encodeURIComponent(xn),cn+".svg")):Ct(tn.toDataURL("image/"+Gt),cn+"."+Gt),[2]):[2]}})})},zt}()}},et={};function nt(tt){if(et[tt])return et[tt].exports;var ot=et[tt]={exports:{}};return _e[tt](ot,ot.exports,nt),ot.exports}return nt.n=tt=>{var ot=tt&&tt.__esModule?()=>tt.default:()=>tt;return nt.d(ot,{a:ot}),ot},nt.d=(tt,ot)=>{for(var ft in ot)nt.o(ot,ft)&&!nt.o(tt,ft)&&Object.defineProperty(tt,ft,{enumerable:!0,get:ot[ft]})},nt.o=(tt,ot)=>Object.prototype.hasOwnProperty.call(tt,ot),nt(676)})().default})})(qrCodeStyling);var qrCodeStylingExports=qrCodeStyling.exports;const QRCodeStyling=getDefaultExportFromCjs$1(qrCodeStylingExports),defaults={margin:0,dotsOptions:{type:"dots"},cornersSquareOptions:{type:"extra-rounded"},cornersDotOptions:{type:"dot"}};function QRCode({data:a,size:j,image:_e,config:et,...nt}){const tt=reactExports.useRef(null),ot=reactExports.useMemo(()=>({...defaults,data:a,width:j,height:j,..._e&&{image:_e,imageOptions:{crossOrigin:"anonymous",margin:0}},...et}),[a,j,_e,et]),[ft]=reactExports.useState(new QRCodeStyling(ot));return reactExports.useEffect(()=>{tt.current&&ft.append(tt.current)},[ft,tt]),reactExports.useEffect(()=>{ft&&ft.update(ot)},[a,j,_e,et]),jsxRuntimeExports.jsx(Box,{ref:tt,...nt})}QRCode.propTypes={data:PropTypes.string.isRequired,size:PropTypes.number.isRequired,image:PropTypes.string,config:PropTypes.object};QRCode.defaultProps={image:null,config:{}};function MobileLoginItem({tokenState:a,locale:j,messages:_e}){const{t:et,matchSmallScreen:nt}=useStateContext(),tt="DID Wallet",ot=(_e==null?void 0:_e.scan)||et("scanWithWallet"),ft=et("download"),dt=et("downloadTips"),mt=160,pt=useCreation(()=>["zh","en"].includes?`https://www.didwallet.io/${j}`:"https://www.didwallet.io/en",[j]),yt=useCreation(()=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[dt," ",jsxRuntimeExports.jsx(Box,{component:"a",href:pt,target:"_blank",rel:"noopener",sx:{color:colors$1.foregroundsFgInteractive,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:ft})]}),[pt,ft,dt]);return jsxRuntimeExports.jsxs(ItemWrap,{sx:{display:"flex",gap:1,justifyContent:"space-between",alignItems:nt?"center":"stretch",flexDirection:nt?"column":"row"},children:[jsxRuntimeExports.jsx(Box,{sx:{display:nt?"none":"block"},children:jsxRuntimeExports.jsx(default_1$4,{width:"24px",height:"24px"})}),jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",flex:1,wordBreak:"break-word",width:nt?186:"auto"},children:[jsxRuntimeExports.jsxs(Typography,{sx:{fontSize:"14px",fontWeight:500,display:"flex",alignItems:"center",gap:1},children:[nt?jsxRuntimeExports.jsx(default_1$4,{width:"24px",height:"24px"}):null,tt]}),jsxRuntimeExports.jsx(Typography,{sx:{flex:1,color:colors$1.foregroundsFgMuted,fontSize:"12px"},children:ot}),jsxRuntimeExports.jsx(Box,{sx:{color:colors$1.foregroundsFgMuted,fontSize:"12px",display:nt?"none":"block"},children:yt})]}),jsxRuntimeExports.jsx(QRCode,{data:a.url,size:mt,sx:{p:1.5,borderRadius:2,border:`1px solid ${colors$1.strokeBorderBase}`,backgroundColor:"white",fontSize:0}}),jsxRuntimeExports.jsx(Box,{sx:{color:colors$1.textMuted,fontSize:"12px",display:nt?"block":"none"},children:yt})]})}MobileLoginItem.propTypes={tokenState:PropTypes.object.isRequired,locale:PropTypes.string,messages:PropTypes.object};MobileLoginItem.defaultProps={locale:"en",messages:{}};const data$f={width:256,height:315,body:'<path d="M213.803 167.03c.442 47.58 41.74 63.413 42.197 63.615c-.35 1.116-6.599 22.563-21.757 44.716c-13.104 19.153-26.705 38.235-48.13 38.63c-21.05.388-27.82-12.483-51.888-12.483c-24.061 0-31.582 12.088-51.51 12.871c-20.68.783-36.428-20.71-49.64-39.793c-27-39.033-47.633-110.3-19.928-158.406c13.763-23.89 38.36-39.017 65.056-39.405c20.307-.387 39.475 13.662 51.889 13.662c12.406 0 35.699-16.895 60.186-14.414c10.25.427 39.026 4.14 57.503 31.186c-1.49.923-34.335 20.044-33.978 59.822M174.24 50.199c10.98-13.29 18.369-31.79 16.353-50.199c-15.826.636-34.962 10.546-46.314 23.828c-10.173 11.763-19.082 30.589-16.678 48.633c17.64 1.365 35.66-8.964 46.64-22.262"/>'},data$e={width:256,height:250,body:'<path fill="#161614" d="M128.001 0C57.317 0 0 57.307 0 128.001c0 56.554 36.676 104.535 87.535 121.46c6.397 1.185 8.746-2.777 8.746-6.158c0-3.052-.12-13.135-.174-23.83c-35.61 7.742-43.124-15.103-43.124-15.103c-5.823-14.795-14.213-18.73-14.213-18.73c-11.613-7.944.876-7.78.876-7.78c12.853.902 19.621 13.19 19.621 13.19c11.417 19.568 29.945 13.911 37.249 10.64c1.149-8.272 4.466-13.92 8.127-17.116c-28.431-3.236-58.318-14.212-58.318-63.258c0-13.975 5-25.394 13.188-34.358c-1.329-3.224-5.71-16.242 1.24-33.874c0 0 10.749-3.44 35.21 13.121c10.21-2.836 21.16-4.258 32.038-4.307c10.878.049 21.837 1.47 32.066 4.307c24.431-16.56 35.165-13.12 35.165-13.12c6.967 17.63 2.584 30.65 1.255 33.873c8.207 8.964 13.173 20.383 13.173 34.358c0 49.163-29.944 59.988-58.447 63.157c4.591 3.972 8.682 11.762 8.682 23.704c0 17.126-.148 30.91-.148 35.126c0 3.407 2.304 7.398 8.792 6.14C219.37 232.5 256 184.537 256 128.002C256 57.307 198.691 0 128.001 0Zm-80.06 182.34c-.282.636-1.283.827-2.194.39c-.929-.417-1.45-1.284-1.15-1.922c.276-.655 1.279-.838 2.205-.399c.93.418 1.46 1.293 1.139 1.931Zm6.296 5.618c-.61.566-1.804.303-2.614-.591c-.837-.892-.994-2.086-.375-2.66c.63-.566 1.787-.301 2.626.591c.838.903 1 2.088.363 2.66Zm4.32 7.188c-.785.545-2.067.034-2.86-1.104c-.784-1.138-.784-2.503.017-3.05c.795-.547 2.058-.055 2.861 1.075c.782 1.157.782 2.522-.019 3.08Zm7.304 8.325c-.701.774-2.196.566-3.29-.49c-1.119-1.032-1.43-2.496-.726-3.27c.71-.776 2.213-.558 3.315.49c1.11 1.03 1.45 2.505.701 3.27Zm9.442 2.81c-.31 1.003-1.75 1.459-3.199 1.033c-1.448-.439-2.395-1.613-2.103-2.626c.301-1.01 1.747-1.484 3.207-1.028c1.446.436 2.396 1.602 2.095 2.622Zm10.744 1.193c.036 1.055-1.193 1.93-2.715 1.95c-1.53.034-2.769-.82-2.786-1.86c0-1.065 1.202-1.932 2.733-1.958c1.522-.03 2.768.818 2.768 1.868Zm10.555-.405c.182 1.03-.875 2.088-2.387 2.37c-1.485.271-2.861-.365-3.05-1.386c-.184-1.056.893-2.114 2.376-2.387c1.514-.263 2.868.356 3.061 1.403Z"/>'},data$d={width:256,height:262,body:'<path fill="#4285F4" d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"/><path fill="#34A853" d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"/><path fill="#FBBC05" d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782"/><path fill="#EB4335" d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"/>'};function IconItem({icon:a,...j}){return jsxRuntimeExports.jsx(IconButton,{...j,sx:{backgroundColor:"white",border:`1px solid ${colors$1.borderBase}`,...j==null?void 0:j.sx},children:jsxRuntimeExports.jsx(Icon,{icon:a,width:"1em",height:"1em"})})}IconItem.propTypes={icon:PropTypes.any.isRequired};function OAuthLoginStack({providerList:a,onLogin:j}){return jsxRuntimeExports.jsxs(ItemWrap,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[jsxRuntimeExports.jsx(Icon,{icon:data$m,fontSize:"1.3rem"}),jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"16px",fontWeight:"bold"},children:"Others"})]}),jsxRuntimeExports.jsx(Box,{sx:{display:"flex",gap:2},children:a.map(et=>{const nt={[LOGIN_PROVIDER$1.AUTH0]:data$j,[LOGIN_PROVIDER$1.APPLE]:data$f,[LOGIN_PROVIDER$1.GITHUB]:data$e,[LOGIN_PROVIDER$1.GOOGLE]:data$d};return jsxRuntimeExports.jsx(IconItem,{icon:nt[et.provider],onClick:()=>j(et)},et.provider)})})]})}OAuthLoginStack.propTypes={onLogin:PropTypes.func.isRequired,providerList:PropTypes.array.isRequired};function OAuthItem({title:a,icon:j,..._e}){return jsxRuntimeExports.jsxs(ItemWrap,{..._e,sx:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer","&:hover":{backgroundColor:colors$1.surfacePrimarySubtitle,"& .other-item-icon":{display:"inline-block",transform:"translateX(0)",opacity:"1"}},"& .other-item-icon":{opacity:"0",transform:"translateX(-100%)",transition:"transform 0.2s ease"},..._e==null?void 0:_e.sx},children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[jsxRuntimeExports.jsx(Icon,{icon:j,width:"1em",height:"1em",fontSize:"1.5rem",style:{transform:"scale(0.95)"}}),jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"16px",fontWeight:"bold"},children:a})]}),jsxRuntimeExports.jsx(Icon,{className:"other-item-icon",icon:data$p,fontSize:"1.3rem",color:colors$1.primaryBase})]})}OAuthItem.propTypes={title:PropTypes.string.isRequired,icon:PropTypes.string.isRequired};function OAuthLoginList({providerList:a,onLogin:j}){const{t:_e}=useStateContext(),et={[LOGIN_PROVIDER$1.AUTH0]:data$j,[LOGIN_PROVIDER$1.APPLE]:data$f,[LOGIN_PROVIDER$1.GITHUB]:data$e,[LOGIN_PROVIDER$1.GOOGLE]:data$d};return jsxRuntimeExports.jsx(Box,{sx:{display:"flex",flexDirection:"column",gap:1.5},children:a.map(nt=>{if(nt.provider===LOGIN_PROVIDER$1.AUTH0&&a.length===1){const tt=_e("otherAccount");return jsxRuntimeExports.jsxs(ItemWrap,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer","&:hover":{backgroundColor:colors$1.surfacePrimarySubtitle}},onClick:()=>{j(nt)},children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[jsxRuntimeExports.jsx(Icon,{icon:data$m,fontSize:"1.3rem"}),jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"16px",fontWeight:"bold"},children:tt})]}),jsxRuntimeExports.jsx(Box,{sx:{display:"flex",gap:2},children:[{provider:"auth0"},{provider:"google"},{provider:"apple"}].map(ot=>jsxRuntimeExports.jsx(IconButton,{sx:{backgroundColor:"white",border:`1px solid ${colors$1.borderBase}`},children:jsxRuntimeExports.jsx(Icon,{icon:et[ot.provider],width:"1em",height:"1em"})},ot.provider))})]},nt.provider)}return jsxRuntimeExports.jsx(OAuthItem,{title:OAUTH_PROVIDER[nt.provider],icon:et[nt.provider],onClick:()=>{j(nt)}},nt.provider)})})}OAuthLoginList.propTypes={onLogin:PropTypes.func.isRequired,providerList:PropTypes.array.isRequired};function OAuthLogin({providerList:a,type:j,onSuccess:_e,onError:et,tokenState:nt}){const{extraParams:tt,changeStatus:ot}=useStateContext(),{loginOAuth:ft,logoutOAuth:dt,t:mt,oauthState:pt}=useOAuth(),yt=useMemoizedFn(async Tt=>{const St=tt==null?void 0:tt.sourceAppPid;try{pt.loading=!0,pt.status="scanned";const At=await ft(Tt,{action:nt.action,...tt}),Ct=getCookieOptions({returnDomain:!1});Cookie.remove("connected_did",Ct),Cookie.remove("connected_pk",Ct),Cookie.remove("connected_wallet_os",Ct),At!=null&&At.sessionToken&&(pt.loading=!1,pt.status="succeed",_e({...At,encrypted:!1},Mt=>Mt,{sourceAppPid:St,connected_app:getAppId$1(nt.appInfo,nt.memberAppInfo)}))}catch(At){const Ct=getApiErrorMessage(At,mt("loginOAuthFailed"));pt.loading=!1,pt.error=Ct,pt.status="error",await dt({provider:Tt.provider}),et(new Error(Ct))}});return reactExports.useEffect(()=>{ot(pt.status)},[ot,pt.status]),j==="stack"?jsxRuntimeExports.jsx(OAuthLoginStack,{providerList:a,onLogin:yt}):jsxRuntimeExports.jsx(OAuthLoginList,{providerList:a,onLogin:yt})}OAuthLogin.propTypes={providerList:PropTypes.array.isRequired,type:PropTypes.oneOf(["list","stack"]),onSuccess:PropTypes.func.isRequired,onError:PropTypes.func.isRequired,tokenState:PropTypes.object.isRequired};OAuthLogin.defaultProps={type:"stack"};function arraySome$1(a,j){for(var _e=-1,et=a==null?0:a.length;++_e<et;)if(j(a[_e],_e,a))return!0;return!1}var _arraySome=arraySome$1,SetCache$1=_SetCache,arraySome=_arraySome,cacheHas$1=_cacheHas,COMPARE_PARTIAL_FLAG$5=1,COMPARE_UNORDERED_FLAG$3=2;function equalArrays$2(a,j,_e,et,nt,tt){var ot=_e&COMPARE_PARTIAL_FLAG$5,ft=a.length,dt=j.length;if(ft!=dt&&!(ot&&dt>ft))return!1;var mt=tt.get(a),pt=tt.get(j);if(mt&&pt)return mt==j&&pt==a;var yt=-1,Tt=!0,St=_e&COMPARE_UNORDERED_FLAG$3?new SetCache$1:void 0;for(tt.set(a,j),tt.set(j,a);++yt<ft;){var At=a[yt],Ct=j[yt];if(et)var Mt=ot?et(Ct,At,yt,j,a,tt):et(At,Ct,yt,a,j,tt);if(Mt!==void 0){if(Mt)continue;Tt=!1;break}if(St){if(!arraySome(j,function(kt,Pt){if(!cacheHas$1(St,Pt)&&(At===kt||nt(At,kt,_e,et,tt)))return St.push(Pt)})){Tt=!1;break}}else if(!(At===Ct||nt(At,Ct,_e,et,tt))){Tt=!1;break}}return tt.delete(a),tt.delete(j),Tt}var _equalArrays=equalArrays$2;function mapToArray$1(a){var j=-1,_e=Array(a.size);return a.forEach(function(et,nt){_e[++j]=[nt,et]}),_e}var _mapToArray=mapToArray$1;function setToArray$3(a){var j=-1,_e=Array(a.size);return a.forEach(function(et){_e[++j]=et}),_e}var _setToArray=setToArray$3,Symbol$4=_Symbol,Uint8Array$1=_Uint8Array,eq$5=eq_1$1,equalArrays$1=_equalArrays,mapToArray=_mapToArray,setToArray$2=_setToArray,COMPARE_PARTIAL_FLAG$4=1,COMPARE_UNORDERED_FLAG$2=2,boolTag$1="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag$1="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto$2=Symbol$4?Symbol$4.prototype:void 0,symbolValueOf=symbolProto$2?symbolProto$2.valueOf:void 0;function equalByTag$1(a,j,_e,et,nt,tt,ot){switch(_e){case dataViewTag:if(a.byteLength!=j.byteLength||a.byteOffset!=j.byteOffset)return!1;a=a.buffer,j=j.buffer;case arrayBufferTag:return!(a.byteLength!=j.byteLength||!tt(new Uint8Array$1(a),new Uint8Array$1(j)));case boolTag$1:case dateTag:case numberTag$1:return eq$5(+a,+j);case errorTag:return a.name==j.name&&a.message==j.message;case regexpTag:case stringTag:return a==j+"";case mapTag:var ft=mapToArray;case setTag:var dt=et&COMPARE_PARTIAL_FLAG$4;if(ft||(ft=setToArray$2),a.size!=j.size&&!dt)return!1;var mt=ot.get(a);if(mt)return mt==j;et|=COMPARE_UNORDERED_FLAG$2,ot.set(a,j);var pt=equalArrays$1(ft(a),ft(j),et,nt,tt,ot);return ot.delete(a),pt;case symbolTag$2:if(symbolValueOf)return symbolValueOf.call(a)==symbolValueOf.call(j)}return!1}var _equalByTag=equalByTag$1,getAllKeys=_getAllKeys,COMPARE_PARTIAL_FLAG$3=1,objectProto$3=Object.prototype,hasOwnProperty$6=objectProto$3.hasOwnProperty;function equalObjects$1(a,j,_e,et,nt,tt){var ot=_e&COMPARE_PARTIAL_FLAG$3,ft=getAllKeys(a),dt=ft.length,mt=getAllKeys(j),pt=mt.length;if(dt!=pt&&!ot)return!1;for(var yt=dt;yt--;){var Tt=ft[yt];if(!(ot?Tt in j:hasOwnProperty$6.call(j,Tt)))return!1}var St=tt.get(a),At=tt.get(j);if(St&&At)return St==j&&At==a;var Ct=!0;tt.set(a,j),tt.set(j,a);for(var Mt=ot;++yt<dt;){Tt=ft[yt];var kt=a[Tt],Pt=j[Tt];if(et)var Lt=ot?et(Pt,kt,Tt,j,a,tt):et(kt,Pt,Tt,a,j,tt);if(!(Lt===void 0?kt===Pt||nt(kt,Pt,_e,et,tt):Lt)){Ct=!1;break}Mt||(Mt=Tt=="constructor")}if(Ct&&!Mt){var Ft=a.constructor,Yt=j.constructor;Ft!=Yt&&"constructor"in a&&"constructor"in j&&!(typeof Ft=="function"&&Ft instanceof Ft&&typeof Yt=="function"&&Yt instanceof Yt)&&(Ct=!1)}return tt.delete(a),tt.delete(j),Ct}var _equalObjects=equalObjects$1,Stack$1=_Stack,equalArrays=_equalArrays,equalByTag=_equalByTag,equalObjects=_equalObjects,getTag=_getTag,isArray$7=isArray_1,isBuffer=isBufferExports,isTypedArray=isTypedArray_1,COMPARE_PARTIAL_FLAG$2=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto$2=Object.prototype,hasOwnProperty$5=objectProto$2.hasOwnProperty;function baseIsEqualDeep$1(a,j,_e,et,nt,tt){var ot=isArray$7(a),ft=isArray$7(j),dt=ot?arrayTag:getTag(a),mt=ft?arrayTag:getTag(j);dt=dt==argsTag?objectTag:dt,mt=mt==argsTag?objectTag:mt;var pt=dt==objectTag,yt=mt==objectTag,Tt=dt==mt;if(Tt&&isBuffer(a)){if(!isBuffer(j))return!1;ot=!0,pt=!1}if(Tt&&!pt)return tt||(tt=new Stack$1),ot||isTypedArray(a)?equalArrays(a,j,_e,et,nt,tt):equalByTag(a,j,dt,_e,et,nt,tt);if(!(_e&COMPARE_PARTIAL_FLAG$2)){var St=pt&&hasOwnProperty$5.call(a,"__wrapped__"),At=yt&&hasOwnProperty$5.call(j,"__wrapped__");if(St||At){var Ct=St?a.value():a,Mt=At?j.value():j;return tt||(tt=new Stack$1),nt(Ct,Mt,_e,et,tt)}}return Tt?(tt||(tt=new Stack$1),equalObjects(a,j,_e,et,nt,tt)):!1}var _baseIsEqualDeep=baseIsEqualDeep$1,baseIsEqualDeep=_baseIsEqualDeep,isObjectLike$5=isObjectLike_1;function baseIsEqual$3(a,j,_e,et,nt){return a===j?!0:a==null||j==null||!isObjectLike$5(a)&&!isObjectLike$5(j)?a!==a&&j!==j:baseIsEqualDeep(a,j,_e,et,baseIsEqual$3,nt)}var _baseIsEqual=baseIsEqual$3,Stack=_Stack,baseIsEqual$2=_baseIsEqual,COMPARE_PARTIAL_FLAG$1=1,COMPARE_UNORDERED_FLAG$1=2;function baseIsMatch$1(a,j,_e,et){var nt=_e.length,tt=nt,ot=!et;if(a==null)return!tt;for(a=Object(a);nt--;){var ft=_e[nt];if(ot&&ft[2]?ft[1]!==a[ft[0]]:!(ft[0]in a))return!1}for(;++nt<tt;){ft=_e[nt];var dt=ft[0],mt=a[dt],pt=ft[1];if(ot&&ft[2]){if(mt===void 0&&!(dt in a))return!1}else{var yt=new Stack;if(et)var Tt=et(mt,pt,dt,a,j,yt);if(!(Tt===void 0?baseIsEqual$2(pt,mt,COMPARE_PARTIAL_FLAG$1|COMPARE_UNORDERED_FLAG$1,et,yt):Tt))return!1}}return!0}var _baseIsMatch=baseIsMatch$1,isObject$9=isObject_1;function isStrictComparable$2(a){return a===a&&!isObject$9(a)}var _isStrictComparable=isStrictComparable$2,isStrictComparable$1=_isStrictComparable,keys$2=keys_1;function getMatchData$1(a){for(var j=keys$2(a),_e=j.length;_e--;){var et=j[_e],nt=a[et];j[_e]=[et,nt,isStrictComparable$1(nt)]}return j}var _getMatchData=getMatchData$1;function matchesStrictComparable$2(a,j){return function(_e){return _e==null?!1:_e[a]===j&&(j!==void 0||a in Object(_e))}}var _matchesStrictComparable=matchesStrictComparable$2,baseIsMatch=_baseIsMatch,getMatchData=_getMatchData,matchesStrictComparable$1=_matchesStrictComparable;function baseMatches$1(a){var j=getMatchData(a);return j.length==1&&j[0][2]?matchesStrictComparable$1(j[0][0],j[0][1]):function(_e){return _e===a||baseIsMatch(_e,a,j)}}var _baseMatches=baseMatches$1,baseIsEqual$1=_baseIsEqual,get$4=get_1,hasIn=hasIn_1,isKey$3=_isKey,isStrictComparable=_isStrictComparable,matchesStrictComparable=_matchesStrictComparable,toKey$3=_toKey,COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty$1(a,j){return isKey$3(a)&&isStrictComparable(j)?matchesStrictComparable(toKey$3(a),j):function(_e){var et=get$4(_e,a);return et===void 0&&et===j?hasIn(_e,a):baseIsEqual$1(j,et,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}var _baseMatchesProperty=baseMatchesProperty$1,baseGet$2=_baseGet;function basePropertyDeep$1(a){return function(j){return baseGet$2(j,a)}}var _basePropertyDeep=basePropertyDeep$1,baseProperty=_baseProperty,basePropertyDeep=_basePropertyDeep,isKey$2=_isKey,toKey$2=_toKey;function property$1(a){return isKey$2(a)?baseProperty(toKey$2(a)):basePropertyDeep(a)}var property_1=property$1,baseMatches=_baseMatches,baseMatchesProperty=_baseMatchesProperty,identity$1=identity_1,isArray$6=isArray_1,property=property_1;function baseIteratee$4(a){return typeof a=="function"?a:a==null?identity$1:typeof a=="object"?isArray$6(a)?baseMatchesProperty(a[0],a[1]):baseMatches(a):property(a)}var _baseIteratee=baseIteratee$4,FUNC_ERROR_TEXT$2="Expected a function";function negate$1(a){if(typeof a!="function")throw new TypeError(FUNC_ERROR_TEXT$2);return function(){var j=arguments;switch(j.length){case 0:return!a.call(this);case 1:return!a.call(this,j[0]);case 2:return!a.call(this,j[0],j[1]);case 3:return!a.call(this,j[0],j[1],j[2])}return!a.apply(this,j)}}var negate_1=negate$1,arrayMap$1=_arrayMap,baseIteratee$3=_baseIteratee,basePickBy=_basePickBy,getAllKeysIn=_getAllKeysIn;function pickBy$1(a,j){if(a==null)return{};var _e=arrayMap$1(getAllKeysIn(a),function(et){return[et]});return j=baseIteratee$3(j),basePickBy(a,_e,function(et,nt){return j(et,nt[0])})}var pickBy_1=pickBy$1,baseIteratee$2=_baseIteratee,negate=negate_1,pickBy=pickBy_1;function omitBy(a,j){return pickBy(a,negate(baseIteratee$2(j)))}var omitBy_1=omitBy;const omitBy$1=getDefaultExportFromCjs$1(omitBy_1);function useInterval(a,j){const _e=reactExports.useRef();reactExports.useEffect(()=>{_e.current=a},[a]),reactExports.useEffect(()=>{function et(){_e.current()}if(j!==null){const nt=setInterval(et,j);return()=>clearInterval(nt)}},[j])}var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(a,j)=>{for(var _e in j)__defProp(a,_e,{get:j[_e],enumerable:!0})},__copyProps=(a,j,_e,et)=>{if(j&&typeof j=="object"||typeof j=="function")for(let nt of __getOwnPropNames(j))!__hasOwnProp.call(a,nt)&&nt!==_e&&__defProp(a,nt,{get:()=>j[nt],enumerable:!(et=__getOwnPropDesc(j,nt))||et.enumerable});return a},__toCommonJS=a=>__copyProps(__defProp({},"__esModule",{value:!0}),a),phoenix_exports={};__export(phoenix_exports,{Channel:()=>Channel,LongPoll:()=>LongPoll,Presence:()=>Presence,Serializer:()=>serializer_default,Socket:()=>Socket$1});var phoenix_cjs=__toCommonJS(phoenix_exports),closure=a=>typeof a=="function"?a:function(){return a},globalSelf=typeof self<"u"?self:null,phxWindow=typeof window<"u"?window:null,global$1=globalSelf||phxWindow||global$1,DEFAULT_VSN="2.0.0",SOCKET_STATES={connecting:0,open:1,closing:2,closed:3},DEFAULT_TIMEOUT=1e4,WS_CLOSE_NORMAL=1e3,CHANNEL_STATES={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},CHANNEL_EVENTS={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},TRANSPORTS={longpoll:"longpoll",websocket:"websocket"},XHR_STATES={complete:4},Push=class{constructor(a,j,_e,et){this.channel=a,this.event=j,this.payload=_e||function(){return{}},this.receivedResp=null,this.timeout=et,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(a){this.timeout=a,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(a,j){return this.hasReceived(a)&&j(this.receivedResp.response),this.recHooks.push({status:a,callback:j}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:a,response:j,_ref:_e}){this.recHooks.filter(et=>et.status===a).forEach(et=>et.callback(j))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,a=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=a,this.matchReceive(a)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(a){return this.receivedResp&&this.receivedResp.status===a}trigger(a,j){this.channel.trigger(this.refEvent,{status:a,response:j})}},Timer=class{constructor(a,j){this.callback=a,this.timerCalc=j,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},Channel=class{constructor(a,j,_e){this.state=CHANNEL_STATES.closed,this.topic=a,this.params=closure(j||{}),this.socket=_e,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new Push(this,CHANNEL_EVENTS.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new Timer(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=CHANNEL_STATES.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(et=>et.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=CHANNEL_STATES.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic} ${this.joinRef()}`),this.state=CHANNEL_STATES.closed,this.socket.remove(this)}),this.onError(et=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,et),this.isJoining()&&this.joinPush.reset(),this.state=CHANNEL_STATES.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic} (${this.joinRef()})`,this.joinPush.timeout),new Push(this,CHANNEL_EVENTS.leave,closure({}),this.timeout).send(),this.state=CHANNEL_STATES.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(CHANNEL_EVENTS.reply,(et,nt)=>{this.trigger(this.replyEventName(nt),et)})}join(a=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=a,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(a){this.on(CHANNEL_EVENTS.close,a)}onError(a){return this.on(CHANNEL_EVENTS.error,j=>a(j))}on(a,j){let _e=this.bindingRef++;return this.bindings.push({event:a,ref:_e,callback:j}),_e}off(a,j){this.bindings=this.bindings.filter(_e=>!(_e.event===a&&(typeof j>"u"||j===_e.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(a,j,_e=this.timeout){if(j=j||{},!this.joinedOnce)throw new Error(`tried to push '${a}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let et=new Push(this,a,function(){return j},_e);return this.canPush()?et.send():(et.startTimeout(),this.pushBuffer.push(et)),et}leave(a=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=CHANNEL_STATES.leaving;let j=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(CHANNEL_EVENTS.close,"leave")},_e=new Push(this,CHANNEL_EVENTS.leave,closure({}),a);return _e.receive("ok",()=>j()).receive("timeout",()=>j()),_e.send(),this.canPush()||_e.trigger("ok",{}),_e}onMessage(a,j,_e){return j}isMember(a,j,_e,et){return this.topic!==a?!1:et&&et!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:a,event:j,payload:_e,joinRef:et}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(a=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=CHANNEL_STATES.joining,this.joinPush.resend(a))}trigger(a,j,_e,et){let nt=this.onMessage(a,j,_e,et);if(j&&!nt)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let tt=this.bindings.filter(ot=>ot.event===a);for(let ot=0;ot<tt.length;ot++)tt[ot].callback(nt,_e,et||this.joinRef())}replyEventName(a){return`chan_reply_${a}`}isClosed(){return this.state===CHANNEL_STATES.closed}isErrored(){return this.state===CHANNEL_STATES.errored}isJoined(){return this.state===CHANNEL_STATES.joined}isJoining(){return this.state===CHANNEL_STATES.joining}isLeaving(){return this.state===CHANNEL_STATES.leaving}},Ajax=class{static request(a,j,_e,et,nt,tt,ot){if(global$1.XDomainRequest){let ft=new global$1.XDomainRequest;return this.xdomainRequest(ft,a,j,et,nt,tt,ot)}else{let ft=new global$1.XMLHttpRequest;return this.xhrRequest(ft,a,j,_e,et,nt,tt,ot)}}static xdomainRequest(a,j,_e,et,nt,tt,ot){return a.timeout=nt,a.open(j,_e),a.onload=()=>{let ft=this.parseJSON(a.responseText);ot&&ot(ft)},tt&&(a.ontimeout=tt),a.onprogress=()=>{},a.send(et),a}static xhrRequest(a,j,_e,et,nt,tt,ot,ft){return a.open(j,_e,!0),a.timeout=tt,a.setRequestHeader("Content-Type",et),a.onerror=()=>ft&&ft(null),a.onreadystatechange=()=>{if(a.readyState===XHR_STATES.complete&&ft){let dt=this.parseJSON(a.responseText);ft(dt)}},ot&&(a.ontimeout=ot),a.send(nt),a}static parseJSON(a){if(!a||a==="")return null;try{return JSON.parse(a)}catch{return console&&console.log("failed to parse JSON response",a),null}}static serialize(a,j){let _e=[];for(var et in a){if(!Object.prototype.hasOwnProperty.call(a,et))continue;let nt=j?`${j}[${et}]`:et,tt=a[et];typeof tt=="object"?_e.push(this.serialize(tt,nt)):_e.push(encodeURIComponent(nt)+"="+encodeURIComponent(tt))}return _e.join("&")}static appendParams(a,j){if(Object.keys(j).length===0)return a;let _e=a.match(/\?/)?"&":"?";return`${a}${_e}${this.serialize(j)}`}},LongPoll=class{constructor(a){this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(a),this.readyState=SOCKET_STATES.connecting,this.poll()}normalizeEndpoint(a){return a.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+TRANSPORTS.websocket),"$1/"+TRANSPORTS.longpoll)}endpointURL(){return Ajax.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(a,j,_e){this.close(a,j,_e),this.readyState=SOCKET_STATES.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===SOCKET_STATES.open||this.readyState===SOCKET_STATES.connecting}poll(){this.ajax("GET","application/json",null,()=>this.ontimeout(),a=>{if(a){var{status:j,token:_e,messages:et}=a;this.token=_e}else j=0;switch(j){case 200:et.forEach(nt=>{setTimeout(()=>this.onmessage({data:nt}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=SOCKET_STATES.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${j}`)}})}send(a){this.currentBatch?this.currentBatch.push(a):this.awaitingBatchAck?this.batchBuffer.push(a):(this.currentBatch=[a],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(a){this.awaitingBatchAck=!0,this.ajax("POST","application/x-ndjson",a.join(`
496
- `),()=>this.onerror("timeout"),j=>{this.awaitingBatchAck=!1,!j||j.status!==200?(this.onerror(j&&j.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(a,j,_e){for(let nt of this.reqs)nt.abort();this.readyState=SOCKET_STATES.closed;let et=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:a,reason:j,wasClean:_e});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",et)):this.onclose(et)}ajax(a,j,_e,et,nt){let tt,ot=()=>{this.reqs.delete(tt),et()};tt=Ajax.request(a,this.endpointURL(),j,_e,this.timeout,ot,ft=>{this.reqs.delete(tt),this.isActive()&&nt(ft)}),this.reqs.add(tt)}},Presence=class{constructor(a,j={}){let _e=j.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=a,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(_e.state,et=>{let{onJoin:nt,onLeave:tt,onSync:ot}=this.caller;this.joinRef=this.channel.joinRef(),this.state=Presence.syncState(this.state,et,nt,tt),this.pendingDiffs.forEach(ft=>{this.state=Presence.syncDiff(this.state,ft,nt,tt)}),this.pendingDiffs=[],ot()}),this.channel.on(_e.diff,et=>{let{onJoin:nt,onLeave:tt,onSync:ot}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(et):(this.state=Presence.syncDiff(this.state,et,nt,tt),ot())})}onJoin(a){this.caller.onJoin=a}onLeave(a){this.caller.onLeave=a}onSync(a){this.caller.onSync=a}list(a){return Presence.list(this.state,a)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(a,j,_e,et){let nt=this.clone(a),tt={},ot={};return this.map(nt,(ft,dt)=>{j[ft]||(ot[ft]=dt)}),this.map(j,(ft,dt)=>{let mt=nt[ft];if(mt){let pt=dt.metas.map(At=>At.phx_ref),yt=mt.metas.map(At=>At.phx_ref),Tt=dt.metas.filter(At=>yt.indexOf(At.phx_ref)<0),St=mt.metas.filter(At=>pt.indexOf(At.phx_ref)<0);Tt.length>0&&(tt[ft]=dt,tt[ft].metas=Tt),St.length>0&&(ot[ft]=this.clone(mt),ot[ft].metas=St)}else tt[ft]=dt}),this.syncDiff(nt,{joins:tt,leaves:ot},_e,et)}static syncDiff(a,j,_e,et){let{joins:nt,leaves:tt}=this.clone(j);return _e||(_e=function(){}),et||(et=function(){}),this.map(nt,(ot,ft)=>{let dt=a[ot];if(a[ot]=this.clone(ft),dt){let mt=a[ot].metas.map(yt=>yt.phx_ref),pt=dt.metas.filter(yt=>mt.indexOf(yt.phx_ref)<0);a[ot].metas.unshift(...pt)}_e(ot,dt,ft)}),this.map(tt,(ot,ft)=>{let dt=a[ot];if(!dt)return;let mt=ft.metas.map(pt=>pt.phx_ref);dt.metas=dt.metas.filter(pt=>mt.indexOf(pt.phx_ref)<0),et(ot,dt,ft),dt.metas.length===0&&delete a[ot]}),a}static list(a,j){return j||(j=function(_e,et){return et}),this.map(a,(_e,et)=>j(_e,et))}static map(a,j){return Object.getOwnPropertyNames(a).map(_e=>j(_e,a[_e]))}static clone(a){return JSON.parse(JSON.stringify(a))}},serializer_default={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(a,j){if(a.payload.constructor===ArrayBuffer)return j(this.binaryEncode(a));{let _e=[a.join_ref,a.ref,a.topic,a.event,a.payload];return j(JSON.stringify(_e))}},decode(a,j){if(a.constructor===ArrayBuffer)return j(this.binaryDecode(a));{let[_e,et,nt,tt,ot]=JSON.parse(a);return j({join_ref:_e,ref:et,topic:nt,event:tt,payload:ot})}},binaryEncode(a){let{join_ref:j,ref:_e,event:et,topic:nt,payload:tt}=a,ot=this.META_LENGTH+j.length+_e.length+nt.length+et.length,ft=new ArrayBuffer(this.HEADER_LENGTH+ot),dt=new DataView(ft),mt=0;dt.setUint8(mt++,this.KINDS.push),dt.setUint8(mt++,j.length),dt.setUint8(mt++,_e.length),dt.setUint8(mt++,nt.length),dt.setUint8(mt++,et.length),Array.from(j,yt=>dt.setUint8(mt++,yt.charCodeAt(0))),Array.from(_e,yt=>dt.setUint8(mt++,yt.charCodeAt(0))),Array.from(nt,yt=>dt.setUint8(mt++,yt.charCodeAt(0))),Array.from(et,yt=>dt.setUint8(mt++,yt.charCodeAt(0)));var pt=new Uint8Array(ft.byteLength+tt.byteLength);return pt.set(new Uint8Array(ft),0),pt.set(new Uint8Array(tt),ft.byteLength),pt.buffer},binaryDecode(a){let j=new DataView(a),_e=j.getUint8(0),et=new TextDecoder;switch(_e){case this.KINDS.push:return this.decodePush(a,j,et);case this.KINDS.reply:return this.decodeReply(a,j,et);case this.KINDS.broadcast:return this.decodeBroadcast(a,j,et)}},decodePush(a,j,_e){let et=j.getUint8(1),nt=j.getUint8(2),tt=j.getUint8(3),ot=this.HEADER_LENGTH+this.META_LENGTH-1,ft=_e.decode(a.slice(ot,ot+et));ot=ot+et;let dt=_e.decode(a.slice(ot,ot+nt));ot=ot+nt;let mt=_e.decode(a.slice(ot,ot+tt));ot=ot+tt;let pt=a.slice(ot,a.byteLength);return{join_ref:ft,ref:null,topic:dt,event:mt,payload:pt}},decodeReply(a,j,_e){let et=j.getUint8(1),nt=j.getUint8(2),tt=j.getUint8(3),ot=j.getUint8(4),ft=this.HEADER_LENGTH+this.META_LENGTH,dt=_e.decode(a.slice(ft,ft+et));ft=ft+et;let mt=_e.decode(a.slice(ft,ft+nt));ft=ft+nt;let pt=_e.decode(a.slice(ft,ft+tt));ft=ft+tt;let yt=_e.decode(a.slice(ft,ft+ot));ft=ft+ot;let Tt=a.slice(ft,a.byteLength),St={status:yt,response:Tt};return{join_ref:dt,ref:mt,topic:pt,event:CHANNEL_EVENTS.reply,payload:St}},decodeBroadcast(a,j,_e){let et=j.getUint8(1),nt=j.getUint8(2),tt=this.HEADER_LENGTH+2,ot=_e.decode(a.slice(tt,tt+et));tt=tt+et;let ft=_e.decode(a.slice(tt,tt+nt));tt=tt+nt;let dt=a.slice(tt,a.byteLength);return{join_ref:null,ref:null,topic:ot,event:ft,payload:dt}}},Socket$1=class{constructor(j,_e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=_e.timeout||DEFAULT_TIMEOUT,this.transport=_e.transport||global$1.WebSocket||LongPoll,this.establishedConnections=0,this.defaultEncoder=serializer_default.encode.bind(serializer_default),this.defaultDecoder=serializer_default.decode.bind(serializer_default),this.closeWasClean=!1,this.binaryType=_e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==LongPoll?(this.encode=_e.encode||this.defaultEncoder,this.decode=_e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let et=null;phxWindow&&phxWindow.addEventListener&&(phxWindow.addEventListener("pagehide",nt=>{this.conn&&(this.disconnect(),et=this.connectClock)}),phxWindow.addEventListener("pageshow",nt=>{et===this.connectClock&&(et=null,this.connect())})),this.heartbeatIntervalMs=_e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=nt=>_e.rejoinAfterMs?_e.rejoinAfterMs(nt):[1e3,2e3,5e3][nt-1]||1e4,this.reconnectAfterMs=nt=>_e.reconnectAfterMs?_e.reconnectAfterMs(nt):[10,50,100,150,200,250,500,1e3,2e3][nt-1]||5e3,this.logger=_e.logger||null,this.longpollerTimeout=_e.longpollerTimeout||2e4,this.params=closure(_e.params||{}),this.endPoint=`${j}/${TRANSPORTS.websocket}`,this.vsn=_e.vsn||DEFAULT_VSN,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new Timer(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return LongPoll}replaceTransport(j){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=j}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let j=Ajax.appendParams(Ajax.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return j.charAt(0)!=="/"?j:j.charAt(1)==="/"?`${this.protocol()}:${j}`:`${this.protocol()}://${location.host}${j}`}disconnect(j,_e,et){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(j,_e,et)}connect(j){j&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=closure(j)),!this.conn&&(this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=_e=>this.onConnError(_e),this.conn.onmessage=_e=>this.onConnMessage(_e),this.conn.onclose=_e=>this.onConnClose(_e))}log(j,_e,et){this.logger(j,_e,et)}hasLogger(){return this.logger!==null}onOpen(j){let _e=this.makeRef();return this.stateChangeCallbacks.open.push([_e,j]),_e}onClose(j){let _e=this.makeRef();return this.stateChangeCallbacks.close.push([_e,j]),_e}onError(j){let _e=this.makeRef();return this.stateChangeCallbacks.error.push([_e,j]),_e}onMessage(j){let _e=this.makeRef();return this.stateChangeCallbacks.message.push([_e,j]),_e}ping(j){if(!this.isConnected())return!1;let _e=this.makeRef(),et=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:_e});let nt=this.onMessage(tt=>{tt.ref===_e&&(this.off([nt]),j(Date.now()-et))});return!0}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,j])=>j())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),WS_CLOSE_NORMAL,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(j,_e,et){if(!this.conn)return j&&j();this.waitForBufferDone(()=>{this.conn&&(_e?this.conn.close(_e,et||""):this.conn.close()),this.waitForSocketClosed(()=>{this.conn&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),j&&j()})})}waitForBufferDone(j,_e=1){if(_e===5||!this.conn||!this.conn.bufferedAmount){j();return}setTimeout(()=>{this.waitForBufferDone(j,_e+1)},150*_e)}waitForSocketClosed(j,_e=1){if(_e===5||!this.conn||this.conn.readyState===SOCKET_STATES.closed){j();return}setTimeout(()=>{this.waitForSocketClosed(j,_e+1)},150*_e)}onConnClose(j){let _e=j&&j.code;this.hasLogger()&&this.log("transport","close",j),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&_e!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,et])=>et(j))}onConnError(j){this.hasLogger()&&this.log("transport",j);let _e=this.transport,et=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,nt])=>{nt(j,_e,et)}),(_e===this.transport||et>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(j=>{j.isErrored()||j.isLeaving()||j.isClosed()||j.trigger(CHANNEL_EVENTS.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case SOCKET_STATES.connecting:return"connecting";case SOCKET_STATES.open:return"open";case SOCKET_STATES.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(j){this.off(j.stateChangeRefs),this.channels=this.channels.filter(_e=>_e.joinRef()!==j.joinRef())}off(j){for(let _e in this.stateChangeCallbacks)this.stateChangeCallbacks[_e]=this.stateChangeCallbacks[_e].filter(([et])=>j.indexOf(et)===-1)}channel(j,_e={}){let et=new Channel(j,_e,this);return this.channels.push(et),et}push(j){if(this.hasLogger()){let{topic:_e,event:et,payload:nt,ref:tt,join_ref:ot}=j;this.log("push",`${_e} ${et} (${ot}, ${tt})`,nt)}this.isConnected()?this.encode(j,_e=>this.conn.send(_e)):this.sendBuffer.push(()=>this.encode(j,_e=>this.conn.send(_e)))}makeRef(){let j=this.ref+1;return j===this.ref?this.ref=0:this.ref=j,this.ref.toString()}sendHeartbeat(){this.pendingHeartbeatRef&&!this.isConnected()||(this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs))}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(j=>j()),this.sendBuffer=[])}onConnMessage(j){this.decode(j.data,_e=>{let{topic:et,event:nt,payload:tt,ref:ot,join_ref:ft}=_e;ot&&ot===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${tt.status||""} ${et} ${nt} ${ot&&"("+ot+")"||""}`,tt);for(let dt=0;dt<this.channels.length;dt++){const mt=this.channels[dt];mt.isMember(et,nt,tt,ft)&&mt.trigger(nt,tt,ot,ft)}for(let dt=0;dt<this.stateChangeCallbacks.message.length;dt++){let[,mt]=this.stateChangeCallbacks.message[dt];mt(_e)}})}leaveOpenTopic(j){let _e=this.channels.find(et=>et.topic===j&&(et.isJoined()||et.isJoining()));_e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${j}"`),_e.leave())}},browser$5={exports:{}},ms,hasRequiredMs;function requireMs(){if(hasRequiredMs)return ms;hasRequiredMs=1;var a=1e3,j=a*60,_e=j*60,et=_e*24,nt=et*7,tt=et*365.25;ms=function(pt,yt){yt=yt||{};var Tt=typeof pt;if(Tt==="string"&&pt.length>0)return ot(pt);if(Tt==="number"&&isFinite(pt))return yt.long?dt(pt):ft(pt);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(pt))};function ot(pt){if(pt=String(pt),!(pt.length>100)){var yt=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(pt);if(yt){var Tt=parseFloat(yt[1]),St=(yt[2]||"ms").toLowerCase();switch(St){case"years":case"year":case"yrs":case"yr":case"y":return Tt*tt;case"weeks":case"week":case"w":return Tt*nt;case"days":case"day":case"d":return Tt*et;case"hours":case"hour":case"hrs":case"hr":case"h":return Tt*_e;case"minutes":case"minute":case"mins":case"min":case"m":return Tt*j;case"seconds":case"second":case"secs":case"sec":case"s":return Tt*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return Tt;default:return}}}}function ft(pt){var yt=Math.abs(pt);return yt>=et?Math.round(pt/et)+"d":yt>=_e?Math.round(pt/_e)+"h":yt>=j?Math.round(pt/j)+"m":yt>=a?Math.round(pt/a)+"s":pt+"ms"}function dt(pt){var yt=Math.abs(pt);return yt>=et?mt(pt,yt,et,"day"):yt>=_e?mt(pt,yt,_e,"hour"):yt>=j?mt(pt,yt,j,"minute"):yt>=a?mt(pt,yt,a,"second"):pt+" ms"}function mt(pt,yt,Tt,St){var At=yt>=Tt*1.5;return Math.round(pt/Tt)+" "+St+(At?"s":"")}return ms}function setup(a){_e.debug=_e,_e.default=_e,_e.coerce=dt,_e.disable=tt,_e.enable=nt,_e.enabled=ot,_e.humanize=requireMs(),_e.destroy=mt,Object.keys(a).forEach(pt=>{_e[pt]=a[pt]}),_e.names=[],_e.skips=[],_e.formatters={};function j(pt){let yt=0;for(let Tt=0;Tt<pt.length;Tt++)yt=(yt<<5)-yt+pt.charCodeAt(Tt),yt|=0;return _e.colors[Math.abs(yt)%_e.colors.length]}_e.selectColor=j;function _e(pt){let yt,Tt=null,St,At;function Ct(...Mt){if(!Ct.enabled)return;const kt=Ct,Pt=Number(new Date),Lt=Pt-(yt||Pt);kt.diff=Lt,kt.prev=yt,kt.curr=Pt,yt=Pt,Mt[0]=_e.coerce(Mt[0]),typeof Mt[0]!="string"&&Mt.unshift("%O");let Ft=0;Mt[0]=Mt[0].replace(/%([a-zA-Z%])/g,(jt,Wt)=>{if(jt==="%%")return"%";Ft++;const sn=_e.formatters[Wt];if(typeof sn=="function"){const ln=Mt[Ft];jt=sn.call(kt,ln),Mt.splice(Ft,1),Ft--}return jt}),_e.formatArgs.call(kt,Mt),(kt.log||_e.log).apply(kt,Mt)}return Ct.namespace=pt,Ct.useColors=_e.useColors(),Ct.color=_e.selectColor(pt),Ct.extend=et,Ct.destroy=_e.destroy,Object.defineProperty(Ct,"enabled",{enumerable:!0,configurable:!1,get:()=>Tt!==null?Tt:(St!==_e.namespaces&&(St=_e.namespaces,At=_e.enabled(pt)),At),set:Mt=>{Tt=Mt}}),typeof _e.init=="function"&&_e.init(Ct),Ct}function et(pt,yt){const Tt=_e(this.namespace+(typeof yt>"u"?":":yt)+pt);return Tt.log=this.log,Tt}function nt(pt){_e.save(pt),_e.namespaces=pt,_e.names=[],_e.skips=[];let yt;const Tt=(typeof pt=="string"?pt:"").split(/[\s,]+/),St=Tt.length;for(yt=0;yt<St;yt++)Tt[yt]&&(pt=Tt[yt].replace(/\*/g,".*?"),pt[0]==="-"?_e.skips.push(new RegExp("^"+pt.slice(1)+"$")):_e.names.push(new RegExp("^"+pt+"$")))}function tt(){const pt=[..._e.names.map(ft),..._e.skips.map(ft).map(yt=>"-"+yt)].join(",");return _e.enable(""),pt}function ot(pt){if(pt[pt.length-1]==="*")return!0;let yt,Tt;for(yt=0,Tt=_e.skips.length;yt<Tt;yt++)if(_e.skips[yt].test(pt))return!1;for(yt=0,Tt=_e.names.length;yt<Tt;yt++)if(_e.names[yt].test(pt))return!0;return!1}function ft(pt){return pt.toString().substring(2,pt.toString().length-2).replace(/\.\*\?$/,"*")}function dt(pt){return pt instanceof Error?pt.stack||pt.message:pt}function mt(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return _e.enable(_e.load()),_e}var common$1=setup;(function(a,j){var _e={};j.formatArgs=nt,j.save=tt,j.load=ot,j.useColors=et,j.storage=ft(),j.destroy=(()=>{let mt=!1;return()=>{mt||(mt=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),j.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function et(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let mt;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(mt=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(mt[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function nt(mt){if(mt[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+mt[0]+(this.useColors?"%c ":" ")+"+"+a.exports.humanize(this.diff),!this.useColors)return;const pt="color: "+this.color;mt.splice(1,0,pt,"color: inherit");let yt=0,Tt=0;mt[0].replace(/%[a-zA-Z%]/g,St=>{St!=="%%"&&(yt++,St==="%c"&&(Tt=yt))}),mt.splice(Tt,0,pt)}j.log=console.debug||console.log||(()=>{});function tt(mt){try{mt?j.storage.setItem("debug",mt):j.storage.removeItem("debug")}catch{}}function ot(){let mt;try{mt=j.storage.getItem("debug")}catch{}return!mt&&typeof process$1$1<"u"&&"env"in process$1$1&&(mt=_e.DEBUG),mt}function ft(){try{return localStorage}catch{}}a.exports=common$1(j);const{formatters:dt}=a.exports;dt.j=function(mt){try{return JSON.stringify(mt)}catch(pt){return"[UnexpectedJSONParseError]: "+pt.message}}})(browser$5,browser$5.exports);var browserExports=browser$5.exports;const debug$4=browserExports;var logger=(a,j=!1)=>{const _e=debug$4(["@arcblock/ws",a].join(":"));return{debug:_e,warn:_e,info:_e,trace:j?_e:console.error,error:j?_e:console.error}};const createLogger=logger;var base$2=(a,j,_e)=>class extends a{constructor(nt,tt={}){super(nt,{transport:_e,...tt}),this._logger=createLogger("client",tt.silent),this.emitter=new j,this.onOpen(()=>{this._logger.debug("socket open",nt)}),this.onClose(()=>{this._logger.debug("socket close",nt)}),this.onError(ot=>{this._logger.error("socket error",ot.error)}),this.onMessage(ot=>{this._logger.debug("socket message",ot)})}on(nt,tt,ot={}){this.ensureJoinChannel(nt,ot),this.emitter.on(nt,tt)}off(nt,tt){tt?this.emitter.off(nt,tt):this.emitter.removeAllListeners(nt),this.ensureLeaveChannel(nt)}disconnect(nt,tt,ot){this.emitter.eventNames().forEach(ft=>{this.emitter.removeAllListeners(ft)}),super.disconnect(nt,tt,ot)}ensureJoinChannel(nt,tt={}){if(this.emitter.listenerCount(nt)>0)return;const ft=this.channel(nt,tt);ft.join().receive("ok",dt=>{this._logger.debug("join success",{topic:nt,message:dt})}).receive("error",dt=>{this._logger.error("join error",{topic:nt,error:dt})}).receive("timeout",()=>{this._logger.debug("join timeout",{topic:nt})}),ft.on(nt,({status:dt,response:mt})=>{dt==="ok"?this.emitter.emit(nt,mt):this._logger.debug("response error",{topic:nt,status:dt,data:mt})})}ensureLeaveChannel(nt){if(this.emitter.listenerCount(nt)>0)return;const ot=this.channels.find(ft=>ft.topic===nt);ot&&(this.remove(ot),ot.leave().receive("ok",ft=>{this._logger.debug("leave success",{topic:nt,message:ft})}).receive("error",ft=>{this._logger.error("leave error",{topic:nt,err:ft})}).receive("timeout",()=>{this._logger.debug("leave timeout",{topic:nt})}),ot.off(nt))}subscribe(nt,tt={}){let ot=this.channels.find(ft=>ft.topic===nt);return ot||(ot=this.channel(nt,tt),ot.join().receive("ok",ft=>{this._logger.debug("join success",{topic:nt,message:ft})}).receive("error",ft=>{this._logger.error("join error",{topic:nt,error:ft})}).receive("timeout",()=>{this._logger.debug("join timeout",{topic:nt})}),ot)}unsubscribe(nt){this.ensureLeaveChannel(nt)}};const EventEmitter$3=eventemitter3Exports,{Socket}=phoenix_cjs,createClient=base$2;var browser$4=createClient(Socket,EventEmitter$3);const WsClient$1=browser$4;var browser$3={WsClient:WsClient$1};function usePageShow(a){const j=reactExports.useRef(a);reactExports.useEffect(()=>{j.current=a},[a]),reactExports.useEffect(()=>{const _e=et=>{!document.hidden&&j.current&&j.current(et)};return document.addEventListener("visibilitychange",_e),()=>{document.removeEventListener("visibilitychange",_e)}},[])}function getSocketHost(a){const j=a||window.location.href;return new URL(j).host}function getExtraHeaders(a){const j={},_e=a||window.location.href;if(_e){const{hostname:et,protocol:nt,port:tt}=new URL(_e);j["x-real-hostname"]=et,j["x-real-port"]=tt,j["x-real-protocol"]=nt.endsWith(":")?nt.substring(0,nt.length-1):nt}return j}const fns={};function createTokenFn({action:a,prefix:j,checkFn:_e,extraParams:et,baseUrl:nt}){const tt=`${j}/token?${stringifyQuery$1(et)}`;return fns[tt]||(fns[tt]=async function(){var yt,Tt;const ft=+new Date,dt=await _e(tt,{headers:getExtraHeaders(nt)}),mt=+new Date;if(mt-ft<500&&await sleep$1(500-(mt-ft)),(yt=dt==null?void 0:dt.data)!=null&&yt.token)return dt.data;if((Tt=dt==null?void 0:dt.data)!=null&&Tt.error)throw new Error(dt.data.error);const pt=isUrl(j)?j:`${nt}${j}`;throw new Error(`Error generating ${a} qrcode from: ${pt}`)}),fns[tt]}const parseExistingSession=()=>{try{const j=new URL(window.location.href).searchParams.get("__connect_url__");if(!j)return null;const _e=decodeConnectUrl(j);return{token:parseTokenFromConnectUrl(_e),url:_e}}catch(a){return{error:a}}},getAppId=()=>get$6(globalThis,"blocklet.appPid")||get$6(globalThis,"blocklet.appId")||get$6(globalThis,"env.appId")||"",getAppPrefix=()=>(get$6(globalThis,"env.apiPrefix")||"/").replace(/\/$/,"").replace(RELAY_SOCKET_PREFIX,""),getRelayChannel=a=>`relay:${getAppId()}:${a}`,getRelayProtocol=()=>window.location.protocol==="https:"?"wss:":"ws:",isSameOrigin=a=>!a||new URL(a).origin===window.location.origin,isSessionEnded=a=>["succeed","error","timeout","busy"].includes(a);function useToken({action:a,checkFn:j,checkInterval:_e,checkTimeout:et,extraParams:nt,locale:tt,prefix:ot,tokenKey:ft,encKey:dt,onError:mt,onSuccess:pt,baseUrl:yt,autoConnect:Tt=!0,forceConnected:St=!0,saveConnect:At=!0,useSocket:Ct=!0,provider:Mt="wallet"}){const kt=useReactive({checking:!1,loading:!1,token:"",url:"",store:null,status:"created",error:"",checkCount:0,mfaCode:0,appInfo:null,memberAppInfo:null,connectedDid:"",saveConnect:!1,inExistingSession:!1,nextWorkflow:"",baseUrl:yt,prefix:`${ot}/${a}`,extraParams:omitBy$1(nt,isNil$1),checkFn:j,results:{},action:a,provider:Mt}),Pt=reactExports.useRef(null),Lt=translations$3[tt]||translations$3.en,Ft=useCreation(()=>parseExistingSession(),[]),Yt=Math.ceil(et/_e),jt=useReactive({onSuccessCalled:!1,cancelWhenScannedCounter:0,isSocketAvailable:!1}),{encryptKey:Wt,decrypt:sn}=useSecurity(),ln=useBrowser(),vn=getVisitorId$2(),Rt=reactExports.useRef(null),rt=reactExports.useRef(null),ut={...kt.extraParams,locale:tt,[ft]:kt.token||(Ft==null?void 0:Ft.token),provider:kt.provider},ct=async()=>{if(!(Ft!=null&&Ft.token&&(Ft==null?void 0:Ft.token)===kt.token)){try{ut[ft]&&kt.status==="created"&&await kt.checkFn(`${kt.prefix}/timeout?${stringifyQuery$1(ut)}`,{headers:getExtraHeaders(kt.baseUrl)})}catch{}try{kt.token&&rt.current&&(await Rt.current.unsubscribe(getRelayChannel(kt.token)),rt.current=null)}catch{}}},ht=useMemoizedFn((...Dt)=>{const Nt={[dt]:Wt,...kt.extraParams,locale:tt,forceConnected:St,autoConnect:Tt&&!ln.wallet&&!jt.cancelWhenScannedCounter&&["ios","android"].includes(Cookie.get("connected_wallet_os")),provider:kt.provider};vn&&(Nt.visitorId=vn);const Vt=omit$1(Pt.current||{},["sourceAppPid","verbose"]);return Object.keys(Vt).forEach(Kt=>{(!Nt[Kt]||Kt===dt&&Vt[Kt])&&(Nt[Kt]=Vt[Kt])}),Ft!=null&&Ft.token&&!Nt.sourceToken&&(Nt.sourceToken=Ft==null?void 0:Ft.token),createTokenFn({action:a,prefix:kt.prefix,baseUrl:kt.baseUrl,checkFn:kt.checkFn,extraParams:Nt})(...Dt)}),vt=useMemoizedFn(async(Dt=!0)=>{Dt&&ct();try{kt.loading=!0,kt.token="",kt.url="",kt.store=null,kt.extraParams=omitBy$1(nt,isNil$1),await sleep$1();const Nt=await ht(),Vt=Nt.extra||{};kt.loading=!1,kt.token=Nt.token,kt.url=Nt.url,kt.status="created",kt.error="",kt.checkCount=0,kt.appInfo=Nt.appInfo,kt.memberAppInfo=Nt.memberAppInfo,kt.connectedDid=Vt.connectedDid,kt.saveConnect=Vt.saveConnect}catch(Nt){kt.loading=!1,kt.status="error",kt.error=`${Lt.generateError}: ${Nt.message}`}}),$t=()=>{jt.cancelWhenScannedCounter++};reactExports.useEffect(()=>{jt.cancelWhenScannedCounter>0&&(nt.nw?mt(new Error(Lt.retryForbidden)):vt())},[jt.cancelWhenScannedCounter]),reactExports.useEffect(()=>(Ct&&isSameOrigin(kt.baseUrl)&&getAppId()?(!Rt.current||Rt.current.isConnected()===!1||Rt.current.baseUrl!==kt.baseUrl)&&(Rt.current=new browser$3.WsClient(`${getRelayProtocol()}//${getSocketHost(kt.baseUrl)}${getAppPrefix()}${RELAY_SOCKET_PREFIX}/relay`,{longpollerTimeout:5e3,heartbeatIntervalMs:30*1e3}),Rt.current.baseUrl=kt.baseUrl,Rt.current.onOpen(()=>{jt.isSocketAvailable=!0}),Rt.current.connect()):jt.isSocketAvailable&&(jt.isSocketAvailable=!1),()=>{Rt.current&&(Rt.current.disconnect(),Rt.current=null)}),[kt.baseUrl]);const xt=()=>!kt.token||kt.loading||isSessionEnded(kt.status)?null:_e,bt=reactExports.useRef(null);reactExports.useEffect(()=>{bt.current={state:kt,params:ut}}),reactExports.useEffect(()=>()=>{const{state:Dt,params:Nt}=bt.current;Dt.status==="created"&&Nt[ft]&&Dt.checkFn(`${Dt.prefix}/timeout?${stringifyQuery$1(Nt)}`,{headers:getExtraHeaders(Dt.baseUrl)})},[]);const it=async(Dt=!1)=>{var Nt;if(kt.checking||(kt.status==="created"&&kt.checkCount++,jt.isSocketAvailable&&!Dt))return null;try{kt.checking=!0;const Vt=await kt.checkFn(`${kt.prefix}/status?${stringifyQuery$1(ut)}`,{headers:getExtraHeaders(kt.baseUrl)}),{status:Bt,error:Kt,mfaCode:qt=0}=Vt.data;if(kt.store=Vt.data,kt.mfaCode=qt,kt.checking=!1,kt.status=Bt,Bt==="error"&&Kt){const nn=new Error(Kt);throw nn.response=Vt,nn}return Vt.data}catch(Vt){const{response:Bt}=Vt;if(Bt!=null&&Bt.status){ut[ft]&&kt.checkFn(`${kt.prefix}/timeout?${stringifyQuery$1(ut)}`,{headers:getExtraHeaders(kt.baseUrl)});const Kt=(Nt=Bt==null?void 0:Bt.data)!=null&&Nt.error?Bt.data.error:Vt.message,qt=new Error(Kt);qt.code=Bt.status,kt.status="error",kt.checking=!1,kt.error=Kt,mt(qt,kt==null?void 0:kt.store,sn)}else kt.status="error",kt.checking=!1,kt.error=Lt.generateError}return null},Et=async()=>{try{if(Ft.error)throw Ft.error;kt.loading=!0,kt.token=Ft.token,kt.url=Ft.url,kt.inExistingSession=!0;let Dt=await it();if((["scanned"].includes(Dt==null?void 0:Dt.status)||(Dt==null?void 0:Dt.sourceToken)===(Ft==null?void 0:Ft.token))&&(await vt(!1),Dt=await it()),Pt.current=(Dt==null?void 0:Dt.extraParams)||null,Dt!=null&&Dt.status&&!["created"].includes(Dt==null?void 0:Dt.status))throw new Error(`${Lt.invalidSessionStatus} [${Dt.status}]`)}catch(Dt){kt.status="error",kt.error=Dt.message,mt(Dt,kt==null?void 0:kt.store,sn)}finally{kt.loading=!1}};return reactExports.useEffect(()=>{var Dt;if(!kt.token&&!kt.store&&!kt.loading&&!kt.error)if(Ft)Et();else{vt(!1);return}if(kt.status!=="timeout"&&kt.checkCount>Yt){kt.status="timeout",ct();return}if(kt.status==="succeed"&&!jt.onSuccessCalled){const Nt=getConnectedInfo({...kt.store,appInfo:kt.appInfo,memberAppInfo:kt.memberAppInfo});if(isSameOrigin(kt.baseUrl)&&At&&kt.saveConnect&&kt.store.did&&updateConnectedInfo(Nt,!0),kt.store){const{nextWorkflow:Vt}=kt.store;if(Vt)try{const Bt=parseNextWorkflow(Vt,ft);kt.nextWorkflow=(Bt==null?void 0:Bt.nextWorkflow)||Vt,Object.assign(kt,Bt),kt.store=null,kt.error="",kt.url="",kt.appInfo=null,kt.memberAppInfo=null,kt.checkCount=0,kt.status="scanned",kt.results={...kt.results,[kt.token]:kt.store},kt.checkFn=createAxios({baseURL:Bt.baseUrl,timeout:8e3}).get,it()}catch(Bt){console.error(`Invalid nextWorkflow: ${Vt}`,Bt),kt.status="error",kt.error=`Invalid nextWorkflow: ${Vt}: ${Bt.message}`}else if(kt.nextWorkflow&&(kt.nextWorkflow="",kt.url=""),typeof pt=="function"){const Bt=Object.values({...kt.results,[kt.token]:kt.store});jt.onSuccessCalled=!0;const Kt=Bt.length>1?Bt:Bt[0],qt=cloneDeep$1(Kt);pt(qt,sn,{sourceAppPid:nt==null?void 0:nt.sourceAppPid,...Nt})}}return}if((Dt=kt.store)!=null&&Dt.nextWorkflow){const{nextWorkflow:Nt}=kt.store;try{const Vt=parseNextWorkflow(Nt,ft);kt.nextWorkflow=(Vt==null?void 0:Vt.nextWorkflow)||Nt,Object.assign(kt,Vt),kt.store=null,kt.error="",kt.url="",kt.appInfo=null,kt.memberAppInfo=null,kt.checkCount=0,kt.status="scanned",kt.results={...kt.results,[kt.token]:kt.store},kt.checkFn=createAxios({baseURL:Vt.baseUrl,timeout:8e3}).get,it()}catch(Vt){console.error(`Invalid nextWorkflow: ${Nt}`,Vt),kt.status="error",kt.error=`Invalid nextWorkflow: ${Nt}: ${Vt.message}`}}}),reactExports.useEffect(()=>{if(kt.token&&jt.isSocketAvailable&&Rt.current){let Dt=!1;rt.current?rt.current.token!==kt.token&&(Rt.current.unsubscribe(getRelayChannel(rt.current.token)),Dt=!0):Dt=!0,Dt&&(rt.current=Rt.current.subscribe(getRelayChannel(kt.token)),rt.current.token=kt.token,rt.current.on("updated",({response:Nt})=>{let{status:Vt,error:Bt}=Nt;Vt==="forbidden"&&(Bt=Lt.forbidden,Vt="error"),kt.status=Vt,kt.mfaCode=Nt.mfaCode||0,kt.store=Nt,kt.error=Bt,Bt&&mt(new Error(Bt),kt==null?void 0:kt.store,sn)}))}},[kt.token,jt.isSocketAvailable,Rt.current]),useInterval(it,xt()),usePageShow(()=>{jt.isSocketAvailable&&kt.token&&isSessionEnded(kt.status)===!1&&it(!0)}),{state:kt,generate:vt,cancelWhenScanned:$t}}var lib$5={},dsbridge={};Object.defineProperty(dsbridge,"__esModule",{value:!0});dsbridge.default=void 0;var bridge={call:function a(j,_e,et){var nt="";typeof _e=="function"&&(et=_e,_e={});var tt={data:_e===void 0?null:_e};if(typeof et=="function"){var ot="dscb"+window.dscb++;window[ot]=et,tt._dscbstub=ot}return tt=JSON.stringify(tt),window._dsbridge?nt=_dsbridge.call(j,tt):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(nt=prompt("_dsbridge="+j,tt)),JSON.parse(nt||"{}").data},register:function a(j,_e,et){var nt=et?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){bridge.call("_dsb.dsinit")},0)),typeof _e=="object"?nt._obs[j]=_e:nt[j]=_e},registerAsyn:function a(j,_e){this.register(j,_e,!0)},hasNativeMethod:function a(j,_e){return this.call("_dsb.hasNativeMethod",{name:j,type:_e||"all"})},disableJavascriptDialogBlock:function a(j){this.call("_dsb.disableJavascriptDialogBlock",{disable:j!==!1})}};(function(){if(!(window._dsbridge||window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)||window._dsf)return;const a=window.close;var j={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:bridge,close:function(){bridge.call("_dsb.closePage"),a()},_handleMessageFromNative:function(nt){var tt=JSON.parse(nt.data),ot={id:nt.callbackId,complete:!0},ft=this._dsf[nt.method],dt=this._dsaf[nt.method],mt=function(Pt,Lt){ot.data=Pt.apply(Lt,tt),bridge.call("_dsb.returnValue",ot)},pt=function(Pt,Lt){tt.push(function(Ft,Yt){ot.data=Ft,ot.complete=Yt!==!1,bridge.call("_dsb.returnValue",ot)}),Pt.apply(Lt,tt)};if(ft)mt(ft,this._dsf);else if(dt)pt(dt,this._dsaf);else{var yt=nt.method.split(".");if(yt.length<2)return;var Tt=yt.pop(),St=yt.join("."),At=this._dsf._obs,Ct=At[St]||{},Mt=Ct[Tt];if(Mt&&typeof Mt=="function"){mt(Mt,Ct);return}if(At=this._dsaf._obs,Ct=At[St]||{},Mt=Ct[Tt],Mt&&typeof Mt=="function"){pt(Mt,Ct);return}}}};for(var _e in j)window[_e]=j[_e];bridge.register("_hasJavascriptMethod",function(et,nt){var tt=et.split(".");if(tt.length<2)return!!(_dsf[tt]||_dsaf[tt]);var et=tt.pop(),ot=tt.join("."),ft=_dsf._obs[ot]||_dsaf._obs[ot];return ft&&!!ft[et]})})();dsbridge.default=bridge;Object.defineProperty(lib$5,"__esModule",{value:!0});var default_1$3=lib$5.default=void 0,_dsbridge$1=_interopRequireDefault$3(dsbridge);function _interopRequireDefault$3(a){return a&&a.__esModule?a:{default:a}}default_1$3=lib$5.default={call(){_dsbridge$1.default.call(...arguments)},asyncCall(){for(var a=arguments.length,j=new Array(a),_e=0;_e<a;_e++)j[_e]=arguments[_e];return new Promise((et,nt)=>{_dsbridge$1.default.call(...j,tt=>{try{const ot=JSON.parse(tt);if(ot.code===0){const ft=JSON.parse(ot.data);et(ft)}else nt(new Error(ot.error))}catch{et(tt)}})})},shareMessage(a){const{content:j,imgUrl:_e,success:et,fail:nt}=a;if(!j&&!_e){nt("params error");return}_dsbridge$1.default.call("arcShare",JSON.stringify({content:j,imgUrl:_e}),tt=>{const ot=JSON.parse(tt);ot&&ot.code===0?typeof et=="function"&&et(tt):typeof nt=="function"&&nt(tt)})},showLoading(){_dsbridge$1.default.call("arcShowLoading")},hideLoading(){_dsbridge$1.default.call("arcHideLoading")},showToast(a){a&&typeof a=="string"&&_dsbridge$1.default.call("arcToast",a)},chooseImgs(a){const{limit:j,success:_e,fail:et}=a;_dsbridge$1.default.call("arcChooseImgs",JSON.stringify({limit:j}),nt=>{const tt=JSON.parse(nt);tt&&tt.code===0?typeof _e=="function"&&_e(nt):typeof et=="function"&&et(nt)})},previewImgs(a){const{imgs:j}=a;!j||j.length===0||_dsbridge$1.default.call("arcPreviewImgs",JSON.stringify(a))},isSetPWD(a){const{success:j,fail:_e}=a;_dsbridge$1.default.call("arcIsSetPWD","",et=>{const nt=JSON.parse(et);nt&&nt.code===0?typeof j=="function"&&j(et):typeof _e=="function"&&_e(et)})},isCodeABOk(a){const{success:j,fail:_e}=a;_dsbridge$1.default.call("arcIsCodeABOk","",et=>{const nt=JSON.parse(et);nt&&nt.code===0?typeof j=="function"&&j(et):typeof _e=="function"&&_e(et)})}};function WebviewLoginItem({tokenState:a,locale:j,tokenKey:_e}){const{t:et,isWalletWebview:nt,connectState:tt}=useStateContext(),ot=et(nt?"openDidConnect":"openInWallet"),ft=useCreation(()=>{if(!a.url)return"";const pt=new URL(window.location.href);pt.searchParams.set("tokenKey",a.token);const yt=new URL(a.url);return yt.searchParams.set("callback",encodeURIComponent(pt)),yt.searchParams.set("callback_delay",1500),yt.searchParams.set("locale",j),yt.href.replace(/^https?:\/\//,"abt://")},[_e,a.token]),dt=useMemoizedFn(()=>{default_1$3.call("authAction",{action:"auth",deepLink:ft})}),mt={};return nt||(mt.component="a",mt.href=ft),useMount(()=>{tt.autoActiveWebview&&ft&&(tt.autoActiveWebview=!1,dt())}),jsxRuntimeExports.jsxs(ItemWrap,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer",backgroundColor:colors$1.surfacePrimarySubtitle,textDecoration:"none",color:"inherit"},...mt,onClick:nt?dt:noop$7,children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[jsxRuntimeExports.jsx(default_1$4,{width:"24px",height:"24px"}),jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"14px",fontWeight:500},children:ot})]}),jsxRuntimeExports.jsx(Icon,{icon:data$p,fontSize:"1.3rem",color:colors$1.primaryBase})]})}WebviewLoginItem.propTypes={tokenState:PropTypes.object.isRequired,locale:PropTypes.string,tokenKey:PropTypes.string};WebviewLoginItem.defaultProps={locale:"en",tokenKey:"_t_"};const data$c={width:24,height:24,body:'<path fill="currentColor" d="M12 20q-3.35 0-5.675-2.325T4 12q0-3.35 2.325-5.675T12 4q1.725 0 3.3.712T18 6.75V5q0-.425.288-.713T19 4q.425 0 .713.288T20 5v5q0 .425-.288.713T19 11h-5q-.425 0-.713-.288T13 10q0-.425.288-.713T14 9h3.2q-.8-1.4-2.188-2.2T12 6Q9.5 6 7.75 7.75T6 12q0 2.5 1.75 4.25T12 18q1.7 0 3.113-.863t2.187-2.312q.2-.35.563-.487t.737-.013q.4.125.575.525t-.025.75q-1.025 2-2.925 3.2T12 20Z"/>'};function RefreshOverlay({onRefresh:a,...j}){const _e=et=>{et.stopPropagation(),a()};return jsxRuntimeExports.jsx(Box,{...j,onClick:_e,sx:{position:"absolute",top:0,bottom:0,left:0,right:0,display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(255, 255, 255, 0.75)",cursor:"pointer",...j.sx},children:jsxRuntimeExports.jsx(Box,{sx:{backgroundColor:colors$1.foregroundsFgInteractive,borderRadius:"100%",fontSize:0},children:jsxRuntimeExports.jsx(Icon,{icon:data$c,fontSize:52,style:{transform:"scale(0.7)",color:"white"}})})})}RefreshOverlay.propTypes={onRefresh:PropTypes.func.isRequired};const busyStatusList=["scanned","succeed","error","busy"];function DIDWalletConnect({onSuccess:a,onError:j,action:_e,prefix:et,checkFn:nt,checkInterval:tt,checkTimeout:ot,locale:ft,tokenKey:dt,encKey:mt,baseUrl:pt,autoConnect:yt,forceConnected:Tt,saveConnect:St,useSocket:At,allowWallet:Ct,provider:Mt,webWalletUrl:kt,onRecreateSession:Pt,onClose:Lt,messages:Ft,enabledConnectTypes:Yt}){var gn,Un,En,Mn,cr;if(typeof nt!="function")throw new Error("Cannot initialize did connect component without a fetchFn");const jt=reactExports.useContext(SessionContext$1),{connectState:Wt,extraParams:sn,staticState:ln,changeStatus:vn,isWalletWebview:Rt,matchSmallScreen:rt,t:ut}=useStateContext(),ct=useBrowser(),ht=detectWalletExtension(),{setBaseUrl:vt,oauthState:$t,getOAuthConfigList:xt}=useOAuth(),bt=useCreation(()=>{var On;return Mt||(sn==null?void 0:sn.provider)||((On=jt==null?void 0:jt.session)==null?void 0:On.provider)||"wallet"},[sn==null?void 0:sn.provider,(gn=jt==null?void 0:jt.session)==null?void 0:gn.provider]),it=(En=(Un=jt==null?void 0:jt.session)==null?void 0:Un.user)==null?void 0:En.did;reactExports.useEffect(()=>{vt(pt)},[pt]);const{state:Et,generate:Dt,cancelWhenScanned:Nt}=useToken({action:_e,baseUrl:pt,checkFn:nt,checkInterval:tt,checkTimeout:ot,extraParams:sn,prefix:et,onError:j,onSuccess:a,locale:ft,tokenKey:dt,encKey:mt,autoConnect:yt,forceConnected:Tt===!0?it||!0:Tt,saveConnect:St,useSocket:At,allowWallet:Ct,provider:bt}),[Vt,Bt]=reactExports.useState([]);useAsyncEffect(async()=>{const On=await xt({sourceAppPid:Wt==null?void 0:Wt.sourceAppPid});Bt(On)},[Wt==null?void 0:Wt.sourceAppPid]);const Kt=usePrevious(Wt==null?void 0:Wt.sourceAppPid);useUpdateEffect(()=>{isUndefined$2(Kt)||Dt()},[Wt==null?void 0:Wt.sourceAppPid]);const qt=useCreation(()=>busyStatusList.includes($t.status)||busyStatusList.includes(Et.status),[Et.status,$t.status]);reactExports.useEffect(()=>{busyStatusList.includes($t.status)?vn($t.status):busyStatusList.includes(Et.status)?vn(Et.status):vn("created")},[vn,Et.status,$t.status]);const nn=useMemoizedFn(()=>{Pt(),$t.reset(),Dt(!1)}),un=useMemoizedFn(()=>{Pt(),ln.current.cancelCount++,Nt()}),hn=useCreation(()=>({confirm:Ft.confirm,success:Ft.success,error:Et.error||$t.error||""}),[Ft.confirm,Ft.success,Et.error,$t.error]),zt=useCreation(()=>Ct&&Yt.includes("mobile")&&!Rt,[Ct,Yt,Rt]),Ot=checkSameProtocol(kt),Gt=useCreation(()=>Ct&&Yt.includes("web")&&(Ot||ht)&&(!ct.mobile.any||ht),[Ct,Yt,(Mn=ct==null?void 0:ct.mobile)==null?void 0:Mn.any]),cn=useCreation(()=>Ct&&Yt.includes("mobile")&&ct.mobile.any&&!ht,[Ct,Yt,(cr=ct==null?void 0:ct.mobile)==null?void 0:cr.any]),tn=useCreation(()=>{const On=intersection$1(Object.keys(OAUTH_PROVIDER),Yt);return Vt.filter(Ln=>On.includes(Ln.provider))},[Vt,Yt]),yn=useCreation(()=>tn.length>0&&["login","invite"].includes(Et.action),[tn]),xn=useCreation(()=>{const On=zt||Gt||cn;let Ln=null;return yn&&(Ln=On?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Divider,{sx:{color:colors$1.textMuted,width:rt?"200px":"368px",opacity:.6,maxWidth:"90%",margin:"auto",fontSize:"14px",fontWeight:"bold","&:before, &:after":{borderColor:colors$1.lineStep}},children:"OR"}),jsxRuntimeExports.jsx(OAuthLogin,{providerList:tn,onSuccess:a,onError:j,tokenState:Et,locale:ft,type:"list"})]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Typography,{variant:"body2",sx:{mt:1,textAlign:"center",color:colors$1.foregroundsFgSubtile},children:ut("loginWithBelow")}),jsxRuntimeExports.jsx(OAuthLogin,{providerList:tn,onSuccess:a,onError:j,tokenState:Et,type:"list",locale:ft})]})),jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[Et.status==="timeout"?jsxRuntimeExports.jsx(RefreshOverlay,{onRefresh:nn,sx:{zIndex:1,animation:"fadeIn 1s","@keyframes fadeIn":{"0%":{opacity:0},"100%":{opacity:1}}}}):null,jsxRuntimeExports.jsx(Box,{"data-did-auth-url":Et.url,sx:{display:"none"}}),cn&&jsxRuntimeExports.jsx(WebviewLoginItem,{tokenState:Et,locale:ft,tokenKey:dt}),zt&&jsxRuntimeExports.jsx(MobileLoginItem,{tokenState:Et,messages:Ft,locale:ft}),Gt&&jsxRuntimeExports.jsx(WebLoginItem,{tokenState:Et,webWalletUrl:kt,locale:ft}),Ln]})},[Et,Et.url,Et.status,zt,Gt,cn,tn,yn,yn,a,j,ft,dt,Ft,kt]);return useCreation(()=>Et.loading||$t.loading||!Et.token&&!Et.error,[Et.loading,$t.loading])?jsxRuntimeExports.jsx(Loading,{}):qt?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Box,{"data-did-auth-url":Et.url,sx:{display:"none"}}),jsxRuntimeExports.jsx(ConnectStatus,{status:$t.status||Et.status,nextWorkflow:Et.nextWorkflow,mfaCode:Et.mfaCode,onCancel:un,onRetry:nn,onClose:Lt,messages:hn,locale:ft,className:"auth-status"})]}):xn}DIDWalletConnect.propTypes={onError:PropTypes.func,onSuccess:PropTypes.func.isRequired,action:PropTypes.string.isRequired,checkFn:PropTypes.func.isRequired,prefix:PropTypes.string,checkInterval:PropTypes.number,checkTimeout:PropTypes.number,locale:PropTypes.oneOf(["en","zh",""]),tokenKey:PropTypes.string,encKey:PropTypes.string,baseUrl:PropTypes.string,autoConnect:PropTypes.bool,forceConnected:PropTypes.oneOfType([PropTypes.bool,PropTypes.string]),saveConnect:PropTypes.bool,useSocket:PropTypes.bool,allowWallet:PropTypes.bool,provider:PropTypes.oneOf([LOGIN_PROVIDER$1.WALLET,...Object.keys(OAUTH_PROVIDER),""]),webWalletUrl:PropTypes.string,onRecreateSession:PropTypes.func,onClose:PropTypes.func,messages:PropTypes.object,enabledConnectTypes:PropTypes.arrayOf(PropTypes.oneOf(["web","mobile",...Object.keys(OAUTH_PROVIDER)]))};DIDWalletConnect.defaultProps={prefix:API_DID_PREFIX,onError:noop$7,checkInterval:2*1e3,checkTimeout:DEFAULT_TIMEOUT$1*1e3,locale:"en",tokenKey:"_t_",encKey:"_ek_",baseUrl:"",autoConnect:!0,forceConnected:!0,saveConnect:!0,useSocket:!0,allowWallet:!0,provider:"",webWalletUrl:getWebWalletUrl$1(),onRecreateSession:noop$7,onClose:noop$7,messages:{},enabledConnectTypes:["web","mobile",...Object.keys(OAUTH_PROVIDER)]};var Set$1=_Set,noop=noop_1,setToArray$1=_setToArray,INFINITY$2=1/0,createSet$1=Set$1&&1/setToArray$1(new Set$1([,-0]))[1]==INFINITY$2?function(a){return new Set$1(a)}:noop,_createSet=createSet$1,SetCache=_SetCache,arrayIncludes$1=_arrayIncludes,arrayIncludesWith=_arrayIncludesWith,cacheHas=_cacheHas,createSet=_createSet,setToArray=_setToArray,LARGE_ARRAY_SIZE=200;function baseUniq$2(a,j,_e){var et=-1,nt=arrayIncludes$1,tt=a.length,ot=!0,ft=[],dt=ft;if(_e)ot=!1,nt=arrayIncludesWith;else if(tt>=LARGE_ARRAY_SIZE){var mt=j?null:createSet(a);if(mt)return setToArray(mt);ot=!1,nt=cacheHas,dt=new SetCache}else dt=j?[]:ft;e:for(;++et<tt;){var pt=a[et],yt=j?j(pt):pt;if(pt=_e||pt!==0?pt:0,ot&&yt===yt){for(var Tt=dt.length;Tt--;)if(dt[Tt]===yt)continue e;j&&dt.push(yt),ft.push(pt)}else nt(dt,yt,_e)||(dt!==ft&&dt.push(yt),ft.push(pt))}return ft}var _baseUniq=baseUniq$2,baseFlatten$1=_baseFlatten,baseIteratee$1=_baseIteratee,baseRest$1=_baseRest,baseUniq$1=_baseUniq,isArrayLikeObject=isArrayLikeObject_1,last=last_1,unionBy=baseRest$1(function(a){var j=last(a);return isArrayLikeObject(j)&&(j=void 0),baseUniq$1(baseFlatten$1(a,1,isArrayLikeObject,!0),baseIteratee$1(j))}),unionBy_1=unionBy;const unionBy$1=getDefaultExportFromCjs$1(unionBy_1);var baseFor=_baseFor,keys$1=keys_1;function baseForOwn$1(a,j){return a&&baseFor(a,j,keys$1)}var _baseForOwn=baseForOwn$1,isArrayLike$1=isArrayLike_1;function createBaseEach$1(a,j){return function(_e,et){if(_e==null)return _e;if(!isArrayLike$1(_e))return a(_e,et);for(var nt=_e.length,tt=j?nt:-1,ot=Object(_e);(j?tt--:++tt<nt)&&et(ot[tt],tt,ot)!==!1;);return _e}}var _createBaseEach=createBaseEach$1,baseForOwn=_baseForOwn,createBaseEach=_createBaseEach,baseEach$1=createBaseEach(baseForOwn),_baseEach=baseEach$1,baseEach=_baseEach,isArrayLike=isArrayLike_1;function baseMap$1(a,j){var _e=-1,et=isArrayLike(a)?Array(a.length):[];return baseEach(a,function(nt,tt,ot){et[++_e]=j(nt,tt,ot)}),et}var _baseMap=baseMap$1;function baseSortBy$1(a,j){var _e=a.length;for(a.sort(j);_e--;)a[_e]=a[_e].value;return a}var _baseSortBy=baseSortBy$1,isSymbol$5=isSymbol_1;function compareAscending$1(a,j){if(a!==j){var _e=a!==void 0,et=a===null,nt=a===a,tt=isSymbol$5(a),ot=j!==void 0,ft=j===null,dt=j===j,mt=isSymbol$5(j);if(!ft&&!mt&&!tt&&a>j||tt&&ot&&dt&&!ft&&!mt||et&&ot&&dt||!_e&&dt||!nt)return 1;if(!et&&!tt&&!mt&&a<j||mt&&_e&&nt&&!et&&!tt||ft&&_e&&nt||!ot&&nt||!dt)return-1}return 0}var _compareAscending=compareAscending$1,compareAscending=_compareAscending;function compareMultiple$1(a,j,_e){for(var et=-1,nt=a.criteria,tt=j.criteria,ot=nt.length,ft=_e.length;++et<ot;){var dt=compareAscending(nt[et],tt[et]);if(dt){if(et>=ft)return dt;var mt=_e[et];return dt*(mt=="desc"?-1:1)}}return a.index-j.index}var _compareMultiple=compareMultiple$1,arrayMap=_arrayMap,baseGet$1=_baseGet,baseIteratee=_baseIteratee,baseMap=_baseMap,baseSortBy=_baseSortBy,baseUnary=_baseUnary,compareMultiple=_compareMultiple,identity=identity_1,isArray$5=isArray_1;function baseOrderBy$1(a,j,_e){j.length?j=arrayMap(j,function(tt){return isArray$5(tt)?function(ot){return baseGet$1(ot,tt.length===1?tt[0]:tt)}:tt}):j=[identity];var et=-1;j=arrayMap(j,baseUnary(baseIteratee));var nt=baseMap(a,function(tt,ot,ft){var dt=arrayMap(j,function(mt){return mt(tt)});return{criteria:dt,index:++et,value:tt}});return baseSortBy(nt,function(tt,ot){return compareMultiple(tt,ot,_e)})}var _baseOrderBy=baseOrderBy$1,baseFlatten=_baseFlatten,baseOrderBy=_baseOrderBy,baseRest=_baseRest,isIterateeCall=_isIterateeCall,sortBy=baseRest(function(a,j){if(a==null)return[];var _e=j.length;return _e>1&&isIterateeCall(a,j[0],j[1])?j=[]:_e>2&&isIterateeCall(j[0],j[1],j[2])&&(j=[j[0]]),baseOrderBy(a,baseFlatten(j,1),[])}),sortBy_1=sortBy;const sortBy$1=getDefaultExportFromCjs$1(sortBy_1),prefix$2=joinURL(AUTH_SERVICE_PREFIX,"/api/user-session");function useQuickConnect({appPid:a,sourceAppPid:j,loginAppPid:_e,autoFetch:et=!0,baseUrl:nt="/",fetchAll:tt=!1}={}){const ot=getVisitorId$2(),ft=useCreation(()=>createAxios({baseURL:joinURL(nt,prefix$2)},{lazy:!0,lazyTime:500}),[nt]),dt=useMemoizedFn(async()=>{const{data:Ct=[]}=await ft.get("",{params:{visitorId:ot}}),Mt=getFederatedEnabled(),kt=getMaster();if(tt&&Mt&&kt){const{data:Pt}=await ft.get(joinURL(kt.appUrl,AUTH_SERVICE_PREFIX,"/api/user-session"),{params:{visitorId:ot}});return Ct.concat(Pt||[])}return!Mt||!kt?Ct.filter(Pt=>{var Lt;return((Lt=Pt==null?void 0:Pt.user)==null?void 0:Lt.sourceAppPid)===null}):Ct}),mt=useReactive({loaded:!1,loadingId:null}),pt=useRequest(dt,{manual:!et,onFinally(){mt.loaded=!0},refreshDeps:[nt]}),yt=async Ct=>{var kt,Pt,Lt;const Mt=pick$2(Ct,["userDid","visitorId","passportId"]);try{mt.loadingId=Ct.id;const Ft=getMaster();if(getFederatedEnabled()&&Ft&&_e!==Ct.appPid){const{data:jt}=await ft.post("login",{...Mt,appPid:_e},{baseURL:joinURL(Ft.appUrl,AUTH_SERVICE_PREFIX,"/api/user-session")});return jt}const{data:Yt}=await ft.post("login",{...Mt,appPid:_e});return Yt}catch(Ft){const Yt=Ft.response?((Pt=(kt=Ft.response)==null?void 0:kt.data)==null?void 0:Pt.error)||((Lt=Ft.response)==null?void 0:Lt.data):Ft.message;throw Toast$1.error(Yt),console.error("Quick login error",Ft),Ft}finally{mt.loadingId=null}},Tt=useCreation(()=>pt.data?pt.data.filter(Ct=>Ct.status!=="expired"):[],[pt.data]),St=useCreation(()=>{const Ct=new Date().getTime(),Mt=sortBy$1(Tt,kt=>Ct-new Date(kt.updatedAt).getTime());return unionBy$1(Mt,kt=>[kt.userDid].join("_"))},[Tt,j,a]),At=useCreation(()=>!!(St&&St.length>0),[St]);return{loadingId:mt.loadingId,userSessions:St,quickLoginEnabled:At,loginUserSession:yt,loading:pt.loading,loaded:pt.loaded,refresh:pt.refreshAsync}}const data$b={width:24,height:24,body:'<path fill="currentColor" d="M11.95 18q.525 0 .888-.363t.362-.887q0-.525-.362-.888t-.888-.362q-.525 0-.887.363t-.363.887q0 .525.363.888t.887.362Zm.05 4q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22Zm0-2q3.35 0 5.675-2.325T20 12q0-3.35-2.325-5.675T12 4Q8.65 4 6.325 6.325T4 12q0 3.35 2.325 5.675T12 20Zm0-8Zm.1-4.3q.625 0 1.088.4t.462 1q0 .55-.337.975t-.763.8q-.575.5-1.012 1.1t-.438 1.35q0 .35.263.588t.612.237q.375 0 .638-.25t.337-.625q.1-.525.45-.938t.75-.787q.575-.55.988-1.2t.412-1.45q0-1.275-1.038-2.087T12.1 6q-.95 0-1.812.4T8.975 7.625q-.175.3-.113.638t.338.512q.35.2.725.125t.625-.425q.275-.375.688-.575t.862-.2Z"/>'},data$a={width:24,height:24,body:'<path fill="currentColor" d="m9.55 18l-5.7-5.7l1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4L9.55 18Z"/>'};function AppIcon({appInfo:a,...j}){const[_e,et]=reactExports.useState(!1);if(_e||!(a.appUrl||a.appLogo))return jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:a.appPid,size:32});let nt=a.appLogo||"";return isUrl(nt)||(nt=joinURL(a.appUrl||"",nt)),jsxRuntimeExports.jsx(Img,{src:nt,alt:a.appName||"Blocklet Icon",width:32,height:32,...j,onError:()=>et(!0)})}AppIcon.propTypes={appInfo:PropTypes.object.isRequired};const getAppDid=a=>a?a.split(":").pop():"";function AppInfoItem({appInfo:a,active:j,appLogo:_e}){return jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",fontWeight:600,color:colors$1.textBase,"& .app-info-content":{paddingLeft:"8px",overflow:"hidden"},"& .app-info-name":{maxWidth:"100%",paddingRight:"32px",lineHeight:"normal",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontSize:"12px"},"& .app-info-did":{fontSize:0},"& .app-info-did .did-address-text":{color:colors$1.textMuted,fontSize:"12px"}},children:[_e||jsxRuntimeExports.jsx(Box,{sx:{borderRadius:"8px",overflow:"hidden",fontSize:0},children:jsxRuntimeExports.jsx(AppIcon,{appInfo:a})}),jsxRuntimeExports.jsxs(Box,{className:"app-info-content",children:[jsxRuntimeExports.jsx(Box,{className:"app-info-name",children:a.appName}),a.appPid&&jsxRuntimeExports.jsx(DidAddressWrapper,{size:12,className:"app-info-did",copyable:!1,color:colors$1.textMuted,compact:!1,responsive:!1,children:getAppDid(a.appPid)})]}),j?jsxRuntimeExports.jsx(IconButton,{size:"small",color:"success",children:jsxRuntimeExports.jsx(Icon$1,{icon:data$a,color:"success"})}):null]})}AppInfoItem.propTypes={appInfo:PropTypes.object.isRequired,active:PropTypes.bool,appLogo:PropTypes.node};AppInfoItem.defaultProps={active:!1,appLogo:null};function CurrentApp({appInfo:a}){const j=reactExports.useRef(null),_e=useReactive({hoverOnButton:!1,hoverOnPopover:!1}),et=useCreation(()=>_e.hoverOnButton||_e.hoverOnPopover,[_e.hoverOnButton,_e.hoverOnPopover]);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Box,{component:"span",ref:j,sx:{color:colors$1.foregroundsFgInteractive,cursor:"help"},onClick:()=>{_e.hoverOnButton=!0},onMouseEnter:()=>{_e.hoverOnButton=!0},onMouseLeave:()=>{setTimeout(()=>{_e.hoverOnButton=!1},200)},children:a.appName}),jsxRuntimeExports.jsx(Popover,{open:et,sx:{pointerEvents:"none"},slotProps:{paper:{variant:"outlined",sx:{border:0,boxShadow:`0px 4px 8px 0px ${colors$1.gray6}, 0px 0px 0px 1px ${colors$1.gray6}`,py:1,px:1.5,borderRadius:2,transform:"translateY(-6px) !important"}}},anchorEl:j.current,anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"},onClose:()=>{_e.open=!1},disableRestoreFocus:!0,children:jsxRuntimeExports.jsx(Box,{component:"span",sx:{pointerEvents:"auto"},onMouseEnter:()=>{_e.hoverOnPopover=!0},onMouseLeave:()=>{_e.hoverOnPopover=!1},children:jsxRuntimeExports.jsx(AppInfoItem,{appInfo:a,appLogo:jsxRuntimeExports.jsx(AppIcon,{appInfo:a})})})})]})}CurrentApp.propTypes={appInfo:PropTypes.object.isRequired};function SwitchApp(){const{appInfoList:a,t:j,extraParams:_e,connectState:et}=useStateContext(),nt=reactExports.useRef(null),tt=useReactive({open:!1});return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Box,{component:"span",ref:nt,sx:{textTransform:"lowercase",color:colors$1.foregroundsFgInteractive,cursor:"pointer"},onClick:()=>{tt.open=!0},children:j("switch")}),jsxRuntimeExports.jsx(Menu,{anchorEl:nt.current,open:tt.open,onClose:()=>{tt.open=!1},slotProps:{paper:{variant:"outlined",sx:{border:0,boxShadow:`0px 4px 8px 0px ${colors$1.gray6}, 0px 0px 0px 1px ${colors$1.gray6}`,borderRadius:2}}},children:a.map(ot=>jsxRuntimeExports.jsx(MenuItem,{onClick:()=>{tt.open=!1,et.sourceAppPid=ot.sourceAppPid},children:jsxRuntimeExports.jsx(AppInfoItem,{appInfo:ot,active:ot.sourceAppPid===(_e==null?void 0:_e.sourceAppPid)})},ot.appPid))})]})}function AppTips({locale:a,disableSwitchApp:j}){const{appInfoList:_e,extraParams:et,connectState:nt,blocklet:tt}=useStateContext(),ot=useCreation(()=>_e.find(mt=>lodashExports.isUndefined(et==null?void 0:et.sourceAppPid)?!0:lodashExports.isNull(mt.sourceAppPid)?mt.appPid===(tt==null?void 0:tt.appPid):mt.sourceAppPid===(et==null?void 0:et.sourceAppPid)),[et==null?void 0:et.sourceAppPid,_e]),ft=!j&&_e.length>1;useMount(()=>{(tt==null?void 0:tt.appPid)===(ot==null?void 0:ot.appPid)?nt.sourceAppPid=null:nt.sourceAppPid=ot==null?void 0:ot.appPid});const dt=useCreation(()=>a==="zh"?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["您正在使用 ",jsxRuntimeExports.jsx(CurrentApp,{appInfo:ot,appInfoList:_e})," 账户来连接站点",ft?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[",点击",jsxRuntimeExports.jsx(SwitchApp,{appInfoList:_e})]}):null]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["You're using ",jsxRuntimeExports.jsx(CurrentApp,{appInfo:ot})," account for site access",ft?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[". Click to ",jsxRuntimeExports.jsx(SwitchApp,{appInfoList:_e})]}):null]}),[a,ot,_e,ft]);return lodashExports.isEmpty(_e)?null:jsxRuntimeExports.jsxs(Box,{sx:{fontSize:"13px",color:colors$1.foregroundsFgSubtile,lineHeight:1.5},children:[dt,ft&&jsxRuntimeExports.jsx(Box,{component:"span",sx:{display:"inline-block",ml:.5,fontSize:"13px",height:"16px",lineHeight:1,verticalAlign:"middle"},children:jsxRuntimeExports.jsx(Box,{component:Icon,icon:data$b,sx:{verticalAlign:"middle"}})})]})}AppTips.propTypes={locale:PropTypes.string,disableSwitchApp:PropTypes.bool};AppTips.defaultProps={locale:"en",disableSwitchApp:!1};var DidLogoColorful={};Object.defineProperty(DidLogoColorful,"__esModule",{value:!0});var default_1$2=DidLogoColorful.default=void 0;_interopRequireDefault$2(reactExports);var _jsxRuntime$2=jsxRuntimeExports;function _interopRequireDefault$2(a){return a&&a.__esModule?a:{default:a}}function ownKeys$2(a,j){var _e=Object.keys(a);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(a);j&&(et=et.filter(function(nt){return Object.getOwnPropertyDescriptor(a,nt).enumerable})),_e.push.apply(_e,et)}return _e}function _objectSpread(a){for(var j=1;j<arguments.length;j++){var _e=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$2(Object(_e),!0).forEach(function(et){_defineProperty(a,et,_e[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(_e)):ownKeys$2(Object(_e)).forEach(function(et){Object.defineProperty(a,et,Object.getOwnPropertyDescriptor(_e,et))})}return a}function _defineProperty(a,j,_e){return(j=_toPropertyKey(j))in a?Object.defineProperty(a,j,{value:_e,enumerable:!0,configurable:!0,writable:!0}):a[j]=_e,a}function _toPropertyKey(a){var j=_toPrimitive(a,"string");return typeof j=="symbol"?j:j+""}function _toPrimitive(a,j){if(typeof a!="object"||!a)return a;var _e=a[Symbol.toPrimitive];if(_e!==void 0){var et=_e.call(a,j||"default");if(typeof et!="object")return et;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(a)}var Component=function a(j){return(0,_jsxRuntime$2.jsxs)("svg",_objectSpread(_objectSpread({},j),{},{children:[(0,_jsxRuntime$2.jsx)("path",{d:"M7.366.646L8.46 0h3.981v11.96H8.564a.381.381 0 0 1-.194-.053L4.18 9.431V2.53l.508-.3.893.528-.508.3v5.845L8.7 11.046h2.85V.914h-2.85l-.44.26-.893-.528z",fill:"color(display-p3 .4196 .7412 .9961)"}),(0,_jsxRuntime$2.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.868 8.903V3.057L4.242.915H1.393v10.132h2.85l.44-.26.893.527-1.095.647H.5V0h3.981l4.28 2.53v6.9l-.506.3-.893-.528.506-.299z",fill:"color(display-p3 .2706 .5961 .9804)"})]}))};Component.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none"};Component.displayName="did-logo-colorful";default_1$2=DidLogoColorful.default=Component;function PoweredBy({...a}){return jsxRuntimeExports.jsxs(Box,{...a,sx:{display:"flex",alignItems:"center",color:colors$1.foregroundsFgMuted,gap:.5,...a.sx},children:[jsxRuntimeExports.jsx(default_1$2,{}),"Powered By",jsxRuntimeExports.jsx(Box,{component:"a",href:"https://www.didconnect.io/",target:"_blank",rel:"noopener",sx:{color:colors$1.foregroundsFgInteractive,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:"DID Connect"})]})}function AutoHeight({children:a,initHeight:j,slotProps:_e}){var ft;const[et,nt]=reactExports.useState(j),tt=reactExports.useRef(null),ot=useSize(tt);return reactExports.useEffect(()=>{ot!=null&&ot.height&&nt(ot.height)},[ot==null?void 0:ot.height,et]),jsxRuntimeExports.jsx(Box,{..._e==null?void 0:_e.root,sx:{height:et,overflow:"hidden",transition:"height 0.2s ease-in-out",...(ft=_e==null?void 0:_e.root)==null?void 0:ft.sx},children:jsxRuntimeExports.jsx(Box,{..._e==null?void 0:_e.container,ref:tt,children:a})})}AutoHeight.propTypes={initHeight:PropTypes.number,children:PropTypes.node.isRequired,slotProps:PropTypes.object};AutoHeight.defaultProps={initHeight:0,slotProps:{}};const didConnectTab="did-connect",quickConnectTab="quick-connect";function Connect$1({mode:a,isFullScreen:j,hideCloseButton:_e,...et}){var ht;const nt=useReactive({showTab:didConnectTab}),{connectState:tt,blocklet:ot,appInfoList:ft,extraParams:dt}=useStateContext(),{extraContent:mt,onSuccess:pt,action:yt,onClose:Tt,options:St}=et,At=useCreation(()=>ft.find(vt=>isUndefined$2(dt==null?void 0:dt.sourceAppPid)?!0:isNull$3(vt.sourceAppPid)?vt.appPid===(ot==null?void 0:ot.appPid):vt.sourceAppPid===(dt==null?void 0:dt.sourceAppPid)),[dt==null?void 0:dt.sourceAppPid,ft]),Ct=useCreation(()=>isNull$3(tt==null?void 0:tt.sourceAppPid)?At==null?void 0:At.appPid:(tt==null?void 0:tt.sourceAppPid)||getCurrentAppPid(),[tt==null?void 0:tt.sourceAppPid]),{quickLoginEnabled:Mt,loading:kt,userSessions:Pt,loginUserSession:Lt,refresh:Ft}=useQuickConnect({appPid:Ct,loginAppPid:ot==null?void 0:ot.appPid,sourceAppPid:tt==null?void 0:tt.sourceAppPid,autoFetch:["login"].includes(yt),baseUrl:(At==null?void 0:At.appUrl)||""}),Yt=useCreation(()=>{var vt;return((vt=et==null?void 0:et.messages)==null?void 0:vt.title)||DEFAULT_NAME},[(ht=et==null?void 0:et.messages)==null?void 0:ht.title]),jt=useCreation(()=>{if(yt==="login"){const vt=getMaster(ot),$t=getFederatedEnabled(ot);return dt!=null&&dt.forceConnected?Pt.filter(xt=>xt.userDid===(dt==null?void 0:dt.forceConnected)):!$t||!vt?Pt.filter(xt=>{var bt;return((bt=xt==null?void 0:xt.user)==null?void 0:bt.sourceAppPid)===null}):Pt.filter(xt=>{var bt;return Ct===ot.appPid?((bt=xt.user)==null?void 0:bt.sourceAppPid)===(dt==null?void 0:dt.sourceAppPid):!0})}return Pt},[dt==null?void 0:dt.forceConnected,yt,Pt]),Wt=useMemoizedFn(async(...vt)=>{var it,Et,Dt;const $t=await Lt(...vt),[xt]=vt,bt={};xt&&((it=xt==null?void 0:xt.user)!=null&&it.did&&(bt.connected_did=xt.user.did),(Et=xt==null?void 0:xt.user)!=null&&Et.pk&&(bt.connected_pk=xt.user.pk),(Dt=xt==null?void 0:xt.extra)!=null&&Dt.walletOS&&(bt.connected_wallet_os=xt.extra.walletOS),xt!=null&&xt.appPid&&(bt.connected_app=xt.appPid)),await pt({...$t,encrypted:!1},Nt=>Nt,bt)});reactExports.useEffect(()=>{(St==null?void 0:St.showQuickConnect)!==!1&&!kt&&Mt&&(nt.showTab=quickConnectTab)},[kt,Mt,St==null?void 0:St.showQuickConnect]);const sn=useDebounce(kt,{wait:100}),ln=useMemoizedFn(()=>{nt.showTab=didConnectTab}),vn=useMemoizedFn(()=>{nt.showTab=quickConnectTab}),Rt=useCreation(()=>jt.length===0?!0:nt.showTab===didConnectTab||!Mt,[nt.showTab,Mt]),rt=useCreation(()=>{let vt=!0;return(kt||sn)&&(vt=!1),Mt||(vt=!1),St.showQuickConnect===!1&&(vt=!1),nt.showTab!==didConnectTab&&(vt=!1),vt},[Mt,nt.showTab,kt,sn]),ut=useCreation(()=>jsxRuntimeExports.jsx(Box,{onClick:Tt,sx:{fontSize:"1.5rem",width:"1.5rem",height:"1.5rem",cursor:"pointer",color:colors$1.foregroundsFgSubtile,transition:"transform 0.2s ease-in-out","&:hover":{transform:"rotate(90deg)"}},children:jsxRuntimeExports.jsx(Icon,{icon:data$r})}),[Tt]);let ct=null;return kt||sn?ct=jsxRuntimeExports.jsx(Loading,{}):Rt?ct=jsxRuntimeExports.jsx(DIDWalletConnect,{...et,onClose:Tt}):ct=jsxRuntimeExports.jsx(QuickConnect,{userSessions:jt,onLogin:Wt,onRetry:Ft,onClose:Tt,messages:et.messages,onLoginAnother:ln}),jsxRuntimeExports.jsxs(Card,{variant:"outlined",sx:{color:colors$1.foregroundsFgBase,backgroundColor:"white",borderRadius:2,borderColor:colors$1.strokeBorderBase,height:"100%",display:"flex",flexDirection:"column"},children:[jsxRuntimeExports.jsx(CardHeader,{title:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[rt&&jsxRuntimeExports.jsx(IconButton,{size:"small",disabled:tt.status!=="created",onClick:vn,disableRipple:!0,sx:{fontSize:"0.75em"},children:jsxRuntimeExports.jsx(Icon,{icon:data$s,color:colors$1.textMuted})}),Yt]}),titleTypographyProps:{display:"flex",alignItems:"center",variant:"h6",lineHeight:"28px",fontWeight:600},action:_e?null:ut,sx:{px:2.5,".MuiCardHeader-action":{margin:0,alignSelf:"center"}}}),jsxRuntimeExports.jsx(CardContent,{sx:{borderTop:`1px solid ${colors$1.strokeBorderBase}`,borderBottom:`1px solid ${colors$1.strokeBorderBase}`,flex:1,verticalAlign:"middle",overflow:"auto",p:2.5,position:"relative","&::after":{content:'""',height:"100%",verticalAlign:"middle",display:"inline-block",width:0}},children:jsxRuntimeExports.jsxs(AutoHeight,{slotProps:{root:{sx:{display:"inline-block",width:"100%",verticalAlign:"middle"}},container:{sx:{display:"flex",flexDirection:"column",gap:1}}},children:[jsxRuntimeExports.jsx(AppTips,{locale:et.locale,disableSwitchApp:et.disableSwitchApp}),ct,mt?jsxRuntimeExports.jsx(Box,{children:mt}):null]})}),jsxRuntimeExports.jsx(CardActions,{sx:{py:2,px:2.5,justifyContent:"center"},children:jsxRuntimeExports.jsx(PoweredBy,{sx:{fontSize:"12px"}})})]})}Connect$1.propTypes={action:PropTypes.string.isRequired,onSuccess:PropTypes.func,onClose:PropTypes.func,messages:PropTypes.object,extraContent:PropTypes.any,disableSwitchApp:PropTypes.bool,mode:PropTypes.oneOf(["fullScreen","dialog","normal"]),isFullScreen:PropTypes.bool,options:PropTypes.object,hideCloseButton:PropTypes.bool,locale:PropTypes.string};Connect$1.defaultProps={onSuccess:noop$7,onClose:noop$7,mode:"normal",isFullScreen:!1,extraContent:null,disableSwitchApp:!1,messages:{},options:{},hideCloseButton:!0,locale:"en"};function WrapConnect(a){const{checkFn:j,extraParams:_e,blocklet:et,action:nt,locale:tt}=a;if(typeof j!="function")throw new Error("Cannot initialize did connect component without a fetchFn");return jsxRuntimeExports.jsx(StateProvider,{blocklet:et,action:nt,locale:tt,extraParams:_e,sx:{position:"relative",width:"100%",height:"100%",lineHeight:1.2,fontFamily:"Inter",color:"#334660","&, & *, & *:before, & *:after":{boxSizing:"border-box"}},children:jsxRuntimeExports.jsx(Connect$1,{...a})})}WrapConnect.propTypes={checkFn:PropTypes.func.isRequired,extraParams:PropTypes.object,blocklet:PropTypes.object.isRequired,action:PropTypes.string.isRequired,locale:PropTypes.string};WrapConnect.defaultProps={extraParams:{},locale:"en"};const DidConnect=withWebWalletSWKeeper(withDialog(withBlocklet(WrapConnect))),ConnectHolder=reactExports.forwardRef((a,j)=>{const{api:_e}=reactExports.useContext(SessionContext$1),et={containerEl:null,popup:!0,checkFn:(_e==null?void 0:_e.get)||noop$7,messages:{title:"DID Connect",scan:"Scan QR code to complete this action",confirm:"Confirm on your DID Wallet",success:"Success!"}},nt=useReactive({show:!1,...cloneDeep$1(et)}),[tt,ot]=reactExports.useState({}),ft=useMemoizedFn(()=>{const yt=cloneDeep$1(et);Object.keys(yt).forEach(Tt=>{nt[Tt]=yt[Tt]})}),dt=useMemoizedFn(()=>{nt.show=!1,ft()}),mt=useMemoizedFn(yt=>{const{containerEl:Tt,checkFn:St,popup:At,messages:Ct,...Mt}=cloneDeep$1(yt);typeof St=="function"&&(nt.checkFn=St),At!==void 0&&(nt.popup=At),Ct!==void 0&&(nt.messages=Ct),Tt!==void 0&&(nt.containerEl=Tt),ot(Mt),nt.show=!0});reactExports.useImperativeHandle(j,()=>({open:mt,close:dt}),[mt,dt]);const pt=jsxRuntimeExports.jsx(DidConnect,{open:!0,popup:nt.popup,messages:nt.messages,checkFn:nt.checkFn,...tt});return nt.containerEl?reactDomExports.createPortal(pt,nt.containerEl):nt.show&&pt});function useConnect(){const a=reactExports.useRef(null),j=useCreation(()=>new _default$2({concurrency:1})),_e=useMemoizedFn((...ft)=>{var dt;(dt=a.current)==null||dt.close(...ft)}),et=useMemoizedFn(({onSuccess:ft,onClose:dt,onEnd:mt,...pt},...yt)=>{const Tt=()=>new Promise(St=>{typeof ft=="function"?pt.onSuccess=(...At)=>{ft(...At),setTimeout(()=>{_e(),St()},2e3)}:pt.onSuccess=()=>{setTimeout(()=>{_e(),St()},2e3)},typeof dt=="function"?pt.onClose=(...At)=>{dt(...At),_e(),St(),j.clear()}:pt.onClose=()=>{_e(),St(),j.clear()},setTimeout(()=>{var At;(At=a.current)==null||At.open(pt,...yt)})});j.add(Tt)}),nt=useMemoizedFn((ft={},{baseUrl:dt,locale:mt="en",blocklet:pt=globalThis==null?void 0:globalThis.blocklet}={})=>new Promise((yt,Tt)=>{const St=()=>new Promise(At=>{(async()=>{var jt;if(isUndefined$2(dt)){const Wt=getFederatedEnabled(),sn=getMaster();dt=Wt?sn.appUrl:window.location.origin}const{onSuccess:Mt,onClose:kt,onError:Pt,...Lt}=ft;if(!((jt=Lt==null?void 0:Lt.extraParams)!=null&&jt.provider))throw isFunction$8(Pt)&&Pt("Must have extraParams.provider"),new Error("Must have extraParams.provider");Lt!=null&&Lt.prefix||(Lt.prefix=window.location.origin+joinURL(pt==null?void 0:pt.prefix,API_DID_PREFIX));const Ft=new URLSearchParams;Ft.set("params",btoa(encodeURIComponent(JSON.stringify(Lt)))),Ft.set("appPid",pt==null?void 0:pt.appPid),Ft.set("locale",mt);const Yt=openPopup(joinURL(dt||"/",AUTH_SERVICE_PREFIX,`/connect?${Ft.toString()}`));try{const Wt=await runPopup({popup:Yt,closeTimeout:2e3});updateConnectedInfo({connected_app:getAppId$1(),...Wt==null?void 0:Wt.options},!0),isFunction$8(Mt)?(Mt({...Wt.response,encrypted:!1}),_e(),At()):(_e(),At()),yt({...Wt.response,encrypted:!1})}catch(Wt){throw Wt.message==="Popup closed"?isFunction$8(kt)?(kt(),At(),j.clear()):(At(),j.clear()):isFunction$8(Pt)&&Pt(Wt),Wt}})().catch(Mt=>{At(),Tt(Mt)})});j.add(St)})),tt=useCreation(()=>jsxRuntimeExports.jsx(ConnectHolder,{ref:a})),ot=useCreation(()=>({open:et,close:_e,openPopup:nt,queue:j}));return{connectHolder:tt,connectApi:ot}}const EVENTS={LOGIN:Symbol("login"),CANCEL_LOGIN:Symbol("cancelLogin"),LOGOUT:Symbol("logout"),SWITCH_PROFILE:Symbol("switchProfile"),CANCEL_SWITCH_PROFILE:Symbol("cancelSwitchProfile"),SWITCH_PASSPORT:Symbol("switchPassport"),CANCEL_SWITCH_PASSPORT:Symbol("cancelSwitchPassport"),BIND_WALLET:Symbol("bindWallet"),CANCEL_BIND_WALLET:Symbol("cancelBindWallet"),CONNECT_TO_DID_SPACE_FOR_FULL_ACCESS:Symbol("connectToDidSpaceForFullAccess")},translations$2={login:{en:{title:"Connect DID Wallet",scan:"Scan following qrcode to connect your DID Wallet",confirm:"Confirm connection in your DID Wallet",success:"Successfully connected"},zh:{title:"连接 DID 钱包",scan:"请使用 DID 钱包扫码下面的二维码完成连接",confirm:"在 DID 钱包中确认连接",success:"连接成功"}},"switch-specified-did":{en:{title:"Switch DID",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},zh:{title:"切换账号",scan:"你需要切换账号至 {did} 才能完成后续的操作",confirm:"在 DID 钱包中确认切换",success:"切换成功"}},"switch-did":{en:{title:"Switch DID",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},zh:{title:"切换账号",scan:"请使用 DID 钱包扫码下面的二维码完成切换",confirm:"在 DID 钱包中确认切换",success:"切换成功"}},"switch-profile":{en:{title:"Switch Profile",scan:"Scan following qrcode with DID Wallet to switch profile",confirm:"Select profile in your DID Wallet",success:"Profile updated"},zh:{title:"切换个人信息",scan:"请使用 DID 钱包扫码下面的二维码来切换个人信息",confirm:"在 DID 钱包中选择个人信息",success:"个人信息已经更新"}},"switch-passport":{en:{title:"Switch Passport",scan:"Scan following qrcode with DID Wallet to switch passport",confirm:"Select passport in your DID Wallet",success:"Passport and session updated"},zh:{title:"切换通行证",scan:"请使用 DID 钱包扫码二维码来切换通行证",confirm:"在 DID 钱包中选择通行证",success:"通行证和会话已经更新"}},"connect-to-did-spaces-for-user":{en:{title:"Please authorize the application to connect to your DID Space",scan:"Please use your DID wallet to scan the QR code for authorization",confirm:"Select the DID Spaces NFT in your DID wallet",success:"Connection successful"},zh:{title:"请授权应用连接你的 DID Space",scan:"请使用 DID 钱包扫码二维码来完成授权",confirm:"在 DID 钱包中选择 DID Spaces NFT",success:"连接成功"}},"bind-wallet":{en:{title:"Connect DID Wallet for enhanced security",scan:"Scan following qrcode with DID Wallet to connect your DID Wallet",success:"Successfully connected"},zh:{title:"连接 DID 钱包获得更高的安全性",scan:"请使用 DID 钱包扫码二维码来连接您的 DID 钱包",success:"连接成功"}},exchangePassport:{en:{action:"Exchange Passport with NFT",tooltip:"Exchange passport if you owns any required NFT"},zh:{action:"兑换通行证",tooltip:"通过出示你持有的特定 NFT 来获取通行证"}},lostPassport:{en:{action:"Lost Passport"},zh:{action:"找回通行证"}},switchAccountDialog:{en:{confirm:"Switch",title:"Switch Account",description:"Please switch accounts to complete next action",currentAccount:"Current account",nextAccount:"Account to be switched"},zh:{confirm:"切换",title:"切换账号",description:"请切换账号来完成后续的操作",currentAccount:"当前登录的账户",nextAccount:"即将切换的账户"}}};var re$2={exports:{}};const SEMVER_SPEC_VERSION="2.0.0",MAX_LENGTH$1=256,MAX_SAFE_INTEGER$2=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH$1-6,RELEASE_TYPES=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var constants$1={MAX_LENGTH:MAX_LENGTH$1,MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_BUILD_LENGTH,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$2,RELEASE_TYPES,SEMVER_SPEC_VERSION,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},define_process_env_default$1={};const debug$3=typeof process$1$1=="object"&&define_process_env_default$1&&define_process_env_default$1.NODE_DEBUG&&/\bsemver\b/i.test(define_process_env_default$1.NODE_DEBUG)?(...a)=>console.error("SEMVER",...a):()=>{};var debug_1$1=debug$3;(function(a,j){const{MAX_SAFE_COMPONENT_LENGTH:_e,MAX_SAFE_BUILD_LENGTH:et,MAX_LENGTH:nt}=constants$1,tt=debug_1$1;j=a.exports={};const ot=j.re=[],ft=j.safeRe=[],dt=j.src=[],mt=j.t={};let pt=0;const yt="[a-zA-Z0-9-]",Tt=[["\\s",1],["\\d",nt],[yt,et]],St=Ct=>{for(const[Mt,kt]of Tt)Ct=Ct.split(`${Mt}*`).join(`${Mt}{0,${kt}}`).split(`${Mt}+`).join(`${Mt}{1,${kt}}`);return Ct},At=(Ct,Mt,kt)=>{const Pt=St(Mt),Lt=pt++;tt(Ct,Lt,Mt),mt[Ct]=Lt,dt[Lt]=Mt,ot[Lt]=new RegExp(Mt,kt?"g":void 0),ft[Lt]=new RegExp(Pt,kt?"g":void 0)};At("NUMERICIDENTIFIER","0|[1-9]\\d*"),At("NUMERICIDENTIFIERLOOSE","\\d+"),At("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${yt}*`),At("MAINVERSION",`(${dt[mt.NUMERICIDENTIFIER]})\\.(${dt[mt.NUMERICIDENTIFIER]})\\.(${dt[mt.NUMERICIDENTIFIER]})`),At("MAINVERSIONLOOSE",`(${dt[mt.NUMERICIDENTIFIERLOOSE]})\\.(${dt[mt.NUMERICIDENTIFIERLOOSE]})\\.(${dt[mt.NUMERICIDENTIFIERLOOSE]})`),At("PRERELEASEIDENTIFIER",`(?:${dt[mt.NUMERICIDENTIFIER]}|${dt[mt.NONNUMERICIDENTIFIER]})`),At("PRERELEASEIDENTIFIERLOOSE",`(?:${dt[mt.NUMERICIDENTIFIERLOOSE]}|${dt[mt.NONNUMERICIDENTIFIER]})`),At("PRERELEASE",`(?:-(${dt[mt.PRERELEASEIDENTIFIER]}(?:\\.${dt[mt.PRERELEASEIDENTIFIER]})*))`),At("PRERELEASELOOSE",`(?:-?(${dt[mt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${dt[mt.PRERELEASEIDENTIFIERLOOSE]})*))`),At("BUILDIDENTIFIER",`${yt}+`),At("BUILD",`(?:\\+(${dt[mt.BUILDIDENTIFIER]}(?:\\.${dt[mt.BUILDIDENTIFIER]})*))`),At("FULLPLAIN",`v?${dt[mt.MAINVERSION]}${dt[mt.PRERELEASE]}?${dt[mt.BUILD]}?`),At("FULL",`^${dt[mt.FULLPLAIN]}$`),At("LOOSEPLAIN",`[v=\\s]*${dt[mt.MAINVERSIONLOOSE]}${dt[mt.PRERELEASELOOSE]}?${dt[mt.BUILD]}?`),At("LOOSE",`^${dt[mt.LOOSEPLAIN]}$`),At("GTLT","((?:<|>)?=?)"),At("XRANGEIDENTIFIERLOOSE",`${dt[mt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),At("XRANGEIDENTIFIER",`${dt[mt.NUMERICIDENTIFIER]}|x|X|\\*`),At("XRANGEPLAIN",`[v=\\s]*(${dt[mt.XRANGEIDENTIFIER]})(?:\\.(${dt[mt.XRANGEIDENTIFIER]})(?:\\.(${dt[mt.XRANGEIDENTIFIER]})(?:${dt[mt.PRERELEASE]})?${dt[mt.BUILD]}?)?)?`),At("XRANGEPLAINLOOSE",`[v=\\s]*(${dt[mt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${dt[mt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${dt[mt.XRANGEIDENTIFIERLOOSE]})(?:${dt[mt.PRERELEASELOOSE]})?${dt[mt.BUILD]}?)?)?`),At("XRANGE",`^${dt[mt.GTLT]}\\s*${dt[mt.XRANGEPLAIN]}$`),At("XRANGELOOSE",`^${dt[mt.GTLT]}\\s*${dt[mt.XRANGEPLAINLOOSE]}$`),At("COERCEPLAIN",`(^|[^\\d])(\\d{1,${_e}})(?:\\.(\\d{1,${_e}}))?(?:\\.(\\d{1,${_e}}))?`),At("COERCE",`${dt[mt.COERCEPLAIN]}(?:$|[^\\d])`),At("COERCEFULL",dt[mt.COERCEPLAIN]+`(?:${dt[mt.PRERELEASE]})?(?:${dt[mt.BUILD]})?(?:$|[^\\d])`),At("COERCERTL",dt[mt.COERCE],!0),At("COERCERTLFULL",dt[mt.COERCEFULL],!0),At("LONETILDE","(?:~>?)"),At("TILDETRIM",`(\\s*)${dt[mt.LONETILDE]}\\s+`,!0),j.tildeTrimReplace="$1~",At("TILDE",`^${dt[mt.LONETILDE]}${dt[mt.XRANGEPLAIN]}$`),At("TILDELOOSE",`^${dt[mt.LONETILDE]}${dt[mt.XRANGEPLAINLOOSE]}$`),At("LONECARET","(?:\\^)"),At("CARETTRIM",`(\\s*)${dt[mt.LONECARET]}\\s+`,!0),j.caretTrimReplace="$1^",At("CARET",`^${dt[mt.LONECARET]}${dt[mt.XRANGEPLAIN]}$`),At("CARETLOOSE",`^${dt[mt.LONECARET]}${dt[mt.XRANGEPLAINLOOSE]}$`),At("COMPARATORLOOSE",`^${dt[mt.GTLT]}\\s*(${dt[mt.LOOSEPLAIN]})$|^$`),At("COMPARATOR",`^${dt[mt.GTLT]}\\s*(${dt[mt.FULLPLAIN]})$|^$`),At("COMPARATORTRIM",`(\\s*)${dt[mt.GTLT]}\\s*(${dt[mt.LOOSEPLAIN]}|${dt[mt.XRANGEPLAIN]})`,!0),j.comparatorTrimReplace="$1$2$3",At("HYPHENRANGE",`^\\s*(${dt[mt.XRANGEPLAIN]})\\s+-\\s+(${dt[mt.XRANGEPLAIN]})\\s*$`),At("HYPHENRANGELOOSE",`^\\s*(${dt[mt.XRANGEPLAINLOOSE]})\\s+-\\s+(${dt[mt.XRANGEPLAINLOOSE]})\\s*$`),At("STAR","(<|>)?=?\\s*\\*"),At("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),At("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(re$2,re$2.exports);var reExports=re$2.exports;const looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions$1=a=>a?typeof a!="object"?looseOption:a:emptyOpts;var parseOptions_1=parseOptions$1;const numeric=/^[0-9]+$/,compareIdentifiers$1=(a,j)=>{const _e=numeric.test(a),et=numeric.test(j);return _e&&et&&(a=+a,j=+j),a===j?0:_e&&!et?-1:et&&!_e?1:a<j?-1:1},rcompareIdentifiers=(a,j)=>compareIdentifiers$1(j,a);var identifiers$1={compareIdentifiers:compareIdentifiers$1,rcompareIdentifiers};const debug$2=debug_1$1,{MAX_LENGTH,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$1}=constants$1,{safeRe:re$1,t:t$1}=reExports,parseOptions=parseOptions_1,{compareIdentifiers}=identifiers$1;let SemVer$d=class ps{constructor(j,_e){if(_e=parseOptions(_e),j instanceof ps){if(j.loose===!!_e.loose&&j.includePrerelease===!!_e.includePrerelease)return j;j=j.version}else if(typeof j!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof j}".`);if(j.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug$2("SemVer",j,_e),this.options=_e,this.loose=!!_e.loose,this.includePrerelease=!!_e.includePrerelease;const et=j.trim().match(_e.loose?re$1[t$1.LOOSE]:re$1[t$1.FULL]);if(!et)throw new TypeError(`Invalid Version: ${j}`);if(this.raw=j,this.major=+et[1],this.minor=+et[2],this.patch=+et[3],this.major>MAX_SAFE_INTEGER$1||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER$1||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER$1||this.patch<0)throw new TypeError("Invalid patch version");et[4]?this.prerelease=et[4].split(".").map(nt=>{if(/^[0-9]+$/.test(nt)){const tt=+nt;if(tt>=0&&tt<MAX_SAFE_INTEGER$1)return tt}return nt}):this.prerelease=[],this.build=et[5]?et[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(j){if(debug$2("SemVer.compare",this.version,this.options,j),!(j instanceof ps)){if(typeof j=="string"&&j===this.version)return 0;j=new ps(j,this.options)}return j.version===this.version?0:this.compareMain(j)||this.comparePre(j)}compareMain(j){return j instanceof ps||(j=new ps(j,this.options)),compareIdentifiers(this.major,j.major)||compareIdentifiers(this.minor,j.minor)||compareIdentifiers(this.patch,j.patch)}comparePre(j){if(j instanceof ps||(j=new ps(j,this.options)),this.prerelease.length&&!j.prerelease.length)return-1;if(!this.prerelease.length&&j.prerelease.length)return 1;if(!this.prerelease.length&&!j.prerelease.length)return 0;let _e=0;do{const et=this.prerelease[_e],nt=j.prerelease[_e];if(debug$2("prerelease compare",_e,et,nt),et===void 0&&nt===void 0)return 0;if(nt===void 0)return 1;if(et===void 0)return-1;if(et===nt)continue;return compareIdentifiers(et,nt)}while(++_e)}compareBuild(j){j instanceof ps||(j=new ps(j,this.options));let _e=0;do{const et=this.build[_e],nt=j.build[_e];if(debug$2("build compare",_e,et,nt),et===void 0&&nt===void 0)return 0;if(nt===void 0)return 1;if(et===void 0)return-1;if(et===nt)continue;return compareIdentifiers(et,nt)}while(++_e)}inc(j,_e,et){switch(j){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",_e,et);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",_e,et);break;case"prepatch":this.prerelease.length=0,this.inc("patch",_e,et),this.inc("pre",_e,et);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",_e,et),this.inc("pre",_e,et);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const nt=Number(et)?1:0;if(!_e&&et===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[nt];else{let tt=this.prerelease.length;for(;--tt>=0;)typeof this.prerelease[tt]=="number"&&(this.prerelease[tt]++,tt=-2);if(tt===-1){if(_e===this.prerelease.join(".")&&et===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(nt)}}if(_e){let tt=[_e,nt];et===!1&&(tt=[_e]),compareIdentifiers(this.prerelease[0],_e)===0?isNaN(this.prerelease[1])&&(this.prerelease=tt):this.prerelease=tt}break}default:throw new Error(`invalid increment argument: ${j}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var semver$2=SemVer$d;const SemVer$c=semver$2,parse$d=(a,j,_e=!1)=>{if(a instanceof SemVer$c)return a;try{return new SemVer$c(a,j)}catch(et){if(!_e)return null;throw et}};var parse_1=parse$d;const parse$c=parse_1,valid$2=(a,j)=>{const _e=parse$c(a,j);return _e?_e.version:null};var valid_1=valid$2;const parse$b=parse_1,clean$1=(a,j)=>{const _e=parse$b(a.trim().replace(/^[=v]+/,""),j);return _e?_e.version:null};var clean_1=clean$1;const SemVer$b=semver$2,inc$1=(a,j,_e,et,nt)=>{typeof _e=="string"&&(nt=et,et=_e,_e=void 0);try{return new SemVer$b(a instanceof SemVer$b?a.version:a,_e).inc(j,et,nt).version}catch{return null}};var inc_1=inc$1;const parse$a=parse_1,diff$1=(a,j)=>{const _e=parse$a(a,null,!0),et=parse$a(j,null,!0),nt=_e.compare(et);if(nt===0)return null;const tt=nt>0,ot=tt?_e:et,ft=tt?et:_e,dt=!!ot.prerelease.length;if(!!ft.prerelease.length&&!dt)return!ft.patch&&!ft.minor?"major":ot.patch?"patch":ot.minor?"minor":"major";const pt=dt?"pre":"";return _e.major!==et.major?pt+"major":_e.minor!==et.minor?pt+"minor":_e.patch!==et.patch?pt+"patch":"prerelease"};var diff_1=diff$1;const SemVer$a=semver$2,major$1=(a,j)=>new SemVer$a(a,j).major;var major_1=major$1;const SemVer$9=semver$2,minor$1=(a,j)=>new SemVer$9(a,j).minor;var minor_1=minor$1;const SemVer$8=semver$2,patch$1=(a,j)=>new SemVer$8(a,j).patch;var patch_1=patch$1;const parse$9=parse_1,prerelease$1=(a,j)=>{const _e=parse$9(a,j);return _e&&_e.prerelease.length?_e.prerelease:null};var prerelease_1=prerelease$1;const SemVer$7=semver$2,compare$b=(a,j,_e)=>new SemVer$7(a,_e).compare(new SemVer$7(j,_e));var compare_1=compare$b;const compare$a=compare_1,rcompare$1=(a,j,_e)=>compare$a(j,a,_e);var rcompare_1=rcompare$1;const compare$9=compare_1,compareLoose$1=(a,j)=>compare$9(a,j,!0);var compareLoose_1=compareLoose$1;const SemVer$6=semver$2,compareBuild$3=(a,j,_e)=>{const et=new SemVer$6(a,_e),nt=new SemVer$6(j,_e);return et.compare(nt)||et.compareBuild(nt)};var compareBuild_1=compareBuild$3;const compareBuild$2=compareBuild_1,sort$1=(a,j)=>a.sort((_e,et)=>compareBuild$2(_e,et,j));var sort_1=sort$1;const compareBuild$1=compareBuild_1,rsort$1=(a,j)=>a.sort((_e,et)=>compareBuild$1(et,_e,j));var rsort_1=rsort$1;const compare$8=compare_1,gt$4=(a,j,_e)=>compare$8(a,j,_e)>0;var gt_1=gt$4;const compare$7=compare_1,lt$3=(a,j,_e)=>compare$7(a,j,_e)<0;var lt_1=lt$3;const compare$6=compare_1,eq$4=(a,j,_e)=>compare$6(a,j,_e)===0;var eq_1=eq$4;const compare$5=compare_1,neq$2=(a,j,_e)=>compare$5(a,j,_e)!==0;var neq_1=neq$2;const compare$4=compare_1,gte$3=(a,j,_e)=>compare$4(a,j,_e)>=0;var gte_1=gte$3;const compare$3=compare_1,lte$3=(a,j,_e)=>compare$3(a,j,_e)<=0;var lte_1=lte$3;const eq$3=eq_1,neq$1=neq_1,gt$3=gt_1,gte$2=gte_1,lt$2=lt_1,lte$2=lte_1,cmp$1=(a,j,_e,et)=>{switch(j){case"===":return typeof a=="object"&&(a=a.version),typeof _e=="object"&&(_e=_e.version),a===_e;case"!==":return typeof a=="object"&&(a=a.version),typeof _e=="object"&&(_e=_e.version),a!==_e;case"":case"=":case"==":return eq$3(a,_e,et);case"!=":return neq$1(a,_e,et);case">":return gt$3(a,_e,et);case">=":return gte$2(a,_e,et);case"<":return lt$2(a,_e,et);case"<=":return lte$2(a,_e,et);default:throw new TypeError(`Invalid operator: ${j}`)}};var cmp_1=cmp$1;const SemVer$5=semver$2,parse$8=parse_1,{safeRe:re,t}=reExports,coerce$1=(a,j)=>{if(a instanceof SemVer$5)return a;if(typeof a=="number"&&(a=String(a)),typeof a!="string")return null;j=j||{};let _e=null;if(!j.rtl)_e=a.match(j.includePrerelease?re[t.COERCEFULL]:re[t.COERCE]);else{const dt=j.includePrerelease?re[t.COERCERTLFULL]:re[t.COERCERTL];let mt;for(;(mt=dt.exec(a))&&(!_e||_e.index+_e[0].length!==a.length);)(!_e||mt.index+mt[0].length!==_e.index+_e[0].length)&&(_e=mt),dt.lastIndex=mt.index+mt[1].length+mt[2].length;dt.lastIndex=-1}if(_e===null)return null;const et=_e[2],nt=_e[3]||"0",tt=_e[4]||"0",ot=j.includePrerelease&&_e[5]?`-${_e[5]}`:"",ft=j.includePrerelease&&_e[6]?`+${_e[6]}`:"";return parse$8(`${et}.${nt}.${tt}${ot}${ft}`,j)};var coerce_1=coerce$1;class LRUCache{constructor(){this.max=1e3,this.map=new Map}get(j){const _e=this.map.get(j);if(_e!==void 0)return this.map.delete(j),this.map.set(j,_e),_e}delete(j){return this.map.delete(j)}set(j,_e){if(!this.delete(j)&&_e!==void 0){if(this.map.size>=this.max){const nt=this.map.keys().next().value;this.delete(nt)}this.map.set(j,_e)}return this}}var lrucache=LRUCache,range,hasRequiredRange;function requireRange(){if(hasRequiredRange)return range;hasRequiredRange=1;const a=/\s+/g;class j{constructor(ht,vt){if(vt=nt(vt),ht instanceof j)return ht.loose===!!vt.loose&&ht.includePrerelease===!!vt.includePrerelease?ht:new j(ht.raw,vt);if(ht instanceof tt)return this.raw=ht.value,this.set=[[ht]],this.formatted=void 0,this;if(this.options=vt,this.loose=!!vt.loose,this.includePrerelease=!!vt.includePrerelease,this.raw=ht.trim().replace(a," "),this.set=this.raw.split("||").map($t=>this.parseRange($t.trim())).filter($t=>$t.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const $t=this.set[0];if(this.set=this.set.filter(xt=>!Ct(xt[0])),this.set.length===0)this.set=[$t];else if(this.set.length>1){for(const xt of this.set)if(xt.length===1&&Mt(xt[0])){this.set=[xt];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let ht=0;ht<this.set.length;ht++){ht>0&&(this.formatted+="||");const vt=this.set[ht];for(let $t=0;$t<vt.length;$t++)$t>0&&(this.formatted+=" "),this.formatted+=vt[$t].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(ht){const $t=((this.options.includePrerelease&&St)|(this.options.loose&&At))+":"+ht,xt=et.get($t);if(xt)return xt;const bt=this.options.loose,it=bt?dt[mt.HYPHENRANGELOOSE]:dt[mt.HYPHENRANGE];ht=ht.replace(it,rt(this.options.includePrerelease)),ot("hyphen replace",ht),ht=ht.replace(dt[mt.COMPARATORTRIM],pt),ot("comparator trim",ht),ht=ht.replace(dt[mt.TILDETRIM],yt),ot("tilde trim",ht),ht=ht.replace(dt[mt.CARETTRIM],Tt),ot("caret trim",ht);let Et=ht.split(" ").map(Bt=>Pt(Bt,this.options)).join(" ").split(/\s+/).map(Bt=>Rt(Bt,this.options));bt&&(Et=Et.filter(Bt=>(ot("loose invalid filter",Bt,this.options),!!Bt.match(dt[mt.COMPARATORLOOSE])))),ot("range list",Et);const Dt=new Map,Nt=Et.map(Bt=>new tt(Bt,this.options));for(const Bt of Nt){if(Ct(Bt))return[Bt];Dt.set(Bt.value,Bt)}Dt.size>1&&Dt.has("")&&Dt.delete("");const Vt=[...Dt.values()];return et.set($t,Vt),Vt}intersects(ht,vt){if(!(ht instanceof j))throw new TypeError("a Range is required");return this.set.some($t=>kt($t,vt)&&ht.set.some(xt=>kt(xt,vt)&&$t.every(bt=>xt.every(it=>bt.intersects(it,vt)))))}test(ht){if(!ht)return!1;if(typeof ht=="string")try{ht=new ft(ht,this.options)}catch{return!1}for(let vt=0;vt<this.set.length;vt++)if(ut(this.set[vt],ht,this.options))return!0;return!1}}range=j;const _e=lrucache,et=new _e,nt=parseOptions_1,tt=requireComparator(),ot=debug_1$1,ft=semver$2,{safeRe:dt,t:mt,comparatorTrimReplace:pt,tildeTrimReplace:yt,caretTrimReplace:Tt}=reExports,{FLAG_INCLUDE_PRERELEASE:St,FLAG_LOOSE:At}=constants$1,Ct=ct=>ct.value==="<0.0.0-0",Mt=ct=>ct.value==="",kt=(ct,ht)=>{let vt=!0;const $t=ct.slice();let xt=$t.pop();for(;vt&&$t.length;)vt=$t.every(bt=>xt.intersects(bt,ht)),xt=$t.pop();return vt},Pt=(ct,ht)=>(ot("comp",ct,ht),ct=jt(ct,ht),ot("caret",ct),ct=Ft(ct,ht),ot("tildes",ct),ct=sn(ct,ht),ot("xrange",ct),ct=vn(ct,ht),ot("stars",ct),ct),Lt=ct=>!ct||ct.toLowerCase()==="x"||ct==="*",Ft=(ct,ht)=>ct.trim().split(/\s+/).map(vt=>Yt(vt,ht)).join(" "),Yt=(ct,ht)=>{const vt=ht.loose?dt[mt.TILDELOOSE]:dt[mt.TILDE];return ct.replace(vt,($t,xt,bt,it,Et)=>{ot("tilde",ct,$t,xt,bt,it,Et);let Dt;return Lt(xt)?Dt="":Lt(bt)?Dt=`>=${xt}.0.0 <${+xt+1}.0.0-0`:Lt(it)?Dt=`>=${xt}.${bt}.0 <${xt}.${+bt+1}.0-0`:Et?(ot("replaceTilde pr",Et),Dt=`>=${xt}.${bt}.${it}-${Et} <${xt}.${+bt+1}.0-0`):Dt=`>=${xt}.${bt}.${it} <${xt}.${+bt+1}.0-0`,ot("tilde return",Dt),Dt})},jt=(ct,ht)=>ct.trim().split(/\s+/).map(vt=>Wt(vt,ht)).join(" "),Wt=(ct,ht)=>{ot("caret",ct,ht);const vt=ht.loose?dt[mt.CARETLOOSE]:dt[mt.CARET],$t=ht.includePrerelease?"-0":"";return ct.replace(vt,(xt,bt,it,Et,Dt)=>{ot("caret",ct,xt,bt,it,Et,Dt);let Nt;return Lt(bt)?Nt="":Lt(it)?Nt=`>=${bt}.0.0${$t} <${+bt+1}.0.0-0`:Lt(Et)?bt==="0"?Nt=`>=${bt}.${it}.0${$t} <${bt}.${+it+1}.0-0`:Nt=`>=${bt}.${it}.0${$t} <${+bt+1}.0.0-0`:Dt?(ot("replaceCaret pr",Dt),bt==="0"?it==="0"?Nt=`>=${bt}.${it}.${Et}-${Dt} <${bt}.${it}.${+Et+1}-0`:Nt=`>=${bt}.${it}.${Et}-${Dt} <${bt}.${+it+1}.0-0`:Nt=`>=${bt}.${it}.${Et}-${Dt} <${+bt+1}.0.0-0`):(ot("no pr"),bt==="0"?it==="0"?Nt=`>=${bt}.${it}.${Et}${$t} <${bt}.${it}.${+Et+1}-0`:Nt=`>=${bt}.${it}.${Et}${$t} <${bt}.${+it+1}.0-0`:Nt=`>=${bt}.${it}.${Et} <${+bt+1}.0.0-0`),ot("caret return",Nt),Nt})},sn=(ct,ht)=>(ot("replaceXRanges",ct,ht),ct.split(/\s+/).map(vt=>ln(vt,ht)).join(" ")),ln=(ct,ht)=>{ct=ct.trim();const vt=ht.loose?dt[mt.XRANGELOOSE]:dt[mt.XRANGE];return ct.replace(vt,($t,xt,bt,it,Et,Dt)=>{ot("xRange",ct,$t,xt,bt,it,Et,Dt);const Nt=Lt(bt),Vt=Nt||Lt(it),Bt=Vt||Lt(Et),Kt=Bt;return xt==="="&&Kt&&(xt=""),Dt=ht.includePrerelease?"-0":"",Nt?xt===">"||xt==="<"?$t="<0.0.0-0":$t="*":xt&&Kt?(Vt&&(it=0),Et=0,xt===">"?(xt=">=",Vt?(bt=+bt+1,it=0,Et=0):(it=+it+1,Et=0)):xt==="<="&&(xt="<",Vt?bt=+bt+1:it=+it+1),xt==="<"&&(Dt="-0"),$t=`${xt+bt}.${it}.${Et}${Dt}`):Vt?$t=`>=${bt}.0.0${Dt} <${+bt+1}.0.0-0`:Bt&&($t=`>=${bt}.${it}.0${Dt} <${bt}.${+it+1}.0-0`),ot("xRange return",$t),$t})},vn=(ct,ht)=>(ot("replaceStars",ct,ht),ct.trim().replace(dt[mt.STAR],"")),Rt=(ct,ht)=>(ot("replaceGTE0",ct,ht),ct.trim().replace(dt[ht.includePrerelease?mt.GTE0PRE:mt.GTE0],"")),rt=ct=>(ht,vt,$t,xt,bt,it,Et,Dt,Nt,Vt,Bt,Kt)=>(Lt($t)?vt="":Lt(xt)?vt=`>=${$t}.0.0${ct?"-0":""}`:Lt(bt)?vt=`>=${$t}.${xt}.0${ct?"-0":""}`:it?vt=`>=${vt}`:vt=`>=${vt}${ct?"-0":""}`,Lt(Nt)?Dt="":Lt(Vt)?Dt=`<${+Nt+1}.0.0-0`:Lt(Bt)?Dt=`<${Nt}.${+Vt+1}.0-0`:Kt?Dt=`<=${Nt}.${Vt}.${Bt}-${Kt}`:ct?Dt=`<${Nt}.${Vt}.${+Bt+1}-0`:Dt=`<=${Dt}`,`${vt} ${Dt}`.trim()),ut=(ct,ht,vt)=>{for(let $t=0;$t<ct.length;$t++)if(!ct[$t].test(ht))return!1;if(ht.prerelease.length&&!vt.includePrerelease){for(let $t=0;$t<ct.length;$t++)if(ot(ct[$t].semver),ct[$t].semver!==tt.ANY&&ct[$t].semver.prerelease.length>0){const xt=ct[$t].semver;if(xt.major===ht.major&&xt.minor===ht.minor&&xt.patch===ht.patch)return!0}return!1}return!0};return range}var comparator,hasRequiredComparator;function requireComparator(){if(hasRequiredComparator)return comparator;hasRequiredComparator=1;const a=Symbol("SemVer ANY");class j{static get ANY(){return a}constructor(pt,yt){if(yt=_e(yt),pt instanceof j){if(pt.loose===!!yt.loose)return pt;pt=pt.value}pt=pt.trim().split(/\s+/).join(" "),ot("comparator",pt,yt),this.options=yt,this.loose=!!yt.loose,this.parse(pt),this.semver===a?this.value="":this.value=this.operator+this.semver.version,ot("comp",this)}parse(pt){const yt=this.options.loose?et[nt.COMPARATORLOOSE]:et[nt.COMPARATOR],Tt=pt.match(yt);if(!Tt)throw new TypeError(`Invalid comparator: ${pt}`);this.operator=Tt[1]!==void 0?Tt[1]:"",this.operator==="="&&(this.operator=""),Tt[2]?this.semver=new ft(Tt[2],this.options.loose):this.semver=a}toString(){return this.value}test(pt){if(ot("Comparator.test",pt,this.options.loose),this.semver===a||pt===a)return!0;if(typeof pt=="string")try{pt=new ft(pt,this.options)}catch{return!1}return tt(pt,this.operator,this.semver,this.options)}intersects(pt,yt){if(!(pt instanceof j))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new dt(pt.value,yt).test(this.value):pt.operator===""?pt.value===""?!0:new dt(this.value,yt).test(pt.semver):(yt=_e(yt),yt.includePrerelease&&(this.value==="<0.0.0-0"||pt.value==="<0.0.0-0")||!yt.includePrerelease&&(this.value.startsWith("<0.0.0")||pt.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&pt.operator.startsWith(">")||this.operator.startsWith("<")&&pt.operator.startsWith("<")||this.semver.version===pt.semver.version&&this.operator.includes("=")&&pt.operator.includes("=")||tt(this.semver,"<",pt.semver,yt)&&this.operator.startsWith(">")&&pt.operator.startsWith("<")||tt(this.semver,">",pt.semver,yt)&&this.operator.startsWith("<")&&pt.operator.startsWith(">")))}}comparator=j;const _e=parseOptions_1,{safeRe:et,t:nt}=reExports,tt=cmp_1,ot=debug_1$1,ft=semver$2,dt=requireRange();return comparator}const Range$9=requireRange(),satisfies$4=(a,j,_e)=>{try{j=new Range$9(j,_e)}catch{return!1}return j.test(a)};var satisfies_1=satisfies$4;const Range$8=requireRange(),toComparators$1=(a,j)=>new Range$8(a,j).set.map(_e=>_e.map(et=>et.value).join(" ").trim().split(" "));var toComparators_1=toComparators$1;const SemVer$4=semver$2,Range$7=requireRange(),maxSatisfying$1=(a,j,_e)=>{let et=null,nt=null,tt=null;try{tt=new Range$7(j,_e)}catch{return null}return a.forEach(ot=>{tt.test(ot)&&(!et||nt.compare(ot)===-1)&&(et=ot,nt=new SemVer$4(et,_e))}),et};var maxSatisfying_1=maxSatisfying$1;const SemVer$3=semver$2,Range$6=requireRange(),minSatisfying$1=(a,j,_e)=>{let et=null,nt=null,tt=null;try{tt=new Range$6(j,_e)}catch{return null}return a.forEach(ot=>{tt.test(ot)&&(!et||nt.compare(ot)===1)&&(et=ot,nt=new SemVer$3(et,_e))}),et};var minSatisfying_1=minSatisfying$1;const SemVer$2=semver$2,Range$5=requireRange(),gt$2=gt_1,minVersion$1=(a,j)=>{a=new Range$5(a,j);let _e=new SemVer$2("0.0.0");if(a.test(_e)||(_e=new SemVer$2("0.0.0-0"),a.test(_e)))return _e;_e=null;for(let et=0;et<a.set.length;++et){const nt=a.set[et];let tt=null;nt.forEach(ot=>{const ft=new SemVer$2(ot.semver.version);switch(ot.operator){case">":ft.prerelease.length===0?ft.patch++:ft.prerelease.push(0),ft.raw=ft.format();case"":case">=":(!tt||gt$2(ft,tt))&&(tt=ft);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${ot.operator}`)}}),tt&&(!_e||gt$2(_e,tt))&&(_e=tt)}return _e&&a.test(_e)?_e:null};var minVersion_1=minVersion$1;const Range$4=requireRange(),validRange$1=(a,j)=>{try{return new Range$4(a,j).range||"*"}catch{return null}};var valid$1=validRange$1;const SemVer$1=semver$2,Comparator$2=requireComparator(),{ANY:ANY$1}=Comparator$2,Range$3=requireRange(),satisfies$3=satisfies_1,gt$1=gt_1,lt$1=lt_1,lte$1=lte_1,gte$1=gte_1,outside$3=(a,j,_e,et)=>{a=new SemVer$1(a,et),j=new Range$3(j,et);let nt,tt,ot,ft,dt;switch(_e){case">":nt=gt$1,tt=lte$1,ot=lt$1,ft=">",dt=">=";break;case"<":nt=lt$1,tt=gte$1,ot=gt$1,ft="<",dt="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies$3(a,j,et))return!1;for(let mt=0;mt<j.set.length;++mt){const pt=j.set[mt];let yt=null,Tt=null;if(pt.forEach(St=>{St.semver===ANY$1&&(St=new Comparator$2(">=0.0.0")),yt=yt||St,Tt=Tt||St,nt(St.semver,yt.semver,et)?yt=St:ot(St.semver,Tt.semver,et)&&(Tt=St)}),yt.operator===ft||yt.operator===dt||(!Tt.operator||Tt.operator===ft)&&tt(a,Tt.semver))return!1;if(Tt.operator===dt&&ot(a,Tt.semver))return!1}return!0};var outside_1=outside$3;const outside$2=outside_1,gtr$1=(a,j,_e)=>outside$2(a,j,">",_e);var gtr_1=gtr$1;const outside$1=outside_1,ltr$1=(a,j,_e)=>outside$1(a,j,"<",_e);var ltr_1=ltr$1;const Range$2=requireRange(),intersects$1=(a,j,_e)=>(a=new Range$2(a,_e),j=new Range$2(j,_e),a.intersects(j,_e));var intersects_1=intersects$1;const satisfies$2=satisfies_1,compare$2=compare_1;var simplify=(a,j,_e)=>{const et=[];let nt=null,tt=null;const ot=a.sort((pt,yt)=>compare$2(pt,yt,_e));for(const pt of ot)satisfies$2(pt,j,_e)?(tt=pt,nt||(nt=pt)):(tt&&et.push([nt,tt]),tt=null,nt=null);nt&&et.push([nt,null]);const ft=[];for(const[pt,yt]of et)pt===yt?ft.push(pt):!yt&&pt===ot[0]?ft.push("*"):yt?pt===ot[0]?ft.push(`<=${yt}`):ft.push(`${pt} - ${yt}`):ft.push(`>=${pt}`);const dt=ft.join(" || "),mt=typeof j.raw=="string"?j.raw:String(j);return dt.length<mt.length?dt:j};const Range$1=requireRange(),Comparator$1=requireComparator(),{ANY}=Comparator$1,satisfies$1=satisfies_1,compare$1=compare_1,subset$1=(a,j,_e={})=>{if(a===j)return!0;a=new Range$1(a,_e),j=new Range$1(j,_e);let et=!1;e:for(const nt of a.set){for(const tt of j.set){const ot=simpleSubset(nt,tt,_e);if(et=et||ot!==null,ot)continue e}if(et)return!1}return!0},minimumVersionWithPreRelease=[new Comparator$1(">=0.0.0-0")],minimumVersion=[new Comparator$1(">=0.0.0")],simpleSubset=(a,j,_e)=>{if(a===j)return!0;if(a.length===1&&a[0].semver===ANY){if(j.length===1&&j[0].semver===ANY)return!0;_e.includePrerelease?a=minimumVersionWithPreRelease:a=minimumVersion}if(j.length===1&&j[0].semver===ANY){if(_e.includePrerelease)return!0;j=minimumVersion}const et=new Set;let nt,tt;for(const St of a)St.operator===">"||St.operator===">="?nt=higherGT(nt,St,_e):St.operator==="<"||St.operator==="<="?tt=lowerLT(tt,St,_e):et.add(St.semver);if(et.size>1)return null;let ot;if(nt&&tt){if(ot=compare$1(nt.semver,tt.semver,_e),ot>0)return null;if(ot===0&&(nt.operator!==">="||tt.operator!=="<="))return null}for(const St of et){if(nt&&!satisfies$1(St,String(nt),_e)||tt&&!satisfies$1(St,String(tt),_e))return null;for(const At of j)if(!satisfies$1(St,String(At),_e))return!1;return!0}let ft,dt,mt,pt,yt=tt&&!_e.includePrerelease&&tt.semver.prerelease.length?tt.semver:!1,Tt=nt&&!_e.includePrerelease&&nt.semver.prerelease.length?nt.semver:!1;yt&&yt.prerelease.length===1&&tt.operator==="<"&&yt.prerelease[0]===0&&(yt=!1);for(const St of j){if(pt=pt||St.operator===">"||St.operator===">=",mt=mt||St.operator==="<"||St.operator==="<=",nt){if(Tt&&St.semver.prerelease&&St.semver.prerelease.length&&St.semver.major===Tt.major&&St.semver.minor===Tt.minor&&St.semver.patch===Tt.patch&&(Tt=!1),St.operator===">"||St.operator===">="){if(ft=higherGT(nt,St,_e),ft===St&&ft!==nt)return!1}else if(nt.operator===">="&&!satisfies$1(nt.semver,String(St),_e))return!1}if(tt){if(yt&&St.semver.prerelease&&St.semver.prerelease.length&&St.semver.major===yt.major&&St.semver.minor===yt.minor&&St.semver.patch===yt.patch&&(yt=!1),St.operator==="<"||St.operator==="<="){if(dt=lowerLT(tt,St,_e),dt===St&&dt!==tt)return!1}else if(tt.operator==="<="&&!satisfies$1(tt.semver,String(St),_e))return!1}if(!St.operator&&(tt||nt)&&ot!==0)return!1}return!(nt&&mt&&!tt&&ot!==0||tt&&pt&&!nt&&ot!==0||Tt||yt)},higherGT=(a,j,_e)=>{if(!a)return j;const et=compare$1(a.semver,j.semver,_e);return et>0?a:et<0||j.operator===">"&&a.operator===">="?j:a},lowerLT=(a,j,_e)=>{if(!a)return j;const et=compare$1(a.semver,j.semver,_e);return et<0?a:et>0||j.operator==="<"&&a.operator==="<="?j:a};var subset_1=subset$1;const internalRe=reExports,constants=constants$1,SemVer=semver$2,identifiers=identifiers$1,parse$7=parse_1,valid=valid_1,clean=clean_1,inc=inc_1,diff=diff_1,major=major_1,minor=minor_1,patch=patch_1,prerelease=prerelease_1,compare=compare_1,rcompare=rcompare_1,compareLoose=compareLoose_1,compareBuild=compareBuild_1,sort=sort_1,rsort=rsort_1,gt=gt_1,lt=lt_1,eq$2=eq_1,neq=neq_1,gte=gte_1,lte=lte_1,cmp=cmp_1,coerce=coerce_1,Comparator=requireComparator(),Range=requireRange(),satisfies=satisfies_1,toComparators=toComparators_1,maxSatisfying=maxSatisfying_1,minSatisfying=minSatisfying_1,minVersion=minVersion_1,validRange=valid$1,outside=outside_1,gtr=gtr_1,ltr=ltr_1,intersects=intersects_1,simplifyRange=simplify,subset=subset_1;var semver={parse:parse$7,valid,clean,inc,diff,major,minor,patch,prerelease,compare,rcompare,compareLoose,compareBuild,sort,rsort,gt,lt,eq:eq$2,neq,gte,lte,cmp,coerce,Comparator,Range,satisfies,toComparators,maxSatisfying,minSatisfying,minVersion,validRange,outside,gtr,ltr,intersects,simplifyRange,subset,SemVer,re:internalRe.re,src:internalRe.src,tokens:internalRe.t,SEMVER_SPEC_VERSION:constants.SEMVER_SPEC_VERSION,RELEASE_TYPES:constants.RELEASE_TYPES,compareIdentifiers:identifiers.compareIdentifiers,rcompareIdentifiers:identifiers.rcompareIdentifiers};const semver$1=getDefaultExportFromCjs$1(semver),BLACK_LIST=[`${AUTH_SERVICE_PREFIX}/connect`,`${AUTH_SERVICE_PREFIX}/login`,`${AUTH_SERVICE_PREFIX}/invite`,`${AUTH_SERVICE_PREFIX}/issue-passport`,`${AUTH_SERVICE_PREFIX}/oauth/*`],blackListRoute=BLACK_LIST.map(a=>pathToRegexp$1(a,[]));async function login(){const a=(window==null?void 0:window.blocklet)||{},j=window.location.pathname,{componentId:_e,CHAIN_TYPE:et="arcblock",appPid:nt}=a;if(blackListRoute.some(ft=>ft.exec(j)))return null;const ot=getApps();try{const ft=`${window.location.origin}${AUTH_SERVICE_PREFIX}/api/user/loginByWallet`;return await default_1$3.asyncCall("arcLogin",{target:ft,chainType:et,appPid:nt,componentId:_e,apps:ot.map(mt=>{let pt=mt==null?void 0:mt.appLogo;return isUrl(pt)||(pt=joinURL(mt.appUrl,pt)),{appName:mt.appName,appPid:mt.appPid,appUrl:mt.appUrl,appLogo:pt,sourceAppPid:mt.sourceAppPid}})})}catch(ft){return console.error(ft),null}}async function getVisitorId(){return await default_1$3.asyncCall("arcGetVisitorId")}function checkEnableAutoLogin({platform:a,version:j}={}){return!!(a==="ios"&&j&&semver$1.gte(j,"4.15.6")||a==="android"&&j&&semver$1.gte(j,"4.15.1"))}async function didSpacesIsRequired(a){var nt;if((nt=a==null?void 0:a.didSpace)!=null&&nt.endpoint||!window.blocklet||window.self!==window.top)return!1;const j=getWalletDid(a);if(isEmpty$1(j))return!1;const{componentMountPoints:_e}=window.blocklet,[,et]=window.blocklet.componentId.split("/");return _e.some(tt=>{var ot;return((ot=tt==null?void 0:tt.capabilities)==null?void 0:ot.didSpace)==="requiredOnConnect"&&et===tt.did})}const{Provider:Provider$4,Consumer:Consumer$4}=SessionContext$1,didConnectTimeoutError={en:"DID Connect timeout, please reopen DID Connect popup",zh:"DID Connect 超时, 请重新打开 DID Connect"},waitForDidConnect={en:"DID Connect is already opened, please wait for it to complete",zh:"DID Connect 已打开,请等待完成"};function createSessionContext(a=SESSION_TOKEN_STORAGE_KEY,j="ls",_e={},et={}){var mt;let nt="/";(mt=globalThis==null?void 0:globalThis.blocklet)!=null&&mt.prefix&&(nt=globalThis.blocklet.prefix),typeof et=="boolean"&&(et={appendAuthServicePrefix:et,extraParams:{}}),defaultsDeep$1(et,{rolling:!0,appendAuthServicePrefix:!1,extraParams:{},refreshTokenStorageKey:REFRESH_TOKEN_STORAGE_KEY});const tt=createStorage(a,j,_e),ot=createStorage(et.refreshTokenStorageKey,"ls");function ft(pt){var jn,kn;const{connectApi:yt,connectHolder:Tt}=useConnect(),St=useBrowser(),At=useReactive({extraParams:{},options:{},currentLocale:pt.locale,allowWallet:void 0,openMode:"window",get autoConnect(){return typeof pt.autoConnect=="boolean"?pt.autoConnect:!!pt.autoLogin},get prefix(){return et.appendAuthServicePrefix||pt.appendAuthServicePrefix?joinURL(AUTH_SERVICE_PREFIX,pt.prefix):pt.prefix}}),Ct=useReactive({action:pt.action,error:"",initialized:!1,loading:!1,open:!1,user:null,provider:"",walletOS:"",baseUrl:""}),Mt=useCreation(()=>pt.locale||At.currentLocale||getBrowserLang(),[pt.locale,At.currentLocale]),{confirmApi:kt,confirmHolder:Pt}=useConfirm(),Lt=useMemoizedFn(()=>{if(Ct.open){const Dn=waitForDidConnect[Mt]||waitForDidConnect.en;throw Toast$1.warning(Dn),new Error(Dn)}}),Ft=useCreation(()=>new EventEmitter$6,[]),Yt=useMemoizedFn((Dn,Wn,Nn)=>{const Hn={login:[EVENTS.LOGIN,EVENTS.CANCEL_LOGIN],"bind-wallet":[EVENTS.BIND_WALLET,EVENTS.CANCEL_BIND_WALLET],"switch-passport":[EVENTS.SWITCH_PASSPORT,EVENTS.CANCEL_SWITCH_PASSPORT],"switch-profile":[EVENTS.SWITCH_PROFILE,EVENTS.CANCEL_SWITCH_PROFILE],"switch-did":[EVENTS.LOGIN,EVENTS.CANCEL_LOGIN]};if(!Object.keys(Hn).includes(Dn))return;const dr=async(...Gn)=>{isFunction$8(Wn)&&await Wn(...Gn),Ft.emit(Dn,...Gn)};Ft.once(Hn[Dn][0],dr),Ft.once(Hn[Dn][1],async(...Gn)=>{isFunction$8(dr)&&Ft.off(Hn[Dn][0],dr),isFunction$8(Nn)&&await Nn(...Gn),Ft.emit(`cancel-${Dn}`,...Gn)})}),jt=usePrevious(Ct.initialized,(Dn,Wn)=>Dn!==Wn||Dn===!0&&Wn===!0),{handleRefreshUser:Wt,handleRefreshToken:sn,renewToken:ln,clearSession:vn,handleLoginResult:Rt,decrypt:rt,service:ut,getSessionToken:ct,getRefreshToken:ht,setRefreshToken:vt,setSessionToken:$t}=useSessionToken({state:Ct,pageState:At,sessionTokenStorage:tt,refreshTokenStorage:ot,serviceHost:pt.serviceHost,apiOptions:pt.apiOptions,lazyRefreshToken:pt.lazyRefreshToken}),xt=useMemoizedFn((Dn,Wn={},Nn={})=>{Lt();const Hn=Dn;typeof Hn=="object"&&(Dn=Hn.onSuccess,Wn=Hn.extraParams||{},Nn=Hn.options||{},Nn.origin=Hn.origin||""),(!Ct.user||Nn.origin==="switch-did")&&(Nn.origin==="switch-did"?Yt("switch-did",Dn,Hn==null?void 0:Hn.onCancel):Yt("login",Dn,Hn==null?void 0:Hn.onCancel),At.extraParams=Wn,At.options=Nn,Ct.action="login",Cn())}),bt=useMemoizedFn(async(Dn,Wn={},Nn={})=>{var zn;Lt();const Hn=Dn;typeof Hn=="object"&&(Dn=Hn.onSuccess,Wn=Hn.extraParams||{},Nn=Hn.options||{}),isUndefined$2(Wn==null?void 0:Wn.inviter)&&window.localStorage.getItem("inviter")&&(Wn.inviter=window.localStorage.getItem("inviter"));const{params:dr}=await decodeUrlParams();if(isUndefined$2(Wn==null?void 0:Wn.forceConnected)&&(dr!=null&&dr.forceConnected)&&(Wn.forceConnected=dr.forceConnected,isUndefined$2(Nn.showQuickConnect)&&(Nn.showQuickConnect=!1)),isUndefined$2(Wn==null?void 0:Wn.sourceAppPid)&&!isUndefined$2(dr==null?void 0:dr.sourceAppPid)&&(Wn.sourceAppPid=dr.sourceAppPid),(Wn==null?void 0:Wn.openMode)==="redirect"){const tr=(Wn==null?void 0:Wn.redirect)||"/",Fr=new URL(`${AUTH_SERVICE_PREFIX}/login`,window.location.origin);Fr.searchParams.set("redirect",tr),Wn!=null&&Wn.forceConnected&&Fr.searchParams.set("forceConnected",Wn==null?void 0:Wn.forceConnected),isUndefined$2(Wn==null?void 0:Wn.sourceAppPid)||Fr.searchParams.set("sourceAppPid",Wn==null?void 0:Wn.sourceAppPid),isUndefined$2(Wn==null?void 0:Wn.inviter)||Fr.searchParams.set("inviter",Wn==null?void 0:Wn.inviter),Nn!=null&&Nn.origin&&Fr.searchParams.set("origin",Nn.origin),window.location.href=Fr.href;return}let Gn=Wn==null?void 0:Wn.sourceAppPid;isUndefined$2(Gn)&&Mn&&(Gn=cr.appPid),await pWaitFor$1(()=>Ct.initialized),typeof Nn=="string"&&(Nn={origin:Nn});const Qn=cloneDeep$1(Wn);At.allowWallet=void 0;const Br=(Qn==null?void 0:Qn.openMode)||((zn=pt==null?void 0:pt.extraParams)==null?void 0:zn.openMode);isUndefined$2(Br)?At.openMode="window":At.openMode=Br,Gn?Ct.baseUrl=globalThis.blocklet.appUrl:Ct.baseUrl="",xt(Dn,Qn,Nn)}),it=getVisitorId$2(),Et=useMemoizedFn(async Dn=>{const Wn=joinURL(AUTH_SERVICE_PREFIX,"/api/user/logout");await fetch(Wn,{method:"POST",body:JSON.stringify({visitorId:it}),headers:{"Content-Type":"application/json"}}),vn(),_n(),Ct.user=null,Ct.provider="",Ct.walletOS="",Ct.error="",Ct.loading=!1,Ft.emit("logout"),typeof Dn=="function"&&Dn()}),{userSessions:Dt,refresh:Nt,loaded:Vt,loginUserSession:Bt}=useQuickConnect({appPid:getCurrentAppPid(Ct.user),loginAppPid:(jn=globalThis==null?void 0:globalThis.blocklet)==null?void 0:jn.appPid,sourceAppPid:(kn=Ct==null?void 0:Ct.user)==null?void 0:kn.sourceAppPid,autoFetch:!1,fetchAll:!0}),Kt=useMemoizedFn(async()=>{Ct!=null&&Ct.user||await new Promise(Dn=>{bt(()=>{Dn()})})}),qt=useMemoizedFn((Dn,Wn={},Nn={})=>{Lt();const Hn=Dn;typeof Hn=="object"&&(Dn=Hn.onSuccess,Wn=Hn.extraParams||{},Nn=Hn.options||{}),typeof Nn=="string"&&(Nn={origin:Nn}),Nn!=null&&Nn.userSession?Bt(Nn.userSession).then(dr=>{updateConnectedInfo({connected_did:Nn.userSession.user.did,connected_pk:Nn.userSession.user.pk,connected_wallet_os:Nn.userSession.extra.walletOS,connected_app:getAppId$1()},!0),Yt("switch-did",Dn),Rt({...dr,encrypted:!1}),Wt(!0).then(async()=>{await sleep$1(),Ft.emit(EVENTS.LOGIN,dr,rt,Zt.current),await Gt()})}):(isUndefined$2(Wn==null?void 0:Wn.forceConnected)&&(Wn.forceConnected=!1),bt(Dn,Wn,{...Nn,origin:"switch-did"}))}),nn=useMemoizedFn(async()=>{await new BlockletSDK().user.refreshProfile()}),un=useMemoizedFn(async(Dn,Wn={})=>{await Kt(),Lt();const Nn=Dn;typeof Nn=="object"&&(Dn=Nn.onSuccess,Wn=Nn.extraParams||{}),Yt("switch-profile",Dn,Nn==null?void 0:Nn.onCancel),At.extraParams=Wn,At.options={},Ct.action="switch-profile",Cn()}),hn=useMemoizedFn(async(Dn,Wn={})=>{await Kt(),Lt();const Nn=Dn;typeof Nn=="object"&&(Dn=Nn.onSuccess,Wn=Nn.extraParams||{}),Yt("switch-passport",Dn,Nn==null?void 0:Nn.onCancel),At.extraParams=Wn,At.options={},Ct.action="switch-passport",Cn()}),zt=useMemoizedFn(async({extraParams:Dn={},onSuccess:Wn=()=>{},...Nn}={})=>{await Kt(),Lt(),At.extraParams={referrer:window.location.href,purpose:"authorize-for-import",...Dn},At.options={},Ct.action="connect-to-did-spaces-for-user",Cn({hideCloseButton:!0,onSuccess:Wn,...Nn})}),Ot=useMemoizedFn(async({extraParams:Dn={},onSuccess:Wn={}}={})=>{await Kt(),zt({extraParams:{purpose:"authorize-for-import",...Dn},onSuccess:Wn,hideCloseButton:!1})}),Gt=useMemoizedFn(async({extraParams:Dn={},onSuccess:Wn={}}={})=>{await Kt(),await didSpacesIsRequired(Ct==null?void 0:Ct.user)&&zt({extraParams:{purpose:"authorize-for-full-access",...Dn},onSuccess:Wn})}),cn=useMemoizedFn(async(Dn,Wn={})=>{if(await Kt(),getWalletDid(Ct.user)){Dn({},rt,Zt.current);return}Lt();const Nn=Dn;typeof Nn=="object"&&(Dn=Nn.onSuccess),Yt("bind-wallet",Dn,Nn==null?void 0:Nn.onCancel),At.extraParams=Wn,At.options={},Ct.action="bind-wallet",Cn()}),tn=useMemoizedFn(async Dn=>{At.extraParams={},At.options={},Rt(Dn),Ct.loading=!1,await Wt(!0),await sleep$1(),Ct.action==="login"?(Ft.emit(EVENTS.LOGIN,Dn,rt,Zt.current),Gt()):Ct.action==="switch-passport"&&Ft.emit(EVENTS.SWITCH_PASSPORT,Dn,rt,Zt.current)}),yn=useMemoizedFn(Dn=>{At.extraParams={},At.options={},Rt(Dn),Ct.loading=!1,Wt(!0).then(async()=>{await sleep$1(),Ft.emit(EVENTS.BIND_WALLET,Dn,rt,Zt.current)})}),xn=useMemoizedFn(()=>{Wt(!0),Ft.emit(EVENTS.CONNECT_TO_DID_SPACE_FOR_FULL_ACCESS)}),dn=useMemoizedFn(Dn=>{At.extraParams={},At.options={},Ct.loading=!1,Wt(!0).then(async()=>{await sleep$1(),Ft.emit(EVENTS.SWITCH_PROFILE,Dn,rt,Zt.current)})}),gn=useMemoizedFn(Dn=>{At.extraParams={},At.options={},_n();const Wn={login:EVENTS.CANCEL_LOGIN,"switch-profile":EVENTS.CANCEL_SWITCH_PROFILE,"switch-passport":EVENTS.CANCEL_SWITCH_PASSPORT,"bind-wallet":EVENTS.CANCEL_BIND_WALLET};Ft.emit(Wn[Dn])}),Un=useMemoizedFn((Dn,...Wn)=>{try{Tn[Dn](...Wn)}catch(Nn){console.error("Catch error in onSuccess",{action:Dn,args:Wn,err:Nn})}}),{federatedMaster:En,federatedEnabled:Mn,master:cr}=useFederated({locale:Mt,decrypt:rt,login:xt,handleLoginResult:Rt,handleRefreshUser:Wt,setRefreshToken:vt,setSessionToken:$t}),{checkMatch:On}=useProtectedRoutes({protectedRoutes:pt.protectedRoutes||[]}),Ln=useLatest(Dt),wn=useMemoizedFn(async()=>(Vt||(await Nt(),await sleep$1()),Ln.current)),_n=useMemoizedFn(()=>{Ct.open=!1,yt.close()}),Cn=async(Dn={})=>{var Qn,Br,zn,tr,Fr,Xn,ir;let Wn=Ct.action;((Qn=At==null?void 0:At.options)==null?void 0:Qn.origin)==="switch-did"&&(Wn=(Br=At==null?void 0:At.options)==null?void 0:Br.origin);const Nn=translations$2[Wn],Hn=Nn[Mt]||Nn.en,dr={...et.extraParams,...pt.extraParams,...At.extraParams,previousUserDid:(zn=Ct==null?void 0:Ct.user)==null?void 0:zn.did,email:(tr=Ct==null?void 0:Ct.user)==null?void 0:tr.email};if(Wn==="switch-did"&&(dr!=null&&dr.forceConnected)){const Or=(Kn,An={})=>translate(translations$2["switch-specified-did"],Kn,Mt,"en",An);Hn.title=Or("title"),Hn.scan=Or("scan",{did:dr.forceConnected}),Hn.confirm=Or("confirm"),Hn.success=Or("success")}dr==null||delete dr.openMode;const Gn={action:Ct.action,locale:Mt,hideCloseButton:Dn==null?void 0:Dn.hideCloseButton,extraParams:dr,options:{...pt.options||{},...At.options},checkTimeout:pt.timeout,webWalletUrl:pt.webWalletUrl,messages:Hn,useSocket:pt.useSocket,...omit$1(pt,["action","locale","serviceHost","appendAuthServicePrefix","autoDisconnect","children","timeout","extraParams","options","webWalletUrl","messages","useSocket","lazyRefreshToken","apiOptions","protectedRoutes"]),...pick$2(At.extraParams||{},["autoConnect","forceConnected","saveConnect","useSocket"]),prefix:At.prefix,allowWallet:isUndefined$2(At.allowWallet)?Ct.action!=="login"||(((Fr=globalThis.blocklet)==null?void 0:Fr.DID_CONNECT_ALLOW_WALLET)||"1")==="1":At.allowWallet,onSuccess:async(...Or)=>{Un(Ct.action,...Or),isFunction$8(Dn==null?void 0:Dn.onSuccess)&&await Dn.onSuccess(...Or),Ct.open=!1},onClose(...Or){gn(Ct.action,...Or)},onError(Or){console.error(Or)}};if(Ct.open=!0,["login"].includes(Ct.action)&&At.openMode==="window"&&!St.wallet)try{const Or={...Gn,baseUrl:window.location.origin};isUrl(At.prefix)||(Or.prefix=joinURL(window.location.origin,pt.serviceHost==="/"?"":pt.serviceHost,At.prefix)),(Xn=Or.extraParams)!=null&&Xn.provider||(Or.extraParams.provider=((ir=Ct==null?void 0:Ct.user)==null?void 0:ir.provider)||"wallet"),await yt.openPopup(Or,{locale:Mt})}catch(Or){Or instanceof NotOpenError&&_n(),Or.message==="Timeout"?Toast$1.error(didConnectTimeoutError[Mt]||didConnectTimeoutError.en):console.error(Or)}else yt.open(Gn)},Jn=useMemoizedFn(async()=>{const{params:Dn,url:Wn}=await decodeUrlParams();if(Dn){const{switchBehavior:Nn,forceConnected:Hn,sourceAppPid:dr,showClose:Gn}=Dn;Hn===Ct.user.did?window.history.replaceState(null,"trim",Wn):Nn==="required"?qt(()=>{},{openMode:"redirect",redirect:Wn,sourceAppPid:dr,forceConnected:Hn}):Nn==="disabled"?window.history.replaceState(null,"trim",Wn):kt.open({title:translations$2.switchAccountDialog[Mt].title,content:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Typography,{variant:"body1",sx:{textAlign:"center",mb:2},children:translations$2.switchAccountDialog[Mt].description}),jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",color:colors$1.foregroundsFgBase},children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,lineHeight:1},children:[jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:Ct.user.did,shape:"circle",variant:"circle",size:80}),jsxRuntimeExports.jsx(DID,{did:Ct.user.did,showAvatar:!1,compact:!0,responsive:!1}),translations$2.switchAccountDialog[Mt].currentAccount]}),jsxRuntimeExports.jsx(Box,{sx:{display:"flex",justifyContent:"center",px:2},children:jsxRuntimeExports.jsx(Box,{component:Icon,icon:data$w,fontSize:24,color:colors$1.foregroundsFgMuted,sx:{animation:"right 2.5s linear infinite","@keyframes right":{"0%":{transform:"translateX(-3px)",opacity:0},"60%":{transform:"translateX(3px)",opacity:1},"100%":{transform:"translateX(0px)",opacity:0}}}})}),jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,lineHeight:1,fontWeight:500},children:[jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:Hn,shape:"circle",variant:"circle",size:80}),jsxRuntimeExports.jsx(DID,{did:Hn,showAvatar:!1,compact:!0,responsive:!1}),translations$2.switchAccountDialog[Mt].nextAccount]})]})]}),showCloseButton:Gn,showCancelButton:!1,confirmButtonText:translations$2.switchAccountDialog[Mt].confirm,async onConfirm(Qn){const zn=(await wn()).find(tr=>tr.userDid===Hn);if(zn){Bt(zn).then(tr=>{updateConnectedInfo({connected_did:zn.user.did,connected_pk:zn.user.pk,connected_wallet_os:zn.extra.walletOS,connected_app:getAppId$1()},!0),Rt({...tr,encrypted:!1}),Wt(!0).then(async()=>{await sleep$1(),Ft.emit(EVENTS.LOGIN,tr,rt,Zt.current),await Gt()})}),Qn();return}qt(()=>{Qn(),window.location.replace(Wn)},{sourceAppPid:dr,forceConnected:Hn,enableSwitchApp:!1},{showQuickConnect:!0})}})}}),an=useMemoizedFn(async(Dn,Wn)=>{const Nn=Object.assign({login:!0,bindWallet:!0,bindDidSpaces:!1},Wn==null?void 0:Wn.requirements),Hn=(Wn==null?void 0:Wn.openMode)||"popup";Nn.login&&await Kt(),Nn.bindWallet&&await new Promise(dr=>{cn(()=>{dr()})}),Nn.bindDidSpaces&&(await didSpacesIsRequired(Ct==null?void 0:Ct.user)||await new Promise(dr=>{Nn.bindDidSpaces==="full"?Gt({onSuccess(){dr()}}):Nn.bindDidSpaces==="read"&&Ot({onSuccess(){dr()}})})),Hn==="window"?yt.openPopup(Dn,Wn):Hn==="popup"&&yt.open(Dn)}),Ht={...Ct,loading:At.autoConnect&&!Ct.user||Ct.loading,openDidConnect:an,login:bt,logout:Et,switchDid:qt,autoSwitchDid:Jn,refreshProfile:nn,switchProfile:un,switchPassport:hn,connectToDidSpaceForImport:Ot,connectToDidSpaceForFullAccess:Gt,bindWallet:cn,refresh:Wt,updateConnectedInfo,federatedMaster:En,useOAuth,OAuthProvider,OAuthConsumer,OAuthContext,useDid,WrapDid,getUserSessions:wn},Zt=useLatest(Ht),mn={api:ut,events:Ft,storage:tt,connectApi:yt,session:Zt.current},Tn={login:tn,"switch-profile":dn,"switch-passport":tn,"bind-wallet":yn,"connect-to-did-spaces-for-user":xn};return useUpdateEffect(()=>{if(Ct.initialized){const Dn=!jt;Ft.emit("change",{user:cloneDeep$1(Ct.user),isFirst:Dn})}},[Ct.user,Ct.initialized,Ft]),useUpdateEffect(()=>{Ct.initialized&&Ct.user&&Jn()},[Ct.initialized]),useMount(async()=>{const Dn=Cookie.get("connected_app"),Wn=getAppId$1();if(pt.autoDisconnect&&Dn&&Wn&&Dn!==Wn){vn(),Ct.initialized=!0,At.autoConnect?Cn():_n();return}const Nn=ct();let Hn="web";if(St.mobile.apple.device?Hn="ios":St.mobile.android.device&&(Hn="android"),(window==null?void 0:window.self)===(window==null?void 0:window.parent)&&St.wallet&&checkEnableAutoLogin({version:St.walletVersion,platform:Hn})){if(!it){const Gn=await getVisitorId();setVisitorId(Gn)}if(!Nn)try{Ct.loading=!0;const Gn=await login();if(Gn){await tn({sessionToken:Gn.sessionToken,refreshToken:Gn.refreshToken,encrypted:!1}),Ct.initialized=!0;return}}finally{Ct.loading=!1}}if(Nn){await Wt(!0),Ct.initialized=!0,await Gt();return}if(typeof window<"u"){const Gn=new URL(window.location.href),Qn=Gn.searchParams.get("loginToken");if(Qn){Rt({loginToken:Qn,encrypted:!1}),Gn.searchParams.delete("loginToken"),window.history.replaceState({},window.title,Gn.href);return}}if(ht()){await sn(!0),Ct.initialized=!0;return}try{}catch(Gn){console.error("Federated: tryAutoLogin failed",Gn)}finally{Ct.initialized=!0}At.autoConnect?Cn():_n()}),On()&&!Ct.initialized?jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})}):jsxRuntimeExports.jsx(Provider$4,{value:mn,children:jsxRuntimeExports.jsxs(OAuthProvider,{locale:Mt,onSwitchPassport:({sessionToken:Dn,refreshToken:Wn})=>{tn({sessionToken:Dn,refreshToken:Wn,encrypted:!1})},onUnbindOAuth:()=>{Wt()},onBindOAuth:()=>{Wt()},children:[!Ct.open&&typeof pt.children=="function"?pt.children(Ct):pt.children,Tt,Pt,et.rolling&&jsxRuntimeExports.jsx(WindowFocusAware,{callback:()=>ln()})]})})}ft.propTypes={children:PropTypes.any.isRequired,serviceHost:PropTypes.string,action:PropTypes.string,prefix:PropTypes.string,appendAuthServicePrefix:PropTypes.bool,locale:PropTypes.string,timeout:PropTypes.number,autoConnect:PropTypes.bool,autoDisconnect:PropTypes.bool,useSocket:PropTypes.bool,extraParams:PropTypes.object,options:PropTypes.object,webWalletUrl:PropTypes.string,protectedRoutes:PropTypes.arrayOf(PropTypes.string),apiOptions:PropTypes.object,lazyRefreshToken:PropTypes.bool},ft.defaultProps={serviceHost:nt,locale:"",action:"login",prefix:API_DID_PREFIX,appendAuthServicePrefix:!1,extraParams:{},options:{},autoConnect:!1,autoDisconnect:!0,useSocket:!0,timeout:DEFAULT_TIMEOUT$1*1e3,webWalletUrl:"",protectedRoutes:["*"],apiOptions:{},lazyRefreshToken:!1};function dt(pt){return function(Tt){return jsxRuntimeExports.jsx(ToastProvider,{children:jsxRuntimeExports.jsx(Consumer$4,{children:St=>jsxRuntimeExports.jsx(pt,{...Tt,...St})})})}}return{SessionProvider:pt=>jsxRuntimeExports.jsx(ToastProvider,{children:jsxRuntimeExports.jsx(ft,{...pt})}),SessionConsumer:Consumer$4,SessionContext:SessionContext$1,withSession:dt}}let path="/";window.env&&(path=window.env.groupPathPrefix||window.env.pathPrefix||"/");function formatCacheTtl(a,j){return[void 0,null,""].includes(a)?j:a/86400}var W1,K1,Y1;const sessionTokenExpireInDays=formatCacheTtl((Y1=(K1=(W1=window.blocklet)==null?void 0:W1.settings)==null?void 0:K1.session)==null?void 0:Y1.cacheTtl,constant$3.SESSION_CACHE_TTL/86400);var X1,Z1,Q1;const refreshTokenExpireInDays=formatCacheTtl((Q1=(Z1=(X1=window.blocklet)==null?void 0:X1.settings)==null?void 0:Z1.session)==null?void 0:Q1.ttl,constant$3.SESSION_TTL/86400),{SessionProvider,SessionContext,SessionConsumer,withSession}=createSessionContext("login_token","cookie",{returnDomain:!1,path,expireInDays:sessionTokenExpireInDays},{refreshTokenStorageKey:"refresh_token",refreshTokenExpireInDays});function useSessionContext(){return reactExports.useContext(SessionContext)}function Root$1({children:a}){const j=create$3({typography:{fontSize:14,button:{textTransform:"none"}},palette:{primary:{main:"#1DC1C7",contrastText:"#fff"}}});return jsxRuntimeExports.jsx(StyledEngineProvider,{injectFirst:!0,children:jsxRuntimeExports.jsx(ThemeProvider$1,{theme:j,children:jsxRuntimeExports.jsx(ThemeProvider$4,{theme:j,children:jsxRuntimeExports.jsx(LocaleProvider,{translations:translations$9,fallbackLocale:"en",children:jsxRuntimeExports.jsx(ToastProvider,{children:jsxRuntimeExports.jsx(RootInside,{theme:j,children:a})})})})})})}const url$1=new URL(window.location.href),mode=url$1.searchParams.get("mode")||"",isEmbedDialog=url$1.pathname.includes("embed")&&mode==="dialog",isEmbedSection=url$1.pathname.includes("embed")&&mode!=="dialog";function RootInside({children:a,theme:j}){var nt,tt,ot;const{locale:_e}=useLocaleContext(),et=css`
496
+ `),()=>this.onerror("timeout"),j=>{this.awaitingBatchAck=!1,!j||j.status!==200?(this.onerror(j&&j.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(a,j,_e){for(let nt of this.reqs)nt.abort();this.readyState=SOCKET_STATES.closed;let et=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:a,reason:j,wasClean:_e});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",et)):this.onclose(et)}ajax(a,j,_e,et,nt){let tt,ot=()=>{this.reqs.delete(tt),et()};tt=Ajax.request(a,this.endpointURL(),j,_e,this.timeout,ot,ft=>{this.reqs.delete(tt),this.isActive()&&nt(ft)}),this.reqs.add(tt)}},Presence=class{constructor(a,j={}){let _e=j.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=a,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(_e.state,et=>{let{onJoin:nt,onLeave:tt,onSync:ot}=this.caller;this.joinRef=this.channel.joinRef(),this.state=Presence.syncState(this.state,et,nt,tt),this.pendingDiffs.forEach(ft=>{this.state=Presence.syncDiff(this.state,ft,nt,tt)}),this.pendingDiffs=[],ot()}),this.channel.on(_e.diff,et=>{let{onJoin:nt,onLeave:tt,onSync:ot}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(et):(this.state=Presence.syncDiff(this.state,et,nt,tt),ot())})}onJoin(a){this.caller.onJoin=a}onLeave(a){this.caller.onLeave=a}onSync(a){this.caller.onSync=a}list(a){return Presence.list(this.state,a)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(a,j,_e,et){let nt=this.clone(a),tt={},ot={};return this.map(nt,(ft,dt)=>{j[ft]||(ot[ft]=dt)}),this.map(j,(ft,dt)=>{let mt=nt[ft];if(mt){let pt=dt.metas.map(At=>At.phx_ref),yt=mt.metas.map(At=>At.phx_ref),Tt=dt.metas.filter(At=>yt.indexOf(At.phx_ref)<0),St=mt.metas.filter(At=>pt.indexOf(At.phx_ref)<0);Tt.length>0&&(tt[ft]=dt,tt[ft].metas=Tt),St.length>0&&(ot[ft]=this.clone(mt),ot[ft].metas=St)}else tt[ft]=dt}),this.syncDiff(nt,{joins:tt,leaves:ot},_e,et)}static syncDiff(a,j,_e,et){let{joins:nt,leaves:tt}=this.clone(j);return _e||(_e=function(){}),et||(et=function(){}),this.map(nt,(ot,ft)=>{let dt=a[ot];if(a[ot]=this.clone(ft),dt){let mt=a[ot].metas.map(yt=>yt.phx_ref),pt=dt.metas.filter(yt=>mt.indexOf(yt.phx_ref)<0);a[ot].metas.unshift(...pt)}_e(ot,dt,ft)}),this.map(tt,(ot,ft)=>{let dt=a[ot];if(!dt)return;let mt=ft.metas.map(pt=>pt.phx_ref);dt.metas=dt.metas.filter(pt=>mt.indexOf(pt.phx_ref)<0),et(ot,dt,ft),dt.metas.length===0&&delete a[ot]}),a}static list(a,j){return j||(j=function(_e,et){return et}),this.map(a,(_e,et)=>j(_e,et))}static map(a,j){return Object.getOwnPropertyNames(a).map(_e=>j(_e,a[_e]))}static clone(a){return JSON.parse(JSON.stringify(a))}},serializer_default={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(a,j){if(a.payload.constructor===ArrayBuffer)return j(this.binaryEncode(a));{let _e=[a.join_ref,a.ref,a.topic,a.event,a.payload];return j(JSON.stringify(_e))}},decode(a,j){if(a.constructor===ArrayBuffer)return j(this.binaryDecode(a));{let[_e,et,nt,tt,ot]=JSON.parse(a);return j({join_ref:_e,ref:et,topic:nt,event:tt,payload:ot})}},binaryEncode(a){let{join_ref:j,ref:_e,event:et,topic:nt,payload:tt}=a,ot=this.META_LENGTH+j.length+_e.length+nt.length+et.length,ft=new ArrayBuffer(this.HEADER_LENGTH+ot),dt=new DataView(ft),mt=0;dt.setUint8(mt++,this.KINDS.push),dt.setUint8(mt++,j.length),dt.setUint8(mt++,_e.length),dt.setUint8(mt++,nt.length),dt.setUint8(mt++,et.length),Array.from(j,yt=>dt.setUint8(mt++,yt.charCodeAt(0))),Array.from(_e,yt=>dt.setUint8(mt++,yt.charCodeAt(0))),Array.from(nt,yt=>dt.setUint8(mt++,yt.charCodeAt(0))),Array.from(et,yt=>dt.setUint8(mt++,yt.charCodeAt(0)));var pt=new Uint8Array(ft.byteLength+tt.byteLength);return pt.set(new Uint8Array(ft),0),pt.set(new Uint8Array(tt),ft.byteLength),pt.buffer},binaryDecode(a){let j=new DataView(a),_e=j.getUint8(0),et=new TextDecoder;switch(_e){case this.KINDS.push:return this.decodePush(a,j,et);case this.KINDS.reply:return this.decodeReply(a,j,et);case this.KINDS.broadcast:return this.decodeBroadcast(a,j,et)}},decodePush(a,j,_e){let et=j.getUint8(1),nt=j.getUint8(2),tt=j.getUint8(3),ot=this.HEADER_LENGTH+this.META_LENGTH-1,ft=_e.decode(a.slice(ot,ot+et));ot=ot+et;let dt=_e.decode(a.slice(ot,ot+nt));ot=ot+nt;let mt=_e.decode(a.slice(ot,ot+tt));ot=ot+tt;let pt=a.slice(ot,a.byteLength);return{join_ref:ft,ref:null,topic:dt,event:mt,payload:pt}},decodeReply(a,j,_e){let et=j.getUint8(1),nt=j.getUint8(2),tt=j.getUint8(3),ot=j.getUint8(4),ft=this.HEADER_LENGTH+this.META_LENGTH,dt=_e.decode(a.slice(ft,ft+et));ft=ft+et;let mt=_e.decode(a.slice(ft,ft+nt));ft=ft+nt;let pt=_e.decode(a.slice(ft,ft+tt));ft=ft+tt;let yt=_e.decode(a.slice(ft,ft+ot));ft=ft+ot;let Tt=a.slice(ft,a.byteLength),St={status:yt,response:Tt};return{join_ref:dt,ref:mt,topic:pt,event:CHANNEL_EVENTS.reply,payload:St}},decodeBroadcast(a,j,_e){let et=j.getUint8(1),nt=j.getUint8(2),tt=this.HEADER_LENGTH+2,ot=_e.decode(a.slice(tt,tt+et));tt=tt+et;let ft=_e.decode(a.slice(tt,tt+nt));tt=tt+nt;let dt=a.slice(tt,a.byteLength);return{join_ref:null,ref:null,topic:ot,event:ft,payload:dt}}},Socket$1=class{constructor(j,_e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=_e.timeout||DEFAULT_TIMEOUT,this.transport=_e.transport||global$1.WebSocket||LongPoll,this.establishedConnections=0,this.defaultEncoder=serializer_default.encode.bind(serializer_default),this.defaultDecoder=serializer_default.decode.bind(serializer_default),this.closeWasClean=!1,this.binaryType=_e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==LongPoll?(this.encode=_e.encode||this.defaultEncoder,this.decode=_e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let et=null;phxWindow&&phxWindow.addEventListener&&(phxWindow.addEventListener("pagehide",nt=>{this.conn&&(this.disconnect(),et=this.connectClock)}),phxWindow.addEventListener("pageshow",nt=>{et===this.connectClock&&(et=null,this.connect())})),this.heartbeatIntervalMs=_e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=nt=>_e.rejoinAfterMs?_e.rejoinAfterMs(nt):[1e3,2e3,5e3][nt-1]||1e4,this.reconnectAfterMs=nt=>_e.reconnectAfterMs?_e.reconnectAfterMs(nt):[10,50,100,150,200,250,500,1e3,2e3][nt-1]||5e3,this.logger=_e.logger||null,this.longpollerTimeout=_e.longpollerTimeout||2e4,this.params=closure(_e.params||{}),this.endPoint=`${j}/${TRANSPORTS.websocket}`,this.vsn=_e.vsn||DEFAULT_VSN,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new Timer(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return LongPoll}replaceTransport(j){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=j}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let j=Ajax.appendParams(Ajax.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return j.charAt(0)!=="/"?j:j.charAt(1)==="/"?`${this.protocol()}:${j}`:`${this.protocol()}://${location.host}${j}`}disconnect(j,_e,et){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(j,_e,et)}connect(j){j&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=closure(j)),!this.conn&&(this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=_e=>this.onConnError(_e),this.conn.onmessage=_e=>this.onConnMessage(_e),this.conn.onclose=_e=>this.onConnClose(_e))}log(j,_e,et){this.logger(j,_e,et)}hasLogger(){return this.logger!==null}onOpen(j){let _e=this.makeRef();return this.stateChangeCallbacks.open.push([_e,j]),_e}onClose(j){let _e=this.makeRef();return this.stateChangeCallbacks.close.push([_e,j]),_e}onError(j){let _e=this.makeRef();return this.stateChangeCallbacks.error.push([_e,j]),_e}onMessage(j){let _e=this.makeRef();return this.stateChangeCallbacks.message.push([_e,j]),_e}ping(j){if(!this.isConnected())return!1;let _e=this.makeRef(),et=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:_e});let nt=this.onMessage(tt=>{tt.ref===_e&&(this.off([nt]),j(Date.now()-et))});return!0}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,j])=>j())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),WS_CLOSE_NORMAL,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(j,_e,et){if(!this.conn)return j&&j();this.waitForBufferDone(()=>{this.conn&&(_e?this.conn.close(_e,et||""):this.conn.close()),this.waitForSocketClosed(()=>{this.conn&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),j&&j()})})}waitForBufferDone(j,_e=1){if(_e===5||!this.conn||!this.conn.bufferedAmount){j();return}setTimeout(()=>{this.waitForBufferDone(j,_e+1)},150*_e)}waitForSocketClosed(j,_e=1){if(_e===5||!this.conn||this.conn.readyState===SOCKET_STATES.closed){j();return}setTimeout(()=>{this.waitForSocketClosed(j,_e+1)},150*_e)}onConnClose(j){let _e=j&&j.code;this.hasLogger()&&this.log("transport","close",j),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&_e!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,et])=>et(j))}onConnError(j){this.hasLogger()&&this.log("transport",j);let _e=this.transport,et=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,nt])=>{nt(j,_e,et)}),(_e===this.transport||et>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(j=>{j.isErrored()||j.isLeaving()||j.isClosed()||j.trigger(CHANNEL_EVENTS.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case SOCKET_STATES.connecting:return"connecting";case SOCKET_STATES.open:return"open";case SOCKET_STATES.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(j){this.off(j.stateChangeRefs),this.channels=this.channels.filter(_e=>_e.joinRef()!==j.joinRef())}off(j){for(let _e in this.stateChangeCallbacks)this.stateChangeCallbacks[_e]=this.stateChangeCallbacks[_e].filter(([et])=>j.indexOf(et)===-1)}channel(j,_e={}){let et=new Channel(j,_e,this);return this.channels.push(et),et}push(j){if(this.hasLogger()){let{topic:_e,event:et,payload:nt,ref:tt,join_ref:ot}=j;this.log("push",`${_e} ${et} (${ot}, ${tt})`,nt)}this.isConnected()?this.encode(j,_e=>this.conn.send(_e)):this.sendBuffer.push(()=>this.encode(j,_e=>this.conn.send(_e)))}makeRef(){let j=this.ref+1;return j===this.ref?this.ref=0:this.ref=j,this.ref.toString()}sendHeartbeat(){this.pendingHeartbeatRef&&!this.isConnected()||(this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs))}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(j=>j()),this.sendBuffer=[])}onConnMessage(j){this.decode(j.data,_e=>{let{topic:et,event:nt,payload:tt,ref:ot,join_ref:ft}=_e;ot&&ot===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${tt.status||""} ${et} ${nt} ${ot&&"("+ot+")"||""}`,tt);for(let dt=0;dt<this.channels.length;dt++){const mt=this.channels[dt];mt.isMember(et,nt,tt,ft)&&mt.trigger(nt,tt,ot,ft)}for(let dt=0;dt<this.stateChangeCallbacks.message.length;dt++){let[,mt]=this.stateChangeCallbacks.message[dt];mt(_e)}})}leaveOpenTopic(j){let _e=this.channels.find(et=>et.topic===j&&(et.isJoined()||et.isJoining()));_e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${j}"`),_e.leave())}},browser$5={exports:{}},ms,hasRequiredMs;function requireMs(){if(hasRequiredMs)return ms;hasRequiredMs=1;var a=1e3,j=a*60,_e=j*60,et=_e*24,nt=et*7,tt=et*365.25;ms=function(pt,yt){yt=yt||{};var Tt=typeof pt;if(Tt==="string"&&pt.length>0)return ot(pt);if(Tt==="number"&&isFinite(pt))return yt.long?dt(pt):ft(pt);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(pt))};function ot(pt){if(pt=String(pt),!(pt.length>100)){var yt=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(pt);if(yt){var Tt=parseFloat(yt[1]),St=(yt[2]||"ms").toLowerCase();switch(St){case"years":case"year":case"yrs":case"yr":case"y":return Tt*tt;case"weeks":case"week":case"w":return Tt*nt;case"days":case"day":case"d":return Tt*et;case"hours":case"hour":case"hrs":case"hr":case"h":return Tt*_e;case"minutes":case"minute":case"mins":case"min":case"m":return Tt*j;case"seconds":case"second":case"secs":case"sec":case"s":return Tt*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return Tt;default:return}}}}function ft(pt){var yt=Math.abs(pt);return yt>=et?Math.round(pt/et)+"d":yt>=_e?Math.round(pt/_e)+"h":yt>=j?Math.round(pt/j)+"m":yt>=a?Math.round(pt/a)+"s":pt+"ms"}function dt(pt){var yt=Math.abs(pt);return yt>=et?mt(pt,yt,et,"day"):yt>=_e?mt(pt,yt,_e,"hour"):yt>=j?mt(pt,yt,j,"minute"):yt>=a?mt(pt,yt,a,"second"):pt+" ms"}function mt(pt,yt,Tt,St){var At=yt>=Tt*1.5;return Math.round(pt/Tt)+" "+St+(At?"s":"")}return ms}function setup(a){_e.debug=_e,_e.default=_e,_e.coerce=dt,_e.disable=tt,_e.enable=nt,_e.enabled=ot,_e.humanize=requireMs(),_e.destroy=mt,Object.keys(a).forEach(pt=>{_e[pt]=a[pt]}),_e.names=[],_e.skips=[],_e.formatters={};function j(pt){let yt=0;for(let Tt=0;Tt<pt.length;Tt++)yt=(yt<<5)-yt+pt.charCodeAt(Tt),yt|=0;return _e.colors[Math.abs(yt)%_e.colors.length]}_e.selectColor=j;function _e(pt){let yt,Tt=null,St,At;function Ct(...Mt){if(!Ct.enabled)return;const kt=Ct,Pt=Number(new Date),Lt=Pt-(yt||Pt);kt.diff=Lt,kt.prev=yt,kt.curr=Pt,yt=Pt,Mt[0]=_e.coerce(Mt[0]),typeof Mt[0]!="string"&&Mt.unshift("%O");let Ft=0;Mt[0]=Mt[0].replace(/%([a-zA-Z%])/g,(jt,Wt)=>{if(jt==="%%")return"%";Ft++;const sn=_e.formatters[Wt];if(typeof sn=="function"){const ln=Mt[Ft];jt=sn.call(kt,ln),Mt.splice(Ft,1),Ft--}return jt}),_e.formatArgs.call(kt,Mt),(kt.log||_e.log).apply(kt,Mt)}return Ct.namespace=pt,Ct.useColors=_e.useColors(),Ct.color=_e.selectColor(pt),Ct.extend=et,Ct.destroy=_e.destroy,Object.defineProperty(Ct,"enabled",{enumerable:!0,configurable:!1,get:()=>Tt!==null?Tt:(St!==_e.namespaces&&(St=_e.namespaces,At=_e.enabled(pt)),At),set:Mt=>{Tt=Mt}}),typeof _e.init=="function"&&_e.init(Ct),Ct}function et(pt,yt){const Tt=_e(this.namespace+(typeof yt>"u"?":":yt)+pt);return Tt.log=this.log,Tt}function nt(pt){_e.save(pt),_e.namespaces=pt,_e.names=[],_e.skips=[];let yt;const Tt=(typeof pt=="string"?pt:"").split(/[\s,]+/),St=Tt.length;for(yt=0;yt<St;yt++)Tt[yt]&&(pt=Tt[yt].replace(/\*/g,".*?"),pt[0]==="-"?_e.skips.push(new RegExp("^"+pt.slice(1)+"$")):_e.names.push(new RegExp("^"+pt+"$")))}function tt(){const pt=[..._e.names.map(ft),..._e.skips.map(ft).map(yt=>"-"+yt)].join(",");return _e.enable(""),pt}function ot(pt){if(pt[pt.length-1]==="*")return!0;let yt,Tt;for(yt=0,Tt=_e.skips.length;yt<Tt;yt++)if(_e.skips[yt].test(pt))return!1;for(yt=0,Tt=_e.names.length;yt<Tt;yt++)if(_e.names[yt].test(pt))return!0;return!1}function ft(pt){return pt.toString().substring(2,pt.toString().length-2).replace(/\.\*\?$/,"*")}function dt(pt){return pt instanceof Error?pt.stack||pt.message:pt}function mt(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return _e.enable(_e.load()),_e}var common$1=setup;(function(a,j){var _e={};j.formatArgs=nt,j.save=tt,j.load=ot,j.useColors=et,j.storage=ft(),j.destroy=(()=>{let mt=!1;return()=>{mt||(mt=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),j.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function et(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let mt;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(mt=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(mt[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function nt(mt){if(mt[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+mt[0]+(this.useColors?"%c ":" ")+"+"+a.exports.humanize(this.diff),!this.useColors)return;const pt="color: "+this.color;mt.splice(1,0,pt,"color: inherit");let yt=0,Tt=0;mt[0].replace(/%[a-zA-Z%]/g,St=>{St!=="%%"&&(yt++,St==="%c"&&(Tt=yt))}),mt.splice(Tt,0,pt)}j.log=console.debug||console.log||(()=>{});function tt(mt){try{mt?j.storage.setItem("debug",mt):j.storage.removeItem("debug")}catch{}}function ot(){let mt;try{mt=j.storage.getItem("debug")}catch{}return!mt&&typeof process$1$1<"u"&&"env"in process$1$1&&(mt=_e.DEBUG),mt}function ft(){try{return localStorage}catch{}}a.exports=common$1(j);const{formatters:dt}=a.exports;dt.j=function(mt){try{return JSON.stringify(mt)}catch(pt){return"[UnexpectedJSONParseError]: "+pt.message}}})(browser$5,browser$5.exports);var browserExports=browser$5.exports;const debug$4=browserExports;var logger=(a,j=!1)=>{const _e=debug$4(["@arcblock/ws",a].join(":"));return{debug:_e,warn:_e,info:_e,trace:j?_e:console.error,error:j?_e:console.error}};const createLogger=logger;var base$2=(a,j,_e)=>class extends a{constructor(nt,tt={}){super(nt,{transport:_e,...tt}),this._logger=createLogger("client",tt.silent),this.emitter=new j,this.onOpen(()=>{this._logger.debug("socket open",nt)}),this.onClose(()=>{this._logger.debug("socket close",nt)}),this.onError(ot=>{this._logger.error("socket error",ot.error)}),this.onMessage(ot=>{this._logger.debug("socket message",ot)})}on(nt,tt,ot={}){this.ensureJoinChannel(nt,ot),this.emitter.on(nt,tt)}off(nt,tt){tt?this.emitter.off(nt,tt):this.emitter.removeAllListeners(nt),this.ensureLeaveChannel(nt)}disconnect(nt,tt,ot){this.emitter.eventNames().forEach(ft=>{this.emitter.removeAllListeners(ft)}),super.disconnect(nt,tt,ot)}ensureJoinChannel(nt,tt={}){if(this.emitter.listenerCount(nt)>0)return;const ft=this.channel(nt,tt);ft.join().receive("ok",dt=>{this._logger.debug("join success",{topic:nt,message:dt})}).receive("error",dt=>{this._logger.error("join error",{topic:nt,error:dt})}).receive("timeout",()=>{this._logger.debug("join timeout",{topic:nt})}),ft.on(nt,({status:dt,response:mt})=>{dt==="ok"?this.emitter.emit(nt,mt):this._logger.debug("response error",{topic:nt,status:dt,data:mt})})}ensureLeaveChannel(nt){if(this.emitter.listenerCount(nt)>0)return;const ot=this.channels.find(ft=>ft.topic===nt);ot&&(this.remove(ot),ot.leave().receive("ok",ft=>{this._logger.debug("leave success",{topic:nt,message:ft})}).receive("error",ft=>{this._logger.error("leave error",{topic:nt,err:ft})}).receive("timeout",()=>{this._logger.debug("leave timeout",{topic:nt})}),ot.off(nt))}subscribe(nt,tt={}){let ot=this.channels.find(ft=>ft.topic===nt);return ot||(ot=this.channel(nt,tt),ot.join().receive("ok",ft=>{this._logger.debug("join success",{topic:nt,message:ft})}).receive("error",ft=>{this._logger.error("join error",{topic:nt,error:ft})}).receive("timeout",()=>{this._logger.debug("join timeout",{topic:nt})}),ot)}unsubscribe(nt){this.ensureLeaveChannel(nt)}};const EventEmitter$3=eventemitter3Exports,{Socket}=phoenix_cjs,createClient=base$2;var browser$4=createClient(Socket,EventEmitter$3);const WsClient$1=browser$4;var browser$3={WsClient:WsClient$1};function usePageShow(a){const j=reactExports.useRef(a);reactExports.useEffect(()=>{j.current=a},[a]),reactExports.useEffect(()=>{const _e=et=>{!document.hidden&&j.current&&j.current(et)};return document.addEventListener("visibilitychange",_e),()=>{document.removeEventListener("visibilitychange",_e)}},[])}function getSocketHost(a){const j=a||window.location.href;return new URL(j).host}function getExtraHeaders(a){const j={},_e=a||window.location.href;if(_e){const{hostname:et,protocol:nt,port:tt}=new URL(_e);j["x-real-hostname"]=et,j["x-real-port"]=tt,j["x-real-protocol"]=nt.endsWith(":")?nt.substring(0,nt.length-1):nt}return j}const fns={};function createTokenFn({action:a,prefix:j,checkFn:_e,extraParams:et,baseUrl:nt}){const tt=`${j}/token?${stringifyQuery$1(et)}`;return fns[tt]||(fns[tt]=async function(){var yt,Tt;const ft=+new Date,dt=await _e(tt,{headers:getExtraHeaders(nt)}),mt=+new Date;if(mt-ft<500&&await sleep$1(500-(mt-ft)),(yt=dt==null?void 0:dt.data)!=null&&yt.token)return dt.data;if((Tt=dt==null?void 0:dt.data)!=null&&Tt.error)throw new Error(dt.data.error);const pt=isUrl(j)?j:`${nt}${j}`;throw new Error(`Error generating ${a} qrcode from: ${pt}`)}),fns[tt]}const parseExistingSession=()=>{try{const j=new URL(window.location.href).searchParams.get("__connect_url__");if(!j)return null;const _e=decodeConnectUrl(j);return{token:parseTokenFromConnectUrl(_e),url:_e}}catch(a){return{error:a}}},getAppId=()=>get$6(globalThis,"blocklet.appPid")||get$6(globalThis,"blocklet.appId")||get$6(globalThis,"env.appId")||"",getAppPrefix=()=>(get$6(globalThis,"env.apiPrefix")||"/").replace(/\/$/,"").replace(RELAY_SOCKET_PREFIX,""),getRelayChannel=a=>`relay:${getAppId()}:${a}`,getRelayProtocol=()=>window.location.protocol==="https:"?"wss:":"ws:",isSameOrigin=a=>!a||new URL(a).origin===window.location.origin,isSessionEnded=a=>["succeed","error","timeout","busy"].includes(a);function useToken({action:a,checkFn:j,checkInterval:_e,checkTimeout:et,extraParams:nt,locale:tt,prefix:ot,tokenKey:ft,encKey:dt,onError:mt,onSuccess:pt,baseUrl:yt,autoConnect:Tt=!0,forceConnected:St=!0,saveConnect:At=!0,useSocket:Ct=!0,provider:Mt="wallet"}){const kt=useReactive({checking:!1,loading:!1,token:"",url:"",store:null,status:"created",error:"",checkCount:0,mfaCode:0,appInfo:null,memberAppInfo:null,connectedDid:"",saveConnect:!1,inExistingSession:!1,nextWorkflow:"",baseUrl:yt,prefix:`${ot}/${a}`,extraParams:omitBy$1(nt,isNil$1),checkFn:j,results:{},action:a,provider:Mt}),Pt=reactExports.useRef(null),Lt=translations$3[tt]||translations$3.en,Ft=useCreation(()=>parseExistingSession(),[]),Yt=Math.ceil(et/_e),jt=useReactive({onSuccessCalled:!1,cancelWhenScannedCounter:0,isSocketAvailable:!1}),{encryptKey:Wt,decrypt:sn}=useSecurity(),ln=useBrowser(),vn=getVisitorId$2(),Rt=reactExports.useRef(null),rt=reactExports.useRef(null),ut={...kt.extraParams,locale:tt,[ft]:kt.token||(Ft==null?void 0:Ft.token),provider:kt.provider},ct=async()=>{if(!(Ft!=null&&Ft.token&&(Ft==null?void 0:Ft.token)===kt.token)){try{ut[ft]&&kt.status==="created"&&await kt.checkFn(`${kt.prefix}/timeout?${stringifyQuery$1(ut)}`,{headers:getExtraHeaders(kt.baseUrl)})}catch{}try{kt.token&&rt.current&&(await Rt.current.unsubscribe(getRelayChannel(kt.token)),rt.current=null)}catch{}}},ht=useMemoizedFn((...Dt)=>{const Nt={[dt]:Wt,...kt.extraParams,locale:tt,forceConnected:St,autoConnect:Tt&&!ln.wallet&&!jt.cancelWhenScannedCounter&&["ios","android"].includes(Cookie.get("connected_wallet_os")),provider:kt.provider};vn&&(Nt.visitorId=vn);const Vt=omit$1(Pt.current||{},["sourceAppPid","verbose"]);return Object.keys(Vt).forEach(Kt=>{(!Nt[Kt]||Kt===dt&&Vt[Kt])&&(Nt[Kt]=Vt[Kt])}),Ft!=null&&Ft.token&&!Nt.sourceToken&&(Nt.sourceToken=Ft==null?void 0:Ft.token),createTokenFn({action:a,prefix:kt.prefix,baseUrl:kt.baseUrl,checkFn:kt.checkFn,extraParams:Nt})(...Dt)}),vt=useMemoizedFn(async(Dt=!0)=>{Dt&&ct();try{kt.loading=!0,kt.token="",kt.url="",kt.store=null,kt.extraParams=omitBy$1(nt,isNil$1),await sleep$1();const Nt=await ht(),Vt=Nt.extra||{};kt.loading=!1,kt.token=Nt.token,kt.url=Nt.url,kt.status="created",kt.error="",kt.checkCount=0,kt.appInfo=Nt.appInfo,kt.memberAppInfo=Nt.memberAppInfo,kt.connectedDid=Vt.connectedDid,kt.saveConnect=Vt.saveConnect}catch(Nt){kt.loading=!1,kt.status="error",kt.error=`${Lt.generateError}: ${Nt.message}`}}),$t=()=>{jt.cancelWhenScannedCounter++};reactExports.useEffect(()=>{jt.cancelWhenScannedCounter>0&&(nt.nw?mt(new Error(Lt.retryForbidden)):vt())},[jt.cancelWhenScannedCounter]),reactExports.useEffect(()=>(Ct&&isSameOrigin(kt.baseUrl)&&getAppId()?(!Rt.current||Rt.current.isConnected()===!1||Rt.current.baseUrl!==kt.baseUrl)&&(Rt.current=new browser$3.WsClient(`${getRelayProtocol()}//${getSocketHost(kt.baseUrl)}${getAppPrefix()}${RELAY_SOCKET_PREFIX}/relay`,{longpollerTimeout:5e3,heartbeatIntervalMs:30*1e3}),Rt.current.baseUrl=kt.baseUrl,Rt.current.onOpen(()=>{jt.isSocketAvailable=!0}),Rt.current.connect()):jt.isSocketAvailable&&(jt.isSocketAvailable=!1),()=>{Rt.current&&(Rt.current.disconnect(),Rt.current=null)}),[kt.baseUrl]);const xt=()=>!kt.token||kt.loading||isSessionEnded(kt.status)?null:_e,bt=reactExports.useRef(null);reactExports.useEffect(()=>{bt.current={state:kt,params:ut}}),reactExports.useEffect(()=>()=>{const{state:Dt,params:Nt}=bt.current;Dt.status==="created"&&Nt[ft]&&Dt.checkFn(`${Dt.prefix}/timeout?${stringifyQuery$1(Nt)}`,{headers:getExtraHeaders(Dt.baseUrl)})},[]);const it=async(Dt=!1)=>{var Nt;if(kt.checking||(kt.status==="created"&&kt.checkCount++,jt.isSocketAvailable&&!Dt))return null;try{kt.checking=!0;const Vt=await kt.checkFn(`${kt.prefix}/status?${stringifyQuery$1(ut)}`,{headers:getExtraHeaders(kt.baseUrl)}),{status:Bt,error:Kt,mfaCode:qt=0}=Vt.data;if(kt.store=Vt.data,kt.mfaCode=qt,kt.checking=!1,kt.status=Bt,Bt==="error"&&Kt){const nn=new Error(Kt);throw nn.response=Vt,nn}return Vt.data}catch(Vt){const{response:Bt}=Vt;if(Bt!=null&&Bt.status){ut[ft]&&kt.checkFn(`${kt.prefix}/timeout?${stringifyQuery$1(ut)}`,{headers:getExtraHeaders(kt.baseUrl)});const Kt=(Nt=Bt==null?void 0:Bt.data)!=null&&Nt.error?Bt.data.error:Vt.message,qt=new Error(Kt);qt.code=Bt.status,kt.status="error",kt.checking=!1,kt.error=Kt,mt(qt,kt==null?void 0:kt.store,sn)}else kt.status="error",kt.checking=!1,kt.error=Lt.generateError}return null},Et=async()=>{try{if(Ft.error)throw Ft.error;kt.loading=!0,kt.token=Ft.token,kt.url=Ft.url,kt.inExistingSession=!0;let Dt=await it();if((["scanned"].includes(Dt==null?void 0:Dt.status)||(Dt==null?void 0:Dt.sourceToken)===(Ft==null?void 0:Ft.token))&&(await vt(!1),Dt=await it()),Pt.current=(Dt==null?void 0:Dt.extraParams)||null,Dt!=null&&Dt.status&&!["created"].includes(Dt==null?void 0:Dt.status))throw new Error(`${Lt.invalidSessionStatus} [${Dt.status}]`)}catch(Dt){kt.status="error",kt.error=Dt.message,mt(Dt,kt==null?void 0:kt.store,sn)}finally{kt.loading=!1}};return reactExports.useEffect(()=>{var Dt;if(!kt.token&&!kt.store&&!kt.loading&&!kt.error)if(Ft)Et();else{vt(!1);return}if(kt.status!=="timeout"&&kt.checkCount>Yt){kt.status="timeout",ct();return}if(kt.status==="succeed"&&!jt.onSuccessCalled){const Nt=getConnectedInfo({...kt.store,appInfo:kt.appInfo,memberAppInfo:kt.memberAppInfo});if(isSameOrigin(kt.baseUrl)&&At&&kt.saveConnect&&kt.store.did&&updateConnectedInfo(Nt,!0),kt.store){const{nextWorkflow:Vt}=kt.store;if(Vt)try{const Bt=parseNextWorkflow(Vt,ft);kt.nextWorkflow=(Bt==null?void 0:Bt.nextWorkflow)||Vt,Object.assign(kt,Bt),kt.store=null,kt.error="",kt.url="",kt.appInfo=null,kt.memberAppInfo=null,kt.checkCount=0,kt.status="scanned",kt.results={...kt.results,[kt.token]:kt.store},kt.checkFn=createAxios({baseURL:Bt.baseUrl,timeout:8e3}).get,it()}catch(Bt){console.error(`Invalid nextWorkflow: ${Vt}`,Bt),kt.status="error",kt.error=`Invalid nextWorkflow: ${Vt}: ${Bt.message}`}else if(kt.nextWorkflow&&(kt.nextWorkflow="",kt.url=""),typeof pt=="function"){const Bt=Object.values({...kt.results,[kt.token]:kt.store});jt.onSuccessCalled=!0;const Kt=Bt.length>1?Bt:Bt[0],qt=cloneDeep$1(Kt);pt(qt,sn,{sourceAppPid:nt==null?void 0:nt.sourceAppPid,...Nt})}}return}if((Dt=kt.store)!=null&&Dt.nextWorkflow){const{nextWorkflow:Nt}=kt.store;try{const Vt=parseNextWorkflow(Nt,ft);kt.nextWorkflow=(Vt==null?void 0:Vt.nextWorkflow)||Nt,Object.assign(kt,Vt),kt.store=null,kt.error="",kt.url="",kt.appInfo=null,kt.memberAppInfo=null,kt.checkCount=0,kt.status="scanned",kt.results={...kt.results,[kt.token]:kt.store},kt.checkFn=createAxios({baseURL:Vt.baseUrl,timeout:8e3}).get,it()}catch(Vt){console.error(`Invalid nextWorkflow: ${Nt}`,Vt),kt.status="error",kt.error=`Invalid nextWorkflow: ${Nt}: ${Vt.message}`}}}),reactExports.useEffect(()=>{if(kt.token&&jt.isSocketAvailable&&Rt.current){let Dt=!1;rt.current?rt.current.token!==kt.token&&(Rt.current.unsubscribe(getRelayChannel(rt.current.token)),Dt=!0):Dt=!0,Dt&&(rt.current=Rt.current.subscribe(getRelayChannel(kt.token)),rt.current.token=kt.token,rt.current.on("updated",({response:Nt})=>{let{status:Vt,error:Bt}=Nt;Vt==="forbidden"&&(Bt=Lt.forbidden,Vt="error"),kt.status=Vt,kt.mfaCode=Nt.mfaCode||0,kt.store=Nt,kt.error=Bt,Bt&&mt(new Error(Bt),kt==null?void 0:kt.store,sn)}))}},[kt.token,jt.isSocketAvailable,Rt.current]),useInterval(it,xt()),usePageShow(()=>{jt.isSocketAvailable&&kt.token&&isSessionEnded(kt.status)===!1&&it(!0)}),{state:kt,generate:vt,cancelWhenScanned:$t}}var lib$5={},dsbridge={};Object.defineProperty(dsbridge,"__esModule",{value:!0});dsbridge.default=void 0;var bridge={call:function a(j,_e,et){var nt="";typeof _e=="function"&&(et=_e,_e={});var tt={data:_e===void 0?null:_e};if(typeof et=="function"){var ot="dscb"+window.dscb++;window[ot]=et,tt._dscbstub=ot}return tt=JSON.stringify(tt),window._dsbridge?nt=_dsbridge.call(j,tt):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(nt=prompt("_dsbridge="+j,tt)),JSON.parse(nt||"{}").data},register:function a(j,_e,et){var nt=et?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){bridge.call("_dsb.dsinit")},0)),typeof _e=="object"?nt._obs[j]=_e:nt[j]=_e},registerAsyn:function a(j,_e){this.register(j,_e,!0)},hasNativeMethod:function a(j,_e){return this.call("_dsb.hasNativeMethod",{name:j,type:_e||"all"})},disableJavascriptDialogBlock:function a(j){this.call("_dsb.disableJavascriptDialogBlock",{disable:j!==!1})}};(function(){if(!(window._dsbridge||window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)||window._dsf)return;const a=window.close;var j={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:bridge,close:function(){bridge.call("_dsb.closePage"),a()},_handleMessageFromNative:function(nt){var tt=JSON.parse(nt.data),ot={id:nt.callbackId,complete:!0},ft=this._dsf[nt.method],dt=this._dsaf[nt.method],mt=function(Pt,Lt){ot.data=Pt.apply(Lt,tt),bridge.call("_dsb.returnValue",ot)},pt=function(Pt,Lt){tt.push(function(Ft,Yt){ot.data=Ft,ot.complete=Yt!==!1,bridge.call("_dsb.returnValue",ot)}),Pt.apply(Lt,tt)};if(ft)mt(ft,this._dsf);else if(dt)pt(dt,this._dsaf);else{var yt=nt.method.split(".");if(yt.length<2)return;var Tt=yt.pop(),St=yt.join("."),At=this._dsf._obs,Ct=At[St]||{},Mt=Ct[Tt];if(Mt&&typeof Mt=="function"){mt(Mt,Ct);return}if(At=this._dsaf._obs,Ct=At[St]||{},Mt=Ct[Tt],Mt&&typeof Mt=="function"){pt(Mt,Ct);return}}}};for(var _e in j)window[_e]=j[_e];bridge.register("_hasJavascriptMethod",function(et,nt){var tt=et.split(".");if(tt.length<2)return!!(_dsf[tt]||_dsaf[tt]);var et=tt.pop(),ot=tt.join("."),ft=_dsf._obs[ot]||_dsaf._obs[ot];return ft&&!!ft[et]})})();dsbridge.default=bridge;Object.defineProperty(lib$5,"__esModule",{value:!0});var default_1$3=lib$5.default=void 0,_dsbridge$1=_interopRequireDefault$3(dsbridge);function _interopRequireDefault$3(a){return a&&a.__esModule?a:{default:a}}default_1$3=lib$5.default={call(){_dsbridge$1.default.call(...arguments)},asyncCall(){for(var a=arguments.length,j=new Array(a),_e=0;_e<a;_e++)j[_e]=arguments[_e];return new Promise((et,nt)=>{_dsbridge$1.default.call(...j,tt=>{try{const ot=JSON.parse(tt);if(ot.code===0){const ft=JSON.parse(ot.data);et(ft)}else nt(new Error(ot.error))}catch{et(tt)}})})},shareMessage(a){const{content:j,imgUrl:_e,success:et,fail:nt}=a;if(!j&&!_e){nt("params error");return}_dsbridge$1.default.call("arcShare",JSON.stringify({content:j,imgUrl:_e}),tt=>{const ot=JSON.parse(tt);ot&&ot.code===0?typeof et=="function"&&et(tt):typeof nt=="function"&&nt(tt)})},showLoading(){_dsbridge$1.default.call("arcShowLoading")},hideLoading(){_dsbridge$1.default.call("arcHideLoading")},showToast(a){a&&typeof a=="string"&&_dsbridge$1.default.call("arcToast",a)},chooseImgs(a){const{limit:j,success:_e,fail:et}=a;_dsbridge$1.default.call("arcChooseImgs",JSON.stringify({limit:j}),nt=>{const tt=JSON.parse(nt);tt&&tt.code===0?typeof _e=="function"&&_e(nt):typeof et=="function"&&et(nt)})},previewImgs(a){const{imgs:j}=a;!j||j.length===0||_dsbridge$1.default.call("arcPreviewImgs",JSON.stringify(a))},isSetPWD(a){const{success:j,fail:_e}=a;_dsbridge$1.default.call("arcIsSetPWD","",et=>{const nt=JSON.parse(et);nt&&nt.code===0?typeof j=="function"&&j(et):typeof _e=="function"&&_e(et)})},isCodeABOk(a){const{success:j,fail:_e}=a;_dsbridge$1.default.call("arcIsCodeABOk","",et=>{const nt=JSON.parse(et);nt&&nt.code===0?typeof j=="function"&&j(et):typeof _e=="function"&&_e(et)})}};function WebviewLoginItem({tokenState:a,locale:j,tokenKey:_e}){const{t:et,isWalletWebview:nt,connectState:tt}=useStateContext(),ot=et(nt?"openDidConnect":"openInWallet"),ft=useCreation(()=>{if(!a.url)return"";const pt=new URL(window.location.href);pt.searchParams.set("tokenKey",a.token);const yt=new URL(a.url);return yt.searchParams.set("callback",encodeURIComponent(pt)),yt.searchParams.set("callback_delay",1500),yt.searchParams.set("locale",j),yt.href.replace(/^https?:\/\//,"abt://")},[_e,a.token]),dt=useMemoizedFn(()=>{default_1$3.call("authAction",{action:"auth",deepLink:ft})}),mt={};return nt||(mt.component="a",mt.href=ft),useMount(()=>{tt.autoActiveWebview&&ft&&(tt.autoActiveWebview=!1,dt())}),jsxRuntimeExports.jsxs(ItemWrap,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer",backgroundColor:colors$1.surfacePrimarySubtitle,textDecoration:"none",color:"inherit"},...mt,onClick:nt?dt:noop$7,children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",gap:1},children:[jsxRuntimeExports.jsx(default_1$4,{width:"24px",height:"24px"}),jsxRuntimeExports.jsx(Typography,{sx:{fontSize:"14px",fontWeight:500},children:ot})]}),jsxRuntimeExports.jsx(Icon,{icon:data$p,fontSize:"1.3rem",color:colors$1.primaryBase})]})}WebviewLoginItem.propTypes={tokenState:PropTypes.object.isRequired,locale:PropTypes.string,tokenKey:PropTypes.string};WebviewLoginItem.defaultProps={locale:"en",tokenKey:"_t_"};const data$c={width:24,height:24,body:'<path fill="currentColor" d="M12 20q-3.35 0-5.675-2.325T4 12q0-3.35 2.325-5.675T12 4q1.725 0 3.3.712T18 6.75V5q0-.425.288-.713T19 4q.425 0 .713.288T20 5v5q0 .425-.288.713T19 11h-5q-.425 0-.713-.288T13 10q0-.425.288-.713T14 9h3.2q-.8-1.4-2.188-2.2T12 6Q9.5 6 7.75 7.75T6 12q0 2.5 1.75 4.25T12 18q1.7 0 3.113-.863t2.187-2.312q.2-.35.563-.487t.737-.013q.4.125.575.525t-.025.75q-1.025 2-2.925 3.2T12 20Z"/>'};function RefreshOverlay({onRefresh:a,...j}){const _e=et=>{et.stopPropagation(),a()};return jsxRuntimeExports.jsx(Box,{...j,onClick:_e,sx:{position:"absolute",top:0,bottom:0,left:0,right:0,display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(255, 255, 255, 0.75)",cursor:"pointer",...j.sx},children:jsxRuntimeExports.jsx(Box,{sx:{backgroundColor:colors$1.foregroundsFgInteractive,borderRadius:"100%",fontSize:0},children:jsxRuntimeExports.jsx(Icon,{icon:data$c,fontSize:52,style:{transform:"scale(0.7)",color:"white"}})})})}RefreshOverlay.propTypes={onRefresh:PropTypes.func.isRequired};const busyStatusList=["scanned","succeed","error","busy"];function DIDWalletConnect({onSuccess:a,onError:j,action:_e,prefix:et,checkFn:nt,checkInterval:tt,checkTimeout:ot,locale:ft,tokenKey:dt,encKey:mt,baseUrl:pt,autoConnect:yt,forceConnected:Tt,saveConnect:St,useSocket:At,allowWallet:Ct,provider:Mt,webWalletUrl:kt,onRecreateSession:Pt,onClose:Lt,messages:Ft,enabledConnectTypes:Yt}){var gn,Un,En,Mn,cr;if(typeof nt!="function")throw new Error("Cannot initialize did connect component without a fetchFn");const jt=reactExports.useContext(SessionContext$1),{connectState:Wt,extraParams:sn,staticState:ln,changeStatus:vn,isWalletWebview:Rt,matchSmallScreen:rt,t:ut}=useStateContext(),ct=useBrowser(),ht=detectWalletExtension(),{setBaseUrl:vt,oauthState:$t,getOAuthConfigList:xt}=useOAuth(),bt=useCreation(()=>{var On;return Mt||(sn==null?void 0:sn.provider)||((On=jt==null?void 0:jt.session)==null?void 0:On.provider)||"wallet"},[sn==null?void 0:sn.provider,(gn=jt==null?void 0:jt.session)==null?void 0:gn.provider]),it=(En=(Un=jt==null?void 0:jt.session)==null?void 0:Un.user)==null?void 0:En.did;reactExports.useEffect(()=>{vt(pt)},[pt]);const{state:Et,generate:Dt,cancelWhenScanned:Nt}=useToken({action:_e,baseUrl:pt,checkFn:nt,checkInterval:tt,checkTimeout:ot,extraParams:sn,prefix:et,onError:j,onSuccess:a,locale:ft,tokenKey:dt,encKey:mt,autoConnect:yt,forceConnected:Tt===!0?it||!0:Tt,saveConnect:St,useSocket:At,allowWallet:Ct,provider:bt}),[Vt,Bt]=reactExports.useState([]);useAsyncEffect(async()=>{const On=await xt({sourceAppPid:Wt==null?void 0:Wt.sourceAppPid});Bt(On)},[Wt==null?void 0:Wt.sourceAppPid]);const Kt=usePrevious(Wt==null?void 0:Wt.sourceAppPid);useUpdateEffect(()=>{isUndefined$2(Kt)||Dt()},[Wt==null?void 0:Wt.sourceAppPid]);const qt=useCreation(()=>busyStatusList.includes($t.status)||busyStatusList.includes(Et.status),[Et.status,$t.status]);reactExports.useEffect(()=>{busyStatusList.includes($t.status)?vn($t.status):busyStatusList.includes(Et.status)?vn(Et.status):vn("created")},[vn,Et.status,$t.status]);const nn=useMemoizedFn(()=>{Pt(),$t.reset(),Dt(!1)}),un=useMemoizedFn(()=>{Pt(),ln.current.cancelCount++,Nt()}),hn=useCreation(()=>({confirm:Ft.confirm,success:Ft.success,error:Et.error||$t.error||""}),[Ft.confirm,Ft.success,Et.error,$t.error]),zt=useCreation(()=>Ct&&Yt.includes("mobile")&&!Rt,[Ct,Yt,Rt]),Ot=checkSameProtocol(kt),Gt=useCreation(()=>Ct&&Yt.includes("web")&&(Ot||ht)&&(!ct.mobile.any||ht),[Ct,Yt,(Mn=ct==null?void 0:ct.mobile)==null?void 0:Mn.any]),cn=useCreation(()=>Ct&&Yt.includes("mobile")&&ct.mobile.any&&!ht,[Ct,Yt,(cr=ct==null?void 0:ct.mobile)==null?void 0:cr.any]),tn=useCreation(()=>{const On=intersection$1(Object.keys(OAUTH_PROVIDER),Yt);return Vt.filter(Ln=>On.includes(Ln.provider))},[Vt,Yt]),yn=useCreation(()=>tn.length>0&&["login","invite"].includes(Et.action),[tn]),xn=useCreation(()=>{const On=zt||Gt||cn;let Ln=null;return yn&&(Ln=On?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Divider,{sx:{color:colors$1.textMuted,width:rt?"200px":"368px",opacity:.6,maxWidth:"90%",margin:"auto",fontSize:"14px",fontWeight:"bold","&:before, &:after":{borderColor:colors$1.lineStep}},children:"OR"}),jsxRuntimeExports.jsx(OAuthLogin,{providerList:tn,onSuccess:a,onError:j,tokenState:Et,locale:ft,type:"list"})]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Typography,{variant:"body2",sx:{mt:1,textAlign:"center",color:colors$1.foregroundsFgSubtile},children:ut("loginWithBelow")}),jsxRuntimeExports.jsx(OAuthLogin,{providerList:tn,onSuccess:a,onError:j,tokenState:Et,type:"list",locale:ft})]})),jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[Et.status==="timeout"?jsxRuntimeExports.jsx(RefreshOverlay,{onRefresh:nn,sx:{zIndex:1,animation:"fadeIn 1s","@keyframes fadeIn":{"0%":{opacity:0},"100%":{opacity:1}}}}):null,jsxRuntimeExports.jsx(Box,{"data-did-auth-url":Et.url,sx:{display:"none"}}),cn&&jsxRuntimeExports.jsx(WebviewLoginItem,{tokenState:Et,locale:ft,tokenKey:dt}),zt&&jsxRuntimeExports.jsx(MobileLoginItem,{tokenState:Et,messages:Ft,locale:ft}),Gt&&jsxRuntimeExports.jsx(WebLoginItem,{tokenState:Et,webWalletUrl:kt,locale:ft}),Ln]})},[Et,Et.url,Et.status,zt,Gt,cn,tn,yn,yn,a,j,ft,dt,Ft,kt]);return useCreation(()=>Et.loading||$t.loading||!Et.token&&!Et.error,[Et.loading,$t.loading])?jsxRuntimeExports.jsx(Loading,{}):qt?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Box,{"data-did-auth-url":Et.url,sx:{display:"none"}}),jsxRuntimeExports.jsx(ConnectStatus,{status:$t.status||Et.status,nextWorkflow:Et.nextWorkflow,mfaCode:Et.mfaCode,onCancel:un,onRetry:nn,onClose:Lt,messages:hn,locale:ft,className:"auth-status"})]}):xn}DIDWalletConnect.propTypes={onError:PropTypes.func,onSuccess:PropTypes.func.isRequired,action:PropTypes.string.isRequired,checkFn:PropTypes.func.isRequired,prefix:PropTypes.string,checkInterval:PropTypes.number,checkTimeout:PropTypes.number,locale:PropTypes.oneOf(["en","zh",""]),tokenKey:PropTypes.string,encKey:PropTypes.string,baseUrl:PropTypes.string,autoConnect:PropTypes.bool,forceConnected:PropTypes.oneOfType([PropTypes.bool,PropTypes.string]),saveConnect:PropTypes.bool,useSocket:PropTypes.bool,allowWallet:PropTypes.bool,provider:PropTypes.oneOf([LOGIN_PROVIDER$1.WALLET,...Object.keys(OAUTH_PROVIDER),""]),webWalletUrl:PropTypes.string,onRecreateSession:PropTypes.func,onClose:PropTypes.func,messages:PropTypes.object,enabledConnectTypes:PropTypes.arrayOf(PropTypes.oneOf(["web","mobile",...Object.keys(OAUTH_PROVIDER)]))};DIDWalletConnect.defaultProps={prefix:API_DID_PREFIX,onError:noop$7,checkInterval:2*1e3,checkTimeout:DEFAULT_TIMEOUT$1*1e3,locale:"en",tokenKey:"_t_",encKey:"_ek_",baseUrl:"",autoConnect:!0,forceConnected:!0,saveConnect:!0,useSocket:!0,allowWallet:!0,provider:"",webWalletUrl:getWebWalletUrl$1(),onRecreateSession:noop$7,onClose:noop$7,messages:{},enabledConnectTypes:["web","mobile",...Object.keys(OAUTH_PROVIDER)]};var Set$1=_Set,noop=noop_1,setToArray$1=_setToArray,INFINITY$2=1/0,createSet$1=Set$1&&1/setToArray$1(new Set$1([,-0]))[1]==INFINITY$2?function(a){return new Set$1(a)}:noop,_createSet=createSet$1,SetCache=_SetCache,arrayIncludes$1=_arrayIncludes,arrayIncludesWith=_arrayIncludesWith,cacheHas=_cacheHas,createSet=_createSet,setToArray=_setToArray,LARGE_ARRAY_SIZE=200;function baseUniq$2(a,j,_e){var et=-1,nt=arrayIncludes$1,tt=a.length,ot=!0,ft=[],dt=ft;if(_e)ot=!1,nt=arrayIncludesWith;else if(tt>=LARGE_ARRAY_SIZE){var mt=j?null:createSet(a);if(mt)return setToArray(mt);ot=!1,nt=cacheHas,dt=new SetCache}else dt=j?[]:ft;e:for(;++et<tt;){var pt=a[et],yt=j?j(pt):pt;if(pt=_e||pt!==0?pt:0,ot&&yt===yt){for(var Tt=dt.length;Tt--;)if(dt[Tt]===yt)continue e;j&&dt.push(yt),ft.push(pt)}else nt(dt,yt,_e)||(dt!==ft&&dt.push(yt),ft.push(pt))}return ft}var _baseUniq=baseUniq$2,baseFlatten$1=_baseFlatten,baseIteratee$1=_baseIteratee,baseRest$1=_baseRest,baseUniq$1=_baseUniq,isArrayLikeObject=isArrayLikeObject_1,last=last_1,unionBy=baseRest$1(function(a){var j=last(a);return isArrayLikeObject(j)&&(j=void 0),baseUniq$1(baseFlatten$1(a,1,isArrayLikeObject,!0),baseIteratee$1(j))}),unionBy_1=unionBy;const unionBy$1=getDefaultExportFromCjs$1(unionBy_1);var baseFor=_baseFor,keys$1=keys_1;function baseForOwn$1(a,j){return a&&baseFor(a,j,keys$1)}var _baseForOwn=baseForOwn$1,isArrayLike$1=isArrayLike_1;function createBaseEach$1(a,j){return function(_e,et){if(_e==null)return _e;if(!isArrayLike$1(_e))return a(_e,et);for(var nt=_e.length,tt=j?nt:-1,ot=Object(_e);(j?tt--:++tt<nt)&&et(ot[tt],tt,ot)!==!1;);return _e}}var _createBaseEach=createBaseEach$1,baseForOwn=_baseForOwn,createBaseEach=_createBaseEach,baseEach$1=createBaseEach(baseForOwn),_baseEach=baseEach$1,baseEach=_baseEach,isArrayLike=isArrayLike_1;function baseMap$1(a,j){var _e=-1,et=isArrayLike(a)?Array(a.length):[];return baseEach(a,function(nt,tt,ot){et[++_e]=j(nt,tt,ot)}),et}var _baseMap=baseMap$1;function baseSortBy$1(a,j){var _e=a.length;for(a.sort(j);_e--;)a[_e]=a[_e].value;return a}var _baseSortBy=baseSortBy$1,isSymbol$5=isSymbol_1;function compareAscending$1(a,j){if(a!==j){var _e=a!==void 0,et=a===null,nt=a===a,tt=isSymbol$5(a),ot=j!==void 0,ft=j===null,dt=j===j,mt=isSymbol$5(j);if(!ft&&!mt&&!tt&&a>j||tt&&ot&&dt&&!ft&&!mt||et&&ot&&dt||!_e&&dt||!nt)return 1;if(!et&&!tt&&!mt&&a<j||mt&&_e&&nt&&!et&&!tt||ft&&_e&&nt||!ot&&nt||!dt)return-1}return 0}var _compareAscending=compareAscending$1,compareAscending=_compareAscending;function compareMultiple$1(a,j,_e){for(var et=-1,nt=a.criteria,tt=j.criteria,ot=nt.length,ft=_e.length;++et<ot;){var dt=compareAscending(nt[et],tt[et]);if(dt){if(et>=ft)return dt;var mt=_e[et];return dt*(mt=="desc"?-1:1)}}return a.index-j.index}var _compareMultiple=compareMultiple$1,arrayMap=_arrayMap,baseGet$1=_baseGet,baseIteratee=_baseIteratee,baseMap=_baseMap,baseSortBy=_baseSortBy,baseUnary=_baseUnary,compareMultiple=_compareMultiple,identity=identity_1,isArray$5=isArray_1;function baseOrderBy$1(a,j,_e){j.length?j=arrayMap(j,function(tt){return isArray$5(tt)?function(ot){return baseGet$1(ot,tt.length===1?tt[0]:tt)}:tt}):j=[identity];var et=-1;j=arrayMap(j,baseUnary(baseIteratee));var nt=baseMap(a,function(tt,ot,ft){var dt=arrayMap(j,function(mt){return mt(tt)});return{criteria:dt,index:++et,value:tt}});return baseSortBy(nt,function(tt,ot){return compareMultiple(tt,ot,_e)})}var _baseOrderBy=baseOrderBy$1,baseFlatten=_baseFlatten,baseOrderBy=_baseOrderBy,baseRest=_baseRest,isIterateeCall=_isIterateeCall,sortBy=baseRest(function(a,j){if(a==null)return[];var _e=j.length;return _e>1&&isIterateeCall(a,j[0],j[1])?j=[]:_e>2&&isIterateeCall(j[0],j[1],j[2])&&(j=[j[0]]),baseOrderBy(a,baseFlatten(j,1),[])}),sortBy_1=sortBy;const sortBy$1=getDefaultExportFromCjs$1(sortBy_1),prefix$2=joinURL(AUTH_SERVICE_PREFIX,"/api/user-session");function useQuickConnect({appPid:a,sourceAppPid:j,loginAppPid:_e,autoFetch:et=!0,baseUrl:nt="/",fetchAll:tt=!1}={}){const ot=getVisitorId$2(),ft=useCreation(()=>createAxios({baseURL:joinURL(nt,prefix$2)},{lazy:!0,lazyTime:500}),[nt]),dt=useMemoizedFn(async()=>{const{data:Ct=[]}=await ft.get("",{params:{visitorId:ot}}),Mt=getFederatedEnabled(),kt=getMaster();if(tt&&Mt&&kt){const{data:Pt}=await ft.get(joinURL(kt.appUrl,AUTH_SERVICE_PREFIX,"/api/user-session"),{params:{visitorId:ot}});return Ct.concat(Pt||[])}return!Mt||!kt?Ct.filter(Pt=>{var Lt;return((Lt=Pt==null?void 0:Pt.user)==null?void 0:Lt.sourceAppPid)===null}):Ct}),mt=useReactive({loaded:!1,loadingId:null}),pt=useRequest(dt,{manual:!et,onFinally(){mt.loaded=!0},refreshDeps:[nt]}),yt=async Ct=>{var kt,Pt,Lt;const Mt=pick$2(Ct,["userDid","visitorId","passportId"]);try{mt.loadingId=Ct.id;const Ft=getMaster();if(getFederatedEnabled()&&Ft&&_e!==Ct.appPid){const{data:jt}=await ft.post("login",{...Mt,appPid:_e},{baseURL:joinURL(Ft.appUrl,AUTH_SERVICE_PREFIX,"/api/user-session")});return jt}const{data:Yt}=await ft.post("login",{...Mt,appPid:_e});return Yt}catch(Ft){const Yt=Ft.response?((Pt=(kt=Ft.response)==null?void 0:kt.data)==null?void 0:Pt.error)||((Lt=Ft.response)==null?void 0:Lt.data):Ft.message;throw Toast$1.error(Yt),console.error("Quick login error",Ft),Ft}finally{mt.loadingId=null}},Tt=useCreation(()=>pt.data?pt.data.filter(Ct=>Ct.status!=="expired"):[],[pt.data]),St=useCreation(()=>{const Ct=new Date().getTime(),Mt=sortBy$1(Tt,kt=>Ct-new Date(kt.updatedAt).getTime());return unionBy$1(Mt,kt=>[kt.userDid].join("_"))},[Tt,j,a]),At=useCreation(()=>!!(St&&St.length>0),[St]);return{loadingId:mt.loadingId,userSessions:St,quickLoginEnabled:At,loginUserSession:yt,loading:pt.loading,loaded:pt.loaded,refresh:pt.refreshAsync}}const data$b={width:24,height:24,body:'<path fill="currentColor" d="M11.95 18q.525 0 .888-.363t.362-.887q0-.525-.362-.888t-.888-.362q-.525 0-.887.363t-.363.887q0 .525.363.888t.887.362Zm.05 4q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22Zm0-2q3.35 0 5.675-2.325T20 12q0-3.35-2.325-5.675T12 4Q8.65 4 6.325 6.325T4 12q0 3.35 2.325 5.675T12 20Zm0-8Zm.1-4.3q.625 0 1.088.4t.462 1q0 .55-.337.975t-.763.8q-.575.5-1.012 1.1t-.438 1.35q0 .35.263.588t.612.237q.375 0 .638-.25t.337-.625q.1-.525.45-.938t.75-.787q.575-.55.988-1.2t.412-1.45q0-1.275-1.038-2.087T12.1 6q-.95 0-1.812.4T8.975 7.625q-.175.3-.113.638t.338.512q.35.2.725.125t.625-.425q.275-.375.688-.575t.862-.2Z"/>'},data$a={width:24,height:24,body:'<path fill="currentColor" d="m9.55 18l-5.7-5.7l1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4L9.55 18Z"/>'};function AppIcon({appInfo:a,...j}){const[_e,et]=reactExports.useState(!1);if(_e||!(a.appUrl||a.appLogo))return jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:a.appPid,size:32});let nt=a.appLogo||"";return isUrl(nt)||(nt=joinURL(a.appUrl||"",nt)),jsxRuntimeExports.jsx(Img,{src:nt,alt:a.appName||"Blocklet Icon",width:32,height:32,...j,onError:()=>et(!0)})}AppIcon.propTypes={appInfo:PropTypes.object.isRequired};const getAppDid=a=>a?a.split(":").pop():"";function AppInfoItem({appInfo:a,active:j,appLogo:_e}){return jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",fontWeight:600,color:colors$1.textBase,"& .app-info-content":{paddingLeft:"8px",overflow:"hidden"},"& .app-info-name":{maxWidth:"100%",paddingRight:"32px",lineHeight:"normal",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontSize:"12px"},"& .app-info-did":{fontSize:0},"& .app-info-did .did-address-text":{color:colors$1.textMuted,fontSize:"12px"}},children:[_e||jsxRuntimeExports.jsx(Box,{sx:{borderRadius:"8px",overflow:"hidden",fontSize:0},children:jsxRuntimeExports.jsx(AppIcon,{appInfo:a})}),jsxRuntimeExports.jsxs(Box,{className:"app-info-content",children:[jsxRuntimeExports.jsx(Box,{className:"app-info-name",children:a.appName}),a.appPid&&jsxRuntimeExports.jsx(DidAddressWrapper,{size:12,className:"app-info-did",copyable:!1,color:colors$1.textMuted,compact:!1,responsive:!1,children:getAppDid(a.appPid)})]}),j?jsxRuntimeExports.jsx(IconButton,{size:"small",color:"success",children:jsxRuntimeExports.jsx(Icon$1,{icon:data$a,color:"success"})}):null]})}AppInfoItem.propTypes={appInfo:PropTypes.object.isRequired,active:PropTypes.bool,appLogo:PropTypes.node};AppInfoItem.defaultProps={active:!1,appLogo:null};function CurrentApp({appInfo:a}){const j=reactExports.useRef(null),_e=useReactive({hoverOnButton:!1,hoverOnPopover:!1}),et=useCreation(()=>_e.hoverOnButton||_e.hoverOnPopover,[_e.hoverOnButton,_e.hoverOnPopover]);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Box,{component:"span",ref:j,sx:{color:colors$1.foregroundsFgInteractive,cursor:"help"},onClick:()=>{_e.hoverOnButton=!0},onMouseEnter:()=>{_e.hoverOnButton=!0},onMouseLeave:()=>{setTimeout(()=>{_e.hoverOnButton=!1},200)},children:a.appName}),jsxRuntimeExports.jsx(Popover,{open:et,sx:{pointerEvents:"none"},slotProps:{paper:{variant:"outlined",sx:{border:0,boxShadow:`0px 4px 8px 0px ${colors$1.gray6}, 0px 0px 0px 1px ${colors$1.gray6}`,py:1,px:1.5,borderRadius:2,transform:"translateY(-6px) !important"}}},anchorEl:j.current,anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"},onClose:()=>{_e.open=!1},disableRestoreFocus:!0,children:jsxRuntimeExports.jsx(Box,{component:"span",sx:{pointerEvents:"auto"},onMouseEnter:()=>{_e.hoverOnPopover=!0},onMouseLeave:()=>{_e.hoverOnPopover=!1},children:jsxRuntimeExports.jsx(AppInfoItem,{appInfo:a,appLogo:jsxRuntimeExports.jsx(AppIcon,{appInfo:a})})})})]})}CurrentApp.propTypes={appInfo:PropTypes.object.isRequired};function SwitchApp(){const{appInfoList:a,t:j,extraParams:_e,connectState:et}=useStateContext(),nt=reactExports.useRef(null),tt=useReactive({open:!1});return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Box,{component:"span",ref:nt,sx:{textTransform:"lowercase",color:colors$1.foregroundsFgInteractive,cursor:"pointer"},onClick:()=>{tt.open=!0},children:j("switch")}),jsxRuntimeExports.jsx(Menu,{anchorEl:nt.current,open:tt.open,onClose:()=>{tt.open=!1},slotProps:{paper:{variant:"outlined",sx:{border:0,boxShadow:`0px 4px 8px 0px ${colors$1.gray6}, 0px 0px 0px 1px ${colors$1.gray6}`,borderRadius:2}}},children:a.map(ot=>jsxRuntimeExports.jsx(MenuItem,{onClick:()=>{tt.open=!1,et.sourceAppPid=ot.sourceAppPid},children:jsxRuntimeExports.jsx(AppInfoItem,{appInfo:ot,active:ot.sourceAppPid===(_e==null?void 0:_e.sourceAppPid)})},ot.appPid))})]})}function AppTips({locale:a,disableSwitchApp:j}){const{appInfoList:_e,extraParams:et,connectState:nt,blocklet:tt}=useStateContext(),ot=useCreation(()=>_e.find(mt=>lodashExports.isUndefined(et==null?void 0:et.sourceAppPid)?!0:lodashExports.isNull(mt.sourceAppPid)?mt.appPid===(tt==null?void 0:tt.appPid):mt.sourceAppPid===(et==null?void 0:et.sourceAppPid)),[et==null?void 0:et.sourceAppPid,_e]),ft=!j&&_e.length>1;useMount(()=>{(tt==null?void 0:tt.appPid)===(ot==null?void 0:ot.appPid)?nt.sourceAppPid=null:nt.sourceAppPid=ot==null?void 0:ot.appPid});const dt=useCreation(()=>a==="zh"?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["您正在使用 ",jsxRuntimeExports.jsx(CurrentApp,{appInfo:ot,appInfoList:_e})," 账户来连接站点",ft?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[",点击",jsxRuntimeExports.jsx(SwitchApp,{appInfoList:_e})]}):null]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["You're using ",jsxRuntimeExports.jsx(CurrentApp,{appInfo:ot})," account for site access",ft?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[". Click to ",jsxRuntimeExports.jsx(SwitchApp,{appInfoList:_e})]}):null]}),[a,ot,_e,ft]);return lodashExports.isEmpty(_e)?null:jsxRuntimeExports.jsxs(Box,{sx:{fontSize:"13px",color:colors$1.foregroundsFgSubtile,lineHeight:1.5},children:[dt,ft&&jsxRuntimeExports.jsx(Box,{component:"span",sx:{display:"inline-block",ml:.5,fontSize:"13px",height:"16px",lineHeight:1,verticalAlign:"middle"},children:jsxRuntimeExports.jsx(Box,{component:Icon,icon:data$b,sx:{verticalAlign:"middle"}})})]})}AppTips.propTypes={locale:PropTypes.string,disableSwitchApp:PropTypes.bool};AppTips.defaultProps={locale:"en",disableSwitchApp:!1};var DidLogoColorful={};Object.defineProperty(DidLogoColorful,"__esModule",{value:!0});var default_1$2=DidLogoColorful.default=void 0;_interopRequireDefault$2(reactExports);var _jsxRuntime$2=jsxRuntimeExports;function _interopRequireDefault$2(a){return a&&a.__esModule?a:{default:a}}function ownKeys$2(a,j){var _e=Object.keys(a);if(Object.getOwnPropertySymbols){var et=Object.getOwnPropertySymbols(a);j&&(et=et.filter(function(nt){return Object.getOwnPropertyDescriptor(a,nt).enumerable})),_e.push.apply(_e,et)}return _e}function _objectSpread(a){for(var j=1;j<arguments.length;j++){var _e=arguments[j]!=null?arguments[j]:{};j%2?ownKeys$2(Object(_e),!0).forEach(function(et){_defineProperty(a,et,_e[et])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(_e)):ownKeys$2(Object(_e)).forEach(function(et){Object.defineProperty(a,et,Object.getOwnPropertyDescriptor(_e,et))})}return a}function _defineProperty(a,j,_e){return(j=_toPropertyKey(j))in a?Object.defineProperty(a,j,{value:_e,enumerable:!0,configurable:!0,writable:!0}):a[j]=_e,a}function _toPropertyKey(a){var j=_toPrimitive(a,"string");return typeof j=="symbol"?j:j+""}function _toPrimitive(a,j){if(typeof a!="object"||!a)return a;var _e=a[Symbol.toPrimitive];if(_e!==void 0){var et=_e.call(a,j||"default");if(typeof et!="object")return et;throw new TypeError("@@toPrimitive must return a primitive value.")}return(j==="string"?String:Number)(a)}var Component=function a(j){return(0,_jsxRuntime$2.jsxs)("svg",_objectSpread(_objectSpread({},j),{},{children:[(0,_jsxRuntime$2.jsx)("path",{d:"M7.366.646L8.46 0h3.981v11.96H8.564a.381.381 0 0 1-.194-.053L4.18 9.431V2.53l.508-.3.893.528-.508.3v5.845L8.7 11.046h2.85V.914h-2.85l-.44.26-.893-.528z",fill:"color(display-p3 .4196 .7412 .9961)"}),(0,_jsxRuntime$2.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.868 8.903V3.057L4.242.915H1.393v10.132h2.85l.44-.26.893.527-1.095.647H.5V0h3.981l4.28 2.53v6.9l-.506.3-.893-.528.506-.299z",fill:"color(display-p3 .2706 .5961 .9804)"})]}))};Component.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none"};Component.displayName="did-logo-colorful";default_1$2=DidLogoColorful.default=Component;function PoweredBy({...a}){return jsxRuntimeExports.jsxs(Box,{...a,sx:{display:"flex",alignItems:"center",color:colors$1.foregroundsFgMuted,gap:.5,...a.sx},children:[jsxRuntimeExports.jsx(default_1$2,{}),"Powered By",jsxRuntimeExports.jsx(Box,{component:"a",href:"https://www.didconnect.io/",target:"_blank",rel:"noopener",sx:{color:colors$1.foregroundsFgInteractive,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:"DID Connect"})]})}function AutoHeight({children:a,initHeight:j,slotProps:_e}){var ft;const[et,nt]=reactExports.useState(j),tt=reactExports.useRef(null),ot=useSize(tt);return reactExports.useEffect(()=>{ot!=null&&ot.height&&nt(ot.height)},[ot==null?void 0:ot.height,et]),jsxRuntimeExports.jsx(Box,{..._e==null?void 0:_e.root,sx:{height:et,overflow:"hidden",transition:"height 0.2s ease-in-out",...(ft=_e==null?void 0:_e.root)==null?void 0:ft.sx},children:jsxRuntimeExports.jsx(Box,{..._e==null?void 0:_e.container,ref:tt,children:a})})}AutoHeight.propTypes={initHeight:PropTypes.number,children:PropTypes.node.isRequired,slotProps:PropTypes.object};AutoHeight.defaultProps={initHeight:0,slotProps:{}};const didConnectTab="did-connect",quickConnectTab="quick-connect";function Connect$1({mode:a,isFullScreen:j,hideCloseButton:_e,...et}){var ht;const nt=useReactive({showTab:didConnectTab}),{connectState:tt,blocklet:ot,appInfoList:ft,extraParams:dt}=useStateContext(),{extraContent:mt,onSuccess:pt,action:yt,onClose:Tt,options:St}=et,At=useCreation(()=>ft.find(vt=>isUndefined$2(dt==null?void 0:dt.sourceAppPid)?!0:isNull$3(vt.sourceAppPid)?vt.appPid===(ot==null?void 0:ot.appPid):vt.sourceAppPid===(dt==null?void 0:dt.sourceAppPid)),[dt==null?void 0:dt.sourceAppPid,ft]),Ct=useCreation(()=>isNull$3(tt==null?void 0:tt.sourceAppPid)?At==null?void 0:At.appPid:(tt==null?void 0:tt.sourceAppPid)||getCurrentAppPid(),[tt==null?void 0:tt.sourceAppPid]),{quickLoginEnabled:Mt,loading:kt,userSessions:Pt,loginUserSession:Lt,refresh:Ft}=useQuickConnect({appPid:Ct,loginAppPid:ot==null?void 0:ot.appPid,sourceAppPid:tt==null?void 0:tt.sourceAppPid,autoFetch:["login"].includes(yt),baseUrl:(At==null?void 0:At.appUrl)||""}),Yt=useCreation(()=>{var vt;return((vt=et==null?void 0:et.messages)==null?void 0:vt.title)||DEFAULT_NAME},[(ht=et==null?void 0:et.messages)==null?void 0:ht.title]),jt=useCreation(()=>{if(yt==="login"){const vt=getMaster(ot),$t=getFederatedEnabled(ot);return dt!=null&&dt.forceConnected?Pt.filter(xt=>xt.userDid===(dt==null?void 0:dt.forceConnected)):!$t||!vt?Pt.filter(xt=>{var bt;return((bt=xt==null?void 0:xt.user)==null?void 0:bt.sourceAppPid)===null}):Pt.filter(xt=>{var bt;return Ct===ot.appPid?((bt=xt.user)==null?void 0:bt.sourceAppPid)===(dt==null?void 0:dt.sourceAppPid):!0})}return Pt},[dt==null?void 0:dt.forceConnected,yt,Pt]),Wt=useMemoizedFn(async(...vt)=>{var it,Et,Dt;const $t=await Lt(...vt),[xt]=vt,bt={};xt&&((it=xt==null?void 0:xt.user)!=null&&it.did&&(bt.connected_did=xt.user.did),(Et=xt==null?void 0:xt.user)!=null&&Et.pk&&(bt.connected_pk=xt.user.pk),(Dt=xt==null?void 0:xt.extra)!=null&&Dt.walletOS&&(bt.connected_wallet_os=xt.extra.walletOS),xt!=null&&xt.appPid&&(bt.connected_app=xt.appPid)),await pt({...$t,encrypted:!1},Nt=>Nt,bt)});reactExports.useEffect(()=>{(St==null?void 0:St.showQuickConnect)!==!1&&!kt&&Mt&&(nt.showTab=quickConnectTab)},[kt,Mt,St==null?void 0:St.showQuickConnect]);const sn=useDebounce(kt,{wait:100}),ln=useMemoizedFn(()=>{nt.showTab=didConnectTab}),vn=useMemoizedFn(()=>{nt.showTab=quickConnectTab}),Rt=useCreation(()=>jt.length===0?!0:nt.showTab===didConnectTab||!Mt,[nt.showTab,Mt]),rt=useCreation(()=>{let vt=!0;return(kt||sn)&&(vt=!1),Mt||(vt=!1),St.showQuickConnect===!1&&(vt=!1),nt.showTab!==didConnectTab&&(vt=!1),vt},[Mt,nt.showTab,kt,sn]),ut=useCreation(()=>jsxRuntimeExports.jsx(Box,{onClick:Tt,sx:{fontSize:"1.5rem",width:"1.5rem",height:"1.5rem",cursor:"pointer",color:colors$1.foregroundsFgSubtile,transition:"transform 0.2s ease-in-out","&:hover":{transform:"rotate(90deg)"}},children:jsxRuntimeExports.jsx(Icon,{icon:data$r})}),[Tt]);let ct=null;return kt||sn?ct=jsxRuntimeExports.jsx(Loading,{}):Rt?ct=jsxRuntimeExports.jsx(DIDWalletConnect,{...et,onClose:Tt}):ct=jsxRuntimeExports.jsx(QuickConnect,{userSessions:jt,onLogin:Wt,onRetry:Ft,onClose:Tt,messages:et.messages,onLoginAnother:ln}),jsxRuntimeExports.jsxs(Card,{variant:"outlined",sx:{color:colors$1.foregroundsFgBase,backgroundColor:"white",borderRadius:2,borderColor:colors$1.strokeBorderBase,height:"100%",display:"flex",flexDirection:"column"},children:[jsxRuntimeExports.jsx(CardHeader,{title:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[rt&&jsxRuntimeExports.jsx(IconButton,{size:"small",disabled:tt.status!=="created",onClick:vn,disableRipple:!0,sx:{fontSize:"0.75em"},children:jsxRuntimeExports.jsx(Icon,{icon:data$s,color:colors$1.textMuted})}),Yt]}),titleTypographyProps:{display:"flex",alignItems:"center",variant:"h6",lineHeight:"28px",fontWeight:600},action:_e?null:ut,sx:{px:2.5,".MuiCardHeader-action":{margin:0,alignSelf:"center"}}}),jsxRuntimeExports.jsx(CardContent,{sx:{borderTop:`1px solid ${colors$1.strokeBorderBase}`,borderBottom:`1px solid ${colors$1.strokeBorderBase}`,flex:1,verticalAlign:"middle",overflow:"auto",p:2.5,position:"relative","&::after":{content:'""',height:"100%",verticalAlign:"middle",display:"inline-block",width:0}},children:jsxRuntimeExports.jsxs(AutoHeight,{slotProps:{root:{sx:{display:"inline-block",width:"100%",verticalAlign:"middle"}},container:{sx:{display:"flex",flexDirection:"column",gap:1}}},children:[jsxRuntimeExports.jsx(AppTips,{locale:et.locale,disableSwitchApp:et.disableSwitchApp}),ct,mt?jsxRuntimeExports.jsx(Box,{children:mt}):null]})}),jsxRuntimeExports.jsx(CardActions,{sx:{py:2,px:2.5,justifyContent:"center"},children:jsxRuntimeExports.jsx(PoweredBy,{sx:{fontSize:"12px"}})})]})}Connect$1.propTypes={action:PropTypes.string.isRequired,onSuccess:PropTypes.func,onClose:PropTypes.func,messages:PropTypes.object,extraContent:PropTypes.any,disableSwitchApp:PropTypes.bool,mode:PropTypes.oneOf(["fullScreen","dialog","normal"]),isFullScreen:PropTypes.bool,options:PropTypes.object,hideCloseButton:PropTypes.bool,locale:PropTypes.string};Connect$1.defaultProps={onSuccess:noop$7,onClose:noop$7,mode:"normal",isFullScreen:!1,extraContent:null,disableSwitchApp:!1,messages:{},options:{},hideCloseButton:!0,locale:"en"};function WrapConnect(a){const{checkFn:j,extraParams:_e,blocklet:et,action:nt,locale:tt}=a;if(typeof j!="function")throw new Error("Cannot initialize did connect component without a fetchFn");return jsxRuntimeExports.jsx(StateProvider,{blocklet:et,action:nt,locale:tt,extraParams:_e,sx:{position:"relative",width:"100%",height:"100%",lineHeight:1.2,fontFamily:"Inter",color:"#334660","&, & *, & *:before, & *:after":{boxSizing:"border-box"}},children:jsxRuntimeExports.jsx(Connect$1,{...a})})}WrapConnect.propTypes={checkFn:PropTypes.func.isRequired,extraParams:PropTypes.object,blocklet:PropTypes.object.isRequired,action:PropTypes.string.isRequired,locale:PropTypes.string};WrapConnect.defaultProps={extraParams:{},locale:"en"};const DidConnect=withWebWalletSWKeeper(withDialog(withBlocklet(WrapConnect))),ConnectHolder=reactExports.forwardRef((a,j)=>{const{api:_e}=reactExports.useContext(SessionContext$1),et={containerEl:null,popup:!0,checkFn:(_e==null?void 0:_e.get)||noop$7,messages:{title:"DID Connect",scan:"Scan QR code to complete this action",confirm:"Confirm on your DID Wallet",success:"Success!"}},nt=useReactive({show:!1,...cloneDeep$1(et)}),[tt,ot]=reactExports.useState({}),ft=useMemoizedFn(()=>{const yt=cloneDeep$1(et);Object.keys(yt).forEach(Tt=>{nt[Tt]=yt[Tt]})}),dt=useMemoizedFn(()=>{nt.show=!1,ft()}),mt=useMemoizedFn(yt=>{const{containerEl:Tt,checkFn:St,popup:At,messages:Ct,...Mt}=cloneDeep$1(yt);typeof St=="function"&&(nt.checkFn=St),At!==void 0&&(nt.popup=At),Ct!==void 0&&(nt.messages=Ct),Tt!==void 0&&(nt.containerEl=Tt),ot(Mt),nt.show=!0});reactExports.useImperativeHandle(j,()=>({open:mt,close:dt}),[mt,dt]);const pt=jsxRuntimeExports.jsx(DidConnect,{open:!0,popup:nt.popup,messages:nt.messages,checkFn:nt.checkFn,...tt});return nt.containerEl?reactDomExports.createPortal(pt,nt.containerEl):nt.show&&pt});function useConnect(){const a=reactExports.useRef(null),j=useCreation(()=>new _default$2({concurrency:1})),_e=useMemoizedFn((...ft)=>{var dt;(dt=a.current)==null||dt.close(...ft)}),et=useMemoizedFn(({onSuccess:ft,onClose:dt,onEnd:mt,...pt},...yt)=>{const Tt=()=>new Promise(St=>{typeof ft=="function"?pt.onSuccess=(...At)=>{ft(...At),setTimeout(()=>{_e(),St()},2e3)}:pt.onSuccess=()=>{setTimeout(()=>{_e(),St()},2e3)},typeof dt=="function"?pt.onClose=(...At)=>{dt(...At),_e(),St(),j.clear()}:pt.onClose=()=>{_e(),St(),j.clear()},setTimeout(()=>{var At;(At=a.current)==null||At.open(pt,...yt)})});j.add(Tt)}),nt=useMemoizedFn((ft={},{baseUrl:dt,locale:mt="en",blocklet:pt=globalThis==null?void 0:globalThis.blocklet}={})=>new Promise((yt,Tt)=>{const St=()=>new Promise(At=>{(async()=>{var jt;if(isUndefined$2(dt)){const Wt=getFederatedEnabled(),sn=getMaster();dt=Wt?sn.appUrl:window.location.origin}const{onSuccess:Mt,onClose:kt,onError:Pt,...Lt}=ft;if(!((jt=Lt==null?void 0:Lt.extraParams)!=null&&jt.provider))throw isFunction$8(Pt)&&Pt("Must have extraParams.provider"),new Error("Must have extraParams.provider");Lt!=null&&Lt.prefix||(Lt.prefix=window.location.origin+joinURL(pt==null?void 0:pt.prefix,API_DID_PREFIX));const Ft=new URLSearchParams;Ft.set("params",btoa(encodeURIComponent(JSON.stringify(Lt)))),Ft.set("appPid",pt==null?void 0:pt.appPid),Ft.set("locale",mt);const Yt=openPopup(joinURL(dt||"/",AUTH_SERVICE_PREFIX,`/connect?${Ft.toString()}`));try{const Wt=await runPopup({popup:Yt,closeTimeout:2e3});updateConnectedInfo({connected_app:getAppId$1(),...Wt==null?void 0:Wt.options},!0),isFunction$8(Mt)?(Mt({...Wt.response,encrypted:!1}),_e(),At()):(_e(),At()),yt({...Wt.response,encrypted:!1})}catch(Wt){throw Wt.message==="Popup closed"?isFunction$8(kt)?(kt(),At(),j.clear()):(At(),j.clear()):isFunction$8(Pt)&&Pt(Wt),Wt}})().catch(Mt=>{At(),Tt(Mt)})});j.add(St)})),tt=useCreation(()=>jsxRuntimeExports.jsx(ConnectHolder,{ref:a})),ot=useCreation(()=>({open:et,close:_e,openPopup:nt,queue:j}));return{connectHolder:tt,connectApi:ot}}const EVENTS={LOGIN:Symbol("login"),CANCEL_LOGIN:Symbol("cancelLogin"),LOGOUT:Symbol("logout"),SWITCH_PROFILE:Symbol("switchProfile"),CANCEL_SWITCH_PROFILE:Symbol("cancelSwitchProfile"),SWITCH_PASSPORT:Symbol("switchPassport"),CANCEL_SWITCH_PASSPORT:Symbol("cancelSwitchPassport"),BIND_WALLET:Symbol("bindWallet"),CANCEL_BIND_WALLET:Symbol("cancelBindWallet"),CONNECT_TO_DID_SPACE_FOR_FULL_ACCESS:Symbol("connectToDidSpaceForFullAccess")},translations$2={login:{en:{title:"Connect DID Wallet",scan:"Scan following qrcode to connect your DID Wallet",confirm:"Confirm connection in your DID Wallet",success:"Successfully connected"},zh:{title:"连接 DID 钱包",scan:"请使用 DID 钱包扫码下面的二维码完成连接",confirm:"在 DID 钱包中确认连接",success:"连接成功"}},"switch-specified-did":{en:{title:"Switch DID",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},zh:{title:"切换账号",scan:"你需要切换账号至 {did} 才能完成后续的操作",confirm:"在 DID 钱包中确认切换",success:"切换成功"}},"switch-did":{en:{title:"Switch DID",scan:"Scan following qrcode to switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},zh:{title:"切换账号",scan:"请使用 DID 钱包扫码下面的二维码完成切换",confirm:"在 DID 钱包中确认切换",success:"切换成功"}},"switch-profile":{en:{title:"Switch Profile",scan:"Scan following qrcode with DID Wallet to switch profile",confirm:"Select profile in your DID Wallet",success:"Profile updated"},zh:{title:"切换个人信息",scan:"请使用 DID 钱包扫码下面的二维码来切换个人信息",confirm:"在 DID 钱包中选择个人信息",success:"个人信息已经更新"}},"switch-passport":{en:{title:"Switch Passport",scan:"Scan following qrcode with DID Wallet to switch passport",confirm:"Select passport in your DID Wallet",success:"Passport and session updated"},zh:{title:"切换通行证",scan:"请使用 DID 钱包扫码二维码来切换通行证",confirm:"在 DID 钱包中选择通行证",success:"通行证和会话已经更新"}},"connect-to-did-spaces-for-user":{en:{title:"Please authorize the application to connect to your DID Space",scan:"Please use your DID wallet to scan the QR code for authorization",confirm:"Select the DID Spaces NFT in your DID wallet",success:"Connection successful"},zh:{title:"请授权应用连接你的 DID Space",scan:"请使用 DID 钱包扫码二维码来完成授权",confirm:"在 DID 钱包中选择 DID Spaces NFT",success:"连接成功"}},"bind-wallet":{en:{title:"Connect DID Wallet for enhanced security",scan:"Scan following qrcode with DID Wallet to connect your DID Wallet",success:"Successfully connected"},zh:{title:"连接 DID 钱包获得更高的安全性",scan:"请使用 DID 钱包扫码二维码来连接您的 DID 钱包",success:"连接成功"}},exchangePassport:{en:{action:"Exchange Passport with NFT",tooltip:"Exchange passport if you owns any required NFT"},zh:{action:"兑换通行证",tooltip:"通过出示你持有的特定 NFT 来获取通行证"}},lostPassport:{en:{action:"Lost Passport"},zh:{action:"找回通行证"}},switchAccountDialog:{en:{confirm:"Switch",title:"Switch Account",description:"Please switch accounts to complete next action",currentAccount:"Current account",nextAccount:"Account to be switched"},zh:{confirm:"切换",title:"切换账号",description:"请切换账号来完成后续的操作",currentAccount:"当前登录的账户",nextAccount:"即将切换的账户"}}};var re$2={exports:{}};const SEMVER_SPEC_VERSION="2.0.0",MAX_LENGTH$1=256,MAX_SAFE_INTEGER$2=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH$1-6,RELEASE_TYPES=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var constants$1={MAX_LENGTH:MAX_LENGTH$1,MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_BUILD_LENGTH,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$2,RELEASE_TYPES,SEMVER_SPEC_VERSION,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},define_process_env_default$1={};const debug$3=typeof process$1$1=="object"&&define_process_env_default$1&&define_process_env_default$1.NODE_DEBUG&&/\bsemver\b/i.test(define_process_env_default$1.NODE_DEBUG)?(...a)=>console.error("SEMVER",...a):()=>{};var debug_1$1=debug$3;(function(a,j){const{MAX_SAFE_COMPONENT_LENGTH:_e,MAX_SAFE_BUILD_LENGTH:et,MAX_LENGTH:nt}=constants$1,tt=debug_1$1;j=a.exports={};const ot=j.re=[],ft=j.safeRe=[],dt=j.src=[],mt=j.t={};let pt=0;const yt="[a-zA-Z0-9-]",Tt=[["\\s",1],["\\d",nt],[yt,et]],St=Ct=>{for(const[Mt,kt]of Tt)Ct=Ct.split(`${Mt}*`).join(`${Mt}{0,${kt}}`).split(`${Mt}+`).join(`${Mt}{1,${kt}}`);return Ct},At=(Ct,Mt,kt)=>{const Pt=St(Mt),Lt=pt++;tt(Ct,Lt,Mt),mt[Ct]=Lt,dt[Lt]=Mt,ot[Lt]=new RegExp(Mt,kt?"g":void 0),ft[Lt]=new RegExp(Pt,kt?"g":void 0)};At("NUMERICIDENTIFIER","0|[1-9]\\d*"),At("NUMERICIDENTIFIERLOOSE","\\d+"),At("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${yt}*`),At("MAINVERSION",`(${dt[mt.NUMERICIDENTIFIER]})\\.(${dt[mt.NUMERICIDENTIFIER]})\\.(${dt[mt.NUMERICIDENTIFIER]})`),At("MAINVERSIONLOOSE",`(${dt[mt.NUMERICIDENTIFIERLOOSE]})\\.(${dt[mt.NUMERICIDENTIFIERLOOSE]})\\.(${dt[mt.NUMERICIDENTIFIERLOOSE]})`),At("PRERELEASEIDENTIFIER",`(?:${dt[mt.NUMERICIDENTIFIER]}|${dt[mt.NONNUMERICIDENTIFIER]})`),At("PRERELEASEIDENTIFIERLOOSE",`(?:${dt[mt.NUMERICIDENTIFIERLOOSE]}|${dt[mt.NONNUMERICIDENTIFIER]})`),At("PRERELEASE",`(?:-(${dt[mt.PRERELEASEIDENTIFIER]}(?:\\.${dt[mt.PRERELEASEIDENTIFIER]})*))`),At("PRERELEASELOOSE",`(?:-?(${dt[mt.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${dt[mt.PRERELEASEIDENTIFIERLOOSE]})*))`),At("BUILDIDENTIFIER",`${yt}+`),At("BUILD",`(?:\\+(${dt[mt.BUILDIDENTIFIER]}(?:\\.${dt[mt.BUILDIDENTIFIER]})*))`),At("FULLPLAIN",`v?${dt[mt.MAINVERSION]}${dt[mt.PRERELEASE]}?${dt[mt.BUILD]}?`),At("FULL",`^${dt[mt.FULLPLAIN]}$`),At("LOOSEPLAIN",`[v=\\s]*${dt[mt.MAINVERSIONLOOSE]}${dt[mt.PRERELEASELOOSE]}?${dt[mt.BUILD]}?`),At("LOOSE",`^${dt[mt.LOOSEPLAIN]}$`),At("GTLT","((?:<|>)?=?)"),At("XRANGEIDENTIFIERLOOSE",`${dt[mt.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),At("XRANGEIDENTIFIER",`${dt[mt.NUMERICIDENTIFIER]}|x|X|\\*`),At("XRANGEPLAIN",`[v=\\s]*(${dt[mt.XRANGEIDENTIFIER]})(?:\\.(${dt[mt.XRANGEIDENTIFIER]})(?:\\.(${dt[mt.XRANGEIDENTIFIER]})(?:${dt[mt.PRERELEASE]})?${dt[mt.BUILD]}?)?)?`),At("XRANGEPLAINLOOSE",`[v=\\s]*(${dt[mt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${dt[mt.XRANGEIDENTIFIERLOOSE]})(?:\\.(${dt[mt.XRANGEIDENTIFIERLOOSE]})(?:${dt[mt.PRERELEASELOOSE]})?${dt[mt.BUILD]}?)?)?`),At("XRANGE",`^${dt[mt.GTLT]}\\s*${dt[mt.XRANGEPLAIN]}$`),At("XRANGELOOSE",`^${dt[mt.GTLT]}\\s*${dt[mt.XRANGEPLAINLOOSE]}$`),At("COERCEPLAIN",`(^|[^\\d])(\\d{1,${_e}})(?:\\.(\\d{1,${_e}}))?(?:\\.(\\d{1,${_e}}))?`),At("COERCE",`${dt[mt.COERCEPLAIN]}(?:$|[^\\d])`),At("COERCEFULL",dt[mt.COERCEPLAIN]+`(?:${dt[mt.PRERELEASE]})?(?:${dt[mt.BUILD]})?(?:$|[^\\d])`),At("COERCERTL",dt[mt.COERCE],!0),At("COERCERTLFULL",dt[mt.COERCEFULL],!0),At("LONETILDE","(?:~>?)"),At("TILDETRIM",`(\\s*)${dt[mt.LONETILDE]}\\s+`,!0),j.tildeTrimReplace="$1~",At("TILDE",`^${dt[mt.LONETILDE]}${dt[mt.XRANGEPLAIN]}$`),At("TILDELOOSE",`^${dt[mt.LONETILDE]}${dt[mt.XRANGEPLAINLOOSE]}$`),At("LONECARET","(?:\\^)"),At("CARETTRIM",`(\\s*)${dt[mt.LONECARET]}\\s+`,!0),j.caretTrimReplace="$1^",At("CARET",`^${dt[mt.LONECARET]}${dt[mt.XRANGEPLAIN]}$`),At("CARETLOOSE",`^${dt[mt.LONECARET]}${dt[mt.XRANGEPLAINLOOSE]}$`),At("COMPARATORLOOSE",`^${dt[mt.GTLT]}\\s*(${dt[mt.LOOSEPLAIN]})$|^$`),At("COMPARATOR",`^${dt[mt.GTLT]}\\s*(${dt[mt.FULLPLAIN]})$|^$`),At("COMPARATORTRIM",`(\\s*)${dt[mt.GTLT]}\\s*(${dt[mt.LOOSEPLAIN]}|${dt[mt.XRANGEPLAIN]})`,!0),j.comparatorTrimReplace="$1$2$3",At("HYPHENRANGE",`^\\s*(${dt[mt.XRANGEPLAIN]})\\s+-\\s+(${dt[mt.XRANGEPLAIN]})\\s*$`),At("HYPHENRANGELOOSE",`^\\s*(${dt[mt.XRANGEPLAINLOOSE]})\\s+-\\s+(${dt[mt.XRANGEPLAINLOOSE]})\\s*$`),At("STAR","(<|>)?=?\\s*\\*"),At("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),At("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(re$2,re$2.exports);var reExports=re$2.exports;const looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions$1=a=>a?typeof a!="object"?looseOption:a:emptyOpts;var parseOptions_1=parseOptions$1;const numeric=/^[0-9]+$/,compareIdentifiers$1=(a,j)=>{const _e=numeric.test(a),et=numeric.test(j);return _e&&et&&(a=+a,j=+j),a===j?0:_e&&!et?-1:et&&!_e?1:a<j?-1:1},rcompareIdentifiers=(a,j)=>compareIdentifiers$1(j,a);var identifiers$1={compareIdentifiers:compareIdentifiers$1,rcompareIdentifiers};const debug$2=debug_1$1,{MAX_LENGTH,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$1}=constants$1,{safeRe:re$1,t:t$1}=reExports,parseOptions=parseOptions_1,{compareIdentifiers}=identifiers$1;let SemVer$d=class ps{constructor(j,_e){if(_e=parseOptions(_e),j instanceof ps){if(j.loose===!!_e.loose&&j.includePrerelease===!!_e.includePrerelease)return j;j=j.version}else if(typeof j!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof j}".`);if(j.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug$2("SemVer",j,_e),this.options=_e,this.loose=!!_e.loose,this.includePrerelease=!!_e.includePrerelease;const et=j.trim().match(_e.loose?re$1[t$1.LOOSE]:re$1[t$1.FULL]);if(!et)throw new TypeError(`Invalid Version: ${j}`);if(this.raw=j,this.major=+et[1],this.minor=+et[2],this.patch=+et[3],this.major>MAX_SAFE_INTEGER$1||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER$1||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER$1||this.patch<0)throw new TypeError("Invalid patch version");et[4]?this.prerelease=et[4].split(".").map(nt=>{if(/^[0-9]+$/.test(nt)){const tt=+nt;if(tt>=0&&tt<MAX_SAFE_INTEGER$1)return tt}return nt}):this.prerelease=[],this.build=et[5]?et[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(j){if(debug$2("SemVer.compare",this.version,this.options,j),!(j instanceof ps)){if(typeof j=="string"&&j===this.version)return 0;j=new ps(j,this.options)}return j.version===this.version?0:this.compareMain(j)||this.comparePre(j)}compareMain(j){return j instanceof ps||(j=new ps(j,this.options)),compareIdentifiers(this.major,j.major)||compareIdentifiers(this.minor,j.minor)||compareIdentifiers(this.patch,j.patch)}comparePre(j){if(j instanceof ps||(j=new ps(j,this.options)),this.prerelease.length&&!j.prerelease.length)return-1;if(!this.prerelease.length&&j.prerelease.length)return 1;if(!this.prerelease.length&&!j.prerelease.length)return 0;let _e=0;do{const et=this.prerelease[_e],nt=j.prerelease[_e];if(debug$2("prerelease compare",_e,et,nt),et===void 0&&nt===void 0)return 0;if(nt===void 0)return 1;if(et===void 0)return-1;if(et===nt)continue;return compareIdentifiers(et,nt)}while(++_e)}compareBuild(j){j instanceof ps||(j=new ps(j,this.options));let _e=0;do{const et=this.build[_e],nt=j.build[_e];if(debug$2("build compare",_e,et,nt),et===void 0&&nt===void 0)return 0;if(nt===void 0)return 1;if(et===void 0)return-1;if(et===nt)continue;return compareIdentifiers(et,nt)}while(++_e)}inc(j,_e,et){switch(j){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",_e,et);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",_e,et);break;case"prepatch":this.prerelease.length=0,this.inc("patch",_e,et),this.inc("pre",_e,et);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",_e,et),this.inc("pre",_e,et);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const nt=Number(et)?1:0;if(!_e&&et===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[nt];else{let tt=this.prerelease.length;for(;--tt>=0;)typeof this.prerelease[tt]=="number"&&(this.prerelease[tt]++,tt=-2);if(tt===-1){if(_e===this.prerelease.join(".")&&et===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(nt)}}if(_e){let tt=[_e,nt];et===!1&&(tt=[_e]),compareIdentifiers(this.prerelease[0],_e)===0?isNaN(this.prerelease[1])&&(this.prerelease=tt):this.prerelease=tt}break}default:throw new Error(`invalid increment argument: ${j}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var semver$2=SemVer$d;const SemVer$c=semver$2,parse$d=(a,j,_e=!1)=>{if(a instanceof SemVer$c)return a;try{return new SemVer$c(a,j)}catch(et){if(!_e)return null;throw et}};var parse_1=parse$d;const parse$c=parse_1,valid$2=(a,j)=>{const _e=parse$c(a,j);return _e?_e.version:null};var valid_1=valid$2;const parse$b=parse_1,clean$1=(a,j)=>{const _e=parse$b(a.trim().replace(/^[=v]+/,""),j);return _e?_e.version:null};var clean_1=clean$1;const SemVer$b=semver$2,inc$1=(a,j,_e,et,nt)=>{typeof _e=="string"&&(nt=et,et=_e,_e=void 0);try{return new SemVer$b(a instanceof SemVer$b?a.version:a,_e).inc(j,et,nt).version}catch{return null}};var inc_1=inc$1;const parse$a=parse_1,diff$1=(a,j)=>{const _e=parse$a(a,null,!0),et=parse$a(j,null,!0),nt=_e.compare(et);if(nt===0)return null;const tt=nt>0,ot=tt?_e:et,ft=tt?et:_e,dt=!!ot.prerelease.length;if(!!ft.prerelease.length&&!dt)return!ft.patch&&!ft.minor?"major":ot.patch?"patch":ot.minor?"minor":"major";const pt=dt?"pre":"";return _e.major!==et.major?pt+"major":_e.minor!==et.minor?pt+"minor":_e.patch!==et.patch?pt+"patch":"prerelease"};var diff_1=diff$1;const SemVer$a=semver$2,major$1=(a,j)=>new SemVer$a(a,j).major;var major_1=major$1;const SemVer$9=semver$2,minor$1=(a,j)=>new SemVer$9(a,j).minor;var minor_1=minor$1;const SemVer$8=semver$2,patch$1=(a,j)=>new SemVer$8(a,j).patch;var patch_1=patch$1;const parse$9=parse_1,prerelease$1=(a,j)=>{const _e=parse$9(a,j);return _e&&_e.prerelease.length?_e.prerelease:null};var prerelease_1=prerelease$1;const SemVer$7=semver$2,compare$b=(a,j,_e)=>new SemVer$7(a,_e).compare(new SemVer$7(j,_e));var compare_1=compare$b;const compare$a=compare_1,rcompare$1=(a,j,_e)=>compare$a(j,a,_e);var rcompare_1=rcompare$1;const compare$9=compare_1,compareLoose$1=(a,j)=>compare$9(a,j,!0);var compareLoose_1=compareLoose$1;const SemVer$6=semver$2,compareBuild$3=(a,j,_e)=>{const et=new SemVer$6(a,_e),nt=new SemVer$6(j,_e);return et.compare(nt)||et.compareBuild(nt)};var compareBuild_1=compareBuild$3;const compareBuild$2=compareBuild_1,sort$1=(a,j)=>a.sort((_e,et)=>compareBuild$2(_e,et,j));var sort_1=sort$1;const compareBuild$1=compareBuild_1,rsort$1=(a,j)=>a.sort((_e,et)=>compareBuild$1(et,_e,j));var rsort_1=rsort$1;const compare$8=compare_1,gt$4=(a,j,_e)=>compare$8(a,j,_e)>0;var gt_1=gt$4;const compare$7=compare_1,lt$3=(a,j,_e)=>compare$7(a,j,_e)<0;var lt_1=lt$3;const compare$6=compare_1,eq$4=(a,j,_e)=>compare$6(a,j,_e)===0;var eq_1=eq$4;const compare$5=compare_1,neq$2=(a,j,_e)=>compare$5(a,j,_e)!==0;var neq_1=neq$2;const compare$4=compare_1,gte$3=(a,j,_e)=>compare$4(a,j,_e)>=0;var gte_1=gte$3;const compare$3=compare_1,lte$3=(a,j,_e)=>compare$3(a,j,_e)<=0;var lte_1=lte$3;const eq$3=eq_1,neq$1=neq_1,gt$3=gt_1,gte$2=gte_1,lt$2=lt_1,lte$2=lte_1,cmp$1=(a,j,_e,et)=>{switch(j){case"===":return typeof a=="object"&&(a=a.version),typeof _e=="object"&&(_e=_e.version),a===_e;case"!==":return typeof a=="object"&&(a=a.version),typeof _e=="object"&&(_e=_e.version),a!==_e;case"":case"=":case"==":return eq$3(a,_e,et);case"!=":return neq$1(a,_e,et);case">":return gt$3(a,_e,et);case">=":return gte$2(a,_e,et);case"<":return lt$2(a,_e,et);case"<=":return lte$2(a,_e,et);default:throw new TypeError(`Invalid operator: ${j}`)}};var cmp_1=cmp$1;const SemVer$5=semver$2,parse$8=parse_1,{safeRe:re,t}=reExports,coerce$1=(a,j)=>{if(a instanceof SemVer$5)return a;if(typeof a=="number"&&(a=String(a)),typeof a!="string")return null;j=j||{};let _e=null;if(!j.rtl)_e=a.match(j.includePrerelease?re[t.COERCEFULL]:re[t.COERCE]);else{const dt=j.includePrerelease?re[t.COERCERTLFULL]:re[t.COERCERTL];let mt;for(;(mt=dt.exec(a))&&(!_e||_e.index+_e[0].length!==a.length);)(!_e||mt.index+mt[0].length!==_e.index+_e[0].length)&&(_e=mt),dt.lastIndex=mt.index+mt[1].length+mt[2].length;dt.lastIndex=-1}if(_e===null)return null;const et=_e[2],nt=_e[3]||"0",tt=_e[4]||"0",ot=j.includePrerelease&&_e[5]?`-${_e[5]}`:"",ft=j.includePrerelease&&_e[6]?`+${_e[6]}`:"";return parse$8(`${et}.${nt}.${tt}${ot}${ft}`,j)};var coerce_1=coerce$1;class LRUCache{constructor(){this.max=1e3,this.map=new Map}get(j){const _e=this.map.get(j);if(_e!==void 0)return this.map.delete(j),this.map.set(j,_e),_e}delete(j){return this.map.delete(j)}set(j,_e){if(!this.delete(j)&&_e!==void 0){if(this.map.size>=this.max){const nt=this.map.keys().next().value;this.delete(nt)}this.map.set(j,_e)}return this}}var lrucache=LRUCache,range,hasRequiredRange;function requireRange(){if(hasRequiredRange)return range;hasRequiredRange=1;const a=/\s+/g;class j{constructor(ht,vt){if(vt=nt(vt),ht instanceof j)return ht.loose===!!vt.loose&&ht.includePrerelease===!!vt.includePrerelease?ht:new j(ht.raw,vt);if(ht instanceof tt)return this.raw=ht.value,this.set=[[ht]],this.formatted=void 0,this;if(this.options=vt,this.loose=!!vt.loose,this.includePrerelease=!!vt.includePrerelease,this.raw=ht.trim().replace(a," "),this.set=this.raw.split("||").map($t=>this.parseRange($t.trim())).filter($t=>$t.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const $t=this.set[0];if(this.set=this.set.filter(xt=>!Ct(xt[0])),this.set.length===0)this.set=[$t];else if(this.set.length>1){for(const xt of this.set)if(xt.length===1&&Mt(xt[0])){this.set=[xt];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let ht=0;ht<this.set.length;ht++){ht>0&&(this.formatted+="||");const vt=this.set[ht];for(let $t=0;$t<vt.length;$t++)$t>0&&(this.formatted+=" "),this.formatted+=vt[$t].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(ht){const $t=((this.options.includePrerelease&&St)|(this.options.loose&&At))+":"+ht,xt=et.get($t);if(xt)return xt;const bt=this.options.loose,it=bt?dt[mt.HYPHENRANGELOOSE]:dt[mt.HYPHENRANGE];ht=ht.replace(it,rt(this.options.includePrerelease)),ot("hyphen replace",ht),ht=ht.replace(dt[mt.COMPARATORTRIM],pt),ot("comparator trim",ht),ht=ht.replace(dt[mt.TILDETRIM],yt),ot("tilde trim",ht),ht=ht.replace(dt[mt.CARETTRIM],Tt),ot("caret trim",ht);let Et=ht.split(" ").map(Bt=>Pt(Bt,this.options)).join(" ").split(/\s+/).map(Bt=>Rt(Bt,this.options));bt&&(Et=Et.filter(Bt=>(ot("loose invalid filter",Bt,this.options),!!Bt.match(dt[mt.COMPARATORLOOSE])))),ot("range list",Et);const Dt=new Map,Nt=Et.map(Bt=>new tt(Bt,this.options));for(const Bt of Nt){if(Ct(Bt))return[Bt];Dt.set(Bt.value,Bt)}Dt.size>1&&Dt.has("")&&Dt.delete("");const Vt=[...Dt.values()];return et.set($t,Vt),Vt}intersects(ht,vt){if(!(ht instanceof j))throw new TypeError("a Range is required");return this.set.some($t=>kt($t,vt)&&ht.set.some(xt=>kt(xt,vt)&&$t.every(bt=>xt.every(it=>bt.intersects(it,vt)))))}test(ht){if(!ht)return!1;if(typeof ht=="string")try{ht=new ft(ht,this.options)}catch{return!1}for(let vt=0;vt<this.set.length;vt++)if(ut(this.set[vt],ht,this.options))return!0;return!1}}range=j;const _e=lrucache,et=new _e,nt=parseOptions_1,tt=requireComparator(),ot=debug_1$1,ft=semver$2,{safeRe:dt,t:mt,comparatorTrimReplace:pt,tildeTrimReplace:yt,caretTrimReplace:Tt}=reExports,{FLAG_INCLUDE_PRERELEASE:St,FLAG_LOOSE:At}=constants$1,Ct=ct=>ct.value==="<0.0.0-0",Mt=ct=>ct.value==="",kt=(ct,ht)=>{let vt=!0;const $t=ct.slice();let xt=$t.pop();for(;vt&&$t.length;)vt=$t.every(bt=>xt.intersects(bt,ht)),xt=$t.pop();return vt},Pt=(ct,ht)=>(ot("comp",ct,ht),ct=jt(ct,ht),ot("caret",ct),ct=Ft(ct,ht),ot("tildes",ct),ct=sn(ct,ht),ot("xrange",ct),ct=vn(ct,ht),ot("stars",ct),ct),Lt=ct=>!ct||ct.toLowerCase()==="x"||ct==="*",Ft=(ct,ht)=>ct.trim().split(/\s+/).map(vt=>Yt(vt,ht)).join(" "),Yt=(ct,ht)=>{const vt=ht.loose?dt[mt.TILDELOOSE]:dt[mt.TILDE];return ct.replace(vt,($t,xt,bt,it,Et)=>{ot("tilde",ct,$t,xt,bt,it,Et);let Dt;return Lt(xt)?Dt="":Lt(bt)?Dt=`>=${xt}.0.0 <${+xt+1}.0.0-0`:Lt(it)?Dt=`>=${xt}.${bt}.0 <${xt}.${+bt+1}.0-0`:Et?(ot("replaceTilde pr",Et),Dt=`>=${xt}.${bt}.${it}-${Et} <${xt}.${+bt+1}.0-0`):Dt=`>=${xt}.${bt}.${it} <${xt}.${+bt+1}.0-0`,ot("tilde return",Dt),Dt})},jt=(ct,ht)=>ct.trim().split(/\s+/).map(vt=>Wt(vt,ht)).join(" "),Wt=(ct,ht)=>{ot("caret",ct,ht);const vt=ht.loose?dt[mt.CARETLOOSE]:dt[mt.CARET],$t=ht.includePrerelease?"-0":"";return ct.replace(vt,(xt,bt,it,Et,Dt)=>{ot("caret",ct,xt,bt,it,Et,Dt);let Nt;return Lt(bt)?Nt="":Lt(it)?Nt=`>=${bt}.0.0${$t} <${+bt+1}.0.0-0`:Lt(Et)?bt==="0"?Nt=`>=${bt}.${it}.0${$t} <${bt}.${+it+1}.0-0`:Nt=`>=${bt}.${it}.0${$t} <${+bt+1}.0.0-0`:Dt?(ot("replaceCaret pr",Dt),bt==="0"?it==="0"?Nt=`>=${bt}.${it}.${Et}-${Dt} <${bt}.${it}.${+Et+1}-0`:Nt=`>=${bt}.${it}.${Et}-${Dt} <${bt}.${+it+1}.0-0`:Nt=`>=${bt}.${it}.${Et}-${Dt} <${+bt+1}.0.0-0`):(ot("no pr"),bt==="0"?it==="0"?Nt=`>=${bt}.${it}.${Et}${$t} <${bt}.${it}.${+Et+1}-0`:Nt=`>=${bt}.${it}.${Et}${$t} <${bt}.${+it+1}.0-0`:Nt=`>=${bt}.${it}.${Et} <${+bt+1}.0.0-0`),ot("caret return",Nt),Nt})},sn=(ct,ht)=>(ot("replaceXRanges",ct,ht),ct.split(/\s+/).map(vt=>ln(vt,ht)).join(" ")),ln=(ct,ht)=>{ct=ct.trim();const vt=ht.loose?dt[mt.XRANGELOOSE]:dt[mt.XRANGE];return ct.replace(vt,($t,xt,bt,it,Et,Dt)=>{ot("xRange",ct,$t,xt,bt,it,Et,Dt);const Nt=Lt(bt),Vt=Nt||Lt(it),Bt=Vt||Lt(Et),Kt=Bt;return xt==="="&&Kt&&(xt=""),Dt=ht.includePrerelease?"-0":"",Nt?xt===">"||xt==="<"?$t="<0.0.0-0":$t="*":xt&&Kt?(Vt&&(it=0),Et=0,xt===">"?(xt=">=",Vt?(bt=+bt+1,it=0,Et=0):(it=+it+1,Et=0)):xt==="<="&&(xt="<",Vt?bt=+bt+1:it=+it+1),xt==="<"&&(Dt="-0"),$t=`${xt+bt}.${it}.${Et}${Dt}`):Vt?$t=`>=${bt}.0.0${Dt} <${+bt+1}.0.0-0`:Bt&&($t=`>=${bt}.${it}.0${Dt} <${bt}.${+it+1}.0-0`),ot("xRange return",$t),$t})},vn=(ct,ht)=>(ot("replaceStars",ct,ht),ct.trim().replace(dt[mt.STAR],"")),Rt=(ct,ht)=>(ot("replaceGTE0",ct,ht),ct.trim().replace(dt[ht.includePrerelease?mt.GTE0PRE:mt.GTE0],"")),rt=ct=>(ht,vt,$t,xt,bt,it,Et,Dt,Nt,Vt,Bt,Kt)=>(Lt($t)?vt="":Lt(xt)?vt=`>=${$t}.0.0${ct?"-0":""}`:Lt(bt)?vt=`>=${$t}.${xt}.0${ct?"-0":""}`:it?vt=`>=${vt}`:vt=`>=${vt}${ct?"-0":""}`,Lt(Nt)?Dt="":Lt(Vt)?Dt=`<${+Nt+1}.0.0-0`:Lt(Bt)?Dt=`<${Nt}.${+Vt+1}.0-0`:Kt?Dt=`<=${Nt}.${Vt}.${Bt}-${Kt}`:ct?Dt=`<${Nt}.${Vt}.${+Bt+1}-0`:Dt=`<=${Dt}`,`${vt} ${Dt}`.trim()),ut=(ct,ht,vt)=>{for(let $t=0;$t<ct.length;$t++)if(!ct[$t].test(ht))return!1;if(ht.prerelease.length&&!vt.includePrerelease){for(let $t=0;$t<ct.length;$t++)if(ot(ct[$t].semver),ct[$t].semver!==tt.ANY&&ct[$t].semver.prerelease.length>0){const xt=ct[$t].semver;if(xt.major===ht.major&&xt.minor===ht.minor&&xt.patch===ht.patch)return!0}return!1}return!0};return range}var comparator,hasRequiredComparator;function requireComparator(){if(hasRequiredComparator)return comparator;hasRequiredComparator=1;const a=Symbol("SemVer ANY");class j{static get ANY(){return a}constructor(pt,yt){if(yt=_e(yt),pt instanceof j){if(pt.loose===!!yt.loose)return pt;pt=pt.value}pt=pt.trim().split(/\s+/).join(" "),ot("comparator",pt,yt),this.options=yt,this.loose=!!yt.loose,this.parse(pt),this.semver===a?this.value="":this.value=this.operator+this.semver.version,ot("comp",this)}parse(pt){const yt=this.options.loose?et[nt.COMPARATORLOOSE]:et[nt.COMPARATOR],Tt=pt.match(yt);if(!Tt)throw new TypeError(`Invalid comparator: ${pt}`);this.operator=Tt[1]!==void 0?Tt[1]:"",this.operator==="="&&(this.operator=""),Tt[2]?this.semver=new ft(Tt[2],this.options.loose):this.semver=a}toString(){return this.value}test(pt){if(ot("Comparator.test",pt,this.options.loose),this.semver===a||pt===a)return!0;if(typeof pt=="string")try{pt=new ft(pt,this.options)}catch{return!1}return tt(pt,this.operator,this.semver,this.options)}intersects(pt,yt){if(!(pt instanceof j))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new dt(pt.value,yt).test(this.value):pt.operator===""?pt.value===""?!0:new dt(this.value,yt).test(pt.semver):(yt=_e(yt),yt.includePrerelease&&(this.value==="<0.0.0-0"||pt.value==="<0.0.0-0")||!yt.includePrerelease&&(this.value.startsWith("<0.0.0")||pt.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&pt.operator.startsWith(">")||this.operator.startsWith("<")&&pt.operator.startsWith("<")||this.semver.version===pt.semver.version&&this.operator.includes("=")&&pt.operator.includes("=")||tt(this.semver,"<",pt.semver,yt)&&this.operator.startsWith(">")&&pt.operator.startsWith("<")||tt(this.semver,">",pt.semver,yt)&&this.operator.startsWith("<")&&pt.operator.startsWith(">")))}}comparator=j;const _e=parseOptions_1,{safeRe:et,t:nt}=reExports,tt=cmp_1,ot=debug_1$1,ft=semver$2,dt=requireRange();return comparator}const Range$9=requireRange(),satisfies$4=(a,j,_e)=>{try{j=new Range$9(j,_e)}catch{return!1}return j.test(a)};var satisfies_1=satisfies$4;const Range$8=requireRange(),toComparators$1=(a,j)=>new Range$8(a,j).set.map(_e=>_e.map(et=>et.value).join(" ").trim().split(" "));var toComparators_1=toComparators$1;const SemVer$4=semver$2,Range$7=requireRange(),maxSatisfying$1=(a,j,_e)=>{let et=null,nt=null,tt=null;try{tt=new Range$7(j,_e)}catch{return null}return a.forEach(ot=>{tt.test(ot)&&(!et||nt.compare(ot)===-1)&&(et=ot,nt=new SemVer$4(et,_e))}),et};var maxSatisfying_1=maxSatisfying$1;const SemVer$3=semver$2,Range$6=requireRange(),minSatisfying$1=(a,j,_e)=>{let et=null,nt=null,tt=null;try{tt=new Range$6(j,_e)}catch{return null}return a.forEach(ot=>{tt.test(ot)&&(!et||nt.compare(ot)===1)&&(et=ot,nt=new SemVer$3(et,_e))}),et};var minSatisfying_1=minSatisfying$1;const SemVer$2=semver$2,Range$5=requireRange(),gt$2=gt_1,minVersion$1=(a,j)=>{a=new Range$5(a,j);let _e=new SemVer$2("0.0.0");if(a.test(_e)||(_e=new SemVer$2("0.0.0-0"),a.test(_e)))return _e;_e=null;for(let et=0;et<a.set.length;++et){const nt=a.set[et];let tt=null;nt.forEach(ot=>{const ft=new SemVer$2(ot.semver.version);switch(ot.operator){case">":ft.prerelease.length===0?ft.patch++:ft.prerelease.push(0),ft.raw=ft.format();case"":case">=":(!tt||gt$2(ft,tt))&&(tt=ft);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${ot.operator}`)}}),tt&&(!_e||gt$2(_e,tt))&&(_e=tt)}return _e&&a.test(_e)?_e:null};var minVersion_1=minVersion$1;const Range$4=requireRange(),validRange$1=(a,j)=>{try{return new Range$4(a,j).range||"*"}catch{return null}};var valid$1=validRange$1;const SemVer$1=semver$2,Comparator$2=requireComparator(),{ANY:ANY$1}=Comparator$2,Range$3=requireRange(),satisfies$3=satisfies_1,gt$1=gt_1,lt$1=lt_1,lte$1=lte_1,gte$1=gte_1,outside$3=(a,j,_e,et)=>{a=new SemVer$1(a,et),j=new Range$3(j,et);let nt,tt,ot,ft,dt;switch(_e){case">":nt=gt$1,tt=lte$1,ot=lt$1,ft=">",dt=">=";break;case"<":nt=lt$1,tt=gte$1,ot=gt$1,ft="<",dt="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies$3(a,j,et))return!1;for(let mt=0;mt<j.set.length;++mt){const pt=j.set[mt];let yt=null,Tt=null;if(pt.forEach(St=>{St.semver===ANY$1&&(St=new Comparator$2(">=0.0.0")),yt=yt||St,Tt=Tt||St,nt(St.semver,yt.semver,et)?yt=St:ot(St.semver,Tt.semver,et)&&(Tt=St)}),yt.operator===ft||yt.operator===dt||(!Tt.operator||Tt.operator===ft)&&tt(a,Tt.semver))return!1;if(Tt.operator===dt&&ot(a,Tt.semver))return!1}return!0};var outside_1=outside$3;const outside$2=outside_1,gtr$1=(a,j,_e)=>outside$2(a,j,">",_e);var gtr_1=gtr$1;const outside$1=outside_1,ltr$1=(a,j,_e)=>outside$1(a,j,"<",_e);var ltr_1=ltr$1;const Range$2=requireRange(),intersects$1=(a,j,_e)=>(a=new Range$2(a,_e),j=new Range$2(j,_e),a.intersects(j,_e));var intersects_1=intersects$1;const satisfies$2=satisfies_1,compare$2=compare_1;var simplify=(a,j,_e)=>{const et=[];let nt=null,tt=null;const ot=a.sort((pt,yt)=>compare$2(pt,yt,_e));for(const pt of ot)satisfies$2(pt,j,_e)?(tt=pt,nt||(nt=pt)):(tt&&et.push([nt,tt]),tt=null,nt=null);nt&&et.push([nt,null]);const ft=[];for(const[pt,yt]of et)pt===yt?ft.push(pt):!yt&&pt===ot[0]?ft.push("*"):yt?pt===ot[0]?ft.push(`<=${yt}`):ft.push(`${pt} - ${yt}`):ft.push(`>=${pt}`);const dt=ft.join(" || "),mt=typeof j.raw=="string"?j.raw:String(j);return dt.length<mt.length?dt:j};const Range$1=requireRange(),Comparator$1=requireComparator(),{ANY}=Comparator$1,satisfies$1=satisfies_1,compare$1=compare_1,subset$1=(a,j,_e={})=>{if(a===j)return!0;a=new Range$1(a,_e),j=new Range$1(j,_e);let et=!1;e:for(const nt of a.set){for(const tt of j.set){const ot=simpleSubset(nt,tt,_e);if(et=et||ot!==null,ot)continue e}if(et)return!1}return!0},minimumVersionWithPreRelease=[new Comparator$1(">=0.0.0-0")],minimumVersion=[new Comparator$1(">=0.0.0")],simpleSubset=(a,j,_e)=>{if(a===j)return!0;if(a.length===1&&a[0].semver===ANY){if(j.length===1&&j[0].semver===ANY)return!0;_e.includePrerelease?a=minimumVersionWithPreRelease:a=minimumVersion}if(j.length===1&&j[0].semver===ANY){if(_e.includePrerelease)return!0;j=minimumVersion}const et=new Set;let nt,tt;for(const St of a)St.operator===">"||St.operator===">="?nt=higherGT(nt,St,_e):St.operator==="<"||St.operator==="<="?tt=lowerLT(tt,St,_e):et.add(St.semver);if(et.size>1)return null;let ot;if(nt&&tt){if(ot=compare$1(nt.semver,tt.semver,_e),ot>0)return null;if(ot===0&&(nt.operator!==">="||tt.operator!=="<="))return null}for(const St of et){if(nt&&!satisfies$1(St,String(nt),_e)||tt&&!satisfies$1(St,String(tt),_e))return null;for(const At of j)if(!satisfies$1(St,String(At),_e))return!1;return!0}let ft,dt,mt,pt,yt=tt&&!_e.includePrerelease&&tt.semver.prerelease.length?tt.semver:!1,Tt=nt&&!_e.includePrerelease&&nt.semver.prerelease.length?nt.semver:!1;yt&&yt.prerelease.length===1&&tt.operator==="<"&&yt.prerelease[0]===0&&(yt=!1);for(const St of j){if(pt=pt||St.operator===">"||St.operator===">=",mt=mt||St.operator==="<"||St.operator==="<=",nt){if(Tt&&St.semver.prerelease&&St.semver.prerelease.length&&St.semver.major===Tt.major&&St.semver.minor===Tt.minor&&St.semver.patch===Tt.patch&&(Tt=!1),St.operator===">"||St.operator===">="){if(ft=higherGT(nt,St,_e),ft===St&&ft!==nt)return!1}else if(nt.operator===">="&&!satisfies$1(nt.semver,String(St),_e))return!1}if(tt){if(yt&&St.semver.prerelease&&St.semver.prerelease.length&&St.semver.major===yt.major&&St.semver.minor===yt.minor&&St.semver.patch===yt.patch&&(yt=!1),St.operator==="<"||St.operator==="<="){if(dt=lowerLT(tt,St,_e),dt===St&&dt!==tt)return!1}else if(tt.operator==="<="&&!satisfies$1(tt.semver,String(St),_e))return!1}if(!St.operator&&(tt||nt)&&ot!==0)return!1}return!(nt&&mt&&!tt&&ot!==0||tt&&pt&&!nt&&ot!==0||Tt||yt)},higherGT=(a,j,_e)=>{if(!a)return j;const et=compare$1(a.semver,j.semver,_e);return et>0?a:et<0||j.operator===">"&&a.operator===">="?j:a},lowerLT=(a,j,_e)=>{if(!a)return j;const et=compare$1(a.semver,j.semver,_e);return et<0?a:et>0||j.operator==="<"&&a.operator==="<="?j:a};var subset_1=subset$1;const internalRe=reExports,constants=constants$1,SemVer=semver$2,identifiers=identifiers$1,parse$7=parse_1,valid=valid_1,clean=clean_1,inc=inc_1,diff=diff_1,major=major_1,minor=minor_1,patch=patch_1,prerelease=prerelease_1,compare=compare_1,rcompare=rcompare_1,compareLoose=compareLoose_1,compareBuild=compareBuild_1,sort=sort_1,rsort=rsort_1,gt=gt_1,lt=lt_1,eq$2=eq_1,neq=neq_1,gte=gte_1,lte=lte_1,cmp=cmp_1,coerce=coerce_1,Comparator=requireComparator(),Range=requireRange(),satisfies=satisfies_1,toComparators=toComparators_1,maxSatisfying=maxSatisfying_1,minSatisfying=minSatisfying_1,minVersion=minVersion_1,validRange=valid$1,outside=outside_1,gtr=gtr_1,ltr=ltr_1,intersects=intersects_1,simplifyRange=simplify,subset=subset_1;var semver={parse:parse$7,valid,clean,inc,diff,major,minor,patch,prerelease,compare,rcompare,compareLoose,compareBuild,sort,rsort,gt,lt,eq:eq$2,neq,gte,lte,cmp,coerce,Comparator,Range,satisfies,toComparators,maxSatisfying,minSatisfying,minVersion,validRange,outside,gtr,ltr,intersects,simplifyRange,subset,SemVer,re:internalRe.re,src:internalRe.src,tokens:internalRe.t,SEMVER_SPEC_VERSION:constants.SEMVER_SPEC_VERSION,RELEASE_TYPES:constants.RELEASE_TYPES,compareIdentifiers:identifiers.compareIdentifiers,rcompareIdentifiers:identifiers.rcompareIdentifiers};const semver$1=getDefaultExportFromCjs$1(semver),BLACK_LIST=[`${AUTH_SERVICE_PREFIX}/connect`,`${AUTH_SERVICE_PREFIX}/login`,`${AUTH_SERVICE_PREFIX}/invite`,`${AUTH_SERVICE_PREFIX}/issue-passport`,`${AUTH_SERVICE_PREFIX}/oauth/*`],blackListRoute=BLACK_LIST.map(a=>pathToRegexp$1(a,[]));async function login(){const a=(window==null?void 0:window.blocklet)||{},j=window.location.pathname,{componentId:_e,CHAIN_TYPE:et="arcblock",appPid:nt}=a;if(blackListRoute.some(ft=>ft.exec(j)))return null;const ot=getApps();try{const ft=`${window.location.origin}${AUTH_SERVICE_PREFIX}/api/user/loginByWallet`;return await default_1$3.asyncCall("arcLogin",{target:ft,chainType:et,appPid:nt,componentId:_e,apps:ot.map(mt=>{let pt=mt==null?void 0:mt.appLogo;return isUrl(pt)||(pt=joinURL(mt.appUrl,pt)),{appName:mt.appName,appPid:mt.appPid,appUrl:mt.appUrl,appLogo:pt,sourceAppPid:mt.sourceAppPid}})})}catch(ft){return console.error(ft),null}}async function getVisitorId(){return await default_1$3.asyncCall("arcGetVisitorId")}function checkEnableAutoLogin({platform:a,version:j}={}){return!!(a==="ios"&&j&&semver$1.gte(j,"4.15.6")||a==="android"&&j&&semver$1.gte(j,"4.15.1"))}async function didSpacesIsRequired(a){var nt;if((nt=a==null?void 0:a.didSpace)!=null&&nt.endpoint||!window.blocklet||window.self!==window.top)return!1;const j=getWalletDid(a);if(isEmpty$1(j))return!1;const{componentMountPoints:_e}=window.blocklet,[,et]=window.blocklet.componentId.split("/");return _e.some(tt=>{var ot;return((ot=tt==null?void 0:tt.capabilities)==null?void 0:ot.didSpace)==="requiredOnConnect"&&et===tt.did})}const{Provider:Provider$4,Consumer:Consumer$4}=SessionContext$1,didConnectTimeoutError={en:"DID Connect timeout, please reopen DID Connect popup",zh:"DID Connect 超时, 请重新打开 DID Connect"},waitForDidConnect={en:"DID Connect is already opened, please wait for it to complete",zh:"DID Connect 已打开,请等待完成"};function createSessionContext(a=SESSION_TOKEN_STORAGE_KEY,j="ls",_e={},et={}){var mt;let nt="/";(mt=globalThis==null?void 0:globalThis.blocklet)!=null&&mt.prefix&&(nt=globalThis.blocklet.prefix),typeof et=="boolean"&&(et={appendAuthServicePrefix:et,extraParams:{}}),defaultsDeep$1(et,{rolling:!0,appendAuthServicePrefix:!1,extraParams:{},refreshTokenStorageKey:REFRESH_TOKEN_STORAGE_KEY});const tt=createStorage(a,j,_e),ot=createStorage(et.refreshTokenStorageKey,"ls");function ft(pt){var jn,kn;const{connectApi:yt,connectHolder:Tt}=useConnect(),St=useBrowser(),At=useReactive({extraParams:{},options:{},currentLocale:pt.locale,allowWallet:void 0,openMode:"window",get autoConnect(){return typeof pt.autoConnect=="boolean"?pt.autoConnect:!!pt.autoLogin},get prefix(){return et.appendAuthServicePrefix||pt.appendAuthServicePrefix?joinURL(AUTH_SERVICE_PREFIX,pt.prefix):pt.prefix}}),Ct=useReactive({action:pt.action,error:"",initialized:!1,loading:!1,open:!1,user:null,provider:"",walletOS:"",baseUrl:""}),Mt=useCreation(()=>pt.locale||At.currentLocale||getBrowserLang(),[pt.locale,At.currentLocale]),{confirmApi:kt,confirmHolder:Pt}=useConfirm(),Lt=useMemoizedFn(()=>{if(Ct.open){const Dn=waitForDidConnect[Mt]||waitForDidConnect.en;throw Toast$1.warning(Dn),new Error(Dn)}}),Ft=useCreation(()=>new EventEmitter$6,[]),Yt=useMemoizedFn((Dn,Wn,Nn)=>{const Hn={login:[EVENTS.LOGIN,EVENTS.CANCEL_LOGIN],"bind-wallet":[EVENTS.BIND_WALLET,EVENTS.CANCEL_BIND_WALLET],"switch-passport":[EVENTS.SWITCH_PASSPORT,EVENTS.CANCEL_SWITCH_PASSPORT],"switch-profile":[EVENTS.SWITCH_PROFILE,EVENTS.CANCEL_SWITCH_PROFILE],"switch-did":[EVENTS.LOGIN,EVENTS.CANCEL_LOGIN]};if(!Object.keys(Hn).includes(Dn))return;const dr=async(...Gn)=>{isFunction$8(Wn)&&await Wn(...Gn),Ft.emit(Dn,...Gn)};Ft.once(Hn[Dn][0],dr),Ft.once(Hn[Dn][1],async(...Gn)=>{isFunction$8(dr)&&Ft.off(Hn[Dn][0],dr),isFunction$8(Nn)&&await Nn(...Gn),Ft.emit(`cancel-${Dn}`,...Gn)})}),jt=usePrevious(Ct.initialized,(Dn,Wn)=>Dn!==Wn||Dn===!0&&Wn===!0),{handleRefreshUser:Wt,handleRefreshToken:sn,renewToken:ln,clearSession:vn,handleLoginResult:Rt,decrypt:rt,service:ut,getSessionToken:ct,getRefreshToken:ht,setRefreshToken:vt,setSessionToken:$t}=useSessionToken({state:Ct,pageState:At,sessionTokenStorage:tt,refreshTokenStorage:ot,serviceHost:pt.serviceHost,apiOptions:pt.apiOptions,lazyRefreshToken:pt.lazyRefreshToken}),xt=useMemoizedFn((Dn,Wn={},Nn={})=>{Lt();const Hn=Dn;typeof Hn=="object"&&(Dn=Hn.onSuccess,Wn=Hn.extraParams||{},Nn=Hn.options||{},Nn.origin=Hn.origin||""),(!Ct.user||Nn.origin==="switch-did")&&(Nn.origin==="switch-did"?Yt("switch-did",Dn,Hn==null?void 0:Hn.onCancel):Yt("login",Dn,Hn==null?void 0:Hn.onCancel),At.extraParams=Wn,At.options=Nn,Ct.action="login",Cn())}),bt=useMemoizedFn(async(Dn,Wn={},Nn={})=>{var zn;Lt();const Hn=Dn;typeof Hn=="object"&&(Dn=Hn.onSuccess,Wn=Hn.extraParams||{},Nn=Hn.options||{}),isUndefined$2(Wn==null?void 0:Wn.inviter)&&window.localStorage.getItem("inviter")&&(Wn.inviter=window.localStorage.getItem("inviter"));const{params:dr}=await decodeUrlParams();if(isUndefined$2(Wn==null?void 0:Wn.forceConnected)&&(dr!=null&&dr.forceConnected)&&(Wn.forceConnected=dr.forceConnected,isUndefined$2(Nn.showQuickConnect)&&(Nn.showQuickConnect=!1)),isUndefined$2(Wn==null?void 0:Wn.sourceAppPid)&&!isUndefined$2(dr==null?void 0:dr.sourceAppPid)&&(Wn.sourceAppPid=dr.sourceAppPid),(Wn==null?void 0:Wn.openMode)==="redirect"){const tr=(Wn==null?void 0:Wn.redirect)||"/",Fr=new URL(`${AUTH_SERVICE_PREFIX}/login`,window.location.origin);Fr.searchParams.set("redirect",tr),Wn!=null&&Wn.forceConnected&&Fr.searchParams.set("forceConnected",Wn==null?void 0:Wn.forceConnected),isUndefined$2(Wn==null?void 0:Wn.sourceAppPid)||Fr.searchParams.set("sourceAppPid",Wn==null?void 0:Wn.sourceAppPid),isUndefined$2(Wn==null?void 0:Wn.inviter)||Fr.searchParams.set("inviter",Wn==null?void 0:Wn.inviter),Nn!=null&&Nn.origin&&Fr.searchParams.set("origin",Nn.origin),window.location.href=Fr.href;return}let Gn=Wn==null?void 0:Wn.sourceAppPid;isUndefined$2(Gn)&&Mn&&(Gn=cr.appPid),await pWaitFor$1(()=>Ct.initialized),typeof Nn=="string"&&(Nn={origin:Nn});const Qn=cloneDeep$1(Wn);At.allowWallet=void 0;const Br=(Qn==null?void 0:Qn.openMode)||((zn=pt==null?void 0:pt.extraParams)==null?void 0:zn.openMode);isUndefined$2(Br)?At.openMode="window":At.openMode=Br,Gn?Ct.baseUrl=globalThis.blocklet.appUrl:Ct.baseUrl="",xt(Dn,Qn,Nn)}),it=getVisitorId$2(),Et=useMemoizedFn(async Dn=>{const Wn=joinURL(AUTH_SERVICE_PREFIX,"/api/user/logout");await fetch(Wn,{method:"POST",body:JSON.stringify({visitorId:it}),headers:{"Content-Type":"application/json"}}),vn(),_n(),Ct.user=null,Ct.provider="",Ct.walletOS="",Ct.error="",Ct.loading=!1,Ft.emit("logout"),typeof Dn=="function"&&Dn()}),{userSessions:Dt,refresh:Nt,loaded:Vt,loginUserSession:Bt}=useQuickConnect({appPid:getCurrentAppPid(Ct.user),loginAppPid:(jn=globalThis==null?void 0:globalThis.blocklet)==null?void 0:jn.appPid,sourceAppPid:(kn=Ct==null?void 0:Ct.user)==null?void 0:kn.sourceAppPid,autoFetch:!1,fetchAll:!0}),Kt=useMemoizedFn(async()=>{Ct!=null&&Ct.user||await new Promise(Dn=>{bt(()=>{Dn()})})}),qt=useMemoizedFn((Dn,Wn={},Nn={})=>{Lt();const Hn=Dn;typeof Hn=="object"&&(Dn=Hn.onSuccess,Wn=Hn.extraParams||{},Nn=Hn.options||{}),typeof Nn=="string"&&(Nn={origin:Nn}),Nn!=null&&Nn.userSession?Bt(Nn.userSession).then(dr=>{updateConnectedInfo({connected_did:Nn.userSession.user.did,connected_pk:Nn.userSession.user.pk,connected_wallet_os:Nn.userSession.extra.walletOS,connected_app:getAppId$1()},!0),Yt("switch-did",Dn),Rt({...dr,encrypted:!1}),Wt({showProgress:!0}).then(async()=>{await sleep$1(),Ft.emit(EVENTS.LOGIN,dr,rt,Zt.current),await Gt()})}):(isUndefined$2(Wn==null?void 0:Wn.forceConnected)&&(Wn.forceConnected=!1),bt(Dn,Wn,{...Nn,origin:"switch-did"}))}),nn=useMemoizedFn(async()=>{await new BlockletSDK().user.refreshProfile()}),un=useMemoizedFn(async(Dn,Wn={})=>{await Kt(),Lt();const Nn=Dn;typeof Nn=="object"&&(Dn=Nn.onSuccess,Wn=Nn.extraParams||{}),Yt("switch-profile",Dn,Nn==null?void 0:Nn.onCancel),At.extraParams=Wn,At.options={},Ct.action="switch-profile",Cn()}),hn=useMemoizedFn(async(Dn,Wn={})=>{await Kt(),Lt();const Nn=Dn;typeof Nn=="object"&&(Dn=Nn.onSuccess,Wn=Nn.extraParams||{}),Yt("switch-passport",Dn,Nn==null?void 0:Nn.onCancel),At.extraParams=Wn,At.options={},Ct.action="switch-passport",Cn()}),zt=useMemoizedFn(async({extraParams:Dn={},onSuccess:Wn=()=>{},...Nn}={})=>{await Kt(),Lt(),At.extraParams={referrer:window.location.href,purpose:"authorize-for-import",...Dn},At.options={},Ct.action="connect-to-did-spaces-for-user",Cn({hideCloseButton:!0,onSuccess:Wn,...Nn})}),Ot=useMemoizedFn(async({extraParams:Dn={},onSuccess:Wn={}}={})=>{await Kt(),zt({extraParams:{purpose:"authorize-for-import",...Dn},onSuccess:Wn,hideCloseButton:!1})}),Gt=useMemoizedFn(async({extraParams:Dn={},onSuccess:Wn={}}={})=>{await Kt(),await didSpacesIsRequired(Ct==null?void 0:Ct.user)&&zt({extraParams:{purpose:"authorize-for-full-access",...Dn},onSuccess:Wn})}),cn=useMemoizedFn(async(Dn,Wn={})=>{if(await Kt(),getWalletDid(Ct.user)){Dn({},rt,Zt.current);return}Lt();const Nn=Dn;typeof Nn=="object"&&(Dn=Nn.onSuccess),Yt("bind-wallet",Dn,Nn==null?void 0:Nn.onCancel),At.extraParams=Wn,At.options={},Ct.action="bind-wallet",Cn()}),tn=useMemoizedFn(async Dn=>{At.extraParams={},At.options={},Rt(Dn),Ct.loading=!1,await Wt({showProgress:!0}),await sleep$1(),Ct.action==="login"?(Ft.emit(EVENTS.LOGIN,Dn,rt,Zt.current),Gt()):Ct.action==="switch-passport"&&Ft.emit(EVENTS.SWITCH_PASSPORT,Dn,rt,Zt.current)}),yn=useMemoizedFn(Dn=>{At.extraParams={},At.options={},Rt(Dn),Ct.loading=!1,Wt({showProgress:!0}).then(async()=>{await sleep$1(),Ft.emit(EVENTS.BIND_WALLET,Dn,rt,Zt.current)})}),xn=useMemoizedFn(()=>{Wt({showProgress:!0}),Ft.emit(EVENTS.CONNECT_TO_DID_SPACE_FOR_FULL_ACCESS)}),dn=useMemoizedFn(Dn=>{At.extraParams={},At.options={},Ct.loading=!1,Wt({showProgress:!0}).then(async()=>{await sleep$1(),Ft.emit(EVENTS.SWITCH_PROFILE,Dn,rt,Zt.current)})}),gn=useMemoizedFn(Dn=>{At.extraParams={},At.options={},_n();const Wn={login:EVENTS.CANCEL_LOGIN,"switch-profile":EVENTS.CANCEL_SWITCH_PROFILE,"switch-passport":EVENTS.CANCEL_SWITCH_PASSPORT,"bind-wallet":EVENTS.CANCEL_BIND_WALLET};Ft.emit(Wn[Dn])}),Un=useMemoizedFn((Dn,...Wn)=>{try{Tn[Dn](...Wn)}catch(Nn){console.error("Catch error in onSuccess",{action:Dn,args:Wn,err:Nn})}}),{federatedMaster:En,federatedEnabled:Mn,master:cr}=useFederated({locale:Mt,decrypt:rt,login:xt,handleLoginResult:Rt,handleRefreshUser:Wt,setRefreshToken:vt,setSessionToken:$t}),{checkMatch:On}=useProtectedRoutes({protectedRoutes:pt.protectedRoutes||[]}),Ln=useLatest(Dt),wn=useMemoizedFn(async()=>(Vt||(await Nt(),await sleep$1()),Ln.current)),_n=useMemoizedFn(()=>{Ct.open=!1,yt.close()}),Cn=async(Dn={})=>{var Qn,Br,zn,tr,Fr,Xn,ir;let Wn=Ct.action;((Qn=At==null?void 0:At.options)==null?void 0:Qn.origin)==="switch-did"&&(Wn=(Br=At==null?void 0:At.options)==null?void 0:Br.origin);const Nn=translations$2[Wn],Hn=Nn[Mt]||Nn.en,dr={...et.extraParams,...pt.extraParams,...At.extraParams,previousUserDid:(zn=Ct==null?void 0:Ct.user)==null?void 0:zn.did,email:(tr=Ct==null?void 0:Ct.user)==null?void 0:tr.email};if(Wn==="switch-did"&&(dr!=null&&dr.forceConnected)){const Or=(Kn,An={})=>translate(translations$2["switch-specified-did"],Kn,Mt,"en",An);Hn.title=Or("title"),Hn.scan=Or("scan",{did:dr.forceConnected}),Hn.confirm=Or("confirm"),Hn.success=Or("success")}dr==null||delete dr.openMode;const Gn={action:Ct.action,locale:Mt,hideCloseButton:Dn==null?void 0:Dn.hideCloseButton,extraParams:dr,options:{...pt.options||{},...At.options},checkTimeout:pt.timeout,webWalletUrl:pt.webWalletUrl,messages:Hn,useSocket:pt.useSocket,...omit$1(pt,["action","locale","serviceHost","appendAuthServicePrefix","autoDisconnect","children","timeout","extraParams","options","webWalletUrl","messages","useSocket","lazyRefreshToken","apiOptions","protectedRoutes"]),...pick$2(At.extraParams||{},["autoConnect","forceConnected","saveConnect","useSocket"]),prefix:At.prefix,allowWallet:isUndefined$2(At.allowWallet)?Ct.action!=="login"||(((Fr=globalThis.blocklet)==null?void 0:Fr.DID_CONNECT_ALLOW_WALLET)||"1")==="1":At.allowWallet,onSuccess:async(...Or)=>{Un(Ct.action,...Or),isFunction$8(Dn==null?void 0:Dn.onSuccess)&&await Dn.onSuccess(...Or),Ct.open=!1},onClose(...Or){gn(Ct.action,...Or)},onError(Or){console.error(Or)}};if(Ct.open=!0,["login"].includes(Ct.action)&&At.openMode==="window"&&!St.wallet)try{const Or={...Gn,baseUrl:window.location.origin};isUrl(At.prefix)||(Or.prefix=joinURL(window.location.origin,pt.serviceHost==="/"?"":pt.serviceHost,At.prefix)),(Xn=Or.extraParams)!=null&&Xn.provider||(Or.extraParams.provider=((ir=Ct==null?void 0:Ct.user)==null?void 0:ir.provider)||"wallet"),await yt.openPopup(Or,{locale:Mt})}catch(Or){Or instanceof NotOpenError&&_n(),Or.message==="Timeout"?Toast$1.error(didConnectTimeoutError[Mt]||didConnectTimeoutError.en):console.error(Or)}else yt.open(Gn)},Jn=useMemoizedFn(async()=>{const{params:Dn,url:Wn}=await decodeUrlParams();if(Dn){const{switchBehavior:Nn,forceConnected:Hn,sourceAppPid:dr,showClose:Gn}=Dn;Hn===Ct.user.did?window.history.replaceState(null,"trim",Wn):Nn==="required"?qt(()=>{},{openMode:"redirect",redirect:Wn,sourceAppPid:dr,forceConnected:Hn}):Nn==="disabled"?window.history.replaceState(null,"trim",Wn):kt.open({title:translations$2.switchAccountDialog[Mt].title,content:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Typography,{variant:"body1",sx:{textAlign:"center",mb:2},children:translations$2.switchAccountDialog[Mt].description}),jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",color:colors$1.foregroundsFgBase},children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,lineHeight:1},children:[jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:Ct.user.did,shape:"circle",variant:"circle",size:80}),jsxRuntimeExports.jsx(DID,{did:Ct.user.did,showAvatar:!1,compact:!0,responsive:!1}),translations$2.switchAccountDialog[Mt].currentAccount]}),jsxRuntimeExports.jsx(Box,{sx:{display:"flex",justifyContent:"center",px:2},children:jsxRuntimeExports.jsx(Box,{component:Icon,icon:data$w,fontSize:24,color:colors$1.foregroundsFgMuted,sx:{animation:"right 2.5s linear infinite","@keyframes right":{"0%":{transform:"translateX(-3px)",opacity:0},"60%":{transform:"translateX(3px)",opacity:1},"100%":{transform:"translateX(0px)",opacity:0}}}})}),jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,lineHeight:1,fontWeight:500},children:[jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:Hn,shape:"circle",variant:"circle",size:80}),jsxRuntimeExports.jsx(DID,{did:Hn,showAvatar:!1,compact:!0,responsive:!1}),translations$2.switchAccountDialog[Mt].nextAccount]})]})]}),showCloseButton:Gn,showCancelButton:!1,confirmButtonText:translations$2.switchAccountDialog[Mt].confirm,async onConfirm(Qn){const zn=(await wn()).find(tr=>tr.userDid===Hn);if(zn){Bt(zn).then(tr=>{updateConnectedInfo({connected_did:zn.user.did,connected_pk:zn.user.pk,connected_wallet_os:zn.extra.walletOS,connected_app:getAppId$1()},!0),Rt({...tr,encrypted:!1}),Wt({showProgress:!0}).then(async()=>{await sleep$1(),Ft.emit(EVENTS.LOGIN,tr,rt,Zt.current),await Gt()})}),Qn();return}qt(()=>{Qn(),window.location.replace(Wn)},{sourceAppPid:dr,forceConnected:Hn,enableSwitchApp:!1},{showQuickConnect:!0})}})}}),an=useMemoizedFn(async(Dn,Wn)=>{const Nn=Object.assign({login:!0,bindWallet:!0,bindDidSpaces:!1},Wn==null?void 0:Wn.requirements),Hn=(Wn==null?void 0:Wn.openMode)||"popup";Nn.login&&await Kt(),Nn.bindWallet&&await new Promise(dr=>{cn(()=>{dr()})}),Nn.bindDidSpaces&&(await didSpacesIsRequired(Ct==null?void 0:Ct.user)||await new Promise(dr=>{Nn.bindDidSpaces==="full"?Gt({onSuccess(){dr()}}):Nn.bindDidSpaces==="read"&&Ot({onSuccess(){dr()}})})),Hn==="window"?yt.openPopup(Dn,Wn):Hn==="popup"&&yt.open(Dn)}),Ht={...Ct,loading:At.autoConnect&&!Ct.user||Ct.loading,openDidConnect:an,login:bt,logout:Et,switchDid:qt,autoSwitchDid:Jn,refreshProfile:nn,switchProfile:un,switchPassport:hn,connectToDidSpaceForImport:Ot,connectToDidSpaceForFullAccess:Gt,bindWallet:cn,refresh:Wt,updateConnectedInfo,federatedMaster:En,useOAuth,OAuthProvider,OAuthConsumer,OAuthContext,useDid,WrapDid,getUserSessions:wn},Zt=useLatest(Ht),mn={api:ut,events:Ft,storage:tt,connectApi:yt,session:Zt.current},Tn={login:tn,"switch-profile":dn,"switch-passport":tn,"bind-wallet":yn,"connect-to-did-spaces-for-user":xn};return useUpdateEffect(()=>{if(Ct.initialized){const Dn=!jt;Ft.emit("change",{user:cloneDeep$1(Ct.user),isFirst:Dn})}},[Ct.user,Ct.initialized,Ft]),useUpdateEffect(()=>{Ct.initialized&&Ct.user&&Jn()},[Ct.initialized]),useMount(async()=>{const Dn=Cookie.get("connected_app"),Wn=getAppId$1();if(pt.autoDisconnect&&Dn&&Wn&&Dn!==Wn){vn(),Ct.initialized=!0,At.autoConnect?Cn():_n();return}const Nn=ct();let Hn="web";if(St.mobile.apple.device?Hn="ios":St.mobile.android.device&&(Hn="android"),(window==null?void 0:window.self)===(window==null?void 0:window.parent)&&St.wallet&&checkEnableAutoLogin({version:St.walletVersion,platform:Hn})){if(!it){const Gn=await getVisitorId();setVisitorId(Gn)}if(!Nn)try{Ct.loading=!0;const Gn=await login();if(Gn){await tn({sessionToken:Gn.sessionToken,refreshToken:Gn.refreshToken,encrypted:!1}),Ct.initialized=!0;return}}finally{Ct.loading=!1}}if(Nn){await Wt({showProgress:!0}),Ct.initialized=!0,await Gt();return}if(typeof window<"u"){const Gn=new URL(window.location.href),Qn=Gn.searchParams.get("loginToken");if(Qn){Rt({loginToken:Qn,encrypted:!1}),Gn.searchParams.delete("loginToken"),window.history.replaceState({},window.title,Gn.href);return}}if(ht()){await sn(!0),Ct.initialized=!0;return}try{}catch(Gn){console.error("Federated: tryAutoLogin failed",Gn)}finally{Ct.initialized=!0}At.autoConnect?Cn():_n()}),On()&&!Ct.initialized?jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})}):jsxRuntimeExports.jsx(Provider$4,{value:mn,children:jsxRuntimeExports.jsxs(OAuthProvider,{locale:Mt,onSwitchPassport:({sessionToken:Dn,refreshToken:Wn})=>{tn({sessionToken:Dn,refreshToken:Wn,encrypted:!1})},onUnbindOAuth:()=>{Wt()},onBindOAuth:()=>{Wt()},children:[!Ct.open&&typeof pt.children=="function"?pt.children(Ct):pt.children,Tt,Pt,et.rolling&&jsxRuntimeExports.jsx(WindowFocusAware,{callback:()=>ln()})]})})}ft.propTypes={children:PropTypes.any.isRequired,serviceHost:PropTypes.string,action:PropTypes.string,prefix:PropTypes.string,appendAuthServicePrefix:PropTypes.bool,locale:PropTypes.string,timeout:PropTypes.number,autoConnect:PropTypes.bool,autoDisconnect:PropTypes.bool,useSocket:PropTypes.bool,extraParams:PropTypes.object,options:PropTypes.object,webWalletUrl:PropTypes.string,protectedRoutes:PropTypes.arrayOf(PropTypes.string),apiOptions:PropTypes.object,lazyRefreshToken:PropTypes.bool},ft.defaultProps={serviceHost:nt,locale:"",action:"login",prefix:API_DID_PREFIX,appendAuthServicePrefix:!1,extraParams:{},options:{},autoConnect:!1,autoDisconnect:!0,useSocket:!0,timeout:DEFAULT_TIMEOUT$1*1e3,webWalletUrl:"",protectedRoutes:["*"],apiOptions:{},lazyRefreshToken:!1};function dt(pt){return function(Tt){return jsxRuntimeExports.jsx(ToastProvider,{children:jsxRuntimeExports.jsx(Consumer$4,{children:St=>jsxRuntimeExports.jsx(pt,{...Tt,...St})})})}}return{SessionProvider:pt=>jsxRuntimeExports.jsx(ToastProvider,{children:jsxRuntimeExports.jsx(ft,{...pt})}),SessionConsumer:Consumer$4,SessionContext:SessionContext$1,withSession:dt}}let path="/";window.env&&(path=window.env.groupPathPrefix||window.env.pathPrefix||"/");function formatCacheTtl(a,j){return[void 0,null,""].includes(a)?j:a/86400}var W1,K1,Y1;const sessionTokenExpireInDays=formatCacheTtl((Y1=(K1=(W1=window.blocklet)==null?void 0:W1.settings)==null?void 0:K1.session)==null?void 0:Y1.cacheTtl,constant$3.SESSION_CACHE_TTL/86400);var X1,Z1,Q1;const refreshTokenExpireInDays=formatCacheTtl((Q1=(Z1=(X1=window.blocklet)==null?void 0:X1.settings)==null?void 0:Z1.session)==null?void 0:Q1.ttl,constant$3.SESSION_TTL/86400),{SessionProvider,SessionContext,SessionConsumer,withSession}=createSessionContext("login_token","cookie",{returnDomain:!1,path,expireInDays:sessionTokenExpireInDays},{refreshTokenStorageKey:"refresh_token",refreshTokenExpireInDays});function useSessionContext(){return reactExports.useContext(SessionContext)}function Root$1({children:a}){const j=create$3({typography:{fontSize:14,button:{textTransform:"none"}},palette:{primary:{main:"#1DC1C7",contrastText:"#fff"}}});return jsxRuntimeExports.jsx(StyledEngineProvider,{injectFirst:!0,children:jsxRuntimeExports.jsx(ThemeProvider$1,{theme:j,children:jsxRuntimeExports.jsx(ThemeProvider$4,{theme:j,children:jsxRuntimeExports.jsx(LocaleProvider,{translations:translations$9,fallbackLocale:"en",children:jsxRuntimeExports.jsx(ToastProvider,{children:jsxRuntimeExports.jsx(RootInside,{theme:j,children:a})})})})})})}const url$1=new URL(window.location.href),mode=url$1.searchParams.get("mode")||"",isEmbedDialog=url$1.pathname.includes("embed")&&mode==="dialog",isEmbedSection=url$1.pathname.includes("embed")&&mode!=="dialog";function RootInside({children:a,theme:j}){var nt,tt,ot;const{locale:_e}=useLocaleContext(),et=css`
497
497
  ${isEmbedDialog?"body { background-color: transparent }":""}
498
498
  ${isEmbedSection?".MuiModal-backdrop { background-color: transparent !important }":""}
499
499
  a {
@@ -1282,6 +1282,6 @@ ${et.length}`,ot=Buffer$3.from(tt),ft=Buffer$3.concat([ot,nt]);return hash_1.def
1282
1282
  </defs>
1283
1283
  </g>`}return""};a.getTagSvg=Lt;const Ft=(jt=8)=>[...Array(jt)].map(()=>Math.random().toString(36)[2]).join("");a.nanoid=Ft;const Yt=jt=>{const Wt=jt.id||(0,a.nanoid)(8),sn=jt.width||ot,ln=jt.height||ft,vn=jt.color||nt.DEFAULT_COLORS[jt.variant]||nt.DEFAULT_COLORS["app-passport"],Rt=(0,a.getLayoutSvg)(jt.variant,Wt,vn),rt=(0,a.getHeaderSvg)(jt.variant,Wt,jt.header),ut=(0,a.getIssuerSvg)(jt.issuer,Wt),ct=(0,a.getExtraSvg)(jt.extra,Wt),ht=(0,a.getBadgesSvg)(jt.verifiable,jt.chain,Wt),vt=(0,a.getDidSvg)(jt.did,Wt),$t=(0,a.getTagSvg)(jt.tag,jt.tagVariant,Wt);return Rt([rt,ut,ct,ht,vt,$t].filter(Boolean).join(""),sn,ln)};a.getSvg=Yt})(lib);const{getNftBGColor,DEFAULT_COLORS,getNftBGColorFromDid,getSvg}=lib,getPassportColor=(a,j)=>{let _e;return a==="default"?_e=DEFAULT_COLORS["app-passport"]:a==="auto"?_e=getNftBGColorFromDid(j):_e=getNftBGColor(a),_e},getTextColor=a=>{const j=parseInt(a.slice(1,3),16),_e=parseInt(a.slice(3,5),16),et=parseInt(a.slice(5,7),16);return(.299*j+.587*_e+.114*et)/255>.5?"#111":"#EEE"},createPassportSvg$1=({issuer:a="",title:j="",issuerDid:_e="",issuerAvatarUrl:et="",ownerDid:nt="",ownerName:tt="",ownerAvatarUrl:ot="",preferredColor:ft="default",revoked:dt=!1,isDataUrl:mt=!1,width:pt="100%",height:yt="100%"})=>{const Tt=getPassportColor(ft,_e),St=getSvg({width:pt,height:yt,tag:dt?"revoked":"",tagVariant:dt?"error":"info",color:Tt,did:nt,variant:"app-passport",verifiable:!0,issuer:{name:a,icon:et},header:{name:j,icon:ot},extra:{key:"Exp",value:"2123-01-01"}});return mt?`data:image/svg+xml;utf8,${encodeURIComponent(St)}`:St};createPassportSvg$3.exports=createPassportSvg$1;createPassportSvg$3.exports.getPassportColor=getPassportColor;var getTextColor_1=createPassportSvg$3.exports.getTextColor=getTextColor,createPassportSvgExports=createPassportSvg$3.exports;const createPassportSvg$2=getDefaultExportFromCjs$1(createPassportSvgExports),setSessionToken=a=>{var _e;let j="/";window.env&&(j=window.env.groupPathPrefix||window.env.pathPrefix||"/"),Cookie.set("login_token",a,getCookieOptions({expireInDays:((_e=window.blocklet)==null?void 0:_e.settings.cacheTtl)||3600/86400,path:j,returnDomain:!1}))},setRefreshToken=a=>{localStorage.setItem("refresh_token",a)},hasRequiredEnvironments=a=>(a.environments||[]).some(j=>j.required),hasRequiredSteps=a=>{var j,_e;return!!((_e=(j=a.requirements)==null?void 0:j.fuels)!=null&&_e.length)||hasRequiredEnvironments(a)},saveServerUrl=()=>{const{searchParams:a}=new URL(window.location.href),j=a.get("serverUrl");j&&localStorage.setItem("blocklet-server-url",j)};var tm;const PREFIX=((tm=window.env)==null?void 0:tm.groupPathPrefix)||"/",getFromQuery=a=>new URL(window.location.href).searchParams.get(a)||"",isSuspended=a=>{var j,_e;return((_e=(j=a==null?void 0:a.controller)==null?void 0:j.status)==null?void 0:_e.value)===constant$2.BLOCKLET_CONTROLLER_STATUS.suspended},isSuspendedByExpired=(a,j)=>isSuspended(a)&&(j==null?void 0:j.status)>=constant$3.LAUNCH_SESSION_STATUS.overdue&&j.status<=constant$3.LAUNCH_SESSION_STATUS.canceled,isSuspendedByTerminated=(a,j)=>isSuspended(a)&&(j==null?void 0:j.status)===constant$3.LAUNCH_SESSION_STATUS.terminated,calculateRetentionDate=(a,j)=>{const _e=dayjs$1(a).add(constant$3.SERVERLESS_BLOCKLET_DATA_RETENTION_DAYS,"days");return formatToDatetime(_e,j)},createPassportSvg=a=>createPassportSvg$2({...a,issuerAvatarUrl:joinURL(window.location.origin,constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,"/blocklet/logo")}),api=axios$4.create();api.interceptors.request.use(a=>(a.baseURL=joinURL(PREFIX,constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,"/api"),a.timeout=2e5,a),a=>Promise.reject(a));api.interceptors.response.use(a=>a,async a=>{var j,_e,et,nt;throw typeof((_e=(j=a.response)==null?void 0:j.data)==null?void 0:_e.text)=="string"?a.message=a.response.data.text:typeof((nt=(et=a.response)==null?void 0:et.data)==null?void 0:nt.text)=="function"&&(a.message=await a.response.data.text()),a});var check=function(a){return a&&a.Math===Math&&a},globalThis_1=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof commonjsGlobal=="object"&&commonjsGlobal)||check(typeof commonjsGlobal=="object"&&commonjsGlobal)||function(){return this}()||Function("return this")(),objectGetOwnPropertyDescriptor={},fails$d=function(a){try{return!!a()}catch{return!0}},fails$c=fails$d,descriptors=!fails$c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),fails$b=fails$d,functionBindNative=!fails$b(function(){var a=(function(){}).bind();return typeof a!="function"||a.hasOwnProperty("prototype")}),NATIVE_BIND$2=functionBindNative,call$9=Function.prototype.call,functionCall=NATIVE_BIND$2?call$9.bind(call$9):function(){return call$9.apply(call$9,arguments)},objectPropertyIsEnumerable={},$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$2&&!$propertyIsEnumerable.call({1:2},1);objectPropertyIsEnumerable.f=NASHORN_BUG?function a(j){var _e=getOwnPropertyDescriptor$2(this,j);return!!_e&&_e.enumerable}:$propertyIsEnumerable;var createPropertyDescriptor$2=function(a,j){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:j}},NATIVE_BIND$1=functionBindNative,FunctionPrototype$2=Function.prototype,call$8=FunctionPrototype$2.call,uncurryThisWithBind=NATIVE_BIND$1&&FunctionPrototype$2.bind.bind(call$8,call$8),functionUncurryThis=NATIVE_BIND$1?uncurryThisWithBind:function(a){return function(){return call$8.apply(a,arguments)}},uncurryThis$e=functionUncurryThis,toString$6=uncurryThis$e({}.toString),stringSlice$5=uncurryThis$e("".slice),classofRaw$2=function(a){return stringSlice$5(toString$6(a),8,-1)},uncurryThis$d=functionUncurryThis,fails$a=fails$d,classof$4=classofRaw$2,$Object$3=Object,split=uncurryThis$d("".split),indexedObject=fails$a(function(){return!$Object$3("z").propertyIsEnumerable(0)})?function(a){return classof$4(a)==="String"?split(a,""):$Object$3(a)}:$Object$3,isNullOrUndefined$3=function(a){return a==null},isNullOrUndefined$2=isNullOrUndefined$3,$TypeError$7=TypeError,requireObjectCoercible$5=function(a){if(isNullOrUndefined$2(a))throw new $TypeError$7("Can't call method on "+a);return a},IndexedObject=indexedObject,requireObjectCoercible$4=requireObjectCoercible$5,toIndexedObject$4=function(a){return IndexedObject(requireObjectCoercible$4(a))},documentAll=typeof document=="object"&&document.all,isCallable$d=typeof documentAll>"u"&&documentAll!==void 0?function(a){return typeof a=="function"||a===documentAll}:function(a){return typeof a=="function"},isCallable$c=isCallable$d,isObject$6=function(a){return typeof a=="object"?a!==null:isCallable$c(a)},globalThis$e=globalThis_1,isCallable$b=isCallable$d,aFunction=function(a){return isCallable$b(a)?a:void 0},getBuiltIn$3=function(a,j){return arguments.length<2?aFunction(globalThis$e[a]):globalThis$e[a]&&globalThis$e[a][j]},uncurryThis$c=functionUncurryThis,objectIsPrototypeOf=uncurryThis$c({}.isPrototypeOf),globalThis$d=globalThis_1,navigator$1=globalThis$d.navigator,userAgent$1=navigator$1&&navigator$1.userAgent,environmentUserAgent=userAgent$1?String(userAgent$1):"",globalThis$c=globalThis_1,userAgent=environmentUserAgent,process=globalThis$c.process,Deno=globalThis$c.Deno,versions=process&&process.versions||Deno&&Deno.version,v8=versions&&versions.v8,match,version;v8&&(match=v8.split("."),version=match[0]>0&&match[0]<4?1:+(match[0]+match[1]));!version&&userAgent&&(match=userAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/),match&&(version=+match[1])));var environmentV8Version=version,V8_VERSION=environmentV8Version,fails$9=fails$d,globalThis$b=globalThis_1,$String$4=globalThis$b.String,symbolConstructorDetection=!!Object.getOwnPropertySymbols&&!fails$9(function(){var a=Symbol("symbol detection");return!$String$4(a)||!(Object(a)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}),NATIVE_SYMBOL$1=symbolConstructorDetection,useSymbolAsUid=NATIVE_SYMBOL$1&&!Symbol.sham&&typeof Symbol.iterator=="symbol",getBuiltIn$2=getBuiltIn$3,isCallable$a=isCallable$d,isPrototypeOf=objectIsPrototypeOf,USE_SYMBOL_AS_UID$1=useSymbolAsUid,$Object$2=Object,isSymbol$2=USE_SYMBOL_AS_UID$1?function(a){return typeof a=="symbol"}:function(a){var j=getBuiltIn$2("Symbol");return isCallable$a(j)&&isPrototypeOf(j.prototype,$Object$2(a))},$String$3=String,tryToString$1=function(a){try{return $String$3(a)}catch{return"Object"}},isCallable$9=isCallable$d,tryToString=tryToString$1,$TypeError$6=TypeError,aCallable$1=function(a){if(isCallable$9(a))return a;throw new $TypeError$6(tryToString(a)+" is not a function")},aCallable=aCallable$1,isNullOrUndefined$1=isNullOrUndefined$3,getMethod$2=function(a,j){var _e=a[j];return isNullOrUndefined$1(_e)?void 0:aCallable(_e)},call$7=functionCall,isCallable$8=isCallable$d,isObject$5=isObject$6,$TypeError$5=TypeError,ordinaryToPrimitive$1=function(a,j){var _e,et;if(j==="string"&&isCallable$8(_e=a.toString)&&!isObject$5(et=call$7(_e,a))||isCallable$8(_e=a.valueOf)&&!isObject$5(et=call$7(_e,a))||j!=="string"&&isCallable$8(_e=a.toString)&&!isObject$5(et=call$7(_e,a)))return et;throw new $TypeError$5("Can't convert object to primitive value")},sharedStore={exports:{}},globalThis$a=globalThis_1,defineProperty$1=Object.defineProperty,defineGlobalProperty$3=function(a,j){try{defineProperty$1(globalThis$a,a,{value:j,configurable:!0,writable:!0})}catch{globalThis$a[a]=j}return j},globalThis$9=globalThis_1,defineGlobalProperty$2=defineGlobalProperty$3,SHARED="__core-js_shared__",store$3=sharedStore.exports=globalThis$9[SHARED]||defineGlobalProperty$2(SHARED,{});(store$3.versions||(store$3.versions=[])).push({version:"3.38.0",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.0/LICENSE",source:"https://github.com/zloirock/core-js"});var sharedStoreExports=sharedStore.exports,store$2=sharedStoreExports,shared$4=function(a,j){return store$2[a]||(store$2[a]=j||{})},requireObjectCoercible$3=requireObjectCoercible$5,$Object$1=Object,toObject$2=function(a){return $Object$1(requireObjectCoercible$3(a))},uncurryThis$b=functionUncurryThis,toObject$1=toObject$2,hasOwnProperty=uncurryThis$b({}.hasOwnProperty),hasOwnProperty_1=Object.hasOwn||function a(j,_e){return hasOwnProperty(toObject$1(j),_e)},uncurryThis$a=functionUncurryThis,id=0,postfix=Math.random(),toString$5=uncurryThis$a(1 .toString),uid$2=function(a){return"Symbol("+(a===void 0?"":a)+")_"+toString$5(++id+postfix,36)},globalThis$8=globalThis_1,shared$3=shared$4,hasOwn$6=hasOwnProperty_1,uid$1=uid$2,NATIVE_SYMBOL=symbolConstructorDetection,USE_SYMBOL_AS_UID=useSymbolAsUid,Symbol$1=globalThis$8.Symbol,WellKnownSymbolsStore=shared$3("wks"),createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol$1.for||Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid$1,wellKnownSymbol$7=function(a){return hasOwn$6(WellKnownSymbolsStore,a)||(WellKnownSymbolsStore[a]=NATIVE_SYMBOL&&hasOwn$6(Symbol$1,a)?Symbol$1[a]:createWellKnownSymbol("Symbol."+a)),WellKnownSymbolsStore[a]},call$6=functionCall,isObject$4=isObject$6,isSymbol$1=isSymbol$2,getMethod$1=getMethod$2,ordinaryToPrimitive=ordinaryToPrimitive$1,wellKnownSymbol$6=wellKnownSymbol$7,$TypeError$4=TypeError,TO_PRIMITIVE=wellKnownSymbol$6("toPrimitive"),toPrimitive$1=function(a,j){if(!isObject$4(a)||isSymbol$1(a))return a;var _e=getMethod$1(a,TO_PRIMITIVE),et;if(_e){if(j===void 0&&(j="default"),et=call$6(_e,a,j),!isObject$4(et)||isSymbol$1(et))return et;throw new $TypeError$4("Can't convert object to primitive value")}return j===void 0&&(j="number"),ordinaryToPrimitive(a,j)},toPrimitive=toPrimitive$1,isSymbol=isSymbol$2,toPropertyKey$2=function(a){var j=toPrimitive(a,"string");return isSymbol(j)?j:j+""},globalThis$7=globalThis_1,isObject$3=isObject$6,document$1=globalThis$7.document,EXISTS$1=isObject$3(document$1)&&isObject$3(document$1.createElement),documentCreateElement$1=function(a){return EXISTS$1?document$1.createElement(a):{}},DESCRIPTORS$7=descriptors,fails$8=fails$d,createElement=documentCreateElement$1,ie8DomDefine=!DESCRIPTORS$7&&!fails$8(function(){return Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a!==7}),DESCRIPTORS$6=descriptors,call$5=functionCall,propertyIsEnumerableModule=objectPropertyIsEnumerable,createPropertyDescriptor$1=createPropertyDescriptor$2,toIndexedObject$3=toIndexedObject$4,toPropertyKey$1=toPropertyKey$2,hasOwn$5=hasOwnProperty_1,IE8_DOM_DEFINE$1=ie8DomDefine,$getOwnPropertyDescriptor$1=Object.getOwnPropertyDescriptor;objectGetOwnPropertyDescriptor.f=DESCRIPTORS$6?$getOwnPropertyDescriptor$1:function a(j,_e){if(j=toIndexedObject$3(j),_e=toPropertyKey$1(_e),IE8_DOM_DEFINE$1)try{return $getOwnPropertyDescriptor$1(j,_e)}catch{}if(hasOwn$5(j,_e))return createPropertyDescriptor$1(!call$5(propertyIsEnumerableModule.f,j,_e),j[_e])};var objectDefineProperty={},DESCRIPTORS$5=descriptors,fails$7=fails$d,v8PrototypeDefineBug=DESCRIPTORS$5&&fails$7(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),isObject$2=isObject$6,$String$2=String,$TypeError$3=TypeError,anObject$7=function(a){if(isObject$2(a))return a;throw new $TypeError$3($String$2(a)+" is not an object")},DESCRIPTORS$4=descriptors,IE8_DOM_DEFINE=ie8DomDefine,V8_PROTOTYPE_DEFINE_BUG$1=v8PrototypeDefineBug,anObject$6=anObject$7,toPropertyKey=toPropertyKey$2,$TypeError$2=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,ENUMERABLE="enumerable",CONFIGURABLE$1="configurable",WRITABLE="writable";objectDefineProperty.f=DESCRIPTORS$4?V8_PROTOTYPE_DEFINE_BUG$1?function a(j,_e,et){if(anObject$6(j),_e=toPropertyKey(_e),anObject$6(et),typeof j=="function"&&_e==="prototype"&&"value"in et&&WRITABLE in et&&!et[WRITABLE]){var nt=$getOwnPropertyDescriptor(j,_e);nt&&nt[WRITABLE]&&(j[_e]=et.value,et={configurable:CONFIGURABLE$1 in et?et[CONFIGURABLE$1]:nt[CONFIGURABLE$1],enumerable:ENUMERABLE in et?et[ENUMERABLE]:nt[ENUMERABLE],writable:!1})}return $defineProperty(j,_e,et)}:$defineProperty:function a(j,_e,et){if(anObject$6(j),_e=toPropertyKey(_e),anObject$6(et),IE8_DOM_DEFINE)try{return $defineProperty(j,_e,et)}catch{}if("get"in et||"set"in et)throw new $TypeError$2("Accessors not supported");return"value"in et&&(j[_e]=et.value),j};var DESCRIPTORS$3=descriptors,definePropertyModule$3=objectDefineProperty,createPropertyDescriptor=createPropertyDescriptor$2,createNonEnumerableProperty$3=DESCRIPTORS$3?function(a,j,_e){return definePropertyModule$3.f(a,j,createPropertyDescriptor(1,_e))}:function(a,j,_e){return a[j]=_e,a},makeBuiltIn$2={exports:{}},DESCRIPTORS$2=descriptors,hasOwn$4=hasOwnProperty_1,FunctionPrototype$1=Function.prototype,getDescriptor=DESCRIPTORS$2&&Object.getOwnPropertyDescriptor,EXISTS=hasOwn$4(FunctionPrototype$1,"name"),PROPER=EXISTS&&(function a(){}).name==="something",CONFIGURABLE=EXISTS&&(!DESCRIPTORS$2||DESCRIPTORS$2&&getDescriptor(FunctionPrototype$1,"name").configurable),functionName={EXISTS,PROPER,CONFIGURABLE},uncurryThis$9=functionUncurryThis,isCallable$7=isCallable$d,store$1=sharedStoreExports,functionToString=uncurryThis$9(Function.toString);isCallable$7(store$1.inspectSource)||(store$1.inspectSource=function(a){return functionToString(a)});var inspectSource$1=store$1.inspectSource,globalThis$6=globalThis_1,isCallable$6=isCallable$d,WeakMap$2=globalThis$6.WeakMap,weakMapBasicDetection=isCallable$6(WeakMap$2)&&/native code/.test(String(WeakMap$2)),shared$2=shared$4,uid=uid$2,keys=shared$2("keys"),sharedKey$2=function(a){return keys[a]||(keys[a]=uid(a))},hiddenKeys$4={},NATIVE_WEAK_MAP=weakMapBasicDetection,globalThis$5=globalThis_1,isObject$1=isObject$6,createNonEnumerableProperty$2=createNonEnumerableProperty$3,hasOwn$3=hasOwnProperty_1,shared$1=sharedStoreExports,sharedKey$1=sharedKey$2,hiddenKeys$3=hiddenKeys$4,OBJECT_ALREADY_INITIALIZED="Object already initialized",TypeError$1=globalThis$5.TypeError,WeakMap$1=globalThis$5.WeakMap,set,get,has,enforce=function(a){return has(a)?get(a):set(a,{})},getterFor=function(a){return function(j){var _e;if(!isObject$1(j)||(_e=get(j)).type!==a)throw new TypeError$1("Incompatible receiver, "+a+" required");return _e}};if(NATIVE_WEAK_MAP||shared$1.state){var store=shared$1.state||(shared$1.state=new WeakMap$1);store.get=store.get,store.has=store.has,store.set=store.set,set=function(a,j){if(store.has(a))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return j.facade=a,store.set(a,j),j},get=function(a){return store.get(a)||{}},has=function(a){return store.has(a)}}else{var STATE=sharedKey$1("state");hiddenKeys$3[STATE]=!0,set=function(a,j){if(hasOwn$3(a,STATE))throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);return j.facade=a,createNonEnumerableProperty$2(a,STATE,j),j},get=function(a){return hasOwn$3(a,STATE)?a[STATE]:{}},has=function(a){return hasOwn$3(a,STATE)}}var internalState={set,get,has,enforce,getterFor},uncurryThis$8=functionUncurryThis,fails$6=fails$d,isCallable$5=isCallable$d,hasOwn$2=hasOwnProperty_1,DESCRIPTORS$1=descriptors,CONFIGURABLE_FUNCTION_NAME=functionName.CONFIGURABLE,inspectSource=inspectSource$1,InternalStateModule=internalState,enforceInternalState=InternalStateModule.enforce,getInternalState$1=InternalStateModule.get,$String$1=String,defineProperty=Object.defineProperty,stringSlice$4=uncurryThis$8("".slice),replace$2=uncurryThis$8("".replace),join=uncurryThis$8([].join),CONFIGURABLE_LENGTH=DESCRIPTORS$1&&!fails$6(function(){return defineProperty(function(){},"length",{value:8}).length!==8}),TEMPLATE=String(String).split("String"),makeBuiltIn$1=makeBuiltIn$2.exports=function(a,j,_e){stringSlice$4($String$1(j),0,7)==="Symbol("&&(j="["+replace$2($String$1(j),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),_e&&_e.getter&&(j="get "+j),_e&&_e.setter&&(j="set "+j),(!hasOwn$2(a,"name")||CONFIGURABLE_FUNCTION_NAME&&a.name!==j)&&(DESCRIPTORS$1?defineProperty(a,"name",{value:j,configurable:!0}):a.name=j),CONFIGURABLE_LENGTH&&_e&&hasOwn$2(_e,"arity")&&a.length!==_e.arity&&defineProperty(a,"length",{value:_e.arity});try{_e&&hasOwn$2(_e,"constructor")&&_e.constructor?DESCRIPTORS$1&&defineProperty(a,"prototype",{writable:!1}):a.prototype&&(a.prototype=void 0)}catch{}var et=enforceInternalState(a);return hasOwn$2(et,"source")||(et.source=join(TEMPLATE,typeof j=="string"?j:"")),a};Function.prototype.toString=makeBuiltIn$1(function a(){return isCallable$5(this)&&getInternalState$1(this).source||inspectSource(this)},"toString");var makeBuiltInExports=makeBuiltIn$2.exports,isCallable$4=isCallable$d,definePropertyModule$2=objectDefineProperty,makeBuiltIn=makeBuiltInExports,defineGlobalProperty$1=defineGlobalProperty$3,defineBuiltIn$2=function(a,j,_e,et){et||(et={});var nt=et.enumerable,tt=et.name!==void 0?et.name:j;if(isCallable$4(_e)&&makeBuiltIn(_e,tt,et),et.global)nt?a[j]=_e:defineGlobalProperty$1(j,_e);else{try{et.unsafe?a[j]&&(nt=!0):delete a[j]}catch{}nt?a[j]=_e:definePropertyModule$2.f(a,j,{value:_e,enumerable:!1,configurable:!et.nonConfigurable,writable:!et.nonWritable})}return a},objectGetOwnPropertyNames={},ceil=Math.ceil,floor$1=Math.floor,mathTrunc=Math.trunc||function a(j){var _e=+j;return(_e>0?floor$1:ceil)(_e)},trunc=mathTrunc,toIntegerOrInfinity$4=function(a){var j=+a;return j!==j||j===0?0:trunc(j)},toIntegerOrInfinity$3=toIntegerOrInfinity$4,max$1=Math.max,min$3=Math.min,toAbsoluteIndex$1=function(a,j){var _e=toIntegerOrInfinity$3(a);return _e<0?max$1(_e+j,0):min$3(_e,j)},toIntegerOrInfinity$2=toIntegerOrInfinity$4,min$2=Math.min,toLength$3=function(a){var j=toIntegerOrInfinity$2(a);return j>0?min$2(j,9007199254740991):0},toLength$2=toLength$3,lengthOfArrayLike$1=function(a){return toLength$2(a.length)},toIndexedObject$2=toIndexedObject$4,toAbsoluteIndex=toAbsoluteIndex$1,lengthOfArrayLike=lengthOfArrayLike$1,createMethod$1=function(a){return function(j,_e,et){var nt=toIndexedObject$2(j),tt=lengthOfArrayLike(nt);if(tt===0)return!a&&-1;var ot=toAbsoluteIndex(et,tt),ft;if(a&&_e!==_e){for(;tt>ot;)if(ft=nt[ot++],ft!==ft)return!0}else for(;tt>ot;ot++)if((a||ot in nt)&&nt[ot]===_e)return a||ot||0;return!a&&-1}},arrayIncludes={includes:createMethod$1(!0),indexOf:createMethod$1(!1)},uncurryThis$7=functionUncurryThis,hasOwn$1=hasOwnProperty_1,toIndexedObject$1=toIndexedObject$4,indexOf$1=arrayIncludes.indexOf,hiddenKeys$2=hiddenKeys$4,push$1=uncurryThis$7([].push),objectKeysInternal=function(a,j){var _e=toIndexedObject$1(a),et=0,nt=[],tt;for(tt in _e)!hasOwn$1(hiddenKeys$2,tt)&&hasOwn$1(_e,tt)&&push$1(nt,tt);for(;j.length>et;)hasOwn$1(_e,tt=j[et++])&&(~indexOf$1(nt,tt)||push$1(nt,tt));return nt},enumBugKeys$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],internalObjectKeys$1=objectKeysInternal,enumBugKeys$2=enumBugKeys$3,hiddenKeys$1=enumBugKeys$2.concat("length","prototype");objectGetOwnPropertyNames.f=Object.getOwnPropertyNames||function a(j){return internalObjectKeys$1(j,hiddenKeys$1)};var objectGetOwnPropertySymbols={};objectGetOwnPropertySymbols.f=Object.getOwnPropertySymbols;var getBuiltIn$1=getBuiltIn$3,uncurryThis$6=functionUncurryThis,getOwnPropertyNamesModule=objectGetOwnPropertyNames,getOwnPropertySymbolsModule=objectGetOwnPropertySymbols,anObject$5=anObject$7,concat$1=uncurryThis$6([].concat),ownKeys$1=getBuiltIn$1("Reflect","ownKeys")||function a(j){var _e=getOwnPropertyNamesModule.f(anObject$5(j)),et=getOwnPropertySymbolsModule.f;return et?concat$1(_e,et(j)):_e},hasOwn=hasOwnProperty_1,ownKeys=ownKeys$1,getOwnPropertyDescriptorModule=objectGetOwnPropertyDescriptor,definePropertyModule$1=objectDefineProperty,copyConstructorProperties$1=function(a,j,_e){for(var et=ownKeys(j),nt=definePropertyModule$1.f,tt=getOwnPropertyDescriptorModule.f,ot=0;ot<et.length;ot++){var ft=et[ot];!hasOwn(a,ft)&&!(_e&&hasOwn(_e,ft))&&nt(a,ft,tt(j,ft))}},fails$5=fails$d,isCallable$3=isCallable$d,replacement=/#|\.prototype\./,isForced$1=function(a,j){var _e=data[normalize(a)];return _e===POLYFILL?!0:_e===NATIVE?!1:isCallable$3(j)?fails$5(j):!!j},normalize=isForced$1.normalize=function(a){return String(a).replace(replacement,".").toLowerCase()},data=isForced$1.data={},NATIVE=isForced$1.NATIVE="N",POLYFILL=isForced$1.POLYFILL="P",isForced_1=isForced$1,globalThis$4=globalThis_1,getOwnPropertyDescriptor$1=objectGetOwnPropertyDescriptor.f,createNonEnumerableProperty$1=createNonEnumerableProperty$3,defineBuiltIn$1=defineBuiltIn$2,defineGlobalProperty=defineGlobalProperty$3,copyConstructorProperties=copyConstructorProperties$1,isForced=isForced_1,_export=function(a,j){var _e=a.target,et=a.global,nt=a.stat,tt,ot,ft,dt,mt,pt;if(et?ot=globalThis$4:nt?ot=globalThis$4[_e]||defineGlobalProperty(_e,{}):ot=globalThis$4[_e]&&globalThis$4[_e].prototype,ot)for(ft in j){if(mt=j[ft],a.dontCallGetSet?(pt=getOwnPropertyDescriptor$1(ot,ft),dt=pt&&pt.value):dt=ot[ft],tt=isForced(et?ft:_e+(nt?".":"#")+ft,a.forced),!tt&&dt!==void 0){if(typeof mt==typeof dt)continue;copyConstructorProperties(mt,dt)}(a.sham||dt&&dt.sham)&&createNonEnumerableProperty$1(mt,"sham",!0),defineBuiltIn$1(ot,ft,mt,a)}},wellKnownSymbol$5=wellKnownSymbol$7,TO_STRING_TAG$1=wellKnownSymbol$5("toStringTag"),test={};test[TO_STRING_TAG$1]="z";var toStringTagSupport=String(test)==="[object z]",TO_STRING_TAG_SUPPORT=toStringTagSupport,isCallable$2=isCallable$d,classofRaw$1=classofRaw$2,wellKnownSymbol$4=wellKnownSymbol$7,TO_STRING_TAG=wellKnownSymbol$4("toStringTag"),$Object=Object,CORRECT_ARGUMENTS=classofRaw$1(function(){return arguments}())==="Arguments",tryGet=function(a,j){try{return a[j]}catch{}},classof$3=TO_STRING_TAG_SUPPORT?classofRaw$1:function(a){var j,_e,et;return a===void 0?"Undefined":a===null?"Null":typeof(_e=tryGet(j=$Object(a),TO_STRING_TAG))=="string"?_e:CORRECT_ARGUMENTS?classofRaw$1(j):(et=classofRaw$1(j))==="Object"&&isCallable$2(j.callee)?"Arguments":et},classof$2=classof$3,$String=String,toString$4=function(a){if(classof$2(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return $String(a)},anObject$4=anObject$7,regexpFlags$1=function(){var a=anObject$4(this),j="";return a.hasIndices&&(j+="d"),a.global&&(j+="g"),a.ignoreCase&&(j+="i"),a.multiline&&(j+="m"),a.dotAll&&(j+="s"),a.unicode&&(j+="u"),a.unicodeSets&&(j+="v"),a.sticky&&(j+="y"),j},fails$4=fails$d,globalThis$3=globalThis_1,$RegExp$2=globalThis$3.RegExp,UNSUPPORTED_Y$1=fails$4(function(){var a=$RegExp$2("a","y");return a.lastIndex=2,a.exec("abcd")!==null}),MISSED_STICKY=UNSUPPORTED_Y$1||fails$4(function(){return!$RegExp$2("a","y").sticky}),BROKEN_CARET=UNSUPPORTED_Y$1||fails$4(function(){var a=$RegExp$2("^r","gy");return a.lastIndex=2,a.exec("str")!==null}),regexpStickyHelpers={BROKEN_CARET,MISSED_STICKY,UNSUPPORTED_Y:UNSUPPORTED_Y$1},objectDefineProperties={},internalObjectKeys=objectKeysInternal,enumBugKeys$1=enumBugKeys$3,objectKeys$1=Object.keys||function a(j){return internalObjectKeys(j,enumBugKeys$1)},DESCRIPTORS=descriptors,V8_PROTOTYPE_DEFINE_BUG=v8PrototypeDefineBug,definePropertyModule=objectDefineProperty,anObject$3=anObject$7,toIndexedObject=toIndexedObject$4,objectKeys=objectKeys$1;objectDefineProperties.f=DESCRIPTORS&&!V8_PROTOTYPE_DEFINE_BUG?Object.defineProperties:function a(j,_e){anObject$3(j);for(var et=toIndexedObject(_e),nt=objectKeys(_e),tt=nt.length,ot=0,ft;tt>ot;)definePropertyModule.f(j,ft=nt[ot++],et[ft]);return j};var getBuiltIn=getBuiltIn$3,html$1=getBuiltIn("document","documentElement"),anObject$2=anObject$7,definePropertiesModule=objectDefineProperties,enumBugKeys=enumBugKeys$3,hiddenKeys=hiddenKeys$4,html=html$1,documentCreateElement=documentCreateElement$1,sharedKey=sharedKey$2,GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(a){return LT+SCRIPT+GT+a+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(a){a.write(scriptTag("")),a.close();var j=a.parentWindow.Object;return a=null,j},NullProtoObjectViaIFrame=function(){var a=documentCreateElement("iframe"),j="java"+SCRIPT+":",_e;return a.style.display="none",html.appendChild(a),a.src=String(j),_e=a.contentWindow.document,_e.open(),_e.write(scriptTag("document.F=Object")),_e.close(),_e.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var a=enumBugKeys.length;a--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[a]];return NullProtoObject()};hiddenKeys[IE_PROTO]=!0;var objectCreate=Object.create||function a(j,_e){var et;return j!==null?(EmptyConstructor[PROTOTYPE]=anObject$2(j),et=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,et[IE_PROTO]=j):et=NullProtoObject(),_e===void 0?et:definePropertiesModule.f(et,_e)},fails$3=fails$d,globalThis$2=globalThis_1,$RegExp$1=globalThis$2.RegExp,regexpUnsupportedDotAll=fails$3(function(){var a=$RegExp$1(".","s");return!(a.dotAll&&a.test(`
1284
1284
  `)&&a.flags==="s")}),fails$2=fails$d,globalThis$1=globalThis_1,$RegExp=globalThis$1.RegExp,regexpUnsupportedNcg=fails$2(function(){var a=$RegExp("(?<a>b)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$<a>c")!=="bc"}),call$4=functionCall,uncurryThis$5=functionUncurryThis,toString$3=toString$4,regexpFlags=regexpFlags$1,stickyHelpers=regexpStickyHelpers,shared=shared$4,create$1=objectCreate,getInternalState=internalState.get,UNSUPPORTED_DOT_ALL=regexpUnsupportedDotAll,UNSUPPORTED_NCG=regexpUnsupportedNcg,nativeReplace=shared("native-string-replace",String.prototype.replace),nativeExec=RegExp.prototype.exec,patchedExec=nativeExec,charAt$3=uncurryThis$5("".charAt),indexOf=uncurryThis$5("".indexOf),replace$1=uncurryThis$5("".replace),stringSlice$3=uncurryThis$5("".slice),UPDATES_LAST_INDEX_WRONG=function(){var a=/a/,j=/b*/g;return call$4(nativeExec,a,"a"),call$4(nativeExec,j,"a"),a.lastIndex!==0||j.lastIndex!==0}(),UNSUPPORTED_Y=stickyHelpers.BROKEN_CARET,NPCG_INCLUDED=/()??/.exec("")[1]!==void 0,PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG;PATCH&&(patchedExec=function(j){var _e=this,et=getInternalState(_e),nt=toString$3(j),tt=et.raw,ot,ft,dt,mt,pt,yt,Tt;if(tt)return tt.lastIndex=_e.lastIndex,ot=call$4(patchedExec,tt,nt),_e.lastIndex=tt.lastIndex,ot;var St=et.groups,At=UNSUPPORTED_Y&&_e.sticky,Ct=call$4(regexpFlags,_e),Mt=_e.source,kt=0,Pt=nt;if(At&&(Ct=replace$1(Ct,"y",""),indexOf(Ct,"g")===-1&&(Ct+="g"),Pt=stringSlice$3(nt,_e.lastIndex),_e.lastIndex>0&&(!_e.multiline||_e.multiline&&charAt$3(nt,_e.lastIndex-1)!==`
1285
- `)&&(Mt="(?: "+Mt+")",Pt=" "+Pt,kt++),ft=new RegExp("^(?:"+Mt+")",Ct)),NPCG_INCLUDED&&(ft=new RegExp("^"+Mt+"$(?!\\s)",Ct)),UPDATES_LAST_INDEX_WRONG&&(dt=_e.lastIndex),mt=call$4(nativeExec,At?ft:_e,Pt),At?mt?(mt.input=stringSlice$3(mt.input,kt),mt[0]=stringSlice$3(mt[0],kt),mt.index=_e.lastIndex,_e.lastIndex+=mt[0].length):_e.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&mt&&(_e.lastIndex=_e.global?mt.index+mt[0].length:dt),NPCG_INCLUDED&&mt&&mt.length>1&&call$4(nativeReplace,mt[0],ft,function(){for(pt=1;pt<arguments.length-2;pt++)arguments[pt]===void 0&&(mt[pt]=void 0)}),mt&&St)for(mt.groups=yt=create$1(null),pt=0;pt<St.length;pt++)Tt=St[pt],yt[Tt[0]]=mt[Tt[1]];return mt});var regexpExec$2=patchedExec,$$1=_export,exec=regexpExec$2;$$1({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec});var classofRaw=classofRaw$2,uncurryThis$4=functionUncurryThis,functionUncurryThisClause=function(a){if(classofRaw(a)==="Function")return uncurryThis$4(a)},isObject=isObject$6,classof$1=classofRaw$2,wellKnownSymbol$3=wellKnownSymbol$7,MATCH$1=wellKnownSymbol$3("match"),isRegexp=function(a){var j;return isObject(a)&&((j=a[MATCH$1])!==void 0?!!j:classof$1(a)==="RegExp")},isRegExp=isRegexp,$TypeError$1=TypeError,notARegexp=function(a){if(isRegExp(a))throw new $TypeError$1("The method doesn't accept regular expressions");return a},wellKnownSymbol$2=wellKnownSymbol$7,MATCH=wellKnownSymbol$2("match"),correctIsRegexpLogic=function(a){var j=/./;try{"/./"[a](j)}catch{try{return j[MATCH]=!1,"/./"[a](j)}catch{}}return!1},$=_export,uncurryThis$3=functionUncurryThisClause,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,toLength$1=toLength$3,toString$2=toString$4,notARegExp=notARegexp,requireObjectCoercible$2=requireObjectCoercible$5,correctIsRegExpLogic=correctIsRegexpLogic,slice=uncurryThis$3("".slice),min$1=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("endsWith"),MDN_POLYFILL_BUG=!CORRECT_IS_REGEXP_LOGIC&&!!function(){var a=getOwnPropertyDescriptor(String.prototype,"endsWith");return a&&!a.writable}();$({target:"String",proto:!0,forced:!MDN_POLYFILL_BUG&&!CORRECT_IS_REGEXP_LOGIC},{endsWith:function a(j){var _e=toString$2(requireObjectCoercible$2(this));notARegExp(j);var et=arguments.length>1?arguments[1]:void 0,nt=_e.length,tt=et===void 0?nt:min$1(toLength$1(et),nt),ot=toString$2(j);return slice(_e,tt-ot.length,tt)===ot}});var NATIVE_BIND=functionBindNative,FunctionPrototype=Function.prototype,apply$1=FunctionPrototype.apply,call$3=FunctionPrototype.call,functionApply=typeof Reflect=="object"&&Reflect.apply||(NATIVE_BIND?call$3.bind(apply$1):function(){return call$3.apply(apply$1,arguments)}),call$2=functionCall,defineBuiltIn=defineBuiltIn$2,regexpExec$1=regexpExec$2,fails$1=fails$d,wellKnownSymbol$1=wellKnownSymbol$7,createNonEnumerableProperty=createNonEnumerableProperty$3,SPECIES=wellKnownSymbol$1("species"),RegExpPrototype=RegExp.prototype,fixRegexpWellKnownSymbolLogic=function(a,j,_e,et){var nt=wellKnownSymbol$1(a),tt=!fails$1(function(){var mt={};return mt[nt]=function(){return 7},""[a](mt)!==7}),ot=tt&&!fails$1(function(){var mt=!1,pt=/a/;return a==="split"&&(pt={},pt.constructor={},pt.constructor[SPECIES]=function(){return pt},pt.flags="",pt[nt]=/./[nt]),pt.exec=function(){return mt=!0,null},pt[nt](""),!mt});if(!tt||!ot||_e){var ft=/./[nt],dt=j(nt,""[a],function(mt,pt,yt,Tt,St){var At=pt.exec;return At===regexpExec$1||At===RegExpPrototype.exec?tt&&!St?{done:!0,value:call$2(ft,pt,yt,Tt)}:{done:!0,value:call$2(mt,yt,pt,Tt)}:{done:!1}});defineBuiltIn(String.prototype,a,dt[0]),defineBuiltIn(RegExpPrototype,nt,dt[1])}et&&createNonEnumerableProperty(RegExpPrototype[nt],"sham",!0)},uncurryThis$2=functionUncurryThis,toIntegerOrInfinity$1=toIntegerOrInfinity$4,toString$1=toString$4,requireObjectCoercible$1=requireObjectCoercible$5,charAt$2=uncurryThis$2("".charAt),charCodeAt=uncurryThis$2("".charCodeAt),stringSlice$2=uncurryThis$2("".slice),createMethod=function(a){return function(j,_e){var et=toString$1(requireObjectCoercible$1(j)),nt=toIntegerOrInfinity$1(_e),tt=et.length,ot,ft;return nt<0||nt>=tt?a?"":void 0:(ot=charCodeAt(et,nt),ot<55296||ot>56319||nt+1===tt||(ft=charCodeAt(et,nt+1))<56320||ft>57343?a?charAt$2(et,nt):ot:a?stringSlice$2(et,nt,nt+2):(ot-55296<<10)+(ft-56320)+65536)}},stringMultibyte={codeAt:createMethod(!1),charAt:createMethod(!0)},charAt$1=stringMultibyte.charAt,advanceStringIndex$1=function(a,j,_e){return j+(_e?charAt$1(a,j).length:1)},uncurryThis$1=functionUncurryThis,toObject=toObject$2,floor=Math.floor,charAt=uncurryThis$1("".charAt),replace=uncurryThis$1("".replace),stringSlice$1=uncurryThis$1("".slice),SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g,getSubstitution$1=function(a,j,_e,et,nt,tt){var ot=_e+a.length,ft=et.length,dt=SUBSTITUTION_SYMBOLS_NO_NAMED;return nt!==void 0&&(nt=toObject(nt),dt=SUBSTITUTION_SYMBOLS),replace(tt,dt,function(mt,pt){var yt;switch(charAt(pt,0)){case"$":return"$";case"&":return a;case"`":return stringSlice$1(j,0,_e);case"'":return stringSlice$1(j,ot);case"<":yt=nt[stringSlice$1(pt,1,-1)];break;default:var Tt=+pt;if(Tt===0)return mt;if(Tt>ft){var St=floor(Tt/10);return St===0?mt:St<=ft?et[St-1]===void 0?charAt(pt,1):et[St-1]+charAt(pt,1):mt}yt=et[Tt-1]}return yt===void 0?"":yt})},call$1=functionCall,anObject$1=anObject$7,isCallable$1=isCallable$d,classof=classofRaw$2,regexpExec=regexpExec$2,$TypeError=TypeError,regexpExecAbstract=function(a,j){var _e=a.exec;if(isCallable$1(_e)){var et=call$1(_e,a,j);return et!==null&&anObject$1(et),et}if(classof(a)==="RegExp")return call$1(regexpExec,a,j);throw new $TypeError("RegExp#exec called on incompatible receiver")},apply=functionApply,call=functionCall,uncurryThis=functionUncurryThis,fixRegExpWellKnownSymbolLogic=fixRegexpWellKnownSymbolLogic,fails=fails$d,anObject=anObject$7,isCallable=isCallable$d,isNullOrUndefined=isNullOrUndefined$3,toIntegerOrInfinity=toIntegerOrInfinity$4,toLength=toLength$3,toString=toString$4,requireObjectCoercible=requireObjectCoercible$5,advanceStringIndex=advanceStringIndex$1,getMethod=getMethod$2,getSubstitution=getSubstitution$1,regExpExec=regexpExecAbstract,wellKnownSymbol=wellKnownSymbol$7,REPLACE=wellKnownSymbol("replace"),max=Math.max,min=Math.min,concat=uncurryThis([].concat),push=uncurryThis([].push),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),maybeToString=function(a){return a===void 0?a:String(a)},REPLACE_KEEPS_$0=function(){return"a".replace(/./,"$0")==="$0"}(),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=function(){return/./[REPLACE]?/./[REPLACE]("a","$0")==="":!1}(),REPLACE_SUPPORTS_NAMED_GROUPS=!fails(function(){var a=/./;return a.exec=function(){var j=[];return j.groups={a:"7"},j},"".replace(a,"$<a>")!=="7"});fixRegExpWellKnownSymbolLogic("replace",function(a,j,_e){var et=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function(tt,ot){var ft=requireObjectCoercible(this),dt=isNullOrUndefined(tt)?void 0:getMethod(tt,REPLACE);return dt?call(dt,tt,ft,ot):call(j,toString(ft),tt,ot)},function(nt,tt){var ot=anObject(this),ft=toString(nt);if(typeof tt=="string"&&stringIndexOf(tt,et)===-1&&stringIndexOf(tt,"$<")===-1){var dt=_e(j,ot,ft,tt);if(dt.done)return dt.value}var mt=isCallable(tt);mt||(tt=toString(tt));var pt=ot.global,yt;pt&&(yt=ot.unicode,ot.lastIndex=0);for(var Tt=[],St;St=regExpExec(ot,ft),!(St===null||(push(Tt,St),!pt));){var At=toString(St[0]);At===""&&(ot.lastIndex=advanceStringIndex(ft,toLength(ot.lastIndex),yt))}for(var Ct="",Mt=0,kt=0;kt<Tt.length;kt++){St=Tt[kt];for(var Pt=toString(St[0]),Lt=max(min(toIntegerOrInfinity(St.index),ft.length),0),Ft=[],Yt,jt=1;jt<St.length;jt++)push(Ft,maybeToString(St[jt]));var Wt=St.groups;if(mt){var sn=concat([Pt],Ft,Lt,ft);Wt!==void 0&&push(sn,Wt),Yt=toString(apply(tt,void 0,sn))}else Yt=getSubstitution(Pt,ft,Lt,Ft,Wt,tt);Lt>=Mt&&(Ct+=stringSlice(ft,Mt,Lt)+Yt,Mt=Lt+Pt.length)}return Ct+stringSlice(ft,Mt)}]},!REPLACE_SUPPORTS_NAMED_GROUPS||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);const queryType={name:"Query"},mutationType={name:"Mutation"},subscriptionType=null,types=[{kind:"SCALAR",name:"Any",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Bytes",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Float32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Int32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Int64",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Uint32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Uint64",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoBackupInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoCheckUpdateInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletStoreInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"logoUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"maintainer",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"cdnUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConfigEntryInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"validation",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"secure",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"custom",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"shared",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConfigNavigationInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"link",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"icon",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"section",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"component",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"parent",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visible",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConnectedAccountInput",description:null,fields:null,inputFields:[{name:"provider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"userInfo",description:null,type:{kind:"INPUT_OBJECT",name:"ConnectedAccountInfoInput",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConnectedAccountInfoInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"picture",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"emailVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"sub",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extraData",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"DownloadTokenInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"token",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"HashFileInput",description:null,fields:null,inputFields:[{name:"file",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"InviteSettingsInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"IssuerInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"NodeInfoInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoUpgrade",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableWelcomePage",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"registerUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"webWalletUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletRegistryList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"BlockletStoreInput",ofType:null}}},defaultValue:null},{name:"diskAlertThreshold",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"enableBetaRelease",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"nftDomainUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enableFileSystemIsolation",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PagingInput",description:null,fields:null,inputFields:[{name:"total",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"pageSize",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"pageCount",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"page",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"issuer",description:null,type:{kind:"INPUT_OBJECT",name:"IssuerInput",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"issuanceDate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"expirationDate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PermissionInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"spaceGateway",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletStoreInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddDomainAliasInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"domainAlias",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"force",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"nftDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"chainHost",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inBlockletSetup",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddLetsEncryptCertInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"siteId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inBlockletSetup",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"privateKey",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"certificate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rule",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddRoutingSiteInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rules",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAuditFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"memberPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBackupBlockletInput",description:null,fields:null,inputFields:[{name:"appDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"ENUM",name:"BackupTo",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletDetailInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"attachDiskInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"attachRuntimeInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"getOptionalComponents",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletDiffInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hashFiles",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"HashFileInput",ofType:null}}},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletMetaInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletMetaFromUrlInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"checkPrice",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletRuntimeHistoryInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hours",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCheckDomainsInput",description:null,fields:null,inputFields:[{name:"domains",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestClearCacheInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pattern",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestComponentsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"configs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigEntryInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigFederatedInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoLogin",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigNavigationsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"navigations",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigNavigationInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigNotificationInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigOAuthInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"oauth",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigPassportIssuanceInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enable",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigPublicToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"publicToStore",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigTrustedFactoriesInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"trustedFactories",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedFactoryInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigTrustedPassportsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"trustedPassports",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedPassportInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConnectByStudioInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"messageId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConnectToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateAccessKeyInput",description:null,fields:null,inputFields:[{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceAppPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreatePassportIssuanceInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ownerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreatePermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"PublishType",ofType:null},defaultValue:null},{name:"blockletDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateReleaseInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDescription",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletLogo",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletIntroduction",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletScreenshots",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"note",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletComponents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"uploadedResource",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"childName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permissions",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateTransferNodeInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateWebHookInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"ENUM",name:"SenderType",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"params",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"WebHookParamInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteAccessKeyInput",description:null,fields:null,inputFields:[{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"keepData",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"spaceGatewayDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletStoreInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteComponentInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"keepData",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteDomainAliasInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"domainAlias",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inviteId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeletePermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ruleId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingSiteInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteTeamSessionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteWebHookInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDisbandFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDisconnectFromStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestEndSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestFindCertificateByDomainInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGatewayInput",description:null,fields:null,inputFields:[{name:"requestLimit",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLimitInput",ofType:null},defaultValue:null},{name:"cacheEnabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetAuditLogsInput",description:null,fields:null,inputFields:[{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"category",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletNotificationsInput",description:null,fields:null,inputFields:[{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sender",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"read",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletsInput",description:null,fields:null,inputFields:[{name:"useCache",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetDynamicComponentsInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetLauncherSessionInput",description:null,fields:null,inputFields:[{name:"launcherSessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"launcherUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetNotificationsInput",description:null,fields:null,inputFields:[{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sender",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"read",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetPassportIssuancesInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ownerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetProjectsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetReleasesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetRoutingSitesInput",description:null,fields:null,inputFields:[{name:"snapshotHash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetRoutingSnapshotsInput",description:null,fields:null,inputFields:[{name:"limit",description:null,type:{kind:"SCALAR",name:"Int32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSelectedResourcesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSnapshotSitesInput",description:null,fields:null,inputFields:[{name:"hash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetTrafficInsightsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startDate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endDate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGrantPermissionForRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestHasPermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permission",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestInstallComponentInput",description:null,fields:null,inputFields:[{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mountPoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"file",description:null,type:{kind:"SCALAR",name:"Upload",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"diffVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"deleteSet",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"configs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigEntryInput",ofType:null}}},defaultValue:null},{name:"downloadTokenList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DownloadTokenInput",ofType:null}}},defaultValue:null},{name:"skipNavigation",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"onlyRequired",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestIsDidDomainInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestIssuePassportToUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestJoinFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLimitInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"rate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"ipHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLogoutUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestMigrateApplicationToStructV2Input",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appSk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNodeRoutingInput",description:null,fields:null,inputFields:[{name:"provider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"snapshotHash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"forceRepopulate",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNodeRuntimeHistoryInput",description:null,fields:null,inputFields:[{name:"hours",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"messageId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestPublishToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestQuitFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReadBlockletNotificationsInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReleaseInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestResetNodeInput",description:null,fields:null,inputFields:[{name:"owner",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blocklets",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"webhooks",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"certificates",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"accessKeys",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blockletExtras",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"routingRules",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"users",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"invitations",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRestoreBlockletInput",description:null,fields:null,inputFields:[{name:"endpoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"delegation",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"password",description:null,type:{kind:"SCALAR",name:"Bytes",ofType:null},defaultValue:null},{name:"wallet",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"ENUM",name:"BackupTo",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRevokePermissionFromRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendEmailInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendMsgInput",description:null,fields:null,inputFields:[{name:"webhookId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"message",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendPushInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestStartSessionInput",description:null,fields:null,inputFields:[{name:"data",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSwitchProfileInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"profile",description:null,type:{kind:"INPUT_OBJECT",name:"UserProfileInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTagInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tag",description:null,type:{kind:"INPUT_OBJECT",name:"TagInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTagsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTakeRoutingSnapshotInput",description:null,fields:null,inputFields:[{name:"dryRun",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"message",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamPermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permission",description:null,type:{kind:"INPUT_OBJECT",name:"PermissionInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"INPUT_OBJECT",name:"RoleUpdateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"user",description:null,type:{kind:"INPUT_OBJECT",name:"UserInfoInput",ofType:null},defaultValue:null},{name:"options",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserOptionsInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamUserOptionsInput",description:null,fields:null,inputFields:[{name:"enableConnectedAccount",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeTags",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAccessKeyInput",description:null,fields:null,inputFields:[{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAppSessionConfigInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"config",description:null,type:{kind:"INPUT_OBJECT",name:"SessionConfigInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAutoBackupInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoBackup",description:null,type:{kind:"INPUT_OBJECT",name:"AutoBackupInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAutoCheckUpdateInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoCheckUpdate",description:null,type:{kind:"INPUT_OBJECT",name:"AutoCheckUpdateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"where",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null},{name:"spaceGateway",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentMountPointInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mountPoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentTitleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentsInput",description:null,fields:null,inputFields:[{name:"updateId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"selectedComponents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateInviteSettingsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"invite",description:null,type:{kind:"INPUT_OBJECT",name:"InviteSettingsInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdatePermissionsForRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantNames",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDescription",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletIntroduction",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoUpload",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"possibleSameStore",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rule",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingSiteInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"corsAllowedOrigins",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateSelectedResourcesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resources",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserExtraInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserProfileInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"locale",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserTagsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateWhoCanAccessInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"whoCanAccess",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUsersInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"UserQueryInput",ofType:null},defaultValue:null},{name:"sort",description:null,type:{kind:"INPUT_OBJECT",name:"UserSortInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"dids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestVersionedBlockletInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"file",description:null,type:{kind:"SCALAR",name:"Upload",ofType:null},defaultValue:null},{name:"diffVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"deleteSet",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startImmediately",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"downloadTokenList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DownloadTokenInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoleUpdateInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleFromInput",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleToInput",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleFromInput",description:null,fields:null,inputFields:[{name:"pathPrefix",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"header",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"RoutingRuleHeaderInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleHeaderInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"HeaderMatchType",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleResponseInput",description:null,fields:null,inputFields:[{name:"status",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"contentType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"body",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleToInput",description:null,fields:null,inputFields:[{name:"port",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"BackendServiceType",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"redirectCode",description:null,type:{kind:"SCALAR",name:"Int32",ofType:null},defaultValue:null},{name:"interfaceName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pageGroup",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"response",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleResponseInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"SessionConfigInput",description:null,fields:null,inputFields:[{name:"cacheTtl",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"ttl",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protected",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endpoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TagInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"color",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TeamInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedFactoryInput",description:null,fields:null,inputFields:[{name:"holderDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"issuerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"factoryAddress",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportInput",description:null,fields:null,inputFields:[{name:"issuerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mappings",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingInput",description:null,fields:null,inputFields:[{name:"from",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingFromInput",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingFromInput",description:null,fields:null,inputFields:[{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ttl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ttlPolicy",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserInfoInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"locale",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passports",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"PassportInput",ofType:null}}},defaultValue:null},{name:"firstLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginIp",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceProvider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceAppPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"connectedAccounts",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConnectedAccountInput",ofType:null}}},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TagInput",ofType:null}}},defaultValue:null},{name:"didSpace",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"userSessions",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"UserSessionInput",ofType:null}}},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"phone",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inviter",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"generation",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserProfileInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserQueryInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"connectedDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null},{name:"includeTags",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeUserSessions",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"inviter",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"invitee",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"generation",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ua",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginIp",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSortInput",description:null,fields:null,inputFields:[{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"WebHookParamInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"defaultValue",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AccessKey",description:null,fields:[{name:"accessKeyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeyPublic",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastUsedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLog",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"category",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"content",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"actor",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogActor",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"env",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnv",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ip",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ua",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogActor",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogEnv",description:null,fields:[{name:"browser",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnvItem",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnvItem",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogEnvItem",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoBackup",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoCheckUpdate",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Backup",description:null,fields:[{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"strategy",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"target",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"targetName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"targetUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"message",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"progress",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletBackupState",description:null,fields:[{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletCapabilities",description:null,fields:[{name:"clusterMode",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"component",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"navigation",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didSpace",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceExportApi",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletController",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftOwner",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"chainHost",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"consumedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ownerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"OBJECT",name:"BlockletControllerStatus",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletControllerStatus",description:null,fields:[{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDiff",description:null,fields:[{name:"hasBlocklet",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"changeSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"deleteSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDist",description:null,fields:[{name:"tarball",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"integrity",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletEngine",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"displayName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"available",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visible",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletHistoryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMeta",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaces",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaInterface",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"author",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"main",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stats",description:null,args:[],type:{kind:"OBJECT",name:"BlockletStats",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"homepage",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"community",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"documentation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"support",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"screenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"keywords",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"group",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dist",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDist",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"maintainers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"contributors",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"repository",description:null,args:[],type:{kind:"OBJECT",name:"BlockletRepository",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"payment",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPayment",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftFactory",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastPublishedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"capabilities",description:null,args:[],type:{kind:"OBJECT",name:"BlockletCapabilities",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"components",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ChildConfig",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Environment",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"requirements",description:null,args:[],type:{kind:"OBJECT",name:"Requirement",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"navigation",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Any",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"resources",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"resource",description:null,args:[],type:{kind:"OBJECT",name:"BlockletResource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"owner",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMetaOwner",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaInterface",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"prefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protocol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"services",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaService",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"cacheable",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"pageGroups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaOwner",description:null,fields:[{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaPerson",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaService",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"config",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMigrateRecord",description:null,fields:[{name:"appSk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"at",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPayment",description:null,fields:[{name:"price",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletPaymentPrice",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"share",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletPaymentShare",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPaymentPrice",description:null,fields:[{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"symbol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPaymentShare",description:null,fields:[{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPreUpdateInfo",description:null,fields:[{name:"updateId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UpdateList",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletRepository",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResource",description:null,fields:[{name:"exportApi",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"types",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResourceType",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"bundles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResourceBundle",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResourceBundle",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"public",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResourceType",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletSettings",description:null,fields:[{name:"initialized",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"whoCanAccess",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"owner",description:null,args:[],type:{kind:"OBJECT",name:"WalletInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"SimpleBlockletState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"publicToStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"navigations",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigNavigation",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"oauth",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"notification",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"session",description:null,args:[],type:{kind:"OBJECT",name:"SessionConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"federated",description:null,args:[],type:{kind:"OBJECT",name:"FederatedConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoCheckUpdate",description:null,args:[],type:{kind:"OBJECT",name:"AutoCheckUpdate",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoBackup",description:null,args:[],type:{kind:"OBJECT",name:"AutoBackup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"invite",description:null,args:[],type:{kind:"OBJECT",name:"InviteSettings",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pausedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stoppedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"configs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"diskInfo",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appRuntimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"BlockletSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleSource",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"OBJECT",name:"BlockletEngine",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ports",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"optionalComponents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"OptionalComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dynamic",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"settings",description:null,args:[],type:{kind:"OBJECT",name:"BlockletSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"site",description:null,args:[],type:{kind:"OBJECT",name:"RoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"controller",description:null,args:[],type:{kind:"OBJECT",name:"BlockletController",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"migratedFrom",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMigrateRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalSk",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalSkSource",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"structVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletStats",description:null,fields:[{name:"downloads",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"star",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"purchases",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletStore",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logoUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"maintainer",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cdnUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BooleanResponse",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"result",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Certificate",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"CertificateMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"matchedSites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"MatchedSites",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CertificateIssuer",description:null,fields:[{name:"countryName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"organizationName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commonName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CertificateMeta",description:null,fields:[{name:"issuer",description:null,args:[],type:{kind:"OBJECT",name:"CertificateIssuer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sans",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"validFrom",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validTo",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fingerprintAlg",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fingerprint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validityPeriod",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ChildConfig",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ComponentState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pausedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stoppedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"configs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"diskInfo",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"BlockletSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleSource",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"OBJECT",name:"BlockletEngine",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ports",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"dynamic",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dependents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Dependent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConfigEntry",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConfigNavigation",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"link",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"icon",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"section",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"component",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parent",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visible",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedAccount",description:null,fields:[{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userInfo",description:null,args:[],type:{kind:"OBJECT",name:"ConnectedAccountInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedAccountInfo",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"picture",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sub",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extraData",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedStore",description:null,fields:[{name:"storeId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessToken",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerEmail",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CreateAccessKey",description:null,fields:[{name:"accessKeyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeySecret",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastUsedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DelegationState",description:null,fields:[{name:"delegated",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Dependent",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DiskInfo",description:null,fields:[{name:"app",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"log",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cache",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklets",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Environment",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"default",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfig",description:null,fields:[{name:"config",description:null,args:[],type:{kind:"OBJECT",name:"FederatedConfigDetail",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"FederatedConfigSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfigDetail",description:null,fields:[{name:"appId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"delegation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isMaster",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoLogin",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfigSite",description:null,fields:[{name:"appId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"aliasDid",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"aliasDomain",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appLogoRect",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serverId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serverVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appliedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isMaster",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Fuel",description:null,fields:[{name:"endpoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Gateway",description:null,fields:[{name:"requestLimit",description:null,args:[],type:{kind:"OBJECT",name:"RequestLimit",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"GeneralResponse",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"IPInfo",description:null,fields:[{name:"internalV4",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalV4",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"internalV6",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalV6",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"InviteInfo",description:null,fields:[{name:"inviteId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviter",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"teamDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaceName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"InviteSettings",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Issuer",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"KeyValue",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"LauncherInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tag",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"chainHost",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"MatchedSites",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeEnvInfo",description:null,fields:[{name:"ip",description:null,args:[],type:{kind:"OBJECT",name:"IPInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"location",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"docker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"image",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletEngines",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletEngine",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"gitpod",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disk",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeHistoryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"daemonMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serviceMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hubMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeRouting",description:null,fields:[{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"snapshotHash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"adminPath",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requestLimit",description:null,args:[],type:{kind:"OBJECT",name:"RequestLimit",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeRuntimeConfig",description:null,fields:[{name:"blockletMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"daemonMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"proxyMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeState",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"initialized",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nodeOwner",description:null,args:[],type:{kind:"OBJECT",name:"WalletInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"initializedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"routing",description:null,args:[],type:{kind:"OBJECT",name:"NodeRouting",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"uptime",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoUpgrade",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nextVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"registerUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableWelcomePage",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webWalletUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletRegistryList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"ownerNft",description:null,args:[],type:{kind:"OBJECT",name:"OwnerNft",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"diskAlertThreshold",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"launcher",description:null,args:[],type:{kind:"OBJECT",name:"LauncherInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didRegistry",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didDomain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableBetaRelease",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeConfig",description:null,args:[],type:{kind:"OBJECT",name:"NodeRuntimeConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftDomainUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableFileSystemIsolation",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Notification",description:null,fields:[{name:"sender",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"receiver",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"entityType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"entityId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"read",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"severity",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OptionalComponentState",description:null,fields:[{name:"logoUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dependencies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"OptionalDependencies",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OptionalDependencies",description:null,fields:[{name:"parentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OwnerNft",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"holder",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuer",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Paging",description:null,fields:[{name:"total",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageCount",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"page",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Passport",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuer",description:null,args:[],type:{kind:"OBJECT",name:"Issuer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"issuanceDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expirationDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"PassportIssuanceInfo",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"teamDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ownerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Permission",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Project",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"PublishType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletIntroduction",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletScreenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastReleaseId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastReleaseFiles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"connectedStores",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectedStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"tenantScope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoUpload",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"possibleSameStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Release",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"projectId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletIntroduction",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletScreenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"note",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"files",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"ReleaseStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletComponents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ReleaseComponent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"publishedStoreIds",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"uploadedResource",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ReleaseComponent",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RequestLimit",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"rate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ipHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Requirement",description:null,fields:[{name:"server",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fuels",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Fuel",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAccessKeys",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"AccessKey",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAddLetsEncryptCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAddNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlocklet",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklet",description:null,args:[],type:{kind:"OBJECT",name:"BlockletState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletDiff",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDiff",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDiff",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletMeta",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletMetaFromUrl",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isFree",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"registryUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletRuntimeHistory",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"history",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletHistoryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletsFromBackup",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletBackupState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckComponentsForUpdates",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"preUpdateInfo",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPreUpdateInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckDomains",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckNodeVersion",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseClearCache",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removed",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConnectByStudio",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConnectToStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"CreateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateInvitation",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviteInfo",description:null,args:[],type:{kind:"OBJECT",name:"InviteInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreatePassportIssuance",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"PassportIssuanceInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateTransferNodeInvitation",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviteInfo",description:null,args:[],type:{kind:"OBJECT",name:"InviteInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateWebHook",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhook",description:null,args:[],type:{kind:"OBJECT",name:"WebHookSender",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDelegationState",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"state",description:null,args:[],type:{kind:"OBJECT",name:"DelegationState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteWebHook",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDisconnectFromStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseFindCertificateByDomain",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cert",description:null,args:[],type:{kind:"OBJECT",name:"Certificate",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGateway",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"gateway",description:null,args:[],type:{kind:"OBJECT",name:"Gateway",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetAuditLogs",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"AuditLog",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletBackups",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Backup",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Notification",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletSpaceGateways",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"spaceGateways",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"SpaceGateway",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlocklets",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklets",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetCertificates",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"certificates",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Certificate",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetDynamicComponents",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"components",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetInvitations",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"invitations",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"InviteInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetLauncherSession",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"error",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSession",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNodeEnv",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"NodeEnvInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNodeInfo",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"NodeState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Notification",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetPassportIssuances",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PassportIssuanceInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetProject",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"project",description:null,args:[],type:{kind:"OBJECT",name:"Project",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetProjects",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"projects",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Project",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRelease",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"release",description:null,args:[],type:{kind:"OBJECT",name:"Release",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetReleases",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"releases",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Release",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingProviders",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"providers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingProvider",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingSites",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingSnapshots",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"snapshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSnapshot",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSelectedResources",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resources",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSession",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"session",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSnapshotSites",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetTrafficInsights",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrafficInsight",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetUsersCount",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"count",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetUsersCountPerRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"counts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"KeyValue",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseIsDidDomain",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseNodeRuntimeHistory",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"history",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NodeHistoryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePermission",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"permission",description:null,args:[],type:{kind:"OBJECT",name:"Permission",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePermissions",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"permissions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Permission",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseProject",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"project",description:null,args:[],type:{kind:"OBJECT",name:"Project",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePublishToStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseReadBlockletNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"numAffected",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseReadNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"numAffected",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRelease",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"release",description:null,args:[],type:{kind:"OBJECT",name:"Release",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseResetNode",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRestartServer",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"OBJECT",name:"Role",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRoles",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"roles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Role",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRoutingSite",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"site",description:null,args:[],type:{kind:"OBJECT",name:"RoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseSendMsg",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseSenderList",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"senders",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookSender",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTag",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tag",description:null,args:[],type:{kind:"OBJECT",name:"Tag",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTags",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tag",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTakeRoutingSnapshot",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"AccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpgradeNodeVersion",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUser",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"user",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUsers",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"users",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseWebHooks",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhooks",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHook",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Role",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"grants",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingProvider",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"running",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"available",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"error",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRule",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleFrom",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleTo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleFrom",description:null,fields:[{name:"pathPrefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"header",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingRuleHeader",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleHeader",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"HeaderMatchType",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleResponse",description:null,fields:[{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"contentType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"body",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleTo",description:null,fields:[{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"BackendServiceType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"redirectCode",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaceName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageGroup",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"response",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleResponse",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingSite",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domainAliases",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Any",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"rules",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingRule",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"corsAllowedOrigins",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingSnapshot",description:null,fields:[{name:"hash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tree",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"message",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"author",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RuntimeInfo",description:null,fields:[{name:"pid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uptime",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"memoryUsage",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpuUsage",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SessionConfig",description:null,fields:[{name:"cacheTtl",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttl",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SimpleBlockletMeta",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SimpleBlockletState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"SimpleBlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SpaceGateway",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protected",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endpoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Tag",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"color",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrafficInsight",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"totalRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"failedRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"generationTime",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueVisitors",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueFiles",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"excludedHits",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueReferrers",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueNotFound",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueStaticFiles",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bandwidth",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedFactory",description:null,fields:[{name:"holderDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"factoryAddress",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingTo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassport",description:null,fields:[{name:"issuerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mappings",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassportMapping",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMapping",description:null,fields:[{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingFrom",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingTo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMappingFrom",description:null,fields:[{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMappingTo",description:null,fields:[{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttlPolicy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UpdateList",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approved",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"locale",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Passport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"firstLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceProvider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceAppPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectedAccounts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectedAccount",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tag",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"didSpace",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userSessions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserSession",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phone",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviter",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"generation",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserSession",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visitorId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ua",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passportId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHook",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"SenderType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"params",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookParam",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHookParam",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"defaultValue",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHookSender",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"SenderType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"params",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookParam",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"BackendServiceType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"daemon",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet",description:null,isDeprecated:!1,deprecationReason:null},{name:"redirect",description:null,isDeprecated:!1,deprecationReason:null},{name:"none",description:null,isDeprecated:!1,deprecationReason:null},{name:"general_proxy",description:null,isDeprecated:!1,deprecationReason:null},{name:"direct_response",description:null,isDeprecated:!1,deprecationReason:null},{name:"rewrite",description:null,isDeprecated:!1,deprecationReason:null},{name:"component",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BackupTo",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"spaces",description:null,isDeprecated:!1,deprecationReason:null},{name:"disk",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BlockletSource",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"registry",description:null,isDeprecated:!1,deprecationReason:null},{name:"local",description:null,isDeprecated:!1,deprecationReason:null},{name:"upload",description:null,isDeprecated:!1,deprecationReason:null},{name:"url",description:null,isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BlockletStatus",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"added",description:null,isDeprecated:!1,deprecationReason:null},{name:"downloading",description:null,isDeprecated:!1,deprecationReason:null},{name:"downloaded",description:null,isDeprecated:!1,deprecationReason:null},{name:"installing",description:null,isDeprecated:!1,deprecationReason:null},{name:"installed",description:null,isDeprecated:!1,deprecationReason:null},{name:"starting",description:null,isDeprecated:!1,deprecationReason:null},{name:"running",description:null,isDeprecated:!1,deprecationReason:null},{name:"stopping",description:null,isDeprecated:!1,deprecationReason:null},{name:"stopped",description:null,isDeprecated:!1,deprecationReason:null},{name:"error",description:null,isDeprecated:!1,deprecationReason:null},{name:"upgrading",description:null,isDeprecated:!1,deprecationReason:null},{name:"restarting",description:null,isDeprecated:!1,deprecationReason:null},{name:"corrupted",description:null,isDeprecated:!1,deprecationReason:null},{name:"waiting",description:null,isDeprecated:!1,deprecationReason:null},{name:"deleted",description:null,isDeprecated:!1,deprecationReason:null},{name:"unknown",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"HeaderMatchType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"exact",description:null,isDeprecated:!1,deprecationReason:null},{name:"partial",description:null,isDeprecated:!1,deprecationReason:null},{name:"regexp",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"PublishType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"resource",description:null,isDeprecated:!1,deprecationReason:null},{name:"pack",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"ReleaseStatus",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"draft",description:null,isDeprecated:!1,deprecationReason:null},{name:"published",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"SenderType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"slack",description:null,isDeprecated:!1,deprecationReason:null},{name:"api",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"StatusCode",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"ok",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet_not_found",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet_not_purchased",description:null,isDeprecated:!1,deprecationReason:null},{name:"forbidden",description:null,isDeprecated:!1,deprecationReason:null},{name:"internal",description:null,isDeprecated:!1,deprecationReason:null},{name:"timeout",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"SCALAR",name:"Upload",description:"The `Upload` scalar type represents a file upload.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Mutation",description:null,fields:[{name:"installBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestVersionedBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installComponent",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestInstallComponentInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stopBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reloadBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteComponent",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteComponentInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cancelDownloadBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkComponentsForUpdates",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCheckComponentsForUpdates",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configPublicToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigPublicToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configNavigations",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigNavigationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configOAuth",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigOAuthInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configNotification",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigNotificationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendEmail",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendEmailInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendPush",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendPushInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"joinFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestJoinFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"quitFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestQuitFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disbandFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDisbandFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configFederated",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigFederatedInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"auditFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAuditFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateWhoCanAccess",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateWhoCanAccessInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAppSessionConfig",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAppSessionConfigInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateComponentTitle",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentTitleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateComponentMountPoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentMountPointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backupBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBackupBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restoreBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRestoreBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"migrateApplicationToStructV2",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestMigrateApplicationToStructV2Input",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAutoBackup",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAutoBackupInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAutoCheckUpdate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAutoCheckUpdateInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateInviteSettings",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateInviteSettingsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateNodeInfo",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"NodeInfoInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateNodeRouting",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNodeRoutingInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeNodeVersion",description:null,args:[],type:{kind:"OBJECT",name:"ResponseUpgradeNodeVersion",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartServer",description:null,args:[],type:{kind:"OBJECT",name:"ResponseRestartServer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resetNode",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestResetNodeInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseResetNode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGateway",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"clearCache",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestClearCacheInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseClearCache",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createMemberInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateInvitation",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createTransferInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateTransferNodeInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateTransferNodeInvitation",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createPassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreatePassportIssuanceInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreatePassportIssuance",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletePassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteTeamSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configTrustedPassports",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigTrustedPassportsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configTrustedFactories",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigTrustedFactoriesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configPassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigPassportIssuanceInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserTags",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserTagsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserProfile",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserProfileInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserExtra",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserExtraInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserApproval",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuePassportToUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestIssuePassportToUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"revokeUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"switchProfile",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSwitchProfileInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createPermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreatePermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermission",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatePermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamPermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermission",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletePermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeletePermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"grantPermissionForRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGrantPermissionForRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"revokePermissionFromRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokePermissionFromRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatePermissionsForRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdatePermissionsForRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hasPermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestHasPermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"BooleanResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"readNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"unreadNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"readBlockletNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadBlockletNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadBlockletNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"unreadBlockletNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadBlockletNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadBlockletNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addDomainAlias",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddDomainAliasInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteDomainAlias",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteDomainAliasInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"takeRoutingSnapshot",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTakeRoutingSnapshotInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTakeRoutingSnapshot",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAddNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issueLetsEncryptCert",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddLetsEncryptCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAddLetsEncryptCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createWebHook",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateWebHookInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateWebHook",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteWebHook",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteWebHookInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteWebHook",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestStartSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestEndSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRelease",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateSelectedResources",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateSelectedResourcesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConnectToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConnectToStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disconnectFromStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDisconnectFromStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDisconnectFromStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"publishToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestPublishToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePublishToStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectByStudio",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConnectByStudioInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConnectByStudio",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Query",description:null,fields:[{name:"getBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletDetailInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletMetaFromUrl",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletMetaFromUrlInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletMetaFromUrl",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletDiff",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletDiffInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletDiff",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlocklets",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlocklets",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletRuntimeHistory",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletRuntimeHistoryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletRuntimeHistory",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletsFromBackup",description:null,args:[],type:{kind:"OBJECT",name:"ResponseBlockletsFromBackup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getDynamicComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetDynamicComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetDynamicComponents",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeInfo",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resetNodeStatus",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeEnv",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeEnv",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkNodeVersion",description:null,args:[],type:{kind:"OBJECT",name:"ResponseCheckNodeVersion",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getDelegationState",description:null,args:[],type:{kind:"OBJECT",name:"ResponseDelegationState",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeRuntimeHistory",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNodeRuntimeHistoryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseNodeRuntimeHistory",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletMeta",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletMetaInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingSites",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetRoutingSitesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRoutingSites",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingSnapshots",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetRoutingSnapshotsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRoutingSnapshots",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSnapshotSites",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSnapshotSitesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSnapshotSites",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingProviders",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetRoutingProviders",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDidDomain",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestIsDidDomainInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseIsDidDomain",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getCertificates",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetCertificates",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkDomains",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCheckDomainsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCheckDomains",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"findCertificateByDomain",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestFindCertificateByDomainInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseFindCertificateByDomain",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAccessKeys",description:null,args:[],type:{kind:"OBJECT",name:"ResponseAccessKeys",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebHooks",description:null,args:[],type:{kind:"OBJECT",name:"ResponseWebHooks",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebhookSenders",description:null,args:[],type:{kind:"OBJECT",name:"ResponseSenderList",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendTestMessage",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendMsgInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseSendMsg",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoles",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoles",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPermissions",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermissions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getInvitations",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetInvitations",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsers",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUsersInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUsers",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsersCount",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetUsersCount",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsersCountPerRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetUsersCountPerRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getOwner",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPermissionsByRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermissions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPassportIssuances",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetPassportIssuancesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetPassportIssuances",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logoutUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLogoutUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getTags",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTags",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAuditLogs",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetAuditLogsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetAuditLogs",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getLauncherSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetLauncherSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetLauncherSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletBackups",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletBackups",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletSpaceGateways",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletSpaceGateways",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getTrafficInsights",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetTrafficInsightsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetTrafficInsights",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getProjects",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetProjectsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetProjects",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getReleases",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetReleasesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetReleases",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRelease",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSelectedResources",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSelectedResourcesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSelectedResources",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:[{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"types",description:"A list of all types supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"queryType",description:"The type that query operations will be rooted at.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"mutationType",description:"If this server supports mutation, the type that mutation operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"subscriptionType",description:"If this server support subscription, the type that subscription operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"directives",description:"A list of all directives supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Directive",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:[{name:"kind",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__TypeKind",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"specifiedByURL",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Field",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"interfaces",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"possibleTypes",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enumValues",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__EnumValue",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"inputFields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"ofType",description:null,args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"SCALAR",description:"Indicates this type is a scalar.",isDeprecated:!1,deprecationReason:null},{name:"OBJECT",description:"Indicates this type is an object. `fields` and `interfaces` are valid fields.",isDeprecated:!1,deprecationReason:null},{name:"INTERFACE",description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.",isDeprecated:!1,deprecationReason:null},{name:"UNION",description:"Indicates this type is a union. `possibleTypes` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"ENUM",description:"Indicates this type is an enum. `enumValues` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_OBJECT",description:"Indicates this type is an input object. `inputFields` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"LIST",description:"Indicates this type is a list. `ofType` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"NON_NULL",description:"Indicates this type is a non-null. `ofType` is a valid field.",isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"defaultValue",description:"A GraphQL-formatted string representing the default value for this input value.",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
1285
+ `)&&(Mt="(?: "+Mt+")",Pt=" "+Pt,kt++),ft=new RegExp("^(?:"+Mt+")",Ct)),NPCG_INCLUDED&&(ft=new RegExp("^"+Mt+"$(?!\\s)",Ct)),UPDATES_LAST_INDEX_WRONG&&(dt=_e.lastIndex),mt=call$4(nativeExec,At?ft:_e,Pt),At?mt?(mt.input=stringSlice$3(mt.input,kt),mt[0]=stringSlice$3(mt[0],kt),mt.index=_e.lastIndex,_e.lastIndex+=mt[0].length):_e.lastIndex=0:UPDATES_LAST_INDEX_WRONG&&mt&&(_e.lastIndex=_e.global?mt.index+mt[0].length:dt),NPCG_INCLUDED&&mt&&mt.length>1&&call$4(nativeReplace,mt[0],ft,function(){for(pt=1;pt<arguments.length-2;pt++)arguments[pt]===void 0&&(mt[pt]=void 0)}),mt&&St)for(mt.groups=yt=create$1(null),pt=0;pt<St.length;pt++)Tt=St[pt],yt[Tt[0]]=mt[Tt[1]];return mt});var regexpExec$2=patchedExec,$$1=_export,exec=regexpExec$2;$$1({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec});var classofRaw=classofRaw$2,uncurryThis$4=functionUncurryThis,functionUncurryThisClause=function(a){if(classofRaw(a)==="Function")return uncurryThis$4(a)},isObject=isObject$6,classof$1=classofRaw$2,wellKnownSymbol$3=wellKnownSymbol$7,MATCH$1=wellKnownSymbol$3("match"),isRegexp=function(a){var j;return isObject(a)&&((j=a[MATCH$1])!==void 0?!!j:classof$1(a)==="RegExp")},isRegExp=isRegexp,$TypeError$1=TypeError,notARegexp=function(a){if(isRegExp(a))throw new $TypeError$1("The method doesn't accept regular expressions");return a},wellKnownSymbol$2=wellKnownSymbol$7,MATCH=wellKnownSymbol$2("match"),correctIsRegexpLogic=function(a){var j=/./;try{"/./"[a](j)}catch{try{return j[MATCH]=!1,"/./"[a](j)}catch{}}return!1},$=_export,uncurryThis$3=functionUncurryThisClause,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,toLength$1=toLength$3,toString$2=toString$4,notARegExp=notARegexp,requireObjectCoercible$2=requireObjectCoercible$5,correctIsRegExpLogic=correctIsRegexpLogic,slice=uncurryThis$3("".slice),min$1=Math.min,CORRECT_IS_REGEXP_LOGIC=correctIsRegExpLogic("endsWith"),MDN_POLYFILL_BUG=!CORRECT_IS_REGEXP_LOGIC&&!!function(){var a=getOwnPropertyDescriptor(String.prototype,"endsWith");return a&&!a.writable}();$({target:"String",proto:!0,forced:!MDN_POLYFILL_BUG&&!CORRECT_IS_REGEXP_LOGIC},{endsWith:function a(j){var _e=toString$2(requireObjectCoercible$2(this));notARegExp(j);var et=arguments.length>1?arguments[1]:void 0,nt=_e.length,tt=et===void 0?nt:min$1(toLength$1(et),nt),ot=toString$2(j);return slice(_e,tt-ot.length,tt)===ot}});var NATIVE_BIND=functionBindNative,FunctionPrototype=Function.prototype,apply$1=FunctionPrototype.apply,call$3=FunctionPrototype.call,functionApply=typeof Reflect=="object"&&Reflect.apply||(NATIVE_BIND?call$3.bind(apply$1):function(){return call$3.apply(apply$1,arguments)}),call$2=functionCall,defineBuiltIn=defineBuiltIn$2,regexpExec$1=regexpExec$2,fails$1=fails$d,wellKnownSymbol$1=wellKnownSymbol$7,createNonEnumerableProperty=createNonEnumerableProperty$3,SPECIES=wellKnownSymbol$1("species"),RegExpPrototype=RegExp.prototype,fixRegexpWellKnownSymbolLogic=function(a,j,_e,et){var nt=wellKnownSymbol$1(a),tt=!fails$1(function(){var mt={};return mt[nt]=function(){return 7},""[a](mt)!==7}),ot=tt&&!fails$1(function(){var mt=!1,pt=/a/;return a==="split"&&(pt={},pt.constructor={},pt.constructor[SPECIES]=function(){return pt},pt.flags="",pt[nt]=/./[nt]),pt.exec=function(){return mt=!0,null},pt[nt](""),!mt});if(!tt||!ot||_e){var ft=/./[nt],dt=j(nt,""[a],function(mt,pt,yt,Tt,St){var At=pt.exec;return At===regexpExec$1||At===RegExpPrototype.exec?tt&&!St?{done:!0,value:call$2(ft,pt,yt,Tt)}:{done:!0,value:call$2(mt,yt,pt,Tt)}:{done:!1}});defineBuiltIn(String.prototype,a,dt[0]),defineBuiltIn(RegExpPrototype,nt,dt[1])}et&&createNonEnumerableProperty(RegExpPrototype[nt],"sham",!0)},uncurryThis$2=functionUncurryThis,toIntegerOrInfinity$1=toIntegerOrInfinity$4,toString$1=toString$4,requireObjectCoercible$1=requireObjectCoercible$5,charAt$2=uncurryThis$2("".charAt),charCodeAt=uncurryThis$2("".charCodeAt),stringSlice$2=uncurryThis$2("".slice),createMethod=function(a){return function(j,_e){var et=toString$1(requireObjectCoercible$1(j)),nt=toIntegerOrInfinity$1(_e),tt=et.length,ot,ft;return nt<0||nt>=tt?a?"":void 0:(ot=charCodeAt(et,nt),ot<55296||ot>56319||nt+1===tt||(ft=charCodeAt(et,nt+1))<56320||ft>57343?a?charAt$2(et,nt):ot:a?stringSlice$2(et,nt,nt+2):(ot-55296<<10)+(ft-56320)+65536)}},stringMultibyte={codeAt:createMethod(!1),charAt:createMethod(!0)},charAt$1=stringMultibyte.charAt,advanceStringIndex$1=function(a,j,_e){return j+(_e?charAt$1(a,j).length:1)},uncurryThis$1=functionUncurryThis,toObject=toObject$2,floor=Math.floor,charAt=uncurryThis$1("".charAt),replace=uncurryThis$1("".replace),stringSlice$1=uncurryThis$1("".slice),SUBSTITUTION_SYMBOLS=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g,getSubstitution$1=function(a,j,_e,et,nt,tt){var ot=_e+a.length,ft=et.length,dt=SUBSTITUTION_SYMBOLS_NO_NAMED;return nt!==void 0&&(nt=toObject(nt),dt=SUBSTITUTION_SYMBOLS),replace(tt,dt,function(mt,pt){var yt;switch(charAt(pt,0)){case"$":return"$";case"&":return a;case"`":return stringSlice$1(j,0,_e);case"'":return stringSlice$1(j,ot);case"<":yt=nt[stringSlice$1(pt,1,-1)];break;default:var Tt=+pt;if(Tt===0)return mt;if(Tt>ft){var St=floor(Tt/10);return St===0?mt:St<=ft?et[St-1]===void 0?charAt(pt,1):et[St-1]+charAt(pt,1):mt}yt=et[Tt-1]}return yt===void 0?"":yt})},call$1=functionCall,anObject$1=anObject$7,isCallable$1=isCallable$d,classof=classofRaw$2,regexpExec=regexpExec$2,$TypeError=TypeError,regexpExecAbstract=function(a,j){var _e=a.exec;if(isCallable$1(_e)){var et=call$1(_e,a,j);return et!==null&&anObject$1(et),et}if(classof(a)==="RegExp")return call$1(regexpExec,a,j);throw new $TypeError("RegExp#exec called on incompatible receiver")},apply=functionApply,call=functionCall,uncurryThis=functionUncurryThis,fixRegExpWellKnownSymbolLogic=fixRegexpWellKnownSymbolLogic,fails=fails$d,anObject=anObject$7,isCallable=isCallable$d,isNullOrUndefined=isNullOrUndefined$3,toIntegerOrInfinity=toIntegerOrInfinity$4,toLength=toLength$3,toString=toString$4,requireObjectCoercible=requireObjectCoercible$5,advanceStringIndex=advanceStringIndex$1,getMethod=getMethod$2,getSubstitution=getSubstitution$1,regExpExec=regexpExecAbstract,wellKnownSymbol=wellKnownSymbol$7,REPLACE=wellKnownSymbol("replace"),max=Math.max,min=Math.min,concat=uncurryThis([].concat),push=uncurryThis([].push),stringIndexOf=uncurryThis("".indexOf),stringSlice=uncurryThis("".slice),maybeToString=function(a){return a===void 0?a:String(a)},REPLACE_KEEPS_$0=function(){return"a".replace(/./,"$0")==="$0"}(),REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE=function(){return/./[REPLACE]?/./[REPLACE]("a","$0")==="":!1}(),REPLACE_SUPPORTS_NAMED_GROUPS=!fails(function(){var a=/./;return a.exec=function(){var j=[];return j.groups={a:"7"},j},"".replace(a,"$<a>")!=="7"});fixRegExpWellKnownSymbolLogic("replace",function(a,j,_e){var et=REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE?"$":"$0";return[function(tt,ot){var ft=requireObjectCoercible(this),dt=isNullOrUndefined(tt)?void 0:getMethod(tt,REPLACE);return dt?call(dt,tt,ft,ot):call(j,toString(ft),tt,ot)},function(nt,tt){var ot=anObject(this),ft=toString(nt);if(typeof tt=="string"&&stringIndexOf(tt,et)===-1&&stringIndexOf(tt,"$<")===-1){var dt=_e(j,ot,ft,tt);if(dt.done)return dt.value}var mt=isCallable(tt);mt||(tt=toString(tt));var pt=ot.global,yt;pt&&(yt=ot.unicode,ot.lastIndex=0);for(var Tt=[],St;St=regExpExec(ot,ft),!(St===null||(push(Tt,St),!pt));){var At=toString(St[0]);At===""&&(ot.lastIndex=advanceStringIndex(ft,toLength(ot.lastIndex),yt))}for(var Ct="",Mt=0,kt=0;kt<Tt.length;kt++){St=Tt[kt];for(var Pt=toString(St[0]),Lt=max(min(toIntegerOrInfinity(St.index),ft.length),0),Ft=[],Yt,jt=1;jt<St.length;jt++)push(Ft,maybeToString(St[jt]));var Wt=St.groups;if(mt){var sn=concat([Pt],Ft,Lt,ft);Wt!==void 0&&push(sn,Wt),Yt=toString(apply(tt,void 0,sn))}else Yt=getSubstitution(Pt,ft,Lt,Ft,Wt,tt);Lt>=Mt&&(Ct+=stringSlice(ft,Mt,Lt)+Yt,Mt=Lt+Pt.length)}return Ct+stringSlice(ft,Mt)}]},!REPLACE_SUPPORTS_NAMED_GROUPS||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);const queryType={name:"Query"},mutationType={name:"Mutation"},subscriptionType=null,types=[{kind:"SCALAR",name:"Any",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Bytes",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Float32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Int32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Int64",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Uint32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Uint64",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoBackupInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoCheckUpdateInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletStoreInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"logoUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"maintainer",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"cdnUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConfigEntryInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"validation",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"secure",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"custom",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"shared",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConfigNavigationInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"link",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"icon",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"section",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"component",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"parent",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visible",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConnectedAccountInput",description:null,fields:null,inputFields:[{name:"provider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"userInfo",description:null,type:{kind:"INPUT_OBJECT",name:"ConnectedAccountInfoInput",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConnectedAccountInfoInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"picture",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"emailVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"sub",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extraData",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"DownloadTokenInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"token",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"HashFileInput",description:null,fields:null,inputFields:[{name:"file",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"InviteSettingsInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"IssuerInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"NodeInfoInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoUpgrade",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableWelcomePage",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"registerUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"webWalletUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletRegistryList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"BlockletStoreInput",ofType:null}}},defaultValue:null},{name:"diskAlertThreshold",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"enableBetaRelease",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"nftDomainUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enableFileSystemIsolation",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableDocker",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"isDockerInstalled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PagingInput",description:null,fields:null,inputFields:[{name:"total",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"pageSize",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"pageCount",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"page",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"issuer",description:null,type:{kind:"INPUT_OBJECT",name:"IssuerInput",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"issuanceDate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"expirationDate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PermissionInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"spaceGateway",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletStoreInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddDomainAliasInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"domainAlias",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"force",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"nftDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"chainHost",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inBlockletSetup",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddLetsEncryptCertInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"siteId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inBlockletSetup",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"privateKey",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"certificate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rule",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddRoutingSiteInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rules",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAuditFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"memberPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBackupBlockletInput",description:null,fields:null,inputFields:[{name:"appDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"ENUM",name:"BackupTo",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletDetailInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"attachDiskInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"attachRuntimeInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"getOptionalComponents",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletDiffInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hashFiles",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"HashFileInput",ofType:null}}},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletMetaInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletMetaFromUrlInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"checkPrice",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletRuntimeHistoryInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hours",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCheckDomainsInput",description:null,fields:null,inputFields:[{name:"domains",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestClearCacheInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pattern",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestComponentsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"configs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigEntryInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigFederatedInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoLogin",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigNavigationsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"navigations",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigNavigationInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigNotificationInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigOAuthInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"oauth",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigPassportIssuanceInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enable",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigPublicToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"publicToStore",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigTrustedFactoriesInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"trustedFactories",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedFactoryInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigTrustedPassportsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"trustedPassports",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedPassportInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConnectByStudioInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"messageId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConnectToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateAccessKeyInput",description:null,fields:null,inputFields:[{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceAppPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreatePassportIssuanceInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ownerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreatePermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"PublishType",ofType:null},defaultValue:null},{name:"blockletDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateReleaseInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDescription",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletLogo",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletIntroduction",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletScreenshots",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"note",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletComponents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"uploadedResource",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"childName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permissions",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateTransferNodeInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateWebHookInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"ENUM",name:"SenderType",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"params",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"WebHookParamInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteAccessKeyInput",description:null,fields:null,inputFields:[{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"keepData",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"spaceGatewayDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletStoreInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteComponentInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"keepData",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteDomainAliasInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"domainAlias",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inviteId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeletePermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ruleId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingSiteInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteTeamSessionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteWebHookInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDisbandFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDisconnectFromStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestEndSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestFindCertificateByDomainInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGatewayInput",description:null,fields:null,inputFields:[{name:"requestLimit",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLimitInput",ofType:null},defaultValue:null},{name:"cacheEnabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetAuditLogsInput",description:null,fields:null,inputFields:[{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"category",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletNotificationsInput",description:null,fields:null,inputFields:[{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sender",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"read",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletsInput",description:null,fields:null,inputFields:[{name:"useCache",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetDynamicComponentsInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetLauncherSessionInput",description:null,fields:null,inputFields:[{name:"launcherSessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"launcherUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetNotificationsInput",description:null,fields:null,inputFields:[{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sender",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"read",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetPassportIssuancesInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ownerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetProjectsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetReleasesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetRoutingSitesInput",description:null,fields:null,inputFields:[{name:"snapshotHash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetRoutingSnapshotsInput",description:null,fields:null,inputFields:[{name:"limit",description:null,type:{kind:"SCALAR",name:"Int32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSelectedResourcesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSnapshotSitesInput",description:null,fields:null,inputFields:[{name:"hash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetTrafficInsightsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startDate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endDate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGrantPermissionForRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestHasPermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permission",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestInstallComponentInput",description:null,fields:null,inputFields:[{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mountPoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"file",description:null,type:{kind:"SCALAR",name:"Upload",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"diffVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"deleteSet",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"configs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigEntryInput",ofType:null}}},defaultValue:null},{name:"downloadTokenList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DownloadTokenInput",ofType:null}}},defaultValue:null},{name:"skipNavigation",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"onlyRequired",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestIsDidDomainInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestIssuePassportToUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestJoinFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLimitInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"rate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"ipHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLogoutUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestMigrateApplicationToStructV2Input",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appSk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNodeRoutingInput",description:null,fields:null,inputFields:[{name:"provider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"snapshotHash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"forceRepopulate",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNodeRuntimeHistoryInput",description:null,fields:null,inputFields:[{name:"hours",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"messageId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestPublishToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestQuitFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReadBlockletNotificationsInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReleaseInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestResetNodeInput",description:null,fields:null,inputFields:[{name:"owner",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blocklets",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"webhooks",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"certificates",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"accessKeys",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blockletExtras",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"routingRules",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"users",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"invitations",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRestoreBlockletInput",description:null,fields:null,inputFields:[{name:"endpoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"delegation",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"password",description:null,type:{kind:"SCALAR",name:"Bytes",ofType:null},defaultValue:null},{name:"wallet",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"ENUM",name:"BackupTo",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRevokePermissionFromRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendEmailInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendMsgInput",description:null,fields:null,inputFields:[{name:"webhookId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"message",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendPushInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestStartSessionInput",description:null,fields:null,inputFields:[{name:"data",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSwitchProfileInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"profile",description:null,type:{kind:"INPUT_OBJECT",name:"UserProfileInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTagInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tag",description:null,type:{kind:"INPUT_OBJECT",name:"TagInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTagsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTakeRoutingSnapshotInput",description:null,fields:null,inputFields:[{name:"dryRun",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"message",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamPermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permission",description:null,type:{kind:"INPUT_OBJECT",name:"PermissionInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"INPUT_OBJECT",name:"RoleUpdateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"user",description:null,type:{kind:"INPUT_OBJECT",name:"UserInfoInput",ofType:null},defaultValue:null},{name:"options",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserOptionsInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamUserOptionsInput",description:null,fields:null,inputFields:[{name:"enableConnectedAccount",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeTags",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAccessKeyInput",description:null,fields:null,inputFields:[{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAppSessionConfigInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"config",description:null,type:{kind:"INPUT_OBJECT",name:"SessionConfigInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAutoBackupInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoBackup",description:null,type:{kind:"INPUT_OBJECT",name:"AutoBackupInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAutoCheckUpdateInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoCheckUpdate",description:null,type:{kind:"INPUT_OBJECT",name:"AutoCheckUpdateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"where",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null},{name:"spaceGateway",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentMountPointInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mountPoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentTitleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentsInput",description:null,fields:null,inputFields:[{name:"updateId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"selectedComponents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateInviteSettingsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"invite",description:null,type:{kind:"INPUT_OBJECT",name:"InviteSettingsInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdatePermissionsForRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantNames",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDescription",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletIntroduction",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoUpload",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"possibleSameStore",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rule",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingSiteInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"corsAllowedOrigins",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateSelectedResourcesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resources",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserExtraInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserProfileInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"locale",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserTagsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateWhoCanAccessInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"whoCanAccess",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUsersInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"UserQueryInput",ofType:null},defaultValue:null},{name:"sort",description:null,type:{kind:"INPUT_OBJECT",name:"UserSortInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"dids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestVersionedBlockletInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"file",description:null,type:{kind:"SCALAR",name:"Upload",ofType:null},defaultValue:null},{name:"diffVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"deleteSet",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startImmediately",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"downloadTokenList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DownloadTokenInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoleUpdateInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleFromInput",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleToInput",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleFromInput",description:null,fields:null,inputFields:[{name:"pathPrefix",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"header",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"RoutingRuleHeaderInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleHeaderInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"HeaderMatchType",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleResponseInput",description:null,fields:null,inputFields:[{name:"status",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"contentType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"body",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleToInput",description:null,fields:null,inputFields:[{name:"port",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"BackendServiceType",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"redirectCode",description:null,type:{kind:"SCALAR",name:"Int32",ofType:null},defaultValue:null},{name:"interfaceName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pageGroup",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"response",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleResponseInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"SessionConfigInput",description:null,fields:null,inputFields:[{name:"cacheTtl",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"ttl",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protected",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endpoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TagInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"color",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TeamInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedFactoryInput",description:null,fields:null,inputFields:[{name:"holderDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"issuerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"factoryAddress",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportInput",description:null,fields:null,inputFields:[{name:"issuerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mappings",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingInput",description:null,fields:null,inputFields:[{name:"from",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingFromInput",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingFromInput",description:null,fields:null,inputFields:[{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ttl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ttlPolicy",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserInfoInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"locale",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passports",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"PassportInput",ofType:null}}},defaultValue:null},{name:"firstLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginIp",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceProvider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceAppPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"connectedAccounts",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConnectedAccountInput",ofType:null}}},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TagInput",ofType:null}}},defaultValue:null},{name:"didSpace",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"userSessions",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"UserSessionInput",ofType:null}}},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"phone",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inviter",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"generation",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserProfileInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserQueryInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"connectedDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null},{name:"includeTags",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeUserSessions",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"inviter",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"invitee",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"generation",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ua",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginIp",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSortInput",description:null,fields:null,inputFields:[{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"WebHookParamInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"defaultValue",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AccessKey",description:null,fields:[{name:"accessKeyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeyPublic",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastUsedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLog",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"category",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"content",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"actor",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogActor",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"env",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnv",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ip",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ua",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogActor",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogEnv",description:null,fields:[{name:"browser",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnvItem",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnvItem",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogEnvItem",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoBackup",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoCheckUpdate",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Backup",description:null,fields:[{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"strategy",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"target",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"targetName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"targetUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"message",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"progress",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletBackupState",description:null,fields:[{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletCapabilities",description:null,fields:[{name:"clusterMode",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"component",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"navigation",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didSpace",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceExportApi",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletController",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftOwner",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"chainHost",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"consumedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ownerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"OBJECT",name:"BlockletControllerStatus",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletControllerStatus",description:null,fields:[{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDiff",description:null,fields:[{name:"hasBlocklet",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"changeSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"deleteSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDist",description:null,fields:[{name:"tarball",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"integrity",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletEngine",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"displayName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"available",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visible",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletHistoryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMeta",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaces",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaInterface",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"author",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"main",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stats",description:null,args:[],type:{kind:"OBJECT",name:"BlockletStats",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"homepage",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"community",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"documentation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"support",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"screenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"keywords",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"group",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dist",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDist",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"maintainers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"contributors",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"repository",description:null,args:[],type:{kind:"OBJECT",name:"BlockletRepository",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"payment",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPayment",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftFactory",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastPublishedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"capabilities",description:null,args:[],type:{kind:"OBJECT",name:"BlockletCapabilities",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"components",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ChildConfig",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Environment",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"requirements",description:null,args:[],type:{kind:"OBJECT",name:"Requirement",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"navigation",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Any",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"resources",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"resource",description:null,args:[],type:{kind:"OBJECT",name:"BlockletResource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"owner",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMetaOwner",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaInterface",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"prefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protocol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"services",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaService",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"cacheable",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"pageGroups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaOwner",description:null,fields:[{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaPerson",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaService",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"config",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMigrateRecord",description:null,fields:[{name:"appSk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"at",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPayment",description:null,fields:[{name:"price",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletPaymentPrice",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"share",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletPaymentShare",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPaymentPrice",description:null,fields:[{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"symbol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPaymentShare",description:null,fields:[{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPreUpdateInfo",description:null,fields:[{name:"updateId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UpdateList",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletRepository",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResource",description:null,fields:[{name:"exportApi",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"types",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResourceType",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"bundles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResourceBundle",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResourceBundle",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"public",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResourceType",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletSettings",description:null,fields:[{name:"initialized",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"whoCanAccess",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"owner",description:null,args:[],type:{kind:"OBJECT",name:"WalletInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"SimpleBlockletState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"publicToStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"navigations",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigNavigation",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"oauth",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"notification",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"session",description:null,args:[],type:{kind:"OBJECT",name:"SessionConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"federated",description:null,args:[],type:{kind:"OBJECT",name:"FederatedConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoCheckUpdate",description:null,args:[],type:{kind:"OBJECT",name:"AutoCheckUpdate",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoBackup",description:null,args:[],type:{kind:"OBJECT",name:"AutoBackup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"invite",description:null,args:[],type:{kind:"OBJECT",name:"InviteSettings",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pausedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stoppedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"configs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"diskInfo",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appRuntimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"BlockletSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleSource",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"OBJECT",name:"BlockletEngine",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ports",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"optionalComponents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"OptionalComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dynamic",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"settings",description:null,args:[],type:{kind:"OBJECT",name:"BlockletSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"site",description:null,args:[],type:{kind:"OBJECT",name:"RoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"controller",description:null,args:[],type:{kind:"OBJECT",name:"BlockletController",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"migratedFrom",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMigrateRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalSk",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalSkSource",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"structVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletStats",description:null,fields:[{name:"downloads",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"star",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"purchases",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletStore",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logoUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"maintainer",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cdnUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BooleanResponse",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"result",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Certificate",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"CertificateMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"matchedSites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"MatchedSites",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CertificateIssuer",description:null,fields:[{name:"countryName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"organizationName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commonName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CertificateMeta",description:null,fields:[{name:"issuer",description:null,args:[],type:{kind:"OBJECT",name:"CertificateIssuer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sans",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"validFrom",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validTo",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fingerprintAlg",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fingerprint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validityPeriod",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ChildConfig",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ComponentState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pausedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stoppedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"configs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"diskInfo",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"BlockletSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleSource",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"OBJECT",name:"BlockletEngine",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ports",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"dynamic",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dependents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Dependent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConfigEntry",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConfigNavigation",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"link",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"icon",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"section",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"component",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parent",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visible",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedAccount",description:null,fields:[{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userInfo",description:null,args:[],type:{kind:"OBJECT",name:"ConnectedAccountInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedAccountInfo",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"picture",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sub",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extraData",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedStore",description:null,fields:[{name:"storeId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessToken",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerEmail",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CreateAccessKey",description:null,fields:[{name:"accessKeyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeySecret",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastUsedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DelegationState",description:null,fields:[{name:"delegated",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Dependent",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DiskInfo",description:null,fields:[{name:"app",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"log",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cache",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklets",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Environment",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"default",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfig",description:null,fields:[{name:"config",description:null,args:[],type:{kind:"OBJECT",name:"FederatedConfigDetail",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"FederatedConfigSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfigDetail",description:null,fields:[{name:"appId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"delegation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isMaster",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoLogin",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfigSite",description:null,fields:[{name:"appId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"aliasDid",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"aliasDomain",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appLogoRect",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serverId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serverVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appliedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isMaster",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Fuel",description:null,fields:[{name:"endpoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Gateway",description:null,fields:[{name:"requestLimit",description:null,args:[],type:{kind:"OBJECT",name:"RequestLimit",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"GeneralResponse",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"IPInfo",description:null,fields:[{name:"internalV4",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalV4",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"internalV6",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalV6",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"InviteInfo",description:null,fields:[{name:"inviteId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviter",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"teamDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaceName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"InviteSettings",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Issuer",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"KeyValue",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"LauncherInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tag",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"chainHost",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"MatchedSites",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeEnvInfo",description:null,fields:[{name:"ip",description:null,args:[],type:{kind:"OBJECT",name:"IPInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"location",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"docker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"image",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletEngines",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletEngine",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"gitpod",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disk",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeHistoryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"daemonMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serviceMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hubMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeRouting",description:null,fields:[{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"snapshotHash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"adminPath",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requestLimit",description:null,args:[],type:{kind:"OBJECT",name:"RequestLimit",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeRuntimeConfig",description:null,fields:[{name:"blockletMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"daemonMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"proxyMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeState",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"initialized",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nodeOwner",description:null,args:[],type:{kind:"OBJECT",name:"WalletInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"initializedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"routing",description:null,args:[],type:{kind:"OBJECT",name:"NodeRouting",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"uptime",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoUpgrade",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nextVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"registerUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableWelcomePage",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webWalletUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletRegistryList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"ownerNft",description:null,args:[],type:{kind:"OBJECT",name:"OwnerNft",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"diskAlertThreshold",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"launcher",description:null,args:[],type:{kind:"OBJECT",name:"LauncherInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didRegistry",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didDomain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableBetaRelease",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeConfig",description:null,args:[],type:{kind:"OBJECT",name:"NodeRuntimeConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftDomainUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableFileSystemIsolation",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDocker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDockerInstalled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Notification",description:null,fields:[{name:"sender",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"receiver",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"entityType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"entityId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"read",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"severity",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OptionalComponentState",description:null,fields:[{name:"logoUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dependencies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"OptionalDependencies",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OptionalDependencies",description:null,fields:[{name:"parentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OwnerNft",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"holder",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuer",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Paging",description:null,fields:[{name:"total",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageCount",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"page",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Passport",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuer",description:null,args:[],type:{kind:"OBJECT",name:"Issuer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"issuanceDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expirationDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"PassportIssuanceInfo",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"teamDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ownerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Permission",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Project",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"PublishType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletIntroduction",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletScreenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastReleaseId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastReleaseFiles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"connectedStores",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectedStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"tenantScope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoUpload",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"possibleSameStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Release",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"projectId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletIntroduction",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletScreenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"note",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"files",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"ReleaseStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletComponents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ReleaseComponent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"publishedStoreIds",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"uploadedResource",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ReleaseComponent",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RequestLimit",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"rate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ipHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Requirement",description:null,fields:[{name:"server",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fuels",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Fuel",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAccessKeys",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"AccessKey",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAddLetsEncryptCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAddNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlocklet",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklet",description:null,args:[],type:{kind:"OBJECT",name:"BlockletState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletDiff",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDiff",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDiff",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletMeta",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletMetaFromUrl",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isFree",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"registryUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletRuntimeHistory",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"history",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletHistoryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletsFromBackup",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletBackupState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckComponentsForUpdates",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"preUpdateInfo",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPreUpdateInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckDomains",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckNodeVersion",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseClearCache",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removed",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConnectByStudio",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConnectToStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"CreateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateInvitation",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviteInfo",description:null,args:[],type:{kind:"OBJECT",name:"InviteInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreatePassportIssuance",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"PassportIssuanceInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateTransferNodeInvitation",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviteInfo",description:null,args:[],type:{kind:"OBJECT",name:"InviteInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateWebHook",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhook",description:null,args:[],type:{kind:"OBJECT",name:"WebHookSender",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDelegationState",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"state",description:null,args:[],type:{kind:"OBJECT",name:"DelegationState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteWebHook",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDisconnectFromStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseFindCertificateByDomain",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cert",description:null,args:[],type:{kind:"OBJECT",name:"Certificate",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGateway",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"gateway",description:null,args:[],type:{kind:"OBJECT",name:"Gateway",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetAuditLogs",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"AuditLog",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletBackups",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Backup",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Notification",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletSpaceGateways",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"spaceGateways",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"SpaceGateway",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlocklets",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklets",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetCertificates",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"certificates",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Certificate",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetDynamicComponents",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"components",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetInvitations",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"invitations",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"InviteInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetLauncherSession",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"error",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSession",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNodeEnv",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"NodeEnvInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNodeInfo",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"NodeState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Notification",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetPassportIssuances",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PassportIssuanceInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetProject",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"project",description:null,args:[],type:{kind:"OBJECT",name:"Project",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetProjects",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"projects",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Project",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRelease",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"release",description:null,args:[],type:{kind:"OBJECT",name:"Release",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetReleases",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"releases",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Release",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingProviders",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"providers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingProvider",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingSites",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingSnapshots",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"snapshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSnapshot",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSelectedResources",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resources",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSession",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"session",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSnapshotSites",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetTrafficInsights",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrafficInsight",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetUsersCount",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"count",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetUsersCountPerRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"counts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"KeyValue",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseIsDidDomain",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseNodeRuntimeHistory",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"history",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NodeHistoryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePermission",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"permission",description:null,args:[],type:{kind:"OBJECT",name:"Permission",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePermissions",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"permissions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Permission",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseProject",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"project",description:null,args:[],type:{kind:"OBJECT",name:"Project",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePublishToStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseReadBlockletNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"numAffected",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseReadNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"numAffected",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRelease",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"release",description:null,args:[],type:{kind:"OBJECT",name:"Release",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseResetNode",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRestartServer",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"OBJECT",name:"Role",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRoles",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"roles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Role",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRoutingSite",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"site",description:null,args:[],type:{kind:"OBJECT",name:"RoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseSendMsg",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseSenderList",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"senders",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookSender",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTag",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tag",description:null,args:[],type:{kind:"OBJECT",name:"Tag",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTags",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tag",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTakeRoutingSnapshot",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"AccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpgradeNodeVersion",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUser",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"user",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUsers",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"users",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseWebHooks",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhooks",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHook",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Role",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"grants",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingProvider",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"running",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"available",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"error",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRule",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleFrom",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleTo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleFrom",description:null,fields:[{name:"pathPrefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"header",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingRuleHeader",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleHeader",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"HeaderMatchType",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleResponse",description:null,fields:[{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"contentType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"body",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleTo",description:null,fields:[{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"BackendServiceType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"redirectCode",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaceName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageGroup",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"response",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleResponse",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingSite",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domainAliases",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Any",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"rules",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingRule",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"corsAllowedOrigins",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingSnapshot",description:null,fields:[{name:"hash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tree",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"message",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"author",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RuntimeInfo",description:null,fields:[{name:"pid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uptime",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"memoryUsage",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpuUsage",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SessionConfig",description:null,fields:[{name:"cacheTtl",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttl",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SimpleBlockletMeta",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SimpleBlockletState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"SimpleBlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SpaceGateway",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protected",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endpoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Tag",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"color",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrafficInsight",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"totalRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"failedRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"generationTime",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueVisitors",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueFiles",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"excludedHits",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueReferrers",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueNotFound",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueStaticFiles",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bandwidth",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedFactory",description:null,fields:[{name:"holderDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"factoryAddress",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingTo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassport",description:null,fields:[{name:"issuerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mappings",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassportMapping",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMapping",description:null,fields:[{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingFrom",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingTo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMappingFrom",description:null,fields:[{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMappingTo",description:null,fields:[{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttlPolicy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UpdateList",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approved",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"locale",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Passport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"firstLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceProvider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceAppPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectedAccounts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectedAccount",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tag",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"didSpace",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userSessions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserSession",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phone",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviter",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"generation",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserSession",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visitorId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ua",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passportId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHook",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"SenderType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"params",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookParam",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHookParam",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"defaultValue",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHookSender",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"SenderType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"params",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookParam",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"BackendServiceType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"daemon",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet",description:null,isDeprecated:!1,deprecationReason:null},{name:"redirect",description:null,isDeprecated:!1,deprecationReason:null},{name:"none",description:null,isDeprecated:!1,deprecationReason:null},{name:"general_proxy",description:null,isDeprecated:!1,deprecationReason:null},{name:"direct_response",description:null,isDeprecated:!1,deprecationReason:null},{name:"rewrite",description:null,isDeprecated:!1,deprecationReason:null},{name:"component",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BackupTo",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"spaces",description:null,isDeprecated:!1,deprecationReason:null},{name:"disk",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BlockletSource",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"registry",description:null,isDeprecated:!1,deprecationReason:null},{name:"local",description:null,isDeprecated:!1,deprecationReason:null},{name:"upload",description:null,isDeprecated:!1,deprecationReason:null},{name:"url",description:null,isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BlockletStatus",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"added",description:null,isDeprecated:!1,deprecationReason:null},{name:"downloading",description:null,isDeprecated:!1,deprecationReason:null},{name:"downloaded",description:null,isDeprecated:!1,deprecationReason:null},{name:"installing",description:null,isDeprecated:!1,deprecationReason:null},{name:"installed",description:null,isDeprecated:!1,deprecationReason:null},{name:"starting",description:null,isDeprecated:!1,deprecationReason:null},{name:"running",description:null,isDeprecated:!1,deprecationReason:null},{name:"stopping",description:null,isDeprecated:!1,deprecationReason:null},{name:"stopped",description:null,isDeprecated:!1,deprecationReason:null},{name:"error",description:null,isDeprecated:!1,deprecationReason:null},{name:"upgrading",description:null,isDeprecated:!1,deprecationReason:null},{name:"restarting",description:null,isDeprecated:!1,deprecationReason:null},{name:"corrupted",description:null,isDeprecated:!1,deprecationReason:null},{name:"waiting",description:null,isDeprecated:!1,deprecationReason:null},{name:"deleted",description:null,isDeprecated:!1,deprecationReason:null},{name:"unknown",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"HeaderMatchType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"exact",description:null,isDeprecated:!1,deprecationReason:null},{name:"partial",description:null,isDeprecated:!1,deprecationReason:null},{name:"regexp",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"PublishType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"resource",description:null,isDeprecated:!1,deprecationReason:null},{name:"pack",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"ReleaseStatus",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"draft",description:null,isDeprecated:!1,deprecationReason:null},{name:"published",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"SenderType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"slack",description:null,isDeprecated:!1,deprecationReason:null},{name:"api",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"StatusCode",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"ok",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet_not_found",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet_not_purchased",description:null,isDeprecated:!1,deprecationReason:null},{name:"forbidden",description:null,isDeprecated:!1,deprecationReason:null},{name:"internal",description:null,isDeprecated:!1,deprecationReason:null},{name:"timeout",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"SCALAR",name:"Upload",description:"The `Upload` scalar type represents a file upload.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Mutation",description:null,fields:[{name:"installBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestVersionedBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installComponent",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestInstallComponentInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stopBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reloadBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteComponent",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteComponentInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cancelDownloadBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkComponentsForUpdates",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCheckComponentsForUpdates",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configPublicToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigPublicToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configNavigations",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigNavigationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configOAuth",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigOAuthInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configNotification",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigNotificationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendEmail",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendEmailInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendPush",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendPushInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"joinFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestJoinFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"quitFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestQuitFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disbandFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDisbandFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configFederated",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigFederatedInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"auditFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAuditFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateWhoCanAccess",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateWhoCanAccessInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAppSessionConfig",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAppSessionConfigInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateComponentTitle",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentTitleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateComponentMountPoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentMountPointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backupBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBackupBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restoreBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRestoreBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"migrateApplicationToStructV2",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestMigrateApplicationToStructV2Input",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAutoBackup",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAutoBackupInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAutoCheckUpdate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAutoCheckUpdateInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateInviteSettings",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateInviteSettingsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateNodeInfo",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"NodeInfoInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateNodeRouting",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNodeRoutingInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeNodeVersion",description:null,args:[],type:{kind:"OBJECT",name:"ResponseUpgradeNodeVersion",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartServer",description:null,args:[],type:{kind:"OBJECT",name:"ResponseRestartServer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resetNode",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestResetNodeInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseResetNode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGateway",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"clearCache",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestClearCacheInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseClearCache",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createMemberInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateInvitation",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createTransferInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateTransferNodeInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateTransferNodeInvitation",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createPassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreatePassportIssuanceInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreatePassportIssuance",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletePassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteTeamSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configTrustedPassports",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigTrustedPassportsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configTrustedFactories",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigTrustedFactoriesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configPassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigPassportIssuanceInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserTags",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserTagsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserProfile",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserProfileInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserExtra",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserExtraInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserApproval",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuePassportToUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestIssuePassportToUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"revokeUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"switchProfile",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSwitchProfileInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createPermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreatePermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermission",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatePermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamPermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermission",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletePermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeletePermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"grantPermissionForRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGrantPermissionForRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"revokePermissionFromRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokePermissionFromRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatePermissionsForRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdatePermissionsForRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hasPermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestHasPermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"BooleanResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"readNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"unreadNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"readBlockletNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadBlockletNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadBlockletNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"unreadBlockletNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadBlockletNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadBlockletNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addDomainAlias",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddDomainAliasInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteDomainAlias",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteDomainAliasInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"takeRoutingSnapshot",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTakeRoutingSnapshotInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTakeRoutingSnapshot",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAddNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issueLetsEncryptCert",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddLetsEncryptCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAddLetsEncryptCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createWebHook",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateWebHookInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateWebHook",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteWebHook",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteWebHookInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteWebHook",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestStartSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestEndSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRelease",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateSelectedResources",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateSelectedResourcesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConnectToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConnectToStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disconnectFromStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDisconnectFromStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDisconnectFromStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"publishToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestPublishToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePublishToStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectByStudio",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConnectByStudioInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConnectByStudio",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Query",description:null,fields:[{name:"getBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletDetailInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletMetaFromUrl",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletMetaFromUrlInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletMetaFromUrl",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletDiff",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletDiffInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletDiff",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlocklets",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlocklets",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletRuntimeHistory",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletRuntimeHistoryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletRuntimeHistory",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletsFromBackup",description:null,args:[],type:{kind:"OBJECT",name:"ResponseBlockletsFromBackup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getDynamicComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetDynamicComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetDynamicComponents",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeInfo",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resetNodeStatus",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeEnv",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeEnv",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkNodeVersion",description:null,args:[],type:{kind:"OBJECT",name:"ResponseCheckNodeVersion",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getDelegationState",description:null,args:[],type:{kind:"OBJECT",name:"ResponseDelegationState",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeRuntimeHistory",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNodeRuntimeHistoryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseNodeRuntimeHistory",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletMeta",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletMetaInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingSites",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetRoutingSitesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRoutingSites",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingSnapshots",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetRoutingSnapshotsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRoutingSnapshots",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSnapshotSites",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSnapshotSitesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSnapshotSites",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingProviders",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetRoutingProviders",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDidDomain",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestIsDidDomainInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseIsDidDomain",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getCertificates",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetCertificates",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkDomains",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCheckDomainsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCheckDomains",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"findCertificateByDomain",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestFindCertificateByDomainInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseFindCertificateByDomain",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAccessKeys",description:null,args:[],type:{kind:"OBJECT",name:"ResponseAccessKeys",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebHooks",description:null,args:[],type:{kind:"OBJECT",name:"ResponseWebHooks",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebhookSenders",description:null,args:[],type:{kind:"OBJECT",name:"ResponseSenderList",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendTestMessage",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendMsgInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseSendMsg",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoles",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoles",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPermissions",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermissions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getInvitations",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetInvitations",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsers",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUsersInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUsers",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsersCount",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetUsersCount",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsersCountPerRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetUsersCountPerRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getOwner",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPermissionsByRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermissions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPassportIssuances",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetPassportIssuancesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetPassportIssuances",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logoutUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLogoutUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getTags",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTags",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAuditLogs",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetAuditLogsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetAuditLogs",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getLauncherSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetLauncherSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetLauncherSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletBackups",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletBackups",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletSpaceGateways",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletSpaceGateways",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getTrafficInsights",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetTrafficInsightsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetTrafficInsights",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getProjects",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetProjectsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetProjects",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getReleases",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetReleasesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetReleases",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRelease",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSelectedResources",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSelectedResourcesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSelectedResources",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:[{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"types",description:"A list of all types supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"queryType",description:"The type that query operations will be rooted at.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"mutationType",description:"If this server supports mutation, the type that mutation operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"subscriptionType",description:"If this server support subscription, the type that subscription operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"directives",description:"A list of all directives supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Directive",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:[{name:"kind",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__TypeKind",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"specifiedByURL",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Field",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"interfaces",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"possibleTypes",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enumValues",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__EnumValue",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"inputFields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"ofType",description:null,args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"SCALAR",description:"Indicates this type is a scalar.",isDeprecated:!1,deprecationReason:null},{name:"OBJECT",description:"Indicates this type is an object. `fields` and `interfaces` are valid fields.",isDeprecated:!1,deprecationReason:null},{name:"INTERFACE",description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.",isDeprecated:!1,deprecationReason:null},{name:"UNION",description:"Indicates this type is a union. `possibleTypes` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"ENUM",description:"Indicates this type is an enum. `enumValues` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_OBJECT",description:"Indicates this type is an input object. `inputFields` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"LIST",description:"Indicates this type is a list. `ofType` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"NON_NULL",description:"Indicates this type is a non-null. `ofType` is a valid field.",isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"defaultValue",description:"A GraphQL-formatted string representing the default value for this input value.",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
1286
1286
 
1287
- In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isRepeatable",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"locations",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__DirectiveLocation",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"QUERY",description:"Location adjacent to a query operation.",isDeprecated:!1,deprecationReason:null},{name:"MUTATION",description:"Location adjacent to a mutation operation.",isDeprecated:!1,deprecationReason:null},{name:"SUBSCRIPTION",description:"Location adjacent to a subscription operation.",isDeprecated:!1,deprecationReason:null},{name:"FIELD",description:"Location adjacent to a field.",isDeprecated:!1,deprecationReason:null},{name:"FRAGMENT_DEFINITION",description:"Location adjacent to a fragment definition.",isDeprecated:!1,deprecationReason:null},{name:"FRAGMENT_SPREAD",description:"Location adjacent to a fragment spread.",isDeprecated:!1,deprecationReason:null},{name:"INLINE_FRAGMENT",description:"Location adjacent to an inline fragment.",isDeprecated:!1,deprecationReason:null},{name:"VARIABLE_DEFINITION",description:"Location adjacent to a variable definition.",isDeprecated:!1,deprecationReason:null},{name:"SCHEMA",description:"Location adjacent to a schema definition.",isDeprecated:!1,deprecationReason:null},{name:"SCALAR",description:"Location adjacent to a scalar definition.",isDeprecated:!1,deprecationReason:null},{name:"OBJECT",description:"Location adjacent to an object type definition.",isDeprecated:!1,deprecationReason:null},{name:"FIELD_DEFINITION",description:"Location adjacent to a field definition.",isDeprecated:!1,deprecationReason:null},{name:"ARGUMENT_DEFINITION",description:"Location adjacent to an argument definition.",isDeprecated:!1,deprecationReason:null},{name:"INTERFACE",description:"Location adjacent to an interface definition.",isDeprecated:!1,deprecationReason:null},{name:"UNION",description:"Location adjacent to a union definition.",isDeprecated:!1,deprecationReason:null},{name:"ENUM",description:"Location adjacent to an enum definition.",isDeprecated:!1,deprecationReason:null},{name:"ENUM_VALUE",description:"Location adjacent to an enum value definition.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_OBJECT",description:"Location adjacent to an input object type definition.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_FIELD_DEFINITION",description:"Location adjacent to an input object field definition.",isDeprecated:!1,deprecationReason:null}],possibleTypes:null}],directives=[{name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Included when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null}]},{name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Skipped when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null}]},{name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:["FIELD_DEFINITION","ARGUMENT_DEFINITION","INPUT_FIELD_DEFINITION","ENUM_VALUE"],args:[{name:"reason",description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:'"No longer supported"'}]},{name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:["SCALAR"],args:[{name:"url",description:"The URL that specifies the behavior of this scalar.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null}]}],require$$4={queryType,mutationType,subscriptionType,types,directives},BaseClient=dist,schema=require$$4;let ABTNodeClient$1=class extends BaseClient{constructor(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"http://localhost:4000/api",_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const et={dataSource:"forge",httpEndpoint:j,socketEndpoint:()=>this._getSocketEndpoint(j),enableQuery:!0,enableSubscription:!0,enableMutation:!0,maxQueryDepth:6};super(et),this._endpoint=j,this._authToken=null,this._userAgent=_e}setAuthToken(j){this._authToken=j}_getSocketEndpoint(j){let _e=j.replace(/https?:\/\//,"ws://");return j.indexOf("https://")===0&&(_e=_e.replace("ws://","wss://")),"".concat(_e,"/socket")}_getSchema(){return schema}_getIgnoreFields(j){return[]}_getAuthHeaders(){const j={},_e=this._authToken;if(_e){const et=typeof _e=="function"?_e():_e;j.Authorization="Bearer ".concat(encodeURIComponent(et))}if(typeof window<"u"&&typeof window.location<"u"){const{hostname:et,port:nt,protocol:tt}=window.location;j["x-real-hostname"]=et,j["x-real-port"]=nt,j["x-real-protocol"]=tt.endsWith(":")?tt.substring(0,tt.length-1):tt}return this._userAgent&&(j["User-Agent"]=this._userAgent),j}};var base=ABTNodeClient$1;const EventEmitter=eventemitter3Exports,ABTNodeClient=base;class BrowserABTNodeClient extends ABTNodeClient{_getSocketOptions(){return{}}_getEventImplementation(){return EventEmitter}}var browser=BrowserABTNodeClient;const NodeClient=getDefaultExportFromCjs$1(browser),prefix$1=(window.env?window.env.apiPrefix:"/")||"/",client$1=new NodeClient(()=>`${prefix$1}/api/gql?locale=${getLocale()}`.replace(/\/+/g,"/").trim());function useSubscription$1({wsClient:a,event:j,cb:_e=()=>{},deps:et=[]}){reactExports.useEffect(()=>{const nt=a&&(!et.length||et.every(Boolean));return nt&&a.on(j,_e),()=>{nt&&a.off(j,_e)}},et)}let client;function create(){const a=(window.env&&window.env.apiPrefix?window.env.apiPrefix:"/").replace(/\/$/,""),j=`//${window.location.host}${a}/admin`;return new browser$3.WsClient(j,{heartbeatIntervalMs:100*1e3,params:()=>({token:Cookie.get("login_token")})})}function getWsClient(){return client||(client=create()),client}const useSubscription=(a,j=()=>{},_e=[])=>{a=`${window.blocklet.did}/${a}`;const{session:et}=useSessionContext();!client&&et.user&&(client=getWsClient(),client.connect()),useSubscription$1({wsClient:client,event:a,cb:j,deps:_e})};let cache=null;const fetch$1=async()=>{try{return(await api.get(`/dns-resolve?hostname=${window.location.hostname}`)).data.address}catch{return null}},getIp=()=>(cache||(cache=fetch$1()),cache),{Provider:Provider$2,Consumer:Consumer$2}=BlockletContext,getPublicInstance=a=>a&&get$6(a,"settings.publicToStore")?a.settings.publicToStore:!1,parseEndpoint=(a,j)=>{const _e=/^{env\.(.+)}$/.exec(a);if(_e&&_e[1]){const et=((j==null?void 0:j.configs)||[]).find(nt=>nt.key===_e[1]);return!et&&!et.value?"":et.value}return a},getChainConfig=(()=>{const a={endpoint:"",data:{}};return async j=>{if(a.endpoint===j)return a.data;const et=await getChainClient(j).getConfig();return a.endpoint=j,a.data=et,et}})(),{did,appId}=window.env;function BlockletProvider({children:a,mode:j}){var $t;const[_e,et]=reactExports.useState(null),[nt,tt]=reactExports.useState(!1),[ot,ft]=reactExports.useState({}),[dt,mt]=reactExports.useState(),[pt,yt]=reactExports.useState(),[Tt,St]=reactExports.useState(),At=j==="setup",{loading:Ct,loadingDiskInfo:Mt,loadingRuntimeInfo:kt,error:Pt,blocklet:Lt,recommendedDomain:Ft,runtimeHistory:Yt,actions:{refreshBlocklet:jt,refreshDomainStatus:Wt,setBlocklet:sn}}=useBlocklet({did,client:client$1,useSubscription,getIP:getIp,useLocaleContext,getOptionalComponents:!0}),ln=reactExports.useRef(void 0);ln.current=($t=Lt==null?void 0:Lt.meta)==null?void 0:$t.did;const vn=async()=>{try{tt(!0),et(null);const{data:xt}=await api.get("/blocklet/meta");ft(xt),tt(!1)}catch(xt){tt(!1),et(xt),Toast$1.error(xt.message)}},Rt=async({showError:xt=!0}={})=>{var Kt,qt;if(!((qt=(Kt=ot==null?void 0:ot.requirements)==null?void 0:Kt.fuels)!=null&&qt.length))return null;const{endpoint:bt,value:it,address:Et}=ot.requirements.fuels[0],Dt=parseEndpoint(bt,Lt),Nt=it;let Vt=it;const Bt={endpoint:Dt,symbol:"",need:Nt,current:0,owe:Number(Nt)>0};try{const nn=getChainClient(Dt),{config:un}=await getChainConfig(Dt),hn=JSON.parse(un).token;let zt=Et;zt||(zt=hn.address),yt({address:hn.address,symbol:hn.symbol,decimal:hn.decimal});const{getAccountState:{state:Ot},getTokenState:{state:Gt}}=await nn.doBatchQuery({getAccountState:{address:appId},getTokenState:{address:zt}});Gt&&(Bt.symbol=Gt.symbol);const cn=((Ot==null?void 0:Ot.tokens)||[]).find(tn=>tn.address===zt);if(cn){const tn=lib$4.fromTokenToUnit(Nt,cn.decimal||18);Bt.current=lib$4.fromUnitToToken(cn.value,cn.decimal||18),Bt.owe=tn.gt(new lib$4.BN(cn.value)),Vt=Math.max(0,lib$4.fromUnitToToken(tn.sub(new lib$4.BN(cn.value)),cn.decimal||18))}}catch(nn){xt&&Toast$1.error(nn.message)}return mt({...Bt,deficiency:Vt}),Bt},rt=async({configs:xt,childDid:bt})=>(await client$1.configBlocklet({input:{did:[did].concat(bt).filter(Boolean),configs:xt}}),jt()),ut=async xt=>{const{blocklet:bt}=await client$1.updateWhoCanAccess({input:{did:[did],whoCanAccess:xt}});sn(bt)},ct=async xt=>{const{blocklet:bt}=await client$1.configPublicToStore({input:{did,publicToStore:xt}});sn(bt)},ht=async xt=>{const{blocklet:bt}=await client$1.configNavigations({input:{did,navigations:xt}});sn(bt)};reactExports.useEffect(()=>{At&&vn(),jt({showError:!1})},[]),reactExports.useEffect(()=>{var xt;(xt=Lt==null?void 0:Lt.controller)!=null&&xt.launcherSessionId&&client$1.getLauncherSession({input:{launcherSessionId:Lt.controller.launcherSessionId,launcherUrl:Lt.controller.launcherUrl}}).then(bt=>{St(bt.launcherSession)}).catch(bt=>{console.error("get launcher session error",bt)})},[Lt==null?void 0:Lt.appPid]);const vt={loading:nt||Ct,loadingDiskInfo:Mt,loadingRuntimeInfo:kt,error:_e||Pt,blocklet:Lt,launcherSession:Tt,did,recommendedDomain:Ft,runtimeHistory:Yt,appIdList:Lt?util$2.getBlockletAppIdList(Lt):[],env:window.blocklet||{},meta:ot,gas:dt,tokenInfo:pt,getPublicInstance,client:client$1,mode:j,actions:{refreshBlocklet:jt,refreshDomainStatus:Wt,setBlocklet:sn,refreshMeta:vn,refreshFuel:Rt,configBlocklet:rt,configWhoCanAccess:ut,configPublicToStore:ct,configNavigations:ht}};return jsxRuntimeExports.jsx(Provider$2,{value:vt,children:a})}BlockletProvider.propTypes={children:PropTypes.any,mode:PropTypes.oneOf(["dashboard","setup"]).isRequired};BlockletProvider.defaultProps={children:null};function useBlockletContext(){return reactExports.useContext(BlockletContext)}const NodeContext=reactExports.createContext({});function useNodeContext$1(){const{node:a}=reactExports.useContext(NodeContext);return{...a,inService:a.type==="service",inDaemon:a.type==="daemon"}}const{Provider:Provider$1,Consumer:Consumer$1}=NodeContext,imgPrefix=`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/static/images`;function NodeProvider({children:a}){const{serverDid:j,serverVersion:_e,mode:et,nftDomainUrl:nt,ownerNft:tt,launcher:ot}=window.env,ft={api:client$1,restApi:api,prefix:constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,imgPrefix,getSessionInHeader:()=>({}),ws:{getWsClient,create,useSubscription},type:"service",info:{did:j,version:_e,mode:et,nftDomainUrl:nt,ownerNft:tt,launcher:ot}};return jsxRuntimeExports.jsx(Provider$1,{value:{node:ft},children:a})}function useNodeContext(){const{node:a}=reactExports.useContext(NodeContext);return a}const NotificationContext=reactExports.createContext({}),{Provider,Consumer}=NotificationContext;function NotificationProvider({children:a}){const{did:j}=window.env,[_e,et]=reactExports.useState([]),[nt,tt]=reactExports.useState({total:0,pageSize:10,pageCount:0,page:1}),[ot,ft]=reactExports.useState(!1),dt=async({page:pt=1}={})=>{if(!ot){ft(!0);try{const yt=await client$1.getBlockletNotifications({input:{paging:{page:pt},teamDid:j}});et(yt.list),tt(yt.paging),ft(!1)}catch(yt){Toast$1.error(yt.message),ft(!1)}}};reactExports.useEffect(()=>{dt()},[]),useSubscription(constant$3.EVENTS.NOTIFICATION_BLOCKLET_CREATE,pt=>{et(yt=>[pt,...yt||[]])});const mt={loading:ot,refresh:dt,data:_e||[],paging:nt,api:client$1};return jsxRuntimeExports.jsx(Provider,{value:{notifications:mt},children:a})}function useNotificationContext(){const{notifications:a}=reactExports.useContext(NotificationContext);return a}const UserLogin=reactExports.lazy(()=>__vitePreload(()=>import("./login-CKynPt3S.js"),__vite__mapDeps([0,1,2]))),UserLoginOAuthCallback=reactExports.lazy(()=>__vitePreload(()=>import("./login-oauth-callback-DlPkWbQy.js"),__vite__mapDeps([3,4,5,6]))),Connect=reactExports.lazy(()=>__vitePreload(()=>import("./connect-DbFTOOeI.js"),__vite__mapDeps([7,8,1,9,10]))),ExchangePassport=reactExports.lazy(()=>__vitePreload(()=>import("./exchange-passport-B-jGlSuV.js"),__vite__mapDeps([11,9,10,12]))),IssuePassport=reactExports.lazy(()=>__vitePreload(()=>import("./issue-passport-BEiivf0H.js"),__vite__mapDeps([13,14,15,1,16,17,18,12]))),LostPassport=reactExports.lazy(()=>__vitePreload(()=>import("./lost-passport-CFO2cLSb.js"),__vite__mapDeps([19,18,20,21,22,10,12,1,23,6,24]))),Start=reactExports.lazy(()=>__vitePreload(()=>import("./start-BZKaBE0Q.js"),__vite__mapDeps([25,26,27,22,10,28,29,30,31]))),Setup=reactExports.lazy(()=>__vitePreload(()=>import("./setup-DsNNvMHM.js"),__vite__mapDeps([32,33,34,8,35,36,37,38,29,30,31,28]))),Invite=reactExports.lazy(()=>__vitePreload(()=>import("./invite-BMGqQLM9.js"),__vite__mapDeps([39,14,15,1,16,17,18,12]))),Transfer=reactExports.lazy(()=>__vitePreload(()=>import("./transfer-D9kO5yaP.js"),__vite__mapDeps([40,18,29,30,31]))),Dashboard=reactExports.lazy(()=>__vitePreload(()=>import("./dashboard-Cup1mVAX.js").then(a=>a.m),__vite__mapDeps([41,42,43,44,45,46,5,6,47,26,48,49,50,51,52,53,23,16,54,55,56,10,57,4,58,59,38,60,30]))),UserCenter=reactExports.lazy(()=>__vitePreload(()=>import("./user-center-DN7iYr7s.js"),__vite__mapDeps([61,62,4,58,59,38,60,44,30,63,23,6,64,65,66,67,10,42,68,69,70,51,52,8,71,72,73,74,75,5,76,77,78,79,80,53,48,81,82,83,84,47]))),StudioHome=reactExports.lazy(()=>__vitePreload(()=>import("./home-Dgp9XlAL.js"),__vite__mapDeps([85,86,58,59,38,4]))),StudioPreferences=reactExports.lazy(()=>__vitePreload(()=>import("./preferences-DTNd1Hzy.js"),__vite__mapDeps([87,88,86,58,59,38,4]))),StudioLocalization=reactExports.lazy(()=>__vitePreload(()=>import("./localization-CMb7_NwM.js"),__vite__mapDeps([89,86,58,59,38,4]))),AddResource=reactExports.lazy(()=>__vitePreload(()=>import("./add-resource-DzhP3aLp.js"),__vite__mapDeps([90,91,92,33,34,8,35,36,37,38,93,94,95,69,96,97,98,99,21,100,73,72,52,74,71,101,102,51,103,104,16,22,10,24,46,5,6,105,106,44,107,108,109,110,45,23,49,111,80,48,112,113,114,66,115,63,116,117,43,4,68,84,70,75,118,119]))),Publish=reactExports.lazy(()=>__vitePreload(()=>import("./publish-resource-tL30wKL2.js"),__vite__mapDeps([120,121,106,122,47,27,77,78,79,80,51,52,72,53,74,48,71,73,42,81,59,82,83,84,68,44,56,45,46,5,6,16,22,10,123,23,110,124,31,57,97,125,35,8,63,65,126,108,105,107,21,109,49,111,117,75,70,101,102,127,24,50]))),NotFoundPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-B5ijpvD9.js"),[])),Unsubscribe=reactExports.lazy(()=>__vitePreload(()=>import("./unsubscribe-C1coPrfE.js"),[])),OpenWindow=reactExports.lazy(()=>__vitePreload(()=>import("./open-window-BmdrOwtb.js"),[]));function App(){var et;const a=useLocation(),{t:j}=useLocaleContext();reactExports.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${a.pathname}${a.search}`)},[a]);const _e=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(HelmetExport,{children:jsxRuntimeExports.jsx("title",{children:j("pageTitle.dashboard")})}),jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:_e,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/open-window`,element:jsxRuntimeExports.jsx(OpenWindow,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:jsxRuntimeExports.jsx(LostPassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:jsxRuntimeExports.jsx(IssuePassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/login`,element:jsxRuntimeExports.jsx(UserLogin,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/oauth/callback/:provider`,element:jsxRuntimeExports.jsx(UserLoginOAuthCallback,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/connect`,element:jsxRuntimeExports.jsx(Connect,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:jsxRuntimeExports.jsx(ExchangePassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:jsxRuntimeExports.jsx(Invite,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/transfer`,element:jsxRuntimeExports.jsx(Transfer,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/home`,element:jsxRuntimeExports.jsx(StudioHome,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/preferences`,element:jsxRuntimeExports.jsx(StudioPreferences,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/localization`,element:jsxRuntimeExports.jsx(StudioLocalization,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/start`,element:jsxRuntimeExports.jsx(AuthProvider,{children:jsxRuntimeExports.jsx(Start,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/setup/*`,element:jsxRuntimeExports.jsx(BlockletProvider,{mode:"setup",children:jsxRuntimeExports.jsx(Setup,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user/unsubscribe`,element:jsxRuntimeExports.jsx(Unsubscribe,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user/:tab`,element:jsxRuntimeExports.jsx(AuthProvider,{roles:["*"],children:jsxRuntimeExports.jsx(UserCenter,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user`,element:jsxRuntimeExports.jsx(AuthProvider,{roles:["*"],children:jsxRuntimeExports.jsx(UserCenter,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/:tab/*`,element:jsxRuntimeExports.jsx(NodeProvider,{children:jsxRuntimeExports.jsx(NotificationProvider,{children:jsxRuntimeExports.jsx(AuthProvider,{roles:["owner","admin","member"],children:jsxRuntimeExports.jsx(BlockletProvider,{mode:"dashboard",children:jsxRuntimeExports.jsx(Dashboard,{})})})})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin`,element:jsxRuntimeExports.jsx(Navigate,{to:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/overview`,replace:!0})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/embed/resources/:componentDid/*`,element:jsxRuntimeExports.jsx(NodeProvider,{children:jsxRuntimeExports.jsx(AuthProvider,{roles:((et=window.blocklet)==null?void 0:et.tenantMode)===constant$2.BLOCKLET_TENANT_MODES.MULTIPLE?["owner","admin","guest"]:["owner","admin"],children:jsxRuntimeExports.jsx(BlockletProvider,{mode:"dashboard",children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:"add",element:jsxRuntimeExports.jsx(AddResource,{})}),jsxRuntimeExports.jsx(Route,{path:"publish/*",element:jsxRuntimeExports.jsx(Publish,{})}),jsxRuntimeExports.jsx(Route,{path:"*",element:jsxRuntimeExports.jsx(NotFoundPage,{})})]})})})})})]})})]})}function AppWrapper(){return jsxRuntimeExports.jsx(BrowserRouter,{basename:PREFIX,children:jsxRuntimeExports.jsx(Root$1,{children:jsxRuntimeExports.jsx(App,{})})})}const root=createRoot(document.getElementById("app"));root.render(jsxRuntimeExports.jsx(AppWrapper,{}));const prefix=constant$3.WELLKNOWN_SERVICE_PATH_PREFIX;{async function a(){const{register:j}=await __vitePreload(async()=>{const{register:_e}=await import("./index-DTEEl-sV.js");return{register:_e}},[]);j(`${prefix}/service-worker.js`.replace(/\/+/g,"/"),{registered(){console.info("Service worker has been registered.")},ready(){console.info("Service worker is active.")},cached(){console.info("Content has been cached for offline use.")},updatefound(){console.info("New content is downloading.")},updated(){console.info("New content is available; please refresh.")},offline(){console.info("No internet connection found. App is running in offline mode.")},error(_e){console.error("Error during service worker registration:",_e)}})}a()}export{interopRequireDefaultExports as $,AvatarWithErrorBoundary as A,Box as B,Center as C,DID as D,default_1$3 as E,useSearchParams as F,constant$3 as G,HelmetExport as H,Container$1 as I,PoweredBy as J,DidConnect as K,Link as L,getWebWalletUrl$1 as M,getDIDColor as N,colors$1 as O,PropTypes as P,useReactive as Q,ResultWrapper as R,SessionContext as S,Typography as T,useRequest as U,createPassportSvg as V,isNumber$2 as W,useLatest as X,defaultDayjs as Y,requireCreateSvgIcon as Z,__read as _,Tooltip as a,_SetCache as a$,newStyled as a0,useMediaQuery as a1,LocaleContext as a2,ButtonComponent as a3,__vitePreload as a4,isFunction$8 as a5,api as a6,client$1 as a7,getManageSubscriptionURL as a8,util$2 as a9,en$1 as aA,LocaleProvider as aB,useLocation as aC,IconButton as aD,SessionUser as aE,generateUtilityClasses as aF,generateUtilityClass as aG,styled$1 as aH,capitalize$3 as aI,useDefaultProps as aJ,_objectWithoutPropertiesLoose$1 as aK,_extends$2 as aL,useSlotProps as aM,clsx$1 as aN,composeClasses as aO,ListContext as aP,useNodeContext$1 as aQ,isDownloading as aR,Menu as aS,Divider as aT,MenuItem as aU,getServerUrl as aV,sleep as aW,getLogoHash as aX,isInstalling as aY,useBlockletContext$1 as aZ,getWalletType as a_,Global as aa,constant$2 as ab,isSuspended as ac,Img as ad,isSuspendedByExpired as ae,isSuspendedByTerminated as af,formatToDatetime as ag,calculateRetentionDate as ah,css as ai,Paper as aj,useTheme$1 as ak,useBlockletContext as al,getFromQuery as am,saveServerUrl as an,hasRequiredEnvironments as ao,PREFIX as ap,NodeProvider as aq,Routes as ar,Route as as,Navigate as at,createSvgIcon$1 as au,Dialog as av,formatDateTime as aw,getExplorerLink as ax,patchJsxToLocale as ay,be as az,Button$1 as b,sleep$3 as b$,_arrayMap as b0,_baseUnary as b1,_arrayIncludes as b2,_arrayIncludesWith as b3,_cacheHas as b4,_baseFlatten as b5,_baseUniq as b6,_baseRest as b7,getDefaultExportFromCjs$1 as b8,_arrayFilter as b9,__assign as bA,lib as bB,AUTH_SERVICE_PREFIX$1 as bC,SessionContext$1 as bD,noop$7 as bE,Icon as bF,data$5 as bG,isEmpty$1 as bH,translate as bI,LOGIN_PROVIDER_NAME as bJ,data$j as bK,RelativeTime as bL,PASSPORT_STATUS as bM,data$a as bN,data$r as bO,getWalletDid$1 as bP,useConfirm as bQ,OAUTH_PROVIDER as bR,LOGIN_PROVIDER$1 as bS,data$f as bT,data$e as bU,data$d as bV,pick$2 as bW,useAsyncEffect as bX,getConnectedAccounts$1 as bY,getSourceProvider$1 as bZ,LinearProgress as b_,last_1 as ba,isArrayLikeObject_1 as bb,hasOwn$8 as bc,Emotion$1 as bd,createEmotionProps as be,getSubscriptionUrlV2 as bf,Chip as bg,dayjs$1 as bh,formatPrettyMsLocale as bi,Popover as bj,formatToDate as bk,List as bl,BlockletAdminRoles as bm,Popper as bn,ClickAwayListener as bo,useNotificationContext as bp,useNodeContext as bq,ErrorBoundary as br,isServerless as bs,colors$2 as bt,styled as bu,mergeProps as bv,useSubscription as bw,getWsClient as bx,useParams as by,isFunction$3 as bz,joinURL as c,rootShouldForwardProp as c$,getQuery as c0,pWaitFor$1 as c1,cloneDeep$1 as c2,useUpdateEffect as c3,axios$4 as c4,useUnmount as c5,util$4 as c6,Card as c7,CardHeader as c8,CardContent as c9,StyledEngineProvider as cA,ThemeProvider$1 as cB,ThemeProvider$4 as cC,getThemeProps$1 as cD,useEnhancedEffect$1 as cE,keyframes as cF,getUnit as cG,toUnitless as cH,alpha$1 as cI,ButtonBase as cJ,debounce$5 as cK,ownerWindow as cL,useRtl as cM,useEventCallback$1 as cN,ownerDocument as cO,isMuiElement as cP,isHostComponent as cQ,useTheme$2 as cR,DialogTitle as cS,DialogContent as cT,DialogActions as cU,Dialog$1 as cV,getListItemIconUtilityClass as cW,listItemTextClasses as cX,getListItemTextUtilityClass as cY,ButtonGroupContext as cZ,ButtonGroupButtonContext as c_,CardActions as ca,o as cb,red as cc,darken_1 as cd,lighten_1 as ce,resolveComponentProps as cf,mergeSlotProps as cg,useForkRef as ch,appendOwnerState as ci,getPath$1 as cj,alpha_1 as ck,useIsFocusVisible as cl,BlockletSDK as cm,SvgIcon as cn,MenuList as co,getColor as cp,getBackground as cq,propTypesExports as cr,lodashExports as cs,commonjsRequire as ct,getAugmentedNamespace as cu,commonjsGlobal as cv,get$6 as cw,default_1$5 as cx,create$3 as cy,isObject$p as cz,useSessionContext as d,private_safeColorChannel_1 as d$,createChainedFunction$1 as d0,useControlled as d1,useId as d2,createTheme$3 as d3,styled$2 as d4,handleBreakpoints as d5,resolveBreakpointValues as d6,createUnarySpacing as d7,deepmerge$1 as d8,mergeBreakpointsInOrder as d9,PopoverRoot as dA,getOffsetLeft as dB,getOffsetTop as dC,getPopoverUtilityClass as dD,popoverClasses as dE,emotionSerialize_esm as dF,emotionUtils_browser_esm as dG,emotionCache_browser_esm as dH,emotionReact_browser_esm as dI,reactDomExports as dJ,Close as dK,_baseIteratee as dL,isArrayLike_1 as dM,keys_1 as dN,_baseFindIndex as dO,toInteger_1 as dP,sortBy$1 as dQ,formatMuiErrorMessage$1 as dR,GlobalStyles$2 as dS,ThemeProvider$2 as dT,createSpacing as dU,createBreakpoints as dV,createTheme$1 as dW,private_safeDarken_1 as dX,private_safeLighten_1 as dY,private_safeEmphasize_1 as dZ,private_safeAlpha_1 as d_,extendSxProp as da,useThemeProps as db,getValue$4 as dc,Modal as dd,Slide as de,throttle$4 as df,__spreadArray as dg,useSize as dh,default_1$7 as di,NavLink as dj,matchPath as dk,Fade as dl,getTranslation as dm,SessionPermission as dn,NAVIGATION_URL as dp,tslib_es6$1 as dq,loadIcon as dr,createTheme as ds,ThemeProvider as dt,withErrorBoundary as du,omit$1 as dv,upperFirst$2 as dw,RELAY_SOCKET_PREFIX$1 as dx,Grow as dy,PopoverPaper as dz,useNavigate as e,getStoreList as e$,defaultSxConfig as e0,styleFunctionSx$1 as e1,getOverlayAlpha as e2,hslToRgb_1 as e3,THEME_ID as e4,createTypography as e5,createMuiTheme as e6,darken$1 as e7,decomposeColor$1 as e8,duration$2 as e9,hoistStatics as eA,GlobalStyles as eB,slotShouldForwardProp as eC,defaultTheme$2 as eD,objectAssign$1 as eE,React$2 as eF,useTheme$3 as eG,__awaiter as eH,__generator as eI,getTargetElement as eJ,useEventListener as eK,Buffer$3 as eL,browser$1 as eM,get_1 as eN,uniq_1 as eO,pLimit_1 as eP,require$$6 as eQ,require$$0$3 as eR,process$1$1 as eS,lib$1 as eT,lib$4 as eU,lib$2 as eV,urlPathFriendly$1 as eW,cloneDeep_1 as eX,getWebWalletUrl as eY,extractStatusUrlFromNextWorkflow as eZ,hasRequiredSteps$1 as e_,easing as ea,emphasize$1 as eb,getContrastRatio$1 as ec,getLuminance$1 as ed,hexToRgb$1 as ee,hslToRgb$1 as ef,lighten$1 as eg,createMixins as eh,recomposeColor$1 as ei,responsiveFontSizes as ej,rgbToHex$1 as ek,getPaperUtilityClass as el,paperClasses$1 as em,getIconButtonUtilityClass as en,iconButtonClasses as eo,getTypographyUtilityClass as ep,typographyClasses$1 as eq,chipClasses as er,getChipUtilityClass as es,buttonClasses as et,getButtonUtilityClass as eu,getMenuItemUtilityClass as ev,menuItemClasses as ew,getTooltipUtilityClass as ex,tooltipClasses as ey,global$2 as ez,useBrowser as f,hasPropertyDescriptors_1 as f$,_baseOrderBy as f0,isArray_1 as f1,st as f2,parseQuery as f3,useDebounceFn as f4,createRoot as f5,formatRegistryLogoPath as f6,semver$1 as f7,getBlockletLogoUrl as f8,formatMountPoint as f9,APP_PREFIX as fA,hasRequiredSteps as fB,urlEvaluation as fC,_baseIndexOf as fD,_baseToString as fE,_baseTrim as fF,_castSlice as fG,_charsEndIndex as fH,_stringToArray as fI,toString_1 as fJ,shouldCheckDomainStatus as fK,validateDomain as fL,axios_1 as fM,CopyButton as fN,checkIsWildcardDomain as fO,sortDomains as fP,getSystemDomains as fQ,resolveProps as fR,Cookie as fS,getAccessUrl as fT,data$k as fU,useUpdate as fV,tmp as fW,util$8 as fX,shams$1 as fY,callBound$3 as fZ,objectKeys$3 as f_,isNil$1 as fa,flatten$3 as fb,_default as fc,getBlockletMetaUrl as fd,isNewStoreUrl as fe,Check$1 as ff,createPassportSvg$2 as fg,normalizePathPrefix_1 as fh,engine as fi,camelCase$1 as fj,Confirm as fk,getPathPrefix as fl,nested as fm,identity_1 as fn,_baseForOwn as fo,_baseMap as fp,isString_1 as fq,isPlainObject_1 as fr,requireObjectWithoutPropertiesLoose as fs,_inheritsLoose$2 as ft,_assertThisInitialized$1 as fu,ClickToCopy as fv,emphasize_1 as fw,Collapse as fx,axios$1 as fy,isExtracting as fz,getVisitorId$2 as g,isValidClusterSize as g$,defineDataProperty as g0,callBindExports as g1,safeBufferExports as g2,requireBrowser$9 as g3,requireElliptic as g4,requireCryptoBrowserify as g5,ripemd160 as g6,getInviteLink as g7,getIssuePassportLink as g8,getTextColor_1 as g9,omitBy$1 as gA,isEqual$3 as gB,useEffectWithTarget$1 as gC,__values as gD,isString$3 as gE,_setPrototypeOf as gF,filesize as gG,Icon$1 as gH,circularProgressClasses$1 as gI,getCircularProgressUtilityClass as gJ,collapseClasses$1 as gK,getCollapseUtilityClass as gL,boxClasses as gM,getIconUtilityClass as gN,iconClasses$1 as gO,getLinearProgressUtilityClass as gP,linearProgressClasses$1 as gQ,getMenuUtilityClass as gR,menuClasses$1 as gS,require$$1$4 as gT,Check as gU,TransitionGroup as gV,FocusTrap as gW,dialogClasses as gX,assertThisInitialized as gY,reactIsExports as gZ,ReactDOM as g_,isProtectedRole as ga,getChainClient as gb,isRunning as gc,getTransferAppLink as gd,isEqual$1 as ge,getBlockletUrl as gf,getBlockletUrlParams as gg,_copyArray as gh,DidAddressWrapper as gi,copy$1 as gj,setRef as gk,clamp$1 as gl,extractEventHandlers as gm,debounce_1 as gn,noop_1 as go,formatTime as gp,hoistNonReactStatics_cjs as gq,isEqual_1$1 as gr,pick_1$1 as gs,isNil_1 as gt,omit_1 as gu,isAbsoluteUrl$1 as gv,withoutTrailingSlash as gw,isString$1 as gx,isAbsoluteUrl$2 as gy,nanoid as gz,useSecurity as h,trimEnd$1 as h0,normalizePathPrefix$1 as h1,forceReflow as h2,Transition$1 as h3,_isIndex as h4,localizedFormatPlugin as h5,formatLocale as h6,_baseEach as h7,_baseAssignValue as h8,pTimeout$2 as h9,TimeoutError_1 as ha,debounce$3 as hb,merge$2 as hc,uniq$1 as hd,Backdrop as he,isUndefined$2 as i,jsxRuntimeExports as j,useCreation as k,useMemoizedFn as l,useMount as m,CircularProgress as n,API_DID_PREFIX as o,AUTH_SERVICE_PREFIX as p,getMaster as q,reactExports as r,getFederatedEnabled as s,Toast$1 as t,useLocaleContext as u,setSessionToken as v,withQuery as w,setRefreshToken as x,setVisitorId as y,updateConnectedInfo as z};
1287
+ In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isRepeatable",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"locations",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__DirectiveLocation",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"QUERY",description:"Location adjacent to a query operation.",isDeprecated:!1,deprecationReason:null},{name:"MUTATION",description:"Location adjacent to a mutation operation.",isDeprecated:!1,deprecationReason:null},{name:"SUBSCRIPTION",description:"Location adjacent to a subscription operation.",isDeprecated:!1,deprecationReason:null},{name:"FIELD",description:"Location adjacent to a field.",isDeprecated:!1,deprecationReason:null},{name:"FRAGMENT_DEFINITION",description:"Location adjacent to a fragment definition.",isDeprecated:!1,deprecationReason:null},{name:"FRAGMENT_SPREAD",description:"Location adjacent to a fragment spread.",isDeprecated:!1,deprecationReason:null},{name:"INLINE_FRAGMENT",description:"Location adjacent to an inline fragment.",isDeprecated:!1,deprecationReason:null},{name:"VARIABLE_DEFINITION",description:"Location adjacent to a variable definition.",isDeprecated:!1,deprecationReason:null},{name:"SCHEMA",description:"Location adjacent to a schema definition.",isDeprecated:!1,deprecationReason:null},{name:"SCALAR",description:"Location adjacent to a scalar definition.",isDeprecated:!1,deprecationReason:null},{name:"OBJECT",description:"Location adjacent to an object type definition.",isDeprecated:!1,deprecationReason:null},{name:"FIELD_DEFINITION",description:"Location adjacent to a field definition.",isDeprecated:!1,deprecationReason:null},{name:"ARGUMENT_DEFINITION",description:"Location adjacent to an argument definition.",isDeprecated:!1,deprecationReason:null},{name:"INTERFACE",description:"Location adjacent to an interface definition.",isDeprecated:!1,deprecationReason:null},{name:"UNION",description:"Location adjacent to a union definition.",isDeprecated:!1,deprecationReason:null},{name:"ENUM",description:"Location adjacent to an enum definition.",isDeprecated:!1,deprecationReason:null},{name:"ENUM_VALUE",description:"Location adjacent to an enum value definition.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_OBJECT",description:"Location adjacent to an input object type definition.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_FIELD_DEFINITION",description:"Location adjacent to an input object field definition.",isDeprecated:!1,deprecationReason:null}],possibleTypes:null}],directives=[{name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Included when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null}]},{name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Skipped when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null}]},{name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:["FIELD_DEFINITION","ARGUMENT_DEFINITION","INPUT_FIELD_DEFINITION","ENUM_VALUE"],args:[{name:"reason",description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:'"No longer supported"'}]},{name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:["SCALAR"],args:[{name:"url",description:"The URL that specifies the behavior of this scalar.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null}]}],require$$4={queryType,mutationType,subscriptionType,types,directives},BaseClient=dist,schema=require$$4;let ABTNodeClient$1=class extends BaseClient{constructor(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"http://localhost:4000/api",_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const et={dataSource:"forge",httpEndpoint:j,socketEndpoint:()=>this._getSocketEndpoint(j),enableQuery:!0,enableSubscription:!0,enableMutation:!0,maxQueryDepth:6};super(et),this._endpoint=j,this._authToken=null,this._userAgent=_e}setAuthToken(j){this._authToken=j}_getSocketEndpoint(j){let _e=j.replace(/https?:\/\//,"ws://");return j.indexOf("https://")===0&&(_e=_e.replace("ws://","wss://")),"".concat(_e,"/socket")}_getSchema(){return schema}_getIgnoreFields(j){return[]}_getAuthHeaders(){const j={},_e=this._authToken;if(_e){const et=typeof _e=="function"?_e():_e;j.Authorization="Bearer ".concat(encodeURIComponent(et))}if(typeof window<"u"&&typeof window.location<"u"){const{hostname:et,port:nt,protocol:tt}=window.location;j["x-real-hostname"]=et,j["x-real-port"]=nt,j["x-real-protocol"]=tt.endsWith(":")?tt.substring(0,tt.length-1):tt}return this._userAgent&&(j["User-Agent"]=this._userAgent),j}};var base=ABTNodeClient$1;const EventEmitter=eventemitter3Exports,ABTNodeClient=base;class BrowserABTNodeClient extends ABTNodeClient{_getSocketOptions(){return{}}_getEventImplementation(){return EventEmitter}}var browser=BrowserABTNodeClient;const NodeClient=getDefaultExportFromCjs$1(browser),prefix$1=(window.env?window.env.apiPrefix:"/")||"/",client$1=new NodeClient(()=>`${prefix$1}/api/gql?locale=${getLocale()}`.replace(/\/+/g,"/").trim());function useSubscription$1({wsClient:a,event:j,cb:_e=()=>{},deps:et=[]}){reactExports.useEffect(()=>{const nt=a&&(!et.length||et.every(Boolean));return nt&&a.on(j,_e),()=>{nt&&a.off(j,_e)}},et)}let client;function create(){const a=(window.env&&window.env.apiPrefix?window.env.apiPrefix:"/").replace(/\/$/,""),j=`//${window.location.host}${a}/admin`;return new browser$3.WsClient(j,{heartbeatIntervalMs:100*1e3,params:()=>({token:Cookie.get("login_token")})})}function getWsClient(){return client||(client=create()),client}const useSubscription=(a,j=()=>{},_e=[])=>{a=`${window.blocklet.did}/${a}`;const{session:et}=useSessionContext();!client&&et.user&&(client=getWsClient(),client.connect()),useSubscription$1({wsClient:client,event:a,cb:j,deps:_e})};let cache=null;const fetch$1=async()=>{try{return(await api.get(`/dns-resolve?hostname=${window.location.hostname}`)).data.address}catch{return null}},getIp=()=>(cache||(cache=fetch$1()),cache),{Provider:Provider$2,Consumer:Consumer$2}=BlockletContext,getPublicInstance=a=>a&&get$6(a,"settings.publicToStore")?a.settings.publicToStore:!1,parseEndpoint=(a,j)=>{const _e=/^{env\.(.+)}$/.exec(a);if(_e&&_e[1]){const et=((j==null?void 0:j.configs)||[]).find(nt=>nt.key===_e[1]);return!et&&!et.value?"":et.value}return a},getChainConfig=(()=>{const a={endpoint:"",data:{}};return async j=>{if(a.endpoint===j)return a.data;const et=await getChainClient(j).getConfig();return a.endpoint=j,a.data=et,et}})(),{did,appId}=window.env;function BlockletProvider({children:a,mode:j}){var $t;const[_e,et]=reactExports.useState(null),[nt,tt]=reactExports.useState(!1),[ot,ft]=reactExports.useState({}),[dt,mt]=reactExports.useState(),[pt,yt]=reactExports.useState(),[Tt,St]=reactExports.useState(),At=j==="setup",{loading:Ct,loadingDiskInfo:Mt,loadingRuntimeInfo:kt,error:Pt,blocklet:Lt,recommendedDomain:Ft,runtimeHistory:Yt,actions:{refreshBlocklet:jt,refreshDomainStatus:Wt,setBlocklet:sn}}=useBlocklet({did,client:client$1,useSubscription,getIP:getIp,useLocaleContext,getOptionalComponents:!0}),ln=reactExports.useRef(void 0);ln.current=($t=Lt==null?void 0:Lt.meta)==null?void 0:$t.did;const vn=async()=>{try{tt(!0),et(null);const{data:xt}=await api.get("/blocklet/meta");ft(xt),tt(!1)}catch(xt){tt(!1),et(xt),Toast$1.error(xt.message)}},Rt=async({showError:xt=!0}={})=>{var Kt,qt;if(!((qt=(Kt=ot==null?void 0:ot.requirements)==null?void 0:Kt.fuels)!=null&&qt.length))return null;const{endpoint:bt,value:it,address:Et}=ot.requirements.fuels[0],Dt=parseEndpoint(bt,Lt),Nt=it;let Vt=it;const Bt={endpoint:Dt,symbol:"",need:Nt,current:0,owe:Number(Nt)>0};try{const nn=getChainClient(Dt),{config:un}=await getChainConfig(Dt),hn=JSON.parse(un).token;let zt=Et;zt||(zt=hn.address),yt({address:hn.address,symbol:hn.symbol,decimal:hn.decimal});const{getAccountState:{state:Ot},getTokenState:{state:Gt}}=await nn.doBatchQuery({getAccountState:{address:appId},getTokenState:{address:zt}});Gt&&(Bt.symbol=Gt.symbol);const cn=((Ot==null?void 0:Ot.tokens)||[]).find(tn=>tn.address===zt);if(cn){const tn=lib$4.fromTokenToUnit(Nt,cn.decimal||18);Bt.current=lib$4.fromUnitToToken(cn.value,cn.decimal||18),Bt.owe=tn.gt(new lib$4.BN(cn.value)),Vt=Math.max(0,lib$4.fromUnitToToken(tn.sub(new lib$4.BN(cn.value)),cn.decimal||18))}}catch(nn){xt&&Toast$1.error(nn.message)}return mt({...Bt,deficiency:Vt}),Bt},rt=async({configs:xt,childDid:bt})=>(await client$1.configBlocklet({input:{did:[did].concat(bt).filter(Boolean),configs:xt}}),jt()),ut=async xt=>{const{blocklet:bt}=await client$1.updateWhoCanAccess({input:{did:[did],whoCanAccess:xt}});sn(bt)},ct=async xt=>{const{blocklet:bt}=await client$1.configPublicToStore({input:{did,publicToStore:xt}});sn(bt)},ht=async xt=>{const{blocklet:bt}=await client$1.configNavigations({input:{did,navigations:xt}});sn(bt)};reactExports.useEffect(()=>{At&&vn(),jt({showError:!1})},[]),reactExports.useEffect(()=>{var xt;(xt=Lt==null?void 0:Lt.controller)!=null&&xt.launcherSessionId&&client$1.getLauncherSession({input:{launcherSessionId:Lt.controller.launcherSessionId,launcherUrl:Lt.controller.launcherUrl}}).then(bt=>{St(bt.launcherSession)}).catch(bt=>{console.error("get launcher session error",bt)})},[Lt==null?void 0:Lt.appPid]);const vt={loading:nt||Ct,loadingDiskInfo:Mt,loadingRuntimeInfo:kt,error:_e||Pt,blocklet:Lt,launcherSession:Tt,did,recommendedDomain:Ft,runtimeHistory:Yt,appIdList:Lt?util$2.getBlockletAppIdList(Lt):[],env:window.blocklet||{},meta:ot,gas:dt,tokenInfo:pt,getPublicInstance,client:client$1,mode:j,actions:{refreshBlocklet:jt,refreshDomainStatus:Wt,setBlocklet:sn,refreshMeta:vn,refreshFuel:Rt,configBlocklet:rt,configWhoCanAccess:ut,configPublicToStore:ct,configNavigations:ht}};return jsxRuntimeExports.jsx(Provider$2,{value:vt,children:a})}BlockletProvider.propTypes={children:PropTypes.any,mode:PropTypes.oneOf(["dashboard","setup"]).isRequired};BlockletProvider.defaultProps={children:null};function useBlockletContext(){return reactExports.useContext(BlockletContext)}const NodeContext=reactExports.createContext({});function useNodeContext$1(){const{node:a}=reactExports.useContext(NodeContext);return{...a,inService:a.type==="service",inDaemon:a.type==="daemon"}}const{Provider:Provider$1,Consumer:Consumer$1}=NodeContext,imgPrefix=`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/static/images`;function NodeProvider({children:a}){const{serverDid:j,serverVersion:_e,mode:et,nftDomainUrl:nt,ownerNft:tt,launcher:ot}=window.env,ft={api:client$1,restApi:api,prefix:constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,imgPrefix,getSessionInHeader:()=>({}),ws:{getWsClient,create,useSubscription},type:"service",info:{did:j,version:_e,mode:et,nftDomainUrl:nt,ownerNft:tt,launcher:ot}};return jsxRuntimeExports.jsx(Provider$1,{value:{node:ft},children:a})}function useNodeContext(){const{node:a}=reactExports.useContext(NodeContext);return a}const NotificationContext=reactExports.createContext({}),{Provider,Consumer}=NotificationContext;function NotificationProvider({children:a}){const{did:j}=window.env,[_e,et]=reactExports.useState([]),[nt,tt]=reactExports.useState({total:0,pageSize:10,pageCount:0,page:1}),[ot,ft]=reactExports.useState(!1),dt=async({page:pt=1}={})=>{if(!ot){ft(!0);try{const yt=await client$1.getBlockletNotifications({input:{paging:{page:pt},teamDid:j}});et(yt.list),tt(yt.paging),ft(!1)}catch(yt){Toast$1.error(yt.message),ft(!1)}}};reactExports.useEffect(()=>{dt()},[]),useSubscription(constant$3.EVENTS.NOTIFICATION_BLOCKLET_CREATE,pt=>{et(yt=>[pt,...yt||[]])});const mt={loading:ot,refresh:dt,data:_e||[],paging:nt,api:client$1};return jsxRuntimeExports.jsx(Provider,{value:{notifications:mt},children:a})}function useNotificationContext(){const{notifications:a}=reactExports.useContext(NotificationContext);return a}const UserLogin=reactExports.lazy(()=>__vitePreload(()=>import("./login-juMWHvtW.js"),__vite__mapDeps([0,1,2]))),UserLoginOAuthCallback=reactExports.lazy(()=>__vitePreload(()=>import("./login-oauth-callback-_A65YhiH.js"),__vite__mapDeps([3,4,5,6]))),Connect=reactExports.lazy(()=>__vitePreload(()=>import("./connect-D07YGJkK.js"),__vite__mapDeps([7,8,1,9,10]))),ExchangePassport=reactExports.lazy(()=>__vitePreload(()=>import("./exchange-passport--fiEF2lu.js"),__vite__mapDeps([11,9,10,12]))),IssuePassport=reactExports.lazy(()=>__vitePreload(()=>import("./issue-passport-CCZaXyql.js"),__vite__mapDeps([13,14,15,1,16,17,18,12]))),LostPassport=reactExports.lazy(()=>__vitePreload(()=>import("./lost-passport-BkiX_vW7.js"),__vite__mapDeps([19,18,20,21,22,10,12,1,23,6,24]))),Start=reactExports.lazy(()=>__vitePreload(()=>import("./start-pnT_BQvG.js"),__vite__mapDeps([25,26,27,22,10,28,29,30,31]))),Setup=reactExports.lazy(()=>__vitePreload(()=>import("./setup-WlrDU92w.js"),__vite__mapDeps([32,33,34,8,35,36,37,38,29,30,31,28]))),Invite=reactExports.lazy(()=>__vitePreload(()=>import("./invite-um-OhXL2.js"),__vite__mapDeps([39,14,15,1,16,17,18,12]))),Transfer=reactExports.lazy(()=>__vitePreload(()=>import("./transfer-BPGSieyR.js"),__vite__mapDeps([40,18,29,30,31]))),Dashboard=reactExports.lazy(()=>__vitePreload(()=>import("./dashboard-BeSQUyuf.js").then(a=>a.m),__vite__mapDeps([41,42,43,44,45,46,5,6,47,26,48,49,50,51,52,53,23,16,54,55,56,10,57,4,58,59,38,60,30]))),UserCenter=reactExports.lazy(()=>__vitePreload(()=>import("./user-center-B6VeBSYd.js"),__vite__mapDeps([61,62,4,58,59,38,60,44,30,63,23,6,64,65,66,67,10,42,68,69,70,51,52,8,71,72,73,74,75,5,76,77,78,79,80,53,48,81,82,83,84,47]))),StudioHome=reactExports.lazy(()=>__vitePreload(()=>import("./home-C1E0r4u0.js"),__vite__mapDeps([85,86,58,59,38,4]))),StudioPreferences=reactExports.lazy(()=>__vitePreload(()=>import("./preferences-Td5o-d6-.js"),__vite__mapDeps([87,88,86,58,59,38,4]))),StudioLocalization=reactExports.lazy(()=>__vitePreload(()=>import("./localization-C8kIKwrb.js"),__vite__mapDeps([89,86,58,59,38,4]))),AddResource=reactExports.lazy(()=>__vitePreload(()=>import("./add-resource-2dxnZcDy.js"),__vite__mapDeps([90,91,92,33,34,8,35,36,37,38,93,94,95,69,96,97,98,99,21,100,73,72,52,74,71,101,102,51,103,104,16,22,10,24,46,5,6,105,106,44,107,108,109,110,45,23,49,111,80,48,112,113,114,66,115,63,116,117,43,4,68,84,70,75,118,119]))),Publish=reactExports.lazy(()=>__vitePreload(()=>import("./publish-resource-WQmyUOcm.js"),__vite__mapDeps([120,121,106,122,47,27,77,78,79,80,51,52,72,53,74,48,71,73,42,81,59,82,83,84,68,44,56,45,46,5,6,16,22,10,123,23,110,124,31,57,97,125,35,8,63,65,126,108,105,107,21,109,49,111,117,75,70,101,102,127,24,50]))),NotFoundPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-Bup-bUaa.js"),[])),Unsubscribe=reactExports.lazy(()=>__vitePreload(()=>import("./unsubscribe-CLOTSJNJ.js"),[])),OpenWindow=reactExports.lazy(()=>__vitePreload(()=>import("./open-window-DvlHyaGG.js"),[]));function App(){var et;const a=useLocation(),{t:j}=useLocaleContext();reactExports.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${a.pathname}${a.search}`)},[a]);const _e=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(HelmetExport,{children:jsxRuntimeExports.jsx("title",{children:j("pageTitle.dashboard")})}),jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:_e,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/open-window`,element:jsxRuntimeExports.jsx(OpenWindow,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:jsxRuntimeExports.jsx(LostPassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:jsxRuntimeExports.jsx(IssuePassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/login`,element:jsxRuntimeExports.jsx(UserLogin,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/oauth/callback/:provider`,element:jsxRuntimeExports.jsx(UserLoginOAuthCallback,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/connect`,element:jsxRuntimeExports.jsx(Connect,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:jsxRuntimeExports.jsx(ExchangePassport,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:jsxRuntimeExports.jsx(Invite,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/transfer`,element:jsxRuntimeExports.jsx(Transfer,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/home`,element:jsxRuntimeExports.jsx(StudioHome,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/preferences`,element:jsxRuntimeExports.jsx(StudioPreferences,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/localization`,element:jsxRuntimeExports.jsx(StudioLocalization,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/start`,element:jsxRuntimeExports.jsx(AuthProvider,{children:jsxRuntimeExports.jsx(Start,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/setup/*`,element:jsxRuntimeExports.jsx(BlockletProvider,{mode:"setup",children:jsxRuntimeExports.jsx(Setup,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user/unsubscribe`,element:jsxRuntimeExports.jsx(Unsubscribe,{})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user/:tab`,element:jsxRuntimeExports.jsx(AuthProvider,{roles:["*"],children:jsxRuntimeExports.jsx(UserCenter,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user`,element:jsxRuntimeExports.jsx(AuthProvider,{roles:["*"],children:jsxRuntimeExports.jsx(UserCenter,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/:tab/*`,element:jsxRuntimeExports.jsx(NodeProvider,{children:jsxRuntimeExports.jsx(NotificationProvider,{children:jsxRuntimeExports.jsx(AuthProvider,{roles:["owner","admin","member"],children:jsxRuntimeExports.jsx(BlockletProvider,{mode:"dashboard",children:jsxRuntimeExports.jsx(Dashboard,{})})})})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin`,element:jsxRuntimeExports.jsx(Navigate,{to:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/overview`,replace:!0})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/embed/resources/:componentDid/*`,element:jsxRuntimeExports.jsx(NodeProvider,{children:jsxRuntimeExports.jsx(AuthProvider,{roles:((et=window.blocklet)==null?void 0:et.tenantMode)===constant$2.BLOCKLET_TENANT_MODES.MULTIPLE?["owner","admin","guest"]:["owner","admin"],children:jsxRuntimeExports.jsx(BlockletProvider,{mode:"dashboard",children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:"add",element:jsxRuntimeExports.jsx(AddResource,{})}),jsxRuntimeExports.jsx(Route,{path:"publish/*",element:jsxRuntimeExports.jsx(Publish,{})}),jsxRuntimeExports.jsx(Route,{path:"*",element:jsxRuntimeExports.jsx(NotFoundPage,{})})]})})})})})]})})]})}function AppWrapper(){return jsxRuntimeExports.jsx(BrowserRouter,{basename:PREFIX,children:jsxRuntimeExports.jsx(Root$1,{children:jsxRuntimeExports.jsx(App,{})})})}const root=createRoot(document.getElementById("app"));root.render(jsxRuntimeExports.jsx(AppWrapper,{}));const prefix=constant$3.WELLKNOWN_SERVICE_PATH_PREFIX;{async function a(){const{register:j}=await __vitePreload(async()=>{const{register:_e}=await import("./index-DTEEl-sV.js");return{register:_e}},[]);j(`${prefix}/service-worker.js`.replace(/\/+/g,"/"),{registered(){console.info("Service worker has been registered.")},ready(){console.info("Service worker is active.")},cached(){console.info("Content has been cached for offline use.")},updatefound(){console.info("New content is downloading.")},updated(){console.info("New content is available; please refresh.")},offline(){console.info("No internet connection found. App is running in offline mode.")},error(_e){console.error("Error during service worker registration:",_e)}})}a()}export{interopRequireDefaultExports as $,AvatarWithErrorBoundary as A,Box as B,Center as C,DID as D,default_1$3 as E,useSearchParams as F,constant$3 as G,HelmetExport as H,Container$1 as I,PoweredBy as J,DidConnect as K,Link as L,getWebWalletUrl$1 as M,getDIDColor as N,colors$1 as O,PropTypes as P,useReactive as Q,ResultWrapper as R,SessionContext as S,Typography as T,useRequest as U,createPassportSvg as V,isNumber$2 as W,useLatest as X,defaultDayjs as Y,requireCreateSvgIcon as Z,__read as _,Tooltip as a,_SetCache as a$,newStyled as a0,useMediaQuery as a1,LocaleContext as a2,ButtonComponent as a3,__vitePreload as a4,isFunction$8 as a5,api as a6,client$1 as a7,getManageSubscriptionURL as a8,util$2 as a9,en$1 as aA,LocaleProvider as aB,useLocation as aC,IconButton as aD,SessionUser as aE,generateUtilityClasses as aF,generateUtilityClass as aG,styled$1 as aH,capitalize$3 as aI,useDefaultProps as aJ,_objectWithoutPropertiesLoose$1 as aK,_extends$2 as aL,useSlotProps as aM,clsx$1 as aN,composeClasses as aO,ListContext as aP,useNodeContext$1 as aQ,isDownloading as aR,Menu as aS,Divider as aT,MenuItem as aU,getServerUrl as aV,sleep as aW,getLogoHash as aX,isInstalling as aY,useBlockletContext$1 as aZ,getWalletType as a_,Global as aa,constant$2 as ab,isSuspended as ac,Img as ad,isSuspendedByExpired as ae,isSuspendedByTerminated as af,formatToDatetime as ag,calculateRetentionDate as ah,css as ai,Paper as aj,useTheme$1 as ak,useBlockletContext as al,getFromQuery as am,saveServerUrl as an,hasRequiredEnvironments as ao,PREFIX as ap,NodeProvider as aq,Routes as ar,Route as as,Navigate as at,createSvgIcon$1 as au,Dialog as av,formatDateTime as aw,getExplorerLink as ax,patchJsxToLocale as ay,be as az,Button$1 as b,sleep$3 as b$,_arrayMap as b0,_baseUnary as b1,_arrayIncludes as b2,_arrayIncludesWith as b3,_cacheHas as b4,_baseFlatten as b5,_baseUniq as b6,_baseRest as b7,getDefaultExportFromCjs$1 as b8,_arrayFilter as b9,__assign as bA,lib as bB,AUTH_SERVICE_PREFIX$1 as bC,SessionContext$1 as bD,noop$7 as bE,Icon as bF,data$5 as bG,isEmpty$1 as bH,translate as bI,LOGIN_PROVIDER_NAME as bJ,data$j as bK,RelativeTime as bL,PASSPORT_STATUS as bM,data$a as bN,data$r as bO,getWalletDid$1 as bP,useConfirm as bQ,OAUTH_PROVIDER as bR,LOGIN_PROVIDER$1 as bS,data$f as bT,data$e as bU,data$d as bV,pick$2 as bW,useAsyncEffect as bX,getConnectedAccounts$1 as bY,getSourceProvider$1 as bZ,LinearProgress as b_,last_1 as ba,isArrayLikeObject_1 as bb,hasOwn$8 as bc,Emotion$1 as bd,createEmotionProps as be,getSubscriptionUrlV2 as bf,Chip as bg,dayjs$1 as bh,formatPrettyMsLocale as bi,Popover as bj,formatToDate as bk,List as bl,BlockletAdminRoles as bm,Popper as bn,ClickAwayListener as bo,useNotificationContext as bp,useNodeContext as bq,ErrorBoundary as br,isServerless as bs,colors$2 as bt,styled as bu,mergeProps as bv,useSubscription as bw,getWsClient as bx,useParams as by,isFunction$3 as bz,joinURL as c,rootShouldForwardProp as c$,getQuery as c0,pWaitFor$1 as c1,cloneDeep$1 as c2,useUpdateEffect as c3,axios$4 as c4,useUnmount as c5,util$4 as c6,Card as c7,CardHeader as c8,CardContent as c9,StyledEngineProvider as cA,ThemeProvider$1 as cB,ThemeProvider$4 as cC,getThemeProps$1 as cD,useEnhancedEffect$1 as cE,keyframes as cF,getUnit as cG,toUnitless as cH,alpha$1 as cI,ButtonBase as cJ,debounce$5 as cK,ownerWindow as cL,useRtl as cM,useEventCallback$1 as cN,ownerDocument as cO,isMuiElement as cP,isHostComponent as cQ,useTheme$2 as cR,DialogTitle as cS,DialogContent as cT,DialogActions as cU,Dialog$1 as cV,getListItemIconUtilityClass as cW,listItemTextClasses as cX,getListItemTextUtilityClass as cY,ButtonGroupContext as cZ,ButtonGroupButtonContext as c_,CardActions as ca,o as cb,red as cc,darken_1 as cd,lighten_1 as ce,resolveComponentProps as cf,mergeSlotProps as cg,useForkRef as ch,appendOwnerState as ci,getPath$1 as cj,alpha_1 as ck,useIsFocusVisible as cl,BlockletSDK as cm,SvgIcon as cn,MenuList as co,getColor as cp,getBackground as cq,propTypesExports as cr,lodashExports as cs,commonjsRequire as ct,getAugmentedNamespace as cu,commonjsGlobal as cv,get$6 as cw,default_1$5 as cx,create$3 as cy,isObject$p as cz,useSessionContext as d,private_safeColorChannel_1 as d$,createChainedFunction$1 as d0,useControlled as d1,useId as d2,createTheme$3 as d3,styled$2 as d4,handleBreakpoints as d5,resolveBreakpointValues as d6,createUnarySpacing as d7,deepmerge$1 as d8,mergeBreakpointsInOrder as d9,PopoverRoot as dA,getOffsetLeft as dB,getOffsetTop as dC,getPopoverUtilityClass as dD,popoverClasses as dE,emotionSerialize_esm as dF,emotionUtils_browser_esm as dG,emotionCache_browser_esm as dH,emotionReact_browser_esm as dI,reactDomExports as dJ,Close as dK,_baseIteratee as dL,isArrayLike_1 as dM,keys_1 as dN,_baseFindIndex as dO,toInteger_1 as dP,sortBy$1 as dQ,formatMuiErrorMessage$1 as dR,GlobalStyles$2 as dS,ThemeProvider$2 as dT,createSpacing as dU,createBreakpoints as dV,createTheme$1 as dW,private_safeDarken_1 as dX,private_safeLighten_1 as dY,private_safeEmphasize_1 as dZ,private_safeAlpha_1 as d_,extendSxProp as da,useThemeProps as db,getValue$4 as dc,Modal as dd,Slide as de,throttle$4 as df,__spreadArray as dg,useSize as dh,default_1$7 as di,NavLink as dj,matchPath as dk,Fade as dl,getTranslation as dm,SessionPermission as dn,NAVIGATION_URL as dp,tslib_es6$1 as dq,loadIcon as dr,createTheme as ds,ThemeProvider as dt,withErrorBoundary as du,omit$1 as dv,upperFirst$2 as dw,RELAY_SOCKET_PREFIX$1 as dx,Grow as dy,PopoverPaper as dz,useNavigate as e,getStoreList as e$,defaultSxConfig as e0,styleFunctionSx$1 as e1,getOverlayAlpha as e2,hslToRgb_1 as e3,THEME_ID as e4,createTypography as e5,createMuiTheme as e6,darken$1 as e7,decomposeColor$1 as e8,duration$2 as e9,hoistStatics as eA,GlobalStyles as eB,slotShouldForwardProp as eC,defaultTheme$2 as eD,objectAssign$1 as eE,React$2 as eF,useTheme$3 as eG,__awaiter as eH,__generator as eI,getTargetElement as eJ,useEventListener as eK,Buffer$3 as eL,browser$1 as eM,get_1 as eN,uniq_1 as eO,pLimit_1 as eP,require$$6 as eQ,require$$0$3 as eR,process$1$1 as eS,lib$1 as eT,lib$4 as eU,lib$2 as eV,urlPathFriendly$1 as eW,cloneDeep_1 as eX,getWebWalletUrl as eY,extractStatusUrlFromNextWorkflow as eZ,hasRequiredSteps$1 as e_,easing as ea,emphasize$1 as eb,getContrastRatio$1 as ec,getLuminance$1 as ed,hexToRgb$1 as ee,hslToRgb$1 as ef,lighten$1 as eg,createMixins as eh,recomposeColor$1 as ei,responsiveFontSizes as ej,rgbToHex$1 as ek,getPaperUtilityClass as el,paperClasses$1 as em,getIconButtonUtilityClass as en,iconButtonClasses as eo,getTypographyUtilityClass as ep,typographyClasses$1 as eq,chipClasses as er,getChipUtilityClass as es,buttonClasses as et,getButtonUtilityClass as eu,getMenuItemUtilityClass as ev,menuItemClasses as ew,getTooltipUtilityClass as ex,tooltipClasses as ey,global$2 as ez,useBrowser as f,hasPropertyDescriptors_1 as f$,_baseOrderBy as f0,isArray_1 as f1,st as f2,parseQuery as f3,useDebounceFn as f4,createRoot as f5,formatRegistryLogoPath as f6,semver$1 as f7,getBlockletLogoUrl as f8,formatMountPoint as f9,APP_PREFIX as fA,hasRequiredSteps as fB,urlEvaluation as fC,_baseIndexOf as fD,_baseToString as fE,_baseTrim as fF,_castSlice as fG,_charsEndIndex as fH,_stringToArray as fI,toString_1 as fJ,shouldCheckDomainStatus as fK,validateDomain as fL,axios_1 as fM,CopyButton as fN,checkIsWildcardDomain as fO,sortDomains as fP,getSystemDomains as fQ,resolveProps as fR,Cookie as fS,getAccessUrl as fT,data$k as fU,useUpdate as fV,tmp as fW,util$8 as fX,shams$1 as fY,callBound$3 as fZ,objectKeys$3 as f_,isNil$1 as fa,flatten$3 as fb,_default as fc,getBlockletMetaUrl as fd,isNewStoreUrl as fe,Check$1 as ff,createPassportSvg$2 as fg,normalizePathPrefix_1 as fh,engine as fi,camelCase$1 as fj,Confirm as fk,getPathPrefix as fl,nested as fm,identity_1 as fn,_baseForOwn as fo,_baseMap as fp,isString_1 as fq,isPlainObject_1 as fr,requireObjectWithoutPropertiesLoose as fs,_inheritsLoose$2 as ft,_assertThisInitialized$1 as fu,ClickToCopy as fv,emphasize_1 as fw,Collapse as fx,axios$1 as fy,isExtracting as fz,getVisitorId$2 as g,isValidClusterSize as g$,defineDataProperty as g0,callBindExports as g1,safeBufferExports as g2,requireBrowser$9 as g3,requireElliptic as g4,requireCryptoBrowserify as g5,ripemd160 as g6,getInviteLink as g7,getIssuePassportLink as g8,getTextColor_1 as g9,omitBy$1 as gA,isEqual$3 as gB,useEffectWithTarget$1 as gC,__values as gD,isString$3 as gE,_setPrototypeOf as gF,filesize as gG,Icon$1 as gH,circularProgressClasses$1 as gI,getCircularProgressUtilityClass as gJ,collapseClasses$1 as gK,getCollapseUtilityClass as gL,boxClasses as gM,getIconUtilityClass as gN,iconClasses$1 as gO,getLinearProgressUtilityClass as gP,linearProgressClasses$1 as gQ,getMenuUtilityClass as gR,menuClasses$1 as gS,require$$1$4 as gT,Check as gU,TransitionGroup as gV,FocusTrap as gW,dialogClasses as gX,assertThisInitialized as gY,reactIsExports as gZ,ReactDOM as g_,isProtectedRole as ga,getChainClient as gb,isRunning as gc,getTransferAppLink as gd,isEqual$1 as ge,getBlockletUrl as gf,getBlockletUrlParams as gg,_copyArray as gh,DidAddressWrapper as gi,copy$1 as gj,setRef as gk,clamp$1 as gl,extractEventHandlers as gm,debounce_1 as gn,noop_1 as go,formatTime as gp,hoistNonReactStatics_cjs as gq,isEqual_1$1 as gr,pick_1$1 as gs,isNil_1 as gt,omit_1 as gu,isAbsoluteUrl$1 as gv,withoutTrailingSlash as gw,isString$1 as gx,isAbsoluteUrl$2 as gy,nanoid as gz,useSecurity as h,trimEnd$1 as h0,normalizePathPrefix$1 as h1,forceReflow as h2,Transition$1 as h3,_isIndex as h4,localizedFormatPlugin as h5,formatLocale as h6,_baseEach as h7,_baseAssignValue as h8,pTimeout$2 as h9,TimeoutError_1 as ha,debounce$3 as hb,merge$2 as hc,uniq$1 as hd,Backdrop as he,isUndefined$2 as i,jsxRuntimeExports as j,useCreation as k,useMemoizedFn as l,useMount as m,CircularProgress as n,API_DID_PREFIX as o,AUTH_SERVICE_PREFIX as p,getMaster as q,reactExports as r,getFederatedEnabled as s,Toast$1 as t,useLocaleContext as u,setSessionToken as v,withQuery as w,setRefreshToken as x,setVisitorId as y,updateConnectedInfo as z};