@abtnode/blocklet-services 1.17.3-beta-20251118-061144-335cd35d → 1.17.3-beta-20251119-034511-f26047c0
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.
- package/api/routes/blocklet.js +7 -0
- package/dist/assets/{AdapterDayjs-C8RSaHa0.js → AdapterDayjs-BlYfODzx.js} +1 -1
- package/dist/assets/{Community-ClHGTbNM.js → Community-C7CFokDQ.js} +1 -1
- package/dist/assets/{Google-BT1deiYa.js → Google-BOjQI1aW.js} +1 -1
- package/dist/assets/{Holiday-D8fmDxt6.js → Holiday-DyVifdc-.js} +1 -1
- package/dist/assets/{Meeting-CF7NtQe5.js → Meeting-DbtUCCZq.js} +1 -1
- package/dist/assets/{OffSick-CWwGwWYY.js → OffSick-BtITykO3.js} +1 -1
- package/dist/assets/{WorkingRemotely-CD8ntsiV.js → WorkingRemotely-mKvokr6L.js} +1 -1
- package/dist/assets/{access-control-Ddnn1J4F.js → access-control-DTCMjhKk.js} +1 -1
- package/dist/assets/{actions-DqoNrBDK.js → actions-DlChK31K.js} +1 -1
- package/dist/assets/{add-component-core-CZQBpP2b.js → add-component-core-CUr388CN.js} +1 -1
- package/dist/assets/{add-resource-DUXwdNKB.js → add-resource-Dc856hpt.js} +1 -1
- package/dist/assets/{addon-BgN564dt.js → addon-B40hGwgm.js} +1 -1
- package/dist/assets/{advanced-D9d385yZ.js → advanced-Br_YsN3-.js} +1 -1
- package/dist/assets/{aigne-BK9oL3LS.js → aigne-H9M2qziH.js} +1 -1
- package/dist/assets/api-DcGGeMWE.js +1 -0
- package/dist/assets/{appearance-BLjBQMnd.js → appearance-CZaZuJSH.js} +1 -1
- package/dist/assets/{arrow-down.svg-Uxqj9Lez.js → arrow-down.svg-B4fW36cY.js} +1 -1
- package/dist/assets/{audit-logs-B9JmO_5U.js → audit-logs-CdBxa8MQ.js} +1 -1
- package/dist/assets/{authorize-BseET0LV.js → authorize-BF4yXQyf.js} +1 -1
- package/dist/assets/{base-chart-C-Raz4Q-.js → base-chart-DkkGeB5D.js} +1 -1
- package/dist/assets/{base32-DB18VP05.js → base32-DJEJY-PH.js} +1 -1
- package/dist/assets/{bind-account-DWu2ZbPT.js → bind-account-D6p5CBbp.js} +1 -1
- package/dist/assets/{branding-CPYtF-6a.js → branding-B7dM6NSY.js} +1 -1
- package/dist/assets/{branding-CmMCHUpY.js → branding-CoyX7jAw.js} +1 -1
- package/dist/assets/branding-DNryM-GG.js +1 -0
- package/dist/assets/{bundle-avatar-B9iCn_eS.js → bundle-avatar--3Ig7ZeD.js} +1 -1
- package/dist/assets/button-CjoOMC5b.js +1 -0
- package/dist/assets/click-to-copy-BiDS_MtA.js +1 -0
- package/dist/assets/cloneDeep-C11iVb3m.js +1 -0
- package/dist/assets/{collapse-BMy0GGFk.js → collapse-Cqxx6nMG.js} +1 -1
- package/dist/assets/{complete-DFxZ9mZl.js → complete-DPTGJDLo.js} +1 -1
- package/dist/assets/{component-CmpGxsIf.js → component-C9douaIx.js} +2 -2
- package/dist/assets/{config-BMeucuGh.js → config-BuIjAxID.js} +1 -1
- package/dist/assets/{config-Dj032f65.js → config-DLpmAnUO.js} +1 -1
- package/dist/assets/{config-Bg2nv4Ct.js → config-DbJRjGKg.js} +1 -1
- package/dist/assets/{config-navigation-Wws6cRZg.js → config-navigation-ebep7Vaw.js} +2 -2
- package/dist/assets/{config-space-DVbXpK0p.js → config-space-BIBMi9yR.js} +1 -1
- package/dist/assets/{confirm-D_oS4C5N.js → confirm-CklyzxUV.js} +1 -1
- package/dist/assets/{connect-BeM9KScn.js → connect-D1S9h2vl.js} +1 -1
- package/dist/assets/{connect-td4SUK2j.js → connect-sHh18260.js} +1 -1
- package/dist/assets/{connect-to-CK_BBgim.js → connect-to-CN0n_rfw.js} +1 -1
- package/dist/assets/{content-layout-oyz1EqNZ.js → content-layout-DpoiOm37.js} +1 -1
- package/dist/assets/{create-passport-svg-B2TKOs7K.js → create-passport-svg-k1mCsufD.js} +1 -1
- package/dist/assets/{createClass-BWB0NSWO.js → createClass-Bp8GWzB3.js} +1 -1
- package/dist/assets/{dashboard-B59Yx2EA.js → dashboard-BOEp1A3P.js} +2 -2
- package/dist/assets/{delete-confirm-DwFvaC6s.js → delete-confirm-DOWoUCR5.js} +1 -1
- package/dist/assets/{did-address-C5FXzeAS.js → did-address-BKqL0vbP.js} +1 -1
- package/dist/assets/{domain-Dwzb8N6w.js → domain-_Mg8zUon.js} +1 -1
- package/dist/assets/{domain-action-card-CXIxAIsm.js → domain-action-card-COcfS69j.js} +1 -1
- package/dist/assets/domains-HnFn4BU9.js +1 -0
- package/dist/assets/{edit.svg-DycWG9v3.js → edit.svg-Dz9cVo7r.js} +1 -1
- package/dist/assets/{email-CDYDF-7u.js → email-CY8kCkSP.js} +2 -2
- package/dist/assets/{empty-spinner-DYOzicuy.js → empty-spinner-CveVktQP.js} +1 -1
- package/dist/assets/engine-D5_fEmdT.js +1 -0
- package/dist/assets/{exchange-passport-CoU5Q4QA.js → exchange-passport-DPA710jd.js} +1 -1
- package/dist/assets/{form-I14bCwkb.js → form-CaWm2WdL.js} +1 -1
- package/dist/assets/{form-text-input-B2T0zM2q.js → form-text-input-gTokKFc6.js} +1 -1
- package/dist/assets/{form-wrapper-C8oo_Fdy.js → form-wrapper-BxqO_YSO.js} +1 -1
- package/dist/assets/{fuel-DlHj4E28.js → fuel-DAxqtWTp.js} +1 -1
- package/dist/assets/{gen-access-key-C54GFXyN.js → gen-access-key-DnFZ5j_f.js} +1 -1
- package/dist/assets/{gen-simple-access-key-Cgw0gqQM.js → gen-simple-access-key-D0cY_mzH.js} +1 -1
- package/dist/assets/get-safe-url-b0FoyA1U.js +1 -0
- package/dist/assets/{home-D6Wx3vEh.js → home-BLXMP7Fn.js} +1 -1
- package/dist/assets/{iframe-fHGifsex.js → iframe-Cf5bT_6x.js} +1 -1
- package/dist/assets/{index-Mix8V5gr.js → index--t-eBalO.js} +1 -1
- package/dist/assets/{index-DTj7lG0j.js → index-0wVxGFHL.js} +1 -1
- package/dist/assets/{index-qme31tNJ.js → index-B11Boj2H.js} +1 -1
- package/dist/assets/{index-D5TNmV3K.js → index-B7KG9373.js} +1 -1
- package/dist/assets/{index-phW48DJg.js → index-B9JcYhlg.js} +1 -1
- package/dist/assets/{index-DVBwQI1h.js → index-BBGDYmGN.js} +1 -1
- package/dist/assets/{index-NomqB6Iy.js → index-BDvewqjE.js} +1 -1
- package/dist/assets/{index-Bdyv52fm.js → index-BQ7b2rES.js} +1 -1
- package/dist/assets/{index-Ctf-FbXC.js → index-BYMI0ny4.js} +2 -2
- package/dist/assets/{index-DW-pVTUA.js → index-B_fIpHt1.js} +1 -1
- package/dist/assets/{index-BPy8_fa2.js → index-BsA1v5Kx.js} +1 -1
- package/dist/assets/{index-CWemdG9k.js → index-C-fUoCuC.js} +1 -1
- package/dist/assets/{index-ChNXm8zt.js → index-CALyM1b7.js} +1 -1
- package/dist/assets/{index-D1c_Zlts.js → index-CLUTu1X-.js} +1 -1
- package/dist/assets/{index-CgdhTqWX.js → index-CMec_woq.js} +1 -1
- package/dist/assets/{index-S8uuD-j6.js → index-CQOXFqub.js} +1 -1
- package/dist/assets/{index-Bnv7SivR.js → index-CS-lh8B6.js} +1 -1
- package/dist/assets/{index-BUTKGY5W.js → index-CWtomC5e.js} +1 -1
- package/dist/assets/{index-j9zHEMDv.js → index-Crb5v_oP.js} +1 -1
- package/dist/assets/{index-Dd1dREUL.js → index-DByR2J-y.js} +2 -2
- package/dist/assets/{index-sE6ANlb1.js → index-DCa5wWAd.js} +1 -1
- package/dist/assets/{index-CsRxFZuh.js → index-DDc9u4Rr.js} +1 -1
- package/dist/assets/{index-nYsahwVM.js → index-DIpoCt72.js} +1 -1
- package/dist/assets/{index-Tj1dVBHC.js → index-DKSVm7e-.js} +1 -1
- package/dist/assets/{index-De-Vgsb6.js → index-DO0bEcmC.js} +1 -1
- package/dist/assets/index-DW1-kshH.js +1 -0
- package/dist/assets/{index-DVZm1sCw.js → index-DX8eFzfu.js} +1 -1
- package/dist/assets/{index-Cq3xfsOS.js → index-DiqdSyj7.js} +104 -104
- package/dist/assets/{index-BJAIYdQp.js → index-DnuNgd04.js} +1 -1
- package/dist/assets/{index-B5fUUj0x.js → index-JqMHvzVF.js} +1 -1
- package/dist/assets/{index-C1cWdBpP.js → index-WkJweVHY.js} +1 -1
- package/dist/assets/{index-ecxGjzSN.js → index-XwZTnGB3.js} +1 -1
- package/dist/assets/{index-DnKyoEA9.js → index-aRHQsmOg.js} +1 -1
- package/dist/assets/{index-CPlFvcnd.js → index-gIzQEnMj.js} +3 -3
- package/dist/assets/{index-C5hO5d4a.js → index-zNB-v-t2.js} +1 -1
- package/dist/assets/{index.esm-JPZAjt0x.js → index.esm-DTmS4tth.js} +1 -1
- package/dist/assets/{invitation-p9I7Fs_7.js → invitation-DDf3OBDz.js} +1 -1
- package/dist/assets/{invitations-BYrxk2XC.js → invitations-D12iZAQL.js} +1 -1
- package/dist/assets/{invite-DptGZzm9.js → invite-Df9QWw7t.js} +1 -1
- package/dist/assets/{isURL-DmCvTfVx.js → isURL-bkdgf1x2.js} +1 -1
- package/dist/assets/{issue-passport-CeJy-eGP.js → issue-passport-gNt3LqEb.js} +1 -1
- package/dist/assets/{item-D48n_jCS.js → item-1yEVSl8f.js} +1 -1
- package/dist/assets/{landing-page-C-nrxraJ.js → landing-page-DIy3L18O.js} +1 -1
- package/dist/assets/{launch-result-message-DWeUg9rM.js → launch-result-message-5HOBRYMn.js} +1 -1
- package/dist/assets/{layout-Bu-krdMM.js → layout-CgGSszKF.js} +1 -1
- package/dist/assets/{list-DTYfy5jI.js → list-Bj4EH_EL.js} +1 -1
- package/dist/assets/{list-Bm-Ae18B.js → list-CSWSdurz.js} +1 -1
- package/dist/assets/{list-header-BE2kzda_.js → list-header-Q-5QUSB8.js} +1 -1
- package/dist/assets/localization-CgrsqMtL.js +1 -0
- package/dist/assets/{lock.svg-COUP8tyO.js → lock.svg-BPCZ0CT3.js} +1 -1
- package/dist/assets/{log-QCNL7fmO.js → log-B_J8mg8B.js} +1 -1
- package/dist/assets/logger-QD2VS2Mb.js +1 -0
- package/dist/assets/{login-CEAH4IAS.js → login-Bio30C4m.js} +1 -1
- package/dist/assets/{login-oauth-callback-C2H6pyf0.js → login-oauth-callback-D0EhzZTU.js} +1 -1
- package/dist/assets/{logo-uploader-D9dqlBcG.js → logo-uploader-DnA7whvY.js} +1 -1
- package/dist/assets/{lost-passport-D-HNQTYL.js → lost-passport-CM51lU3r.js} +2 -2
- package/dist/assets/{lottie-react.esm-M5fKy3fg.js → lottie-react.esm-CD0xFBYg.js} +1 -1
- package/dist/assets/observability-BrLAcYkS.js +1 -0
- package/dist/assets/omit-CPVfFmp-.js +1 -0
- package/dist/assets/{open-window-DgCyIQ1g.js → open-window-z11fkxAm.js} +1 -1
- package/dist/assets/{over-due-invoice-payment-DSTf3GE0.js → over-due-invoice-payment-B7tDPPws.js} +1 -1
- package/dist/assets/{overview-ClqTYGzr.js → overview-1UV4-LGy.js} +1 -1
- package/dist/assets/{page-header-DCvzRay5.js → page-header-bY0dwe6y.js} +1 -1
- package/dist/assets/passport-BxAsPdEH.js +1 -0
- package/dist/assets/{passport-item-BDPJusYi.js → passport-item-DmCvf5Er.js} +1 -1
- package/dist/assets/{permission-CPpfaEat.js → permission-t78Xon7o.js} +1 -1
- package/dist/assets/playground-QvTAmNqS.js +1 -0
- package/dist/assets/preferences-K24ynDKn.js +1 -0
- package/dist/assets/profile-embed-DXvSNJu_.js +1 -0
- package/dist/assets/publish-resource-BM96DWgo.js +1 -0
- package/dist/assets/{question-mark-circle.svg-B4stD6SS.js → question-mark-circle.svg-DK9nTUDZ.js} +1 -1
- package/dist/assets/{raf-schd.esm-CHNehTG3.js → raf-schd.esm-JNUhxcps.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-ZwmTP19t.js → react-beautiful-dnd.esm-DQ9oGom7.js} +1 -1
- package/dist/assets/{react-stripe.esm-Dc9snvfb.js → react-stripe.esm-CT6ZhpE7.js} +1 -1
- package/dist/assets/{required-BGaDOGrj.js → required-BuZo1JHj.js} +1 -1
- package/dist/assets/{revoke.svg-CmffMlcP.js → revoke.svg-CuiCGfVW.js} +1 -1
- package/dist/assets/{runtime-AXM1IbpE.js → runtime-RJv_jEZF.js} +1 -1
- package/dist/assets/{sanitize-BEqBHa8a.js → sanitize-C43KM91h.js} +1 -1
- package/dist/assets/sdk-2Xqu2SZD.js +1 -0
- package/dist/assets/{section-C75bzkkL.js → section-DDyoFT-o.js} +1 -1
- package/dist/assets/{security-BKCc6kr9.js → security-C-ANgtMR.js} +1 -1
- package/dist/assets/{server-logo-notext.svg-CKQB0tIp.js → server-logo-notext.svg-DHxZ1bRk.js} +1 -1
- package/dist/assets/session-Dt50YAVT.js +1 -0
- package/dist/assets/{setup-CdiiCta6.js → setup-BryxUu7A.js} +1 -1
- package/dist/assets/{shorten-label-RqvHqcC3.js → shorten-label-BiZLRE-N.js} +1 -1
- package/dist/assets/{simple-select-iVD4-YUy.js → simple-select-DZvdqo7G.js} +1 -1
- package/dist/assets/{spaces-Bhd_JZon.js → spaces-BRmoEATc.js} +1 -1
- package/dist/assets/{start-BXKCBBDg.js → start-CChSAOWC.js} +1 -1
- package/dist/assets/{starting-progress-Ls9oWS4w.js → starting-progress-Dn3jpzSc.js} +1 -1
- package/dist/assets/{status-Cu5kOgRL.js → status-Ukzm4O8y.js} +1 -1
- package/dist/assets/{step-actions-sALFE9jn.js → step-actions-BursUhDh.js} +1 -1
- package/dist/assets/{studio-2AfcGI4x.js → studio-Cfhka82V.js} +1 -1
- package/dist/assets/{switch-control-CLq7MYhJ.js → switch-control-DwAlFBVc.js} +1 -1
- package/dist/assets/{table-tips-DBCvmY1v.js → table-tips-Ccm9jBpV.js} +1 -1
- package/dist/assets/{team-4Qq9vwj5.js → team-W2Fdvkfl.js} +1 -1
- package/dist/assets/{traffic-DU_BMQPm.js → traffic-DKKjsKRb.js} +1 -1
- package/dist/assets/{transfer-DAvviBGy.js → transfer-Dji3lOoL.js} +1 -1
- package/dist/assets/{unsubscribe-CzukIuIE.js → unsubscribe-Dszf0vso.js} +1 -1
- package/dist/assets/{use-app-logo-9qTsLgnV.js → use-app-logo-Bu9kUO2d.js} +1 -1
- package/dist/assets/{use-mobile-DCNBsOlH.js → use-mobile-BGG7EyYb.js} +1 -1
- package/dist/assets/{use-mobile-maRlSUwU.js → use-mobile-yOnqxyr6.js} +1 -1
- package/dist/assets/{use-server-logo-n_aaKVoZ.js → use-server-logo-CTR2UZFf.js} +1 -1
- package/dist/assets/use-window-close-dG-tZxWF.js +1 -0
- package/dist/assets/useAsync-5gLXHIip.js +1 -0
- package/dist/assets/{useAsync-cZ_FPf9k.js → useAsync-tRHUJQgE.js} +1 -1
- package/dist/assets/{useAsyncRetry-DwwEjrjs.js → useAsyncRetry-MDM8jCoS.js} +1 -1
- package/dist/assets/{useLocalStorage-CvPFnddH.js → useLocalStorage-CbmitI3m.js} +1 -1
- package/dist/assets/{useSetState-DFuQZPPV.js → useSetState-cWrp7qoX.js} +1 -1
- package/dist/assets/{user-center-DynXe12u.js → user-center-BuHH3C1u.js} +3 -3
- package/dist/assets/{user-follower-Br2H5oAR.js → user-follower-Bn21LRum.js} +1 -1
- package/dist/assets/{util-4xOccFjr.js → util-Byg5myf8.js} +1 -1
- package/dist/assets/{util-B1w9UqzK.js → util-qnRu_NH_.js} +1 -1
- package/dist/assets/{vendor-arcblock-CqplRmyi.js → vendor-arcblock-DBEMYjVA.js} +1 -1
- package/dist/assets/{vendor-hooks-CjESGRlR.js → vendor-hooks-L8kZVRUL.js} +1 -1
- package/dist/assets/{vendor-mui-core-CnXrAOs3.js → vendor-mui-core-___CiWHn.js} +1 -1
- package/dist/assets/{vendor-mui-x-bJ5idfMH.js → vendor-mui-x-CYSdP1E1.js} +1 -1
- package/dist/assets/vendor-react-CUXIiAnY.js +37 -0
- package/dist/assets/vendor-utils-Doa0RxLS.js +213 -0
- package/dist/assets/{vendor-ux-5OlTXZBe.js → vendor-ux-pxYpYMxD.js} +1 -1
- package/dist/assets/{wait-connect-BA-9v9IK.js → wait-connect-z8A2YqYx.js} +1 -1
- package/dist/assets/{wizard-components-Bj1vePv_.js → wizard-components-Bu-3Twf8.js} +1 -1
- package/dist/assets/{wizard-B70SUVne.js → wizard-gl51MV0G.js} +1 -1
- package/dist/assets/wrap-locale-DwrX4tfZ.js +1 -0
- package/dist/assets/{zh-DBbr_lO3.js → zh-5FnkOdV9.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +23 -23
- package/dist/assets/api-Btn0Tp3W.js +0 -1
- package/dist/assets/branding-DO47QT9Q.js +0 -1
- package/dist/assets/button-Bm6Z4hYZ.js +0 -1
- package/dist/assets/click-to-copy-CzGMi2Jw.js +0 -1
- package/dist/assets/cloneDeep-C6qewg0C.js +0 -1
- package/dist/assets/domains-0qUGORQe.js +0 -1
- package/dist/assets/engine-DXhw4g-J.js +0 -1
- package/dist/assets/get-safe-url-mKD2PdwN.js +0 -1
- package/dist/assets/index-WsuqXAUT.js +0 -1
- package/dist/assets/localization-BILR5z0M.js +0 -1
- package/dist/assets/logger-LLowKmBx.js +0 -1
- package/dist/assets/observability-Zow0Sv-X.js +0 -1
- package/dist/assets/omit-hhiOJGRf.js +0 -1
- package/dist/assets/passport-C04lgrV5.js +0 -1
- package/dist/assets/playground-CAOOFQT1.js +0 -1
- package/dist/assets/preferences-D2CWTpgr.js +0 -1
- package/dist/assets/profile-embed-CLHyEYTf.js +0 -1
- package/dist/assets/publish-resource-B1BSffEx.js +0 -1
- package/dist/assets/sdk-CvRW7Vwp.js +0 -1
- package/dist/assets/session-BYq9-2GE.js +0 -1
- package/dist/assets/use-window-close-PzHKtiXA.js +0 -1
- package/dist/assets/useAsync-BcVLpt2E.js +0 -1
- package/dist/assets/vendor-react-Dvs43sk9.js +0 -37
- package/dist/assets/vendor-utils-cJEl_UEd.js +0 -213
- package/dist/assets/wrap-locale-CyFByfaX.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,b1 as f,at as w,ao as R,T as S,W as d}from"./vendor-mui-core-
|
|
1
|
+
import{j as o,b1 as f,at as w,ao as R,T as S,W as d}from"./vendor-mui-core-___CiWHn.js";import{r as a}from"./vendor-react-CUXIiAnY.js";import{a as m,h as j}from"./vendor-hooks-L8kZVRUL.js";import{V as h}from"./vendor-ux-pxYpYMxD.js";import{e as C}from"./index-DiqdSyj7.js";const I=1e3;function x({blocklet:t}){const{meta:u}=t,{t:i}=h(),[l,s]=a.useState("starting"),[p,e]=a.useState(t.status),r=m(()=>{const c=u.title||u.name;return{starting:i("blocklet.startingProgress.starting",{name:c}),running:i("blocklet.startingProgress.success",{name:c}),stopped:i("blocklet.startingProgress.failed",{name:c}),error:i("blocklet.startingProgress.failed",{name:c})}},[i,u]);a.useEffect(()=>{p!==t.status&&(s(t.status),e(""))},[t.status,p]),j(()=>{e(t.status),C.isBlockletRunning(t)&&s(t.status)});const n=m(()=>l==="running"?R[600]:["stopped","error"].includes(l)?"error":"primary",[l]);return o.jsx(S,{display:"flex",alignItems:"center",fontSize:14,lineHeight:1,gap:1,color:n,children:r[l]})}x.propTypes={blocklet:d.object.isRequired};function P({blocklets:t=[],children:u,debounce:i=!0,status:l=""}){const[s,p]=a.useState(null),[e,r]=a.useState(0),n=a.useRef(null),c=a.useRef(!1);a.useEffect(()=>{if(s&&n.current){const g=n.current.style.display;n.current.style.display="flex",r(n.current.offsetHeight),n.current.style.display=g}},[s,t]);const b=a.useMemo(()=>l==="starting"?o.jsx(f,{ref:n,display:"flex",flexDirection:"column",gap:.5,maxHeight:200,sx:{overflowY:"auto",p:2,display:s?"flex":"none",position:"fixed",top:s?s.getBoundingClientRect().top-10-e:0,left:s?s.getBoundingClientRect().left+s.offsetWidth/2:0,transform:"translateX(-50%)",backgroundColor:"white",boxShadow:"0px 2px 4px rgba(0,0,0,0.1)",borderRadius:"4px",zIndex:1300},children:t.map(g=>o.jsx(x,{blocklet:g},g.meta.did))}):null,[t,s,e,l]),y=g=>{(c.current||!i)&&(p(g.currentTarget),c.current=!1)},v=()=>{p(null),l==="starting"&&(c.current=!0)};return o.jsxs(o.Fragment,{children:[o.jsx("span",{onMouseEnter:y,onMouseLeave:v,style:{cursor:"pointer"},children:u}),b]})}P.propTypes={blocklets:d.array.isRequired,children:d.node.isRequired,debounce:d.bool,status:d.string};function E({blocklets:t=[]}){const{t:u}=h(),[i,l]=a.useState(0),s=m(()=>t.length===0?[]:t.map(e=>{const r=e.meta.title||e.meta.name;return e.status==="running"?null:`${u("blocklet.startingProgress.starting",{name:r})}`}).filter(Boolean),[t,u]);if(a.useEffect(()=>{if(!s.length)return;let e=0;const r=setInterval(()=>{e++,e>=s.length&&(e=0),l(e)},I);return()=>{clearInterval(r)}},[s]),t.length===0)return null;const p=e=>{let r="message-before";return i===e?r="show-message":i<e&&(r="message-after"),r};return o.jsx(z,{direction:"column",alignItems:"center",justifyContent:"center",gap:1,children:o.jsx("div",{className:"waiter-message",children:s.map((e,r)=>{const n=p(r);return o.jsxs("div",{children:[o.jsx("span",{className:`message-block ${n}`,children:e}),o.jsx("span",{className:`placeholder-message ${n}`,children:e})]},r)})})})}E.propTypes={blocklets:d.array.isRequired};const z=w(f)`
|
|
2
2
|
.waiter-message {
|
|
3
3
|
position: relative;
|
|
4
4
|
width: 100%;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as b}from"./vendor-react-
|
|
1
|
+
import{r as b}from"./vendor-react-CUXIiAnY.js";import{j as p,a6 as P,am as w,bZ as j,b_ as k,W as $}from"./vendor-mui-core-___CiWHn.js";import{l as q}from"./vendor-hooks-L8kZVRUL.js";import{B as d}from"./vendor-utils-Doa0RxLS.js";import{r as x}from"./omit-CPVfFmp-.js";import{aE as V,aF as R}from"./index-DiqdSyj7.js";import{O as E,V as D}from"./vendor-ux-pxYpYMxD.js";var s={},h;function I(){if(h)return s;h=1;var u=s&&s.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(s,"__esModule",{value:!0}),s.signResponse=l,s.verifyResponse=_,s.verifyVault=S;const m=u(x),v=u(V()),n=R(),a=E();async function l(r,c){const o=(0,v.default)(r),y=await c.sign(o);return{...r,$signature:y}}function _(r,c){return r.$signature?c.verify((0,v.default)((0,m.default)(r,"$signature")),r.$signature):Promise.resolve(!1)}async function S(r,c,o=!1){if(!Array.isArray(r)||r.length===0){if(o)throw new Error("vaults list is empty");return""}for(let t=1;t<r.length;t++)if(r[t].at<=r[t-1].at){if(o)throw new Error("vaults are not in ascending order");return""}if(new Set(r.map(t=>t.did)).size!==r.length){if(o)throw new Error("vaults list has duplicate vaults");return""}for(let t=0;t<r.length;t++){const e=r[t];if(!(0,a.isFromPublicKey)(e.did,e.pk)){if(o)throw new Error(`vault did and pk mismatch: ${e.did}(${e.pk})`);return""}let f=d.from(`vault:${c}`);for(let i=0;i<=t;i++)f=d.concat([f,d.from(`:${r[i].did}`)]);if(!e.approverSig){if(o)throw new Error(`vault approve signature missing for ${e.did}`);return""}try{let i;if(t>0){const g=r[t-1];i=(0,n.fromPublicKey)(g.pk,(0,a.toTypeInfo)(g.did))}else{if(!e.approverPk||!e.approverDid||!(0,a.isFromPublicKey)(e.approverDid,e.approverPk)){if(o)throw new Error(`approver config missing for ${e.did}`);return""}i=(0,n.fromPublicKey)(e.approverPk,(0,a.toTypeInfo)(e.approverDid))}if(await i.verify(f,e.approverSig)===!1){if(o)throw new Error(`signature verify failed for ${e.did}`);return""}}catch(i){if(console.error(i),o)throw new Error(`vault approve verify failed: ${i.message}`);return""}if(!e.sig){if(o)throw new Error(`vault commit signature missing for ${e.did}`);return""}try{const i=(0,n.fromPublicKey)(e.pk,(0,a.toTypeInfo)(e.did));if(e.approverSig&&(f=d.concat([f,d.from(`:${e.approverSig}`)])),await i.verify(f,e.sig)===!1){if(o)throw new Error(`commit signature verify failed for ${e.did}`);return""}}catch(i){if(console.error(i),o)throw new Error(`vault commit verify failed: ${i.message}`);return""}}return r[r.length-1].did}return s}var K=I();function T({vaults:u,appPid:m}){const{t:v}=D(),[n,a]=q({verified:!1,verifying:!0,error:""});return b.useEffect(()=>{K.verifyVault(u,m,!0).then(l=>{a({verified:!!l,verifying:!1})}).catch(l=>{a({verified:!1,verifying:!1,error:l.message})})},[u,m,a]),n.verifying?p.jsx(P,{}):n.verified?p.jsx(w,{title:v("blocklet.config.vault.verified"),children:p.jsx(j,{fontSize:"small",color:"success"})}):p.jsx(w,{title:n.error,children:p.jsx(k,{color:"error"})})}T.propTypes={vaults:$.array.isRequired,appPid:$.string.isRequired};export{T as V};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,ak as a,at as r,W as o}from"./vendor-mui-core-
|
|
1
|
+
import{j as e,ak as a,at as r,W as o}from"./vendor-mui-core-___CiWHn.js";import{u as p}from"./use-mobile-yOnqxyr6.js";import{ab as m}from"./index-DiqdSyj7.js";function d({blocklet:t=null,children:n=null}){const i=p();return!t||m(t.meta)?e.jsx(s,{isMobile:i,children:n}):e.jsx(s,{isMobile:i,children:e.jsx(a,{variant:"contained",sx:{display:"flex",color:"primary",alignItems:"center",marginLeft:"32px"},children:n})})}d.propTypes={blocklet:o.object,children:o.any};const s=r(a)`
|
|
2
2
|
padding-top: 24px;
|
|
3
3
|
margin-top: auto;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,bx as V,by as L,bz as d,bA as p,at as c,W as n}from"./vendor-mui-core-CnXrAOs3.js";import{r as C,k as H}from"./vendor-react-Dvs43sk9.js";import{V as E,w as m}from"./vendor-ux-5OlTXZBe.js";import{x as u}from"./index-Tj1dVBHC.js";import{c as o,k as f}from"./index-Cq3xfsOS.js";const h=l=>C.createElement("svg",{width:161,height:65,viewBox:"0 0 161 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.0049 26.8423V10.8018H87.7418C89.8347 10.8018 91.5313 12.5033 91.5313 14.6023V15.7551C91.5313 16.7654 91.1382 17.6835 90.4972 18.3642C91.6333 19.0205 92.3982 20.2506 92.3982 21.66V23.0418C92.3982 25.1407 90.7016 26.8423 88.6087 26.8423H80.0049ZM81.6893 17.8594H87.9154C88.997 17.771 89.8473 16.8626 89.8473 15.7551V14.6023C89.8473 13.4362 88.9047 12.4909 87.742 12.4909H81.6893V17.8594ZM81.6893 25.1532V19.5557L88.609 19.5486C89.7717 19.5486 90.7142 20.4939 90.7142 21.66V23.0418C90.7142 24.2079 89.7717 25.1532 88.609 25.1532H81.6893ZM97.2554 10.8018V26.8423H95.4933V10.8018H97.2554ZM105.988 15.133H104.161C102.056 15.133 100.35 16.844 100.35 18.9547V23.0206C100.35 25.1313 102.056 26.8423 104.161 26.8423H105.988C108.092 26.8423 109.799 25.1313 109.799 23.0206V18.9547C109.799 16.844 108.092 15.133 105.988 15.133ZM104.161 16.9003C103.03 16.9003 102.112 17.8201 102.112 18.9547V23.0206C102.112 24.1553 103.03 25.0751 104.161 25.0751H105.988C107.119 25.0751 108.036 24.1553 108.036 23.0206V18.9547C108.036 17.8201 107.119 16.9003 105.988 16.9003H104.161ZM125.204 26.8484V21.0781H127.352L130.674 26.8484H132.709L128.888 20.211L131.881 15.0121H129.846L127.372 19.3108H125.204V10.8018H123.442V26.8484H125.204ZM119.648 19.2672V18.9547C119.648 17.82 118.731 16.9002 117.6 16.9002H115.773C114.641 16.9002 113.724 17.82 113.724 18.9547V23.0206C113.724 24.1552 114.641 25.075 115.773 25.075H117.6C118.731 25.075 119.648 24.1552 119.648 23.0206V22.7081H121.41V23.0206C121.41 25.1313 119.704 26.8423 117.6 26.8423H115.773C113.668 26.8423 111.962 25.1313 111.962 23.0206V18.9547C111.962 16.844 113.668 15.133 115.773 15.133H117.6C119.704 15.133 121.41 16.844 121.41 18.9547V19.2672H119.648ZM137.566 26.8423V10.8018H135.804V26.8423H137.566ZM142.555 21.4703V23.0206C142.555 24.1552 143.472 25.075 144.604 25.075H146.431C147.562 25.075 148.479 24.1552 148.479 23.0206V22.7081H150.241V23.0206C150.241 25.1313 148.535 26.8423 146.431 26.8423H144.604C142.499 26.8423 140.793 25.1313 140.793 23.0206V18.9547C140.793 16.844 142.499 15.133 144.604 15.133H146.431C148.535 15.133 150.241 16.844 150.241 18.9547V19.7031H150.242V21.4703H142.555ZM148.479 19.7031H142.555V18.9547C142.555 17.82 143.472 16.9002 144.604 16.9002H146.431C147.562 16.9002 148.479 17.82 148.479 18.9547V19.7031ZM153.968 17.7853H152.4V16.018H153.968V13.162H155.652V16.018H159.729V17.7853H155.652V23.479C155.652 24.4036 156.399 25.1532 157.321 25.1532C158.243 25.1532 158.991 24.4036 158.991 23.479V23.1274H160.675V23.479C160.675 25.3365 159.174 26.8423 157.321 26.8423C155.469 26.8423 153.968 25.3365 153.968 23.479V17.7853Z",fill:"#121319"}),C.createElement("path",{d:"M91.034 37.2923C90.922 37.4883 90.8006 37.633 90.67 37.7263C90.5486 37.8103 90.3946 37.8523 90.208 37.8523C90.012 37.8523 89.7973 37.7823 89.564 37.6423C89.34 37.493 89.0693 37.3296 88.752 37.1523C88.4346 36.975 88.0613 36.8163 87.632 36.6763C87.212 36.527 86.7126 36.4523 86.134 36.4523C85.6113 36.4523 85.154 36.5176 84.762 36.6483C84.37 36.7696 84.0386 36.9423 83.768 37.1663C83.5066 37.3903 83.3106 37.661 83.18 37.9783C83.0493 38.2863 82.984 38.627 82.984 39.0003C82.984 39.4763 83.1146 39.873 83.376 40.1903C83.6466 40.5076 84.0013 40.7783 84.44 41.0023C84.8786 41.2263 85.378 41.427 85.938 41.6043C86.498 41.7816 87.072 41.973 87.66 42.1783C88.248 42.3743 88.822 42.6076 89.382 42.8783C89.942 43.1396 90.4413 43.4756 90.88 43.8863C91.3186 44.2876 91.6686 44.7823 91.93 45.3703C92.2006 45.9583 92.336 46.6723 92.336 47.5123C92.336 48.427 92.1773 49.2856 91.86 50.0883C91.552 50.8816 91.0946 51.577 90.488 52.1743C89.8906 52.7623 89.158 53.229 88.29 53.5743C87.422 53.9103 86.428 54.0783 85.308 54.0783C84.664 54.0783 84.0293 54.013 83.404 53.8823C82.7786 53.761 82.1766 53.5836 81.598 53.3503C81.0286 53.117 80.492 52.837 79.988 52.5103C79.484 52.1836 79.036 51.8196 78.644 51.4183L79.75 49.6123C79.8433 49.4816 79.9646 49.3743 80.114 49.2903C80.2633 49.197 80.422 49.1503 80.59 49.1503C80.8233 49.1503 81.0753 49.2483 81.346 49.4443C81.6166 49.631 81.9386 49.841 82.312 50.0743C82.6853 50.3076 83.1193 50.5223 83.614 50.7183C84.118 50.905 84.72 50.9983 85.42 50.9983C86.4933 50.9983 87.324 50.7463 87.912 50.2423C88.5 49.729 88.794 48.9963 88.794 48.0443C88.794 47.5123 88.6586 47.0783 88.388 46.7423C88.1266 46.4063 87.7766 46.1263 87.338 45.9023C86.8993 45.669 86.4 45.473 85.84 45.3143C85.28 45.1556 84.7106 44.983 84.132 44.7963C83.5533 44.6096 82.984 44.3856 82.424 44.1243C81.864 43.863 81.3646 43.5223 80.926 43.1023C80.4873 42.6823 80.1326 42.1596 79.862 41.5343C79.6006 40.8996 79.47 40.1203 79.47 39.1963C79.47 38.459 79.6146 37.7403 79.904 37.0403C80.2026 36.3403 80.632 35.7196 81.192 35.1783C81.752 34.637 82.4426 34.203 83.264 33.8763C84.0853 33.5496 85.028 33.3863 86.092 33.3863C87.2866 33.3863 88.388 33.573 89.396 33.9463C90.404 34.3196 91.2626 34.8423 91.972 35.5143L91.034 37.2923Z",fill:"#121319"}),C.createElement("path",{d:"M99.2343 54.0783C97.9836 54.0783 97.0223 53.7283 96.3503 53.0283C95.6876 52.319 95.3563 51.3436 95.3563 50.1023V42.0803H93.8863C93.6996 42.0803 93.5409 42.0196 93.4103 41.8983C93.2796 41.777 93.2143 41.595 93.2143 41.3523V39.9803L95.5243 39.6023L96.2523 35.6823C96.2989 35.4956 96.3876 35.351 96.5183 35.2483C96.6489 35.1456 96.8169 35.0943 97.0223 35.0943H98.8143V39.6163H102.65V42.0803H98.8143V49.8643C98.8143 50.3123 98.9216 50.6623 99.1363 50.9143C99.3603 51.1663 99.6636 51.2923 100.046 51.2923C100.261 51.2923 100.438 51.269 100.578 51.2223C100.728 51.1663 100.854 51.1103 100.956 51.0543C101.068 50.9983 101.166 50.947 101.25 50.9003C101.334 50.8443 101.418 50.8163 101.502 50.8163C101.605 50.8163 101.689 50.8443 101.754 50.9003C101.82 50.947 101.89 51.0216 101.964 51.1243L103 52.8043C102.496 53.2243 101.918 53.5416 101.264 53.7563C100.611 53.971 99.9343 54.0783 99.2343 54.0783Z",fill:"#121319"}),C.createElement("path",{d:"M117.24 39.4903V53.8543H115.126C114.669 53.8543 114.38 53.6443 114.258 53.2243L114.02 52.0763C113.432 52.6736 112.784 53.159 112.074 53.5323C111.365 53.8963 110.53 54.0783 109.568 54.0783C108.784 54.0783 108.089 53.9476 107.482 53.6863C106.885 53.4156 106.381 53.0376 105.97 52.5523C105.56 52.067 105.247 51.493 105.032 50.8303C104.827 50.1583 104.724 49.421 104.724 48.6183V39.4903H108.182V48.6183C108.182 49.4956 108.383 50.177 108.784 50.6623C109.195 51.1383 109.806 51.3763 110.618 51.3763C111.216 51.3763 111.776 51.2456 112.298 50.9843C112.821 50.7136 113.316 50.345 113.782 49.8783V39.4903H117.24Z",fill:"#121319"}),C.createElement("path",{d:"M129.685 43.1583C129.293 42.6823 128.864 42.3463 128.397 42.1503C127.94 41.9543 127.445 41.8563 126.913 41.8563C126.39 41.8563 125.919 41.9543 125.499 42.1503C125.079 42.3463 124.72 42.645 124.421 43.0463C124.122 43.4383 123.894 43.9423 123.735 44.5583C123.576 45.165 123.497 45.8836 123.497 46.7143C123.497 47.5543 123.562 48.2683 123.693 48.8563C123.833 49.435 124.029 49.911 124.281 50.2843C124.533 50.6483 124.841 50.9143 125.205 51.0823C125.569 51.241 125.975 51.3203 126.423 51.3203C127.142 51.3203 127.753 51.171 128.257 50.8723C128.761 50.5736 129.237 50.149 129.685 49.5983V43.1583ZM133.143 33.0503V53.8543H131.029C130.572 53.8543 130.282 53.6443 130.161 53.2243L129.867 51.8383C129.288 52.501 128.621 53.0376 127.865 53.4483C127.118 53.859 126.246 54.0643 125.247 54.0643C124.463 54.0643 123.744 53.901 123.091 53.5743C122.438 53.2476 121.873 52.7763 121.397 52.1603C120.93 51.535 120.566 50.765 120.305 49.8503C120.053 48.9356 119.927 47.8903 119.927 46.7143C119.927 45.6503 120.072 44.661 120.361 43.7463C120.65 42.8316 121.066 42.0383 121.607 41.3663C122.148 40.6943 122.797 40.1716 123.553 39.7983C124.309 39.4156 125.158 39.2243 126.101 39.2243C126.904 39.2243 127.59 39.3503 128.159 39.6023C128.728 39.8543 129.237 40.195 129.685 40.6243V33.0503H133.143Z",fill:"#121319"}),C.createElement("path",{d:"M140.14 39.4903V53.8543H136.668V39.4903H140.14ZM140.616 35.3043C140.616 35.603 140.555 35.883 140.434 36.1443C140.312 36.4056 140.149 36.6343 139.944 36.8303C139.748 37.0263 139.514 37.185 139.244 37.3063C138.973 37.4183 138.684 37.4743 138.376 37.4743C138.077 37.4743 137.792 37.4183 137.522 37.3063C137.26 37.185 137.032 37.0263 136.836 36.8303C136.64 36.6343 136.481 36.4056 136.36 36.1443C136.248 35.883 136.192 35.603 136.192 35.3043C136.192 34.9963 136.248 34.707 136.36 34.4363C136.481 34.1656 136.64 33.9323 136.836 33.7363C137.032 33.5403 137.26 33.3863 137.522 33.2743C137.792 33.153 138.077 33.0923 138.376 33.0923C138.684 33.0923 138.973 33.153 139.244 33.2743C139.514 33.3863 139.748 33.5403 139.944 33.7363C140.149 33.9323 140.312 34.1656 140.434 34.4363C140.555 34.707 140.616 34.9963 140.616 35.3043Z",fill:"#121319"}),C.createElement("path",{d:"M150.021 39.2663C151.085 39.2663 152.051 39.439 152.919 39.7843C153.796 40.1296 154.543 40.6196 155.159 41.2543C155.784 41.889 156.265 42.6636 156.601 43.5783C156.937 44.493 157.105 45.515 157.105 46.6443C157.105 47.783 156.937 48.8096 156.601 49.7243C156.265 50.639 155.784 51.4183 155.159 52.0623C154.543 52.7063 153.796 53.201 152.919 53.5463C152.051 53.8916 151.085 54.0643 150.021 54.0643C148.948 54.0643 147.972 53.8916 147.095 53.5463C146.218 53.201 145.466 52.7063 144.841 52.0623C144.225 51.4183 143.744 50.639 143.399 49.7243C143.063 48.8096 142.895 47.783 142.895 46.6443C142.895 45.515 143.063 44.493 143.399 43.5783C143.744 42.6636 144.225 41.889 144.841 41.2543C145.466 40.6196 146.218 40.1296 147.095 39.7843C147.972 39.439 148.948 39.2663 150.021 39.2663ZM150.021 51.4043C151.216 51.4043 152.098 51.003 152.667 50.2003C153.246 49.3976 153.535 48.2216 153.535 46.6723C153.535 45.123 153.246 43.9423 152.667 43.1303C152.098 42.3183 151.216 41.9123 150.021 41.9123C148.808 41.9123 147.907 42.323 147.319 43.1443C146.74 43.9563 146.451 45.1323 146.451 46.6723C146.451 48.2123 146.74 49.3883 147.319 50.2003C147.907 51.003 148.808 51.4043 150.021 51.4043Z",fill:"#121319"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.12 11.4073L31.7 0.772461L13.28 11.4073V25.5506L1 32.6404V53.91L19.42 64.5448L31.6702 57.4721L31.7 57.4894L31.7298 57.4721L43.98 64.5448L62.4 53.91V32.6404L50.12 25.5506V11.4073ZM60.4813 33.7482L48.2013 26.6583V12.515L31.7 2.98804L15.1988 12.515V26.6583L2.91875 33.7482V52.8022L19.42 62.3292L31.6702 55.2566L31.7 55.2738L31.7298 55.2566L43.98 62.3292L60.4813 52.8022V33.7482Z",fill:"url(#paint0_linear_2948_12314)"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.6998 14.9521L50.1198 25.5869V46.8565L31.6998 57.4913L13.2798 46.8565V25.5869L31.6998 14.9521ZM16.1579 26.1408L30.7404 34.56V17.7216L16.1579 26.1408ZM29.7811 36.2217L15.1986 27.8025V44.6409L29.7811 36.2217ZM32.6592 37.8834L47.2417 46.3026L32.6592 54.7218V37.8834ZM48.2011 44.6409L33.6186 36.2217L48.2011 27.8025V44.6409ZM30.7404 54.7218L16.1579 46.3026L30.7404 37.8834V54.7218ZM32.6592 17.7216L47.2417 26.1408L32.6592 34.56V17.7216Z",fill:"url(#paint1_linear_2948_12314)"}),C.createElement("defs",null,C.createElement("linearGradient",{id:"paint0_linear_2948_12314",x1:31.7,y1:-31.1137,x2:-32.0265,y2:30.2422,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#4EF1BA"}),C.createElement("stop",{offset:.501904,stopColor:"#16CED1"}),C.createElement("stop",{offset:1,stopColor:"#3773F2"})),C.createElement("linearGradient",{id:"paint1_linear_2948_12314",x1:34.1078,y1:-36.3413,x2:-36.2973,y2:19.2796,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#4EF1BA"}),C.createElement("stop",{offset:.501904,stopColor:"#16CED1"}),C.createElement("stop",{offset:1,stopColor:"#3773F2"}))));function M({children:l,title:a="Studio",...r}){const{t}=E(),i=H(),s=[{url:`${o.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/home`,name:"home",title:t("studio.home"),icon:e.jsx(V,{})},{url:`${o.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/preferences`,name:"preferences",title:t("studio.preferences"),icon:e.jsx(L,{})},{url:`${o.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/branding`,name:"branding",title:t("studio.branding"),icon:e.jsx(d,{})},{url:`${o.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/localization`,name:"localization",title:t("studio.localization"),icon:e.jsx(p,{})}];return e.jsx(Z,{links:s,headerProps:{logo:e.jsx(h,{width:"118",height:"48"})},title:a,legacy:!1,fullWidth:!0,...r,children:e.jsx(m,{FallbackComponent:f,resetKeys:[i.pathname],children:l})})}M.propTypes={children:n.any.isRequired,title:n.string};const Z=c(u)`
|
|
1
|
+
import{j as e,bx as V,by as L,bz as d,bA as p,at as c,W as n}from"./vendor-mui-core-___CiWHn.js";import{r as C,k as H}from"./vendor-react-CUXIiAnY.js";import{V as E,w as m}from"./vendor-ux-pxYpYMxD.js";import{x as u}from"./index-DKSVm7e-.js";import{c as o,k as f}from"./index-DiqdSyj7.js";const h=l=>C.createElement("svg",{width:161,height:65,viewBox:"0 0 161 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.0049 26.8423V10.8018H87.7418C89.8347 10.8018 91.5313 12.5033 91.5313 14.6023V15.7551C91.5313 16.7654 91.1382 17.6835 90.4972 18.3642C91.6333 19.0205 92.3982 20.2506 92.3982 21.66V23.0418C92.3982 25.1407 90.7016 26.8423 88.6087 26.8423H80.0049ZM81.6893 17.8594H87.9154C88.997 17.771 89.8473 16.8626 89.8473 15.7551V14.6023C89.8473 13.4362 88.9047 12.4909 87.742 12.4909H81.6893V17.8594ZM81.6893 25.1532V19.5557L88.609 19.5486C89.7717 19.5486 90.7142 20.4939 90.7142 21.66V23.0418C90.7142 24.2079 89.7717 25.1532 88.609 25.1532H81.6893ZM97.2554 10.8018V26.8423H95.4933V10.8018H97.2554ZM105.988 15.133H104.161C102.056 15.133 100.35 16.844 100.35 18.9547V23.0206C100.35 25.1313 102.056 26.8423 104.161 26.8423H105.988C108.092 26.8423 109.799 25.1313 109.799 23.0206V18.9547C109.799 16.844 108.092 15.133 105.988 15.133ZM104.161 16.9003C103.03 16.9003 102.112 17.8201 102.112 18.9547V23.0206C102.112 24.1553 103.03 25.0751 104.161 25.0751H105.988C107.119 25.0751 108.036 24.1553 108.036 23.0206V18.9547C108.036 17.8201 107.119 16.9003 105.988 16.9003H104.161ZM125.204 26.8484V21.0781H127.352L130.674 26.8484H132.709L128.888 20.211L131.881 15.0121H129.846L127.372 19.3108H125.204V10.8018H123.442V26.8484H125.204ZM119.648 19.2672V18.9547C119.648 17.82 118.731 16.9002 117.6 16.9002H115.773C114.641 16.9002 113.724 17.82 113.724 18.9547V23.0206C113.724 24.1552 114.641 25.075 115.773 25.075H117.6C118.731 25.075 119.648 24.1552 119.648 23.0206V22.7081H121.41V23.0206C121.41 25.1313 119.704 26.8423 117.6 26.8423H115.773C113.668 26.8423 111.962 25.1313 111.962 23.0206V18.9547C111.962 16.844 113.668 15.133 115.773 15.133H117.6C119.704 15.133 121.41 16.844 121.41 18.9547V19.2672H119.648ZM137.566 26.8423V10.8018H135.804V26.8423H137.566ZM142.555 21.4703V23.0206C142.555 24.1552 143.472 25.075 144.604 25.075H146.431C147.562 25.075 148.479 24.1552 148.479 23.0206V22.7081H150.241V23.0206C150.241 25.1313 148.535 26.8423 146.431 26.8423H144.604C142.499 26.8423 140.793 25.1313 140.793 23.0206V18.9547C140.793 16.844 142.499 15.133 144.604 15.133H146.431C148.535 15.133 150.241 16.844 150.241 18.9547V19.7031H150.242V21.4703H142.555ZM148.479 19.7031H142.555V18.9547C142.555 17.82 143.472 16.9002 144.604 16.9002H146.431C147.562 16.9002 148.479 17.82 148.479 18.9547V19.7031ZM153.968 17.7853H152.4V16.018H153.968V13.162H155.652V16.018H159.729V17.7853H155.652V23.479C155.652 24.4036 156.399 25.1532 157.321 25.1532C158.243 25.1532 158.991 24.4036 158.991 23.479V23.1274H160.675V23.479C160.675 25.3365 159.174 26.8423 157.321 26.8423C155.469 26.8423 153.968 25.3365 153.968 23.479V17.7853Z",fill:"#121319"}),C.createElement("path",{d:"M91.034 37.2923C90.922 37.4883 90.8006 37.633 90.67 37.7263C90.5486 37.8103 90.3946 37.8523 90.208 37.8523C90.012 37.8523 89.7973 37.7823 89.564 37.6423C89.34 37.493 89.0693 37.3296 88.752 37.1523C88.4346 36.975 88.0613 36.8163 87.632 36.6763C87.212 36.527 86.7126 36.4523 86.134 36.4523C85.6113 36.4523 85.154 36.5176 84.762 36.6483C84.37 36.7696 84.0386 36.9423 83.768 37.1663C83.5066 37.3903 83.3106 37.661 83.18 37.9783C83.0493 38.2863 82.984 38.627 82.984 39.0003C82.984 39.4763 83.1146 39.873 83.376 40.1903C83.6466 40.5076 84.0013 40.7783 84.44 41.0023C84.8786 41.2263 85.378 41.427 85.938 41.6043C86.498 41.7816 87.072 41.973 87.66 42.1783C88.248 42.3743 88.822 42.6076 89.382 42.8783C89.942 43.1396 90.4413 43.4756 90.88 43.8863C91.3186 44.2876 91.6686 44.7823 91.93 45.3703C92.2006 45.9583 92.336 46.6723 92.336 47.5123C92.336 48.427 92.1773 49.2856 91.86 50.0883C91.552 50.8816 91.0946 51.577 90.488 52.1743C89.8906 52.7623 89.158 53.229 88.29 53.5743C87.422 53.9103 86.428 54.0783 85.308 54.0783C84.664 54.0783 84.0293 54.013 83.404 53.8823C82.7786 53.761 82.1766 53.5836 81.598 53.3503C81.0286 53.117 80.492 52.837 79.988 52.5103C79.484 52.1836 79.036 51.8196 78.644 51.4183L79.75 49.6123C79.8433 49.4816 79.9646 49.3743 80.114 49.2903C80.2633 49.197 80.422 49.1503 80.59 49.1503C80.8233 49.1503 81.0753 49.2483 81.346 49.4443C81.6166 49.631 81.9386 49.841 82.312 50.0743C82.6853 50.3076 83.1193 50.5223 83.614 50.7183C84.118 50.905 84.72 50.9983 85.42 50.9983C86.4933 50.9983 87.324 50.7463 87.912 50.2423C88.5 49.729 88.794 48.9963 88.794 48.0443C88.794 47.5123 88.6586 47.0783 88.388 46.7423C88.1266 46.4063 87.7766 46.1263 87.338 45.9023C86.8993 45.669 86.4 45.473 85.84 45.3143C85.28 45.1556 84.7106 44.983 84.132 44.7963C83.5533 44.6096 82.984 44.3856 82.424 44.1243C81.864 43.863 81.3646 43.5223 80.926 43.1023C80.4873 42.6823 80.1326 42.1596 79.862 41.5343C79.6006 40.8996 79.47 40.1203 79.47 39.1963C79.47 38.459 79.6146 37.7403 79.904 37.0403C80.2026 36.3403 80.632 35.7196 81.192 35.1783C81.752 34.637 82.4426 34.203 83.264 33.8763C84.0853 33.5496 85.028 33.3863 86.092 33.3863C87.2866 33.3863 88.388 33.573 89.396 33.9463C90.404 34.3196 91.2626 34.8423 91.972 35.5143L91.034 37.2923Z",fill:"#121319"}),C.createElement("path",{d:"M99.2343 54.0783C97.9836 54.0783 97.0223 53.7283 96.3503 53.0283C95.6876 52.319 95.3563 51.3436 95.3563 50.1023V42.0803H93.8863C93.6996 42.0803 93.5409 42.0196 93.4103 41.8983C93.2796 41.777 93.2143 41.595 93.2143 41.3523V39.9803L95.5243 39.6023L96.2523 35.6823C96.2989 35.4956 96.3876 35.351 96.5183 35.2483C96.6489 35.1456 96.8169 35.0943 97.0223 35.0943H98.8143V39.6163H102.65V42.0803H98.8143V49.8643C98.8143 50.3123 98.9216 50.6623 99.1363 50.9143C99.3603 51.1663 99.6636 51.2923 100.046 51.2923C100.261 51.2923 100.438 51.269 100.578 51.2223C100.728 51.1663 100.854 51.1103 100.956 51.0543C101.068 50.9983 101.166 50.947 101.25 50.9003C101.334 50.8443 101.418 50.8163 101.502 50.8163C101.605 50.8163 101.689 50.8443 101.754 50.9003C101.82 50.947 101.89 51.0216 101.964 51.1243L103 52.8043C102.496 53.2243 101.918 53.5416 101.264 53.7563C100.611 53.971 99.9343 54.0783 99.2343 54.0783Z",fill:"#121319"}),C.createElement("path",{d:"M117.24 39.4903V53.8543H115.126C114.669 53.8543 114.38 53.6443 114.258 53.2243L114.02 52.0763C113.432 52.6736 112.784 53.159 112.074 53.5323C111.365 53.8963 110.53 54.0783 109.568 54.0783C108.784 54.0783 108.089 53.9476 107.482 53.6863C106.885 53.4156 106.381 53.0376 105.97 52.5523C105.56 52.067 105.247 51.493 105.032 50.8303C104.827 50.1583 104.724 49.421 104.724 48.6183V39.4903H108.182V48.6183C108.182 49.4956 108.383 50.177 108.784 50.6623C109.195 51.1383 109.806 51.3763 110.618 51.3763C111.216 51.3763 111.776 51.2456 112.298 50.9843C112.821 50.7136 113.316 50.345 113.782 49.8783V39.4903H117.24Z",fill:"#121319"}),C.createElement("path",{d:"M129.685 43.1583C129.293 42.6823 128.864 42.3463 128.397 42.1503C127.94 41.9543 127.445 41.8563 126.913 41.8563C126.39 41.8563 125.919 41.9543 125.499 42.1503C125.079 42.3463 124.72 42.645 124.421 43.0463C124.122 43.4383 123.894 43.9423 123.735 44.5583C123.576 45.165 123.497 45.8836 123.497 46.7143C123.497 47.5543 123.562 48.2683 123.693 48.8563C123.833 49.435 124.029 49.911 124.281 50.2843C124.533 50.6483 124.841 50.9143 125.205 51.0823C125.569 51.241 125.975 51.3203 126.423 51.3203C127.142 51.3203 127.753 51.171 128.257 50.8723C128.761 50.5736 129.237 50.149 129.685 49.5983V43.1583ZM133.143 33.0503V53.8543H131.029C130.572 53.8543 130.282 53.6443 130.161 53.2243L129.867 51.8383C129.288 52.501 128.621 53.0376 127.865 53.4483C127.118 53.859 126.246 54.0643 125.247 54.0643C124.463 54.0643 123.744 53.901 123.091 53.5743C122.438 53.2476 121.873 52.7763 121.397 52.1603C120.93 51.535 120.566 50.765 120.305 49.8503C120.053 48.9356 119.927 47.8903 119.927 46.7143C119.927 45.6503 120.072 44.661 120.361 43.7463C120.65 42.8316 121.066 42.0383 121.607 41.3663C122.148 40.6943 122.797 40.1716 123.553 39.7983C124.309 39.4156 125.158 39.2243 126.101 39.2243C126.904 39.2243 127.59 39.3503 128.159 39.6023C128.728 39.8543 129.237 40.195 129.685 40.6243V33.0503H133.143Z",fill:"#121319"}),C.createElement("path",{d:"M140.14 39.4903V53.8543H136.668V39.4903H140.14ZM140.616 35.3043C140.616 35.603 140.555 35.883 140.434 36.1443C140.312 36.4056 140.149 36.6343 139.944 36.8303C139.748 37.0263 139.514 37.185 139.244 37.3063C138.973 37.4183 138.684 37.4743 138.376 37.4743C138.077 37.4743 137.792 37.4183 137.522 37.3063C137.26 37.185 137.032 37.0263 136.836 36.8303C136.64 36.6343 136.481 36.4056 136.36 36.1443C136.248 35.883 136.192 35.603 136.192 35.3043C136.192 34.9963 136.248 34.707 136.36 34.4363C136.481 34.1656 136.64 33.9323 136.836 33.7363C137.032 33.5403 137.26 33.3863 137.522 33.2743C137.792 33.153 138.077 33.0923 138.376 33.0923C138.684 33.0923 138.973 33.153 139.244 33.2743C139.514 33.3863 139.748 33.5403 139.944 33.7363C140.149 33.9323 140.312 34.1656 140.434 34.4363C140.555 34.707 140.616 34.9963 140.616 35.3043Z",fill:"#121319"}),C.createElement("path",{d:"M150.021 39.2663C151.085 39.2663 152.051 39.439 152.919 39.7843C153.796 40.1296 154.543 40.6196 155.159 41.2543C155.784 41.889 156.265 42.6636 156.601 43.5783C156.937 44.493 157.105 45.515 157.105 46.6443C157.105 47.783 156.937 48.8096 156.601 49.7243C156.265 50.639 155.784 51.4183 155.159 52.0623C154.543 52.7063 153.796 53.201 152.919 53.5463C152.051 53.8916 151.085 54.0643 150.021 54.0643C148.948 54.0643 147.972 53.8916 147.095 53.5463C146.218 53.201 145.466 52.7063 144.841 52.0623C144.225 51.4183 143.744 50.639 143.399 49.7243C143.063 48.8096 142.895 47.783 142.895 46.6443C142.895 45.515 143.063 44.493 143.399 43.5783C143.744 42.6636 144.225 41.889 144.841 41.2543C145.466 40.6196 146.218 40.1296 147.095 39.7843C147.972 39.439 148.948 39.2663 150.021 39.2663ZM150.021 51.4043C151.216 51.4043 152.098 51.003 152.667 50.2003C153.246 49.3976 153.535 48.2216 153.535 46.6723C153.535 45.123 153.246 43.9423 152.667 43.1303C152.098 42.3183 151.216 41.9123 150.021 41.9123C148.808 41.9123 147.907 42.323 147.319 43.1443C146.74 43.9563 146.451 45.1323 146.451 46.6723C146.451 48.2123 146.74 49.3883 147.319 50.2003C147.907 51.003 148.808 51.4043 150.021 51.4043Z",fill:"#121319"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.12 11.4073L31.7 0.772461L13.28 11.4073V25.5506L1 32.6404V53.91L19.42 64.5448L31.6702 57.4721L31.7 57.4894L31.7298 57.4721L43.98 64.5448L62.4 53.91V32.6404L50.12 25.5506V11.4073ZM60.4813 33.7482L48.2013 26.6583V12.515L31.7 2.98804L15.1988 12.515V26.6583L2.91875 33.7482V52.8022L19.42 62.3292L31.6702 55.2566L31.7 55.2738L31.7298 55.2566L43.98 62.3292L60.4813 52.8022V33.7482Z",fill:"url(#paint0_linear_2948_12314)"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.6998 14.9521L50.1198 25.5869V46.8565L31.6998 57.4913L13.2798 46.8565V25.5869L31.6998 14.9521ZM16.1579 26.1408L30.7404 34.56V17.7216L16.1579 26.1408ZM29.7811 36.2217L15.1986 27.8025V44.6409L29.7811 36.2217ZM32.6592 37.8834L47.2417 46.3026L32.6592 54.7218V37.8834ZM48.2011 44.6409L33.6186 36.2217L48.2011 27.8025V44.6409ZM30.7404 54.7218L16.1579 46.3026L30.7404 37.8834V54.7218ZM32.6592 17.7216L47.2417 26.1408L32.6592 34.56V17.7216Z",fill:"url(#paint1_linear_2948_12314)"}),C.createElement("defs",null,C.createElement("linearGradient",{id:"paint0_linear_2948_12314",x1:31.7,y1:-31.1137,x2:-32.0265,y2:30.2422,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#4EF1BA"}),C.createElement("stop",{offset:.501904,stopColor:"#16CED1"}),C.createElement("stop",{offset:1,stopColor:"#3773F2"})),C.createElement("linearGradient",{id:"paint1_linear_2948_12314",x1:34.1078,y1:-36.3413,x2:-36.2973,y2:19.2796,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#4EF1BA"}),C.createElement("stop",{offset:.501904,stopColor:"#16CED1"}),C.createElement("stop",{offset:1,stopColor:"#3773F2"}))));function M({children:l,title:a="Studio",...r}){const{t}=E(),i=H(),s=[{url:`${o.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/home`,name:"home",title:t("studio.home"),icon:e.jsx(V,{})},{url:`${o.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/preferences`,name:"preferences",title:t("studio.preferences"),icon:e.jsx(L,{})},{url:`${o.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/branding`,name:"branding",title:t("studio.branding"),icon:e.jsx(d,{})},{url:`${o.WELLKNOWN_SERVICE_PATH_PREFIX}/studio/localization`,name:"localization",title:t("studio.localization"),icon:e.jsx(p,{})}];return e.jsx(Z,{links:s,headerProps:{logo:e.jsx(h,{width:"118",height:"48"})},title:a,legacy:!1,fullWidth:!0,...r,children:e.jsx(m,{FallbackComponent:f,resetKeys:[i.pathname],children:l})})}M.propTypes={children:n.any.isRequired,title:n.string};const Z=c(u)`
|
|
2
2
|
.header-brand-wrapper .header-logo {
|
|
3
3
|
height: 48px !important;
|
|
4
4
|
width: 134px !important;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,at as s}from"./vendor-mui-core-
|
|
1
|
+
import{j as e,at as s}from"./vendor-mui-core-___CiWHn.js";import{u as a}from"./index-JqMHvzVF.js";function i({labelProps:t,className:l,style:n,...o}){const r={...t,labelPlacement:t?.labelPlacement||"start"};return e.jsx(m,{className:l,style:n,labelPlacement:t?.labelPlacement,children:e.jsx(a,{labelProps:r,...o})})}i.propTypes=a.propTypes;const m=s.div`
|
|
2
2
|
max-width: ${({labelPlacement:t})=>t==="end"?"100%":"300px"};
|
|
3
3
|
> label {
|
|
4
4
|
display: flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,ak as s,ai as f,am as c,I as x,bf as d,W as r}from"./vendor-mui-core-
|
|
1
|
+
import{j as e,ak as s,ai as f,am as c,I as x,bf as d,W as r}from"./vendor-mui-core-___CiWHn.js";import{r as j}from"./vendor-react-CUXIiAnY.js";import{V as b}from"./vendor-ux-pxYpYMxD.js";import{u as g}from"./use-mobile-BGG7EyYb.js";function y({title:n,tooltipTitle:o,link:i}){const{t}=b(),p=g(),[h,l]=j.useState(!1),m=()=>l(u=>!u),a=()=>l(!1);return p?e.jsxs(s,{sx:{color:"text.secondary",fontSize:"14px",lineHeight:1.5},children:[n,e.jsx(f,{onClickAway:a,children:e.jsx("span",{children:e.jsx(c,{open:h,onClose:a,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,title:e.jsxs(s,{sx:{fontSize:"14px",lineHeight:1.5},children:[o,e.jsx(s,{sx:{color:"primary.main",ml:.5},component:"a",href:i,target:"_blank",rel:"noopener noreferrer",children:t("dashboard.document")})]}),children:e.jsx(x,{size:"small",onClick:m,sx:{ml:.5},children:e.jsx(d,{fontSize:"14"})})})})})]}):e.jsxs(s,{sx:{color:"text.secondary",fontSize:"14px",lineHeight:1.5},children:[n,e.jsx(c,{enterTouchDelay:0,leaveTouchDelay:3e3,title:e.jsxs(s,{sx:{fontSize:"14px",lineHeight:1.5},children:[o,e.jsx(s,{sx:{color:"primary.main",ml:.5},component:"a",href:i,target:"_blank",rel:"noopener noreferrer",children:t("dashboard.document")})]}),children:e.jsx(x,{size:"small",sx:{ml:.5},children:e.jsx(d,{fontSize:"14"})})})]})}y.propTypes={title:r.string.isRequired,tooltipTitle:r.string.isRequired,link:r.string.isRequired};export{y as T};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as S,a as Fe,d as ze,g as qe}from"./vendor-react-Dvs43sk9.js";import{j as n,a$ as ae,W as m,s as le,T as P,ak as k,Q as Be,P as Ge,D as A,at as F,J as z,a3 as ye,b7 as be,am as Ve,bf as Ke,de as Qe,df as Xe,ar as Ye}from"./vendor-mui-core-CnXrAOs3.js";import{a as _,b as ue}from"./vendor-hooks-CjESGRlR.js";import{c as B,bt as Z,bu as ee,bv as ve,bw as Je,am as Ze,l as et,e as tt,Y as X,bx as ne,f as Y,b5 as nt}from"./index-Cq3xfsOS.js";import{a as O,J as ce,C as G,a7 as rt,a8 as st}from"./vendor-utils-cJEl_UEd.js";import{u as it}from"./session-BYq9-2GE.js";import{U as ot,x as at,a as lt,M as V,e as de,p as ct,V as we,H as dt}from"./vendor-ux-5OlTXZBe.js";import{i as pt}from"./isURL-DmCvTfVx.js";import{u as ut}from"./use-app-logo-9qTsLgnV.js";const ht={dividerColor:"rgba(239, 241, 245, 1)"},tn=e=>{if(!e||!e.length)return[];const t=[];let r=null,s=[];if(e.forEach(i=>{if(!i.activity||!i.activity.type||!r){r&&(s.length===1?t.push(s[0]):(r.items=s,t.push(r))),i.activity&&i.activity.type?(r=i,s=[i]):(t.push(i),r=null,s=[]);return}const p=s[0].activity,o=p.type,h=p.target?.type,x=p.target?.id,v=i.activity.type,g=i.activity.target?.type,T=i.activity.target?.id;if(o&&v&&o===v&&(!p.target&&!i.activity.target||p.target&&i.activity.target&&h===g&&x===T))s.push(i);else{if(s.length===1)t.push(s[0]);else{const b=Object.assign({},r,{items:s});t.push(b)}r=i,s=[i]}}),r)if(s.length===1)t.push(s[0]);else{const i=Object.assign({},r,{items:s});t.push(i)}return t},mt=e=>!O(e.activity)&&!!e.activity.type&&!!e.activity.actor,nn=e=>mt(e)&&!!e.actorInfo&&!!e.actorInfo.did,je=e=>{if(!e)return null;const{meta:t,target:r,actor:s}=e||{};let i=r?.id;return r?.type==="user"&&(i=ce(G(B.WELLKNOWN_SERVICE_PATH_PREFIX,"user"),{did:s})),{metaLink:t?.id,targetLink:i}},ke=e=>pt(e),H={COMMENT:"comment",LIKE:"like",FOLLOW:"follow",TIPS:"tips",MENTION:"mention",ASSIGN:"assign",UN_ASSIGN:"un_assign"},ft={[H.COMMENT]:(e,t,r)=>t>1?n.jsxs(n.Fragment,{children:["have left ",t," comments on ",r?"your":"the"," ",e,":"]}):n.jsxs(n.Fragment,{children:["has commented on ",r?"your":"the"," ",e,":"]}),[H.LIKE]:(e,t,r)=>t>1?n.jsxs(n.Fragment,{children:["have liked ",r?"your":"the"," ",e,":"]}):n.jsxs(n.Fragment,{children:["have liked ",r?"your":"the"," ",e,":"]}),[H.FOLLOW]:(e,t)=>t>1?n.jsx(n.Fragment,{children:"have followed you"}):n.jsx(n.Fragment,{children:"has followed you"}),[H.TIPS]:(e,t,r)=>t>1?n.jsxs(n.Fragment,{children:["left tips for ",r?"your":"the"," ",e,":"]}):n.jsxs(n.Fragment,{children:["left a tip for ",r?"your":"the"," ",e,":"]}),[H.MENTION]:(e,t,r)=>t>1?n.jsxs(n.Fragment,{children:["have mentioned you in ",r?"your":"the"," ",e,":"]}):n.jsxs(n.Fragment,{children:["mentioned you in ",r?"your":"the"," ",e,":"]}),[H.ASSIGN]:()=>n.jsx(n.Fragment,{children:"has assigned you a task: "}),[H.UN_ASSIGN]:()=>n.jsx(n.Fragment,{children:"has revoked your task assignment: "})},$=S.memo(function({user:t,color:r="text.secondary"}){const s=ce(G(B.WELLKNOWN_SERVICE_PATH_PREFIX,"user"),{did:t.did});return n.jsx(ae,{href:s,color:r,target:"_blank",onClick:i=>{i.customPreventRedirect=!0},sx:{fontWeight:600,textDecoration:"none"},children:t.fullName||"System"})});$.propTypes={user:m.shape({did:m.string.isRequired,fullName:m.string.isRequired}).isRequired,color:m.string};$.displayName="UserLink";function rn({activity:e,users:t,actors:r,extra:s={},mountPoint:i=""}){const{session:p}=it()||{},{type:o,target:h}=e||{},{type:x,author:v}=h||{},{linkColor:g="text.secondary"}=s||{},T=_(()=>v?(p?.user?.did||s?.userDid)===v:!0,[p,v]),L=_(()=>{if(!Array.isArray(t))return new Map;const y=new Map;return t.forEach(C=>{C?.did&&!y.has(C.did)&&y.set(C.did,C)}),y},[t]),b=_(()=>Array.isArray(r)?[...new Set(r)].map(C=>C?L.get(C)||{did:C,fullName:"System"}:null):[],[r,L]),R=ue(()=>{if(!Array.isArray(b)||b.length===0)return null;if(b.length===1)return n.jsx($,{user:b[0],color:g});const y=b.slice(0,-1),C=b[b.length-1];if(b.length===2)return n.jsxs(n.Fragment,{children:[n.jsx($,{user:y[0],color:g})," and ",n.jsx($,{user:C,color:g})]});const a=b.length>3,u=a?b.slice(0,2):y;return n.jsxs(n.Fragment,{children:[u.map((f,c)=>n.jsxs(Fe.Fragment,{children:[n.jsx($,{user:f,color:g}),c<u.length-1?", ":""]},f.did)),a?`, and ${b.length-2} others`:n.jsxs(n.Fragment,{children:[", and ",n.jsx($,{user:C,color:g})]})]})}),M=ue(()=>{const y=ft[o];return y?y(x==="doc"?"document":x,t.length,T):null}),E=_(()=>{const y=R(),C=M();return!y||!C?null:n.jsxs(n.Fragment,{children:[y," ",C]})},[o,x,b,R,M]),w=_(()=>{if(!e)return null;const y=je(e);return y?.targetLink?ke(y?.targetLink)?y?.targetLink:G(i,y.targetLink):null},[e,i]);return!o||O(h)?null:n.jsxs(n.Fragment,{children:[E," ",n.jsx(ae,{href:w,color:"primary",target:"_blank",sx:{textDecoration:"none"},onClick:y=>{y.customPreventRedirect=!0},children:h.name||h.desc})]})}const gt={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 7L7 17M8 7h9v9"/>'};Te.propTypes={meta:m.object.isRequired};const xt=le(Ge)(({theme:e})=>({maxWidth:320,display:"flex",flexDirection:"column",gap:e.spacing(1.5),padding:e.spacing(2),marginTop:e.spacing(1),borderRadius:e.spacing(1),border:`1px solid ${e.palette.divider}`,boxShadow:"none"})),yt=le(k)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",gap:e.spacing(1),marginBottom:e.spacing(1)})),bt=le(k)({display:"flex",justifyContent:"space-between",alignItems:"center"});function Te({meta:e}){const{amount:t,symbol:r,chainId:s}=e,i=()=>{window.open(`https://explorer.arcblock.io/chain/${s}`,"_blank")};return n.jsxs(xt,{children:[n.jsxs(yt,{children:[n.jsx("img",{alt:"ArcBlock Beta",src:"https://bbqat7g5cg33cyr4pdrd6foycgzfb5xxeh2se7gcqkq.did.abtnet.io/payment-kit/methods/arcblock.png",width:32,height:32,style:{borderRadius:16}}),n.jsx(P,{variant:"h5",sx:{color:"text.primary"},children:"ArcBlock"})]}),n.jsxs(bt,{children:[n.jsxs(k,{sx:{display:"flex",alignItems:"baseline",gap:1},children:[n.jsxs(P,{component:"span",variant:"h5",sx:{color:"text.primary",fontWeight:"bold"},children:["+ ",t]}),n.jsx(P,{component:"span",variant:"subtitle2",sx:{color:"text.secondary"},children:r})]}),n.jsx(Be,{variant:"outlined",size:"small",color:"secondary",endIcon:n.jsx(ot,{icon:gt}),onClick:i,sx:{borderRadius:4},children:"View on Chain"})]})]})}vt.propTypes={meta:m.object.isRequired,type:m.string.isRequired,hideTips:m.bool,sx:m.object};function vt({meta:e,type:t,hideTips:r=!1,sx:s={}}){return O(e)?null:t==="tips"&&!r?n.jsx(Te,{meta:e}):n.jsx(P,{variant:"subtitle2",component:"p",sx:[{fontSize:16,color:"text.secondary",wordBreak:"break-all"},...Array.isArray(s)?s:[s]],children:e.content})}var re,he;function wt(){if(he)return re;he=1;var e=ze();function t(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var r=t(e);function s(){return s=Object.assign?Object.assign.bind():function(a){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var c in f)({}).hasOwnProperty.call(f,c)&&(a[c]=f[c])}return a},s.apply(null,arguments)}function i(a,u){a.prototype=Object.create(u.prototype),a.prototype.constructor=a,o(a,u)}function p(a,u){if(a==null)return{};var f={};for(var c in a)if({}.hasOwnProperty.call(a,c)){if(u.indexOf(c)!==-1)continue;f[c]=a[c]}return f}function o(a,u){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,c){return f.__proto__=c,f},o(a,u)}var h={position:"absolute",bottom:0,left:0,height:0,overflow:"hidden","padding-top":0,"padding-bottom":0,border:"none"},x=["box-sizing","width","font-size","font-weight","font-family","font-style","letter-spacing","text-indent","white-space","word-break","overflow-wrap","padding-left","padding-right"];function v(a,u){if(!a||typeof a!="object")return a;var f={};return Object.keys(a).forEach(function(c){u.indexOf(c)>-1||(f[c]=a[c])}),f}var g=["component","className","unsafeHTML"];function T(a,u){if(u!=="letters"&&u!=="words")throw new Error("Unsupported options basedOn: "+u);if(a.nodeType===Node.TEXT_NODE){var f=document.createDocumentFragment(),c;switch(u){case"words":c=a.textContent.split(/\b|(?=\W)/);break;case"letters":c=Array.from(a.textContent);break}c.forEach(function(N){f.appendChild(L(N))}),a.parentNode.replaceChild(f,a)}else if(a.nodeType===Node.ELEMENT_NODE)for(var l=[].slice.call(a.childNodes),d=l.length,j=0;j<d;j++)T(l[j],u)}function L(a){var u=document.createElement("span");return u.className="LinesEllipsis-unit",u.textContent=a,u}function b(a){a.parentNode.replaceChild(document.createTextNode(a.textContent),a)}function R(a,u){if(!(!u.contains(a)||a===u)){for(;a.nextElementSibling;)a.parentNode.removeChild(a.nextElementSibling);R(a.parentNode,u)}}function M(a){for(var u=a;u=u.parentNode;)if(/p|div|main|section|h\d|ul|ol|li/.test(u.tagName.toLowerCase()))return u}function E(a){return!!(a.offsetHeight&&(a.offsetWidth||/\S/.test(a.textContent)))}var w={component:"div",unsafeHTML:"",maxLine:1,ellipsis:"…",ellipsisHTML:void 0,className:"",basedOn:void 0,onReflow:function(){},winWidth:void 0},y=Object.keys(w),C=function(a){function u(c){var l;return l=a.call(this,c)||this,l.props=s({},w,c),l.state={html:c.unsafeHTML,clamped:!1},l.canvas=null,l.maxLine=0,l.nlUnits=[],l}i(u,a);var f=u.prototype;return f.componentDidMount=function(){this.initCanvas(),this.reflow(this.props)},f.componentDidUpdate=function(l){l.winWidth!==this.props.winWidth&&this.copyStyleToCanvas(),this.props!==l&&this.reflow(this.props)},f.componentWillUnmount=function(){this.canvas.parentNode.removeChild(this.canvas),this.canvas=null},f.setState=function(l,d){return typeof l.clamped<"u"&&(this.clamped=l.clamped),a.prototype.setState.call(this,l,d)},f.initCanvas=function(){if(!this.canvas){var l=this.canvas=document.createElement("div");l.className="LinesEllipsis-canvas "+this.props.className,l.setAttribute("aria-hidden","true"),this.copyStyleToCanvas(),Object.keys(h).forEach(function(d){l.style[d]=h[d]}),document.body.appendChild(l)}},f.copyStyleToCanvas=function(){var l=this,d=window.getComputedStyle(this.target);x.forEach(function(j){l.canvas.style[j]=d[j]})},f.reflow=function(l){this.maxLine=+l.maxLine||1,this.canvas.innerHTML=l.unsafeHTML;var d=l.basedOn||(/^[\x00-\x7F]+$/.test(l.unsafeHTML)?"words":"letters");T(this.canvas,d);var j=this.putEllipsis(this.calcIndexes()),N={clamped:j,html:this.canvas.innerHTML};this.setState(N,l.onReflow.bind(this,N))},f.calcIndexes=function(){var l=[0],d=this.nlUnits=Array.from(this.canvas.querySelectorAll(".LinesEllipsis-unit")),j=d.length;if(!d.length)return l;var N=d.find(E);if(!N)return l;for(var I=1,Q=N.offsetTop,U=1;U<j&&!(E(d[U])&&d[U].offsetTop-Q>1&&(I++,l.push(U),Q=d[U].offsetTop,I>this.maxLine));U++);return l},f.putEllipsis=function(l){if(l.length<=this.maxLine)return!1;this.nlUnits=this.nlUnits.slice(0,l[this.maxLine]);var d=this.nlUnits.pop(),j=this.makeEllipsisSpan();do R(d,this.canvas),M(d).appendChild(j),d=this.nlUnits.pop();while(d&&(!E(d)||j.offsetHeight>d.offsetHeight||j.offsetTop>d.offsetTop));return d&&b(d),this.nlUnits.forEach(b),!0},f.makeEllipsisSpan=function(){var l=this.props,d=l.ellipsisHTML,j=l.ellipsis,N=document.createElement("span");N.appendChild(document.createElement("wbr"));var I=document.createElement("span");return I.className="LinesEllipsis-ellipsis",d?I.innerHTML=d:I.textContent=j,N.appendChild(I),N},f.isClamped=function(){return this.clamped},f.render=function(){var l=this,d=this.state,j=d.html,N=d.clamped,I=this.props,Q=I.component,U=I.className,$e=I.unsafeHTML,Oe=p(I,g);return r.default.createElement(Q,s({className:"LinesEllipsis "+(N?"LinesEllipsis--clamped":"")+" "+U,ref:function(We){return l.target=We}},v(Oe,y)),r.default.createElement("div",{dangerouslySetInnerHTML:{__html:N?j:$e}}))},u}(r.default.PureComponent);return re=C,re}var jt=wt();const kt=qe(jt),Tt=e=>{let t="rgba(0, 0, 0, 0.12)";return e==="warning"?t="#DE9E37":e==="error"?t="#F16E6E":t="rgba(0, 0, 0, 0.12)",t},St=e=>e.every(t=>t.type==="text"),Ct=e=>e.every(t=>t.type==="image"),Lt=e=>rt(e,2).map(t=>({type:"combined",items:t})).filter(t=>(t.items||[]).every(r=>r?.data?.text?.trim?.())),Et=e=>{if(!e.length||e.length<=1)return!1;const t=e[0].type;return e.every(r=>r.type===t)},Rt=(e,t)=>{try{const r=at.toTypeInfo(e);if(!(r.role!==void 0&&r.role!==lt.types.RoleType.ACCOUNT))return;const i=G(B.WELLKNOWN_SERVICE_PATH_PREFIX,"user");return ce(i,{did:e,locale:t})}catch(r){console.error(r);return}},sn=(e,t)=>t?.componentMountPoints?.find(s=>s.did===e)?.mountPoint,on=(e,t)=>{if(!e)return null;if(e.actions?.length===1)return e.actions[0].link||null;const r=je(e.activity),s=r?.metaLink||r?.targetLink;if(s)return ke(s)?s:G(t,s);if(e.attachments?.length===1){const i=e.attachments[0];if(i.type==="link")return i.data?.url||null}return null},me=e=>{const{receivers:t=[]}=e;return t.length?t.every(r=>r.read):!0};function Nt(e){const t=e.getBoundingClientRect(),r=window.innerWidth||document.documentElement.clientWidth,s=window.innerHeight||document.documentElement.clientHeight,i=t.height,p=t.width;let o=0;t.top>=0&&t.bottom<=s?o=i:t.top<0&&t.bottom>0&&t.bottom<=s?o=t.bottom:t.top>=0&&t.top<s&&t.bottom>s?o=s-t.top:t.top<0&&t.bottom>s&&(o=s);let h=0;return t.left>=0&&t.right<=r?h=p:t.left<0&&t.right>0&&t.right<=r?h=t.right:t.left>=0&&t.left<r&&t.right>r?h=r-t.left:t.left<0&&t.right>r&&(h=r),o*h/(i*p)>=.5}const an=e=>{if(!e)return[];const t=[],r=5,s=Array.from(e.querySelectorAll(".notification-row")),i=s.length;for(let p=0;p<i;p+=r){const o=s.slice(p,p+r);let h=!0;for(const x of o){const v=x.id;if(Nt(x))t.push(v);else{h=!1;break}}if(!h)break}return t},It=e=>{const t=[];return e&&(e.items?.length?e.items.forEach(r=>{me(r)||t.push(r)}):me(e)||t.push(e)),t},ln=(e,t)=>{let r=[];return t.length&&t.forEach(s=>{const i=e.get(s);i&&(r=r.concat(It(i)))}),r},W=(e,t)=>({...e,...t?{filter:"invert(1)"}:{}}),K=e=>{if(!e)return null;try{return new URL(e).protocol!=="https:"?(console.warn("Image URL must use HTTPS protocol:",e),null):`${B.WELLKNOWN_SERVICE_PATH_PREFIX}/proxy?url=${encodeURIComponent(e)}`}catch(t){return console.warn("Invalid image URL format:",e,t),null}};function Se({attachment:e}){const{data:t}=e,r=A();let s="";try{s=new URL(t.url).host}catch{s=t.url}return n.jsxs(ae,{target:"_blank",rel:"noopener noreferrer",href:t.url,className:"link",style:{wordBreak:"break-all"},onClick:i=>{i.customPreventRedirect=!0},children:[!!s&&n.jsx("span",{className:"url",children:s}),!!t.title&&n.jsx(k,{className:"title",style:{whiteSpace:"unset"},children:t.title}),!!t.description&&n.jsx(k,{className:"description",style:{whiteSpace:"unset",color:r.palette.text.secondary},children:t.description}),!!t.image&&n.jsx(V,{src:Z.getImagePath(t.image),alt:t.title||"",height:128,style:{borderRadius:"8px",maxWidth:"256px",objectFit:"cover"},fallback:K(Z.getImagePath(t.image))})]})}Se.propTypes={attachment:m.object.isRequired};function Ce({attachment:e}){const{data:t}=e;return n.jsx(V,{src:Z.getImagePath(t.url),alt:t.title||"",height:128,style:{borderRadius:"8px",maxWidth:"256px",objectFit:"cover"},sx:{".Img-root":{height:256}},fallback:K(Z.getImagePath(t.url))})}Ce.propTypes={attachment:m.object.isRequired};function Le({attachment:e,...t}){const{data:r}=e,s=r.color?.toLowerCase()||t.color,i=r.size||t.size,p=r.fontWeight||t.fontWeight||400;let o="14px";return i==="small"?o="12px":i==="normal"?o="14px":i==="big"?o="16px":i==="large"&&(o="18px"),n.jsx(Pt,{className:"title",style:{fontSize:o,color:s,whiteSpace:"unset",fontWeight:p},children:r.text})}Le.propTypes={attachment:m.object.isRequired};const Pt=F.span`
|
|
1
|
+
import{r as S,a as Fe,d as ze,g as qe}from"./vendor-react-CUXIiAnY.js";import{j as n,a$ as ae,W as m,s as le,T as P,ak as k,Q as Be,P as Ge,D as A,at as F,J as z,a3 as ye,b7 as be,am as Ve,bf as Ke,de as Qe,df as Xe,ar as Ye}from"./vendor-mui-core-___CiWHn.js";import{a as _,b as ue}from"./vendor-hooks-L8kZVRUL.js";import{c as B,bt as Z,bu as ee,bv as ve,bw as Je,am as Ze,l as et,e as tt,Y as X,bx as ne,f as Y,b5 as nt}from"./index-DiqdSyj7.js";import{a as O,J as ce,C as G,a7 as rt,a8 as st}from"./vendor-utils-Doa0RxLS.js";import{u as it}from"./session-Dt50YAVT.js";import{U as ot,x as at,a as lt,M as V,e as de,p as ct,V as we,H as dt}from"./vendor-ux-pxYpYMxD.js";import{i as pt}from"./isURL-bkdgf1x2.js";import{u as ut}from"./use-app-logo-Bu9kUO2d.js";const ht={dividerColor:"rgba(239, 241, 245, 1)"},tn=e=>{if(!e||!e.length)return[];const t=[];let r=null,s=[];if(e.forEach(i=>{if(!i.activity||!i.activity.type||!r){r&&(s.length===1?t.push(s[0]):(r.items=s,t.push(r))),i.activity&&i.activity.type?(r=i,s=[i]):(t.push(i),r=null,s=[]);return}const p=s[0].activity,o=p.type,h=p.target?.type,x=p.target?.id,v=i.activity.type,g=i.activity.target?.type,T=i.activity.target?.id;if(o&&v&&o===v&&(!p.target&&!i.activity.target||p.target&&i.activity.target&&h===g&&x===T))s.push(i);else{if(s.length===1)t.push(s[0]);else{const b=Object.assign({},r,{items:s});t.push(b)}r=i,s=[i]}}),r)if(s.length===1)t.push(s[0]);else{const i=Object.assign({},r,{items:s});t.push(i)}return t},mt=e=>!O(e.activity)&&!!e.activity.type&&!!e.activity.actor,nn=e=>mt(e)&&!!e.actorInfo&&!!e.actorInfo.did,je=e=>{if(!e)return null;const{meta:t,target:r,actor:s}=e||{};let i=r?.id;return r?.type==="user"&&(i=ce(G(B.WELLKNOWN_SERVICE_PATH_PREFIX,"user"),{did:s})),{metaLink:t?.id,targetLink:i}},ke=e=>pt(e),H={COMMENT:"comment",LIKE:"like",FOLLOW:"follow",TIPS:"tips",MENTION:"mention",ASSIGN:"assign",UN_ASSIGN:"un_assign"},ft={[H.COMMENT]:(e,t,r)=>t>1?n.jsxs(n.Fragment,{children:["have left ",t," comments on ",r?"your":"the"," ",e,":"]}):n.jsxs(n.Fragment,{children:["has commented on ",r?"your":"the"," ",e,":"]}),[H.LIKE]:(e,t,r)=>t>1?n.jsxs(n.Fragment,{children:["have liked ",r?"your":"the"," ",e,":"]}):n.jsxs(n.Fragment,{children:["have liked ",r?"your":"the"," ",e,":"]}),[H.FOLLOW]:(e,t)=>t>1?n.jsx(n.Fragment,{children:"have followed you"}):n.jsx(n.Fragment,{children:"has followed you"}),[H.TIPS]:(e,t,r)=>t>1?n.jsxs(n.Fragment,{children:["left tips for ",r?"your":"the"," ",e,":"]}):n.jsxs(n.Fragment,{children:["left a tip for ",r?"your":"the"," ",e,":"]}),[H.MENTION]:(e,t,r)=>t>1?n.jsxs(n.Fragment,{children:["have mentioned you in ",r?"your":"the"," ",e,":"]}):n.jsxs(n.Fragment,{children:["mentioned you in ",r?"your":"the"," ",e,":"]}),[H.ASSIGN]:()=>n.jsx(n.Fragment,{children:"has assigned you a task: "}),[H.UN_ASSIGN]:()=>n.jsx(n.Fragment,{children:"has revoked your task assignment: "})},$=S.memo(function({user:t,color:r="text.secondary"}){const s=ce(G(B.WELLKNOWN_SERVICE_PATH_PREFIX,"user"),{did:t.did});return n.jsx(ae,{href:s,color:r,target:"_blank",onClick:i=>{i.customPreventRedirect=!0},sx:{fontWeight:600,textDecoration:"none"},children:t.fullName||"System"})});$.propTypes={user:m.shape({did:m.string.isRequired,fullName:m.string.isRequired}).isRequired,color:m.string};$.displayName="UserLink";function rn({activity:e,users:t,actors:r,extra:s={},mountPoint:i=""}){const{session:p}=it()||{},{type:o,target:h}=e||{},{type:x,author:v}=h||{},{linkColor:g="text.secondary"}=s||{},T=_(()=>v?(p?.user?.did||s?.userDid)===v:!0,[p,v]),L=_(()=>{if(!Array.isArray(t))return new Map;const y=new Map;return t.forEach(C=>{C?.did&&!y.has(C.did)&&y.set(C.did,C)}),y},[t]),b=_(()=>Array.isArray(r)?[...new Set(r)].map(C=>C?L.get(C)||{did:C,fullName:"System"}:null):[],[r,L]),R=ue(()=>{if(!Array.isArray(b)||b.length===0)return null;if(b.length===1)return n.jsx($,{user:b[0],color:g});const y=b.slice(0,-1),C=b[b.length-1];if(b.length===2)return n.jsxs(n.Fragment,{children:[n.jsx($,{user:y[0],color:g})," and ",n.jsx($,{user:C,color:g})]});const a=b.length>3,u=a?b.slice(0,2):y;return n.jsxs(n.Fragment,{children:[u.map((f,c)=>n.jsxs(Fe.Fragment,{children:[n.jsx($,{user:f,color:g}),c<u.length-1?", ":""]},f.did)),a?`, and ${b.length-2} others`:n.jsxs(n.Fragment,{children:[", and ",n.jsx($,{user:C,color:g})]})]})}),M=ue(()=>{const y=ft[o];return y?y(x==="doc"?"document":x,t.length,T):null}),E=_(()=>{const y=R(),C=M();return!y||!C?null:n.jsxs(n.Fragment,{children:[y," ",C]})},[o,x,b,R,M]),w=_(()=>{if(!e)return null;const y=je(e);return y?.targetLink?ke(y?.targetLink)?y?.targetLink:G(i,y.targetLink):null},[e,i]);return!o||O(h)?null:n.jsxs(n.Fragment,{children:[E," ",n.jsx(ae,{href:w,color:"primary",target:"_blank",sx:{textDecoration:"none"},onClick:y=>{y.customPreventRedirect=!0},children:h.name||h.desc})]})}const gt={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 7L7 17M8 7h9v9"/>'};Te.propTypes={meta:m.object.isRequired};const xt=le(Ge)(({theme:e})=>({maxWidth:320,display:"flex",flexDirection:"column",gap:e.spacing(1.5),padding:e.spacing(2),marginTop:e.spacing(1),borderRadius:e.spacing(1),border:`1px solid ${e.palette.divider}`,boxShadow:"none"})),yt=le(k)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",gap:e.spacing(1),marginBottom:e.spacing(1)})),bt=le(k)({display:"flex",justifyContent:"space-between",alignItems:"center"});function Te({meta:e}){const{amount:t,symbol:r,chainId:s}=e,i=()=>{window.open(`https://explorer.arcblock.io/chain/${s}`,"_blank")};return n.jsxs(xt,{children:[n.jsxs(yt,{children:[n.jsx("img",{alt:"ArcBlock Beta",src:"https://bbqat7g5cg33cyr4pdrd6foycgzfb5xxeh2se7gcqkq.did.abtnet.io/payment-kit/methods/arcblock.png",width:32,height:32,style:{borderRadius:16}}),n.jsx(P,{variant:"h5",sx:{color:"text.primary"},children:"ArcBlock"})]}),n.jsxs(bt,{children:[n.jsxs(k,{sx:{display:"flex",alignItems:"baseline",gap:1},children:[n.jsxs(P,{component:"span",variant:"h5",sx:{color:"text.primary",fontWeight:"bold"},children:["+ ",t]}),n.jsx(P,{component:"span",variant:"subtitle2",sx:{color:"text.secondary"},children:r})]}),n.jsx(Be,{variant:"outlined",size:"small",color:"secondary",endIcon:n.jsx(ot,{icon:gt}),onClick:i,sx:{borderRadius:4},children:"View on Chain"})]})]})}vt.propTypes={meta:m.object.isRequired,type:m.string.isRequired,hideTips:m.bool,sx:m.object};function vt({meta:e,type:t,hideTips:r=!1,sx:s={}}){return O(e)?null:t==="tips"&&!r?n.jsx(Te,{meta:e}):n.jsx(P,{variant:"subtitle2",component:"p",sx:[{fontSize:16,color:"text.secondary",wordBreak:"break-all"},...Array.isArray(s)?s:[s]],children:e.content})}var re,he;function wt(){if(he)return re;he=1;var e=ze();function t(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var r=t(e);function s(){return s=Object.assign?Object.assign.bind():function(a){for(var u=1;u<arguments.length;u++){var f=arguments[u];for(var c in f)({}).hasOwnProperty.call(f,c)&&(a[c]=f[c])}return a},s.apply(null,arguments)}function i(a,u){a.prototype=Object.create(u.prototype),a.prototype.constructor=a,o(a,u)}function p(a,u){if(a==null)return{};var f={};for(var c in a)if({}.hasOwnProperty.call(a,c)){if(u.indexOf(c)!==-1)continue;f[c]=a[c]}return f}function o(a,u){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,c){return f.__proto__=c,f},o(a,u)}var h={position:"absolute",bottom:0,left:0,height:0,overflow:"hidden","padding-top":0,"padding-bottom":0,border:"none"},x=["box-sizing","width","font-size","font-weight","font-family","font-style","letter-spacing","text-indent","white-space","word-break","overflow-wrap","padding-left","padding-right"];function v(a,u){if(!a||typeof a!="object")return a;var f={};return Object.keys(a).forEach(function(c){u.indexOf(c)>-1||(f[c]=a[c])}),f}var g=["component","className","unsafeHTML"];function T(a,u){if(u!=="letters"&&u!=="words")throw new Error("Unsupported options basedOn: "+u);if(a.nodeType===Node.TEXT_NODE){var f=document.createDocumentFragment(),c;switch(u){case"words":c=a.textContent.split(/\b|(?=\W)/);break;case"letters":c=Array.from(a.textContent);break}c.forEach(function(N){f.appendChild(L(N))}),a.parentNode.replaceChild(f,a)}else if(a.nodeType===Node.ELEMENT_NODE)for(var l=[].slice.call(a.childNodes),d=l.length,j=0;j<d;j++)T(l[j],u)}function L(a){var u=document.createElement("span");return u.className="LinesEllipsis-unit",u.textContent=a,u}function b(a){a.parentNode.replaceChild(document.createTextNode(a.textContent),a)}function R(a,u){if(!(!u.contains(a)||a===u)){for(;a.nextElementSibling;)a.parentNode.removeChild(a.nextElementSibling);R(a.parentNode,u)}}function M(a){for(var u=a;u=u.parentNode;)if(/p|div|main|section|h\d|ul|ol|li/.test(u.tagName.toLowerCase()))return u}function E(a){return!!(a.offsetHeight&&(a.offsetWidth||/\S/.test(a.textContent)))}var w={component:"div",unsafeHTML:"",maxLine:1,ellipsis:"…",ellipsisHTML:void 0,className:"",basedOn:void 0,onReflow:function(){},winWidth:void 0},y=Object.keys(w),C=function(a){function u(c){var l;return l=a.call(this,c)||this,l.props=s({},w,c),l.state={html:c.unsafeHTML,clamped:!1},l.canvas=null,l.maxLine=0,l.nlUnits=[],l}i(u,a);var f=u.prototype;return f.componentDidMount=function(){this.initCanvas(),this.reflow(this.props)},f.componentDidUpdate=function(l){l.winWidth!==this.props.winWidth&&this.copyStyleToCanvas(),this.props!==l&&this.reflow(this.props)},f.componentWillUnmount=function(){this.canvas.parentNode.removeChild(this.canvas),this.canvas=null},f.setState=function(l,d){return typeof l.clamped<"u"&&(this.clamped=l.clamped),a.prototype.setState.call(this,l,d)},f.initCanvas=function(){if(!this.canvas){var l=this.canvas=document.createElement("div");l.className="LinesEllipsis-canvas "+this.props.className,l.setAttribute("aria-hidden","true"),this.copyStyleToCanvas(),Object.keys(h).forEach(function(d){l.style[d]=h[d]}),document.body.appendChild(l)}},f.copyStyleToCanvas=function(){var l=this,d=window.getComputedStyle(this.target);x.forEach(function(j){l.canvas.style[j]=d[j]})},f.reflow=function(l){this.maxLine=+l.maxLine||1,this.canvas.innerHTML=l.unsafeHTML;var d=l.basedOn||(/^[\x00-\x7F]+$/.test(l.unsafeHTML)?"words":"letters");T(this.canvas,d);var j=this.putEllipsis(this.calcIndexes()),N={clamped:j,html:this.canvas.innerHTML};this.setState(N,l.onReflow.bind(this,N))},f.calcIndexes=function(){var l=[0],d=this.nlUnits=Array.from(this.canvas.querySelectorAll(".LinesEllipsis-unit")),j=d.length;if(!d.length)return l;var N=d.find(E);if(!N)return l;for(var I=1,Q=N.offsetTop,U=1;U<j&&!(E(d[U])&&d[U].offsetTop-Q>1&&(I++,l.push(U),Q=d[U].offsetTop,I>this.maxLine));U++);return l},f.putEllipsis=function(l){if(l.length<=this.maxLine)return!1;this.nlUnits=this.nlUnits.slice(0,l[this.maxLine]);var d=this.nlUnits.pop(),j=this.makeEllipsisSpan();do R(d,this.canvas),M(d).appendChild(j),d=this.nlUnits.pop();while(d&&(!E(d)||j.offsetHeight>d.offsetHeight||j.offsetTop>d.offsetTop));return d&&b(d),this.nlUnits.forEach(b),!0},f.makeEllipsisSpan=function(){var l=this.props,d=l.ellipsisHTML,j=l.ellipsis,N=document.createElement("span");N.appendChild(document.createElement("wbr"));var I=document.createElement("span");return I.className="LinesEllipsis-ellipsis",d?I.innerHTML=d:I.textContent=j,N.appendChild(I),N},f.isClamped=function(){return this.clamped},f.render=function(){var l=this,d=this.state,j=d.html,N=d.clamped,I=this.props,Q=I.component,U=I.className,$e=I.unsafeHTML,Oe=p(I,g);return r.default.createElement(Q,s({className:"LinesEllipsis "+(N?"LinesEllipsis--clamped":"")+" "+U,ref:function(We){return l.target=We}},v(Oe,y)),r.default.createElement("div",{dangerouslySetInnerHTML:{__html:N?j:$e}}))},u}(r.default.PureComponent);return re=C,re}var jt=wt();const kt=qe(jt),Tt=e=>{let t="rgba(0, 0, 0, 0.12)";return e==="warning"?t="#DE9E37":e==="error"?t="#F16E6E":t="rgba(0, 0, 0, 0.12)",t},St=e=>e.every(t=>t.type==="text"),Ct=e=>e.every(t=>t.type==="image"),Lt=e=>rt(e,2).map(t=>({type:"combined",items:t})).filter(t=>(t.items||[]).every(r=>r?.data?.text?.trim?.())),Et=e=>{if(!e.length||e.length<=1)return!1;const t=e[0].type;return e.every(r=>r.type===t)},Rt=(e,t)=>{try{const r=at.toTypeInfo(e);if(!(r.role!==void 0&&r.role!==lt.types.RoleType.ACCOUNT))return;const i=G(B.WELLKNOWN_SERVICE_PATH_PREFIX,"user");return ce(i,{did:e,locale:t})}catch(r){console.error(r);return}},sn=(e,t)=>t?.componentMountPoints?.find(s=>s.did===e)?.mountPoint,on=(e,t)=>{if(!e)return null;if(e.actions?.length===1)return e.actions[0].link||null;const r=je(e.activity),s=r?.metaLink||r?.targetLink;if(s)return ke(s)?s:G(t,s);if(e.attachments?.length===1){const i=e.attachments[0];if(i.type==="link")return i.data?.url||null}return null},me=e=>{const{receivers:t=[]}=e;return t.length?t.every(r=>r.read):!0};function Nt(e){const t=e.getBoundingClientRect(),r=window.innerWidth||document.documentElement.clientWidth,s=window.innerHeight||document.documentElement.clientHeight,i=t.height,p=t.width;let o=0;t.top>=0&&t.bottom<=s?o=i:t.top<0&&t.bottom>0&&t.bottom<=s?o=t.bottom:t.top>=0&&t.top<s&&t.bottom>s?o=s-t.top:t.top<0&&t.bottom>s&&(o=s);let h=0;return t.left>=0&&t.right<=r?h=p:t.left<0&&t.right>0&&t.right<=r?h=t.right:t.left>=0&&t.left<r&&t.right>r?h=r-t.left:t.left<0&&t.right>r&&(h=r),o*h/(i*p)>=.5}const an=e=>{if(!e)return[];const t=[],r=5,s=Array.from(e.querySelectorAll(".notification-row")),i=s.length;for(let p=0;p<i;p+=r){const o=s.slice(p,p+r);let h=!0;for(const x of o){const v=x.id;if(Nt(x))t.push(v);else{h=!1;break}}if(!h)break}return t},It=e=>{const t=[];return e&&(e.items?.length?e.items.forEach(r=>{me(r)||t.push(r)}):me(e)||t.push(e)),t},ln=(e,t)=>{let r=[];return t.length&&t.forEach(s=>{const i=e.get(s);i&&(r=r.concat(It(i)))}),r},W=(e,t)=>({...e,...t?{filter:"invert(1)"}:{}}),K=e=>{if(!e)return null;try{return new URL(e).protocol!=="https:"?(console.warn("Image URL must use HTTPS protocol:",e),null):`${B.WELLKNOWN_SERVICE_PATH_PREFIX}/proxy?url=${encodeURIComponent(e)}`}catch(t){return console.warn("Invalid image URL format:",e,t),null}};function Se({attachment:e}){const{data:t}=e,r=A();let s="";try{s=new URL(t.url).host}catch{s=t.url}return n.jsxs(ae,{target:"_blank",rel:"noopener noreferrer",href:t.url,className:"link",style:{wordBreak:"break-all"},onClick:i=>{i.customPreventRedirect=!0},children:[!!s&&n.jsx("span",{className:"url",children:s}),!!t.title&&n.jsx(k,{className:"title",style:{whiteSpace:"unset"},children:t.title}),!!t.description&&n.jsx(k,{className:"description",style:{whiteSpace:"unset",color:r.palette.text.secondary},children:t.description}),!!t.image&&n.jsx(V,{src:Z.getImagePath(t.image),alt:t.title||"",height:128,style:{borderRadius:"8px",maxWidth:"256px",objectFit:"cover"},fallback:K(Z.getImagePath(t.image))})]})}Se.propTypes={attachment:m.object.isRequired};function Ce({attachment:e}){const{data:t}=e;return n.jsx(V,{src:Z.getImagePath(t.url),alt:t.title||"",height:128,style:{borderRadius:"8px",maxWidth:"256px",objectFit:"cover"},sx:{".Img-root":{height:256}},fallback:K(Z.getImagePath(t.url))})}Ce.propTypes={attachment:m.object.isRequired};function Le({attachment:e,...t}){const{data:r}=e,s=r.color?.toLowerCase()||t.color,i=r.size||t.size,p=r.fontWeight||t.fontWeight||400;let o="14px";return i==="small"?o="12px":i==="normal"?o="14px":i==="big"?o="16px":i==="large"&&(o="18px"),n.jsx(Pt,{className:"title",style:{fontSize:o,color:s,whiteSpace:"unset",fontWeight:p},children:r.text})}Le.propTypes={attachment:m.object.isRequired};const Pt=F.span`
|
|
2
2
|
width: 100%;
|
|
3
3
|
display: -webkit-box;
|
|
4
4
|
-webkit-box-orient: vertical;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,r as k}from"./vendor-react-Dvs43sk9.js";import{aG as je,a1 as T,_ as Ne,aH as de,c as Oe,aR as me}from"./index-Cq3xfsOS.js";import{X as Te,C as Pe}from"./vendor-utils-cJEl_UEd.js";import{u as Ie}from"./useAsyncRetry-DwwEjrjs.js";import{I as Ye}from"./iframe-fHGifsex.js";import{ak as $,P as ye,c2 as h,a3 as ne,T as Y,c5 as Fe,V as He,S as _e,aP as Le,I as K,c6 as We,y as fe,bc as he,M as pe,c7 as Ae,c8 as Ve,n as ge,j as p,W as P,D as qe,a6 as ze,aX as Be,Q as $e,aN as Ke,bO as Xe}from"./vendor-mui-core-CnXrAOs3.js";import{r as ie,t as Me,i as O,a as re,e as W,s as A,b as I,c as V,d as q,f as X,g as J,h as F,j as C,k as De,l as le,p as Je,m as Ge,n as ce,o as Ue,q as se,u as L,v as Qe,w as Ze,x as et,y as tt,z as at}from"./index-DW-pVTUA.js";import{X as be,V as ke}from"./vendor-ux-5OlTXZBe.js";import{f as nt}from"./index-DBs9Ljax.js";import{B as rt}from"./base-chart-C-Raz4Q-.js";import{L as st,a as ot}from"./vendor-mui-x-bJ5idfMH.js";import{A as it}from"./AdapterDayjs-C8RSaHa0.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),O(e,Date.now())}const ct=(e,t)=>Array.from({length:Math.ceil(e.length/t)},(a,r)=>e.slice(r*t,r*t+t)),ut=(e,t)=>{const a=A(q(e),{locale:t}),r=W(V(e),{locale:t}),s=[];for(let o=a;L(o,r);)s.push(o),o=re(o,1);return s},dt=({startDate:e},t)=>e&&O(t,e),mt=({endDate:e},t)=>e&&O(t,e),ft=({startDate:e,endDate:t},a)=>e&&t&&(le(a,{start:e,end:t})||O(a,e)||O(a,t)),ht=({startDate:e,endDate:t})=>e&&t?O(e,t):!1,xe=(e,t)=>{if(e){const a=e instanceof Date?e:Je(e);if(Ge(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)?C(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(I(e,-1),{locale:t}),endDate:W(I(e,-1),{locale:t})},{label:"Last 7 Days",startDate:I(e,-1),endDate:e},{label:"This Month",startDate:q(e),endDate:V(e)},{label:"Last Month",startDate:q(C(e,-1)),endDate:V(C(e,-1))},{label:"This Year",startDate:J(e),endDate:X(e)},{label:"Last Year",startDate:J(F(e,-1)),endDate:X(F(e,-1))}],Dt=(e,t)=>{const a=Math.floor(t/2);return Array(t).fill(0).map((r,s)=>e.getFullYear()-a+s)},xt=({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 x;return(x=c.localize)===null||x===void 0?void 0:x.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)))},u=l=>{t(at(e,parseInt(l.target.value,10)))};return n.createElement(h,{container:!0,justifyContent:"space-between",alignItems:"center"},n.createElement(h,{item:!0,sx:{padding:"5px"}},n.createElement(K,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:r,onClick:o},n.createElement(We,{color:r?"disabled":"action"}))),n.createElement(h,{item:!0},n.createElement(fe,{variant:"standard"},n.createElement(he,{value:Ze(e),onChange:g,MenuProps:{disablePortal:!0}},m.map((l,x)=>n.createElement(pe,{key:l,value:x},l))))),n.createElement(h,{item:!0},n.createElement(fe,{variant:"standard"},n.createElement(he,{value:et(e),onChange:u,MenuProps:{disablePortal:!0}},Dt(e,30).map(l=>n.createElement(pe,{key:l,value:l},l))))),n.createElement(h,{item:!0,sx:{padding:"5px"}},n.createElement(K,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:a,onClick:s},n.createElement(Ae,{color:a?"disabled":"action"}))))},vt=({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:u=>!a&&r?u.palette.primary.light:void 0}},n.createElement(K,{sx:Object.assign({height:"36px",width:"36px",padding:0,border:u=>!a&&s?`1px solid ${u.palette.primary.dark}`:void 0},!a&&o?{"&:hover":{backgroundColor:u=>u.palette.primary.dark},backgroundColor:u=>u.palette.primary.dark}:{}),disabled:a,onClick:c,onMouseOver:m},n.createElement(Y,{sx:{lineHeight:1.6,color:u=>a?u.palette.text.secondary:o?u.palette.primary.contrastText:u.palette.text.primary},variant:"body2"},g)));var G;(function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"})(G||(G={}));const ve=e=>{var t;const{helpers:a,handlers:r,value:s,dateRange:o,marker:c,setValue:m,minDate:g,maxDate:u,locale:l}=e,x=((t=l?.options)===null||t===void 0?void 0:t.weekStartsOn)||0,w=typeof l<"u"?[...Array(7).keys()].map(D=>{var E;return(E=l.localize)===null||E===void 0?void 0:E.day((D+x)%7,{width:"short",context:"standalone"})}):["Su","Mo","Tu","We","Th","Fr","Sa"],[v,R]=e.navState;return n.createElement(ye,{square:!0,elevation:0,sx:{width:290}},n.createElement(h,{container:!0},n.createElement(xt,{date:s,setDate:m,nextDisabled:!R,prevDisabled:!v,onClickPrevious:()=>r.onMonthNavigate(c,G.Previous),onClickNext:()=>r.onMonthNavigate(c,G.Next),locale:l}),n.createElement(h,{item:!0,container:!0,direction:"row",justifyContent:"space-between",sx:{marginTop:"10px",paddingLeft:"30px",paddingRight:"30px"}},w.map((D,E)=>n.createElement(Y,{color:"textSecondary",key:E,variant:"caption"},D))),n.createElement(h,{item:!0,container:!0,direction:"column",justifyContent:"space-between",sx:{paddingLeft:"15px",paddingRight:"15px",marginTop:"15px",marginBottom:"20px"}},ct(ut(s,l),7).map((D,E)=>n.createElement(h,{key:E,container:!0,direction:"row",justifyContent:"center"},D.map(f=>{const j=dt(o,f),b=mt(o,f),S=ht(o),y=ft(o,f)||a.inHoverRange(f);return n.createElement(vt,{key:se(f,"dd-MM-yyyy"),filled:j||b,outlined:lt(f),highlighted:y&&!S,disabled:!ce(s,f)||!le(f,{start:g,end:u}),startOfRange:j&&!S,endOfRange:b&&!S,onClick:()=>r.onDayClick(f),onHover:()=>r.onDayHover(f),value:Qe(f)})}))))))},Ee=(e,t)=>{const{startDate:a,endDate:r}=e,{startDate:s,endDate:o}=t;return a&&s&&r&&o?O(a,s)&&O(r,o):!1},Et=({ranges:e,setRange:t,selectedRange:a})=>n.createElement(He,null,e.map((r,s)=>n.createElement(_e,{button:!0,key:s,onClick:()=>t(r),sx:[Ee(r,a)&&{backgroundColor:o=>o.palette.primary.dark,color:"primary.contrastText","&:hover":{color:"inherit"}}]},n.createElement(Le,{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:u,helpers:l,handlers:x,locale:w}=e,{startDate:v,endDate:R}=a,D=Ue(m,o)>=2,E={dateRange:a,minDate:r,maxDate:s,helpers:l,handlers:x};return n.createElement(ye,{elevation:5,square:!0},n.createElement(h,{container:!0,direction:"row",wrap:"nowrap"},n.createElement(h,null,n.createElement(Et,{selectedRange:a,ranges:t,setRange:u})),n.createElement(ne,{orientation:"vertical",flexItem:!0}),n.createElement(h,null,n.createElement(h,{container:!0,sx:{padding:"20px 70px"},alignItems:"center"},n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},v?se(v,"dd MMMM yyyy",{locale:w}):"Start Date")),n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Fe,{color:"action"})),n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},R?se(R,"dd MMMM yyyy",{locale:w}):"End Date"))),n.createElement(ne,null),n.createElement(h,{container:!0,direction:"row",justifyContent:"center",wrap:"nowrap"},n.createElement(ve,Object.assign({},E,{value:o,setValue:c,navState:[!0,D],marker:oe.FIRST_MONTH,locale:w})),n.createElement(ne,{orientation:"vertical",flexItem:!0}),n.createElement(ve,Object.assign({},E,{value:m,setValue:g,navState:[D,!0],marker:oe.SECOND_MONTH,locale:w}))))))},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,u=xe(o,F(t,-10)),l=xe(c,F(t,10)),[x,w]=pt(s||{},u,l),[v,R]=k.useState(Object.assign({},s)),[D,E]=k.useState(),[f,j]=k.useState(x||t),[b,S]=k.useState(w||C(f,1)),{startDate:y,endDate:H}=v,z=d=>{L(d,b)&&j(d)},_=d=>{De(d,f)&&S(d)},U=d=>{let{startDate:i,endDate:M}=d;if(i&&M)d.startDate=i=Re([i,u]),d.endDate=M=Se([M,l]),R(d),r(d),j(i),S(ce(i,M)?C(i,1):M);else{const ue={};R(ue),r(ue),j(t),S(C(f,1))}},B=d=>{if(y&&!H&&!L(d,y)){const i={startDate:y,endDate:d};r(i),R(i)}else R({startDate:d,endDate:void 0});E(d)},Q=(d,i)=>{if(d===oe.FIRST_MONTH){const M=C(f,i);L(M,b)&&j(M)}else{const M=C(b,i);L(f,M)&&S(M)}},Z=d=>{y&&!H&&(!D||!O(d,D))&&E(d)},te={inHoverRange:d=>y&&!H&&D&&De(D,y)&&le(d,{start:y,end:D})},ae={onDayClick:B,onDayHover:Z,onMonthNavigate:Q};return a?k.createElement(yt,{dateRange:v,minDate:u,maxDate:l,ranges:m,firstMonth:f,secondMonth:b,setFirstMonth:z,setSecondMonth:_,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 we({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:u=>je(u,"MM-DD",m),visualMapPieces:g,markLineData:void 0,extraInfo:null})}we.propTypes={title:P.string,total:P.number,history:P.array,valueFn:P.func,hoverIndex:P.number,onHover:P.func};const N=Te(0),Ce=(e,t)=>[{label:"This Week",startDate:A(e,{locale:t}),endDate:W(e,{locale:t})},{label:"Last Week",startDate:A(I(e,-1),{locale:t}),endDate:W(I(e,-1),{locale:t})},{label:"Last 7 Days",startDate:I(e,-1),endDate:e},{label:"This Month",startDate:q(e),endDate:V(e)},{label:"Last Month",startDate:q(C(e,-1)),endDate:V(C(e,-1))},{label:"This Year",startDate:J(e),endDate:X(e)},{label:"Last Year",startDate:J(F(e,-1)),endDate:X(F(e,-1))}],Rt=Array.from({length:7},(e,t)=>({value:0,date:T().subtract(t,"day").format("YYYY-MM-DD")})).reverse();function St({client:e,did:t}){const a=T().subtract(1,"day").toDate(),{info:r,inService:s}=Ne(),{t:o,locale:c}=ke(),[m,g]=k.useState(null),[u,l]=k.useState(!1),[x,w]=k.useState(a),[v,R]=k.useState({startDate:T().subtract(30,"day").toDate(),endDate:a}),D=qe(),[E,f]=k.useState(null),j=k.useCallback(i=>{f(i)},[]),b=Ie(async()=>(await e.getTrafficInsights({input:{did:t,startDate:T(v.startDate).format("YYYY-MM-DD"),endDate:T(v.endDate).format("YYYY-MM-DD")}})).list);k.useEffect(()=>{b.loading||v.startDate&&v.endDate&&b.retry()},[v]);const S=i=>{g(m?null:i.currentTarget)},y=b.value||[],{loading:H,error:z}=b;if(!y.length&&H)return p.jsx(ze,{});if(z)return p.jsx(Be,{severity:"error",children:nt(z)});const _={totalRequests:N,validRequests:N,failedRequests:N,uniqueVisitors:N,uniqueFiles:N,uniqueReferrers:N,uniqueNotFound:N,uniqueStaticFiles:N,logSize:de,bandwidth:de},U=Object.keys(_).map(i=>({id:`${i}_chart`,title:o(`analytics.traffic.${i}`),current:y.length?_[i](y[0][i]):0,data:y.length?y.map(M=>({date:M.date,value:M[i]})).reverse():Rt,dateFn:N,valueFn:_[i],total:0})),B=!!m,Q=B?"date-range-picker-popover":void 0,Z=s?Oe.WELLKNOWN_SERVICE_PATH_PREFIX:r.routing.adminPath,ee=Pe(window.location.origin,Z,`/api/analytics/traffic?date=${T(x).format("YYYY-MM-DD")}&did=${t}&theme=${D.palette.mode}`),te=i=>{R(i),g(null)},ae=i=>{w(i.toDate()),l(!1)},d=()=>{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(v.startDate,c)," - ",me(v.endDate,c)]})]}),p.jsx(Ke,{id:Q,open:B,anchorEl:m,onClose:()=>g(null),anchorOrigin:{vertical:"bottom",horizontal:"left"},children:p.jsx(kt,{open:!0,toggle:S,maxDate:a,definedRanges:Ce(x),onChange:te})}),p.jsx(h,{container:!0,spacing:4,children:U.map(i=>p.jsx(h,{sx:{pt:"16px !important"},size:{lg:4,md:6,sm:6,xs:12},children:p.jsx(we,{title:`${i.title}`,total:i.total,empty:null,history:i.data,style:{height:150},valueFn:i.valueFn,hoverIndex:E,onHover:j})},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:[u&&p.jsx(K,{onClick:d,style:{marginRight:32},children:p.jsx(Xe,{})}),p.jsx(st,{dateAdapter:it,children:p.jsx(ot,{disableFuture:!0,format:"ll",value:T(x),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 Lt=Object.freeze(Object.defineProperty({__proto__:null,default:St,getDefaultRanges:Ce},Symbol.toStringTag,{value:"Module"}));export{kt as D,Ce as g,Lt as t};
|
|
1
|
+
import{a as n,r as k}from"./vendor-react-CUXIiAnY.js";import{aG as je,a1 as T,_ as Ne,aH as de,c as Oe,aR as me}from"./index-DiqdSyj7.js";import{X as Te,C as Pe}from"./vendor-utils-Doa0RxLS.js";import{u as Ie}from"./useAsyncRetry-MDM8jCoS.js";import{I as Ye}from"./iframe-Cf5bT_6x.js";import{ak as $,P as ye,c2 as h,a3 as ne,T as Y,c5 as Fe,V as He,S as _e,aP as Le,I as K,c6 as We,y as fe,bc as he,M as pe,c7 as Ae,c8 as Ve,n as ge,j as p,W as P,D as qe,a6 as ze,aX as Be,Q as $e,aN as Ke,bO as Xe}from"./vendor-mui-core-___CiWHn.js";import{r as ie,t as Me,i as O,a as re,e as W,s as A,b as I,c as V,d as q,f as X,g as J,h as F,j as C,k as De,l as le,p as Je,m as Ge,n as ce,o as Ue,q as se,u as L,v as Qe,w as Ze,x as et,y as tt,z as at}from"./index-B_fIpHt1.js";import{X as be,V as ke}from"./vendor-ux-pxYpYMxD.js";import{f as nt}from"./index-DBs9Ljax.js";import{B as rt}from"./base-chart-DkkGeB5D.js";import{L as st,a as ot}from"./vendor-mui-x-CYSdP1E1.js";import{A as it}from"./AdapterDayjs-BlYfODzx.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),O(e,Date.now())}const ct=(e,t)=>Array.from({length:Math.ceil(e.length/t)},(a,r)=>e.slice(r*t,r*t+t)),ut=(e,t)=>{const a=A(q(e),{locale:t}),r=W(V(e),{locale:t}),s=[];for(let o=a;L(o,r);)s.push(o),o=re(o,1);return s},dt=({startDate:e},t)=>e&&O(t,e),mt=({endDate:e},t)=>e&&O(t,e),ft=({startDate:e,endDate:t},a)=>e&&t&&(le(a,{start:e,end:t})||O(a,e)||O(a,t)),ht=({startDate:e,endDate:t})=>e&&t?O(e,t):!1,xe=(e,t)=>{if(e){const a=e instanceof Date?e:Je(e);if(Ge(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)?C(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(I(e,-1),{locale:t}),endDate:W(I(e,-1),{locale:t})},{label:"Last 7 Days",startDate:I(e,-1),endDate:e},{label:"This Month",startDate:q(e),endDate:V(e)},{label:"Last Month",startDate:q(C(e,-1)),endDate:V(C(e,-1))},{label:"This Year",startDate:J(e),endDate:X(e)},{label:"Last Year",startDate:J(F(e,-1)),endDate:X(F(e,-1))}],Dt=(e,t)=>{const a=Math.floor(t/2);return Array(t).fill(0).map((r,s)=>e.getFullYear()-a+s)},xt=({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 x;return(x=c.localize)===null||x===void 0?void 0:x.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)))},u=l=>{t(at(e,parseInt(l.target.value,10)))};return n.createElement(h,{container:!0,justifyContent:"space-between",alignItems:"center"},n.createElement(h,{item:!0,sx:{padding:"5px"}},n.createElement(K,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:r,onClick:o},n.createElement(We,{color:r?"disabled":"action"}))),n.createElement(h,{item:!0},n.createElement(fe,{variant:"standard"},n.createElement(he,{value:Ze(e),onChange:g,MenuProps:{disablePortal:!0}},m.map((l,x)=>n.createElement(pe,{key:l,value:x},l))))),n.createElement(h,{item:!0},n.createElement(fe,{variant:"standard"},n.createElement(he,{value:et(e),onChange:u,MenuProps:{disablePortal:!0}},Dt(e,30).map(l=>n.createElement(pe,{key:l,value:l},l))))),n.createElement(h,{item:!0,sx:{padding:"5px"}},n.createElement(K,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:a,onClick:s},n.createElement(Ae,{color:a?"disabled":"action"}))))},vt=({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:u=>!a&&r?u.palette.primary.light:void 0}},n.createElement(K,{sx:Object.assign({height:"36px",width:"36px",padding:0,border:u=>!a&&s?`1px solid ${u.palette.primary.dark}`:void 0},!a&&o?{"&:hover":{backgroundColor:u=>u.palette.primary.dark},backgroundColor:u=>u.palette.primary.dark}:{}),disabled:a,onClick:c,onMouseOver:m},n.createElement(Y,{sx:{lineHeight:1.6,color:u=>a?u.palette.text.secondary:o?u.palette.primary.contrastText:u.palette.text.primary},variant:"body2"},g)));var G;(function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"})(G||(G={}));const ve=e=>{var t;const{helpers:a,handlers:r,value:s,dateRange:o,marker:c,setValue:m,minDate:g,maxDate:u,locale:l}=e,x=((t=l?.options)===null||t===void 0?void 0:t.weekStartsOn)||0,w=typeof l<"u"?[...Array(7).keys()].map(D=>{var E;return(E=l.localize)===null||E===void 0?void 0:E.day((D+x)%7,{width:"short",context:"standalone"})}):["Su","Mo","Tu","We","Th","Fr","Sa"],[v,R]=e.navState;return n.createElement(ye,{square:!0,elevation:0,sx:{width:290}},n.createElement(h,{container:!0},n.createElement(xt,{date:s,setDate:m,nextDisabled:!R,prevDisabled:!v,onClickPrevious:()=>r.onMonthNavigate(c,G.Previous),onClickNext:()=>r.onMonthNavigate(c,G.Next),locale:l}),n.createElement(h,{item:!0,container:!0,direction:"row",justifyContent:"space-between",sx:{marginTop:"10px",paddingLeft:"30px",paddingRight:"30px"}},w.map((D,E)=>n.createElement(Y,{color:"textSecondary",key:E,variant:"caption"},D))),n.createElement(h,{item:!0,container:!0,direction:"column",justifyContent:"space-between",sx:{paddingLeft:"15px",paddingRight:"15px",marginTop:"15px",marginBottom:"20px"}},ct(ut(s,l),7).map((D,E)=>n.createElement(h,{key:E,container:!0,direction:"row",justifyContent:"center"},D.map(f=>{const j=dt(o,f),b=mt(o,f),S=ht(o),y=ft(o,f)||a.inHoverRange(f);return n.createElement(vt,{key:se(f,"dd-MM-yyyy"),filled:j||b,outlined:lt(f),highlighted:y&&!S,disabled:!ce(s,f)||!le(f,{start:g,end:u}),startOfRange:j&&!S,endOfRange:b&&!S,onClick:()=>r.onDayClick(f),onHover:()=>r.onDayHover(f),value:Qe(f)})}))))))},Ee=(e,t)=>{const{startDate:a,endDate:r}=e,{startDate:s,endDate:o}=t;return a&&s&&r&&o?O(a,s)&&O(r,o):!1},Et=({ranges:e,setRange:t,selectedRange:a})=>n.createElement(He,null,e.map((r,s)=>n.createElement(_e,{button:!0,key:s,onClick:()=>t(r),sx:[Ee(r,a)&&{backgroundColor:o=>o.palette.primary.dark,color:"primary.contrastText","&:hover":{color:"inherit"}}]},n.createElement(Le,{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:u,helpers:l,handlers:x,locale:w}=e,{startDate:v,endDate:R}=a,D=Ue(m,o)>=2,E={dateRange:a,minDate:r,maxDate:s,helpers:l,handlers:x};return n.createElement(ye,{elevation:5,square:!0},n.createElement(h,{container:!0,direction:"row",wrap:"nowrap"},n.createElement(h,null,n.createElement(Et,{selectedRange:a,ranges:t,setRange:u})),n.createElement(ne,{orientation:"vertical",flexItem:!0}),n.createElement(h,null,n.createElement(h,{container:!0,sx:{padding:"20px 70px"},alignItems:"center"},n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},v?se(v,"dd MMMM yyyy",{locale:w}):"Start Date")),n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Fe,{color:"action"})),n.createElement(h,{item:!0,sx:{flex:1,textAlign:"center"}},n.createElement(Y,{variant:"subtitle1"},R?se(R,"dd MMMM yyyy",{locale:w}):"End Date"))),n.createElement(ne,null),n.createElement(h,{container:!0,direction:"row",justifyContent:"center",wrap:"nowrap"},n.createElement(ve,Object.assign({},E,{value:o,setValue:c,navState:[!0,D],marker:oe.FIRST_MONTH,locale:w})),n.createElement(ne,{orientation:"vertical",flexItem:!0}),n.createElement(ve,Object.assign({},E,{value:m,setValue:g,navState:[D,!0],marker:oe.SECOND_MONTH,locale:w}))))))},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,u=xe(o,F(t,-10)),l=xe(c,F(t,10)),[x,w]=pt(s||{},u,l),[v,R]=k.useState(Object.assign({},s)),[D,E]=k.useState(),[f,j]=k.useState(x||t),[b,S]=k.useState(w||C(f,1)),{startDate:y,endDate:H}=v,z=d=>{L(d,b)&&j(d)},_=d=>{De(d,f)&&S(d)},U=d=>{let{startDate:i,endDate:M}=d;if(i&&M)d.startDate=i=Re([i,u]),d.endDate=M=Se([M,l]),R(d),r(d),j(i),S(ce(i,M)?C(i,1):M);else{const ue={};R(ue),r(ue),j(t),S(C(f,1))}},B=d=>{if(y&&!H&&!L(d,y)){const i={startDate:y,endDate:d};r(i),R(i)}else R({startDate:d,endDate:void 0});E(d)},Q=(d,i)=>{if(d===oe.FIRST_MONTH){const M=C(f,i);L(M,b)&&j(M)}else{const M=C(b,i);L(f,M)&&S(M)}},Z=d=>{y&&!H&&(!D||!O(d,D))&&E(d)},te={inHoverRange:d=>y&&!H&&D&&De(D,y)&&le(d,{start:y,end:D})},ae={onDayClick:B,onDayHover:Z,onMonthNavigate:Q};return a?k.createElement(yt,{dateRange:v,minDate:u,maxDate:l,ranges:m,firstMonth:f,secondMonth:b,setFirstMonth:z,setSecondMonth:_,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 we({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:u=>je(u,"MM-DD",m),visualMapPieces:g,markLineData:void 0,extraInfo:null})}we.propTypes={title:P.string,total:P.number,history:P.array,valueFn:P.func,hoverIndex:P.number,onHover:P.func};const N=Te(0),Ce=(e,t)=>[{label:"This Week",startDate:A(e,{locale:t}),endDate:W(e,{locale:t})},{label:"Last Week",startDate:A(I(e,-1),{locale:t}),endDate:W(I(e,-1),{locale:t})},{label:"Last 7 Days",startDate:I(e,-1),endDate:e},{label:"This Month",startDate:q(e),endDate:V(e)},{label:"Last Month",startDate:q(C(e,-1)),endDate:V(C(e,-1))},{label:"This Year",startDate:J(e),endDate:X(e)},{label:"Last Year",startDate:J(F(e,-1)),endDate:X(F(e,-1))}],Rt=Array.from({length:7},(e,t)=>({value:0,date:T().subtract(t,"day").format("YYYY-MM-DD")})).reverse();function St({client:e,did:t}){const a=T().subtract(1,"day").toDate(),{info:r,inService:s}=Ne(),{t:o,locale:c}=ke(),[m,g]=k.useState(null),[u,l]=k.useState(!1),[x,w]=k.useState(a),[v,R]=k.useState({startDate:T().subtract(30,"day").toDate(),endDate:a}),D=qe(),[E,f]=k.useState(null),j=k.useCallback(i=>{f(i)},[]),b=Ie(async()=>(await e.getTrafficInsights({input:{did:t,startDate:T(v.startDate).format("YYYY-MM-DD"),endDate:T(v.endDate).format("YYYY-MM-DD")}})).list);k.useEffect(()=>{b.loading||v.startDate&&v.endDate&&b.retry()},[v]);const S=i=>{g(m?null:i.currentTarget)},y=b.value||[],{loading:H,error:z}=b;if(!y.length&&H)return p.jsx(ze,{});if(z)return p.jsx(Be,{severity:"error",children:nt(z)});const _={totalRequests:N,validRequests:N,failedRequests:N,uniqueVisitors:N,uniqueFiles:N,uniqueReferrers:N,uniqueNotFound:N,uniqueStaticFiles:N,logSize:de,bandwidth:de},U=Object.keys(_).map(i=>({id:`${i}_chart`,title:o(`analytics.traffic.${i}`),current:y.length?_[i](y[0][i]):0,data:y.length?y.map(M=>({date:M.date,value:M[i]})).reverse():Rt,dateFn:N,valueFn:_[i],total:0})),B=!!m,Q=B?"date-range-picker-popover":void 0,Z=s?Oe.WELLKNOWN_SERVICE_PATH_PREFIX:r.routing.adminPath,ee=Pe(window.location.origin,Z,`/api/analytics/traffic?date=${T(x).format("YYYY-MM-DD")}&did=${t}&theme=${D.palette.mode}`),te=i=>{R(i),g(null)},ae=i=>{w(i.toDate()),l(!1)},d=()=>{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(v.startDate,c)," - ",me(v.endDate,c)]})]}),p.jsx(Ke,{id:Q,open:B,anchorEl:m,onClose:()=>g(null),anchorOrigin:{vertical:"bottom",horizontal:"left"},children:p.jsx(kt,{open:!0,toggle:S,maxDate:a,definedRanges:Ce(x),onChange:te})}),p.jsx(h,{container:!0,spacing:4,children:U.map(i=>p.jsx(h,{sx:{pt:"16px !important"},size:{lg:4,md:6,sm:6,xs:12},children:p.jsx(we,{title:`${i.title}`,total:i.total,empty:null,history:i.data,style:{height:150},valueFn:i.valueFn,hoverIndex:E,onHover:j})},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:[u&&p.jsx(K,{onClick:d,style:{marginRight:32},children:p.jsx(Xe,{})}),p.jsx(st,{dateAdapter:it,children:p.jsx(ot,{disableFuture:!0,format:"ll",value:T(x),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 Lt=Object.freeze(Object.defineProperty({__proto__:null,default:St,getDefaultRanges:Ce},Symbol.toStringTag,{value:"Module"}));export{kt as D,Ce as g,Lt as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,a6 as k,ak as c,b0 as S,T as w,at as l}from"./vendor-mui-core-
|
|
1
|
+
import{j as e,a6 as k,ak as c,b0 as S,T as w,at as l}from"./vendor-mui-core-___CiWHn.js";import{a as C,d as y,s as T,b,t as A,S as D,c as E,v as R}from"./index-DiqdSyj7.js";import{H as I}from"./addon-B40hGwgm.js";import{K as P}from"./landing-page-DIy3L18O.js";import{V as F,n as H}from"./vendor-ux-pxYpYMxD.js";import{k as L}from"./vendor-hooks-L8kZVRUL.js";import{r as o}from"./vendor-react-CUXIiAnY.js";import{s as W}from"./vendor-arcblock-DBEMYjVA.js";import"./vendor-utils-Doa0RxLS.js";import"./question-mark-circle.svg-DK9nTUDZ.js";import"./lottie-web-4koyQiv_.js";function M(){const{t:s,locale:p}=F(),{api:f,session:d}=C(),{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=L(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(k,{});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(S,{style:{fontSize:80}})}),e.jsx(w,{variant:"h5",sx:{my:4},children:s("team.transferApp.successTitle")}),e.jsx("a",{href:`${E.WELLKNOWN_SERVICE_PATH_PREFIX}/admin`,children:e.jsx(H,{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:p,messages:{title:s("team.transferApp.receiveDialog.title"),scan:s("team.transferApp.receiveDialog.scan"),confirm:s("team.transferApp.receiveDialog.confirm"),success:s("team.transferApp.receiveDialog.success")},extraParams:{transferId:a,appDid:h},hideCloseButton:!0}),e.jsx(P,{did:window.blocklet?.appPid,children:e.jsx(c,{sx:{maxWidth:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:n})})}const _=l(W)`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 16px;
|
|
4
4
|
right: 16px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as i,ak as r,b7 as y,b8 as j,b9 as k,ba as w,T as C}from"./vendor-mui-core-
|
|
1
|
+
import{j as i,ak as r,b7 as y,b8 as j,b9 as k,ba as w,T as C}from"./vendor-mui-core-___CiWHn.js";import{k as E,L}from"./vendor-react-CUXIiAnY.js";import{a as R,O as v,c}from"./index-DiqdSyj7.js";import{g as F,b as l,h as P}from"./vendor-hooks-L8kZVRUL.js";import{V as S,H as t,n as d}from"./vendor-ux-pxYpYMxD.js";import{C as u}from"./vendor-utils-Doa0RxLS.js";import"./vendor-arcblock-DBEMYjVA.js";import"./lottie-web-4koyQiv_.js";function z(){const{api:f}=R(),m=E(),{t:n}=S(),s=new URLSearchParams(m.search).get("token"),e=F({error:"",finished:!1,loading:!1}),b=l(()=>{window.close(),window.location.replace("/")}),h=l(async()=>{try{e.loading=!0;const{data:o}=await f.post("/api/user/notification/unsubscribe",{token:s});o.success===!0?(e.finished=!0,t.success(n("notification.unsubscribeSucceed"))):(e.finished=!1,t.error(n("notification.unsubscribeFailed")))}catch(o){e.finished=!1,t.error(o.message||n("notification.unsubscribeFailed"))}finally{e.loading=!1}});P(()=>{if(!s)e.error=n("notification.unsubscribeTokenRequired");else{const o=v(s);if(!o)e.error=n("notification.unsubscribeTokenInvalid");else{const{exp:g}=o;g*1e3<=Date.now()&&(e.error=n("notification.unsubscribeTokenExpired"))}}});const a=window?.blocklet?.copyright,p=a?.owner||window?.blocklet?.appName,x=a?.year||new Date().getFullYear();return i.jsx(r,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",minHeight:"100vh",backgroundColor:"background.default"},children:i.jsxs(r,{sx:{width:"450px",maxWidth:"90%"},children:[i.jsx(r,{sx:{width:"100%"},children:i.jsx("img",{style:{height:"40px"},src:u(c.WELLKNOWN_SERVICE_PATH_PREFIX,"/blocklet/logo-rect?imageFilter=convert&f=png"),alt:"blocklet logo"})}),i.jsxs(y,{variant:"outlined",sx:{my:1},children:[i.jsx(j,{title:e.finished?n("notification.unsubscribeSucceed"):n("notification.email.unsubscribe")}),i.jsxs(k,{sx:{minHeight:"10em"},children:[e.error?e.error:null,!e.error&&!e.finished?n("notification.email.unsubscribeDescription"):null,!e.error&&e.finished?i.jsxs(i.Fragment,{children:[n("notification.email.subscribeDescription")," ",i.jsx(L,{to:u(c.WELLKNOWN_SERVICE_PATH_PREFIX,"/user/settings"),color:"primary",children:n("notification.email.subscribe")})]}):null]}),i.jsxs(w,{sx:{justifyContent:"end!important"},children:[i.jsx(d,{size:"small",color:e.error?"error":"primary",variant:"outlined",onClick:b,children:n("common.close")}),e.error||e.finished?null:i.jsx(d,{size:"small",color:"primary",variant:"contained",onClick:h,loading:e.loading,children:n("notification.unsubscribe")})]})]}),i.jsxs(C,{variant:"body2",color:"gray",children:["Copyright © ",x," ",p]})]})})}export{z as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as L}from"./vendor-utils-
|
|
1
|
+
import{C as L}from"./vendor-utils-Doa0RxLS.js";import{_ as u,Y as e,$ as T,a0 as R}from"./index-DiqdSyj7.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)}`,$=`${L(a,`/blocklet/logo-rect/${s?"":n.meta.did}`)}${t(n,_??r)}`,K=`${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:$,rectLogoDarkUrl:K,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-
|
|
1
|
+
import{D as o,J as r}from"./vendor-mui-core-___CiWHn.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-
|
|
1
|
+
import{D as o,J as r}from"./vendor-mui-core-___CiWHn.js";function u({key:e}={key:"sm"}){const s=o();return r(s.breakpoints.down(e))}export{u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as C}from"./vendor-react-Dvs43sk9.js";import{t as r}from"./server-logo-notext.svg-CKQB0tIp.js";import{u as a}from"./use-mobile-maRlSUwU.js";import{D as n,j as L}from"./vendor-mui-core-CnXrAOs3.js";const o=e=>C.createElement("svg",{width:170,height:64,viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M49.1523 10.6729V24.8662L61.4404 31.9814V53.3271L43.0078 64L30.749 56.9014L30.7197 56.9189L30.6895 56.9014L18.4316 64L0 53.3271V31.9814L12.2881 24.8662V10.6729L30.7197 0L49.1523 10.6729ZM14.208 11.7842V25.9775L1.91992 33.0938V52.2158L18.4316 61.7764L30.6895 54.6787L30.7197 54.6963L30.75 54.6787L43.0078 61.7764L59.5195 52.2158V33.0938L47.2324 25.9785V11.7842L30.7197 2.22363L14.208 11.7842Z",fill:"url(#paint0_linear_4610_19017)"}),C.createElement("path",{d:"M125.204 18.5381H127.371L129.847 14.2393H131.881L128.888 19.4385L132.709 26.0762H130.674L127.353 20.3057H125.204V26.0762H123.442V10.0293H125.204V18.5381ZM87.7422 10.0293C89.8349 10.0295 91.5312 11.7312 91.5312 13.8301V14.9824C91.5312 15.9927 91.1381 16.9111 90.4971 17.5918C91.6332 18.248 92.3984 19.4784 92.3984 20.8877V22.2695C92.3983 24.3684 90.7012 26.0703 88.6084 26.0703H80.0049V10.0293H87.7422ZM97.2559 26.0703H95.4932V10.0293H97.2559V26.0703ZM137.565 26.0703H135.804V10.0293H137.565V26.0703ZM105.988 14.3604C108.093 14.3605 109.799 16.0721 109.799 18.1826V22.248C109.799 24.3586 108.093 26.0692 105.988 26.0693H104.161C102.057 26.0693 100.351 24.3587 100.351 22.248V18.1826C100.351 16.072 102.057 14.3604 104.161 14.3604H105.988ZM117.6 14.3604C119.704 14.3604 121.41 16.072 121.41 18.1826V18.4951H119.648V18.1826C119.648 17.048 118.731 16.1279 117.6 16.1279H115.772C114.641 16.128 113.724 17.048 113.724 18.1826V22.248C113.724 23.3826 114.641 24.3027 115.772 24.3027H117.6C118.731 24.3027 119.648 23.3827 119.648 22.248V21.9355H121.41V22.248C121.41 24.3587 119.704 26.0693 117.6 26.0693H115.772C113.668 26.0693 111.962 24.3587 111.962 22.248V18.1826C111.962 16.072 113.668 14.3604 115.772 14.3604H117.6ZM146.431 14.3604C148.535 14.3604 150.241 16.072 150.241 18.1826V18.9307H150.242V20.6982H142.556V22.248C142.556 23.3826 143.472 24.3026 144.604 24.3027H146.431C147.562 24.3027 148.479 23.3827 148.479 22.248V21.9355H150.241V22.248C150.241 24.3587 148.535 26.0693 146.431 26.0693H144.604C142.499 26.0692 140.793 24.3586 140.793 22.248V18.1826C140.793 16.072 142.499 14.3604 144.604 14.3604H146.431ZM155.652 15.2451H159.729V17.0127H155.652V22.7061C155.652 23.6306 156.399 24.3808 157.321 24.3809C158.243 24.3809 158.991 23.6307 158.991 22.7061V22.3545H160.675V22.7061C160.675 24.5636 159.173 26.0693 157.321 26.0693C155.469 26.0693 153.968 24.5635 153.968 22.7061V17.0127H152.4V15.2451H153.968V12.3896H155.652V15.2451ZM81.6895 18.7832V24.3809H88.6094C89.7718 24.3806 90.7138 23.4354 90.7139 22.2695V20.8877C90.7139 19.7217 89.7719 18.7766 88.6094 18.7764L81.6895 18.7832ZM104.161 16.1279C103.03 16.1279 102.112 17.048 102.112 18.1826V22.248C102.112 23.3827 103.03 24.3027 104.161 24.3027H105.988C107.119 24.3026 108.036 23.3826 108.036 22.248V18.1826C108.036 17.0481 107.119 16.1281 105.988 16.1279H104.161ZM144.604 16.1279C143.472 16.128 142.556 17.048 142.556 18.1826V18.9307H148.479V18.1826C148.479 17.048 147.562 16.1279 146.431 16.1279H144.604ZM81.6895 17.0869H87.915C88.9966 16.9985 89.8477 16.09 89.8477 14.9824V13.8301C89.8477 12.664 88.9048 11.7188 87.7422 11.7188H81.6895V17.0869Z",fill:"#121319"}),C.createElement("path",{d:"M91.034 36.5193C90.922 36.7153 90.8007 36.8599 90.67 36.9533C90.5487 37.0373 90.3947 37.0793 90.208 37.0793C90.012 37.0793 89.7974 37.0093 89.564 36.8693C89.34 36.7199 89.0694 36.5566 88.752 36.3793C88.4347 36.2019 88.0614 36.0433 87.632 35.9033C87.212 35.7539 86.7127 35.6793 86.134 35.6793C85.6114 35.6793 85.154 35.7446 84.762 35.8753C84.37 35.9966 84.0387 36.1693 83.768 36.3933C83.5067 36.6173 83.3107 36.8879 83.18 37.2053C83.0494 37.5133 82.984 37.8539 82.984 38.2273C82.984 38.7033 83.1147 39.0999 83.376 39.4173C83.6467 39.7346 84.0014 40.0053 84.44 40.2293C84.8787 40.4533 85.378 40.6539 85.938 40.8313C86.498 41.0086 87.072 41.1999 87.66 41.4053C88.248 41.6013 88.822 41.8346 89.382 42.1053C89.942 42.3666 90.4414 42.7026 90.88 43.1133C91.3187 43.5146 91.6687 44.0093 91.93 44.5973C92.2007 45.1853 92.336 45.8993 92.336 46.7393C92.336 47.6539 92.1774 48.5126 91.86 49.3153C91.552 50.1086 91.0947 50.8039 90.488 51.4013C89.8907 51.9893 89.158 52.4559 88.29 52.8013C87.422 53.1373 86.428 53.3053 85.308 53.3053C84.664 53.3053 84.0294 53.2399 83.404 53.1093C82.7787 52.9879 82.1767 52.8106 81.598 52.5773C81.0287 52.3439 80.492 52.0639 79.988 51.7373C79.484 51.4106 79.036 51.0466 78.644 50.6453L79.75 48.8393C79.8434 48.7086 79.9647 48.6013 80.114 48.5173C80.2634 48.4239 80.422 48.3773 80.59 48.3773C80.8234 48.3773 81.0754 48.4753 81.346 48.6713C81.6167 48.8579 81.9387 49.0679 82.312 49.3013C82.6854 49.5346 83.1194 49.7493 83.614 49.9453C84.118 50.1319 84.72 50.2253 85.42 50.2253C86.4934 50.2253 87.324 49.9733 87.912 49.4693C88.5 48.9559 88.794 48.2233 88.794 47.2713C88.794 46.7393 88.6587 46.3053 88.388 45.9693C88.1267 45.6333 87.7767 45.3533 87.338 45.1293C86.8994 44.8959 86.4 44.6999 85.84 44.5413C85.28 44.3826 84.7107 44.2099 84.132 44.0233C83.5534 43.8366 82.984 43.6126 82.424 43.3513C81.864 43.0899 81.3647 42.7493 80.926 42.3293C80.4874 41.9093 80.1327 41.3866 79.862 40.7613C79.6007 40.1266 79.47 39.3473 79.47 38.4233C79.47 37.6859 79.6147 36.9673 79.904 36.2673C80.2027 35.5673 80.632 34.9466 81.192 34.4053C81.752 33.8639 82.4427 33.4299 83.264 33.1033C84.0854 32.7766 85.028 32.6133 86.092 32.6133C87.2867 32.6133 88.388 32.7999 89.396 33.1733C90.404 33.5466 91.2627 34.0693 91.972 34.7413L91.034 36.5193Z",fill:"#121319"}),C.createElement("path",{d:"M104.275 44.2473C104.275 43.7993 104.209 43.3793 104.079 42.9873C103.957 42.5859 103.771 42.2359 103.519 41.9373C103.267 41.6386 102.945 41.4053 102.553 41.2373C102.17 41.0599 101.722 40.9713 101.209 40.9713C100.21 40.9713 99.4212 41.2559 98.8425 41.8253C98.2732 42.3946 97.9092 43.2019 97.7505 44.2473H104.275ZM97.6805 46.3333C97.7365 47.0706 97.8672 47.7099 98.0725 48.2513C98.2779 48.7833 98.5485 49.2266 98.8845 49.5813C99.2205 49.9266 99.6172 50.1879 100.075 50.3653C100.541 50.5333 101.055 50.6173 101.615 50.6173C102.175 50.6173 102.655 50.5519 103.057 50.4213C103.467 50.2906 103.822 50.1459 104.121 49.9873C104.429 49.8286 104.695 49.6839 104.919 49.5533C105.152 49.4226 105.376 49.3573 105.591 49.3573C105.88 49.3573 106.095 49.4646 106.235 49.6793L107.229 50.9393C106.846 51.3873 106.417 51.7653 105.941 52.0733C105.465 52.3719 104.965 52.6146 104.443 52.8013C103.929 52.9786 103.402 53.1046 102.861 53.1793C102.329 53.2539 101.811 53.2913 101.307 53.2913C100.308 53.2913 99.3792 53.1279 98.5205 52.8013C97.6619 52.4653 96.9152 51.9753 96.2805 51.3313C95.6459 50.6779 95.1465 49.8753 94.7825 48.9233C94.4185 47.9619 94.2365 46.8513 94.2365 45.5913C94.2365 44.6113 94.3952 43.6919 94.7125 42.8333C95.0299 41.9653 95.4825 41.2139 96.0705 40.5793C96.6679 39.9353 97.3912 39.4266 98.2405 39.0533C99.0992 38.6799 100.065 38.4933 101.139 38.4933C102.044 38.4933 102.879 38.6379 103.645 38.9273C104.41 39.2166 105.068 39.6413 105.619 40.2013C106.169 40.7519 106.599 41.4333 106.907 42.2453C107.224 43.0479 107.383 43.9673 107.383 45.0033C107.383 45.5259 107.327 45.8806 107.215 46.0673C107.103 46.2446 106.888 46.3333 106.571 46.3333H97.6805Z",fill:"#121319"}),C.createElement("path",{d:"M113.24 41.2093C113.688 40.3506 114.22 39.6786 114.836 39.1933C115.452 38.6986 116.18 38.4513 117.02 38.4513C117.682 38.4513 118.214 38.5959 118.616 38.8853L118.392 41.4753C118.345 41.6433 118.275 41.7646 118.182 41.8393C118.098 41.9046 117.981 41.9373 117.832 41.9373C117.692 41.9373 117.482 41.9139 117.202 41.8673C116.931 41.8206 116.665 41.7973 116.404 41.7973C116.021 41.7973 115.68 41.8533 115.382 41.9653C115.083 42.0773 114.812 42.2406 114.57 42.4553C114.336 42.6606 114.126 42.9126 113.94 43.2113C113.762 43.5099 113.594 43.8506 113.436 44.2333V53.0813H109.978V38.7173H112.008C112.362 38.7173 112.61 38.7826 112.75 38.9133C112.89 39.0346 112.983 39.2586 113.03 39.5853L113.24 41.2093Z",fill:"#121319"}),C.createElement("path",{d:"M133.373 38.7173L127.675 53.0813H124.539L118.841 38.7173H121.697C121.958 38.7173 122.173 38.7779 122.341 38.8993C122.518 39.0206 122.635 39.1746 122.691 39.3613L125.463 47.0333C125.612 47.4813 125.743 47.9199 125.855 48.3493C125.967 48.7786 126.065 49.2079 126.149 49.6373C126.242 49.2079 126.345 48.7786 126.457 48.3493C126.569 47.9199 126.704 47.4813 126.863 47.0333L129.691 39.3613C129.756 39.1746 129.873 39.0206 130.041 38.8993C130.209 38.7779 130.41 38.7173 130.643 38.7173H133.373Z",fill:"#121319"}),C.createElement("path",{d:"M144.032 44.2473C144.032 43.7993 143.967 43.3793 143.836 42.9873C143.715 42.5859 143.528 42.2359 143.276 41.9373C143.024 41.6386 142.702 41.4053 142.31 41.2373C141.928 41.0599 141.48 40.9713 140.966 40.9713C139.968 40.9713 139.179 41.2559 138.6 41.8253C138.031 42.3946 137.667 43.2019 137.508 44.2473H144.032ZM137.438 46.3333C137.494 47.0706 137.625 47.7099 137.83 48.2513C138.036 48.7833 138.306 49.2266 138.642 49.5813C138.978 49.9266 139.375 50.1879 139.832 50.3653C140.299 50.5333 140.812 50.6173 141.372 50.6173C141.932 50.6173 142.413 50.5519 142.814 50.4213C143.225 50.2906 143.58 50.1459 143.878 49.9873C144.186 49.8286 144.452 49.6839 144.676 49.5533C144.91 49.4226 145.134 49.3573 145.348 49.3573C145.638 49.3573 145.852 49.4646 145.992 49.6793L146.986 50.9393C146.604 51.3873 146.174 51.7653 145.698 52.0733C145.222 52.3719 144.723 52.6146 144.2 52.8013C143.687 52.9786 143.16 53.1046 142.618 53.1793C142.086 53.2539 141.568 53.2913 141.064 53.2913C140.066 53.2913 139.137 53.1279 138.278 52.8013C137.42 52.4653 136.673 51.9753 136.038 51.3313C135.404 50.6779 134.904 49.8753 134.54 48.9233C134.176 47.9619 133.994 46.8513 133.994 45.5913C133.994 44.6113 134.153 43.6919 134.47 42.8333C134.788 41.9653 135.24 41.2139 135.828 40.5793C136.426 39.9353 137.149 39.4266 137.998 39.0533C138.857 38.6799 139.823 38.4933 140.896 38.4933C141.802 38.4933 142.637 38.6379 143.402 38.9273C144.168 39.2166 144.826 39.6413 145.376 40.2013C145.927 40.7519 146.356 41.4333 146.664 42.2453C146.982 43.0479 147.14 43.9673 147.14 45.0033C147.14 45.5259 147.084 45.8806 146.972 46.0673C146.86 46.2446 146.646 46.3333 146.328 46.3333H137.438Z",fill:"#121319"}),C.createElement("path",{d:"M152.997 41.2093C153.445 40.3506 153.977 39.6786 154.593 39.1933C155.209 38.6986 155.937 38.4513 156.777 38.4513C157.44 38.4513 157.972 38.5959 158.373 38.8853L158.149 41.4753C158.103 41.6433 158.033 41.7646 157.939 41.8393C157.855 41.9046 157.739 41.9373 157.589 41.9373C157.449 41.9373 157.239 41.9139 156.959 41.8673C156.689 41.8206 156.423 41.7973 156.161 41.7973C155.779 41.7973 155.438 41.8533 155.139 41.9653C154.841 42.0773 154.57 42.2406 154.327 42.4553C154.094 42.6606 153.884 42.9126 153.697 43.2113C153.52 43.5099 153.352 43.8506 153.193 44.2333V53.0813H149.735V38.7173H151.765C152.12 38.7173 152.367 38.7826 152.507 38.9133C152.647 39.0346 152.741 39.2586 152.787 39.5853L152.997 41.2093Z",fill:"#121319"}),C.createElement("path",{d:"M49.1523 24.8311V46.1143L30.7197 56.7559L12.2881 46.1143V24.8311L30.7197 14.1895L49.1523 24.8311ZM14.208 25.9395V45.0059L30.7197 54.5391L47.2324 45.0059V25.9395L30.7197 16.4062L14.208 25.9395ZM32.9707 22.3506C33.3993 22.3506 33.7758 22.6348 33.8936 23.0469L34.75 26.0449L36.8691 27.2686L39.8945 26.5117C40.3103 26.4076 40.7447 26.5917 40.959 26.9629L43.21 30.8613C43.4239 31.2324 43.3663 31.7009 43.0684 32.0088L40.9004 34.249V36.6963L43.0684 38.9375C43.3663 39.2455 43.4242 39.7138 43.21 40.085L40.959 43.9834C40.7446 44.3544 40.3102 44.5386 39.8945 44.4346L36.8691 43.6768L34.75 44.9004L33.8936 47.8994C33.7756 48.3113 33.3991 48.5947 32.9707 48.5947H28.4697C28.0413 48.5947 27.6648 48.3112 27.5469 47.8994L26.6895 44.9004L24.5703 43.6768L21.5459 44.4346C21.1302 44.5386 20.6958 44.3544 20.4814 43.9834L18.2305 40.085C18.0162 39.7138 18.074 39.2455 18.3721 38.9375L20.54 36.6963V34.249L18.3721 32.0088C18.0741 31.7009 18.0164 31.2325 18.2305 30.8613L20.4814 26.9629C20.6958 26.5917 21.1301 26.4076 21.5459 26.5117L24.5703 27.2686L26.6895 26.0449L27.5469 23.0469C27.6647 22.6348 28.0411 22.3506 28.4697 22.3506H32.9707ZM28.4287 26.9463C28.3602 27.1856 28.2019 27.3892 27.9863 27.5137L25.1943 29.126C24.9787 29.2504 24.723 29.286 24.4814 29.2256L21.7822 28.5498L20.2549 31.1934L22.1904 33.1934C22.3636 33.3724 22.46 33.6122 22.46 33.8613V37.085C22.4599 37.3339 22.3634 37.573 22.1904 37.752L20.2549 39.752L21.7822 42.3965L24.4814 41.7207C24.723 41.6603 24.9787 41.6958 25.1943 41.8203L27.9863 43.4316C28.2021 43.5562 28.3603 43.7605 28.4287 44L29.1934 46.6748H32.2471L33.0107 44C33.0792 43.7605 33.2384 43.5562 33.4541 43.4316L36.2461 41.8203C36.4618 41.6958 36.7173 41.6602 36.959 41.7207L39.6582 42.3965L41.1846 39.752L39.25 37.752C39.0769 37.573 38.9795 37.3339 38.9795 37.085V33.8613C38.9795 33.6122 39.0768 33.3724 39.25 33.1934L41.1846 31.1934L39.6582 28.5498L36.959 29.2256C36.7175 29.286 36.4618 29.2504 36.2461 29.126L33.4541 27.5137C33.2384 27.3891 33.0792 27.1858 33.0107 26.9463L32.2471 24.2705H29.1934L28.4287 26.9463ZM30.7197 29.3047C34.1263 29.3047 36.8885 32.0661 36.8887 35.4727C36.8887 38.8793 34.1264 41.6416 30.7197 41.6416C27.3132 41.6414 24.5518 38.8792 24.5518 35.4727C24.5519 32.0662 27.3133 29.3049 30.7197 29.3047ZM30.7197 31.2246C28.3737 31.2248 26.4718 33.1266 26.4717 35.4727C26.4717 37.8188 28.3736 39.7215 30.7197 39.7217C33.066 39.7217 34.9688 37.8189 34.9688 35.4727C34.9686 33.1265 33.0659 31.2246 30.7197 31.2246Z",fill:"url(#paint1_linear_4610_19017)"}),C.createElement("defs",null,C.createElement("linearGradient",{id:"paint0_linear_4610_19017",x1:30.7202,y1:96,x2:94.6669,y2:34.6107,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#0FA4B7"}),C.createElement("stop",{offset:.494757,stopColor:"#1DC1C7"}),C.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),C.createElement("linearGradient",{id:"paint1_linear_4610_19017",x1:27.4375,y1:99.2459,x2:97.761,y2:44.9361,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#0FA4B7"}),C.createElement("stop",{offset:.494757,stopColor:"#1DC1C7"}),C.createElement("stop",{offset:1,stopColor:"#2BE0D7"})))),i=e=>C.createElement("svg",{width:170,height:64,viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M49.1523 10.6729V24.8662L61.4404 31.9814V53.3271L43.0078 64L30.749 56.9014L30.7197 56.9189L30.6895 56.9014L18.4316 64L0 53.3271V31.9814L12.2881 24.8662V10.6729L30.7197 0L49.1523 10.6729ZM14.208 11.7842V25.9775L1.91992 33.0938V52.2158L18.4316 61.7764L30.6895 54.6787L30.7197 54.6963L30.75 54.6787L43.0078 61.7764L59.5195 52.2158V33.0938L47.2324 25.9785V11.7842L30.7197 2.22363L14.208 11.7842Z",fill:"url(#paint0_linear_4610_19056)"}),C.createElement("path",{d:"M125.204 18.5381H127.371L129.847 14.2393H131.881L128.888 19.4385L132.709 26.0762H130.674L127.353 20.3057H125.204V26.0762H123.442V10.0293H125.204V18.5381ZM87.7422 10.0293C89.8349 10.0295 91.5312 11.7312 91.5312 13.8301V14.9824C91.5312 15.9927 91.1381 16.9111 90.4971 17.5918C91.6332 18.248 92.3984 19.4784 92.3984 20.8877V22.2695C92.3983 24.3684 90.7012 26.0703 88.6084 26.0703H80.0049V10.0293H87.7422ZM97.2559 26.0703H95.4932V10.0293H97.2559V26.0703ZM137.565 26.0703H135.804V10.0293H137.565V26.0703ZM105.988 14.3604C108.093 14.3605 109.799 16.0721 109.799 18.1826V22.248C109.799 24.3586 108.093 26.0692 105.988 26.0693H104.161C102.057 26.0693 100.351 24.3587 100.351 22.248V18.1826C100.351 16.072 102.057 14.3604 104.161 14.3604H105.988ZM117.6 14.3604C119.704 14.3604 121.41 16.072 121.41 18.1826V18.4951H119.648V18.1826C119.648 17.048 118.731 16.1279 117.6 16.1279H115.772C114.641 16.128 113.724 17.048 113.724 18.1826V22.248C113.724 23.3826 114.641 24.3027 115.772 24.3027H117.6C118.731 24.3027 119.648 23.3827 119.648 22.248V21.9355H121.41V22.248C121.41 24.3587 119.704 26.0693 117.6 26.0693H115.772C113.668 26.0693 111.962 24.3587 111.962 22.248V18.1826C111.962 16.072 113.668 14.3604 115.772 14.3604H117.6ZM146.431 14.3604C148.535 14.3604 150.241 16.072 150.241 18.1826V18.9307H150.242V20.6982H142.556V22.248C142.556 23.3826 143.472 24.3026 144.604 24.3027H146.431C147.562 24.3027 148.479 23.3827 148.479 22.248V21.9355H150.241V22.248C150.241 24.3587 148.535 26.0693 146.431 26.0693H144.604C142.499 26.0692 140.793 24.3586 140.793 22.248V18.1826C140.793 16.072 142.499 14.3604 144.604 14.3604H146.431ZM155.652 15.2451H159.729V17.0127H155.652V22.7061C155.652 23.6306 156.399 24.3808 157.321 24.3809C158.243 24.3809 158.991 23.6307 158.991 22.7061V22.3545H160.675V22.7061C160.675 24.5636 159.173 26.0693 157.321 26.0693C155.469 26.0693 153.968 24.5635 153.968 22.7061V17.0127H152.4V15.2451H153.968V12.3896H155.652V15.2451ZM81.6895 18.7832V24.3809H88.6094C89.7718 24.3806 90.7138 23.4354 90.7139 22.2695V20.8877C90.7139 19.7217 89.7719 18.7766 88.6094 18.7764L81.6895 18.7832ZM104.161 16.1279C103.03 16.1279 102.112 17.048 102.112 18.1826V22.248C102.112 23.3827 103.03 24.3027 104.161 24.3027H105.988C107.119 24.3026 108.036 23.3826 108.036 22.248V18.1826C108.036 17.0481 107.119 16.1281 105.988 16.1279H104.161ZM144.604 16.1279C143.472 16.128 142.556 17.048 142.556 18.1826V18.9307H148.479V18.1826C148.479 17.048 147.562 16.1279 146.431 16.1279H144.604ZM81.6895 17.0869H87.915C88.9966 16.9985 89.8477 16.09 89.8477 14.9824V13.8301C89.8477 12.664 88.9048 11.7188 87.7422 11.7188H81.6895V17.0869Z",fill:"white"}),C.createElement("path",{d:"M91.034 36.5193C90.922 36.7153 90.8007 36.8599 90.67 36.9533C90.5487 37.0373 90.3947 37.0793 90.208 37.0793C90.012 37.0793 89.7974 37.0093 89.564 36.8693C89.34 36.7199 89.0694 36.5566 88.752 36.3793C88.4347 36.2019 88.0614 36.0433 87.632 35.9033C87.212 35.7539 86.7127 35.6793 86.134 35.6793C85.6114 35.6793 85.154 35.7446 84.762 35.8753C84.37 35.9966 84.0387 36.1693 83.768 36.3933C83.5067 36.6173 83.3107 36.8879 83.18 37.2053C83.0494 37.5133 82.984 37.8539 82.984 38.2273C82.984 38.7033 83.1147 39.0999 83.376 39.4173C83.6467 39.7346 84.0014 40.0053 84.44 40.2293C84.8787 40.4533 85.378 40.6539 85.938 40.8313C86.498 41.0086 87.072 41.1999 87.66 41.4053C88.248 41.6013 88.822 41.8346 89.382 42.1053C89.942 42.3666 90.4414 42.7026 90.88 43.1133C91.3187 43.5146 91.6687 44.0093 91.93 44.5973C92.2007 45.1853 92.336 45.8993 92.336 46.7393C92.336 47.6539 92.1774 48.5126 91.86 49.3153C91.552 50.1086 91.0947 50.8039 90.488 51.4013C89.8907 51.9893 89.158 52.4559 88.29 52.8013C87.422 53.1373 86.428 53.3053 85.308 53.3053C84.664 53.3053 84.0294 53.2399 83.404 53.1093C82.7787 52.9879 82.1767 52.8106 81.598 52.5773C81.0287 52.3439 80.492 52.0639 79.988 51.7373C79.484 51.4106 79.036 51.0466 78.644 50.6453L79.75 48.8393C79.8434 48.7086 79.9647 48.6013 80.114 48.5173C80.2634 48.4239 80.422 48.3773 80.59 48.3773C80.8234 48.3773 81.0754 48.4753 81.346 48.6713C81.6167 48.8579 81.9387 49.0679 82.312 49.3013C82.6854 49.5346 83.1194 49.7493 83.614 49.9453C84.118 50.1319 84.72 50.2253 85.42 50.2253C86.4934 50.2253 87.324 49.9733 87.912 49.4693C88.5 48.9559 88.794 48.2233 88.794 47.2713C88.794 46.7393 88.6587 46.3053 88.388 45.9693C88.1267 45.6333 87.7767 45.3533 87.338 45.1293C86.8994 44.8959 86.4 44.6999 85.84 44.5413C85.28 44.3826 84.7107 44.2099 84.132 44.0233C83.5534 43.8366 82.984 43.6126 82.424 43.3513C81.864 43.0899 81.3647 42.7493 80.926 42.3293C80.4874 41.9093 80.1327 41.3866 79.862 40.7613C79.6007 40.1266 79.47 39.3473 79.47 38.4233C79.47 37.6859 79.6147 36.9673 79.904 36.2673C80.2027 35.5673 80.632 34.9466 81.192 34.4053C81.752 33.8639 82.4427 33.4299 83.264 33.1033C84.0854 32.7766 85.028 32.6133 86.092 32.6133C87.2867 32.6133 88.388 32.7999 89.396 33.1733C90.404 33.5466 91.2627 34.0693 91.972 34.7413L91.034 36.5193Z",fill:"white"}),C.createElement("path",{d:"M104.275 44.2473C104.275 43.7993 104.209 43.3793 104.079 42.9873C103.957 42.5859 103.771 42.2359 103.519 41.9373C103.267 41.6386 102.945 41.4053 102.553 41.2373C102.17 41.0599 101.722 40.9713 101.209 40.9713C100.21 40.9713 99.4212 41.2559 98.8425 41.8253C98.2732 42.3946 97.9092 43.2019 97.7505 44.2473H104.275ZM97.6805 46.3333C97.7365 47.0706 97.8672 47.7099 98.0725 48.2513C98.2779 48.7833 98.5485 49.2266 98.8845 49.5813C99.2205 49.9266 99.6172 50.1879 100.075 50.3653C100.541 50.5333 101.055 50.6173 101.615 50.6173C102.175 50.6173 102.655 50.5519 103.057 50.4213C103.467 50.2906 103.822 50.1459 104.121 49.9873C104.429 49.8286 104.695 49.6839 104.919 49.5533C105.152 49.4226 105.376 49.3573 105.591 49.3573C105.88 49.3573 106.095 49.4646 106.235 49.6793L107.229 50.9393C106.846 51.3873 106.417 51.7653 105.941 52.0733C105.465 52.3719 104.965 52.6146 104.443 52.8013C103.929 52.9786 103.402 53.1046 102.861 53.1793C102.329 53.2539 101.811 53.2913 101.307 53.2913C100.308 53.2913 99.3792 53.1279 98.5205 52.8013C97.6619 52.4653 96.9152 51.9753 96.2805 51.3313C95.6459 50.6779 95.1465 49.8753 94.7825 48.9233C94.4185 47.9619 94.2365 46.8513 94.2365 45.5913C94.2365 44.6113 94.3952 43.6919 94.7125 42.8333C95.0299 41.9653 95.4825 41.2139 96.0705 40.5793C96.6679 39.9353 97.3912 39.4266 98.2405 39.0533C99.0992 38.6799 100.065 38.4933 101.139 38.4933C102.044 38.4933 102.879 38.6379 103.645 38.9273C104.41 39.2166 105.068 39.6413 105.619 40.2013C106.169 40.7519 106.599 41.4333 106.907 42.2453C107.224 43.0479 107.383 43.9673 107.383 45.0033C107.383 45.5259 107.327 45.8806 107.215 46.0673C107.103 46.2446 106.888 46.3333 106.571 46.3333H97.6805Z",fill:"white"}),C.createElement("path",{d:"M113.24 41.2093C113.688 40.3506 114.22 39.6786 114.836 39.1933C115.452 38.6986 116.18 38.4513 117.02 38.4513C117.682 38.4513 118.214 38.5959 118.616 38.8853L118.392 41.4753C118.345 41.6433 118.275 41.7646 118.182 41.8393C118.098 41.9046 117.981 41.9373 117.832 41.9373C117.692 41.9373 117.482 41.9139 117.202 41.8673C116.931 41.8206 116.665 41.7973 116.404 41.7973C116.021 41.7973 115.68 41.8533 115.382 41.9653C115.083 42.0773 114.812 42.2406 114.57 42.4553C114.336 42.6606 114.126 42.9126 113.94 43.2113C113.762 43.5099 113.594 43.8506 113.436 44.2333V53.0813H109.978V38.7173H112.008C112.362 38.7173 112.61 38.7826 112.75 38.9133C112.89 39.0346 112.983 39.2586 113.03 39.5853L113.24 41.2093Z",fill:"white"}),C.createElement("path",{d:"M133.373 38.7173L127.675 53.0813H124.539L118.841 38.7173H121.697C121.958 38.7173 122.173 38.7779 122.341 38.8993C122.518 39.0206 122.635 39.1746 122.691 39.3613L125.463 47.0333C125.612 47.4813 125.743 47.9199 125.855 48.3493C125.967 48.7786 126.065 49.2079 126.149 49.6373C126.242 49.2079 126.345 48.7786 126.457 48.3493C126.569 47.9199 126.704 47.4813 126.863 47.0333L129.691 39.3613C129.756 39.1746 129.873 39.0206 130.041 38.8993C130.209 38.7779 130.41 38.7173 130.643 38.7173H133.373Z",fill:"white"}),C.createElement("path",{d:"M144.032 44.2473C144.032 43.7993 143.967 43.3793 143.836 42.9873C143.715 42.5859 143.528 42.2359 143.276 41.9373C143.024 41.6386 142.702 41.4053 142.31 41.2373C141.928 41.0599 141.48 40.9713 140.966 40.9713C139.968 40.9713 139.179 41.2559 138.6 41.8253C138.031 42.3946 137.667 43.2019 137.508 44.2473H144.032ZM137.438 46.3333C137.494 47.0706 137.625 47.7099 137.83 48.2513C138.036 48.7833 138.306 49.2266 138.642 49.5813C138.978 49.9266 139.375 50.1879 139.832 50.3653C140.299 50.5333 140.812 50.6173 141.372 50.6173C141.932 50.6173 142.413 50.5519 142.814 50.4213C143.225 50.2906 143.58 50.1459 143.878 49.9873C144.186 49.8286 144.452 49.6839 144.676 49.5533C144.91 49.4226 145.134 49.3573 145.348 49.3573C145.638 49.3573 145.852 49.4646 145.992 49.6793L146.986 50.9393C146.604 51.3873 146.174 51.7653 145.698 52.0733C145.222 52.3719 144.723 52.6146 144.2 52.8013C143.687 52.9786 143.16 53.1046 142.618 53.1793C142.086 53.2539 141.568 53.2913 141.064 53.2913C140.066 53.2913 139.137 53.1279 138.278 52.8013C137.42 52.4653 136.673 51.9753 136.038 51.3313C135.404 50.6779 134.904 49.8753 134.54 48.9233C134.176 47.9619 133.994 46.8513 133.994 45.5913C133.994 44.6113 134.153 43.6919 134.47 42.8333C134.788 41.9653 135.24 41.2139 135.828 40.5793C136.426 39.9353 137.149 39.4266 137.998 39.0533C138.857 38.6799 139.823 38.4933 140.896 38.4933C141.802 38.4933 142.637 38.6379 143.402 38.9273C144.168 39.2166 144.826 39.6413 145.376 40.2013C145.927 40.7519 146.356 41.4333 146.664 42.2453C146.982 43.0479 147.14 43.9673 147.14 45.0033C147.14 45.5259 147.084 45.8806 146.972 46.0673C146.86 46.2446 146.646 46.3333 146.328 46.3333H137.438Z",fill:"white"}),C.createElement("path",{d:"M152.997 41.2093C153.445 40.3506 153.977 39.6786 154.593 39.1933C155.209 38.6986 155.937 38.4513 156.777 38.4513C157.44 38.4513 157.972 38.5959 158.373 38.8853L158.149 41.4753C158.103 41.6433 158.033 41.7646 157.939 41.8393C157.855 41.9046 157.739 41.9373 157.589 41.9373C157.449 41.9373 157.239 41.9139 156.959 41.8673C156.689 41.8206 156.423 41.7973 156.161 41.7973C155.779 41.7973 155.438 41.8533 155.139 41.9653C154.841 42.0773 154.57 42.2406 154.327 42.4553C154.094 42.6606 153.884 42.9126 153.697 43.2113C153.52 43.5099 153.352 43.8506 153.193 44.2333V53.0813H149.735V38.7173H151.765C152.12 38.7173 152.367 38.7826 152.507 38.9133C152.647 39.0346 152.741 39.2586 152.787 39.5853L152.997 41.2093Z",fill:"white"}),C.createElement("path",{d:"M49.1523 24.8311V46.1143L30.7197 56.7559L12.2881 46.1143V24.8311L30.7197 14.1895L49.1523 24.8311ZM14.208 25.9395V45.0059L30.7197 54.5391L47.2324 45.0059V25.9395L30.7197 16.4062L14.208 25.9395ZM32.9707 22.3506C33.3993 22.3506 33.7758 22.6348 33.8936 23.0469L34.75 26.0449L36.8691 27.2686L39.8945 26.5117C40.3103 26.4076 40.7447 26.5917 40.959 26.9629L43.21 30.8613C43.4239 31.2324 43.3663 31.7009 43.0684 32.0088L40.9004 34.249V36.6963L43.0684 38.9375C43.3663 39.2455 43.4242 39.7138 43.21 40.085L40.959 43.9834C40.7446 44.3544 40.3102 44.5386 39.8945 44.4346L36.8691 43.6768L34.75 44.9004L33.8936 47.8994C33.7756 48.3113 33.3991 48.5947 32.9707 48.5947H28.4697C28.0413 48.5947 27.6648 48.3112 27.5469 47.8994L26.6895 44.9004L24.5703 43.6768L21.5459 44.4346C21.1302 44.5386 20.6958 44.3544 20.4814 43.9834L18.2305 40.085C18.0162 39.7138 18.074 39.2455 18.3721 38.9375L20.54 36.6963V34.249L18.3721 32.0088C18.0741 31.7009 18.0164 31.2325 18.2305 30.8613L20.4814 26.9629C20.6958 26.5917 21.1301 26.4076 21.5459 26.5117L24.5703 27.2686L26.6895 26.0449L27.5469 23.0469C27.6647 22.6348 28.0411 22.3506 28.4697 22.3506H32.9707ZM28.4287 26.9463C28.3602 27.1856 28.2019 27.3892 27.9863 27.5137L25.1943 29.126C24.9787 29.2504 24.723 29.286 24.4814 29.2256L21.7822 28.5498L20.2549 31.1934L22.1904 33.1934C22.3636 33.3724 22.46 33.6122 22.46 33.8613V37.085C22.4599 37.3339 22.3634 37.573 22.1904 37.752L20.2549 39.752L21.7822 42.3965L24.4814 41.7207C24.723 41.6603 24.9787 41.6958 25.1943 41.8203L27.9863 43.4316C28.2021 43.5562 28.3603 43.7605 28.4287 44L29.1934 46.6748H32.2471L33.0107 44C33.0792 43.7605 33.2384 43.5562 33.4541 43.4316L36.2461 41.8203C36.4618 41.6958 36.7173 41.6602 36.959 41.7207L39.6582 42.3965L41.1846 39.752L39.25 37.752C39.0769 37.573 38.9795 37.3339 38.9795 37.085V33.8613C38.9795 33.6122 39.0768 33.3724 39.25 33.1934L41.1846 31.1934L39.6582 28.5498L36.959 29.2256C36.7175 29.286 36.4618 29.2504 36.2461 29.126L33.4541 27.5137C33.2384 27.3891 33.0792 27.1858 33.0107 26.9463L32.2471 24.2705H29.1934L28.4287 26.9463ZM30.7197 29.3047C34.1263 29.3047 36.8885 32.0661 36.8887 35.4727C36.8887 38.8793 34.1264 41.6416 30.7197 41.6416C27.3132 41.6414 24.5518 38.8792 24.5518 35.4727C24.5519 32.0662 27.3133 29.3049 30.7197 29.3047ZM30.7197 31.2246C28.3737 31.2248 26.4718 33.1266 26.4717 35.4727C26.4717 37.8188 28.3736 39.7215 30.7197 39.7217C33.066 39.7217 34.9688 37.8189 34.9688 35.4727C34.9686 33.1265 33.0659 31.2246 30.7197 31.2246Z",fill:"url(#paint1_linear_4610_19056)"}),C.createElement("defs",null,C.createElement("linearGradient",{id:"paint0_linear_4610_19056",x1:30.7202,y1:96,x2:94.6669,y2:34.6107,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#0FA4B7"}),C.createElement("stop",{offset:.494757,stopColor:"#1DC1C7"}),C.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),C.createElement("linearGradient",{id:"paint1_linear_4610_19056",x1:27.4375,y1:99.2459,x2:97.761,y2:44.9361,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#0FA4B7"}),C.createElement("stop",{offset:.494757,stopColor:"#1DC1C7"}),C.createElement("stop",{offset:1,stopColor:"#2BE0D7"}))));function m({style:e,...t}={}){const{palette:V}=n(),l=a({key:"md"}),H=V.mode==="dark"?i:o;return l?L.jsx(r,{width:"32",height:"32",style:{cursor:"pointer",...e},...t}):L.jsx(H,{width:"128",height:"48",style:{cursor:"pointer",...e},...t})}export{m as u};
|
|
1
|
+
import{r as C}from"./vendor-react-CUXIiAnY.js";import{t as r}from"./server-logo-notext.svg-DHxZ1bRk.js";import{u as a}from"./use-mobile-BGG7EyYb.js";import{D as n,j as L}from"./vendor-mui-core-___CiWHn.js";const o=e=>C.createElement("svg",{width:170,height:64,viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M49.1523 10.6729V24.8662L61.4404 31.9814V53.3271L43.0078 64L30.749 56.9014L30.7197 56.9189L30.6895 56.9014L18.4316 64L0 53.3271V31.9814L12.2881 24.8662V10.6729L30.7197 0L49.1523 10.6729ZM14.208 11.7842V25.9775L1.91992 33.0938V52.2158L18.4316 61.7764L30.6895 54.6787L30.7197 54.6963L30.75 54.6787L43.0078 61.7764L59.5195 52.2158V33.0938L47.2324 25.9785V11.7842L30.7197 2.22363L14.208 11.7842Z",fill:"url(#paint0_linear_4610_19017)"}),C.createElement("path",{d:"M125.204 18.5381H127.371L129.847 14.2393H131.881L128.888 19.4385L132.709 26.0762H130.674L127.353 20.3057H125.204V26.0762H123.442V10.0293H125.204V18.5381ZM87.7422 10.0293C89.8349 10.0295 91.5312 11.7312 91.5312 13.8301V14.9824C91.5312 15.9927 91.1381 16.9111 90.4971 17.5918C91.6332 18.248 92.3984 19.4784 92.3984 20.8877V22.2695C92.3983 24.3684 90.7012 26.0703 88.6084 26.0703H80.0049V10.0293H87.7422ZM97.2559 26.0703H95.4932V10.0293H97.2559V26.0703ZM137.565 26.0703H135.804V10.0293H137.565V26.0703ZM105.988 14.3604C108.093 14.3605 109.799 16.0721 109.799 18.1826V22.248C109.799 24.3586 108.093 26.0692 105.988 26.0693H104.161C102.057 26.0693 100.351 24.3587 100.351 22.248V18.1826C100.351 16.072 102.057 14.3604 104.161 14.3604H105.988ZM117.6 14.3604C119.704 14.3604 121.41 16.072 121.41 18.1826V18.4951H119.648V18.1826C119.648 17.048 118.731 16.1279 117.6 16.1279H115.772C114.641 16.128 113.724 17.048 113.724 18.1826V22.248C113.724 23.3826 114.641 24.3027 115.772 24.3027H117.6C118.731 24.3027 119.648 23.3827 119.648 22.248V21.9355H121.41V22.248C121.41 24.3587 119.704 26.0693 117.6 26.0693H115.772C113.668 26.0693 111.962 24.3587 111.962 22.248V18.1826C111.962 16.072 113.668 14.3604 115.772 14.3604H117.6ZM146.431 14.3604C148.535 14.3604 150.241 16.072 150.241 18.1826V18.9307H150.242V20.6982H142.556V22.248C142.556 23.3826 143.472 24.3026 144.604 24.3027H146.431C147.562 24.3027 148.479 23.3827 148.479 22.248V21.9355H150.241V22.248C150.241 24.3587 148.535 26.0693 146.431 26.0693H144.604C142.499 26.0692 140.793 24.3586 140.793 22.248V18.1826C140.793 16.072 142.499 14.3604 144.604 14.3604H146.431ZM155.652 15.2451H159.729V17.0127H155.652V22.7061C155.652 23.6306 156.399 24.3808 157.321 24.3809C158.243 24.3809 158.991 23.6307 158.991 22.7061V22.3545H160.675V22.7061C160.675 24.5636 159.173 26.0693 157.321 26.0693C155.469 26.0693 153.968 24.5635 153.968 22.7061V17.0127H152.4V15.2451H153.968V12.3896H155.652V15.2451ZM81.6895 18.7832V24.3809H88.6094C89.7718 24.3806 90.7138 23.4354 90.7139 22.2695V20.8877C90.7139 19.7217 89.7719 18.7766 88.6094 18.7764L81.6895 18.7832ZM104.161 16.1279C103.03 16.1279 102.112 17.048 102.112 18.1826V22.248C102.112 23.3827 103.03 24.3027 104.161 24.3027H105.988C107.119 24.3026 108.036 23.3826 108.036 22.248V18.1826C108.036 17.0481 107.119 16.1281 105.988 16.1279H104.161ZM144.604 16.1279C143.472 16.128 142.556 17.048 142.556 18.1826V18.9307H148.479V18.1826C148.479 17.048 147.562 16.1279 146.431 16.1279H144.604ZM81.6895 17.0869H87.915C88.9966 16.9985 89.8477 16.09 89.8477 14.9824V13.8301C89.8477 12.664 88.9048 11.7188 87.7422 11.7188H81.6895V17.0869Z",fill:"#121319"}),C.createElement("path",{d:"M91.034 36.5193C90.922 36.7153 90.8007 36.8599 90.67 36.9533C90.5487 37.0373 90.3947 37.0793 90.208 37.0793C90.012 37.0793 89.7974 37.0093 89.564 36.8693C89.34 36.7199 89.0694 36.5566 88.752 36.3793C88.4347 36.2019 88.0614 36.0433 87.632 35.9033C87.212 35.7539 86.7127 35.6793 86.134 35.6793C85.6114 35.6793 85.154 35.7446 84.762 35.8753C84.37 35.9966 84.0387 36.1693 83.768 36.3933C83.5067 36.6173 83.3107 36.8879 83.18 37.2053C83.0494 37.5133 82.984 37.8539 82.984 38.2273C82.984 38.7033 83.1147 39.0999 83.376 39.4173C83.6467 39.7346 84.0014 40.0053 84.44 40.2293C84.8787 40.4533 85.378 40.6539 85.938 40.8313C86.498 41.0086 87.072 41.1999 87.66 41.4053C88.248 41.6013 88.822 41.8346 89.382 42.1053C89.942 42.3666 90.4414 42.7026 90.88 43.1133C91.3187 43.5146 91.6687 44.0093 91.93 44.5973C92.2007 45.1853 92.336 45.8993 92.336 46.7393C92.336 47.6539 92.1774 48.5126 91.86 49.3153C91.552 50.1086 91.0947 50.8039 90.488 51.4013C89.8907 51.9893 89.158 52.4559 88.29 52.8013C87.422 53.1373 86.428 53.3053 85.308 53.3053C84.664 53.3053 84.0294 53.2399 83.404 53.1093C82.7787 52.9879 82.1767 52.8106 81.598 52.5773C81.0287 52.3439 80.492 52.0639 79.988 51.7373C79.484 51.4106 79.036 51.0466 78.644 50.6453L79.75 48.8393C79.8434 48.7086 79.9647 48.6013 80.114 48.5173C80.2634 48.4239 80.422 48.3773 80.59 48.3773C80.8234 48.3773 81.0754 48.4753 81.346 48.6713C81.6167 48.8579 81.9387 49.0679 82.312 49.3013C82.6854 49.5346 83.1194 49.7493 83.614 49.9453C84.118 50.1319 84.72 50.2253 85.42 50.2253C86.4934 50.2253 87.324 49.9733 87.912 49.4693C88.5 48.9559 88.794 48.2233 88.794 47.2713C88.794 46.7393 88.6587 46.3053 88.388 45.9693C88.1267 45.6333 87.7767 45.3533 87.338 45.1293C86.8994 44.8959 86.4 44.6999 85.84 44.5413C85.28 44.3826 84.7107 44.2099 84.132 44.0233C83.5534 43.8366 82.984 43.6126 82.424 43.3513C81.864 43.0899 81.3647 42.7493 80.926 42.3293C80.4874 41.9093 80.1327 41.3866 79.862 40.7613C79.6007 40.1266 79.47 39.3473 79.47 38.4233C79.47 37.6859 79.6147 36.9673 79.904 36.2673C80.2027 35.5673 80.632 34.9466 81.192 34.4053C81.752 33.8639 82.4427 33.4299 83.264 33.1033C84.0854 32.7766 85.028 32.6133 86.092 32.6133C87.2867 32.6133 88.388 32.7999 89.396 33.1733C90.404 33.5466 91.2627 34.0693 91.972 34.7413L91.034 36.5193Z",fill:"#121319"}),C.createElement("path",{d:"M104.275 44.2473C104.275 43.7993 104.209 43.3793 104.079 42.9873C103.957 42.5859 103.771 42.2359 103.519 41.9373C103.267 41.6386 102.945 41.4053 102.553 41.2373C102.17 41.0599 101.722 40.9713 101.209 40.9713C100.21 40.9713 99.4212 41.2559 98.8425 41.8253C98.2732 42.3946 97.9092 43.2019 97.7505 44.2473H104.275ZM97.6805 46.3333C97.7365 47.0706 97.8672 47.7099 98.0725 48.2513C98.2779 48.7833 98.5485 49.2266 98.8845 49.5813C99.2205 49.9266 99.6172 50.1879 100.075 50.3653C100.541 50.5333 101.055 50.6173 101.615 50.6173C102.175 50.6173 102.655 50.5519 103.057 50.4213C103.467 50.2906 103.822 50.1459 104.121 49.9873C104.429 49.8286 104.695 49.6839 104.919 49.5533C105.152 49.4226 105.376 49.3573 105.591 49.3573C105.88 49.3573 106.095 49.4646 106.235 49.6793L107.229 50.9393C106.846 51.3873 106.417 51.7653 105.941 52.0733C105.465 52.3719 104.965 52.6146 104.443 52.8013C103.929 52.9786 103.402 53.1046 102.861 53.1793C102.329 53.2539 101.811 53.2913 101.307 53.2913C100.308 53.2913 99.3792 53.1279 98.5205 52.8013C97.6619 52.4653 96.9152 51.9753 96.2805 51.3313C95.6459 50.6779 95.1465 49.8753 94.7825 48.9233C94.4185 47.9619 94.2365 46.8513 94.2365 45.5913C94.2365 44.6113 94.3952 43.6919 94.7125 42.8333C95.0299 41.9653 95.4825 41.2139 96.0705 40.5793C96.6679 39.9353 97.3912 39.4266 98.2405 39.0533C99.0992 38.6799 100.065 38.4933 101.139 38.4933C102.044 38.4933 102.879 38.6379 103.645 38.9273C104.41 39.2166 105.068 39.6413 105.619 40.2013C106.169 40.7519 106.599 41.4333 106.907 42.2453C107.224 43.0479 107.383 43.9673 107.383 45.0033C107.383 45.5259 107.327 45.8806 107.215 46.0673C107.103 46.2446 106.888 46.3333 106.571 46.3333H97.6805Z",fill:"#121319"}),C.createElement("path",{d:"M113.24 41.2093C113.688 40.3506 114.22 39.6786 114.836 39.1933C115.452 38.6986 116.18 38.4513 117.02 38.4513C117.682 38.4513 118.214 38.5959 118.616 38.8853L118.392 41.4753C118.345 41.6433 118.275 41.7646 118.182 41.8393C118.098 41.9046 117.981 41.9373 117.832 41.9373C117.692 41.9373 117.482 41.9139 117.202 41.8673C116.931 41.8206 116.665 41.7973 116.404 41.7973C116.021 41.7973 115.68 41.8533 115.382 41.9653C115.083 42.0773 114.812 42.2406 114.57 42.4553C114.336 42.6606 114.126 42.9126 113.94 43.2113C113.762 43.5099 113.594 43.8506 113.436 44.2333V53.0813H109.978V38.7173H112.008C112.362 38.7173 112.61 38.7826 112.75 38.9133C112.89 39.0346 112.983 39.2586 113.03 39.5853L113.24 41.2093Z",fill:"#121319"}),C.createElement("path",{d:"M133.373 38.7173L127.675 53.0813H124.539L118.841 38.7173H121.697C121.958 38.7173 122.173 38.7779 122.341 38.8993C122.518 39.0206 122.635 39.1746 122.691 39.3613L125.463 47.0333C125.612 47.4813 125.743 47.9199 125.855 48.3493C125.967 48.7786 126.065 49.2079 126.149 49.6373C126.242 49.2079 126.345 48.7786 126.457 48.3493C126.569 47.9199 126.704 47.4813 126.863 47.0333L129.691 39.3613C129.756 39.1746 129.873 39.0206 130.041 38.8993C130.209 38.7779 130.41 38.7173 130.643 38.7173H133.373Z",fill:"#121319"}),C.createElement("path",{d:"M144.032 44.2473C144.032 43.7993 143.967 43.3793 143.836 42.9873C143.715 42.5859 143.528 42.2359 143.276 41.9373C143.024 41.6386 142.702 41.4053 142.31 41.2373C141.928 41.0599 141.48 40.9713 140.966 40.9713C139.968 40.9713 139.179 41.2559 138.6 41.8253C138.031 42.3946 137.667 43.2019 137.508 44.2473H144.032ZM137.438 46.3333C137.494 47.0706 137.625 47.7099 137.83 48.2513C138.036 48.7833 138.306 49.2266 138.642 49.5813C138.978 49.9266 139.375 50.1879 139.832 50.3653C140.299 50.5333 140.812 50.6173 141.372 50.6173C141.932 50.6173 142.413 50.5519 142.814 50.4213C143.225 50.2906 143.58 50.1459 143.878 49.9873C144.186 49.8286 144.452 49.6839 144.676 49.5533C144.91 49.4226 145.134 49.3573 145.348 49.3573C145.638 49.3573 145.852 49.4646 145.992 49.6793L146.986 50.9393C146.604 51.3873 146.174 51.7653 145.698 52.0733C145.222 52.3719 144.723 52.6146 144.2 52.8013C143.687 52.9786 143.16 53.1046 142.618 53.1793C142.086 53.2539 141.568 53.2913 141.064 53.2913C140.066 53.2913 139.137 53.1279 138.278 52.8013C137.42 52.4653 136.673 51.9753 136.038 51.3313C135.404 50.6779 134.904 49.8753 134.54 48.9233C134.176 47.9619 133.994 46.8513 133.994 45.5913C133.994 44.6113 134.153 43.6919 134.47 42.8333C134.788 41.9653 135.24 41.2139 135.828 40.5793C136.426 39.9353 137.149 39.4266 137.998 39.0533C138.857 38.6799 139.823 38.4933 140.896 38.4933C141.802 38.4933 142.637 38.6379 143.402 38.9273C144.168 39.2166 144.826 39.6413 145.376 40.2013C145.927 40.7519 146.356 41.4333 146.664 42.2453C146.982 43.0479 147.14 43.9673 147.14 45.0033C147.14 45.5259 147.084 45.8806 146.972 46.0673C146.86 46.2446 146.646 46.3333 146.328 46.3333H137.438Z",fill:"#121319"}),C.createElement("path",{d:"M152.997 41.2093C153.445 40.3506 153.977 39.6786 154.593 39.1933C155.209 38.6986 155.937 38.4513 156.777 38.4513C157.44 38.4513 157.972 38.5959 158.373 38.8853L158.149 41.4753C158.103 41.6433 158.033 41.7646 157.939 41.8393C157.855 41.9046 157.739 41.9373 157.589 41.9373C157.449 41.9373 157.239 41.9139 156.959 41.8673C156.689 41.8206 156.423 41.7973 156.161 41.7973C155.779 41.7973 155.438 41.8533 155.139 41.9653C154.841 42.0773 154.57 42.2406 154.327 42.4553C154.094 42.6606 153.884 42.9126 153.697 43.2113C153.52 43.5099 153.352 43.8506 153.193 44.2333V53.0813H149.735V38.7173H151.765C152.12 38.7173 152.367 38.7826 152.507 38.9133C152.647 39.0346 152.741 39.2586 152.787 39.5853L152.997 41.2093Z",fill:"#121319"}),C.createElement("path",{d:"M49.1523 24.8311V46.1143L30.7197 56.7559L12.2881 46.1143V24.8311L30.7197 14.1895L49.1523 24.8311ZM14.208 25.9395V45.0059L30.7197 54.5391L47.2324 45.0059V25.9395L30.7197 16.4062L14.208 25.9395ZM32.9707 22.3506C33.3993 22.3506 33.7758 22.6348 33.8936 23.0469L34.75 26.0449L36.8691 27.2686L39.8945 26.5117C40.3103 26.4076 40.7447 26.5917 40.959 26.9629L43.21 30.8613C43.4239 31.2324 43.3663 31.7009 43.0684 32.0088L40.9004 34.249V36.6963L43.0684 38.9375C43.3663 39.2455 43.4242 39.7138 43.21 40.085L40.959 43.9834C40.7446 44.3544 40.3102 44.5386 39.8945 44.4346L36.8691 43.6768L34.75 44.9004L33.8936 47.8994C33.7756 48.3113 33.3991 48.5947 32.9707 48.5947H28.4697C28.0413 48.5947 27.6648 48.3112 27.5469 47.8994L26.6895 44.9004L24.5703 43.6768L21.5459 44.4346C21.1302 44.5386 20.6958 44.3544 20.4814 43.9834L18.2305 40.085C18.0162 39.7138 18.074 39.2455 18.3721 38.9375L20.54 36.6963V34.249L18.3721 32.0088C18.0741 31.7009 18.0164 31.2325 18.2305 30.8613L20.4814 26.9629C20.6958 26.5917 21.1301 26.4076 21.5459 26.5117L24.5703 27.2686L26.6895 26.0449L27.5469 23.0469C27.6647 22.6348 28.0411 22.3506 28.4697 22.3506H32.9707ZM28.4287 26.9463C28.3602 27.1856 28.2019 27.3892 27.9863 27.5137L25.1943 29.126C24.9787 29.2504 24.723 29.286 24.4814 29.2256L21.7822 28.5498L20.2549 31.1934L22.1904 33.1934C22.3636 33.3724 22.46 33.6122 22.46 33.8613V37.085C22.4599 37.3339 22.3634 37.573 22.1904 37.752L20.2549 39.752L21.7822 42.3965L24.4814 41.7207C24.723 41.6603 24.9787 41.6958 25.1943 41.8203L27.9863 43.4316C28.2021 43.5562 28.3603 43.7605 28.4287 44L29.1934 46.6748H32.2471L33.0107 44C33.0792 43.7605 33.2384 43.5562 33.4541 43.4316L36.2461 41.8203C36.4618 41.6958 36.7173 41.6602 36.959 41.7207L39.6582 42.3965L41.1846 39.752L39.25 37.752C39.0769 37.573 38.9795 37.3339 38.9795 37.085V33.8613C38.9795 33.6122 39.0768 33.3724 39.25 33.1934L41.1846 31.1934L39.6582 28.5498L36.959 29.2256C36.7175 29.286 36.4618 29.2504 36.2461 29.126L33.4541 27.5137C33.2384 27.3891 33.0792 27.1858 33.0107 26.9463L32.2471 24.2705H29.1934L28.4287 26.9463ZM30.7197 29.3047C34.1263 29.3047 36.8885 32.0661 36.8887 35.4727C36.8887 38.8793 34.1264 41.6416 30.7197 41.6416C27.3132 41.6414 24.5518 38.8792 24.5518 35.4727C24.5519 32.0662 27.3133 29.3049 30.7197 29.3047ZM30.7197 31.2246C28.3737 31.2248 26.4718 33.1266 26.4717 35.4727C26.4717 37.8188 28.3736 39.7215 30.7197 39.7217C33.066 39.7217 34.9688 37.8189 34.9688 35.4727C34.9686 33.1265 33.0659 31.2246 30.7197 31.2246Z",fill:"url(#paint1_linear_4610_19017)"}),C.createElement("defs",null,C.createElement("linearGradient",{id:"paint0_linear_4610_19017",x1:30.7202,y1:96,x2:94.6669,y2:34.6107,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#0FA4B7"}),C.createElement("stop",{offset:.494757,stopColor:"#1DC1C7"}),C.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),C.createElement("linearGradient",{id:"paint1_linear_4610_19017",x1:27.4375,y1:99.2459,x2:97.761,y2:44.9361,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#0FA4B7"}),C.createElement("stop",{offset:.494757,stopColor:"#1DC1C7"}),C.createElement("stop",{offset:1,stopColor:"#2BE0D7"})))),i=e=>C.createElement("svg",{width:170,height:64,viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M49.1523 10.6729V24.8662L61.4404 31.9814V53.3271L43.0078 64L30.749 56.9014L30.7197 56.9189L30.6895 56.9014L18.4316 64L0 53.3271V31.9814L12.2881 24.8662V10.6729L30.7197 0L49.1523 10.6729ZM14.208 11.7842V25.9775L1.91992 33.0938V52.2158L18.4316 61.7764L30.6895 54.6787L30.7197 54.6963L30.75 54.6787L43.0078 61.7764L59.5195 52.2158V33.0938L47.2324 25.9785V11.7842L30.7197 2.22363L14.208 11.7842Z",fill:"url(#paint0_linear_4610_19056)"}),C.createElement("path",{d:"M125.204 18.5381H127.371L129.847 14.2393H131.881L128.888 19.4385L132.709 26.0762H130.674L127.353 20.3057H125.204V26.0762H123.442V10.0293H125.204V18.5381ZM87.7422 10.0293C89.8349 10.0295 91.5312 11.7312 91.5312 13.8301V14.9824C91.5312 15.9927 91.1381 16.9111 90.4971 17.5918C91.6332 18.248 92.3984 19.4784 92.3984 20.8877V22.2695C92.3983 24.3684 90.7012 26.0703 88.6084 26.0703H80.0049V10.0293H87.7422ZM97.2559 26.0703H95.4932V10.0293H97.2559V26.0703ZM137.565 26.0703H135.804V10.0293H137.565V26.0703ZM105.988 14.3604C108.093 14.3605 109.799 16.0721 109.799 18.1826V22.248C109.799 24.3586 108.093 26.0692 105.988 26.0693H104.161C102.057 26.0693 100.351 24.3587 100.351 22.248V18.1826C100.351 16.072 102.057 14.3604 104.161 14.3604H105.988ZM117.6 14.3604C119.704 14.3604 121.41 16.072 121.41 18.1826V18.4951H119.648V18.1826C119.648 17.048 118.731 16.1279 117.6 16.1279H115.772C114.641 16.128 113.724 17.048 113.724 18.1826V22.248C113.724 23.3826 114.641 24.3027 115.772 24.3027H117.6C118.731 24.3027 119.648 23.3827 119.648 22.248V21.9355H121.41V22.248C121.41 24.3587 119.704 26.0693 117.6 26.0693H115.772C113.668 26.0693 111.962 24.3587 111.962 22.248V18.1826C111.962 16.072 113.668 14.3604 115.772 14.3604H117.6ZM146.431 14.3604C148.535 14.3604 150.241 16.072 150.241 18.1826V18.9307H150.242V20.6982H142.556V22.248C142.556 23.3826 143.472 24.3026 144.604 24.3027H146.431C147.562 24.3027 148.479 23.3827 148.479 22.248V21.9355H150.241V22.248C150.241 24.3587 148.535 26.0693 146.431 26.0693H144.604C142.499 26.0692 140.793 24.3586 140.793 22.248V18.1826C140.793 16.072 142.499 14.3604 144.604 14.3604H146.431ZM155.652 15.2451H159.729V17.0127H155.652V22.7061C155.652 23.6306 156.399 24.3808 157.321 24.3809C158.243 24.3809 158.991 23.6307 158.991 22.7061V22.3545H160.675V22.7061C160.675 24.5636 159.173 26.0693 157.321 26.0693C155.469 26.0693 153.968 24.5635 153.968 22.7061V17.0127H152.4V15.2451H153.968V12.3896H155.652V15.2451ZM81.6895 18.7832V24.3809H88.6094C89.7718 24.3806 90.7138 23.4354 90.7139 22.2695V20.8877C90.7139 19.7217 89.7719 18.7766 88.6094 18.7764L81.6895 18.7832ZM104.161 16.1279C103.03 16.1279 102.112 17.048 102.112 18.1826V22.248C102.112 23.3827 103.03 24.3027 104.161 24.3027H105.988C107.119 24.3026 108.036 23.3826 108.036 22.248V18.1826C108.036 17.0481 107.119 16.1281 105.988 16.1279H104.161ZM144.604 16.1279C143.472 16.128 142.556 17.048 142.556 18.1826V18.9307H148.479V18.1826C148.479 17.048 147.562 16.1279 146.431 16.1279H144.604ZM81.6895 17.0869H87.915C88.9966 16.9985 89.8477 16.09 89.8477 14.9824V13.8301C89.8477 12.664 88.9048 11.7188 87.7422 11.7188H81.6895V17.0869Z",fill:"white"}),C.createElement("path",{d:"M91.034 36.5193C90.922 36.7153 90.8007 36.8599 90.67 36.9533C90.5487 37.0373 90.3947 37.0793 90.208 37.0793C90.012 37.0793 89.7974 37.0093 89.564 36.8693C89.34 36.7199 89.0694 36.5566 88.752 36.3793C88.4347 36.2019 88.0614 36.0433 87.632 35.9033C87.212 35.7539 86.7127 35.6793 86.134 35.6793C85.6114 35.6793 85.154 35.7446 84.762 35.8753C84.37 35.9966 84.0387 36.1693 83.768 36.3933C83.5067 36.6173 83.3107 36.8879 83.18 37.2053C83.0494 37.5133 82.984 37.8539 82.984 38.2273C82.984 38.7033 83.1147 39.0999 83.376 39.4173C83.6467 39.7346 84.0014 40.0053 84.44 40.2293C84.8787 40.4533 85.378 40.6539 85.938 40.8313C86.498 41.0086 87.072 41.1999 87.66 41.4053C88.248 41.6013 88.822 41.8346 89.382 42.1053C89.942 42.3666 90.4414 42.7026 90.88 43.1133C91.3187 43.5146 91.6687 44.0093 91.93 44.5973C92.2007 45.1853 92.336 45.8993 92.336 46.7393C92.336 47.6539 92.1774 48.5126 91.86 49.3153C91.552 50.1086 91.0947 50.8039 90.488 51.4013C89.8907 51.9893 89.158 52.4559 88.29 52.8013C87.422 53.1373 86.428 53.3053 85.308 53.3053C84.664 53.3053 84.0294 53.2399 83.404 53.1093C82.7787 52.9879 82.1767 52.8106 81.598 52.5773C81.0287 52.3439 80.492 52.0639 79.988 51.7373C79.484 51.4106 79.036 51.0466 78.644 50.6453L79.75 48.8393C79.8434 48.7086 79.9647 48.6013 80.114 48.5173C80.2634 48.4239 80.422 48.3773 80.59 48.3773C80.8234 48.3773 81.0754 48.4753 81.346 48.6713C81.6167 48.8579 81.9387 49.0679 82.312 49.3013C82.6854 49.5346 83.1194 49.7493 83.614 49.9453C84.118 50.1319 84.72 50.2253 85.42 50.2253C86.4934 50.2253 87.324 49.9733 87.912 49.4693C88.5 48.9559 88.794 48.2233 88.794 47.2713C88.794 46.7393 88.6587 46.3053 88.388 45.9693C88.1267 45.6333 87.7767 45.3533 87.338 45.1293C86.8994 44.8959 86.4 44.6999 85.84 44.5413C85.28 44.3826 84.7107 44.2099 84.132 44.0233C83.5534 43.8366 82.984 43.6126 82.424 43.3513C81.864 43.0899 81.3647 42.7493 80.926 42.3293C80.4874 41.9093 80.1327 41.3866 79.862 40.7613C79.6007 40.1266 79.47 39.3473 79.47 38.4233C79.47 37.6859 79.6147 36.9673 79.904 36.2673C80.2027 35.5673 80.632 34.9466 81.192 34.4053C81.752 33.8639 82.4427 33.4299 83.264 33.1033C84.0854 32.7766 85.028 32.6133 86.092 32.6133C87.2867 32.6133 88.388 32.7999 89.396 33.1733C90.404 33.5466 91.2627 34.0693 91.972 34.7413L91.034 36.5193Z",fill:"white"}),C.createElement("path",{d:"M104.275 44.2473C104.275 43.7993 104.209 43.3793 104.079 42.9873C103.957 42.5859 103.771 42.2359 103.519 41.9373C103.267 41.6386 102.945 41.4053 102.553 41.2373C102.17 41.0599 101.722 40.9713 101.209 40.9713C100.21 40.9713 99.4212 41.2559 98.8425 41.8253C98.2732 42.3946 97.9092 43.2019 97.7505 44.2473H104.275ZM97.6805 46.3333C97.7365 47.0706 97.8672 47.7099 98.0725 48.2513C98.2779 48.7833 98.5485 49.2266 98.8845 49.5813C99.2205 49.9266 99.6172 50.1879 100.075 50.3653C100.541 50.5333 101.055 50.6173 101.615 50.6173C102.175 50.6173 102.655 50.5519 103.057 50.4213C103.467 50.2906 103.822 50.1459 104.121 49.9873C104.429 49.8286 104.695 49.6839 104.919 49.5533C105.152 49.4226 105.376 49.3573 105.591 49.3573C105.88 49.3573 106.095 49.4646 106.235 49.6793L107.229 50.9393C106.846 51.3873 106.417 51.7653 105.941 52.0733C105.465 52.3719 104.965 52.6146 104.443 52.8013C103.929 52.9786 103.402 53.1046 102.861 53.1793C102.329 53.2539 101.811 53.2913 101.307 53.2913C100.308 53.2913 99.3792 53.1279 98.5205 52.8013C97.6619 52.4653 96.9152 51.9753 96.2805 51.3313C95.6459 50.6779 95.1465 49.8753 94.7825 48.9233C94.4185 47.9619 94.2365 46.8513 94.2365 45.5913C94.2365 44.6113 94.3952 43.6919 94.7125 42.8333C95.0299 41.9653 95.4825 41.2139 96.0705 40.5793C96.6679 39.9353 97.3912 39.4266 98.2405 39.0533C99.0992 38.6799 100.065 38.4933 101.139 38.4933C102.044 38.4933 102.879 38.6379 103.645 38.9273C104.41 39.2166 105.068 39.6413 105.619 40.2013C106.169 40.7519 106.599 41.4333 106.907 42.2453C107.224 43.0479 107.383 43.9673 107.383 45.0033C107.383 45.5259 107.327 45.8806 107.215 46.0673C107.103 46.2446 106.888 46.3333 106.571 46.3333H97.6805Z",fill:"white"}),C.createElement("path",{d:"M113.24 41.2093C113.688 40.3506 114.22 39.6786 114.836 39.1933C115.452 38.6986 116.18 38.4513 117.02 38.4513C117.682 38.4513 118.214 38.5959 118.616 38.8853L118.392 41.4753C118.345 41.6433 118.275 41.7646 118.182 41.8393C118.098 41.9046 117.981 41.9373 117.832 41.9373C117.692 41.9373 117.482 41.9139 117.202 41.8673C116.931 41.8206 116.665 41.7973 116.404 41.7973C116.021 41.7973 115.68 41.8533 115.382 41.9653C115.083 42.0773 114.812 42.2406 114.57 42.4553C114.336 42.6606 114.126 42.9126 113.94 43.2113C113.762 43.5099 113.594 43.8506 113.436 44.2333V53.0813H109.978V38.7173H112.008C112.362 38.7173 112.61 38.7826 112.75 38.9133C112.89 39.0346 112.983 39.2586 113.03 39.5853L113.24 41.2093Z",fill:"white"}),C.createElement("path",{d:"M133.373 38.7173L127.675 53.0813H124.539L118.841 38.7173H121.697C121.958 38.7173 122.173 38.7779 122.341 38.8993C122.518 39.0206 122.635 39.1746 122.691 39.3613L125.463 47.0333C125.612 47.4813 125.743 47.9199 125.855 48.3493C125.967 48.7786 126.065 49.2079 126.149 49.6373C126.242 49.2079 126.345 48.7786 126.457 48.3493C126.569 47.9199 126.704 47.4813 126.863 47.0333L129.691 39.3613C129.756 39.1746 129.873 39.0206 130.041 38.8993C130.209 38.7779 130.41 38.7173 130.643 38.7173H133.373Z",fill:"white"}),C.createElement("path",{d:"M144.032 44.2473C144.032 43.7993 143.967 43.3793 143.836 42.9873C143.715 42.5859 143.528 42.2359 143.276 41.9373C143.024 41.6386 142.702 41.4053 142.31 41.2373C141.928 41.0599 141.48 40.9713 140.966 40.9713C139.968 40.9713 139.179 41.2559 138.6 41.8253C138.031 42.3946 137.667 43.2019 137.508 44.2473H144.032ZM137.438 46.3333C137.494 47.0706 137.625 47.7099 137.83 48.2513C138.036 48.7833 138.306 49.2266 138.642 49.5813C138.978 49.9266 139.375 50.1879 139.832 50.3653C140.299 50.5333 140.812 50.6173 141.372 50.6173C141.932 50.6173 142.413 50.5519 142.814 50.4213C143.225 50.2906 143.58 50.1459 143.878 49.9873C144.186 49.8286 144.452 49.6839 144.676 49.5533C144.91 49.4226 145.134 49.3573 145.348 49.3573C145.638 49.3573 145.852 49.4646 145.992 49.6793L146.986 50.9393C146.604 51.3873 146.174 51.7653 145.698 52.0733C145.222 52.3719 144.723 52.6146 144.2 52.8013C143.687 52.9786 143.16 53.1046 142.618 53.1793C142.086 53.2539 141.568 53.2913 141.064 53.2913C140.066 53.2913 139.137 53.1279 138.278 52.8013C137.42 52.4653 136.673 51.9753 136.038 51.3313C135.404 50.6779 134.904 49.8753 134.54 48.9233C134.176 47.9619 133.994 46.8513 133.994 45.5913C133.994 44.6113 134.153 43.6919 134.47 42.8333C134.788 41.9653 135.24 41.2139 135.828 40.5793C136.426 39.9353 137.149 39.4266 137.998 39.0533C138.857 38.6799 139.823 38.4933 140.896 38.4933C141.802 38.4933 142.637 38.6379 143.402 38.9273C144.168 39.2166 144.826 39.6413 145.376 40.2013C145.927 40.7519 146.356 41.4333 146.664 42.2453C146.982 43.0479 147.14 43.9673 147.14 45.0033C147.14 45.5259 147.084 45.8806 146.972 46.0673C146.86 46.2446 146.646 46.3333 146.328 46.3333H137.438Z",fill:"white"}),C.createElement("path",{d:"M152.997 41.2093C153.445 40.3506 153.977 39.6786 154.593 39.1933C155.209 38.6986 155.937 38.4513 156.777 38.4513C157.44 38.4513 157.972 38.5959 158.373 38.8853L158.149 41.4753C158.103 41.6433 158.033 41.7646 157.939 41.8393C157.855 41.9046 157.739 41.9373 157.589 41.9373C157.449 41.9373 157.239 41.9139 156.959 41.8673C156.689 41.8206 156.423 41.7973 156.161 41.7973C155.779 41.7973 155.438 41.8533 155.139 41.9653C154.841 42.0773 154.57 42.2406 154.327 42.4553C154.094 42.6606 153.884 42.9126 153.697 43.2113C153.52 43.5099 153.352 43.8506 153.193 44.2333V53.0813H149.735V38.7173H151.765C152.12 38.7173 152.367 38.7826 152.507 38.9133C152.647 39.0346 152.741 39.2586 152.787 39.5853L152.997 41.2093Z",fill:"white"}),C.createElement("path",{d:"M49.1523 24.8311V46.1143L30.7197 56.7559L12.2881 46.1143V24.8311L30.7197 14.1895L49.1523 24.8311ZM14.208 25.9395V45.0059L30.7197 54.5391L47.2324 45.0059V25.9395L30.7197 16.4062L14.208 25.9395ZM32.9707 22.3506C33.3993 22.3506 33.7758 22.6348 33.8936 23.0469L34.75 26.0449L36.8691 27.2686L39.8945 26.5117C40.3103 26.4076 40.7447 26.5917 40.959 26.9629L43.21 30.8613C43.4239 31.2324 43.3663 31.7009 43.0684 32.0088L40.9004 34.249V36.6963L43.0684 38.9375C43.3663 39.2455 43.4242 39.7138 43.21 40.085L40.959 43.9834C40.7446 44.3544 40.3102 44.5386 39.8945 44.4346L36.8691 43.6768L34.75 44.9004L33.8936 47.8994C33.7756 48.3113 33.3991 48.5947 32.9707 48.5947H28.4697C28.0413 48.5947 27.6648 48.3112 27.5469 47.8994L26.6895 44.9004L24.5703 43.6768L21.5459 44.4346C21.1302 44.5386 20.6958 44.3544 20.4814 43.9834L18.2305 40.085C18.0162 39.7138 18.074 39.2455 18.3721 38.9375L20.54 36.6963V34.249L18.3721 32.0088C18.0741 31.7009 18.0164 31.2325 18.2305 30.8613L20.4814 26.9629C20.6958 26.5917 21.1301 26.4076 21.5459 26.5117L24.5703 27.2686L26.6895 26.0449L27.5469 23.0469C27.6647 22.6348 28.0411 22.3506 28.4697 22.3506H32.9707ZM28.4287 26.9463C28.3602 27.1856 28.2019 27.3892 27.9863 27.5137L25.1943 29.126C24.9787 29.2504 24.723 29.286 24.4814 29.2256L21.7822 28.5498L20.2549 31.1934L22.1904 33.1934C22.3636 33.3724 22.46 33.6122 22.46 33.8613V37.085C22.4599 37.3339 22.3634 37.573 22.1904 37.752L20.2549 39.752L21.7822 42.3965L24.4814 41.7207C24.723 41.6603 24.9787 41.6958 25.1943 41.8203L27.9863 43.4316C28.2021 43.5562 28.3603 43.7605 28.4287 44L29.1934 46.6748H32.2471L33.0107 44C33.0792 43.7605 33.2384 43.5562 33.4541 43.4316L36.2461 41.8203C36.4618 41.6958 36.7173 41.6602 36.959 41.7207L39.6582 42.3965L41.1846 39.752L39.25 37.752C39.0769 37.573 38.9795 37.3339 38.9795 37.085V33.8613C38.9795 33.6122 39.0768 33.3724 39.25 33.1934L41.1846 31.1934L39.6582 28.5498L36.959 29.2256C36.7175 29.286 36.4618 29.2504 36.2461 29.126L33.4541 27.5137C33.2384 27.3891 33.0792 27.1858 33.0107 26.9463L32.2471 24.2705H29.1934L28.4287 26.9463ZM30.7197 29.3047C34.1263 29.3047 36.8885 32.0661 36.8887 35.4727C36.8887 38.8793 34.1264 41.6416 30.7197 41.6416C27.3132 41.6414 24.5518 38.8792 24.5518 35.4727C24.5519 32.0662 27.3133 29.3049 30.7197 29.3047ZM30.7197 31.2246C28.3737 31.2248 26.4718 33.1266 26.4717 35.4727C26.4717 37.8188 28.3736 39.7215 30.7197 39.7217C33.066 39.7217 34.9688 37.8189 34.9688 35.4727C34.9686 33.1265 33.0659 31.2246 30.7197 31.2246Z",fill:"url(#paint1_linear_4610_19056)"}),C.createElement("defs",null,C.createElement("linearGradient",{id:"paint0_linear_4610_19056",x1:30.7202,y1:96,x2:94.6669,y2:34.6107,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#0FA4B7"}),C.createElement("stop",{offset:.494757,stopColor:"#1DC1C7"}),C.createElement("stop",{offset:1,stopColor:"#2BE0D7"})),C.createElement("linearGradient",{id:"paint1_linear_4610_19056",x1:27.4375,y1:99.2459,x2:97.761,y2:44.9361,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#0FA4B7"}),C.createElement("stop",{offset:.494757,stopColor:"#1DC1C7"}),C.createElement("stop",{offset:1,stopColor:"#2BE0D7"}))));function m({style:e,...t}={}){const{palette:V}=n(),l=a({key:"md"}),H=V.mode==="dark"?i:o;return l?L.jsx(r,{width:"32",height:"32",style:{cursor:"pointer",...e},...t}):L.jsx(H,{width:"128",height:"48",style:{cursor:"pointer",...e},...t})}export{m as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as o,_ as r}from"./vendor-ux-pxYpYMxD.js";import{r as a}from"./vendor-react-CUXIiAnY.js";function s(){const t=o();return a.useCallback(()=>{if(t?.wallet){r(()=>import("./index-CMec_woq.js").then(e=>e.i),[],import.meta.url).then(e=>{setTimeout(()=>{e.call("arcClosePage")},2e3)});return}setTimeout(()=>{window.close()},500)},[t?.wallet])}export{s as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as r}from"./vendor-react-CUXIiAnY.js";import{r as s}from"./useAsync-tRHUJQgE.js";var o=s();const a=r(o);export{a as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as p}from"./vendor-hooks-
|
|
1
|
+
import{r as p}from"./vendor-hooks-L8kZVRUL.js";import{d as g}from"./vendor-react-CUXIiAnY.js";var i={},l={},d={},M;function h(){if(M)return d;M=1,Object.defineProperty(d,"__esModule",{value:!0});var e=g();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=g(),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(),y=r.useState(a),b=y[0],_=y[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=g(),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-
|
|
1
|
+
import{at as A}from"./vendor-mui-core-___CiWHn.js";import{d as p,g}from"./vendor-react-CUXIiAnY.js";import{r as R}from"./vendor-hooks-L8kZVRUL.js";import{r as b}from"./useAsync-tRHUJQgE.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-
|
|
1
|
+
import{d as y,g as z}from"./vendor-react-CUXIiAnY.js";import{G as h}from"./vendor-ux-pxYpYMxD.js";var u={},m;function J(){if(m)return u;m=1,Object.defineProperty(u,"__esModule",{value:!0});var f=y(),c=h(),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 N=J();const E=z(N);export{E as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as i,g as v}from"./vendor-react-
|
|
1
|
+
import{d as i,g as v}from"./vendor-react-CUXIiAnY.js";var e={},n;function d(){if(n)return e;n=1,Object.defineProperty(e,"__esModule",{value:!0});var u=i(),o=function(t){t===void 0&&(t={});var a=u.useState(t),f=a[0],S=a[1],c=u.useCallback(function(r){S(function(s){return Object.assign({},s,r instanceof Function?r(s):r)})},[]);return[f,c]};return e.default=o,e}var l=d();const b=v(l);export{b as u};
|