@abtnode/blocklet-services 1.17.8-beta-20260116-080047-9fdd00d3 → 1.17.8-beta-20260119-102944-6ba93a16

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 (207) hide show
  1. package/dist/assets/{AdapterDayjs-BI3dme25.js → AdapterDayjs-CYW0YvmK.js} +1 -1
  2. package/dist/assets/{Google-BMSeyXdi.js → Google-DKRt92nm.js} +1 -1
  3. package/dist/assets/{access-control-CSfPgD_B.js → access-control-RI6LQbSm.js} +1 -1
  4. package/dist/assets/{actions-Ng-YRTer.js → actions-BlWED76c.js} +2 -2
  5. package/dist/assets/{actions-Dktj9pEF.js → actions-DydkTgA0.js} +1 -1
  6. package/dist/assets/{add-component-core-DOIm-W83.js → add-component-core-nc1ps0ni.js} +32 -32
  7. package/dist/assets/{add-resource-_wuuBiJJ.js → add-resource-BVOdOQSW.js} +1 -1
  8. package/dist/assets/{addon-N_sS-Sx6.js → addon-DfWedLEC.js} +1 -1
  9. package/dist/assets/{advanced-BhbxG-_n.js → advanced-CuKHqbLO.js} +2 -2
  10. package/dist/assets/{aigne-DElJAbjP.js → aigne-6nMSoyeQ.js} +1 -1
  11. package/dist/assets/{appearance-D71HSeGD.js → appearance-C9TkbSjV.js} +1 -1
  12. package/dist/assets/{ar-BHqjWgUQ.js → ar-DOhYGTlW.js} +1 -1
  13. package/dist/assets/{audit-logs-Ci_HlT4m.js → audit-logs-DKGke9hI.js} +2 -2
  14. package/dist/assets/{authorize-DQERA3Vv.js → authorize-DkSqywe8.js} +1 -1
  15. package/dist/assets/{base-chart-DWXZOkNE.js → base-chart-DcZV4ZCI.js} +1 -1
  16. package/dist/assets/{base32-Cpvj2sD4.js → base32-7iZvvdX8.js} +1 -1
  17. package/dist/assets/{bind-account-BIzFrnLk.js → bind-account-DOwM9Nhe.js} +1 -1
  18. package/dist/assets/branding-Cak2s8bn.js +1 -0
  19. package/dist/assets/{branding-BHJqY7Mz.js → branding-CwSyd5WC.js} +1 -1
  20. package/dist/assets/{branding-DAdwbyWZ.js → branding-lcfxmmPp.js} +1 -1
  21. package/dist/assets/{bundle-avatar-sDqev1Fh.js → bundle-avatar-DwiOyeMO.js} +1 -1
  22. package/dist/assets/button-uUU4Wycr.js +1 -0
  23. package/dist/assets/{click-to-copy-RBTqACSW.js → click-to-copy-BgIYUMoo.js} +1 -1
  24. package/dist/assets/{collapse-DWmyzfnW.js → collapse-RMuUWnK3.js} +1 -1
  25. package/dist/assets/{complete-D6XDZtnV.js → complete-Udiv_yFp.js} +1 -1
  26. package/dist/assets/{component-B2qSKMGx.js → component-CuKviNC8.js} +2 -2
  27. package/dist/assets/{config-oF-A1tKe.js → config-6IwEgT3b.js} +1 -1
  28. package/dist/assets/{config-Ca5tnO9j.js → config-CJwxv2uK.js} +1 -1
  29. package/dist/assets/{config-fYkZxdEr.js → config-D1OcHGlN.js} +4 -4
  30. package/dist/assets/{config-navigation-BEYJ5bSz.js → config-navigation-hDihVsjx.js} +2 -2
  31. package/dist/assets/{config-space-HmsYCb6s.js → config-space-DfstlHnF.js} +1 -1
  32. package/dist/assets/{confirm-DQYDHHdS.js → confirm-CdVn5WdC.js} +1 -1
  33. package/dist/assets/{connect-COLwEMSx.js → connect-CT2vMz6l.js} +3 -3
  34. package/dist/assets/{connect-ydb7rKXe.js → connect-DA7RO2yv.js} +1 -1
  35. package/dist/assets/{connect-BeWeBwCA.js → connect-Dy0Y8HRB.js} +1 -1
  36. package/dist/assets/{connect-to-C3ac4B-g.js → connect-to-CQMUbQkH.js} +1 -1
  37. package/dist/assets/{content-layout-CanSZTqf.js → content-layout-Dlmn5DW6.js} +1 -1
  38. package/dist/assets/{create-passport-svg-De1vqcmo.js → create-passport-svg-hldNORaB.js} +1 -1
  39. package/dist/assets/{createClass-CRUn7w67.js → createClass-CgfWUrk8.js} +1 -1
  40. package/dist/assets/{dashboard-BZiea8Z_.js → dashboard-BvI3ii8Z.js} +2 -2
  41. package/dist/assets/{de-QUGQFv2K.js → de-CtKPdGk6.js} +1 -1
  42. package/dist/assets/{delete-confirm-CpaOkuin.js → delete-confirm-CkiUXocp.js} +1 -1
  43. package/dist/assets/{did-address-DRYM96gB.js → did-address-CG36eCOx.js} +1 -1
  44. package/dist/assets/{domain-D9Kc4Rgt.js → domain-CDTeLbkZ.js} +1 -1
  45. package/dist/assets/{domain-action-card-ugKl692S.js → domain-action-card-kMPYS2Nj.js} +1 -1
  46. package/dist/assets/domains-TI6o1CvX.js +1 -0
  47. package/dist/assets/{email-DDyG3qPR.js → email-DHRHueET.js} +2 -2
  48. package/dist/assets/{empty-spinner-ChYvCNCV.js → empty-spinner-DB1GKIOS.js} +1 -1
  49. package/dist/assets/engine-D_fEFx9_.js +1 -0
  50. package/dist/assets/{es-C4w6cL07.js → es-BSYtSZPg.js} +1 -1
  51. package/dist/assets/{exchange-passport-DoiXZo5M.js → exchange-passport-Cc872mjQ.js} +1 -1
  52. package/dist/assets/{fallback-CZRO9TTQ.js → fallback-D-IHOW-7.js} +1 -1
  53. package/dist/assets/{form--iZWaH7Y.js → form-Co-tgocU.js} +1 -1
  54. package/dist/assets/{form-text-input-Cs-LuCu0.js → form-text-input-CPLafaTk.js} +1 -1
  55. package/dist/assets/{form-wrapper-EixE0Jkw.js → form-wrapper-kWYD3nZz.js} +1 -1
  56. package/dist/assets/{fr-Bq3UipEu.js → fr-C35fi7h9.js} +1 -1
  57. package/dist/assets/{fuel-C85y6XSK.js → fuel-BFx1ShM2.js} +1 -1
  58. package/dist/assets/{gen-access-key-DxF-VBeV.js → gen-access-key-DrgLVRbm.js} +1 -1
  59. package/dist/assets/{gen-simple-access-key-Cxq1_uy6.js → gen-simple-access-key-B24d6k7g.js} +1 -1
  60. package/dist/assets/get-safe-url-beob4f2C.js +1 -0
  61. package/dist/assets/{hi-DGZy0DLh.js → hi-5fpYJkiW.js} +1 -1
  62. package/dist/assets/{home-EzPPxjBW.js → home-Dw18IODa.js} +1 -1
  63. package/dist/assets/{id-DOzDilAf.js → id-DoVb0JYr.js} +1 -1
  64. package/dist/assets/{iframe-C5nvJ0m0.js → iframe-DUzp97tk.js} +1 -1
  65. package/dist/assets/{index-B3ArnS-X.js → index--WQuhwJL.js} +1 -1
  66. package/dist/assets/{index-Cw8Yly1u.js → index-2M4w6J9r.js} +1 -1
  67. package/dist/assets/{index-D3fA5iF-.js → index-3H6a5edM.js} +1 -1
  68. package/dist/assets/{index-_uJPC7_n.js → index-8RHrVCC6.js} +1 -1
  69. package/dist/assets/{index-BM9QepzF.js → index-B-8044Gs.js} +22 -11
  70. package/dist/assets/{index-Ba_SJ3UV.js → index-B6l4xGy5.js} +2 -2
  71. package/dist/assets/{index-CbZQvtgh.js → index-B9FojAjj.js} +1 -1
  72. package/dist/assets/{index-BQFgfBFX.js → index-BOPR4Iyc.js} +2 -2
  73. package/dist/assets/{index-VlFqUdI2.js → index-BUhEyicQ.js} +1 -1
  74. package/dist/assets/{index-DGU5RA0-.js → index-BeunkI-Z.js} +3 -3
  75. package/dist/assets/{index-_bvucGkF.js → index-Bo9KtpTY.js} +1 -1
  76. package/dist/assets/{index-r7svI4rK.js → index-Bpic07NM.js} +7 -7
  77. package/dist/assets/{index-BuucS_rQ.js → index-C1fKsLzf.js} +1 -1
  78. package/dist/assets/{index-D_ymA2Th.js → index-C4ZzROeE.js} +5 -5
  79. package/dist/assets/{index-sb6EjUcD.js → index-CEJb82tA.js} +1 -1
  80. package/dist/assets/{index-Ca33rdd_.js → index-CXp5SI_f.js} +82 -82
  81. package/dist/assets/{index-zkaWHEAS.js → index-C_kNXHsF.js} +1 -1
  82. package/dist/assets/{index-DvQIPWQ6.js → index-Cax1AxL9.js} +1 -1
  83. package/dist/assets/{index-Ca5zgzpl.js → index-CfvGuvbD.js} +1 -1
  84. package/dist/assets/{index-BbO4pSmm.js → index-CqCXPf7W.js} +1 -1
  85. package/dist/assets/{index-p0MfrvgW.js → index-Cx0E03Bs.js} +1 -1
  86. package/dist/assets/{index-CL5ZGYlc.js → index-D3BuekEe.js} +3 -3
  87. package/dist/assets/{index-D4_8N2le.js → index-D6pCyJv8.js} +1 -1
  88. package/dist/assets/{index-Ddl9fWMP.js → index-DFUM0Pvk.js} +1 -1
  89. package/dist/assets/{index-B3fG443w.js → index-DH4rC-7M.js} +1 -1
  90. package/dist/assets/{index-B2PeJoug.js → index-DKzBOJCu.js} +2 -2
  91. package/dist/assets/index-DL0wTcgx.js +1 -0
  92. package/dist/assets/{index-C9V4aWeM.js → index-DWHFecw2.js} +4 -4
  93. package/dist/assets/{index-Dxb3MonW.js → index-DcW3jqfL.js} +1 -1
  94. package/dist/assets/{index-CxOxF1pg.js → index-Di2nSesc.js} +1 -1
  95. package/dist/assets/{index-CiCryHDZ.js → index-DqcciDRh.js} +2 -2
  96. package/dist/assets/{index-DCxNOCc2.js → index-VKjWmvRV.js} +1 -1
  97. package/dist/assets/{index-DVOweIMx.js → index-Vf51dp11.js} +1 -1
  98. package/dist/assets/{index-2AyCotIy.js → index-ZzcJ7eKO.js} +1 -1
  99. package/dist/assets/{index-Bwibx9MU.js → index-bEFOmVth.js} +1 -1
  100. package/dist/assets/{info-outline-rounded-DVdLJtdi.js → info-outline-rounded-DlgANjBB.js} +1 -1
  101. package/dist/assets/{invitation-CUluW5mi.js → invitation-BP8hOEFv.js} +1 -1
  102. package/dist/assets/invitations-C8aZLxdl.js +3 -0
  103. package/dist/assets/{invite-zC3nU84H.js → invite-Cd5zEHFb.js} +1 -1
  104. package/dist/assets/{issue-passport-B_pYDft0.js → issue-passport-D7zqv3Al.js} +1 -1
  105. package/dist/assets/{item-DoUn7xhc.js → item-DNj7ORqk.js} +1 -1
  106. package/dist/assets/{ja-DMq-YXDX.js → ja-DZPUwZ9l.js} +1 -1
  107. package/dist/assets/{ko-BrYbXurh.js → ko-q4i4r9g6.js} +1 -1
  108. package/dist/assets/{landing-page-BJAji-kI.js → landing-page-JLA-ZD1t.js} +1 -1
  109. package/dist/assets/{launch-result-message-B2nhmkKt.js → launch-result-message-DJqF-slD.js} +1 -1
  110. package/dist/assets/{layout-CydCBGqn.js → layout-Cwvm7lmD.js} +1 -1
  111. package/dist/assets/{list-BIwaCPhs.js → list-3MUy-8Ol.js} +2 -2
  112. package/dist/assets/{list-CO8Xp7iX.js → list-BSXHuqLM.js} +1 -1
  113. package/dist/assets/{list-header-DQZTNnUc.js → list-header-BEZSwSji.js} +1 -1
  114. package/dist/assets/localization-Dond4H78.js +1 -0
  115. package/dist/assets/{log-JZXyzrRA.js → log-Bq445Z1e.js} +1 -1
  116. package/dist/assets/logger-CCAAJ2Xo.js +1 -0
  117. package/dist/assets/{login-CU5Tw5QB.js → login-dc2t9Qyo.js} +1 -1
  118. package/dist/assets/{login-method-item-KhJ672kA.js → login-method-item-CyTsqz88.js} +1 -1
  119. package/dist/assets/{login-oauth-callback-Bz7N73Sg.js → login-oauth-callback-Bext19kc.js} +1 -1
  120. package/dist/assets/{logo-uploader-DjKJkvts.js → logo-uploader-CyZuvhwV.js} +1 -1
  121. package/dist/assets/{lost-passport-CyJVtH1V.js → lost-passport-BiYg3QQI.js} +1 -1
  122. package/dist/assets/{metadata-CkzdOpl3.js → metadata-B2-Ltdko.js} +1 -1
  123. package/dist/assets/{nav-menu-5M0Q4jYU.js → nav-menu-DSdXRbfg.js} +1 -1
  124. package/dist/assets/{open-window-DphH3aTv.js → open-window-Dyu79ome.js} +1 -1
  125. package/dist/assets/over-due-invoice-payment-DzUsy6q0.js +1 -0
  126. package/dist/assets/{overview-CGIG2I_w.js → overview-0TBmi-_i.js} +1 -1
  127. package/dist/assets/{page-header-B0HpJClf.js → page-header-qdK3sAJh.js} +1 -1
  128. package/dist/assets/{passport-DKYg_d4G.js → passport-BhEaZ-sr.js} +1 -1
  129. package/dist/assets/{passport-item-CjcqN_g-.js → passport-item-DHwif94N.js} +1 -1
  130. package/dist/assets/{permission-DhyiLNfC.js → permission-CvrrGfG6.js} +1 -1
  131. package/dist/assets/preferences-BBSWzZiT.js +1 -0
  132. package/dist/assets/profile-embed-shcOdRUI.js +1 -0
  133. package/dist/assets/{provider-icon-DX-QfJQN.js → provider-icon-DO2PqSth.js} +1 -1
  134. package/dist/assets/{pt-Dl6732JN.js → pt-BFCHl6F1.js} +1 -1
  135. package/dist/assets/{publish-resource-vCC9AfJK.js → publish-resource-CMuHIOUf.js} +1 -1
  136. package/dist/assets/{react-beautiful-dnd.esm-bkXlrjYw.js → react-beautiful-dnd.esm-CWJ5I9Zv.js} +1 -1
  137. package/dist/assets/{react-stripe.esm-BBCEegrE.js → react-stripe.esm-B-FTN8ep.js} +1 -1
  138. package/dist/assets/{required-11pmtzQr.js → required-DnQpCGsD.js} +1 -1
  139. package/dist/assets/{ru-CVUeN9AX.js → ru-CSTl62kK.js} +1 -1
  140. package/dist/assets/{runtime-BjKYEBG_.js → runtime-B_ZLP4FF.js} +1 -1
  141. package/dist/assets/sdk-CktKu_IW.js +1 -0
  142. package/dist/assets/{section-ewv0pNWr.js → section-CZylgxjz.js} +1 -1
  143. package/dist/assets/{security-Xrnc8Gqe.js → security-DHRU8k0u.js} +1 -1
  144. package/dist/assets/{session-lE2gmzzF.js → session-Bp3LV7zJ.js} +1 -1
  145. package/dist/assets/{setup-p5LUFpYK.js → setup-B6-Ei_3X.js} +1 -1
  146. package/dist/assets/{shorten-label-1iJcvGQT.js → shorten-label-CuBHsWUR.js} +1 -1
  147. package/dist/assets/{simple-select-BKXEgxog.js → simple-select-nI-W90c_.js} +1 -1
  148. package/dist/assets/{spaces-Ckljlc4d.js → spaces-ix8u0ZiI.js} +1 -1
  149. package/dist/assets/{start-BE-C9MhV.js → start-oRp78RMQ.js} +1 -1
  150. package/dist/assets/{starting-progress-DC-J-5Os.js → starting-progress-CWp5fTY0.js} +1 -1
  151. package/dist/assets/{status-DR5t3VVx.js → status-Dn_LKaNp.js} +1 -1
  152. package/dist/assets/{step-actions-CArEuzNw.js → step-actions-DIZRcnXf.js} +1 -1
  153. package/dist/assets/{studio-BEzAGvQT.js → studio-CVIa8-XY.js} +1 -1
  154. package/dist/assets/{switch-CmVFEdik.js → switch-BbyTGEOo.js} +1 -1
  155. package/dist/assets/{switch-control-DbLHF-NB.js → switch-control-BRjXGc1d.js} +1 -1
  156. package/dist/assets/{table-tips-DQIh1EQR.js → table-tips-Dvmdodc5.js} +1 -1
  157. package/dist/assets/{team-7-48iuwj.js → team-BTz28XqK.js} +1 -1
  158. package/dist/assets/{th-32eBNQes.js → th-D75Dlluo.js} +1 -1
  159. package/dist/assets/theme-mode-toggle-D3bcd10D.js +1 -0
  160. package/dist/assets/{traffic-Dwd2RNqG.js → traffic-Cea69sMW.js} +1 -1
  161. package/dist/assets/{transfer-BwnSX6wY.js → transfer-BydXCVCg.js} +1 -1
  162. package/dist/assets/unsubscribe-BjAjx-Fl.js +1 -0
  163. package/dist/assets/{use-app-logo-BzsLZwwK.js → use-app-logo-IRizt64R.js} +1 -1
  164. package/dist/assets/{use-blocklet-logo-BWPJOOVd.js → use-blocklet-logo-Cf1j7pQz.js} +1 -1
  165. package/dist/assets/{use-mobile-DgmmfWdl.js → use-mobile-CyUZDIaX.js} +1 -1
  166. package/dist/assets/{use-mobile-BSL5RsRd.js → use-mobile-DFkQ5N0b.js} +1 -1
  167. package/dist/assets/{use-mobile-TAIHvgoJ.js → use-mobile-DwGMuJlg.js} +1 -1
  168. package/dist/assets/{use-server-logo-BLcfNvrR.js → use-server-logo-KZn9RrZd.js} +1 -1
  169. package/dist/assets/{use-window-close-D2_118dJ.js → use-window-close-Dpj5UcYT.js} +1 -1
  170. package/dist/assets/{useAsyncRetry-B-Txlvk6.js → useAsyncRetry-C4R9ufi-.js} +1 -1
  171. package/dist/assets/{useLocalStorage-D6axLnAi.js → useLocalStorage-BQfIniHX.js} +1 -1
  172. package/dist/assets/{user-center-DBscV1le.js → user-center-6K47tx8j.js} +5 -5
  173. package/dist/assets/{user-follower-Di51icra.js → user-follower-BwzTutxU.js} +1 -1
  174. package/dist/assets/{util-DCHBQZpP.js → util-DkTwHdRu.js} +1 -1
  175. package/dist/assets/{util-ad0rjUA1.js → util-DySzCymV.js} +1 -1
  176. package/dist/assets/{vendor-arcblock-ivFYo5vP.js → vendor-arcblock-Dll6qxMT.js} +1 -1
  177. package/dist/assets/{vendor-mui-core-D7t4vMS5.js → vendor-mui-core-CV-FnYH_.js} +1 -1
  178. package/dist/assets/{vendor-mui-x-BpPw6UfF.js → vendor-mui-x-DwN6dcQH.js} +1 -1
  179. package/dist/assets/{vendor-ux-Dl3wVbv_.js → vendor-ux-CLT2i3Pv.js} +2 -2
  180. package/dist/assets/{vi-DF8IinAc.js → vi-D1mKYrmb.js} +1 -1
  181. package/dist/assets/{wait-connect-DOIonmAv.js → wait-connect-q0_7mz_u.js} +1 -1
  182. package/dist/assets/wallet-hidden-topbar-joIVZ1nl.js +68 -0
  183. package/dist/assets/{wizard-CrkxQgBY.js → wizard-C5Kl-g70.js} +1 -1
  184. package/dist/assets/{wizard-components-BzPyRFRt.js → wizard-components-DQrlaeeW.js} +1 -1
  185. package/dist/assets/wrap-locale-5DJTJTXP.js +1 -0
  186. package/dist/assets/{zh-DQQBhbva.js → zh-CJ9vCpmv.js} +1 -1
  187. package/dist/assets/{zh-ByJkLAV1.js → zh-G2I44gfs.js} +1 -1
  188. package/dist/assets/{zh-tw-34G9tsUP.js → zh-tw-C4Juvs-i.js} +1 -1
  189. package/dist/index.html +1 -1
  190. package/package.json +31 -31
  191. package/dist/assets/branding-D-ShZ8m2.js +0 -1
  192. package/dist/assets/button-B_Qd9K_t.js +0 -1
  193. package/dist/assets/domains-B9b2gmbn.js +0 -1
  194. package/dist/assets/engine-L1SEogaX.js +0 -1
  195. package/dist/assets/get-safe-url-D4zRnTpF.js +0 -1
  196. package/dist/assets/index-BoJbHOhC.js +0 -1
  197. package/dist/assets/invitations-gJ3uAWGN.js +0 -3
  198. package/dist/assets/localization-BYdi6ljV.js +0 -1
  199. package/dist/assets/logger-BMHd-C1S.js +0 -1
  200. package/dist/assets/over-due-invoice-payment-DD_j5vb4.js +0 -1
  201. package/dist/assets/preferences-DHjRWgwZ.js +0 -1
  202. package/dist/assets/profile-embed-Gc79_Dhj.js +0 -1
  203. package/dist/assets/sdk-CXEy5Pgp.js +0 -1
  204. package/dist/assets/theme-mode-toggle-BltDSXhy.js +0 -1
  205. package/dist/assets/unsubscribe-CP0mTwWi.js +0 -1
  206. package/dist/assets/wallet-hidden-topbar-DKISAPb3.js +0 -68
  207. package/dist/assets/wrap-locale-BJF_SaOe.js +0 -1
@@ -0,0 +1 @@
1
+ import{j as t,I as n,c1 as l,c2 as m}from"./vendor-mui-core-CV-FnYH_.js";import{z as i}from"./vendor-hooks-DAZ1H6Va.js";import{bt as c}from"./vendor-ux-CLT2i3Pv.js";function f(){const{mode:e,toggleMode:o,prefer:r}=c(),{run:s}=i(()=>{o()},{wait:300});return o&&(r==="system"||window.blocklet?.theme?.prefer==="system")?t.jsx(n,{onClick:s,children:e==="light"?t.jsx(l,{}):t.jsx(m,{})}):null}export{f as g};
@@ -1 +1 @@
1
- import{a as n,r as R}from"./vendor-react-DX7tU9aY.js";import{c3 as Ne,M as j,W as Oe,a6 as ue,c as Te,_ as me}from"./index-Ca33rdd_.js";import{az as je,z as Ie}from"./vendor-utils-BzQg432x.js";import{u as Pe}from"./useAsyncRetry-B-Txlvk6.js";import{I as Ye}from"./iframe-C5nvJ0m0.js";import{al as $,P as Me,a_ as h,a4 as ne,T as Y,dN as Fe,W as Le,U as _e,aN as He,I as K,cR as We,z as fe,bN as he,M as pe,cQ as Ae,dO as ze,n as ge,j as p,X as I,G as Ve,a7 as qe,b4 as Be,R as $e,aL as Ke,bf as Je}from"./vendor-mui-core-D7t4vMS5.js";import{r as ie,b as ye,G as T,z as re,M as W,L as A,A as P,e as z,K as V,J,I as U,C as F,B as w,E as De,Q as le,y as Ue,D as Ge,H as ce,d as Qe,P as se,F as H,R as Xe,S as Ze,N as et,U as tt,O as at}from"./index-Ddl9fWMP.js";import{cv as be,W as Re}from"./vendor-ux-Dl3wVbv_.js";import{f as nt}from"./index-DBs9Ljax.js";import{B as rt}from"./base-chart-DWXZOkNE.js";import{L as st,a as ot}from"./vendor-mui-x-BpPw6UfF.js";import{A as it}from"./AdapterDayjs-BI3dme25.js";function ke(e){ie(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(be(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var a;return t.forEach(function(r){var s=ye(r);(a===void 0||a<s||isNaN(Number(s)))&&(a=s)}),a||new Date(NaN)}function Se(e){ie(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(be(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var a;return t.forEach(function(r){var s=ye(r);(a===void 0||a>s||isNaN(s.getDate()))&&(a=s)}),a||new Date(NaN)}function lt(e){return ie(1,arguments),T(e,Date.now())}const ct=(e,t)=>Array.from({length:Math.ceil(e.length/t)},(a,r)=>e.slice(r*t,r*t+t)),dt=(e,t)=>{const a=A(V(e),{locale:t}),r=W(z(e),{locale:t}),s=[];for(let o=a;H(o,r);)s.push(o),o=re(o,1);return s},ut=({startDate:e},t)=>e&&T(t,e),mt=({endDate:e},t)=>e&&T(t,e),ft=({startDate:e,endDate:t},a)=>e&&t&&(le(a,{start:e,end:t})||T(a,e)||T(a,t)),ht=({startDate:e,endDate:t})=>e&&t?T(e,t):!1,ve=(e,t)=>{if(e){const a=e instanceof Date?e:Ue(e);if(Ge(a))return a}return t},pt=(e,t,a)=>{const{startDate:r,endDate:s}=e;if(r&&s){const o=ke([r,t]),c=Se([s,a]);return[o,ce(o,c)?w(o,1):c]}return[r,s]},gt=(e,t)=>[{label:"Today",startDate:e,endDate:e},{label:"Yesterday",startDate:re(e,-1),endDate:re(e,-1)},{label:"This Week",startDate:A(e,{locale:t}),endDate:W(e,{locale:t})},{label:"Last Week",startDate:A(P(e,-1),{locale:t}),endDate:W(P(e,-1),{locale:t})},{label:"Last 7 Days",startDate:P(e,-1),endDate:e},{label:"This Month",startDate:V(e),endDate:z(e)},{label:"Last Month",startDate:V(w(e,-1)),endDate:z(w(e,-1))},{label:"This Year",startDate:U(e),endDate:J(e)},{label:"Last Year",startDate:U(F(e,-1)),endDate:J(F(e,-1))}],Dt=(e,t)=>{const a=Math.floor(t/2);return Array(t).fill(0).map((r,s)=>e.getFullYear()-a+s)},vt=({date:e,setDate:t,nextDisabled:a,prevDisabled:r,onClickNext:s,onClickPrevious:o,locale:c})=>{const m=typeof c<"u"?[...Array(12).keys()].map(l=>{var v;return(v=c.localize)===null||v===void 0?void 0:v.month(l,{width:"abbreviated",context:"standalone"})}):["Jan","Feb","Mar","Apr","May","June","July","Aug","Sept","Oct","Nov","Dec"],g=l=>{t(tt(e,parseInt(l.target.value,10)))},d=l=>{t(at(e,parseInt(l.target.value,10)))};return n.createElement(h,{container:!0,justifyContent:"space-between",alignItems:"center"},n.createElement(h,{item:!0,sx:{padding:"5px"}},n.createElement(K,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:r,onClick:o},n.createElement(We,{color:r?"disabled":"action"}))),n.createElement(h,{item:!0},n.createElement(fe,{variant:"standard"},n.createElement(he,{value:Ze(e),onChange:g,MenuProps:{disablePortal:!0}},m.map((l,v)=>n.createElement(pe,{key:l,value:v},l))))),n.createElement(h,{item:!0},n.createElement(fe,{variant:"standard"},n.createElement(he,{value:et(e),onChange:d,MenuProps:{disablePortal:!0}},Dt(e,30).map(l=>n.createElement(pe,{key:l,value:l},l))))),n.createElement(h,{item:!0,sx:{padding:"5px"}},n.createElement(K,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:a,onClick:s},n.createElement(Ae,{color:a?"disabled":"action"}))))},xt=({startOfRange:e,endOfRange:t,disabled:a,highlighted:r,outlined:s,filled:o,onClick:c,onHover:m,value:g})=>n.createElement($,{sx:{display:"flex",borderRadius:e?"50% 0 0 50%":t?"0 50% 50% 0":void 0,backgroundColor:d=>!a&&r?d.palette.primary.light:void 0}},n.createElement(K,{sx:Object.assign({height:"36px",width:"36px",padding:0,border:d=>!a&&s?`1px solid ${d.palette.primary.dark}`:void 0},!a&&o?{"&:hover":{backgroundColor:d=>d.palette.primary.dark},backgroundColor:d=>d.palette.primary.dark}:{}),disabled:a,onClick:c,onMouseOver:m},n.createElement(Y,{sx:{lineHeight:1.6,color:d=>a?d.palette.text.secondary:o?d.palette.primary.contrastText:d.palette.text.primary},variant:"body2"},g)));var G;(function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"})(G||(G={}));const xe=e=>{var t;const{helpers:a,handlers:r,value:s,dateRange:o,marker:c,setValue:m,minDate:g,maxDate:d,locale:l}=e,v=((t=l?.options)===null||t===void 0?void 0:t.weekStartsOn)||0,C=typeof l<"u"?[...Array(7).keys()].map(D=>{var E;return(E=l.localize)===null||E===void 0?void 0:E.day((D+v)%7,{width:"short",context:"standalone"})}):["Su","Mo","Tu","We","Th","Fr","Sa"],[x,k]=e.navState;return n.createElement(Me,{square:!0,elevation:0,sx:{width:290}},n.createElement(h,{container:!0},n.createElement(vt,{date:s,setDate:m,nextDisabled:!k,prevDisabled:!x,onClickPrevious:()=>r.onMonthNavigate(c,G.Previous),onClickNext:()=>r.onMonthNavigate(c,G.Next),locale:l}),n.createElement(h,{item:!0,container:!0,direction:"row",justifyContent:"space-between",sx:{marginTop:"10px",paddingLeft:"30px",paddingRight:"30px"}},C.map((D,E)=>n.createElement(Y,{color:"textSecondary",key:E,variant:"caption"},D))),n.createElement(h,{item:!0,container:!0,direction:"column",justifyContent:"space-between",sx:{paddingLeft:"15px",paddingRight:"15px",marginTop:"15px",marginBottom:"20px"}},ct(dt(s,l),7).map((D,E)=>n.createElement(h,{key:E,container:!0,direction:"row",justifyContent:"center"},D.map(f=>{const N=ut(o,f),b=mt(o,f),S=ht(o),M=ft(o,f)||a.inHoverRange(f);return n.createElement(xt,{key:se(f,"dd-MM-yyyy"),filled:N||b,outlined:lt(f),highlighted:M&&!S,disabled:!ce(s,f)||!le(f,{start:g,end:d}),startOfRange:N&&!S,endOfRange:b&&!S,onClick:()=>r.onDayClick(f),onHover:()=>r.onDayHover(f),value:Xe(f)})}))))))},Ee=(e,t)=>{const{startDate:a,endDate:r}=e,{startDate:s,endDate:o}=t;return a&&s&&r&&o?T(a,s)&&T(r,o):!1},Et=({ranges:e,setRange:t,selectedRange:a})=>n.createElement(Le,null,e.map((r,s)=>n.createElement(_e,{button:!0,key:s,onClick:()=>t(r),sx:[Ee(r,a)&&{backgroundColor:o=>o.palette.primary.dark,color:"primary.contrastText","&:hover":{color:"inherit"}}]},n.createElement(He,{primaryTypographyProps:{variant:"body2",sx:{fontWeight:Ee(r,a)?"bold":"normal"}}},r.label)))),oe={FIRST_MONTH:Symbol("firstMonth"),SECOND_MONTH:Symbol("secondMonth")},Mt=e=>{const{ranges:t,dateRange:a,minDate:r,maxDate:s,firstMonth:o,setFirstMonth:c,secondMonth:m,setSecondMonth:g,setDateRange:d,helpers:l,handlers:v,locale:C}=e,{startDate:x,endDate:k}=a,D=Qe(m,o)>=2,E={dateRange:a,minDate:r,maxDate:s,helpers:l,handlers:v};return n.createElement(Me,{elevation:5,square:!0},n.createElement(h,{container:!0,direction:"row",wrap:"nowrap"},n.createElement(h,null,n.createElement(Et,{selectedRange:a,ranges:t,setRange:d})),n.createElement(ne,{orientation:"vertical",flexItem:!0}),n.createElement(h,null,n.createElement(h,{container:!0,sx:{padding:"20px 70px"},alignItems:"center"},n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},x?se(x,"dd MMMM yyyy",{locale:C}):"Start Date")),n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Fe,{color:"action"})),n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},k?se(k,"dd MMMM yyyy",{locale:C}):"End Date"))),n.createElement(ne,null),n.createElement(h,{container:!0,direction:"row",justifyContent:"center",wrap:"nowrap"},n.createElement(xe,Object.assign({},E,{value:o,setValue:c,navState:[!0,D],marker:oe.FIRST_MONTH,locale:C})),n.createElement(ne,{orientation:"vertical",flexItem:!0}),n.createElement(xe,Object.assign({},E,{value:m,setValue:g,navState:[D,!0],marker:oe.SECOND_MONTH,locale:C}))))))},yt=e=>{const t=new Date,{open:a,onChange:r,initialDateRange:s,minDate:o,maxDate:c,definedRanges:m=gt(new Date,e.locale),locale:g}=e,d=ve(o,F(t,-10)),l=ve(c,F(t,10)),[v,C]=pt(s||{},d,l),[x,k]=R.useState(Object.assign({},s)),[D,E]=R.useState(),[f,N]=R.useState(v||t),[b,S]=R.useState(C||w(f,1)),{startDate:M,endDate:L}=x,q=u=>{H(u,b)&&N(u)},_=u=>{De(u,f)&&S(u)},Q=u=>{let{startDate:i,endDate:y}=u;if(i&&y)u.startDate=i=ke([i,d]),u.endDate=y=Se([y,l]),k(u),r(u),N(i),S(ce(i,y)?w(i,1):y);else{const de={};k(de),r(de),N(t),S(w(f,1))}},B=u=>{if(M&&!L&&!H(u,M)){const i={startDate:M,endDate:u};r(i),k(i)}else k({startDate:u,endDate:void 0});E(u)},X=(u,i)=>{if(u===oe.FIRST_MONTH){const y=w(f,i);H(y,b)&&N(y)}else{const y=w(b,i);H(f,y)&&S(y)}},Z=u=>{M&&!L&&(!D||!T(u,D))&&E(u)},te={inHoverRange:u=>M&&!L&&D&&De(D,M)&&le(u,{start:M,end:D})},ae={onDayClick:B,onDayHover:Z,onMonthNavigate:X};return a?R.createElement(Mt,{dateRange:x,minDate:d,maxDate:l,ranges:m,firstMonth:f,secondMonth:b,setFirstMonth:q,setSecondMonth:_,setDateRange:Q,helpers:te,handlers:ae,locale:g}):null},bt=e=>{const{closeOnClickOutside:t,wrapperClassName:a,toggle:r,open:s}=e,o=()=>{t!==!1&&r()},c=m=>m?.key==="Escape"&&o();return n.createElement($,{sx:{position:"relative"}},s&&n.createElement($,{sx:{position:"fixed",height:"100vh",width:"100vw",bottom:0,zIndex:0,right:0,left:0,top:0},onKeyPress:c,onClick:o}),n.createElement($,{sx:{position:"relative",zIndex:1},className:a},n.createElement(yt,Object.assign({},e))))},Rt=e=>n.createElement(bt,Object.assign({},e));function Ce({title:e="",total:t=0,hoverIndex:a=null,onHover:r=()=>{},history:s=[],valueFn:o=c=>c}){const c=ze(),{locale:m}=Re(),g=[{min:0,max:t,color:ge(c.palette.primary.main,c.palette.mode==="dark"?.15:.08)},{min:t,color:ge(c.palette.primary.main,c.palette.mode==="dark"?.15:.08)}];return p.jsx(rt,{title:e,total:t,history:s,valueFn:o,onHover:r,hoverIndex:a,xAxisFormat:d=>Ne(d,"MM-DD",m),visualMapPieces:g,markLineData:void 0,extraInfo:null})}Ce.propTypes={title:I.string,total:I.number,history:I.array,valueFn:I.func,hoverIndex:I.number,onHover:I.func};const O=je(0),we=(e,t)=>[{label:"This Week",startDate:A(e,{locale:t}),endDate:W(e,{locale:t})},{label:"Last Week",startDate:A(P(e,-1),{locale:t}),endDate:W(P(e,-1),{locale:t})},{label:"Last 7 Days",startDate:P(e,-1),endDate:e},{label:"This Month",startDate:V(e),endDate:z(e)},{label:"Last Month",startDate:V(w(e,-1)),endDate:z(w(e,-1))},{label:"This Year",startDate:U(e),endDate:J(e)},{label:"Last Year",startDate:U(F(e,-1)),endDate:J(F(e,-1))}],kt=Array.from({length:7},(e,t)=>({value:0,date:j().subtract(t,"day").format("YYYY-MM-DD")})).reverse();function St({client:e,did:t}){const a=j().subtract(1,"day").toDate(),{info:r,inService:s}=Oe(),{t:o,locale:c}=Re(),[m,g]=R.useState(null),[d,l]=R.useState(!1),[v,C]=R.useState(a),[x,k]=R.useState({startDate:j().subtract(30,"day").toDate(),endDate:a}),D=Ve(),[E,f]=R.useState(null),N=R.useCallback(i=>{f(i)},[]),b=Pe(async()=>(await e.getTrafficInsights({input:{did:t,startDate:j(x.startDate).format("YYYY-MM-DD"),endDate:j(x.endDate).format("YYYY-MM-DD")}})).list);R.useEffect(()=>{b.loading||x.startDate&&x.endDate&&b.retry()},[x]);const S=i=>{g(m?null:i.currentTarget)},M=b.value||[],{loading:L,error:q}=b;if(!M.length&&L)return p.jsx(qe,{});if(q)return p.jsx(Be,{severity:"error",children:nt(q)});const _={totalRequests:O,validRequests:O,failedRequests:O,uniqueVisitors:O,uniqueFiles:O,uniqueReferrers:O,uniqueNotFound:O,uniqueStaticFiles:O,logSize:ue,bandwidth:ue},Q=Object.keys(_).map(i=>({id:`${i}_chart`,title:o(`analytics.traffic.${i}`),current:M.length?_[i](M[0][i]):0,data:M.length?M.map(y=>({date:y.date,value:y[i]})).reverse():kt,dateFn:O,valueFn:_[i],total:0})),B=!!m,X=B?"date-range-picker-popover":void 0,Z=s?Te.WELLKNOWN_SERVICE_PATH_PREFIX:r.routing.adminPath,ee=Ie(window.location.origin,Z,`/api/analytics/traffic?date=${j(v).format("YYYY-MM-DD")}&did=${t}&theme=${D.palette.mode}`),te=i=>{k(i),g(null)},ae=i=>{C(i.toDate()),l(!1)},u=()=>{window.open(ee)};return p.jsxs("div",{children:[p.jsxs(Y,{component:"div",variant:"h5",className:"page-header",color:"textPrimary",style:{fontSize:18,fontWeight:"bold"},sx:{mb:2},children:[o("analytics.trend"),p.jsxs($e,{onClick:S,variant:"outlined",size:"small",color:"inherit",sx:{fontWeight:400},children:[me(x.startDate,c)," - ",me(x.endDate,c)]})]}),p.jsx(Ke,{id:X,open:B,anchorEl:m,onClose:()=>g(null),anchorOrigin:{vertical:"bottom",horizontal:"left"},children:p.jsx(Rt,{open:!0,toggle:S,maxDate:a,definedRanges:we(v),onChange:te})}),p.jsx(h,{container:!0,spacing:4,children:Q.map(i=>p.jsx(h,{sx:{pt:"16px !important"},size:{lg:4,md:6,sm:6,xs:12},children:p.jsx(Ce,{title:`${i.title}`,total:i.total,empty:null,history:i.data,style:{height:150},valueFn:i.valueFn,hoverIndex:E,onHover:N})},i.id))}),p.jsxs(Y,{component:"div",variant:"h5",className:"page-header",color:"textPrimary",style:{fontSize:18,fontWeight:"bold"},sx:{mt:4,mb:1},children:[o("analytics.detail"),p.jsxs("span",{children:[d&&p.jsx(K,{onClick:u,style:{marginRight:32},children:p.jsx(Je,{})}),p.jsx(st,{dateAdapter:it,children:p.jsx(ot,{disableFuture:!0,format:"ll",value:j(v),onChange:ae,slotProps:{textField:{size:"small"}}})})]})]}),p.jsx(Ye,{url:ee,width:"100%",height:"100%",frameBorder:0,onLoad:()=>l(!0),styles:{border:0,minHeight:"400vh"}})]})}const Ht=Object.freeze(Object.defineProperty({__proto__:null,default:St,getDefaultRanges:we},Symbol.toStringTag,{value:"Module"}));export{Rt as D,we as g,Ht as t};
1
+ import{a as n,r as R}from"./vendor-react-DX7tU9aY.js";import{c3 as Ne,M as j,W as Oe,a6 as ue,c as Te,_ as me}from"./index-CXp5SI_f.js";import{az as je,z as Ie}from"./vendor-utils-BzQg432x.js";import{u as Pe}from"./useAsyncRetry-C4R9ufi-.js";import{I as Ye}from"./iframe-DUzp97tk.js";import{al as $,P as Me,a_ as h,a4 as ne,T as Y,dN as Fe,W as Le,U as _e,aN as He,I as K,cR as We,z as fe,bN as he,M as pe,cQ as Ae,dO as ze,n as ge,j as p,X as I,G as Ve,a7 as qe,b4 as Be,R as $e,aL as Ke,bf as Je}from"./vendor-mui-core-CV-FnYH_.js";import{r as ie,b as ye,G as T,z as re,M as W,L as A,A as P,e as z,K as V,J,I as U,C as F,B as w,E as De,Q as le,y as Ue,D as Ge,H as ce,d as Qe,P as se,F as H,R as Xe,S as Ze,N as et,U as tt,O as at}from"./index-DFUM0Pvk.js";import{cx as be,W as Re}from"./vendor-ux-CLT2i3Pv.js";import{f as nt}from"./index-DBs9Ljax.js";import{B as rt}from"./base-chart-DcZV4ZCI.js";import{L as st,a as ot}from"./vendor-mui-x-DwN6dcQH.js";import{A as it}from"./AdapterDayjs-CYW0YvmK.js";function ke(e){ie(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(be(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var a;return t.forEach(function(r){var s=ye(r);(a===void 0||a<s||isNaN(Number(s)))&&(a=s)}),a||new Date(NaN)}function Se(e){ie(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(be(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var a;return t.forEach(function(r){var s=ye(r);(a===void 0||a>s||isNaN(s.getDate()))&&(a=s)}),a||new Date(NaN)}function lt(e){return ie(1,arguments),T(e,Date.now())}const ct=(e,t)=>Array.from({length:Math.ceil(e.length/t)},(a,r)=>e.slice(r*t,r*t+t)),dt=(e,t)=>{const a=A(V(e),{locale:t}),r=W(z(e),{locale:t}),s=[];for(let o=a;H(o,r);)s.push(o),o=re(o,1);return s},ut=({startDate:e},t)=>e&&T(t,e),mt=({endDate:e},t)=>e&&T(t,e),ft=({startDate:e,endDate:t},a)=>e&&t&&(le(a,{start:e,end:t})||T(a,e)||T(a,t)),ht=({startDate:e,endDate:t})=>e&&t?T(e,t):!1,ve=(e,t)=>{if(e){const a=e instanceof Date?e:Ue(e);if(Ge(a))return a}return t},pt=(e,t,a)=>{const{startDate:r,endDate:s}=e;if(r&&s){const o=ke([r,t]),c=Se([s,a]);return[o,ce(o,c)?w(o,1):c]}return[r,s]},gt=(e,t)=>[{label:"Today",startDate:e,endDate:e},{label:"Yesterday",startDate:re(e,-1),endDate:re(e,-1)},{label:"This Week",startDate:A(e,{locale:t}),endDate:W(e,{locale:t})},{label:"Last Week",startDate:A(P(e,-1),{locale:t}),endDate:W(P(e,-1),{locale:t})},{label:"Last 7 Days",startDate:P(e,-1),endDate:e},{label:"This Month",startDate:V(e),endDate:z(e)},{label:"Last Month",startDate:V(w(e,-1)),endDate:z(w(e,-1))},{label:"This Year",startDate:U(e),endDate:J(e)},{label:"Last Year",startDate:U(F(e,-1)),endDate:J(F(e,-1))}],Dt=(e,t)=>{const a=Math.floor(t/2);return Array(t).fill(0).map((r,s)=>e.getFullYear()-a+s)},vt=({date:e,setDate:t,nextDisabled:a,prevDisabled:r,onClickNext:s,onClickPrevious:o,locale:c})=>{const m=typeof c<"u"?[...Array(12).keys()].map(l=>{var v;return(v=c.localize)===null||v===void 0?void 0:v.month(l,{width:"abbreviated",context:"standalone"})}):["Jan","Feb","Mar","Apr","May","June","July","Aug","Sept","Oct","Nov","Dec"],g=l=>{t(tt(e,parseInt(l.target.value,10)))},d=l=>{t(at(e,parseInt(l.target.value,10)))};return n.createElement(h,{container:!0,justifyContent:"space-between",alignItems:"center"},n.createElement(h,{item:!0,sx:{padding:"5px"}},n.createElement(K,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:r,onClick:o},n.createElement(We,{color:r?"disabled":"action"}))),n.createElement(h,{item:!0},n.createElement(fe,{variant:"standard"},n.createElement(he,{value:Ze(e),onChange:g,MenuProps:{disablePortal:!0}},m.map((l,v)=>n.createElement(pe,{key:l,value:v},l))))),n.createElement(h,{item:!0},n.createElement(fe,{variant:"standard"},n.createElement(he,{value:et(e),onChange:d,MenuProps:{disablePortal:!0}},Dt(e,30).map(l=>n.createElement(pe,{key:l,value:l},l))))),n.createElement(h,{item:!0,sx:{padding:"5px"}},n.createElement(K,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:a,onClick:s},n.createElement(Ae,{color:a?"disabled":"action"}))))},xt=({startOfRange:e,endOfRange:t,disabled:a,highlighted:r,outlined:s,filled:o,onClick:c,onHover:m,value:g})=>n.createElement($,{sx:{display:"flex",borderRadius:e?"50% 0 0 50%":t?"0 50% 50% 0":void 0,backgroundColor:d=>!a&&r?d.palette.primary.light:void 0}},n.createElement(K,{sx:Object.assign({height:"36px",width:"36px",padding:0,border:d=>!a&&s?`1px solid ${d.palette.primary.dark}`:void 0},!a&&o?{"&:hover":{backgroundColor:d=>d.palette.primary.dark},backgroundColor:d=>d.palette.primary.dark}:{}),disabled:a,onClick:c,onMouseOver:m},n.createElement(Y,{sx:{lineHeight:1.6,color:d=>a?d.palette.text.secondary:o?d.palette.primary.contrastText:d.palette.text.primary},variant:"body2"},g)));var G;(function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"})(G||(G={}));const xe=e=>{var t;const{helpers:a,handlers:r,value:s,dateRange:o,marker:c,setValue:m,minDate:g,maxDate:d,locale:l}=e,v=((t=l?.options)===null||t===void 0?void 0:t.weekStartsOn)||0,C=typeof l<"u"?[...Array(7).keys()].map(D=>{var E;return(E=l.localize)===null||E===void 0?void 0:E.day((D+v)%7,{width:"short",context:"standalone"})}):["Su","Mo","Tu","We","Th","Fr","Sa"],[x,k]=e.navState;return n.createElement(Me,{square:!0,elevation:0,sx:{width:290}},n.createElement(h,{container:!0},n.createElement(vt,{date:s,setDate:m,nextDisabled:!k,prevDisabled:!x,onClickPrevious:()=>r.onMonthNavigate(c,G.Previous),onClickNext:()=>r.onMonthNavigate(c,G.Next),locale:l}),n.createElement(h,{item:!0,container:!0,direction:"row",justifyContent:"space-between",sx:{marginTop:"10px",paddingLeft:"30px",paddingRight:"30px"}},C.map((D,E)=>n.createElement(Y,{color:"textSecondary",key:E,variant:"caption"},D))),n.createElement(h,{item:!0,container:!0,direction:"column",justifyContent:"space-between",sx:{paddingLeft:"15px",paddingRight:"15px",marginTop:"15px",marginBottom:"20px"}},ct(dt(s,l),7).map((D,E)=>n.createElement(h,{key:E,container:!0,direction:"row",justifyContent:"center"},D.map(f=>{const N=ut(o,f),b=mt(o,f),S=ht(o),M=ft(o,f)||a.inHoverRange(f);return n.createElement(xt,{key:se(f,"dd-MM-yyyy"),filled:N||b,outlined:lt(f),highlighted:M&&!S,disabled:!ce(s,f)||!le(f,{start:g,end:d}),startOfRange:N&&!S,endOfRange:b&&!S,onClick:()=>r.onDayClick(f),onHover:()=>r.onDayHover(f),value:Xe(f)})}))))))},Ee=(e,t)=>{const{startDate:a,endDate:r}=e,{startDate:s,endDate:o}=t;return a&&s&&r&&o?T(a,s)&&T(r,o):!1},Et=({ranges:e,setRange:t,selectedRange:a})=>n.createElement(Le,null,e.map((r,s)=>n.createElement(_e,{button:!0,key:s,onClick:()=>t(r),sx:[Ee(r,a)&&{backgroundColor:o=>o.palette.primary.dark,color:"primary.contrastText","&:hover":{color:"inherit"}}]},n.createElement(He,{primaryTypographyProps:{variant:"body2",sx:{fontWeight:Ee(r,a)?"bold":"normal"}}},r.label)))),oe={FIRST_MONTH:Symbol("firstMonth"),SECOND_MONTH:Symbol("secondMonth")},Mt=e=>{const{ranges:t,dateRange:a,minDate:r,maxDate:s,firstMonth:o,setFirstMonth:c,secondMonth:m,setSecondMonth:g,setDateRange:d,helpers:l,handlers:v,locale:C}=e,{startDate:x,endDate:k}=a,D=Qe(m,o)>=2,E={dateRange:a,minDate:r,maxDate:s,helpers:l,handlers:v};return n.createElement(Me,{elevation:5,square:!0},n.createElement(h,{container:!0,direction:"row",wrap:"nowrap"},n.createElement(h,null,n.createElement(Et,{selectedRange:a,ranges:t,setRange:d})),n.createElement(ne,{orientation:"vertical",flexItem:!0}),n.createElement(h,null,n.createElement(h,{container:!0,sx:{padding:"20px 70px"},alignItems:"center"},n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},x?se(x,"dd MMMM yyyy",{locale:C}):"Start Date")),n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Fe,{color:"action"})),n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},k?se(k,"dd MMMM yyyy",{locale:C}):"End Date"))),n.createElement(ne,null),n.createElement(h,{container:!0,direction:"row",justifyContent:"center",wrap:"nowrap"},n.createElement(xe,Object.assign({},E,{value:o,setValue:c,navState:[!0,D],marker:oe.FIRST_MONTH,locale:C})),n.createElement(ne,{orientation:"vertical",flexItem:!0}),n.createElement(xe,Object.assign({},E,{value:m,setValue:g,navState:[D,!0],marker:oe.SECOND_MONTH,locale:C}))))))},yt=e=>{const t=new Date,{open:a,onChange:r,initialDateRange:s,minDate:o,maxDate:c,definedRanges:m=gt(new Date,e.locale),locale:g}=e,d=ve(o,F(t,-10)),l=ve(c,F(t,10)),[v,C]=pt(s||{},d,l),[x,k]=R.useState(Object.assign({},s)),[D,E]=R.useState(),[f,N]=R.useState(v||t),[b,S]=R.useState(C||w(f,1)),{startDate:M,endDate:L}=x,q=u=>{H(u,b)&&N(u)},_=u=>{De(u,f)&&S(u)},Q=u=>{let{startDate:i,endDate:y}=u;if(i&&y)u.startDate=i=ke([i,d]),u.endDate=y=Se([y,l]),k(u),r(u),N(i),S(ce(i,y)?w(i,1):y);else{const de={};k(de),r(de),N(t),S(w(f,1))}},B=u=>{if(M&&!L&&!H(u,M)){const i={startDate:M,endDate:u};r(i),k(i)}else k({startDate:u,endDate:void 0});E(u)},X=(u,i)=>{if(u===oe.FIRST_MONTH){const y=w(f,i);H(y,b)&&N(y)}else{const y=w(b,i);H(f,y)&&S(y)}},Z=u=>{M&&!L&&(!D||!T(u,D))&&E(u)},te={inHoverRange:u=>M&&!L&&D&&De(D,M)&&le(u,{start:M,end:D})},ae={onDayClick:B,onDayHover:Z,onMonthNavigate:X};return a?R.createElement(Mt,{dateRange:x,minDate:d,maxDate:l,ranges:m,firstMonth:f,secondMonth:b,setFirstMonth:q,setSecondMonth:_,setDateRange:Q,helpers:te,handlers:ae,locale:g}):null},bt=e=>{const{closeOnClickOutside:t,wrapperClassName:a,toggle:r,open:s}=e,o=()=>{t!==!1&&r()},c=m=>m?.key==="Escape"&&o();return n.createElement($,{sx:{position:"relative"}},s&&n.createElement($,{sx:{position:"fixed",height:"100vh",width:"100vw",bottom:0,zIndex:0,right:0,left:0,top:0},onKeyPress:c,onClick:o}),n.createElement($,{sx:{position:"relative",zIndex:1},className:a},n.createElement(yt,Object.assign({},e))))},Rt=e=>n.createElement(bt,Object.assign({},e));function Ce({title:e="",total:t=0,hoverIndex:a=null,onHover:r=()=>{},history:s=[],valueFn:o=c=>c}){const c=ze(),{locale:m}=Re(),g=[{min:0,max:t,color:ge(c.palette.primary.main,c.palette.mode==="dark"?.15:.08)},{min:t,color:ge(c.palette.primary.main,c.palette.mode==="dark"?.15:.08)}];return p.jsx(rt,{title:e,total:t,history:s,valueFn:o,onHover:r,hoverIndex:a,xAxisFormat:d=>Ne(d,"MM-DD",m),visualMapPieces:g,markLineData:void 0,extraInfo:null})}Ce.propTypes={title:I.string,total:I.number,history:I.array,valueFn:I.func,hoverIndex:I.number,onHover:I.func};const O=je(0),we=(e,t)=>[{label:"This Week",startDate:A(e,{locale:t}),endDate:W(e,{locale:t})},{label:"Last Week",startDate:A(P(e,-1),{locale:t}),endDate:W(P(e,-1),{locale:t})},{label:"Last 7 Days",startDate:P(e,-1),endDate:e},{label:"This Month",startDate:V(e),endDate:z(e)},{label:"Last Month",startDate:V(w(e,-1)),endDate:z(w(e,-1))},{label:"This Year",startDate:U(e),endDate:J(e)},{label:"Last Year",startDate:U(F(e,-1)),endDate:J(F(e,-1))}],kt=Array.from({length:7},(e,t)=>({value:0,date:j().subtract(t,"day").format("YYYY-MM-DD")})).reverse();function St({client:e,did:t}){const a=j().subtract(1,"day").toDate(),{info:r,inService:s}=Oe(),{t:o,locale:c}=Re(),[m,g]=R.useState(null),[d,l]=R.useState(!1),[v,C]=R.useState(a),[x,k]=R.useState({startDate:j().subtract(30,"day").toDate(),endDate:a}),D=Ve(),[E,f]=R.useState(null),N=R.useCallback(i=>{f(i)},[]),b=Pe(async()=>(await e.getTrafficInsights({input:{did:t,startDate:j(x.startDate).format("YYYY-MM-DD"),endDate:j(x.endDate).format("YYYY-MM-DD")}})).list);R.useEffect(()=>{b.loading||x.startDate&&x.endDate&&b.retry()},[x]);const S=i=>{g(m?null:i.currentTarget)},M=b.value||[],{loading:L,error:q}=b;if(!M.length&&L)return p.jsx(qe,{});if(q)return p.jsx(Be,{severity:"error",children:nt(q)});const _={totalRequests:O,validRequests:O,failedRequests:O,uniqueVisitors:O,uniqueFiles:O,uniqueReferrers:O,uniqueNotFound:O,uniqueStaticFiles:O,logSize:ue,bandwidth:ue},Q=Object.keys(_).map(i=>({id:`${i}_chart`,title:o(`analytics.traffic.${i}`),current:M.length?_[i](M[0][i]):0,data:M.length?M.map(y=>({date:y.date,value:y[i]})).reverse():kt,dateFn:O,valueFn:_[i],total:0})),B=!!m,X=B?"date-range-picker-popover":void 0,Z=s?Te.WELLKNOWN_SERVICE_PATH_PREFIX:r.routing.adminPath,ee=Ie(window.location.origin,Z,`/api/analytics/traffic?date=${j(v).format("YYYY-MM-DD")}&did=${t}&theme=${D.palette.mode}`),te=i=>{k(i),g(null)},ae=i=>{C(i.toDate()),l(!1)},u=()=>{window.open(ee)};return p.jsxs("div",{children:[p.jsxs(Y,{component:"div",variant:"h5",className:"page-header",color:"textPrimary",style:{fontSize:18,fontWeight:"bold"},sx:{mb:2},children:[o("analytics.trend"),p.jsxs($e,{onClick:S,variant:"outlined",size:"small",color:"inherit",sx:{fontWeight:400},children:[me(x.startDate,c)," - ",me(x.endDate,c)]})]}),p.jsx(Ke,{id:X,open:B,anchorEl:m,onClose:()=>g(null),anchorOrigin:{vertical:"bottom",horizontal:"left"},children:p.jsx(Rt,{open:!0,toggle:S,maxDate:a,definedRanges:we(v),onChange:te})}),p.jsx(h,{container:!0,spacing:4,children:Q.map(i=>p.jsx(h,{sx:{pt:"16px !important"},size:{lg:4,md:6,sm:6,xs:12},children:p.jsx(Ce,{title:`${i.title}`,total:i.total,empty:null,history:i.data,style:{height:150},valueFn:i.valueFn,hoverIndex:E,onHover:N})},i.id))}),p.jsxs(Y,{component:"div",variant:"h5",className:"page-header",color:"textPrimary",style:{fontSize:18,fontWeight:"bold"},sx:{mt:4,mb:1},children:[o("analytics.detail"),p.jsxs("span",{children:[d&&p.jsx(K,{onClick:u,style:{marginRight:32},children:p.jsx(Je,{})}),p.jsx(st,{dateAdapter:it,children:p.jsx(ot,{disableFuture:!0,format:"ll",value:j(v),onChange:ae,slotProps:{textField:{size:"small"}}})})]})]}),p.jsx(Ye,{url:ee,width:"100%",height:"100%",frameBorder:0,onLoad:()=>l(!0),styles:{border:0,minHeight:"400vh"}})]})}const Ht=Object.freeze(Object.defineProperty({__proto__:null,default:St,getDefaultRanges:we},Symbol.toStringTag,{value:"Module"}));export{Rt as D,we as g,Ht as t};
@@ -1,4 +1,4 @@
1
- import{j as e,a7 as w,al as c,bg as C,T as S,aT as l}from"./vendor-mui-core-D7t4vMS5.js";import{u as k,n as y,b as T,e as b,U as A,l as D,c as E,w as R}from"./index-Ca33rdd_.js";import{H as I}from"./addon-N_sS-Sx6.js";import{K as P}from"./landing-page-BJAji-kI.js";import{W as F,b4 as W}from"./vendor-ux-Dl3wVbv_.js";import{r as H}from"./vendor-hooks-DAZ1H6Va.js";import{r as o}from"./vendor-react-DX7tU9aY.js";import{s as L}from"./vendor-arcblock-ivFYo5vP.js";import"./vendor-utils-BzQg432x.js";import"./theme-mode-toggle-BltDSXhy.js";import"./question-mark-circle.svg-B0bcUgC5.js";import"./use-blocklet-logo-BWPJOOVd.js";function Q(){const{t:s,locale:p}=F(),{api:f,session:d}=k(),{searchParams:m}=new URL(window.location.href),[u,x]=o.useState(!1),a=m.get("transferId"),h=window?.env?.appId,g=o.useCallback(async()=>{const{data:t}=await y.get("/blocklet/transfer",{params:{transferId:a}});return t},[a]),r=H(g),j=o.useCallback(async(t,i)=>{t&&(T(i(t.sessionToken)),b(i(t.refreshToken))),await d.refresh(),x(!0)},[]);if(r.loading)return e.jsx(w,{});if(r.error)return e.jsx(z,{children:e.jsx(A,{status:"404",title:r.error?.response?.data,description:""})});const v=r.data.status==="success";let n;return v||u?n=e.jsxs(e.Fragment,{children:[e.jsx(_,{children:e.jsx(I,{SessionContext:D})}),e.jsx(c,{sx:{pt:1,color:"success.main"},children:e.jsx(C,{style:{fontSize:80}})}),e.jsx(S,{variant:"h5",sx:{my:4},children:s("team.transferApp.successTitle")}),e.jsx("a",{href:`${E.WELLKNOWN_SERVICE_PATH_PREFIX}/admin`,children:e.jsx(W,{variant:"contained",children:s("team.transferApp.visitDashboard")})})]}):n=e.jsx(R,{popup:!0,open:!0,action:"receive-transfer-app-owner",checkFn:f.get,forceConnected:!1,autoConnect:!1,checkTimeout:600*1e3,onSuccess:j,onClose:()=>{},locale:p,messages:{title:s("team.transferApp.receiveDialog.title"),scan:s("team.transferApp.receiveDialog.scan"),confirm:s("team.transferApp.receiveDialog.confirm"),success:s("team.transferApp.receiveDialog.success")},extraParams:{transferId:a,appDid:h},hideCloseButton:!0}),e.jsx(P,{did:window.blocklet?.appPid,children:e.jsx(c,{sx:{maxWidth:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:n})})}const _=l(L)`
1
+ import{j as e,a7 as w,al as c,bg as C,T as S,aT as l}from"./vendor-mui-core-CV-FnYH_.js";import{u as k,n as y,b as T,e as b,U as A,l as D,c as E,w as R}from"./index-CXp5SI_f.js";import{H as I}from"./addon-DfWedLEC.js";import{K as P}from"./landing-page-JLA-ZD1t.js";import{W as F,b5 as W}from"./vendor-ux-CLT2i3Pv.js";import{r as H}from"./vendor-hooks-DAZ1H6Va.js";import{r as o}from"./vendor-react-DX7tU9aY.js";import{s as L}from"./vendor-arcblock-Dll6qxMT.js";import"./vendor-utils-BzQg432x.js";import"./theme-mode-toggle-D3bcd10D.js";import"./question-mark-circle.svg-B0bcUgC5.js";import"./use-blocklet-logo-Cf1j7pQz.js";function Q(){const{t:s,locale:p}=F(),{api:f,session:d}=k(),{searchParams:m}=new URL(window.location.href),[u,x]=o.useState(!1),a=m.get("transferId"),h=window?.env?.appId,g=o.useCallback(async()=>{const{data:t}=await y.get("/blocklet/transfer",{params:{transferId:a}});return t},[a]),r=H(g),j=o.useCallback(async(t,i)=>{t&&(T(i(t.sessionToken)),b(i(t.refreshToken))),await d.refresh(),x(!0)},[]);if(r.loading)return e.jsx(w,{});if(r.error)return e.jsx(z,{children:e.jsx(A,{status:"404",title:r.error?.response?.data,description:""})});const v=r.data.status==="success";let n;return v||u?n=e.jsxs(e.Fragment,{children:[e.jsx(_,{children:e.jsx(I,{SessionContext:D})}),e.jsx(c,{sx:{pt:1,color:"success.main"},children:e.jsx(C,{style:{fontSize:80}})}),e.jsx(S,{variant:"h5",sx:{my:4},children:s("team.transferApp.successTitle")}),e.jsx("a",{href:`${E.WELLKNOWN_SERVICE_PATH_PREFIX}/admin`,children:e.jsx(W,{variant:"contained",children:s("team.transferApp.visitDashboard")})})]}):n=e.jsx(R,{popup:!0,open:!0,action:"receive-transfer-app-owner",checkFn:f.get,forceConnected:!1,autoConnect:!1,checkTimeout:600*1e3,onSuccess:j,onClose:()=>{},locale:p,messages:{title:s("team.transferApp.receiveDialog.title"),scan:s("team.transferApp.receiveDialog.scan"),confirm:s("team.transferApp.receiveDialog.confirm"),success:s("team.transferApp.receiveDialog.success")},extraParams:{transferId:a,appDid:h},hideCloseButton:!0}),e.jsx(P,{did:window.blocklet?.appPid,children:e.jsx(c,{sx:{maxWidth:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:n})})}const _=l(L)`
2
2
  position: fixed;
3
3
  top: 16px;
4
4
  right: 16px;
@@ -0,0 +1 @@
1
+ import{j as e,al as r,bX as y,cj as j,ck as w,cl as k,T as C}from"./vendor-mui-core-CV-FnYH_.js";import{i as E,L as F}from"./vendor-react-DX7tU9aY.js";import{u as L,aF as R,c}from"./index-CXp5SI_f.js";import{i as v,b as l,j as P}from"./vendor-hooks-DAZ1H6Va.js";import{W as S,Q as t,b5 as d}from"./vendor-ux-CLT2i3Pv.js";import{z as u}from"./vendor-utils-BzQg432x.js";import"./vendor-arcblock-Dll6qxMT.js";function U(){const{api:f}=L(),m=E(),{t:s}=S(),o=new URLSearchParams(m.search).get("token"),i=v({error:"",finished:!1,loading:!1}),b=l(()=>{window.close(),window.location.replace("/")}),h=l(async()=>{try{i.loading=!0;const{data:n}=await f.post("/api/user/notification/unsubscribe",{token:o});n.success===!0?(i.finished=!0,t.success(s("notification.unsubscribeSucceed"))):(i.finished=!1,t.error(s("notification.unsubscribeFailed")))}catch(n){i.finished=!1,t.error(n.message||s("notification.unsubscribeFailed"))}finally{i.loading=!1}});P(()=>{if(!o)i.error=s("notification.unsubscribeTokenRequired");else{const n=R(o);if(!n)i.error=s("notification.unsubscribeTokenInvalid");else{const{exp:g}=n;g*1e3<=Date.now()&&(i.error=s("notification.unsubscribeTokenExpired"))}}});const a=window?.blocklet?.copyright,p=a?.owner||window?.blocklet?.appName,x=a?.year||new Date().getFullYear();return e.jsx(r,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",minHeight:"100vh",backgroundColor:"background.default"},children:e.jsxs(r,{sx:{width:"450px",maxWidth:"90%"},children:[e.jsx(r,{sx:{width:"100%"},children:e.jsx("img",{style:{height:"40px"},src:u(c.WELLKNOWN_SERVICE_PATH_PREFIX,"/blocklet/logo-rect?imageFilter=convert&f=png"),alt:"blocklet logo"})}),e.jsxs(y,{variant:"outlined",sx:{my:1},children:[e.jsx(j,{title:i.finished?s("notification.unsubscribeSucceed"):s("notification.email.unsubscribe")}),e.jsxs(w,{sx:{minHeight:"10em"},children:[i.error?i.error:null,!i.error&&!i.finished?s("notification.email.unsubscribeDescription"):null,!i.error&&i.finished?e.jsxs(e.Fragment,{children:[s("notification.email.subscribeDescription")," ",e.jsx(F,{to:u(c.WELLKNOWN_SERVICE_PATH_PREFIX,"/user/settings"),color:"primary",children:s("notification.email.subscribe")})]}):null]}),e.jsxs(k,{sx:{justifyContent:"end!important"},children:[e.jsx(d,{size:"small",color:i.error?"error":"primary",variant:"outlined",onClick:b,children:s("common.close")}),i.error||i.finished?null:e.jsx(d,{size:"small",color:"primary",variant:"contained",onClick:h,loading:i.loading,children:s("notification.unsubscribe")})]})]}),e.jsxs(C,{variant:"body2",color:"gray",children:["Copyright © ",x," ",p]})]})})}export{U as default};
@@ -1 +1 @@
1
- import{z as L}from"./vendor-utils-BzQg432x.js";import{W as u,G as e,aN as T,a5 as R}from"./index-Ca33rdd_.js";const t=(n,s)=>{let r="?v=";return s?r+=T(s):r+=`${n?.meta?.version}${R(n?.status)?"~":""}`,r};function f({blocklet:n}){const{inService:s}=u(),r=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO_SQUARE)?.value,i=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO_SQUARE_DARK)?.value,_=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO_RECT)?.value,E=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO_RECT_DARK)?.value,O=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO_FAVICON)?.value,d=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_SPLASH_PORTRAIT)?.value,m=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_SPLASH_LANDSCAPE)?.value,C=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_OG_IMAGE)?.value,a=window.env?.apiPrefix||"/",A=`${L(a,`/blocklet/logo/${s?"":n.meta.did}`)}${t(n,r)}`,c=`${L(a,`/blocklet/logo-dark/${s?"":n.meta.did}`)}${t(n,i)}`,K=`${L(a,`/blocklet/logo-rect/${s?"":n.meta.did}`)}${t(n,_??r)}`,$=`${L(a,`/blocklet/logo-rect-dark/${s?"":n.meta.did}`)}${t(n,E??i)}`,B=`${L(a,`/blocklet/logo-favicon/${s?"":n.meta.did}`)}${t(n,O??r)}`,g=`${L(a,`/blocklet/splash/portrait/${s?"":n.meta.did}`)}${t(n,d)}`,v=`${L(a,`/blocklet/splash/landscape/${s?"":n.meta.did}`)}${t(n,m)}`,P=`${L(a,`/blocklet/og-image/${s?"":n.meta.did}`)}${t(n,C)}`;return{logoUrl:A,logoDarkUrl:c,rectLogoUrl:K,rectLogoDarkUrl:$,faviconUrl:B,splashPortraitUrl:g,splashLandscapeUrl:v,ogImageUrl:P}}export{f as u};
1
+ import{z as L}from"./vendor-utils-BzQg432x.js";import{W as u,G as e,aN as T,a5 as R}from"./index-CXp5SI_f.js";const t=(n,s)=>{let r="?v=";return s?r+=T(s):r+=`${n?.meta?.version}${R(n?.status)?"~":""}`,r};function f({blocklet:n}){const{inService:s}=u(),r=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO_SQUARE)?.value,i=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO_SQUARE_DARK)?.value,_=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO_RECT)?.value,E=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO_RECT_DARK)?.value,O=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_LOGO_FAVICON)?.value,d=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_SPLASH_PORTRAIT)?.value,m=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_SPLASH_LANDSCAPE)?.value,C=(n?.environments||[]).find(o=>o.key===e.BLOCKLET_CONFIGURABLE_KEY.BLOCKLET_APP_OG_IMAGE)?.value,a=window.env?.apiPrefix||"/",A=`${L(a,`/blocklet/logo/${s?"":n.meta.did}`)}${t(n,r)}`,c=`${L(a,`/blocklet/logo-dark/${s?"":n.meta.did}`)}${t(n,i)}`,K=`${L(a,`/blocklet/logo-rect/${s?"":n.meta.did}`)}${t(n,_??r)}`,$=`${L(a,`/blocklet/logo-rect-dark/${s?"":n.meta.did}`)}${t(n,E??i)}`,B=`${L(a,`/blocklet/logo-favicon/${s?"":n.meta.did}`)}${t(n,O??r)}`,g=`${L(a,`/blocklet/splash/portrait/${s?"":n.meta.did}`)}${t(n,d)}`,v=`${L(a,`/blocklet/splash/landscape/${s?"":n.meta.did}`)}${t(n,m)}`,P=`${L(a,`/blocklet/og-image/${s?"":n.meta.did}`)}${t(n,C)}`;return{logoUrl:A,logoDarkUrl:c,rectLogoUrl:K,rectLogoDarkUrl:$,faviconUrl:B,splashPortraitUrl:g,splashLandscapeUrl:v,ogImageUrl:P}}export{f as u};
@@ -1 +1 @@
1
- import{a as k}from"./vendor-hooks-DAZ1H6Va.js";import{G as d,L as g}from"./vendor-mui-core-D7t4vMS5.js";function f({key:o="sm"}={}){const e=d();return g(e.breakpoints.down(o))}function b({key:o="sm",meta:e={},theme:t={},square:a}={}){const r=f({key:o}),n=d(),s=k(()=>t?.palette?.mode||n.palette.mode,[n,t]);return k(()=>{const{appLogo:p,appLogoDark:m,appLogoRect:u,appLogoRectDark:L}=Object.assign({},window.blocklet??{},e),c=s==="dark",i=(c?m:p)||p;return r||a?i:(c?L||m:u)||u||i||""},[s,e,r,a])}export{b as M};
1
+ import{a as k}from"./vendor-hooks-DAZ1H6Va.js";import{G as d,L as g}from"./vendor-mui-core-CV-FnYH_.js";function f({key:o="sm"}={}){const e=d();return g(e.breakpoints.down(o))}function b({key:o="sm",meta:e={},theme:t={},square:a}={}){const r=f({key:o}),n=d(),s=k(()=>t?.palette?.mode||n.palette.mode,[n,t]);return k(()=>{const{appLogo:p,appLogoDark:m,appLogoRect:u,appLogoRectDark:L}=Object.assign({},window.blocklet??{},e),c=s==="dark",i=(c?m:p)||p;return r||a?i:(c?L||m:u)||u||i||""},[s,e,r,a])}export{b as M};
@@ -1 +1 @@
1
- import{G as r,L as s}from"./vendor-mui-core-D7t4vMS5.js";function t({key:e="sm"}={}){const o=r();return s(o.breakpoints.down(e))}export{t as u};
1
+ import{G as r,L as s}from"./vendor-mui-core-CV-FnYH_.js";function t({key:e="sm"}={}){const o=r();return s(o.breakpoints.down(e))}export{t as u};
@@ -1 +1 @@
1
- import{G as o,L as r}from"./vendor-mui-core-D7t4vMS5.js";function u({key:e}={key:"sm"}){const s=o();return r(s.breakpoints.down(e))}export{u};
1
+ import{G as o,L as r}from"./vendor-mui-core-CV-FnYH_.js";function u({key:e}={key:"sm"}){const s=o();return r(s.breakpoints.down(e))}export{u};
@@ -1 +1 @@
1
- import{G as o,L as r}from"./vendor-mui-core-D7t4vMS5.js";function u({key:e}={key:"sm"}){const s=o();return r(s.breakpoints.down(e))}export{u};
1
+ import{G as o,L as r}from"./vendor-mui-core-CV-FnYH_.js";function u({key:e}={key:"sm"}){const s=o();return r(s.breakpoints.down(e))}export{u};
@@ -1 +1 @@
1
- import{r as a}from"./vendor-react-DX7tU9aY.js";import{t as o}from"./server-logo-notext.svg-CtPRYaCm.js";import{u as r}from"./use-mobile-BSL5RsRd.js";import{G as m,j as c}from"./vendor-mui-core-D7t4vMS5.js";const s=e=>a.createElement("svg",{width:170,height:64,viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M49.152 10.673v14.193l12.288 7.115v21.346L43.008 64l-12.259-7.099-.03.018-.03-.018L18.432 64 0 53.327V31.981l12.288-7.115V10.673L30.72 0l18.432 10.673zm-34.944 1.111v14.193L1.92 33.094v19.122l16.512 9.56L30.69 54.68l.03.017.03-.017 12.258 7.097 16.511-9.56V33.094l-12.287-7.116V11.784L30.72 2.224l-16.512 9.56z",fill:"url(#a)"}),a.createElement("path",{d:"M125.204 18.538h2.167l2.476-4.299h2.034l-2.993 5.2 3.821 6.637h-2.035l-3.321-5.77h-2.149v5.77h-1.762V10.03h1.762v8.51zM87.742 10.03a3.795 3.795 0 0 1 3.79 3.801v1.152c0 1.01-.394 1.93-1.035 2.61a3.802 3.802 0 0 1 1.901 3.296v1.381c0 2.1-1.697 3.801-3.79 3.801h-8.603V10.03h7.737zm9.514 16.041h-1.763V10.03h1.763v16.04zm40.309 0h-1.761V10.03h1.761v16.04zm-31.577-11.71a3.817 3.817 0 0 1 3.811 3.823v4.065a3.816 3.816 0 0 1-3.811 3.821h-1.827a3.816 3.816 0 0 1-3.81-3.821v-4.065a3.816 3.816 0 0 1 3.81-3.823h1.827zm11.612 0a3.816 3.816 0 0 1 3.81 3.823v.312h-1.762v-.312a2.052 2.052 0 0 0-2.048-2.055h-1.828c-1.131 0-2.048.92-2.048 2.055v4.065c0 1.135.917 2.055 2.048 2.055h1.828c1.131 0 2.048-.92 2.048-2.055v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.821h-1.828a3.816 3.816 0 0 1-3.81-3.821v-4.065a3.816 3.816 0 0 1 3.81-3.823h1.828zm28.831 0a3.816 3.816 0 0 1 3.81 3.823v.748h.001v1.767h-7.686v1.55a2.05 2.05 0 0 0 2.048 2.055h1.827c1.131 0 2.048-.92 2.048-2.055v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.821h-1.827a3.816 3.816 0 0 1-3.811-3.821v-4.065a3.817 3.817 0 0 1 3.811-3.823h1.827zm9.221.885h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.359 3.359 0 0 1-3.354 3.363 3.358 3.358 0 0 1-3.353-3.363v-5.693H152.4v-1.768h1.568V12.39h1.684v2.855zM81.69 18.783v5.598h6.92a2.108 2.108 0 0 0 2.104-2.111v-1.382a2.108 2.108 0 0 0-2.105-2.112l-6.92.007zm22.471-2.655c-1.131 0-2.049.92-2.049 2.055v4.065c0 1.135.918 2.055 2.049 2.055h1.827c1.131 0 2.048-.92 2.048-2.055v-4.065a2.052 2.052 0 0 0-2.048-2.055h-1.827zm40.443 0a2.05 2.05 0 0 0-2.048 2.055v.748h5.923v-.748a2.052 2.052 0 0 0-2.048-2.055h-1.827zm-62.915.959h6.226a2.11 2.11 0 0 0 1.933-2.105V13.83a2.109 2.109 0 0 0-2.106-2.111H81.69v5.368zm9.345 19.433c-.112.195-.233.34-.364.433a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21a12.24 12.24 0 0 0-.812-.49 6.303 6.303 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.066-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812c-.13.308-.196.649-.196 1.022 0 .476.13.873.392 1.19.27.318.625.588 1.064.812a9.79 9.79 0 0 0 1.498.602c.56.178 1.134.369 1.722.574.588.196 1.162.43 1.722.7.56.262 1.06.598 1.498 1.008.439.402.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .915-.159 1.774-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.055-2.198 1.4-.868.336-1.862.504-2.982.504a9.289 9.289 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.13.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.187.593.397.966.63.373.234.807.448 1.302.644.504.187 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.513.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.583 7.583 0 0 0-1.498-.588c-.56-.158-1.13-.331-1.708-.518a14.745 14.745 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.752 4.752 0 0 1-1.064-1.568c-.261-.634-.392-1.414-.392-2.338 0-.737.145-1.456.434-2.156.299-.7.728-1.32 1.288-1.862.56-.541 1.25-.975 2.072-1.302.821-.326 1.764-.49 2.828-.49 1.195 0 2.296.187 3.304.56 1.008.374 1.867.896 2.576 1.568l-.938 1.778zm13.241 7.727c0-.448-.066-.868-.196-1.26a2.924 2.924 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.383-.177-.831-.266-1.344-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.524zm-6.595 2.086c.056.738.187 1.377.392 1.918.206.532.477.976.813 1.33.335.346.732.607 1.19.784.466.168.98.252 1.54.252s1.04-.065 1.442-.196a6.39 6.39 0 0 0 1.064-.434c.308-.158.574-.303.798-.434.233-.13.457-.196.672-.196.289 0 .504.108.644.322l.994 1.26a5.925 5.925 0 0 1-1.288 1.134 7.68 7.68 0 0 1-1.498.728 8.334 8.334 0 0 1-1.582.378c-.532.075-1.05.112-1.554.112a7.774 7.774 0 0 1-2.787-.49 6.362 6.362 0 0 1-2.24-1.47c-.634-.653-1.133-1.456-1.498-2.408-.364-.961-.545-2.072-.545-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.471 6.471 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.145 2.506.434a5.42 5.42 0 0 1 1.974 1.274c.55.55.98 1.232 1.288 2.044.317.803.476 1.722.476 2.758 0 .523-.056.878-.168 1.064-.112.178-.327.266-.644.266h-8.89zm15.56-5.123c.448-.86.98-1.531 1.596-2.017.616-.494 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.724.056-1.022.168a2.59 2.59 0 0 0-.812.49 3.354 3.354 0 0 0-.63.756c-.178.299-.346.64-.504 1.022v8.848h-3.458V38.717h2.03c.354 0 .602.066.742.196.14.122.233.346.28.672l.21 1.624zm20.133-2.493-5.698 14.364h-3.136l-5.698-14.364h2.856c.261 0 .476.06.644.182a.849.849 0 0 1 .35.462l2.772 7.672a20.846 20.846 0 0 1 .686 2.604 31.6 31.6 0 0 1 .308-1.288c.112-.43.247-.868.406-1.316l2.828-7.672a.944.944 0 0 1 .35-.462 1 1 0 0 1 .602-.182h2.73zm10.659 5.53a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.177-.83-.266-1.344-.266-.998 0-1.787.285-2.366.854-.569.57-.933 1.377-1.092 2.422h6.524zm-6.594 2.086c.056.738.187 1.377.392 1.918.206.532.476.976.812 1.33.336.346.733.607 1.19.784.467.168.98.252 1.54.252s1.041-.065 1.442-.196a6.32 6.32 0 0 0 1.064-.434c.308-.158.574-.303.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.108.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.075-1.05.112-1.554.112a7.776 7.776 0 0 1-2.786-.49 6.37 6.37 0 0 1-2.24-1.47c-.634-.653-1.134-1.456-1.498-2.408-.364-.961-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.318-.868.77-1.62 1.358-2.254a6.48 6.48 0 0 1 2.17-1.526c.859-.373 1.825-.56 2.898-.56.906 0 1.741.145 2.506.434.766.29 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.803.476 1.722.476 2.758 0 .523-.056.878-.168 1.064-.112.178-.326.266-.644.266h-8.89zm15.559-5.123c.448-.86.98-1.531 1.596-2.017.616-.494 1.344-.742 2.184-.742.663 0 1.195.145 1.596.434l-.224 2.59c-.046.168-.116.29-.21.364a.556.556 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.676 4.676 0 0 0-.798-.07c-.382 0-.723.056-1.022.168a2.599 2.599 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.299-.345.64-.504 1.022v8.848h-3.458V38.717h2.03c.355 0 .602.066.742.196.14.122.234.346.28.672l.21 1.624z",fill:"#121319"}),a.createElement("path",{d:"M49.152 24.831v21.283L30.72 56.756 12.288 46.114V24.831L30.72 14.19l18.432 10.64zM14.208 25.94v19.067L30.72 54.54l16.512-9.533V25.939L30.72 16.407 14.208 25.94zm18.763-3.588a.96.96 0 0 1 .923.696l.856 2.998 2.12 1.224 3.025-.757a.96.96 0 0 1 1.064.45l2.251 3.9a.96.96 0 0 1-.142 1.147L40.9 34.25v2.447l2.168 2.242a.96.96 0 0 1 .142 1.147l-2.251 3.898a.96.96 0 0 1-1.065.452l-3.025-.758L34.75 44.9l-.856 3a.96.96 0 0 1-.923.695H28.47a.96.96 0 0 1-.923-.696l-.858-2.999-2.119-1.223-3.024.758a.96.96 0 0 1-1.065-.452l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.24v-2.448l-2.168-2.24a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.024.757 2.12-1.224.857-2.998a.96.96 0 0 1 .923-.696h4.5zm-4.542 4.595a.96.96 0 0 1-.443.568l-2.792 1.612a.96.96 0 0 1-.713.1l-2.699-.676-1.527 2.643 1.935 2a.96.96 0 0 1 .27.668v3.224a.96.96 0 0 1-.27.667l-1.935 2 1.527 2.645 2.7-.676a.96.96 0 0 1 .712.1l2.792 1.61a.96.96 0 0 1 .443.569l.764 2.675h3.054L33.011 44a.963.963 0 0 1 .443-.568l2.792-1.612a.96.96 0 0 1 .713-.1l2.7.677 1.526-2.645-1.935-2a.96.96 0 0 1-.27-.667v-3.224c0-.249.097-.489.27-.668l1.935-2-1.527-2.643-2.699.676a.96.96 0 0 1-.713-.1l-2.792-1.612a.96.96 0 0 1-.443-.568l-.764-2.676h-3.054l-.764 2.676zm2.29 2.359a6.169 6.169 0 1 1 .001 12.337 6.169 6.169 0 0 1 0-12.337zm0 1.92a4.248 4.248 0 1 0 .001 8.496 4.248 4.248 0 0 0 0-8.496z",fill:"url(#b)"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"a",x1:30.72,y1:96,x2:94.667,y2:34.611,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#0FA4B7"}),a.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),a.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),a.createElement("linearGradient",{id:"b",x1:27.438,y1:99.246,x2:97.761,y2:44.936,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#0FA4B7"}),a.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),a.createElement("stop",{offset:1,stopColor:"#2BE0D7"})))),n=e=>a.createElement("svg",{width:170,height:64,viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M49.152 10.673v14.193l12.288 7.115v21.346L43.008 64l-12.259-7.099-.03.018-.03-.018L18.432 64 0 53.327V31.981l12.288-7.115V10.673L30.72 0l18.432 10.673zm-34.944 1.111v14.193L1.92 33.094v19.122l16.512 9.56L30.69 54.68l.03.017.03-.017 12.258 7.097 16.511-9.56V33.094l-12.287-7.116V11.784L30.72 2.224l-16.512 9.56z",fill:"url(#a)"}),a.createElement("path",{d:"M125.204 18.538h2.167l2.476-4.299h2.034l-2.993 5.2 3.821 6.637h-2.035l-3.321-5.77h-2.149v5.77h-1.762V10.03h1.762v8.51zM87.742 10.03a3.795 3.795 0 0 1 3.79 3.801v1.152c0 1.01-.394 1.93-1.035 2.61a3.802 3.802 0 0 1 1.901 3.296v1.381c0 2.1-1.697 3.801-3.79 3.801h-8.603V10.03h7.737zm9.514 16.041h-1.763V10.03h1.763v16.04zm40.309 0h-1.761V10.03h1.761v16.04zm-31.577-11.71a3.817 3.817 0 0 1 3.811 3.823v4.065a3.816 3.816 0 0 1-3.811 3.821h-1.827a3.816 3.816 0 0 1-3.81-3.821v-4.065a3.816 3.816 0 0 1 3.81-3.823h1.827zm11.612 0a3.816 3.816 0 0 1 3.81 3.823v.312h-1.762v-.312a2.052 2.052 0 0 0-2.048-2.055h-1.828c-1.131 0-2.048.92-2.048 2.055v4.065c0 1.135.917 2.055 2.048 2.055h1.828c1.131 0 2.048-.92 2.048-2.055v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.821h-1.828a3.816 3.816 0 0 1-3.81-3.821v-4.065a3.816 3.816 0 0 1 3.81-3.823h1.828zm28.831 0a3.816 3.816 0 0 1 3.81 3.823v.748h.001v1.767h-7.686v1.55a2.05 2.05 0 0 0 2.048 2.055h1.827c1.131 0 2.048-.92 2.048-2.055v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.821h-1.827a3.816 3.816 0 0 1-3.811-3.821v-4.065a3.817 3.817 0 0 1 3.811-3.823h1.827zm9.221.885h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.359 3.359 0 0 1-3.354 3.363 3.358 3.358 0 0 1-3.353-3.363v-5.693H152.4v-1.768h1.568V12.39h1.684v2.855zM81.69 18.783v5.598h6.92a2.108 2.108 0 0 0 2.104-2.111v-1.382a2.108 2.108 0 0 0-2.105-2.112l-6.92.007zm22.471-2.655c-1.131 0-2.049.92-2.049 2.055v4.065c0 1.135.918 2.055 2.049 2.055h1.827c1.131 0 2.048-.92 2.048-2.055v-4.065a2.052 2.052 0 0 0-2.048-2.055h-1.827zm40.443 0a2.05 2.05 0 0 0-2.048 2.055v.748h5.923v-.748a2.052 2.052 0 0 0-2.048-2.055h-1.827zm-62.915.959h6.226a2.11 2.11 0 0 0 1.933-2.105V13.83a2.109 2.109 0 0 0-2.106-2.111H81.69v5.368zm9.345 19.433c-.112.195-.233.34-.364.433a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21a12.24 12.24 0 0 0-.812-.49 6.303 6.303 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.066-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812c-.13.308-.196.649-.196 1.022 0 .476.13.873.392 1.19.27.318.625.588 1.064.812a9.79 9.79 0 0 0 1.498.602c.56.178 1.134.369 1.722.574.588.196 1.162.43 1.722.7.56.262 1.06.598 1.498 1.008.439.402.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .915-.159 1.774-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.055-2.198 1.4-.868.336-1.862.504-2.982.504a9.289 9.289 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.13.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.187.593.397.966.63.373.234.807.448 1.302.644.504.187 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.513.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.583 7.583 0 0 0-1.498-.588c-.56-.158-1.13-.331-1.708-.518a14.745 14.745 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.752 4.752 0 0 1-1.064-1.568c-.261-.634-.392-1.414-.392-2.338 0-.737.145-1.456.434-2.156.299-.7.728-1.32 1.288-1.862.56-.541 1.25-.975 2.072-1.302.821-.326 1.764-.49 2.828-.49 1.195 0 2.296.187 3.304.56 1.008.374 1.867.896 2.576 1.568l-.938 1.778zm13.241 7.727c0-.448-.066-.868-.196-1.26a2.924 2.924 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.383-.177-.831-.266-1.344-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.524zm-6.595 2.086c.056.738.187 1.377.392 1.918.206.532.477.976.813 1.33.335.346.732.607 1.19.784.466.168.98.252 1.54.252s1.04-.065 1.442-.196a6.39 6.39 0 0 0 1.064-.434c.308-.158.574-.303.798-.434.233-.13.457-.196.672-.196.289 0 .504.108.644.322l.994 1.26a5.925 5.925 0 0 1-1.288 1.134 7.68 7.68 0 0 1-1.498.728 8.334 8.334 0 0 1-1.582.378c-.532.075-1.05.112-1.554.112a7.774 7.774 0 0 1-2.787-.49 6.362 6.362 0 0 1-2.24-1.47c-.634-.653-1.133-1.456-1.498-2.408-.364-.961-.545-2.072-.545-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.471 6.471 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.145 2.506.434a5.42 5.42 0 0 1 1.974 1.274c.55.55.98 1.232 1.288 2.044.317.803.476 1.722.476 2.758 0 .523-.056.878-.168 1.064-.112.178-.327.266-.644.266h-8.89zm15.56-5.123c.448-.86.98-1.531 1.596-2.017.616-.494 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.724.056-1.022.168a2.59 2.59 0 0 0-.812.49 3.354 3.354 0 0 0-.63.756c-.178.299-.346.64-.504 1.022v8.848h-3.458V38.717h2.03c.354 0 .602.066.742.196.14.122.233.346.28.672l.21 1.624zm20.133-2.493-5.698 14.364h-3.136l-5.698-14.364h2.856c.261 0 .476.06.644.182a.849.849 0 0 1 .35.462l2.772 7.672a20.846 20.846 0 0 1 .686 2.604 31.6 31.6 0 0 1 .308-1.288c.112-.43.247-.868.406-1.316l2.828-7.672a.944.944 0 0 1 .35-.462 1 1 0 0 1 .602-.182h2.73zm10.659 5.53a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.177-.83-.266-1.344-.266-.998 0-1.787.285-2.366.854-.569.57-.933 1.377-1.092 2.422h6.524zm-6.594 2.086c.056.738.187 1.377.392 1.918.206.532.476.976.812 1.33.336.346.733.607 1.19.784.467.168.98.252 1.54.252s1.041-.065 1.442-.196a6.32 6.32 0 0 0 1.064-.434c.308-.158.574-.303.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.108.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.075-1.05.112-1.554.112a7.776 7.776 0 0 1-2.786-.49 6.37 6.37 0 0 1-2.24-1.47c-.634-.653-1.134-1.456-1.498-2.408-.364-.961-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.318-.868.77-1.62 1.358-2.254a6.48 6.48 0 0 1 2.17-1.526c.859-.373 1.825-.56 2.898-.56.906 0 1.741.145 2.506.434.766.29 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.803.476 1.722.476 2.758 0 .523-.056.878-.168 1.064-.112.178-.326.266-.644.266h-8.89zm15.559-5.123c.448-.86.98-1.531 1.596-2.017.616-.494 1.344-.742 2.184-.742.663 0 1.195.145 1.596.434l-.224 2.59c-.046.168-.116.29-.21.364a.556.556 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.676 4.676 0 0 0-.798-.07c-.382 0-.723.056-1.022.168a2.599 2.599 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.299-.345.64-.504 1.022v8.848h-3.458V38.717h2.03c.355 0 .602.066.742.196.14.122.234.346.28.672l.21 1.624z",fill:"#fff"}),a.createElement("path",{d:"M49.152 24.831v21.283L30.72 56.756 12.288 46.114V24.831L30.72 14.19l18.432 10.64zM14.208 25.94v19.067L30.72 54.54l16.512-9.533V25.939L30.72 16.407 14.208 25.94zm18.763-3.588a.96.96 0 0 1 .923.696l.856 2.998 2.12 1.224 3.025-.757a.96.96 0 0 1 1.064.45l2.251 3.9a.96.96 0 0 1-.142 1.147L40.9 34.25v2.447l2.168 2.242a.96.96 0 0 1 .142 1.147l-2.251 3.898a.96.96 0 0 1-1.065.452l-3.025-.758L34.75 44.9l-.856 3a.96.96 0 0 1-.923.695H28.47a.96.96 0 0 1-.923-.696l-.858-2.999-2.119-1.223-3.024.758a.96.96 0 0 1-1.065-.452l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.24v-2.448l-2.168-2.24a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.024.757 2.12-1.224.857-2.998a.96.96 0 0 1 .923-.696h4.5zm-4.542 4.595a.96.96 0 0 1-.443.568l-2.792 1.612a.96.96 0 0 1-.713.1l-2.699-.676-1.527 2.643 1.935 2a.96.96 0 0 1 .27.668v3.224a.96.96 0 0 1-.27.667l-1.935 2 1.527 2.645 2.7-.676a.96.96 0 0 1 .712.1l2.792 1.61a.96.96 0 0 1 .443.569l.764 2.675h3.054L33.011 44a.963.963 0 0 1 .443-.568l2.792-1.612a.96.96 0 0 1 .713-.1l2.7.677 1.526-2.645-1.935-2a.96.96 0 0 1-.27-.667v-3.224c0-.249.097-.489.27-.668l1.935-2-1.527-2.643-2.699.676a.96.96 0 0 1-.713-.1l-2.792-1.612a.96.96 0 0 1-.443-.568l-.764-2.676h-3.054l-.764 2.676zm2.29 2.359a6.169 6.169 0 1 1 .001 12.337 6.169 6.169 0 0 1 0-12.337zm0 1.92a4.248 4.248 0 1 0 .001 8.496 4.248 4.248 0 0 0 0-8.496z",fill:"url(#b)"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"a",x1:30.72,y1:96,x2:94.667,y2:34.611,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#0FA4B7"}),a.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),a.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),a.createElement("linearGradient",{id:"b",x1:27.438,y1:99.246,x2:97.761,y2:44.936,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#0FA4B7"}),a.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),a.createElement("stop",{offset:1,stopColor:"#2BE0D7"}))));function L({style:e,...l}={}){const{palette:t}=m(),h=r({key:"md"}),v=t.mode==="dark"?n:s;return h?c.jsx(o,{width:"32",height:"32",style:{cursor:"pointer",...e},...l}):c.jsx(v,{width:"128",height:"48",style:{cursor:"pointer",...e},...l})}export{L as u};
1
+ import{r as a}from"./vendor-react-DX7tU9aY.js";import{t as o}from"./server-logo-notext.svg-CtPRYaCm.js";import{u as r}from"./use-mobile-DwGMuJlg.js";import{G as m,j as c}from"./vendor-mui-core-CV-FnYH_.js";const s=e=>a.createElement("svg",{width:170,height:64,viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M49.152 10.673v14.193l12.288 7.115v21.346L43.008 64l-12.259-7.099-.03.018-.03-.018L18.432 64 0 53.327V31.981l12.288-7.115V10.673L30.72 0l18.432 10.673zm-34.944 1.111v14.193L1.92 33.094v19.122l16.512 9.56L30.69 54.68l.03.017.03-.017 12.258 7.097 16.511-9.56V33.094l-12.287-7.116V11.784L30.72 2.224l-16.512 9.56z",fill:"url(#a)"}),a.createElement("path",{d:"M125.204 18.538h2.167l2.476-4.299h2.034l-2.993 5.2 3.821 6.637h-2.035l-3.321-5.77h-2.149v5.77h-1.762V10.03h1.762v8.51zM87.742 10.03a3.795 3.795 0 0 1 3.79 3.801v1.152c0 1.01-.394 1.93-1.035 2.61a3.802 3.802 0 0 1 1.901 3.296v1.381c0 2.1-1.697 3.801-3.79 3.801h-8.603V10.03h7.737zm9.514 16.041h-1.763V10.03h1.763v16.04zm40.309 0h-1.761V10.03h1.761v16.04zm-31.577-11.71a3.817 3.817 0 0 1 3.811 3.823v4.065a3.816 3.816 0 0 1-3.811 3.821h-1.827a3.816 3.816 0 0 1-3.81-3.821v-4.065a3.816 3.816 0 0 1 3.81-3.823h1.827zm11.612 0a3.816 3.816 0 0 1 3.81 3.823v.312h-1.762v-.312a2.052 2.052 0 0 0-2.048-2.055h-1.828c-1.131 0-2.048.92-2.048 2.055v4.065c0 1.135.917 2.055 2.048 2.055h1.828c1.131 0 2.048-.92 2.048-2.055v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.821h-1.828a3.816 3.816 0 0 1-3.81-3.821v-4.065a3.816 3.816 0 0 1 3.81-3.823h1.828zm28.831 0a3.816 3.816 0 0 1 3.81 3.823v.748h.001v1.767h-7.686v1.55a2.05 2.05 0 0 0 2.048 2.055h1.827c1.131 0 2.048-.92 2.048-2.055v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.821h-1.827a3.816 3.816 0 0 1-3.811-3.821v-4.065a3.817 3.817 0 0 1 3.811-3.823h1.827zm9.221.885h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.359 3.359 0 0 1-3.354 3.363 3.358 3.358 0 0 1-3.353-3.363v-5.693H152.4v-1.768h1.568V12.39h1.684v2.855zM81.69 18.783v5.598h6.92a2.108 2.108 0 0 0 2.104-2.111v-1.382a2.108 2.108 0 0 0-2.105-2.112l-6.92.007zm22.471-2.655c-1.131 0-2.049.92-2.049 2.055v4.065c0 1.135.918 2.055 2.049 2.055h1.827c1.131 0 2.048-.92 2.048-2.055v-4.065a2.052 2.052 0 0 0-2.048-2.055h-1.827zm40.443 0a2.05 2.05 0 0 0-2.048 2.055v.748h5.923v-.748a2.052 2.052 0 0 0-2.048-2.055h-1.827zm-62.915.959h6.226a2.11 2.11 0 0 0 1.933-2.105V13.83a2.109 2.109 0 0 0-2.106-2.111H81.69v5.368zm9.345 19.433c-.112.195-.233.34-.364.433a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21a12.24 12.24 0 0 0-.812-.49 6.303 6.303 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.066-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812c-.13.308-.196.649-.196 1.022 0 .476.13.873.392 1.19.27.318.625.588 1.064.812a9.79 9.79 0 0 0 1.498.602c.56.178 1.134.369 1.722.574.588.196 1.162.43 1.722.7.56.262 1.06.598 1.498 1.008.439.402.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .915-.159 1.774-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.055-2.198 1.4-.868.336-1.862.504-2.982.504a9.289 9.289 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.13.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.187.593.397.966.63.373.234.807.448 1.302.644.504.187 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.513.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.583 7.583 0 0 0-1.498-.588c-.56-.158-1.13-.331-1.708-.518a14.745 14.745 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.752 4.752 0 0 1-1.064-1.568c-.261-.634-.392-1.414-.392-2.338 0-.737.145-1.456.434-2.156.299-.7.728-1.32 1.288-1.862.56-.541 1.25-.975 2.072-1.302.821-.326 1.764-.49 2.828-.49 1.195 0 2.296.187 3.304.56 1.008.374 1.867.896 2.576 1.568l-.938 1.778zm13.241 7.727c0-.448-.066-.868-.196-1.26a2.924 2.924 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.383-.177-.831-.266-1.344-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.524zm-6.595 2.086c.056.738.187 1.377.392 1.918.206.532.477.976.813 1.33.335.346.732.607 1.19.784.466.168.98.252 1.54.252s1.04-.065 1.442-.196a6.39 6.39 0 0 0 1.064-.434c.308-.158.574-.303.798-.434.233-.13.457-.196.672-.196.289 0 .504.108.644.322l.994 1.26a5.925 5.925 0 0 1-1.288 1.134 7.68 7.68 0 0 1-1.498.728 8.334 8.334 0 0 1-1.582.378c-.532.075-1.05.112-1.554.112a7.774 7.774 0 0 1-2.787-.49 6.362 6.362 0 0 1-2.24-1.47c-.634-.653-1.133-1.456-1.498-2.408-.364-.961-.545-2.072-.545-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.471 6.471 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.145 2.506.434a5.42 5.42 0 0 1 1.974 1.274c.55.55.98 1.232 1.288 2.044.317.803.476 1.722.476 2.758 0 .523-.056.878-.168 1.064-.112.178-.327.266-.644.266h-8.89zm15.56-5.123c.448-.86.98-1.531 1.596-2.017.616-.494 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.724.056-1.022.168a2.59 2.59 0 0 0-.812.49 3.354 3.354 0 0 0-.63.756c-.178.299-.346.64-.504 1.022v8.848h-3.458V38.717h2.03c.354 0 .602.066.742.196.14.122.233.346.28.672l.21 1.624zm20.133-2.493-5.698 14.364h-3.136l-5.698-14.364h2.856c.261 0 .476.06.644.182a.849.849 0 0 1 .35.462l2.772 7.672a20.846 20.846 0 0 1 .686 2.604 31.6 31.6 0 0 1 .308-1.288c.112-.43.247-.868.406-1.316l2.828-7.672a.944.944 0 0 1 .35-.462 1 1 0 0 1 .602-.182h2.73zm10.659 5.53a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.177-.83-.266-1.344-.266-.998 0-1.787.285-2.366.854-.569.57-.933 1.377-1.092 2.422h6.524zm-6.594 2.086c.056.738.187 1.377.392 1.918.206.532.476.976.812 1.33.336.346.733.607 1.19.784.467.168.98.252 1.54.252s1.041-.065 1.442-.196a6.32 6.32 0 0 0 1.064-.434c.308-.158.574-.303.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.108.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.075-1.05.112-1.554.112a7.776 7.776 0 0 1-2.786-.49 6.37 6.37 0 0 1-2.24-1.47c-.634-.653-1.134-1.456-1.498-2.408-.364-.961-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.318-.868.77-1.62 1.358-2.254a6.48 6.48 0 0 1 2.17-1.526c.859-.373 1.825-.56 2.898-.56.906 0 1.741.145 2.506.434.766.29 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.803.476 1.722.476 2.758 0 .523-.056.878-.168 1.064-.112.178-.326.266-.644.266h-8.89zm15.559-5.123c.448-.86.98-1.531 1.596-2.017.616-.494 1.344-.742 2.184-.742.663 0 1.195.145 1.596.434l-.224 2.59c-.046.168-.116.29-.21.364a.556.556 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.676 4.676 0 0 0-.798-.07c-.382 0-.723.056-1.022.168a2.599 2.599 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.299-.345.64-.504 1.022v8.848h-3.458V38.717h2.03c.355 0 .602.066.742.196.14.122.234.346.28.672l.21 1.624z",fill:"#121319"}),a.createElement("path",{d:"M49.152 24.831v21.283L30.72 56.756 12.288 46.114V24.831L30.72 14.19l18.432 10.64zM14.208 25.94v19.067L30.72 54.54l16.512-9.533V25.939L30.72 16.407 14.208 25.94zm18.763-3.588a.96.96 0 0 1 .923.696l.856 2.998 2.12 1.224 3.025-.757a.96.96 0 0 1 1.064.45l2.251 3.9a.96.96 0 0 1-.142 1.147L40.9 34.25v2.447l2.168 2.242a.96.96 0 0 1 .142 1.147l-2.251 3.898a.96.96 0 0 1-1.065.452l-3.025-.758L34.75 44.9l-.856 3a.96.96 0 0 1-.923.695H28.47a.96.96 0 0 1-.923-.696l-.858-2.999-2.119-1.223-3.024.758a.96.96 0 0 1-1.065-.452l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.24v-2.448l-2.168-2.24a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.024.757 2.12-1.224.857-2.998a.96.96 0 0 1 .923-.696h4.5zm-4.542 4.595a.96.96 0 0 1-.443.568l-2.792 1.612a.96.96 0 0 1-.713.1l-2.699-.676-1.527 2.643 1.935 2a.96.96 0 0 1 .27.668v3.224a.96.96 0 0 1-.27.667l-1.935 2 1.527 2.645 2.7-.676a.96.96 0 0 1 .712.1l2.792 1.61a.96.96 0 0 1 .443.569l.764 2.675h3.054L33.011 44a.963.963 0 0 1 .443-.568l2.792-1.612a.96.96 0 0 1 .713-.1l2.7.677 1.526-2.645-1.935-2a.96.96 0 0 1-.27-.667v-3.224c0-.249.097-.489.27-.668l1.935-2-1.527-2.643-2.699.676a.96.96 0 0 1-.713-.1l-2.792-1.612a.96.96 0 0 1-.443-.568l-.764-2.676h-3.054l-.764 2.676zm2.29 2.359a6.169 6.169 0 1 1 .001 12.337 6.169 6.169 0 0 1 0-12.337zm0 1.92a4.248 4.248 0 1 0 .001 8.496 4.248 4.248 0 0 0 0-8.496z",fill:"url(#b)"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"a",x1:30.72,y1:96,x2:94.667,y2:34.611,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#0FA4B7"}),a.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),a.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),a.createElement("linearGradient",{id:"b",x1:27.438,y1:99.246,x2:97.761,y2:44.936,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#0FA4B7"}),a.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),a.createElement("stop",{offset:1,stopColor:"#2BE0D7"})))),n=e=>a.createElement("svg",{width:170,height:64,viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M49.152 10.673v14.193l12.288 7.115v21.346L43.008 64l-12.259-7.099-.03.018-.03-.018L18.432 64 0 53.327V31.981l12.288-7.115V10.673L30.72 0l18.432 10.673zm-34.944 1.111v14.193L1.92 33.094v19.122l16.512 9.56L30.69 54.68l.03.017.03-.017 12.258 7.097 16.511-9.56V33.094l-12.287-7.116V11.784L30.72 2.224l-16.512 9.56z",fill:"url(#a)"}),a.createElement("path",{d:"M125.204 18.538h2.167l2.476-4.299h2.034l-2.993 5.2 3.821 6.637h-2.035l-3.321-5.77h-2.149v5.77h-1.762V10.03h1.762v8.51zM87.742 10.03a3.795 3.795 0 0 1 3.79 3.801v1.152c0 1.01-.394 1.93-1.035 2.61a3.802 3.802 0 0 1 1.901 3.296v1.381c0 2.1-1.697 3.801-3.79 3.801h-8.603V10.03h7.737zm9.514 16.041h-1.763V10.03h1.763v16.04zm40.309 0h-1.761V10.03h1.761v16.04zm-31.577-11.71a3.817 3.817 0 0 1 3.811 3.823v4.065a3.816 3.816 0 0 1-3.811 3.821h-1.827a3.816 3.816 0 0 1-3.81-3.821v-4.065a3.816 3.816 0 0 1 3.81-3.823h1.827zm11.612 0a3.816 3.816 0 0 1 3.81 3.823v.312h-1.762v-.312a2.052 2.052 0 0 0-2.048-2.055h-1.828c-1.131 0-2.048.92-2.048 2.055v4.065c0 1.135.917 2.055 2.048 2.055h1.828c1.131 0 2.048-.92 2.048-2.055v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.821h-1.828a3.816 3.816 0 0 1-3.81-3.821v-4.065a3.816 3.816 0 0 1 3.81-3.823h1.828zm28.831 0a3.816 3.816 0 0 1 3.81 3.823v.748h.001v1.767h-7.686v1.55a2.05 2.05 0 0 0 2.048 2.055h1.827c1.131 0 2.048-.92 2.048-2.055v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.821h-1.827a3.816 3.816 0 0 1-3.811-3.821v-4.065a3.817 3.817 0 0 1 3.811-3.823h1.827zm9.221.885h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.359 3.359 0 0 1-3.354 3.363 3.358 3.358 0 0 1-3.353-3.363v-5.693H152.4v-1.768h1.568V12.39h1.684v2.855zM81.69 18.783v5.598h6.92a2.108 2.108 0 0 0 2.104-2.111v-1.382a2.108 2.108 0 0 0-2.105-2.112l-6.92.007zm22.471-2.655c-1.131 0-2.049.92-2.049 2.055v4.065c0 1.135.918 2.055 2.049 2.055h1.827c1.131 0 2.048-.92 2.048-2.055v-4.065a2.052 2.052 0 0 0-2.048-2.055h-1.827zm40.443 0a2.05 2.05 0 0 0-2.048 2.055v.748h5.923v-.748a2.052 2.052 0 0 0-2.048-2.055h-1.827zm-62.915.959h6.226a2.11 2.11 0 0 0 1.933-2.105V13.83a2.109 2.109 0 0 0-2.106-2.111H81.69v5.368zm9.345 19.433c-.112.195-.233.34-.364.433a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21a12.24 12.24 0 0 0-.812-.49 6.303 6.303 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.066-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812c-.13.308-.196.649-.196 1.022 0 .476.13.873.392 1.19.27.318.625.588 1.064.812a9.79 9.79 0 0 0 1.498.602c.56.178 1.134.369 1.722.574.588.196 1.162.43 1.722.7.56.262 1.06.598 1.498 1.008.439.402.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .915-.159 1.774-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.055-2.198 1.4-.868.336-1.862.504-2.982.504a9.289 9.289 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.13.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.187.593.397.966.63.373.234.807.448 1.302.644.504.187 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.513.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.583 7.583 0 0 0-1.498-.588c-.56-.158-1.13-.331-1.708-.518a14.745 14.745 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.752 4.752 0 0 1-1.064-1.568c-.261-.634-.392-1.414-.392-2.338 0-.737.145-1.456.434-2.156.299-.7.728-1.32 1.288-1.862.56-.541 1.25-.975 2.072-1.302.821-.326 1.764-.49 2.828-.49 1.195 0 2.296.187 3.304.56 1.008.374 1.867.896 2.576 1.568l-.938 1.778zm13.241 7.727c0-.448-.066-.868-.196-1.26a2.924 2.924 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.383-.177-.831-.266-1.344-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.524zm-6.595 2.086c.056.738.187 1.377.392 1.918.206.532.477.976.813 1.33.335.346.732.607 1.19.784.466.168.98.252 1.54.252s1.04-.065 1.442-.196a6.39 6.39 0 0 0 1.064-.434c.308-.158.574-.303.798-.434.233-.13.457-.196.672-.196.289 0 .504.108.644.322l.994 1.26a5.925 5.925 0 0 1-1.288 1.134 7.68 7.68 0 0 1-1.498.728 8.334 8.334 0 0 1-1.582.378c-.532.075-1.05.112-1.554.112a7.774 7.774 0 0 1-2.787-.49 6.362 6.362 0 0 1-2.24-1.47c-.634-.653-1.133-1.456-1.498-2.408-.364-.961-.545-2.072-.545-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.471 6.471 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.145 2.506.434a5.42 5.42 0 0 1 1.974 1.274c.55.55.98 1.232 1.288 2.044.317.803.476 1.722.476 2.758 0 .523-.056.878-.168 1.064-.112.178-.327.266-.644.266h-8.89zm15.56-5.123c.448-.86.98-1.531 1.596-2.017.616-.494 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.724.056-1.022.168a2.59 2.59 0 0 0-.812.49 3.354 3.354 0 0 0-.63.756c-.178.299-.346.64-.504 1.022v8.848h-3.458V38.717h2.03c.354 0 .602.066.742.196.14.122.233.346.28.672l.21 1.624zm20.133-2.493-5.698 14.364h-3.136l-5.698-14.364h2.856c.261 0 .476.06.644.182a.849.849 0 0 1 .35.462l2.772 7.672a20.846 20.846 0 0 1 .686 2.604 31.6 31.6 0 0 1 .308-1.288c.112-.43.247-.868.406-1.316l2.828-7.672a.944.944 0 0 1 .35-.462 1 1 0 0 1 .602-.182h2.73zm10.659 5.53a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.177-.83-.266-1.344-.266-.998 0-1.787.285-2.366.854-.569.57-.933 1.377-1.092 2.422h6.524zm-6.594 2.086c.056.738.187 1.377.392 1.918.206.532.476.976.812 1.33.336.346.733.607 1.19.784.467.168.98.252 1.54.252s1.041-.065 1.442-.196a6.32 6.32 0 0 0 1.064-.434c.308-.158.574-.303.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.108.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.075-1.05.112-1.554.112a7.776 7.776 0 0 1-2.786-.49 6.37 6.37 0 0 1-2.24-1.47c-.634-.653-1.134-1.456-1.498-2.408-.364-.961-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.318-.868.77-1.62 1.358-2.254a6.48 6.48 0 0 1 2.17-1.526c.859-.373 1.825-.56 2.898-.56.906 0 1.741.145 2.506.434.766.29 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.803.476 1.722.476 2.758 0 .523-.056.878-.168 1.064-.112.178-.326.266-.644.266h-8.89zm15.559-5.123c.448-.86.98-1.531 1.596-2.017.616-.494 1.344-.742 2.184-.742.663 0 1.195.145 1.596.434l-.224 2.59c-.046.168-.116.29-.21.364a.556.556 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.676 4.676 0 0 0-.798-.07c-.382 0-.723.056-1.022.168a2.599 2.599 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.299-.345.64-.504 1.022v8.848h-3.458V38.717h2.03c.355 0 .602.066.742.196.14.122.234.346.28.672l.21 1.624z",fill:"#fff"}),a.createElement("path",{d:"M49.152 24.831v21.283L30.72 56.756 12.288 46.114V24.831L30.72 14.19l18.432 10.64zM14.208 25.94v19.067L30.72 54.54l16.512-9.533V25.939L30.72 16.407 14.208 25.94zm18.763-3.588a.96.96 0 0 1 .923.696l.856 2.998 2.12 1.224 3.025-.757a.96.96 0 0 1 1.064.45l2.251 3.9a.96.96 0 0 1-.142 1.147L40.9 34.25v2.447l2.168 2.242a.96.96 0 0 1 .142 1.147l-2.251 3.898a.96.96 0 0 1-1.065.452l-3.025-.758L34.75 44.9l-.856 3a.96.96 0 0 1-.923.695H28.47a.96.96 0 0 1-.923-.696l-.858-2.999-2.119-1.223-3.024.758a.96.96 0 0 1-1.065-.452l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.24v-2.448l-2.168-2.24a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.024.757 2.12-1.224.857-2.998a.96.96 0 0 1 .923-.696h4.5zm-4.542 4.595a.96.96 0 0 1-.443.568l-2.792 1.612a.96.96 0 0 1-.713.1l-2.699-.676-1.527 2.643 1.935 2a.96.96 0 0 1 .27.668v3.224a.96.96 0 0 1-.27.667l-1.935 2 1.527 2.645 2.7-.676a.96.96 0 0 1 .712.1l2.792 1.61a.96.96 0 0 1 .443.569l.764 2.675h3.054L33.011 44a.963.963 0 0 1 .443-.568l2.792-1.612a.96.96 0 0 1 .713-.1l2.7.677 1.526-2.645-1.935-2a.96.96 0 0 1-.27-.667v-3.224c0-.249.097-.489.27-.668l1.935-2-1.527-2.643-2.699.676a.96.96 0 0 1-.713-.1l-2.792-1.612a.96.96 0 0 1-.443-.568l-.764-2.676h-3.054l-.764 2.676zm2.29 2.359a6.169 6.169 0 1 1 .001 12.337 6.169 6.169 0 0 1 0-12.337zm0 1.92a4.248 4.248 0 1 0 .001 8.496 4.248 4.248 0 0 0 0-8.496z",fill:"url(#b)"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"a",x1:30.72,y1:96,x2:94.667,y2:34.611,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#0FA4B7"}),a.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),a.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),a.createElement("linearGradient",{id:"b",x1:27.438,y1:99.246,x2:97.761,y2:44.936,gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#0FA4B7"}),a.createElement("stop",{offset:.495,stopColor:"#1DC1C7"}),a.createElement("stop",{offset:1,stopColor:"#2BE0D7"}))));function L({style:e,...l}={}){const{palette:t}=m(),h=r({key:"md"}),v=t.mode==="dark"?n:s;return h?c.jsx(o,{width:"32",height:"32",style:{cursor:"pointer",...e},...l}):c.jsx(v,{width:"128",height:"48",style:{cursor:"pointer",...e},...l})}export{L as u};
@@ -1 +1 @@
1
- import{af as o,_ as r}from"./vendor-ux-Dl3wVbv_.js";import{r as a}from"./vendor-react-DX7tU9aY.js";function l(){const t=o();return a.useCallback(()=>{if(t?.wallet){r(()=>import("./index-qpadg6GT.js").then(e=>e.i),[],import.meta.url).then(e=>{setTimeout(()=>{e.call("arcClosePage")},2e3)});return}setTimeout(()=>{window.close()},500)},[t?.wallet])}export{l as u};
1
+ import{af as o,_ as r}from"./vendor-ux-CLT2i3Pv.js";import{r as a}from"./vendor-react-DX7tU9aY.js";function l(){const t=o();return a.useCallback(()=>{if(t?.wallet){r(()=>import("./index-qpadg6GT.js").then(e=>e.i),[],import.meta.url).then(e=>{setTimeout(()=>{e.call("arcClosePage")},2e3)});return}setTimeout(()=>{window.close()},500)},[t?.wallet])}export{l as u};
@@ -1,4 +1,4 @@
1
- import{aT as A}from"./vendor-mui-core-D7t4vMS5.js";import{d as p,g}from"./vendor-react-DX7tU9aY.js";import{B as R}from"./vendor-hooks-DAZ1H6Va.js";import{r as b}from"./useAsync-DfiOQMQ_.js";const n={success:"#3ab39d",error:"#D0021B"},u="10px",z=A.div`
1
+ import{aT as A}from"./vendor-mui-core-CV-FnYH_.js";import{d as p,g}from"./vendor-react-DX7tU9aY.js";import{B as R}from"./vendor-hooks-DAZ1H6Va.js";import{r as b}from"./useAsync-DfiOQMQ_.js";const n={success:"#3ab39d",error:"#D0021B"},u="10px",z=A.div`
2
2
  display: inline-block;
3
3
  min-width: ${r=>r.size||u};
4
4
  min-height: ${r=>r.size||u};
@@ -1 +1 @@
1
- import{d as y,g as z}from"./vendor-react-DX7tU9aY.js";import{bu as b}from"./vendor-ux-Dl3wVbv_.js";var i={},m;function h(){if(m)return i;m=1,Object.defineProperty(i,"__esModule",{value:!0});var f=y(),c=b(),S=function(o,s,r){if(!c.isBrowser)return[s,c.noop,c.noop];if(!o)throw new Error("useLocalStorage key may not be falsy");var n=r?r.raw?function(t){return t}:r.deserializer:JSON.parse,l=f.useRef(function(t){try{var a=r?r.raw?String:r.serializer:JSON.stringify,e=localStorage.getItem(t);return e!==null?n(e):(s&&localStorage.setItem(t,a(s)),s)}catch{return s}}),g=f.useState(function(){return l.current(o)}),d=g[0],u=g[1];f.useLayoutEffect(function(){return u(l.current(o))},[o]);var v=f.useCallback(function(t){try{var a=typeof t=="function"?t(d):t;if(typeof a>"u")return;var e=void 0;r?r.raw?typeof a=="string"?e=a:e=JSON.stringify(a):r.serializer?e=r.serializer(a):e=JSON.stringify(a):e=JSON.stringify(a),localStorage.setItem(o,e),u(n(e))}catch{}},[o,u]),L=f.useCallback(function(){try{localStorage.removeItem(o),u(void 0)}catch{}},[o,u]);return[d,v,L]};return i.default=S,i}var J=h();const E=z(J);export{E as u};
1
+ import{d as y,g as z}from"./vendor-react-DX7tU9aY.js";import{bw as b}from"./vendor-ux-CLT2i3Pv.js";var u={},m;function h(){if(m)return u;m=1,Object.defineProperty(u,"__esModule",{value:!0});var f=y(),c=b(),S=function(o,s,r){if(!c.isBrowser)return[s,c.noop,c.noop];if(!o)throw new Error("useLocalStorage key may not be falsy");var n=r?r.raw?function(t){return t}:r.deserializer:JSON.parse,l=f.useRef(function(t){try{var a=r?r.raw?String:r.serializer:JSON.stringify,e=localStorage.getItem(t);return e!==null?n(e):(s&&localStorage.setItem(t,a(s)),s)}catch{return s}}),g=f.useState(function(){return l.current(o)}),d=g[0],i=g[1];f.useLayoutEffect(function(){return i(l.current(o))},[o]);var v=f.useCallback(function(t){try{var a=typeof t=="function"?t(d):t;if(typeof a>"u")return;var e=void 0;r?r.raw?typeof a=="string"?e=a:e=JSON.stringify(a):r.serializer?e=r.serializer(a):e=JSON.stringify(a):e=JSON.stringify(a),localStorage.setItem(o,e),i(n(e))}catch{}},[o,i]),L=f.useCallback(function(){try{localStorage.removeItem(o),i(void 0)}catch{}},[o,i]);return[d,v,L]};return u.default=S,u}var J=h();const E=z(J);export{E as u};