@abtnode/blocklet-services 1.17.8-beta-20260106-113136-b3c09e14 → 1.17.8-beta-20260108-120904-21cb5fb6

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 (217) hide show
  1. package/api/util/blocklet-utils.js +9 -4
  2. package/dist/assets/{AdapterDayjs-DafRMFLg.js → AdapterDayjs-C1bdndja.js} +1 -1
  3. package/dist/assets/{Google-DRu937I3.js → Google-BI3aC5vK.js} +1 -1
  4. package/dist/assets/{access-control-cgo5Z15_.js → access-control-BL-PuDiR.js} +1 -1
  5. package/dist/assets/{actions-Dfiiwkit.js → actions-m1acuA78.js} +1 -1
  6. package/dist/assets/{add-component-core-BfzNEcS5.js → add-component-core-BzMN094F.js} +1 -1
  7. package/dist/assets/add-resource-BRF-rYME.js +1 -0
  8. package/dist/assets/{addon-qN24wAb4.js → addon-yDIBSjIk.js} +1 -1
  9. package/dist/assets/{advanced-1Vu6rcXU.js → advanced-DEE0XFtQ.js} +1 -1
  10. package/dist/assets/{aigne-D6MrXXCU.js → aigne-9evgyH7b.js} +1 -1
  11. package/dist/assets/api-B24x7kOD.js +1 -0
  12. package/dist/assets/{appearance-DOQHBg9p.js → appearance-C8B414U2.js} +1 -1
  13. package/dist/assets/{ar-BukCw0OI.js → ar-BHqjWgUQ.js} +2 -2
  14. package/dist/assets/{audit-logs-ISyoqJFp.js → audit-logs-qNutRhHx.js} +1 -1
  15. package/dist/assets/{authorize-B9RLEFal.js → authorize-CZSHuYdu.js} +1 -1
  16. package/dist/assets/{base-chart-DhxjAyBU.js → base-chart-DT--nPCU.js} +1 -1
  17. package/dist/assets/{base32-_D4eWUeh.js → base32-z3esjJBn.js} +1 -1
  18. package/dist/assets/{bind-account-CLIjYy96.js → bind-account-QxLU_sxt.js} +1 -1
  19. package/dist/assets/{branding-iwUveEf5.js → branding-Bk26INk9.js} +1 -1
  20. package/dist/assets/{branding-C81Kt22j.js → branding-_XszRU-Z.js} +1 -1
  21. package/dist/assets/branding-tR0gcoY_.js +1 -0
  22. package/dist/assets/bundle-avatar-2AQWR0ld.js +1 -0
  23. package/dist/assets/button-LwkniwV9.js +1 -0
  24. package/dist/assets/{click-to-copy-CMo42VnK.js → click-to-copy-Dk6ZAJOw.js} +1 -1
  25. package/dist/assets/{omit-CCIQ0Qdi.js → cloneDeep-rgNCMFod.js} +1 -1
  26. package/dist/assets/{collapse-B7gUzFaX.js → collapse-D72lnPa9.js} +1 -1
  27. package/dist/assets/{complete-CJ_buCAS.js → complete-CEvsz8uU.js} +2 -2
  28. package/dist/assets/{component-Dip3v1Iq.js → component-BrZ1DWiw.js} +2 -2
  29. package/dist/assets/{config-D5KnWqfn.js → config-6tpm84_l.js} +1 -1
  30. package/dist/assets/{config-D8XZj8JI.js → config-CwlqBQNt.js} +2 -2
  31. package/dist/assets/config-cdtQwn5t.js +53 -0
  32. package/dist/assets/{config-navigation-Ni0iczgA.js → config-navigation-CZ9V7otK.js} +2 -2
  33. package/dist/assets/{config-space-B6_f52sE.js → config-space-CZRqkXsR.js} +1 -1
  34. package/dist/assets/{confirm-Lb1MrAdS.js → confirm-Ch-CAgUO.js} +1 -1
  35. package/dist/assets/{connect-JAX_oP3o.js → connect-BNkv99fz.js} +1 -1
  36. package/dist/assets/connect-CadBIZOq.js +5 -0
  37. package/dist/assets/connect-i7rkK26L.js +1 -0
  38. package/dist/assets/connect-to-lX3lujSp.js +1 -0
  39. package/dist/assets/{content-layout-DmSBGGVm.js → content-layout-Dtfb5X6M.js} +1 -1
  40. package/dist/assets/{create-passport-svg-5AYzBKFb.js → create-passport-svg-DeDfPZeD.js} +1 -1
  41. package/dist/assets/{createClass-DXYd7BIe.js → createClass-07c4wbGU.js} +1 -1
  42. package/dist/assets/{dashboard-C0l2IWWH.js → dashboard-CmJOnF0g.js} +2 -2
  43. package/dist/assets/{de-Br0tDZam.js → de-QUGQFv2K.js} +1 -1
  44. package/dist/assets/{delete-confirm-tbfLqDBI.js → delete-confirm-DiU5PO2T.js} +1 -1
  45. package/dist/assets/{did-address-CsOJBoiY.js → did-address-Cq16cwTy.js} +1 -1
  46. package/dist/assets/{domain-CnhOsdmM.js → domain-DHqSA0zl.js} +1 -1
  47. package/dist/assets/{domain-action-card-BsdHbhEi.js → domain-action-card-BsNaII7k.js} +2 -2
  48. package/dist/assets/domains-BQ_Of9Oo.js +1 -0
  49. package/dist/assets/{email-Dt_DGuhf.js → email-DXdzQLls.js} +2 -2
  50. package/dist/assets/{empty-spinner-BYDonf35.js → empty-spinner-BClWI15N.js} +1 -1
  51. package/dist/assets/engine-D18zeIE7.js +1 -0
  52. package/dist/assets/{es-D_e0gGgp.js → es-C4w6cL07.js} +2 -2
  53. package/dist/assets/{exchange-passport-DztKvBat.js → exchange-passport-NOgYhNpm.js} +1 -1
  54. package/dist/assets/{form-DoC8uBcB.js → form-DhecYoSJ.js} +3 -3
  55. package/dist/assets/{form-text-input-XjloVwBd.js → form-text-input-BsCymY_c.js} +1 -1
  56. package/dist/assets/{form-wrapper-PT5ZzMQy.js → form-wrapper-pwkkz4we.js} +1 -1
  57. package/dist/assets/{fr-DXizOT4b.js → fr-Bq3UipEu.js} +2 -2
  58. package/dist/assets/{fuel-IaJHNPPW.js → fuel-DgzL5KSX.js} +1 -1
  59. package/dist/assets/{gen-access-key-BJlDqEhI.js → gen-access-key-BxnyhhCR.js} +1 -1
  60. package/dist/assets/{gen-simple-access-key-lyiUw0C-.js → gen-simple-access-key-BJI-4yOF.js} +1 -1
  61. package/dist/assets/get-safe-url-BVTaUfvO.js +1 -0
  62. package/dist/assets/{hi-D2FEb_Tx.js → hi-DGZy0DLh.js} +2 -2
  63. package/dist/assets/{home-Bs_5YPbK.js → home-Bibhtg_U.js} +1 -1
  64. package/dist/assets/{id-Dw9URVwP.js → id-DOzDilAf.js} +2 -2
  65. package/dist/assets/{iframe-Dqu4MSyW.js → iframe-CqiUrjUO.js} +1 -1
  66. package/dist/assets/{index-BDH_LtJL.js → index-0ZSFNH-D.js} +1 -1
  67. package/dist/assets/{index-1HKgA-fz.js → index-BB8sYq-N.js} +1 -1
  68. package/dist/assets/{index-BWDWEkUF.js → index-BSZ3mQac.js} +2 -2
  69. package/dist/assets/{index-Dfx19arA.js → index-BhpNA6ar.js} +1 -1
  70. package/dist/assets/{index-B4YCnemd.js → index-BnOC3Ium.js} +1 -1
  71. package/dist/assets/index-BszSKE9L.js +1 -0
  72. package/dist/assets/{index-vP1T6V7V.js → index-CHkWO9t3.js} +4 -4
  73. package/dist/assets/{index-BsohFwTm.js → index-CaQuyP_U.js} +1 -1
  74. package/dist/assets/{index-DT5AXPVB.js → index-Cdaohlhu.js} +7 -7
  75. package/dist/assets/{index-B10SG1vs.js → index-CdsI3g5U.js} +1 -1
  76. package/dist/assets/index-CsYL8tps.js +1 -0
  77. package/dist/assets/{index-CRAuhYSg.js → index-D-O_eFad.js} +1 -1
  78. package/dist/assets/{index-BNhv-9xy.js → index-D88DUiSg.js} +1 -1
  79. package/dist/assets/{index-TYwJnR0n.js → index-D8NN8LDz.js} +6 -6
  80. package/dist/assets/{index-CQgzjKgB.js → index-DI4CWTXR.js} +106 -106
  81. package/dist/assets/{index-BhhZ8IDZ.js → index-DUnMyyWn.js} +9 -9
  82. package/dist/assets/{index-BSZtxRM0.js → index-D_ckidZn.js} +2 -2
  83. package/dist/assets/{index-B_SjLIbT.js → index-DlifV2p1.js} +5 -5
  84. package/dist/assets/{index-dbYkWwF4.js → index-DzdHYw6g.js} +1 -1
  85. package/dist/assets/{index-Cq6z7yeF.js → index-Ge2WhAk1.js} +4 -4
  86. package/dist/assets/{index-Cp0b8q3A.js → index-KUC3HPt0.js} +1 -1
  87. package/dist/assets/index-POuATgdm.js +1 -0
  88. package/dist/assets/index-TBM4hzrY.js +81 -0
  89. package/dist/assets/{index-DhHvANH8.js → index-WjASWJcO.js} +4 -4
  90. package/dist/assets/{index-DctZHPFL.js → index-fC-FqmP3.js} +1 -1
  91. package/dist/assets/{index-BGhqVqit.js → index-gohmHhDq.js} +1 -1
  92. package/dist/assets/{index-CRZM3CKo.js → index-hBDzzv6I.js} +1 -1
  93. package/dist/assets/{index-BWL6HE0j.js → index-iX-pnOjy.js} +1 -1
  94. package/dist/assets/{index-B7_VUEoc.js → index-jILCQaR3.js} +1 -1
  95. package/dist/assets/{index-B6DWjLJS.js → index-m_xRKGyG.js} +8 -8
  96. package/dist/assets/{index-G6Vk78zE.js → index-mt_AKU_F.js} +2 -2
  97. package/dist/assets/{index-B0Q9wWG1.js → index-oucqu2vy.js} +1 -1
  98. package/dist/assets/{index-B4KKUWng.js → index-u9tqiWy4.js} +1 -1
  99. package/dist/assets/{index-BkePHcyK.js → index-uexcv8C-.js} +7 -7
  100. package/dist/assets/info-outline-rounded-BLwoUxyI.js +1 -0
  101. package/dist/assets/{invitation-CYFN9u5t.js → invitation-DSs7YT3_.js} +4 -4
  102. package/dist/assets/{invitations-jY13RXbI.js → invitations-DK7oD-E6.js} +1 -1
  103. package/dist/assets/{invite-D72FvaiG.js → invite-CdWfDz--.js} +1 -1
  104. package/dist/assets/{isURL-CJRImg0N.js → isURL-DMMDDAKA.js} +1 -1
  105. package/dist/assets/{issue-passport-BfqkJF3W.js → issue-passport-yIqheTA0.js} +1 -1
  106. package/dist/assets/{item-5ZWPft2s.js → item-BV3WfK17.js} +1 -1
  107. package/dist/assets/{ja-DBxpsmGJ.js → ja-DMq-YXDX.js} +2 -2
  108. package/dist/assets/{ko-CCAdSyce.js → ko-BrYbXurh.js} +2 -2
  109. package/dist/assets/{landing-page-DRtId3hN.js → landing-page-BDAr8Hmo.js} +1 -1
  110. package/dist/assets/{launch-result-message-MNpx7ysR.js → launch-result-message-C04PaKk0.js} +1 -1
  111. package/dist/assets/{layout-Be1KH57_.js → layout-DzZv-Jny.js} +1 -1
  112. package/dist/assets/{list-CQtiNSih.js → list-B6eMSw29.js} +1 -1
  113. package/dist/assets/{list-CHI1rCEg.js → list-BWd3aUjb.js} +2 -2
  114. package/dist/assets/{list-header-Cl3jykCe.js → list-header-wJF4c6BN.js} +1 -1
  115. package/dist/assets/localization-oLJXrcTA.js +1 -0
  116. package/dist/assets/{log-BfCFT05M.js → log-BskdQbRf.js} +1 -1
  117. package/dist/assets/logger-DhW79f4a.js +1 -0
  118. package/dist/assets/{login-BtsH3IvI.js → login-CfL0Uf6Y.js} +1 -1
  119. package/dist/assets/{login-oauth-callback-Ds4uYiRr.js → login-oauth-callback-_6XAZMOE.js} +1 -1
  120. package/dist/assets/{logo-uploader-lepUW_D7.js → logo-uploader-D5E5QaRF.js} +1 -1
  121. package/dist/assets/{lost-passport-BtN3h1ya.js → lost-passport-CUtEI06a.js} +1 -1
  122. package/dist/assets/omit-BeaKJrg9.js +1 -0
  123. package/dist/assets/{open-window-CNt8gsrN.js → open-window-Bi6zVDJd.js} +1 -1
  124. package/dist/assets/{over-due-invoice-payment-7TbnqqKX.js → over-due-invoice-payment-B7FQEnNH.js} +1 -1
  125. package/dist/assets/{overview-Be3tncsL.js → overview-C7QghcRT.js} +1 -1
  126. package/dist/assets/{page-header-CHAwrgX-.js → page-header-BZv-tfgN.js} +1 -1
  127. package/dist/assets/passport-B_eTMTmZ.js +1 -0
  128. package/dist/assets/{passport-item-Bhbm8_m6.js → passport-item-D53yZ-cF.js} +1 -1
  129. package/dist/assets/{permission-BHvrn0M5.js → permission-DC8i_y8F.js} +1 -1
  130. package/dist/assets/preferences-DzDUGj-O.js +1 -0
  131. package/dist/assets/profile-embed-B3QUDkbU.js +1 -0
  132. package/dist/assets/{provider-icon-DQY2_LaP.js → provider-icon-D15U0Izg.js} +1 -1
  133. package/dist/assets/{pt-CrMGrBZ6.js → pt-Dl6732JN.js} +2 -2
  134. package/dist/assets/publish-resource-DCIlLUPS.js +1 -0
  135. package/dist/assets/{react-beautiful-dnd.esm-D0JKrMDl.js → react-beautiful-dnd.esm-BwIgGfYj.js} +1 -1
  136. package/dist/assets/{react-stripe.esm-CVZErl8X.js → react-stripe.esm-5Snjx_mn.js} +1 -1
  137. package/dist/assets/{required-BQln5OcV.js → required-DHjZE3-Y.js} +1 -1
  138. package/dist/assets/{ru-up3R57Pv.js → ru-CVUeN9AX.js} +2 -2
  139. package/dist/assets/{runtime-npJC4gp_.js → runtime-BHekBabT.js} +1 -1
  140. package/dist/assets/{sanitize-C-shWbtD.js → sanitize-yX1j-ggS.js} +1 -1
  141. package/dist/assets/sdk-CJUhxOGJ.js +1 -0
  142. package/dist/assets/{section-jXB9AxBb.js → section-CenHBXqj.js} +1 -1
  143. package/dist/assets/{security-nSKpCl8B.js → security-BMslI5IZ.js} +3 -3
  144. package/dist/assets/{session-C2ZBRIpv.js → session-CZpDtsCZ.js} +1 -1
  145. package/dist/assets/{setup-krkSJpAg.js → setup-CCvGdFDO.js} +1 -1
  146. package/dist/assets/{shorten-label-C4py9TLA.js → shorten-label-DXFyDHDr.js} +1 -1
  147. package/dist/assets/{simple-select-i16Vwzvl.js → simple-select-DtCsUIHR.js} +1 -1
  148. package/dist/assets/{spaces-BdZ_Rv3s.js → spaces-D3H6AchN.js} +1 -1
  149. package/dist/assets/{start-y3zrboBQ.js → start-SeWUP0mo.js} +4 -4
  150. package/dist/assets/{starting-progress-DI-J-VlX.js → starting-progress-Y3UjFmoX.js} +1 -1
  151. package/dist/assets/{status-B8pB_mTB.js → status-MSXp_buG.js} +1 -1
  152. package/dist/assets/{step-actions-B1ufIDaK.js → step-actions-BNFJWVZI.js} +1 -1
  153. package/dist/assets/{studio-1jwq0HOw.js → studio-CRjDRBty.js} +1 -1
  154. package/dist/assets/{switch-CetbUrYR.js → switch-C49IloVU.js} +1 -1
  155. package/dist/assets/{switch-control-_85hc9FG.js → switch-control-npfWE_aC.js} +1 -1
  156. package/dist/assets/{table-tips-CMt22HEy.js → table-tips-DMrnJF8e.js} +1 -1
  157. package/dist/assets/{team-DDjNXwXE.js → team-YWd-FRKh.js} +8 -8
  158. package/dist/assets/{th-DdNj2Ao6.js → th-32eBNQes.js} +2 -2
  159. package/dist/assets/{traffic-mcbpWOFq.js → traffic-0IuWlrAD.js} +1 -1
  160. package/dist/assets/{transfer-C66c3bWd.js → transfer-DRS2VUAN.js} +1 -1
  161. package/dist/assets/{unsubscribe-Cvz0OKhq.js → unsubscribe-xDow2Z6m.js} +1 -1
  162. package/dist/assets/{use-app-logo-BuyF983S.js → use-app-logo-hIHAHSSI.js} +1 -1
  163. package/dist/assets/{use-mobile-BINJTzMb.js → use-mobile-Bz2ML4Gk.js} +1 -1
  164. package/dist/assets/{use-mobile-D5clNlrm.js → use-mobile-_vjPRYx2.js} +1 -1
  165. package/dist/assets/{use-server-logo-Pbr_UuiI.js → use-server-logo-Da86xnyt.js} +1 -1
  166. package/dist/assets/{use-window-close-B16QghYq.js → use-window-close-DUJmRIjM.js} +1 -1
  167. package/dist/assets/{useAsync-BVTh1KYj.js → useAsync-D0xh4Var.js} +1 -1
  168. package/dist/assets/{useAsync-ZGLJQow7.js → useAsync-D6IP8T2e.js} +1 -1
  169. package/dist/assets/{useAsyncRetry-BMmRgSGm.js → useAsyncRetry-B_bXUXWM.js} +1 -1
  170. package/dist/assets/{useLocalStorage-De-EuH_M.js → useLocalStorage-Brr2PSz9.js} +1 -1
  171. package/dist/assets/{user-center-DQSoqc_z.js → user-center-COnqQuqE.js} +6 -6
  172. package/dist/assets/{user-follower-TTyja_sV.js → user-follower-DVX8m-Zk.js} +1 -1
  173. package/dist/assets/{util-Ff3hwYmy.js → util-Dee1Ybp3.js} +1 -1
  174. package/dist/assets/{util-DuMKfKo8.js → util-GXkeqbBQ.js} +1 -1
  175. package/dist/assets/{vendor-arcblock-Cnwtqa7s.js → vendor-arcblock-BCP2x3BR.js} +1 -1
  176. package/dist/assets/{vendor-hooks-BQWlJm53.js → vendor-hooks-DQAdyHrE.js} +1 -1
  177. package/dist/assets/{vendor-mui-core-DnR6WYuU.js → vendor-mui-core-CKKG_1TN.js} +2 -2
  178. package/dist/assets/{vendor-mui-x-CQc01l4r.js → vendor-mui-x-DHGvg6Bj.js} +1 -1
  179. package/dist/assets/{vendor-utils-DCMKu06e.js → vendor-utils-CUs2ebe7.js} +17 -17
  180. package/dist/assets/{vendor-ux-B0gV9NvH.js → vendor-ux-DjXlxcvL.js} +115 -115
  181. package/dist/assets/{vi-HNh41Xxk.js → vi-DF8IinAc.js} +2 -2
  182. package/dist/assets/{wait-connect-CRZmfXOA.js → wait-connect-CLe9IfYi.js} +1 -1
  183. package/dist/assets/{wizard-B41kI39b.js → wizard-8Tk0iyxY.js} +1 -1
  184. package/dist/assets/wizard-components-C10frai0.js +52 -0
  185. package/dist/assets/wrap-locale-CxYp8fAf.js +1 -0
  186. package/dist/assets/{zh-BmX_fuoi.js → zh-BRjrClew.js} +1 -1
  187. package/dist/assets/{zh-MM5bvwO_.js → zh-ByJkLAV1.js} +2 -2
  188. package/dist/assets/{zh-tw-Dr5DyPwA.js → zh-tw-34G9tsUP.js} +2 -2
  189. package/dist/index.html +1 -1
  190. package/package.json +44 -44
  191. package/dist/assets/add-resource-CYRgZ1ps.js +0 -1
  192. package/dist/assets/api-DwxIBXZs.js +0 -1
  193. package/dist/assets/branding-myiZl37D.js +0 -1
  194. package/dist/assets/bundle-avatar-Cc_6nw01.js +0 -1
  195. package/dist/assets/button-D-lyR9BW.js +0 -1
  196. package/dist/assets/cloneDeep-BY8zW7hH.js +0 -1
  197. package/dist/assets/config-44sI5I0w.js +0 -53
  198. package/dist/assets/connect-0OZVqJvc.js +0 -1
  199. package/dist/assets/connect-B9GQZEi7.js +0 -5
  200. package/dist/assets/connect-to-Djgj6TLg.js +0 -1
  201. package/dist/assets/domains-DRP2VSvO.js +0 -1
  202. package/dist/assets/engine-BXGX_w-S.js +0 -1
  203. package/dist/assets/get-safe-url-BiNPujaX.js +0 -1
  204. package/dist/assets/index-B9LF8Bep.js +0 -1
  205. package/dist/assets/index-BmXPp3DU.js +0 -1
  206. package/dist/assets/index-CI_uwh_J.js +0 -81
  207. package/dist/assets/index-CbiyJRV7.js +0 -1
  208. package/dist/assets/info-outline-rounded-BIwvgXCK.js +0 -1
  209. package/dist/assets/localization-CKE-bHgd.js +0 -1
  210. package/dist/assets/logger-DU7baop2.js +0 -1
  211. package/dist/assets/passport-CkJ4B4CG.js +0 -1
  212. package/dist/assets/preferences-TFWtUYLy.js +0 -1
  213. package/dist/assets/profile-embed-B9f9hlSS.js +0 -1
  214. package/dist/assets/publish-resource-CyvkVMG_.js +0 -1
  215. package/dist/assets/sdk-CoWDgSLO.js +0 -1
  216. package/dist/assets/wizard-components-Bn72hVOe.js +0 -52
  217. package/dist/assets/wrap-locale-CF46rj6q.js +0 -1
@@ -1 +1 @@
1
- import{a as n,r as k}from"./vendor-react-CTtPmzVP.js";import{cF as Ne,Q as j,Z as Oe,al as ue,c as Te,a1 as me}from"./index-CQgzjKgB.js";import{ay as je,y as Ie}from"./vendor-utils-DCMKu06e.js";import{u as Pe}from"./useAsyncRetry-BMmRgSGm.js";import{I as Ye}from"./iframe-Dqu4MSyW.js";import{ak as $,P as ye,b4 as f,a3 as ne,T as Y,dN as Fe,V as Le,S as He,aP as _e,I as K,cS as We,y as he,bZ as fe,M as pe,cR as Ae,dO as Ve,n as ge,j as p,W as I,D as ze,a6 as qe,aZ as Be,Q as $e,aN as Ke,bt as Je}from"./vendor-mui-core-DnR6WYuU.js";import{r as ie,b as Me,G as T,z as re,M as W,L as A,A as P,e as V,K as z,J,I as Q,C as F,B as w,E as De,Q as le,y as Qe,D as Ue,H as ce,d as Ze,P as se,F as _,R as Ge,S as Xe,N as et,U as tt,O as at}from"./index-Cp0b8q3A.js";import{ck as be,V as ke}from"./vendor-ux-B0gV9NvH.js";import{f as nt}from"./index-DBs9Ljax.js";import{B as rt}from"./base-chart-DhxjAyBU.js";import{L as st,a as ot}from"./vendor-mui-x-CQc01l4r.js";import{A as it}from"./AdapterDayjs-DafRMFLg.js";function Re(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=Me(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=Me(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(z(e),{locale:t}),r=W(V(e),{locale:t}),s=[];for(let o=a;_(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),ht=({startDate:e,endDate:t},a)=>e&&t&&(le(a,{start:e,end:t})||T(a,e)||T(a,t)),ft=({startDate:e,endDate:t})=>e&&t?T(e,t):!1,ve=(e,t)=>{if(e){const a=e instanceof Date?e:Qe(e);if(Ue(a))return a}return t},pt=(e,t,a)=>{const{startDate:r,endDate:s}=e;if(r&&s){const o=Re([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:z(e),endDate:V(e)},{label:"Last Month",startDate:z(w(e,-1)),endDate:V(w(e,-1))},{label:"This Year",startDate:Q(e),endDate:J(e)},{label:"Last Year",startDate:Q(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(f,{container:!0,justifyContent:"space-between",alignItems:"center"},n.createElement(f,{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(f,{item:!0},n.createElement(he,{variant:"standard"},n.createElement(fe,{value:Xe(e),onChange:g,MenuProps:{disablePortal:!0}},m.map((l,v)=>n.createElement(pe,{key:l,value:v},l))))),n.createElement(f,{item:!0},n.createElement(he,{variant:"standard"},n.createElement(fe,{value:et(e),onChange:d,MenuProps:{disablePortal:!0}},Dt(e,30).map(l=>n.createElement(pe,{key:l,value:l},l))))),n.createElement(f,{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 U;(function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"})(U||(U={}));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,R]=e.navState;return n.createElement(ye,{square:!0,elevation:0,sx:{width:290}},n.createElement(f,{container:!0},n.createElement(vt,{date:s,setDate:m,nextDisabled:!R,prevDisabled:!x,onClickPrevious:()=>r.onMonthNavigate(c,U.Previous),onClickNext:()=>r.onMonthNavigate(c,U.Next),locale:l}),n.createElement(f,{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(f,{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(f,{key:E,container:!0,direction:"row",justifyContent:"center"},D.map(h=>{const N=ut(o,h),b=mt(o,h),S=ft(o),y=ht(o,h)||a.inHoverRange(h);return n.createElement(xt,{key:se(h,"dd-MM-yyyy"),filled:N||b,outlined:lt(h),highlighted:y&&!S,disabled:!ce(s,h)||!le(h,{start:g,end:d}),startOfRange:N&&!S,endOfRange:b&&!S,onClick:()=>r.onDayClick(h),onHover:()=>r.onDayHover(h),value:Ge(h)})}))))))},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(He,{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(_e,{primaryTypographyProps:{variant:"body2",sx:{fontWeight:Ee(r,a)?"bold":"normal"}}},r.label)))),oe={FIRST_MONTH:Symbol("firstMonth"),SECOND_MONTH:Symbol("secondMonth")},yt=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:R}=a,D=Ze(m,o)>=2,E={dateRange:a,minDate:r,maxDate:s,helpers:l,handlers:v};return n.createElement(ye,{elevation:5,square:!0},n.createElement(f,{container:!0,direction:"row",wrap:"nowrap"},n.createElement(f,null,n.createElement(Et,{selectedRange:a,ranges:t,setRange:d})),n.createElement(ne,{orientation:"vertical",flexItem:!0}),n.createElement(f,null,n.createElement(f,{container:!0,sx:{padding:"20px 70px"},alignItems:"center"},n.createElement(f,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},x?se(x,"dd MMMM yyyy",{locale:C}):"Start Date")),n.createElement(f,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Fe,{color:"action"})),n.createElement(f,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},R?se(R,"dd MMMM yyyy",{locale:C}):"End Date"))),n.createElement(ne,null),n.createElement(f,{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}))))))},Mt=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,R]=k.useState(Object.assign({},s)),[D,E]=k.useState(),[h,N]=k.useState(v||t),[b,S]=k.useState(C||w(h,1)),{startDate:y,endDate:L}=x,q=u=>{_(u,b)&&N(u)},H=u=>{De(u,h)&&S(u)},Z=u=>{let{startDate:i,endDate:M}=u;if(i&&M)u.startDate=i=Re([i,d]),u.endDate=M=Se([M,l]),R(u),r(u),N(i),S(ce(i,M)?w(i,1):M);else{const de={};R(de),r(de),N(t),S(w(h,1))}},B=u=>{if(y&&!L&&!_(u,y)){const i={startDate:y,endDate:u};r(i),R(i)}else R({startDate:u,endDate:void 0});E(u)},G=(u,i)=>{if(u===oe.FIRST_MONTH){const M=w(h,i);_(M,b)&&N(M)}else{const M=w(b,i);_(h,M)&&S(M)}},X=u=>{y&&!L&&(!D||!T(u,D))&&E(u)},te={inHoverRange:u=>y&&!L&&D&&De(D,y)&&le(u,{start:y,end:D})},ae={onDayClick:B,onDayHover:X,onMonthNavigate:G};return a?k.createElement(yt,{dateRange:x,minDate:d,maxDate:l,ranges:m,firstMonth:h,secondMonth:b,setFirstMonth:q,setSecondMonth:H,setDateRange:Z,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(Mt,Object.assign({},e))))},kt=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=Ve(),{locale:m}=ke(),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:z(e),endDate:V(e)},{label:"Last Month",startDate:z(w(e,-1)),endDate:V(w(e,-1))},{label:"This Year",startDate:Q(e),endDate:J(e)},{label:"Last Year",startDate:Q(F(e,-1)),endDate:J(F(e,-1))}],Rt=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}=ke(),[m,g]=k.useState(null),[d,l]=k.useState(!1),[v,C]=k.useState(a),[x,R]=k.useState({startDate:j().subtract(30,"day").toDate(),endDate:a}),D=ze(),[E,h]=k.useState(null),N=k.useCallback(i=>{h(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);k.useEffect(()=>{b.loading||x.startDate&&x.endDate&&b.retry()},[x]);const S=i=>{g(m?null:i.currentTarget)},y=b.value||[],{loading:L,error:q}=b;if(!y.length&&L)return p.jsx(qe,{});if(q)return p.jsx(Be,{severity:"error",children:nt(q)});const H={totalRequests:O,validRequests:O,failedRequests:O,uniqueVisitors:O,uniqueFiles:O,uniqueReferrers:O,uniqueNotFound:O,uniqueStaticFiles:O,logSize:ue,bandwidth:ue},Z=Object.keys(H).map(i=>({id:`${i}_chart`,title:o(`analytics.traffic.${i}`),current:y.length?H[i](y[0][i]):0,data:y.length?y.map(M=>({date:M.date,value:M[i]})).reverse():Rt,dateFn:O,valueFn:H[i],total:0})),B=!!m,G=B?"date-range-picker-popover":void 0,X=s?Te.WELLKNOWN_SERVICE_PATH_PREFIX:r.routing.adminPath,ee=Ie(window.location.origin,X,`/api/analytics/traffic?date=${j(v).format("YYYY-MM-DD")}&did=${t}&theme=${D.palette.mode}`),te=i=>{R(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:G,open:B,anchorEl:m,onClose:()=>g(null),anchorOrigin:{vertical:"bottom",horizontal:"left"},children:p.jsx(kt,{open:!0,toggle:S,maxDate:a,definedRanges:we(v),onChange:te})}),p.jsx(f,{container:!0,spacing:4,children:Z.map(i=>p.jsx(f,{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 _t=Object.freeze(Object.defineProperty({__proto__:null,default:St,getDefaultRanges:we},Symbol.toStringTag,{value:"Module"}));export{kt as D,we as g,_t as t};
1
+ import{a as n,r as k}from"./vendor-react-CTtPmzVP.js";import{cG as Ne,Q as j,Z as Oe,al as ue,c as Te,a1 as me}from"./index-DI4CWTXR.js";import{az as je,z as Ie}from"./vendor-utils-CUs2ebe7.js";import{u as Pe}from"./useAsyncRetry-B_bXUXWM.js";import{I as Ye}from"./iframe-CqiUrjUO.js";import{ak as $,P as ye,b4 as f,a3 as ne,T as Y,dN as Fe,V as Le,S as He,aP as _e,I as K,cS as We,y as he,bZ as fe,M as pe,cR as Ae,dO as Ve,n as ge,j as p,W as I,D as ze,a6 as qe,aZ as Be,Q as $e,aN as Ke,bt as Je}from"./vendor-mui-core-CKKG_1TN.js";import{r as ie,b as Me,G as T,z as re,M as W,L as A,A as P,e as V,K as z,J,I as G,C as F,B as w,E as De,Q as le,y as Ge,D as Qe,H as ce,d as Ue,P as se,F as _,R as Ze,S as Xe,N as et,U as tt,O as at}from"./index-KUC3HPt0.js";import{cl as be,V as ke}from"./vendor-ux-DjXlxcvL.js";import{f as nt}from"./index-DBs9Ljax.js";import{B as rt}from"./base-chart-DT--nPCU.js";import{L as st,a as ot}from"./vendor-mui-x-DHGvg6Bj.js";import{A as it}from"./AdapterDayjs-C1bdndja.js";function Re(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=Me(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=Me(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(z(e),{locale:t}),r=W(V(e),{locale:t}),s=[];for(let o=a;_(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),ht=({startDate:e,endDate:t},a)=>e&&t&&(le(a,{start:e,end:t})||T(a,e)||T(a,t)),ft=({startDate:e,endDate:t})=>e&&t?T(e,t):!1,ve=(e,t)=>{if(e){const a=e instanceof Date?e:Ge(e);if(Qe(a))return a}return t},pt=(e,t,a)=>{const{startDate:r,endDate:s}=e;if(r&&s){const o=Re([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:z(e),endDate:V(e)},{label:"Last Month",startDate:z(w(e,-1)),endDate:V(w(e,-1))},{label:"This Year",startDate:G(e),endDate:J(e)},{label:"Last Year",startDate:G(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(f,{container:!0,justifyContent:"space-between",alignItems:"center"},n.createElement(f,{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(f,{item:!0},n.createElement(he,{variant:"standard"},n.createElement(fe,{value:Xe(e),onChange:g,MenuProps:{disablePortal:!0}},m.map((l,v)=>n.createElement(pe,{key:l,value:v},l))))),n.createElement(f,{item:!0},n.createElement(he,{variant:"standard"},n.createElement(fe,{value:et(e),onChange:d,MenuProps:{disablePortal:!0}},Dt(e,30).map(l=>n.createElement(pe,{key:l,value:l},l))))),n.createElement(f,{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 Q;(function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"})(Q||(Q={}));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,R]=e.navState;return n.createElement(ye,{square:!0,elevation:0,sx:{width:290}},n.createElement(f,{container:!0},n.createElement(vt,{date:s,setDate:m,nextDisabled:!R,prevDisabled:!x,onClickPrevious:()=>r.onMonthNavigate(c,Q.Previous),onClickNext:()=>r.onMonthNavigate(c,Q.Next),locale:l}),n.createElement(f,{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(f,{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(f,{key:E,container:!0,direction:"row",justifyContent:"center"},D.map(h=>{const N=ut(o,h),b=mt(o,h),S=ft(o),y=ht(o,h)||a.inHoverRange(h);return n.createElement(xt,{key:se(h,"dd-MM-yyyy"),filled:N||b,outlined:lt(h),highlighted:y&&!S,disabled:!ce(s,h)||!le(h,{start:g,end:d}),startOfRange:N&&!S,endOfRange:b&&!S,onClick:()=>r.onDayClick(h),onHover:()=>r.onDayHover(h),value:Ze(h)})}))))))},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(He,{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(_e,{primaryTypographyProps:{variant:"body2",sx:{fontWeight:Ee(r,a)?"bold":"normal"}}},r.label)))),oe={FIRST_MONTH:Symbol("firstMonth"),SECOND_MONTH:Symbol("secondMonth")},yt=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:R}=a,D=Ue(m,o)>=2,E={dateRange:a,minDate:r,maxDate:s,helpers:l,handlers:v};return n.createElement(ye,{elevation:5,square:!0},n.createElement(f,{container:!0,direction:"row",wrap:"nowrap"},n.createElement(f,null,n.createElement(Et,{selectedRange:a,ranges:t,setRange:d})),n.createElement(ne,{orientation:"vertical",flexItem:!0}),n.createElement(f,null,n.createElement(f,{container:!0,sx:{padding:"20px 70px"},alignItems:"center"},n.createElement(f,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},x?se(x,"dd MMMM yyyy",{locale:C}):"Start Date")),n.createElement(f,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Fe,{color:"action"})),n.createElement(f,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},R?se(R,"dd MMMM yyyy",{locale:C}):"End Date"))),n.createElement(ne,null),n.createElement(f,{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}))))))},Mt=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,R]=k.useState(Object.assign({},s)),[D,E]=k.useState(),[h,N]=k.useState(v||t),[b,S]=k.useState(C||w(h,1)),{startDate:y,endDate:L}=x,q=u=>{_(u,b)&&N(u)},H=u=>{De(u,h)&&S(u)},U=u=>{let{startDate:i,endDate:M}=u;if(i&&M)u.startDate=i=Re([i,d]),u.endDate=M=Se([M,l]),R(u),r(u),N(i),S(ce(i,M)?w(i,1):M);else{const de={};R(de),r(de),N(t),S(w(h,1))}},B=u=>{if(y&&!L&&!_(u,y)){const i={startDate:y,endDate:u};r(i),R(i)}else R({startDate:u,endDate:void 0});E(u)},Z=(u,i)=>{if(u===oe.FIRST_MONTH){const M=w(h,i);_(M,b)&&N(M)}else{const M=w(b,i);_(h,M)&&S(M)}},X=u=>{y&&!L&&(!D||!T(u,D))&&E(u)},te={inHoverRange:u=>y&&!L&&D&&De(D,y)&&le(u,{start:y,end:D})},ae={onDayClick:B,onDayHover:X,onMonthNavigate:Z};return a?k.createElement(yt,{dateRange:x,minDate:d,maxDate:l,ranges:m,firstMonth:h,secondMonth:b,setFirstMonth:q,setSecondMonth:H,setDateRange:U,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(Mt,Object.assign({},e))))},kt=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=Ve(),{locale:m}=ke(),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:z(e),endDate:V(e)},{label:"Last Month",startDate:z(w(e,-1)),endDate:V(w(e,-1))},{label:"This Year",startDate:G(e),endDate:J(e)},{label:"Last Year",startDate:G(F(e,-1)),endDate:J(F(e,-1))}],Rt=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}=ke(),[m,g]=k.useState(null),[d,l]=k.useState(!1),[v,C]=k.useState(a),[x,R]=k.useState({startDate:j().subtract(30,"day").toDate(),endDate:a}),D=ze(),[E,h]=k.useState(null),N=k.useCallback(i=>{h(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);k.useEffect(()=>{b.loading||x.startDate&&x.endDate&&b.retry()},[x]);const S=i=>{g(m?null:i.currentTarget)},y=b.value||[],{loading:L,error:q}=b;if(!y.length&&L)return p.jsx(qe,{});if(q)return p.jsx(Be,{severity:"error",children:nt(q)});const H={totalRequests:O,validRequests:O,failedRequests:O,uniqueVisitors:O,uniqueFiles:O,uniqueReferrers:O,uniqueNotFound:O,uniqueStaticFiles:O,logSize:ue,bandwidth:ue},U=Object.keys(H).map(i=>({id:`${i}_chart`,title:o(`analytics.traffic.${i}`),current:y.length?H[i](y[0][i]):0,data:y.length?y.map(M=>({date:M.date,value:M[i]})).reverse():Rt,dateFn:O,valueFn:H[i],total:0})),B=!!m,Z=B?"date-range-picker-popover":void 0,X=s?Te.WELLKNOWN_SERVICE_PATH_PREFIX:r.routing.adminPath,ee=Ie(window.location.origin,X,`/api/analytics/traffic?date=${j(v).format("YYYY-MM-DD")}&did=${t}&theme=${D.palette.mode}`),te=i=>{R(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:Z,open:B,anchorEl:m,onClose:()=>g(null),anchorOrigin:{vertical:"bottom",horizontal:"left"},children:p.jsx(kt,{open:!0,toggle:S,maxDate:a,definedRanges:we(v),onChange:te})}),p.jsx(f,{container:!0,spacing:4,children:U.map(i=>p.jsx(f,{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 _t=Object.freeze(Object.defineProperty({__proto__:null,default:St,getDefaultRanges:we},Symbol.toStringTag,{value:"Module"}));export{kt as D,we as g,_t as t};
@@ -1,4 +1,4 @@
1
- import{j as e,a6 as w,ak as c,bu as k,T as C,at as p}from"./vendor-mui-core-DnR6WYuU.js";import{u as S,o as y,b as T,e as b,W as A,m as D,c as E,w as R}from"./index-CQgzjKgB.js";import{H as I}from"./addon-qN24wAb4.js";import{K as P}from"./landing-page-DRtId3hN.js";import{V as F,F as W}from"./vendor-ux-B0gV9NvH.js";import{p as H}from"./vendor-hooks-BQWlJm53.js";import{r as o}from"./vendor-react-CTtPmzVP.js";import{s as L}from"./vendor-arcblock-Cnwtqa7s.js";import"./vendor-utils-DCMKu06e.js";import"./lottie-web-4koyQiv_.js";import"./question-mark-circle.svg-GhTaklFN.js";function M(){const{t:s,locale:l}=F(),{api:f,session:d}=S(),{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(k,{style:{fontSize:80}})}),e.jsx(C,{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:10*60*1e3,onSuccess:j,onClose:()=>{},locale:l,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 _=p(L)`
1
+ import{j as e,a6 as w,ak as c,bu as k,T as C,at as p}from"./vendor-mui-core-CKKG_1TN.js";import{u as S,o as y,b as T,e as b,W as A,m as D,c as E,w as R}from"./index-DI4CWTXR.js";import{H as I}from"./addon-yDIBSjIk.js";import{K as P}from"./landing-page-BDAr8Hmo.js";import{V as F,F as W}from"./vendor-ux-DjXlxcvL.js";import{p as H}from"./vendor-hooks-DQAdyHrE.js";import{r as o}from"./vendor-react-CTtPmzVP.js";import{s as L}from"./vendor-arcblock-BCP2x3BR.js";import"./vendor-utils-CUs2ebe7.js";import"./lottie-web-4koyQiv_.js";import"./question-mark-circle.svg-GhTaklFN.js";function M(){const{t:s,locale:l}=F(),{api:f,session:d}=S(),{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(k,{style:{fontSize:80}})}),e.jsx(C,{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:10*60*1e3,onSuccess:j,onClose:()=>{},locale:l,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 _=p(L)`
2
2
  position: fixed;
3
3
  top: 16px;
4
4
  right: 16px;
@@ -1 +1 @@
1
- import{j as e,ak as r,c5 as y,cn as j,co as w,cp as k,T as C}from"./vendor-mui-core-DnR6WYuU.js";import{i as E,L as F}from"./vendor-react-CTtPmzVP.js";import{u as L,b1 as R,c}from"./index-CQgzjKgB.js";import{g as v,b as l,h as P}from"./vendor-hooks-BQWlJm53.js";import{V as S,W as t,F as d}from"./vendor-ux-B0gV9NvH.js";import{y as u}from"./vendor-utils-DCMKu06e.js";import"./vendor-arcblock-Cnwtqa7s.js";import"./lottie-web-4koyQiv_.js";function A(){const{api:f}=L(),m=E(),{t:n}=S(),s=new URLSearchParams(m.search).get("token"),i=v({error:"",finished:!1,loading:!1}),h=l(()=>{window.close(),window.location.replace("/")}),b=l(async()=>{try{i.loading=!0;const{data:o}=await f.post("/api/user/notification/unsubscribe",{token:s});o.success===!0?(i.finished=!0,t.success(n("notification.unsubscribeSucceed"))):(i.finished=!1,t.error(n("notification.unsubscribeFailed")))}catch(o){i.finished=!1,t.error(o.message||n("notification.unsubscribeFailed"))}finally{i.loading=!1}});P(()=>{if(!s)i.error=n("notification.unsubscribeTokenRequired");else{const o=R(s);if(!o)i.error=n("notification.unsubscribeTokenInvalid");else{const{exp:g}=o;g*1e3<=Date.now()&&(i.error=n("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?n("notification.unsubscribeSucceed"):n("notification.email.unsubscribe")}),e.jsxs(w,{sx:{minHeight:"10em"},children:[i.error?i.error:null,!i.error&&!i.finished?n("notification.email.unsubscribeDescription"):null,!i.error&&i.finished?e.jsxs(e.Fragment,{children:[n("notification.email.subscribeDescription")," ",e.jsx(F,{to:u(c.WELLKNOWN_SERVICE_PATH_PREFIX,"/user/settings"),color:"primary",children:n("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:h,children:n("common.close")}),i.error||i.finished?null:e.jsx(d,{size:"small",color:"primary",variant:"contained",onClick:b,loading:i.loading,children:n("notification.unsubscribe")})]})]}),e.jsxs(C,{variant:"body2",color:"gray",children:["Copyright © ",x," ",p]})]})})}export{A as default};
1
+ import{j as e,ak as r,c5 as y,cn as j,co as w,cp as k,T as C}from"./vendor-mui-core-CKKG_1TN.js";import{i as E,L as F}from"./vendor-react-CTtPmzVP.js";import{u as L,b1 as R,c}from"./index-DI4CWTXR.js";import{g as v,b as l,h as P}from"./vendor-hooks-DQAdyHrE.js";import{V as S,W as t,F as d}from"./vendor-ux-DjXlxcvL.js";import{z as u}from"./vendor-utils-CUs2ebe7.js";import"./vendor-arcblock-BCP2x3BR.js";import"./lottie-web-4koyQiv_.js";function A(){const{api:f}=L(),m=E(),{t:n}=S(),s=new URLSearchParams(m.search).get("token"),i=v({error:"",finished:!1,loading:!1}),h=l(()=>{window.close(),window.location.replace("/")}),b=l(async()=>{try{i.loading=!0;const{data:o}=await f.post("/api/user/notification/unsubscribe",{token:s});o.success===!0?(i.finished=!0,t.success(n("notification.unsubscribeSucceed"))):(i.finished=!1,t.error(n("notification.unsubscribeFailed")))}catch(o){i.finished=!1,t.error(o.message||n("notification.unsubscribeFailed"))}finally{i.loading=!1}});P(()=>{if(!s)i.error=n("notification.unsubscribeTokenRequired");else{const o=R(s);if(!o)i.error=n("notification.unsubscribeTokenInvalid");else{const{exp:g}=o;g*1e3<=Date.now()&&(i.error=n("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?n("notification.unsubscribeSucceed"):n("notification.email.unsubscribe")}),e.jsxs(w,{sx:{minHeight:"10em"},children:[i.error?i.error:null,!i.error&&!i.finished?n("notification.email.unsubscribeDescription"):null,!i.error&&i.finished?e.jsxs(e.Fragment,{children:[n("notification.email.subscribeDescription")," ",e.jsx(F,{to:u(c.WELLKNOWN_SERVICE_PATH_PREFIX,"/user/settings"),color:"primary",children:n("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:h,children:n("common.close")}),i.error||i.finished?null:e.jsx(d,{size:"small",color:"primary",variant:"contained",onClick:b,loading:i.loading,children:n("notification.unsubscribe")})]})]}),e.jsxs(C,{variant:"body2",color:"gray",children:["Copyright © ",x," ",p]})]})})}export{A as default};
@@ -1 +1 @@
1
- import{y as L}from"./vendor-utils-DCMKu06e.js";import{Z as u,J as e,bf as T,ak as R}from"./index-CQgzjKgB.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-CUs2ebe7.js";import{Z as u,J as e,bf as T,ak as R}from"./index-DI4CWTXR.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{D as o,J as r}from"./vendor-mui-core-DnR6WYuU.js";function u({key:e}={key:"sm"}){const s=o();return r(s.breakpoints.down(e))}export{u};
1
+ import{D as o,J as r}from"./vendor-mui-core-CKKG_1TN.js";function u({key:e}={key:"sm"}){const s=o();return r(s.breakpoints.down(e))}export{u};
@@ -1 +1 @@
1
- import{D as o,J as r}from"./vendor-mui-core-DnR6WYuU.js";function u({key:e}={key:"sm"}){const s=o();return r(s.breakpoints.down(e))}export{u};
1
+ import{D as o,J as r}from"./vendor-mui-core-CKKG_1TN.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-CTtPmzVP.js";import{t as o}from"./server-logo-notext.svg-BLAdvsmP.js";import{u as r}from"./use-mobile-BINJTzMb.js";import{D as m,j as c}from"./vendor-mui-core-DnR6WYuU.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-CTtPmzVP.js";import{t as o}from"./server-logo-notext.svg-BLAdvsmP.js";import{u as r}from"./use-mobile-_vjPRYx2.js";import{D as m,j as c}from"./vendor-mui-core-CKKG_1TN.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{al as o,_ as r}from"./vendor-ux-B0gV9NvH.js";import{r as a}from"./vendor-react-CTtPmzVP.js";function i(){const t=o();return a.useCallback(()=>{if(t?.wallet){r(()=>import("./index-m1ZQT0sU.js").then(e=>e.i),[],import.meta.url).then(e=>{setTimeout(()=>{e.call("arcClosePage")},2e3)});return}setTimeout(()=>{window.close()},500)},[t?.wallet])}export{i as u};
1
+ import{al as o,_ as r}from"./vendor-ux-DjXlxcvL.js";import{r as a}from"./vendor-react-CTtPmzVP.js";function i(){const t=o();return a.useCallback(()=>{if(t?.wallet){r(()=>import("./index-m1ZQT0sU.js").then(e=>e.i),[],import.meta.url).then(e=>{setTimeout(()=>{e.call("arcClosePage")},2e3)});return}setTimeout(()=>{window.close()},500)},[t?.wallet])}export{i as u};
@@ -1 +1 @@
1
- import{g as r}from"./vendor-react-CTtPmzVP.js";import{r as s}from"./useAsync-ZGLJQow7.js";var o=s();const a=r(o);export{a as u};
1
+ import{g as r}from"./vendor-react-CTtPmzVP.js";import{r as s}from"./useAsync-D6IP8T2e.js";var o=s();const a=r(o);export{a as u};
@@ -1 +1 @@
1
- import{y as p}from"./vendor-hooks-BQWlJm53.js";import{d as y}from"./vendor-react-CTtPmzVP.js";var i={},l={},d={},M;function h(){if(M)return d;M=1,Object.defineProperty(d,"__esModule",{value:!0});var e=y();function r(){var t=e.useRef(!1),s=e.useCallback(function(){return t.current},[]);return e.useEffect(function(){return t.current=!0,function(){t.current=!1}},[]),s}return d.default=r,d}var q;function F(){if(q)return l;q=1,Object.defineProperty(l,"__esModule",{value:!0});var e=p,r=y(),t=e.__importDefault(h());function s(v,u,a){u===void 0&&(u=[]),a===void 0&&(a={loading:!1});var f=r.useRef(0),c=t.default(),g=r.useState(a),b=g[0],_=g[1],U=r.useCallback(function(){for(var m=[],o=0;o<arguments.length;o++)m[o]=arguments[o];var A=++f.current;return b.loading||_(function(n){return e.__assign(e.__assign({},n),{loading:!0})}),v.apply(void 0,m).then(function(n){return c()&&A===f.current&&_({value:n,loading:!1}),n},function(n){return c()&&A===f.current&&_({error:n,loading:!1}),n})},u);return[b,U]}return l.default=s,l}var R;function S(){if(R)return i;R=1,Object.defineProperty(i,"__esModule",{value:!0});var e=p,r=y(),t=e.__importDefault(F());function s(v,u){u===void 0&&(u=[]);var a=t.default(v,u,{loading:!0}),f=a[0],c=a[1];return r.useEffect(function(){c()},[c]),f}return i.default=s,i}export{S as r};
1
+ import{y as p}from"./vendor-hooks-DQAdyHrE.js";import{d as y}from"./vendor-react-CTtPmzVP.js";var i={},l={},d={},M;function h(){if(M)return d;M=1,Object.defineProperty(d,"__esModule",{value:!0});var e=y();function r(){var t=e.useRef(!1),s=e.useCallback(function(){return t.current},[]);return e.useEffect(function(){return t.current=!0,function(){t.current=!1}},[]),s}return d.default=r,d}var q;function F(){if(q)return l;q=1,Object.defineProperty(l,"__esModule",{value:!0});var e=p,r=y(),t=e.__importDefault(h());function s(v,u,a){u===void 0&&(u=[]),a===void 0&&(a={loading:!1});var f=r.useRef(0),c=t.default(),g=r.useState(a),b=g[0],_=g[1],U=r.useCallback(function(){for(var m=[],o=0;o<arguments.length;o++)m[o]=arguments[o];var A=++f.current;return b.loading||_(function(n){return e.__assign(e.__assign({},n),{loading:!0})}),v.apply(void 0,m).then(function(n){return c()&&A===f.current&&_({value:n,loading:!1}),n},function(n){return c()&&A===f.current&&_({error:n,loading:!1}),n})},u);return[b,U]}return l.default=s,l}var R;function S(){if(R)return i;R=1,Object.defineProperty(i,"__esModule",{value:!0});var e=p,r=y(),t=e.__importDefault(F());function s(v,u){u===void 0&&(u=[]);var a=t.default(v,u,{loading:!0}),f=a[0],c=a[1];return r.useEffect(function(){c()},[c]),f}return i.default=s,i}export{S as r};
@@ -1,4 +1,4 @@
1
- import{at as A}from"./vendor-mui-core-DnR6WYuU.js";import{d as p,g}from"./vendor-react-CTtPmzVP.js";import{y as R}from"./vendor-hooks-BQWlJm53.js";import{r as b}from"./useAsync-ZGLJQow7.js";const n={success:"#3ab39d",error:"#D0021B"},u="10px",z=A.div`
1
+ import{at as A}from"./vendor-mui-core-CKKG_1TN.js";import{d as p,g}from"./vendor-react-CTtPmzVP.js";import{y as R}from"./vendor-hooks-DQAdyHrE.js";import{r as b}from"./useAsync-D6IP8T2e.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-CTtPmzVP.js";import{bo as b}from"./vendor-ux-B0gV9NvH.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};
1
+ import{d as y,g as z}from"./vendor-react-CTtPmzVP.js";import{bp as b}from"./vendor-ux-DjXlxcvL.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 q=z(J);export{q as u};