@abtnode/blocklet-services 1.16.23-beta-035db744 → 1.16.23-beta-05595041

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 (178) hide show
  1. package/dist/assets/{Add-wAhT997v.js → Add-PbrfIglX.js} +1 -1
  2. package/dist/assets/{Avatar-FfLDTS1T.js → Avatar-0mnlDngj.js} +1 -1
  3. package/dist/assets/Box-7LEdnI38.js +1 -0
  4. package/dist/assets/Box-LsJeQwXg.js +1 -0
  5. package/dist/assets/{Button-RbtuWDeR.js → Button-UWxUBw0F.js} +1 -1
  6. package/dist/assets/{ButtonBase-TSoPFIBe.js → ButtonBase-H7x_UjVI.js} +1 -1
  7. package/dist/assets/{ButtonBase-WWn27IPV.js → ButtonBase-R_HNx85o.js} +1 -1
  8. package/dist/assets/{CardContent-JgOQSc2A.js → CardContent-TotRqtzi.js} +1 -1
  9. package/dist/assets/{CheckCircle-lrVCqf2n.js → CheckCircle-T4zw645B.js} +1 -1
  10. package/dist/assets/{Checkbox-hUFDjNSc.js → Checkbox-SimGZSme.js} +1 -1
  11. package/dist/assets/{ChevronLeft-xvl64PGZ.js → ChevronLeft-qOImzAZn.js} +1 -1
  12. package/dist/assets/{ChevronRight-wrcW9iQD.js → ChevronRight-o6xRpzgx.js} +1 -1
  13. package/dist/assets/{Chip-7KtYmZN9.js → Chip-N-PHUPle.js} +1 -1
  14. package/dist/assets/{CircularProgress-Q4pselFx.js → CircularProgress-IYKPs-No.js} +1 -1
  15. package/dist/assets/{Close-SFAKpp5f.js → Close-2QMhaIaY.js} +1 -1
  16. package/dist/assets/{Collapse-B9GV1Oit.js → Collapse-pcfmaKcV.js} +1 -1
  17. package/dist/assets/{DeleteOutline-bqcRHaFk.js → DeleteOutline-iM2EXaRZ.js} +1 -1
  18. package/dist/assets/{Done-Rmbh35pz.js → Done-Kb7d7URr.js} +1 -1
  19. package/dist/assets/{Download-ubfkvcSA.js → Download-_PFXMHAF.js} +1 -1
  20. package/dist/assets/{Edit-13YG9S_C.js → Edit-MxLJ0n2G.js} +1 -1
  21. package/dist/assets/{EditIcon-BFyZg_Io.js → EditIcon-dlm0J4jp.js} +1 -1
  22. package/dist/assets/{ExpandMore-BaF2rZER.js → ExpandMore-JR_SeuMZ.js} +1 -1
  23. package/dist/assets/{ExpandMore-KT3Riu-V.js → ExpandMore-oz7bzWdf.js} +1 -1
  24. package/dist/assets/{FilterList-A3lP9lXN.js → FilterList-Z_-abHcN.js} +1 -1
  25. package/dist/assets/{Google-cGngGIlT.js → Google-V6SSoeJE.js} +1 -1
  26. package/dist/assets/{Grid-Ja7ckZan.js → Grid-9cS5hKbb.js} +1 -1
  27. package/dist/assets/{Grid-lKrAKrf2.js → Grid-HN2iRA2b.js} +1 -1
  28. package/dist/assets/{Hidden-epK0WlDg.js → Hidden-cVynEa3Q.js} +1 -1
  29. package/dist/assets/{IconButton-Bw_740x8.js → IconButton-5PkNfdIA.js} +1 -1
  30. package/dist/assets/{IconButton-2kDl8ha3.js → IconButton-ycLLnX1E.js} +1 -1
  31. package/dist/assets/{InfoOutlined-ZQ0Ss7Qq.js → InfoOutlined-ltojzKZE.js} +1 -1
  32. package/dist/assets/{InputAdornment-gVGmth-c.js → InputAdornment-7oeMif8t.js} +1 -1
  33. package/dist/assets/{InputAdornment-JJseDebg.js → InputAdornment-hedgJE3a.js} +1 -1
  34. package/dist/assets/{InputLabel-E4gynfPT.js → InputLabel-CUjYuAg5.js} +1 -1
  35. package/dist/assets/{Launch-0UyPzd-q.js → Launch-axvN_Taf.js} +1 -1
  36. package/dist/assets/{Link-qhTRVvm5.js → Link-2WrsBuCk.js} +1 -1
  37. package/dist/assets/{Link-QmOupva0.js → Link-3Y1mMiqI.js} +1 -1
  38. package/dist/assets/{ListItem-cxnU28E5.js → ListItem-CrO1ceyg.js} +1 -1
  39. package/dist/assets/{ListItemText-3DGsMIsc.js → ListItemText-LZXPXqVl.js} +1 -1
  40. package/dist/assets/{LockIcon-ScNYb_CL.js → LockIcon-_WR7-WDG.js} +1 -1
  41. package/dist/assets/{Loop-jlraOZ0y.js → Loop-H94jagWB.js} +1 -1
  42. package/dist/assets/{OpenInNew-QAO3RVjc.js → OpenInNew-KP205CGR.js} +1 -1
  43. package/dist/assets/{Pagination-cc9vbiQH.js → Pagination-n6J3crBe.js} +1 -1
  44. package/dist/assets/{Paper-kKqGsJ2_.js → Paper-b14qqKuL.js} +1 -1
  45. package/dist/assets/{RevokeIcon-qytdNGtr.js → RevokeIcon-n5Ut8zNI.js} +1 -1
  46. package/dist/assets/{Search-NO0Vj1Jx.js → Search-3IHDBhOz.js} +1 -1
  47. package/dist/assets/{Search-OMtIqcCB.js → Search-ZzWb4uR7.js} +1 -1
  48. package/dist/assets/{Select-CLqvWhqc.js → Select-Vlb0TrlR.js} +1 -1
  49. package/dist/assets/{ServerLogo-S3ffHW5K.js → ServerLogo-7f8ily1A.js} +1 -1
  50. package/dist/assets/{Skeleton-kWPBv3hN.js → Skeleton-HSMSnzDi.js} +1 -1
  51. package/dist/assets/{StepLabel-xaoyvbWL.js → StepLabel-fbdhNtLd.js} +1 -1
  52. package/dist/assets/{TextField-yFSUKkfQ.js → TextField-Q2HyiRNh.js} +1 -1
  53. package/dist/assets/{TextField-w62Tj_bv.js → TextField-bPodhlTR.js} +1 -1
  54. package/dist/assets/{Toolbar-p2Rw9VP_.js → Toolbar-_VI1Zy_D.js} +1 -1
  55. package/dist/assets/{Tooltip-a9pLijAX.js → Tooltip-b_PtEAMf.js} +1 -1
  56. package/dist/assets/{Typography-tvdIv5ZI.js → Typography-fZEluC8L.js} +1 -1
  57. package/dist/assets/{Typography-4MXIXIgI.js → Typography-pvp9ApDi.js} +1 -1
  58. package/dist/assets/{access-control-pMbwueld.js → access-control-WeqFqd6d.js} +1 -1
  59. package/dist/assets/{actions-d6S2vs_m.js → actions-q2CHYAT-.js} +1 -1
  60. package/dist/assets/{add-component-core-Ixi2anfP.js → add-component-core-e2tRdrTG.js} +51 -51
  61. package/dist/assets/add-resource-oOCH0e9X.js +1 -0
  62. package/dist/assets/{addon-jQ_lW5VA.js → addon-N61kc3Py.js} +1 -1
  63. package/dist/assets/{analytics-FnaWc0o9.js → analytics-mgNScUoA.js} +1 -1
  64. package/dist/assets/api-JEI74KZE.js +1 -0
  65. package/dist/assets/{audit-logs-dvdWU6So.js → audit-logs-jG_K7Xaw.js} +1 -1
  66. package/dist/assets/{button-GVcV-kDi.js → button-uhaZFxn1.js} +1 -1
  67. package/dist/assets/{click-to-copy-0upUV1g8.js → click-to-copy-8aM8i6IS.js} +1 -1
  68. package/dist/assets/{complete-jMtkQCKD.js → complete-VfFjMk3y.js} +1 -1
  69. package/dist/assets/{component-CWQe0NKu.js → component-Pur3eTN6.js} +1 -1
  70. package/dist/assets/{config-1ig6XAhh.js → config-LTyBMdtz.js} +1 -1
  71. package/dist/assets/{config-ne8Y3LYs.js → config-gtsqMJwB.js} +1 -1
  72. package/dist/assets/{config-navigation-0_7bDd95.js → config-navigation-AN2UQNtN.js} +1 -1
  73. package/dist/assets/{config-space-KB8DhRe0.js → config-space-eZlnN090.js} +1 -1
  74. package/dist/assets/{confirm-Tyae6_Zc.js → confirm-O7kH5Jpq.js} +1 -1
  75. package/dist/assets/{connect-1QIaxGG0.js → connect-HE8xsy1_.js} +1 -1
  76. package/dist/assets/{connect-5SX-6mUN.js → connect-b3J6gLrc.js} +1 -1
  77. package/dist/assets/{connect-to-wW4QpEKP.js → connect-to-MesD9Cmh.js} +1 -1
  78. package/dist/assets/{content-layout-3EgufeDh.js → content-layout-vDpiI008.js} +1 -1
  79. package/dist/assets/{createStack-jceJWRju.js → createStack-WA-Mhc_6.js} +1 -1
  80. package/dist/assets/{createSvgIcon-tFt1ryL0.js → createSvgIcon-8UVrdVBy.js} +1 -1
  81. package/dist/assets/{createSvgIcon-TtyKAxsD.js → createSvgIcon-S3Fzn-08.js} +1 -1
  82. package/dist/assets/{dashboard-XUsTUl6m.js → dashboard-H5Eju0FJ.js} +3 -3
  83. package/dist/assets/{did-address-3FoRRVKx.js → did-address-gqKpuvUb.js} +1 -1
  84. package/dist/assets/{domain-list-uKO7uNWW.js → domain-list-hm1A7GY1.js} +1 -1
  85. package/dist/assets/{domain-Ou4FCB7Q.js → domain-qqBSK9HX.js} +1 -1
  86. package/dist/assets/{exchange-passport-X9HNXxpJ.js → exchange-passport-WtR8Xw4M.js} +1 -1
  87. package/dist/assets/{fallback-79zmcfbz.js → fallback-GwGezARo.js} +1 -1
  88. package/dist/assets/{formControlState-3f1dynOx.js → formControlState-NS1XaxDJ.js} +1 -1
  89. package/dist/assets/{fuel-NHW2abk6.js → fuel-SytZlHvV.js} +1 -1
  90. package/dist/assets/{fullpage-gUYOsR-B.js → fullpage-O8LU-Qxx.js} +1 -1
  91. package/dist/assets/home-2lOJL0GM.js +1 -0
  92. package/dist/assets/{iframe-f6hNs76Z.js → iframe-i-LZ_njm.js} +1 -1
  93. package/dist/assets/{index-k2zXVcXF.js → index-2OWBQAFN.js} +1 -1
  94. package/dist/assets/{index-jhy8ISuP.js → index-60QunT3p.js} +3 -3
  95. package/dist/assets/{index-575yCkwl.js → index-8pqdxGf0.js} +1 -1
  96. package/dist/assets/{index-ELElcEqG.js → index-A6Elwb43.js} +1 -1
  97. package/dist/assets/{index-yQZH21L_.js → index-L2EUMaEh.js} +1 -1
  98. package/dist/assets/{index-dEtDHC5_.js → index-MJuw_OlQ.js} +1 -1
  99. package/dist/assets/{index-cC16saNb.js → index-Mif6Y2Xg.js} +1 -1
  100. package/dist/assets/{index-Dgm_SdZp.js → index-S8e-62dt.js} +1 -1
  101. package/dist/assets/{index-Z2TAkC1I.js → index-SHTUNNxJ.js} +1 -1
  102. package/dist/assets/{index-Wd4YrnM9.js → index-TNizfaha.js} +3 -3
  103. package/dist/assets/{index-xk-W3y0O.js → index-YH32365Q.js} +1 -1
  104. package/dist/assets/{index-eiTVXDI8.js → index-Z-N-bzZS.js} +1 -1
  105. package/dist/assets/{index-dO0N2FSj.js → index-ZK4UCwUb.js} +1 -1
  106. package/dist/assets/{index-2x3nG07a.js → index-_MptBGQj.js} +3 -3
  107. package/dist/assets/{index-ac-7VxTm.js → index-_Y3IpMzc.js} +1 -1
  108. package/dist/assets/{index-jzY_5Mpt.js → index-_enOkBiE.js} +1 -1
  109. package/dist/assets/{index-ZibHxXIb.js → index-_krFP4fv.js} +1 -1
  110. package/dist/assets/{index-ja_Ipmzw.js → index-aQkdsRop.js} +1 -1
  111. package/dist/assets/{index-gaKMaa0N.js → index-aTt23vq9.js} +1 -1
  112. package/dist/assets/{index--CkleDlS.js → index-azviKhxh.js} +1 -1
  113. package/dist/assets/{index-qz_i-v1s.js → index-b0NI37Fr.js} +1 -1
  114. package/dist/assets/{index-WjkFYOnL.js → index-nTJTIZwx.js} +1 -1
  115. package/dist/assets/{index-eshZ-tWA.js → index-pJGKL1UU.js} +1 -1
  116. package/dist/assets/{index-7R0o6am8.js → index-rNf-xBr1.js} +1 -1
  117. package/dist/assets/{index-oibkouzz.js → index-uCL2Xz4z.js} +1 -1
  118. package/dist/assets/{index-QooYxDDB.js → index-xkrVyLng.js} +3 -3
  119. package/dist/assets/{index-UPj3aFBg.js → index-zYmzkvZJ.js} +1 -1
  120. package/dist/assets/{index-C3Uo8DGF.js → index-zjkpIBLj.js} +1 -1
  121. package/dist/assets/{index-EuNhIMk-.js → index-zy6mPYrD.js} +1 -1
  122. package/dist/assets/{index.es-pb4HlLo5.js → index.es-cf51tfwe.js} +1 -1
  123. package/dist/assets/{index.esm-MVO-Yc9O.js → index.esm-Aw_kcbSC.js} +1 -1
  124. package/dist/assets/{invite-7yOdsQPj.js → invite-jvi7SJ3b.js} +1 -1
  125. package/dist/assets/{issue-passport-mz5RdvLm.js → issue-passport-ryFflIoJ.js} +1 -1
  126. package/dist/assets/{jss-plugin-props-sort.esm-RZD2YHN-.js → jss-plugin-props-sort.esm-G717TV8B.js} +1 -1
  127. package/dist/assets/{launch-result-message-dnUrrccd.js → launch-result-message-jjnSTmnu.js} +1 -1
  128. package/dist/assets/{layout-IXZgeuoW.js → layout-Mbt-yHIV.js} +1 -1
  129. package/dist/assets/{list-header-T8PLjATD.js → list-header-me0USBzw.js} +1 -1
  130. package/dist/assets/{listItemButtonClasses-ej_0Wd0u.js → listItemButtonClasses-kHZS5elP.js} +1 -1
  131. package/dist/assets/localization-4MKU-cT7.js +1 -0
  132. package/dist/assets/{log-So71tnEv.js → log-K-psP4OM.js} +1 -1
  133. package/dist/assets/{login-z1wY6qap.js → login-B4t2fklS.js} +1 -1
  134. package/dist/assets/{logo-uploader-3ZuH123a.js → logo-uploader-UGrjk00W.js} +3 -3
  135. package/dist/assets/{lost-passport-R6oQSaxt.js → lost-passport-ftMGDV9L.js} +3 -3
  136. package/dist/assets/{lottie-RksaOdGU.js → lottie-BTWG6ZRz.js} +1 -1
  137. package/dist/assets/{notifications-4fCG9FZ_.js → notifications-W2-9h72c.js} +1 -1
  138. package/dist/assets/{overview-B1K4ptrI.js → overview-wwcCxi4Z.js} +1 -1
  139. package/dist/assets/{page-header-2zyJkZ9E.js → page-header-osiHjA4s.js} +1 -1
  140. package/dist/assets/{permission-DycDqWdA.js → permission-Ld3GnSww.js} +1 -1
  141. package/dist/assets/{preferences-k5XbYYxZ.js → preferences-ipVlSNDM.js} +1 -1
  142. package/dist/assets/publish-resource-k5yJ00Af.js +1 -0
  143. package/dist/assets/{react-5TzuQvhn.js → react-x_77gE-j.js} +3 -3
  144. package/dist/assets/{selector-8Gj_YDKP.js → selector-3yib3Uuh.js} +1 -1
  145. package/dist/assets/session-uH1GMSGw.js +1 -0
  146. package/dist/assets/{setup-y6CbGPfx.js → setup-CPCa1sJ6.js} +3 -3
  147. package/dist/assets/{slicedToArray-8mFdVgnF.js → slicedToArray-QxTZ2_nH.js} +1 -1
  148. package/dist/assets/{spaces-jG6buFhb.js → spaces-PHuZ421T.js} +1 -1
  149. package/dist/assets/{start-sUJoEx0p.js → start-UY2FrI8W.js} +1 -1
  150. package/dist/assets/{step-actions-igJpcln5.js → step-actions-X4YndljZ.js} +1 -1
  151. package/dist/assets/{studio-nX-Lvt-n.js → studio-Wfv7rAGd.js} +1 -1
  152. package/dist/assets/{styled-QR9SQDeC.js → styled-fAqX37tk.js} +1 -1
  153. package/dist/assets/{switch-control-CzeK8njp.js → switch-control-91NhGHm6.js} +1 -1
  154. package/dist/assets/{toUpper-3Gzsyh0C.js → toUpper-QeKlGDh5.js} +1 -1
  155. package/dist/assets/{transfer-9hxkFsSj.js → transfer-0T-w2BJs.js} +1 -1
  156. package/dist/assets/{uniqBy-p8TICBgq.js → uniqBy-OC0Tf4-L.js} +1 -1
  157. package/dist/assets/{unsubscribe-9M-VvMEf.js → unsubscribe-SutkB0D5.js} +1 -1
  158. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-3p2Dd823.js → use-blocklet-info-for-connect-did-spaces-klfSL37c.js} +1 -1
  159. package/dist/assets/{useAsync-bLl3m9OW.js → useAsync-otNoKpTc.js} +1 -1
  160. package/dist/assets/{useMediaQuery-HjFmqP7e.js → useMediaQuery-falT8o6A.js} +1 -1
  161. package/dist/assets/{useSetState-8hL6FUWi.js → useSetState-2t0odtK0.js} +1 -1
  162. package/dist/assets/{useSlotProps-XvH7yjDf.js → useSlotProps-N8hAyvcO.js} +1 -1
  163. package/dist/assets/useTheme-BlrT6To7.js +1 -0
  164. package/dist/assets/{user-center-GbgTVIf_.js → user-center-FWiNIxAU.js} +1 -1
  165. package/dist/assets/{util-dDJEMWX7.js → util-YZOWAYEN.js} +1 -1
  166. package/dist/assets/{wrap-locale-DMEY67bd.js → wrap-locale-EaBs7Yi3.js} +1 -1
  167. package/dist/index.html +1 -1
  168. package/dist/service-worker.js +1 -1
  169. package/package.json +18 -18
  170. package/dist/assets/Box-lZ5spsQH.js +0 -1
  171. package/dist/assets/Box-xVyhqbFH.js +0 -1
  172. package/dist/assets/add-resource-ul54uC2R.js +0 -1
  173. package/dist/assets/api-2KA7QvaK.js +0 -1
  174. package/dist/assets/home-82LFYu2G.js +0 -1
  175. package/dist/assets/localization-UG7NGJKC.js +0 -1
  176. package/dist/assets/publish-resource-1Zx2Swpb.js +0 -1
  177. package/dist/assets/session-VA6PMO42.js +0 -1
  178. package/dist/assets/useTheme-FGGdIoCP.js +0 -1
@@ -513,7 +513,7 @@ function print() { __p += __j.call(arguments, '') }
513
513
  `}return Ne.substring(0,Ne.length-1)},x.renderTo2dContext=function(j,O){O=O||2;for(var Z=x.getModuleCount(),K=0;K<Z;K++)for(var te=0;te<Z;te++)j.fillStyle=x.isDark(K,te)?"black":"white",j.fillRect(K*O,te*O,O,O)},x};c.stringToBytes=(c.stringToBytesFuncs={default:function(T){for(var u=[],h=0;h<T.length;h+=1){var E=T.charCodeAt(h);u.push(255&E)}return u}}).default,c.createStringToBytes=function(T,u){var h=function(){for(var S=Q(T),C=function(){var ne=S.read();if(ne==-1)throw"eof";return ne},I=0,_={};;){var x=S.read();if(x==-1)break;var v=C(),k=C()<<8|C();_[String.fromCharCode(x<<8|v)]=k,I+=1}if(I!=u)throw I+" != "+u;return _}(),E=63;return function(S){for(var C=[],I=0;I<S.length;I+=1){var _=S.charCodeAt(I);if(_<128)C.push(_);else{var x=h[S.charAt(I)];typeof x=="number"?(255&x)==x?C.push(x):(C.push(x>>>8),C.push(255&x)):C.push(E)}}return C}};var d,p,y,g,b,R={L:1,M:0,Q:3,H:2},A=(d=[[],[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]],p=1335,y=7973,b=function(T){for(var u=0;T!=0;)u+=1,T>>>=1;return u},(g={}).getBCHTypeInfo=function(T){for(var u=T<<10;b(u)-b(p)>=0;)u^=p<<b(u)-b(p);return 21522^(T<<10|u)},g.getBCHTypeNumber=function(T){for(var u=T<<12;b(u)-b(y)>=0;)u^=y<<b(u)-b(y);return T<<12|u},g.getPatternPosition=function(T){return d[T-1]},g.getMaskFunction=function(T){switch(T){case 0:return function(u,h){return(u+h)%2==0};case 1:return function(u,h){return u%2==0};case 2:return function(u,h){return h%3==0};case 3:return function(u,h){return(u+h)%3==0};case 4:return function(u,h){return(Math.floor(u/2)+Math.floor(h/3))%2==0};case 5:return function(u,h){return u*h%2+u*h%3==0};case 6:return function(u,h){return(u*h%2+u*h%3)%2==0};case 7:return function(u,h){return(u*h%3+(u+h)%2)%2==0};default:throw"bad maskPattern:"+T}},g.getErrorCorrectPolynomial=function(T){for(var u=D([1],0),h=0;h<T;h+=1)u=u.multiply(D([1,$.gexp(h)],0));return u},g.getLengthInBits=function(T,u){if(1<=u&&u<10)switch(T){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+T}else if(u<27)switch(T){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+T}else{if(!(u<41))throw"type:"+u;switch(T){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+T}}},g.getLostPoint=function(T){for(var u=T.getModuleCount(),h=0,E=0;E<u;E+=1)for(var S=0;S<u;S+=1){for(var C=0,I=T.isDark(E,S),_=-1;_<=1;_+=1)if(!(E+_<0||u<=E+_))for(var x=-1;x<=1;x+=1)S+x<0||u<=S+x||_==0&&x==0||I==T.isDark(E+_,S+x)&&(C+=1);C>5&&(h+=3+C-5)}for(E=0;E<u-1;E+=1)for(S=0;S<u-1;S+=1){var v=0;T.isDark(E,S)&&(v+=1),T.isDark(E+1,S)&&(v+=1),T.isDark(E,S+1)&&(v+=1),T.isDark(E+1,S+1)&&(v+=1),v!=0&&v!=4||(h+=3)}for(E=0;E<u;E+=1)for(S=0;S<u-6;S+=1)T.isDark(E,S)&&!T.isDark(E,S+1)&&T.isDark(E,S+2)&&T.isDark(E,S+3)&&T.isDark(E,S+4)&&!T.isDark(E,S+5)&&T.isDark(E,S+6)&&(h+=40);for(S=0;S<u;S+=1)for(E=0;E<u-6;E+=1)T.isDark(E,S)&&!T.isDark(E+1,S)&&T.isDark(E+2,S)&&T.isDark(E+3,S)&&T.isDark(E+4,S)&&!T.isDark(E+5,S)&&T.isDark(E+6,S)&&(h+=40);var k=0;for(S=0;S<u;S+=1)for(E=0;E<u;E+=1)T.isDark(E,S)&&(k+=1);return h+Math.abs(100*k/u/u-50)/5*10},g),$=function(){for(var T=new Array(256),u=new Array(256),h=0;h<8;h+=1)T[h]=1<<h;for(h=8;h<256;h+=1)T[h]=T[h-4]^T[h-5]^T[h-6]^T[h-8];for(h=0;h<255;h+=1)u[T[h]]=h;return{glog:function(E){if(E<1)throw"glog("+E+")";return u[E]},gexp:function(E){for(;E<0;)E+=255;for(;E>=256;)E-=255;return T[E]}}}();function D(T,u){if(T.length===void 0)throw T.length+"/"+u;var h=function(){for(var S=0;S<T.length&&T[S]==0;)S+=1;for(var C=new Array(T.length-S+u),I=0;I<T.length-S;I+=1)C[I]=T[I+S];return C}(),E={getAt:function(S){return h[S]},getLength:function(){return h.length},multiply:function(S){for(var C=new Array(E.getLength()+S.getLength()-1),I=0;I<E.getLength();I+=1)for(var _=0;_<S.getLength();_+=1)C[I+_]^=$.gexp($.glog(E.getAt(I))+$.glog(S.getAt(_)));return D(C,0)},mod:function(S){if(E.getLength()-S.getLength()<0)return E;for(var C=$.glog(E.getAt(0))-$.glog(S.getAt(0)),I=new Array(E.getLength()),_=0;_<E.getLength();_+=1)I[_]=E.getAt(_);for(_=0;_<S.getLength();_+=1)I[_]^=$.gexp($.glog(S.getAt(_))+C);return D(I,0).mod(S)}};return E}var M=function(){var T=[[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]],u=function(E,S){var C={};return C.totalCount=E,C.dataCount=S,C},h={getRSBlocks:function(E,S){var C=function(q,ie){switch(ie){case R.L:return T[4*(q-1)+0];case R.M:return T[4*(q-1)+1];case R.Q:return T[4*(q-1)+2];case R.H:return T[4*(q-1)+3];default:return}}(E,S);if(C===void 0)throw"bad rs block @ typeNumber:"+E+"/errorCorrectionLevel:"+S;for(var I=C.length/3,_=[],x=0;x<I;x+=1)for(var v=C[3*x+0],k=C[3*x+1],ne=C[3*x+2],N=0;N<v;N+=1)_.push(u(k,ne));return _}};return h}(),J=function(){var T=[],u=0,h={getBuffer:function(){return T},getAt:function(E){var S=Math.floor(E/8);return(T[S]>>>7-E%8&1)==1},put:function(E,S){for(var C=0;C<S;C+=1)h.putBit((E>>>S-C-1&1)==1)},getLengthInBits:function(){return u},putBit:function(E){var S=Math.floor(u/8);T.length<=S&&T.push(0),E&&(T[S]|=128>>>u%8),u+=1}};return h},U=function(T){var u=T,h={getMode:function(){return 1},getLength:function(C){return u.length},write:function(C){for(var I=u,_=0;_+2<I.length;)C.put(E(I.substring(_,_+3)),10),_+=3;_<I.length&&(I.length-_==1?C.put(E(I.substring(_,_+1)),4):I.length-_==2&&C.put(E(I.substring(_,_+2)),7))}},E=function(C){for(var I=0,_=0;_<C.length;_+=1)I=10*I+S(C.charAt(_));return I},S=function(C){if("0"<=C&&C<="9")return C.charCodeAt(0)-48;throw"illegal char :"+C};return h},V=function(T){var u=T,h={getMode:function(){return 2},getLength:function(S){return u.length},write:function(S){for(var C=u,I=0;I+1<C.length;)S.put(45*E(C.charAt(I))+E(C.charAt(I+1)),11),I+=2;I<C.length&&S.put(E(C.charAt(I)),6)}},E=function(S){if("0"<=S&&S<="9")return S.charCodeAt(0)-48;if("A"<=S&&S<="Z")return S.charCodeAt(0)-65+10;switch(S){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 :"+S}};return h},X=function(T){var u=c.stringToBytes(T);return{getMode:function(){return 4},getLength:function(h){return u.length},write:function(h){for(var E=0;E<u.length;E+=1)h.put(u[E],8)}}},re=function(T){var u=c.stringToBytesFuncs.SJIS;if(!u)throw"sjis not supported.";(function(S,C){var I=u("友");if(I.length!=2||(I[0]<<8|I[1])!=38726)throw"sjis not supported."})();var h=u(T),E={getMode:function(){return 8},getLength:function(S){return~~(h.length/2)},write:function(S){for(var C=h,I=0;I+1<C.length;){var _=(255&C[I])<<8|255&C[I+1];if(33088<=_&&_<=40956)_-=33088;else{if(!(57408<=_&&_<=60351))throw"illegal char at "+(I+1)+"/"+_;_-=49472}_=192*(_>>>8&255)+(255&_),S.put(_,13),I+=2}if(I<C.length)throw"illegal char at "+(I+1)}};return E},le=function(){var T=[],u={writeByte:function(h){T.push(255&h)},writeShort:function(h){u.writeByte(h),u.writeByte(h>>>8)},writeBytes:function(h,E,S){E=E||0,S=S||h.length;for(var C=0;C<S;C+=1)u.writeByte(h[C+E])},writeString:function(h){for(var E=0;E<h.length;E+=1)u.writeByte(h.charCodeAt(E))},toByteArray:function(){return T},toString:function(){var h="";h+="[";for(var E=0;E<T.length;E+=1)E>0&&(h+=","),h+=T[E];return h+"]"}};return u},Q=function(T){var u=T,h=0,E=0,S=0,C={read:function(){for(;S<8;){if(h>=u.length){if(S==0)return-1;throw"unexpected end of file./"+S}var _=u.charAt(h);if(h+=1,_=="=")return S=0,-1;_.match(/^\s$/)||(E=E<<6|I(_.charCodeAt(0)),S+=6)}var x=E>>>S-8&255;return S-=8,x}},I=function(_){if(65<=_&&_<=90)return _-65;if(97<=_&&_<=122)return _-97+26;if(48<=_&&_<=57)return _-48+52;if(_==43)return 62;if(_==47)return 63;throw"c:"+_};return C},P=function(T,u,h){for(var E=function(k,ne){var N=k,q=ne,ie=new Array(k*ne),ue={setPixel:function(j,O,Z){ie[O*N+j]=Z},write:function(j){j.writeString("GIF87a"),j.writeShort(N),j.writeShort(q),j.writeByte(128),j.writeByte(0),j.writeByte(0),j.writeByte(0),j.writeByte(0),j.writeByte(0),j.writeByte(255),j.writeByte(255),j.writeByte(255),j.writeString(","),j.writeShort(0),j.writeShort(0),j.writeShort(N),j.writeShort(q),j.writeByte(0);var O=he(2);j.writeByte(2);for(var Z=0;O.length-Z>255;)j.writeByte(255),j.writeBytes(O,Z,255),Z+=255;j.writeByte(O.length-Z),j.writeBytes(O,Z,O.length-Z),j.writeByte(0),j.writeString(";")}},he=function(j){for(var O=1<<j,Z=1+(1<<j),K=j+1,te=Se(),ye=0;ye<O;ye+=1)te.add(String.fromCharCode(ye));te.add(String.fromCharCode(O)),te.add(String.fromCharCode(Z));var pe,ae,me,we=le(),be=(pe=we,ae=0,me=0,{write:function(Ie,Ce){if(Ie>>>Ce)throw"length over";for(;ae+Ce>=8;)pe.writeByte(255&(Ie<<ae|me)),Ce-=8-ae,Ie>>>=8-ae,me=0,ae=0;me|=Ie<<ae,ae+=Ce},flush:function(){ae>0&&pe.writeByte(me)}});be.write(O,K);var Ne=0,Je=String.fromCharCode(ie[Ne]);for(Ne+=1;Ne<ie.length;){var Me=String.fromCharCode(ie[Ne]);Ne+=1,te.contains(Je+Me)?Je+=Me:(be.write(te.indexOf(Je),K),te.size()<4095&&(te.size()==1<<K&&(K+=1),te.add(Je+Me)),Je=Me)}return be.write(te.indexOf(Je),K),be.write(Z,K),be.flush(),we.toByteArray()},Se=function(){var j={},O=0,Z={add:function(K){if(Z.contains(K))throw"dup key:"+K;j[K]=O,O+=1},size:function(){return O},indexOf:function(K){return j[K]},contains:function(K){return j[K]!==void 0}};return Z};return ue}(T,u),S=0;S<u;S+=1)for(var C=0;C<T;C+=1)E.setPixel(C,S,h(C,S));var I=le();E.write(I);for(var _=function(){var k=0,ne=0,N=0,q="",ie={},ue=function(Se){q+=String.fromCharCode(he(63&Se))},he=function(Se){if(!(Se<0)){if(Se<26)return 65+Se;if(Se<52)return Se-26+97;if(Se<62)return Se-52+48;if(Se==62)return 43;if(Se==63)return 47}throw"n:"+Se};return ie.writeByte=function(Se){for(k=k<<8|255&Se,ne+=8,N+=1;ne>=6;)ue(k>>>ne-6),ne-=6},ie.flush=function(){if(ne>0&&(ue(k<<6-ne),k=0,ne=0),N%3!=0)for(var Se=3-N%3,j=0;j<Se;j+=1)q+="="},ie.toString=function(){return q},ie}(),x=I.toByteArray(),v=0;v<x.length;v+=1)_.writeByte(x[v]);return _.flush(),"data:image/gif;base64,"+_};return c}();f.stringToBytesFuncs["UTF-8"]=function(c){return function(d){for(var p=[],y=0;y<d.length;y++){var g=d.charCodeAt(y);g<128?p.push(g):g<2048?p.push(192|g>>6,128|63&g):g<55296||g>=57344?p.push(224|g>>12,128|g>>6&63,128|63&g):(y++,g=65536+((1023&g)<<10|1023&d.charCodeAt(y)),p.push(240|g>>18,128|g>>12&63,128|g>>6&63,128|63&g))}return p}(c)},(l=typeof(s=function(){return f})=="function"?s.apply(o,[]):s)===void 0||(a.exports=l)},676:(a,o,s)=>{s.d(o,{default:()=>Se});const l="Numeric",f="Alphanumeric",c="Byte";var d=function(){return d=Object.assign||function(j){for(var O,Z=1,K=arguments.length;Z<K;Z++)for(var te in O=arguments[Z])Object.prototype.hasOwnProperty.call(O,te)&&(j[te]=O[te]);return j},d.apply(this,arguments)},p=function(){for(var j=0,O=0,Z=arguments.length;O<Z;O++)j+=arguments[O].length;var K=Array(j),te=0;for(O=0;O<Z;O++)for(var ye=arguments[O],pe=0,ae=ye.length;pe<ae;pe++,te++)K[te]=ye[pe];return K},y=function(j){return!!j&&typeof j=="object"&&!Array.isArray(j)};function g(j){for(var O=[],Z=1;Z<arguments.length;Z++)O[Z-1]=arguments[Z];if(!O.length)return j;var K=O.shift();return K!==void 0&&y(j)&&y(K)?(j=d({},j),Object.keys(K).forEach(function(te){var ye=j[te],pe=K[te];Array.isArray(ye)&&Array.isArray(pe)?j[te]=pe:y(ye)&&y(pe)?j[te]=g(Object.assign({},ye),pe):j[te]=pe}),g.apply(void 0,p([j],O))):j}function b(j,O){var Z=document.createElement("a");Z.download=O,Z.href=j,document.body.appendChild(Z),Z.click(),document.body.removeChild(Z)}var R=function(j,O,Z,K){return new(Z||(Z=Promise))(function(te,ye){function pe(we){try{me(K.next(we))}catch(be){ye(be)}}function ae(we){try{me(K.throw(we))}catch(be){ye(be)}}function me(we){var be;we.done?te(we.value):(be=we.value,be instanceof Z?be:new Z(function(Ne){Ne(be)})).then(pe,ae)}me((K=K.apply(j,O||[])).next())})},A=function(j,O){var Z,K,te,ye,pe={label:0,sent:function(){if(1&te[0])throw te[1];return te[1]},trys:[],ops:[]};return ye={next:ae(0),throw:ae(1),return:ae(2)},typeof Symbol=="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function ae(me){return function(we){return function(be){if(Z)throw new TypeError("Generator is already executing.");for(;pe;)try{if(Z=1,K&&(te=2&be[0]?K.return:be[0]?K.throw||((te=K.return)&&te.call(K),0):K.next)&&!(te=te.call(K,be[1])).done)return te;switch(K=0,te&&(be=[2&be[0],te.value]),be[0]){case 0:case 1:te=be;break;case 4:return pe.label++,{value:be[1],done:!1};case 5:pe.label++,K=be[1],be=[0];continue;case 7:be=pe.ops.pop(),pe.trys.pop();continue;default:if(!((te=(te=pe.trys).length>0&&te[te.length-1])||be[0]!==6&&be[0]!==2)){pe=0;continue}if(be[0]===3&&(!te||be[1]>te[0]&&be[1]<te[3])){pe.label=be[1];break}if(be[0]===6&&pe.label<te[1]){pe.label=te[1],te=be;break}if(te&&pe.label<te[2]){pe.label=te[2],pe.ops.push(be);break}te[2]&&pe.ops.pop(),pe.trys.pop();continue}be=O.call(j,pe)}catch(Ne){be=[6,Ne],K=0}finally{Z=te=0}if(5&be[0])throw be[1];return{value:be[0]?be[1]:void 0,done:!0}}([me,we])}}};function $(j){return R(this,void 0,void 0,function(){return A(this,function(O){return[2,new Promise(function(Z){var K=new XMLHttpRequest;K.onload=function(){var te=new FileReader;te.onloadend=function(){Z(te.result)},te.readAsDataURL(K.response)},K.open("GET",j),K.responseType="blob",K.send()})]})})}const D={L:.07,M:.15,Q:.25,H:.3};var M=function(){return M=Object.assign||function(j){for(var O,Z=1,K=arguments.length;Z<K;Z++)for(var te in O=arguments[Z])Object.prototype.hasOwnProperty.call(O,te)&&(j[te]=O[te]);return j},M.apply(this,arguments)},J=function(){function j(O){var Z=O.svg,K=O.type;this._svg=Z,this._type=K}return j.prototype.draw=function(O,Z,K,te){var ye;switch(this._type){case"dots":ye=this._drawDot;break;case"classy":ye=this._drawClassy;break;case"classy-rounded":ye=this._drawClassyRounded;break;case"rounded":ye=this._drawRounded;break;case"extra-rounded":ye=this._drawExtraRounded;break;default:ye=this._drawSquare}ye.call(this,{x:O,y:Z,size:K,getNeighbor:te})},j.prototype._rotateFigure=function(O){var Z,K=O.x,te=O.y,ye=O.size,pe=O.rotation,ae=pe===void 0?0:pe,me=K+ye/2,we=te+ye/2;(0,O.draw)(),(Z=this._element)===null||Z===void 0||Z.setAttribute("transform","rotate("+180*ae/Math.PI+","+me+","+we+")")},j.prototype._basicDot=function(O){var Z=this,K=O.size,te=O.x,ye=O.y;this._rotateFigure(M(M({},O),{draw:function(){Z._element=document.createElementNS("http://www.w3.org/2000/svg","circle"),Z._element.setAttribute("cx",String(te+K/2)),Z._element.setAttribute("cy",String(ye+K/2)),Z._element.setAttribute("r",String(K/2))}}))},j.prototype._basicSquare=function(O){var Z=this,K=O.size,te=O.x,ye=O.y;this._rotateFigure(M(M({},O),{draw:function(){Z._element=document.createElementNS("http://www.w3.org/2000/svg","rect"),Z._element.setAttribute("x",String(te)),Z._element.setAttribute("y",String(ye)),Z._element.setAttribute("width",String(K)),Z._element.setAttribute("height",String(K))}}))},j.prototype._basicSideRounded=function(O){var Z=this,K=O.size,te=O.x,ye=O.y;this._rotateFigure(M(M({},O),{draw:function(){Z._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Z._element.setAttribute("d","M "+te+" "+ye+"v "+K+"h "+K/2+"a "+K/2+" "+K/2+", 0, 0, 0, 0 "+-K)}}))},j.prototype._basicCornerRounded=function(O){var Z=this,K=O.size,te=O.x,ye=O.y;this._rotateFigure(M(M({},O),{draw:function(){Z._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Z._element.setAttribute("d","M "+te+" "+ye+"v "+K+"h "+K+"v "+-K/2+"a "+K/2+" "+K/2+", 0, 0, 0, "+-K/2+" "+-K/2)}}))},j.prototype._basicCornerExtraRounded=function(O){var Z=this,K=O.size,te=O.x,ye=O.y;this._rotateFigure(M(M({},O),{draw:function(){Z._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Z._element.setAttribute("d","M "+te+" "+ye+"v "+K+"h "+K+"a "+K+" "+K+", 0, 0, 0, "+-K+" "+-K)}}))},j.prototype._basicCornersRounded=function(O){var Z=this,K=O.size,te=O.x,ye=O.y;this._rotateFigure(M(M({},O),{draw:function(){Z._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Z._element.setAttribute("d","M "+te+" "+ye+"v "+K/2+"a "+K/2+" "+K/2+", 0, 0, 0, "+K/2+" "+K/2+"h "+K/2+"v "+-K/2+"a "+K/2+" "+K/2+", 0, 0, 0, "+-K/2+" "+-K/2)}}))},j.prototype._drawDot=function(O){var Z=O.x,K=O.y,te=O.size;this._basicDot({x:Z,y:K,size:te,rotation:0})},j.prototype._drawSquare=function(O){var Z=O.x,K=O.y,te=O.size;this._basicSquare({x:Z,y:K,size:te,rotation:0})},j.prototype._drawRounded=function(O){var Z=O.x,K=O.y,te=O.size,ye=O.getNeighbor,pe=ye?+ye(-1,0):0,ae=ye?+ye(1,0):0,me=ye?+ye(0,-1):0,we=ye?+ye(0,1):0,be=pe+ae+me+we;if(be!==0)if(be>2||pe&&ae||me&&we)this._basicSquare({x:Z,y:K,size:te,rotation:0});else{if(be===2){var Ne=0;return pe&&me?Ne=Math.PI/2:me&&ae?Ne=Math.PI:ae&&we&&(Ne=-Math.PI/2),void this._basicCornerRounded({x:Z,y:K,size:te,rotation:Ne})}if(be===1)return Ne=0,me?Ne=Math.PI/2:ae?Ne=Math.PI:we&&(Ne=-Math.PI/2),void this._basicSideRounded({x:Z,y:K,size:te,rotation:Ne})}else this._basicDot({x:Z,y:K,size:te,rotation:0})},j.prototype._drawExtraRounded=function(O){var Z=O.x,K=O.y,te=O.size,ye=O.getNeighbor,pe=ye?+ye(-1,0):0,ae=ye?+ye(1,0):0,me=ye?+ye(0,-1):0,we=ye?+ye(0,1):0,be=pe+ae+me+we;if(be!==0)if(be>2||pe&&ae||me&&we)this._basicSquare({x:Z,y:K,size:te,rotation:0});else{if(be===2){var Ne=0;return pe&&me?Ne=Math.PI/2:me&&ae?Ne=Math.PI:ae&&we&&(Ne=-Math.PI/2),void this._basicCornerExtraRounded({x:Z,y:K,size:te,rotation:Ne})}if(be===1)return Ne=0,me?Ne=Math.PI/2:ae?Ne=Math.PI:we&&(Ne=-Math.PI/2),void this._basicSideRounded({x:Z,y:K,size:te,rotation:Ne})}else this._basicDot({x:Z,y:K,size:te,rotation:0})},j.prototype._drawClassy=function(O){var Z=O.x,K=O.y,te=O.size,ye=O.getNeighbor,pe=ye?+ye(-1,0):0,ae=ye?+ye(1,0):0,me=ye?+ye(0,-1):0,we=ye?+ye(0,1):0;pe+ae+me+we!==0?pe||me?ae||we?this._basicSquare({x:Z,y:K,size:te,rotation:0}):this._basicCornerRounded({x:Z,y:K,size:te,rotation:Math.PI/2}):this._basicCornerRounded({x:Z,y:K,size:te,rotation:-Math.PI/2}):this._basicCornersRounded({x:Z,y:K,size:te,rotation:Math.PI/2})},j.prototype._drawClassyRounded=function(O){var Z=O.x,K=O.y,te=O.size,ye=O.getNeighbor,pe=ye?+ye(-1,0):0,ae=ye?+ye(1,0):0,me=ye?+ye(0,-1):0,we=ye?+ye(0,1):0;pe+ae+me+we!==0?pe||me?ae||we?this._basicSquare({x:Z,y:K,size:te,rotation:0}):this._basicCornerExtraRounded({x:Z,y:K,size:te,rotation:Math.PI/2}):this._basicCornerExtraRounded({x:Z,y:K,size:te,rotation:-Math.PI/2}):this._basicCornersRounded({x:Z,y:K,size:te,rotation:Math.PI/2})},j}();const U=J;var V=function(){return V=Object.assign||function(j){for(var O,Z=1,K=arguments.length;Z<K;Z++)for(var te in O=arguments[Z])Object.prototype.hasOwnProperty.call(O,te)&&(j[te]=O[te]);return j},V.apply(this,arguments)},X=function(){function j(O){var Z=O.svg,K=O.type;this._svg=Z,this._type=K}return j.prototype.draw=function(O,Z,K,te){var ye;switch(this._type){case"square":ye=this._drawSquare;break;case"extra-rounded":ye=this._drawExtraRounded;break;default:ye=this._drawDot}ye.call(this,{x:O,y:Z,size:K,rotation:te})},j.prototype._rotateFigure=function(O){var Z,K=O.x,te=O.y,ye=O.size,pe=O.rotation,ae=pe===void 0?0:pe,me=K+ye/2,we=te+ye/2;(0,O.draw)(),(Z=this._element)===null||Z===void 0||Z.setAttribute("transform","rotate("+180*ae/Math.PI+","+me+","+we+")")},j.prototype._basicDot=function(O){var Z=this,K=O.size,te=O.x,ye=O.y,pe=K/7;this._rotateFigure(V(V({},O),{draw:function(){Z._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Z._element.setAttribute("clip-rule","evenodd"),Z._element.setAttribute("d","M "+(te+K/2)+" "+ye+"a "+K/2+" "+K/2+" 0 1 0 0.1 0zm 0 "+pe+"a "+(K/2-pe)+" "+(K/2-pe)+" 0 1 1 -0.1 0Z")}}))},j.prototype._basicSquare=function(O){var Z=this,K=O.size,te=O.x,ye=O.y,pe=K/7;this._rotateFigure(V(V({},O),{draw:function(){Z._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Z._element.setAttribute("clip-rule","evenodd"),Z._element.setAttribute("d","M "+te+" "+ye+"v "+K+"h "+K+"v "+-K+"zM "+(te+pe)+" "+(ye+pe)+"h "+(K-2*pe)+"v "+(K-2*pe)+"h "+(2*pe-K)+"z")}}))},j.prototype._basicExtraRounded=function(O){var Z=this,K=O.size,te=O.x,ye=O.y,pe=K/7;this._rotateFigure(V(V({},O),{draw:function(){Z._element=document.createElementNS("http://www.w3.org/2000/svg","path"),Z._element.setAttribute("clip-rule","evenodd"),Z._element.setAttribute("d","M "+te+" "+(ye+2.5*pe)+"v "+2*pe+"a "+2.5*pe+" "+2.5*pe+", 0, 0, 0, "+2.5*pe+" "+2.5*pe+"h "+2*pe+"a "+2.5*pe+" "+2.5*pe+", 0, 0, 0, "+2.5*pe+" "+2.5*-pe+"v "+-2*pe+"a "+2.5*pe+" "+2.5*pe+", 0, 0, 0, "+2.5*-pe+" "+2.5*-pe+"h "+-2*pe+"a "+2.5*pe+" "+2.5*pe+", 0, 0, 0, "+2.5*-pe+" "+2.5*pe+"M "+(te+2.5*pe)+" "+(ye+pe)+"h "+2*pe+"a "+1.5*pe+" "+1.5*pe+", 0, 0, 1, "+1.5*pe+" "+1.5*pe+"v "+2*pe+"a "+1.5*pe+" "+1.5*pe+", 0, 0, 1, "+1.5*-pe+" "+1.5*pe+"h "+-2*pe+"a "+1.5*pe+" "+1.5*pe+", 0, 0, 1, "+1.5*-pe+" "+1.5*-pe+"v "+-2*pe+"a "+1.5*pe+" "+1.5*pe+", 0, 0, 1, "+1.5*pe+" "+1.5*-pe)}}))},j.prototype._drawDot=function(O){var Z=O.x,K=O.y,te=O.size,ye=O.rotation;this._basicDot({x:Z,y:K,size:te,rotation:ye})},j.prototype._drawSquare=function(O){var Z=O.x,K=O.y,te=O.size,ye=O.rotation;this._basicSquare({x:Z,y:K,size:te,rotation:ye})},j.prototype._drawExtraRounded=function(O){var Z=O.x,K=O.y,te=O.size,ye=O.rotation;this._basicExtraRounded({x:Z,y:K,size:te,rotation:ye})},j}();const re=X;var le=function(){return le=Object.assign||function(j){for(var O,Z=1,K=arguments.length;Z<K;Z++)for(var te in O=arguments[Z])Object.prototype.hasOwnProperty.call(O,te)&&(j[te]=O[te]);return j},le.apply(this,arguments)},Q=function(){function j(O){var Z=O.svg,K=O.type;this._svg=Z,this._type=K}return j.prototype.draw=function(O,Z,K,te){(this._type==="square"?this._drawSquare:this._drawDot).call(this,{x:O,y:Z,size:K,rotation:te})},j.prototype._rotateFigure=function(O){var Z,K=O.x,te=O.y,ye=O.size,pe=O.rotation,ae=pe===void 0?0:pe,me=K+ye/2,we=te+ye/2;(0,O.draw)(),(Z=this._element)===null||Z===void 0||Z.setAttribute("transform","rotate("+180*ae/Math.PI+","+me+","+we+")")},j.prototype._basicDot=function(O){var Z=this,K=O.size,te=O.x,ye=O.y;this._rotateFigure(le(le({},O),{draw:function(){Z._element=document.createElementNS("http://www.w3.org/2000/svg","circle"),Z._element.setAttribute("cx",String(te+K/2)),Z._element.setAttribute("cy",String(ye+K/2)),Z._element.setAttribute("r",String(K/2))}}))},j.prototype._basicSquare=function(O){var Z=this,K=O.size,te=O.x,ye=O.y;this._rotateFigure(le(le({},O),{draw:function(){Z._element=document.createElementNS("http://www.w3.org/2000/svg","rect"),Z._element.setAttribute("x",String(te)),Z._element.setAttribute("y",String(ye)),Z._element.setAttribute("width",String(K)),Z._element.setAttribute("height",String(K))}}))},j.prototype._drawDot=function(O){var Z=O.x,K=O.y,te=O.size,ye=O.rotation;this._basicDot({x:Z,y:K,size:te,rotation:ye})},j.prototype._drawSquare=function(O){var Z=O.x,K=O.y,te=O.size,ye=O.rotation;this._basicSquare({x:Z,y:K,size:te,rotation:ye})},j}();const P=Q,T="circle";var u=function(j,O,Z,K){return new(Z||(Z=Promise))(function(te,ye){function pe(we){try{me(K.next(we))}catch(be){ye(be)}}function ae(we){try{me(K.throw(we))}catch(be){ye(be)}}function me(we){var be;we.done?te(we.value):(be=we.value,be instanceof Z?be:new Z(function(Ne){Ne(be)})).then(pe,ae)}me((K=K.apply(j,O||[])).next())})},h=function(j,O){var Z,K,te,ye,pe={label:0,sent:function(){if(1&te[0])throw te[1];return te[1]},trys:[],ops:[]};return ye={next:ae(0),throw:ae(1),return:ae(2)},typeof Symbol=="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function ae(me){return function(we){return function(be){if(Z)throw new TypeError("Generator is already executing.");for(;pe;)try{if(Z=1,K&&(te=2&be[0]?K.return:be[0]?K.throw||((te=K.return)&&te.call(K),0):K.next)&&!(te=te.call(K,be[1])).done)return te;switch(K=0,te&&(be=[2&be[0],te.value]),be[0]){case 0:case 1:te=be;break;case 4:return pe.label++,{value:be[1],done:!1};case 5:pe.label++,K=be[1],be=[0];continue;case 7:be=pe.ops.pop(),pe.trys.pop();continue;default:if(!((te=(te=pe.trys).length>0&&te[te.length-1])||be[0]!==6&&be[0]!==2)){pe=0;continue}if(be[0]===3&&(!te||be[1]>te[0]&&be[1]<te[3])){pe.label=be[1];break}if(be[0]===6&&pe.label<te[1]){pe.label=te[1],te=be;break}if(te&&pe.label<te[2]){pe.label=te[2],pe.ops.push(be);break}te[2]&&pe.ops.pop(),pe.trys.pop();continue}be=O.call(j,pe)}catch(Ne){be=[6,Ne],K=0}finally{Z=te=0}if(5&be[0])throw be[1];return{value:be[0]?be[1]:void 0,done:!0}}([me,we])}}},E=[[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]],S=[[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 C=function(){function j(O){this._element=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._element.setAttribute("width",String(O.width)),this._element.setAttribute("height",String(O.height)),this._defs=document.createElementNS("http://www.w3.org/2000/svg","defs"),this._element.appendChild(this._defs),this._instanceId=j.instanceCount++,this._options=O}return Object.defineProperty(j.prototype,"width",{get:function(){return this._options.width},enumerable:!1,configurable:!0}),Object.defineProperty(j.prototype,"height",{get:function(){return this._options.height},enumerable:!1,configurable:!0}),j.prototype.getElement=function(){return this._element},j.prototype.drawQR=function(O){return u(this,void 0,void 0,function(){var Z,K,te,ye,pe,ae,me,we,be,Ne,Je=this;return h(this,function(Me){switch(Me.label){case 0:return Z=O.getModuleCount(),K=Math.min(this._options.width,this._options.height)-2*this._options.margin,te=this._options.shape===T?K/Math.sqrt(2):K,ye=te/Z,pe={hideXDots:0,hideYDots:0,width:0,height:0},this._qr=O,this._options.image?[4,this.loadImage()]:[3,2];case 1:if(Me.sent(),!this._image)return[2];ae=this._options,me=ae.imageOptions,we=ae.qrOptions,be=me.imageSize*D[we.errorCorrectionLevel],Ne=Math.floor(be*Z*Z),pe=function(Ie){var Ce=Ie.originalHeight,Le=Ie.originalWidth,Ke=Ie.maxHiddenDots,Be=Ie.maxHiddenAxisDots,G=Ie.dotSize,B={x:0,y:0},F={x:0,y:0};if(Ce<=0||Le<=0||Ke<=0||G<=0)return{height:0,width:0,hideYDots:0,hideXDots:0};var se=Ce/Le;return B.x=Math.floor(Math.sqrt(Ke/se)),B.x<=0&&(B.x=1),Be&&Be<B.x&&(B.x=Be),B.x%2==0&&B.x--,F.x=B.x*G,B.y=1+2*Math.ceil((B.x*se-1)/2),F.y=Math.round(F.x*se),(B.y*B.x>Ke||Be&&Be<B.y)&&(Be&&Be<B.y?(B.y=Be,B.y%2==0&&B.x--):B.y-=2,F.y=B.y*G,B.x=1+2*Math.ceil((B.y/se-1)/2),F.x=Math.round(F.y/se)),{height:F.y,width:F.x,hideYDots:B.y,hideXDots:B.x}}({originalWidth:this._image.width,originalHeight:this._image.height,maxHiddenDots:Ne,maxHiddenAxisDots:Z-14,dotSize:ye}),Me.label=2;case 2:return this.drawBackground(),this.drawDots(function(Ie,Ce){var Le,Ke,Be,G,B,F;return!(Je._options.imageOptions.hideBackgroundDots&&Ie>=(Z-pe.hideXDots)/2&&Ie<(Z+pe.hideXDots)/2&&Ce>=(Z-pe.hideYDots)/2&&Ce<(Z+pe.hideYDots)/2||!((Le=E[Ie])===null||Le===void 0)&&Le[Ce]||!((Ke=E[Ie-Z+7])===null||Ke===void 0)&&Ke[Ce]||!((Be=E[Ie])===null||Be===void 0)&&Be[Ce-Z+7]||!((G=S[Ie])===null||G===void 0)&&G[Ce]||!((B=S[Ie-Z+7])===null||B===void 0)&&B[Ce]||!((F=S[Ie])===null||F===void 0)&&F[Ce-Z+7])}),this.drawCorners(),this._options.image?[4,this.drawImage({width:pe.width,height:pe.height,count:Z,dotSize:ye})]:[3,4];case 3:Me.sent(),Me.label=4;case 4:return[2]}})})},j.prototype.drawBackground=function(){var O,Z,K,te=this._element,ye=this._options;if(te){var pe=(O=ye.backgroundOptions)===null||O===void 0?void 0:O.gradient,ae=(Z=ye.backgroundOptions)===null||Z===void 0?void 0:Z.color;if((pe||ae)&&this._createColor({options:pe,color:ae,additionalRotation:0,x:0,y:0,height:ye.height,width:ye.width,name:"background-color"}),(K=ye.backgroundOptions)===null||K===void 0?void 0:K.round){var me=Math.min(ye.width,ye.height),we=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),we.setAttribute("x",String((ye.width-me)/2)),we.setAttribute("y",String((ye.height-me)/2)),we.setAttribute("width",String(me)),we.setAttribute("height",String(me)),we.setAttribute("rx",String(me/2*ye.backgroundOptions.round)),this._backgroundClipPath.appendChild(we)}}},j.prototype.drawDots=function(O){var Z,K,te=this;if(!this._qr)throw"QR code is not defined";var ye=this._options,pe=this._qr.getModuleCount();if(pe>ye.width||pe>ye.height)throw"The canvas is too small.";var ae=Math.min(ye.width,ye.height)-2*ye.margin,me=(ye.shape===T?ae/Math.sqrt(2):ae)/pe,we=(ye.width-pe*me)/2,be=(ye.height-pe*me)/2,Ne=new U({svg:this._element,type:ye.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:(Z=ye.dotsOptions)===null||Z===void 0?void 0:Z.gradient,color:ye.dotsOptions.color,additionalRotation:0,x:0,y:0,height:ye.height,width:ye.width,name:"dot-color-"+this._instanceId});for(var Je=function(Ae){for(var _e=function(Ue){return O&&!O(Ae,Ue)?"continue":!((K=Me._qr)===null||K===void 0)&&K.isDark(Ae,Ue)?(Ne.draw(we+Ae*me,be+Ue*me,me,function(je,ft){return!(Ae+je<0||Ue+ft<0||Ae+je>=pe||Ue+ft>=pe)&&!(O&&!O(Ae+je,Ue+ft))&&!!te._qr&&te._qr.isDark(Ae+je,Ue+ft)}),void(Ne._element&&Me._dotsClipPath&&Me._dotsClipPath.appendChild(Ne._element))):"continue"},We=0;We<pe;We++)_e(We)},Me=this,Ie=0;Ie<pe;Ie++)Je(Ie);if(ye.shape===T){var Ce=Math.floor((ae/me-pe)/2),Le=pe+2*Ce,Ke=we-Ce*me,Be=be-Ce*me,G=[],B=Math.floor(Le/2);for(Ie=0;Ie<Le;Ie++){G[Ie]=[];for(var F=0;F<Le;F++)Ie>=Ce-1&&Ie<=Le-Ce&&F>=Ce-1&&F<=Le-Ce||Math.sqrt((Ie-B)*(Ie-B)+(F-B)*(F-B))>B?G[Ie][F]=0:G[Ie][F]=this._qr.isDark(F-2*Ce<0?F:F>=pe?F-2*Ce:F-Ce,Ie-2*Ce<0?Ie:Ie>=pe?Ie-2*Ce:Ie-Ce)?1:0}var se=function(Ae){for(var _e=function(Ue){if(!G[Ae][Ue])return"continue";Ne.draw(Ke+Ae*me,Be+Ue*me,me,function(je,ft){var Ze;return!!(!((Ze=G[Ae+je])===null||Ze===void 0)&&Ze[Ue+ft])}),Ne._element&&Ee._dotsClipPath&&Ee._dotsClipPath.appendChild(Ne._element)},We=0;We<Le;We++)_e(We)},Ee=this;for(Ie=0;Ie<Le;Ie++)se(Ie)}},j.prototype.drawCorners=function(){var O=this;if(!this._qr)throw"QR code is not defined";var Z=this._element,K=this._options;if(!Z)throw"Element code is not defined";var te=this._qr.getModuleCount(),ye=Math.min(K.width,K.height)-2*K.margin,pe=(K.shape===T?ye/Math.sqrt(2):ye)/te,ae=7*pe,me=3*pe,we=(K.width-te*pe)/2,be=(K.height-te*pe)/2;[[0,0,0],[1,0,Math.PI/2],[0,1,-Math.PI/2]].forEach(function(Ne){var Je,Me,Ie,Ce,Le,Ke,Be,G,B,F,se,Ee,Ae=Ne[0],_e=Ne[1],We=Ne[2],Ue=we+Ae*pe*(te-7),je=be+_e*pe*(te-7),ft=O._dotsClipPath,Ze=O._dotsClipPath;if((!((Je=K.cornersSquareOptions)===null||Je===void 0)&&Je.gradient||!((Me=K.cornersSquareOptions)===null||Me===void 0)&&Me.color)&&((ft=document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id","clip-path-corners-square-color-"+Ae+"-"+_e),O._defs.appendChild(ft),O._cornersSquareClipPath=O._cornersDotClipPath=Ze=ft,O._createColor({options:(Ie=K.cornersSquareOptions)===null||Ie===void 0?void 0:Ie.gradient,color:(Ce=K.cornersSquareOptions)===null||Ce===void 0?void 0:Ce.color,additionalRotation:We,x:Ue,y:je,height:ae,width:ae,name:"corners-square-color-"+Ae+"-"+_e})),(Le=K.cornersSquareOptions)===null||Le===void 0?void 0:Le.type){var rt=new re({svg:O._element,type:K.cornersSquareOptions.type});rt.draw(Ue,je,ae,We),rt._element&&ft&&ft.appendChild(rt._element)}else for(var Pt=new U({svg:O._element,type:K.dotsOptions.type}),mt=function(st){for(var tn=function(nt){if(!(!((Ke=E[st])===null||Ke===void 0)&&Ke[nt]))return"continue";Pt.draw(Ue+st*pe,je+nt*pe,pe,function(an,ee){var oe;return!!(!((oe=E[st+an])===null||oe===void 0)&&oe[nt+ee])}),Pt._element&&ft&&ft.appendChild(Pt._element)},At=0;At<E[st].length;At++)tn(At)},ot=0;ot<E.length;ot++)mt(ot);if((!((Be=K.cornersDotOptions)===null||Be===void 0)&&Be.gradient||!((G=K.cornersDotOptions)===null||G===void 0)&&G.color)&&((Ze=document.createElementNS("http://www.w3.org/2000/svg","clipPath")).setAttribute("id","clip-path-corners-dot-color-"+Ae+"-"+_e),O._defs.appendChild(Ze),O._cornersDotClipPath=Ze,O._createColor({options:(B=K.cornersDotOptions)===null||B===void 0?void 0:B.gradient,color:(F=K.cornersDotOptions)===null||F===void 0?void 0:F.color,additionalRotation:We,x:Ue+2*pe,y:je+2*pe,height:me,width:me,name:"corners-dot-color-"+Ae+"-"+_e})),(se=K.cornersDotOptions)===null||se===void 0?void 0:se.type){var Kt=new P({svg:O._element,type:K.cornersDotOptions.type});Kt.draw(Ue+2*pe,je+2*pe,me,We),Kt._element&&Ze&&Ze.appendChild(Kt._element)}else{Pt=new U({svg:O._element,type:K.dotsOptions.type});var St=function(st){for(var tn=function(nt){if(!(!((Ee=S[st])===null||Ee===void 0)&&Ee[nt]))return"continue";Pt.draw(Ue+st*pe,je+nt*pe,pe,function(an,ee){var oe;return!!(!((oe=S[st+an])===null||oe===void 0)&&oe[nt+ee])}),Pt._element&&Ze&&Ze.appendChild(Pt._element)},At=0;At<S[st].length;At++)tn(At)};for(ot=0;ot<S.length;ot++)St(ot)}})},j.prototype.loadImage=function(){var O=this;return new Promise(function(Z,K){var te=O._options,ye=new Image;if(!te.image)return K("Image is not defined");typeof te.imageOptions.crossOrigin=="string"&&(ye.crossOrigin=te.imageOptions.crossOrigin),O._image=ye,ye.onload=function(){Z()},ye.src=te.image})},j.prototype.drawImage=function(O){var Z=O.width,K=O.height,te=O.count,ye=O.dotSize;return u(this,void 0,void 0,function(){var pe,ae,me,we,be,Ne,Je,Me,Ie;return h(this,function(Ce){switch(Ce.label){case 0:return pe=this._options,ae=(pe.width-te*ye)/2,me=(pe.height-te*ye)/2,we=ae+pe.imageOptions.margin+(te*ye-Z)/2,be=me+pe.imageOptions.margin+(te*ye-K)/2,Ne=Z-2*pe.imageOptions.margin,Je=K-2*pe.imageOptions.margin,(Me=document.createElementNS("http://www.w3.org/2000/svg","image")).setAttribute("x",String(we)),Me.setAttribute("y",String(be)),Me.setAttribute("width",Ne+"px"),Me.setAttribute("height",Je+"px"),[4,$(pe.image||"")];case 1:return Ie=Ce.sent(),Me.setAttribute("href",Ie||""),this._element.appendChild(Me),[2]}})})},j.prototype._createColor=function(O){var Z=O.options,K=O.color,te=O.additionalRotation,ye=O.x,pe=O.y,ae=O.height,me=O.width,we=O.name,be=me>ae?me:ae,Ne=document.createElementNS("http://www.w3.org/2000/svg","rect");if(Ne.setAttribute("x",String(ye)),Ne.setAttribute("y",String(pe)),Ne.setAttribute("height",String(ae)),Ne.setAttribute("width",String(me)),Ne.setAttribute("clip-path","url('#clip-path-"+we+"')"),Z){var Je;if(Z.type==="radial")(Je=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")).setAttribute("id",we),Je.setAttribute("gradientUnits","userSpaceOnUse"),Je.setAttribute("fx",String(ye+me/2)),Je.setAttribute("fy",String(pe+ae/2)),Je.setAttribute("cx",String(ye+me/2)),Je.setAttribute("cy",String(pe+ae/2)),Je.setAttribute("r",String(be/2));else{var Me=((Z.rotation||0)+te)%(2*Math.PI),Ie=(Me+2*Math.PI)%(2*Math.PI),Ce=ye+me/2,Le=pe+ae/2,Ke=ye+me/2,Be=pe+ae/2;Ie>=0&&Ie<=.25*Math.PI||Ie>1.75*Math.PI&&Ie<=2*Math.PI?(Ce-=me/2,Le-=ae/2*Math.tan(Me),Ke+=me/2,Be+=ae/2*Math.tan(Me)):Ie>.25*Math.PI&&Ie<=.75*Math.PI?(Le-=ae/2,Ce-=me/2/Math.tan(Me),Be+=ae/2,Ke+=me/2/Math.tan(Me)):Ie>.75*Math.PI&&Ie<=1.25*Math.PI?(Ce+=me/2,Le+=ae/2*Math.tan(Me),Ke-=me/2,Be-=ae/2*Math.tan(Me)):Ie>1.25*Math.PI&&Ie<=1.75*Math.PI&&(Le+=ae/2,Ce+=me/2/Math.tan(Me),Be-=ae/2,Ke-=me/2/Math.tan(Me)),(Je=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")).setAttribute("id",we),Je.setAttribute("gradientUnits","userSpaceOnUse"),Je.setAttribute("x1",String(Math.round(Ce))),Je.setAttribute("y1",String(Math.round(Le))),Je.setAttribute("x2",String(Math.round(Ke))),Je.setAttribute("y2",String(Math.round(Be)))}Z.colorStops.forEach(function(G){var B=G.offset,F=G.color,se=document.createElementNS("http://www.w3.org/2000/svg","stop");se.setAttribute("offset",100*B+"%"),se.setAttribute("stop-color",F),Je.appendChild(se)}),Ne.setAttribute("fill","url('#"+we+"')"),this._defs.appendChild(Je)}else K&&Ne.setAttribute("fill",K);this._element.appendChild(Ne)},j.instanceCount=0,j}(),I="canvas";for(var _={},x=0;x<=40;x++)_[x]=x;const v={type:I,shape:"square",width:300,height:300,data:"",margin:0,qrOptions:{typeNumber:_[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 k=function(){return k=Object.assign||function(j){for(var O,Z=1,K=arguments.length;Z<K;Z++)for(var te in O=arguments[Z])Object.prototype.hasOwnProperty.call(O,te)&&(j[te]=O[te]);return j},k.apply(this,arguments)};function ne(j){var O=k({},j);if(!O.colorStops||!O.colorStops.length)throw"Field 'colorStops' is required in gradient";return O.rotation?O.rotation=Number(O.rotation):O.rotation=0,O.colorStops=O.colorStops.map(function(Z){return k(k({},Z),{offset:Number(Z.offset)})}),O}function N(j){var O=k({},j);return O.width=Number(O.width),O.height=Number(O.height),O.margin=Number(O.margin),O.imageOptions=k(k({},O.imageOptions),{hideBackgroundDots:!!O.imageOptions.hideBackgroundDots,imageSize:Number(O.imageOptions.imageSize),margin:Number(O.imageOptions.margin)}),O.margin>Math.min(O.width,O.height)&&(O.margin=Math.min(O.width,O.height)),O.dotsOptions=k({},O.dotsOptions),O.dotsOptions.gradient&&(O.dotsOptions.gradient=ne(O.dotsOptions.gradient)),O.cornersSquareOptions&&(O.cornersSquareOptions=k({},O.cornersSquareOptions),O.cornersSquareOptions.gradient&&(O.cornersSquareOptions.gradient=ne(O.cornersSquareOptions.gradient))),O.cornersDotOptions&&(O.cornersDotOptions=k({},O.cornersDotOptions),O.cornersDotOptions.gradient&&(O.cornersDotOptions.gradient=ne(O.cornersDotOptions.gradient))),O.backgroundOptions&&(O.backgroundOptions=k({},O.backgroundOptions),O.backgroundOptions.gradient&&(O.backgroundOptions.gradient=ne(O.backgroundOptions.gradient))),O}var q=s(192),ie=s.n(q),ue=function(j,O,Z,K){return new(Z||(Z=Promise))(function(te,ye){function pe(we){try{me(K.next(we))}catch(be){ye(be)}}function ae(we){try{me(K.throw(we))}catch(be){ye(be)}}function me(we){var be;we.done?te(we.value):(be=we.value,be instanceof Z?be:new Z(function(Ne){Ne(be)})).then(pe,ae)}me((K=K.apply(j,O||[])).next())})},he=function(j,O){var Z,K,te,ye,pe={label:0,sent:function(){if(1&te[0])throw te[1];return te[1]},trys:[],ops:[]};return ye={next:ae(0),throw:ae(1),return:ae(2)},typeof Symbol=="function"&&(ye[Symbol.iterator]=function(){return this}),ye;function ae(me){return function(we){return function(be){if(Z)throw new TypeError("Generator is already executing.");for(;pe;)try{if(Z=1,K&&(te=2&be[0]?K.return:be[0]?K.throw||((te=K.return)&&te.call(K),0):K.next)&&!(te=te.call(K,be[1])).done)return te;switch(K=0,te&&(be=[2&be[0],te.value]),be[0]){case 0:case 1:te=be;break;case 4:return pe.label++,{value:be[1],done:!1};case 5:pe.label++,K=be[1],be=[0];continue;case 7:be=pe.ops.pop(),pe.trys.pop();continue;default:if(!((te=(te=pe.trys).length>0&&te[te.length-1])||be[0]!==6&&be[0]!==2)){pe=0;continue}if(be[0]===3&&(!te||be[1]>te[0]&&be[1]<te[3])){pe.label=be[1];break}if(be[0]===6&&pe.label<te[1]){pe.label=te[1],te=be;break}if(te&&pe.label<te[2]){pe.label=te[2],pe.ops.push(be);break}te[2]&&pe.ops.pop(),pe.trys.pop();continue}be=O.call(j,pe)}catch(Ne){be=[6,Ne],K=0}finally{Z=te=0}if(5&be[0])throw be[1];return{value:be[0]?be[1]:void 0,done:!0}}([me,we])}}};const Se=function(){function j(O){this._options=O?N(g(v,O)):v,this.update()}return j._clearContainer=function(O){O&&(O.innerHTML="")},j.prototype._setupSvg=function(){var O=this;if(this._qr){var Z=new C(this._options);this._svg=Z.getElement(),this._svgDrawingPromise=Z.drawQR(this._qr).then(function(){var K;O._svg&&((K=O._extension)===null||K===void 0||K.call(O,Z.getElement(),O._options))})}},j.prototype._setupCanvas=function(){var O,Z=this;this._qr&&(this._canvas=document.createElement("canvas"),this._canvas.width=this._options.width,this._canvas.height=this._options.height,this._setupSvg(),this._canvasDrawingPromise=(O=this._svgDrawingPromise)===null||O===void 0?void 0:O.then(function(){if(Z._svg){var K=Z._svg,te=new XMLSerializer().serializeToString(K),ye="data:image/svg+xml;base64,"+btoa(te),pe=new Image;return new Promise(function(ae){pe.onload=function(){var me,we;(we=(me=Z._canvas)===null||me===void 0?void 0:me.getContext("2d"))===null||we===void 0||we.drawImage(pe,0,0),ae()},pe.src=ye})}}))},j.prototype._getElement=function(O){return O===void 0&&(O="png"),ue(this,void 0,void 0,function(){return he(this,function(Z){switch(Z.label){case 0:if(!this._qr)throw"QR code is empty";return O.toLowerCase()!=="svg"?[3,2]:(this._svg&&this._svgDrawingPromise||this._setupSvg(),[4,this._svgDrawingPromise]);case 1:return Z.sent(),[2,this._svg];case 2:return this._canvas&&this._canvasDrawingPromise||this._setupCanvas(),[4,this._canvasDrawingPromise];case 3:return Z.sent(),[2,this._canvas]}})})},j.prototype.update=function(O){j._clearContainer(this._container),this._options=O?N(g(this._options,O)):this._options,this._options.data&&(this._qr=ie()(this._options.qrOptions.typeNumber,this._options.qrOptions.errorCorrectionLevel),this._qr.addData(this._options.data,this._options.qrOptions.mode||function(Z){switch(!0){case/^[0-9]*$/.test(Z):return l;case/^[0-9A-Z $%*+\-./:]*$/.test(Z):return f;default:return c}}(this._options.data)),this._qr.make(),this._options.type===I?this._setupCanvas():this._setupSvg(),this.append(this._container))},j.prototype.append=function(O){if(O){if(typeof O.appendChild!="function")throw"Container should be a single DOM node";this._options.type===I?this._canvas&&O.appendChild(this._canvas):this._svg&&O.appendChild(this._svg),this._container=O}},j.prototype.applyExtension=function(O){if(!O)throw"Extension function should be defined.";this._extension=O,this.update()},j.prototype.deleteExtension=function(){this._extension=void 0,this.update()},j.prototype.getRawData=function(O){return O===void 0&&(O="png"),ue(this,void 0,void 0,function(){var Z,K,te;return he(this,function(ye){switch(ye.label){case 0:if(!this._qr)throw"QR code is empty";return[4,this._getElement(O)];case 1:return(Z=ye.sent())?O.toLowerCase()==="svg"?(K=new XMLSerializer,te=K.serializeToString(Z),[2,new Blob([`<?xml version="1.0" standalone="no"?>\r
514
514
  `+te],{type:"image/svg+xml"})]):[2,new Promise(function(pe){return Z.toBlob(pe,"image/"+O,1)})]:[2,null]}})})},j.prototype.download=function(O){return ue(this,void 0,void 0,function(){var Z,K,te,ye,pe;return he(this,function(ae){switch(ae.label){case 0:if(!this._qr)throw"QR code is empty";return Z="png",K="qr",typeof O=="string"?(Z=O,console.warn("Extension is deprecated as argument for 'download' method, please pass object { name: '...', extension: '...' } as argument")):typeof O=="object"&&O!==null&&(O.name&&(K=O.name),O.extension&&(Z=O.extension)),[4,this._getElement(Z)];case 1:return(te=ae.sent())?(Z.toLowerCase()==="svg"?(ye=new XMLSerializer,pe=`<?xml version="1.0" standalone="no"?>\r
515
515
  `+(pe=ye.serializeToString(te)),b("data:image/svg+xml;charset=utf-8,"+encodeURIComponent(pe),K+".svg")):b(te.toDataURL("image/"+Z),K+"."+Z),[2]):[2]}})})},j}()}},r={};function i(a){if(r[a])return r[a].exports;var o=r[a]={exports:{}};return n[a](o,o.exports,i),o.exports}return i.n=a=>{var o=a&&a.__esModule?()=>a.default:()=>a;return i.d(o,{a:o}),o},i.d=(a,o)=>{for(var s in o)i.o(o,s)&&!i.o(a,s)&&Object.defineProperty(a,s,{enumerable:!0,get:o[s]})},i.o=(a,o)=>Object.prototype.hasOwnProperty.call(a,o),i(676)})().default})})(CX);var OGe=CX.exports;const PGe=Ut(OGe),MGe={margin:0,dotsOptions:{type:"dots"},cornersSquareOptions:{type:"extra-rounded"},cornersDotOptions:{type:"dot"}};function IR({data:e,size:t,image:n,config:r,...i}){const a=z.useRef(null),o=z.useMemo(()=>({...MGe,data:e,width:t,height:t,...n&&{image:n,imageOptions:{crossOrigin:"anonymous",margin:0}},...r}),[e,t,n,r]),[s]=z.useState(new PGe(o));return z.useEffect(()=>{a.current&&s.append(a.current)},[s,a]),z.useEffect(()=>{s&&s.update(o)},[e,t,n,r]),W.jsx(yt,{ref:a,...i})}IR.propTypes={data:ge.string.isRequired,size:ge.number.isRequired,image:ge.string,config:ge.object};IR.defaultProps={image:null,config:{}};function kR({tokenState:e,locale:t,messages:n}){const{t:r,matchSmallScreen:i}=Gl(),a="DID Wallet",o=(n==null?void 0:n.scan)||r("scanWithWallet"),s=r("download"),l=r("downloadTips"),f=160,c=en(()=>["zh","en"].includes?`https://www.didwallet.io/${t}`:"https://www.didwallet.io/en",[t]),d=en(()=>W.jsxs(W.Fragment,{children:[l," ",W.jsx(yt,{component:"a",href:c,target:"_blank",rel:"noreferrer",sx:{color:Rt.foregroundsFgInteractive,textDecoration:"none","&:hover":{textDecoration:"underline"}},children:s})]}),[c,s,l]);return W.jsxs(Yu,{sx:{display:"flex",gap:1,justifyContent:"space-between",alignItems:i?"center":"stretch",flexDirection:i?"column":"row"},children:[W.jsx(yt,{sx:{display:i?"none":"block"},children:W.jsx(Rp,{width:"24px",height:"24px"})}),W.jsxs(yt,{sx:{display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",flex:1,wordBreak:"break-word",width:i?186:"auto"},children:[W.jsxs(Br,{sx:{fontSize:"14px",fontWeight:500,display:"flex",alignItems:"center",gap:1},children:[i?W.jsx(Rp,{width:"24px",height:"24px"}):null,a]}),W.jsx(Br,{sx:{flex:1,color:Rt.foregroundsFgMuted,fontSize:"12px"},children:o}),W.jsx(yt,{sx:{color:Rt.foregroundsFgMuted,fontSize:"12px",display:i?"none":"block"},children:d})]}),W.jsx(IR,{data:e.url,size:f,sx:{p:1.5,borderRadius:2,border:`1px solid ${Rt.strokeBorderBase}`,backgroundColor:"white",fontSize:0}}),W.jsx(yt,{sx:{color:Rt.textMuted,fontSize:"12px",display:i?"block":"none"},children:d})]})}kR.propTypes={tokenState:ge.object.isRequired,locale:ge.string,messages:ge.object};kR.defaultProps={locale:"en",messages:{}};const RX={width:24,height:24,body:'<path fill="currentColor" d="M12 22q-2.05 0-3.875-.788t-3.188-2.15q-1.362-1.362-2.15-3.187T2 12q0-2.075.788-3.888t2.15-3.174Q6.3 3.575 8.124 2.788T12 2q2.075 0 3.888.788t3.174 2.15q1.363 1.362 2.15 3.175T22 12q0 2.05-.788 3.875t-2.15 3.188q-1.362 1.362-3.175 2.15T12 22Zm0-2.05q.65-.9 1.125-1.875T13.9 16h-3.8q.3 1.1.775 2.075T12 19.95Zm-2.6-.4q-.45-.825-.788-1.713T8.05 16H5.1q.725 1.25 1.813 2.175T9.4 19.55Zm5.2 0q1.4-.45 2.488-1.375T18.9 16h-2.95q-.225.95-.562 1.838T14.6 19.55ZM4.25 14h3.4q-.075-.5-.113-.988T7.5 12q0-.525.038-1.012T7.65 10h-3.4q-.125.5-.188.988T4 12q0 .525.063 1.012T4.25 14Zm5.4 0h4.7q.075-.5.113-.988T14.5 12q0-.525-.038-1.012T14.35 10h-4.7q-.075.5-.113.988T9.5 12q0 .525.038 1.012T9.65 14Zm6.7 0h3.4q.125-.5.188-.988T20 12q0-.525-.063-1.012T19.75 10h-3.4q.075.5.113.988T16.5 12q0 .525-.038 1.012T16.35 14Zm-.4-6h2.95q-.725-1.25-1.812-2.175T14.6 4.45q.45.825.788 1.713T15.95 8ZM10.1 8h3.8q-.3-1.1-.775-2.075T12 4.05q-.65.9-1.125 1.875T10.1 8Zm-5 0h2.95q.225-.95.563-1.838T9.4 4.45Q8 4.9 6.912 5.825T5.1 8Z"/>'},$X={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"/>'},IX={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"/>'},kX={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"/>'},DR={width:256,height:285,body:'<path d="M220.412 0h-92.415l28.562 89.006h92.416l-74.77 53.077l28.57 89.511c48.128-35.06 63.854-88.12 46.208-142.588L220.413 0ZM7.018 89.006h92.416L127.997 0H35.589L7.019 89.006c-17.655 54.468-1.92 107.529 46.207 142.588l28.563-89.51l-74.77-53.078Zm46.208 142.588l74.77 52.97l74.77-52.97l-74.77-53.847l-74.77 53.847Z"/>'};function DX({icon:e,...t}){return W.jsx(Wu,{...t,sx:{backgroundColor:"white",border:`1px solid ${Rt.borderBase}`,...t==null?void 0:t.sx},children:W.jsx(Zn,{icon:e})})}DX.propTypes={icon:ge.any.isRequired};function LX({providerList:e,onLogin:t}){return W.jsxs(Yu,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[W.jsxs(yt,{sx:{display:"flex",alignItems:"center",gap:1},children:[W.jsx(Zn,{icon:RX,fontSize:"1.3rem"}),W.jsx(Br,{sx:{fontSize:"16px",fontWeight:"bold"},children:"Others"})]}),W.jsx(yt,{sx:{display:"flex",gap:2},children:e.map(r=>{const i={auth0:DR,apple:$X,github:IX,google:kX};return W.jsx(DX,{icon:i[r.provider],onClick:()=>t(r)},r.provider)})})]})}LX.propTypes={onLogin:ge.func.isRequired,providerList:ge.array.isRequired};function OX({title:e,icon:t,...n}){return W.jsxs(Yu,{...n,sx:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer","&:hover":{backgroundColor:Rt.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"},...n==null?void 0:n.sx},children:[W.jsxs(yt,{sx:{display:"flex",alignItems:"center",gap:1},children:[W.jsx(Zn,{icon:t,fontSize:"1.5rem",style:{transform:"scale(0.95)"}}),W.jsx(Br,{sx:{fontSize:"16px",fontWeight:"bold"},children:e})]}),W.jsx(Zn,{className:"other-item-icon",icon:VE,fontSize:"1.3rem",color:Rt.primaryBase})]})}OX.propTypes={title:ge.string.isRequired,icon:ge.string.isRequired};function PX({providerList:e,onLogin:t}){return W.jsx(yt,{sx:{display:"flex",flexDirection:"column",gap:1.5},children:e.map(n=>{const r={auth0:DR,apple:$X,github:IX,google:kX},i={auth0:"Auth0",apple:"Apple",github:"Github",google:"Google"};return W.jsx(OX,{title:i[n.provider],icon:r[n.provider],onClick:()=>{t(n)}},n.provider)})})}PX.propTypes={onLogin:ge.func.isRequired,providerList:ge.array.isRequired};function u2({providerList:e,type:t,onSuccess:n,onError:r,tokenState:i}){const{extraParams:a,changeStatus:o}=Gl(),{loginOAuth:s,logoutOAuth:l,translation:f,oauthState:c}=hR(),d=Ct(async p=>{try{c.loading=!0,c.status="scanned";const y=await s(p,{action:i.action,...a}),g=Qc({returnDomain:!1});Mr.remove("connected_did",g),Mr.remove("connected_pk",g),Mr.remove("connected_wallet_os",g),Mr.set("connected_app",tR(i.appInfo,i.memberAppInfo),g),y!=null&&y.sessionToken&&(c.loading=!1,c.status="succeed",await l({provider:p.provider}),n({...y,encrypted:!1},b=>b,{sourceAppPid:a==null?void 0:a.sourceAppPid}))}catch(y){const g=JZ(y,f.loginOAuthFailed);c.loading=!1,c.error=g,c.status="error",await l({provider:p.provider}),r(new Error(g))}});return z.useEffect(()=>{o(c.status)},[o,c.status]),t==="stack"?W.jsx(LX,{providerList:e,onLogin:d}):W.jsx(PX,{providerList:e,onLogin:d})}u2.propTypes={providerList:ge.array.isRequired,type:ge.oneOf(["list","stack"]),onSuccess:ge.func.isRequired,onError:ge.func.isRequired,tokenState:ge.object.isRequired};u2.defaultProps={type:"stack"};var BGe=Yb,NGe=nC,FGe=1,UGe=2;function HGe(e,t,n,r){var i=n.length,a=i,o=!r;if(e==null)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=n[i];var l=s[0],f=e[l],c=s[1];if(o&&s[2]){if(f===void 0&&!(l in e))return!1}else{var d=new BGe;if(r)var p=r(f,c,l,e,t,d);if(!(p===void 0?NGe(c,f,FGe|UGe,r,d):p))return!1}}return!0}var jGe=HGe,JGe=zi;function VGe(e){return e===e&&!JGe(e)}var MX=VGe,qGe=MX,GGe=Am;function WGe(e){for(var t=GGe(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,qGe(i)]}return t}var zGe=WGe;function KGe(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var BX=KGe,YGe=jGe,ZGe=zGe,XGe=BX;function QGe(e){var t=ZGe(e);return t.length==1&&t[0][2]?XGe(t[0][0],t[0][1]):function(n){return n===e||YGe(n,e,t)}}var eWe=QGe,tWe=nC,nWe=dm,rWe=NW,iWe=y8,aWe=MX,oWe=BX,sWe=qp,lWe=1,uWe=2;function cWe(e,t){return iWe(e)&&aWe(t)?oWe(sWe(e),t):function(n){var r=nWe(n,e);return r===void 0&&r===t?rWe(n,e):tWe(t,r,lWe|uWe)}}var fWe=cWe,dWe=fm;function pWe(e){return function(t){return dWe(t,e)}}var hWe=pWe,mWe=lG,gWe=hWe,yWe=y8,vWe=qp;function bWe(e){return yWe(e)?mWe(vWe(e)):gWe(e)}var EWe=bWe,TWe=eWe,AWe=fWe,wWe=eE,SWe=Ta,_We=EWe;function xWe(e){return typeof e=="function"?e:e==null?wWe:typeof e=="object"?SWe(e)?AWe(e[0],e[1]):TWe(e):_We(e)}var GE=xWe,CWe="Expected a function";function RWe(e){if(typeof e!="function")throw new TypeError(CWe);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var $We=RWe,IWe=Jp,kWe=GE,DWe=BW,LWe=V8;function OWe(e,t){if(e==null)return{};var n=IWe(LWe(e),function(r){return[r]});return t=kWe(t),DWe(e,n,function(r,i){return t(r,i[0])})}var PWe=OWe,MWe=GE,BWe=$We,NWe=PWe;function FWe(e,t){return NWe(e,BWe(MWe(t)))}var UWe=FWe;const DF=Ut(UWe);function HWe(e){return e==null}var jWe=HWe;const LF=Ut(jWe);var NX={};Object.defineProperty(NX,"__esModule",{value:!0});var JWe=NX.default=VWe,qS=z;function VWe(e,t){const n=(0,qS.useRef)();(0,qS.useEffect)(()=>{n.current=e},[e]),(0,qS.useEffect)(()=>{function r(){n.current()}if(t!==null){const i=setInterval(r,t);return()=>clearInterval(i)}},[t])}var FX={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function i(l,f,c){this.fn=l,this.context=f,this.once=c||!1}function a(l,f,c,d,p){if(typeof c!="function")throw new TypeError("The listener must be a function");var y=new i(c,d||l,p),g=n?n+f:f;return l._events[g]?l._events[g].fn?l._events[g]=[l._events[g],y]:l._events[g].push(y):(l._events[g]=y,l._eventsCount++),l}function o(l,f){--l._eventsCount===0?l._events=new r:delete l._events[f]}function s(){this._events=new r,this._eventsCount=0}s.prototype.eventNames=function(){var f=[],c,d;if(this._eventsCount===0)return f;for(d in c=this._events)t.call(c,d)&&f.push(n?d.slice(1):d);return Object.getOwnPropertySymbols?f.concat(Object.getOwnPropertySymbols(c)):f},s.prototype.listeners=function(f){var c=n?n+f:f,d=this._events[c];if(!d)return[];if(d.fn)return[d.fn];for(var p=0,y=d.length,g=new Array(y);p<y;p++)g[p]=d[p].fn;return g},s.prototype.listenerCount=function(f){var c=n?n+f:f,d=this._events[c];return d?d.fn?1:d.length:0},s.prototype.emit=function(f,c,d,p,y,g){var b=n?n+f:f;if(!this._events[b])return!1;var R=this._events[b],A=arguments.length,$,D;if(R.fn){switch(R.once&&this.removeListener(f,R.fn,void 0,!0),A){case 1:return R.fn.call(R.context),!0;case 2:return R.fn.call(R.context,c),!0;case 3:return R.fn.call(R.context,c,d),!0;case 4:return R.fn.call(R.context,c,d,p),!0;case 5:return R.fn.call(R.context,c,d,p,y),!0;case 6:return R.fn.call(R.context,c,d,p,y,g),!0}for(D=1,$=new Array(A-1);D<A;D++)$[D-1]=arguments[D];R.fn.apply(R.context,$)}else{var M=R.length,J;for(D=0;D<M;D++)switch(R[D].once&&this.removeListener(f,R[D].fn,void 0,!0),A){case 1:R[D].fn.call(R[D].context);break;case 2:R[D].fn.call(R[D].context,c);break;case 3:R[D].fn.call(R[D].context,c,d);break;case 4:R[D].fn.call(R[D].context,c,d,p);break;default:if(!$)for(J=1,$=new Array(A-1);J<A;J++)$[J-1]=arguments[J];R[D].fn.apply(R[D].context,$)}}return!0},s.prototype.on=function(f,c,d){return a(this,f,c,d,!1)},s.prototype.once=function(f,c,d){return a(this,f,c,d,!0)},s.prototype.removeListener=function(f,c,d,p){var y=n?n+f:f;if(!this._events[y])return this;if(!c)return o(this,y),this;var g=this._events[y];if(g.fn)g.fn===c&&(!p||g.once)&&(!d||g.context===d)&&o(this,y);else{for(var b=0,R=[],A=g.length;b<A;b++)(g[b].fn!==c||p&&!g[b].once||d&&g[b].context!==d)&&R.push(g[b]);R.length?this._events[y]=R.length===1?R[0]:R:o(this,y)}return this},s.prototype.removeAllListeners=function(f){var c;return f?(c=n?n+f:f,this._events[c]&&o(this,c)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s})(FX);var UX=FX.exports,LR=Object.defineProperty,qWe=Object.getOwnPropertyDescriptor,GWe=Object.getOwnPropertyNames,WWe=Object.prototype.hasOwnProperty,zWe=(e,t)=>{for(var n in t)LR(e,n,{get:t[n],enumerable:!0})},KWe=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of GWe(t))!WWe.call(e,i)&&i!==n&&LR(e,i,{get:()=>t[i],enumerable:!(r=qWe(t,i))||r.enumerable});return e},YWe=e=>KWe(LR({},"__esModule",{value:!0}),e),HX={};zWe(HX,{Channel:()=>JX,LongPoll:()=>qv,Presence:()=>y0,Serializer:()=>v0,Socket:()=>rze});var ZWe=YWe(HX),J0=e=>typeof e=="function"?e:function(){return e},XWe=typeof self<"u"?self:null,g0=typeof window<"u"?window:null,V0=XWe||g0||V0,QWe="2.0.0",Ss={connecting:0,open:1,closing:2,closed:3},eze=1e4,tze=1e3,ka={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},cl={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},ex={longpoll:"longpoll",websocket:"websocket"},nze={complete:4},My=class{constructor(e,t,n,r){this.channel=e,this.event=t,this.payload=n||function(){return{}},this.receivedResp=null,this.timeout=r,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(e){this.timeout=e,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(e,t){return this.hasReceived(e)&&t(this.receivedResp.response),this.recHooks.push({status:e,callback:t}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:e,response:t,_ref:n}){this.recHooks.filter(r=>r.status===e).forEach(r=>r.callback(t))}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,e=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=e,this.matchReceive(e)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(e){return this.receivedResp&&this.receivedResp.status===e}trigger(e,t){this.channel.trigger(this.refEvent,{status:e,response:t})}},jX=class{constructor(e,t){this.callback=e,this.timerCalc=t,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))}},JX=class{constructor(e,t,n){this.state=ka.closed,this.topic=e,this.params=J0(t||{}),this.socket=n,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new My(this,cl.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new jX(()=>{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=ka.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(r=>r.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=ka.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=ka.closed,this.socket.remove(this)}),this.onError(r=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,r),this.isJoining()&&this.joinPush.reset(),this.state=ka.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 My(this,cl.leave,J0({}),this.timeout).send(),this.state=ka.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(cl.reply,(r,i)=>{this.trigger(this.replyEventName(i),r)})}join(e=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=e,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(e){this.on(cl.close,e)}onError(e){return this.on(cl.error,t=>e(t))}on(e,t){let n=this.bindingRef++;return this.bindings.push({event:e,ref:n,callback:t}),n}off(e,t){this.bindings=this.bindings.filter(n=>!(n.event===e&&(typeof t>"u"||t===n.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(e,t,n=this.timeout){if(t=t||{},!this.joinedOnce)throw new Error(`tried to push '${e}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let r=new My(this,e,function(){return t},n);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}leave(e=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=ka.leaving;let t=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(cl.close,"leave")},n=new My(this,cl.leave,J0({}),e);return n.receive("ok",()=>t()).receive("timeout",()=>t()),n.send(),this.canPush()||n.trigger("ok",{}),n}onMessage(e,t,n){return t}isMember(e,t,n,r){return this.topic!==e?!1:r&&r!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:e,event:t,payload:n,joinRef:r}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(e=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=ka.joining,this.joinPush.resend(e))}trigger(e,t,n,r){let i=this.onMessage(e,t,n,r);if(t&&!i)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let a=this.bindings.filter(o=>o.event===e);for(let o=0;o<a.length;o++)a[o].callback(i,n,r||this.joinRef())}replyEventName(e){return`chan_reply_${e}`}isClosed(){return this.state===ka.closed}isErrored(){return this.state===ka.errored}isJoined(){return this.state===ka.joined}isJoining(){return this.state===ka.joining}isLeaving(){return this.state===ka.leaving}},c2=class{static request(e,t,n,r,i,a,o){if(V0.XDomainRequest){let s=new V0.XDomainRequest;return this.xdomainRequest(s,e,t,r,i,a,o)}else{let s=new V0.XMLHttpRequest;return this.xhrRequest(s,e,t,n,r,i,a,o)}}static xdomainRequest(e,t,n,r,i,a,o){return e.timeout=i,e.open(t,n),e.onload=()=>{let s=this.parseJSON(e.responseText);o&&o(s)},a&&(e.ontimeout=a),e.onprogress=()=>{},e.send(r),e}static xhrRequest(e,t,n,r,i,a,o,s){return e.open(t,n,!0),e.timeout=a,e.setRequestHeader("Content-Type",r),e.onerror=()=>s&&s(null),e.onreadystatechange=()=>{if(e.readyState===nze.complete&&s){let l=this.parseJSON(e.responseText);s(l)}},o&&(e.ontimeout=o),e.send(i),e}static parseJSON(e){if(!e||e==="")return null;try{return JSON.parse(e)}catch{return console&&console.log("failed to parse JSON response",e),null}}static serialize(e,t){let n=[];for(var r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=t?`${t}[${r}]`:r,a=e[r];typeof a=="object"?n.push(this.serialize(a,i)):n.push(encodeURIComponent(i)+"="+encodeURIComponent(a))}return n.join("&")}static appendParams(e,t){if(Object.keys(t).length===0)return e;let n=e.match(/\?/)?"&":"?";return`${e}${n}${this.serialize(t)}`}},qv=class{constructor(e){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(e),this.readyState=Ss.connecting,this.poll()}normalizeEndpoint(e){return e.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+ex.websocket),"$1/"+ex.longpoll)}endpointURL(){return c2.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(e,t,n){this.close(e,t,n),this.readyState=Ss.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===Ss.open||this.readyState===Ss.connecting}poll(){this.ajax("GET","application/json",null,()=>this.ontimeout(),e=>{if(e){var{status:t,token:n,messages:r}=e;this.token=n}else t=0;switch(t){case 200:r.forEach(i=>{setTimeout(()=>this.onmessage({data:i}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=Ss.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 ${t}`)}})}send(e){this.currentBatch?this.currentBatch.push(e):this.awaitingBatchAck?this.batchBuffer.push(e):(this.currentBatch=[e],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(e){this.awaitingBatchAck=!0,this.ajax("POST","application/x-ndjson",e.join(`
516
- `),()=>this.onerror("timeout"),t=>{this.awaitingBatchAck=!1,!t||t.status!==200?(this.onerror(t&&t.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(e,t,n){for(let i of this.reqs)i.abort();this.readyState=Ss.closed;let r=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:e,reason:t,wasClean:n});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",r)):this.onclose(r)}ajax(e,t,n,r,i){let a,o=()=>{this.reqs.delete(a),r()};a=c2.request(e,this.endpointURL(),t,n,this.timeout,o,s=>{this.reqs.delete(a),this.isActive()&&i(s)}),this.reqs.add(a)}},y0=class{constructor(e,t={}){let n=t.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=e,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(n.state,r=>{let{onJoin:i,onLeave:a,onSync:o}=this.caller;this.joinRef=this.channel.joinRef(),this.state=y0.syncState(this.state,r,i,a),this.pendingDiffs.forEach(s=>{this.state=y0.syncDiff(this.state,s,i,a)}),this.pendingDiffs=[],o()}),this.channel.on(n.diff,r=>{let{onJoin:i,onLeave:a,onSync:o}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(r):(this.state=y0.syncDiff(this.state,r,i,a),o())})}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}list(e){return y0.list(this.state,e)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(e,t,n,r){let i=this.clone(e),a={},o={};return this.map(i,(s,l)=>{t[s]||(o[s]=l)}),this.map(t,(s,l)=>{let f=i[s];if(f){let c=l.metas.map(g=>g.phx_ref),d=f.metas.map(g=>g.phx_ref),p=l.metas.filter(g=>d.indexOf(g.phx_ref)<0),y=f.metas.filter(g=>c.indexOf(g.phx_ref)<0);p.length>0&&(a[s]=l,a[s].metas=p),y.length>0&&(o[s]=this.clone(f),o[s].metas=y)}else a[s]=l}),this.syncDiff(i,{joins:a,leaves:o},n,r)}static syncDiff(e,t,n,r){let{joins:i,leaves:a}=this.clone(t);return n||(n=function(){}),r||(r=function(){}),this.map(i,(o,s)=>{let l=e[o];if(e[o]=this.clone(s),l){let f=e[o].metas.map(d=>d.phx_ref),c=l.metas.filter(d=>f.indexOf(d.phx_ref)<0);e[o].metas.unshift(...c)}n(o,l,s)}),this.map(a,(o,s)=>{let l=e[o];if(!l)return;let f=s.metas.map(c=>c.phx_ref);l.metas=l.metas.filter(c=>f.indexOf(c.phx_ref)<0),r(o,l,s),l.metas.length===0&&delete e[o]}),e}static list(e,t){return t||(t=function(n,r){return r}),this.map(e,(n,r)=>t(n,r))}static map(e,t){return Object.getOwnPropertyNames(e).map(n=>t(n,e[n]))}static clone(e){return JSON.parse(JSON.stringify(e))}},v0={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(e,t){if(e.payload.constructor===ArrayBuffer)return t(this.binaryEncode(e));{let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))}},decode(e,t){if(e.constructor===ArrayBuffer)return t(this.binaryDecode(e));{let[n,r,i,a,o]=JSON.parse(e);return t({join_ref:n,ref:r,topic:i,event:a,payload:o})}},binaryEncode(e){let{join_ref:t,ref:n,event:r,topic:i,payload:a}=e,o=this.META_LENGTH+t.length+n.length+i.length+r.length,s=new ArrayBuffer(this.HEADER_LENGTH+o),l=new DataView(s),f=0;l.setUint8(f++,this.KINDS.push),l.setUint8(f++,t.length),l.setUint8(f++,n.length),l.setUint8(f++,i.length),l.setUint8(f++,r.length),Array.from(t,d=>l.setUint8(f++,d.charCodeAt(0))),Array.from(n,d=>l.setUint8(f++,d.charCodeAt(0))),Array.from(i,d=>l.setUint8(f++,d.charCodeAt(0))),Array.from(r,d=>l.setUint8(f++,d.charCodeAt(0)));var c=new Uint8Array(s.byteLength+a.byteLength);return c.set(new Uint8Array(s),0),c.set(new Uint8Array(a),s.byteLength),c.buffer},binaryDecode(e){let t=new DataView(e),n=t.getUint8(0),r=new TextDecoder;switch(n){case this.KINDS.push:return this.decodePush(e,t,r);case this.KINDS.reply:return this.decodeReply(e,t,r);case this.KINDS.broadcast:return this.decodeBroadcast(e,t,r)}},decodePush(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=t.getUint8(3),o=this.HEADER_LENGTH+this.META_LENGTH-1,s=n.decode(e.slice(o,o+r));o=o+r;let l=n.decode(e.slice(o,o+i));o=o+i;let f=n.decode(e.slice(o,o+a));o=o+a;let c=e.slice(o,e.byteLength);return{join_ref:s,ref:null,topic:l,event:f,payload:c}},decodeReply(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=t.getUint8(3),o=t.getUint8(4),s=this.HEADER_LENGTH+this.META_LENGTH,l=n.decode(e.slice(s,s+r));s=s+r;let f=n.decode(e.slice(s,s+i));s=s+i;let c=n.decode(e.slice(s,s+a));s=s+a;let d=n.decode(e.slice(s,s+o));s=s+o;let p=e.slice(s,e.byteLength),y={status:d,response:p};return{join_ref:l,ref:f,topic:c,event:cl.reply,payload:y}},decodeBroadcast(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=this.HEADER_LENGTH+2,o=n.decode(e.slice(a,a+r));a=a+r;let s=n.decode(e.slice(a,a+i));a=a+i;let l=e.slice(a,e.byteLength);return{join_ref:null,ref:null,topic:o,event:s,payload:l}}},rze=class{constructor(t,n={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=n.timeout||eze,this.transport=n.transport||V0.WebSocket||qv,this.establishedConnections=0,this.defaultEncoder=v0.encode.bind(v0),this.defaultDecoder=v0.decode.bind(v0),this.closeWasClean=!1,this.binaryType=n.binaryType||"arraybuffer",this.connectClock=1,this.transport!==qv?(this.encode=n.encode||this.defaultEncoder,this.decode=n.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;g0&&g0.addEventListener&&(g0.addEventListener("pagehide",i=>{this.conn&&(this.disconnect(),r=this.connectClock)}),g0.addEventListener("pageshow",i=>{r===this.connectClock&&(r=null,this.connect())})),this.heartbeatIntervalMs=n.heartbeatIntervalMs||3e4,this.rejoinAfterMs=i=>n.rejoinAfterMs?n.rejoinAfterMs(i):[1e3,2e3,5e3][i-1]||1e4,this.reconnectAfterMs=i=>n.reconnectAfterMs?n.reconnectAfterMs(i):[10,50,100,150,200,250,500,1e3,2e3][i-1]||5e3,this.logger=n.logger||null,this.longpollerTimeout=n.longpollerTimeout||2e4,this.params=J0(n.params||{}),this.endPoint=`${t}/${ex.websocket}`,this.vsn=n.vsn||QWe,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new jX(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return qv}replaceTransport(t){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=t}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let t=c2.appendParams(c2.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return t.charAt(0)!=="/"?t:t.charAt(1)==="/"?`${this.protocol()}:${t}`:`${this.protocol()}://${location.host}${t}`}disconnect(t,n,r){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(t,n,r)}connect(t){t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=J0(t)),!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=n=>this.onConnError(n),this.conn.onmessage=n=>this.onConnMessage(n),this.conn.onclose=n=>this.onConnClose(n))}log(t,n,r){this.logger(t,n,r)}hasLogger(){return this.logger!==null}onOpen(t){let n=this.makeRef();return this.stateChangeCallbacks.open.push([n,t]),n}onClose(t){let n=this.makeRef();return this.stateChangeCallbacks.close.push([n,t]),n}onError(t){let n=this.makeRef();return this.stateChangeCallbacks.error.push([n,t]),n}onMessage(t){let n=this.makeRef();return this.stateChangeCallbacks.message.push([n,t]),n}ping(t){if(!this.isConnected())return!1;let n=this.makeRef(),r=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:n});let i=this.onMessage(a=>{a.ref===n&&(this.off([i]),t(Date.now()-r))});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(([,t])=>t())}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(),tze,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(t,n,r){if(!this.conn)return t&&t();this.waitForBufferDone(()=>{this.conn&&(n?this.conn.close(n,r||""):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),t&&t()})})}waitForBufferDone(t,n=1){if(n===5||!this.conn||!this.conn.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(t,n+1)},150*n)}waitForSocketClosed(t,n=1){if(n===5||!this.conn||this.conn.readyState===Ss.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(t,n+1)},150*n)}onConnClose(t){let n=t&&t.code;this.hasLogger()&&this.log("transport","close",t),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&n!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,r])=>r(t))}onConnError(t){this.hasLogger()&&this.log("transport",t);let n=this.transport,r=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,i])=>{i(t,n,r)}),(n===this.transport||r>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(cl.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Ss.connecting:return"connecting";case Ss.open:return"open";case Ss.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(t){this.off(t.stateChangeRefs),this.channels=this.channels.filter(n=>n.joinRef()!==t.joinRef())}off(t){for(let n in this.stateChangeCallbacks)this.stateChangeCallbacks[n]=this.stateChangeCallbacks[n].filter(([r])=>t.indexOf(r)===-1)}channel(t,n={}){let r=new JX(t,n,this);return this.channels.push(r),r}push(t){if(this.hasLogger()){let{topic:n,event:r,payload:i,ref:a,join_ref:o}=t;this.log("push",`${n} ${r} (${o}, ${a})`,i)}this.isConnected()?this.encode(t,n=>this.conn.send(n)):this.sendBuffer.push(()=>this.encode(t,n=>this.conn.send(n)))}makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,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(t=>t()),this.sendBuffer=[])}onConnMessage(t){this.decode(t.data,n=>{let{topic:r,event:i,payload:a,ref:o,join_ref:s}=n;o&&o===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${a.status||""} ${r} ${i} ${o&&"("+o+")"||""}`,a);for(let l=0;l<this.channels.length;l++){const f=this.channels[l];f.isMember(r,i,a,s)&&f.trigger(i,a,o,s)}for(let l=0;l<this.stateChangeCallbacks.message.length;l++){let[,f]=this.stateChangeCallbacks.message[l];f(n)}})}leaveOpenTopic(t){let n=this.channels.find(r=>r.topic===t&&(r.isJoined()||r.isJoining()));n&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${t}"`),n.leave())}},tx={exports:{}},GS,OF;function ize(){if(OF)return GS;OF=1;var e=1e3,t=e*60,n=t*60,r=n*24,i=r*7,a=r*365.25;GS=function(c,d){d=d||{};var p=typeof c;if(p==="string"&&c.length>0)return o(c);if(p==="number"&&isFinite(c))return d.long?l(c):s(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function o(c){if(c=String(c),!(c.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(d){var p=parseFloat(d[1]),y=(d[2]||"ms").toLowerCase();switch(y){case"years":case"year":case"yrs":case"yr":case"y":return p*a;case"weeks":case"week":case"w":return p*i;case"days":case"day":case"d":return p*r;case"hours":case"hour":case"hrs":case"hr":case"h":return p*n;case"minutes":case"minute":case"mins":case"min":case"m":return p*t;case"seconds":case"second":case"secs":case"sec":case"s":return p*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}}}function s(c){var d=Math.abs(c);return d>=r?Math.round(c/r)+"d":d>=n?Math.round(c/n)+"h":d>=t?Math.round(c/t)+"m":d>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var d=Math.abs(c);return d>=r?f(c,d,r,"day"):d>=n?f(c,d,n,"hour"):d>=t?f(c,d,t,"minute"):d>=e?f(c,d,e,"second"):c+" ms"}function f(c,d,p,y){var g=d>=p*1.5;return Math.round(c/p)+" "+y+(g?"s":"")}return GS}function aze(e){n.debug=n,n.default=n,n.coerce=l,n.disable=a,n.enable=i,n.enabled=o,n.humanize=ize(),n.destroy=f,Object.keys(e).forEach(c=>{n[c]=e[c]}),n.names=[],n.skips=[],n.formatters={};function t(c){let d=0;for(let p=0;p<c.length;p++)d=(d<<5)-d+c.charCodeAt(p),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=t;function n(c){let d,p=null,y,g;function b(...R){if(!b.enabled)return;const A=b,$=Number(new Date),D=$-(d||$);A.diff=D,A.prev=d,A.curr=$,d=$,R[0]=n.coerce(R[0]),typeof R[0]!="string"&&R.unshift("%O");let M=0;R[0]=R[0].replace(/%([a-zA-Z%])/g,(U,V)=>{if(U==="%%")return"%";M++;const X=n.formatters[V];if(typeof X=="function"){const re=R[M];U=X.call(A,re),R.splice(M,1),M--}return U}),n.formatArgs.call(A,R),(A.log||n.log).apply(A,R)}return b.namespace=c,b.useColors=n.useColors(),b.color=n.selectColor(c),b.extend=r,b.destroy=n.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(y!==n.namespaces&&(y=n.namespaces,g=n.enabled(c)),g),set:R=>{p=R}}),typeof n.init=="function"&&n.init(b),b}function r(c,d){const p=n(this.namespace+(typeof d>"u"?":":d)+c);return p.log=this.log,p}function i(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];let d;const p=(typeof c=="string"?c:"").split(/[\s,]+/),y=p.length;for(d=0;d<y;d++)p[d]&&(c=p[d].replace(/\*/g,".*?"),c[0]==="-"?n.skips.push(new RegExp("^"+c.slice(1)+"$")):n.names.push(new RegExp("^"+c+"$")))}function a(){const c=[...n.names.map(s),...n.skips.map(s).map(d=>"-"+d)].join(",");return n.enable(""),c}function o(c){if(c[c.length-1]==="*")return!0;let d,p;for(d=0,p=n.skips.length;d<p;d++)if(n.skips[d].test(c))return!1;for(d=0,p=n.names.length;d<p;d++)if(n.names[d].test(c))return!0;return!1}function s(c){return c.toString().substring(2,c.toString().length-2).replace(/\.\*\?$/,"*")}function l(c){return c instanceof Error?c.stack||c.message:c}function f(){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 n.enable(n.load()),n}var oze=aze;(function(e,t){var n={};t.formatArgs=i,t.save=a,t.load=o,t.useColors=r,t.storage=s(),t.destroy=(()=>{let f=!1;return()=>{f||(f=!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`."))}})(),t.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 r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1: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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function i(f){if(f[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+f[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const c="color: "+this.color;f.splice(1,0,c,"color: inherit");let d=0,p=0;f[0].replace(/%[a-zA-Z%]/g,y=>{y!=="%%"&&(d++,y==="%c"&&(p=d))}),f.splice(p,0,c)}t.log=console.debug||console.log||(()=>{});function a(f){try{f?t.storage.setItem("debug",f):t.storage.removeItem("debug")}catch{}}function o(){let f;try{f=t.storage.getItem("debug")}catch{}return!f&&typeof Xt<"u"&&"env"in Xt&&(f=n.DEBUG),f}function s(){try{return localStorage}catch{}}e.exports=oze(t);const{formatters:l}=e.exports;l.j=function(f){try{return JSON.stringify(f)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}})(tx,tx.exports);var OR=tx.exports;const sze=OR;var lze=(e,t=!1)=>{const n=sze(["@arcblock/ws",e].join(":"));return{debug:n,warn:n,info:n,trace:t?n:console.error,error:t?n:console.error}};const uze=lze;var cze=(e,t,n)=>class extends e{constructor(i,a={}){super(i,{transport:n,...a}),this._logger=uze("client",a.silent),this.emitter=new t,this.onOpen(()=>{this._logger.debug("socket open",i)}),this.onClose(()=>{this._logger.debug("socket close",i)}),this.onError(o=>{this._logger.error("socket error",o.error)}),this.onMessage(o=>{this._logger.debug("socket message",o)})}on(i,a,o={}){this.ensureJoinChannel(i,o),this.emitter.on(i,a)}off(i,a){a?this.emitter.off(i,a):this.emitter.removeAllListeners(i),this.ensureLeaveChannel(i)}disconnect(i,a,o){this.emitter.eventNames().forEach(s=>{this.emitter.removeAllListeners(s)}),super.disconnect(i,a,o)}ensureJoinChannel(i,a={}){if(this.emitter.listenerCount(i)>0)return;const s=this.channel(i,a);s.join().receive("ok",l=>{this._logger.debug("join success",{topic:i,message:l})}).receive("error",l=>{this._logger.error("join error",{topic:i,error:l})}).receive("timeout",()=>{this._logger.debug("join timeout",{topic:i})}),s.on(i,({status:l,response:f})=>{l==="ok"?this.emitter.emit(i,f):this._logger.debug("response error",{topic:i,status:l,data:f})})}ensureLeaveChannel(i){if(this.emitter.listenerCount(i)>0)return;const o=this.channels.find(s=>s.topic===i);o&&(this.remove(o),o.leave().receive("ok",s=>{this._logger.debug("leave success",{topic:i,message:s})}).receive("error",s=>{this._logger.error("leave error",{topic:i,err:s})}).receive("timeout",()=>{this._logger.debug("leave timeout",{topic:i})}),o.off(i))}subscribe(i,a={}){let o=this.channels.find(s=>s.topic===i);return o||(o=this.channel(i,a),o.join().receive("ok",s=>{this._logger.debug("join success",{topic:i,message:s})}).receive("error",s=>{this._logger.error("join error",{topic:i,error:s})}).receive("timeout",()=>{this._logger.debug("join timeout",{topic:i})}),o)}unsubscribe(i){this.ensureLeaveChannel(i)}};const fze=UX,{Socket:dze}=ZWe,pze=cze;var hze=pze(dze,fze);const mze=hze;var PR={WsClient:mze};function gze(e){const t=z.useRef(e);z.useEffect(()=>{t.current=e},[e]),z.useEffect(()=>{const n=r=>{!document.hidden&&t.current&&t.current(r)};return document.addEventListener("visibilitychange",n),()=>{document.removeEventListener("visibilitychange",n)}},[])}function yze(e){const t=e||window.location.href;return new URL(t).host}function b0(e){const t={},n=e||window.location.href;if(n){const{hostname:r,protocol:i,port:a}=new URL(n);t["x-real-hostname"]=r,t["x-real-port"]=a,t["x-real-protocol"]=i.endsWith(":")?i.substring(0,i.length-1):i}return t}const WS={};function vze({action:e,prefix:t,checkFn:n,extraParams:r,baseUrl:i}){const a=`${t}/token?${p0(r)}`;return WS[a]||(WS[a]=async function(){var d,p;const s=+new Date,l=await n(a,{headers:b0(i)}),f=+new Date;if(f-s<500&&await Mm(500-(f-s)),(d=l==null?void 0:l.data)!=null&&d.token)return l.data;if((p=l==null?void 0:l.data)!=null&&p.error)throw new Error(l.data.error);const c=Gb(t)?t:`${i}${t}`;throw new Error(`Error generating ${e} qrcode from: ${c}`)}),WS[a]}const bze=()=>{try{const t=new URL(window.location.href).searchParams.get("__connect_url__");if(!t)return null;const n=JJe(t);return{token:VJe(n),url:n}}catch(e){return{error:e}}},VX=()=>Os(globalThis,"blocklet.appPid")||Os(globalThis,"blocklet.appId")||Os(globalThis,"env.appId")||"",Eze=()=>(Os(globalThis,"env.apiPrefix")||"/").replace(/\/$/,"").replace(BZ,""),zS=e=>`relay:${VX()}:${e}`,Tze=()=>window.location.protocol==="https:"?"wss:":"ws:",PF=e=>!e||new URL(e).origin===window.location.origin,MF=e=>["succeed","error","timeout","busy"].includes(e);function Aze({action:e,checkFn:t,checkInterval:n,checkTimeout:r,extraParams:i,locale:a,prefix:o,tokenKey:s,encKey:l,onError:f,onSuccess:c,baseUrl:d,autoConnect:p=!0,forceConnected:y=!0,saveConnect:g=!0,useSocket:b=!0,provider:R="wallet"}){const A=Di({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:d,prefix:`${o}/${e}`,extraParams:DF(i,LF),checkFn:t,results:{},action:e,provider:R}),$=M1[a]||M1.en,D=en(()=>bze(),[]),M=Math.ceil(r/n),J=Di({onSuccessCalled:!1,cancelWhenScannedCounter:0,isSocketAvailable:!1}),{encryptKey:U,decrypt:V}=Hqe(),X=Cm(),re=hm(),le=Ct((...x)=>{const v={[l]:U,...A.extraParams,locale:a,forceConnected:y,autoConnect:p&&!X.wallet&&!J.cancelWhenScannedCounter&&["ios","android"].includes(Mr.get("connected_wallet_os")),provider:A.provider};return re&&(v.visitorId=re),vze({action:e,prefix:A.prefix,baseUrl:A.baseUrl,checkFn:A.checkFn,extraParams:v})(...x)}),Q=()=>{J.cancelWhenScannedCounter++};z.useEffect(()=>{J.cancelWhenScannedCounter>0&&(i.nw?f(new Error($.retryForbidden)):S())},[J.cancelWhenScannedCounter]);const P=z.useRef(null),T=z.useRef(null);z.useEffect(()=>(b&&PF(A.baseUrl)&&VX()?(!P.current||P.current.isConnected()===!1||P.current.baseUrl!==A.baseUrl)&&(P.current=new PR.WsClient(`${Tze()}//${yze(A.baseUrl)}${Eze()}${BZ}/relay`,{longpollerTimeout:5e3,heartbeatIntervalMs:30*1e3}),P.current.baseUrl=A.baseUrl,P.current.onOpen(()=>{J.isSocketAvailable=!0}),P.current.connect()):J.isSocketAvailable&&(J.isSocketAvailable=!1),()=>{P.current&&(P.current.disconnect(),P.current=null)}),[A.baseUrl]);const u={...A.extraParams,locale:a,[s]:A.token||(D==null?void 0:D.token),provider:A.provider},h=()=>!A.token||A.loading||MF(A.status)?null:n,E=async()=>{try{u[s]&&A.status==="created"&&await A.checkFn(`${A.prefix}/timeout?${p0(u)}`,{headers:b0(A.baseUrl)})}catch{}try{A.token&&T.current&&(await P.current.unsubscribe(zS(A.token)),T.current=null)}catch{}},S=Ct(async(x=!0)=>{x&&E();try{A.loading=!0,A.token="",A.url="",A.store=null,A.extraParams=DF(i,LF),await Mm();const v=await le(),k=v.extra||{};A.loading=!1,A.token=v.token,A.url=v.url,A.status="created",A.error="",A.checkCount=0,A.appInfo=v.appInfo,A.memberAppInfo=v.memberAppInfo,A.connectedDid=k.connectedDid,A.saveConnect=k.saveConnect}catch(v){A.loading=!1,A.status="error",A.error=`${$.generateError}: ${v.message}`}}),C=z.useRef(null);z.useEffect(()=>{C.current={state:A,params:u}}),z.useEffect(()=>()=>{const{state:x,params:v}=C.current;x.status==="created"&&v[s]&&x.checkFn(`${x.prefix}/timeout?${p0(v)}`,{headers:b0(x.baseUrl)})},[]);const I=async()=>{try{if(D.error)throw D.error;A.loading=!0,A.token=D.token,A.url=D.url,A.inExistingSession=!0;const x=await _();if(x!=null&&x.status&&(x==null?void 0:x.status)!=="created")throw new Error(`${$.invalidSessionStatus} [${x.status}]`)}catch(x){A.status="error",A.error=x.message,f(x,A==null?void 0:A.store,V)}finally{A.loading=!1}};z.useEffect(()=>{if(!A.token&&!A.store&&!A.loading&&!A.error)if(D)I();else{S(!1);return}if(A.status!=="timeout"&&A.checkCount>M){A.status="timeout",E();return}if(A.status==="succeed"&&!J.onSuccessCalled&&(PF(A.baseUrl)&&g&&A.saveConnect&&A.store.did&&HZ({...A.store,appInfo:A.appInfo,memberAppInfo:A.memberAppInfo}),A.store)){const{nextWorkflow:x}=A.store;if(x)try{const v=qJe(x,s);A.nextWorkflow=(v==null?void 0:v.nextWorkflow)||x,Object.assign(A,v),A.store=null,A.error="",A.url="",A.appInfo=null,A.memberAppInfo=null,A.checkCount=0,A.status="scanned",A.results={...A.results,[A.token]:A.store},A.checkFn=ql({baseURL:v.baseUrl,timeout:8e3}).get,_()}catch(v){console.error(`Invalid nextWorkflow: ${x}`,v),A.status="error",A.error=`Invalid nextWorkflow: ${x}: ${v.message}`}else if(A.nextWorkflow&&(A.nextWorkflow="",A.url=""),typeof c=="function"){const v=Object.values({...A.results,[A.token]:A.store});J.onSuccessCalled=!0;const k=v.length>1?v:v[0],ne=Sl(k);c(ne,V,{sourceAppPid:i==null?void 0:i.sourceAppPid})}}}),z.useEffect(()=>{if(A.token&&J.isSocketAvailable&&P.current){let x=!1;T.current?T.current.token!==A.token&&(P.current.unsubscribe(zS(T.current.token)),x=!0):x=!0,x&&(T.current=P.current.subscribe(zS(A.token)),T.current.token=A.token,T.current.on("updated",({response:v})=>{let{status:k,error:ne}=v;k==="forbidden"&&(ne=$.forbidden,k="error"),A.status=k,A.mfaCode=v.mfaCode||0,A.store=v,A.error=ne}))}},[A.token,J.isSocketAvailable,P.current]);const _=async(x=!1)=>{var v;if(A.checking||(A.status==="created"&&A.checkCount++,J.isSocketAvailable&&!x))return null;try{A.checking=!0;const k=await A.checkFn(`${A.prefix}/status?${p0(u)}`,{headers:b0(A.baseUrl)}),{status:ne,error:N,mfaCode:q=0}=k.data;if(A.store=k.data,A.mfaCode=q,A.checking=!1,A.status=ne,ne==="error"&&N){const ie=new Error(N);throw ie.response=k,ie}return k.data}catch(k){const{response:ne}=k;if(ne!=null&&ne.status){u[s]&&A.checkFn(`${A.prefix}/timeout?${p0(u)}`,{headers:b0(A.baseUrl)});const N=(v=ne==null?void 0:ne.data)!=null&&v.error?ne.data.error:k.message,q=new Error(N);q.code=ne.status,A.status="error",A.checking=!1,A.error=N,f(q,A==null?void 0:A.store,V)}else A.status="error",A.checking=!1,A.error=$.generateError}return null};return JWe(_,h()),gze(()=>{J.isSocketAvailable&&A.token&&MF(A.status)===!1&&_(!0)}),{state:A,generate:S,cancelWhenScanned:Q}}function MR({tokenState:e,locale:t,tokenKey:n}){const{t:r,isWalletWebview:i}=Gl(),a=r("openInWallet"),o=en(()=>{if(!e.url)return"";const f=new URL(window.location.href);f.searchParams.set("tokenKey",e.token);const c=new URL(e.url);return c.searchParams.set("callback",encodeURIComponent(f)),c.searchParams.set("callback_delay",1500),c.searchParams.set("locale",t),c.href.replace(/^https?:\/\//,"abt://")},[n,e.token]),s=Ct(()=>{sn(()=>import("./index-7R0o6am8.js").then(f=>f.i),__vite__mapDeps([])).then(f=>{f.call||(f=f.default),f.call("authAction",{action:"auth",deepLink:o})}).catch(f=>{console.error("load dsbridge error",f)})}),l={};return i||(l.component="a",l.href=o),Sm(()=>{o&&s()}),W.jsxs(Yu,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer",backgroundColor:Rt.surfacePrimarySubtitle,textDecoration:"none",color:"inherit"},...l,onClick:i?s:Bn,children:[W.jsxs(yt,{sx:{display:"flex",alignItems:"center",gap:1},children:[W.jsx(Rp,{width:"24px",height:"24px"}),W.jsx(Br,{sx:{fontSize:"14px",fontWeight:500},children:a})]}),W.jsx(Zn,{icon:VE,fontSize:"1.3rem",color:Rt.primaryBase})]})}MR.propTypes={tokenState:ge.object.isRequired,locale:ge.string,tokenKey:ge.string};MR.defaultProps={locale:"en",tokenKey:"_t_"};const wze={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 qX({onRefresh:e,...t}){const n=r=>{r.stopPropagation(),e()};return W.jsx(yt,{...t,onClick:n,sx:{position:"absolute",top:0,bottom:0,left:0,right:0,display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(0, 0, 0, 0.1)",cursor:"pointer",...t.sx},children:W.jsx(yt,{sx:{backgroundColor:Rt.foregroundsFgInteractive,borderRadius:"100%",fontSize:0},children:W.jsx(Zn,{icon:wze,fontSize:52,style:{transform:"scale(0.7)",color:"white"}})})})}qX.propTypes={onRefresh:ge.func.isRequired};const By=["scanned","succeed","error","busy"];function BR({onSuccess:e,onError:t,action:n,prefix:r,checkFn:i,checkInterval:a,checkTimeout:o,locale:s,tokenKey:l,encKey:f,baseUrl:c,autoConnect:d,forceConnected:p,saveConnect:y,useSocket:g,allowWallet:b,provider:R,webWalletUrl:A,onRecreateSession:$,onClose:D,messages:M,enabledConnectTypes:J}){var K,te,ye;if(typeof i!="function")throw new Error("Cannot initialize did connect component without a fetchFn");const U=z.useContext(uh),{connectState:V,extraParams:X,staticState:re,changeStatus:le,isWalletWebview:Q,matchSmallScreen:P}=Gl(),T=Cm(),u=en(()=>{var pe;return R||(X==null?void 0:X.provider)||((pe=U==null?void 0:U.session)==null?void 0:pe.provider)||"wallet"},[X==null?void 0:X.provider,(K=U==null?void 0:U.session)==null?void 0:K.provider]);z.useEffect(()=>{C(c)},[c]);const{state:h,generate:E,cancelWhenScanned:S}=Aze({action:n,baseUrl:c,checkFn:i,checkInterval:a,checkTimeout:o,extraParams:X,prefix:r,onError:t,onSuccess:e,locale:s,tokenKey:l,encKey:f,autoConnect:d,forceConnected:p,saveConnect:y,useSocket:g,allowWallet:b,provider:u}),{setBaseUrl:C,oauthConfigList:I,oauthState:_}=hR({defaultStatus:h.status}),x=Uz(V==null?void 0:V.sourceAppPid);nf(()=>{bu(x)||E()},[V==null?void 0:V.sourceAppPid]);const v=en(()=>By.includes(_.status)||By.includes(h.status),[h.status,_.status]);z.useEffect(()=>{By.includes(_.status)?le(_.status):By.includes(h.status)?le(h.status):le("created")},[le,h.status,_.status]);const k=Ct(()=>{$(),_.reset(),h.inExistingSession||E(!1)}),ne=Ct(()=>{$(),h.inExistingSession||(re.current.cancelCount++,S())}),N=en(()=>({confirm:M.confirm,success:M.success,error:h.error||_.error||""}),[M.confirm,M.success,h.error,_.error]),q=en(()=>b&&J.includes("mobile")&&!Q,[b,J,Q]),ie=FZ(A),ue=en(()=>b&&J.includes("web")&&(ie||qb())&&!T.mobile.any,[b,J,(te=T==null?void 0:T.mobile)==null?void 0:te.any]),he=en(()=>b&&J.includes("mobile")&&T.mobile.any,[b,J,(ye=T==null?void 0:T.mobile)==null?void 0:ye.any]),Se=en(()=>{const pe=IGe(["auth0","apple","github","google"],J);return I.filter(ae=>pe.includes(ae.provider))},[I,J]),j=en(()=>Se.length>0&&["login","invite"].includes(h.action),[Se]),O=en(()=>{const pe=q||ue||he;let ae=null;return j&&(ae=pe?W.jsxs(W.Fragment,{children:[W.jsx(K8,{light:!0,sx:{color:Rt.textMuted,width:P?"200px":"368px",maxWidth:"90%",margin:"auto",fontSize:"14px",fontWeight:"bold","&:before, &:after":{borderColor:Rt.lineStep}},children:"OR"}),W.jsx(u2,{providerList:Se,onSuccess:e,onError:t,tokenState:h,locale:s})]}):W.jsx(u2,{providerList:Se,onSuccess:e,onError:t,tokenState:h,type:"list",locale:s})),W.jsxs(W.Fragment,{children:[h.status==="timeout"?W.jsx(qX,{onRefresh:k,sx:{zIndex:1,animation:"fadeIn 1s","@keyframes fadeIn":{"0%":{opacity:0},"100%":{opacity:1}}}}):null,W.jsx(yt,{"data-did-auth-url":h.url,sx:{display:"none"}}),he&&W.jsx(MR,{tokenState:h,locale:s,tokenKey:l}),q&&W.jsx(kR,{tokenState:h,messages:M,locale:s}),ue&&W.jsx($R,{tokenState:h,webWalletUrl:A,locale:s}),ae]})},[h.url,h.status,q,ue,he]);return en(()=>h.loading||_.loading||!h.token,[h.loading,_.loading])?W.jsx(ER,{}):v?W.jsxs(W.Fragment,{children:[W.jsx(yt,{"data-did-auth-url":h.url,sx:{display:"none"}}),W.jsx(qE,{status:_.status||h.status,nextWorkflow:h.nextWorkflow,mfaCode:h.mfaCode,onCancel:ne,onRetry:k,onClose:D,messages:N,locale:s,className:"auth-status"})]}):O}BR.propTypes={onError:ge.func,onSuccess:ge.func.isRequired,action:ge.string.isRequired,checkFn:ge.func.isRequired,prefix:ge.string,checkInterval:ge.number,checkTimeout:ge.number,locale:ge.oneOf(["en","zh",""]),tokenKey:ge.string,encKey:ge.string,baseUrl:ge.string,autoConnect:ge.bool,forceConnected:ge.oneOfType([ge.bool,ge.string]),saveConnect:ge.bool,useSocket:ge.bool,allowWallet:ge.bool,provider:ge.oneOf(["wallet","auth0",""]),webWalletUrl:ge.string,onRecreateSession:ge.func,onClose:ge.func,messages:ge.object,enabledConnectTypes:ge.arrayOf(ge.oneOf(["web","mobile","github","apple","google","auth0"]))};BR.defaultProps={prefix:eR,onError:Bn,checkInterval:2*1e3,checkTimeout:MZ*1e3,locale:"en",tokenKey:"_t_",encKey:"_ek_",baseUrl:"",autoConnect:!0,forceConnected:!0,saveConnect:!0,useSocket:!0,allowWallet:!0,provider:"",webWalletUrl:NZ(),onRecreateSession:Bn,onClose:Bn,messages:{},enabledConnectTypes:["web","mobile","github","apple","google","auth0"]};var KS=RW,Sze=YG,_ze=tC,xze=1/0,Cze=KS&&1/_ze(new KS([,-0]))[1]==xze?function(e){return new KS(e)}:Sze,Rze=Cze,$ze=Q8,Ize=_X,kze=xX,Dze=eC,Lze=Rze,Oze=tC,Pze=200;function Mze(e,t,n){var r=-1,i=Ize,a=e.length,o=!0,s=[],l=s;if(n)o=!1,i=kze;else if(a>=Pze){var f=t?null:Lze(e);if(f)return Oze(f);o=!1,i=Dze,l=new $ze}else l=t?[]:s;e:for(;++r<a;){var c=e[r],d=t?t(c):c;if(c=n||c!==0?c:0,o&&d===d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(c)}else i(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}var GX=Mze,Bze=q8,Nze=GE,Fze=Tm,Uze=GX,BF=B8,Hze=tE,jze=Fze(function(e){var t=Hze(e);return BF(t)&&(t=void 0),Uze(Bze(e,1,BF,!0),Nze(t))}),Jze=jze;const Vze=Ut(Jze);var qze=oW,Gze=Am;function Wze(e,t){return e&&qze(e,t,Gze)}var zze=Wze,Kze=mf;function Yze(e,t){return function(n,r){if(n==null)return n;if(!Kze(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var Zze=Yze,Xze=zze,Qze=Zze,eKe=Qze(Xze),tKe=eKe,nKe=tKe,rKe=mf;function iKe(e,t){var n=-1,r=rKe(e)?Array(e.length):[];return nKe(e,function(i,a,o){r[++n]=t(i,a,o)}),r}var aKe=iKe;function oKe(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}var sKe=oKe,NF=um;function lKe(e,t){if(e!==t){var n=e!==void 0,r=e===null,i=e===e,a=NF(e),o=t!==void 0,s=t===null,l=t===t,f=NF(t);if(!s&&!f&&!a&&e>t||a&&o&&l&&!s&&!f||r&&o&&l||!n&&l||!i)return 1;if(!r&&!a&&!f&&e<t||f&&n&&i&&!r&&!a||s&&n&&i||!o&&i||!l)return-1}return 0}var uKe=lKe,cKe=uKe;function fKe(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var l=cKe(i[r],a[r]);if(l){if(r>=s)return l;var f=n[r];return l*(f=="desc"?-1:1)}}return e.index-t.index}var dKe=fKe,YS=Jp,pKe=fm,hKe=GE,mKe=aKe,gKe=sKe,yKe=bm,vKe=dKe,bKe=eE,EKe=Ta;function TKe(e,t,n){t.length?t=YS(t,function(a){return EKe(a)?function(o){return pKe(o,a.length===1?a[0]:a)}:a}):t=[bKe];var r=-1;t=YS(t,yKe(hKe));var i=mKe(e,function(a,o,s){var l=YS(t,function(f){return f(a)});return{criteria:l,index:++r,value:a}});return gKe(i,function(a,o){return vKe(a,o,n)})}var AKe=TKe,wKe=q8,SKe=AKe,_Ke=Tm,FF=TW,xKe=_Ke(function(e,t){if(e==null)return[];var n=t.length;return n>1&&FF(e,t[0],t[1])?t=[]:n>2&&FF(t[0],t[1],t[2])&&(t=[t[0]]),SKe(e,wKe(t,1),[])}),CKe=xKe;const WX=Ut(CKe),RKe=Ln(Vi,"/api/user-session");function zX({appPid:e,sourceAppPid:t,loginAppPid:n,autoFetch:r=!0,baseUrl:i="/"}={}){const a=hm(),o=en(()=>ql({baseURL:Ln(i,RKe)},{lazy:!0,lazyTime:500}),[i]),s=Ct(async()=>{const{data:y}=await o.get("",{params:{visitorId:a,appPid:e}});return y}),l=Di({loaded:!1,loadingId:null}),f=dLe(s,{manual:!r,onFinally(){l.loaded=!0},refreshDeps:[e,i]}),c=async y=>{var b,R,A;const g=nE(y,["userDid","visitorId","passportId"]);try{l.loadingId=y.id;const{data:$}=await o.post("login",{...g,appPid:n});return $}catch($){const D=$.response?((R=(b=$.response)==null?void 0:b.data)==null?void 0:R.error)||((A=$.response)==null?void 0:A.data):$.message;throw Ci.error(D),console.error("Quick login error",$),$}finally{l.loadingId=null}},d=en(()=>{if(!f.data)return[];const y=new Date().getTime(),g=WX(f.data,b=>y-new Date(b.updatedAt).getTime());return Vze(g,b=>[b.userDid].join("_"))},[f.data,t,e]),p=en(()=>!!(d&&d.length>0),[d]);return{loadingId:l.loadingId,userSessions:d,quickLoginEnabled:p,loginUserSession:c,loading:f.loading,loaded:f.loaded,refresh:f.refreshAsync}}const $Ke={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"/>'},IKe={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 NR({appInfo:e,...t}){const[n,r]=z.useState(!1);if(n||!(e.appUrl||e.appLogo))return W.jsx(Ml,{did:e.appPid,size:32});let i=e.appLogo||"";return Gb(i)||(i=Ln(e.appUrl||"",i)),W.jsx(zd,{src:i,alt:e.appName||"Blocklet Icon",width:32,height:32,...t,onError:()=>r(!0)})}NR.propTypes={appInfo:ge.object.isRequired};const kKe=e=>e?e.split(":").pop():"";function WE({appInfo:e,active:t,appLogo:n}){return W.jsxs(yt,{sx:{display:"flex",alignItems:"center",fontWeight:600,color:Rt.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:Rt.textMuted,fontSize:"12px"}},children:[n||W.jsx(yt,{sx:{borderRadius:"8px",overflow:"hidden",fontSize:0},children:W.jsx(NR,{appInfo:e})}),W.jsxs(yt,{className:"app-info-content",children:[W.jsx(yt,{className:"app-info-name",children:e.appName}),e.appPid&&W.jsx(bE,{size:12,className:"app-info-did",copyable:!1,color:Rt.textMuted,compact:!1,responsive:!1,children:kKe(e.appPid)})]}),t?W.jsx(Wu,{size:"small",color:"success",children:W.jsx(cke,{icon:IKe,color:"success"})}):null]})}WE.propTypes={appInfo:ge.object.isRequired,active:ge.bool,appLogo:ge.node};WE.defaultProps={active:!1,appLogo:null};function nx({appInfo:e}){const t=z.useRef(null),n=Di({hoverOnButton:!1,hoverOnPopover:!1}),r=en(()=>n.hoverOnButton||n.hoverOnPopover,[n.hoverOnButton,n.hoverOnPopover]);return W.jsxs(W.Fragment,{children:[W.jsx(yt,{ref:t,sx:{color:Rt.foregroundsFgInteractive,cursor:"help"},onClick:()=>{n.hoverOnButton=!0},onMouseEnter:()=>{n.hoverOnButton=!0},onMouseLeave:()=>{setTimeout(()=>{n.hoverOnButton=!1},200)},children:e.appName}),W.jsx(pz,{open:r,sx:{pointerEvents:"none"},slotProps:{paper:{variant:"outlined",sx:{border:0,boxShadow:`0px 4px 8px 0px ${Rt.gray6}, 0px 0px 0px 1px ${Rt.gray6}`,py:1,px:1.5,borderRadius:2,transform:"translateY(-6px) !important"}}},anchorEl:t.current,anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"},onClose:()=>{n.open=!1},disableRestoreFocus:!0,children:W.jsx(yt,{sx:{pointerEvents:"auto"},onMouseEnter:()=>{n.hoverOnPopover=!0},onMouseLeave:()=>{n.hoverOnPopover=!1},children:W.jsx(WE,{appInfo:e,appLogo:W.jsx(NR,{appInfo:e})})})})]})}nx.propTypes={appInfo:ge.object.isRequired};function UF(){const{appInfoList:e,t,extraParams:n,connectState:r}=Gl(),i=z.useRef(null),a=Di({open:!1});return W.jsxs(W.Fragment,{children:[W.jsx(yt,{ref:i,sx:{textTransform:"lowercase",color:Rt.foregroundsFgInteractive,cursor:"pointer"},onClick:()=>{a.open=!0},children:t("switch")}),W.jsx(Xke,{anchorEl:i.current,open:a.open,onClose:()=>{a.open=!1},slotProps:{paper:{variant:"outlined",sx:{border:0,boxShadow:`0px 4px 8px 0px ${Rt.gray6}, 0px 0px 0px 1px ${Rt.gray6}`,borderRadius:2}}},children:e.map(o=>W.jsx(H3,{onClick:()=>{a.open=!1,r.sourceAppPid=o.sourceAppPid},children:W.jsx(WE,{appInfo:o,active:o.sourceAppPid===(n==null?void 0:n.sourceAppPid)})},o.appPid))})]})}function FR({locale:e,disableSwitchApp:t}){const{appInfoList:n,extraParams:r,connectState:i,blocklet:a}=Gl(),o=en(()=>n.find(f=>Xd.isUndefined(r==null?void 0:r.sourceAppPid)?!0:Xd.isNull(f.sourceAppPid)?f.appPid===(a==null?void 0:a.appPid):f.sourceAppPid===(r==null?void 0:r.sourceAppPid)),[r==null?void 0:r.sourceAppPid,n]),s=!t&&n.length>1;Sm(()=>{(a==null?void 0:a.appPid)===(o==null?void 0:o.appPid)?i.sourceAppPid=null:i.sourceAppPid=o==null?void 0:o.appPid});const l=en(()=>e==="zh"?W.jsxs(W.Fragment,{children:["您正在使用 ",W.jsx(nx,{appInfo:o,appInfoList:n})," 账户来连接站点",s?W.jsxs(W.Fragment,{children:[",点击",W.jsx(UF,{appInfoList:n})]}):null]}):W.jsxs(W.Fragment,{children:["You're using ",W.jsx(nx,{appInfo:o})," account for site access",s?W.jsxs(W.Fragment,{children:[". Click to ",W.jsx(UF,{appInfoList:n})]}):null]}),[e,o,n,s]);return Xd.isEmpty(n)?null:W.jsxs(yt,{sx:{fontSize:"13px",color:Rt.foregroundsFgSubtile,display:"flex",alignItems:"center",whiteSpace:"pre"},children:[l,s&&W.jsx(yt,{component:Zn,icon:$Ke,sx:{ml:.5}})]})}FR.propTypes={locale:ge.string,disableSwitchApp:ge.bool};FR.defaultProps={locale:"en",disableSwitchApp:!1};var UR={};Object.defineProperty(UR,"__esModule",{value:!0});var KX=UR.default=void 0;DKe(z);var ZS=W;function DKe(e){return e&&e.__esModule?e:{default:e}}function HF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function jF(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?HF(Object(n),!0).forEach(function(r){LKe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HF(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function LKe(e,t,n){return t=OKe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OKe(e){var t=PKe(e,"string");return typeof t=="symbol"?t:String(t)}function PKe(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var HR=function(t){return(0,ZS.jsxs)("svg",jF(jF({},t),{},{children:[(0,ZS.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,ZS.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)"})]}))};HR.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none"};HR.displayName="did-logo-colorful";KX=UR.default=HR;function MKe({...e}){return W.jsxs(yt,{...e,sx:{display:"flex",alignItems:"center",color:Rt.foregroundsFgMuted,gap:.5,...e.sx},children:[W.jsx(KX,{}),"Power By DID Connect"]})}function jR({children:e,initHeight:t,slotProps:n}){var s;const[r,i]=z.useState(t),a=z.useRef(null),o=_m(a);return z.useEffect(()=>{o!=null&&o.height&&i(o.height)},[o==null?void 0:o.height,r]),W.jsx(yt,{...n==null?void 0:n.root,sx:{height:r,overflow:"hidden",transition:"height 0.2s ease-in-out",...(s=n==null?void 0:n.root)==null?void 0:s.sx},children:W.jsx(yt,{...n==null?void 0:n.container,ref:a,children:e})})}jR.propTypes={initHeight:ge.number,children:ge.node.isRequired,slotProps:ge.object};jR.defaultProps={initHeight:0,slotProps:{}};const Ny="did-connect",JF="quick-connect";function JR({mode:e,isFullScreen:t,hideCloseButton:n,...r}){var Q;const i=Di({showTab:Ny}),{connectState:a,blocklet:o}=Gl(),{extraContent:s,onSuccess:l,action:f,onClose:c,options:d}=r,p=en(()=>(a==null?void 0:a.sourceAppPid)||AK(),[a==null?void 0:a.sourceAppPid]),{quickLoginEnabled:y,loading:g,userSessions:b,loginUserSession:R,refresh:A}=zX({appPid:p,loginAppPid:o==null?void 0:o.appPid,sourceAppPid:a==null?void 0:a.sourceAppPid,autoFetch:["login"].includes(f)}),$=en(()=>{var P;return((P=r==null?void 0:r.messages)==null?void 0:P.title)||FJe},[(Q=r==null?void 0:r.messages)==null?void 0:Q.title]),D=Ct(async(...P)=>{const T=await R(...P);await l({...T,encrypted:!1},u=>u)});z.useEffect(()=>{(d==null?void 0:d.showQuickConnect)!==!1&&!g&&y&&(i.showTab=JF)},[g,y,d==null?void 0:d.showQuickConnect]);const M=vLe(g,{wait:100}),J=Ct(()=>{i.showTab=Ny}),U=Ct(()=>{i.showTab=JF}),V=en(()=>i.showTab===Ny||!y,[i.showTab,y]),X=en(()=>{let P=!0;return(g||M)&&(P=!1),y||(P=!1),d.showQuickConnect===!1&&(P=!1),i.showTab!==Ny&&(P=!1),P},[y,i.showTab,g,M]),re=en(()=>W.jsx(yt,{onClick:c,sx:{fontSize:"1.5rem",width:"1.5rem",height:"1.5rem",cursor:"pointer",color:Rt.foregroundsFgSubtile,transition:"transform 0.2s ease-in-out","&:hover":{transform:"rotate(90deg)"}},children:W.jsx(Zn,{icon:bX})}),[c]);let le=null;return g||M?le=W.jsx(ER,{}):V?le=W.jsx(BR,{...r,onClose:c}):le=W.jsx(RR,{userSessions:b,onLogin:D,onRetry:A,onClose:c,messages:r.messages,onLoginAnother:J}),W.jsxs(U$e,{variant:"outlined",sx:{color:Rt.foregroundsFgBase,backgroundColor:"white",borderRadius:2,borderColor:Rt.strokeBorderBase,height:"100%",display:"flex",flexDirection:"column"},children:[W.jsx(lIe,{title:W.jsxs(W.Fragment,{children:[X&&W.jsx(Wu,{size:"small",disabled:a.status!=="created",onClick:U,disableRipple:!0,sx:{fontSize:"0.75em"},children:W.jsx(Zn,{icon:bqe,color:Rt.textMuted})}),$]}),titleTypographyProps:{display:"flex",alignItems:"center",variant:"h6",lineHeight:"28px",fontWeight:600},action:n?null:re,sx:{px:2.5,".MuiCardHeader-action":{margin:0,alignSelf:"center"}}}),W.jsx(X$e,{sx:{borderTop:`1px solid ${Rt.strokeBorderBase}`,borderBottom:`1px solid ${Rt.strokeBorderBase}`,flex:1,verticalAlign:"middle",overflow:"auto",p:2.5,position:"relative","&::after":{content:'""',height:"100%",verticalAlign:"middle",display:"inline-block",width:0}},children:W.jsxs(jR,{slotProps:{root:{sx:{display:"inline-block",width:"100%",verticalAlign:"middle"}},container:{sx:{display:"flex",flexDirection:"column",gap:1}}},children:[W.jsx(FR,{locale:r.locale,disableSwitchApp:r.disableSwitchApp}),le,s?W.jsx(yt,{children:s}):null]})}),W.jsx(G$e,{sx:{py:2,px:2.5,justifyContent:"center"},children:W.jsx(MKe,{sx:{fontSize:"12px"}})})]})}JR.propTypes={action:ge.string.isRequired,onSuccess:ge.func,onClose:ge.func,messages:ge.object,extraContent:ge.any,disableSwitchApp:ge.bool,mode:ge.oneOf(["fullScreen","dialog","normal"]),isFullScreen:ge.bool,options:ge.object,hideCloseButton:ge.bool,locale:ge.string};JR.defaultProps={onSuccess:Bn,onClose:Bn,mode:"normal",isFullScreen:!1,extraContent:null,disableSwitchApp:!1,messages:{},options:{},hideCloseButton:!0,locale:"en"};function VR(e){const{checkFn:t,extraParams:n,blocklet:r,action:i,locale:a}=e;if(typeof t!="function")throw new Error("Cannot initialize did connect component without a fetchFn");return W.jsx(TR,{blocklet:r,action:i,locale:a,extraParams:n,sx:{position:"relative",width:"100%",height:"100%",lineHeight:1.2,fontFamily:"Inter",color:"#334660","&, & *, & *:before, & *:after":{boxSizing:"border-box"}},children:W.jsx(JR,{...e})})}VR.propTypes={checkFn:ge.func.isRequired,extraParams:ge.object,blocklet:ge.object.isRequired,action:ge.string.isRequired,locale:ge.string};VR.defaultProps={extraParams:{},locale:"en"};const BKe=Bqe(Tqe(Uqe(VR))),NKe=z.forwardRef((e,t)=>{const{api:n}=z.useContext(uh),r={containerEl:null,popup:!0,checkFn:(n==null?void 0:n.get)||Bn,onSuccess:()=>{setTimeout(()=>{f()},2e3)},messages:{title:"DID Connect",scan:"Scan QR code to complete this action",confirm:"Confirm on your DID Wallet",success:"Success!"}},i=Di({show:!1,...Sl(r)}),[a,o]=z.useState({}),s=Ct(d=>{const{containerEl:p,checkFn:y,popup:g,onSuccess:b,messages:R,...A}=Sl(d);typeof y=="function"&&(i.checkFn=y),typeof b=="function"&&(i.onSuccess=(...$)=>{b(...$),setTimeout(()=>{f()},2e3)}),g!==void 0&&(i.popup=g),R!==void 0&&(i.messages=R),p!==void 0&&(i.containerEl=p),o(A),i.show=!0}),l=Ct(()=>{const d=Sl(r);Object.keys(d).forEach(p=>{i[p]=d[p]})}),f=Ct(()=>{i.show=!1,l()});z.useImperativeHandle(t,()=>({open:s,close:f}),[s,f]);const c=W.jsx(BKe,{open:!0,popup:i.popup,messages:i.messages,onClose:f,onSuccess:i.onSuccess,checkFn:i.checkFn,...a});return i.containerEl?G1.createPortal(c,i.containerEl):i.show&&c});function FKe(){const e=z.useRef(null),t=Ct((...o)=>{var s;(s=e.current)==null||s.open(...o)}),n=Ct(async(o={},{baseUrl:s,locale:l="en",blocklet:f=globalThis==null?void 0:globalThis.blocklet}={})=>{var R;if(bu(s)){const A=Bm(),$=sh();s=A?$.appUrl:window.location.origin}const{onSuccess:c,onClose:d,onError:p,...y}=o;if(!((R=y==null?void 0:y.extraParams)!=null&&R.provider))throw kc(p)&&p("Must have extraParams.provider"),new Error("Must have extraParams.provider");y!=null&&y.prefix||(y.prefix=window.location.origin+Ln(f==null?void 0:f.prefix,eR));const g=new URLSearchParams;g.set("params",btoa(encodeURIComponent(JSON.stringify(y)))),g.set("appPid",f==null?void 0:f.appPid),g.set("locale",l);const b=yqe(Ln(s||"/",Vi,`/connect?${g.toString()}`));try{const A=await vqe({popup:b});return kc(c)&&c({...A,encrypted:!1}),{...A,encrypted:!1}}catch(A){throw A.message==="Popup closed"?kc(d)&&d():kc(p)&&p(A),A}}),r=Ct((...o)=>{var s;(s=e.current)==null||s.close(...o)}),i=en(()=>W.jsx(NKe,{ref:e})),a=en(()=>({open:t,close:r,openPopup:n}));return{connectHolder:i,connectApi:a}}const ei={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")},ad={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-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:"通行证和会话已经更新"}},"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 rx={exports:{}};const UKe="2.0.0",YX=256,HKe=Number.MAX_SAFE_INTEGER||9007199254740991,jKe=16,JKe=YX-6,VKe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var zE={MAX_LENGTH:YX,MAX_SAFE_COMPONENT_LENGTH:jKe,MAX_SAFE_BUILD_LENGTH:JKe,MAX_SAFE_INTEGER:HKe,RELEASE_TYPES:VKe,SEMVER_SPEC_VERSION:UKe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},XS={};const qKe=typeof Xt=="object"&&XS&&XS.NODE_DEBUG&&/\bsemver\b/i.test(XS.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var KE=qKe;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=zE,a=KE;t=e.exports={};const o=t.re=[],s=t.safeRe=[],l=t.src=[],f=t.t={};let c=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[d,r]],y=b=>{for(const[R,A]of p)b=b.split(`${R}*`).join(`${R}{0,${A}}`).split(`${R}+`).join(`${R}{1,${A}}`);return b},g=(b,R,A)=>{const $=y(R),D=c++;a(b,D,R),f[b]=D,l[D]=R,o[D]=new RegExp(R,A?"g":void 0),s[D]=new RegExp($,A?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),g("MAINVERSION",`(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${l[f.NUMERICIDENTIFIER]}|${l[f.NONNUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${l[f.NUMERICIDENTIFIERLOOSE]}|${l[f.NONNUMERICIDENTIFIER]})`),g("PRERELEASE",`(?:-(${l[f.PRERELEASEIDENTIFIER]}(?:\\.${l[f.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${l[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[f.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${d}+`),g("BUILD",`(?:\\+(${l[f.BUILDIDENTIFIER]}(?:\\.${l[f.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${l[f.MAINVERSION]}${l[f.PRERELEASE]}?${l[f.BUILD]}?`),g("FULL",`^${l[f.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${l[f.MAINVERSIONLOOSE]}${l[f.PRERELEASELOOSE]}?${l[f.BUILD]}?`),g("LOOSE",`^${l[f.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${l[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${l[f.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:${l[f.PRERELEASE]})?${l[f.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:${l[f.PRERELEASELOOSE]})?${l[f.BUILD]}?)?)?`),g("XRANGE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAINLOOSE]}$`),g("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),g("COERCERTL",l[f.COERCE],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${l[f.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",g("TILDE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${l[f.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",g("CARET",`^${l[f.LONECARET]}${l[f.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${l[f.LONECARET]}${l[f.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${l[f.GTLT]}\\s*(${l[f.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]}|${l[f.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${l[f.XRANGEPLAIN]})\\s+-\\s+(${l[f.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${l[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[f.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(rx,rx.exports);var Nm=rx.exports;const GKe=Object.freeze({loose:!0}),WKe=Object.freeze({}),zKe=e=>e?typeof e!="object"?GKe:e:WKe;var qR=zKe;const VF=/^[0-9]+$/,ZX=(e,t)=>{const n=VF.test(e),r=VF.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},KKe=(e,t)=>ZX(t,e);var XX={compareIdentifiers:ZX,rcompareIdentifiers:KKe};const Fy=KE,{MAX_LENGTH:qF,MAX_SAFE_INTEGER:Uy}=zE,{safeRe:GF,t:WF}=Nm,YKe=qR,{compareIdentifiers:od}=XX;let ZKe=class ys{constructor(t,n){if(n=YKe(n),t instanceof ys){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>qF)throw new TypeError(`version is longer than ${qF} characters`);Fy("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?GF[WF.LOOSE]:GF[WF.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Uy||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Uy||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Uy||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){const a=+i;if(a>=0&&a<Uy)return a}return i}):this.prerelease=[],this.build=r[5]?r[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(t){if(Fy("SemVer.compare",this.version,this.options,t),!(t instanceof ys)){if(typeof t=="string"&&t===this.version)return 0;t=new ys(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof ys||(t=new ys(t,this.options)),od(this.major,t.major)||od(this.minor,t.minor)||od(this.patch,t.patch)}comparePre(t){if(t instanceof ys||(t=new ys(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],i=t.prerelease[n];if(Fy("prerelease compare",n,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return od(r,i)}while(++n)}compareBuild(t){t instanceof ys||(t=new ys(t,this.options));let n=0;do{const r=this.build[n],i=t.build[n];if(Fy("prerelease compare",n,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return od(r,i)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);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 i=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[i];else{let a=this.prerelease.length;for(;--a>=0;)typeof this.prerelease[a]=="number"&&(this.prerelease[a]++,a=-2);if(a===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(n){let a=[n,i];r===!1&&(a=[n]),od(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var ia=ZKe;const zF=ia,XKe=(e,t,n=!1)=>{if(e instanceof zF)return e;try{return new zF(e,t)}catch(r){if(!n)return null;throw r}};var ch=XKe;const QKe=ch,eYe=(e,t)=>{const n=QKe(e,t);return n?n.version:null};var tYe=eYe;const nYe=ch,rYe=(e,t)=>{const n=nYe(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var iYe=rYe;const KF=ia,aYe=(e,t,n,r,i)=>{typeof n=="string"&&(i=r,r=n,n=void 0);try{return new KF(e instanceof KF?e.version:e,n).inc(t,r,i).version}catch{return null}};var oYe=aYe;const YF=ch,sYe=(e,t)=>{const n=YF(e,null,!0),r=YF(t,null,!0),i=n.compare(r);if(i===0)return null;const a=i>0,o=a?n:r,s=a?r:n,l=!!o.prerelease.length;if(!!s.prerelease.length&&!l)return!s.patch&&!s.minor?"major":o.patch?"patch":o.minor?"minor":"major";const c=l?"pre":"";return n.major!==r.major?c+"major":n.minor!==r.minor?c+"minor":n.patch!==r.patch?c+"patch":"prerelease"};var lYe=sYe;const uYe=ia,cYe=(e,t)=>new uYe(e,t).major;var fYe=cYe;const dYe=ia,pYe=(e,t)=>new dYe(e,t).minor;var hYe=pYe;const mYe=ia,gYe=(e,t)=>new mYe(e,t).patch;var yYe=gYe;const vYe=ch,bYe=(e,t)=>{const n=vYe(e,t);return n&&n.prerelease.length?n.prerelease:null};var EYe=bYe;const ZF=ia,TYe=(e,t,n)=>new ZF(e,n).compare(new ZF(t,n));var us=TYe;const AYe=us,wYe=(e,t,n)=>AYe(t,e,n);var SYe=wYe;const _Ye=us,xYe=(e,t)=>_Ye(e,t,!0);var CYe=xYe;const XF=ia,RYe=(e,t,n)=>{const r=new XF(e,n),i=new XF(t,n);return r.compare(i)||r.compareBuild(i)};var GR=RYe;const $Ye=GR,IYe=(e,t)=>e.sort((n,r)=>$Ye(n,r,t));var kYe=IYe;const DYe=GR,LYe=(e,t)=>e.sort((n,r)=>DYe(r,n,t));var OYe=LYe;const PYe=us,MYe=(e,t,n)=>PYe(e,t,n)>0;var YE=MYe;const BYe=us,NYe=(e,t,n)=>BYe(e,t,n)<0;var WR=NYe;const FYe=us,UYe=(e,t,n)=>FYe(e,t,n)===0;var QX=UYe;const HYe=us,jYe=(e,t,n)=>HYe(e,t,n)!==0;var eQ=jYe;const JYe=us,VYe=(e,t,n)=>JYe(e,t,n)>=0;var zR=VYe;const qYe=us,GYe=(e,t,n)=>qYe(e,t,n)<=0;var KR=GYe;const WYe=QX,zYe=eQ,KYe=YE,YYe=zR,ZYe=WR,XYe=KR,QYe=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return WYe(e,n,r);case"!=":return zYe(e,n,r);case">":return KYe(e,n,r);case">=":return YYe(e,n,r);case"<":return ZYe(e,n,r);case"<=":return XYe(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var tQ=QYe;const eZe=ia,tZe=ch,{safeRe:Hy,t:jy}=Nm,nZe=(e,t)=>{if(e instanceof eZe)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(Hy[jy.COERCE]);else{let r;for(;(r=Hy[jy.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),Hy[jy.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;Hy[jy.COERCERTL].lastIndex=-1}return n===null?null:tZe(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var rZe=nZe,QS,QF;function iZe(){return QF||(QF=1,QS=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),QS}var aZe=Vn;Vn.Node=sf;Vn.create=Vn;function Vn(e){var t=this;if(t instanceof Vn||(t=new Vn),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(i){t.push(i)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}Vn.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Vn.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Vn.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Vn.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)sZe(this,arguments[e]);return this.length};Vn.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)lZe(this,arguments[e]);return this.length};Vn.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Vn.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Vn.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};Vn.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};Vn.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};Vn.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};Vn.prototype.map=function(e,t){t=t||this;for(var n=new Vn,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Vn.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Vn,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Vn.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;r!==null;i++)n=e(n,r.value,i),r=r.next;return n};Vn.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;r!==null;i--)n=e(n,r.value,i),r=r.prev;return n};Vn.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};Vn.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};Vn.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Vn;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,i=this.head;i!==null&&r<e;r++)i=i.next;for(;i!==null&&r<t;r++,i=i.next)n.push(i.value);return n};Vn.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Vn;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,i=this.tail;i!==null&&r>t;r--)i=i.prev;for(;i!==null&&r>e;r--,i=i.prev)n.push(i.value);return n};Vn.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;i!==null&&r<e;r++)i=i.next;for(var a=[],r=0;i&&r<t;r++)a.push(i.value),i=this.removeNode(i);i===null&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(var r=0;r<n.length;r++)i=oZe(this,i,n[r]);return a};Vn.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function oZe(e,t,n){var r=t===e.head?new sf(n,null,t,e):new sf(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function sZe(e,t){e.tail=new sf(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function lZe(e,t){e.head=new sf(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function sf(e,t,n,r){if(!(this instanceof sf))return new sf(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{iZe()(Vn)}catch{}const uZe=aZe,wc=Symbol("max"),pl=Symbol("length"),sd=Symbol("lengthCalculator"),q0=Symbol("allowStale"),Pc=Symbol("maxAge"),fl=Symbol("dispose"),eU=Symbol("noDisposeOnSet"),ci=Symbol("lruList"),qo=Symbol("cache"),nQ=Symbol("updateAgeOnGet"),e5=()=>1;class cZe{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[wc]=t.max||1/0;const n=t.length||e5;if(this[sd]=typeof n!="function"?e5:n,this[q0]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Pc]=t.maxAge||0,this[fl]=t.dispose,this[eU]=t.noDisposeOnSet||!1,this[nQ]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[wc]=t||1/0,i0(this)}get max(){return this[wc]}set allowStale(t){this[q0]=!!t}get allowStale(){return this[q0]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Pc]=t,i0(this)}get maxAge(){return this[Pc]}set lengthCalculator(t){typeof t!="function"&&(t=e5),t!==this[sd]&&(this[sd]=t,this[pl]=0,this[ci].forEach(n=>{n.length=this[sd](n.value,n.key),this[pl]+=n.length})),i0(this)}get lengthCalculator(){return this[sd]}get length(){return this[pl]}get itemCount(){return this[ci].length}rforEach(t,n){n=n||this;for(let r=this[ci].tail;r!==null;){const i=r.prev;tU(this,t,r,n),r=i}}forEach(t,n){n=n||this;for(let r=this[ci].head;r!==null;){const i=r.next;tU(this,t,r,n),r=i}}keys(){return this[ci].toArray().map(t=>t.key)}values(){return this[ci].toArray().map(t=>t.value)}reset(){this[fl]&&this[ci]&&this[ci].length&&this[ci].forEach(t=>this[fl](t.key,t.value)),this[qo]=new Map,this[ci]=new uZe,this[pl]=0}dump(){return this[ci].map(t=>f2(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[ci]}set(t,n,r){if(r=r||this[Pc],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const i=r?Date.now():0,a=this[sd](n,t);if(this[qo].has(t)){if(a>this[wc])return Qd(this,this[qo].get(t)),!1;const l=this[qo].get(t).value;return this[fl]&&(this[eU]||this[fl](t,l.value)),l.now=i,l.maxAge=r,l.value=n,this[pl]+=a-l.length,l.length=a,this.get(t),i0(this),!0}const o=new fZe(t,n,a,i,r);return o.length>this[wc]?(this[fl]&&this[fl](t,n),!1):(this[pl]+=o.length,this[ci].unshift(o),this[qo].set(t,this[ci].head),i0(this),!0)}has(t){if(!this[qo].has(t))return!1;const n=this[qo].get(t).value;return!f2(this,n)}get(t){return t5(this,t,!0)}peek(t){return t5(this,t,!1)}pop(){const t=this[ci].tail;return t?(Qd(this,t),t.value):null}del(t){Qd(this,this[qo].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const i=t[r],a=i.e||0;if(a===0)this.set(i.k,i.v);else{const o=a-n;o>0&&this.set(i.k,i.v,o)}}}prune(){this[qo].forEach((t,n)=>t5(this,n,!1))}}const t5=(e,t,n)=>{const r=e[qo].get(t);if(r){const i=r.value;if(f2(e,i)){if(Qd(e,r),!e[q0])return}else n&&(e[nQ]&&(r.value.now=Date.now()),e[ci].unshiftNode(r));return i.value}},f2=(e,t)=>{if(!t||!t.maxAge&&!e[Pc])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Pc]&&n>e[Pc]},i0=e=>{if(e[pl]>e[wc])for(let t=e[ci].tail;e[pl]>e[wc]&&t!==null;){const n=t.prev;Qd(e,t),t=n}},Qd=(e,t)=>{if(t){const n=t.value;e[fl]&&e[fl](n.key,n.value),e[pl]-=n.length,e[qo].delete(n.key),e[ci].removeNode(t)}};class fZe{constructor(t,n,r,i,a){this.key=t,this.value=n,this.length=r,this.now=i,this.maxAge=a||0}}const tU=(e,t,n,r)=>{let i=n.value;f2(e,i)&&(Qd(e,n),e[q0]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};var dZe=cZe,n5,nU;function cs(){if(nU)return n5;nU=1;class e{constructor(u,h){if(h=r(h),u instanceof e)return u.loose===!!h.loose&&u.includePrerelease===!!h.includePrerelease?u:new e(u.raw,h);if(u instanceof i)return this.raw=u.value,this.set=[[u]],this.format(),this;if(this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease,this.raw=u.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(E=>this.parseRange(E.trim())).filter(E=>E.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const E=this.set[0];if(this.set=this.set.filter(S=>!g(S[0])),this.set.length===0)this.set=[E];else if(this.set.length>1){for(const S of this.set)if(S.length===1&&b(S[0])){this.set=[S];break}}}this.format()}format(){return this.range=this.set.map(u=>u.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(u){const E=((this.options.includePrerelease&&p)|(this.options.loose&&y))+":"+u,S=n.get(E);if(S)return S;const C=this.options.loose,I=C?s[l.HYPHENRANGELOOSE]:s[l.HYPHENRANGE];u=u.replace(I,Q(this.options.includePrerelease)),a("hyphen replace",u),u=u.replace(s[l.COMPARATORTRIM],f),a("comparator trim",u),u=u.replace(s[l.TILDETRIM],c),a("tilde trim",u),u=u.replace(s[l.CARETTRIM],d),a("caret trim",u);let _=u.split(" ").map(ne=>A(ne,this.options)).join(" ").split(/\s+/).map(ne=>le(ne,this.options));C&&(_=_.filter(ne=>(a("loose invalid filter",ne,this.options),!!ne.match(s[l.COMPARATORLOOSE])))),a("range list",_);const x=new Map,v=_.map(ne=>new i(ne,this.options));for(const ne of v){if(g(ne))return[ne];x.set(ne.value,ne)}x.size>1&&x.has("")&&x.delete("");const k=[...x.values()];return n.set(E,k),k}intersects(u,h){if(!(u instanceof e))throw new TypeError("a Range is required");return this.set.some(E=>R(E,h)&&u.set.some(S=>R(S,h)&&E.every(C=>S.every(I=>C.intersects(I,h)))))}test(u){if(!u)return!1;if(typeof u=="string")try{u=new o(u,this.options)}catch{return!1}for(let h=0;h<this.set.length;h++)if(P(this.set[h],u,this.options))return!0;return!1}}n5=e;const t=dZe,n=new t({max:1e3}),r=qR,i=ZE(),a=KE,o=ia,{safeRe:s,t:l,comparatorTrimReplace:f,tildeTrimReplace:c,caretTrimReplace:d}=Nm,{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:y}=zE,g=T=>T.value==="<0.0.0-0",b=T=>T.value==="",R=(T,u)=>{let h=!0;const E=T.slice();let S=E.pop();for(;h&&E.length;)h=E.every(C=>S.intersects(C,u)),S=E.pop();return h},A=(T,u)=>(a("comp",T,u),T=J(T,u),a("caret",T),T=D(T,u),a("tildes",T),T=V(T,u),a("xrange",T),T=re(T,u),a("stars",T),T),$=T=>!T||T.toLowerCase()==="x"||T==="*",D=(T,u)=>T.trim().split(/\s+/).map(h=>M(h,u)).join(" "),M=(T,u)=>{const h=u.loose?s[l.TILDELOOSE]:s[l.TILDE];return T.replace(h,(E,S,C,I,_)=>{a("tilde",T,E,S,C,I,_);let x;return $(S)?x="":$(C)?x=`>=${S}.0.0 <${+S+1}.0.0-0`:$(I)?x=`>=${S}.${C}.0 <${S}.${+C+1}.0-0`:_?(a("replaceTilde pr",_),x=`>=${S}.${C}.${I}-${_} <${S}.${+C+1}.0-0`):x=`>=${S}.${C}.${I} <${S}.${+C+1}.0-0`,a("tilde return",x),x})},J=(T,u)=>T.trim().split(/\s+/).map(h=>U(h,u)).join(" "),U=(T,u)=>{a("caret",T,u);const h=u.loose?s[l.CARETLOOSE]:s[l.CARET],E=u.includePrerelease?"-0":"";return T.replace(h,(S,C,I,_,x)=>{a("caret",T,S,C,I,_,x);let v;return $(C)?v="":$(I)?v=`>=${C}.0.0${E} <${+C+1}.0.0-0`:$(_)?C==="0"?v=`>=${C}.${I}.0${E} <${C}.${+I+1}.0-0`:v=`>=${C}.${I}.0${E} <${+C+1}.0.0-0`:x?(a("replaceCaret pr",x),C==="0"?I==="0"?v=`>=${C}.${I}.${_}-${x} <${C}.${I}.${+_+1}-0`:v=`>=${C}.${I}.${_}-${x} <${C}.${+I+1}.0-0`:v=`>=${C}.${I}.${_}-${x} <${+C+1}.0.0-0`):(a("no pr"),C==="0"?I==="0"?v=`>=${C}.${I}.${_}${E} <${C}.${I}.${+_+1}-0`:v=`>=${C}.${I}.${_}${E} <${C}.${+I+1}.0-0`:v=`>=${C}.${I}.${_} <${+C+1}.0.0-0`),a("caret return",v),v})},V=(T,u)=>(a("replaceXRanges",T,u),T.split(/\s+/).map(h=>X(h,u)).join(" ")),X=(T,u)=>{T=T.trim();const h=u.loose?s[l.XRANGELOOSE]:s[l.XRANGE];return T.replace(h,(E,S,C,I,_,x)=>{a("xRange",T,E,S,C,I,_,x);const v=$(C),k=v||$(I),ne=k||$(_),N=ne;return S==="="&&N&&(S=""),x=u.includePrerelease?"-0":"",v?S===">"||S==="<"?E="<0.0.0-0":E="*":S&&N?(k&&(I=0),_=0,S===">"?(S=">=",k?(C=+C+1,I=0,_=0):(I=+I+1,_=0)):S==="<="&&(S="<",k?C=+C+1:I=+I+1),S==="<"&&(x="-0"),E=`${S+C}.${I}.${_}${x}`):k?E=`>=${C}.0.0${x} <${+C+1}.0.0-0`:ne&&(E=`>=${C}.${I}.0${x} <${C}.${+I+1}.0-0`),a("xRange return",E),E})},re=(T,u)=>(a("replaceStars",T,u),T.trim().replace(s[l.STAR],"")),le=(T,u)=>(a("replaceGTE0",T,u),T.trim().replace(s[u.includePrerelease?l.GTE0PRE:l.GTE0],"")),Q=T=>(u,h,E,S,C,I,_,x,v,k,ne,N,q)=>($(E)?h="":$(S)?h=`>=${E}.0.0${T?"-0":""}`:$(C)?h=`>=${E}.${S}.0${T?"-0":""}`:I?h=`>=${h}`:h=`>=${h}${T?"-0":""}`,$(v)?x="":$(k)?x=`<${+v+1}.0.0-0`:$(ne)?x=`<${v}.${+k+1}.0-0`:N?x=`<=${v}.${k}.${ne}-${N}`:T?x=`<${v}.${k}.${+ne+1}-0`:x=`<=${x}`,`${h} ${x}`.trim()),P=(T,u,h)=>{for(let E=0;E<T.length;E++)if(!T[E].test(u))return!1;if(u.prerelease.length&&!h.includePrerelease){for(let E=0;E<T.length;E++)if(a(T[E].semver),T[E].semver!==i.ANY&&T[E].semver.prerelease.length>0){const S=T[E].semver;if(S.major===u.major&&S.minor===u.minor&&S.patch===u.patch)return!0}return!1}return!0};return n5}var r5,rU;function ZE(){if(rU)return r5;rU=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(c,d){if(d=n(d),c instanceof t){if(c.loose===!!d.loose)return c;c=c.value}c=c.trim().split(/\s+/).join(" "),o("comparator",c,d),this.options=d,this.loose=!!d.loose,this.parse(c),this.semver===e?this.value="":this.value=this.operator+this.semver.version,o("comp",this)}parse(c){const d=this.options.loose?r[i.COMPARATORLOOSE]:r[i.COMPARATOR],p=c.match(d);if(!p)throw new TypeError(`Invalid comparator: ${c}`);this.operator=p[1]!==void 0?p[1]:"",this.operator==="="&&(this.operator=""),p[2]?this.semver=new s(p[2],this.options.loose):this.semver=e}toString(){return this.value}test(c){if(o("Comparator.test",c,this.options.loose),this.semver===e||c===e)return!0;if(typeof c=="string")try{c=new s(c,this.options)}catch{return!1}return a(c,this.operator,this.semver,this.options)}intersects(c,d){if(!(c instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(c.value,d).test(this.value):c.operator===""?c.value===""?!0:new l(this.value,d).test(c.semver):(d=n(d),d.includePrerelease&&(this.value==="<0.0.0-0"||c.value==="<0.0.0-0")||!d.includePrerelease&&(this.value.startsWith("<0.0.0")||c.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&c.operator.startsWith(">")||this.operator.startsWith("<")&&c.operator.startsWith("<")||this.semver.version===c.semver.version&&this.operator.includes("=")&&c.operator.includes("=")||a(this.semver,"<",c.semver,d)&&this.operator.startsWith(">")&&c.operator.startsWith("<")||a(this.semver,">",c.semver,d)&&this.operator.startsWith("<")&&c.operator.startsWith(">")))}}r5=t;const n=qR,{safeRe:r,t:i}=Nm,a=tQ,o=KE,s=ia,l=cs();return r5}const pZe=cs(),hZe=(e,t,n)=>{try{t=new pZe(t,n)}catch{return!1}return t.test(e)};var XE=hZe;const mZe=cs(),gZe=(e,t)=>new mZe(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var yZe=gZe;const vZe=ia,bZe=cs(),EZe=(e,t,n)=>{let r=null,i=null,a=null;try{a=new bZe(t,n)}catch{return null}return e.forEach(o=>{a.test(o)&&(!r||i.compare(o)===-1)&&(r=o,i=new vZe(r,n))}),r};var TZe=EZe;const AZe=ia,wZe=cs(),SZe=(e,t,n)=>{let r=null,i=null,a=null;try{a=new wZe(t,n)}catch{return null}return e.forEach(o=>{a.test(o)&&(!r||i.compare(o)===1)&&(r=o,i=new AZe(r,n))}),r};var _Ze=SZe;const i5=ia,xZe=cs(),iU=YE,CZe=(e,t)=>{e=new xZe(e,t);let n=new i5("0.0.0");if(e.test(n)||(n=new i5("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const i=e.set[r];let a=null;i.forEach(o=>{const s=new i5(o.semver.version);switch(o.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!a||iU(s,a))&&(a=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),a&&(!n||iU(n,a))&&(n=a)}return n&&e.test(n)?n:null};var RZe=CZe;const $Ze=cs(),IZe=(e,t)=>{try{return new $Ze(e,t).range||"*"}catch{return null}};var kZe=IZe;const DZe=ia,rQ=ZE(),{ANY:LZe}=rQ,OZe=cs(),PZe=XE,aU=YE,oU=WR,MZe=KR,BZe=zR,NZe=(e,t,n,r)=>{e=new DZe(e,r),t=new OZe(t,r);let i,a,o,s,l;switch(n){case">":i=aU,a=MZe,o=oU,s=">",l=">=";break;case"<":i=oU,a=BZe,o=aU,s="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(PZe(e,t,r))return!1;for(let f=0;f<t.set.length;++f){const c=t.set[f];let d=null,p=null;if(c.forEach(y=>{y.semver===LZe&&(y=new rQ(">=0.0.0")),d=d||y,p=p||y,i(y.semver,d.semver,r)?d=y:o(y.semver,p.semver,r)&&(p=y)}),d.operator===s||d.operator===l||(!p.operator||p.operator===s)&&a(e,p.semver))return!1;if(p.operator===l&&o(e,p.semver))return!1}return!0};var YR=NZe;const FZe=YR,UZe=(e,t,n)=>FZe(e,t,">",n);var HZe=UZe;const jZe=YR,JZe=(e,t,n)=>jZe(e,t,"<",n);var VZe=JZe;const sU=cs(),qZe=(e,t,n)=>(e=new sU(e,n),t=new sU(t,n),e.intersects(t,n));var GZe=qZe;const WZe=XE,zZe=us;var KZe=(e,t,n)=>{const r=[];let i=null,a=null;const o=e.sort((c,d)=>zZe(c,d,n));for(const c of o)WZe(c,t,n)?(a=c,i||(i=c)):(a&&r.push([i,a]),a=null,i=null);i&&r.push([i,null]);const s=[];for(const[c,d]of r)c===d?s.push(c):!d&&c===o[0]?s.push("*"):d?c===o[0]?s.push(`<=${d}`):s.push(`${c} - ${d}`):s.push(`>=${c}`);const l=s.join(" || "),f=typeof t.raw=="string"?t.raw:String(t);return l.length<f.length?l:t};const lU=cs(),ZR=ZE(),{ANY:a5}=ZR,a0=XE,XR=us,YZe=(e,t,n={})=>{if(e===t)return!0;e=new lU(e,n),t=new lU(t,n);let r=!1;e:for(const i of e.set){for(const a of t.set){const o=XZe(i,a,n);if(r=r||o!==null,o)continue e}if(r)return!1}return!0},ZZe=[new ZR(">=0.0.0-0")],uU=[new ZR(">=0.0.0")],XZe=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===a5){if(t.length===1&&t[0].semver===a5)return!0;n.includePrerelease?e=ZZe:e=uU}if(t.length===1&&t[0].semver===a5){if(n.includePrerelease)return!0;t=uU}const r=new Set;let i,a;for(const y of e)y.operator===">"||y.operator===">="?i=cU(i,y,n):y.operator==="<"||y.operator==="<="?a=fU(a,y,n):r.add(y.semver);if(r.size>1)return null;let o;if(i&&a){if(o=XR(i.semver,a.semver,n),o>0)return null;if(o===0&&(i.operator!==">="||a.operator!=="<="))return null}for(const y of r){if(i&&!a0(y,String(i),n)||a&&!a0(y,String(a),n))return null;for(const g of t)if(!a0(y,String(g),n))return!1;return!0}let s,l,f,c,d=a&&!n.includePrerelease&&a.semver.prerelease.length?a.semver:!1,p=i&&!n.includePrerelease&&i.semver.prerelease.length?i.semver:!1;d&&d.prerelease.length===1&&a.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(const y of t){if(c=c||y.operator===">"||y.operator===">=",f=f||y.operator==="<"||y.operator==="<=",i){if(p&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===p.major&&y.semver.minor===p.minor&&y.semver.patch===p.patch&&(p=!1),y.operator===">"||y.operator===">="){if(s=cU(i,y,n),s===y&&s!==i)return!1}else if(i.operator===">="&&!a0(i.semver,String(y),n))return!1}if(a){if(d&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===d.major&&y.semver.minor===d.minor&&y.semver.patch===d.patch&&(d=!1),y.operator==="<"||y.operator==="<="){if(l=fU(a,y,n),l===y&&l!==a)return!1}else if(a.operator==="<="&&!a0(a.semver,String(y),n))return!1}if(!y.operator&&(a||i)&&o!==0)return!1}return!(i&&f&&!a&&o!==0||a&&c&&!i&&o!==0||p||d)},cU=(e,t,n)=>{if(!e)return t;const r=XR(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},fU=(e,t,n)=>{if(!e)return t;const r=XR(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var QZe=YZe;const o5=Nm,dU=zE,eXe=ia,pU=XX,tXe=ch,nXe=tYe,rXe=iYe,iXe=oYe,aXe=lYe,oXe=fYe,sXe=hYe,lXe=yYe,uXe=EYe,cXe=us,fXe=SYe,dXe=CYe,pXe=GR,hXe=kYe,mXe=OYe,gXe=YE,yXe=WR,vXe=QX,bXe=eQ,EXe=zR,TXe=KR,AXe=tQ,wXe=rZe,SXe=ZE(),_Xe=cs(),xXe=XE,CXe=yZe,RXe=TZe,$Xe=_Ze,IXe=RZe,kXe=kZe,DXe=YR,LXe=HZe,OXe=VZe,PXe=GZe,MXe=KZe,BXe=QZe;var iQ={parse:tXe,valid:nXe,clean:rXe,inc:iXe,diff:aXe,major:oXe,minor:sXe,patch:lXe,prerelease:uXe,compare:cXe,rcompare:fXe,compareLoose:dXe,compareBuild:pXe,sort:hXe,rsort:mXe,gt:gXe,lt:yXe,eq:vXe,neq:bXe,gte:EXe,lte:TXe,cmp:AXe,coerce:wXe,Comparator:SXe,Range:_Xe,satisfies:xXe,toComparators:CXe,maxSatisfying:RXe,minSatisfying:$Xe,minVersion:IXe,validRange:kXe,outside:DXe,gtr:LXe,ltr:OXe,intersects:PXe,simplifyRange:MXe,subset:BXe,SemVer:eXe,re:o5.re,src:o5.src,tokens:o5.t,SEMVER_SPEC_VERSION:dU.SEMVER_SPEC_VERSION,RELEASE_TYPES:dU.RELEASE_TYPES,compareIdentifiers:pU.compareIdentifiers,rcompareIdentifiers:pU.rcompareIdentifiers};const hU=Ut(iQ);async function aQ(...e){return new Promise((t,n)=>{sn(()=>import("./index-7R0o6am8.js").then(r=>r.i),__vite__mapDeps([])).then(r=>{r.call||(r=r.default),r.call(...e,i=>{try{const a=JSON.parse(i);if(a.code===0){const o=JSON.parse(a.data);t(o)}else n(new Error(a.error))}catch{t(i)}})}).catch(r=>{console.error("load dsbridge error",r)})})}const NXe=[`${Vi}/connect`,`${Vi}/login`,`${Vi}/invite`,`${Vi}/issue-passport`];async function FXe(){const e=(window==null?void 0:window.blocklet)||{},t=window.location.pathname,{componentId:n,CHAIN_TYPE:r="arcblock",appPid:i}=e;if(NXe.includes(t))return null;const a=pX();try{const o=`${window.location.origin}${Vi}/api/user/loginByWallet`;return await aQ("arcLogin",{target:o,chainType:r,appPid:i,componentId:n,apps:a.map(l=>{let f=l==null?void 0:l.appLogo;return Gb(f)||(f=Ln(l.appUrl,f)),{appName:l.appName,appPid:l.appPid,appUrl:l.appUrl,appLogo:f,sourceAppPid:l.sourceAppPid}})})}catch(o){return console.error(o),null}}async function UXe(){return await aQ("arcGetVisitorId")}function HXe({platform:e,version:t}={}){return!!(e==="ios"&&t&&hU.gte(t,"4.15.6")||e==="android"&&t&&hU.gte(t,"4.15.1"))}const{Provider:jXe,Consumer:mU}=uh,gU={en:"DID Connect timeout, please reopen DID Connect popup",zh:"DID Connect 超时, 请重新打开 DID Connect"};function JXe(e=BJe,t="ls",n={},r={}){var f;let i="/";(f=globalThis==null?void 0:globalThis.blocklet)!=null&&f.prefix&&(i=globalThis.blocklet.prefix),typeof r=="boolean"&&(r={appendAuthServicePrefix:r,extraParams:{}}),eRe(r,{rolling:!0,appendAuthServicePrefix:!1,extraParams:{},refreshTokenStorageKey:NJe});const a=EM(e,t,n),o=EM(r.refreshTokenStorageKey,"ls");function s(c){var Je,Me;const{connectApi:d,connectHolder:p}=FKe(),y=Cm(),g=Di({extraParams:{},options:{},currentLocale:c.locale,allowWallet:void 0,openMode:"window",get autoConnect(){return typeof c.autoConnect=="boolean"?c.autoConnect:!!c.autoLogin},get prefix(){return r.appendAuthServicePrefix||c.appendAuthServicePrefix?Ln(Vi,c.prefix):c.prefix}}),b=Di({action:c.action,error:"",initialized:!1,loading:!1,open:!1,user:null,provider:"",walletOS:"",baseUrl:"",get locale(){return c.locale||g.currentLocale||VZ()}}),{confirmApi:R,confirmHolder:A}=cPe(),$=en(()=>new nRe,[]),D=Ct((Ie,Ce,Le)=>{const Ke={login:[ei.LOGIN,ei.CANCEL_LOGIN],"bind-wallet":[ei.BIND_WALLET,ei.CANCEL_BIND_WALLET],"switch-passport":[ei.SWITCH_PASSPORT,ei.CANCEL_SWITCH_PASSPORT],"switch-profile":[ei.SWITCH_PROFILE,ei.CANCEL_SWITCH_PROFILE],"switch-did":[ei.LOGIN,ei.CANCEL_LOGIN]};if(!Object.keys(Ke).includes(Ie))return;const Be=async(...G)=>{kc(Ce)&&await Ce(...G),$.emit(Ie,...G)};$.once(Ke[Ie][0],Be),$.once(Ke[Ie][1],async(...G)=>{kc(Be)&&$.off(Ke[Ie][0],Be),kc(Le)&&await Le(...G),$.emit(`cancel-${Ie}`,...G)})}),M=Uz(b.initialized,(Ie,Ce)=>Ie!==Ce||Ie===!0&&Ce===!0),{handleRefreshUser:J,handleRefreshToken:U,renewToken:V,clearSession:X,handleLoginResult:re,decrypt:le,service:Q,getSessionToken:P,getRefreshToken:T,setRefreshToken:u,setSessionToken:h}=iqe({state:b,pageState:g,sessionTokenStorage:a,refreshTokenStorage:o,serviceHost:c.serviceHost,apiOptions:c.apiOptions,lazyRefreshToken:c.lazyRefreshToken}),E=Ct((Ie,Ce={},Le={})=>{const Ke=Ie;typeof Ke=="object"&&(Ie=Ke.onSuccess,Ce=Ke.extraParams||{},Le=Ke.options||{},Le.origin=Ke.origin||""),(!b.user||Le.origin==="switch-did")&&(Le.origin==="switch-did"?D("switch-did",Ie,Ke==null?void 0:Ke.onCancel):D("login",Ie,Ke==null?void 0:Ke.onCancel),g.extraParams=Ce,g.options=Le,b.action="login",Ne())}),S=Ct(async(Ie,Ce={},Le={})=>{var F;if((Ce==null?void 0:Ce.openMode)==="redirect"){const se=(Ce==null?void 0:Ce.redirect)||"/",Ee=new URL(`${Vi}/login`,window.location.origin);Ee.searchParams.set("redirect",se),Ce!=null&&Ce.forceConnected&&Ee.searchParams.set("forceConnected",Ce==null?void 0:Ce.forceConnected),Le!=null&&Le.origin&&Ee.searchParams.set("origin",Le.origin),window.location.href=Ee.href;return}let Ke=Ce==null?void 0:Ce.sourceAppPid;bu(Ke)&&K&&(Ke=te.appPid),await qW(()=>b.initialized);const Be=Ie;typeof Be=="object"&&(Ie=Be.onSuccess,Ce=Be.extraParams||{},Le=Be.options||{}),typeof Le=="string"&&(Le={origin:Le});const G=Sl(Ce);g.allowWallet=void 0;const B=(G==null?void 0:G.openMode)||((F=c==null?void 0:c.extraParams)==null?void 0:F.openMode);bu(B)?g.openMode="window":g.openMode=B,Ke?(b.baseUrl=globalThis.blocklet.appUrl,E(Ie,G,Le)):(b.baseUrl="",E(Ie,G,Le))}),C=hm(),I=Ct(async Ie=>{const Ce=Ln(Vi,"/api/user/logout");await fetch(Ce,{method:"POST",body:JSON.stringify({visitorId:C}),headers:{"Content-Type":"application/json"}}),X(),be(),b.user=null,b.provider="",b.walletOS="",b.error="",b.loading=!1,$.emit("logout"),typeof Ie=="function"&&Ie()}),{userSessions:_,refresh:x,loaded:v,loginUserSession:k}=zX({appPid:AK(b.user),loginAppPid:(Je=globalThis==null?void 0:globalThis.blocklet)==null?void 0:Je.appPid,sourceAppPid:(Me=b==null?void 0:b.user)==null?void 0:Me.sourceAppPid,autoFetch:!1}),ne=Ct((Ie,Ce={},Le={})=>{const Ke=Ie;typeof Ke=="object"&&(Ie=Ke.onSuccess,Ce=Ke.extraParams||{},Le=Ke.options||{}),typeof Le=="string"&&(Le={origin:Le}),Le!=null&&Le.userSession?k(Le.userSession).then(Be=>{D("switch-did",Ie),re({...Be,encrypted:!1}),J(!0).then(()=>{$.emit(ei.LOGIN,Be,le)})}):(bu(Ce==null?void 0:Ce.forceConnected)&&(Ce.forceConnected=!1),S(Ie,Ce,{...Le,origin:"switch-did"}))}),N=Ct((Ie,Ce={})=>{const Le=Ie;typeof Le=="object"&&(Ie=Le.onSuccess,Ce=Le.extraParams||{}),b.user&&(D("switch-profile",Ie,Le==null?void 0:Le.onCancel),g.extraParams=Ce,g.options={},b.action="switch-profile",Ne())}),q=Ct((Ie,Ce={})=>{const Le=Ie;typeof Le=="object"&&(Ie=Le.onSuccess,Ce=Le.extraParams||{}),b.user&&(D("switch-passport",Ie,Le==null?void 0:Le.onCancel),g.extraParams=Ce,g.options={},b.action="switch-passport",Ne())}),ie=Ct((Ie,Ce={})=>{const Le=Ie;typeof Le=="object"&&(Ie=Le.onSuccess),b.user&&(D("bind-wallet",Ie,Le==null?void 0:Le.onCancel),g.extraParams=Ce,g.options={},b.action="bind-wallet",Ne())}),ue=Ct(Ie=>{g.extraParams={},g.options={},re(Ie),b.loading=!1,J(!0).then(()=>{b.action==="login"?$.emit(ei.LOGIN,Ie,le):b.action==="switch-passport"&&$.emit(ei.SWITCH_PASSPORT,Ie,le)})}),he=Ct(Ie=>{g.extraParams={},g.options={},re(Ie),b.loading=!1,J(!0).then(()=>{$.emit(ei.BIND_WALLET,Ie,le)})}),Se=Ct(Ie=>{g.extraParams={},g.options={},b.loading=!1,J(!0).then(()=>{$.emit(ei.SWITCH_PROFILE,Ie,le)})}),j=Ct(Ie=>{g.extraParams={},g.options={},be();const Ce={login:ei.CANCEL_LOGIN,"switch-profile":ei.CANCEL_SWITCH_PROFILE,"switch-passport":ei.CANCEL_SWITCH_PASSPORT,"bind-wallet":ei.CANCEL_BIND_WALLET};$.emit(Ce[Ie])}),O=Ct((Ie,...Ce)=>{try{we[Ie](...Ce)}catch(Le){console.error("Catch error in onSuccess",{action:Ie,args:Ce,err:Le})}}),{federatedMaster:Z,federatedEnabled:K,master:te}=eqe({locale:b.locale,decrypt:le,login:E,logout:I,handleLoginResult:re,handleRefreshUser:J,setRefreshToken:u,setSessionToken:h}),{checkMatch:ye}=gqe({protectedRoutes:c.protectedRoutes||[]}),pe=fE(_),ae=Ct(async()=>(v||(await x(),await Mm()),pe.current)),me={api:Q,events:$,storage:a,connectApi:d,session:{...b,loading:g.autoConnect&&!b.user||b.loading,login:S,logout:I,switchDid:ne,switchProfile:N,switchPassport:q,bindWallet:ie,refresh:J,updateConnectedInfo:HZ,federatedMaster:Z,useOAuth:hR,OAuthProvider:a2,OAuthConsumer:MVe,OAuthContext:pR,useDid:sX,WrapDid:cX,getUserSessions:ae}},we={login:ue,"switch-profile":Se,"switch-passport":ue,"bind-wallet":he},be=Ct(()=>{b.open=!1,d.close()}),Ne=async()=>{var Be,G,B,F,se;const Ie=ad[b.action],Ce=Ie[b.locale]||Ie.en,Le={...r.extraParams,...c.extraParams,...g.extraParams,previousUserDid:(Be=b==null?void 0:b.user)==null?void 0:Be.did,email:(G=b==null?void 0:b.user)==null?void 0:G.email};Le==null||delete Le.openMode;const Ke={action:b.action,locale:b.locale,extraParams:Le,options:{...c.options||{},...g.options},checkTimeout:c.timeout,webWalletUrl:c.webWalletUrl,messages:Ce,useSocket:c.useSocket,...c6(c,["action","locale","serviceHost","appendAuthServicePrefix","autoDisconnect","children","timeout","extraParams","options","webWalletUrl","messages","useSocket","lazyRefreshToken","apiOptions","protectedRoutes"]),...nE(g.extraParams||{},["autoConnect","forceConnected","saveConnect","useSocket"]),prefix:g.prefix,allowWallet:bu(g.allowWallet)?b.action!=="login"||(((B=globalThis.blocklet)==null?void 0:B.DID_CONNECT_ALLOW_WALLET)||"1")==="1":g.allowWallet,onSuccess(...Ee){O(b.action,...Ee),setTimeout(()=>{b.open=!1},2e3)},onClose(...Ee){j(b.action,...Ee)},onError(Ee){console.error(Ee)}};if(b.open=!0,["login"].includes(b.action)&&g.openMode==="window"&&!y.wallet)try{const Ee={...Ke,baseUrl:window.location.origin};Gb(g.prefix)||(Ee.prefix=Ln(window.location.origin,c.serviceHost==="/"?"":c.serviceHost,g.prefix)),(F=Ee.extraParams)!=null&&F.provider||(Ee.extraParams.provider=((se=b==null?void 0:b.user)==null?void 0:se.provider)||"wallet"),await d.openPopup(Ee,{locale:b.locale})}catch(Ee){Ee.message==="Timeout"?Ci.error(gU[b.locale]||gU.en):console.error(Ee)}else d.open(Ke)};return nf(()=>{if(b.initialized){const Ie=!M;$.emit("change",{user:Sl(b.user),isFirst:Ie})}},[b.user,b.initialized,$]),nf(()=>{if(b.initialized&&b.user){const{params:Ie,url:Ce}=GJe();if(Ie){const{switchBehavior:Le,forceConnected:Ke,sourceAppPid:Be}=Ie;window.history.replaceState(null,"trim",Ce),Ke!==b.user.did&&(Le==="required"?ne(()=>{},{openMode:"redirect",sourceAppPid:Be,forceConnected:Ke}):Le==="disabled"||setTimeout(()=>{R.open({title:ad.switchAccountDialog[b.locale].title,content:W.jsxs(W.Fragment,{children:[W.jsx(Br,{variant:"body1",sx:{textAlign:"center",mb:2},children:ad.switchAccountDialog[b.locale].description}),W.jsxs(yt,{sx:{display:"flex",alignItems:"center",color:Rt.foregroundsFgBase},children:[W.jsxs(yt,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,lineHeight:1},children:[W.jsx(Ml,{did:b.user.did,shape:"circle",variant:"circle",size:80}),W.jsx(vp,{did:b.user.did,showAvatar:!1,compact:!0,responsive:!1}),ad.switchAccountDialog[b.locale].currentAccount]}),W.jsx(yt,{sx:{display:"flex",justifyContent:"center",px:2},children:W.jsx(yt,{component:Zn,icon:G9e,fontSize:24,color:Rt.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}}}})}),W.jsxs(yt,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,lineHeight:1,fontWeight:500},children:[W.jsx(Ml,{did:Ke,shape:"circle",variant:"circle",size:80}),W.jsx(vp,{did:Ke,showAvatar:!1,compact:!0,responsive:!1}),ad.switchAccountDialog[b.locale].nextAccount]})]})]}),showCancelButton:!1,confirmButtonText:ad.switchAccountDialog[b.locale].confirm,onConfirm(G){G(),ne(()=>{window.location.reload()},{sourceAppPid:Be,forceConnected:Ke},{showQuickConnect:!1})}})},1e3))}}},[b.initialized]),Sm(async()=>{const Ie=Mr.get("connected_app"),Ce=tR();if(c.autoDisconnect&&Ie&&Ce&&Ie!==Ce){X(),b.initialized=!0,g.autoConnect?Ne():be();return}const Le=P();let Ke="web";if(y.mobile.apple.device?Ke="ios":y.mobile.android.device&&(Ke="android"),(window==null?void 0:window.self)===(window==null?void 0:window.parent)&&y.wallet&&HXe({version:y.walletVersion,platform:Ke})){if(!C){const G=await UXe();HG(G)}if(!Le)try{b.loading=!0;const G=await FXe();if(G){b.initialized=!0,ue({sessionToken:G.sessionToken,refreshToken:G.refreshToken,encrypted:!1});return}}finally{b.loading=!1}}if(Le){await J(!0),b.initialized=!0;return}if(typeof window<"u"){const G=new URL(window.location.href),B=G.searchParams.get("loginToken");if(B){re({loginToken:B,encrypted:!1}),G.searchParams.delete("loginToken"),window.history.replaceState({},window.title,G.href);return}}if(T()){await U(!0),b.initialized=!0;return}try{}catch(G){console.error("Federated: tryAutoLogin failed",G)}finally{b.initialized=!0}g.autoConnect?Ne():be()}),ye()&&!b.initialized?W.jsx(fp,{children:W.jsx(z8,{})}):W.jsx(jXe,{value:me,children:W.jsxs(a2,{locale:b.locale,onSwitchPassport:({sessionToken:Ie,refreshToken:Ce})=>{ue({sessionToken:Ie,refreshToken:Ce,encrypted:!1})},onBindOAuth:()=>{J()},children:[!b.open&&typeof c.children=="function"?c.children(b):c.children,p,A,r.rolling&&W.jsx(qZ,{callback:()=>V()})]})})}s.propTypes={children:ge.any.isRequired,serviceHost:ge.string,action:ge.string,prefix:ge.string,appendAuthServicePrefix:ge.bool,locale:ge.string,timeout:ge.number,autoConnect:ge.bool,autoDisconnect:ge.bool,useSocket:ge.bool,extraParams:ge.object,options:ge.object,webWalletUrl:ge.string,protectedRoutes:ge.arrayOf(ge.string),apiOptions:ge.object,lazyRefreshToken:ge.bool},s.defaultProps={serviceHost:i,locale:"",action:"login",prefix:eR,appendAuthServicePrefix:!1,extraParams:{},options:{},autoConnect:!1,autoDisconnect:!0,useSocket:!0,timeout:MZ*1e3,webWalletUrl:"",protectedRoutes:["*"],apiOptions:{},lazyRefreshToken:!1};function l(c){return function(p){return W.jsx(B3,{children:W.jsx(mU,{children:y=>W.jsx(c,{...p,...y})})})}}return{SessionProvider:c=>W.jsx(B3,{children:W.jsx(s,{...c})}),SessionConsumer:mU,SessionContext:uh,withSession:l}}let oQ="/";window.env&&(oQ=window.env.groupPathPrefix||window.env.pathPrefix||"/");function sQ(e,t){return[void 0,null,""].includes(e)?t:e/86400}var zH,KH,YH;const VXe=sQ((YH=(KH=(zH=window.blocklet)==null?void 0:zH.settings)==null?void 0:KH.session)==null?void 0:YH.cacheTtl,1/144);var ZH,XH,QH;const qXe=sQ((QH=(XH=(ZH=window.blocklet)==null?void 0:ZH.settings)==null?void 0:XH.session)==null?void 0:QH.ttl,7),{SessionProvider:GXe,SessionContext:WXe,SessionConsumer:Nmt,withSession:Fmt}=JXe("login_token","cookie",{returnDomain:!1,path:oQ,expireInDays:VXe},{refreshTokenStorageKey:"refresh_token",refreshTokenExpireInDays:qXe});function lQ(){return z.useContext(WXe)}function zXe({children:e}){const t=Dq({typography:{fontSize:14,button:{textTransform:"none"}},palette:{primary:{main:"#1DC1C7",contrastText:"#fff"}}});return W.jsx(mq,{injectFirst:!0,children:W.jsx(Kye,{theme:t,children:W.jsx(hq,{theme:t,children:W.jsx(R8,{translations:Q_e,fallbackLocale:"en",children:W.jsx(B3,{children:W.jsx(e$,{theme:t,children:e})})})})})})}const QR=new URL(window.location.href),uQ=QR.searchParams.get("mode")||"",KXe=QR.pathname.includes("embed")&&uQ==="dialog",YXe=QR.pathname.includes("embed")&&uQ!=="dialog";function e$({children:e,theme:t}){var i,a,o;const{locale:n}=Wb(),r=Vs`
516
+ `),()=>this.onerror("timeout"),t=>{this.awaitingBatchAck=!1,!t||t.status!==200?(this.onerror(t&&t.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(e,t,n){for(let i of this.reqs)i.abort();this.readyState=Ss.closed;let r=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:e,reason:t,wasClean:n});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",r)):this.onclose(r)}ajax(e,t,n,r,i){let a,o=()=>{this.reqs.delete(a),r()};a=c2.request(e,this.endpointURL(),t,n,this.timeout,o,s=>{this.reqs.delete(a),this.isActive()&&i(s)}),this.reqs.add(a)}},y0=class{constructor(e,t={}){let n=t.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=e,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(n.state,r=>{let{onJoin:i,onLeave:a,onSync:o}=this.caller;this.joinRef=this.channel.joinRef(),this.state=y0.syncState(this.state,r,i,a),this.pendingDiffs.forEach(s=>{this.state=y0.syncDiff(this.state,s,i,a)}),this.pendingDiffs=[],o()}),this.channel.on(n.diff,r=>{let{onJoin:i,onLeave:a,onSync:o}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(r):(this.state=y0.syncDiff(this.state,r,i,a),o())})}onJoin(e){this.caller.onJoin=e}onLeave(e){this.caller.onLeave=e}onSync(e){this.caller.onSync=e}list(e){return y0.list(this.state,e)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(e,t,n,r){let i=this.clone(e),a={},o={};return this.map(i,(s,l)=>{t[s]||(o[s]=l)}),this.map(t,(s,l)=>{let f=i[s];if(f){let c=l.metas.map(g=>g.phx_ref),d=f.metas.map(g=>g.phx_ref),p=l.metas.filter(g=>d.indexOf(g.phx_ref)<0),y=f.metas.filter(g=>c.indexOf(g.phx_ref)<0);p.length>0&&(a[s]=l,a[s].metas=p),y.length>0&&(o[s]=this.clone(f),o[s].metas=y)}else a[s]=l}),this.syncDiff(i,{joins:a,leaves:o},n,r)}static syncDiff(e,t,n,r){let{joins:i,leaves:a}=this.clone(t);return n||(n=function(){}),r||(r=function(){}),this.map(i,(o,s)=>{let l=e[o];if(e[o]=this.clone(s),l){let f=e[o].metas.map(d=>d.phx_ref),c=l.metas.filter(d=>f.indexOf(d.phx_ref)<0);e[o].metas.unshift(...c)}n(o,l,s)}),this.map(a,(o,s)=>{let l=e[o];if(!l)return;let f=s.metas.map(c=>c.phx_ref);l.metas=l.metas.filter(c=>f.indexOf(c.phx_ref)<0),r(o,l,s),l.metas.length===0&&delete e[o]}),e}static list(e,t){return t||(t=function(n,r){return r}),this.map(e,(n,r)=>t(n,r))}static map(e,t){return Object.getOwnPropertyNames(e).map(n=>t(n,e[n]))}static clone(e){return JSON.parse(JSON.stringify(e))}},v0={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(e,t){if(e.payload.constructor===ArrayBuffer)return t(this.binaryEncode(e));{let n=[e.join_ref,e.ref,e.topic,e.event,e.payload];return t(JSON.stringify(n))}},decode(e,t){if(e.constructor===ArrayBuffer)return t(this.binaryDecode(e));{let[n,r,i,a,o]=JSON.parse(e);return t({join_ref:n,ref:r,topic:i,event:a,payload:o})}},binaryEncode(e){let{join_ref:t,ref:n,event:r,topic:i,payload:a}=e,o=this.META_LENGTH+t.length+n.length+i.length+r.length,s=new ArrayBuffer(this.HEADER_LENGTH+o),l=new DataView(s),f=0;l.setUint8(f++,this.KINDS.push),l.setUint8(f++,t.length),l.setUint8(f++,n.length),l.setUint8(f++,i.length),l.setUint8(f++,r.length),Array.from(t,d=>l.setUint8(f++,d.charCodeAt(0))),Array.from(n,d=>l.setUint8(f++,d.charCodeAt(0))),Array.from(i,d=>l.setUint8(f++,d.charCodeAt(0))),Array.from(r,d=>l.setUint8(f++,d.charCodeAt(0)));var c=new Uint8Array(s.byteLength+a.byteLength);return c.set(new Uint8Array(s),0),c.set(new Uint8Array(a),s.byteLength),c.buffer},binaryDecode(e){let t=new DataView(e),n=t.getUint8(0),r=new TextDecoder;switch(n){case this.KINDS.push:return this.decodePush(e,t,r);case this.KINDS.reply:return this.decodeReply(e,t,r);case this.KINDS.broadcast:return this.decodeBroadcast(e,t,r)}},decodePush(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=t.getUint8(3),o=this.HEADER_LENGTH+this.META_LENGTH-1,s=n.decode(e.slice(o,o+r));o=o+r;let l=n.decode(e.slice(o,o+i));o=o+i;let f=n.decode(e.slice(o,o+a));o=o+a;let c=e.slice(o,e.byteLength);return{join_ref:s,ref:null,topic:l,event:f,payload:c}},decodeReply(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=t.getUint8(3),o=t.getUint8(4),s=this.HEADER_LENGTH+this.META_LENGTH,l=n.decode(e.slice(s,s+r));s=s+r;let f=n.decode(e.slice(s,s+i));s=s+i;let c=n.decode(e.slice(s,s+a));s=s+a;let d=n.decode(e.slice(s,s+o));s=s+o;let p=e.slice(s,e.byteLength),y={status:d,response:p};return{join_ref:l,ref:f,topic:c,event:cl.reply,payload:y}},decodeBroadcast(e,t,n){let r=t.getUint8(1),i=t.getUint8(2),a=this.HEADER_LENGTH+2,o=n.decode(e.slice(a,a+r));a=a+r;let s=n.decode(e.slice(a,a+i));a=a+i;let l=e.slice(a,e.byteLength);return{join_ref:null,ref:null,topic:o,event:s,payload:l}}},rze=class{constructor(t,n={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=n.timeout||eze,this.transport=n.transport||V0.WebSocket||qv,this.establishedConnections=0,this.defaultEncoder=v0.encode.bind(v0),this.defaultDecoder=v0.decode.bind(v0),this.closeWasClean=!1,this.binaryType=n.binaryType||"arraybuffer",this.connectClock=1,this.transport!==qv?(this.encode=n.encode||this.defaultEncoder,this.decode=n.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let r=null;g0&&g0.addEventListener&&(g0.addEventListener("pagehide",i=>{this.conn&&(this.disconnect(),r=this.connectClock)}),g0.addEventListener("pageshow",i=>{r===this.connectClock&&(r=null,this.connect())})),this.heartbeatIntervalMs=n.heartbeatIntervalMs||3e4,this.rejoinAfterMs=i=>n.rejoinAfterMs?n.rejoinAfterMs(i):[1e3,2e3,5e3][i-1]||1e4,this.reconnectAfterMs=i=>n.reconnectAfterMs?n.reconnectAfterMs(i):[10,50,100,150,200,250,500,1e3,2e3][i-1]||5e3,this.logger=n.logger||null,this.longpollerTimeout=n.longpollerTimeout||2e4,this.params=J0(n.params||{}),this.endPoint=`${t}/${ex.websocket}`,this.vsn=n.vsn||QWe,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new jX(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return qv}replaceTransport(t){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=t}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let t=c2.appendParams(c2.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return t.charAt(0)!=="/"?t:t.charAt(1)==="/"?`${this.protocol()}:${t}`:`${this.protocol()}://${location.host}${t}`}disconnect(t,n,r){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(t,n,r)}connect(t){t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=J0(t)),!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=n=>this.onConnError(n),this.conn.onmessage=n=>this.onConnMessage(n),this.conn.onclose=n=>this.onConnClose(n))}log(t,n,r){this.logger(t,n,r)}hasLogger(){return this.logger!==null}onOpen(t){let n=this.makeRef();return this.stateChangeCallbacks.open.push([n,t]),n}onClose(t){let n=this.makeRef();return this.stateChangeCallbacks.close.push([n,t]),n}onError(t){let n=this.makeRef();return this.stateChangeCallbacks.error.push([n,t]),n}onMessage(t){let n=this.makeRef();return this.stateChangeCallbacks.message.push([n,t]),n}ping(t){if(!this.isConnected())return!1;let n=this.makeRef(),r=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:n});let i=this.onMessage(a=>{a.ref===n&&(this.off([i]),t(Date.now()-r))});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(([,t])=>t())}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(),tze,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(t,n,r){if(!this.conn)return t&&t();this.waitForBufferDone(()=>{this.conn&&(n?this.conn.close(n,r||""):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),t&&t()})})}waitForBufferDone(t,n=1){if(n===5||!this.conn||!this.conn.bufferedAmount){t();return}setTimeout(()=>{this.waitForBufferDone(t,n+1)},150*n)}waitForSocketClosed(t,n=1){if(n===5||!this.conn||this.conn.readyState===Ss.closed){t();return}setTimeout(()=>{this.waitForSocketClosed(t,n+1)},150*n)}onConnClose(t){let n=t&&t.code;this.hasLogger()&&this.log("transport","close",t),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&n!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,r])=>r(t))}onConnError(t){this.hasLogger()&&this.log("transport",t);let n=this.transport,r=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,i])=>{i(t,n,r)}),(n===this.transport||r>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(t=>{t.isErrored()||t.isLeaving()||t.isClosed()||t.trigger(cl.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case Ss.connecting:return"connecting";case Ss.open:return"open";case Ss.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(t){this.off(t.stateChangeRefs),this.channels=this.channels.filter(n=>n.joinRef()!==t.joinRef())}off(t){for(let n in this.stateChangeCallbacks)this.stateChangeCallbacks[n]=this.stateChangeCallbacks[n].filter(([r])=>t.indexOf(r)===-1)}channel(t,n={}){let r=new JX(t,n,this);return this.channels.push(r),r}push(t){if(this.hasLogger()){let{topic:n,event:r,payload:i,ref:a,join_ref:o}=t;this.log("push",`${n} ${r} (${o}, ${a})`,i)}this.isConnected()?this.encode(t,n=>this.conn.send(n)):this.sendBuffer.push(()=>this.encode(t,n=>this.conn.send(n)))}makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,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(t=>t()),this.sendBuffer=[])}onConnMessage(t){this.decode(t.data,n=>{let{topic:r,event:i,payload:a,ref:o,join_ref:s}=n;o&&o===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${a.status||""} ${r} ${i} ${o&&"("+o+")"||""}`,a);for(let l=0;l<this.channels.length;l++){const f=this.channels[l];f.isMember(r,i,a,s)&&f.trigger(i,a,o,s)}for(let l=0;l<this.stateChangeCallbacks.message.length;l++){let[,f]=this.stateChangeCallbacks.message[l];f(n)}})}leaveOpenTopic(t){let n=this.channels.find(r=>r.topic===t&&(r.isJoined()||r.isJoining()));n&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${t}"`),n.leave())}},tx={exports:{}},GS,OF;function ize(){if(OF)return GS;OF=1;var e=1e3,t=e*60,n=t*60,r=n*24,i=r*7,a=r*365.25;GS=function(c,d){d=d||{};var p=typeof c;if(p==="string"&&c.length>0)return o(c);if(p==="number"&&isFinite(c))return d.long?l(c):s(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function o(c){if(c=String(c),!(c.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(d){var p=parseFloat(d[1]),y=(d[2]||"ms").toLowerCase();switch(y){case"years":case"year":case"yrs":case"yr":case"y":return p*a;case"weeks":case"week":case"w":return p*i;case"days":case"day":case"d":return p*r;case"hours":case"hour":case"hrs":case"hr":case"h":return p*n;case"minutes":case"minute":case"mins":case"min":case"m":return p*t;case"seconds":case"second":case"secs":case"sec":case"s":return p*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return p;default:return}}}}function s(c){var d=Math.abs(c);return d>=r?Math.round(c/r)+"d":d>=n?Math.round(c/n)+"h":d>=t?Math.round(c/t)+"m":d>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var d=Math.abs(c);return d>=r?f(c,d,r,"day"):d>=n?f(c,d,n,"hour"):d>=t?f(c,d,t,"minute"):d>=e?f(c,d,e,"second"):c+" ms"}function f(c,d,p,y){var g=d>=p*1.5;return Math.round(c/p)+" "+y+(g?"s":"")}return GS}function aze(e){n.debug=n,n.default=n,n.coerce=l,n.disable=a,n.enable=i,n.enabled=o,n.humanize=ize(),n.destroy=f,Object.keys(e).forEach(c=>{n[c]=e[c]}),n.names=[],n.skips=[],n.formatters={};function t(c){let d=0;for(let p=0;p<c.length;p++)d=(d<<5)-d+c.charCodeAt(p),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=t;function n(c){let d,p=null,y,g;function b(...R){if(!b.enabled)return;const A=b,$=Number(new Date),D=$-(d||$);A.diff=D,A.prev=d,A.curr=$,d=$,R[0]=n.coerce(R[0]),typeof R[0]!="string"&&R.unshift("%O");let M=0;R[0]=R[0].replace(/%([a-zA-Z%])/g,(U,V)=>{if(U==="%%")return"%";M++;const X=n.formatters[V];if(typeof X=="function"){const re=R[M];U=X.call(A,re),R.splice(M,1),M--}return U}),n.formatArgs.call(A,R),(A.log||n.log).apply(A,R)}return b.namespace=c,b.useColors=n.useColors(),b.color=n.selectColor(c),b.extend=r,b.destroy=n.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(y!==n.namespaces&&(y=n.namespaces,g=n.enabled(c)),g),set:R=>{p=R}}),typeof n.init=="function"&&n.init(b),b}function r(c,d){const p=n(this.namespace+(typeof d>"u"?":":d)+c);return p.log=this.log,p}function i(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];let d;const p=(typeof c=="string"?c:"").split(/[\s,]+/),y=p.length;for(d=0;d<y;d++)p[d]&&(c=p[d].replace(/\*/g,".*?"),c[0]==="-"?n.skips.push(new RegExp("^"+c.slice(1)+"$")):n.names.push(new RegExp("^"+c+"$")))}function a(){const c=[...n.names.map(s),...n.skips.map(s).map(d=>"-"+d)].join(",");return n.enable(""),c}function o(c){if(c[c.length-1]==="*")return!0;let d,p;for(d=0,p=n.skips.length;d<p;d++)if(n.skips[d].test(c))return!1;for(d=0,p=n.names.length;d<p;d++)if(n.names[d].test(c))return!0;return!1}function s(c){return c.toString().substring(2,c.toString().length-2).replace(/\.\*\?$/,"*")}function l(c){return c instanceof Error?c.stack||c.message:c}function f(){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 n.enable(n.load()),n}var oze=aze;(function(e,t){var n={};t.formatArgs=i,t.save=a,t.load=o,t.useColors=r,t.storage=s(),t.destroy=(()=>{let f=!1;return()=>{f||(f=!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`."))}})(),t.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 r(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1: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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function i(f){if(f[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+f[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const c="color: "+this.color;f.splice(1,0,c,"color: inherit");let d=0,p=0;f[0].replace(/%[a-zA-Z%]/g,y=>{y!=="%%"&&(d++,y==="%c"&&(p=d))}),f.splice(p,0,c)}t.log=console.debug||console.log||(()=>{});function a(f){try{f?t.storage.setItem("debug",f):t.storage.removeItem("debug")}catch{}}function o(){let f;try{f=t.storage.getItem("debug")}catch{}return!f&&typeof Xt<"u"&&"env"in Xt&&(f=n.DEBUG),f}function s(){try{return localStorage}catch{}}e.exports=oze(t);const{formatters:l}=e.exports;l.j=function(f){try{return JSON.stringify(f)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}})(tx,tx.exports);var OR=tx.exports;const sze=OR;var lze=(e,t=!1)=>{const n=sze(["@arcblock/ws",e].join(":"));return{debug:n,warn:n,info:n,trace:t?n:console.error,error:t?n:console.error}};const uze=lze;var cze=(e,t,n)=>class extends e{constructor(i,a={}){super(i,{transport:n,...a}),this._logger=uze("client",a.silent),this.emitter=new t,this.onOpen(()=>{this._logger.debug("socket open",i)}),this.onClose(()=>{this._logger.debug("socket close",i)}),this.onError(o=>{this._logger.error("socket error",o.error)}),this.onMessage(o=>{this._logger.debug("socket message",o)})}on(i,a,o={}){this.ensureJoinChannel(i,o),this.emitter.on(i,a)}off(i,a){a?this.emitter.off(i,a):this.emitter.removeAllListeners(i),this.ensureLeaveChannel(i)}disconnect(i,a,o){this.emitter.eventNames().forEach(s=>{this.emitter.removeAllListeners(s)}),super.disconnect(i,a,o)}ensureJoinChannel(i,a={}){if(this.emitter.listenerCount(i)>0)return;const s=this.channel(i,a);s.join().receive("ok",l=>{this._logger.debug("join success",{topic:i,message:l})}).receive("error",l=>{this._logger.error("join error",{topic:i,error:l})}).receive("timeout",()=>{this._logger.debug("join timeout",{topic:i})}),s.on(i,({status:l,response:f})=>{l==="ok"?this.emitter.emit(i,f):this._logger.debug("response error",{topic:i,status:l,data:f})})}ensureLeaveChannel(i){if(this.emitter.listenerCount(i)>0)return;const o=this.channels.find(s=>s.topic===i);o&&(this.remove(o),o.leave().receive("ok",s=>{this._logger.debug("leave success",{topic:i,message:s})}).receive("error",s=>{this._logger.error("leave error",{topic:i,err:s})}).receive("timeout",()=>{this._logger.debug("leave timeout",{topic:i})}),o.off(i))}subscribe(i,a={}){let o=this.channels.find(s=>s.topic===i);return o||(o=this.channel(i,a),o.join().receive("ok",s=>{this._logger.debug("join success",{topic:i,message:s})}).receive("error",s=>{this._logger.error("join error",{topic:i,error:s})}).receive("timeout",()=>{this._logger.debug("join timeout",{topic:i})}),o)}unsubscribe(i){this.ensureLeaveChannel(i)}};const fze=UX,{Socket:dze}=ZWe,pze=cze;var hze=pze(dze,fze);const mze=hze;var PR={WsClient:mze};function gze(e){const t=z.useRef(e);z.useEffect(()=>{t.current=e},[e]),z.useEffect(()=>{const n=r=>{!document.hidden&&t.current&&t.current(r)};return document.addEventListener("visibilitychange",n),()=>{document.removeEventListener("visibilitychange",n)}},[])}function yze(e){const t=e||window.location.href;return new URL(t).host}function b0(e){const t={},n=e||window.location.href;if(n){const{hostname:r,protocol:i,port:a}=new URL(n);t["x-real-hostname"]=r,t["x-real-port"]=a,t["x-real-protocol"]=i.endsWith(":")?i.substring(0,i.length-1):i}return t}const WS={};function vze({action:e,prefix:t,checkFn:n,extraParams:r,baseUrl:i}){const a=`${t}/token?${p0(r)}`;return WS[a]||(WS[a]=async function(){var d,p;const s=+new Date,l=await n(a,{headers:b0(i)}),f=+new Date;if(f-s<500&&await Mm(500-(f-s)),(d=l==null?void 0:l.data)!=null&&d.token)return l.data;if((p=l==null?void 0:l.data)!=null&&p.error)throw new Error(l.data.error);const c=Gb(t)?t:`${i}${t}`;throw new Error(`Error generating ${e} qrcode from: ${c}`)}),WS[a]}const bze=()=>{try{const t=new URL(window.location.href).searchParams.get("__connect_url__");if(!t)return null;const n=JJe(t);return{token:VJe(n),url:n}}catch(e){return{error:e}}},VX=()=>Os(globalThis,"blocklet.appPid")||Os(globalThis,"blocklet.appId")||Os(globalThis,"env.appId")||"",Eze=()=>(Os(globalThis,"env.apiPrefix")||"/").replace(/\/$/,"").replace(BZ,""),zS=e=>`relay:${VX()}:${e}`,Tze=()=>window.location.protocol==="https:"?"wss:":"ws:",PF=e=>!e||new URL(e).origin===window.location.origin,MF=e=>["succeed","error","timeout","busy"].includes(e);function Aze({action:e,checkFn:t,checkInterval:n,checkTimeout:r,extraParams:i,locale:a,prefix:o,tokenKey:s,encKey:l,onError:f,onSuccess:c,baseUrl:d,autoConnect:p=!0,forceConnected:y=!0,saveConnect:g=!0,useSocket:b=!0,provider:R="wallet"}){const A=Di({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:d,prefix:`${o}/${e}`,extraParams:DF(i,LF),checkFn:t,results:{},action:e,provider:R}),$=M1[a]||M1.en,D=en(()=>bze(),[]),M=Math.ceil(r/n),J=Di({onSuccessCalled:!1,cancelWhenScannedCounter:0,isSocketAvailable:!1}),{encryptKey:U,decrypt:V}=Hqe(),X=Cm(),re=hm(),le=Ct((...x)=>{const v={[l]:U,...A.extraParams,locale:a,forceConnected:y,autoConnect:p&&!X.wallet&&!J.cancelWhenScannedCounter&&["ios","android"].includes(Mr.get("connected_wallet_os")),provider:A.provider};return re&&(v.visitorId=re),vze({action:e,prefix:A.prefix,baseUrl:A.baseUrl,checkFn:A.checkFn,extraParams:v})(...x)}),Q=()=>{J.cancelWhenScannedCounter++};z.useEffect(()=>{J.cancelWhenScannedCounter>0&&(i.nw?f(new Error($.retryForbidden)):S())},[J.cancelWhenScannedCounter]);const P=z.useRef(null),T=z.useRef(null);z.useEffect(()=>(b&&PF(A.baseUrl)&&VX()?(!P.current||P.current.isConnected()===!1||P.current.baseUrl!==A.baseUrl)&&(P.current=new PR.WsClient(`${Tze()}//${yze(A.baseUrl)}${Eze()}${BZ}/relay`,{longpollerTimeout:5e3,heartbeatIntervalMs:30*1e3}),P.current.baseUrl=A.baseUrl,P.current.onOpen(()=>{J.isSocketAvailable=!0}),P.current.connect()):J.isSocketAvailable&&(J.isSocketAvailable=!1),()=>{P.current&&(P.current.disconnect(),P.current=null)}),[A.baseUrl]);const u={...A.extraParams,locale:a,[s]:A.token||(D==null?void 0:D.token),provider:A.provider},h=()=>!A.token||A.loading||MF(A.status)?null:n,E=async()=>{try{u[s]&&A.status==="created"&&await A.checkFn(`${A.prefix}/timeout?${p0(u)}`,{headers:b0(A.baseUrl)})}catch{}try{A.token&&T.current&&(await P.current.unsubscribe(zS(A.token)),T.current=null)}catch{}},S=Ct(async(x=!0)=>{x&&E();try{A.loading=!0,A.token="",A.url="",A.store=null,A.extraParams=DF(i,LF),await Mm();const v=await le(),k=v.extra||{};A.loading=!1,A.token=v.token,A.url=v.url,A.status="created",A.error="",A.checkCount=0,A.appInfo=v.appInfo,A.memberAppInfo=v.memberAppInfo,A.connectedDid=k.connectedDid,A.saveConnect=k.saveConnect}catch(v){A.loading=!1,A.status="error",A.error=`${$.generateError}: ${v.message}`}}),C=z.useRef(null);z.useEffect(()=>{C.current={state:A,params:u}}),z.useEffect(()=>()=>{const{state:x,params:v}=C.current;x.status==="created"&&v[s]&&x.checkFn(`${x.prefix}/timeout?${p0(v)}`,{headers:b0(x.baseUrl)})},[]);const I=async()=>{try{if(D.error)throw D.error;A.loading=!0,A.token=D.token,A.url=D.url,A.inExistingSession=!0;const x=await _();if(x!=null&&x.status&&(x==null?void 0:x.status)!=="created")throw new Error(`${$.invalidSessionStatus} [${x.status}]`)}catch(x){A.status="error",A.error=x.message,f(x,A==null?void 0:A.store,V)}finally{A.loading=!1}};z.useEffect(()=>{if(!A.token&&!A.store&&!A.loading&&!A.error)if(D)I();else{S(!1);return}if(A.status!=="timeout"&&A.checkCount>M){A.status="timeout",E();return}if(A.status==="succeed"&&!J.onSuccessCalled&&(PF(A.baseUrl)&&g&&A.saveConnect&&A.store.did&&HZ({...A.store,appInfo:A.appInfo,memberAppInfo:A.memberAppInfo}),A.store)){const{nextWorkflow:x}=A.store;if(x)try{const v=qJe(x,s);A.nextWorkflow=(v==null?void 0:v.nextWorkflow)||x,Object.assign(A,v),A.store=null,A.error="",A.url="",A.appInfo=null,A.memberAppInfo=null,A.checkCount=0,A.status="scanned",A.results={...A.results,[A.token]:A.store},A.checkFn=ql({baseURL:v.baseUrl,timeout:8e3}).get,_()}catch(v){console.error(`Invalid nextWorkflow: ${x}`,v),A.status="error",A.error=`Invalid nextWorkflow: ${x}: ${v.message}`}else if(A.nextWorkflow&&(A.nextWorkflow="",A.url=""),typeof c=="function"){const v=Object.values({...A.results,[A.token]:A.store});J.onSuccessCalled=!0;const k=v.length>1?v:v[0],ne=Sl(k);c(ne,V,{sourceAppPid:i==null?void 0:i.sourceAppPid})}}}),z.useEffect(()=>{if(A.token&&J.isSocketAvailable&&P.current){let x=!1;T.current?T.current.token!==A.token&&(P.current.unsubscribe(zS(T.current.token)),x=!0):x=!0,x&&(T.current=P.current.subscribe(zS(A.token)),T.current.token=A.token,T.current.on("updated",({response:v})=>{let{status:k,error:ne}=v;k==="forbidden"&&(ne=$.forbidden,k="error"),A.status=k,A.mfaCode=v.mfaCode||0,A.store=v,A.error=ne}))}},[A.token,J.isSocketAvailable,P.current]);const _=async(x=!1)=>{var v;if(A.checking||(A.status==="created"&&A.checkCount++,J.isSocketAvailable&&!x))return null;try{A.checking=!0;const k=await A.checkFn(`${A.prefix}/status?${p0(u)}`,{headers:b0(A.baseUrl)}),{status:ne,error:N,mfaCode:q=0}=k.data;if(A.store=k.data,A.mfaCode=q,A.checking=!1,A.status=ne,ne==="error"&&N){const ie=new Error(N);throw ie.response=k,ie}return k.data}catch(k){const{response:ne}=k;if(ne!=null&&ne.status){u[s]&&A.checkFn(`${A.prefix}/timeout?${p0(u)}`,{headers:b0(A.baseUrl)});const N=(v=ne==null?void 0:ne.data)!=null&&v.error?ne.data.error:k.message,q=new Error(N);q.code=ne.status,A.status="error",A.checking=!1,A.error=N,f(q,A==null?void 0:A.store,V)}else A.status="error",A.checking=!1,A.error=$.generateError}return null};return JWe(_,h()),gze(()=>{J.isSocketAvailable&&A.token&&MF(A.status)===!1&&_(!0)}),{state:A,generate:S,cancelWhenScanned:Q}}function MR({tokenState:e,locale:t,tokenKey:n}){const{t:r,isWalletWebview:i}=Gl(),a=r("openInWallet"),o=en(()=>{if(!e.url)return"";const f=new URL(window.location.href);f.searchParams.set("tokenKey",e.token);const c=new URL(e.url);return c.searchParams.set("callback",encodeURIComponent(f)),c.searchParams.set("callback_delay",1500),c.searchParams.set("locale",t),c.href.replace(/^https?:\/\//,"abt://")},[n,e.token]),s=Ct(()=>{sn(()=>import("./index-rNf-xBr1.js").then(f=>f.i),__vite__mapDeps([])).then(f=>{f.call||(f=f.default),f.call("authAction",{action:"auth",deepLink:o})}).catch(f=>{console.error("load dsbridge error",f)})}),l={};return i||(l.component="a",l.href=o),Sm(()=>{o&&s()}),W.jsxs(Yu,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer",backgroundColor:Rt.surfacePrimarySubtitle,textDecoration:"none",color:"inherit"},...l,onClick:i?s:Bn,children:[W.jsxs(yt,{sx:{display:"flex",alignItems:"center",gap:1},children:[W.jsx(Rp,{width:"24px",height:"24px"}),W.jsx(Br,{sx:{fontSize:"14px",fontWeight:500},children:a})]}),W.jsx(Zn,{icon:VE,fontSize:"1.3rem",color:Rt.primaryBase})]})}MR.propTypes={tokenState:ge.object.isRequired,locale:ge.string,tokenKey:ge.string};MR.defaultProps={locale:"en",tokenKey:"_t_"};const wze={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 qX({onRefresh:e,...t}){const n=r=>{r.stopPropagation(),e()};return W.jsx(yt,{...t,onClick:n,sx:{position:"absolute",top:0,bottom:0,left:0,right:0,display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(0, 0, 0, 0.1)",cursor:"pointer",...t.sx},children:W.jsx(yt,{sx:{backgroundColor:Rt.foregroundsFgInteractive,borderRadius:"100%",fontSize:0},children:W.jsx(Zn,{icon:wze,fontSize:52,style:{transform:"scale(0.7)",color:"white"}})})})}qX.propTypes={onRefresh:ge.func.isRequired};const By=["scanned","succeed","error","busy"];function BR({onSuccess:e,onError:t,action:n,prefix:r,checkFn:i,checkInterval:a,checkTimeout:o,locale:s,tokenKey:l,encKey:f,baseUrl:c,autoConnect:d,forceConnected:p,saveConnect:y,useSocket:g,allowWallet:b,provider:R,webWalletUrl:A,onRecreateSession:$,onClose:D,messages:M,enabledConnectTypes:J}){var K,te,ye;if(typeof i!="function")throw new Error("Cannot initialize did connect component without a fetchFn");const U=z.useContext(uh),{connectState:V,extraParams:X,staticState:re,changeStatus:le,isWalletWebview:Q,matchSmallScreen:P}=Gl(),T=Cm(),u=en(()=>{var pe;return R||(X==null?void 0:X.provider)||((pe=U==null?void 0:U.session)==null?void 0:pe.provider)||"wallet"},[X==null?void 0:X.provider,(K=U==null?void 0:U.session)==null?void 0:K.provider]);z.useEffect(()=>{C(c)},[c]);const{state:h,generate:E,cancelWhenScanned:S}=Aze({action:n,baseUrl:c,checkFn:i,checkInterval:a,checkTimeout:o,extraParams:X,prefix:r,onError:t,onSuccess:e,locale:s,tokenKey:l,encKey:f,autoConnect:d,forceConnected:p,saveConnect:y,useSocket:g,allowWallet:b,provider:u}),{setBaseUrl:C,oauthConfigList:I,oauthState:_}=hR({defaultStatus:h.status}),x=Uz(V==null?void 0:V.sourceAppPid);nf(()=>{bu(x)||E()},[V==null?void 0:V.sourceAppPid]);const v=en(()=>By.includes(_.status)||By.includes(h.status),[h.status,_.status]);z.useEffect(()=>{By.includes(_.status)?le(_.status):By.includes(h.status)?le(h.status):le("created")},[le,h.status,_.status]);const k=Ct(()=>{$(),_.reset(),h.inExistingSession||E(!1)}),ne=Ct(()=>{$(),h.inExistingSession||(re.current.cancelCount++,S())}),N=en(()=>({confirm:M.confirm,success:M.success,error:h.error||_.error||""}),[M.confirm,M.success,h.error,_.error]),q=en(()=>b&&J.includes("mobile")&&!Q,[b,J,Q]),ie=FZ(A),ue=en(()=>b&&J.includes("web")&&(ie||qb())&&!T.mobile.any,[b,J,(te=T==null?void 0:T.mobile)==null?void 0:te.any]),he=en(()=>b&&J.includes("mobile")&&T.mobile.any,[b,J,(ye=T==null?void 0:T.mobile)==null?void 0:ye.any]),Se=en(()=>{const pe=IGe(["auth0","apple","github","google"],J);return I.filter(ae=>pe.includes(ae.provider))},[I,J]),j=en(()=>Se.length>0&&["login","invite"].includes(h.action),[Se]),O=en(()=>{const pe=q||ue||he;let ae=null;return j&&(ae=pe?W.jsxs(W.Fragment,{children:[W.jsx(K8,{light:!0,sx:{color:Rt.textMuted,width:P?"200px":"368px",maxWidth:"90%",margin:"auto",fontSize:"14px",fontWeight:"bold","&:before, &:after":{borderColor:Rt.lineStep}},children:"OR"}),W.jsx(u2,{providerList:Se,onSuccess:e,onError:t,tokenState:h,locale:s})]}):W.jsx(u2,{providerList:Se,onSuccess:e,onError:t,tokenState:h,type:"list",locale:s})),W.jsxs(W.Fragment,{children:[h.status==="timeout"?W.jsx(qX,{onRefresh:k,sx:{zIndex:1,animation:"fadeIn 1s","@keyframes fadeIn":{"0%":{opacity:0},"100%":{opacity:1}}}}):null,W.jsx(yt,{"data-did-auth-url":h.url,sx:{display:"none"}}),he&&W.jsx(MR,{tokenState:h,locale:s,tokenKey:l}),q&&W.jsx(kR,{tokenState:h,messages:M,locale:s}),ue&&W.jsx($R,{tokenState:h,webWalletUrl:A,locale:s}),ae]})},[h.url,h.status,q,ue,he]);return en(()=>h.loading||_.loading||!h.token,[h.loading,_.loading])?W.jsx(ER,{}):v?W.jsxs(W.Fragment,{children:[W.jsx(yt,{"data-did-auth-url":h.url,sx:{display:"none"}}),W.jsx(qE,{status:_.status||h.status,nextWorkflow:h.nextWorkflow,mfaCode:h.mfaCode,onCancel:ne,onRetry:k,onClose:D,messages:N,locale:s,className:"auth-status"})]}):O}BR.propTypes={onError:ge.func,onSuccess:ge.func.isRequired,action:ge.string.isRequired,checkFn:ge.func.isRequired,prefix:ge.string,checkInterval:ge.number,checkTimeout:ge.number,locale:ge.oneOf(["en","zh",""]),tokenKey:ge.string,encKey:ge.string,baseUrl:ge.string,autoConnect:ge.bool,forceConnected:ge.oneOfType([ge.bool,ge.string]),saveConnect:ge.bool,useSocket:ge.bool,allowWallet:ge.bool,provider:ge.oneOf(["wallet","auth0",""]),webWalletUrl:ge.string,onRecreateSession:ge.func,onClose:ge.func,messages:ge.object,enabledConnectTypes:ge.arrayOf(ge.oneOf(["web","mobile","github","apple","google","auth0"]))};BR.defaultProps={prefix:eR,onError:Bn,checkInterval:2*1e3,checkTimeout:MZ*1e3,locale:"en",tokenKey:"_t_",encKey:"_ek_",baseUrl:"",autoConnect:!0,forceConnected:!0,saveConnect:!0,useSocket:!0,allowWallet:!0,provider:"",webWalletUrl:NZ(),onRecreateSession:Bn,onClose:Bn,messages:{},enabledConnectTypes:["web","mobile","github","apple","google","auth0"]};var KS=RW,Sze=YG,_ze=tC,xze=1/0,Cze=KS&&1/_ze(new KS([,-0]))[1]==xze?function(e){return new KS(e)}:Sze,Rze=Cze,$ze=Q8,Ize=_X,kze=xX,Dze=eC,Lze=Rze,Oze=tC,Pze=200;function Mze(e,t,n){var r=-1,i=Ize,a=e.length,o=!0,s=[],l=s;if(n)o=!1,i=kze;else if(a>=Pze){var f=t?null:Lze(e);if(f)return Oze(f);o=!1,i=Dze,l=new $ze}else l=t?[]:s;e:for(;++r<a;){var c=e[r],d=t?t(c):c;if(c=n||c!==0?c:0,o&&d===d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(c)}else i(l,d,n)||(l!==s&&l.push(d),s.push(c))}return s}var GX=Mze,Bze=q8,Nze=GE,Fze=Tm,Uze=GX,BF=B8,Hze=tE,jze=Fze(function(e){var t=Hze(e);return BF(t)&&(t=void 0),Uze(Bze(e,1,BF,!0),Nze(t))}),Jze=jze;const Vze=Ut(Jze);var qze=oW,Gze=Am;function Wze(e,t){return e&&qze(e,t,Gze)}var zze=Wze,Kze=mf;function Yze(e,t){return function(n,r){if(n==null)return n;if(!Kze(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var Zze=Yze,Xze=zze,Qze=Zze,eKe=Qze(Xze),tKe=eKe,nKe=tKe,rKe=mf;function iKe(e,t){var n=-1,r=rKe(e)?Array(e.length):[];return nKe(e,function(i,a,o){r[++n]=t(i,a,o)}),r}var aKe=iKe;function oKe(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}var sKe=oKe,NF=um;function lKe(e,t){if(e!==t){var n=e!==void 0,r=e===null,i=e===e,a=NF(e),o=t!==void 0,s=t===null,l=t===t,f=NF(t);if(!s&&!f&&!a&&e>t||a&&o&&l&&!s&&!f||r&&o&&l||!n&&l||!i)return 1;if(!r&&!a&&!f&&e<t||f&&n&&i&&!r&&!a||s&&n&&i||!o&&i||!l)return-1}return 0}var uKe=lKe,cKe=uKe;function fKe(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var l=cKe(i[r],a[r]);if(l){if(r>=s)return l;var f=n[r];return l*(f=="desc"?-1:1)}}return e.index-t.index}var dKe=fKe,YS=Jp,pKe=fm,hKe=GE,mKe=aKe,gKe=sKe,yKe=bm,vKe=dKe,bKe=eE,EKe=Ta;function TKe(e,t,n){t.length?t=YS(t,function(a){return EKe(a)?function(o){return pKe(o,a.length===1?a[0]:a)}:a}):t=[bKe];var r=-1;t=YS(t,yKe(hKe));var i=mKe(e,function(a,o,s){var l=YS(t,function(f){return f(a)});return{criteria:l,index:++r,value:a}});return gKe(i,function(a,o){return vKe(a,o,n)})}var AKe=TKe,wKe=q8,SKe=AKe,_Ke=Tm,FF=TW,xKe=_Ke(function(e,t){if(e==null)return[];var n=t.length;return n>1&&FF(e,t[0],t[1])?t=[]:n>2&&FF(t[0],t[1],t[2])&&(t=[t[0]]),SKe(e,wKe(t,1),[])}),CKe=xKe;const WX=Ut(CKe),RKe=Ln(Vi,"/api/user-session");function zX({appPid:e,sourceAppPid:t,loginAppPid:n,autoFetch:r=!0,baseUrl:i="/"}={}){const a=hm(),o=en(()=>ql({baseURL:Ln(i,RKe)},{lazy:!0,lazyTime:500}),[i]),s=Ct(async()=>{const{data:y}=await o.get("",{params:{visitorId:a,appPid:e}});return y}),l=Di({loaded:!1,loadingId:null}),f=dLe(s,{manual:!r,onFinally(){l.loaded=!0},refreshDeps:[e,i]}),c=async y=>{var b,R,A;const g=nE(y,["userDid","visitorId","passportId"]);try{l.loadingId=y.id;const{data:$}=await o.post("login",{...g,appPid:n});return $}catch($){const D=$.response?((R=(b=$.response)==null?void 0:b.data)==null?void 0:R.error)||((A=$.response)==null?void 0:A.data):$.message;throw Ci.error(D),console.error("Quick login error",$),$}finally{l.loadingId=null}},d=en(()=>{if(!f.data)return[];const y=new Date().getTime(),g=WX(f.data,b=>y-new Date(b.updatedAt).getTime());return Vze(g,b=>[b.userDid].join("_"))},[f.data,t,e]),p=en(()=>!!(d&&d.length>0),[d]);return{loadingId:l.loadingId,userSessions:d,quickLoginEnabled:p,loginUserSession:c,loading:f.loading,loaded:f.loaded,refresh:f.refreshAsync}}const $Ke={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"/>'},IKe={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 NR({appInfo:e,...t}){const[n,r]=z.useState(!1);if(n||!(e.appUrl||e.appLogo))return W.jsx(Ml,{did:e.appPid,size:32});let i=e.appLogo||"";return Gb(i)||(i=Ln(e.appUrl||"",i)),W.jsx(zd,{src:i,alt:e.appName||"Blocklet Icon",width:32,height:32,...t,onError:()=>r(!0)})}NR.propTypes={appInfo:ge.object.isRequired};const kKe=e=>e?e.split(":").pop():"";function WE({appInfo:e,active:t,appLogo:n}){return W.jsxs(yt,{sx:{display:"flex",alignItems:"center",fontWeight:600,color:Rt.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:Rt.textMuted,fontSize:"12px"}},children:[n||W.jsx(yt,{sx:{borderRadius:"8px",overflow:"hidden",fontSize:0},children:W.jsx(NR,{appInfo:e})}),W.jsxs(yt,{className:"app-info-content",children:[W.jsx(yt,{className:"app-info-name",children:e.appName}),e.appPid&&W.jsx(bE,{size:12,className:"app-info-did",copyable:!1,color:Rt.textMuted,compact:!1,responsive:!1,children:kKe(e.appPid)})]}),t?W.jsx(Wu,{size:"small",color:"success",children:W.jsx(cke,{icon:IKe,color:"success"})}):null]})}WE.propTypes={appInfo:ge.object.isRequired,active:ge.bool,appLogo:ge.node};WE.defaultProps={active:!1,appLogo:null};function nx({appInfo:e}){const t=z.useRef(null),n=Di({hoverOnButton:!1,hoverOnPopover:!1}),r=en(()=>n.hoverOnButton||n.hoverOnPopover,[n.hoverOnButton,n.hoverOnPopover]);return W.jsxs(W.Fragment,{children:[W.jsx(yt,{ref:t,sx:{color:Rt.foregroundsFgInteractive,cursor:"help"},onClick:()=>{n.hoverOnButton=!0},onMouseEnter:()=>{n.hoverOnButton=!0},onMouseLeave:()=>{setTimeout(()=>{n.hoverOnButton=!1},200)},children:e.appName}),W.jsx(pz,{open:r,sx:{pointerEvents:"none"},slotProps:{paper:{variant:"outlined",sx:{border:0,boxShadow:`0px 4px 8px 0px ${Rt.gray6}, 0px 0px 0px 1px ${Rt.gray6}`,py:1,px:1.5,borderRadius:2,transform:"translateY(-6px) !important"}}},anchorEl:t.current,anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"},onClose:()=>{n.open=!1},disableRestoreFocus:!0,children:W.jsx(yt,{sx:{pointerEvents:"auto"},onMouseEnter:()=>{n.hoverOnPopover=!0},onMouseLeave:()=>{n.hoverOnPopover=!1},children:W.jsx(WE,{appInfo:e,appLogo:W.jsx(NR,{appInfo:e})})})})]})}nx.propTypes={appInfo:ge.object.isRequired};function UF(){const{appInfoList:e,t,extraParams:n,connectState:r}=Gl(),i=z.useRef(null),a=Di({open:!1});return W.jsxs(W.Fragment,{children:[W.jsx(yt,{ref:i,sx:{textTransform:"lowercase",color:Rt.foregroundsFgInteractive,cursor:"pointer"},onClick:()=>{a.open=!0},children:t("switch")}),W.jsx(Xke,{anchorEl:i.current,open:a.open,onClose:()=>{a.open=!1},slotProps:{paper:{variant:"outlined",sx:{border:0,boxShadow:`0px 4px 8px 0px ${Rt.gray6}, 0px 0px 0px 1px ${Rt.gray6}`,borderRadius:2}}},children:e.map(o=>W.jsx(H3,{onClick:()=>{a.open=!1,r.sourceAppPid=o.sourceAppPid},children:W.jsx(WE,{appInfo:o,active:o.sourceAppPid===(n==null?void 0:n.sourceAppPid)})},o.appPid))})]})}function FR({locale:e,disableSwitchApp:t}){const{appInfoList:n,extraParams:r,connectState:i,blocklet:a}=Gl(),o=en(()=>n.find(f=>Xd.isUndefined(r==null?void 0:r.sourceAppPid)?!0:Xd.isNull(f.sourceAppPid)?f.appPid===(a==null?void 0:a.appPid):f.sourceAppPid===(r==null?void 0:r.sourceAppPid)),[r==null?void 0:r.sourceAppPid,n]),s=!t&&n.length>1;Sm(()=>{(a==null?void 0:a.appPid)===(o==null?void 0:o.appPid)?i.sourceAppPid=null:i.sourceAppPid=o==null?void 0:o.appPid});const l=en(()=>e==="zh"?W.jsxs(W.Fragment,{children:["您正在使用 ",W.jsx(nx,{appInfo:o,appInfoList:n})," 账户来连接站点",s?W.jsxs(W.Fragment,{children:[",点击",W.jsx(UF,{appInfoList:n})]}):null]}):W.jsxs(W.Fragment,{children:["You're using ",W.jsx(nx,{appInfo:o})," account for site access",s?W.jsxs(W.Fragment,{children:[". Click to ",W.jsx(UF,{appInfoList:n})]}):null]}),[e,o,n,s]);return Xd.isEmpty(n)?null:W.jsxs(yt,{sx:{fontSize:"13px",color:Rt.foregroundsFgSubtile,display:"flex",alignItems:"center",whiteSpace:"pre"},children:[l,s&&W.jsx(yt,{component:Zn,icon:$Ke,sx:{ml:.5}})]})}FR.propTypes={locale:ge.string,disableSwitchApp:ge.bool};FR.defaultProps={locale:"en",disableSwitchApp:!1};var UR={};Object.defineProperty(UR,"__esModule",{value:!0});var KX=UR.default=void 0;DKe(z);var ZS=W;function DKe(e){return e&&e.__esModule?e:{default:e}}function HF(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function jF(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?HF(Object(n),!0).forEach(function(r){LKe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HF(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function LKe(e,t,n){return t=OKe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OKe(e){var t=PKe(e,"string");return typeof t=="symbol"?t:String(t)}function PKe(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var HR=function(t){return(0,ZS.jsxs)("svg",jF(jF({},t),{},{children:[(0,ZS.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,ZS.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)"})]}))};HR.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none"};HR.displayName="did-logo-colorful";KX=UR.default=HR;function MKe({...e}){return W.jsxs(yt,{...e,sx:{display:"flex",alignItems:"center",color:Rt.foregroundsFgMuted,gap:.5,...e.sx},children:[W.jsx(KX,{}),"Power By DID Connect"]})}function jR({children:e,initHeight:t,slotProps:n}){var s;const[r,i]=z.useState(t),a=z.useRef(null),o=_m(a);return z.useEffect(()=>{o!=null&&o.height&&i(o.height)},[o==null?void 0:o.height,r]),W.jsx(yt,{...n==null?void 0:n.root,sx:{height:r,overflow:"hidden",transition:"height 0.2s ease-in-out",...(s=n==null?void 0:n.root)==null?void 0:s.sx},children:W.jsx(yt,{...n==null?void 0:n.container,ref:a,children:e})})}jR.propTypes={initHeight:ge.number,children:ge.node.isRequired,slotProps:ge.object};jR.defaultProps={initHeight:0,slotProps:{}};const Ny="did-connect",JF="quick-connect";function JR({mode:e,isFullScreen:t,hideCloseButton:n,...r}){var Q;const i=Di({showTab:Ny}),{connectState:a,blocklet:o}=Gl(),{extraContent:s,onSuccess:l,action:f,onClose:c,options:d}=r,p=en(()=>(a==null?void 0:a.sourceAppPid)||AK(),[a==null?void 0:a.sourceAppPid]),{quickLoginEnabled:y,loading:g,userSessions:b,loginUserSession:R,refresh:A}=zX({appPid:p,loginAppPid:o==null?void 0:o.appPid,sourceAppPid:a==null?void 0:a.sourceAppPid,autoFetch:["login"].includes(f)}),$=en(()=>{var P;return((P=r==null?void 0:r.messages)==null?void 0:P.title)||FJe},[(Q=r==null?void 0:r.messages)==null?void 0:Q.title]),D=Ct(async(...P)=>{const T=await R(...P);await l({...T,encrypted:!1},u=>u)});z.useEffect(()=>{(d==null?void 0:d.showQuickConnect)!==!1&&!g&&y&&(i.showTab=JF)},[g,y,d==null?void 0:d.showQuickConnect]);const M=vLe(g,{wait:100}),J=Ct(()=>{i.showTab=Ny}),U=Ct(()=>{i.showTab=JF}),V=en(()=>i.showTab===Ny||!y,[i.showTab,y]),X=en(()=>{let P=!0;return(g||M)&&(P=!1),y||(P=!1),d.showQuickConnect===!1&&(P=!1),i.showTab!==Ny&&(P=!1),P},[y,i.showTab,g,M]),re=en(()=>W.jsx(yt,{onClick:c,sx:{fontSize:"1.5rem",width:"1.5rem",height:"1.5rem",cursor:"pointer",color:Rt.foregroundsFgSubtile,transition:"transform 0.2s ease-in-out","&:hover":{transform:"rotate(90deg)"}},children:W.jsx(Zn,{icon:bX})}),[c]);let le=null;return g||M?le=W.jsx(ER,{}):V?le=W.jsx(BR,{...r,onClose:c}):le=W.jsx(RR,{userSessions:b,onLogin:D,onRetry:A,onClose:c,messages:r.messages,onLoginAnother:J}),W.jsxs(U$e,{variant:"outlined",sx:{color:Rt.foregroundsFgBase,backgroundColor:"white",borderRadius:2,borderColor:Rt.strokeBorderBase,height:"100%",display:"flex",flexDirection:"column"},children:[W.jsx(lIe,{title:W.jsxs(W.Fragment,{children:[X&&W.jsx(Wu,{size:"small",disabled:a.status!=="created",onClick:U,disableRipple:!0,sx:{fontSize:"0.75em"},children:W.jsx(Zn,{icon:bqe,color:Rt.textMuted})}),$]}),titleTypographyProps:{display:"flex",alignItems:"center",variant:"h6",lineHeight:"28px",fontWeight:600},action:n?null:re,sx:{px:2.5,".MuiCardHeader-action":{margin:0,alignSelf:"center"}}}),W.jsx(X$e,{sx:{borderTop:`1px solid ${Rt.strokeBorderBase}`,borderBottom:`1px solid ${Rt.strokeBorderBase}`,flex:1,verticalAlign:"middle",overflow:"auto",p:2.5,position:"relative","&::after":{content:'""',height:"100%",verticalAlign:"middle",display:"inline-block",width:0}},children:W.jsxs(jR,{slotProps:{root:{sx:{display:"inline-block",width:"100%",verticalAlign:"middle"}},container:{sx:{display:"flex",flexDirection:"column",gap:1}}},children:[W.jsx(FR,{locale:r.locale,disableSwitchApp:r.disableSwitchApp}),le,s?W.jsx(yt,{children:s}):null]})}),W.jsx(G$e,{sx:{py:2,px:2.5,justifyContent:"center"},children:W.jsx(MKe,{sx:{fontSize:"12px"}})})]})}JR.propTypes={action:ge.string.isRequired,onSuccess:ge.func,onClose:ge.func,messages:ge.object,extraContent:ge.any,disableSwitchApp:ge.bool,mode:ge.oneOf(["fullScreen","dialog","normal"]),isFullScreen:ge.bool,options:ge.object,hideCloseButton:ge.bool,locale:ge.string};JR.defaultProps={onSuccess:Bn,onClose:Bn,mode:"normal",isFullScreen:!1,extraContent:null,disableSwitchApp:!1,messages:{},options:{},hideCloseButton:!0,locale:"en"};function VR(e){const{checkFn:t,extraParams:n,blocklet:r,action:i,locale:a}=e;if(typeof t!="function")throw new Error("Cannot initialize did connect component without a fetchFn");return W.jsx(TR,{blocklet:r,action:i,locale:a,extraParams:n,sx:{position:"relative",width:"100%",height:"100%",lineHeight:1.2,fontFamily:"Inter",color:"#334660","&, & *, & *:before, & *:after":{boxSizing:"border-box"}},children:W.jsx(JR,{...e})})}VR.propTypes={checkFn:ge.func.isRequired,extraParams:ge.object,blocklet:ge.object.isRequired,action:ge.string.isRequired,locale:ge.string};VR.defaultProps={extraParams:{},locale:"en"};const BKe=Bqe(Tqe(Uqe(VR))),NKe=z.forwardRef((e,t)=>{const{api:n}=z.useContext(uh),r={containerEl:null,popup:!0,checkFn:(n==null?void 0:n.get)||Bn,onSuccess:()=>{setTimeout(()=>{f()},2e3)},messages:{title:"DID Connect",scan:"Scan QR code to complete this action",confirm:"Confirm on your DID Wallet",success:"Success!"}},i=Di({show:!1,...Sl(r)}),[a,o]=z.useState({}),s=Ct(d=>{const{containerEl:p,checkFn:y,popup:g,onSuccess:b,messages:R,...A}=Sl(d);typeof y=="function"&&(i.checkFn=y),typeof b=="function"&&(i.onSuccess=(...$)=>{b(...$),setTimeout(()=>{f()},2e3)}),g!==void 0&&(i.popup=g),R!==void 0&&(i.messages=R),p!==void 0&&(i.containerEl=p),o(A),i.show=!0}),l=Ct(()=>{const d=Sl(r);Object.keys(d).forEach(p=>{i[p]=d[p]})}),f=Ct(()=>{i.show=!1,l()});z.useImperativeHandle(t,()=>({open:s,close:f}),[s,f]);const c=W.jsx(BKe,{open:!0,popup:i.popup,messages:i.messages,onClose:f,onSuccess:i.onSuccess,checkFn:i.checkFn,...a});return i.containerEl?G1.createPortal(c,i.containerEl):i.show&&c});function FKe(){const e=z.useRef(null),t=Ct((...o)=>{var s;(s=e.current)==null||s.open(...o)}),n=Ct(async(o={},{baseUrl:s,locale:l="en",blocklet:f=globalThis==null?void 0:globalThis.blocklet}={})=>{var R;if(bu(s)){const A=Bm(),$=sh();s=A?$.appUrl:window.location.origin}const{onSuccess:c,onClose:d,onError:p,...y}=o;if(!((R=y==null?void 0:y.extraParams)!=null&&R.provider))throw kc(p)&&p("Must have extraParams.provider"),new Error("Must have extraParams.provider");y!=null&&y.prefix||(y.prefix=window.location.origin+Ln(f==null?void 0:f.prefix,eR));const g=new URLSearchParams;g.set("params",btoa(encodeURIComponent(JSON.stringify(y)))),g.set("appPid",f==null?void 0:f.appPid),g.set("locale",l);const b=yqe(Ln(s||"/",Vi,`/connect?${g.toString()}`));try{const A=await vqe({popup:b});return kc(c)&&c({...A,encrypted:!1}),{...A,encrypted:!1}}catch(A){throw A.message==="Popup closed"?kc(d)&&d():kc(p)&&p(A),A}}),r=Ct((...o)=>{var s;(s=e.current)==null||s.close(...o)}),i=en(()=>W.jsx(NKe,{ref:e})),a=en(()=>({open:t,close:r,openPopup:n}));return{connectHolder:i,connectApi:a}}const ei={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")},ad={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-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:"通行证和会话已经更新"}},"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 rx={exports:{}};const UKe="2.0.0",YX=256,HKe=Number.MAX_SAFE_INTEGER||9007199254740991,jKe=16,JKe=YX-6,VKe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var zE={MAX_LENGTH:YX,MAX_SAFE_COMPONENT_LENGTH:jKe,MAX_SAFE_BUILD_LENGTH:JKe,MAX_SAFE_INTEGER:HKe,RELEASE_TYPES:VKe,SEMVER_SPEC_VERSION:UKe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},XS={};const qKe=typeof Xt=="object"&&XS&&XS.NODE_DEBUG&&/\bsemver\b/i.test(XS.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var KE=qKe;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=zE,a=KE;t=e.exports={};const o=t.re=[],s=t.safeRe=[],l=t.src=[],f=t.t={};let c=0;const d="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",i],[d,r]],y=b=>{for(const[R,A]of p)b=b.split(`${R}*`).join(`${R}{0,${A}}`).split(`${R}+`).join(`${R}{1,${A}}`);return b},g=(b,R,A)=>{const $=y(R),D=c++;a(b,D,R),f[b]=D,l[D]=R,o[D]=new RegExp(R,A?"g":void 0),s[D]=new RegExp($,A?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),g("MAINVERSION",`(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${l[f.NUMERICIDENTIFIER]}|${l[f.NONNUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${l[f.NUMERICIDENTIFIERLOOSE]}|${l[f.NONNUMERICIDENTIFIER]})`),g("PRERELEASE",`(?:-(${l[f.PRERELEASEIDENTIFIER]}(?:\\.${l[f.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${l[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[f.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${d}+`),g("BUILD",`(?:\\+(${l[f.BUILDIDENTIFIER]}(?:\\.${l[f.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${l[f.MAINVERSION]}${l[f.PRERELEASE]}?${l[f.BUILD]}?`),g("FULL",`^${l[f.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${l[f.MAINVERSIONLOOSE]}${l[f.PRERELEASELOOSE]}?${l[f.BUILD]}?`),g("LOOSE",`^${l[f.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${l[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${l[f.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:${l[f.PRERELEASE]})?${l[f.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:${l[f.PRERELEASELOOSE]})?${l[f.BUILD]}?)?)?`),g("XRANGE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAINLOOSE]}$`),g("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),g("COERCERTL",l[f.COERCE],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${l[f.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",g("TILDE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${l[f.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",g("CARET",`^${l[f.LONECARET]}${l[f.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${l[f.LONECARET]}${l[f.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${l[f.GTLT]}\\s*(${l[f.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]}|${l[f.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${l[f.XRANGEPLAIN]})\\s+-\\s+(${l[f.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${l[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[f.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(rx,rx.exports);var Nm=rx.exports;const GKe=Object.freeze({loose:!0}),WKe=Object.freeze({}),zKe=e=>e?typeof e!="object"?GKe:e:WKe;var qR=zKe;const VF=/^[0-9]+$/,ZX=(e,t)=>{const n=VF.test(e),r=VF.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},KKe=(e,t)=>ZX(t,e);var XX={compareIdentifiers:ZX,rcompareIdentifiers:KKe};const Fy=KE,{MAX_LENGTH:qF,MAX_SAFE_INTEGER:Uy}=zE,{safeRe:GF,t:WF}=Nm,YKe=qR,{compareIdentifiers:od}=XX;let ZKe=class ys{constructor(t,n){if(n=YKe(n),t instanceof ys){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>qF)throw new TypeError(`version is longer than ${qF} characters`);Fy("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?GF[WF.LOOSE]:GF[WF.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Uy||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Uy||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Uy||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){const a=+i;if(a>=0&&a<Uy)return a}return i}):this.prerelease=[],this.build=r[5]?r[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(t){if(Fy("SemVer.compare",this.version,this.options,t),!(t instanceof ys)){if(typeof t=="string"&&t===this.version)return 0;t=new ys(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof ys||(t=new ys(t,this.options)),od(this.major,t.major)||od(this.minor,t.minor)||od(this.patch,t.patch)}comparePre(t){if(t instanceof ys||(t=new ys(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],i=t.prerelease[n];if(Fy("prerelease compare",n,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return od(r,i)}while(++n)}compareBuild(t){t instanceof ys||(t=new ys(t,this.options));let n=0;do{const r=this.build[n],i=t.build[n];if(Fy("prerelease compare",n,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return od(r,i)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);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 i=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[i];else{let a=this.prerelease.length;for(;--a>=0;)typeof this.prerelease[a]=="number"&&(this.prerelease[a]++,a=-2);if(a===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(n){let a=[n,i];r===!1&&(a=[n]),od(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var ia=ZKe;const zF=ia,XKe=(e,t,n=!1)=>{if(e instanceof zF)return e;try{return new zF(e,t)}catch(r){if(!n)return null;throw r}};var ch=XKe;const QKe=ch,eYe=(e,t)=>{const n=QKe(e,t);return n?n.version:null};var tYe=eYe;const nYe=ch,rYe=(e,t)=>{const n=nYe(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var iYe=rYe;const KF=ia,aYe=(e,t,n,r,i)=>{typeof n=="string"&&(i=r,r=n,n=void 0);try{return new KF(e instanceof KF?e.version:e,n).inc(t,r,i).version}catch{return null}};var oYe=aYe;const YF=ch,sYe=(e,t)=>{const n=YF(e,null,!0),r=YF(t,null,!0),i=n.compare(r);if(i===0)return null;const a=i>0,o=a?n:r,s=a?r:n,l=!!o.prerelease.length;if(!!s.prerelease.length&&!l)return!s.patch&&!s.minor?"major":o.patch?"patch":o.minor?"minor":"major";const c=l?"pre":"";return n.major!==r.major?c+"major":n.minor!==r.minor?c+"minor":n.patch!==r.patch?c+"patch":"prerelease"};var lYe=sYe;const uYe=ia,cYe=(e,t)=>new uYe(e,t).major;var fYe=cYe;const dYe=ia,pYe=(e,t)=>new dYe(e,t).minor;var hYe=pYe;const mYe=ia,gYe=(e,t)=>new mYe(e,t).patch;var yYe=gYe;const vYe=ch,bYe=(e,t)=>{const n=vYe(e,t);return n&&n.prerelease.length?n.prerelease:null};var EYe=bYe;const ZF=ia,TYe=(e,t,n)=>new ZF(e,n).compare(new ZF(t,n));var us=TYe;const AYe=us,wYe=(e,t,n)=>AYe(t,e,n);var SYe=wYe;const _Ye=us,xYe=(e,t)=>_Ye(e,t,!0);var CYe=xYe;const XF=ia,RYe=(e,t,n)=>{const r=new XF(e,n),i=new XF(t,n);return r.compare(i)||r.compareBuild(i)};var GR=RYe;const $Ye=GR,IYe=(e,t)=>e.sort((n,r)=>$Ye(n,r,t));var kYe=IYe;const DYe=GR,LYe=(e,t)=>e.sort((n,r)=>DYe(r,n,t));var OYe=LYe;const PYe=us,MYe=(e,t,n)=>PYe(e,t,n)>0;var YE=MYe;const BYe=us,NYe=(e,t,n)=>BYe(e,t,n)<0;var WR=NYe;const FYe=us,UYe=(e,t,n)=>FYe(e,t,n)===0;var QX=UYe;const HYe=us,jYe=(e,t,n)=>HYe(e,t,n)!==0;var eQ=jYe;const JYe=us,VYe=(e,t,n)=>JYe(e,t,n)>=0;var zR=VYe;const qYe=us,GYe=(e,t,n)=>qYe(e,t,n)<=0;var KR=GYe;const WYe=QX,zYe=eQ,KYe=YE,YYe=zR,ZYe=WR,XYe=KR,QYe=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return WYe(e,n,r);case"!=":return zYe(e,n,r);case">":return KYe(e,n,r);case">=":return YYe(e,n,r);case"<":return ZYe(e,n,r);case"<=":return XYe(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var tQ=QYe;const eZe=ia,tZe=ch,{safeRe:Hy,t:jy}=Nm,nZe=(e,t)=>{if(e instanceof eZe)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(Hy[jy.COERCE]);else{let r;for(;(r=Hy[jy.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),Hy[jy.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;Hy[jy.COERCERTL].lastIndex=-1}return n===null?null:tZe(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var rZe=nZe,QS,QF;function iZe(){return QF||(QF=1,QS=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),QS}var aZe=Vn;Vn.Node=sf;Vn.create=Vn;function Vn(e){var t=this;if(t instanceof Vn||(t=new Vn),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(i){t.push(i)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}Vn.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Vn.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Vn.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Vn.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)sZe(this,arguments[e]);return this.length};Vn.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)lZe(this,arguments[e]);return this.length};Vn.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Vn.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Vn.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};Vn.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};Vn.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};Vn.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};Vn.prototype.map=function(e,t){t=t||this;for(var n=new Vn,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Vn.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Vn,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Vn.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;r!==null;i++)n=e(n,r.value,i),r=r.next;return n};Vn.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;r!==null;i--)n=e(n,r.value,i),r=r.prev;return n};Vn.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};Vn.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};Vn.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Vn;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,i=this.head;i!==null&&r<e;r++)i=i.next;for(;i!==null&&r<t;r++,i=i.next)n.push(i.value);return n};Vn.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Vn;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,i=this.tail;i!==null&&r>t;r--)i=i.prev;for(;i!==null&&r>e;r--,i=i.prev)n.push(i.value);return n};Vn.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;i!==null&&r<e;r++)i=i.next;for(var a=[],r=0;i&&r<t;r++)a.push(i.value),i=this.removeNode(i);i===null&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(var r=0;r<n.length;r++)i=oZe(this,i,n[r]);return a};Vn.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function oZe(e,t,n){var r=t===e.head?new sf(n,null,t,e):new sf(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function sZe(e,t){e.tail=new sf(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function lZe(e,t){e.head=new sf(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function sf(e,t,n,r){if(!(this instanceof sf))return new sf(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{iZe()(Vn)}catch{}const uZe=aZe,wc=Symbol("max"),pl=Symbol("length"),sd=Symbol("lengthCalculator"),q0=Symbol("allowStale"),Pc=Symbol("maxAge"),fl=Symbol("dispose"),eU=Symbol("noDisposeOnSet"),ci=Symbol("lruList"),qo=Symbol("cache"),nQ=Symbol("updateAgeOnGet"),e5=()=>1;class cZe{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[wc]=t.max||1/0;const n=t.length||e5;if(this[sd]=typeof n!="function"?e5:n,this[q0]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Pc]=t.maxAge||0,this[fl]=t.dispose,this[eU]=t.noDisposeOnSet||!1,this[nQ]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[wc]=t||1/0,i0(this)}get max(){return this[wc]}set allowStale(t){this[q0]=!!t}get allowStale(){return this[q0]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Pc]=t,i0(this)}get maxAge(){return this[Pc]}set lengthCalculator(t){typeof t!="function"&&(t=e5),t!==this[sd]&&(this[sd]=t,this[pl]=0,this[ci].forEach(n=>{n.length=this[sd](n.value,n.key),this[pl]+=n.length})),i0(this)}get lengthCalculator(){return this[sd]}get length(){return this[pl]}get itemCount(){return this[ci].length}rforEach(t,n){n=n||this;for(let r=this[ci].tail;r!==null;){const i=r.prev;tU(this,t,r,n),r=i}}forEach(t,n){n=n||this;for(let r=this[ci].head;r!==null;){const i=r.next;tU(this,t,r,n),r=i}}keys(){return this[ci].toArray().map(t=>t.key)}values(){return this[ci].toArray().map(t=>t.value)}reset(){this[fl]&&this[ci]&&this[ci].length&&this[ci].forEach(t=>this[fl](t.key,t.value)),this[qo]=new Map,this[ci]=new uZe,this[pl]=0}dump(){return this[ci].map(t=>f2(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[ci]}set(t,n,r){if(r=r||this[Pc],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const i=r?Date.now():0,a=this[sd](n,t);if(this[qo].has(t)){if(a>this[wc])return Qd(this,this[qo].get(t)),!1;const l=this[qo].get(t).value;return this[fl]&&(this[eU]||this[fl](t,l.value)),l.now=i,l.maxAge=r,l.value=n,this[pl]+=a-l.length,l.length=a,this.get(t),i0(this),!0}const o=new fZe(t,n,a,i,r);return o.length>this[wc]?(this[fl]&&this[fl](t,n),!1):(this[pl]+=o.length,this[ci].unshift(o),this[qo].set(t,this[ci].head),i0(this),!0)}has(t){if(!this[qo].has(t))return!1;const n=this[qo].get(t).value;return!f2(this,n)}get(t){return t5(this,t,!0)}peek(t){return t5(this,t,!1)}pop(){const t=this[ci].tail;return t?(Qd(this,t),t.value):null}del(t){Qd(this,this[qo].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const i=t[r],a=i.e||0;if(a===0)this.set(i.k,i.v);else{const o=a-n;o>0&&this.set(i.k,i.v,o)}}}prune(){this[qo].forEach((t,n)=>t5(this,n,!1))}}const t5=(e,t,n)=>{const r=e[qo].get(t);if(r){const i=r.value;if(f2(e,i)){if(Qd(e,r),!e[q0])return}else n&&(e[nQ]&&(r.value.now=Date.now()),e[ci].unshiftNode(r));return i.value}},f2=(e,t)=>{if(!t||!t.maxAge&&!e[Pc])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Pc]&&n>e[Pc]},i0=e=>{if(e[pl]>e[wc])for(let t=e[ci].tail;e[pl]>e[wc]&&t!==null;){const n=t.prev;Qd(e,t),t=n}},Qd=(e,t)=>{if(t){const n=t.value;e[fl]&&e[fl](n.key,n.value),e[pl]-=n.length,e[qo].delete(n.key),e[ci].removeNode(t)}};class fZe{constructor(t,n,r,i,a){this.key=t,this.value=n,this.length=r,this.now=i,this.maxAge=a||0}}const tU=(e,t,n,r)=>{let i=n.value;f2(e,i)&&(Qd(e,n),e[q0]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};var dZe=cZe,n5,nU;function cs(){if(nU)return n5;nU=1;class e{constructor(u,h){if(h=r(h),u instanceof e)return u.loose===!!h.loose&&u.includePrerelease===!!h.includePrerelease?u:new e(u.raw,h);if(u instanceof i)return this.raw=u.value,this.set=[[u]],this.format(),this;if(this.options=h,this.loose=!!h.loose,this.includePrerelease=!!h.includePrerelease,this.raw=u.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(E=>this.parseRange(E.trim())).filter(E=>E.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const E=this.set[0];if(this.set=this.set.filter(S=>!g(S[0])),this.set.length===0)this.set=[E];else if(this.set.length>1){for(const S of this.set)if(S.length===1&&b(S[0])){this.set=[S];break}}}this.format()}format(){return this.range=this.set.map(u=>u.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(u){const E=((this.options.includePrerelease&&p)|(this.options.loose&&y))+":"+u,S=n.get(E);if(S)return S;const C=this.options.loose,I=C?s[l.HYPHENRANGELOOSE]:s[l.HYPHENRANGE];u=u.replace(I,Q(this.options.includePrerelease)),a("hyphen replace",u),u=u.replace(s[l.COMPARATORTRIM],f),a("comparator trim",u),u=u.replace(s[l.TILDETRIM],c),a("tilde trim",u),u=u.replace(s[l.CARETTRIM],d),a("caret trim",u);let _=u.split(" ").map(ne=>A(ne,this.options)).join(" ").split(/\s+/).map(ne=>le(ne,this.options));C&&(_=_.filter(ne=>(a("loose invalid filter",ne,this.options),!!ne.match(s[l.COMPARATORLOOSE])))),a("range list",_);const x=new Map,v=_.map(ne=>new i(ne,this.options));for(const ne of v){if(g(ne))return[ne];x.set(ne.value,ne)}x.size>1&&x.has("")&&x.delete("");const k=[...x.values()];return n.set(E,k),k}intersects(u,h){if(!(u instanceof e))throw new TypeError("a Range is required");return this.set.some(E=>R(E,h)&&u.set.some(S=>R(S,h)&&E.every(C=>S.every(I=>C.intersects(I,h)))))}test(u){if(!u)return!1;if(typeof u=="string")try{u=new o(u,this.options)}catch{return!1}for(let h=0;h<this.set.length;h++)if(P(this.set[h],u,this.options))return!0;return!1}}n5=e;const t=dZe,n=new t({max:1e3}),r=qR,i=ZE(),a=KE,o=ia,{safeRe:s,t:l,comparatorTrimReplace:f,tildeTrimReplace:c,caretTrimReplace:d}=Nm,{FLAG_INCLUDE_PRERELEASE:p,FLAG_LOOSE:y}=zE,g=T=>T.value==="<0.0.0-0",b=T=>T.value==="",R=(T,u)=>{let h=!0;const E=T.slice();let S=E.pop();for(;h&&E.length;)h=E.every(C=>S.intersects(C,u)),S=E.pop();return h},A=(T,u)=>(a("comp",T,u),T=J(T,u),a("caret",T),T=D(T,u),a("tildes",T),T=V(T,u),a("xrange",T),T=re(T,u),a("stars",T),T),$=T=>!T||T.toLowerCase()==="x"||T==="*",D=(T,u)=>T.trim().split(/\s+/).map(h=>M(h,u)).join(" "),M=(T,u)=>{const h=u.loose?s[l.TILDELOOSE]:s[l.TILDE];return T.replace(h,(E,S,C,I,_)=>{a("tilde",T,E,S,C,I,_);let x;return $(S)?x="":$(C)?x=`>=${S}.0.0 <${+S+1}.0.0-0`:$(I)?x=`>=${S}.${C}.0 <${S}.${+C+1}.0-0`:_?(a("replaceTilde pr",_),x=`>=${S}.${C}.${I}-${_} <${S}.${+C+1}.0-0`):x=`>=${S}.${C}.${I} <${S}.${+C+1}.0-0`,a("tilde return",x),x})},J=(T,u)=>T.trim().split(/\s+/).map(h=>U(h,u)).join(" "),U=(T,u)=>{a("caret",T,u);const h=u.loose?s[l.CARETLOOSE]:s[l.CARET],E=u.includePrerelease?"-0":"";return T.replace(h,(S,C,I,_,x)=>{a("caret",T,S,C,I,_,x);let v;return $(C)?v="":$(I)?v=`>=${C}.0.0${E} <${+C+1}.0.0-0`:$(_)?C==="0"?v=`>=${C}.${I}.0${E} <${C}.${+I+1}.0-0`:v=`>=${C}.${I}.0${E} <${+C+1}.0.0-0`:x?(a("replaceCaret pr",x),C==="0"?I==="0"?v=`>=${C}.${I}.${_}-${x} <${C}.${I}.${+_+1}-0`:v=`>=${C}.${I}.${_}-${x} <${C}.${+I+1}.0-0`:v=`>=${C}.${I}.${_}-${x} <${+C+1}.0.0-0`):(a("no pr"),C==="0"?I==="0"?v=`>=${C}.${I}.${_}${E} <${C}.${I}.${+_+1}-0`:v=`>=${C}.${I}.${_}${E} <${C}.${+I+1}.0-0`:v=`>=${C}.${I}.${_} <${+C+1}.0.0-0`),a("caret return",v),v})},V=(T,u)=>(a("replaceXRanges",T,u),T.split(/\s+/).map(h=>X(h,u)).join(" ")),X=(T,u)=>{T=T.trim();const h=u.loose?s[l.XRANGELOOSE]:s[l.XRANGE];return T.replace(h,(E,S,C,I,_,x)=>{a("xRange",T,E,S,C,I,_,x);const v=$(C),k=v||$(I),ne=k||$(_),N=ne;return S==="="&&N&&(S=""),x=u.includePrerelease?"-0":"",v?S===">"||S==="<"?E="<0.0.0-0":E="*":S&&N?(k&&(I=0),_=0,S===">"?(S=">=",k?(C=+C+1,I=0,_=0):(I=+I+1,_=0)):S==="<="&&(S="<",k?C=+C+1:I=+I+1),S==="<"&&(x="-0"),E=`${S+C}.${I}.${_}${x}`):k?E=`>=${C}.0.0${x} <${+C+1}.0.0-0`:ne&&(E=`>=${C}.${I}.0${x} <${C}.${+I+1}.0-0`),a("xRange return",E),E})},re=(T,u)=>(a("replaceStars",T,u),T.trim().replace(s[l.STAR],"")),le=(T,u)=>(a("replaceGTE0",T,u),T.trim().replace(s[u.includePrerelease?l.GTE0PRE:l.GTE0],"")),Q=T=>(u,h,E,S,C,I,_,x,v,k,ne,N,q)=>($(E)?h="":$(S)?h=`>=${E}.0.0${T?"-0":""}`:$(C)?h=`>=${E}.${S}.0${T?"-0":""}`:I?h=`>=${h}`:h=`>=${h}${T?"-0":""}`,$(v)?x="":$(k)?x=`<${+v+1}.0.0-0`:$(ne)?x=`<${v}.${+k+1}.0-0`:N?x=`<=${v}.${k}.${ne}-${N}`:T?x=`<${v}.${k}.${+ne+1}-0`:x=`<=${x}`,`${h} ${x}`.trim()),P=(T,u,h)=>{for(let E=0;E<T.length;E++)if(!T[E].test(u))return!1;if(u.prerelease.length&&!h.includePrerelease){for(let E=0;E<T.length;E++)if(a(T[E].semver),T[E].semver!==i.ANY&&T[E].semver.prerelease.length>0){const S=T[E].semver;if(S.major===u.major&&S.minor===u.minor&&S.patch===u.patch)return!0}return!1}return!0};return n5}var r5,rU;function ZE(){if(rU)return r5;rU=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(c,d){if(d=n(d),c instanceof t){if(c.loose===!!d.loose)return c;c=c.value}c=c.trim().split(/\s+/).join(" "),o("comparator",c,d),this.options=d,this.loose=!!d.loose,this.parse(c),this.semver===e?this.value="":this.value=this.operator+this.semver.version,o("comp",this)}parse(c){const d=this.options.loose?r[i.COMPARATORLOOSE]:r[i.COMPARATOR],p=c.match(d);if(!p)throw new TypeError(`Invalid comparator: ${c}`);this.operator=p[1]!==void 0?p[1]:"",this.operator==="="&&(this.operator=""),p[2]?this.semver=new s(p[2],this.options.loose):this.semver=e}toString(){return this.value}test(c){if(o("Comparator.test",c,this.options.loose),this.semver===e||c===e)return!0;if(typeof c=="string")try{c=new s(c,this.options)}catch{return!1}return a(c,this.operator,this.semver,this.options)}intersects(c,d){if(!(c instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(c.value,d).test(this.value):c.operator===""?c.value===""?!0:new l(this.value,d).test(c.semver):(d=n(d),d.includePrerelease&&(this.value==="<0.0.0-0"||c.value==="<0.0.0-0")||!d.includePrerelease&&(this.value.startsWith("<0.0.0")||c.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&c.operator.startsWith(">")||this.operator.startsWith("<")&&c.operator.startsWith("<")||this.semver.version===c.semver.version&&this.operator.includes("=")&&c.operator.includes("=")||a(this.semver,"<",c.semver,d)&&this.operator.startsWith(">")&&c.operator.startsWith("<")||a(this.semver,">",c.semver,d)&&this.operator.startsWith("<")&&c.operator.startsWith(">")))}}r5=t;const n=qR,{safeRe:r,t:i}=Nm,a=tQ,o=KE,s=ia,l=cs();return r5}const pZe=cs(),hZe=(e,t,n)=>{try{t=new pZe(t,n)}catch{return!1}return t.test(e)};var XE=hZe;const mZe=cs(),gZe=(e,t)=>new mZe(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var yZe=gZe;const vZe=ia,bZe=cs(),EZe=(e,t,n)=>{let r=null,i=null,a=null;try{a=new bZe(t,n)}catch{return null}return e.forEach(o=>{a.test(o)&&(!r||i.compare(o)===-1)&&(r=o,i=new vZe(r,n))}),r};var TZe=EZe;const AZe=ia,wZe=cs(),SZe=(e,t,n)=>{let r=null,i=null,a=null;try{a=new wZe(t,n)}catch{return null}return e.forEach(o=>{a.test(o)&&(!r||i.compare(o)===1)&&(r=o,i=new AZe(r,n))}),r};var _Ze=SZe;const i5=ia,xZe=cs(),iU=YE,CZe=(e,t)=>{e=new xZe(e,t);let n=new i5("0.0.0");if(e.test(n)||(n=new i5("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const i=e.set[r];let a=null;i.forEach(o=>{const s=new i5(o.semver.version);switch(o.operator){case">":s.prerelease.length===0?s.patch++:s.prerelease.push(0),s.raw=s.format();case"":case">=":(!a||iU(s,a))&&(a=s);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),a&&(!n||iU(n,a))&&(n=a)}return n&&e.test(n)?n:null};var RZe=CZe;const $Ze=cs(),IZe=(e,t)=>{try{return new $Ze(e,t).range||"*"}catch{return null}};var kZe=IZe;const DZe=ia,rQ=ZE(),{ANY:LZe}=rQ,OZe=cs(),PZe=XE,aU=YE,oU=WR,MZe=KR,BZe=zR,NZe=(e,t,n,r)=>{e=new DZe(e,r),t=new OZe(t,r);let i,a,o,s,l;switch(n){case">":i=aU,a=MZe,o=oU,s=">",l=">=";break;case"<":i=oU,a=BZe,o=aU,s="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(PZe(e,t,r))return!1;for(let f=0;f<t.set.length;++f){const c=t.set[f];let d=null,p=null;if(c.forEach(y=>{y.semver===LZe&&(y=new rQ(">=0.0.0")),d=d||y,p=p||y,i(y.semver,d.semver,r)?d=y:o(y.semver,p.semver,r)&&(p=y)}),d.operator===s||d.operator===l||(!p.operator||p.operator===s)&&a(e,p.semver))return!1;if(p.operator===l&&o(e,p.semver))return!1}return!0};var YR=NZe;const FZe=YR,UZe=(e,t,n)=>FZe(e,t,">",n);var HZe=UZe;const jZe=YR,JZe=(e,t,n)=>jZe(e,t,"<",n);var VZe=JZe;const sU=cs(),qZe=(e,t,n)=>(e=new sU(e,n),t=new sU(t,n),e.intersects(t,n));var GZe=qZe;const WZe=XE,zZe=us;var KZe=(e,t,n)=>{const r=[];let i=null,a=null;const o=e.sort((c,d)=>zZe(c,d,n));for(const c of o)WZe(c,t,n)?(a=c,i||(i=c)):(a&&r.push([i,a]),a=null,i=null);i&&r.push([i,null]);const s=[];for(const[c,d]of r)c===d?s.push(c):!d&&c===o[0]?s.push("*"):d?c===o[0]?s.push(`<=${d}`):s.push(`${c} - ${d}`):s.push(`>=${c}`);const l=s.join(" || "),f=typeof t.raw=="string"?t.raw:String(t);return l.length<f.length?l:t};const lU=cs(),ZR=ZE(),{ANY:a5}=ZR,a0=XE,XR=us,YZe=(e,t,n={})=>{if(e===t)return!0;e=new lU(e,n),t=new lU(t,n);let r=!1;e:for(const i of e.set){for(const a of t.set){const o=XZe(i,a,n);if(r=r||o!==null,o)continue e}if(r)return!1}return!0},ZZe=[new ZR(">=0.0.0-0")],uU=[new ZR(">=0.0.0")],XZe=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===a5){if(t.length===1&&t[0].semver===a5)return!0;n.includePrerelease?e=ZZe:e=uU}if(t.length===1&&t[0].semver===a5){if(n.includePrerelease)return!0;t=uU}const r=new Set;let i,a;for(const y of e)y.operator===">"||y.operator===">="?i=cU(i,y,n):y.operator==="<"||y.operator==="<="?a=fU(a,y,n):r.add(y.semver);if(r.size>1)return null;let o;if(i&&a){if(o=XR(i.semver,a.semver,n),o>0)return null;if(o===0&&(i.operator!==">="||a.operator!=="<="))return null}for(const y of r){if(i&&!a0(y,String(i),n)||a&&!a0(y,String(a),n))return null;for(const g of t)if(!a0(y,String(g),n))return!1;return!0}let s,l,f,c,d=a&&!n.includePrerelease&&a.semver.prerelease.length?a.semver:!1,p=i&&!n.includePrerelease&&i.semver.prerelease.length?i.semver:!1;d&&d.prerelease.length===1&&a.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(const y of t){if(c=c||y.operator===">"||y.operator===">=",f=f||y.operator==="<"||y.operator==="<=",i){if(p&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===p.major&&y.semver.minor===p.minor&&y.semver.patch===p.patch&&(p=!1),y.operator===">"||y.operator===">="){if(s=cU(i,y,n),s===y&&s!==i)return!1}else if(i.operator===">="&&!a0(i.semver,String(y),n))return!1}if(a){if(d&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===d.major&&y.semver.minor===d.minor&&y.semver.patch===d.patch&&(d=!1),y.operator==="<"||y.operator==="<="){if(l=fU(a,y,n),l===y&&l!==a)return!1}else if(a.operator==="<="&&!a0(a.semver,String(y),n))return!1}if(!y.operator&&(a||i)&&o!==0)return!1}return!(i&&f&&!a&&o!==0||a&&c&&!i&&o!==0||p||d)},cU=(e,t,n)=>{if(!e)return t;const r=XR(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},fU=(e,t,n)=>{if(!e)return t;const r=XR(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var QZe=YZe;const o5=Nm,dU=zE,eXe=ia,pU=XX,tXe=ch,nXe=tYe,rXe=iYe,iXe=oYe,aXe=lYe,oXe=fYe,sXe=hYe,lXe=yYe,uXe=EYe,cXe=us,fXe=SYe,dXe=CYe,pXe=GR,hXe=kYe,mXe=OYe,gXe=YE,yXe=WR,vXe=QX,bXe=eQ,EXe=zR,TXe=KR,AXe=tQ,wXe=rZe,SXe=ZE(),_Xe=cs(),xXe=XE,CXe=yZe,RXe=TZe,$Xe=_Ze,IXe=RZe,kXe=kZe,DXe=YR,LXe=HZe,OXe=VZe,PXe=GZe,MXe=KZe,BXe=QZe;var iQ={parse:tXe,valid:nXe,clean:rXe,inc:iXe,diff:aXe,major:oXe,minor:sXe,patch:lXe,prerelease:uXe,compare:cXe,rcompare:fXe,compareLoose:dXe,compareBuild:pXe,sort:hXe,rsort:mXe,gt:gXe,lt:yXe,eq:vXe,neq:bXe,gte:EXe,lte:TXe,cmp:AXe,coerce:wXe,Comparator:SXe,Range:_Xe,satisfies:xXe,toComparators:CXe,maxSatisfying:RXe,minSatisfying:$Xe,minVersion:IXe,validRange:kXe,outside:DXe,gtr:LXe,ltr:OXe,intersects:PXe,simplifyRange:MXe,subset:BXe,SemVer:eXe,re:o5.re,src:o5.src,tokens:o5.t,SEMVER_SPEC_VERSION:dU.SEMVER_SPEC_VERSION,RELEASE_TYPES:dU.RELEASE_TYPES,compareIdentifiers:pU.compareIdentifiers,rcompareIdentifiers:pU.rcompareIdentifiers};const hU=Ut(iQ);async function aQ(...e){return new Promise((t,n)=>{sn(()=>import("./index-rNf-xBr1.js").then(r=>r.i),__vite__mapDeps([])).then(r=>{r.call||(r=r.default),r.call(...e,i=>{try{const a=JSON.parse(i);if(a.code===0){const o=JSON.parse(a.data);t(o)}else n(new Error(a.error))}catch{t(i)}})}).catch(r=>{console.error("load dsbridge error",r)})})}const NXe=[`${Vi}/connect`,`${Vi}/login`,`${Vi}/invite`,`${Vi}/issue-passport`];async function FXe(){const e=(window==null?void 0:window.blocklet)||{},t=window.location.pathname,{componentId:n,CHAIN_TYPE:r="arcblock",appPid:i}=e;if(NXe.includes(t))return null;const a=pX();try{const o=`${window.location.origin}${Vi}/api/user/loginByWallet`;return await aQ("arcLogin",{target:o,chainType:r,appPid:i,componentId:n,apps:a.map(l=>{let f=l==null?void 0:l.appLogo;return Gb(f)||(f=Ln(l.appUrl,f)),{appName:l.appName,appPid:l.appPid,appUrl:l.appUrl,appLogo:f,sourceAppPid:l.sourceAppPid}})})}catch(o){return console.error(o),null}}async function UXe(){return await aQ("arcGetVisitorId")}function HXe({platform:e,version:t}={}){return!!(e==="ios"&&t&&hU.gte(t,"4.15.6")||e==="android"&&t&&hU.gte(t,"4.15.1"))}const{Provider:jXe,Consumer:mU}=uh,gU={en:"DID Connect timeout, please reopen DID Connect popup",zh:"DID Connect 超时, 请重新打开 DID Connect"};function JXe(e=BJe,t="ls",n={},r={}){var f;let i="/";(f=globalThis==null?void 0:globalThis.blocklet)!=null&&f.prefix&&(i=globalThis.blocklet.prefix),typeof r=="boolean"&&(r={appendAuthServicePrefix:r,extraParams:{}}),eRe(r,{rolling:!0,appendAuthServicePrefix:!1,extraParams:{},refreshTokenStorageKey:NJe});const a=EM(e,t,n),o=EM(r.refreshTokenStorageKey,"ls");function s(c){var Je,Me;const{connectApi:d,connectHolder:p}=FKe(),y=Cm(),g=Di({extraParams:{},options:{},currentLocale:c.locale,allowWallet:void 0,openMode:"window",get autoConnect(){return typeof c.autoConnect=="boolean"?c.autoConnect:!!c.autoLogin},get prefix(){return r.appendAuthServicePrefix||c.appendAuthServicePrefix?Ln(Vi,c.prefix):c.prefix}}),b=Di({action:c.action,error:"",initialized:!1,loading:!1,open:!1,user:null,provider:"",walletOS:"",baseUrl:"",get locale(){return c.locale||g.currentLocale||VZ()}}),{confirmApi:R,confirmHolder:A}=cPe(),$=en(()=>new nRe,[]),D=Ct((Ie,Ce,Le)=>{const Ke={login:[ei.LOGIN,ei.CANCEL_LOGIN],"bind-wallet":[ei.BIND_WALLET,ei.CANCEL_BIND_WALLET],"switch-passport":[ei.SWITCH_PASSPORT,ei.CANCEL_SWITCH_PASSPORT],"switch-profile":[ei.SWITCH_PROFILE,ei.CANCEL_SWITCH_PROFILE],"switch-did":[ei.LOGIN,ei.CANCEL_LOGIN]};if(!Object.keys(Ke).includes(Ie))return;const Be=async(...G)=>{kc(Ce)&&await Ce(...G),$.emit(Ie,...G)};$.once(Ke[Ie][0],Be),$.once(Ke[Ie][1],async(...G)=>{kc(Be)&&$.off(Ke[Ie][0],Be),kc(Le)&&await Le(...G),$.emit(`cancel-${Ie}`,...G)})}),M=Uz(b.initialized,(Ie,Ce)=>Ie!==Ce||Ie===!0&&Ce===!0),{handleRefreshUser:J,handleRefreshToken:U,renewToken:V,clearSession:X,handleLoginResult:re,decrypt:le,service:Q,getSessionToken:P,getRefreshToken:T,setRefreshToken:u,setSessionToken:h}=iqe({state:b,pageState:g,sessionTokenStorage:a,refreshTokenStorage:o,serviceHost:c.serviceHost,apiOptions:c.apiOptions,lazyRefreshToken:c.lazyRefreshToken}),E=Ct((Ie,Ce={},Le={})=>{const Ke=Ie;typeof Ke=="object"&&(Ie=Ke.onSuccess,Ce=Ke.extraParams||{},Le=Ke.options||{},Le.origin=Ke.origin||""),(!b.user||Le.origin==="switch-did")&&(Le.origin==="switch-did"?D("switch-did",Ie,Ke==null?void 0:Ke.onCancel):D("login",Ie,Ke==null?void 0:Ke.onCancel),g.extraParams=Ce,g.options=Le,b.action="login",Ne())}),S=Ct(async(Ie,Ce={},Le={})=>{var F;if((Ce==null?void 0:Ce.openMode)==="redirect"){const se=(Ce==null?void 0:Ce.redirect)||"/",Ee=new URL(`${Vi}/login`,window.location.origin);Ee.searchParams.set("redirect",se),Ce!=null&&Ce.forceConnected&&Ee.searchParams.set("forceConnected",Ce==null?void 0:Ce.forceConnected),Le!=null&&Le.origin&&Ee.searchParams.set("origin",Le.origin),window.location.href=Ee.href;return}let Ke=Ce==null?void 0:Ce.sourceAppPid;bu(Ke)&&K&&(Ke=te.appPid),await qW(()=>b.initialized);const Be=Ie;typeof Be=="object"&&(Ie=Be.onSuccess,Ce=Be.extraParams||{},Le=Be.options||{}),typeof Le=="string"&&(Le={origin:Le});const G=Sl(Ce);g.allowWallet=void 0;const B=(G==null?void 0:G.openMode)||((F=c==null?void 0:c.extraParams)==null?void 0:F.openMode);bu(B)?g.openMode="window":g.openMode=B,Ke?(b.baseUrl=globalThis.blocklet.appUrl,E(Ie,G,Le)):(b.baseUrl="",E(Ie,G,Le))}),C=hm(),I=Ct(async Ie=>{const Ce=Ln(Vi,"/api/user/logout");await fetch(Ce,{method:"POST",body:JSON.stringify({visitorId:C}),headers:{"Content-Type":"application/json"}}),X(),be(),b.user=null,b.provider="",b.walletOS="",b.error="",b.loading=!1,$.emit("logout"),typeof Ie=="function"&&Ie()}),{userSessions:_,refresh:x,loaded:v,loginUserSession:k}=zX({appPid:AK(b.user),loginAppPid:(Je=globalThis==null?void 0:globalThis.blocklet)==null?void 0:Je.appPid,sourceAppPid:(Me=b==null?void 0:b.user)==null?void 0:Me.sourceAppPid,autoFetch:!1}),ne=Ct((Ie,Ce={},Le={})=>{const Ke=Ie;typeof Ke=="object"&&(Ie=Ke.onSuccess,Ce=Ke.extraParams||{},Le=Ke.options||{}),typeof Le=="string"&&(Le={origin:Le}),Le!=null&&Le.userSession?k(Le.userSession).then(Be=>{D("switch-did",Ie),re({...Be,encrypted:!1}),J(!0).then(()=>{$.emit(ei.LOGIN,Be,le)})}):(bu(Ce==null?void 0:Ce.forceConnected)&&(Ce.forceConnected=!1),S(Ie,Ce,{...Le,origin:"switch-did"}))}),N=Ct((Ie,Ce={})=>{const Le=Ie;typeof Le=="object"&&(Ie=Le.onSuccess,Ce=Le.extraParams||{}),b.user&&(D("switch-profile",Ie,Le==null?void 0:Le.onCancel),g.extraParams=Ce,g.options={},b.action="switch-profile",Ne())}),q=Ct((Ie,Ce={})=>{const Le=Ie;typeof Le=="object"&&(Ie=Le.onSuccess,Ce=Le.extraParams||{}),b.user&&(D("switch-passport",Ie,Le==null?void 0:Le.onCancel),g.extraParams=Ce,g.options={},b.action="switch-passport",Ne())}),ie=Ct((Ie,Ce={})=>{const Le=Ie;typeof Le=="object"&&(Ie=Le.onSuccess),b.user&&(D("bind-wallet",Ie,Le==null?void 0:Le.onCancel),g.extraParams=Ce,g.options={},b.action="bind-wallet",Ne())}),ue=Ct(Ie=>{g.extraParams={},g.options={},re(Ie),b.loading=!1,J(!0).then(()=>{b.action==="login"?$.emit(ei.LOGIN,Ie,le):b.action==="switch-passport"&&$.emit(ei.SWITCH_PASSPORT,Ie,le)})}),he=Ct(Ie=>{g.extraParams={},g.options={},re(Ie),b.loading=!1,J(!0).then(()=>{$.emit(ei.BIND_WALLET,Ie,le)})}),Se=Ct(Ie=>{g.extraParams={},g.options={},b.loading=!1,J(!0).then(()=>{$.emit(ei.SWITCH_PROFILE,Ie,le)})}),j=Ct(Ie=>{g.extraParams={},g.options={},be();const Ce={login:ei.CANCEL_LOGIN,"switch-profile":ei.CANCEL_SWITCH_PROFILE,"switch-passport":ei.CANCEL_SWITCH_PASSPORT,"bind-wallet":ei.CANCEL_BIND_WALLET};$.emit(Ce[Ie])}),O=Ct((Ie,...Ce)=>{try{we[Ie](...Ce)}catch(Le){console.error("Catch error in onSuccess",{action:Ie,args:Ce,err:Le})}}),{federatedMaster:Z,federatedEnabled:K,master:te}=eqe({locale:b.locale,decrypt:le,login:E,logout:I,handleLoginResult:re,handleRefreshUser:J,setRefreshToken:u,setSessionToken:h}),{checkMatch:ye}=gqe({protectedRoutes:c.protectedRoutes||[]}),pe=fE(_),ae=Ct(async()=>(v||(await x(),await Mm()),pe.current)),me={api:Q,events:$,storage:a,connectApi:d,session:{...b,loading:g.autoConnect&&!b.user||b.loading,login:S,logout:I,switchDid:ne,switchProfile:N,switchPassport:q,bindWallet:ie,refresh:J,updateConnectedInfo:HZ,federatedMaster:Z,useOAuth:hR,OAuthProvider:a2,OAuthConsumer:MVe,OAuthContext:pR,useDid:sX,WrapDid:cX,getUserSessions:ae}},we={login:ue,"switch-profile":Se,"switch-passport":ue,"bind-wallet":he},be=Ct(()=>{b.open=!1,d.close()}),Ne=async()=>{var Be,G,B,F,se;const Ie=ad[b.action],Ce=Ie[b.locale]||Ie.en,Le={...r.extraParams,...c.extraParams,...g.extraParams,previousUserDid:(Be=b==null?void 0:b.user)==null?void 0:Be.did,email:(G=b==null?void 0:b.user)==null?void 0:G.email};Le==null||delete Le.openMode;const Ke={action:b.action,locale:b.locale,extraParams:Le,options:{...c.options||{},...g.options},checkTimeout:c.timeout,webWalletUrl:c.webWalletUrl,messages:Ce,useSocket:c.useSocket,...c6(c,["action","locale","serviceHost","appendAuthServicePrefix","autoDisconnect","children","timeout","extraParams","options","webWalletUrl","messages","useSocket","lazyRefreshToken","apiOptions","protectedRoutes"]),...nE(g.extraParams||{},["autoConnect","forceConnected","saveConnect","useSocket"]),prefix:g.prefix,allowWallet:bu(g.allowWallet)?b.action!=="login"||(((B=globalThis.blocklet)==null?void 0:B.DID_CONNECT_ALLOW_WALLET)||"1")==="1":g.allowWallet,onSuccess(...Ee){O(b.action,...Ee),setTimeout(()=>{b.open=!1},2e3)},onClose(...Ee){j(b.action,...Ee)},onError(Ee){console.error(Ee)}};if(b.open=!0,["login"].includes(b.action)&&g.openMode==="window"&&!y.wallet)try{const Ee={...Ke,baseUrl:window.location.origin};Gb(g.prefix)||(Ee.prefix=Ln(window.location.origin,c.serviceHost==="/"?"":c.serviceHost,g.prefix)),(F=Ee.extraParams)!=null&&F.provider||(Ee.extraParams.provider=((se=b==null?void 0:b.user)==null?void 0:se.provider)||"wallet"),await d.openPopup(Ee,{locale:b.locale})}catch(Ee){Ee.message==="Timeout"?Ci.error(gU[b.locale]||gU.en):console.error(Ee)}else d.open(Ke)};return nf(()=>{if(b.initialized){const Ie=!M;$.emit("change",{user:Sl(b.user),isFirst:Ie})}},[b.user,b.initialized,$]),nf(()=>{if(b.initialized&&b.user){const{params:Ie,url:Ce}=GJe();if(Ie){const{switchBehavior:Le,forceConnected:Ke,sourceAppPid:Be}=Ie;window.history.replaceState(null,"trim",Ce),Ke!==b.user.did&&(Le==="required"?ne(()=>{},{openMode:"redirect",sourceAppPid:Be,forceConnected:Ke}):Le==="disabled"||setTimeout(()=>{R.open({title:ad.switchAccountDialog[b.locale].title,content:W.jsxs(W.Fragment,{children:[W.jsx(Br,{variant:"body1",sx:{textAlign:"center",mb:2},children:ad.switchAccountDialog[b.locale].description}),W.jsxs(yt,{sx:{display:"flex",alignItems:"center",color:Rt.foregroundsFgBase},children:[W.jsxs(yt,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,lineHeight:1},children:[W.jsx(Ml,{did:b.user.did,shape:"circle",variant:"circle",size:80}),W.jsx(vp,{did:b.user.did,showAvatar:!1,compact:!0,responsive:!1}),ad.switchAccountDialog[b.locale].currentAccount]}),W.jsx(yt,{sx:{display:"flex",justifyContent:"center",px:2},children:W.jsx(yt,{component:Zn,icon:G9e,fontSize:24,color:Rt.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}}}})}),W.jsxs(yt,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,lineHeight:1,fontWeight:500},children:[W.jsx(Ml,{did:Ke,shape:"circle",variant:"circle",size:80}),W.jsx(vp,{did:Ke,showAvatar:!1,compact:!0,responsive:!1}),ad.switchAccountDialog[b.locale].nextAccount]})]})]}),showCancelButton:!1,confirmButtonText:ad.switchAccountDialog[b.locale].confirm,onConfirm(G){G(),ne(()=>{window.location.reload()},{sourceAppPid:Be,forceConnected:Ke},{showQuickConnect:!1})}})},1e3))}}},[b.initialized]),Sm(async()=>{const Ie=Mr.get("connected_app"),Ce=tR();if(c.autoDisconnect&&Ie&&Ce&&Ie!==Ce){X(),b.initialized=!0,g.autoConnect?Ne():be();return}const Le=P();let Ke="web";if(y.mobile.apple.device?Ke="ios":y.mobile.android.device&&(Ke="android"),(window==null?void 0:window.self)===(window==null?void 0:window.parent)&&y.wallet&&HXe({version:y.walletVersion,platform:Ke})){if(!C){const G=await UXe();HG(G)}if(!Le)try{b.loading=!0;const G=await FXe();if(G){b.initialized=!0,ue({sessionToken:G.sessionToken,refreshToken:G.refreshToken,encrypted:!1});return}}finally{b.loading=!1}}if(Le){await J(!0),b.initialized=!0;return}if(typeof window<"u"){const G=new URL(window.location.href),B=G.searchParams.get("loginToken");if(B){re({loginToken:B,encrypted:!1}),G.searchParams.delete("loginToken"),window.history.replaceState({},window.title,G.href);return}}if(T()){await U(!0),b.initialized=!0;return}try{}catch(G){console.error("Federated: tryAutoLogin failed",G)}finally{b.initialized=!0}g.autoConnect?Ne():be()}),ye()&&!b.initialized?W.jsx(fp,{children:W.jsx(z8,{})}):W.jsx(jXe,{value:me,children:W.jsxs(a2,{locale:b.locale,onSwitchPassport:({sessionToken:Ie,refreshToken:Ce})=>{ue({sessionToken:Ie,refreshToken:Ce,encrypted:!1})},onBindOAuth:()=>{J()},children:[!b.open&&typeof c.children=="function"?c.children(b):c.children,p,A,r.rolling&&W.jsx(qZ,{callback:()=>V()})]})})}s.propTypes={children:ge.any.isRequired,serviceHost:ge.string,action:ge.string,prefix:ge.string,appendAuthServicePrefix:ge.bool,locale:ge.string,timeout:ge.number,autoConnect:ge.bool,autoDisconnect:ge.bool,useSocket:ge.bool,extraParams:ge.object,options:ge.object,webWalletUrl:ge.string,protectedRoutes:ge.arrayOf(ge.string),apiOptions:ge.object,lazyRefreshToken:ge.bool},s.defaultProps={serviceHost:i,locale:"",action:"login",prefix:eR,appendAuthServicePrefix:!1,extraParams:{},options:{},autoConnect:!1,autoDisconnect:!0,useSocket:!0,timeout:MZ*1e3,webWalletUrl:"",protectedRoutes:["*"],apiOptions:{},lazyRefreshToken:!1};function l(c){return function(p){return W.jsx(B3,{children:W.jsx(mU,{children:y=>W.jsx(c,{...p,...y})})})}}return{SessionProvider:c=>W.jsx(B3,{children:W.jsx(s,{...c})}),SessionConsumer:mU,SessionContext:uh,withSession:l}}let oQ="/";window.env&&(oQ=window.env.groupPathPrefix||window.env.pathPrefix||"/");function sQ(e,t){return[void 0,null,""].includes(e)?t:e/86400}var zH,KH,YH;const VXe=sQ((YH=(KH=(zH=window.blocklet)==null?void 0:zH.settings)==null?void 0:KH.session)==null?void 0:YH.cacheTtl,1/144);var ZH,XH,QH;const qXe=sQ((QH=(XH=(ZH=window.blocklet)==null?void 0:ZH.settings)==null?void 0:XH.session)==null?void 0:QH.ttl,7),{SessionProvider:GXe,SessionContext:WXe,SessionConsumer:Nmt,withSession:Fmt}=JXe("login_token","cookie",{returnDomain:!1,path:oQ,expireInDays:VXe},{refreshTokenStorageKey:"refresh_token",refreshTokenExpireInDays:qXe});function lQ(){return z.useContext(WXe)}function zXe({children:e}){const t=Dq({typography:{fontSize:14,button:{textTransform:"none"}},palette:{primary:{main:"#1DC1C7",contrastText:"#fff"}}});return W.jsx(mq,{injectFirst:!0,children:W.jsx(Kye,{theme:t,children:W.jsx(hq,{theme:t,children:W.jsx(R8,{translations:Q_e,fallbackLocale:"en",children:W.jsx(B3,{children:W.jsx(e$,{theme:t,children:e})})})})})})}const QR=new URL(window.location.href),uQ=QR.searchParams.get("mode")||"",KXe=QR.pathname.includes("embed")&&uQ==="dialog",YXe=QR.pathname.includes("embed")&&uQ!=="dialog";function e$({children:e,theme:t}){var i,a,o;const{locale:n}=Wb(),r=Vs`
517
517
  ${KXe?"body { background-color: transparent }":""}
518
518
  ${YXe?".MuiModal-backdrop { background-color: transparent !important }":""}
519
519
  a {
@@ -1319,10 +1319,10 @@ ${r.length}`,o=Ft.from(a),s=Ft.concat([o,i]);return Zot.default.keccak256s(s)}et
1319
1319
  `)&&e.flags==="s")}),bht=Ka,Eht=za,Tht=Eht.RegExp,Aht=bht(function(){var e=Tht("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),Bd=vh,xT=Aa,wht=_T,Sht=qpt,_ht=Kpt,xht=aI,Cht=hht,Rht=Qne.get,$ht=vht,Iht=Aht,kht=xht("native-string-replace",String.prototype.replace),x2=RegExp.prototype.exec,Cx=x2,Dht=xT("".charAt),Lht=xT("".indexOf),Oht=xT("".replace),M5=xT("".slice),Rx=function(){var e=/a/,t=/b*/g;return Bd(x2,e,"a"),Bd(x2,t,"a"),e.lastIndex!==0||t.lastIndex!==0}(),cre=_ht.BROKEN_CARET,$x=/()??/.exec("")[1]!==void 0,Pht=Rx||$x||cre||$ht||Iht;Pht&&(Cx=function(t){var n=this,r=Rht(n),i=wht(t),a=r.raw,o,s,l,f,c,d,p;if(a)return a.lastIndex=n.lastIndex,o=Bd(Cx,a,i),n.lastIndex=a.lastIndex,o;var y=r.groups,g=cre&&n.sticky,b=Bd(Sht,n),R=n.source,A=0,$=i;if(g&&(b=Oht(b,"y",""),Lht(b,"g")===-1&&(b+="g"),$=M5(i,n.lastIndex),n.lastIndex>0&&(!n.multiline||n.multiline&&Dht(i,n.lastIndex-1)!==`
1320
1320
  `)&&(R="(?: "+R+")",$=" "+$,A++),s=new RegExp("^(?:"+R+")",b)),$x&&(s=new RegExp("^"+R+"$(?!\\s)",b)),Rx&&(l=n.lastIndex),f=Bd(x2,g?s:n,$),g?f?(f.input=M5(f.input,A),f[0]=M5(f[0],A),f.index=n.lastIndex,n.lastIndex+=f[0].length):n.lastIndex=0:Rx&&f&&(n.lastIndex=n.global?f.index+f[0].length:l),$x&&f&&f.length>1&&Bd(kht,f[0],s,function(){for(c=1;c<arguments.length-2;c++)arguments[c]===void 0&&(f[c]=void 0)}),f&&y)for(f.groups=d=Cht(null),c=0;c<y.length;c++)p=y[c],d[p[0]]=f[p[1]];return f});var mI=Cx,Mht=are,IH=mI;Mht({target:"RegExp",proto:!0,forced:/./.exec!==IH},{exec:IH});var Bht=eI,fre=Function.prototype,kH=fre.apply,DH=fre.call,Nht=typeof Reflect=="object"&&Reflect.apply||(Bht?DH.bind(kH):function(){return DH.apply(kH,arguments)}),Fht=Zm,Uht=Aa,dre=function(e){if(Fht(e)==="Function")return Uht(e)},LH=dre,OH=tre,Hht=mI,PH=Ka,pre=wf,jht=oI,Jht=pre("species"),B5=RegExp.prototype,Vht=function(e,t,n,r){var i=pre(e),a=!PH(function(){var f={};return f[i]=function(){return 7},""[e](f)!=7}),o=a&&!PH(function(){var f=!1,c=/a/;return e==="split"&&(c={},c.constructor={},c.constructor[Jht]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return f=!0,null},c[i](""),!f});if(!a||!o||n){var s=LH(/./[i]),l=t(i,""[e],function(f,c,d,p,y){var g=LH(f),b=c.exec;return b===Hht||b===B5.exec?a&&!y?{done:!0,value:s(c,d,p)}:{done:!0,value:g(d,c,p)}:{done:!1}});OH(String.prototype,e,l[0]),OH(B5,i,l[1])}r&&jht(B5[i],"sham",!0)},gI=Aa,qht=ST,Ght=_T,Wht=Xm,zht=gI("".charAt),MH=gI("".charCodeAt),Kht=gI("".slice),BH=function(e){return function(t,n){var r=Ght(Wht(t)),i=qht(n),a=r.length,o,s;return i<0||i>=a?e?"":void 0:(o=MH(r,i),o<55296||o>56319||i+1===a||(s=MH(r,i+1))<56320||s>57343?e?zht(r,i):o:e?Kht(r,i,i+2):(o-55296<<10)+(s-56320)+65536)}},Yht={codeAt:BH(!1),charAt:BH(!0)},Zht=Yht.charAt,Xht=function(e,t,n){return t+(n?Zht(e,t).length:1)},yI=Aa,Qht=Jne,e0t=Math.floor,N5=yI("".charAt),t0t=yI("".replace),F5=yI("".slice),n0t=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,r0t=/\$([$&'`]|\d{1,2})/g,i0t=function(e,t,n,r,i,a){var o=n+e.length,s=r.length,l=r0t;return i!==void 0&&(i=Qht(i),l=n0t),t0t(a,l,function(f,c){var d;switch(N5(c,0)){case"$":return"$";case"&":return e;case"`":return F5(t,0,n);case"'":return F5(t,o);case"<":d=i[F5(c,1,-1)];break;default:var p=+c;if(p===0)return f;if(p>s){var y=e0t(p/10);return y===0?f:y<=s?r[y-1]===void 0?N5(c,1):r[y-1]+N5(c,1):f}d=r[p-1]}return d===void 0?"":d})},NH=vh,a0t=Sf,o0t=Ya,s0t=Zm,l0t=mI,u0t=TypeError,c0t=function(e,t){var n=e.exec;if(o0t(n)){var r=NH(n,e,t);return r!==null&&a0t(r),r}if(s0t(e)==="RegExp")return NH(l0t,e,t);throw u0t("RegExp#exec called on incompatible receiver")},f0t=Nht,FH=vh,CT=Aa,d0t=Vht,p0t=Ka,h0t=Sf,m0t=Ya,g0t=tI,y0t=ST,v0t=cI,fd=_T,b0t=Xm,E0t=Xht,T0t=Hne,A0t=i0t,w0t=c0t,S0t=wf,Ix=S0t("replace"),_0t=Math.max,x0t=Math.min,C0t=CT([].concat),U5=CT([].push),UH=CT("".indexOf),HH=CT("".slice),R0t=function(e){return e===void 0?e:String(e)},$0t=function(){return"a".replace(/./,"$0")==="$0"}(),jH=function(){return/./[Ix]?/./[Ix]("a","$0")==="":!1}(),I0t=!p0t(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"});d0t("replace",function(e,t,n){var r=jH?"$":"$0";return[function(a,o){var s=b0t(this),l=g0t(a)?void 0:T0t(a,Ix);return l?FH(l,a,s,o):FH(t,fd(s),a,o)},function(i,a){var o=h0t(this),s=fd(i);if(typeof a=="string"&&UH(a,r)===-1&&UH(a,"$<")===-1){var l=n(t,o,s,a);if(l.done)return l.value}var f=m0t(a);f||(a=fd(a));var c=o.global;if(c){var d=o.unicode;o.lastIndex=0}for(var p=[];;){var y=w0t(o,s);if(y===null||(U5(p,y),!c))break;var g=fd(y[0]);g===""&&(o.lastIndex=E0t(s,v0t(o.lastIndex),d))}for(var b="",R=0,A=0;A<p.length;A++){y=p[A];for(var $=fd(y[0]),D=_0t(x0t(y0t(y.index),s.length),0),M=[],J=1;J<y.length;J++)U5(M,R0t(y[J]));var U=y.groups;if(f){var V=C0t([$],M,D,s);U!==void 0&&U5(V,U);var X=fd(f0t(a,void 0,V))}else X=A0t($,s,D,M,U,a);D>=R&&(b+=HH(s,R,D)+X,R=D+$.length)}return b+HH(s,R)}]},!I0t||!$0t||jH);var k0t=bh,D0t=Zm,L0t=wf,O0t=L0t("match"),P0t=function(e){var t;return k0t(e)&&((t=e[O0t])!==void 0?!!t:D0t(e)=="RegExp")},M0t=P0t,B0t=TypeError,N0t=function(e){if(M0t(e))throw B0t("The method doesn't accept regular expressions");return e},F0t=wf,U0t=F0t("match"),H0t=function(e){var t=/./;try{"/./"[e](t)}catch{try{return t[U0t]=!1,"/./"[e](t)}catch{}}return!1},j0t=are,hre=dre,J0t=AT.f,V0t=cI,JH=_T,q0t=N0t,G0t=Xm,W0t=H0t,VH=hre("".endsWith),z0t=hre("".slice),K0t=Math.min,mre=W0t("endsWith"),Y0t=!mre&&!!function(){var e=J0t(String.prototype,"endsWith");return e&&!e.writable}();j0t({target:"String",proto:!0,forced:!Y0t&&!mre},{endsWith:function(t){var n=JH(G0t(this));q0t(t);var r=arguments.length>1?arguments[1]:void 0,i=n.length,a=r===void 0?i:K0t(V0t(r),i),o=JH(t);return VH?VH(n,o,a):z0t(n,a-o.length,a)===o}});const Z0t={name:"Query"},X0t={name:"Mutation"},Q0t=null,e1t=[{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}],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}],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:"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}],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:"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:"attachRuntimeInfo",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:"RequestChangeBlockletStoreInput",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}],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:"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}],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}],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}],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:"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:"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:"RequestGetAutoBackupInput",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:"RequestGetAutoCheckUpdateInput",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:"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}],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:"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}],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:"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:"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}],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:"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:"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}],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}],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}],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}],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}],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:"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}],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}],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}],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}],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:"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}],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}],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}],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}],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:"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:"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:"ResponseGetAutoBackup",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoBackup",description:null,args:[],type:{kind:"OBJECT",name:"AutoBackup",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetAutoCheckUpdate",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoCheckUpdate",description:null,args:[],type:{kind:"OBJECT",name:"AutoCheckUpdate",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:"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:"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}],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}],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:"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:"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:"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:"RequestChangeBlockletStoreInput",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:"RequestChangeBlockletStoreInput",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}],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:"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:"getAutoBackup",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetAutoBackupInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetAutoBackup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAutoCheckUpdate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetAutoCheckUpdateInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetAutoCheckUpdate",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.
1321
1321
 
1322
- 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}],t1t=[{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}]}],n1t={queryType:Z0t,mutationType:X0t,subscriptionType:Q0t,types:e1t,directives:t1t},r1t=Tne,i1t=n1t;let a1t=class extends r1t{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"http://localhost:4000/api",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r={dataSource:"forge",httpEndpoint:t,socketEndpoint:()=>this._getSocketEndpoint(t),enableQuery:!0,enableSubscription:!0,enableMutation:!0,maxQueryDepth:6};super(r),this._endpoint=t,this._authToken=null,this._userAgent=n}setAuthToken(t){this._authToken=t}_getSocketEndpoint(t){let n=t.replace(/https?:\/\//,"ws://");return t.indexOf("https://")===0&&(n=n.replace("ws://","wss://")),"".concat(n,"/socket")}_getSchema(){return i1t}_getIgnoreFields(t){return[]}_getAuthHeaders(){const t={},n=this._authToken;if(n){const r=typeof n=="function"?n():n;t.Authorization="Bearer ".concat(encodeURIComponent(r))}if(typeof window<"u"&&typeof window.location<"u"){const{hostname:r,port:i,protocol:a}=window.location;t["x-real-hostname"]=r,t["x-real-port"]=i,t["x-real-protocol"]=a.endsWith(":")?a.substring(0,a.length-1):a}return this._userAgent&&(t["User-Agent"]=this._userAgent),t}};var o1t=a1t;const s1t=UX,l1t=o1t;class u1t extends l1t{_getSocketOptions(){return{}}_getEventImplementation(){return s1t}}var c1t=u1t;const f1t=Ut(c1t),d1t=(window.env?window.env.apiPrefix:"/")||"/",hl=new f1t(()=>`${d1t}/api/gql?locale=${r6()}`.replace(/\/+/g,"/").trim());function p1t({wsClient:e,event:t,cb:n=()=>{},deps:r=[]}){z.useEffect(()=>{const i=e&&(!r.length||r.every(Boolean));return i&&e.on(t,n),()=>{i&&e.off(t,n)}},r)}let Fc;function gre(){const e=(window.env&&window.env.apiPrefix?window.env.apiPrefix:"/").replace(/\/$/,""),t=`//${window.location.host}${e}/admin`;return new PR.WsClient(t,{heartbeatIntervalMs:100*1e3,params:()=>({token:Mr.get("login_token")})})}function yre(){return Fc||(Fc=gre()),Fc}const vI=(e,t=()=>{},n=[])=>{e=`${window.blocklet.did}/${e}`;const{session:r}=lQ();!Fc&&r.user&&(Fc=yre(),Fc.connect()),p1t({wsClient:Fc,event:e,cb:t,deps:n})};let H5=null;const h1t=async()=>{try{return(await Ym.get(`/dns-resolve?hostname=${window.location.hostname}`)).data.address}catch{return null}},m1t=()=>(H5||(H5=h1t()),H5),{Provider:g1t,Consumer:Ygt}=h$,y1t=e=>e&&Os(e,"settings.publicToStore")?e.settings.publicToStore:!1,v1t=(e,t)=>{const n=/^{env\.(.+)}$/.exec(e);if(n&&n[1]){const r=((t==null?void 0:t.configs)||[]).find(i=>i.key===n[1]);return!r&&!r.value?"":r.value}return e},b1t=(()=>{const e={endpoint:"",data:{}};return async t=>{if(e.endpoint===t)return e.data;const r=await wne(t).getConfig();return e.endpoint=t,e.data=r,r}})(),{did:dd,appId:E1t}=window.env;function Y0({children:e,mode:t}){const[n,r]=z.useState(null),[i,a]=z.useState(!1),[o,s]=z.useState(),[l,f]=z.useState({}),[c,d]=z.useState(),[p,y]=z.useState(),g=t==="setup",{loading:b,loadingRuntimeInfo:R,error:A,blocklet:$,recommendedDomain:D,runtimeHistory:M,actions:{refreshBlocklet:J,refreshDomainStatus:U,setBlocklet:V}}=sat({did:dd,client:hl,useSubscription:vI,getIP:m1t,useLocaleContext:Wb}),X=async()=>{try{a(!0),r(null);const{data:h}=await Ym.get("/blocklet/meta");f(h),a(!1)}catch(h){a(!1),r(h),Ci.error(h.message)}},re=async({showError:h=!0}={})=>{var k,ne;if(!((ne=(k=l==null?void 0:l.requirements)==null?void 0:k.fuels)!=null&&ne.length))return null;const{endpoint:E,value:S,address:C}=l.requirements.fuels[0],I=v1t(E,$),_=S;let x=S;const v={endpoint:I,symbol:"",need:_,current:0,owe:Number(_)>0};try{const N=wne(I),{config:q}=await b1t(I),ie=JSON.parse(q).token;let ue=C;ue||(ue=ie.address),y({address:ie.address,symbol:ie.symbol,decimal:ie.decimal});const{getAccountState:{state:he},getTokenState:{state:Se}}=await N.doBatchQuery({getAccountState:{address:E1t},getTokenState:{address:ue}});Se&&(v.symbol=Se.symbol);const j=((he==null?void 0:he.tokens)||[]).find(O=>O.address===ue);if(j){const O=ai.fromTokenToUnit(_,j.decimal||18);v.current=ai.fromUnitToToken(j.value,j.decimal||18),v.owe=O.gt(new ai.BN(j.value)),x=Math.max(0,ai.fromUnitToToken(O.sub(new ai.BN(j.value)),j.decimal||18))}}catch(N){h&&Ci.error(N.message)}return d({...v,deficiency:x}),v},le=async({configs:h,childDid:E})=>(await hl.configBlocklet({input:{did:[dd].concat(E).filter(Boolean),configs:h}}),J()),Q=async h=>{const{blocklet:E}=await hl.updateWhoCanAccess({input:{did:[dd],whoCanAccess:h}});V(E)},P=async h=>{const{blocklet:E}=await hl.configPublicToStore({input:{did:dd,publicToStore:h}});V(E)},T=async h=>{const{blocklet:E}=await hl.configNavigations({input:{did:dd,navigations:h}});V(E)};z.useEffect(()=>{g&&X(),J({showError:!1})},[]),z.useEffect(()=>{if(!$||!($!=null&&$.controller))return;const{controller:h}=$;Eit(h.chainHost,h.nftId).then(E=>{E.expirationDate=ix.getNftExpirationDate(E),E.expired=ix.isNFTExpired(E),s(E)}).catch(E=>console.error(E))},[$==null?void 0:$.appPid]);const u={loading:i||b,loadingRuntimeInfo:R,error:n||A,blocklet:$,did:dd,recommendedDomain:D,runtimeHistory:M,appIdList:$?nte($):[],env:window.blocklet||{},meta:l,gas:c,tokenInfo:p,getPublicInstance:y1t,nftState:o,client:hl,mode:t,actions:{refreshBlocklet:J,refreshDomainStatus:U,setBlocklet:V,refreshMeta:X,refreshFuel:re,configBlocklet:le,configWhoCanAccess:Q,configPublicToStore:P,configNavigations:T}};return W.jsx(g1t,{value:u,children:e})}Y0.propTypes={children:ge.any,mode:ge.oneOf(["dashboard","setup"]).isRequired};Y0.defaultProps={children:null};function Zgt(){return z.useContext(h$)}const bI=z.createContext({});function Xgt(){const{node:e}=z.useContext(bI);return{...e,inService:e.type==="service",inDaemon:e.type==="daemon"}}const{Provider:T1t,Consumer:Qgt}=bI,A1t=`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/static/images`;function qH({children:e}){const{serverDid:t,serverVersion:n,mode:r,nftDomainUrl:i,ownerNft:a,launcher:o}=window.env,s={api:hl,restApi:Ym,prefix:Zt.WELLKNOWN_SERVICE_PATH_PREFIX,imgPrefix:A1t,getSessionInHeader:()=>({}),ws:{getWsClient:yre,create:gre,useSubscription:vI},type:"service",info:{did:t,version:n,mode:r,nftDomainUrl:i,ownerNft:a,launcher:o}};return W.jsx(T1t,{value:{node:s},children:e})}function eyt(){const{node:e}=z.useContext(bI);return e}const vre=z.createContext({}),{Provider:w1t,Consumer:tyt}=vre;function S1t({children:e}){const{did:t}=window.env,[n,r]=z.useState([]),[i,a]=z.useState({total:0,pageSize:10,pageCount:0,page:1}),[o,s]=z.useState(!1),l=async({page:c=1}={})=>{if(!o){s(!0);try{const d=await hl.getBlockletNotifications({input:{paging:{page:c},teamDid:t}});r(d.list),a(d.paging),s(!1)}catch(d){Ci.error(d.message),s(!1)}}};z.useEffect(()=>{l()},[]),vI(Zt.EVENTS.NOTIFICATION_BLOCKLET_CREATE,c=>{r(d=>[c,...d||[]])});const f={loading:o,refresh:l,data:n||[],paging:i,api:hl};return W.jsx(w1t,{value:{notifications:f},children:e})}function nyt(){const{notifications:e}=z.useContext(vre);return e}const _1t=z.lazy(()=>sn(()=>import("./login-z1wY6qap.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),x1t=z.lazy(()=>sn(()=>import("./connect-1QIaxGG0.js"),__vite__mapDeps([9,10,1,11,3,5,6,7]))),C1t=z.lazy(()=>sn(()=>import("./exchange-passport-X9HNXxpJ.js"),__vite__mapDeps([12,11,13,14,15,16]))),R1t=z.lazy(()=>sn(()=>import("./issue-passport-mz5RdvLm.js"),__vite__mapDeps([17,18,19,15,11,13,1,16,20]))),$1t=z.lazy(()=>sn(()=>import("./lost-passport-R6oQSaxt.js"),__vite__mapDeps([21,18,19,15,22,23,24,20,13,1,16,25,26]))),I1t=z.lazy(()=>sn(()=>import("./start-sUJoEx0p.js"),__vite__mapDeps([27,2,23,24,15,20,28,29,30,31,32,3,33,4,34]))),k1t=z.lazy(()=>sn(()=>import("./setup-y6CbGPfx.js"),__vite__mapDeps([35,36,37,38,39,10,40,41,29,30,31,15,28,32,3]))),D1t=z.lazy(()=>sn(()=>import("./invite-7yOdsQPj.js"),__vite__mapDeps([42,19,15,43,1,44,18,16,13,14]))),L1t=z.lazy(()=>sn(()=>import("./transfer-9hxkFsSj.js"),__vite__mapDeps([45,2,29,30,31,15,3,4]))),O1t=z.lazy(()=>sn(()=>import("./dashboard-XUsTUl6m.js").then(e=>e.v),__vite__mapDeps([46,47,48,15,49,50,44,51,14,52,20,53,31,19,54,55,56,57,58,25,16,39,10,40,41,2,24,59,60,61,62,38,63,30,64,32,3,65,8,7,4]))),GH=z.lazy(()=>sn(()=>import("./user-center-GbgTVIf_.js"),__vite__mapDeps([66,67,59,61,62,38,63,60,30,47,40,68,69,70,71,53,10,72,73]))),P1t=z.lazy(()=>sn(()=>import("./home-82LFYu2G.js"),__vite__mapDeps([74,75,61,62,38,63,59,2,3]))),M1t=z.lazy(()=>sn(()=>import("./preferences-k5XbYYxZ.js"),__vite__mapDeps([76,77,61,62,38,63,75,59,2]))),B1t=z.lazy(()=>sn(()=>import("./localization-UG7NGJKC.js"),__vite__mapDeps([78,75,61,62,38,63,59,2]))),N1t=z.lazy(()=>sn(()=>import("./add-resource-ul54uC2R.js"),__vite__mapDeps([79,80,69,81,19,15,82,73,55,49,20,31,36,37,38,39,10,40,41,83,84,85,86,87,22,88,16,89,90,91,92,93,14,94,95,54,96,64,57,97,98,99,52,53,100,44,23,24,26,101,102,103,104,59,105,106,58,107,63,108,109,32]))),WH=z.lazy(()=>sn(()=>import("./publish-resource-1Zx2Swpb.js"),__vite__mapDeps([110,111,56,19,15,112,113,99,71,53,114,47,62,115,116,95,51,16,14,23,24,20,54,49,31,55,117,25,52,44,89,90,91,118,119,103,104,93,10,120,121,122,41,32,3]))),F1t=z.lazy(()=>sn(()=>import("./index-C3Uo8DGF.js"),__vite__mapDeps([]))),U1t=z.lazy(()=>sn(()=>import("./unsubscribe-9M-VvMEf.js"),__vite__mapDeps([123,3,34,4])));function H1t(){const e=Js();z.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${e.pathname}${e.search}`)},[e]);const t=W.jsx(fp,{children:W.jsx(Iq,{})});return W.jsx(z.Suspense,{fallback:t,children:W.jsxs(B_,{children:[W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:W.jsx($1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:W.jsx(R1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/login`,element:W.jsx(_1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/connect`,element:W.jsx(x1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:W.jsx(C1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:W.jsx(D1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/transfer`,element:W.jsx(L1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/home`,element:W.jsx(P1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/preferences`,element:W.jsx(M1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/localization`,element:W.jsx(B1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/start`,element:W.jsx(Sc,{children:W.jsx(I1t,{})})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/setup/*`,element:W.jsx(Y0,{mode:"setup",children:W.jsx(k1t,{})})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/user/unsubscribe`,element:W.jsx(U1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/user/:tab`,element:W.jsx(Sc,{roles:["*"],children:W.jsx(GH,{})})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/user`,element:W.jsx(Sc,{roles:["*"],children:W.jsx(GH,{})})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/:tab/*`,element:W.jsx(qH,{children:W.jsx(S1t,{children:W.jsx(Sc,{roles:["owner","admin","member"],children:W.jsx(Y0,{mode:"dashboard",children:W.jsx(O1t,{})})})})})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/admin`,element:W.jsx(UV,{to:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/overview`,replace:!0})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/embed/resources/:componentDid/*`,element:W.jsx(qH,{children:W.jsx(Sc,{roles:["owner","admin"],children:W.jsx(Y0,{mode:"dashboard",children:W.jsxs(B_,{children:[W.jsx(_r,{path:"publish",element:W.jsx(WH,{})}),W.jsx(_r,{path:"publish/*",element:W.jsx(WH,{})}),W.jsx(_r,{path:"add",element:W.jsx(N1t,{})}),W.jsx(_r,{path:"*",element:W.jsx(F1t,{})})]})})})})})]})})}function j1t(){return W.jsx(Rhe,{basename:xne,children:W.jsx(zXe,{children:W.jsx(H1t,{})})})}const J1t=mV(document.getElementById("app"));J1t.render(W.jsx(j1t,{}));const V1t=Zt.WELLKNOWN_SERVICE_PATH_PREFIX;{async function e(){const{register:t}=await sn(()=>import("./index-7SG8bi1h.js"),__vite__mapDeps([]));t(`${V1t}/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(n){console.error("Error during service worker registration:",n)}})}e()}export{yt as $,Ml as A,jgt as B,fp as C,vp as D,HG as E,W1t as F,bu as G,en as H,Zt as I,BKe as J,NZ as K,khe as L,WXe as M,JG as N,R6 as O,ge as P,E1 as Q,Tb as R,Iq as S,Ci as T,zt as U,Br as V,ir as W,M7 as X,si as Y,NAe as Z,xe as _,Kn as a,Vit as a$,Rt as a0,zme as a1,Di as a2,Cm as a3,sn as a4,zgt as a5,Ym as a6,Eit as a7,hl as a8,Git as a9,R8 as aA,Js as aB,d$ as aC,Q8 as aD,Jp as aE,bm as aF,_X as aG,xX as aH,eC as aI,q8 as aJ,GX as aK,Tm as aL,Ut as aM,w6e as aN,tE as aO,B8 as aP,vl as aQ,yi as aR,Qit as aS,F_ as aT,YV as aU,P7 as aV,Xgt as aW,qmt as aX,Jit as aY,Uit as aZ,rgt as a_,Z7 as aa,La as ab,Ggt as ac,Wgt as ad,ix as ae,_gt as af,zd as ag,Bit as ah,Vs as ai,Zgt as aj,qgt as ak,Vgt as al,sct as am,xne as an,qH as ao,B_ as ap,_r as aq,UV as ar,mE as as,egt as at,Ymt as au,Zmt as av,dLe as aw,i$ as ax,Xi as ay,Z_e as az,Ige as b,GW as b$,Ogt as b0,zmt as b1,$gt as b2,ngt as b3,Pgt as b4,W0 as b5,Xd as b6,hLe as b7,vI as b8,K7 as b9,bQ as bA,Jmt as bB,Sne as bC,iR as bD,uh as bE,z8 as bF,H3 as bG,IKe as bH,bX as bI,ff as bJ,et as bK,OZ as bL,Dmt as bM,K8 as bN,lz as bO,PZ as bP,fX as bQ,gm as bR,rz as bS,iz as bT,bK as bU,cPe as bV,Sl as bW,R1 as bX,Lb as bY,m6 as bZ,jhe as b_,l1e as ba,a1e as bb,kl as bc,xgt as bd,vgt as be,om as bf,tgt as bg,git as bh,Tgt as bi,nyt as bj,eyt as bk,TK as bl,Mgt as bm,yre as bn,Ype as bo,zb as bp,Kp as bq,rm as br,im as bs,Wu as bt,Zn as bu,AR as bv,pm as bw,os as bx,Bn as by,XW as bz,wt as c,Bhe as c$,iE as c0,I8 as c1,aE as c2,$ke as c3,l$ as c4,u$ as c5,Umt as c6,Z8 as c7,tz as c8,ss as c9,tm as cA,r8 as cB,Wd as cC,n8 as cD,SK as cE,Rge as cF,Eme as cG,A1 as cH,N7 as cI,wq as cJ,XV as cK,C3 as cL,G1 as cM,l3e as cN,Pb as cO,Hhe as cP,Jhe as cQ,qhe as cR,Rb as cS,a8 as cT,k6 as cU,Ngt as cV,Dq as cW,cmt as cX,mq as cY,_ye as cZ,hq as c_,fmt as ca,dmt as cb,nz as cc,qG as cd,k0 as ce,mn as cf,x8 as cg,_m as ch,D8 as ci,G1t as cj,C7 as ck,qf as cl,_q as cm,ti as cn,O7 as co,Ou as cp,tf as cq,yo as cr,Cb as cs,as as ct,nve as cu,Ii as cv,xq as cw,Ns as cx,nm as cy,em as cz,ur as d,eE as d$,yye as d0,sc as d1,Rq as d2,ZV as d3,kme as d4,Dl as d5,tmt as d6,bq as d7,emt as d8,Q1 as d9,bgt as dA,Agt as dB,Aq as dC,AKe as dD,Ta as dE,Bgt as dF,yLe as dG,mV as dH,yit as dI,jit as dJ,Igt as dK,Oit as dL,Sgt as dM,hgt as dN,LF as dO,mmt as dP,Fit as dQ,hit as dR,ygt as dS,qit as dT,Wit as dU,oct as dV,iit as dW,Lgt as dX,Vmt as dY,gE as dZ,mgt as d_,Cmt as da,Cye as db,Lq as dc,kmt as dd,c6 as de,GE as df,Rye as dg,lmt as dh,Xke as di,fE as dj,gLe as dk,v6 as dl,Er as dm,lE as dn,uE as dp,nf as dq,ii as dr,Ma as ds,Ume as dt,Ft as du,fgt as dv,ggt as dw,qW as dx,Os as dy,agt as dz,B7 as e,yRe as e$,zze as e0,aKe as e1,EQ as e2,N8 as e3,FCe as e4,x$e as e5,R$e as e6,s8 as e7,Vq as e8,dC as e9,$q as eA,L1e as eB,w1e as eC,am as eD,amt as eE,omt as eF,Bme as eG,imt as eH,nmt as eI,JO as eJ,Pme as eK,Zc as eL,aye as eM,smt as eN,Ll as eO,kq as eP,fye as eQ,q_ as eR,Dme as eS,Uge as eT,$b as eU,Aye as eV,rmt as eW,K4e as eX,Y4e as eY,aRe as eZ,vmt as e_,Mme as ea,hU as eb,nE as ec,p6 as ed,wmt as ee,dz as ef,Fke as eg,pz as eh,_P as ei,SP as ej,Oke as ek,_mt as el,Xt as em,X1t as en,Z1t as eo,Y1t as ep,Q1t as eq,k8 as er,mf as es,Am as et,tGe as eu,SG as ev,Mu as ew,cz as ex,Egt as ey,b1e as ez,Gt as f,Fz as f$,bmt as f0,Jn as f1,i$e as f2,fy as f3,w$e as f4,AP as f5,Smt as f6,Qke as f7,Zh as f8,oDe as f9,Mr as fA,See as fB,Pz as fC,q1t as fD,lgt as fE,cgt as fF,Ugt as fG,pgt as fH,Ate as fI,wne as fJ,e0e as fK,igt as fL,ugt as fM,$mt as fN,dgt as fO,Kit as fP,Zit as fQ,mit as fR,vit as fS,cW as fT,bE as fU,gK as fV,K1t as fW,Lz as fX,YG as fY,Qmt as fZ,V0e as f_,bl as fa,q0e as fb,Hqe as fc,Mit as fd,Jgt as fe,Xee as ff,IU as fg,ai as fh,ogt as fi,SX as fj,T8 as fk,GTe as fl,A8 as fm,$rt as fn,S8 as fo,Gu as fp,Kmt as fq,zz as fr,nit as fs,fC as ft,Xmt as fu,sgt as fv,wgt as fw,Rgt as fx,eat as fy,Yit as fz,qn as g,G8 as g0,jWe as g1,iCe as g2,C$ as g3,R$ as g4,$p as g5,jmt as g6,Wmt as g7,Imt as g8,Cgt as g9,Uhe as gA,ry as gB,Hit as gC,Nit as gD,zit as gE,bee as gF,Yye as gG,Qb as gH,Ol as gI,Nye as gJ,rT as gK,tKe as gL,L8 as gM,oLe as gN,ymt as gO,gmt as gP,Oz as gQ,uZ as gR,Hi as gS,kgt as gT,QW as gU,WW as gV,EOe as gW,DF as ga,j3 as gb,I1 as gc,Rmt as gd,ADe as ge,z1t as gf,G_ as gg,Gmt as gh,hmt as gi,s4e as gj,e4e as gk,E$e as gl,Emt as gm,uIe as gn,cke as go,ake as gp,Tmt as gq,fke as gr,Amt as gs,Hke as gt,xmt as gu,cC as gv,HIe as gw,ORe as gx,b4 as gy,umt as gz,Yt as h,nr as i,W as j,mm as k,Wb as l,Ln as m,lQ as n,G2 as o,hm as p,Ct as q,z as r,Ib as s,Sm as t,o8 as u,Vi as v,eR as w,sh as x,Bm as y,Hgt as z};
1322
+ 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}],t1t=[{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}]}],n1t={queryType:Z0t,mutationType:X0t,subscriptionType:Q0t,types:e1t,directives:t1t},r1t=Tne,i1t=n1t;let a1t=class extends r1t{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"http://localhost:4000/api",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r={dataSource:"forge",httpEndpoint:t,socketEndpoint:()=>this._getSocketEndpoint(t),enableQuery:!0,enableSubscription:!0,enableMutation:!0,maxQueryDepth:6};super(r),this._endpoint=t,this._authToken=null,this._userAgent=n}setAuthToken(t){this._authToken=t}_getSocketEndpoint(t){let n=t.replace(/https?:\/\//,"ws://");return t.indexOf("https://")===0&&(n=n.replace("ws://","wss://")),"".concat(n,"/socket")}_getSchema(){return i1t}_getIgnoreFields(t){return[]}_getAuthHeaders(){const t={},n=this._authToken;if(n){const r=typeof n=="function"?n():n;t.Authorization="Bearer ".concat(encodeURIComponent(r))}if(typeof window<"u"&&typeof window.location<"u"){const{hostname:r,port:i,protocol:a}=window.location;t["x-real-hostname"]=r,t["x-real-port"]=i,t["x-real-protocol"]=a.endsWith(":")?a.substring(0,a.length-1):a}return this._userAgent&&(t["User-Agent"]=this._userAgent),t}};var o1t=a1t;const s1t=UX,l1t=o1t;class u1t extends l1t{_getSocketOptions(){return{}}_getEventImplementation(){return s1t}}var c1t=u1t;const f1t=Ut(c1t),d1t=(window.env?window.env.apiPrefix:"/")||"/",hl=new f1t(()=>`${d1t}/api/gql?locale=${r6()}`.replace(/\/+/g,"/").trim());function p1t({wsClient:e,event:t,cb:n=()=>{},deps:r=[]}){z.useEffect(()=>{const i=e&&(!r.length||r.every(Boolean));return i&&e.on(t,n),()=>{i&&e.off(t,n)}},r)}let Fc;function gre(){const e=(window.env&&window.env.apiPrefix?window.env.apiPrefix:"/").replace(/\/$/,""),t=`//${window.location.host}${e}/admin`;return new PR.WsClient(t,{heartbeatIntervalMs:100*1e3,params:()=>({token:Mr.get("login_token")})})}function yre(){return Fc||(Fc=gre()),Fc}const vI=(e,t=()=>{},n=[])=>{e=`${window.blocklet.did}/${e}`;const{session:r}=lQ();!Fc&&r.user&&(Fc=yre(),Fc.connect()),p1t({wsClient:Fc,event:e,cb:t,deps:n})};let H5=null;const h1t=async()=>{try{return(await Ym.get(`/dns-resolve?hostname=${window.location.hostname}`)).data.address}catch{return null}},m1t=()=>(H5||(H5=h1t()),H5),{Provider:g1t,Consumer:Ygt}=h$,y1t=e=>e&&Os(e,"settings.publicToStore")?e.settings.publicToStore:!1,v1t=(e,t)=>{const n=/^{env\.(.+)}$/.exec(e);if(n&&n[1]){const r=((t==null?void 0:t.configs)||[]).find(i=>i.key===n[1]);return!r&&!r.value?"":r.value}return e},b1t=(()=>{const e={endpoint:"",data:{}};return async t=>{if(e.endpoint===t)return e.data;const r=await wne(t).getConfig();return e.endpoint=t,e.data=r,r}})(),{did:dd,appId:E1t}=window.env;function Y0({children:e,mode:t}){const[n,r]=z.useState(null),[i,a]=z.useState(!1),[o,s]=z.useState(),[l,f]=z.useState({}),[c,d]=z.useState(),[p,y]=z.useState(),g=t==="setup",{loading:b,loadingRuntimeInfo:R,error:A,blocklet:$,recommendedDomain:D,runtimeHistory:M,actions:{refreshBlocklet:J,refreshDomainStatus:U,setBlocklet:V}}=sat({did:dd,client:hl,useSubscription:vI,getIP:m1t,useLocaleContext:Wb}),X=async()=>{try{a(!0),r(null);const{data:h}=await Ym.get("/blocklet/meta");f(h),a(!1)}catch(h){a(!1),r(h),Ci.error(h.message)}},re=async({showError:h=!0}={})=>{var k,ne;if(!((ne=(k=l==null?void 0:l.requirements)==null?void 0:k.fuels)!=null&&ne.length))return null;const{endpoint:E,value:S,address:C}=l.requirements.fuels[0],I=v1t(E,$),_=S;let x=S;const v={endpoint:I,symbol:"",need:_,current:0,owe:Number(_)>0};try{const N=wne(I),{config:q}=await b1t(I),ie=JSON.parse(q).token;let ue=C;ue||(ue=ie.address),y({address:ie.address,symbol:ie.symbol,decimal:ie.decimal});const{getAccountState:{state:he},getTokenState:{state:Se}}=await N.doBatchQuery({getAccountState:{address:E1t},getTokenState:{address:ue}});Se&&(v.symbol=Se.symbol);const j=((he==null?void 0:he.tokens)||[]).find(O=>O.address===ue);if(j){const O=ai.fromTokenToUnit(_,j.decimal||18);v.current=ai.fromUnitToToken(j.value,j.decimal||18),v.owe=O.gt(new ai.BN(j.value)),x=Math.max(0,ai.fromUnitToToken(O.sub(new ai.BN(j.value)),j.decimal||18))}}catch(N){h&&Ci.error(N.message)}return d({...v,deficiency:x}),v},le=async({configs:h,childDid:E})=>(await hl.configBlocklet({input:{did:[dd].concat(E).filter(Boolean),configs:h}}),J()),Q=async h=>{const{blocklet:E}=await hl.updateWhoCanAccess({input:{did:[dd],whoCanAccess:h}});V(E)},P=async h=>{const{blocklet:E}=await hl.configPublicToStore({input:{did:dd,publicToStore:h}});V(E)},T=async h=>{const{blocklet:E}=await hl.configNavigations({input:{did:dd,navigations:h}});V(E)};z.useEffect(()=>{g&&X(),J({showError:!1})},[]),z.useEffect(()=>{if(!$||!($!=null&&$.controller))return;const{controller:h}=$;Eit(h.chainHost,h.nftId).then(E=>{E.expirationDate=ix.getNftExpirationDate(E),E.expired=ix.isNFTExpired(E),s(E)}).catch(E=>console.error(E))},[$==null?void 0:$.appPid]);const u={loading:i||b,loadingRuntimeInfo:R,error:n||A,blocklet:$,did:dd,recommendedDomain:D,runtimeHistory:M,appIdList:$?nte($):[],env:window.blocklet||{},meta:l,gas:c,tokenInfo:p,getPublicInstance:y1t,nftState:o,client:hl,mode:t,actions:{refreshBlocklet:J,refreshDomainStatus:U,setBlocklet:V,refreshMeta:X,refreshFuel:re,configBlocklet:le,configWhoCanAccess:Q,configPublicToStore:P,configNavigations:T}};return W.jsx(g1t,{value:u,children:e})}Y0.propTypes={children:ge.any,mode:ge.oneOf(["dashboard","setup"]).isRequired};Y0.defaultProps={children:null};function Zgt(){return z.useContext(h$)}const bI=z.createContext({});function Xgt(){const{node:e}=z.useContext(bI);return{...e,inService:e.type==="service",inDaemon:e.type==="daemon"}}const{Provider:T1t,Consumer:Qgt}=bI,A1t=`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/static/images`;function qH({children:e}){const{serverDid:t,serverVersion:n,mode:r,nftDomainUrl:i,ownerNft:a,launcher:o}=window.env,s={api:hl,restApi:Ym,prefix:Zt.WELLKNOWN_SERVICE_PATH_PREFIX,imgPrefix:A1t,getSessionInHeader:()=>({}),ws:{getWsClient:yre,create:gre,useSubscription:vI},type:"service",info:{did:t,version:n,mode:r,nftDomainUrl:i,ownerNft:a,launcher:o}};return W.jsx(T1t,{value:{node:s},children:e})}function eyt(){const{node:e}=z.useContext(bI);return e}const vre=z.createContext({}),{Provider:w1t,Consumer:tyt}=vre;function S1t({children:e}){const{did:t}=window.env,[n,r]=z.useState([]),[i,a]=z.useState({total:0,pageSize:10,pageCount:0,page:1}),[o,s]=z.useState(!1),l=async({page:c=1}={})=>{if(!o){s(!0);try{const d=await hl.getBlockletNotifications({input:{paging:{page:c},teamDid:t}});r(d.list),a(d.paging),s(!1)}catch(d){Ci.error(d.message),s(!1)}}};z.useEffect(()=>{l()},[]),vI(Zt.EVENTS.NOTIFICATION_BLOCKLET_CREATE,c=>{r(d=>[c,...d||[]])});const f={loading:o,refresh:l,data:n||[],paging:i,api:hl};return W.jsx(w1t,{value:{notifications:f},children:e})}function nyt(){const{notifications:e}=z.useContext(vre);return e}const _1t=z.lazy(()=>sn(()=>import("./login-B4t2fklS.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))),x1t=z.lazy(()=>sn(()=>import("./connect-HE8xsy1_.js"),__vite__mapDeps([9,10,1,11,3,5,6,7]))),C1t=z.lazy(()=>sn(()=>import("./exchange-passport-WtR8Xw4M.js"),__vite__mapDeps([12,11,13,14,15,16]))),R1t=z.lazy(()=>sn(()=>import("./issue-passport-ryFflIoJ.js"),__vite__mapDeps([17,18,19,15,11,13,1,16,20]))),$1t=z.lazy(()=>sn(()=>import("./lost-passport-ftMGDV9L.js"),__vite__mapDeps([21,18,19,15,22,23,24,20,13,1,16,25,26]))),I1t=z.lazy(()=>sn(()=>import("./start-UY2FrI8W.js"),__vite__mapDeps([27,2,23,24,15,20,28,29,30,31,32,3,33,4,34]))),k1t=z.lazy(()=>sn(()=>import("./setup-CPCa1sJ6.js"),__vite__mapDeps([35,36,37,38,39,10,40,41,29,30,31,15,28,32,3]))),D1t=z.lazy(()=>sn(()=>import("./invite-jvi7SJ3b.js"),__vite__mapDeps([42,19,15,43,1,44,18,16,13,14]))),L1t=z.lazy(()=>sn(()=>import("./transfer-0T-w2BJs.js"),__vite__mapDeps([45,2,29,30,31,15,3,4]))),O1t=z.lazy(()=>sn(()=>import("./dashboard-H5Eju0FJ.js").then(e=>e.v),__vite__mapDeps([46,47,48,15,49,50,44,51,14,52,20,53,31,19,54,55,56,57,58,25,16,39,10,40,41,2,24,59,60,61,62,38,63,30,64,32,3,65,8,7,4]))),GH=z.lazy(()=>sn(()=>import("./user-center-FWiNIxAU.js"),__vite__mapDeps([66,67,59,61,62,38,63,60,30,47,40,68,69,70,71,53,10,72,73]))),P1t=z.lazy(()=>sn(()=>import("./home-2lOJL0GM.js"),__vite__mapDeps([74,75,61,62,38,63,59,2,3]))),M1t=z.lazy(()=>sn(()=>import("./preferences-ipVlSNDM.js"),__vite__mapDeps([76,77,61,62,38,63,75,59,2]))),B1t=z.lazy(()=>sn(()=>import("./localization-4MKU-cT7.js"),__vite__mapDeps([78,75,61,62,38,63,59,2]))),N1t=z.lazy(()=>sn(()=>import("./add-resource-oOCH0e9X.js"),__vite__mapDeps([79,80,69,81,19,15,82,73,55,49,20,31,36,37,38,39,10,40,41,83,84,85,86,87,22,88,16,89,90,91,92,93,14,94,95,54,96,64,57,97,98,99,52,53,100,44,23,24,26,101,102,103,104,59,105,106,58,107,63,108,109,32]))),WH=z.lazy(()=>sn(()=>import("./publish-resource-k5yJ00Af.js"),__vite__mapDeps([110,111,56,19,15,112,113,99,71,53,114,47,62,115,116,95,51,16,14,23,24,20,54,49,31,55,117,25,52,44,89,90,91,118,119,103,104,93,10,120,121,122,41,32,3]))),F1t=z.lazy(()=>sn(()=>import("./index-zjkpIBLj.js"),__vite__mapDeps([]))),U1t=z.lazy(()=>sn(()=>import("./unsubscribe-SutkB0D5.js"),__vite__mapDeps([123,3,34,4])));function H1t(){const e=Js();z.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${e.pathname}${e.search}`)},[e]);const t=W.jsx(fp,{children:W.jsx(Iq,{})});return W.jsx(z.Suspense,{fallback:t,children:W.jsxs(B_,{children:[W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:W.jsx($1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:W.jsx(R1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/login`,element:W.jsx(_1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/connect`,element:W.jsx(x1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:W.jsx(C1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:W.jsx(D1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/transfer`,element:W.jsx(L1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/home`,element:W.jsx(P1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/preferences`,element:W.jsx(M1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/localization`,element:W.jsx(B1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/start`,element:W.jsx(Sc,{children:W.jsx(I1t,{})})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/setup/*`,element:W.jsx(Y0,{mode:"setup",children:W.jsx(k1t,{})})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/user/unsubscribe`,element:W.jsx(U1t,{})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/user/:tab`,element:W.jsx(Sc,{roles:["*"],children:W.jsx(GH,{})})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/user`,element:W.jsx(Sc,{roles:["*"],children:W.jsx(GH,{})})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/:tab/*`,element:W.jsx(qH,{children:W.jsx(S1t,{children:W.jsx(Sc,{roles:["owner","admin","member"],children:W.jsx(Y0,{mode:"dashboard",children:W.jsx(O1t,{})})})})})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/admin`,element:W.jsx(UV,{to:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/admin/overview`,replace:!0})}),W.jsx(_r,{path:`${Zt.WELLKNOWN_SERVICE_PATH_PREFIX}/embed/resources/:componentDid/*`,element:W.jsx(qH,{children:W.jsx(Sc,{roles:["owner","admin"],children:W.jsx(Y0,{mode:"dashboard",children:W.jsxs(B_,{children:[W.jsx(_r,{path:"publish",element:W.jsx(WH,{})}),W.jsx(_r,{path:"publish/*",element:W.jsx(WH,{})}),W.jsx(_r,{path:"add",element:W.jsx(N1t,{})}),W.jsx(_r,{path:"*",element:W.jsx(F1t,{})})]})})})})})]})})}function j1t(){return W.jsx(Rhe,{basename:xne,children:W.jsx(zXe,{children:W.jsx(H1t,{})})})}const J1t=mV(document.getElementById("app"));J1t.render(W.jsx(j1t,{}));const V1t=Zt.WELLKNOWN_SERVICE_PATH_PREFIX;{async function e(){const{register:t}=await sn(()=>import("./index-7SG8bi1h.js"),__vite__mapDeps([]));t(`${V1t}/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(n){console.error("Error during service worker registration:",n)}})}e()}export{yt as $,Ml as A,jgt as B,fp as C,vp as D,HG as E,W1t as F,bu as G,en as H,Zt as I,BKe as J,NZ as K,khe as L,WXe as M,JG as N,R6 as O,ge as P,E1 as Q,Tb as R,Iq as S,Ci as T,zt as U,Br as V,ir as W,M7 as X,si as Y,NAe as Z,xe as _,Kn as a,Vit as a$,Rt as a0,zme as a1,Di as a2,Cm as a3,sn as a4,zgt as a5,Ym as a6,Eit as a7,hl as a8,Git as a9,R8 as aA,Js as aB,d$ as aC,Q8 as aD,Jp as aE,bm as aF,_X as aG,xX as aH,eC as aI,q8 as aJ,GX as aK,Tm as aL,Ut as aM,w6e as aN,tE as aO,B8 as aP,vl as aQ,yi as aR,Qit as aS,F_ as aT,YV as aU,P7 as aV,Xgt as aW,qmt as aX,Jit as aY,Uit as aZ,rgt as a_,Z7 as aa,La as ab,Ggt as ac,Wgt as ad,ix as ae,_gt as af,zd as ag,Bit as ah,Vs as ai,Zgt as aj,qgt as ak,Vgt as al,sct as am,xne as an,qH as ao,B_ as ap,_r as aq,UV as ar,mE as as,egt as at,Ymt as au,Zmt as av,dLe as aw,i$ as ax,Xi as ay,Z_e as az,Ige as b,GW as b$,Ogt as b0,zmt as b1,$gt as b2,ngt as b3,Pgt as b4,W0 as b5,Xd as b6,hLe as b7,vI as b8,K7 as b9,bQ as bA,Jmt as bB,Sne as bC,iR as bD,uh as bE,z8 as bF,H3 as bG,IKe as bH,bX as bI,ff as bJ,et as bK,OZ as bL,Dmt as bM,K8 as bN,lz as bO,PZ as bP,fX as bQ,gm as bR,rz as bS,iz as bT,bK as bU,cPe as bV,Sl as bW,R1 as bX,Lb as bY,m6 as bZ,jhe as b_,l1e as ba,a1e as bb,kl as bc,xgt as bd,vgt as be,om as bf,tgt as bg,git as bh,Tgt as bi,nyt as bj,eyt as bk,TK as bl,Mgt as bm,yre as bn,Ype as bo,zb as bp,Kp as bq,rm as br,im as bs,Wu as bt,Zn as bu,AR as bv,pm as bw,os as bx,Bn as by,XW as bz,wt as c,Bhe as c$,iE as c0,I8 as c1,aE as c2,$ke as c3,l$ as c4,u$ as c5,Umt as c6,Z8 as c7,tz as c8,ss as c9,tm as cA,r8 as cB,Wd as cC,n8 as cD,SK as cE,Rge as cF,Eme as cG,A1 as cH,N7 as cI,wq as cJ,XV as cK,C3 as cL,G1 as cM,l3e as cN,Pb as cO,Hhe as cP,Jhe as cQ,qhe as cR,Rb as cS,a8 as cT,k6 as cU,Ngt as cV,Dq as cW,cmt as cX,mq as cY,_ye as cZ,hq as c_,fmt as ca,dmt as cb,nz as cc,qG as cd,k0 as ce,mn as cf,x8 as cg,_m as ch,D8 as ci,G1t as cj,C7 as ck,qf as cl,_q as cm,ti as cn,O7 as co,Ou as cp,tf as cq,yo as cr,Cb as cs,as as ct,nve as cu,Ii as cv,xq as cw,Ns as cx,nm as cy,em as cz,ur as d,eE as d$,yye as d0,sc as d1,Rq as d2,ZV as d3,kme as d4,Dl as d5,tmt as d6,bq as d7,emt as d8,Q1 as d9,bgt as dA,Agt as dB,Aq as dC,AKe as dD,Ta as dE,Bgt as dF,yLe as dG,mV as dH,yit as dI,jit as dJ,Igt as dK,Oit as dL,Sgt as dM,hgt as dN,LF as dO,mmt as dP,Fit as dQ,hit as dR,ygt as dS,qit as dT,Wit as dU,oct as dV,iit as dW,Lgt as dX,Vmt as dY,gE as dZ,mgt as d_,Cmt as da,Cye as db,Lq as dc,kmt as dd,c6 as de,GE as df,Rye as dg,lmt as dh,Xke as di,fE as dj,gLe as dk,v6 as dl,Er as dm,lE as dn,uE as dp,nf as dq,ii as dr,Ma as ds,Ume as dt,Ft as du,fgt as dv,ggt as dw,qW as dx,Os as dy,agt as dz,B7 as e,yRe as e$,zze as e0,aKe as e1,EQ as e2,N8 as e3,FCe as e4,x$e as e5,R$e as e6,s8 as e7,Vq as e8,dC as e9,$q as eA,L1e as eB,w1e as eC,am as eD,amt as eE,omt as eF,Bme as eG,imt as eH,nmt as eI,JO as eJ,Pme as eK,Zc as eL,aye as eM,smt as eN,Ll as eO,kq as eP,fye as eQ,q_ as eR,Dme as eS,Uge as eT,$b as eU,Aye as eV,rmt as eW,K4e as eX,Y4e as eY,aRe as eZ,vmt as e_,Mme as ea,hU as eb,nE as ec,p6 as ed,wmt as ee,dz as ef,Fke as eg,pz as eh,_P as ei,SP as ej,Oke as ek,_mt as el,Xt as em,X1t as en,Z1t as eo,Y1t as ep,Q1t as eq,k8 as er,mf as es,Am as et,tGe as eu,SG as ev,Mu as ew,cz as ex,Egt as ey,b1e as ez,Gt as f,Fz as f$,bmt as f0,Jn as f1,i$e as f2,fy as f3,w$e as f4,AP as f5,Smt as f6,Qke as f7,Zh as f8,oDe as f9,Mr as fA,See as fB,Pz as fC,q1t as fD,lgt as fE,cgt as fF,Ugt as fG,pgt as fH,Ate as fI,wne as fJ,e0e as fK,igt as fL,ugt as fM,$mt as fN,dgt as fO,Kit as fP,Zit as fQ,mit as fR,vit as fS,cW as fT,bE as fU,gK as fV,K1t as fW,Lz as fX,YG as fY,Qmt as fZ,V0e as f_,bl as fa,q0e as fb,Hqe as fc,Mit as fd,Jgt as fe,Xee as ff,IU as fg,ai as fh,ogt as fi,SX as fj,T8 as fk,GTe as fl,A8 as fm,$rt as fn,S8 as fo,Gu as fp,Kmt as fq,zz as fr,nit as fs,fC as ft,Xmt as fu,sgt as fv,wgt as fw,Rgt as fx,eat as fy,Yit as fz,qn as g,G8 as g0,jWe as g1,iCe as g2,C$ as g3,R$ as g4,$p as g5,jmt as g6,Wmt as g7,Imt as g8,Cgt as g9,Uhe as gA,ry as gB,Hit as gC,Nit as gD,zit as gE,bee as gF,Yye as gG,Qb as gH,Ol as gI,Nye as gJ,rT as gK,tKe as gL,L8 as gM,oLe as gN,ymt as gO,gmt as gP,Oz as gQ,uZ as gR,Hi as gS,kgt as gT,QW as gU,WW as gV,EOe as gW,DF as ga,j3 as gb,I1 as gc,Rmt as gd,ADe as ge,z1t as gf,G_ as gg,Gmt as gh,hmt as gi,s4e as gj,e4e as gk,E$e as gl,Emt as gm,uIe as gn,cke as go,ake as gp,Tmt as gq,fke as gr,Amt as gs,Hke as gt,xmt as gu,cC as gv,HIe as gw,ORe as gx,b4 as gy,umt as gz,Yt as h,nr as i,W as j,mm as k,Wb as l,Ln as m,lQ as n,G2 as o,hm as p,Ct as q,z as r,Ib as s,Sm as t,o8 as u,Vi as v,eR as w,sh as x,Bm as y,Hgt as z};
1323
1323
  function __vite__mapDeps(indexes) {
1324
1324
  if (!__vite__mapDeps.viteFileDeps) {
1325
- __vite__mapDeps.viteFileDeps = ["assets/login-z1wY6qap.js","assets/use-passport-id-pXgWCnyq.js","assets/createSvgIcon-tFt1ryL0.js","assets/Box-lZ5spsQH.js","assets/Typography-tvdIv5ZI.js","assets/Tooltip-a9pLijAX.js","assets/useTheme-FGGdIoCP.js","assets/useSlotProps-XvH7yjDf.js","assets/ButtonBase-TSoPFIBe.js","assets/connect-1QIaxGG0.js","assets/index-575yCkwl.js","assets/fullpage-gUYOsR-B.js","assets/exchange-passport-X9HNXxpJ.js","assets/wrap-locale-DMEY67bd.js","assets/CircularProgress-Q4pselFx.js","assets/styled-QR9SQDeC.js","assets/Box-xVyhqbFH.js","assets/issue-passport-mz5RdvLm.js","assets/CheckCircle-lrVCqf2n.js","assets/createSvgIcon-TtyKAxsD.js","assets/Typography-4MXIXIgI.js","assets/lost-passport-R6oQSaxt.js","assets/Done-Rmbh35pz.js","assets/did-address-3FoRRVKx.js","assets/Link-QmOupva0.js","assets/Avatar-FfLDTS1T.js","assets/StepLabel-xaoyvbWL.js","assets/start-sUJoEx0p.js","assets/ServerLogo-S3ffHW5K.js","assets/addon-jQ_lW5VA.js","assets/selector-8Gj_YDKP.js","assets/IconButton-Bw_740x8.js","assets/useMediaQuery-HjFmqP7e.js","assets/Link-qhTRVvm5.js","assets/Paper-kKqGsJ2_.js","assets/setup-y6CbGPfx.js","assets/config-space-KB8DhRe0.js","assets/Skeleton-kWPBv3hN.js","assets/Hidden-epK0WlDg.js","assets/spaces-jG6buFhb.js","assets/index-cnER8eGh.js","assets/api-2KA7QvaK.js","assets/invite-7yOdsQPj.js","assets/index-ac-7VxTm.js","assets/session-VA6PMO42.js","assets/transfer-9hxkFsSj.js","assets/dashboard-XUsTUl6m.js","assets/index-yQZH21L_.js","assets/permission-DycDqWdA.js","assets/formControlState-3f1dynOx.js","assets/useAsync-bLl3m9OW.js","assets/index-k2zXVcXF.js","assets/Checkbox-hUFDjNSc.js","assets/createStack-jceJWRju.js","assets/confirm-Tyae6_Zc.js","assets/index-Dgm_SdZp.js","assets/useSetState-8hL6FUWi.js","assets/ListItemText-3DGsMIsc.js","assets/Chip-7KtYmZN9.js","assets/fallback-79zmcfbz.js","assets/index-QooYxDDB.js","assets/index-cC16saNb.js","assets/Toolbar-p2Rw9VP_.js","assets/ExpandMore-KT3Riu-V.js","assets/listItemButtonClasses-ej_0Wd0u.js","assets/IconButton-2kDl8ha3.js","assets/user-center-GbgTVIf_.js","assets/index-xk-W3y0O.js","assets/RevokeIcon-qytdNGtr.js","assets/uniqBy-p8TICBgq.js","assets/index-EuNhIMk-.js","assets/TextField-w62Tj_bv.js","assets/InputAdornment-JJseDebg.js","assets/index-ZibHxXIb.js","assets/home-82LFYu2G.js","assets/studio-nX-Lvt-n.js","assets/preferences-k5XbYYxZ.js","assets/iframe-f6hNs76Z.js","assets/localization-UG7NGJKC.js","assets/add-resource-ul54uC2R.js","assets/add-component-core-Ixi2anfP.js","assets/page-header-2zyJkZ9E.js","assets/use-blocklet-info-for-connect-did-spaces-3p2Dd823.js","assets/lottie-RksaOdGU.js","assets/launch-result-message-dnUrrccd.js","assets/index-jzY_5Mpt.js","assets/EditIcon-BFyZg_Io.js","assets/Close-SFAKpp5f.js","assets/Google-cGngGIlT.js","assets/TextField-yFSUKkfQ.js","assets/Select-CLqvWhqc.js","assets/InputLabel-E4gynfPT.js","assets/logo-uploader-3ZuH123a.js","assets/index--CkleDlS.js","assets/jss-plugin-props-sort.esm-RZD2YHN-.js","assets/toPropertyKey-NzAT2yhV.js","assets/ListItem-cxnU28E5.js","assets/util-dDJEMWX7.js","assets/index-gaKMaa0N.js","assets/Search-NO0Vj1Jx.js","assets/index-oibkouzz.js","assets/Launch-0UyPzd-q.js","assets/Add-wAhT997v.js","assets/DeleteOutline-bqcRHaFk.js","assets/click-to-copy-0upUV1g8.js","assets/preact.module-yJdvQMHZ.js","assets/connect-to-wW4QpEKP.js","assets/index-WjkFYOnL.js","assets/content-layout-3EgufeDh.js","assets/add-component-core-wegghUnI.css","assets/publish-resource-1Zx2Swpb.js","assets/index-2x3nG07a.js","assets/index-dO0N2FSj.js","assets/FilterList-A3lP9lXN.js","assets/Grid-lKrAKrf2.js","assets/index-ja_Ipmzw.js","assets/redux-XOuz_cVf.js","assets/ChevronRight-wrcW9iQD.js","assets/InputAdornment-gVGmth-c.js","assets/Download-ubfkvcSA.js","assets/ExpandMore-BaF2rZER.js","assets/OpenInNew-QAO3RVjc.js","assets/Collapse-B9GV1Oit.js","assets/unsubscribe-9M-VvMEf.js"]
1325
+ __vite__mapDeps.viteFileDeps = ["assets/login-B4t2fklS.js","assets/use-passport-id-pXgWCnyq.js","assets/createSvgIcon-8UVrdVBy.js","assets/Box-7LEdnI38.js","assets/Typography-fZEluC8L.js","assets/Tooltip-b_PtEAMf.js","assets/useTheme-BlrT6To7.js","assets/useSlotProps-N8hAyvcO.js","assets/ButtonBase-H7x_UjVI.js","assets/connect-HE8xsy1_.js","assets/index-8pqdxGf0.js","assets/fullpage-O8LU-Qxx.js","assets/exchange-passport-WtR8Xw4M.js","assets/wrap-locale-EaBs7Yi3.js","assets/CircularProgress-IYKPs-No.js","assets/styled-fAqX37tk.js","assets/Box-LsJeQwXg.js","assets/issue-passport-ryFflIoJ.js","assets/CheckCircle-T4zw645B.js","assets/createSvgIcon-S3Fzn-08.js","assets/Typography-pvp9ApDi.js","assets/lost-passport-ftMGDV9L.js","assets/Done-Kb7d7URr.js","assets/did-address-gqKpuvUb.js","assets/Link-3Y1mMiqI.js","assets/Avatar-0mnlDngj.js","assets/StepLabel-fbdhNtLd.js","assets/start-UY2FrI8W.js","assets/ServerLogo-7f8ily1A.js","assets/addon-N61kc3Py.js","assets/selector-3yib3Uuh.js","assets/IconButton-5PkNfdIA.js","assets/useMediaQuery-falT8o6A.js","assets/Link-2WrsBuCk.js","assets/Paper-b14qqKuL.js","assets/setup-CPCa1sJ6.js","assets/config-space-eZlnN090.js","assets/Skeleton-HSMSnzDi.js","assets/Hidden-cVynEa3Q.js","assets/spaces-PHuZ421T.js","assets/index-cnER8eGh.js","assets/api-JEI74KZE.js","assets/invite-jvi7SJ3b.js","assets/index-_Y3IpMzc.js","assets/session-uH1GMSGw.js","assets/transfer-0T-w2BJs.js","assets/dashboard-H5Eju0FJ.js","assets/index-L2EUMaEh.js","assets/permission-Ld3GnSww.js","assets/formControlState-NS1XaxDJ.js","assets/useAsync-otNoKpTc.js","assets/index-2OWBQAFN.js","assets/Checkbox-SimGZSme.js","assets/createStack-WA-Mhc_6.js","assets/confirm-O7kH5Jpq.js","assets/index-S8e-62dt.js","assets/useSetState-2t0odtK0.js","assets/ListItemText-LZXPXqVl.js","assets/Chip-N-PHUPle.js","assets/fallback-GwGezARo.js","assets/index-xkrVyLng.js","assets/index-Mif6Y2Xg.js","assets/Toolbar-_VI1Zy_D.js","assets/ExpandMore-oz7bzWdf.js","assets/listItemButtonClasses-kHZS5elP.js","assets/IconButton-ycLLnX1E.js","assets/user-center-FWiNIxAU.js","assets/index-YH32365Q.js","assets/RevokeIcon-n5Ut8zNI.js","assets/uniqBy-OC0Tf4-L.js","assets/index-zy6mPYrD.js","assets/TextField-bPodhlTR.js","assets/InputAdornment-hedgJE3a.js","assets/index-_krFP4fv.js","assets/home-2lOJL0GM.js","assets/studio-Wfv7rAGd.js","assets/preferences-ipVlSNDM.js","assets/iframe-i-LZ_njm.js","assets/localization-4MKU-cT7.js","assets/add-resource-oOCH0e9X.js","assets/add-component-core-e2tRdrTG.js","assets/page-header-osiHjA4s.js","assets/use-blocklet-info-for-connect-did-spaces-klfSL37c.js","assets/lottie-BTWG6ZRz.js","assets/launch-result-message-jjnSTmnu.js","assets/index-_enOkBiE.js","assets/EditIcon-dlm0J4jp.js","assets/Close-2QMhaIaY.js","assets/Google-V6SSoeJE.js","assets/TextField-Q2HyiRNh.js","assets/Select-Vlb0TrlR.js","assets/InputLabel-CUjYuAg5.js","assets/logo-uploader-UGrjk00W.js","assets/index-azviKhxh.js","assets/jss-plugin-props-sort.esm-G717TV8B.js","assets/toPropertyKey-NzAT2yhV.js","assets/ListItem-CrO1ceyg.js","assets/util-YZOWAYEN.js","assets/index-aTt23vq9.js","assets/Search-3IHDBhOz.js","assets/index-uCL2Xz4z.js","assets/Launch-axvN_Taf.js","assets/Add-PbrfIglX.js","assets/DeleteOutline-iM2EXaRZ.js","assets/click-to-copy-8aM8i6IS.js","assets/preact.module-yJdvQMHZ.js","assets/connect-to-MesD9Cmh.js","assets/index-nTJTIZwx.js","assets/content-layout-vDpiI008.js","assets/add-component-core-wegghUnI.css","assets/publish-resource-k5yJ00Af.js","assets/index-_MptBGQj.js","assets/index-ZK4UCwUb.js","assets/FilterList-Z_-abHcN.js","assets/Grid-HN2iRA2b.js","assets/index-aQkdsRop.js","assets/redux-XOuz_cVf.js","assets/ChevronRight-o6xRpzgx.js","assets/InputAdornment-7oeMif8t.js","assets/Download-_PFXMHAF.js","assets/ExpandMore-JR_SeuMZ.js","assets/OpenInNew-KP205CGR.js","assets/Collapse-pcfmaKcV.js","assets/unsubscribe-SutkB0D5.js"]
1326
1326
  }
1327
1327
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
1328
1328
  }