@abtnode/blocklet-services 1.16.33-beta-20241102-083409-a924dd84 → 1.16.33-beta-20241105-141729-e4608175
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/index.js +2 -48
- package/api/libs/auth/index.js +3 -2
- package/api/libs/logger.js +2 -0
- package/api/routes/federated.js +31 -1
- package/api/routes/oauth.js +19 -3
- package/api/state/profile.js +2 -1
- package/dist/assets/{Add-bOFtqv1E.js → Add-C5wKbObL.js} +1 -1
- package/dist/assets/Alert-ClGA4UON.js +1 -0
- package/dist/assets/{ArrowDropDown-CshuI94_.js → ArrowDropDown-CK-CyRRv.js} +1 -1
- package/dist/assets/{Autocomplete-r8azpItz.js → Autocomplete-BM34aepT.js} +1 -1
- package/dist/assets/Avatar-DyK43nCT.js +1 -0
- package/dist/assets/{ButtonGroup-Ba2QsN1i.js → ButtonGroup-DaL5PyR4.js} +1 -1
- package/dist/assets/{CSSTransition-Cw_xP1Vb.js → CSSTransition-BzIdiTxk.js} +1 -1
- package/dist/assets/{CheckCircle-D6BKIS_s.js → CheckCircle-C-BzX2wx.js} +1 -1
- package/dist/assets/{ChevronLeft-Cuf9mn8C.js → ChevronLeft-DdnDWw3p.js} +1 -1
- package/dist/assets/{ChevronRight-DKM1mfYU.js → ChevronRight-B_bmxWe_.js} +1 -1
- package/dist/assets/{Close-BOZcPfPU.js → Close-da9E5C6C.js} +1 -1
- package/dist/assets/Delete-4PM7zdFM.js +1 -0
- package/dist/assets/{DeleteOutline-D2b8wb9u.js → DeleteOutline-23K5_ksg.js} +1 -1
- package/dist/assets/{DialogContentText-DKna-pLa.js → DialogContentText-BAHpbVEb.js} +1 -1
- package/dist/assets/{Done-BAj811nu.js → Done-CKRWemQO.js} +1 -1
- package/dist/assets/{Download-EZLNqT6R.js → Download-B85Kmt1U.js} +1 -1
- package/dist/assets/{EditIcon-CMiQSmX5.js → EditIcon-DSJg9xra.js} +1 -1
- package/dist/assets/{Error-Dyl_GK7X.js → Error-Dln9la_X.js} +1 -1
- package/dist/assets/{ExpandMore-Cri5eWhB.js → ExpandMore-CtG_bAfW.js} +1 -1
- package/dist/assets/FormControl-BL0Z1NSB.js +1 -0
- package/dist/assets/{FormControlLabel-DUqUcjqg.js → FormControlLabel-DoWNBwBW.js} +1 -1
- package/dist/assets/FormGroup-QLbY_ga6.js +1 -0
- package/dist/assets/{Google-n9BhRIMV.js → Google-BvcdqOgK.js} +1 -1
- package/dist/assets/{Grid-d_5vEATf.js → Grid-CK8YVFLA.js} +1 -1
- package/dist/assets/{HelpOutline-CN-JBZ3p.js → HelpOutline-Dl-B0PLa.js} +1 -1
- package/dist/assets/Hidden-vR0aN6pm.js +1 -0
- package/dist/assets/{InfoOutlined-B6Dnu1aU.js → InfoOutlined-B6NUfTCa.js} +1 -1
- package/dist/assets/{InputAdornment-C_v1Y6Di.js → InputAdornment-DZGc8E9Q.js} +1 -1
- package/dist/assets/{LastPage-lb4qZ_g6.js → LastPage-DGe9hoEM.js} +1 -1
- package/dist/assets/{Launch-BTyi4wvd.js → Launch-BpxAI4bs.js} +1 -1
- package/dist/assets/{LaunchOutlined-CNgk8eWz.js → LaunchOutlined-C6MUvhkl.js} +1 -1
- package/dist/assets/{Link-B263Ikvu.js → Link-t0X_2s8f.js} +1 -1
- package/dist/assets/{ListItemButton-DapPFhnE.js → ListItemButton-BeEwzuuE.js} +1 -1
- package/dist/assets/{ListSubheader-Bdp-HRQo.js → ListSubheader-CinvXrOQ.js} +1 -1
- package/dist/assets/{LoadingButton-DdsFlMi1.js → LoadingButton-Bzaa_ly6.js} +1 -1
- package/dist/assets/{LockIcon-D2gLIi44.js → LockIcon-DeDWbkGd.js} +1 -1
- package/dist/assets/{Loop-9mUuOWB-.js → Loop-DH3EwgSL.js} +1 -1
- package/dist/assets/{MarkEmailRead-BkXDErhY.js → MarkEmailRead-CwoBeL2i.js} +1 -1
- package/dist/assets/{Menu-BG_qisJ7.js → Menu-D_GBf1CB.js} +1 -1
- package/dist/assets/{MoreHoriz-DcPej2CD.js → MoreHoriz-Qd-pbYq_.js} +1 -1
- package/dist/assets/{MoreVert-BwL-ULCe.js → MoreVert-Dy3B-4PZ.js} +1 -1
- package/dist/assets/{OpenInNew-Ci1H_656.js → OpenInNew-sKjipJwH.js} +1 -1
- package/dist/assets/{Pagination-KX1cGsLx.js → Pagination-BSPBQ0Um.js} +2 -2
- package/dist/assets/{PlayArrow-D2XJZjjn.js → PlayArrow-DC_oyUb1.js} +1 -1
- package/dist/assets/{QuestionMarkCircle-DzQgFhhx.js → QuestionMarkCircle-C8r6Lbfw.js} +1 -1
- package/dist/assets/{RadioGroup-CKVkcR5j.js → RadioGroup-MJhlZ4ZH.js} +1 -1
- package/dist/assets/{Search-DcB6584F.js → Search-CefeP42d.js} +1 -1
- package/dist/assets/{Select-FHyYu0mn.js → Select-Bjc5h4TG.js} +2 -2
- package/dist/assets/{ServerLogo-COVdbFHe.js → ServerLogo-B27SaIJw.js} +1 -1
- package/dist/assets/{Skeleton-Bbfoem6Q.js → Skeleton-B-YzpOQg.js} +4 -4
- package/dist/assets/{Slider-DlL3lEzg.js → Slider-DEZGhcr8.js} +1 -1
- package/dist/assets/Stack-RoMZEEMb.js +1 -0
- package/dist/assets/{Stepper-C1z1Nu0H.js → Stepper-D8zaVBG6.js} +1 -1
- package/dist/assets/{TextField-C6DNb6K3.js → TextField-OMWgqDee.js} +1 -1
- package/dist/assets/{Toolbar-mIzrJcpi.js → Toolbar-CZhQZvMx.js} +1 -1
- package/dist/assets/{ViewColumn-BfOj5Hqi.js → ViewColumn-CWRGm9xJ.js} +1 -1
- package/dist/assets/{ViewList-CHUygrET.js → ViewList-B4FFgNBd.js} +1 -1
- package/dist/assets/_createAggregator-C7QUEqHM.js +1 -0
- package/dist/assets/access-control-BhAuSTlj.js +13 -0
- package/dist/assets/actions-VMZ5WmkG.js +1 -0
- package/dist/assets/{add-component-core-D9i8J5Hl.js → add-component-core-BMEBzsmZ.js} +19 -19
- package/dist/assets/add-resource-RNKWAHa3.js +1 -0
- package/dist/assets/addon-DLwkn9N6.js +31 -0
- package/dist/assets/{analytics-CNjMo4PR.js → analytics-Dm4wPEYQ.js} +7 -7
- package/dist/assets/api-J-ppmLLo.js +1 -0
- package/dist/assets/ar-DVPUxrdQ.js +1 -0
- package/dist/assets/audit-logs-tj7WeyYy.js +58 -0
- package/dist/assets/{base32-b0e6z4ei.js → base32-D9mDcD23.js} +1 -1
- package/dist/assets/branding-D-eSt-2j.js +37 -0
- package/dist/assets/bundle-avatar-Co5kQjOo.js +1 -0
- package/dist/assets/{button-BZSmvuzl.js → button-Ee_XPt6g.js} +1 -1
- package/dist/assets/{click-to-copy-CYT808Bk.js → click-to-copy-CQnFaSnp.js} +1 -1
- package/dist/assets/{complete-DeQ0rwlU.js → complete-CeSbBm-e.js} +4 -4
- package/dist/assets/{component-D2BxwkDd.js → component-DJBS5Xx8.js} +46 -46
- package/dist/assets/{config-Gbmmjnod.js → config-B6t74tHt.js} +1 -1
- package/dist/assets/{config-rCxorgFD.js → config-C_hl3G_R.js} +2 -2
- package/dist/assets/config-navigation-CHtqAvRz.js +25 -0
- package/dist/assets/confirm-Ddpyr19d.js +7 -0
- package/dist/assets/connect-6xrInacS.js +1 -0
- package/dist/assets/connect-Ewc4HyYb.js +5 -0
- package/dist/assets/connect-to-qDn2VlTy.js +1 -0
- package/dist/assets/{content-layout-Dg654vli.js → content-layout-BBKVUucZ.js} +1 -1
- package/dist/assets/{dashboard-DN-9-3gU.js → dashboard-BijWBRYU.js} +8 -8
- package/dist/assets/de-DVXfDFSU.js +1 -0
- package/dist/assets/{deprecate-YD6Y6FfX.js → deprecate-D8ZVXehA.js} +1 -1
- package/dist/assets/{did-address-D5PpLM1R.js → did-address-CM_8YqbE.js} +1 -1
- package/dist/assets/domain-DyBbgSJm.js +9 -0
- package/dist/assets/domain-list-CxPS6rQ4.js +15 -0
- package/dist/assets/{email-DqijDSOa.js → email-DxESpXcD.js} +3 -3
- package/dist/assets/emotion-cache.browser.esm-DWAkeLNM.js +1 -0
- package/dist/assets/es-FbTZG3DY.js +1 -0
- package/dist/assets/exchange-passport-CnSh9yXL.js +1 -0
- package/dist/assets/{fallback-D3XbER7P.js → fallback-DtXRUNR6.js} +1 -1
- package/dist/assets/{form-text-input-Dfn1Wn_5.js → form-text-input-CQCcTHWQ.js} +2 -2
- package/dist/assets/{format-error-CbWObE-m.js → format-error-BXpFpsa-.js} +1 -1
- package/dist/assets/fr-DL1YXCMM.js +1 -0
- package/dist/assets/fuel-D6j74EMR.js +32 -0
- package/dist/assets/{fullpage-CGQnavVT.js → fullpage-CKQTBOZk.js} +1 -1
- package/dist/assets/hi-DVTVHQJG.js +1 -0
- package/dist/assets/{home-DEHpnOzD.js → home-CcjOthQO.js} +1 -1
- package/dist/assets/id-CjJaQtmp.js +1 -0
- package/dist/assets/{iframe-CjWb2_M6.js → iframe-DRVFH0tr.js} +1 -1
- package/dist/assets/{index-DBu7jcSD.js → index-4Vv_xV1i.js} +1 -1
- package/dist/assets/{index-BeoZ-VU7.js → index-B463Qwek.js} +1 -1
- package/dist/assets/{index-kR3Uq-Mb.js → index-BACiBg8Z.js} +17 -17
- package/dist/assets/{index-Bpc59LEO.js → index-BCox7gnS.js} +1 -1
- package/dist/assets/{index-D9qREAp1.js → index-Bn4Oin82.js} +7 -7
- package/dist/assets/{index-KqotQeYl.js → index-BtEigcbe.js} +4 -4
- package/dist/assets/index-C3SoKjGs.js +1 -0
- package/dist/assets/{index-DVziVD2f.js → index-C97ospTS.js} +1 -1
- package/dist/assets/{index-CrRQb6MU.js → index-CJ5QOKhK.js} +1 -1
- package/dist/assets/index-CN4Xbxs7.js +23 -0
- package/dist/assets/{index-T8nTnmh1.js → index-CPpIB55-.js} +1 -1
- package/dist/assets/{index-BDZlmkSE.js → index-Ca4BjHEM.js} +1 -1
- package/dist/assets/{index-Bkm0bPy1.js → index-Cfu_bVRF.js} +9 -9
- package/dist/assets/{index-5iry99Ky.js → index-CjgG9Mbh.js} +3 -3
- package/dist/assets/{index-DOE-ad6o.js → index-ClAQ2Uji.js} +1 -1
- package/dist/assets/{index-DSOswIXL.js → index-CrRL_dto.js} +8 -8
- package/dist/assets/{index-Pws_HXCQ.js → index-D7yWEAeI.js} +2 -2
- package/dist/assets/{index-BkQ4EI2P.js → index-D8wC9WED.js} +34 -34
- package/dist/assets/{index-DURun-fE.js → index-D9Zhhq53.js} +1 -1
- package/dist/assets/{index-ByIVK1rt.js → index-DNivnwSJ.js} +1 -1
- package/dist/assets/index-DOT9KoXF.js +4 -0
- package/dist/assets/{index-1CEybnrZ.js → index-DYz2g4w3.js} +1 -1
- package/dist/assets/{index-BbL9bes4.js → index-DZ8uRrow.js} +1 -1
- package/dist/assets/index-DaPfZep1.js +544 -0
- package/dist/assets/index-Dc2ybf4C.js +11 -0
- package/dist/assets/{index-Ctfa52p5.js → index-Dd9xMZEz.js} +9 -9
- package/dist/assets/index-DsUB0er-.js +1 -0
- package/dist/assets/{index-B_B2L5WL.js → index-DyVo1ugh.js} +1 -1
- package/dist/assets/{index-wnWr-8e_.js → index-Hnm-O5Pq.js} +13 -13
- package/dist/assets/{index-BELX75G9.js → index-SC5yW-Mc.js} +1 -1
- package/dist/assets/{index-B54dXjy1.js → index-e9epohgt.js} +14 -14
- package/dist/assets/index-gK8L4BFM.js +1 -0
- package/dist/assets/{index-ni93At8S.js → index-gZFJJRf-.js} +1 -1
- package/dist/assets/{index-gyya76M7.js → index-o33Ww9sw.js} +1 -1
- package/dist/assets/{invitation-PGwdnHE4.js → invitation-BuZJIYwW.js} +6 -6
- package/dist/assets/invite-1m2hy3gm.js +5 -0
- package/dist/assets/{isEmail-B5EAjxnP.js → isEmail-BAm7AH0D.js} +1 -1
- package/dist/assets/{issue-passport-Bw_MHd9T.js → issue-passport-C9U5xfNL.js} +1 -1
- package/dist/assets/{item-eNPWM9nS.js → item-CjjCUl_D.js} +1 -1
- package/dist/assets/ja-D5d-ejt-.js +1 -0
- package/dist/assets/{jss-plugin-props-sort.esm-D5cAYULH.js → jss-plugin-props-sort.esm-cqAVaHSM.js} +5 -5
- package/dist/assets/ko-KSOTEFlZ.js +1 -0
- package/dist/assets/{launch-result-message-D3mtj3IR.js → launch-result-message-Qy-17kk4.js} +1 -1
- package/dist/assets/{layout-CZVKqaZH.js → layout-BVjKi-WC.js} +2 -2
- package/dist/assets/list-header-DBu1NCpW.js +57 -0
- package/dist/assets/localization-Duro2u0E.js +1 -0
- package/dist/assets/{log-CJD7Smn5.js → log-2ZwvZtYm.js} +1 -1
- package/dist/assets/{login-DR3kcJtW.js → login-DvR8ldSJ.js} +1 -1
- package/dist/assets/login-oauth-callback-C6I5hp6o.js +1 -0
- package/dist/assets/logo-uploader-lnCRmGXJ.js +133 -0
- package/dist/assets/{lost-passport-CynXuP5y.js → lost-passport-CSsACZsq.js} +3 -3
- package/dist/assets/{lottie-react.esm-BBW-VAw8.js → lottie-react.esm-Bx5n1m-Y.js} +1 -1
- package/dist/assets/notifications-K6SumKc_.js +65 -0
- package/dist/assets/{open-window-BKaZeE7I.js → open-window-BnMY49qX.js} +1 -1
- package/dist/assets/overview-4Pt-umR4.js +12 -0
- package/dist/assets/page-header-CA8Xsarf.js +31 -0
- package/dist/assets/{permission-C4_wbUHQ.js → permission-sAUmNkv7.js} +1 -1
- package/dist/assets/{preferences-a3_XT82h.js → preferences-BPOKtF4g.js} +1 -1
- package/dist/assets/pt-CZUQ83t-.js +1 -0
- package/dist/assets/publish-resource-VECs77eT.js +1 -0
- package/dist/assets/{raf-schd.esm-BDHFBmJm.js → raf-schd.esm-W-ZrlqpH.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-rfy7xaJI.js → react-beautiful-dnd.esm-BJ9lX_Fr.js} +1 -1
- package/dist/assets/refType-BsYuCgz-.js +1 -0
- package/dist/assets/resource-dialog-BBl_2osk.js +4 -0
- package/dist/assets/ru-BowhhxB9.js +1 -0
- package/dist/assets/sdk-DponvxD9.js +1 -0
- package/dist/assets/selector-CFf3nrir.js +48 -0
- package/dist/assets/session-5TSm9LWM.js +1 -0
- package/dist/assets/setup-Ct1D13HF.js +19 -0
- package/dist/assets/{shorten-label-leEX0OpC.js → shorten-label-DN0jrUac.js} +1 -1
- package/dist/assets/{simple-select-DInqAkp_.js → simple-select-DqaWmnN5.js} +1 -1
- package/dist/assets/{slicedToArray-CMlWE9Kb.js → slicedToArray-BS60JB66.js} +2 -2
- package/dist/assets/spaces-CjgOPbG0.js +1 -0
- package/dist/assets/start-BUk3sbrk.js +187 -0
- package/dist/assets/step-actions-BPWhLbiR.js +31 -0
- package/dist/assets/studio-CW5QJoGv.js +6 -0
- package/dist/assets/switch-control-Cnbl4Wu3.js +13 -0
- package/dist/assets/th-G7hcFvcB.js +1 -0
- package/dist/assets/{toUpper-BN2pcj3y.js → toUpper-CFi1Iac7.js} +1 -1
- package/dist/assets/transfer-Bx_nNEq4.js +16 -0
- package/dist/assets/trim-CHiTHOIA.js +1 -0
- package/dist/assets/{uniqBy-DL1zbncl.js → uniqBy-BjgLQRCz.js} +1 -1
- package/dist/assets/{unsubscribe-Bx_0kT2c.js → unsubscribe-k6GIH3_j.js} +1 -1
- package/dist/assets/{url-join-DIhZFaTI.js → url-join-UZSSoHtH.js} +1 -1
- package/dist/assets/use-blocklet-info-for-connect-did-spaces-hKOuN39m.js +1 -0
- package/dist/assets/use-mobile-BTgMVFAs.js +1 -0
- package/dist/assets/use-mobile-C1IcwqDn.js +1 -0
- package/dist/assets/{useAsync-clvYxRH3.js → useAsync-D_MoHBEg.js} +1 -1
- package/dist/assets/{useFormControl-cUTo7137.js → useFormControl-CZU39P72.js} +1 -1
- package/dist/assets/{useLocalStorage-vovxXSOl.js → useLocalStorage-DoUDAxJV.js} +1 -1
- package/dist/assets/{useSetState-Bcpwt_WC.js → useSetState-l_4RfoXS.js} +1 -1
- package/dist/assets/useSlot-CHjJ1PGq.js +1 -0
- package/dist/assets/{useSlotProps-BKfmEJpm.js → useSlotProps-DCQA4xi9.js} +1 -1
- package/dist/assets/useThemeProps-BuwBKLg_.js +1 -0
- package/dist/assets/user-center-C-BWN4ab.js +1 -0
- package/dist/assets/{user-sessions-hVZB4oee.js → user-sessions-zHLfn0TD.js} +1 -1
- package/dist/assets/{util-vL8zU5OD.js → util-DvRWTmoo.js} +1 -1
- package/dist/assets/vi-DwM1n61y.js +1 -0
- package/dist/assets/{wrap-locale-DfIs9PFE.js → wrap-locale-D0E4_sSR.js} +1 -1
- package/dist/assets/zh-4Fb8w10J.js +1 -0
- package/dist/assets/zh-tw-BMZcmOgr.js +1 -0
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +37 -38
- package/dist/assets/Alert-DsAFGE4O.js +0 -1
- package/dist/assets/Avatar-cHoH5Gcs.js +0 -1
- package/dist/assets/CloseOutlined-g2NMRZze.js +0 -1
- package/dist/assets/Delete-3sftcVmc.js +0 -1
- package/dist/assets/FormControl-Bzepy6Yn.js +0 -1
- package/dist/assets/FormGroup-Dfsxsxnm.js +0 -1
- package/dist/assets/Hidden-B_94bAwy.js +0 -1
- package/dist/assets/Stack-_YfLIpxv.js +0 -1
- package/dist/assets/access-control-BzGDM72k.js +0 -13
- package/dist/assets/actions-BI7yMXK2.js +0 -1
- package/dist/assets/add-resource-BfHXR_Y_.js +0 -1
- package/dist/assets/addon-BwD2KOqI.js +0 -31
- package/dist/assets/api-Cg7ahL5P.js +0 -1
- package/dist/assets/ar-DulOB4u4.js +0 -1
- package/dist/assets/audit-logs-Dkin1KDM.js +0 -58
- package/dist/assets/branding-Cl9GX76R.js +0 -37
- package/dist/assets/bundle-avatar-CFbWkja3.js +0 -1
- package/dist/assets/config-navigation-B7PM-EGI.js +0 -25
- package/dist/assets/confirm-D0pWA67W.js +0 -7
- package/dist/assets/connect-Cdtb7SHw.js +0 -1
- package/dist/assets/connect-Tlrdq51n.js +0 -5
- package/dist/assets/connect-to-BI3qeY9E.js +0 -54
- package/dist/assets/de-8sK7C5VE.js +0 -1
- package/dist/assets/domain-2MsVV8_b.js +0 -9
- package/dist/assets/domain-list-D4PDGQMX.js +0 -15
- package/dist/assets/emotion-cache.browser.esm-CFmFGVO5.js +0 -1
- package/dist/assets/es-BhEAJBNj.js +0 -1
- package/dist/assets/exchange-passport-PFJEY5oF.js +0 -1
- package/dist/assets/fr-DYb1HdQN.js +0 -1
- package/dist/assets/fuel-BRC6ySM4.js +0 -32
- package/dist/assets/hi-DeSTVDJm.js +0 -1
- package/dist/assets/id-B-ianq_P.js +0 -1
- package/dist/assets/index-1pd_yDXe.js +0 -11
- package/dist/assets/index-BEt0dM-9.js +0 -563
- package/dist/assets/index-BV12QEMX.js +0 -1
- package/dist/assets/index-CHOjWhIO.js +0 -4
- package/dist/assets/index-CbtulDW6.js +0 -1
- package/dist/assets/index-Cert8PMw.js +0 -1
- package/dist/assets/index-CmjfXrfq.js +0 -1
- package/dist/assets/index-uGwRXs0w.js +0 -22
- package/dist/assets/invite-B3LCoC_0.js +0 -5
- package/dist/assets/ja-cd0ntUSZ.js +0 -1
- package/dist/assets/ko-10uIwv6V.js +0 -1
- package/dist/assets/list-header-BlJseGfe.js +0 -57
- package/dist/assets/localization-C4vP52vp.js +0 -1
- package/dist/assets/lodash-CmCPMfEh.js +0 -27
- package/dist/assets/login-oauth-callback-0EjAb9S0.js +0 -1
- package/dist/assets/logo-uploader-CtnbwpWA.js +0 -133
- package/dist/assets/notifications-BTr0jDCz.js +0 -65
- package/dist/assets/overview-Cgav-29-.js +0 -12
- package/dist/assets/page-header-B2iI665X.js +0 -31
- package/dist/assets/pt-BLq3lFAs.js +0 -1
- package/dist/assets/publish-resource-BwfmZpal.js +0 -1
- package/dist/assets/refType-C9dfEo74.js +0 -1
- package/dist/assets/resource-dialog-C_YfBcxl.js +0 -4
- package/dist/assets/ru-ClzjSM6D.js +0 -1
- package/dist/assets/sdk--rGP8Wie.js +0 -1
- package/dist/assets/selector-BQdiIKcX.js +0 -48
- package/dist/assets/session-BhA7xYeK.js +0 -1
- package/dist/assets/setup-DdL2aJKn.js +0 -19
- package/dist/assets/spaces-DqylVolU.js +0 -1
- package/dist/assets/start-xeWBZiEu.js +0 -187
- package/dist/assets/step-actions-BnvHdZWg.js +0 -31
- package/dist/assets/studio-CfUa1OMb.js +0 -6
- package/dist/assets/switch-control-DwJl6NzU.js +0 -13
- package/dist/assets/th-PReNX1Xn.js +0 -1
- package/dist/assets/transfer-DnYlCSpz.js +0 -16
- package/dist/assets/trim-B9XGsPSj.js +0 -1
- package/dist/assets/use-blocklet-info-for-connect-did-spaces-Bhk5PbPV.js +0 -1
- package/dist/assets/use-mobile-C8a-WvbB.js +0 -1
- package/dist/assets/useSlot-Bgf6_F9a.js +0 -1
- package/dist/assets/useThemeProps-vkOLleXs.js +0 -1
- package/dist/assets/user-center-B0SlHHaj.js +0 -1
- package/dist/assets/vi-noed91sz.js +0 -1
- package/dist/assets/zh-BperuRxy.js +0 -1
- package/dist/assets/zh-tw-B7-6_fNO.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
|
2
|
-
import{at as d2,j as o,aG as se,cQ as g0,aK as H,fG as Q1,aJ as we,aE as $e,aF as Fe,T as K,r as R,aI as g1,aL as u2,aM as Ue,aN as qe,cX as p2,fH as s1,X as ke,Y as Ie,$ as We,B as y,P as h,G as J,e as b1,u as te,aP as Re,aY as Ne,bx as r1,a1 as t1,L as pe,bL as b0,a as ge,aC as be,K as h2,t as F,Z as ce,dD as f2,aa as ze,c as he,I as x2,bW as j1,cj as j0,cL as m2,cU as He,cV as w0,aj as v2,d9 as g2,cP as Qe,bF as ie,c4 as Ye,ft as b2,a8 as Y1,fI as j2,b as ne,n as o1,bm as R0,ej as C0,ai as w1,bn as y0,cA as z0,aT as Oe,aS as w2,bf as Pe,a3 as S0,fJ as Z1,fg as Le,bk as R2,au as k0,c3 as C2,l as y2,aB as z2,aq as S2,ar as c1}from"./index-Ctfa52p5.js";import{d as R1}from"./Add-bOFtqv1E.js";import{d as I0,a as k2}from"./Delete-3sftcVmc.js";import{d as I2}from"./Error-Dyl_GK7X.js";import{D as C1}from"./index-ByIVK1rt.js";import{T as P0,b as P2}from"./index-DBu7jcSD.js";import{C as y1}from"./confirm-D0pWA67W.js";import{u as i1}from"./session-BhA7xYeK.js";import{W as e0}from"./did-address-D5PpLM1R.js";import{E as Ge,D as M2,C as L2,P as T2}from"./react-beautiful-dnd.esm-rfy7xaJI.js";import{B as z1}from"./bundle-avatar-CFbWkja3.js";import{S as je}from"./shorten-label-leEX0OpC.js";import{A as M0}from"./Avatar-cHoH5Gcs.js";import{d as D2}from"./Download-EZLNqT6R.js";import{d as N2}from"./QuestionMarkCircle-DzQgFhhx.js";import{b as V2,c as t0,T as _2}from"./index-BELX75G9.js";import{_ as Me}from"./useSetState-Bcpwt_WC.js";import{c as S1}from"./index-B_B2L5WL.js";import{C as h1,L as E2}from"./MoreVert-BwL-ULCe.js";import{A as L0}from"./Alert-DsAFGE4O.js";import{p as l1}from"./index-5iry99Ky.js";import"./api-Cg7ahL5P.js";import{i as B2}from"./index-ni93At8S.js";import{d as A2}from"./ExpandMore-Cri5eWhB.js";import{d as O2}from"./ChevronRight-DKM1mfYU.js";import{d as H2}from"./OpenInNew-Ci1H_656.js";import{u as T0}from"./useThemeProps-vkOLleXs.js";import{F as f1}from"./FormControlLabel-DUqUcjqg.js";import{u as $2}from"./useSlotProps-BKfmEJpm.js";import{d as F2}from"./DeleteOutline-D2b8wb9u.js";import{c as U2,A as D0,u as q2,S as W2,U as G2}from"./item-eNPWM9nS.js";import{d as K2}from"./ArrowDropDown-CshuI94_.js";import{f as De}from"./format-error-CbWObE-m.js";import{B as x1}from"./ButtonGroup-Ba2QsN1i.js";import{T as Te}from"./TextField-C6DNb6K3.js";import{I as k1}from"./InputAdornment-C_v1Y6Di.js";import{S as Be}from"./Stack-_YfLIpxv.js";import{C as X2}from"./click-to-copy-CYT808Bk.js";import{d as J2}from"./Launch-BTyi4wvd.js";import{S as o0}from"./index-BV12QEMX.js";import{M as Q2}from"./index-T8nTnmh1.js";import{p as Y2}from"./purify.es-Bq0E5Q3l.js";import{r as Z2}from"./index-DVziVD2f.js";import{d as et}from"./Done-BAj811nu.js";import{c as N0,d as V0,b as tt,S as ot,a as lt}from"./Stepper-C1z1Nu0H.js";import{R as nt,a as l0}from"./RadioGroup-CKVkcR5j.js";import"./toPropertyKey-PLuKRk1e.js";import"./emotion-cache.browser.esm-CFmFGVO5.js";import"./index-BeoZ-VU7.js";import"./redux-CluOqhW1.js";import"./ViewColumn-BfOj5Hqi.js";import"./FormControl-Bzepy6Yn.js";import"./useFormControl-cUTo7137.js";import"./FormGroup-Dfsxsxnm.js";import"./Grid-d_5vEATf.js";import"./Select-FHyYu0mn.js";import"./LastPage-lb4qZ_g6.js";import"./Toolbar-mIzrJcpi.js";import"./Search-DcB6584F.js";import"./index-1CEybnrZ.js";import"./DialogContentText-DKna-pLa.js";import"./Link-B263Ikvu.js";import"./raf-schd.esm-BDHFBmJm.js";import"./useSlot-Bgf6_F9a.js";import"./jss-plugin-props-sort.esm-D5cAYULH.js";const st=d2(o.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),rt=["slots","slotProps"],it=se(g0)(({theme:e})=>H({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":H({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":H({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:Q1(e.palette.grey[200],.12)}:{backgroundColor:Q1(e.palette.grey[600],.12)})})),at=se(st)({width:24,height:16});function ct(e){const{slots:t={},slotProps:l={}}=e,s=we(e,rt),r=e;return o.jsx("li",{children:o.jsx(it,H({focusRipple:!0},s,{ownerState:r,children:o.jsx(at,H({as:t.CollapsedIcon,ownerState:r},l.collapsedIcon))}))})}function dt(e){return Fe("MuiBreadcrumbs",e)}const ut=$e("MuiBreadcrumbs",["root","ol","li","separator"]),pt=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],ht=e=>{const{classes:t}=e;return qe({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},dt,t)},ft=se(K,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${ut.li}`]:t.li},t.root]})({}),xt=se("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),mt=se("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function vt(e,t,l,s){return e.reduce((r,a,i)=>(i<e.length-1?r=r.concat(a,o.jsx(mt,{"aria-hidden":!0,className:t,ownerState:s,children:l},`separator-${i}`)):r.push(a),r),[])}const _0=R.forwardRef(function(t,l){const s=g1({props:t,name:"MuiBreadcrumbs"}),{children:r,className:a,component:i="nav",slots:c={},slotProps:u={},expandText:f="Show path",itemsAfterCollapse:x=1,itemsBeforeCollapse:g=1,maxItems:z=8,separator:p="/"}=s,d=we(s,pt),[m,b]=R.useState(!1),v=H({},s,{component:i,expanded:m,expandText:f,itemsAfterCollapse:x,itemsBeforeCollapse:g,maxItems:z,separator:p}),C=ht(v),S=u2({elementType:c.CollapsedIcon,externalSlotProps:u.collapsedIcon,ownerState:v}),D=R.useRef(null),L=I=>{const q=()=>{b(!0);const V=D.current.querySelector("a[href],button,[tabindex]");V&&V.focus()};return g+x>=I.length?I:[...I.slice(0,g),o.jsx(ct,{"aria-label":f,slots:{CollapsedIcon:c.CollapsedIcon},slotProps:{collapsedIcon:S},onClick:q},"ellipsis"),...I.slice(I.length-x,I.length)]},M=R.Children.toArray(r).filter(I=>R.isValidElement(I)).map((I,q)=>o.jsx("li",{className:C.li,children:I},`child-${q}`));return o.jsx(ft,H({ref:l,component:i,color:"text.secondary",className:Ue(C.root,a),ownerState:v},d,{children:o.jsx(xt,{className:C.ol,ref:D,ownerState:v,children:vt(m||z&&M.length<=z?M:L(M),C.separator,p,v)})}))});function gt(e){return Fe("MuiStepButton",e)}const n0=$e("MuiStepButton",["root","horizontal","vertical","touchRipple"]),bt=["children","className","icon","optional"],jt=e=>{const{classes:t,orientation:l}=e;return qe({root:["root",l],touchRipple:["touchRipple"]},gt,t)},wt=se(g0,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[{[`& .${n0.touchRipple}`]:t.touchRipple},t.root,t[l.orientation]]}})(({ownerState:e})=>H({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},e.orientation==="vertical"&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${n0.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}})),Rt=R.forwardRef(function(t,l){const s=g1({props:t,name:"MuiStepButton"}),{children:r,className:a,icon:i,optional:c}=s,u=we(s,bt),{disabled:f,active:x}=R.useContext(N0),{orientation:g}=R.useContext(V0),z=H({},s,{orientation:g}),p=jt(z),d={icon:i,optional:c},m=p2(r,["StepLabel"])?R.cloneElement(r,d):o.jsx(tt,H({},d,{children:r}));return o.jsx(wt,H({focusRipple:!0,disabled:f,TouchRippleProps:{className:p.touchRipple},className:Ue(p.root,a),ref:l,ownerState:z,"aria-current":x?"step":void 0},u,{children:m}))});function Ct(e){return Fe("MuiStepContent",e)}$e("MuiStepContent",["root","last","transition"]);const yt=["children","className","TransitionComponent","transitionDuration","TransitionProps"],zt=e=>{const{classes:t,last:l}=e;return qe({root:["root",l&&"last"],transition:["transition"]},Ct,t)},St=se("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[t.root,l.last&&t.last]}})(({ownerState:e,theme:t})=>H({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:t.vars?`1px solid ${t.vars.palette.StepContent.border}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[600]}`},e.last&&{borderLeft:"none"})),kt=se(s1,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),It=R.forwardRef(function(t,l){const s=g1({props:t,name:"MuiStepContent"}),{children:r,className:a,TransitionComponent:i=s1,transitionDuration:c="auto",TransitionProps:u}=s,f=we(s,yt);R.useContext(V0);const{active:x,last:g,expanded:z}=R.useContext(N0),p=H({},s,{last:g}),d=zt(p);let m=c;return c==="auto"&&!i.muiSupportAuto&&(m=void 0),o.jsx(St,H({className:Ue(d.root,a),ref:l,ownerState:p},f,{children:o.jsx(kt,H({as:i,in:x||z,className:d.transition,ownerState:p,timeout:m,unmountOnExit:!0},u,{children:r}))}))});var I1={},Pt=Ie;Object.defineProperty(I1,"__esModule",{value:!0});var E0=I1.default=void 0,Mt=Pt(ke()),Lt=o;E0=I1.default=(0,Mt.default)((0,Lt.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4z"}),"AddBox");var P1={},Tt=Ie;Object.defineProperty(P1,"__esModule",{value:!0});var B0=P1.default=void 0,Dt=Tt(ke()),Nt=o;B0=P1.default=(0,Dt.default)((0,Nt.jsx)("path",{d:"M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H15v-8h5V8zm-1 7V3.5L18.5 9zm4 12.66V16h5.66v2h-2.24l2.95 2.95-1.41 1.41L19 19.41v2.24h-2z"}),"FileOpen");var M1={},Vt=Ie;Object.defineProperty(M1,"__esModule",{value:!0});var A0=M1.default=void 0,_t=Vt(ke()),Et=o;A0=M1.default=(0,_t.default)((0,Et.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutlineOutlined");function L1({did:e,projectId:t,title:l,logo:s,describe:r}){const i=`${`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${e}/${t}/logo/upload`}/${s}`,[c,u]=R.useState(!1),f=We(x=>x.breakpoints.down("md"));return o.jsxs(y,{sx:{display:"flex",flexDirection:"row",color:c?"primary.main":"grey.900",gap:1},onPointerEnter:()=>u(!0),onPointerLeave:()=>u(!1),children:[o.jsx(M0,{sx:{borderRadius:1},src:i}),o.jsxs(y,{children:[o.jsx(je,{hiddenTip:!0,maxLength:"24",sx:{fontSize:"14px",fontWeight:"500",color:f?"primary.main":""},children:l||"/"}),o.jsx(je,{hiddenTip:!0,maxLength:"58",sx:{fontSize:"12px",color:f||c?"primary.main":"grey.700"},children:r||"/"})]})]})}L1.propTypes={projectId:h.string.isRequired,did:h.string.isRequired,title:h.string.isRequired,logo:h.string.isRequired,describe:h.string.isRequired};function T1({initUrl:e}){const t=b1(),l=(e==null?void 0:e.searchParams.get("tenantScope"))||"",{t:s,locale:r}=te(),{api:a}=Re(),{api:i}=i1(),[c,u]=R.useState(!0),{blocklet:f}=Ne(),[x,g]=R.useState(null),[z,p]=R.useState(!1),d=We(k=>k.breakpoints.down("xl")),{componentDid:m=""}=r1(),[b,v]=R.useState(null),C=()=>{a.getProjects({input:{did:f.meta.did,componentDid:m,tenantScope:l}}).then(k=>{const N=(k==null?void 0:k.projects)||[];u(!1),v(N)}).catch(k=>{u(!1),F.error(k.message)})},S=()=>{t(`${J.UNOWNED_DID}/create/none`,{replace:!0})},D=k=>{g(k)},L=()=>{u(!1),p(!0)},M=()=>{p(!1),g(null)},I=k=>{F.error(k.message),p(!1),g(null)},q=k=>{if(!(k!=null&&k.deleted)){F.error("Delete project failed");return}C(),p(!1),g(null)};if(R.useEffect(()=>{C()},[]),!b&&c)return o.jsx(y,{sx:{display:"flex",justifyContent:"center",alignItems:"center",marginTop:"40px"},children:o.jsx(Ge,{})});if(!b)return null;if(!b.length)return o.jsxs(y,{display:"flex",flexDirection:"column",alignItems:"center",pt:10,children:[o.jsx(y,{sx:{fontSize:20,fontWeight:"bold",mb:3},children:s("blocklet.publish.blockletEmptyTip")}),o.jsx(y,{sx:{fontSize:14,color:"text.secondary",mb:3},children:s("blocklet.publish.createBlockletTip")}),o.jsx(t1,{onClick:S,variant:"contained",children:s("blocklet.publish.createBlocklet")})]});const V=[{label:"Blocklet",name:"blockletTitle",minWidth:160,options:{customBodyRenderLite:k=>{const N=b[k];return o.jsx(pe,{to:`${N.id}`,children:o.jsx(L1,{did:f.meta.did,projectId:N.id,logo:N.blockletLogo,title:N.blockletTitle,describe:N.blockletDescription})})}}},{label:"Version",name:"blockletVersion",options:{customBodyRender:k=>k?o.jsx(P0,{type:"success",children:k}):""}},{label:"DID",name:"blockletDid",options:{customBodyRender:k=>k?o.jsx(e0,{size:14,compact:!0,responsive:!1,did:k}):null}},d||m?null:{label:s("common.createdBy"),name:"createdBy",options:{customBodyRender:k=>k?o.jsx(e0,{onClick:()=>{t(`/.well-known/service/admin/members?did=${k}`)},style:{cursor:"pointer"},size:14,compact:!0,copyable:!1,showQrcode:!1,responsive:!1,did:k}):null}},d||m?null:{label:s("common.scope"),name:"componentDid",options:{customBodyRender:k=>{const N=(f.children||[]).find(T=>T.meta.did===k);return N?o.jsxs(y,{display:"flex",alignItems:"center",justifyContent:"flex-start",children:[o.jsx(z1,{size:14,blocklet:N,ancestors:[f]}),o.jsx(y,{ml:.5,sx:{ml:.5,color:"text.primary",fontSize:14},children:N.meta.title})]},k):""}}},d||l?null:{label:s("blocklet.publish.tenantScope"),name:"tenantScope",options:{customBodyRender:k=>o.jsx(y,{ml:.5,sx:{ml:.5,color:"text.primary",fontSize:14},children:o.jsx(je,{children:k})})}},{label:s("common.updatedAt"),name:"updatedAt",options:{customBodyRender:k=>o.jsx(b0,{value:Number(k),locale:r})}},{label:s("common.actions"),name:"actions",options:{customBodyRenderLite:k=>{const N=b[k];return o.jsxs(y,{display:"flex",children:[o.jsx(pe,{to:`${N.id}/new-release/${N.lastReleaseId}`,children:o.jsx(ge,{title:s("blocklet.publish.createRelease"),placement:"top",children:o.jsx(be,{color:"primary","aria-label":"create",children:o.jsx(E0,{style:{fontSize:18}})})})}),!!N.lastReleaseId&&o.jsx(ge,{title:s("blocklet.publish.viewLastRelease",{name:N.blockletTitle}),placement:"top",children:o.jsx(be,{color:"secondary","aria-label":"create",children:o.jsx(pe,{style:{display:"flex"},to:`${N.id}/view/${N.lastReleaseId}`,children:o.jsx(B0,{sx:{fontSize:18}})})})}),o.jsx(ge,{title:s("blocklet.publish.delete",{name:N.blockletTitle}),placement:"top",children:o.jsx(be,{color:"primary","aria-label":"delete",onClick:()=>D(N),children:o.jsx(I0,{sx:{fontSize:18}})})})]})}}}].filter(Boolean),P=z?o.jsx(h2,{open:!0,popup:!0,onClose:M,action:"check-has-project-id",locale:r,checkFn:i.get,saveConnect:!1,forceConnected:!1,checkTimeout:5*60*1e3,onSuccess:q,onError:I,extraParams:{projectId:x.id,did:f.meta.did,name:x.blockletTitle},messages:{title:s("blocklet.publish.deleteProject.title",{name:x.blockletTitle}),scan:s("blocklet.publish.deleteProject.scan",{name:x.blockletTitle}),confirm:s("blocklet.publish.deleteProject.confirm"),success:s("blocklet.publish.deleteProject.success")}}):null;return o.jsxs(Bt,{children:[o.jsxs(y,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[o.jsxs(y,{display:"flex",flexDirection:"row",alignItems:"center",children:[o.jsx(y,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:s("common.blockletStudio")}),o.jsx(ge,{title:s("blocklet.publish.createBlockletTip"),arrow:!0,placement:"right",children:o.jsx(A0,{sx:{opacity:.6,fontSize:"1.1em",ml:1}})})]}),o.jsxs(t1,{onClick:S,variant:"contained",children:[o.jsx(R1,{style:{fontSize:"1.3em",marginRight:4}}),s("blocklet.publish.createBlocklet")]})]}),o.jsx(y,{mt:3}),o.jsx(C1,{className:"main-table",locale:r,data:b,columns:V,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1}}),x&&o.jsx(y1,{title:`${s("common.delete")} ${x.blockletTitle}`,description:s("blocklet.publish.deleteProject.description"),confirm:s("common.confirm"),onConfirm:L,onCancel:()=>g(null),children:o.jsx(y,{sx:{marginTop:2},children:[s("blocklet.publish.deleteProject.tip1"),s("blocklet.publish.deleteProject.tip2"),s("blocklet.publish.deleteProject.tip3")].map(k=>o.jsxs(y,{sx:{display:"flex",marginTop:1,flexDirection:"row",alignItems:"flex-start"},children:[o.jsx(I2,{color:"warning",sx:{marginRight:1,fontSize:20,marginTop:"2px"}}),o.jsx(K,{component:"span",variant:"inherit",color:"text.secondary",children:k})]}))})}),P]})}T1.propTypes={initUrl:h.object};T1.defaultProps={initUrl:null};const Bt=ce(y)`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-BACiBg8Z.js","assets/index-Dd9xMZEz.js","assets/index-D8NuaJ66.css","assets/url-join-UZSSoHtH.js","assets/index-DZ8uRrow.js","assets/_createAggregator-C7QUEqHM.js","assets/index-ClAQ2Uji.js","assets/index-DyVo1ugh.js","assets/index-CrRL_dto.js","assets/fallback-DtXRUNR6.js","assets/index-Hnm-O5Pq.js","assets/Menu-D_GBf1CB.js","assets/Toolbar-CZhQZvMx.js","assets/Hidden-vR0aN6pm.js","assets/index-Ca4BjHEM.js","assets/MoreVert-Dy3B-4PZ.js","assets/FormControlLabel-DoWNBwBW.js","assets/useFormControl-CZU39P72.js","assets/Stack-RoMZEEMb.js","assets/ListItemButton-BeEwzuuE.js","assets/selector-CFf3nrir.js","assets/ExpandMore-CtG_bAfW.js","assets/Avatar-DyK43nCT.js","assets/useSlot-CHjJ1PGq.js","assets/resource-dialog-BBl_2osk.js","assets/index-CJ5QOKhK.js","assets/emotion-cache.browser.esm-DWAkeLNM.js","assets/index-CN4Xbxs7.js","assets/OpenInNew-sKjipJwH.js","assets/index-gZFJJRf-.js","assets/Link-t0X_2s8f.js","assets/Skeleton-B-YzpOQg.js","assets/HelpOutline-Dl-B0PLa.js","assets/index-D7yWEAeI.js","assets/ButtonGroup-DaL5PyR4.js","assets/DialogContentText-BAHpbVEb.js","assets/TextField-OMWgqDee.js","assets/FormControl-BL0Z1NSB.js","assets/Select-Bjc5h4TG.js","assets/index-SC5yW-Mc.js","assets/index-DYz2g4w3.js","assets/index-C3SoKjGs.js","assets/index-DNivnwSJ.js","assets/useThemeProps-BuwBKLg_.js","assets/toPropertyKey-PLuKRk1e.js","assets/index-B463Qwek.js","assets/redux-CluOqhW1.js","assets/ViewColumn-CWRGm9xJ.js","assets/FormGroup-QLbY_ga6.js","assets/Grid-CK8YVFLA.js","assets/Delete-4PM7zdFM.js","assets/LastPage-DGe9hoEM.js","assets/Search-CefeP42d.js","assets/deprecate-D8ZVXehA.js","assets/uniqBy-BjgLQRCz.js","assets/toUpper-CFi1Iac7.js","assets/purify.es-Bq0E5Q3l.js","assets/index-AgKpYdvC.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{av as d2,j as o,aI as se,cR as g0,aM as H,fJ as Q1,aL as we,aG as $e,aH as Fe,T as K,r as R,aK as g1,aN as u2,aO as Ue,aP as qe,cY as p2,fK as s1,Z as ke,$ as Ie,a1 as We,B as y,P as h,G as J,e as b1,u as te,aR as Re,a_ as Ne,bz as r1,a3 as t1,L as pe,bL as b0,a as ge,aE as be,N as h2,t as F,a0 as ce,dG as f2,ac as ze,c as he,I as x2,bW as j1,cj as j0,cM as m2,cV as He,cW as w0,al as v2,da as g2,cQ as Qe,bF as ie,c4 as Ye,fw as b2,aa as Y1,fL as j2,b as ne,n as o1,bo as R0,el as C0,ak as w1,bp as y0,cA as z0,aV as Oe,aU as w2,bh as Me,a5 as S0,fM as Z1,fj as Le,bm as R2,aw as k0,c3 as C2,l as y2,aD as z2,as as S2,at as c1}from"./index-Dd9xMZEz.js";import{d as R1}from"./Add-C5wKbObL.js";import{d as I0,a as k2}from"./Delete-4PM7zdFM.js";import{d as I2}from"./Error-Dln9la_X.js";import{D as C1}from"./index-DNivnwSJ.js";import{T as M0,b as M2}from"./index-4Vv_xV1i.js";import{C as y1}from"./confirm-Ddpyr19d.js";import{u as i1}from"./session-5TSm9LWM.js";import{W as e0}from"./did-address-CM_8YqbE.js";import{E as Ge,D as P2,C as L2,P as T2}from"./react-beautiful-dnd.esm-BJ9lX_Fr.js";import{B as z1}from"./bundle-avatar-Co5kQjOo.js";import{S as je}from"./shorten-label-DN0jrUac.js";import{A as P0}from"./Avatar-DyK43nCT.js";import{d as D2}from"./Download-B85Kmt1U.js";import{d as N2}from"./QuestionMarkCircle-C8r6Lbfw.js";import{b as V2,c as t0,T as _2}from"./index-SC5yW-Mc.js";import{_ as Pe}from"./useSetState-l_4RfoXS.js";import{c as S1}from"./index-DyVo1ugh.js";import{C as h1,L as E2}from"./MoreVert-Dy3B-4PZ.js";import{A as L0}from"./Alert-ClGA4UON.js";import{p as l1}from"./index-CjgG9Mbh.js";import"./api-J-ppmLLo.js";import{i as B2}from"./index-gZFJJRf-.js";import{d as A2}from"./ExpandMore-CtG_bAfW.js";import{d as O2}from"./ChevronRight-B_bmxWe_.js";import{d as H2}from"./OpenInNew-sKjipJwH.js";import{u as T0}from"./useThemeProps-BuwBKLg_.js";import{F as f1}from"./FormControlLabel-DoWNBwBW.js";import{u as $2}from"./useSlotProps-DCQA4xi9.js";import{d as F2}from"./DeleteOutline-23K5_ksg.js";import{c as U2,A as D0,u as q2,S as W2,U as G2}from"./item-CjjCUl_D.js";import{d as K2}from"./ArrowDropDown-CK-CyRRv.js";import{f as De}from"./format-error-BXpFpsa-.js";import{B as x1}from"./ButtonGroup-DaL5PyR4.js";import{T as Te}from"./TextField-OMWgqDee.js";import{I as k1}from"./InputAdornment-DZGc8E9Q.js";import{S as Be}from"./Stack-RoMZEEMb.js";import{C as X2}from"./click-to-copy-CQnFaSnp.js";import{d as J2}from"./Launch-BpxAI4bs.js";import{S as o0}from"./index-C3SoKjGs.js";import{M as Q2}from"./index-CPpIB55-.js";import{p as Y2}from"./purify.es-Bq0E5Q3l.js";import{r as Z2}from"./index-C97ospTS.js";import{d as et}from"./Done-CKRWemQO.js";import{c as N0,d as V0,b as tt,S as ot,a as lt}from"./Stepper-D8zaVBG6.js";import{R as nt,a as l0}from"./RadioGroup-MJhlZ4ZH.js";import"./toPropertyKey-PLuKRk1e.js";import"./emotion-cache.browser.esm-DWAkeLNM.js";import"./index-B463Qwek.js";import"./redux-CluOqhW1.js";import"./ViewColumn-CWRGm9xJ.js";import"./FormControl-BL0Z1NSB.js";import"./useFormControl-CZU39P72.js";import"./FormGroup-QLbY_ga6.js";import"./Grid-CK8YVFLA.js";import"./Select-Bjc5h4TG.js";import"./LastPage-DGe9hoEM.js";import"./Toolbar-CZhQZvMx.js";import"./Search-CefeP42d.js";import"./index-DYz2g4w3.js";import"./DialogContentText-BAHpbVEb.js";import"./Link-t0X_2s8f.js";import"./raf-schd.esm-W-ZrlqpH.js";import"./useSlot-CHjJ1PGq.js";import"./jss-plugin-props-sort.esm-cqAVaHSM.js";const st=d2(o.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),rt=["slots","slotProps"],it=se(g0)(({theme:e})=>H({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":H({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":H({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:Q1(e.palette.grey[200],.12)}:{backgroundColor:Q1(e.palette.grey[600],.12)})})),at=se(st)({width:24,height:16});function ct(e){const{slots:t={},slotProps:l={}}=e,s=we(e,rt),r=e;return o.jsx("li",{children:o.jsx(it,H({focusRipple:!0},s,{ownerState:r,children:o.jsx(at,H({as:t.CollapsedIcon,ownerState:r},l.collapsedIcon))}))})}function dt(e){return Fe("MuiBreadcrumbs",e)}const ut=$e("MuiBreadcrumbs",["root","ol","li","separator"]),pt=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],ht=e=>{const{classes:t}=e;return qe({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},dt,t)},ft=se(K,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${ut.li}`]:t.li},t.root]})({}),xt=se("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),mt=se("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function vt(e,t,l,s){return e.reduce((r,a,i)=>(i<e.length-1?r=r.concat(a,o.jsx(mt,{"aria-hidden":!0,className:t,ownerState:s,children:l},`separator-${i}`)):r.push(a),r),[])}const _0=R.forwardRef(function(t,l){const s=g1({props:t,name:"MuiBreadcrumbs"}),{children:r,className:a,component:i="nav",slots:c={},slotProps:u={},expandText:f="Show path",itemsAfterCollapse:x=1,itemsBeforeCollapse:g=1,maxItems:z=8,separator:p="/"}=s,d=we(s,pt),[m,b]=R.useState(!1),v=H({},s,{component:i,expanded:m,expandText:f,itemsAfterCollapse:x,itemsBeforeCollapse:g,maxItems:z,separator:p}),C=ht(v),S=u2({elementType:c.CollapsedIcon,externalSlotProps:u.collapsedIcon,ownerState:v}),D=R.useRef(null),L=I=>{const q=()=>{b(!0);const V=D.current.querySelector("a[href],button,[tabindex]");V&&V.focus()};return g+x>=I.length?I:[...I.slice(0,g),o.jsx(ct,{"aria-label":f,slots:{CollapsedIcon:c.CollapsedIcon},slotProps:{collapsedIcon:S},onClick:q},"ellipsis"),...I.slice(I.length-x,I.length)]},P=R.Children.toArray(r).filter(I=>R.isValidElement(I)).map((I,q)=>o.jsx("li",{className:C.li,children:I},`child-${q}`));return o.jsx(ft,H({ref:l,component:i,color:"text.secondary",className:Ue(C.root,a),ownerState:v},d,{children:o.jsx(xt,{className:C.ol,ref:D,ownerState:v,children:vt(m||z&&P.length<=z?P:L(P),C.separator,p,v)})}))});function gt(e){return Fe("MuiStepButton",e)}const n0=$e("MuiStepButton",["root","horizontal","vertical","touchRipple"]),bt=["children","className","icon","optional"],jt=e=>{const{classes:t,orientation:l}=e;return qe({root:["root",l],touchRipple:["touchRipple"]},gt,t)},wt=se(g0,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[{[`& .${n0.touchRipple}`]:t.touchRipple},t.root,t[l.orientation]]}})(({ownerState:e})=>H({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},e.orientation==="vertical"&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${n0.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}})),Rt=R.forwardRef(function(t,l){const s=g1({props:t,name:"MuiStepButton"}),{children:r,className:a,icon:i,optional:c}=s,u=we(s,bt),{disabled:f,active:x}=R.useContext(N0),{orientation:g}=R.useContext(V0),z=H({},s,{orientation:g}),p=jt(z),d={icon:i,optional:c},m=p2(r,["StepLabel"])?R.cloneElement(r,d):o.jsx(tt,H({},d,{children:r}));return o.jsx(wt,H({focusRipple:!0,disabled:f,TouchRippleProps:{className:p.touchRipple},className:Ue(p.root,a),ref:l,ownerState:z,"aria-current":x?"step":void 0},u,{children:m}))});function Ct(e){return Fe("MuiStepContent",e)}$e("MuiStepContent",["root","last","transition"]);const yt=["children","className","TransitionComponent","transitionDuration","TransitionProps"],zt=e=>{const{classes:t,last:l}=e;return qe({root:["root",l&&"last"],transition:["transition"]},Ct,t)},St=se("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:l}=e;return[t.root,l.last&&t.last]}})(({ownerState:e,theme:t})=>H({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:t.vars?`1px solid ${t.vars.palette.StepContent.border}`:`1px solid ${t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[600]}`},e.last&&{borderLeft:"none"})),kt=se(s1,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),It=R.forwardRef(function(t,l){const s=g1({props:t,name:"MuiStepContent"}),{children:r,className:a,TransitionComponent:i=s1,transitionDuration:c="auto",TransitionProps:u}=s,f=we(s,yt);R.useContext(V0);const{active:x,last:g,expanded:z}=R.useContext(N0),p=H({},s,{last:g}),d=zt(p);let m=c;return c==="auto"&&!i.muiSupportAuto&&(m=void 0),o.jsx(St,H({className:Ue(d.root,a),ref:l,ownerState:p},f,{children:o.jsx(kt,H({as:i,in:x||z,className:d.transition,ownerState:p,timeout:m,unmountOnExit:!0},u,{children:r}))}))});var I1={},Mt=Ie;Object.defineProperty(I1,"__esModule",{value:!0});var E0=I1.default=void 0,Pt=Mt(ke()),Lt=o;E0=I1.default=(0,Pt.default)((0,Lt.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-2 10h-4v4h-2v-4H7v-2h4V7h2v4h4z"}),"AddBox");var M1={},Tt=Ie;Object.defineProperty(M1,"__esModule",{value:!0});var B0=M1.default=void 0,Dt=Tt(ke()),Nt=o;B0=M1.default=(0,Dt.default)((0,Nt.jsx)("path",{d:"M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H15v-8h5V8zm-1 7V3.5L18.5 9zm4 12.66V16h5.66v2h-2.24l2.95 2.95-1.41 1.41L19 19.41v2.24h-2z"}),"FileOpen");var P1={},Vt=Ie;Object.defineProperty(P1,"__esModule",{value:!0});var A0=P1.default=void 0,_t=Vt(ke()),Et=o;A0=P1.default=(0,_t.default)((0,Et.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutlineOutlined");function L1({did:e,projectId:t,title:l,logo:s,describe:r}){const i=`${`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${e}/${t}/logo/upload`}/${s}`,[c,u]=R.useState(!1),f=We(x=>x.breakpoints.down("md"));return o.jsxs(y,{sx:{display:"flex",flexDirection:"row",color:c?"primary.main":"grey.900",gap:1},onPointerEnter:()=>u(!0),onPointerLeave:()=>u(!1),children:[o.jsx(P0,{sx:{borderRadius:1},src:i}),o.jsxs(y,{children:[o.jsx(je,{hiddenTip:!0,maxLength:"24",sx:{fontSize:"14px",fontWeight:"500",color:f?"primary.main":""},children:l||"/"}),o.jsx(je,{hiddenTip:!0,maxLength:"58",sx:{fontSize:"12px",color:f||c?"primary.main":"grey.700"},children:r||"/"})]})]})}L1.propTypes={projectId:h.string.isRequired,did:h.string.isRequired,title:h.string.isRequired,logo:h.string.isRequired,describe:h.string.isRequired};function T1({initUrl:e}){const t=b1(),l=(e==null?void 0:e.searchParams.get("tenantScope"))||"",{t:s,locale:r}=te(),{api:a}=Re(),{api:i}=i1(),[c,u]=R.useState(!0),{blocklet:f}=Ne(),[x,g]=R.useState(null),[z,p]=R.useState(!1),d=We(k=>k.breakpoints.down("xl")),{componentDid:m=""}=r1(),[b,v]=R.useState(null),C=()=>{a.getProjects({input:{did:f.meta.did,componentDid:m,tenantScope:l}}).then(k=>{const N=(k==null?void 0:k.projects)||[];u(!1),v(N)}).catch(k=>{u(!1),F.error(k.message)})},S=()=>{t(`${J.UNOWNED_DID}/create/none`,{replace:!0})},D=k=>{g(k)},L=()=>{u(!1),p(!0)},P=()=>{p(!1),g(null)},I=k=>{F.error(k.message),p(!1),g(null)},q=k=>{if(!(k!=null&&k.deleted)){F.error("Delete project failed");return}C(),p(!1),g(null)};if(R.useEffect(()=>{C()},[]),!b&&c)return o.jsx(y,{sx:{display:"flex",justifyContent:"center",alignItems:"center",marginTop:"40px"},children:o.jsx(Ge,{})});if(!b)return null;if(!b.length)return o.jsxs(y,{display:"flex",flexDirection:"column",alignItems:"center",pt:10,children:[o.jsx(y,{sx:{fontSize:20,fontWeight:"bold",mb:3},children:s("blocklet.publish.blockletEmptyTip")}),o.jsx(y,{sx:{fontSize:14,color:"text.secondary",mb:3},children:s("blocklet.publish.createBlockletTip")}),o.jsx(t1,{onClick:S,variant:"contained",children:s("blocklet.publish.createBlocklet")})]});const V=[{label:"Blocklet",name:"blockletTitle",minWidth:160,options:{customBodyRenderLite:k=>{const N=b[k];return o.jsx(pe,{to:`${N.id}`,children:o.jsx(L1,{did:f.meta.did,projectId:N.id,logo:N.blockletLogo,title:N.blockletTitle,describe:N.blockletDescription})})}}},{label:"Version",name:"blockletVersion",options:{customBodyRender:k=>k?o.jsx(M0,{type:"success",children:k}):""}},{label:"DID",name:"blockletDid",options:{customBodyRender:k=>k?o.jsx(e0,{size:14,compact:!0,responsive:!1,did:k}):null}},d||m?null:{label:s("common.createdBy"),name:"createdBy",options:{customBodyRender:k=>k?o.jsx(e0,{onClick:()=>{t(`/.well-known/service/admin/members?did=${k}`)},style:{cursor:"pointer"},size:14,compact:!0,copyable:!1,showQrcode:!1,responsive:!1,did:k}):null}},d||m?null:{label:s("common.scope"),name:"componentDid",options:{customBodyRender:k=>{const N=(f.children||[]).find(T=>T.meta.did===k);return N?o.jsxs(y,{display:"flex",alignItems:"center",justifyContent:"flex-start",children:[o.jsx(z1,{size:14,blocklet:N,ancestors:[f]}),o.jsx(y,{ml:.5,sx:{ml:.5,color:"text.primary",fontSize:14},children:N.meta.title})]},k):""}}},d||l?null:{label:s("blocklet.publish.tenantScope"),name:"tenantScope",options:{customBodyRender:k=>o.jsx(y,{ml:.5,sx:{ml:.5,color:"text.primary",fontSize:14},children:o.jsx(je,{children:k})})}},{label:s("common.updatedAt"),name:"updatedAt",options:{customBodyRender:k=>o.jsx(b0,{value:Number(k),locale:r})}},{label:s("common.actions"),name:"actions",options:{customBodyRenderLite:k=>{const N=b[k];return o.jsxs(y,{display:"flex",children:[o.jsx(pe,{to:`${N.id}/new-release/${N.lastReleaseId}`,children:o.jsx(ge,{title:s("blocklet.publish.createRelease"),placement:"top",children:o.jsx(be,{color:"primary","aria-label":"create",children:o.jsx(E0,{style:{fontSize:18}})})})}),!!N.lastReleaseId&&o.jsx(ge,{title:s("blocklet.publish.viewLastRelease",{name:N.blockletTitle}),placement:"top",children:o.jsx(be,{color:"secondary","aria-label":"create",children:o.jsx(pe,{style:{display:"flex"},to:`${N.id}/view/${N.lastReleaseId}`,children:o.jsx(B0,{sx:{fontSize:18}})})})}),o.jsx(ge,{title:s("blocklet.publish.delete",{name:N.blockletTitle}),placement:"top",children:o.jsx(be,{color:"primary","aria-label":"delete",onClick:()=>D(N),children:o.jsx(I0,{sx:{fontSize:18}})})})]})}}}].filter(Boolean),M=z?o.jsx(h2,{open:!0,popup:!0,onClose:P,action:"check-has-project-id",locale:r,checkFn:i.get,saveConnect:!1,forceConnected:!1,checkTimeout:5*60*1e3,onSuccess:q,onError:I,extraParams:{projectId:x.id,did:f.meta.did,name:x.blockletTitle},messages:{title:s("blocklet.publish.deleteProject.title",{name:x.blockletTitle}),scan:s("blocklet.publish.deleteProject.scan",{name:x.blockletTitle}),confirm:s("blocklet.publish.deleteProject.confirm"),success:s("blocklet.publish.deleteProject.success")}}):null;return o.jsxs(Bt,{children:[o.jsxs(y,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[o.jsxs(y,{display:"flex",flexDirection:"row",alignItems:"center",children:[o.jsx(y,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:s("common.blockletStudio")}),o.jsx(ge,{title:s("blocklet.publish.createBlockletTip"),arrow:!0,placement:"right",children:o.jsx(A0,{sx:{opacity:.6,fontSize:"1.1em",ml:1}})})]}),o.jsxs(t1,{onClick:S,variant:"contained",children:[o.jsx(R1,{style:{fontSize:"1.3em",marginRight:4}}),s("blocklet.publish.createBlocklet")]})]}),o.jsx(y,{mt:3}),o.jsx(C1,{className:"main-table",locale:r,data:b,columns:V,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1}}),x&&o.jsx(y1,{title:`${s("common.delete")} ${x.blockletTitle}`,description:s("blocklet.publish.deleteProject.description"),confirm:s("common.confirm"),onConfirm:L,onCancel:()=>g(null),children:o.jsx(y,{sx:{marginTop:2},children:[s("blocklet.publish.deleteProject.tip1"),s("blocklet.publish.deleteProject.tip2"),s("blocklet.publish.deleteProject.tip3")].map(k=>o.jsxs(y,{sx:{display:"flex",marginTop:1,flexDirection:"row",alignItems:"flex-start"},children:[o.jsx(I2,{color:"warning",sx:{marginRight:1,fontSize:20,marginTop:"2px"}}),o.jsx(K,{component:"span",variant:"inherit",color:"text.secondary",children:k})]}))})}),M]})}T1.propTypes={initUrl:h.object};T1.defaultProps={initUrl:null};const Bt=ce(y)`
|
|
3
3
|
.main-table > div:first-child {
|
|
4
4
|
display: none;
|
|
5
5
|
}
|
|
6
|
-
`;var D1={},At=Ie;Object.defineProperty(D1,"__esModule",{value:!0});var O0=D1.default=void 0,Ot=At(ke()),s0=o;O0=D1.default=(0,Ot.default)([(0,s0.jsx)("path",{d:"M20 17H4V5h8V3H4c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h4v2h8v-2h4c1.1 0 2-.9 2-2v-3h-2z"},"0"),(0,s0.jsx)("path",{d:"m17 14 5-5-1.41-1.41L18 10.17V3h-2v7.17l-2.59-2.58L12 9z"},"1")],"InstallDesktop");function Ht(){var L;const{t:e,locale:t}=te(),{projectId:l}=r1(),{api:s}=Re(),[r,a]=R.useState(!0),{blocklet:i}=Ne(),c=We(
|
|
6
|
+
`;var D1={},At=Ie;Object.defineProperty(D1,"__esModule",{value:!0});var O0=D1.default=void 0,Ot=At(ke()),s0=o;O0=D1.default=(0,Ot.default)([(0,s0.jsx)("path",{d:"M20 17H4V5h8V3H4c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h4v2h8v-2h4c1.1 0 2-.9 2-2v-3h-2z"},"0"),(0,s0.jsx)("path",{d:"m17 14 5-5-1.41-1.41L18 10.17V3h-2v7.17l-2.59-2.58L12 9z"},"1")],"InstallDesktop");function Ht(){var L;const{t:e,locale:t}=te(),{projectId:l}=r1(),{api:s}=Re(),[r,a]=R.useState(!0),{blocklet:i}=Ne(),c=We(P=>P.breakpoints.down("md")),[u,f]=R.useState(null),[x,g]=R.useState(null),[z,p]=R.useState(null),d=(L=window.env)==null?void 0:L.serverEndpoint,m=()=>{s.getReleases({input:{did:i.meta.did,projectId:l}}).then(P=>{const I=(P==null?void 0:P.releases)||[];a(!1),f(I)}).catch(P=>{a(!1),F.error(P.message)})},b=()=>{s.doBatchQuery({getProject:{input:{did:i.meta.did,projectId:l}},getReleases:{input:{did:i.meta.did,projectId:l}}}).then(P=>{g(P.getProject.project||{}),f(P.getReleases.releases||[]),a(!1)}).catch(P=>{a(!1),F.error(P.message)})};R.useEffect(()=>{b()},[]);const v=()=>{a(!1);const P=z.id;s.deleteRelease({input:{did:i.meta.did,projectId:l,releaseId:P}}).then(()=>{a(!1),m(),F.success(e("common.removeSuccess")),p(null)}).catch(I=>{a(!1),F.error(I.message)})},C=P=>{p(P)};if(!u&&r)return o.jsx(y,{sx:{display:"flex",justifyContent:"center",alignItems:"center",marginTop:"40px"},children:o.jsx(Ge,{})});if(!u)return null;const S=o.jsxs(_0,{className:"breadcrumbs","aria-label":"breadcrumb",children:[o.jsx(pe,{to:"..",children:e("common.blockletStudio")}),o.jsx(K,{color:"text.primary",children:o.jsx(je,{maxLength:c?6:30,children:x.blockletTitle})})]});if(!u.length)return o.jsxs(o.Fragment,{children:[S,o.jsxs(y,{display:"flex",flexDirection:"column",alignItems:"center",pt:10,children:[o.jsx(y,{sx:{fontSize:20,fontWeight:"bold",mb:3},children:e("blocklet.publish.releaseEmptyTip")}),o.jsx(y,{sx:{fontSize:14,color:"text.secondary",mb:3},children:e("blocklet.publish.createReleaseTip")}),o.jsx(pe,{to:"create/none",children:o.jsx(t1,{variant:"contained",children:e("blocklet.publish.createRelease")})})]})]});const D=[{label:e("common.version"),name:"blockletVersion",minWidth:160,options:{customBodyRenderLite:P=>{const I=u[P];return o.jsx(pe,{to:`view/${I.id}`,children:o.jsx(L1,{did:i.meta.did,projectId:x.id,logo:I.blockletLogo,title:I.blockletVersion,describe:I.blockletTitle})})}}},{label:e("blocklet.publish.releaseNote"),name:"note",options:{customBodyRenderLite:P=>{const I=u[P];return o.jsx(K,{className:"note",children:I.note||""})}}},{label:e("common.status"),name:"status",options:{customBodyRender:P=>o.jsx(M0,{type:P==="published"?"success":"warning",children:P==="published"?"Released":f2(P)})}},{label:e("common.lastPublishedAt"),name:"updatedAt",options:{customBodyRenderLite:P=>{const I=u[P];return I.status!==ze.PROJECT.RELEASE_STATUS.published?"":o.jsx(b0,{value:Number(I.updatedAt),locale:t})}}},{label:e("common.actions"),name:"actions",options:{customBodyRenderLite:P=>{var N;const I=u[P];let q="",V="";const M=I.status==="published";if(M){const T=he(d,`/api/project/${i.meta.did}/${x.id}/${x.lastReleaseId}/release/blocklet.json`),E=new URL(d);E.pathname=he(E.pathname,"/launch-blocklet/agreement"),E.searchParams.set("blocklet_meta_url",T),q=E.href,V=he(`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${i.meta.did}/${x.id}/${x.lastReleaseId}/download/${(x.lastReleaseFiles||[])[0]}`)}const k=(N=x.blockletComponents)!=null&&N.some(T=>T.included)||I.uploadedResource?"pack":"resource";return o.jsxs(y,{display:"flex",alignItems:"center",children:[M&&k==="pack"&&o.jsx(ge,{title:e("blocklet.publish.install",{name:x.blockletTitle}),placement:"top",children:o.jsx(be,{color:"secondary","aria-label":"create",children:o.jsx("a",{style:{display:"flex"},href:q,target:"_blank",rel:"noreferrer",children:o.jsx(O0,{sx:{fontSize:18}})})})}),M&&o.jsx(ge,{title:e("blocklet.publish.download",{name:x.blockletTitle}),placement:"top",children:o.jsx(be,{color:"primary","aria-label":"download",children:o.jsx("a",{style:{display:"flex"},href:V,children:o.jsx(D2,{sx:{fontSize:18}})})})}),o.jsx(ge,{title:e("blocklet.publish.delete",{name:x.blockletTitle}),placement:"top",children:o.jsx(be,{color:"primary","aria-label":"delete",onClick:()=>C(I),children:o.jsx(I0,{sx:{fontSize:18}})})})]})}}}];return o.jsxs($t,{children:[o.jsxs(y,{className:"header",children:[S,o.jsx(pe,{to:"new-release/none",children:o.jsxs(t1,{variant:"contained",children:[o.jsx(R1,{style:{fontSize:"1.3em",marginRight:4}}),e("blocklet.publish.createRelease")]})})]}),o.jsx(C1,{className:"main-table",verticalKeyWidth:100,locale:t,data:u,columns:D,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1}}),z&&o.jsx(y1,{title:e(`${e("common.delete")} ${z.blockletVersion}`),description:e("blocklet.publish.deleteReleaseTip"),confirm:e("common.confirm"),onConfirm:v,onCancel:()=>p(null)})]})}const $t=ce(y)`
|
|
7
7
|
.header {
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
@@ -19,7 +19,7 @@ import{at as d2,j as o,aG as se,cQ as g0,aK as H,fG as Q1,aJ as we,aE as $e,aF a
|
|
|
19
19
|
word-break: break-all;
|
|
20
20
|
white-space: pre-line;
|
|
21
21
|
}
|
|
22
|
-
`;var j={},Ke;Object.defineProperty(j,"__esModule",{value:!0});j.WalletTextLogo=j.Tx=j.Token=j.Team=j.Switch=j.StoreLogoNotext=j.StoreLogoBg=j.StoreLogo=j.Store=j.Setting=j.ServerLogoNotext=j.ServerLogoBg=j.ServerLogo=j.Server=j.Rollup=j.RevokeIcon=j.QuestionMarkCircle=j.Plan=j.PersonIcon=j.Pending=j.PassportIcon=j.OpenIn=j.Notification=j.NFT=j.Mobile=j.Log=j.LockIcon=j.LauncherLogoNotext=j.LauncherLogoBg=j.LauncherLogo=j.Label=j.Key=j.Globe=j.ForbidLoginIcon=j.ExternalIssuerIcon=Ke=j.EmptyIcon=j.EditIcon=j.Disconnect=j.DidWalletLogo=j.DidWallet=j.DidLogoColorful=j.DidLogo=j.DeleteIcon=j.Dashboard=j.Dapp=j.Copy=j.ConnectLogo=j.Connect=j.Computer=j.CodeFolder=j.Circles=j.BridgeMoveOut=j.BridgeMoveIn=j.Bridge=j.Blocklets=j.Approve=j.AllowLoginIcon=j.Add=j.Account=j.ABTNode=void 0;Ft(R);var n=o;function Ft(e){return e&&e.__esModule?e:{default:e}}function r0(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),l.push.apply(l,s)}return l}function w(e){for(var t=1;t<arguments.length;t++){var l=arguments[t]!=null?arguments[t]:{};t%2?r0(Object(l),!0).forEach(function(s){Ut(e,s,l[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):r0(Object(l)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(l,s))})}return e}function Ut(e,t,l){return(t=qt(t))in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function qt(e){var t=Wt(e,"string");return typeof t=="symbol"?t:t+""}function Wt(e,t){if(typeof e!="object"||!e)return e;var l=e[Symbol.toPrimitive];if(l!==void 0){var s=l.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Gt=j.Computer=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M5.472.371H60.94c3.061 0 5.565 2.412 5.565 5.473v35.431c0 3.061-2.504 5.658-5.565 5.658H39.328v9.183h15.768c2.319 0 2.504 7.606 2.782 7.884H8.626s0-7.884 2.783-7.884h15.768v-9.183H5.472C2.412 46.933 0 44.336 0 41.275V5.844C0 2.783 2.412.37 5.472.37zm0 40.904H60.94V5.844H5.472v35.431z"})}))};Gt.defaultProps={width:"67",height:"64",viewBox:"0 0 67 64",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Kt=j.ConnectLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"}),(0,n.jsx)("path",{d:"M138.44 27.684c.192 0 .357.075.496.224l1.344 1.472a9.584 9.584 0 0 1-3.44 2.576c-1.344.608-2.965.912-4.864.912-1.664 0-3.173-.288-4.528-.864a10.056 10.056 0 0 1-3.456-2.416c-.949-1.035-1.685-2.272-2.208-3.712-.523-1.44-.784-3.024-.784-4.752 0-1.728.272-3.312.816-4.752.555-1.44 1.328-2.677 2.32-3.712a10.444 10.444 0 0 1 3.552-2.416c1.387-.576 2.917-.864 4.592-.864 1.632 0 3.083.267 4.352.8a10.973 10.973 0 0 1 3.312 2.128l-1.12 1.584a.936.936 0 0 1-.288.288.742.742 0 0 1-.432.112c-.203 0-.443-.101-.72-.304a8.802 8.802 0 0 0-1.072-.672c-.437-.256-.981-.485-1.632-.688-.651-.203-1.461-.304-2.432-.304-1.141 0-2.187.203-3.136.608a6.885 6.885 0 0 0-2.464 1.728c-.683.747-1.216 1.67-1.6 2.768-.373 1.088-.56 2.32-.56 3.696 0 1.397.197 2.64.592 3.728.395 1.088.939 2.01 1.632 2.768a6.914 6.914 0 0 0 2.448 1.728 7.764 7.764 0 0 0 3.04.592c.661 0 1.253-.037 1.776-.112a7.843 7.843 0 0 0 1.456-.368c.448-.16.869-.363 1.264-.608a8.89 8.89 0 0 0 1.168-.912c.085-.075.176-.133.272-.176a.616.616 0 0 1 .304-.08zM149.68 16.1c1.195 0 2.272.197 3.232.592a6.54 6.54 0 0 1 2.464 1.68c.683.725 1.205 1.605 1.568 2.64.363 1.024.544 2.176.544 3.456 0 1.28-.181 2.437-.544 3.472-.363 1.035-.885 1.915-1.568 2.64a6.795 6.795 0 0 1-2.464 1.68c-.96.384-2.037.576-3.232.576-1.205 0-2.293-.192-3.264-.576a6.987 6.987 0 0 1-2.464-1.68c-.683-.725-1.211-1.605-1.584-2.64-.363-1.035-.544-2.192-.544-3.472 0-1.28.181-2.432.544-3.456.373-1.035.901-1.915 1.584-2.64a6.717 6.717 0 0 1 2.464-1.68c.971-.395 2.059-.592 3.264-.592zm0 14.304c1.536 0 2.683-.517 3.44-1.552.757-1.035 1.136-2.49 1.136-4.368 0-1.877-.379-3.333-1.136-4.368-.757-1.045-1.904-1.568-3.44-1.568-1.557 0-2.72.523-3.488 1.568-.757 1.035-1.136 2.49-1.136 4.368 0 1.877.379 3.333 1.136 4.368.768 1.035 1.931 1.552 3.488 1.552zM163.899 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.442 6.442 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448.682.299 1.253.72 1.712 1.264.458.533.805 1.179 1.04 1.936.234.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.534-.65-1.35-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.38 7.38 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM181.805 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.448 6.448 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448a4.63 4.63 0 0 1 1.712 1.264c.459.533.805 1.179 1.04 1.936.235.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.533-.65-1.349-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.396 7.396 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM207.551 22.676c0-.619-.09-1.19-.272-1.712a3.77 3.77 0 0 0-.768-1.36 3.521 3.521 0 0 0-1.248-.896c-.49-.213-1.056-.32-1.696-.32-1.312 0-2.346.379-3.104 1.136-.746.757-1.221 1.808-1.424 3.152h8.512zm2.576 7.616a6.311 6.311 0 0 1-1.328 1.168 7.926 7.926 0 0 1-1.6.784 9.664 9.664 0 0 1-1.76.448c-.597.096-1.189.144-1.776.144-1.12 0-2.16-.187-3.12-.56a7.159 7.159 0 0 1-2.48-1.664c-.693-.736-1.237-1.643-1.632-2.72-.384-1.088-.576-2.336-.576-3.744 0-1.13.176-2.181.528-3.152a7.67 7.67 0 0 1 1.504-2.56 7.064 7.064 0 0 1 2.416-1.712c.95-.416 2.016-.624 3.2-.624.992 0 1.904.165 2.736.496.843.32 1.568.79 2.176 1.408.608.619 1.083 1.381 1.424 2.288.352.907.528 1.941.528 3.104 0 .48-.053.805-.16.976-.106.16-.304.24-.592.24h-10.656c.032.97.171 1.819.416 2.544.246.715.582 1.312 1.008 1.792.438.48.955.837 1.552 1.072.598.235 1.264.352 2 .352.694 0 1.291-.08 1.792-.24.512-.16.95-.33 1.312-.512.374-.192.683-.368.928-.528.256-.16.48-.24.672-.24.256 0 .454.096.592.288l.896 1.152zM225.113 19.396a1.836 1.836 0 0 1-.288.288c-.086.064-.214.096-.384.096-.171 0-.352-.064-.544-.192a4.872 4.872 0 0 0-.704-.432 5.21 5.21 0 0 0-1.024-.432c-.395-.139-.886-.208-1.472-.208-.768 0-1.446.139-2.032.416a3.972 3.972 0 0 0-1.472 1.184c-.384.512-.678 1.136-.88 1.872-.203.736-.304 1.563-.304 2.48 0 .95.106 1.797.32 2.544.213.736.517 1.36.912 1.872.394.501.874.885 1.44 1.152a4.522 4.522 0 0 0 1.888.384c.672 0 1.226-.08 1.664-.24.437-.17.8-.352 1.088-.544.288-.192.528-.368.72-.528.192-.17.389-.256.592-.256.256 0 .453.096.592.288l.896 1.152a5.966 5.966 0 0 1-1.264 1.168c-.459.32-.95.581-1.472.784a8.34 8.34 0 0 1-1.648.448c-.566.096-1.142.144-1.728.144a7.25 7.25 0 0 1-2.848-.56 6.52 6.52 0 0 1-2.288-1.632c-.64-.715-1.147-1.59-1.52-2.624-.374-1.045-.56-2.23-.56-3.552 0-1.205.165-2.32.496-3.344.341-1.024.837-1.904 1.488-2.64a6.821 6.821 0 0 1 2.432-1.744c.96-.427 2.058-.64 3.296-.64 1.162 0 2.186.187 3.072.56a7.514 7.514 0 0 1 2.368 1.584l-.832 1.152zM234.121 32.868c-1.312 0-2.325-.368-3.04-1.104-.704-.736-1.056-1.787-1.056-3.152v-9.728h-1.888a.701.701 0 0 1-.464-.16c-.117-.117-.176-.288-.176-.512v-1.264l2.64-.368.704-4.848a.738.738 0 0 1 .24-.416.724.724 0 0 1 .48-.16h1.584v5.456h4.608v2.272h-4.608v9.52c0 .64.155 1.12.464 1.44.32.31.726.464 1.216.464.288 0 .534-.037.736-.112a3.27 3.27 0 0 0 .544-.24c.15-.096.278-.181.384-.256a.521.521 0 0 1 .288-.112c.107 0 .187.027.24.08a.694.694 0 0 1 .192.224l.928 1.504c-.512.47-1.12.832-1.824 1.088a6.362 6.362 0 0 1-2.192.384z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z"})]}))};Kt.defaultProps={width:"239",height:"42",viewBox:"0 0 239 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Xt=j.Copy=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M12.342.063h-9.75A1.63 1.63 0 0 0 .967 1.688v11.374h1.625V1.688h9.75V.063zm2.437 3.25H5.842a1.63 1.63 0 0 0-1.625 1.624v11.375a1.63 1.63 0 0 0 1.625 1.625h8.937a1.63 1.63 0 0 0 1.625-1.625V4.938a1.63 1.63 0 0 0-1.625-1.625zm0 13H5.842V4.938h8.937v11.375z"})}))};Xt.defaultProps={width:"17",height:"18",viewBox:"0 0 17 18",xmlns:"http://www.w3.org/2000/svg"};var Jt=j.DidLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"})]}))};Jt.defaultProps={width:"43",height:"42",viewBox:"0 0 43 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Qt=j.DidLogoColorful=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M7.366.646L8.46 0h3.981v11.96H8.564a.381.381 0 0 1-.194-.053L4.18 9.431V2.53l.508-.3.893.528-.508.3v5.845L8.7 11.046h2.85V.914h-2.85l-.44.26-.893-.528z",fill:"color(display-p3 .4196 .7412 .9961)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.868 8.903V3.057L4.242.915H1.393v10.132h2.85l.44-.26.893.527-1.095.647H.5V0h3.981l4.28 2.53v6.9l-.506.3-.893-.528.506-.299z",fill:"color(display-p3 .2706 .5961 .9804)"})]}))};Qt.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none"};var Yt=j.DidWallet=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,n.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"url(#paint0_linear)"}),(0,n.jsx)("path",{d:"M3.52 7.36A2.56 2.56 0 0 1 6.08 4.8h19.84a2.56 2.56 0 0 1 2.56 2.56v12.16a2.56 2.56 0 0 1-2.56 2.56H6.08a2.56 2.56 0 0 1-2.56-2.56V7.36z",fill:"#9FCBFF",filter:"url(#filter0_i)"}),(0,n.jsx)("path",{d:"M2.56 9.28a2.56 2.56 0 0 1 2.56-2.56h21.76a2.56 2.56 0 0 1 2.56 2.56v13.6a2.56 2.56 0 0 1-2.56 2.56H5.12a2.56 2.56 0 0 1-2.56-2.56V9.28z",fill:"url(#paint1_linear)",filter:"url(#filter1_d)"}),(0,n.jsx)("path",{d:"M0 22.32l32-6.16V32H0v-9.68z",fill:"url(#paint2_linear)",filter:"url(#filter2_d)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.536 9.248h8.288c.408 0 .74.3.74.672v4.64c0 .371-.332.672-.74.672H5.536c-.408 0-.74-.3-.74-.672v-.04a.158.158 0 1 0-.316 0v.04c0 .53.473.96 1.056.96h8.288c.583 0 1.056-.43 1.056-.96V9.92c0-.53-.473-.96-1.056-.96H5.536c-.583 0-1.056.43-1.056.96v.04a.158.158 0 0 0 .317 0v-.04c0-.371.33-.672.739-.672zm-1.023 4.638a.127.127 0 0 0 .087.034h1.267c.472 0 .83-.107 1.076-.322.25-.217.381-.548.397-.993a11.281 11.281 0 0 0 0-.734c-.012-.426-.148-.751-.406-.975-.258-.224-.622-.336-1.09-.336H4.6a.127.127 0 0 0-.087.034.117.117 0 0 0-.033.086v3.12c0 .032.011.06.033.086zm1.794-.806c-.099.1-.253.149-.464.149h-.502V11.25h.478c.21 0 .369.051.474.154.108.102.166.26.172.475.006.09.01.208.01.355s-.004.267-.01.36c-.006.221-.059.383-.158.485zm1.63.806a.127.127 0 0 0 .087.034h.64a.116.116 0 0 0 .087-.034.11.11 0 0 0 .038-.086v-3.12a.11.11 0 0 0-.038-.086.116.116 0 0 0-.086-.034h-.641a.127.127 0 0 0-.087.034.117.117 0 0 0-.033.086v3.12c0 .032.011.06.033.086zm1.637.034a.127.127 0 0 1-.086-.034.128.128 0 0 1-.033-.086v-3.12c0-.035.01-.064.033-.086a.127.127 0 0 1 .086-.034h1.244c.469 0 .832.112 1.09.336.259.224.394.549.407.974a11.244 11.244 0 0 1 0 .735c-.016.445-.148.776-.397.993-.245.215-.604.322-1.076.322H9.574zm1.244-.691c.21 0 .365-.05.464-.149.099-.102.152-.264.158-.485a5.52 5.52 0 0 0 .01-.36c0-.147-.004-.265-.01-.355-.006-.214-.064-.373-.172-.475-.106-.103-.263-.154-.474-.154h-.478v1.978h.502zm2.468-1.382a.288.288 0 0 1-.288-.286.288.288 0 0 1 .576 0c0 .158-.13.286-.288.286zm0 1.495a.288.288 0 0 1-.288-.286.288.288 0 0 1 .576 0c0 .158-.13.287-.288.287z",fill:"#4598FA"})]}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("filter",{id:"filter0_i",x:"3.52",y:"1.8",width:"24.96",height:"20.28",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{dy:"-3"}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,n.jsx)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),(0,n.jsx)("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.2 0"}),(0,n.jsx)("feBlend",{in2:"shape",result:"effect1_innerShadow"})]}),(0,n.jsxs)("filter",{id:"filter1_d",x:"-1.44",y:"1.72",width:"34.88",height:"26.72",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{dy:"-1"}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,n.jsx)("feColorMatrix",{values:"0 0 0 0 0.220767 0 0 0 0 0.470803 0 0 0 0 0.701605 0 0 0 0.18 0"}),(0,n.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,n.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,n.jsxs)("filter",{id:"filter2_d",x:"-5",y:"11.16",width:"42",height:"25.84",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"2.5"}),(0,n.jsx)("feColorMatrix",{values:"0 0 0 0 0.14382 0 0 0 0 0.205065 0 0 0 0 0.522634 0 0 0 0.25 0"}),(0,n.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,n.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,n.jsxs)("linearGradient",{id:"paint0_linear",x1:"16",x2:"16",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#4F9DF6"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#0A79F8"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear",x1:"16",y1:"6.72",x2:"16",y2:"25.44",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#fff"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#ECEFFF"})]}),(0,n.jsxs)("linearGradient",{id:"paint2_linear",x1:"16",y1:"19.2",x2:"18.48",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:".007",stopColor:"#77B2F6"}),(0,n.jsx)("stop",{offset:".055",stopColor:"#4F9DF6"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#4598FA"})]}),(0,n.jsx)("clipPath",{id:"clip0",children:(0,n.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"#fff"})})]})]}))};Yt.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Zt=j.Disconnect=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M21.78 3.28a.75.75 0 0 0-1.06-1.06l-2.012 2.012a4.25 4.25 0 0 0-5.463.462l-1.068 1.069a1.75 1.75 0 0 0 0 2.474l3.585 3.586a1.75 1.75 0 0 0 2.475 0l1.068-1.068a4.251 4.251 0 0 0 .463-5.463L21.78 3.28zm-3.585 2.475l.022.023.003.002.002.003.023.022a2.75 2.75 0 0 1 0 3.89l-1.068 1.067a.25.25 0 0 1-.354 0l-3.586-3.585a.251.251 0 0 1 0-.354l1.068-1.068a2.75 2.75 0 0 1 3.89 0zM10.78 11.28a.75.75 0 1 0-1.06-1.06L8 11.94l-.47-.47a.75.75 0 0 0-1.06 0l-1.775 1.775a4.251 4.251 0 0 0-.463 5.463L2.22 20.72a.75.75 0 1 0 1.06 1.06l2.012-2.012a4.251 4.251 0 0 0 5.463-.463l1.775-1.775a.75.75 0 0 0 0-1.06l-.47-.47 1.72-1.72a.75.75 0 1 0-1.06-1.06L11 14.94 9.06 13l1.72-1.72zm-3.314 2.247l.004.003.003.004 2.993 2.993.004.003.003.004.466.466-1.244 1.245a2.75 2.75 0 0 1-3.89 0l-.05-.05a2.75 2.75 0 0 1 0-3.89L7 13.062l.466.466v-.001z",fill:"currentColor"})}))};Zt.defaultProps={viewBox:"0 0 24 24",fill:"none"};var eo=j.Mobile=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M3.833.833h13.334A3.333 3.333 0 0 1 20.5 4.167v26.666a3.333 3.333 0 0 1-3.333 3.334H3.833A3.333 3.333 0 0 1 .5 30.833V4.168A3.333 3.333 0 0 1 3.833.833zm0 3.334v25h13.334v-25H3.833z"})}))};eo.defaultProps={width:"21",height:"35",viewBox:"0 0 21 35",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var to=j.OpenIn=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.924 3.617a.997.997 0 0 0-.215-.322l-.004-.004A.997.997 0 0 0 20 3h-6a1 1 0 1 0 0 2h3.586l-7.293 7.293a1 1 0 1 0 1.414 1.414L19 6.414V10a1 1 0 0 0 2 0V3.997a.999.999 0 0 0-.076-.38zM3 8a5 5 0 0 1 5-5h1a1 1 0 0 1 0 2H8a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-1a1 1 0 0 1 2 0v1a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8z",fill:"currentColor"})}))};to.defaultProps={viewBox:"0 0 24 24",fill:"none"};var oo=j.Switch=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M4 17l4-4m0-6h12H8zm12 0l-4-4 4 4zm0 0l-4 4 4-4zm-4 10H4h12zM4 17l4 4-4-4z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}))};oo.defaultProps={viewBox:"0 0 24 24",fill:"none"};var lo=j.EditIcon=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M6.04 17.625a.953.953 0 0 0 .14-.012l3.943-.691a.23.23 0 0 0 .124-.066l9.935-9.935a.233.233 0 0 0 0-.33l-3.895-3.898a.232.232 0 0 0-.167-.068.232.232 0 0 0-.166.068l-9.935 9.935a.238.238 0 0 0-.066.124l-.691 3.943a.785.785 0 0 0 .22.698c.155.15.35.232.558.232zm1.58-4.088l8.5-8.498 1.718 1.718-8.5 8.498-2.084.368.366-2.085zm13.005 6.057H3.375a.75.75 0 0 0-.75.75v.843c0 .104.084.188.188.188h18.375a.188.188 0 0 0 .187-.188v-.843a.75.75 0 0 0-.75-.75z"})}))};lo.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var no=j.DeleteIcon=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M8.438 4.313H8.25a.188.188 0 0 0 .188-.188v.188h7.124v-.188c0 .103.085.188.188.188h-.188V6h1.688V4.125c0-.827-.673-1.5-1.5-1.5h-7.5c-.827 0-1.5.673-1.5 1.5V6h1.688V4.312zM20.25 6H3.75a.75.75 0 0 0-.75.75v.75c0 .103.084.188.188.188h1.415l.579 12.257c.038.8.698 1.43 1.498 1.43h10.64c.802 0 1.46-.628 1.498-1.43l.579-12.258h1.416A.188.188 0 0 0 21 7.5v-.75a.75.75 0 0 0-.75-.75zm-3.11 13.688H6.86l-.567-12h11.414l-.567 12z"})}))};no.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var so=j.PassportIcon=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.333 4.292c0-.46.373-.834.834-.834h12.25c.46 0 .833.373.833.834v14.875c0 .46-.373.833-.833.833H4.167a.833.833 0 0 1-.834-.833V4.292zM5 5.125v13.208h10.583V5.125H5z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.297 1.004a.833.833 0 0 1 .328.663v2.625a.833.833 0 1 1-1.667 0V2.758L4.386 5.096a.833.833 0 1 1-.439-1.608L13.572.863a.833.833 0 0 1 .726.141zM10.292 9.5a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.833zm-2.584.917a2.583 2.583 0 1 1 5.167 0 2.583 2.583 0 0 1-5.167 0zM7.708 14.792c0-.46.373-.834.834-.834h3.5a.833.833 0 0 1 0 1.667h-3.5a.833.833 0 0 1-.834-.833z"})]}))};so.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var ro=j.ExternalIssuerIcon=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M1.25 2.709c0-.46.373-.834.834-.834h12.255c.46 0 .834.373.834.834v6.607a.834.834 0 1 1-1.668 0V3.542H2.917v13.214h6.407a.834.834 0 1 1 0 1.668h-7.24a.834.834 0 0 1-.834-.834V2.71z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.211 7.92a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.834zm-2.584.916a2.584 2.584 0 1 1 5.169 0 2.584 2.584 0 0 1-5.17 0zM5.627 13.213c0-.46.373-.833.834-.833h3.501a.834.834 0 0 1 0 1.667H6.461a.834.834 0 0 1-.834-.834zM15.64 11.313c.215 0 .41.121.505.313l1.033 2.092 2.31.338a.563.563 0 0 1 .31.96l-1.67 1.627.394 2.3a.563.563 0 0 1-.816.592l-2.065-1.086-2.066 1.086a.562.562 0 0 1-.816-.593l.394-2.299-1.67-1.627a.563.563 0 0 1 .31-.96l2.31-.338 1.033-2.092a.562.562 0 0 1 .505-.313zm0 1.833l-.659 1.335a.563.563 0 0 1-.423.308l-1.474.215 1.066 1.04c.133.129.194.315.162.498l-.251 1.467 1.318-.694a.563.563 0 0 1 .524 0l1.318.694-.252-1.467a.563.563 0 0 1 .162-.498l1.067-1.04-1.475-.215a.563.563 0 0 1-.423-.308l-.66-1.335z"})]}))};ro.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var io=j.AllowLoginIcon=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119c.16 0 .289-.13.289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12c.159 0 .288-.13.288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),(0,n.jsx)("rect",{x:"12.5",y:"9.375",width:"7.5",height:"1.875",rx:".938"}),(0,n.jsx)("rect",{x:"15.313",y:"14.063",width:"7.5",height:"1.875",rx:".938",transform:"rotate(-90 15.313 14.063)"})]}))};io.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var ao=j.ForbidLoginIcon=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119c.16 0 .289-.13.289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12c.159 0 .288-.13.288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),(0,n.jsx)("rect",{x:"12.5",y:"9.375",width:"7.5",height:"1.875",rx:".938"})]}))};ao.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var co=j.LockIcon=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M11.78 2.25c-2.767 0-5.019 2.271-5.019 5.063v3.037H5.758a2.018 2.018 0 0 0-2.008 2.025v8.1c0 1.117.9 2.025 2.008 2.025h12.045a2.018 2.018 0 0 0 2.007-2.025v-8.1c0-1.117-.9-2.025-2.007-2.025h-1.004V7.313c0-2.792-2.251-5.063-5.019-5.063zm6.023 10.125l.002 8.1H5.758v-8.1h12.045zM8.769 10.35V7.313c0-1.675 1.35-3.038 3.011-3.038 1.66 0 3.011 1.363 3.011 3.037v3.038H8.77z"})}))};co.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var uo=j.PersonIcon=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("g",{clipPath:"url(#clip0)",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281v-2.722a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281v-2.722a4.091 4.091 0 0 0-4.092-4.091H7.367z"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0",children:(0,n.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};uo.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};var po=j.RevokeIcon=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"})}))};po.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var ho=j.Dapp=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M6.404 28a2.404 2.404 0 0 1-2.393-2.173L4 25.596V7.966a2.404 2.404 0 0 1 2.173-2.394l.231-.011h7.213a2.404 2.404 0 0 1 2.393 2.172l.01.232v.407l3.51-3.637a2.404 2.404 0 0 1 3.216-.22l.186.161 4.42 4.368a2.404 2.404 0 0 1 .177 3.223l-.165.186-3.704 3.526h.375a2.404 2.404 0 0 1 2.393 2.172l.011.232v7.213a2.404 2.404 0 0 1-2.172 2.393l-.232.011H6.405zm8.014-10.418H5.603v8.014a.801.801 0 0 0 .522.752l.135.036.144.013h8.014v-8.815zm9.617 0H16.02v8.815h8.014a.802.802 0 0 0 .788-.657l.013-.144v-7.213a.802.802 0 0 0-.657-.788l-.144-.013zM16.02 13.11v2.87h2.869l-2.87-2.87zm-2.404-5.946H6.404a.801.801 0 0 0-.788.657l-.013.144v8.014h8.815V7.965a.801.801 0 0 0-.522-.752l-.135-.036-.144-.013zm8.21-1.326a.806.806 0 0 0-1.035-.085l-.109.096-4.192 4.349a.801.801 0 0 0-.092.998l.101.125 4.193 4.192a.801.801 0 0 0 .994.112l.125-.098 4.42-4.21a.802.802 0 0 0 .087-1.023l-.095-.11-4.398-4.346z",fill:"currentColor"})}))};ho.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var fo=j.Add=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 4a1.333 1.333 0 0 0-1.333 1.333v9.334H5.333A1.333 1.333 0 0 0 4 15.992a1.253 1.253 0 0 0 1.353 1.288h9.314v9.387a1.333 1.333 0 1 0 2.666 0v-9.334h9.334a1.333 1.333 0 1 0 0-2.666h-9.334V5.333A1.333 1.333 0 0 0 16 4z",fill:"currentColor"})}))};fo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var xo=j.NFT=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.654 12.75c-.533 0-.904.404-.904.829V24.42c0 .425.371.829.904.829h18.692c.532 0 .904-.404.904-.829V13.58c0-.425-.372-.829-.904-.829H5.654zm-2.404.829c0-1.319 1.11-2.329 2.404-2.329h18.692c1.294 0 2.404 1.01 2.404 2.329V24.42c0 1.319-1.11 2.329-2.404 2.329H5.654c-1.294 0-2.404-1.01-2.404-2.329V13.58zM8.25 6A.75.75 0 0 1 9 5.25h12.25a.75.75 0 0 1 0 1.5H9A.75.75 0 0 1 8.25 6zM6.25 9A.75.75 0 0 1 7 8.25h15.75a.75.75 0 0 1 0 1.5H7A.75.75 0 0 1 6.25 9z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.762 22a.3.3 0 0 0 .3-.3v-2.85c0-.303.398-.416.556-.157l1.934 3.163a.3.3 0 0 0 .256.144h.637a.3.3 0 0 0 .3-.3v-5.4a.3.3 0 0 0-.3-.3h-.462a.3.3 0 0 0-.3.3v2.837c0 .302-.397.415-.555.157l-1.943-3.151A.3.3 0 0 0 7.93 16H7.3a.3.3 0 0 0-.3.3v5.4a.3.3 0 0 0 .3.3h.462zm5.756 0a.3.3 0 0 0 .3-.3v-1.905a.3.3 0 0 1 .3-.3h2.273a.3.3 0 0 0 .3-.3v-.39a.3.3 0 0 0-.3-.3h-2.273a.3.3 0 0 1-.3-.3v-.916a.3.3 0 0 1 .3-.3h2.656a.3.3 0 0 0 .3-.3V16.3a.3.3 0 0 0-.3-.3h-3.762a.3.3 0 0 0-.3.3v5.4a.3.3 0 0 0 .3.3h.506zm7.258 0a.3.3 0 0 0 .3-.3v-4.436a.3.3 0 0 1 .3-.3H22.7a.3.3 0 0 0 .3-.3V16.3a.3.3 0 0 0-.3-.3h-4.359a.3.3 0 0 0-.3.3v.364a.3.3 0 0 0 .3.3h1.329a.3.3 0 0 1 .3.3V21.7a.3.3 0 0 0 .3.3h.506z",fill:"currentColor"})]}))};xo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var mo=j.Rollup=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M18 21.5H6.5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a3 3 0 0 0 3-3v-14m0 0H26a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-.5a2 2 0 0 0-2 2v3.5z",stroke:"currentColor",strokeWidth:"1.6"}),(0,n.jsx)("path",{d:"M8 21.5V8a3 3 0 0 1 3-3h15",stroke:"currentColor",strokeWidth:"1.6"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.895 10.05a.65.65 0 0 0-.211.14l-2.493 2.494a.651.651 0 1 0 .92.92l1.382-1.38v4.125a.651.651 0 1 0 1.302 0v-4.126l1.381 1.381a.651.651 0 0 0 .921-.92l-2.492-2.492-.008-.008a.65.65 0 0 0-.702-.135z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M16 23.5v2a2 2 0 1 0 4 0v-2a2 2 0 1 0-4 0z",stroke:"currentColor",strokeWidth:"1.6"})]}))};mo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var vo=j.Token=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.272 10.48c-1.93 1.272-5.138 1.944-8.24 1.944-3.095 0-6.313-.668-8.213-1.977v4.198c0 1.16 2.768 2.756 7.368 2.935.318.012.606.191.755.469a.866.866 0 0 1-.035.878.896.896 0 0 1-.79.409c-2.792-.103-5.573-.763-7.314-1.909v4.188c0 1.16 2.769 2.755 7.368 2.935a.894.894 0 0 1 .753.472.867.867 0 0 1-.039.878.897.897 0 0 1-.791.405C8.529 26.095 4 24.47 4 21.603V7.713C4 4.654 9.17 3 14.032 3c4.863 0 10.032 1.66 10.032 4.714v3.4a.889.889 0 0 1-.896.882.889.889 0 0 1-.896-.882v-.633zm0-2.766c0-1.233-3.133-2.95-8.24-2.95s-8.244 1.71-8.244 2.942c0 1.233 3.152 2.95 8.244 2.95 5.091 0 8.24-1.71 8.24-2.942zm-.225 5.675c-4.44 0-6.763 1.684-6.763 3.344v8.924c0 1.66 2.327 3.343 6.763 3.343 4.437 0 6.732-1.657 6.771-3.305v-8.962c0-1.664-2.327-3.344-6.77-3.344zm4.98 3.344c0-.477-1.695-1.584-4.98-1.584-3.28 0-4.975 1.11-4.975 1.584 0 .473 1.695 1.58 4.976 1.58 3.28 0 4.979-1.103 4.979-1.58zm-4.98 10.504c-3.28 0-4.975-1.107-4.975-1.58v-2.13c1.136.607 2.804 1.007 4.976 1.007 2.171 0 3.842-.381 4.979-1.007v2.13c.003.473-1.699 1.58-4.98 1.58zm-4.975-6.046c0 .477 1.695 1.584 4.976 1.584 3.28.004 4.983-1.107 4.979-1.584v-2.137c-1.137.614-2.808 1.01-4.98 1.01-2.171 0-3.839-.404-4.975-1.01v2.137z",fill:"currentColor"})}))};vo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var go=j.Tx=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.727 4.773h11.819A2.955 2.955 0 0 1 24.5 7.727v16.546a2.955 2.955 0 0 1-2.954 2.954H9.726a2.955 2.955 0 0 1-2.954-2.954V7.727a2.955 2.955 0 0 1 2.954-2.954zM5 7.727A4.727 4.727 0 0 1 9.727 3h11.819a4.727 4.727 0 0 1 4.727 4.727v16.546A4.727 4.727 0 0 1 21.546 29H9.726A4.727 4.727 0 0 1 5 24.273V7.727zM11.796 9.5a.886.886 0 1 0 0 1.773h7.681a.886.886 0 1 0 0-1.773h-7.681zm-.887 10.34c0-.489.397-.886.886-.886h7.682a.886.886 0 0 1 0 1.773h-7.681a.886.886 0 0 1-.887-.886zm.886-5.613a.886.886 0 1 0 0 1.773h7.682a.886.886 0 0 0 0-1.773h-7.681z",fill:"currentColor"})}))};go.defaultProps={width:"32",height:"33",viewBox:"0 0 32 33",xmlns:"http://www.w3.org/2000/svg"};var bo=j.Connect=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("circle",{cx:"24",cy:"24",r:"24"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.76 28.844a1.4 1.4 0 0 1 1.98 0l2.917 2.916a1.4 1.4 0 0 1 0 1.98l-2.917 2.917a1.4 1.4 0 0 1-1.98-1.98l1.927-1.927-1.927-1.927a1.4 1.4 0 0 1 0-1.98zM12.027 12.027a3.733 3.733 0 1 1 5.28 5.28 3.733 3.733 0 0 1-5.28-5.28zm2.64 1.707a.933.933 0 1 0 0 1.866.933.933 0 0 0 0-1.866z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6 14.667a1.4 1.4 0 0 1 1.4-1.4h4.667A3.733 3.733 0 0 1 25.4 17v13.417a.933.933 0 0 0 .933.933h9.334a1.4 1.4 0 1 1 0 2.8h-9.334a3.733 3.733 0 0 1-3.733-3.733V17a.933.933 0 0 0-.933-.933H17a1.4 1.4 0 0 1-1.4-1.4z",fill:"#fff"})]}))};bo.defaultProps={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var jo=j.WalletTextLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.22.878h25.268c1.244 0 2.253.917 2.253 2.049v14.146c0 1.132-1.009 2.049-2.253 2.049H3.22c-1.245 0-2.254-.917-2.254-2.049v-.12a.483.483 0 0 0-.966 0v.12C0 18.69 1.441 20 3.22 20h25.268c1.778 0 3.22-1.31 3.22-2.927V2.927C31.707 1.31 30.265 0 28.487 0H3.22C1.44 0 0 1.31 0 2.927v.12a.483.483 0 1 0 .966 0v-.12C.966 1.795 1.975.878 3.22.878zM.102 15.02a.387.387 0 0 0 .263.103h3.864c1.439 0 2.533-.327 3.281-.98.759-.664 1.162-1.674 1.21-3.03.01-.273.015-.644.015-1.112 0-.469-.005-.844-.014-1.127-.04-1.298-.452-2.288-1.24-2.97-.787-.684-1.896-1.025-3.325-1.025H.365a.388.388 0 0 0-.263.102.357.357 0 0 0-.102.264v9.512a.39.39 0 0 0 .102.263zm5.469-2.458c-.302.302-.773.453-1.415.453H2.625V6.986h1.458c.642 0 1.123.156 1.444.468.33.313.506.795.525 1.45.02.272.03.633.03 1.082 0 .449-.01.815-.03 1.098-.02.673-.18 1.165-.481 1.478zm4.97 2.458a.388.388 0 0 0 .262.103h1.955a.355.355 0 0 0 .262-.103.334.334 0 0 0 .117-.263V5.245a.334.334 0 0 0-.117-.264.355.355 0 0 0-.262-.102h-1.954a.388.388 0 0 0-.263.102.357.357 0 0 0-.102.264v9.512a.39.39 0 0 0 .102.263zm4.99.103a.388.388 0 0 1-.262-.103.39.39 0 0 1-.102-.263V5.245c0-.108.034-.196.102-.264a.388.388 0 0 1 .263-.102h3.791c1.43 0 2.538.341 3.325 1.024.788.683 1.201 1.673 1.24 2.97.01.284.014.66.014 1.128 0 .468-.004.839-.014 1.112-.049 1.356-.452 2.366-1.21 3.03-.75.653-1.843.98-3.282.98h-3.864zm3.792-2.108c.642 0 1.113-.15 1.415-.453.301-.313.462-.805.481-1.478.02-.283.03-.65.03-1.098 0-.449-.01-.81-.03-1.083-.02-.654-.194-1.136-.525-1.449-.32-.312-.802-.468-1.444-.468h-1.458v6.03h1.531zm7.524-4.212a.878.878 0 0 1-.879-.872c0-.482.397-.872.879-.872s.879.39.879.872a.878.878 0 0 1-.879.872zm0 4.558a.878.878 0 0 1-.879-.872c0-.481.397-.872.879-.872s.879.39.879.872a.878.878 0 0 1-.879.872z",fill:"#4598FA"}),(0,n.jsx)("path",{d:"M37.138 14.838a.526.526 0 0 1-.365-.122.56.56 0 0 1-.163-.325l-1.474-8.645a.3.3 0 0 1-.014-.095.26.26 0 0 1 .081-.19.285.285 0 0 1 .203-.094h1.678c.252 0 .392.1.42.298l.879 5.276.974-3.111c.099-.244.248-.366.446-.366h.974c.226 0 .375.122.447.366l.974 3.111.88-5.276c.026-.199.166-.298.419-.298h1.677c.081 0 .15.032.203.095a.243.243 0 0 1 .095.19l-.014.094-1.474 8.645a.53.53 0 0 1-.176.325.506.506 0 0 1-.352.122h-1.285a.492.492 0 0 1-.338-.108.646.646 0 0 1-.176-.244l-1.367-3.87-1.366 3.87c-.081.234-.248.352-.5.352h-1.286zM45.929 14.838a.307.307 0 0 1-.203-.081.307.307 0 0 1-.081-.203c0-.055.004-.095.013-.122l3.18-8.686a.492.492 0 0 1 .175-.27.546.546 0 0 1 .352-.109h2.002c.145 0 .262.036.352.108.09.073.15.163.176.271l3.166 8.686.027.122c0 .072-.032.14-.095.203a.276.276 0 0 1-.203.08h-1.664c-.216 0-.36-.094-.433-.283l-.527-1.38h-3.613l-.514 1.38c-.072.19-.22.284-.446.284h-1.664zm5.696-3.613l-1.259-3.571-1.258 3.571h2.517zM56.493 14.838a.36.36 0 0 1-.244-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .244-.095h1.786c.099 0 .18.032.243.095a.33.33 0 0 1 .095.243v7.09h4.1c.099 0 .18.036.243.108a.33.33 0 0 1 .094.244v1.352a.36.36 0 0 1-.094.244.33.33 0 0 1-.244.095h-6.223zM64.565 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .243-.095h1.786c.1 0 .18.032.244.095a.33.33 0 0 1 .095.243v7.09h4.099c.1 0 .18.036.243.108a.33.33 0 0 1 .095.244v1.352a.36.36 0 0 1-.094.244.33.33 0 0 1-.244.095h-6.224zM72.638 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .243-.095h6.318c.1 0 .18.032.244.095a.33.33 0 0 1 .095.243v1.272a.36.36 0 0 1-.095.244.33.33 0 0 1-.244.094H74.64v1.827h4.019c.099 0 .18.036.243.108a.33.33 0 0 1 .095.244v1.177a.36.36 0 0 1-.095.243.33.33 0 0 1-.243.095H74.64v1.88h4.425c.099 0 .18.032.243.095a.33.33 0 0 1 .095.244v1.271a.36.36 0 0 1-.095.244.33.33 0 0 1-.243.095h-6.427zM83.362 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V7.491h-2.408a.36.36 0 0 1-.243-.094.36.36 0 0 1-.095-.244V5.705c0-.099.031-.18.094-.243a.36.36 0 0 1 .244-.095h7.279c.1 0 .18.032.243.095a.33.33 0 0 1 .095.243v1.448c0 .1-.031.18-.095.244a.33.33 0 0 1-.243.094h-2.408V14.5a.36.36 0 0 1-.095.244.33.33 0 0 1-.244.095h-1.785z",fill:"#334660"})]}))};jo.defaultProps={width:"89",height:"20",viewBox:"0 0 89 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var wo=j.Pending=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("circle",{opacity:".2",cx:"12",cy:"12",r:"12"}),(0,n.jsx)("circle",{cx:"12",cy:"12",r:"7.385"})]}))};wo.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Ro=j.ABTNode=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.333 9.2c.81 0 1.467.657 1.467 1.467v16c0 .26.112.617.539 1.065.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065v-16a1.467 1.467 0 1 1 2.933 0v16c0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.025-2.398 1.066-5.61 1.688-9.08 1.688-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087v-16c0-.81.656-1.467 1.466-1.467z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.333 17.2c.81 0 1.467.657 1.467 1.467 0 .26.112.617.539 1.065.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065a1.467 1.467 0 1 1 2.933 0c0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.025-2.398 1.066-5.61 1.688-9.08 1.688-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087 0-.81.656-1.467 1.466-1.467z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.339 9.601c-.427.449-.539.806-.539 1.066s.112.617.539 1.065c.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065 0-.26-.113-.617-.54-1.066-.433-.456-1.13-.933-2.104-1.366-1.944-.864-4.732-1.435-7.89-1.435-3.157 0-5.945.571-7.89 1.435-.973.433-1.67.91-2.104 1.366zm.914-4.046c2.4-1.067 5.611-1.688 9.08-1.688 3.47 0 6.682.621 9.08 1.688 1.199.532 2.259 1.204 3.04 2.024.788.828 1.347 1.874 1.347 3.088 0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.024-2.398 1.067-5.61 1.689-9.08 1.689-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087 0-1.214.56-2.26 1.347-3.088.78-.82 1.84-1.492 3.039-2.024zM34.667 35.867c.81 0 1.466.656 1.466 1.466v16c0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066v-16a1.467 1.467 0 0 1 2.933 0v16c0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088v-16c0-.81.657-1.466 1.467-1.466z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.667 43.867c.81 0 1.466.656 1.466 1.466 0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066a1.467 1.467 0 0 1 2.933 0c0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088 0-.81.657-1.466 1.467-1.466z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.672 36.268c-.426.448-.539.806-.539 1.065 0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066s-.112-.617-.539-1.065c-.434-.456-1.131-.933-2.105-1.366-1.944-.864-4.732-1.435-7.89-1.435-3.157 0-5.945.571-7.889 1.435-.974.433-1.67.91-2.105 1.366zm.914-4.047c2.4-1.066 5.611-1.688 9.08-1.688 3.47 0 6.682.622 9.081 1.688 1.198.533 2.258 1.204 3.039 2.025.788.828 1.347 1.873 1.347 3.087 0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088s.56-2.26 1.347-3.087c.781-.82 1.841-1.492 3.04-2.025zM41.2 8c0-.81.657-1.467 1.467-1.467h8a6.8 6.8 0 0 1 6.8 6.8v8a1.467 1.467 0 0 1-2.934 0v-8a3.866 3.866 0 0 0-3.866-3.866h-8c-.81 0-1.467-.657-1.467-1.467zM8 41.2c.81 0 1.467.657 1.467 1.467v8a3.867 3.867 0 0 0 3.866 3.866h8a1.467 1.467 0 1 1 0 2.934h-8a6.8 6.8 0 0 1-6.8-6.8v-8c0-.81.657-1.467 1.467-1.467z"})]}))};Ro.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Co=j.Bridge=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.01 3.2a.8.8 0 0 0-.8.8v12.486a.84.84 0 0 0 0 .026v2.338h-1.2a.8.8 0 1 0 0 1.6h24.3a.8.8 0 0 0 0-1.6h-1.58a.797.797 0 0 0 .08-.35v-1.993a.96.96 0 0 0 0-.024V4a.8.8 0 0 0-.8-.8h-20zm19.281 15.65a.797.797 0 0 1-.08-.35v-1.77l-.03-.047c-.1-.15-.252-.37-.454-.635a14.045 14.045 0 0 0-1.81-1.95C21.319 12.678 19 11.3 16.01 11.3c-2.99 0-5.308 1.377-6.906 2.798a14.044 14.044 0 0 0-1.81 1.95c-.203.265-.354.485-.454.635l-.03.047v2.12h18.48zm-.08-4.722V4.8h-3.4v6.514c.83.489 1.553 1.04 2.169 1.588.47.419.881.837 1.23 1.226zm-5-3.606V4.8h-3.4v4.928c1.248.09 2.383.382 3.4.794zm-5-.794a11.116 11.116 0 0 0-3.4.794V4.8h3.4v4.928zm-5 1.586V4.8h-3.4v9.328c.35-.39.76-.807 1.23-1.226.616-.547 1.34-1.1 2.17-1.588zm-5 12.336a.8.8 0 0 1 .8-.8h20a.8.8 0 1 1 0 1.6h-20a.8.8 0 0 1-.8-.8zm2.8 3.2a.8.8 0 1 0 0 1.6h16a.8.8 0 0 0 0-1.6h-16z",fill:"currentColor"})}))};Co.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var yo=j.BridgeMoveIn=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.077.934a.8.8 0 0 0-1.131 1.132L23.08 3.2H8.012a.8.8 0 1 0 0 1.6H23.08l-1.134 1.134a.8.8 0 0 0 1.131 1.132l2.5-2.5a.8.8 0 0 0 0-1.132l-2.5-2.5zm-17.632 8.5a.8.8 0 0 1 .566-.234h20a.8.8 0 0 1 .8.8v14.5a.797.797 0 0 1-.08.35h1.58a.8.8 0 0 1 0 1.6H4.01a.8.8 0 1 1 0-1.6h1.2v-2.338V10a.8.8 0 0 1 .234-.566zM25.211 24.5c0 .125.029.244.08.35H6.811v-2.12l.03-.047c.1-.15.251-.37.454-.635a14.05 14.05 0 0 1 1.81-1.95c1.598-1.42 3.916-2.798 6.906-2.798 2.989 0 5.308 1.377 6.906 2.798a14.051 14.051 0 0 1 1.81 1.95c.202.265.354.485.453.635l.03.047v1.77zm0-13.7v9.328a15.53 15.53 0 0 0-1.231-1.226c-.616-.547-1.34-1.1-2.17-1.588V10.8h3.4zm-5 0v5.722a11.116 11.116 0 0 0-3.4-.794V10.8h3.4zm-8.4 5.722a11.116 11.116 0 0 1 3.4-.794V10.8h-3.4v5.722zm-1.6-5.722v6.514c-.83.489-1.554 1.041-2.17 1.588-.47.419-.88.837-1.23 1.226V10.8h3.4zm-4.2 18.05a.8.8 0 0 0 0 1.6h20a.8.8 0 1 0 0-1.6h-20z",fill:"currentColor"})}))};yo.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var zo=j.BridgeMoveOut=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.946 7.066a.8.8 0 0 0 1.132-1.132L9.943 4.8h14.069a.8.8 0 0 0 0-1.6H9.943l1.135-1.134A.8.8 0 0 0 9.946.934L7.452 3.428a.804.804 0 0 0-.24.572c0 .225.093.429.242.574l2.492 2.492zM5.444 9.434A.8.8 0 0 1 6.01 9.2h20a.8.8 0 0 1 .8.8v14.5a.797.797 0 0 1-.08.35h1.58a.8.8 0 1 1 0 1.6H4.01a.8.8 0 0 1 0-1.6h1.2v-2.335V10a.8.8 0 0 1 .234-.566zM25.21 24.5c0 .126.029.244.08.35H6.81v-2.12l.03-.047c.1-.15.251-.37.454-.635a14.044 14.044 0 0 1 1.81-1.95c1.598-1.42 3.916-2.798 6.906-2.798 2.989 0 5.308 1.377 6.906 2.798a14.045 14.045 0 0 1 1.81 1.95c.202.265.354.485.453.635l.03.047v1.77zm0-13.7v9.328c-.35-.389-.76-.807-1.231-1.226-.616-.547-1.34-1.1-2.17-1.588V10.8h3.4zm-5 0v5.722a11.116 11.116 0 0 0-3.4-.794V10.8h3.4zm-8.4 5.722a11.116 11.116 0 0 1 3.4-.794V10.8h-3.4v5.722zm-1.6-5.722v6.514a13.87 13.87 0 0 0-2.17 1.588c-.47.419-.88.837-1.23 1.226V10.8h3.4zm-4.2 18.05a.8.8 0 1 0 0 1.6h20a.8.8 0 0 0 0-1.6h-20z",fill:"currentColor"})}))};zo.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var So=j.DidWalletLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.791a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z",fill:"#6BBDFE"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z",fill:"#4598FA"}),(0,n.jsx)("path",{d:"M152.732 9.627l-7.02 22.502h-3.009l-5.484-16.688a7.8 7.8 0 0 1-.329-1.207c-.115.48-.225.883-.329 1.207l-5.548 16.688h-2.993L121 9.627h2.789c.293 0 .538.073.737.22a.955.955 0 0 1 .392.563l4.434 15.06c.084.292.157.61.22.955.073.345.146.706.219 1.082.073-.377.146-.737.219-1.082.084-.344.178-.663.282-.956l5.078-15.059c.062-.209.193-.391.391-.548.209-.157.455-.235.737-.235h.956c.292 0 .533.073.721.22.188.145.323.334.407.563l5.061 15.06c.189.574.356 1.227.502 1.958.125-.72.261-1.374.407-1.959l4.451-15.059c.052-.209.183-.391.391-.548.209-.157.455-.235.737-.235h2.601zM162.039 25.062c-1.244.042-2.299.141-3.166.298-.867.146-1.572.345-2.115.595-.543.25-.935.549-1.175.893-.241.335-.361.71-.361 1.129 0 .397.063.741.188 1.034.136.282.314.517.533.705.23.178.496.308.799.392a3.7 3.7 0 0 0 .987.125 5.433 5.433 0 0 0 2.398-.533c.345-.177.674-.391.987-.642.314-.25.622-.538.925-.862v-3.134zm-8.964-6.629c.888-.846 1.849-1.478 2.884-1.896 1.044-.418 2.188-.626 3.431-.626.909 0 1.714.151 2.414.454.7.293 1.29.705 1.77 1.238.481.533.841 1.17 1.082 1.912.25.741.376 1.561.376 2.46v10.154h-1.364c-.303 0-.532-.047-.689-.14-.157-.105-.282-.293-.376-.565l-.329-1.395c-.408.377-.81.71-1.207 1.003a8.387 8.387 0 0 1-1.254.737c-.428.198-.888.35-1.379.454a7.84 7.84 0 0 1-1.629.157 6.1 6.1 0 0 1-1.771-.25 4.064 4.064 0 0 1-1.426-.8 3.824 3.824 0 0 1-.971-1.332c-.23-.533-.345-1.154-.345-1.865 0-.626.167-1.227.501-1.802.345-.585.899-1.107 1.661-1.567.773-.46 1.776-.835 3.009-1.128 1.243-.293 2.768-.46 4.576-.501v-1.16c0-1.201-.256-2.1-.768-2.695-.512-.596-1.264-.893-2.257-.893-.668 0-1.232.083-1.692.25a6.476 6.476 0 0 0-1.175.564 26.04 26.04 0 0 0-.862.549 1.3 1.3 0 0 1-.752.25.904.904 0 0 1-.549-.172 1.49 1.49 0 0 1-.36-.407l-.549-.988zM172.256 9v23.13h-3.071V9h3.071zM179.755 9v23.13h-3.072V9h3.072zM194.665 22.398c0-.606-.088-1.165-.266-1.677a3.714 3.714 0 0 0-.752-1.332 3.46 3.46 0 0 0-1.223-.877c-.48-.21-1.034-.314-1.661-.314-1.285 0-2.298.371-3.04 1.113-.731.742-1.196 1.77-1.394 3.087h8.336zm2.523 7.46c-.376.438-.809.82-1.3 1.143a7.805 7.805 0 0 1-1.567.768 9.5 9.5 0 0 1-1.724.439c-.585.094-1.165.14-1.74.14-1.096 0-2.115-.182-3.055-.548a7.001 7.001 0 0 1-2.429-1.63c-.679-.72-1.212-1.608-1.599-2.663-.376-1.066-.564-2.288-.564-3.667 0-1.108.173-2.137.517-3.087a7.51 7.51 0 0 1 1.473-2.508 6.915 6.915 0 0 1 2.367-1.676c.929-.408 1.974-.611 3.134-.611.971 0 1.865.161 2.679.485a5.869 5.869 0 0 1 2.132 1.38c.595.605 1.06 1.352 1.394 2.24.345.888.517 1.902.517 3.04 0 .47-.052.789-.156.956-.105.157-.298.235-.58.235H186.25c.032.95.168 1.781.408 2.492.24.7.569 1.285.987 1.755.428.47.935.82 1.52 1.05.585.23 1.238.344 1.959.344.679 0 1.264-.078 1.755-.235.501-.156.93-.323 1.285-.501.366-.188.668-.36.909-.517.25-.157.47-.235.658-.235.251 0 .444.094.58.282l.877 1.128zM205.568 32.38c-1.285 0-2.277-.36-2.977-1.081-.689-.721-1.034-1.75-1.034-3.087v-9.528h-1.849a.688.688 0 0 1-.455-.157c-.115-.114-.172-.282-.172-.5v-1.239l2.585-.36.69-4.748a.72.72 0 0 1 .235-.408.708.708 0 0 1 .47-.156h1.551v5.343h4.514v2.225h-4.514v9.324c0 .627.152 1.097.455 1.41.313.303.71.455 1.191.455.282 0 .522-.037.721-.11.209-.073.386-.151.532-.235.147-.094.272-.178.377-.25a.507.507 0 0 1 .282-.11c.104 0 .182.026.235.078a.691.691 0 0 1 .188.22l.909 1.472a5.282 5.282 0 0 1-1.787 1.066 6.232 6.232 0 0 1-2.147.376z",fill:"#4598FA"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z",fill:"#363844"})]}))};So.defaultProps={viewBox:"0 0 210 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ko=j.ServerLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.673L30.72 0 12.288 10.673v14.194L0 31.982v21.345L18.432 64l12.258-7.098.03.017.03-.017L43.008 64 61.44 53.327V31.982l-12.288-7.115V10.673zm10.368 22.42l-12.288-7.115V11.784L30.72 2.224l-16.512 9.56v14.194L1.92 33.093v19.122l16.512 9.561L30.69 54.68l.03.017.03-.017 12.258 7.097 16.512-9.56V33.093z",fill:"url(#paint0_linear_615_418)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 26.07V10.03h7.737a3.795 3.795 0 0 1 3.79 3.8v1.152c0 1.01-.394 1.929-1.035 2.61a3.801 3.801 0 0 1 1.901 3.295v1.382c0 2.1-1.696 3.8-3.79 3.8h-8.603zm1.684-8.983h6.226a2.11 2.11 0 0 0 1.932-2.104V13.83a2.108 2.108 0 0 0-2.105-2.112h-6.053v5.369zm0 7.294v-5.598l6.92-.007c1.163 0 2.105.945 2.105 2.111v1.382a2.108 2.108 0 0 1-2.105 2.112h-6.92zm15.566-14.352v16.04h-1.762V10.03h1.762zm8.733 4.331h-1.827a3.816 3.816 0 0 0-3.811 3.822v4.066a3.816 3.816 0 0 0 3.811 3.822h1.827a3.817 3.817 0 0 0 3.811-3.822v-4.066a3.817 3.817 0 0 0-3.811-3.822zm-1.827 1.768c-1.131 0-2.049.92-2.049 2.054v4.066c0 1.135.918 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-4.066a2.051 2.051 0 0 0-2.048-2.054h-1.827zm21.043 9.948v-5.77h2.148l3.322 5.77h2.035l-3.821-6.638 2.993-5.198h-2.035l-2.474 4.298h-2.168V10.03h-1.762v16.047h1.762zm-5.556-7.581v-.313a2.051 2.051 0 0 0-2.048-2.054h-1.827c-1.132 0-2.049.92-2.049 2.054v4.066c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.313h-1.762zm17.918 7.575V10.03h-1.762v16.04h1.762zm4.989-5.372v1.55c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.748h.001v1.768h-7.687zm5.924-1.768h-5.924v-.748c0-1.134.917-2.054 2.049-2.054h1.827c1.131 0 2.048.92 2.048 2.054v.748zm5.489-1.917H152.4v-1.768h1.568V12.39h1.684v2.856h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.358 3.358 0 0 1-3.354 3.364 3.358 3.358 0 0 1-3.353-3.364v-5.693z",fill:"#121319"}),(0,n.jsx)("path",{d:"M91.034 36.52c-.112.196-.233.34-.364.434a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21-.224-.15-.495-.313-.812-.49a6.307 6.307 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.065-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812 2.59 2.59 0 0 0-.196 1.022c0 .476.13.872.392 1.19.27.317.625.588 1.064.812.439.224.938.424 1.498.602.56.177 1.134.368 1.722.574.588.196 1.162.429 1.722.7.56.261 1.06.597 1.498 1.008.439.401.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .914-.159 1.773-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.054-2.198 1.4-.868.336-1.862.504-2.982.504a9.288 9.288 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.131.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.186.593.396.966.63.373.233.807.448 1.302.644.504.186 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.514.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.585 7.585 0 0 0-1.498-.588c-.56-.159-1.13-.332-1.708-.518a14.738 14.738 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.75 4.75 0 0 1-1.064-1.568c-.261-.635-.392-1.414-.392-2.338 0-.738.145-1.456.434-2.156.299-.7.728-1.321 1.288-1.862.56-.542 1.25-.976 2.072-1.302.821-.327 1.764-.49 2.828-.49 1.195 0 2.296.186 3.304.56 1.008.373 1.867.896 2.576 1.568l-.938 1.778zM104.274 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.365.854-.57.569-.934 1.376-1.093 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918a4 4 0 0 0 .813 1.33c.335.345.732.606 1.189.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.772 7.772 0 0 1-2.785-.49 6.361 6.361 0 0 1-2.24-1.47c-.635-.654-1.135-1.456-1.499-2.408-.364-.962-.545-2.072-.545-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.47 6.47 0 0 1 2.17-1.526c.858-.374 1.824-.56 2.897-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM113.24 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.144 1.596.434l-.224 2.59c-.047.168-.117.289-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.354 3.354 0 0 0-.63.756c-.178.298-.346.639-.504 1.022v8.848h-3.458V38.718h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624zM133.373 38.718l-5.698 14.364h-3.136l-5.698-14.364h2.856c.261 0 .476.06.644.182a.849.849 0 0 1 .35.462l2.772 7.672a20.846 20.846 0 0 1 .686 2.604 31.6 31.6 0 0 1 .308-1.288c.112-.43.247-.868.406-1.316l2.828-7.672a.944.944 0 0 1 .35-.462 1 1 0 0 1 .602-.182h2.73zM144.032 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.366.854-.569.569-.933 1.376-1.092 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918.206.532.476.975.812 1.33.336.345.733.606 1.19.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.776 7.776 0 0 1-2.786-.49 6.37 6.37 0 0 1-2.24-1.47c-.634-.654-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.318-.868.77-1.62 1.358-2.254a6.48 6.48 0 0 1 2.17-1.526c.859-.374 1.825-.56 2.898-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM152.997 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.663 0 1.195.144 1.596.434l-.224 2.59c-.046.168-.116.289-.21.364a.556.556 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.676 4.676 0 0 0-.798-.07c-.382 0-.723.056-1.022.168a2.599 2.599 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.298-.345.639-.504 1.022v8.848h-3.458V38.718h2.03c.355 0 .602.065.742.196.14.121.234.345.28.672l.21 1.624z",fill:"#121319"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm13.338-2.894a.96.96 0 0 1 .924-.696h4.5a.96.96 0 0 1 .924.696l.856 2.999 2.12 1.223 3.025-.757a.96.96 0 0 1 1.064.451l2.25 3.898a.96.96 0 0 1-.14 1.148l-2.17 2.24v2.448l2.17 2.24a.96.96 0 0 1 .14 1.148l-2.25 3.899a.96.96 0 0 1-1.065.45l-3.024-.756-2.12 1.223-.856 2.998a.96.96 0 0 1-.923.697H28.47a.96.96 0 0 1-.924-.697L26.69 44.9l-2.12-1.223-3.024.757a.96.96 0 0 1-1.065-.451l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.241v-2.447l-2.168-2.241a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.025.757 2.119-1.223.856-2.999zm.44 4.467a.96.96 0 0 0 .443-.567l.765-2.676h3.053l.764 2.676a.96.96 0 0 0 .443.567l2.792 1.612a.96.96 0 0 0 .713.1l2.7-.676 1.526 2.644-1.935 2a.96.96 0 0 0-.27.668v3.223c0 .25.097.489.27.668l1.935 2-1.527 2.643-2.699-.675a.96.96 0 0 0-.713.1l-2.792 1.612a.96.96 0 0 0-.443.567l-.764 2.676h-3.053l-.765-2.676a.96.96 0 0 0-.443-.567l-2.792-1.612a.96.96 0 0 0-.713-.1l-2.7.675-1.526-2.643 1.935-2a.96.96 0 0 0 .27-.668V33.86a.96.96 0 0 0-.27-.667l-1.935-2 1.527-2.644 2.7.676a.96.96 0 0 0 .712-.1l2.792-1.612zm2.734 14.128a6.168 6.168 0 1 1 0-12.337 6.168 6.168 0 0 1 0 12.337zm4.248-6.169a4.248 4.248 0 1 1-8.496 0 4.248 4.248 0 0 1 8.496 0z",fill:"url(#paint1_linear_615_418)"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_418",x1:"30.72",y1:"96",x2:"94.667",y2:"34.611",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_418",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};ko.defaultProps={width:"170",height:"64",viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Io=j.ServerLogoNotext=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_426)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm13.338-2.894a.96.96 0 0 1 .924-.696h4.5a.96.96 0 0 1 .924.696l.856 2.999 2.12 1.223 3.025-.757a.96.96 0 0 1 1.064.451l2.25 3.898a.96.96 0 0 1-.14 1.148l-2.17 2.24v2.448l2.17 2.24a.96.96 0 0 1 .14 1.148l-2.25 3.899a.96.96 0 0 1-1.065.45l-3.024-.756-2.12 1.223-.856 2.998a.96.96 0 0 1-.923.697H29.47a.96.96 0 0 1-.924-.697L27.69 44.9l-2.12-1.223-3.024.757a.96.96 0 0 1-1.065-.451l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.241v-2.447l-2.168-2.241a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.025.757 2.119-1.223.856-2.999zm.44 4.467a.96.96 0 0 0 .443-.567l.765-2.676h3.053l.764 2.676a.96.96 0 0 0 .443.567l2.792 1.612a.96.96 0 0 0 .713.1l2.7-.676 1.526 2.644-1.935 2a.96.96 0 0 0-.27.668v3.223c0 .25.097.489.27.668l1.935 2-1.527 2.643-2.699-.675a.96.96 0 0 0-.713.1l-2.792 1.612a.96.96 0 0 0-.443.567l-.764 2.676h-3.053l-.765-2.676a.96.96 0 0 0-.443-.567l-2.792-1.612a.96.96 0 0 0-.713-.1l-2.7.675-1.526-2.643 1.935-2a.96.96 0 0 0 .27-.668V33.86a.96.96 0 0 0-.27-.667l-1.935-2 1.527-2.644 2.7.676a.96.96 0 0 0 .712-.1l2.792-1.612zm2.734 14.128a6.168 6.168 0 1 1 0-12.337 6.168 6.168 0 0 1 0 12.337zm4.248-6.169a4.248 4.248 0 1 1-8.496 0 4.248 4.248 0 0 1 8.496 0z",fill:"url(#paint1_linear_615_426)"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_426",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_426",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};Io.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Po=j.ServerLogoBg=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,n.jsx)("path",{fill:"url(#paint0_linear_615_429)",d:"M0 0h119.883v119.883H0z"}),(0,n.jsx)("mask",{id:"mask0_615_429",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,n.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,n.jsxs)("g",{mask:"url(#mask0_615_429)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783V-2.927L59.812-29.83z",fill:"#0FA4B7"}),(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783.475-103.641-78.042-30.709z",fill:"#2BE0D7"})]}),(0,n.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.509 18.656-10.77.046.026.045-.027 18.656 10.771 25.131-14.509V59.903z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.92 50.292l1.466-5.132h6.851l1.466 5.132 4.25 2.453 5.177-1.296 3.425 5.933-3.711 3.835v4.907l3.711 3.835-3.425 5.933-5.178-1.296-4.249 2.453-1.466 5.132h-6.85l-1.467-5.132-4.249-2.453-5.177 1.296-3.425-5.933 3.71-3.835v-4.907l-3.71-3.835 3.425-5.933 5.177 1.296 4.25-2.453z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59.812 71.597a7.927 7.927 0 1 0 0-15.853 7.927 7.927 0 0 0 0 15.853z",fill:"#1ABBC4"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_429",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};Po.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Mo=j.LauncherLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#121319"}),(0,n.jsx)("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zM101.843 47.235c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zM120.85 39.003v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zM127.512 40.767c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406-.522.27-1.017.64-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zM150.373 42.04c-.103.132-.205.234-.308.309-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zM157.049 40.543a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zM178.649 44.533a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378c-.532.074-1.05.112-1.554.112a7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zM187.615 41.495c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#121319"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642L30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_416)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_416)"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_416",x1:"30.72",y1:"95.721",x2:"94.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_416",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};Mo.defaultProps={width:"193",height:"64",viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Lo=j.LauncherLogoNotext=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_428)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L29.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L38.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_428)"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_428",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_428",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};Lo.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var To=j.LauncherLogoBg=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,n.jsx)("path",{fill:"url(#paint0_linear_615_431)",d:"M0 0h119.883v119.883H0z"}),(0,n.jsx)("mask",{id:"mask0_615_431",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,n.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,n.jsxs)("g",{mask:"url(#mask0_615_431)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783L-6.439-12.293l66.25-17.538z",fill:"#0FA4B7"}),(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783-1.281-105.982-76.286-28.368z",fill:"#2BE0D7"})]}),(0,n.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.51 18.656-10.772.046.026.045-.026 18.656 10.772 25.131-14.51V59.903z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46.445 50.929l10.483-6.13 18.93 11.082.91.517V70.54l-.61.43-19.23 11.256-10.511-6.113.028-25.184z",fill:"#fff"}),(0,n.jsx)("path",{d:"M54.128 55.69l2.196-1.258 13.41 7.803v2.525l-13.462 7.833-2.196-1.267.052-15.636z",fill:"#19B9C3"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_431",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};To.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Do=j.StoreLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.673L30.72 0 12.288 10.673v14.194L0 31.982v21.345L18.432 64l12.258-7.098.03.017.03-.017L43.008 64 61.44 53.327V31.982l-12.288-7.115V10.673zm10.368 22.42l-12.288-7.115V11.784L30.72 2.224l-16.512 9.56v14.194L1.92 33.093v19.122l16.512 9.561L30.69 54.68l.03.017.03-.017 12.258 7.097 16.512-9.56V33.093z",fill:"url(#paint0_linear_615_417)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.903L30.72 14.23 12.288 24.903V46.25L30.72 56.92 49.152 46.25V24.903zm-34.944 1.112l16.512-9.561 16.512 9.56v19.123l-16.512 9.56-16.512-9.56V26.015zm17.471-.59v2.168a6.931 6.931 0 0 1 5.042-2.168h4.135v4.148a6.97 6.97 0 0 1-2.13 5.026h2.13v11.128H20.584V25.425h11.095zm-9.175 1.926v7.276h7.255v-7.276h-7.255zm14.217 0h2.215v2.222c0 2.791-2.256 5.054-5.04 5.054h-2.215v-2.222c0-2.791 2.256-5.054 5.04-5.054zM22.504 43.8h7.255v-7.276h-7.255V43.8zm9.177 0v-7.276h7.255V43.8h-7.255z",fill:"url(#paint1_linear_615_417)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 26.07V10.03h7.737a3.795 3.795 0 0 1 3.79 3.8v1.152c0 1.01-.394 1.929-1.035 2.61a3.801 3.801 0 0 1 1.901 3.295v1.382c0 2.1-1.696 3.8-3.79 3.8h-8.603zm1.684-8.983h6.226a2.11 2.11 0 0 0 1.932-2.104V13.83a2.108 2.108 0 0 0-2.105-2.112h-6.053v5.369zm0 7.294v-5.598l6.92-.007c1.163 0 2.105.945 2.105 2.111v1.382a2.108 2.108 0 0 1-2.105 2.112h-6.92zm15.566-14.352v16.04h-1.762V10.03h1.762zm8.733 4.331h-1.827a3.816 3.816 0 0 0-3.811 3.822v4.066a3.816 3.816 0 0 0 3.811 3.822h1.827a3.817 3.817 0 0 0 3.811-3.822v-4.066a3.817 3.817 0 0 0-3.811-3.822zm-1.827 1.768c-1.131 0-2.049.92-2.049 2.054v4.066c0 1.135.918 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-4.066a2.051 2.051 0 0 0-2.048-2.054h-1.827zm21.043 9.948v-5.77h2.148l3.322 5.77h2.035l-3.821-6.638 2.993-5.198h-2.035l-2.474 4.298h-2.168V10.03h-1.762v16.047h1.762zm-5.556-7.581v-.313a2.051 2.051 0 0 0-2.048-2.054h-1.827c-1.132 0-2.049.92-2.049 2.054v4.066c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.313h-1.762zm17.918 7.575V10.03h-1.762v16.04h1.762zm4.989-5.372v1.55c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.748h.001v1.768h-7.687zm5.924-1.768h-5.924v-.748c0-1.134.917-2.054 2.049-2.054h1.827c1.131 0 2.048.92 2.048 2.054v.748zm5.489-1.917H152.4v-1.768h1.568V12.39h1.684v2.856h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.358 3.358 0 0 1-3.354 3.364 3.358 3.358 0 0 1-3.353-3.364v-5.693z",fill:"#121319"}),(0,n.jsx)("path",{d:"M91.034 36.52c-.112.196-.233.34-.364.434a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21-.224-.15-.495-.313-.812-.49a6.307 6.307 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.065-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812 2.59 2.59 0 0 0-.196 1.022c0 .476.13.872.392 1.19.27.317.625.588 1.064.812.439.224.938.424 1.498.602.56.177 1.134.368 1.722.574.588.196 1.162.429 1.722.7.56.261 1.06.597 1.498 1.008.439.401.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .914-.159 1.773-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.054-2.198 1.4-.868.336-1.862.504-2.982.504a9.288 9.288 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.131.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.186.593.396.966.63.373.233.807.448 1.302.644.504.186 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.514.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.585 7.585 0 0 0-1.498-.588c-.56-.159-1.13-.332-1.708-.518a14.738 14.738 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.75 4.75 0 0 1-1.064-1.568c-.261-.635-.392-1.414-.392-2.338 0-.738.145-1.456.434-2.156.299-.7.728-1.321 1.288-1.862.56-.542 1.25-.976 2.072-1.302.821-.327 1.764-.49 2.828-.49 1.195 0 2.296.186 3.304.56 1.008.373 1.867.896 2.576 1.568l-.938 1.778zM99.234 53.306c-1.25 0-2.212-.35-2.884-1.05-.662-.71-.994-1.685-.994-2.926v-8.022h-1.47a.674.674 0 0 1-.476-.182c-.13-.122-.196-.304-.196-.546v-1.372l2.31-.378.728-3.92a.767.767 0 0 1 .266-.434.791.791 0 0 1 .504-.154h1.792v4.522h3.836v2.464h-3.836v7.784c0 .448.108.798.322 1.05.224.252.528.378.91.378.215 0 .392-.024.532-.07a2.91 2.91 0 0 0 .378-.168c.112-.056.21-.108.294-.154a.452.452 0 0 1 .252-.084c.103 0 .187.028.252.084a.96.96 0 0 1 .21.224l1.036 1.68a5.229 5.229 0 0 1-1.736.952 6.46 6.46 0 0 1-2.03.322zM111.111 38.494c1.064 0 2.03.172 2.898.518a6.283 6.283 0 0 1 2.24 1.47c.625.634 1.106 1.409 1.442 2.324.336.914.504 1.936.504 3.066 0 1.138-.168 2.165-.504 3.08-.336.914-.817 1.694-1.442 2.338a6.195 6.195 0 0 1-2.24 1.484c-.868.345-1.834.518-2.898.518-1.073 0-2.049-.173-2.926-.518a6.329 6.329 0 0 1-2.254-1.484c-.616-.644-1.097-1.424-1.442-2.338-.336-.915-.504-1.942-.504-3.08 0-1.13.168-2.152.504-3.066.345-.915.826-1.69 1.442-2.324a6.421 6.421 0 0 1 2.254-1.47c.877-.346 1.853-.518 2.926-.518zm0 12.138c1.195 0 2.077-.402 2.646-1.204.579-.803.868-1.979.868-3.528 0-1.55-.289-2.73-.868-3.542-.569-.812-1.451-1.218-2.646-1.218-1.213 0-2.114.41-2.702 1.232-.579.812-.868 1.988-.868 3.528s.289 2.716.868 3.528c.588.802 1.489 1.204 2.702 1.204zM124.095 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.663 0 1.195.144 1.596.434l-.224 2.59c-.047.168-.117.289-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.723.056-1.022.168a2.587 2.587 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.298-.345.639-.504 1.022v8.848h-3.458V38.718h2.03c.355 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624zM140.122 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.383-.178-.831-.266-1.344-.266-.999 0-1.787.284-2.366.854-.569.569-.933 1.376-1.092 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918.205.532.476.975.812 1.33.336.345.733.606 1.19.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.765-.276 1.064-.434.308-.159.574-.304.798-.434.233-.131.457-.196.672-.196.289 0 .504.107.644.322l.994 1.26a5.925 5.925 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.316 8.316 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.772 7.772 0 0 1-2.786-.49 6.361 6.361 0 0 1-2.24-1.47c-.635-.654-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.47 6.47 0 0 1 2.17-1.526c.859-.374 1.825-.56 2.898-.56a7.03 7.03 0 0 1 2.506.434 5.42 5.42 0 0 1 1.974 1.274c.551.55.98 1.232 1.288 2.044.317.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.327.266-.644.266h-8.89z",fill:"#121319"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_417",x1:"30.72",y1:"96",x2:"94.667",y2:"34.611",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_417",x1:"27.437",y1:"99.536",x2:"97.914",y2:"45.267",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};Do.defaultProps={width:"170",height:"64",viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var No=j.StoreLogoNotext=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_427)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm17.471-.589v2.162a6.94 6.94 0 0 1 5.042-2.162h4.135v4.136a6.94 6.94 0 0 1-2.13 5.011h2.13v11.096H21.584V25.35h11.095zm-9.175 1.92v7.255h7.255v-7.255h-7.255zm14.217 0h2.215v2.215a5.04 5.04 0 0 1-5.04 5.04h-2.215v-2.215a5.04 5.04 0 0 1 5.04-5.04zM23.504 43.674h7.255v-7.256h-7.255v7.256zm9.177 0v-7.256h7.255v7.256h-7.255z",fill:"url(#paint1_linear_615_427)"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_427",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_427",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};No.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Vo=j.StoreLogoBg=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,n.jsx)("path",{fill:"url(#paint0_linear_615_430)",d:"M0 0h119.883v119.883H0z"}),(0,n.jsx)("mask",{id:"mask0_615_430",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,n.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,n.jsxs)("g",{mask:"url(#mask0_615_430)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783 1.95-119.446L59.812-29.83z",fill:"#0FA4B7"}),(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783V-12.878L59.812-29.831z",fill:"#2BE0D7"})]}),(0,n.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.509 18.656-10.77.046.026.045-.027 18.656 10.771 25.131-14.509V59.903z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.277 61.997V49.162h12.835v12.835H45.277zm25.15-12.835h3.92v3.919a8.916 8.916 0 0 1-8.916 8.916h-3.92v-3.92a8.916 8.916 0 0 1 8.917-8.915zm-25.15 29.017h12.835V65.344H45.277v12.835zm16.235 0V65.344h12.835v12.835H61.512z",fill:"#fff"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_430",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};Vo.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var _o=j.Blocklets=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M4.005 31a3.005 3.005 0 0 1-2.99-2.717L1 27.995V5.956a3.005 3.005 0 0 1 2.717-2.99l.288-.015h9.016a3.005 3.005 0 0 1 2.992 2.715l.014.29v.51l4.385-4.547a3.005 3.005 0 0 1 4.022-.276l.232.202 5.524 5.46a3.005 3.005 0 0 1 .222 4.029l-.206.232-4.63 4.408h.468a3.005 3.005 0 0 1 2.992 2.715l.014.29v9.016a3.006 3.006 0 0 1-2.715 2.991l-.29.014H4.004zm10.018-13.023H3.003v10.018a1.002 1.002 0 0 0 .654.94l.168.046.18.015h10.018V17.977zm12.021 0H16.027v11.02h10.017a1.002 1.002 0 0 0 .986-.822l.016-.18v-9.016a1.002 1.002 0 0 0-.821-.986l-.18-.016zm-10.017-5.59v3.587h3.586l-3.586-3.586zM13.02 4.956H4.005a1.002 1.002 0 0 0-.985.821l-.016.18v10.018h11.02V5.956a1.001 1.001 0 0 0-.654-.94l-.168-.045-.18-.016zm10.262-1.657a1.008 1.008 0 0 0-1.292-.106l-.136.12-5.241 5.435a1.001 1.001 0 0 0-.114 1.248l.126.157 5.241 5.239a1.002 1.002 0 0 0 1.242.14l.156-.122 5.526-5.263a1.002 1.002 0 0 0 .108-1.279l-.118-.138-5.497-5.431z",fill:"currentColor"})}))};_o.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Eo=j.CodeFolder=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.667 5.2a.133.133 0 0 0-.134.133v21.334a.133.133 0 0 0 .134.133h22.666a.133.133 0 0 0 .134-.133V9.333a.133.133 0 0 0-.134-.133H16a1.2 1.2 0 0 1-.922-.432L12.105 5.2H4.667zM2.875 3.542A2.533 2.533 0 0 1 4.667 2.8h8a1.2 1.2 0 0 1 .921.432L16.563 6.8h10.771a2.533 2.533 0 0 1 2.534 2.533v17.334a2.533 2.533 0 0 1-2.534 2.533H4.667a2.533 2.533 0 0 1-2.534-2.533V5.333c0-.672.267-1.316.742-1.791z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.182 13.818a1.2 1.2 0 0 1 0 1.697L11.697 18l2.485 2.485a1.2 1.2 0 1 1-1.697 1.697L9.15 18.849a1.2 1.2 0 0 1 0-1.698l3.334-3.333a1.2 1.2 0 0 1 1.697 0zm3.636 0a1.2 1.2 0 0 1 1.697 0l3.334 3.333a1.2 1.2 0 0 1 0 1.698l-3.334 3.333a1.2 1.2 0 1 1-1.697-1.697L20.303 18l-2.485-2.485a1.2 1.2 0 0 1 0-1.697z",fill:"currentColor"})]}))};Eo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Bo=j.Dashboard=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.33 8.207A11.52 11.52 0 0 1 23.504 26.34H8.496A11.52 11.52 0 0 1 9.33 8.207zM16 3.52a14.08 14.08 0 0 0-8.76 25.102c.226.18.506.278.796.278h15.928c.29 0 .57-.098.797-.278A14.08 14.08 0 0 0 16 3.52zm5.883 10.072a1.28 1.28 0 0 0-1.81-1.81l-2.205 2.205a4.124 4.124 0 1 0 1.81 1.81l2.205-2.205zm-7.447 4.073a1.564 1.564 0 1 1 3.128 0 1.564 1.564 0 0 1-3.129 0z",fill:"currentColor"})}))};Bo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Ao=j.Log=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 3.2h16c2.646 0 4.8 2.125 4.8 4.8 0 1.571-.54 3.093-1.253 4.509-.709 1.406-1.645 2.813-2.531 4.14l-.018.028c-.908 1.365-1.766 2.654-2.401 3.913-.637 1.263-.997 2.39-.997 3.418a2.4 2.4 0 1 0 3.733-1.997 1.2 1.2 0 0 1 1.334-1.993A4.8 4.8 0 0 1 24 28.808H8a4.8 4.8 0 0 1-4.8-4.8c0-2.531 1.426-5.016 2.843-7.21.333-.513.666-1.015.993-1.507l.004-.006c.757-1.135 1.477-2.218 2.06-3.277H7.215c-.922 0-2.21-.213-3.051-1.253A4.288 4.288 0 0 1 3.2 8 4.8 4.8 0 0 1 8 3.2zM6.303 6.303A2.4 2.4 0 0 1 8 5.6h11.842A4.782 4.782 0 0 0 19.2 8c-.004.55.096 1.095.294 1.608H7.216c-.664 0-1.029-.171-1.184-.363A1.889 1.889 0 0 1 5.6 8a2.4 2.4 0 0 1 .703-1.697zM26.4 8c0-1.34-1.07-2.4-2.4-2.4A2.4 2.4 0 0 0 21.6 8c0 .762.357 1.334 1.067 1.811A1.2 1.2 0 0 1 22 12.008H11.789c-.747 1.605-1.826 3.224-2.837 4.74l-.183.276c-.244.366-.483.726-.71 1.077C6.608 20.346 5.6 22.274 5.6 24.008a2.4 2.4 0 0 0 2.4 2.4h11.842a4.782 4.782 0 0 1-.642-2.4c0-1.566.54-3.085 1.254-4.5.706-1.398 1.637-2.796 2.52-4.12l.028-.042c.908-1.365 1.764-2.653 2.401-3.917.637-1.264.997-2.395.997-3.429zm-14.396 7.462a1.186 1.186 0 0 0 .838 2.024h6.324a1.186 1.186 0 0 0 0-2.371h-6.324c-.314 0-.616.125-.838.347zm-2.766 4.742c.222-.222.524-.347.838-.347H16.4a1.186 1.186 0 1 1 0 2.371h-6.323a1.185 1.185 0 0 1-.838-2.024z",fill:"currentColor"})}))};Ao.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Oo=j.Setting=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.996 2.168A3.968 3.968 0 0 0 17.173 1h-1.852a3.963 3.963 0 0 0-2.78 1.132 3.81 3.81 0 0 0-1.128 2.39l-.013.291a1.707 1.707 0 0 1-1.72 1.686 1.619 1.619 0 0 1-.637-.141l-.2-.105a3.969 3.969 0 0 0-5.329 1.44L2.54 9.261a3.813 3.813 0 0 0 1.146 5.11l.234.147c.572.324.9.88.9 1.482 0 .553-.277 1.07-.74 1.384l-.157.096a3.79 3.79 0 0 0-1.545 4.946l.128.24.955 1.617a3.91 3.91 0 0 0 2.355 1.822 4.01 4.01 0 0 0 2.691-.193l.266-.13c.45-.254.915-.316 1.35-.201.434.112.805.392 1.032.778.119.192.194.408.222.633l.012.22C11.386 29.275 13.148 31 15.32 31h1.852c2.052 0 3.756-1.544 3.923-3.538l.012-.257a1.692 1.692 0 0 1 1.714-1.731c.226.008.447.06.653.15l.204.104c1.722.973 3.98.473 5.14-1.165l.15-.227.99-1.616a3.776 3.776 0 0 0 .408-2.935 3.842 3.842 0 0 0-1.542-2.159l-.249-.158c-.435-.247-.723-.611-.84-1.042a1.641 1.641 0 0 1 .176-1.27c.123-.213.292-.396.495-.535l.385-.238a3.804 3.804 0 0 0 1.326-4.806l-.085-.166a1.006 1.006 0 0 0-.063-.128l-.921-1.564c-1.023-1.74-3.236-2.416-5.08-1.567l-.247.125c-.44.253-.906.316-1.344.205a1.693 1.693 0 0 1-1.042-.77 1.536 1.536 0 0 1-.216-.624l-.014-.221c.033-.943-.369-1.951-1.11-2.699zm-4.675 1.003h1.853c.463 0 .907.183 1.234.51.322.324.497.765.485 1.221l.02.38a3.73 3.73 0 0 0 .514 1.531 3.91 3.91 0 0 0 2.394 1.77 3.992 3.992 0 0 0 2.976-.408l.154-.076.168-.066c.767-.24 1.6.078 2.01.77l.878 1.492.02.042.104.201c.356.744.059 1.686-.71 2.126l-.24.148a3.86 3.86 0 0 0-1.189 1.257 3.77 3.77 0 0 0-.397 2.916c.247.9.813 1.68 1.593 2.193l.41.255c.693.5.89 1.447.454 2.183l-.966 1.578-.11.166c-.447.628-1.329.861-2.073.541l-.474-.236a4.12 4.12 0 0 0-1.572-.362 3.976 3.976 0 0 0-2.815 1.125 3.802 3.802 0 0 0-1.15 2.735l-.008.165c-.07.825-.813 1.5-1.71 1.5h-1.851c-.888 0-1.617-.657-1.71-1.5l-.03-.53a3.888 3.888 0 0 0-2.888-3.315 3.978 3.978 0 0 0-2.979.392l-.163.078a1.74 1.74 0 0 1-2.163-.741l-.945-1.595-.084-.16c-.357-.742-.06-1.684.708-2.119l.234-.143c1.098-.744 1.734-1.928 1.734-3.196a3.834 3.834 0 0 0-1.731-3.193l-.392-.243a1.654 1.654 0 0 1-.468-2.196l.975-1.568a1.744 1.744 0 0 1 2.357-.645l.288.15c.502.234 1.049.359 1.603.366 2.08 0 3.78-1.566 3.936-3.558l.02-.459a1.64 1.64 0 0 1 .487-.99 1.727 1.727 0 0 1 1.21-.492zm.933 7.926c2.764 0 5.004 2.195 5.004 4.902 0 2.708-2.24 4.902-5.004 4.902-2.763 0-5.004-2.194-5.004-4.902 0-2.707 2.241-4.902 5.004-4.902zM13.467 16c0-1.507 1.248-2.73 2.787-2.73 1.54 0 2.787 1.223 2.787 2.73 0 1.508-1.248 2.73-2.787 2.73s-2.787-1.222-2.787-2.73z",fill:"currentColor"})}))};Oo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Ho=j.Store=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M30.4 12.034v-.056a.582.582 0 0 1-.014-.069v-.041c-.014-.028-.014-.056-.027-.083v-.028l-1.98-6.95A2.243 2.243 0 0 0 26.245 3.2H5.754a2.243 2.243 0 0 0-2.132 1.606l-1.98 6.95v.029c-.014.027-.014.055-.028.083v.041a.594.594 0 0 1-.014.07v2.298a5.538 5.538 0 0 0 2.215 4.43v8.862a2.216 2.216 0 0 0 2.216 2.216h19.938a2.215 2.215 0 0 0 2.216-2.216v-8.861a5.537 5.537 0 0 0 2.215-4.431v-2.243zM5.754 5.415h20.492l1.579 5.539H4.175l1.579-5.539zm6.923 7.754h6.646v1.108a3.323 3.323 0 1 1-6.646 0v-1.108zm-2.216 0v1.108a3.323 3.323 0 0 1-4.86 2.95 1.201 1.201 0 0 0-.249-.153 3.31 3.31 0 0 1-1.537-2.797v-1.108h6.646zm15.508 14.4H6.031v-7.864a5.539 5.539 0 0 0 5.538-2.105 5.538 5.538 0 0 0 8.862 0 5.537 5.537 0 0 0 5.538 2.105v7.864zm.679-10.495a1.2 1.2 0 0 0-.25.152 3.323 3.323 0 0 1-4.86-2.95V13.17h6.647v1.108a3.31 3.31 0 0 1-1.537 2.797z",fill:"currentColor"})}))};Ho.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var $o=j.Team=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.275 5.323a3.697 3.697 0 1 1 5.229 5.228 3.697 3.697 0 0 1-5.229-5.228zM9.89 2.16a5.777 5.777 0 0 0-3.483 10.385A9.33 9.33 0 0 0 .56 21.2a1.04 1.04 0 0 0 1.04 1.04h15.408a9.322 9.322 0 0 0-3.862 7.56 1.04 1.04 0 0 0 1.04 1.04h16.578a1.04 1.04 0 0 0 1.04-1.04 9.33 9.33 0 0 0-5.845-8.655 5.78 5.78 0 0 0 2.293-4.608 5.777 5.777 0 0 0-11.356-1.498 9.338 9.338 0 0 0-3.523-2.494 5.78 5.78 0 0 0 2.293-4.608A5.777 5.777 0 0 0 9.89 2.16zm9.972 11.763a3.697 3.697 0 1 1 5.228 5.228 3.697 3.697 0 0 1-5.228-5.228zm2.614 8.627a7.25 7.25 0 0 0-7.175 6.21h14.35a7.25 7.25 0 0 0-7.175-6.21zM4.763 16.075a7.25 7.25 0 0 1 12.301 4.086H2.714a7.25 7.25 0 0 1 2.05-4.086z",fill:"currentColor"})}))};$o.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Fo=j.Approve=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.673 4.673A6.12 6.12 0 0 1 7 2.88h18A6.12 6.12 0 0 1 31.12 9v10A6.12 6.12 0 0 1 25 25.12h-7.203l-5.81 5.083a3.082 3.082 0 0 1-5.107-2.319v-2.765A6.12 6.12 0 0 1 .88 19V9a6.12 6.12 0 0 1 1.793-4.327zM7 5.12A3.88 3.88 0 0 0 3.12 9v10A3.88 3.88 0 0 0 7 22.88h1c.619 0 1.12.501 1.12 1.12v3.884a.84.84 0 0 0 1.393.633l6.126-5.36a1.12 1.12 0 0 1 .737-.277H25A3.881 3.881 0 0 0 28.88 19V9A3.88 3.88 0 0 0 25 5.12H7z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M20.63 9.719a1.156 1.156 0 0 1 1.65 1.619L16.13 19.03a1.156 1.156 0 0 1-1.665.03l-4.08-4.079a1.156 1.156 0 1 1 1.635-1.634l3.228 3.227 5.354-6.822a.405.405 0 0 1 .031-.034h-.002z",fill:"currentColor"})]}))};Fo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Uo=j.Circles=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.23 3.995a1.272 1.272 0 1 1 1.28 1.272h-.014a1.272 1.272 0 0 1-1.265-1.272zm.2 3.245A3.425 3.425 0 0 1 13.737 6L5.07 10.875V21.07a3.41 3.41 0 0 1 1.055.572l4.616-2.638v-4.458c0-.381.203-.734.532-.926l4.158-2.425V7.24zM2.926 10.247V21.07a3.419 3.419 0 0 0 1.073 6.663c.886 0 1.694-.338 2.302-.892l9.677 5.444c.327.183.725.183 1.052 0l6.253-3.517 3.424-1.927a3.417 3.417 0 1 0 3.375-5.77V10.246c0-.387-.21-.744-.547-.934L19.92 3.904a3.417 3.417 0 0 0-6.832 0L3.472 9.313c-.338.19-.547.547-.547.934zm25.01 10.823V10.875L19.27 6a3.425 3.425 0 0 1-1.694 1.24v3.954l4.157 2.426c.33.192.532.545.532.926v4.458l4.616 2.637a3.411 3.411 0 0 1 1.055-.57zm-2.23 2.37l-4.168-2.382-4.493 2.621a1.072 1.072 0 0 1-1.081 0l-4.493-2.62-4.168 2.38a3.423 3.423 0 0 1 .05 1.533l9.151 5.147 5.727-3.22 3.424-1.927a3.439 3.439 0 0 1 .05-1.532zm-12.819-8.278l3.617-2.11 3.617 2.11v4.24l-3.617 2.109-3.617-2.11v-4.239zm-8.888 7.882a1.272 1.272 0 1 0 0 2.544 1.272 1.272 0 0 0 0-2.544zm23.738 1.272a1.272 1.272 0 1 1 2.544 0 1.272 1.272 0 0 1-2.544 0z",fill:"currentColor"})}))};Uo.defaultProps={width:"33",height:"33",viewBox:"0 0 33 33",xmlns:"http://www.w3.org/2000/svg"};var qo=j.Key=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.987 8.889c0-.707.573-1.28 1.28-1.28a4.124 4.124 0 0 1 4.124 4.124 1.28 1.28 0 1 1-2.56 0 1.564 1.564 0 0 0-1.564-1.564 1.28 1.28 0 0 1-1.28-1.28z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.382 1.92a9.813 9.813 0 0 0-9.706 11.905l-7.964 7.964a2.703 2.703 0 0 0-.792 1.91v3.679a2.702 2.702 0 0 0 2.702 2.702h2.845a2.702 2.702 0 0 0 2.702-2.702.142.142 0 0 1 .14-.142h.002a2.712 2.712 0 0 0 1.91-.792 2.702 2.702 0 0 0 .792-1.91.142.142 0 0 1 .143-.143h.833c.717 0 1.404-.285 1.91-.792l2.277-2.276a9.813 9.813 0 1 0 2.206-19.402zm-9.13 20.695a2.702 2.702 0 0 1 1.904-.784h.833a.142.142 0 0 0 .1-.041l2.794-2.794a1.28 1.28 0 0 1 1.275-.32 7.257 7.257 0 0 0 8.994-4.67 7.253 7.253 0 1 0-13.835-.188 1.286 1.286 0 0 1-.332 1.319l-8.463 8.462a.143.143 0 0 0-.042.101v3.678a.142.142 0 0 0 .142.142h2.845a.142.142 0 0 0 .142-.142 2.702 2.702 0 0 1 2.702-2.702l.014-.001a.143.143 0 0 0 .128-.142c0-.716.285-1.404.792-1.91l.008-.008z",fill:"currentColor"})]}))};qo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Wo=j.Label=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("g",{clipPath:"url(#clip0_802_356)",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.567.629l15.96 15.96a1.606 1.606 0 0 1 .047 2.229l-11.63 12.64a1.6 1.6 0 0 1-1.186.52c-.41.001-.803-.155-1.101-.436L.678 15.592a2.155 2.155 0 0 1-.677-1.564V3.22A3.224 3.224 0 0 1 3.221 0H14.05a2.133 2.133 0 0 1 1.518.629zM2.148 14.028l16.584 15.578 10.914-11.863L14.049 2.147H3.222A1.075 1.075 0 0 0 2.148 3.22v10.808zm4.771-8.073a3.489 3.489 0 1 1 3.877 5.802 3.489 3.489 0 0 1-3.877-5.802zm1.193 4.017A1.342 1.342 0 1 0 9.603 7.74a1.342 1.342 0 0 0-1.491 2.232z",fill:"currentColor"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_802_356",children:(0,n.jsx)("path",{fill:"transparent",transform:"translate(.009)",d:"M0 0h32.001v32H0z"})})})]}))};Wo.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",xmlns:"http://www.w3.org/2000/svg"};var Go=j.Plan=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.083 3.2c0-.619.501-1.12 1.12-1.12h9.956c.618 0 1.12.501 1.12 1.12v9.956a1.12 1.12 0 0 1-1.12 1.12H3.203a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v7.716h7.716V4.32H4.323zM17.727 3.2c0-.619.502-1.12 1.12-1.12h9.956c.619 0 1.12.501 1.12 1.12v9.956a1.12 1.12 0 0 1-1.12 1.12h-9.956a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v7.716h7.716V4.32h-7.716zM2.083 18.844c0-.618.501-1.12 1.12-1.12h9.956c.618 0 1.12.502 1.12 1.12V28.8a1.12 1.12 0 0 1-1.12 1.12H3.203a1.12 1.12 0 0 1-1.12-1.12v-9.956zm2.24 1.12v7.716h7.716v-7.716H4.323zm14.525-2.24h9.955a1.12 1.12 0 0 1 0 2.24H21.55l8.044 8.044a1.12 1.12 0 0 1-1.584 1.584l-8.044-8.044V28.8a1.12 1.12 0 1 1-2.24 0v-9.955-.01.02m.318-.792l.01-.01a.972.972 0 0 1-.01.01zm.803-.339h-.01zm-.01 0h.02",fill:"currentColor"})}))};Go.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Ko=j.Server=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.083 3.2c0-.619.501-1.12 1.12-1.12h25.6c.619 0 1.12.501 1.12 1.12v10.24a1.12 1.12 0 0 1-1.12 1.12h-25.6a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v8h23.36v-8H4.323zm-2.24 14.24c0-.619.501-1.12 1.12-1.12h25.6c.619 0 1.12.501 1.12 1.12V28.8a1.12 1.12 0 0 1-1.12 1.12h-25.6a1.12 1.12 0 0 1-1.12-1.12V18.56zm2.24 1.12v8h23.36v-8H4.323z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M8.963 7.04h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64V7.68a.64.64 0 0 0-.64-.64zm0 15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64v-1.28a.64.64 0 0 0-.64-.64zm5.12-15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64V7.68a.64.64 0 0 0-.64-.64zm0 15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64v-1.28a.64.64 0 0 0-.64-.64z",fill:"currentColor"})]}))};Ko.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Xo=j.Globe=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.606 17.32a7.933 7.933 0 0 1-.581-1.18c-.165-.411-.312-.86-.44-1.339a7.639 7.639 0 0 0-1.586 1.054 7.69 7.69 0 0 0 2.607 1.465zm.657-1.675c-.16-.4-.305-.848-.429-1.335A7.643 7.643 0 0 1 10 14h.002c.734 0 1.463.104 2.165.31-.124.487-.268.935-.428 1.335-.283.707-.604 1.235-.925 1.575-.32.339-.595.447-.813.447-.218 0-.493-.108-.813-.447-.322-.34-.642-.867-.925-1.575zM10 12.667a8.976 8.976 0 0 1 2.436.334c.116-.727.193-1.511.22-2.334H7.344c.027.823.103 1.607.22 2.334A8.972 8.972 0 0 1 10 12.667zM7.345 9.333c.027-.823.103-1.607.22-2.334.791.223 1.61.335 2.436.334A8.974 8.974 0 0 0 12.437 7c.116.727.193 1.511.22 2.334H7.344zm6.646 1.334c-.03.982-.127 1.925-.28 2.797.81.367 1.56.852 2.227 1.439a7.666 7.666 0 0 0 1.734-4.236h-3.681zm3.681-1.334H13.99a19.718 19.718 0 0 0-.28-2.798 8.975 8.975 0 0 0 2.228-1.438 7.665 7.665 0 0 1 1.734 4.236zm1.329.669A9 9 0 1 1 1 10a9 9 0 0 1 18 0v.002zM2.329 9.333a7.665 7.665 0 0 1 1.734-4.236A8.974 8.974 0 0 0 6.29 6.535a19.74 19.74 0 0 0-.28 2.798H2.329zm0 1.334h3.682c.03.983.126 1.925.28 2.797a8.974 8.974 0 0 0-2.228 1.439 7.665 7.665 0 0 1-1.734-4.236zm10.648 5.473c.164-.411.312-.86.44-1.34.57.285 1.103.639 1.585 1.055a7.687 7.687 0 0 1-2.606 1.465c.216-.354.41-.751.58-1.18zm-.581-13.46c.967.316 1.85.819 2.606 1.465A7.64 7.64 0 0 1 13.417 5.2c-.128-.48-.276-.928-.44-1.34a7.925 7.925 0 0 0-.581-1.18zm-.657 1.675c.16.4.304.848.428 1.335a7.64 7.64 0 0 1-2.165.31H10a7.64 7.64 0 0 1-2.166-.31c.124-.487.268-.935.429-1.335.283-.708.603-1.235.925-1.575.32-.339.595-.447.813-.447.218 0 .492.108.813.447.321.34.642.867.925 1.575zM7.025 3.86c-.165.411-.312.86-.44 1.34a7.64 7.64 0 0 1-1.586-1.055A7.688 7.688 0 0 1 7.606 2.68c-.216.354-.41.751-.581 1.18z",fill:"currentColor"})}))};Xo.defaultProps={width:"21",height:"20",viewBox:"0 0 21 20",xmlns:"http://www.w3.org/2000/svg"};var Jo=j.Notification=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.251 2.5c-2.576-.006-4.747 2.1-4.766 4.506v5.784c0 .793-.084 1.778-.58 2.71h12.19c-.496-.932-.58-1.917-.58-2.711V7.01c-.035-2.403-2.21-4.502-4.797-4.508L9.25 2.5zM17.015 7v5.789c0 .79.1 1.562.53 2.219l.287.438c.436.664-.033 1.554-.817 1.554H2.985c-.785 0-1.255-.89-.818-1.554l.287-.438c.43-.657.53-1.428.53-2.218V7c.024-3.291 2.927-6.008 6.27-6l1.467.003c3.344.008 6.254 2.706 6.294 5.998zM11.06 18.06A1.5 1.5 0 0 0 11.5 17H13a3 3 0 0 1-6 0h1.5a1.5 1.5 0 0 0 2.56 1.06z",fill:"currentColor"})}))};Jo.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Qo=j.QuestionMarkCircle=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M9.928 13.133a.981.981 0 0 0-.678.252.79.79 0 0 0-.281.61c0 .27.094.482.283.636.19.154.41.231.663.231.257 0 .48-.076.673-.228.19-.153.287-.365.287-.639a.796.796 0 0 0-.275-.61.958.958 0 0 0-.672-.252zM12.633 7.2a2.526 2.526 0 0 0-1.035-.88c-.441-.212-.955-.32-1.528-.32-.617 0-1.166.129-1.63.383-.467.255-.826.582-1.07.972-.245.392-.37.786-.37 1.172 0 .205.086.397.254.57.169.174.38.262.625.262.419 0 .705-.246.85-.729.132-.399.296-.703.485-.905.177-.19.465-.286.856-.286.336 0 .602.095.813.29.208.191.309.42.309.698a.78.78 0 0 1-.1.387c-.07.125-.156.24-.258.342-.108.109-.287.27-.53.484a9.184 9.184 0 0 0-.679.647 2.268 2.268 0 0 0-.42.656 2.27 2.27 0 0 0-.159.884c0 .288.08.511.24.663.156.15.352.227.58.227.439 0 .714-.24.796-.687.041-.186.073-.316.094-.39.019-.067.046-.136.081-.205.034-.068.089-.144.162-.227.076-.088.179-.19.305-.306.472-.422.805-.727.99-.908.19-.186.356-.41.493-.665A1.9 1.9 0 0 0 13 8.416a2.18 2.18 0 0 0-.367-1.217",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 17.5a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15zm0 1.5a9 9 0 1 0 0-18 9 9 0 0 0 0 18z",fill:"currentColor"})]}))};Qo.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Yo=j.Account=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.826 1.75a1.937 1.937 0 1 0 0 3.875 1.937 1.937 0 0 0 0-3.875zM3.838 3.687a2.987 2.987 0 1 1 5.975 0 2.987 2.987 0 0 1-5.975 0zM2.556 9.812l-.102 1.302a1.009 1.009 0 0 0 1.005 1.087h6.733c.588 0 1.051-.5 1.005-1.087l-.102-1.302a2.29 2.29 0 0 0-2.234-1.79H4.79c-1.073 0-2.001.745-2.234 1.79zM1.52 9.628A3.34 3.34 0 0 1 4.79 6.971H8.86a3.34 3.34 0 0 1 3.269 2.657.53.53 0 0 1 .01.066l.104 1.338a2.059 2.059 0 0 1-2.052 2.22H3.459a2.059 2.059 0 0 1-2.052-2.22l.105-1.338a.524.524 0 0 1 .01-.066z",fill:"currentColor"})}))};Yo.defaultProps={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Zo=Ke=j.EmptyIcon=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.361 2.4a.8.8 0 0 0-.728.469L.873 15.54a.8.8 0 0 0-.072.33V27.393a.8.8 0 0 0 .8.8h28.8a.8.8 0 0 0 .8-.8v-11.52a.8.8 0 0 0-.072-.331L25.37 2.869a.8.8 0 0 0-.728-.47H7.361zm-4.96 14.4v9.792h27.2v-9.799a.814.814 0 0 1-.104.007h-7.098l-2.066 3.1a.8.8 0 0 1-.666.356h-8.064a.8.8 0 0 1-.665-.356L8.87 16.8h-6.47zm26.816-1.6H21.97a.8.8 0 0 0-.665.356l-2.067 3.1h-7.208l-2.066-3.1a.8.8 0 0 0-.666-.356H2.785L7.876 4h16.25l5.09 11.2z",fill:"currentColor"})}))};Zo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var N1={},el=Ie;Object.defineProperty(N1,"__esModule",{value:!0});var H0=N1.default=void 0,tl=el(ke()),ol=o;H0=N1.default=(0,tl.default)((0,ol.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"}),"DoDisturbAlt");function Se({children:e,Icon:t}){return o.jsxs(x2,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",paddingTop:"10px",margin:"10px 0px"},children:[o.jsx(y,{sx:{opacity:.3,fontSize:32},children:o.jsx(t,{})}),o.jsx(y,{sx:{mb:2,opacity:.7,fontSize:"small",color:"action"},children:e})]})}Se.propTypes={children:h.node.isRequired,Icon:h.elementType};Se.defaultProps={Icon:H0};function V1({value:e,app:t,onChange:l,disabled:s,resourceRelateComponents:r,projectType:a,dependentComponentsMode:i}){const{t:c,locale:u}=te(),f=i==="readonly",x=R.useMemo(()=>{const b=e.reduce((v,C)=>(v[C.did]=C.included,v),{});return(t.children||[]).filter(v=>f?r[v.meta.did]||b[v.meta.did]:!0)},[t.children,e,r,f]),g=R.useMemo(()=>x.map(b=>e.find(C=>C.did===b.meta.did)||{did:b.meta.did}),[x,e]),z=g.reduce((b,v)=>(b[v.did]=j1(v,["required","included"]),b),{}),p=b=>{const v=g.map(C=>{if(C.did===b){const S=!C.included;return{...C,included:S,required:S}}return C});l(v)},d=b=>{const v=g.map(C=>C.did===b?{...C,required:!C.required}:C);l(v)},m=[{label:c("common.name"),name:"meta.title",width:200,options:{customBodyRenderLite:b=>{var S;const v=x[b],C=(S=z[v.meta.did])==null?void 0:S.included;return o.jsxs(y,{display:"flex",alignItems:"center",children:[o.jsx(z1,{size:24,blocklet:v,ancestors:[t]}),o.jsx(y,{ml:"4px",className:S1("text",{excluded:!C}),children:o.jsx(y,{children:v.meta.title})})]})}}},{label:c("blocklet.publish.componentIncluded"),width:100,options:{customBodyRenderLite:b=>{var D;const v=x[b],C=r[v.meta.did],S=!!((D=z[v.meta.did])!=null&&D.included);return o.jsx(h1,{size:"small",checked:C||S,onClick:()=>p(v.meta.did),disabled:f||C||s})}}},{label:c("blocklet.publish.componentForceRequired"),width:100,options:{customBodyRenderLite:b=>{var L,M;const v=x[b],C=r[v.meta.did],S=!!((L=z[v.meta.did])!=null&&L.included),D=!!((M=z[v.meta.did])!=null&&M.required);return o.jsx(h1,{size:"small",checked:C||D&&S,onClick:()=>d(v.meta.did),disabled:f||C||s||!S})}}}];return o.jsx(ll,{children:x!=null&&x.length?o.jsxs(o.Fragment,{children:[o.jsx(C1,{className:"main-table",verticalKeyWidth:100,locale:u,data:x,columns:m,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1,rowsPerPage:50}}),o.jsx(L0,{severity:"info",style:{width:"100%"},children:o.jsx(y,{display:"flex",alignItems:"center",rel:"noreferrer",children:c(a==="pack"?"blocklet.publish.packTip":"blocklet.publish.resourceTip")})})]}):o.jsx(Se,{Icon:Ke,children:c("blocklet.publish.blockletEmptyTip")})})}V1.propTypes={app:h.object.isRequired,value:h.arrayOf(h.shape({did:h.string.isRequired,required:h.bool,included:h.bool})),onChange:h.func,disabled:h.bool,dependentComponentsMode:h.string,resourceRelateComponents:h.object,projectType:h.string.isRequired};V1.defaultProps={value:[],onChange:()=>{},disabled:!1,dependentComponentsMode:"auto",resourceRelateComponents:{}};const ll=ce(y)`
|
|
22
|
+
`;var j={},Ke;Object.defineProperty(j,"__esModule",{value:!0});j.WalletTextLogo=j.Tx=j.Token=j.Team=j.Switch=j.StoreLogoNotext=j.StoreLogoBg=j.StoreLogo=j.Store=j.Setting=j.ServerLogoNotext=j.ServerLogoBg=j.ServerLogo=j.Server=j.Rollup=j.RevokeIcon=j.QuestionMarkCircle=j.Plan=j.PersonIcon=j.Pending=j.PassportIcon=j.OpenIn=j.Notification=j.NFT=j.Mobile=j.Log=j.LockIcon=j.LauncherLogoNotext=j.LauncherLogoBg=j.LauncherLogo=j.Label=j.Key=j.Globe=j.ForbidLoginIcon=j.ExternalIssuerIcon=Ke=j.EmptyIcon=j.EditIcon=j.Disconnect=j.DidWalletLogo=j.DidWallet=j.DidLogoColorful=j.DidLogo=j.DeleteIcon=j.Dashboard=j.Dapp=j.Copy=j.ConnectLogo=j.Connect=j.Computer=j.CodeFolder=j.Circles=j.BridgeMoveOut=j.BridgeMoveIn=j.Bridge=j.Blocklets=j.Approve=j.AllowLoginIcon=j.Add=j.Account=j.ABTNode=void 0;Ft(R);var n=o;function Ft(e){return e&&e.__esModule?e:{default:e}}function r0(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),l.push.apply(l,s)}return l}function w(e){for(var t=1;t<arguments.length;t++){var l=arguments[t]!=null?arguments[t]:{};t%2?r0(Object(l),!0).forEach(function(s){Ut(e,s,l[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):r0(Object(l)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(l,s))})}return e}function Ut(e,t,l){return(t=qt(t))in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}function qt(e){var t=Wt(e,"string");return typeof t=="symbol"?t:t+""}function Wt(e,t){if(typeof e!="object"||!e)return e;var l=e[Symbol.toPrimitive];if(l!==void 0){var s=l.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Gt=j.Computer=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M5.472.371H60.94c3.061 0 5.565 2.412 5.565 5.473v35.431c0 3.061-2.504 5.658-5.565 5.658H39.328v9.183h15.768c2.319 0 2.504 7.606 2.782 7.884H8.626s0-7.884 2.783-7.884h15.768v-9.183H5.472C2.412 46.933 0 44.336 0 41.275V5.844C0 2.783 2.412.37 5.472.37zm0 40.904H60.94V5.844H5.472v35.431z"})}))};Gt.defaultProps={width:"67",height:"64",viewBox:"0 0 67 64",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Kt=j.ConnectLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"}),(0,n.jsx)("path",{d:"M138.44 27.684c.192 0 .357.075.496.224l1.344 1.472a9.584 9.584 0 0 1-3.44 2.576c-1.344.608-2.965.912-4.864.912-1.664 0-3.173-.288-4.528-.864a10.056 10.056 0 0 1-3.456-2.416c-.949-1.035-1.685-2.272-2.208-3.712-.523-1.44-.784-3.024-.784-4.752 0-1.728.272-3.312.816-4.752.555-1.44 1.328-2.677 2.32-3.712a10.444 10.444 0 0 1 3.552-2.416c1.387-.576 2.917-.864 4.592-.864 1.632 0 3.083.267 4.352.8a10.973 10.973 0 0 1 3.312 2.128l-1.12 1.584a.936.936 0 0 1-.288.288.742.742 0 0 1-.432.112c-.203 0-.443-.101-.72-.304a8.802 8.802 0 0 0-1.072-.672c-.437-.256-.981-.485-1.632-.688-.651-.203-1.461-.304-2.432-.304-1.141 0-2.187.203-3.136.608a6.885 6.885 0 0 0-2.464 1.728c-.683.747-1.216 1.67-1.6 2.768-.373 1.088-.56 2.32-.56 3.696 0 1.397.197 2.64.592 3.728.395 1.088.939 2.01 1.632 2.768a6.914 6.914 0 0 0 2.448 1.728 7.764 7.764 0 0 0 3.04.592c.661 0 1.253-.037 1.776-.112a7.843 7.843 0 0 0 1.456-.368c.448-.16.869-.363 1.264-.608a8.89 8.89 0 0 0 1.168-.912c.085-.075.176-.133.272-.176a.616.616 0 0 1 .304-.08zM149.68 16.1c1.195 0 2.272.197 3.232.592a6.54 6.54 0 0 1 2.464 1.68c.683.725 1.205 1.605 1.568 2.64.363 1.024.544 2.176.544 3.456 0 1.28-.181 2.437-.544 3.472-.363 1.035-.885 1.915-1.568 2.64a6.795 6.795 0 0 1-2.464 1.68c-.96.384-2.037.576-3.232.576-1.205 0-2.293-.192-3.264-.576a6.987 6.987 0 0 1-2.464-1.68c-.683-.725-1.211-1.605-1.584-2.64-.363-1.035-.544-2.192-.544-3.472 0-1.28.181-2.432.544-3.456.373-1.035.901-1.915 1.584-2.64a6.717 6.717 0 0 1 2.464-1.68c.971-.395 2.059-.592 3.264-.592zm0 14.304c1.536 0 2.683-.517 3.44-1.552.757-1.035 1.136-2.49 1.136-4.368 0-1.877-.379-3.333-1.136-4.368-.757-1.045-1.904-1.568-3.44-1.568-1.557 0-2.72.523-3.488 1.568-.757 1.035-1.136 2.49-1.136 4.368 0 1.877.379 3.333 1.136 4.368.768 1.035 1.931 1.552 3.488 1.552zM163.899 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.442 6.442 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448.682.299 1.253.72 1.712 1.264.458.533.805 1.179 1.04 1.936.234.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.534-.65-1.35-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.38 7.38 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM181.805 18.612c.352-.373.72-.715 1.104-1.024a6.73 6.73 0 0 1 1.216-.784 6.195 6.195 0 0 1 1.392-.512 6.448 6.448 0 0 1 1.6-.192c.896 0 1.68.15 2.352.448a4.63 4.63 0 0 1 1.712 1.264c.459.533.805 1.179 1.04 1.936.235.757.352 1.595.352 2.512v10.352h-3.136V22.26c0-1.163-.267-2.064-.8-2.704-.533-.65-1.349-.976-2.448-.976-.8 0-1.552.192-2.256.576a7.396 7.396 0 0 0-1.936 1.536v11.92h-3.12V16.356h1.872c.437 0 .709.208.816.624l.24 1.632zM207.551 22.676c0-.619-.09-1.19-.272-1.712a3.77 3.77 0 0 0-.768-1.36 3.521 3.521 0 0 0-1.248-.896c-.49-.213-1.056-.32-1.696-.32-1.312 0-2.346.379-3.104 1.136-.746.757-1.221 1.808-1.424 3.152h8.512zm2.576 7.616a6.311 6.311 0 0 1-1.328 1.168 7.926 7.926 0 0 1-1.6.784 9.664 9.664 0 0 1-1.76.448c-.597.096-1.189.144-1.776.144-1.12 0-2.16-.187-3.12-.56a7.159 7.159 0 0 1-2.48-1.664c-.693-.736-1.237-1.643-1.632-2.72-.384-1.088-.576-2.336-.576-3.744 0-1.13.176-2.181.528-3.152a7.67 7.67 0 0 1 1.504-2.56 7.064 7.064 0 0 1 2.416-1.712c.95-.416 2.016-.624 3.2-.624.992 0 1.904.165 2.736.496.843.32 1.568.79 2.176 1.408.608.619 1.083 1.381 1.424 2.288.352.907.528 1.941.528 3.104 0 .48-.053.805-.16.976-.106.16-.304.24-.592.24h-10.656c.032.97.171 1.819.416 2.544.246.715.582 1.312 1.008 1.792.438.48.955.837 1.552 1.072.598.235 1.264.352 2 .352.694 0 1.291-.08 1.792-.24.512-.16.95-.33 1.312-.512.374-.192.683-.368.928-.528.256-.16.48-.24.672-.24.256 0 .454.096.592.288l.896 1.152zM225.113 19.396a1.836 1.836 0 0 1-.288.288c-.086.064-.214.096-.384.096-.171 0-.352-.064-.544-.192a4.872 4.872 0 0 0-.704-.432 5.21 5.21 0 0 0-1.024-.432c-.395-.139-.886-.208-1.472-.208-.768 0-1.446.139-2.032.416a3.972 3.972 0 0 0-1.472 1.184c-.384.512-.678 1.136-.88 1.872-.203.736-.304 1.563-.304 2.48 0 .95.106 1.797.32 2.544.213.736.517 1.36.912 1.872.394.501.874.885 1.44 1.152a4.522 4.522 0 0 0 1.888.384c.672 0 1.226-.08 1.664-.24.437-.17.8-.352 1.088-.544.288-.192.528-.368.72-.528.192-.17.389-.256.592-.256.256 0 .453.096.592.288l.896 1.152a5.966 5.966 0 0 1-1.264 1.168c-.459.32-.95.581-1.472.784a8.34 8.34 0 0 1-1.648.448c-.566.096-1.142.144-1.728.144a7.25 7.25 0 0 1-2.848-.56 6.52 6.52 0 0 1-2.288-1.632c-.64-.715-1.147-1.59-1.52-2.624-.374-1.045-.56-2.23-.56-3.552 0-1.205.165-2.32.496-3.344.341-1.024.837-1.904 1.488-2.64a6.821 6.821 0 0 1 2.432-1.744c.96-.427 2.058-.64 3.296-.64 1.162 0 2.186.187 3.072.56a7.514 7.514 0 0 1 2.368 1.584l-.832 1.152zM234.121 32.868c-1.312 0-2.325-.368-3.04-1.104-.704-.736-1.056-1.787-1.056-3.152v-9.728h-1.888a.701.701 0 0 1-.464-.16c-.117-.117-.176-.288-.176-.512v-1.264l2.64-.368.704-4.848a.738.738 0 0 1 .24-.416.724.724 0 0 1 .48-.16h1.584v5.456h4.608v2.272h-4.608v9.52c0 .64.155 1.12.464 1.44.32.31.726.464 1.216.464.288 0 .534-.037.736-.112a3.27 3.27 0 0 0 .544-.24c.15-.096.278-.181.384-.256a.521.521 0 0 1 .288-.112c.107 0 .187.027.24.08a.694.694 0 0 1 .192.224l.928 1.504c-.512.47-1.12.832-1.824 1.088a6.362 6.362 0 0 1-2.192.384z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z"})]}))};Kt.defaultProps={width:"239",height:"42",viewBox:"0 0 239 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Xt=j.Copy=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M12.342.063h-9.75A1.63 1.63 0 0 0 .967 1.688v11.374h1.625V1.688h9.75V.063zm2.437 3.25H5.842a1.63 1.63 0 0 0-1.625 1.624v11.375a1.63 1.63 0 0 0 1.625 1.625h8.937a1.63 1.63 0 0 0 1.625-1.625V4.938a1.63 1.63 0 0 0-1.625-1.625zm0 13H5.842V4.938h8.937v11.375z"})}))};Xt.defaultProps={width:"17",height:"18",viewBox:"0 0 17 18",xmlns:"http://www.w3.org/2000/svg"};var Jt=j.DidLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.79a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z"})]}))};Jt.defaultProps={width:"43",height:"42",viewBox:"0 0 43 42",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Qt=j.DidLogoColorful=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M7.366.646L8.46 0h3.981v11.96H8.564a.381.381 0 0 1-.194-.053L4.18 9.431V2.53l.508-.3.893.528-.508.3v5.845L8.7 11.046h2.85V.914h-2.85l-.44.26-.893-.528z",fill:"color(display-p3 .4196 .7412 .9961)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.868 8.903V3.057L4.242.915H1.393v10.132h2.85l.44-.26.893.527-1.095.647H.5V0h3.981l4.28 2.53v6.9l-.506.3-.893-.528.506-.299z",fill:"color(display-p3 .2706 .5961 .9804)"})]}))};Qt.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none"};var Yt=j.DidWallet=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,n.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"url(#paint0_linear)"}),(0,n.jsx)("path",{d:"M3.52 7.36A2.56 2.56 0 0 1 6.08 4.8h19.84a2.56 2.56 0 0 1 2.56 2.56v12.16a2.56 2.56 0 0 1-2.56 2.56H6.08a2.56 2.56 0 0 1-2.56-2.56V7.36z",fill:"#9FCBFF",filter:"url(#filter0_i)"}),(0,n.jsx)("path",{d:"M2.56 9.28a2.56 2.56 0 0 1 2.56-2.56h21.76a2.56 2.56 0 0 1 2.56 2.56v13.6a2.56 2.56 0 0 1-2.56 2.56H5.12a2.56 2.56 0 0 1-2.56-2.56V9.28z",fill:"url(#paint1_linear)",filter:"url(#filter1_d)"}),(0,n.jsx)("path",{d:"M0 22.32l32-6.16V32H0v-9.68z",fill:"url(#paint2_linear)",filter:"url(#filter2_d)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.536 9.248h8.288c.408 0 .74.3.74.672v4.64c0 .371-.332.672-.74.672H5.536c-.408 0-.74-.3-.74-.672v-.04a.158.158 0 1 0-.316 0v.04c0 .53.473.96 1.056.96h8.288c.583 0 1.056-.43 1.056-.96V9.92c0-.53-.473-.96-1.056-.96H5.536c-.583 0-1.056.43-1.056.96v.04a.158.158 0 0 0 .317 0v-.04c0-.371.33-.672.739-.672zm-1.023 4.638a.127.127 0 0 0 .087.034h1.267c.472 0 .83-.107 1.076-.322.25-.217.381-.548.397-.993a11.281 11.281 0 0 0 0-.734c-.012-.426-.148-.751-.406-.975-.258-.224-.622-.336-1.09-.336H4.6a.127.127 0 0 0-.087.034.117.117 0 0 0-.033.086v3.12c0 .032.011.06.033.086zm1.794-.806c-.099.1-.253.149-.464.149h-.502V11.25h.478c.21 0 .369.051.474.154.108.102.166.26.172.475.006.09.01.208.01.355s-.004.267-.01.36c-.006.221-.059.383-.158.485zm1.63.806a.127.127 0 0 0 .087.034h.64a.116.116 0 0 0 .087-.034.11.11 0 0 0 .038-.086v-3.12a.11.11 0 0 0-.038-.086.116.116 0 0 0-.086-.034h-.641a.127.127 0 0 0-.087.034.117.117 0 0 0-.033.086v3.12c0 .032.011.06.033.086zm1.637.034a.127.127 0 0 1-.086-.034.128.128 0 0 1-.033-.086v-3.12c0-.035.01-.064.033-.086a.127.127 0 0 1 .086-.034h1.244c.469 0 .832.112 1.09.336.259.224.394.549.407.974a11.244 11.244 0 0 1 0 .735c-.016.445-.148.776-.397.993-.245.215-.604.322-1.076.322H9.574zm1.244-.691c.21 0 .365-.05.464-.149.099-.102.152-.264.158-.485a5.52 5.52 0 0 0 .01-.36c0-.147-.004-.265-.01-.355-.006-.214-.064-.373-.172-.475-.106-.103-.263-.154-.474-.154h-.478v1.978h.502zm2.468-1.382a.288.288 0 0 1-.288-.286.288.288 0 0 1 .576 0c0 .158-.13.286-.288.286zm0 1.495a.288.288 0 0 1-.288-.286.288.288 0 0 1 .576 0c0 .158-.13.287-.288.287z",fill:"#4598FA"})]}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("filter",{id:"filter0_i",x:"3.52",y:"1.8",width:"24.96",height:"20.28",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{dy:"-3"}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,n.jsx)("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:"-1",k3:"1"}),(0,n.jsx)("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.2 0"}),(0,n.jsx)("feBlend",{in2:"shape",result:"effect1_innerShadow"})]}),(0,n.jsxs)("filter",{id:"filter1_d",x:"-1.44",y:"1.72",width:"34.88",height:"26.72",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{dy:"-1"}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,n.jsx)("feColorMatrix",{values:"0 0 0 0 0.220767 0 0 0 0 0.470803 0 0 0 0 0.701605 0 0 0 0.18 0"}),(0,n.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,n.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,n.jsxs)("filter",{id:"filter2_d",x:"-5",y:"11.16",width:"42",height:"25.84",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,n.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"2.5"}),(0,n.jsx)("feColorMatrix",{values:"0 0 0 0 0.14382 0 0 0 0 0.205065 0 0 0 0 0.522634 0 0 0 0.25 0"}),(0,n.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,n.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]}),(0,n.jsxs)("linearGradient",{id:"paint0_linear",x1:"16",x2:"16",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#4F9DF6"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#0A79F8"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear",x1:"16",y1:"6.72",x2:"16",y2:"25.44",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#fff"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#ECEFFF"})]}),(0,n.jsxs)("linearGradient",{id:"paint2_linear",x1:"16",y1:"19.2",x2:"18.48",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{offset:".007",stopColor:"#77B2F6"}),(0,n.jsx)("stop",{offset:".055",stopColor:"#4F9DF6"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#4598FA"})]}),(0,n.jsx)("clipPath",{id:"clip0",children:(0,n.jsx)("rect",{width:"32",height:"32",rx:"6",fill:"#fff"})})]})]}))};Yt.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Zt=j.Disconnect=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M21.78 3.28a.75.75 0 0 0-1.06-1.06l-2.012 2.012a4.25 4.25 0 0 0-5.463.462l-1.068 1.069a1.75 1.75 0 0 0 0 2.474l3.585 3.586a1.75 1.75 0 0 0 2.475 0l1.068-1.068a4.251 4.251 0 0 0 .463-5.463L21.78 3.28zm-3.585 2.475l.022.023.003.002.002.003.023.022a2.75 2.75 0 0 1 0 3.89l-1.068 1.067a.25.25 0 0 1-.354 0l-3.586-3.585a.251.251 0 0 1 0-.354l1.068-1.068a2.75 2.75 0 0 1 3.89 0zM10.78 11.28a.75.75 0 1 0-1.06-1.06L8 11.94l-.47-.47a.75.75 0 0 0-1.06 0l-1.775 1.775a4.251 4.251 0 0 0-.463 5.463L2.22 20.72a.75.75 0 1 0 1.06 1.06l2.012-2.012a4.251 4.251 0 0 0 5.463-.463l1.775-1.775a.75.75 0 0 0 0-1.06l-.47-.47 1.72-1.72a.75.75 0 1 0-1.06-1.06L11 14.94 9.06 13l1.72-1.72zm-3.314 2.247l.004.003.003.004 2.993 2.993.004.003.003.004.466.466-1.244 1.245a2.75 2.75 0 0 1-3.89 0l-.05-.05a2.75 2.75 0 0 1 0-3.89L7 13.062l.466.466v-.001z",fill:"currentColor"})}))};Zt.defaultProps={viewBox:"0 0 24 24",fill:"none"};var eo=j.Mobile=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M3.833.833h13.334A3.333 3.333 0 0 1 20.5 4.167v26.666a3.333 3.333 0 0 1-3.333 3.334H3.833A3.333 3.333 0 0 1 .5 30.833V4.168A3.333 3.333 0 0 1 3.833.833zm0 3.334v25h13.334v-25H3.833z"})}))};eo.defaultProps={width:"21",height:"35",viewBox:"0 0 21 35",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var to=j.OpenIn=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.924 3.617a.997.997 0 0 0-.215-.322l-.004-.004A.997.997 0 0 0 20 3h-6a1 1 0 1 0 0 2h3.586l-7.293 7.293a1 1 0 1 0 1.414 1.414L19 6.414V10a1 1 0 0 0 2 0V3.997a.999.999 0 0 0-.076-.38zM3 8a5 5 0 0 1 5-5h1a1 1 0 0 1 0 2H8a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3v-1a1 1 0 0 1 2 0v1a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8z",fill:"currentColor"})}))};to.defaultProps={viewBox:"0 0 24 24",fill:"none"};var oo=j.Switch=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M4 17l4-4m0-6h12H8zm12 0l-4-4 4 4zm0 0l-4 4 4-4zm-4 10H4h12zM4 17l4 4-4-4z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}))};oo.defaultProps={viewBox:"0 0 24 24",fill:"none"};var lo=j.EditIcon=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M6.04 17.625a.953.953 0 0 0 .14-.012l3.943-.691a.23.23 0 0 0 .124-.066l9.935-9.935a.233.233 0 0 0 0-.33l-3.895-3.898a.232.232 0 0 0-.167-.068.232.232 0 0 0-.166.068l-9.935 9.935a.238.238 0 0 0-.066.124l-.691 3.943a.785.785 0 0 0 .22.698c.155.15.35.232.558.232zm1.58-4.088l8.5-8.498 1.718 1.718-8.5 8.498-2.084.368.366-2.085zm13.005 6.057H3.375a.75.75 0 0 0-.75.75v.843c0 .104.084.188.188.188h18.375a.188.188 0 0 0 .187-.188v-.843a.75.75 0 0 0-.75-.75z"})}))};lo.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var no=j.DeleteIcon=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M8.438 4.313H8.25a.188.188 0 0 0 .188-.188v.188h7.124v-.188c0 .103.085.188.188.188h-.188V6h1.688V4.125c0-.827-.673-1.5-1.5-1.5h-7.5c-.827 0-1.5.673-1.5 1.5V6h1.688V4.312zM20.25 6H3.75a.75.75 0 0 0-.75.75v.75c0 .103.084.188.188.188h1.415l.579 12.257c.038.8.698 1.43 1.498 1.43h10.64c.802 0 1.46-.628 1.498-1.43l.579-12.258h1.416A.188.188 0 0 0 21 7.5v-.75a.75.75 0 0 0-.75-.75zm-3.11 13.688H6.86l-.567-12h11.414l-.567 12z"})}))};no.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var so=j.PassportIcon=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.333 4.292c0-.46.373-.834.834-.834h12.25c.46 0 .833.373.833.834v14.875c0 .46-.373.833-.833.833H4.167a.833.833 0 0 1-.834-.833V4.292zM5 5.125v13.208h10.583V5.125H5z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.297 1.004a.833.833 0 0 1 .328.663v2.625a.833.833 0 1 1-1.667 0V2.758L4.386 5.096a.833.833 0 1 1-.439-1.608L13.572.863a.833.833 0 0 1 .726.141zM10.292 9.5a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.833zm-2.584.917a2.583 2.583 0 1 1 5.167 0 2.583 2.583 0 0 1-5.167 0zM7.708 14.792c0-.46.373-.834.834-.834h3.5a.833.833 0 0 1 0 1.667h-3.5a.833.833 0 0 1-.834-.833z"})]}))};so.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var ro=j.ExternalIssuerIcon=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M1.25 2.709c0-.46.373-.834.834-.834h12.255c.46 0 .834.373.834.834v6.607a.834.834 0 1 1-1.668 0V3.542H2.917v13.214h6.407a.834.834 0 1 1 0 1.668h-7.24a.834.834 0 0 1-.834-.834V2.71z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.211 7.92a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.834zm-2.584.916a2.584 2.584 0 1 1 5.169 0 2.584 2.584 0 0 1-5.17 0zM5.627 13.213c0-.46.373-.833.834-.833h3.501a.834.834 0 0 1 0 1.667H6.461a.834.834 0 0 1-.834-.834zM15.64 11.313c.215 0 .41.121.505.313l1.033 2.092 2.31.338a.563.563 0 0 1 .31.96l-1.67 1.627.394 2.3a.563.563 0 0 1-.816.592l-2.065-1.086-2.066 1.086a.562.562 0 0 1-.816-.593l.394-2.299-1.67-1.627a.563.563 0 0 1 .31-.96l2.31-.338 1.033-2.092a.562.562 0 0 1 .505-.313zm0 1.833l-.659 1.335a.563.563 0 0 1-.423.308l-1.474.215 1.066 1.04c.133.129.194.315.162.498l-.251 1.467 1.318-.694a.563.563 0 0 1 .524 0l1.318.694-.252-1.467a.563.563 0 0 1 .162-.498l1.067-1.04-1.475-.215a.563.563 0 0 1-.423-.308l-.66-1.335z"})]}))};ro.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var io=j.AllowLoginIcon=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119c.16 0 .289-.13.289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12c.159 0 .288-.13.288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),(0,n.jsx)("rect",{x:"12.5",y:"9.375",width:"7.5",height:"1.875",rx:".938"}),(0,n.jsx)("rect",{x:"15.313",y:"14.063",width:"7.5",height:"1.875",rx:".938",transform:"rotate(-90 15.313 14.063)"})]}))};io.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var ao=j.ForbidLoginIcon=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119c.16 0 .289-.13.289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12c.159 0 .288-.13.288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),(0,n.jsx)("rect",{x:"12.5",y:"9.375",width:"7.5",height:"1.875",rx:".938"})]}))};ao.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var co=j.LockIcon=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M11.78 2.25c-2.767 0-5.019 2.271-5.019 5.063v3.037H5.758a2.018 2.018 0 0 0-2.008 2.025v8.1c0 1.117.9 2.025 2.008 2.025h12.045a2.018 2.018 0 0 0 2.007-2.025v-8.1c0-1.117-.9-2.025-2.007-2.025h-1.004V7.313c0-2.792-2.251-5.063-5.019-5.063zm6.023 10.125l.002 8.1H5.758v-8.1h12.045zM8.769 10.35V7.313c0-1.675 1.35-3.038 3.011-3.038 1.66 0 3.011 1.363 3.011 3.037v3.038H8.77z"})}))};co.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};var uo=j.PersonIcon=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("g",{clipPath:"url(#clip0)",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281v-2.722a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281v-2.722a4.091 4.091 0 0 0-4.092-4.091H7.367z"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0",children:(0,n.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};uo.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};var po=j.RevokeIcon=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"})}))};po.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var ho=j.Dapp=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M6.404 28a2.404 2.404 0 0 1-2.393-2.173L4 25.596V7.966a2.404 2.404 0 0 1 2.173-2.394l.231-.011h7.213a2.404 2.404 0 0 1 2.393 2.172l.01.232v.407l3.51-3.637a2.404 2.404 0 0 1 3.216-.22l.186.161 4.42 4.368a2.404 2.404 0 0 1 .177 3.223l-.165.186-3.704 3.526h.375a2.404 2.404 0 0 1 2.393 2.172l.011.232v7.213a2.404 2.404 0 0 1-2.172 2.393l-.232.011H6.405zm8.014-10.418H5.603v8.014a.801.801 0 0 0 .522.752l.135.036.144.013h8.014v-8.815zm9.617 0H16.02v8.815h8.014a.802.802 0 0 0 .788-.657l.013-.144v-7.213a.802.802 0 0 0-.657-.788l-.144-.013zM16.02 13.11v2.87h2.869l-2.87-2.87zm-2.404-5.946H6.404a.801.801 0 0 0-.788.657l-.013.144v8.014h8.815V7.965a.801.801 0 0 0-.522-.752l-.135-.036-.144-.013zm8.21-1.326a.806.806 0 0 0-1.035-.085l-.109.096-4.192 4.349a.801.801 0 0 0-.092.998l.101.125 4.193 4.192a.801.801 0 0 0 .994.112l.125-.098 4.42-4.21a.802.802 0 0 0 .087-1.023l-.095-.11-4.398-4.346z",fill:"currentColor"})}))};ho.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var fo=j.Add=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 4a1.333 1.333 0 0 0-1.333 1.333v9.334H5.333A1.333 1.333 0 0 0 4 15.992a1.253 1.253 0 0 0 1.353 1.288h9.314v9.387a1.333 1.333 0 1 0 2.666 0v-9.334h9.334a1.333 1.333 0 1 0 0-2.666h-9.334V5.333A1.333 1.333 0 0 0 16 4z",fill:"currentColor"})}))};fo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var xo=j.NFT=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.654 12.75c-.533 0-.904.404-.904.829V24.42c0 .425.371.829.904.829h18.692c.532 0 .904-.404.904-.829V13.58c0-.425-.372-.829-.904-.829H5.654zm-2.404.829c0-1.319 1.11-2.329 2.404-2.329h18.692c1.294 0 2.404 1.01 2.404 2.329V24.42c0 1.319-1.11 2.329-2.404 2.329H5.654c-1.294 0-2.404-1.01-2.404-2.329V13.58zM8.25 6A.75.75 0 0 1 9 5.25h12.25a.75.75 0 0 1 0 1.5H9A.75.75 0 0 1 8.25 6zM6.25 9A.75.75 0 0 1 7 8.25h15.75a.75.75 0 0 1 0 1.5H7A.75.75 0 0 1 6.25 9z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.762 22a.3.3 0 0 0 .3-.3v-2.85c0-.303.398-.416.556-.157l1.934 3.163a.3.3 0 0 0 .256.144h.637a.3.3 0 0 0 .3-.3v-5.4a.3.3 0 0 0-.3-.3h-.462a.3.3 0 0 0-.3.3v2.837c0 .302-.397.415-.555.157l-1.943-3.151A.3.3 0 0 0 7.93 16H7.3a.3.3 0 0 0-.3.3v5.4a.3.3 0 0 0 .3.3h.462zm5.756 0a.3.3 0 0 0 .3-.3v-1.905a.3.3 0 0 1 .3-.3h2.273a.3.3 0 0 0 .3-.3v-.39a.3.3 0 0 0-.3-.3h-2.273a.3.3 0 0 1-.3-.3v-.916a.3.3 0 0 1 .3-.3h2.656a.3.3 0 0 0 .3-.3V16.3a.3.3 0 0 0-.3-.3h-3.762a.3.3 0 0 0-.3.3v5.4a.3.3 0 0 0 .3.3h.506zm7.258 0a.3.3 0 0 0 .3-.3v-4.436a.3.3 0 0 1 .3-.3H22.7a.3.3 0 0 0 .3-.3V16.3a.3.3 0 0 0-.3-.3h-4.359a.3.3 0 0 0-.3.3v.364a.3.3 0 0 0 .3.3h1.329a.3.3 0 0 1 .3.3V21.7a.3.3 0 0 0 .3.3h.506z",fill:"currentColor"})]}))};xo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var mo=j.Rollup=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M18 21.5H6.5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a3 3 0 0 0 3-3v-14m0 0H26a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-.5a2 2 0 0 0-2 2v3.5z",stroke:"currentColor",strokeWidth:"1.6"}),(0,n.jsx)("path",{d:"M8 21.5V8a3 3 0 0 1 3-3h15",stroke:"currentColor",strokeWidth:"1.6"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.895 10.05a.65.65 0 0 0-.211.14l-2.493 2.494a.651.651 0 1 0 .92.92l1.382-1.38v4.125a.651.651 0 1 0 1.302 0v-4.126l1.381 1.381a.651.651 0 0 0 .921-.92l-2.492-2.492-.008-.008a.65.65 0 0 0-.702-.135z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M16 23.5v2a2 2 0 1 0 4 0v-2a2 2 0 1 0-4 0z",stroke:"currentColor",strokeWidth:"1.6"})]}))};mo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var vo=j.Token=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.272 10.48c-1.93 1.272-5.138 1.944-8.24 1.944-3.095 0-6.313-.668-8.213-1.977v4.198c0 1.16 2.768 2.756 7.368 2.935.318.012.606.191.755.469a.866.866 0 0 1-.035.878.896.896 0 0 1-.79.409c-2.792-.103-5.573-.763-7.314-1.909v4.188c0 1.16 2.769 2.755 7.368 2.935a.894.894 0 0 1 .753.472.867.867 0 0 1-.039.878.897.897 0 0 1-.791.405C8.529 26.095 4 24.47 4 21.603V7.713C4 4.654 9.17 3 14.032 3c4.863 0 10.032 1.66 10.032 4.714v3.4a.889.889 0 0 1-.896.882.889.889 0 0 1-.896-.882v-.633zm0-2.766c0-1.233-3.133-2.95-8.24-2.95s-8.244 1.71-8.244 2.942c0 1.233 3.152 2.95 8.244 2.95 5.091 0 8.24-1.71 8.24-2.942zm-.225 5.675c-4.44 0-6.763 1.684-6.763 3.344v8.924c0 1.66 2.327 3.343 6.763 3.343 4.437 0 6.732-1.657 6.771-3.305v-8.962c0-1.664-2.327-3.344-6.77-3.344zm4.98 3.344c0-.477-1.695-1.584-4.98-1.584-3.28 0-4.975 1.11-4.975 1.584 0 .473 1.695 1.58 4.976 1.58 3.28 0 4.979-1.103 4.979-1.58zm-4.98 10.504c-3.28 0-4.975-1.107-4.975-1.58v-2.13c1.136.607 2.804 1.007 4.976 1.007 2.171 0 3.842-.381 4.979-1.007v2.13c.003.473-1.699 1.58-4.98 1.58zm-4.975-6.046c0 .477 1.695 1.584 4.976 1.584 3.28.004 4.983-1.107 4.979-1.584v-2.137c-1.137.614-2.808 1.01-4.98 1.01-2.171 0-3.839-.404-4.975-1.01v2.137z",fill:"currentColor"})}))};vo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var go=j.Tx=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.727 4.773h11.819A2.955 2.955 0 0 1 24.5 7.727v16.546a2.955 2.955 0 0 1-2.954 2.954H9.726a2.955 2.955 0 0 1-2.954-2.954V7.727a2.955 2.955 0 0 1 2.954-2.954zM5 7.727A4.727 4.727 0 0 1 9.727 3h11.819a4.727 4.727 0 0 1 4.727 4.727v16.546A4.727 4.727 0 0 1 21.546 29H9.726A4.727 4.727 0 0 1 5 24.273V7.727zM11.796 9.5a.886.886 0 1 0 0 1.773h7.681a.886.886 0 1 0 0-1.773h-7.681zm-.887 10.34c0-.489.397-.886.886-.886h7.682a.886.886 0 0 1 0 1.773h-7.681a.886.886 0 0 1-.887-.886zm.886-5.613a.886.886 0 1 0 0 1.773h7.682a.886.886 0 0 0 0-1.773h-7.681z",fill:"currentColor"})}))};go.defaultProps={width:"32",height:"33",viewBox:"0 0 32 33",xmlns:"http://www.w3.org/2000/svg"};var bo=j.Connect=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("circle",{cx:"24",cy:"24",r:"24"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.76 28.844a1.4 1.4 0 0 1 1.98 0l2.917 2.916a1.4 1.4 0 0 1 0 1.98l-2.917 2.917a1.4 1.4 0 0 1-1.98-1.98l1.927-1.927-1.927-1.927a1.4 1.4 0 0 1 0-1.98zM12.027 12.027a3.733 3.733 0 1 1 5.28 5.28 3.733 3.733 0 0 1-5.28-5.28zm2.64 1.707a.933.933 0 1 0 0 1.866.933.933 0 0 0 0-1.866z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.6 14.667a1.4 1.4 0 0 1 1.4-1.4h4.667A3.733 3.733 0 0 1 25.4 17v13.417a.933.933 0 0 0 .933.933h9.334a1.4 1.4 0 1 1 0 2.8h-9.334a3.733 3.733 0 0 1-3.733-3.733V17a.933.933 0 0 0-.933-.933H17a1.4 1.4 0 0 1-1.4-1.4z",fill:"#fff"})]}))};bo.defaultProps={width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var jo=j.WalletTextLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.22.878h25.268c1.244 0 2.253.917 2.253 2.049v14.146c0 1.132-1.009 2.049-2.253 2.049H3.22c-1.245 0-2.254-.917-2.254-2.049v-.12a.483.483 0 0 0-.966 0v.12C0 18.69 1.441 20 3.22 20h25.268c1.778 0 3.22-1.31 3.22-2.927V2.927C31.707 1.31 30.265 0 28.487 0H3.22C1.44 0 0 1.31 0 2.927v.12a.483.483 0 1 0 .966 0v-.12C.966 1.795 1.975.878 3.22.878zM.102 15.02a.387.387 0 0 0 .263.103h3.864c1.439 0 2.533-.327 3.281-.98.759-.664 1.162-1.674 1.21-3.03.01-.273.015-.644.015-1.112 0-.469-.005-.844-.014-1.127-.04-1.298-.452-2.288-1.24-2.97-.787-.684-1.896-1.025-3.325-1.025H.365a.388.388 0 0 0-.263.102.357.357 0 0 0-.102.264v9.512a.39.39 0 0 0 .102.263zm5.469-2.458c-.302.302-.773.453-1.415.453H2.625V6.986h1.458c.642 0 1.123.156 1.444.468.33.313.506.795.525 1.45.02.272.03.633.03 1.082 0 .449-.01.815-.03 1.098-.02.673-.18 1.165-.481 1.478zm4.97 2.458a.388.388 0 0 0 .262.103h1.955a.355.355 0 0 0 .262-.103.334.334 0 0 0 .117-.263V5.245a.334.334 0 0 0-.117-.264.355.355 0 0 0-.262-.102h-1.954a.388.388 0 0 0-.263.102.357.357 0 0 0-.102.264v9.512a.39.39 0 0 0 .102.263zm4.99.103a.388.388 0 0 1-.262-.103.39.39 0 0 1-.102-.263V5.245c0-.108.034-.196.102-.264a.388.388 0 0 1 .263-.102h3.791c1.43 0 2.538.341 3.325 1.024.788.683 1.201 1.673 1.24 2.97.01.284.014.66.014 1.128 0 .468-.004.839-.014 1.112-.049 1.356-.452 2.366-1.21 3.03-.75.653-1.843.98-3.282.98h-3.864zm3.792-2.108c.642 0 1.113-.15 1.415-.453.301-.313.462-.805.481-1.478.02-.283.03-.65.03-1.098 0-.449-.01-.81-.03-1.083-.02-.654-.194-1.136-.525-1.449-.32-.312-.802-.468-1.444-.468h-1.458v6.03h1.531zm7.524-4.212a.878.878 0 0 1-.879-.872c0-.482.397-.872.879-.872s.879.39.879.872a.878.878 0 0 1-.879.872zm0 4.558a.878.878 0 0 1-.879-.872c0-.481.397-.872.879-.872s.879.39.879.872a.878.878 0 0 1-.879.872z",fill:"#4598FA"}),(0,n.jsx)("path",{d:"M37.138 14.838a.526.526 0 0 1-.365-.122.56.56 0 0 1-.163-.325l-1.474-8.645a.3.3 0 0 1-.014-.095.26.26 0 0 1 .081-.19.285.285 0 0 1 .203-.094h1.678c.252 0 .392.1.42.298l.879 5.276.974-3.111c.099-.244.248-.366.446-.366h.974c.226 0 .375.122.447.366l.974 3.111.88-5.276c.026-.199.166-.298.419-.298h1.677c.081 0 .15.032.203.095a.243.243 0 0 1 .095.19l-.014.094-1.474 8.645a.53.53 0 0 1-.176.325.506.506 0 0 1-.352.122h-1.285a.492.492 0 0 1-.338-.108.646.646 0 0 1-.176-.244l-1.367-3.87-1.366 3.87c-.081.234-.248.352-.5.352h-1.286zM45.929 14.838a.307.307 0 0 1-.203-.081.307.307 0 0 1-.081-.203c0-.055.004-.095.013-.122l3.18-8.686a.492.492 0 0 1 .175-.27.546.546 0 0 1 .352-.109h2.002c.145 0 .262.036.352.108.09.073.15.163.176.271l3.166 8.686.027.122c0 .072-.032.14-.095.203a.276.276 0 0 1-.203.08h-1.664c-.216 0-.36-.094-.433-.283l-.527-1.38h-3.613l-.514 1.38c-.072.19-.22.284-.446.284h-1.664zm5.696-3.613l-1.259-3.571-1.258 3.571h2.517zM56.493 14.838a.36.36 0 0 1-.244-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .244-.095h1.786c.099 0 .18.032.243.095a.33.33 0 0 1 .095.243v7.09h4.1c.099 0 .18.036.243.108a.33.33 0 0 1 .094.244v1.352a.36.36 0 0 1-.094.244.33.33 0 0 1-.244.095h-6.223zM64.565 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .243-.095h1.786c.1 0 .18.032.244.095a.33.33 0 0 1 .095.243v7.09h4.099c.1 0 .18.036.243.108a.33.33 0 0 1 .095.244v1.352a.36.36 0 0 1-.094.244.33.33 0 0 1-.244.095h-6.224zM72.638 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V5.705c0-.099.032-.18.095-.243a.36.36 0 0 1 .243-.095h6.318c.1 0 .18.032.244.095a.33.33 0 0 1 .095.243v1.272a.36.36 0 0 1-.095.244.33.33 0 0 1-.244.094H74.64v1.827h4.019c.099 0 .18.036.243.108a.33.33 0 0 1 .095.244v1.177a.36.36 0 0 1-.095.243.33.33 0 0 1-.243.095H74.64v1.88h4.425c.099 0 .18.032.243.095a.33.33 0 0 1 .095.244v1.271a.36.36 0 0 1-.095.244.33.33 0 0 1-.243.095h-6.427zM83.362 14.838a.36.36 0 0 1-.243-.095.36.36 0 0 1-.095-.244V7.491h-2.408a.36.36 0 0 1-.243-.094.36.36 0 0 1-.095-.244V5.705c0-.099.031-.18.094-.243a.36.36 0 0 1 .244-.095h7.279c.1 0 .18.032.243.095a.33.33 0 0 1 .095.243v1.448c0 .1-.031.18-.095.244a.33.33 0 0 1-.243.094h-2.408V14.5a.36.36 0 0 1-.095.244.33.33 0 0 1-.244.095h-1.785z",fill:"#334660"})]}))};jo.defaultProps={width:"89",height:"20",viewBox:"0 0 89 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var wo=j.Pending=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("circle",{opacity:".2",cx:"12",cy:"12",r:"12"}),(0,n.jsx)("circle",{cx:"12",cy:"12",r:"7.385"})]}))};wo.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Ro=j.ABTNode=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.333 9.2c.81 0 1.467.657 1.467 1.467v16c0 .26.112.617.539 1.065.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065v-16a1.467 1.467 0 1 1 2.933 0v16c0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.025-2.398 1.066-5.61 1.688-9.08 1.688-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087v-16c0-.81.656-1.467 1.466-1.467z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.333 17.2c.81 0 1.467.657 1.467 1.467 0 .26.112.617.539 1.065.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065a1.467 1.467 0 1 1 2.933 0c0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.025-2.398 1.066-5.61 1.688-9.08 1.688-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087 0-.81.656-1.467 1.466-1.467z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.339 9.601c-.427.449-.539.806-.539 1.066s.112.617.539 1.065c.434.456 1.131.933 2.105 1.366 1.944.864 4.732 1.435 7.89 1.435 3.157 0 5.945-.571 7.889-1.435.974-.433 1.67-.91 2.105-1.366.427-.448.539-.806.539-1.065 0-.26-.113-.617-.54-1.066-.433-.456-1.13-.933-2.104-1.366-1.944-.864-4.732-1.435-7.89-1.435-3.157 0-5.945.571-7.89 1.435-.973.433-1.67.91-2.104 1.366zm.914-4.046c2.4-1.067 5.611-1.688 9.08-1.688 3.47 0 6.682.621 9.08 1.688 1.199.532 2.259 1.204 3.04 2.024.788.828 1.347 1.874 1.347 3.088 0 1.213-.56 2.26-1.347 3.087-.781.82-1.841 1.492-3.04 2.024-2.398 1.067-5.61 1.689-9.08 1.689-3.469 0-6.68-.622-9.08-1.688-1.198-.533-2.258-1.205-3.039-2.025-.788-.828-1.347-1.874-1.347-3.087 0-1.214.56-2.26 1.347-3.088.78-.82 1.84-1.492 3.039-2.024zM34.667 35.867c.81 0 1.466.656 1.466 1.466v16c0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066v-16a1.467 1.467 0 0 1 2.933 0v16c0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088v-16c0-.81.657-1.466 1.467-1.466z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M34.667 43.867c.81 0 1.466.656 1.466 1.466 0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066a1.467 1.467 0 0 1 2.933 0c0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088 0-.81.657-1.466 1.467-1.466z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.672 36.268c-.426.448-.539.806-.539 1.065 0 .26.112.617.54 1.066.433.456 1.13.933 2.104 1.366 1.944.863 4.732 1.435 7.89 1.435 3.157 0 5.945-.572 7.89-1.435.973-.433 1.67-.91 2.104-1.366.427-.449.539-.806.539-1.066s-.112-.617-.539-1.065c-.434-.456-1.131-.933-2.105-1.366-1.944-.864-4.732-1.435-7.89-1.435-3.157 0-5.945.571-7.889 1.435-.974.433-1.67.91-2.105 1.366zm.914-4.047c2.4-1.066 5.611-1.688 9.08-1.688 3.47 0 6.682.622 9.081 1.688 1.198.533 2.258 1.204 3.039 2.025.788.828 1.347 1.873 1.347 3.087 0 1.214-.56 2.26-1.347 3.088-.78.82-1.84 1.492-3.039 2.024-2.4 1.066-5.611 1.688-9.08 1.688-3.47 0-6.681-.622-9.08-1.688-1.199-.532-2.259-1.204-3.04-2.024-.787-.828-1.347-1.874-1.347-3.088s.56-2.26 1.347-3.087c.781-.82 1.841-1.492 3.04-2.025zM41.2 8c0-.81.657-1.467 1.467-1.467h8a6.8 6.8 0 0 1 6.8 6.8v8a1.467 1.467 0 0 1-2.934 0v-8a3.866 3.866 0 0 0-3.866-3.866h-8c-.81 0-1.467-.657-1.467-1.467zM8 41.2c.81 0 1.467.657 1.467 1.467v8a3.867 3.867 0 0 0 3.866 3.866h8a1.467 1.467 0 1 1 0 2.934h-8a6.8 6.8 0 0 1-6.8-6.8v-8c0-.81.657-1.467 1.467-1.467z"})]}))};Ro.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};var Co=j.Bridge=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.01 3.2a.8.8 0 0 0-.8.8v12.486a.84.84 0 0 0 0 .026v2.338h-1.2a.8.8 0 1 0 0 1.6h24.3a.8.8 0 0 0 0-1.6h-1.58a.797.797 0 0 0 .08-.35v-1.993a.96.96 0 0 0 0-.024V4a.8.8 0 0 0-.8-.8h-20zm19.281 15.65a.797.797 0 0 1-.08-.35v-1.77l-.03-.047c-.1-.15-.252-.37-.454-.635a14.045 14.045 0 0 0-1.81-1.95C21.319 12.678 19 11.3 16.01 11.3c-2.99 0-5.308 1.377-6.906 2.798a14.044 14.044 0 0 0-1.81 1.95c-.203.265-.354.485-.454.635l-.03.047v2.12h18.48zm-.08-4.722V4.8h-3.4v6.514c.83.489 1.553 1.04 2.169 1.588.47.419.881.837 1.23 1.226zm-5-3.606V4.8h-3.4v4.928c1.248.09 2.383.382 3.4.794zm-5-.794a11.116 11.116 0 0 0-3.4.794V4.8h3.4v4.928zm-5 1.586V4.8h-3.4v9.328c.35-.39.76-.807 1.23-1.226.616-.547 1.34-1.1 2.17-1.588zm-5 12.336a.8.8 0 0 1 .8-.8h20a.8.8 0 1 1 0 1.6h-20a.8.8 0 0 1-.8-.8zm2.8 3.2a.8.8 0 1 0 0 1.6h16a.8.8 0 0 0 0-1.6h-16z",fill:"currentColor"})}))};Co.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var yo=j.BridgeMoveIn=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.077.934a.8.8 0 0 0-1.131 1.132L23.08 3.2H8.012a.8.8 0 1 0 0 1.6H23.08l-1.134 1.134a.8.8 0 0 0 1.131 1.132l2.5-2.5a.8.8 0 0 0 0-1.132l-2.5-2.5zm-17.632 8.5a.8.8 0 0 1 .566-.234h20a.8.8 0 0 1 .8.8v14.5a.797.797 0 0 1-.08.35h1.58a.8.8 0 0 1 0 1.6H4.01a.8.8 0 1 1 0-1.6h1.2v-2.338V10a.8.8 0 0 1 .234-.566zM25.211 24.5c0 .125.029.244.08.35H6.811v-2.12l.03-.047c.1-.15.251-.37.454-.635a14.05 14.05 0 0 1 1.81-1.95c1.598-1.42 3.916-2.798 6.906-2.798 2.989 0 5.308 1.377 6.906 2.798a14.051 14.051 0 0 1 1.81 1.95c.202.265.354.485.453.635l.03.047v1.77zm0-13.7v9.328a15.53 15.53 0 0 0-1.231-1.226c-.616-.547-1.34-1.1-2.17-1.588V10.8h3.4zm-5 0v5.722a11.116 11.116 0 0 0-3.4-.794V10.8h3.4zm-8.4 5.722a11.116 11.116 0 0 1 3.4-.794V10.8h-3.4v5.722zm-1.6-5.722v6.514c-.83.489-1.554 1.041-2.17 1.588-.47.419-.88.837-1.23 1.226V10.8h3.4zm-4.2 18.05a.8.8 0 0 0 0 1.6h20a.8.8 0 1 0 0-1.6h-20z",fill:"currentColor"})}))};yo.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var zo=j.BridgeMoveOut=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.946 7.066a.8.8 0 0 0 1.132-1.132L9.943 4.8h14.069a.8.8 0 0 0 0-1.6H9.943l1.135-1.134A.8.8 0 0 0 9.946.934L7.452 3.428a.804.804 0 0 0-.24.572c0 .225.093.429.242.574l2.492 2.492zM5.444 9.434A.8.8 0 0 1 6.01 9.2h20a.8.8 0 0 1 .8.8v14.5a.797.797 0 0 1-.08.35h1.58a.8.8 0 1 1 0 1.6H4.01a.8.8 0 0 1 0-1.6h1.2v-2.335V10a.8.8 0 0 1 .234-.566zM25.21 24.5c0 .126.029.244.08.35H6.81v-2.12l.03-.047c.1-.15.251-.37.454-.635a14.044 14.044 0 0 1 1.81-1.95c1.598-1.42 3.916-2.798 6.906-2.798 2.989 0 5.308 1.377 6.906 2.798a14.045 14.045 0 0 1 1.81 1.95c.202.265.354.485.453.635l.03.047v1.77zm0-13.7v9.328c-.35-.389-.76-.807-1.231-1.226-.616-.547-1.34-1.1-2.17-1.588V10.8h3.4zm-5 0v5.722a11.116 11.116 0 0 0-3.4-.794V10.8h3.4zm-8.4 5.722a11.116 11.116 0 0 1 3.4-.794V10.8h-3.4v5.722zm-1.6-5.722v6.514a13.87 13.87 0 0 0-2.17 1.588c-.47.419-.88.837-1.23 1.226V10.8h3.4zm-4.2 18.05a.8.8 0 1 0 0 1.6h20a.8.8 0 0 0 0-1.6h-20z",fill:"currentColor"})}))};zo.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var So=j.DidWalletLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M24.604 2.263L28.524 0H42.79v41.862H28.791a1 1 0 0 1-.5-.134l-15.103-8.72V8.854l1.817-1.05 3.2 1.848-1.817 1.05V31.16l12.993 7.502H39.59V3.2H29.38l-1.576.91-3.2-1.847z",fill:"#6BBDFE"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.402 31.16V10.701L13.409 3.2H3.2v35.462h10.21l1.58-.913 3.2 1.847-3.923 2.266H0V0h14.267l15.335 8.854v24.154l-1.813 1.046-3.2-1.847 1.813-1.047z",fill:"#4598FA"}),(0,n.jsx)("path",{d:"M152.732 9.627l-7.02 22.502h-3.009l-5.484-16.688a7.8 7.8 0 0 1-.329-1.207c-.115.48-.225.883-.329 1.207l-5.548 16.688h-2.993L121 9.627h2.789c.293 0 .538.073.737.22a.955.955 0 0 1 .392.563l4.434 15.06c.084.292.157.61.22.955.073.345.146.706.219 1.082.073-.377.146-.737.219-1.082.084-.344.178-.663.282-.956l5.078-15.059c.062-.209.193-.391.391-.548.209-.157.455-.235.737-.235h.956c.292 0 .533.073.721.22.188.145.323.334.407.563l5.061 15.06c.189.574.356 1.227.502 1.958.125-.72.261-1.374.407-1.959l4.451-15.059c.052-.209.183-.391.391-.548.209-.157.455-.235.737-.235h2.601zM162.039 25.062c-1.244.042-2.299.141-3.166.298-.867.146-1.572.345-2.115.595-.543.25-.935.549-1.175.893-.241.335-.361.71-.361 1.129 0 .397.063.741.188 1.034.136.282.314.517.533.705.23.178.496.308.799.392a3.7 3.7 0 0 0 .987.125 5.433 5.433 0 0 0 2.398-.533c.345-.177.674-.391.987-.642.314-.25.622-.538.925-.862v-3.134zm-8.964-6.629c.888-.846 1.849-1.478 2.884-1.896 1.044-.418 2.188-.626 3.431-.626.909 0 1.714.151 2.414.454.7.293 1.29.705 1.77 1.238.481.533.841 1.17 1.082 1.912.25.741.376 1.561.376 2.46v10.154h-1.364c-.303 0-.532-.047-.689-.14-.157-.105-.282-.293-.376-.565l-.329-1.395c-.408.377-.81.71-1.207 1.003a8.387 8.387 0 0 1-1.254.737c-.428.198-.888.35-1.379.454a7.84 7.84 0 0 1-1.629.157 6.1 6.1 0 0 1-1.771-.25 4.064 4.064 0 0 1-1.426-.8 3.824 3.824 0 0 1-.971-1.332c-.23-.533-.345-1.154-.345-1.865 0-.626.167-1.227.501-1.802.345-.585.899-1.107 1.661-1.567.773-.46 1.776-.835 3.009-1.128 1.243-.293 2.768-.46 4.576-.501v-1.16c0-1.201-.256-2.1-.768-2.695-.512-.596-1.264-.893-2.257-.893-.668 0-1.232.083-1.692.25a6.476 6.476 0 0 0-1.175.564 26.04 26.04 0 0 0-.862.549 1.3 1.3 0 0 1-.752.25.904.904 0 0 1-.549-.172 1.49 1.49 0 0 1-.36-.407l-.549-.988zM172.256 9v23.13h-3.071V9h3.071zM179.755 9v23.13h-3.072V9h3.072zM194.665 22.398c0-.606-.088-1.165-.266-1.677a3.714 3.714 0 0 0-.752-1.332 3.46 3.46 0 0 0-1.223-.877c-.48-.21-1.034-.314-1.661-.314-1.285 0-2.298.371-3.04 1.113-.731.742-1.196 1.77-1.394 3.087h8.336zm2.523 7.46c-.376.438-.809.82-1.3 1.143a7.805 7.805 0 0 1-1.567.768 9.5 9.5 0 0 1-1.724.439c-.585.094-1.165.14-1.74.14-1.096 0-2.115-.182-3.055-.548a7.001 7.001 0 0 1-2.429-1.63c-.679-.72-1.212-1.608-1.599-2.663-.376-1.066-.564-2.288-.564-3.667 0-1.108.173-2.137.517-3.087a7.51 7.51 0 0 1 1.473-2.508 6.915 6.915 0 0 1 2.367-1.676c.929-.408 1.974-.611 3.134-.611.971 0 1.865.161 2.679.485a5.869 5.869 0 0 1 2.132 1.38c.595.605 1.06 1.352 1.394 2.24.345.888.517 1.902.517 3.04 0 .47-.052.789-.156.956-.105.157-.298.235-.58.235H186.25c.032.95.168 1.781.408 2.492.24.7.569 1.285.987 1.755.428.47.935.82 1.52 1.05.585.23 1.238.344 1.959.344.679 0 1.264-.078 1.755-.235.501-.156.93-.323 1.285-.501.366-.188.668-.36.909-.517.25-.157.47-.235.658-.235.251 0 .444.094.58.282l.877 1.128zM205.568 32.38c-1.285 0-2.277-.36-2.977-1.081-.689-.721-1.034-1.75-1.034-3.087v-9.528h-1.849a.688.688 0 0 1-.455-.157c-.115-.114-.172-.282-.172-.5v-1.239l2.585-.36.69-4.748a.72.72 0 0 1 .235-.408.708.708 0 0 1 .47-.156h1.551v5.343h4.514v2.225h-4.514v9.324c0 .627.152 1.097.455 1.41.313.303.71.455 1.191.455.282 0 .522-.037.721-.11.209-.073.386-.151.532-.235.147-.094.272-.178.377-.25a.507.507 0 0 1 .282-.11c.104 0 .182.026.235.078a.691.691 0 0 1 .188.22l.909 1.472a5.282 5.282 0 0 1-1.787 1.066 6.232 6.232 0 0 1-2.147.376z",fill:"#4598FA"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M57.815 33.284V9H70.66a6.259 6.259 0 0 1 5.823 6.243v11.783a6.258 6.258 0 0 1-6.258 6.258h-12.41zM84.56 9h-3.335v24.321h3.335V9zM61.15 29.95V12.32h9.075a2.923 2.923 0 0 1 2.923 2.923v11.783a2.923 2.923 0 0 1-2.923 2.923H61.15zM89.243 9v24.284h12.409a6.258 6.258 0 0 0 6.259-6.258V15.243A6.259 6.259 0 0 0 102.087 9H89.243zm22.912 5.636h3.728v3.728h-3.728v-3.729zm3.728 9.321h-3.728v3.729h3.728v-3.729zM92.578 12.32v17.63h9.074a2.924 2.924 0 0 0 2.924-2.924V15.243a2.924 2.924 0 0 0-2.924-2.923h-9.074z",fill:"#363844"})]}))};So.defaultProps={viewBox:"0 0 210 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ko=j.ServerLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.673L30.72 0 12.288 10.673v14.194L0 31.982v21.345L18.432 64l12.258-7.098.03.017.03-.017L43.008 64 61.44 53.327V31.982l-12.288-7.115V10.673zm10.368 22.42l-12.288-7.115V11.784L30.72 2.224l-16.512 9.56v14.194L1.92 33.093v19.122l16.512 9.561L30.69 54.68l.03.017.03-.017 12.258 7.097 16.512-9.56V33.093z",fill:"url(#paint0_linear_615_418)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 26.07V10.03h7.737a3.795 3.795 0 0 1 3.79 3.8v1.152c0 1.01-.394 1.929-1.035 2.61a3.801 3.801 0 0 1 1.901 3.295v1.382c0 2.1-1.696 3.8-3.79 3.8h-8.603zm1.684-8.983h6.226a2.11 2.11 0 0 0 1.932-2.104V13.83a2.108 2.108 0 0 0-2.105-2.112h-6.053v5.369zm0 7.294v-5.598l6.92-.007c1.163 0 2.105.945 2.105 2.111v1.382a2.108 2.108 0 0 1-2.105 2.112h-6.92zm15.566-14.352v16.04h-1.762V10.03h1.762zm8.733 4.331h-1.827a3.816 3.816 0 0 0-3.811 3.822v4.066a3.816 3.816 0 0 0 3.811 3.822h1.827a3.817 3.817 0 0 0 3.811-3.822v-4.066a3.817 3.817 0 0 0-3.811-3.822zm-1.827 1.768c-1.131 0-2.049.92-2.049 2.054v4.066c0 1.135.918 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-4.066a2.051 2.051 0 0 0-2.048-2.054h-1.827zm21.043 9.948v-5.77h2.148l3.322 5.77h2.035l-3.821-6.638 2.993-5.198h-2.035l-2.474 4.298h-2.168V10.03h-1.762v16.047h1.762zm-5.556-7.581v-.313a2.051 2.051 0 0 0-2.048-2.054h-1.827c-1.132 0-2.049.92-2.049 2.054v4.066c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.313h-1.762zm17.918 7.575V10.03h-1.762v16.04h1.762zm4.989-5.372v1.55c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.748h.001v1.768h-7.687zm5.924-1.768h-5.924v-.748c0-1.134.917-2.054 2.049-2.054h1.827c1.131 0 2.048.92 2.048 2.054v.748zm5.489-1.917H152.4v-1.768h1.568V12.39h1.684v2.856h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.358 3.358 0 0 1-3.354 3.364 3.358 3.358 0 0 1-3.353-3.364v-5.693z",fill:"#121319"}),(0,n.jsx)("path",{d:"M91.034 36.52c-.112.196-.233.34-.364.434a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21-.224-.15-.495-.313-.812-.49a6.307 6.307 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.065-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812 2.59 2.59 0 0 0-.196 1.022c0 .476.13.872.392 1.19.27.317.625.588 1.064.812.439.224.938.424 1.498.602.56.177 1.134.368 1.722.574.588.196 1.162.429 1.722.7.56.261 1.06.597 1.498 1.008.439.401.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .914-.159 1.773-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.054-2.198 1.4-.868.336-1.862.504-2.982.504a9.288 9.288 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.131.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.186.593.396.966.63.373.233.807.448 1.302.644.504.186 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.514.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.585 7.585 0 0 0-1.498-.588c-.56-.159-1.13-.332-1.708-.518a14.738 14.738 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.75 4.75 0 0 1-1.064-1.568c-.261-.635-.392-1.414-.392-2.338 0-.738.145-1.456.434-2.156.299-.7.728-1.321 1.288-1.862.56-.542 1.25-.976 2.072-1.302.821-.327 1.764-.49 2.828-.49 1.195 0 2.296.186 3.304.56 1.008.373 1.867.896 2.576 1.568l-.938 1.778zM104.274 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.365.854-.57.569-.934 1.376-1.093 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918a4 4 0 0 0 .813 1.33c.335.345.732.606 1.189.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.772 7.772 0 0 1-2.785-.49 6.361 6.361 0 0 1-2.24-1.47c-.635-.654-1.135-1.456-1.499-2.408-.364-.962-.545-2.072-.545-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.47 6.47 0 0 1 2.17-1.526c.858-.374 1.824-.56 2.897-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM113.24 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.144 1.596.434l-.224 2.59c-.047.168-.117.289-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.354 3.354 0 0 0-.63.756c-.178.298-.346.639-.504 1.022v8.848h-3.458V38.718h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624zM133.373 38.718l-5.698 14.364h-3.136l-5.698-14.364h2.856c.261 0 .476.06.644.182a.849.849 0 0 1 .35.462l2.772 7.672a20.846 20.846 0 0 1 .686 2.604 31.6 31.6 0 0 1 .308-1.288c.112-.43.247-.868.406-1.316l2.828-7.672a.944.944 0 0 1 .35-.462 1 1 0 0 1 .602-.182h2.73zM144.032 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.382-.178-.83-.266-1.344-.266-.998 0-1.787.284-2.366.854-.569.569-.933 1.376-1.092 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918.206.532.476.975.812 1.33.336.345.733.606 1.19.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.766-.276 1.064-.434.308-.159.574-.304.798-.434a1.38 1.38 0 0 1 .672-.196c.29 0 .504.107.644.322l.994 1.26a5.902 5.902 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.298 8.298 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.776 7.776 0 0 1-2.786-.49 6.37 6.37 0 0 1-2.24-1.47c-.634-.654-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.318-.868.77-1.62 1.358-2.254a6.48 6.48 0 0 1 2.17-1.526c.859-.374 1.825-.56 2.898-.56.906 0 1.741.144 2.506.434.766.289 1.424.714 1.974 1.274.551.55.98 1.232 1.288 2.044.318.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.326.266-.644.266h-8.89zM152.997 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.663 0 1.195.144 1.596.434l-.224 2.59c-.046.168-.116.289-.21.364a.556.556 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.676 4.676 0 0 0-.798-.07c-.382 0-.723.056-1.022.168a2.599 2.599 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.298-.345.639-.504 1.022v8.848h-3.458V38.718h2.03c.355 0 .602.065.742.196.14.121.234.345.28.672l.21 1.624z",fill:"#121319"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm13.338-2.894a.96.96 0 0 1 .924-.696h4.5a.96.96 0 0 1 .924.696l.856 2.999 2.12 1.223 3.025-.757a.96.96 0 0 1 1.064.451l2.25 3.898a.96.96 0 0 1-.14 1.148l-2.17 2.24v2.448l2.17 2.24a.96.96 0 0 1 .14 1.148l-2.25 3.899a.96.96 0 0 1-1.065.45l-3.024-.756-2.12 1.223-.856 2.998a.96.96 0 0 1-.923.697H28.47a.96.96 0 0 1-.924-.697L26.69 44.9l-2.12-1.223-3.024.757a.96.96 0 0 1-1.065-.451l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.241v-2.447l-2.168-2.241a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.025.757 2.119-1.223.856-2.999zm.44 4.467a.96.96 0 0 0 .443-.567l.765-2.676h3.053l.764 2.676a.96.96 0 0 0 .443.567l2.792 1.612a.96.96 0 0 0 .713.1l2.7-.676 1.526 2.644-1.935 2a.96.96 0 0 0-.27.668v3.223c0 .25.097.489.27.668l1.935 2-1.527 2.643-2.699-.675a.96.96 0 0 0-.713.1l-2.792 1.612a.96.96 0 0 0-.443.567l-.764 2.676h-3.053l-.765-2.676a.96.96 0 0 0-.443-.567l-2.792-1.612a.96.96 0 0 0-.713-.1l-2.7.675-1.526-2.643 1.935-2a.96.96 0 0 0 .27-.668V33.86a.96.96 0 0 0-.27-.667l-1.935-2 1.527-2.644 2.7.676a.96.96 0 0 0 .712-.1l2.792-1.612zm2.734 14.128a6.168 6.168 0 1 1 0-12.337 6.168 6.168 0 0 1 0 12.337zm4.248-6.169a4.248 4.248 0 1 1-8.496 0 4.248 4.248 0 0 1 8.496 0z",fill:"url(#paint1_linear_615_418)"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_418",x1:"30.72",y1:"96",x2:"94.667",y2:"34.611",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_418",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};ko.defaultProps={width:"170",height:"64",viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Io=j.ServerLogoNotext=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_426)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm13.338-2.894a.96.96 0 0 1 .924-.696h4.5a.96.96 0 0 1 .924.696l.856 2.999 2.12 1.223 3.025-.757a.96.96 0 0 1 1.064.451l2.25 3.898a.96.96 0 0 1-.14 1.148l-2.17 2.24v2.448l2.17 2.24a.96.96 0 0 1 .14 1.148l-2.25 3.899a.96.96 0 0 1-1.065.45l-3.024-.756-2.12 1.223-.856 2.998a.96.96 0 0 1-.923.697H29.47a.96.96 0 0 1-.924-.697L27.69 44.9l-2.12-1.223-3.024.757a.96.96 0 0 1-1.065-.451l-2.25-3.898a.96.96 0 0 1 .141-1.148l2.168-2.241v-2.447l-2.168-2.241a.96.96 0 0 1-.142-1.148l2.251-3.898a.96.96 0 0 1 1.065-.451l3.025.757 2.119-1.223.856-2.999zm.44 4.467a.96.96 0 0 0 .443-.567l.765-2.676h3.053l.764 2.676a.96.96 0 0 0 .443.567l2.792 1.612a.96.96 0 0 0 .713.1l2.7-.676 1.526 2.644-1.935 2a.96.96 0 0 0-.27.668v3.223c0 .25.097.489.27.668l1.935 2-1.527 2.643-2.699-.675a.96.96 0 0 0-.713.1l-2.792 1.612a.96.96 0 0 0-.443.567l-.764 2.676h-3.053l-.765-2.676a.96.96 0 0 0-.443-.567l-2.792-1.612a.96.96 0 0 0-.713-.1l-2.7.675-1.526-2.643 1.935-2a.96.96 0 0 0 .27-.668V33.86a.96.96 0 0 0-.27-.667l-1.935-2 1.527-2.644 2.7.676a.96.96 0 0 0 .712-.1l2.792-1.612zm2.734 14.128a6.168 6.168 0 1 1 0-12.337 6.168 6.168 0 0 1 0 12.337zm4.248-6.169a4.248 4.248 0 1 1-8.496 0 4.248 4.248 0 0 1 8.496 0z",fill:"url(#paint1_linear_615_426)"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_426",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_426",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};Io.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Mo=j.ServerLogoBg=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,n.jsx)("path",{fill:"url(#paint0_linear_615_429)",d:"M0 0h119.883v119.883H0z"}),(0,n.jsx)("mask",{id:"mask0_615_429",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,n.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,n.jsxs)("g",{mask:"url(#mask0_615_429)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783V-2.927L59.812-29.83z",fill:"#0FA4B7"}),(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783.475-103.641-78.042-30.709z",fill:"#2BE0D7"})]}),(0,n.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.509 18.656-10.77.046.026.045-.027 18.656 10.771 25.131-14.509V59.903z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.92 50.292l1.466-5.132h6.851l1.466 5.132 4.25 2.453 5.177-1.296 3.425 5.933-3.711 3.835v4.907l3.711 3.835-3.425 5.933-5.178-1.296-4.249 2.453-1.466 5.132h-6.85l-1.467-5.132-4.249-2.453-5.177 1.296-3.425-5.933 3.71-3.835v-4.907l-3.71-3.835 3.425-5.933 5.177 1.296 4.25-2.453z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M59.812 71.597a7.927 7.927 0 1 0 0-15.853 7.927 7.927 0 0 0 0 15.853z",fill:"#1ABBC4"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_429",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};Mo.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Po=j.LauncherLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 25.994V10h7.737a3.79 3.79 0 0 1 3.79 3.79v1.149a3.777 3.777 0 0 1-1.035 2.602 3.788 3.788 0 0 1 1.901 3.286v1.377a3.79 3.79 0 0 1-3.79 3.79h-8.603zm1.684-8.957h6.226a2.105 2.105 0 0 0 1.932-2.098v-1.15a2.105 2.105 0 0 0-2.105-2.105h-6.053v5.353zm0 7.273v-5.582l6.92-.007c1.163 0 2.105.943 2.105 2.106v1.377a2.105 2.105 0 0 1-2.105 2.106h-6.92zM97.255 10v15.994h-1.762V10h1.762zm8.733 4.319h-1.827a3.81 3.81 0 0 0-3.811 3.81v4.054a3.81 3.81 0 0 0 3.811 3.81h1.827a3.811 3.811 0 0 0 3.811-3.81V18.13a3.811 3.811 0 0 0-3.811-3.81zm-1.827 1.762a2.05 2.05 0 0 0-2.049 2.048v4.054a2.05 2.05 0 0 0 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049V18.13a2.048 2.048 0 0 0-2.048-2.048h-1.827zM125.204 26v-5.754h2.148L130.674 26h2.035l-3.821-6.618 2.993-5.184h-2.035l-2.474 4.286h-2.168V10h-1.762v16h1.762zm-5.556-7.56v-.31a2.048 2.048 0 0 0-2.048-2.05h-1.827a2.048 2.048 0 0 0-2.049 2.05v4.053c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.312h-1.762zm17.918 7.554V10h-1.762v15.994h1.762zm4.989-5.357v1.546c0 1.132.917 2.049 2.049 2.049h1.827a2.048 2.048 0 0 0 2.048-2.049v-.311h1.762v.311a3.81 3.81 0 0 1-3.81 3.81h-1.827a3.81 3.81 0 0 1-3.811-3.81V18.13a3.81 3.81 0 0 1 3.811-3.81h1.827a3.81 3.81 0 0 1 3.81 3.81v.746h.001v1.762h-7.687zm5.924-1.762h-5.924v-.746c0-1.131.917-2.048 2.049-2.048h1.827c1.131 0 2.048.917 2.048 2.048v.746zm5.489-1.912H152.4v-1.762h1.568v-2.848h1.684v2.848h4.077v1.762h-4.077v5.677a1.669 1.669 0 1 0 3.339 0v-.35h1.684v.35a3.353 3.353 0 1 1-6.707 0v-5.677z",fill:"#121319"}),(0,n.jsx)("path",{d:"M92.112 50.259v3.108H80.254V33.123h3.766v17.136h8.092zM101.843 47.235c-.999.047-1.839.135-2.52.266-.681.121-1.227.28-1.638.476-.41.196-.705.425-.882.686a1.49 1.49 0 0 0-.266.854c0 .606.177 1.04.532 1.302.364.261.835.392 1.414.392.71 0 1.32-.126 1.834-.378.523-.261 1.031-.654 1.526-1.176v-2.422zm-7.924-6.23c1.652-1.512 3.64-2.268 5.964-2.268.84 0 1.591.14 2.254.42.663.27 1.223.653 1.68 1.148a4.765 4.765 0 0 1 1.036 1.75c.243.681.364 1.428.364 2.24v9.072h-1.568c-.327 0-.579-.047-.756-.14-.177-.103-.317-.303-.42-.602l-.308-1.036c-.364.327-.719.616-1.064.868a6.54 6.54 0 0 1-1.078.616 5.498 5.498 0 0 1-1.204.378c-.42.093-.887.14-1.4.14-.607 0-1.167-.08-1.68-.238a3.775 3.775 0 0 1-1.33-.742 3.297 3.297 0 0 1-.868-1.218c-.206-.486-.308-1.05-.308-1.694a3.308 3.308 0 0 1 .77-2.114 5.12 5.12 0 0 1 1.078-.924c.438-.29.975-.541 1.61-.756a13.74 13.74 0 0 1 2.24-.518c.85-.14 1.82-.224 2.912-.252v-.84c0-.962-.205-1.67-.616-2.128-.411-.467-1.003-.7-1.778-.7-.56 0-1.027.065-1.4.196-.364.13-.686.28-.966.448-.28.159-.537.303-.77.434-.224.13-.476.196-.756.196-.243 0-.448-.06-.616-.182a1.67 1.67 0 0 1-.406-.448l-.616-1.106zM120.85 39.003v14.364h-2.114c-.458 0-.747-.21-.868-.63l-.238-1.148a7.862 7.862 0 0 1-1.946 1.456c-.71.364-1.545.546-2.506.546-.784 0-1.48-.13-2.086-.392a4.236 4.236 0 0 1-1.512-1.134 5.016 5.016 0 0 1-.938-1.722 7.52 7.52 0 0 1-.308-2.212v-9.128h3.458v9.128c0 .877.2 1.559.602 2.044.41.476 1.022.714 1.834.714.597 0 1.157-.13 1.68-.392a6.037 6.037 0 0 0 1.484-1.106V39.003h3.458zM127.512 40.767c.29-.29.593-.556.91-.798a5.623 5.623 0 0 1 2.184-1.036 5.542 5.542 0 0 1 1.344-.154c.784 0 1.48.135 2.086.406a3.957 3.957 0 0 1 1.512 1.12 4.69 4.69 0 0 1 .924 1.722c.215.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.2-1.554-.602-2.03-.401-.486-1.012-.728-1.834-.728-.597 0-1.157.135-1.68.406-.522.27-1.017.64-1.484 1.106v10.388h-3.458V39.003h2.114c.448 0 .742.21.882.63l.238 1.134zM150.373 42.04c-.103.132-.205.234-.308.309-.093.075-.233.112-.42.112a.982.982 0 0 1-.518-.154 9.315 9.315 0 0 0-.602-.364 3.902 3.902 0 0 0-.84-.364c-.317-.112-.714-.168-1.19-.168-.607 0-1.139.112-1.596.336-.457.215-.84.527-1.148.938-.299.41-.523.91-.672 1.498-.149.578-.224 1.236-.224 1.974 0 .765.079 1.447.238 2.044.168.597.406 1.101.714 1.512.308.401.681.71 1.12.924.439.205.933.308 1.484.308.551 0 .994-.066 1.33-.196.345-.14.635-.29.868-.448.233-.168.434-.318.602-.448a.925.925 0 0 1 .588-.21c.28 0 .49.107.63.322l.994 1.26a6.449 6.449 0 0 1-1.246 1.134 7.144 7.144 0 0 1-1.4.728 7.208 7.208 0 0 1-1.484.378 10.3 10.3 0 0 1-1.512.112 6.448 6.448 0 0 1-2.506-.49 6 6 0 0 1-2.058-1.456c-.588-.635-1.055-1.41-1.4-2.324-.336-.924-.504-1.974-.504-3.15 0-1.055.149-2.03.448-2.926.308-.906.756-1.685 1.344-2.338a6.09 6.09 0 0 1 2.184-1.554c.868-.373 1.867-.56 2.996-.56 1.073 0 2.011.172 2.814.518.812.345 1.54.84 2.184 1.484l-.91 1.26zM157.049 40.543a7.51 7.51 0 0 1 1.848-1.274c.672-.327 1.46-.49 2.366-.49.784 0 1.479.135 2.086.406.606.261 1.11.634 1.512 1.12.41.476.718 1.05.924 1.722.214.663.322 1.395.322 2.198v9.142h-3.458v-9.142c0-.878-.201-1.554-.602-2.03-.402-.486-1.013-.728-1.834-.728-.598 0-1.158.135-1.68.406-.523.27-1.018.64-1.484 1.106v10.388h-3.458V32.563h3.458v7.98zM178.649 44.533a3.95 3.95 0 0 0-.196-1.26 2.908 2.908 0 0 0-.559-1.05 2.562 2.562 0 0 0-.967-.7c-.382-.178-.83-.266-1.343-.266-.999 0-1.788.285-2.367.854-.569.57-.933 1.377-1.091 2.422h6.523zm-6.593 2.086c.056.737.186 1.377.392 1.918.205.532.475.975.811 1.33.336.345.733.607 1.191.784.466.168.98.252 1.54.252s1.04-.066 1.442-.196c.41-.13.765-.276 1.063-.434.308-.159.575-.304.799-.434.233-.13.457-.196.671-.196.29 0 .504.107.644.322l.995 1.26a5.93 5.93 0 0 1-1.289 1.134 7.641 7.641 0 0 1-1.498.728 8.291 8.291 0 0 1-1.581.378c-.532.074-1.05.112-1.554.112a7.766 7.766 0 0 1-2.786-.49 6.352 6.352 0 0 1-2.24-1.47c-.635-.653-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.158-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.462 6.462 0 0 1 2.17-1.526c.858-.373 1.824-.56 2.898-.56.905 0 1.74.144 2.506.434a5.41 5.41 0 0 1 1.973 1.274c.551.55.981 1.232 1.289 2.044.317.803.475 1.722.475 2.758 0 .523-.055.877-.167 1.064-.112.177-.327.266-.644.266h-8.89zM187.615 41.495c.448-.859.98-1.53 1.596-2.016.616-.495 1.344-.742 2.184-.742.662 0 1.194.145 1.596.434l-.224 2.59c-.047.168-.117.29-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.023-.63-.07a4.704 4.704 0 0 0-.798-.07c-.383 0-.724.056-1.022.168-.299.112-.57.275-.812.49a3.359 3.359 0 0 0-.63.756c-.178.298-.346.64-.504 1.022v8.848h-3.458V39.003h2.03c.354 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624z",fill:"#121319"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.642L30.72 0 12.288 10.642v14.152L0 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L61.44 53.172V31.89l-12.288-7.095V10.642zM59.52 32.997l-12.288-7.094V11.75L30.72 2.217 14.208 11.75v14.153L1.92 32.997v19.067l16.512 9.533L30.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_416)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.83L30.72 14.19 12.288 24.831v21.283L30.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L30.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L28.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L37.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_416)"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_416",x1:"30.72",y1:"95.721",x2:"94.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_416",x1:"27.437",y1:"99.246",x2:"97.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};Po.defaultProps={width:"193",height:"64",viewBox:"0 0 193 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Lo=j.LauncherLogoNotext=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_428)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm14.52-3.756l.484.284 12.202 7.142 1.073.61V40.4l-.408.287-.461.32-12.89 7.545-7.743-4.503.02-17.35 7.722-4.516zm-5.822 20.762l.017-15.145 5.804-3.393 11.728 6.866.112.063v8.066L29.725 46.33l-5.819-3.384zm4.04-12.717l1.442-.827L38.2 34.53v1.66l-8.845 5.146-1.443-.833.034-10.273zm7.862 5.133l-5.971 3.474.023-6.935 5.948 3.46z",fill:"url(#paint1_linear_615_428)"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_428",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_428",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};Lo.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var To=j.LauncherLogoBg=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,n.jsx)("path",{fill:"url(#paint0_linear_615_431)",d:"M0 0h119.883v119.883H0z"}),(0,n.jsx)("mask",{id:"mask0_615_431",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,n.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,n.jsxs)("g",{mask:"url(#mask0_615_431)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783L-6.439-12.293l66.25-17.538z",fill:"#0FA4B7"}),(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783-1.281-105.982-76.286-28.368z",fill:"#2BE0D7"})]}),(0,n.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.51 18.656-10.772.046.026.045-.026 18.656 10.772 25.131-14.51V59.903z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46.445 50.929l10.483-6.13 18.93 11.082.91.517V70.54l-.61.43-19.23 11.256-10.511-6.113.028-25.184z",fill:"#fff"}),(0,n.jsx)("path",{d:"M54.128 55.69l2.196-1.258 13.41 7.803v2.525l-13.462 7.833-2.196-1.267.052-15.636z",fill:"#19B9C3"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_431",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};To.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Do=j.StoreLogo=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 10.673L30.72 0 12.288 10.673v14.194L0 31.982v21.345L18.432 64l12.258-7.098.03.017.03-.017L43.008 64 61.44 53.327V31.982l-12.288-7.115V10.673zm10.368 22.42l-12.288-7.115V11.784L30.72 2.224l-16.512 9.56v14.194L1.92 33.093v19.122l16.512 9.561L30.69 54.68l.03.017.03-.017 12.258 7.097 16.512-9.56V33.093z",fill:"url(#paint0_linear_615_417)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.152 24.903L30.72 14.23 12.288 24.903V46.25L30.72 56.92 49.152 46.25V24.903zm-34.944 1.112l16.512-9.561 16.512 9.56v19.123l-16.512 9.56-16.512-9.56V26.015zm17.471-.59v2.168a6.931 6.931 0 0 1 5.042-2.168h4.135v4.148a6.97 6.97 0 0 1-2.13 5.026h2.13v11.128H20.584V25.425h11.095zm-9.175 1.926v7.276h7.255v-7.276h-7.255zm14.217 0h2.215v2.222c0 2.791-2.256 5.054-5.04 5.054h-2.215v-2.222c0-2.791 2.256-5.054 5.04-5.054zM22.504 43.8h7.255v-7.276h-7.255V43.8zm9.177 0v-7.276h7.255V43.8h-7.255z",fill:"url(#paint1_linear_615_417)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80.005 26.07V10.03h7.737a3.795 3.795 0 0 1 3.79 3.8v1.152c0 1.01-.394 1.929-1.035 2.61a3.801 3.801 0 0 1 1.901 3.295v1.382c0 2.1-1.696 3.8-3.79 3.8h-8.603zm1.684-8.983h6.226a2.11 2.11 0 0 0 1.932-2.104V13.83a2.108 2.108 0 0 0-2.105-2.112h-6.053v5.369zm0 7.294v-5.598l6.92-.007c1.163 0 2.105.945 2.105 2.111v1.382a2.108 2.108 0 0 1-2.105 2.112h-6.92zm15.566-14.352v16.04h-1.762V10.03h1.762zm8.733 4.331h-1.827a3.816 3.816 0 0 0-3.811 3.822v4.066a3.816 3.816 0 0 0 3.811 3.822h1.827a3.817 3.817 0 0 0 3.811-3.822v-4.066a3.817 3.817 0 0 0-3.811-3.822zm-1.827 1.768c-1.131 0-2.049.92-2.049 2.054v4.066c0 1.135.918 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-4.066a2.051 2.051 0 0 0-2.048-2.054h-1.827zm21.043 9.948v-5.77h2.148l3.322 5.77h2.035l-3.821-6.638 2.993-5.198h-2.035l-2.474 4.298h-2.168V10.03h-1.762v16.047h1.762zm-5.556-7.581v-.313a2.051 2.051 0 0 0-2.048-2.054h-1.827c-1.132 0-2.049.92-2.049 2.054v4.066c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.313h-1.762zm17.918 7.575V10.03h-1.762v16.04h1.762zm4.989-5.372v1.55c0 1.135.917 2.054 2.049 2.054h1.827c1.131 0 2.048-.92 2.048-2.054v-.313h1.762v.313a3.816 3.816 0 0 1-3.81 3.822h-1.827a3.816 3.816 0 0 1-3.811-3.822v-4.066a3.816 3.816 0 0 1 3.811-3.822h1.827a3.816 3.816 0 0 1 3.81 3.822v.748h.001v1.768h-7.687zm5.924-1.768h-5.924v-.748c0-1.134.917-2.054 2.049-2.054h1.827c1.131 0 2.048.92 2.048 2.054v.748zm5.489-1.917H152.4v-1.768h1.568V12.39h1.684v2.856h4.077v1.768h-4.077v5.693c0 .925.747 1.675 1.669 1.675s1.67-.75 1.67-1.675v-.351h1.684v.351a3.358 3.358 0 0 1-3.354 3.364 3.358 3.358 0 0 1-3.353-3.364v-5.693z",fill:"#121319"}),(0,n.jsx)("path",{d:"M91.034 36.52c-.112.196-.233.34-.364.434a.793.793 0 0 1-.462.126c-.196 0-.41-.07-.644-.21-.224-.15-.495-.313-.812-.49a6.307 6.307 0 0 0-1.12-.476c-.42-.15-.92-.224-1.498-.224-.523 0-.98.065-1.372.196a2.87 2.87 0 0 0-.994.518 2.117 2.117 0 0 0-.588.812 2.59 2.59 0 0 0-.196 1.022c0 .476.13.872.392 1.19.27.317.625.588 1.064.812.439.224.938.424 1.498.602.56.177 1.134.368 1.722.574.588.196 1.162.429 1.722.7.56.261 1.06.597 1.498 1.008.439.401.789.896 1.05 1.484.27.588.406 1.302.406 2.142 0 .914-.159 1.773-.476 2.576a5.884 5.884 0 0 1-1.372 2.086c-.597.588-1.33 1.054-2.198 1.4-.868.336-1.862.504-2.982.504a9.288 9.288 0 0 1-1.904-.196 9.827 9.827 0 0 1-1.806-.532 9.763 9.763 0 0 1-1.61-.84 7.8 7.8 0 0 1-1.344-1.092l1.106-1.806c.093-.131.215-.238.364-.322a.883.883 0 0 1 .476-.14c.233 0 .485.098.756.294.27.186.593.396.966.63.373.233.807.448 1.302.644.504.186 1.106.28 1.806.28 1.073 0 1.904-.252 2.492-.756.588-.514.882-1.246.882-2.198 0-.532-.135-.966-.406-1.302a3.073 3.073 0 0 0-1.05-.84 7.585 7.585 0 0 0-1.498-.588c-.56-.159-1.13-.332-1.708-.518a14.738 14.738 0 0 1-1.708-.672 5.535 5.535 0 0 1-1.498-1.022 4.75 4.75 0 0 1-1.064-1.568c-.261-.635-.392-1.414-.392-2.338 0-.738.145-1.456.434-2.156.299-.7.728-1.321 1.288-1.862.56-.542 1.25-.976 2.072-1.302.821-.327 1.764-.49 2.828-.49 1.195 0 2.296.186 3.304.56 1.008.373 1.867.896 2.576 1.568l-.938 1.778zM99.234 53.306c-1.25 0-2.212-.35-2.884-1.05-.662-.71-.994-1.685-.994-2.926v-8.022h-1.47a.674.674 0 0 1-.476-.182c-.13-.122-.196-.304-.196-.546v-1.372l2.31-.378.728-3.92a.767.767 0 0 1 .266-.434.791.791 0 0 1 .504-.154h1.792v4.522h3.836v2.464h-3.836v7.784c0 .448.108.798.322 1.05.224.252.528.378.91.378.215 0 .392-.024.532-.07a2.91 2.91 0 0 0 .378-.168c.112-.056.21-.108.294-.154a.452.452 0 0 1 .252-.084c.103 0 .187.028.252.084a.96.96 0 0 1 .21.224l1.036 1.68a5.229 5.229 0 0 1-1.736.952 6.46 6.46 0 0 1-2.03.322zM111.111 38.494c1.064 0 2.03.172 2.898.518a6.283 6.283 0 0 1 2.24 1.47c.625.634 1.106 1.409 1.442 2.324.336.914.504 1.936.504 3.066 0 1.138-.168 2.165-.504 3.08-.336.914-.817 1.694-1.442 2.338a6.195 6.195 0 0 1-2.24 1.484c-.868.345-1.834.518-2.898.518-1.073 0-2.049-.173-2.926-.518a6.329 6.329 0 0 1-2.254-1.484c-.616-.644-1.097-1.424-1.442-2.338-.336-.915-.504-1.942-.504-3.08 0-1.13.168-2.152.504-3.066.345-.915.826-1.69 1.442-2.324a6.421 6.421 0 0 1 2.254-1.47c.877-.346 1.853-.518 2.926-.518zm0 12.138c1.195 0 2.077-.402 2.646-1.204.579-.803.868-1.979.868-3.528 0-1.55-.289-2.73-.868-3.542-.569-.812-1.451-1.218-2.646-1.218-1.213 0-2.114.41-2.702 1.232-.579.812-.868 1.988-.868 3.528s.289 2.716.868 3.528c.588.802 1.489 1.204 2.702 1.204zM124.095 41.21c.448-.859.98-1.531 1.596-2.016.616-.495 1.344-.742 2.184-.742.663 0 1.195.144 1.596.434l-.224 2.59c-.047.168-.117.289-.21.364a.558.558 0 0 1-.35.098c-.14 0-.35-.024-.63-.07a4.694 4.694 0 0 0-.798-.07c-.383 0-.723.056-1.022.168a2.587 2.587 0 0 0-.812.49 3.408 3.408 0 0 0-.63.756c-.177.298-.345.639-.504 1.022v8.848h-3.458V38.718h2.03c.355 0 .602.065.742.196.14.121.233.345.28.672l.21 1.624zM140.122 44.248a3.95 3.95 0 0 0-.196-1.26 2.909 2.909 0 0 0-.56-1.05 2.557 2.557 0 0 0-.966-.7c-.383-.178-.831-.266-1.344-.266-.999 0-1.787.284-2.366.854-.569.569-.933 1.376-1.092 2.422h6.524zm-6.594 2.086c.056.737.187 1.376.392 1.918.205.532.476.975.812 1.33.336.345.733.606 1.19.784.467.168.98.252 1.54.252s1.041-.066 1.442-.196c.411-.131.765-.276 1.064-.434.308-.159.574-.304.798-.434.233-.131.457-.196.672-.196.289 0 .504.107.644.322l.994 1.26a5.925 5.925 0 0 1-1.288 1.134 7.653 7.653 0 0 1-1.498.728 8.316 8.316 0 0 1-1.582.378c-.532.074-1.05.112-1.554.112a7.772 7.772 0 0 1-2.786-.49 6.361 6.361 0 0 1-2.24-1.47c-.635-.654-1.134-1.456-1.498-2.408-.364-.962-.546-2.072-.546-3.332 0-.98.159-1.9.476-2.758.317-.868.77-1.62 1.358-2.254a6.47 6.47 0 0 1 2.17-1.526c.859-.374 1.825-.56 2.898-.56a7.03 7.03 0 0 1 2.506.434 5.42 5.42 0 0 1 1.974 1.274c.551.55.98 1.232 1.288 2.044.317.802.476 1.722.476 2.758 0 .522-.056.877-.168 1.064-.112.177-.327.266-.644.266h-8.89z",fill:"#121319"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_417",x1:"30.72",y1:"96",x2:"94.667",y2:"34.611",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_417",x1:"27.437",y1:"99.536",x2:"97.914",y2:"45.267",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};Do.defaultProps={width:"170",height:"64",viewBox:"0 0 170 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var No=j.StoreLogoNotext=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 10.642L31.72 0 13.288 10.642v14.152L1 31.89v21.283l18.432 10.642 12.258-7.077.03.017.03-.017 12.258 7.077L62.44 53.172V31.89l-12.288-7.095V10.642zM60.52 32.997l-12.288-7.094V11.75L31.72 2.217 15.208 11.75v14.153L2.92 32.997v19.067l16.512 9.533L31.69 54.52l.03.017.03-.017 12.258 7.077 16.512-9.533V32.997z",fill:"url(#paint0_linear_615_427)"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50.152 24.83L31.72 14.19 13.288 24.831v21.283L31.72 56.756l18.432-10.642V24.831zm-34.944 1.11l16.512-9.534 16.512 9.533v19.067L31.72 54.539l-16.512-9.533V25.939zm17.471-.589v2.162a6.94 6.94 0 0 1 5.042-2.162h4.135v4.136a6.94 6.94 0 0 1-2.13 5.011h2.13v11.096H21.584V25.35h11.095zm-9.175 1.92v7.255h7.255v-7.255h-7.255zm14.217 0h2.215v2.215a5.04 5.04 0 0 1-5.04 5.04h-2.215v-2.215a5.04 5.04 0 0 1 5.04-5.04zM23.504 43.674h7.255v-7.256h-7.255v7.256zm9.177 0v-7.256h7.255v7.256h-7.255z",fill:"url(#paint1_linear_615_427)"}),(0,n.jsxs)("defs",{children:[(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_427",x1:"31.72",y1:"95.721",x2:"95.488",y2:"34.325",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]}),(0,n.jsxs)("linearGradient",{id:"paint1_linear_615_427",x1:"28.437",y1:"99.246",x2:"98.761",y2:"44.937",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})]})]}))};No.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Vo=j.StoreLogoBg=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fill:"#fff",d:"M0 0h120v120H0z"}),(0,n.jsx)("path",{fill:"url(#paint0_linear_615_430)",d:"M0 0h119.883v119.883H0z"}),(0,n.jsx)("mask",{id:"mask0_615_430",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"120",height:"120",children:(0,n.jsx)("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})}),(0,n.jsxs)("g",{mask:"url(#mask0_615_430)",fillRule:"evenodd",clipRule:"evenodd",children:[(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l-77.567 44.783 1.95-119.446L59.812-29.83z",fill:"#0FA4B7"}),(0,n.jsx)("path",{opacity:".5",d:"M59.812-29.83v89.566l77.567 44.783V-12.878L59.812-29.831z",fill:"#2BE0D7"})]}),(0,n.jsx)("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 25.88L59.812 9.682 31.759 25.88v21.54L13.057 58.216V90.61l28.053 16.196 18.656-10.772.046.027.045-.026 18.657 10.771 28.052-16.197V58.217L87.864 47.42v-21.54zm15.78 34.023L84.942 49.106v-21.54l-25.13-14.509-25.13 14.51v21.539L15.98 59.903v29.018l25.13 14.509 18.656-10.77.046.026.045-.027 18.656 10.771 25.131-14.509V59.903z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M87.864 47.474L59.812 31.278 31.759 47.474v32.393l28.053 16.196 28.052-16.197V47.474zm-53.183 1.687l25.13-14.509 25.131 14.51v29.017l-25.13 14.51-25.13-14.51V49.161z",fill:"#fff"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.277 61.997V49.162h12.835v12.835H45.277zm25.15-12.835h3.92v3.919a8.916 8.916 0 0 1-8.916 8.916h-3.92v-3.92a8.916 8.916 0 0 1 8.917-8.915zm-25.15 29.017h12.835V65.344H45.277v12.835zm16.235 0V65.344h12.835v12.835H61.512z",fill:"#fff"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"paint0_linear_615_430",x1:"59.941",y1:"179.824",x2:"179.824",y2:"59.941",gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#0FA4B7"}),(0,n.jsx)("stop",{offset:".495",stopColor:"#1DC1C7"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#2BE0D7"})]})})]}))};Vo.defaultProps={width:"120",height:"120",viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var _o=j.Blocklets=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M4.005 31a3.005 3.005 0 0 1-2.99-2.717L1 27.995V5.956a3.005 3.005 0 0 1 2.717-2.99l.288-.015h9.016a3.005 3.005 0 0 1 2.992 2.715l.014.29v.51l4.385-4.547a3.005 3.005 0 0 1 4.022-.276l.232.202 5.524 5.46a3.005 3.005 0 0 1 .222 4.029l-.206.232-4.63 4.408h.468a3.005 3.005 0 0 1 2.992 2.715l.014.29v9.016a3.006 3.006 0 0 1-2.715 2.991l-.29.014H4.004zm10.018-13.023H3.003v10.018a1.002 1.002 0 0 0 .654.94l.168.046.18.015h10.018V17.977zm12.021 0H16.027v11.02h10.017a1.002 1.002 0 0 0 .986-.822l.016-.18v-9.016a1.002 1.002 0 0 0-.821-.986l-.18-.016zm-10.017-5.59v3.587h3.586l-3.586-3.586zM13.02 4.956H4.005a1.002 1.002 0 0 0-.985.821l-.016.18v10.018h11.02V5.956a1.001 1.001 0 0 0-.654-.94l-.168-.045-.18-.016zm10.262-1.657a1.008 1.008 0 0 0-1.292-.106l-.136.12-5.241 5.435a1.001 1.001 0 0 0-.114 1.248l.126.157 5.241 5.239a1.002 1.002 0 0 0 1.242.14l.156-.122 5.526-5.263a1.002 1.002 0 0 0 .108-1.279l-.118-.138-5.497-5.431z",fill:"currentColor"})}))};_o.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Eo=j.CodeFolder=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.667 5.2a.133.133 0 0 0-.134.133v21.334a.133.133 0 0 0 .134.133h22.666a.133.133 0 0 0 .134-.133V9.333a.133.133 0 0 0-.134-.133H16a1.2 1.2 0 0 1-.922-.432L12.105 5.2H4.667zM2.875 3.542A2.533 2.533 0 0 1 4.667 2.8h8a1.2 1.2 0 0 1 .921.432L16.563 6.8h10.771a2.533 2.533 0 0 1 2.534 2.533v17.334a2.533 2.533 0 0 1-2.534 2.533H4.667a2.533 2.533 0 0 1-2.534-2.533V5.333c0-.672.267-1.316.742-1.791z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.182 13.818a1.2 1.2 0 0 1 0 1.697L11.697 18l2.485 2.485a1.2 1.2 0 1 1-1.697 1.697L9.15 18.849a1.2 1.2 0 0 1 0-1.698l3.334-3.333a1.2 1.2 0 0 1 1.697 0zm3.636 0a1.2 1.2 0 0 1 1.697 0l3.334 3.333a1.2 1.2 0 0 1 0 1.698l-3.334 3.333a1.2 1.2 0 1 1-1.697-1.697L20.303 18l-2.485-2.485a1.2 1.2 0 0 1 0-1.697z",fill:"currentColor"})]}))};Eo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Bo=j.Dashboard=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.33 8.207A11.52 11.52 0 0 1 23.504 26.34H8.496A11.52 11.52 0 0 1 9.33 8.207zM16 3.52a14.08 14.08 0 0 0-8.76 25.102c.226.18.506.278.796.278h15.928c.29 0 .57-.098.797-.278A14.08 14.08 0 0 0 16 3.52zm5.883 10.072a1.28 1.28 0 0 0-1.81-1.81l-2.205 2.205a4.124 4.124 0 1 0 1.81 1.81l2.205-2.205zm-7.447 4.073a1.564 1.564 0 1 1 3.128 0 1.564 1.564 0 0 1-3.129 0z",fill:"currentColor"})}))};Bo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Ao=j.Log=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 3.2h16c2.646 0 4.8 2.125 4.8 4.8 0 1.571-.54 3.093-1.253 4.509-.709 1.406-1.645 2.813-2.531 4.14l-.018.028c-.908 1.365-1.766 2.654-2.401 3.913-.637 1.263-.997 2.39-.997 3.418a2.4 2.4 0 1 0 3.733-1.997 1.2 1.2 0 0 1 1.334-1.993A4.8 4.8 0 0 1 24 28.808H8a4.8 4.8 0 0 1-4.8-4.8c0-2.531 1.426-5.016 2.843-7.21.333-.513.666-1.015.993-1.507l.004-.006c.757-1.135 1.477-2.218 2.06-3.277H7.215c-.922 0-2.21-.213-3.051-1.253A4.288 4.288 0 0 1 3.2 8 4.8 4.8 0 0 1 8 3.2zM6.303 6.303A2.4 2.4 0 0 1 8 5.6h11.842A4.782 4.782 0 0 0 19.2 8c-.004.55.096 1.095.294 1.608H7.216c-.664 0-1.029-.171-1.184-.363A1.889 1.889 0 0 1 5.6 8a2.4 2.4 0 0 1 .703-1.697zM26.4 8c0-1.34-1.07-2.4-2.4-2.4A2.4 2.4 0 0 0 21.6 8c0 .762.357 1.334 1.067 1.811A1.2 1.2 0 0 1 22 12.008H11.789c-.747 1.605-1.826 3.224-2.837 4.74l-.183.276c-.244.366-.483.726-.71 1.077C6.608 20.346 5.6 22.274 5.6 24.008a2.4 2.4 0 0 0 2.4 2.4h11.842a4.782 4.782 0 0 1-.642-2.4c0-1.566.54-3.085 1.254-4.5.706-1.398 1.637-2.796 2.52-4.12l.028-.042c.908-1.365 1.764-2.653 2.401-3.917.637-1.264.997-2.395.997-3.429zm-14.396 7.462a1.186 1.186 0 0 0 .838 2.024h6.324a1.186 1.186 0 0 0 0-2.371h-6.324c-.314 0-.616.125-.838.347zm-2.766 4.742c.222-.222.524-.347.838-.347H16.4a1.186 1.186 0 1 1 0 2.371h-6.323a1.185 1.185 0 0 1-.838-2.024z",fill:"currentColor"})}))};Ao.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Oo=j.Setting=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.996 2.168A3.968 3.968 0 0 0 17.173 1h-1.852a3.963 3.963 0 0 0-2.78 1.132 3.81 3.81 0 0 0-1.128 2.39l-.013.291a1.707 1.707 0 0 1-1.72 1.686 1.619 1.619 0 0 1-.637-.141l-.2-.105a3.969 3.969 0 0 0-5.329 1.44L2.54 9.261a3.813 3.813 0 0 0 1.146 5.11l.234.147c.572.324.9.88.9 1.482 0 .553-.277 1.07-.74 1.384l-.157.096a3.79 3.79 0 0 0-1.545 4.946l.128.24.955 1.617a3.91 3.91 0 0 0 2.355 1.822 4.01 4.01 0 0 0 2.691-.193l.266-.13c.45-.254.915-.316 1.35-.201.434.112.805.392 1.032.778.119.192.194.408.222.633l.012.22C11.386 29.275 13.148 31 15.32 31h1.852c2.052 0 3.756-1.544 3.923-3.538l.012-.257a1.692 1.692 0 0 1 1.714-1.731c.226.008.447.06.653.15l.204.104c1.722.973 3.98.473 5.14-1.165l.15-.227.99-1.616a3.776 3.776 0 0 0 .408-2.935 3.842 3.842 0 0 0-1.542-2.159l-.249-.158c-.435-.247-.723-.611-.84-1.042a1.641 1.641 0 0 1 .176-1.27c.123-.213.292-.396.495-.535l.385-.238a3.804 3.804 0 0 0 1.326-4.806l-.085-.166a1.006 1.006 0 0 0-.063-.128l-.921-1.564c-1.023-1.74-3.236-2.416-5.08-1.567l-.247.125c-.44.253-.906.316-1.344.205a1.693 1.693 0 0 1-1.042-.77 1.536 1.536 0 0 1-.216-.624l-.014-.221c.033-.943-.369-1.951-1.11-2.699zm-4.675 1.003h1.853c.463 0 .907.183 1.234.51.322.324.497.765.485 1.221l.02.38a3.73 3.73 0 0 0 .514 1.531 3.91 3.91 0 0 0 2.394 1.77 3.992 3.992 0 0 0 2.976-.408l.154-.076.168-.066c.767-.24 1.6.078 2.01.77l.878 1.492.02.042.104.201c.356.744.059 1.686-.71 2.126l-.24.148a3.86 3.86 0 0 0-1.189 1.257 3.77 3.77 0 0 0-.397 2.916c.247.9.813 1.68 1.593 2.193l.41.255c.693.5.89 1.447.454 2.183l-.966 1.578-.11.166c-.447.628-1.329.861-2.073.541l-.474-.236a4.12 4.12 0 0 0-1.572-.362 3.976 3.976 0 0 0-2.815 1.125 3.802 3.802 0 0 0-1.15 2.735l-.008.165c-.07.825-.813 1.5-1.71 1.5h-1.851c-.888 0-1.617-.657-1.71-1.5l-.03-.53a3.888 3.888 0 0 0-2.888-3.315 3.978 3.978 0 0 0-2.979.392l-.163.078a1.74 1.74 0 0 1-2.163-.741l-.945-1.595-.084-.16c-.357-.742-.06-1.684.708-2.119l.234-.143c1.098-.744 1.734-1.928 1.734-3.196a3.834 3.834 0 0 0-1.731-3.193l-.392-.243a1.654 1.654 0 0 1-.468-2.196l.975-1.568a1.744 1.744 0 0 1 2.357-.645l.288.15c.502.234 1.049.359 1.603.366 2.08 0 3.78-1.566 3.936-3.558l.02-.459a1.64 1.64 0 0 1 .487-.99 1.727 1.727 0 0 1 1.21-.492zm.933 7.926c2.764 0 5.004 2.195 5.004 4.902 0 2.708-2.24 4.902-5.004 4.902-2.763 0-5.004-2.194-5.004-4.902 0-2.707 2.241-4.902 5.004-4.902zM13.467 16c0-1.507 1.248-2.73 2.787-2.73 1.54 0 2.787 1.223 2.787 2.73 0 1.508-1.248 2.73-2.787 2.73s-2.787-1.222-2.787-2.73z",fill:"currentColor"})}))};Oo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Ho=j.Store=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{d:"M30.4 12.034v-.056a.582.582 0 0 1-.014-.069v-.041c-.014-.028-.014-.056-.027-.083v-.028l-1.98-6.95A2.243 2.243 0 0 0 26.245 3.2H5.754a2.243 2.243 0 0 0-2.132 1.606l-1.98 6.95v.029c-.014.027-.014.055-.028.083v.041a.594.594 0 0 1-.014.07v2.298a5.538 5.538 0 0 0 2.215 4.43v8.862a2.216 2.216 0 0 0 2.216 2.216h19.938a2.215 2.215 0 0 0 2.216-2.216v-8.861a5.537 5.537 0 0 0 2.215-4.431v-2.243zM5.754 5.415h20.492l1.579 5.539H4.175l1.579-5.539zm6.923 7.754h6.646v1.108a3.323 3.323 0 1 1-6.646 0v-1.108zm-2.216 0v1.108a3.323 3.323 0 0 1-4.86 2.95 1.201 1.201 0 0 0-.249-.153 3.31 3.31 0 0 1-1.537-2.797v-1.108h6.646zm15.508 14.4H6.031v-7.864a5.539 5.539 0 0 0 5.538-2.105 5.538 5.538 0 0 0 8.862 0 5.537 5.537 0 0 0 5.538 2.105v7.864zm.679-10.495a1.2 1.2 0 0 0-.25.152 3.323 3.323 0 0 1-4.86-2.95V13.17h6.647v1.108a3.31 3.31 0 0 1-1.537 2.797z",fill:"currentColor"})}))};Ho.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var $o=j.Team=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.275 5.323a3.697 3.697 0 1 1 5.229 5.228 3.697 3.697 0 0 1-5.229-5.228zM9.89 2.16a5.777 5.777 0 0 0-3.483 10.385A9.33 9.33 0 0 0 .56 21.2a1.04 1.04 0 0 0 1.04 1.04h15.408a9.322 9.322 0 0 0-3.862 7.56 1.04 1.04 0 0 0 1.04 1.04h16.578a1.04 1.04 0 0 0 1.04-1.04 9.33 9.33 0 0 0-5.845-8.655 5.78 5.78 0 0 0 2.293-4.608 5.777 5.777 0 0 0-11.356-1.498 9.338 9.338 0 0 0-3.523-2.494 5.78 5.78 0 0 0 2.293-4.608A5.777 5.777 0 0 0 9.89 2.16zm9.972 11.763a3.697 3.697 0 1 1 5.228 5.228 3.697 3.697 0 0 1-5.228-5.228zm2.614 8.627a7.25 7.25 0 0 0-7.175 6.21h14.35a7.25 7.25 0 0 0-7.175-6.21zM4.763 16.075a7.25 7.25 0 0 1 12.301 4.086H2.714a7.25 7.25 0 0 1 2.05-4.086z",fill:"currentColor"})}))};$o.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Fo=j.Approve=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.673 4.673A6.12 6.12 0 0 1 7 2.88h18A6.12 6.12 0 0 1 31.12 9v10A6.12 6.12 0 0 1 25 25.12h-7.203l-5.81 5.083a3.082 3.082 0 0 1-5.107-2.319v-2.765A6.12 6.12 0 0 1 .88 19V9a6.12 6.12 0 0 1 1.793-4.327zM7 5.12A3.88 3.88 0 0 0 3.12 9v10A3.88 3.88 0 0 0 7 22.88h1c.619 0 1.12.501 1.12 1.12v3.884a.84.84 0 0 0 1.393.633l6.126-5.36a1.12 1.12 0 0 1 .737-.277H25A3.881 3.881 0 0 0 28.88 19V9A3.88 3.88 0 0 0 25 5.12H7z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M20.63 9.719a1.156 1.156 0 0 1 1.65 1.619L16.13 19.03a1.156 1.156 0 0 1-1.665.03l-4.08-4.079a1.156 1.156 0 1 1 1.635-1.634l3.228 3.227 5.354-6.822a.405.405 0 0 1 .031-.034h-.002z",fill:"currentColor"})]}))};Fo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Uo=j.Circles=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.23 3.995a1.272 1.272 0 1 1 1.28 1.272h-.014a1.272 1.272 0 0 1-1.265-1.272zm.2 3.245A3.425 3.425 0 0 1 13.737 6L5.07 10.875V21.07a3.41 3.41 0 0 1 1.055.572l4.616-2.638v-4.458c0-.381.203-.734.532-.926l4.158-2.425V7.24zM2.926 10.247V21.07a3.419 3.419 0 0 0 1.073 6.663c.886 0 1.694-.338 2.302-.892l9.677 5.444c.327.183.725.183 1.052 0l6.253-3.517 3.424-1.927a3.417 3.417 0 1 0 3.375-5.77V10.246c0-.387-.21-.744-.547-.934L19.92 3.904a3.417 3.417 0 0 0-6.832 0L3.472 9.313c-.338.19-.547.547-.547.934zm25.01 10.823V10.875L19.27 6a3.425 3.425 0 0 1-1.694 1.24v3.954l4.157 2.426c.33.192.532.545.532.926v4.458l4.616 2.637a3.411 3.411 0 0 1 1.055-.57zm-2.23 2.37l-4.168-2.382-4.493 2.621a1.072 1.072 0 0 1-1.081 0l-4.493-2.62-4.168 2.38a3.423 3.423 0 0 1 .05 1.533l9.151 5.147 5.727-3.22 3.424-1.927a3.439 3.439 0 0 1 .05-1.532zm-12.819-8.278l3.617-2.11 3.617 2.11v4.24l-3.617 2.109-3.617-2.11v-4.239zm-8.888 7.882a1.272 1.272 0 1 0 0 2.544 1.272 1.272 0 0 0 0-2.544zm23.738 1.272a1.272 1.272 0 1 1 2.544 0 1.272 1.272 0 0 1-2.544 0z",fill:"currentColor"})}))};Uo.defaultProps={width:"33",height:"33",viewBox:"0 0 33 33",xmlns:"http://www.w3.org/2000/svg"};var qo=j.Key=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.987 8.889c0-.707.573-1.28 1.28-1.28a4.124 4.124 0 0 1 4.124 4.124 1.28 1.28 0 1 1-2.56 0 1.564 1.564 0 0 0-1.564-1.564 1.28 1.28 0 0 1-1.28-1.28z",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.382 1.92a9.813 9.813 0 0 0-9.706 11.905l-7.964 7.964a2.703 2.703 0 0 0-.792 1.91v3.679a2.702 2.702 0 0 0 2.702 2.702h2.845a2.702 2.702 0 0 0 2.702-2.702.142.142 0 0 1 .14-.142h.002a2.712 2.712 0 0 0 1.91-.792 2.702 2.702 0 0 0 .792-1.91.142.142 0 0 1 .143-.143h.833c.717 0 1.404-.285 1.91-.792l2.277-2.276a9.813 9.813 0 1 0 2.206-19.402zm-9.13 20.695a2.702 2.702 0 0 1 1.904-.784h.833a.142.142 0 0 0 .1-.041l2.794-2.794a1.28 1.28 0 0 1 1.275-.32 7.257 7.257 0 0 0 8.994-4.67 7.253 7.253 0 1 0-13.835-.188 1.286 1.286 0 0 1-.332 1.319l-8.463 8.462a.143.143 0 0 0-.042.101v3.678a.142.142 0 0 0 .142.142h2.845a.142.142 0 0 0 .142-.142 2.702 2.702 0 0 1 2.702-2.702l.014-.001a.143.143 0 0 0 .128-.142c0-.716.285-1.404.792-1.91l.008-.008z",fill:"currentColor"})]}))};qo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Wo=j.Label=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("g",{clipPath:"url(#clip0_802_356)",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.567.629l15.96 15.96a1.606 1.606 0 0 1 .047 2.229l-11.63 12.64a1.6 1.6 0 0 1-1.186.52c-.41.001-.803-.155-1.101-.436L.678 15.592a2.155 2.155 0 0 1-.677-1.564V3.22A3.224 3.224 0 0 1 3.221 0H14.05a2.133 2.133 0 0 1 1.518.629zM2.148 14.028l16.584 15.578 10.914-11.863L14.049 2.147H3.222A1.075 1.075 0 0 0 2.148 3.22v10.808zm4.771-8.073a3.489 3.489 0 1 1 3.877 5.802 3.489 3.489 0 0 1-3.877-5.802zm1.193 4.017A1.342 1.342 0 1 0 9.603 7.74a1.342 1.342 0 0 0-1.491 2.232z",fill:"currentColor"})}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_802_356",children:(0,n.jsx)("path",{fill:"transparent",transform:"translate(.009)",d:"M0 0h32.001v32H0z"})})})]}))};Wo.defaultProps={width:"33",height:"32",viewBox:"0 0 33 32",xmlns:"http://www.w3.org/2000/svg"};var Go=j.Plan=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.083 3.2c0-.619.501-1.12 1.12-1.12h9.956c.618 0 1.12.501 1.12 1.12v9.956a1.12 1.12 0 0 1-1.12 1.12H3.203a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v7.716h7.716V4.32H4.323zM17.727 3.2c0-.619.502-1.12 1.12-1.12h9.956c.619 0 1.12.501 1.12 1.12v9.956a1.12 1.12 0 0 1-1.12 1.12h-9.956a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v7.716h7.716V4.32h-7.716zM2.083 18.844c0-.618.501-1.12 1.12-1.12h9.956c.618 0 1.12.502 1.12 1.12V28.8a1.12 1.12 0 0 1-1.12 1.12H3.203a1.12 1.12 0 0 1-1.12-1.12v-9.956zm2.24 1.12v7.716h7.716v-7.716H4.323zm14.525-2.24h9.955a1.12 1.12 0 0 1 0 2.24H21.55l8.044 8.044a1.12 1.12 0 0 1-1.584 1.584l-8.044-8.044V28.8a1.12 1.12 0 1 1-2.24 0v-9.955-.01.02m.318-.792l.01-.01a.972.972 0 0 1-.01.01zm.803-.339h-.01zm-.01 0h.02",fill:"currentColor"})}))};Go.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Ko=j.Server=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.083 3.2c0-.619.501-1.12 1.12-1.12h25.6c.619 0 1.12.501 1.12 1.12v10.24a1.12 1.12 0 0 1-1.12 1.12h-25.6a1.12 1.12 0 0 1-1.12-1.12V3.2zm2.24 1.12v8h23.36v-8H4.323zm-2.24 14.24c0-.619.501-1.12 1.12-1.12h25.6c.619 0 1.12.501 1.12 1.12V28.8a1.12 1.12 0 0 1-1.12 1.12h-25.6a1.12 1.12 0 0 1-1.12-1.12V18.56zm2.24 1.12v8h23.36v-8H4.323z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M8.963 7.04h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64V7.68a.64.64 0 0 0-.64-.64zm0 15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64v-1.28a.64.64 0 0 0-.64-.64zm5.12-15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64V7.68a.64.64 0 0 0-.64-.64zm0 15.36h-1.28a.64.64 0 0 0-.64.64v1.28a.64.64 0 0 0 .64.64h1.28a.64.64 0 0 0 .64-.64v-1.28a.64.64 0 0 0-.64-.64z",fill:"currentColor"})]}))};Ko.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"};var Xo=j.Globe=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.606 17.32a7.933 7.933 0 0 1-.581-1.18c-.165-.411-.312-.86-.44-1.339a7.639 7.639 0 0 0-1.586 1.054 7.69 7.69 0 0 0 2.607 1.465zm.657-1.675c-.16-.4-.305-.848-.429-1.335A7.643 7.643 0 0 1 10 14h.002c.734 0 1.463.104 2.165.31-.124.487-.268.935-.428 1.335-.283.707-.604 1.235-.925 1.575-.32.339-.595.447-.813.447-.218 0-.493-.108-.813-.447-.322-.34-.642-.867-.925-1.575zM10 12.667a8.976 8.976 0 0 1 2.436.334c.116-.727.193-1.511.22-2.334H7.344c.027.823.103 1.607.22 2.334A8.972 8.972 0 0 1 10 12.667zM7.345 9.333c.027-.823.103-1.607.22-2.334.791.223 1.61.335 2.436.334A8.974 8.974 0 0 0 12.437 7c.116.727.193 1.511.22 2.334H7.344zm6.646 1.334c-.03.982-.127 1.925-.28 2.797.81.367 1.56.852 2.227 1.439a7.666 7.666 0 0 0 1.734-4.236h-3.681zm3.681-1.334H13.99a19.718 19.718 0 0 0-.28-2.798 8.975 8.975 0 0 0 2.228-1.438 7.665 7.665 0 0 1 1.734 4.236zm1.329.669A9 9 0 1 1 1 10a9 9 0 0 1 18 0v.002zM2.329 9.333a7.665 7.665 0 0 1 1.734-4.236A8.974 8.974 0 0 0 6.29 6.535a19.74 19.74 0 0 0-.28 2.798H2.329zm0 1.334h3.682c.03.983.126 1.925.28 2.797a8.974 8.974 0 0 0-2.228 1.439 7.665 7.665 0 0 1-1.734-4.236zm10.648 5.473c.164-.411.312-.86.44-1.34.57.285 1.103.639 1.585 1.055a7.687 7.687 0 0 1-2.606 1.465c.216-.354.41-.751.58-1.18zm-.581-13.46c.967.316 1.85.819 2.606 1.465A7.64 7.64 0 0 1 13.417 5.2c-.128-.48-.276-.928-.44-1.34a7.925 7.925 0 0 0-.581-1.18zm-.657 1.675c.16.4.304.848.428 1.335a7.64 7.64 0 0 1-2.165.31H10a7.64 7.64 0 0 1-2.166-.31c.124-.487.268-.935.429-1.335.283-.708.603-1.235.925-1.575.32-.339.595-.447.813-.447.218 0 .492.108.813.447.321.34.642.867.925 1.575zM7.025 3.86c-.165.411-.312.86-.44 1.34a7.64 7.64 0 0 1-1.586-1.055A7.688 7.688 0 0 1 7.606 2.68c-.216.354-.41.751-.581 1.18z",fill:"currentColor"})}))};Xo.defaultProps={width:"21",height:"20",viewBox:"0 0 21 20",xmlns:"http://www.w3.org/2000/svg"};var Jo=j.Notification=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.251 2.5c-2.576-.006-4.747 2.1-4.766 4.506v5.784c0 .793-.084 1.778-.58 2.71h12.19c-.496-.932-.58-1.917-.58-2.711V7.01c-.035-2.403-2.21-4.502-4.797-4.508L9.25 2.5zM17.015 7v5.789c0 .79.1 1.562.53 2.219l.287.438c.436.664-.033 1.554-.817 1.554H2.985c-.785 0-1.255-.89-.818-1.554l.287-.438c.43-.657.53-1.428.53-2.218V7c.024-3.291 2.927-6.008 6.27-6l1.467.003c3.344.008 6.254 2.706 6.294 5.998zM11.06 18.06A1.5 1.5 0 0 0 11.5 17H13a3 3 0 0 1-6 0h1.5a1.5 1.5 0 0 0 2.56 1.06z",fill:"currentColor"})}))};Jo.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Qo=j.QuestionMarkCircle=function(t){return(0,n.jsxs)("svg",w(w({},t),{},{children:[(0,n.jsx)("path",{d:"M9.928 13.133a.981.981 0 0 0-.678.252.79.79 0 0 0-.281.61c0 .27.094.482.283.636.19.154.41.231.663.231.257 0 .48-.076.673-.228.19-.153.287-.365.287-.639a.796.796 0 0 0-.275-.61.958.958 0 0 0-.672-.252zM12.633 7.2a2.526 2.526 0 0 0-1.035-.88c-.441-.212-.955-.32-1.528-.32-.617 0-1.166.129-1.63.383-.467.255-.826.582-1.07.972-.245.392-.37.786-.37 1.172 0 .205.086.397.254.57.169.174.38.262.625.262.419 0 .705-.246.85-.729.132-.399.296-.703.485-.905.177-.19.465-.286.856-.286.336 0 .602.095.813.29.208.191.309.42.309.698a.78.78 0 0 1-.1.387c-.07.125-.156.24-.258.342-.108.109-.287.27-.53.484a9.184 9.184 0 0 0-.679.647 2.268 2.268 0 0 0-.42.656 2.27 2.27 0 0 0-.159.884c0 .288.08.511.24.663.156.15.352.227.58.227.439 0 .714-.24.796-.687.041-.186.073-.316.094-.39.019-.067.046-.136.081-.205.034-.068.089-.144.162-.227.076-.088.179-.19.305-.306.472-.422.805-.727.99-.908.19-.186.356-.41.493-.665A1.9 1.9 0 0 0 13 8.416a2.18 2.18 0 0 0-.367-1.217",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 17.5a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15zm0 1.5a9 9 0 1 0 0-18 9 9 0 0 0 0 18z",fill:"currentColor"})]}))};Qo.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};var Yo=j.Account=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.826 1.75a1.937 1.937 0 1 0 0 3.875 1.937 1.937 0 0 0 0-3.875zM3.838 3.687a2.987 2.987 0 1 1 5.975 0 2.987 2.987 0 0 1-5.975 0zM2.556 9.812l-.102 1.302a1.009 1.009 0 0 0 1.005 1.087h6.733c.588 0 1.051-.5 1.005-1.087l-.102-1.302a2.29 2.29 0 0 0-2.234-1.79H4.79c-1.073 0-2.001.745-2.234 1.79zM1.52 9.628A3.34 3.34 0 0 1 4.79 6.971H8.86a3.34 3.34 0 0 1 3.269 2.657.53.53 0 0 1 .01.066l.104 1.338a2.059 2.059 0 0 1-2.052 2.22H3.459a2.059 2.059 0 0 1-2.052-2.22l.105-1.338a.524.524 0 0 1 .01-.066z",fill:"currentColor"})}))};Yo.defaultProps={width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Zo=Ke=j.EmptyIcon=function(t){return(0,n.jsx)("svg",w(w({},t),{},{children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.361 2.4a.8.8 0 0 0-.728.469L.873 15.54a.8.8 0 0 0-.072.33V27.393a.8.8 0 0 0 .8.8h28.8a.8.8 0 0 0 .8-.8v-11.52a.8.8 0 0 0-.072-.331L25.37 2.869a.8.8 0 0 0-.728-.47H7.361zm-4.96 14.4v9.792h27.2v-9.799a.814.814 0 0 1-.104.007h-7.098l-2.066 3.1a.8.8 0 0 1-.666.356h-8.064a.8.8 0 0 1-.665-.356L8.87 16.8h-6.47zm26.816-1.6H21.97a.8.8 0 0 0-.665.356l-2.067 3.1h-7.208l-2.066-3.1a.8.8 0 0 0-.666-.356H2.785L7.876 4h16.25l5.09 11.2z",fill:"currentColor"})}))};Zo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var N1={},el=Ie;Object.defineProperty(N1,"__esModule",{value:!0});var H0=N1.default=void 0,tl=el(ke()),ol=o;H0=N1.default=(0,tl.default)((0,ol.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20m6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9"}),"DoDisturbAlt");function Se({children:e,Icon:t}){return o.jsxs(x2,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",paddingTop:"10px",margin:"10px 0px"},children:[o.jsx(y,{sx:{opacity:.3,fontSize:32},children:o.jsx(t,{})}),o.jsx(y,{sx:{mb:2,opacity:.7,fontSize:"small",color:"action"},children:e})]})}Se.propTypes={children:h.node.isRequired,Icon:h.elementType};Se.defaultProps={Icon:H0};function V1({value:e,app:t,onChange:l,disabled:s,resourceRelateComponents:r,projectType:a,dependentComponentsMode:i}){const{t:c,locale:u}=te(),f=i==="readonly",x=R.useMemo(()=>{const b=e.reduce((v,C)=>(v[C.did]=C.included,v),{});return(t.children||[]).filter(v=>f?r[v.meta.did]||b[v.meta.did]:!0)},[t.children,e,r,f]),g=R.useMemo(()=>x.map(b=>e.find(C=>C.did===b.meta.did)||{did:b.meta.did}),[x,e]),z=g.reduce((b,v)=>(b[v.did]=j1(v,["required","included"]),b),{}),p=b=>{const v=g.map(C=>{if(C.did===b){const S=!C.included;return{...C,included:S,required:S}}return C});l(v)},d=b=>{const v=g.map(C=>C.did===b?{...C,required:!C.required}:C);l(v)},m=[{label:c("common.name"),name:"meta.title",width:200,options:{customBodyRenderLite:b=>{var S;const v=x[b],C=(S=z[v.meta.did])==null?void 0:S.included;return o.jsxs(y,{display:"flex",alignItems:"center",children:[o.jsx(z1,{size:24,blocklet:v,ancestors:[t]}),o.jsx(y,{ml:"4px",className:S1("text",{excluded:!C}),children:o.jsx(y,{children:v.meta.title})})]})}}},{label:c("blocklet.publish.componentIncluded"),width:100,options:{customBodyRenderLite:b=>{var D;const v=x[b],C=r[v.meta.did],S=!!((D=z[v.meta.did])!=null&&D.included);return o.jsx(h1,{size:"small",checked:C||S,onClick:()=>p(v.meta.did),disabled:f||C||s})}}},{label:c("blocklet.publish.componentForceRequired"),width:100,options:{customBodyRenderLite:b=>{var L,P;const v=x[b],C=r[v.meta.did],S=!!((L=z[v.meta.did])!=null&&L.included),D=!!((P=z[v.meta.did])!=null&&P.required);return o.jsx(h1,{size:"small",checked:C||D&&S,onClick:()=>d(v.meta.did),disabled:f||C||s||!S})}}}];return o.jsx(ll,{children:x!=null&&x.length?o.jsxs(o.Fragment,{children:[o.jsx(C1,{className:"main-table",verticalKeyWidth:100,locale:u,data:x,columns:m,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1,rowsPerPage:50}}),o.jsx(L0,{severity:"info",style:{width:"100%"},children:o.jsx(y,{display:"flex",alignItems:"center",rel:"noreferrer",children:c(a==="pack"?"blocklet.publish.packTip":"blocklet.publish.resourceTip")})})]}):o.jsx(Se,{Icon:Ke,children:c("blocklet.publish.blockletEmptyTip")})})}V1.propTypes={app:h.object.isRequired,value:h.arrayOf(h.shape({did:h.string.isRequired,required:h.bool,included:h.bool})),onChange:h.func,disabled:h.bool,dependentComponentsMode:h.string,resourceRelateComponents:h.object,projectType:h.string.isRequired};V1.defaultProps={value:[],onChange:()=>{},disabled:!1,dependentComponentsMode:"auto",resourceRelateComponents:{}};const ll=ce(y)`
|
|
23
23
|
.main-table {
|
|
24
24
|
.text.excluded {
|
|
25
25
|
color: #999;
|
|
@@ -43,7 +43,7 @@ import{at as d2,j as o,aG as se,cQ as g0,aK as H,fG as Q1,aJ as we,aE as $e,aF a
|
|
|
43
43
|
display: none;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`;function nl(e,t){const l=new Set(t||[]),s=[];function r(a){l.has(a==null?void 0:a.id)&&s.push(a==null?void 0:a.id),a!=null&&a.children&&a.children.forEach(r)}return(e||[]).forEach(r),s}function sl(e){return Fe("MuiTreeView",e)}$e("MuiTreeView",["root"]);const $0={instance:null,multiSelect:!1,disabledItemsFocusable:!1,treeId:void 0,icons:{defaultCollapseIcon:null,defaultExpandIcon:null,defaultParentIcon:null,defaultEndIcon:null}},F0=R.createContext($0),rl=(e,t)=>{const l=R.useRef({}),[s,r]=R.useState(()=>{const i={};return e.forEach(c=>{c.models&&Object.entries(c.models).forEach(([u,f])=>{l.current[u]={controlledProp:f.controlledProp,defaultProp:f.defaultProp,isControlled:t[f.controlledProp]!==void 0},i[u]=t[f.defaultProp]})}),i});return Object.fromEntries(Object.entries(l.current).map(([i,c])=>{const u=c.isControlled?t[c.controlledProp]:s[i];return[i,{value:u,setValue:f=>{c.isControlled||r(x=>H({},x,{[i]:f}))}}]}))};class il{constructor(){this.maxListeners=20,this.warnOnce=!1,this.events={}}on(t,l,s={}){let r=this.events[t];r||(r={highPriority:new Map,regular:new Map},this.events[t]=r),s.isFirst?r.highPriority.set(l,!0):r.regular.set(l,!0)}removeListener(t,l){this.events[t]&&(this.events[t].regular.delete(l),this.events[t].highPriority.delete(l))}removeAllListeners(){this.events={}}emit(t,...l){const s=this.events[t];if(!s)return;const r=Array.from(s.highPriority.keys()),a=Array.from(s.regular.keys());for(let i=r.length-1;i>=0;i-=1){const c=r[i];s.highPriority.has(c)&&c.apply(this,l)}for(let i=0;i<a.length;i+=1){const c=a[i];s.regular.has(c)&&c.apply(this,l)}}once(t,l){const s=this;this.on(t,function r(...a){s.removeListener(t,r),l.apply(s,a)})}}const d1=(e,t)=>{const l=e.getNode(t),s=e.getNavigableChildrenIds(l.parentId),r=s.indexOf(t);if(r===0)return l.parentId;let a=s[r-1];for(;e.isNodeExpanded(a)&&e.getNavigableChildrenIds(a).length>0;)a=e.getNavigableChildrenIds(a).pop();return a},Ae=(e,t)=>{if(e.isNodeExpanded(t)&&e.getNavigableChildrenIds(t).length>0)return e.getNavigableChildrenIds(t)[0];let l=e.getNode(t);for(;l!=null;){const s=e.getNavigableChildrenIds(l.parentId),r=s[s.indexOf(l.id)+1];if(r)return r;l=e.getNode(l.parentId)}return null},m1=e=>{let t=e.getNavigableChildrenIds(null).pop();for(;e.isNodeExpanded(t);)t=e.getNavigableChildrenIds(t).pop();return t},v1=e=>e.getNavigableChildrenIds(null)[0],Ve=(e,t)=>{Object.assign(e,t)},al=e=>e.isPropagationStopped!==void 0,cl=({instance:e})=>{const[t]=R.useState(()=>new il),l=R.useCallback((...r)=>{const[a,i,c={}]=r;c.defaultMuiPrevented=!1,!(al(c)&&c.isPropagationStopped())&&t.emit(a,i,c)},[t]),s=R.useCallback((r,a)=>(t.on(r,a),()=>{t.removeListener(r,a)}),[t]);Ve(e,{$$publishEvent:l,$$subscribeEvent:s})},dl=[cl],ul=e=>{const t=[...dl,...e.plugins],l=t.reduce((d,m)=>m.getDefaultizedParams?m.getDefaultizedParams(d):d,e),s=rl(t,l),a=R.useRef({}).current,i=R.useRef(null),c=j0(i,e.rootRef),[u,f]=R.useState(()=>{const d={};return t.forEach(m=>{m.getInitialState&&Object.assign(d,m.getInitialState(l))}),d}),x=[];let g=$0;const z=d=>{const m=d({instance:a,params:l,state:u,setState:f,rootRef:i,models:s})||{};m.getRootProps&&x.push(m.getRootProps),m.contextValue&&(g=m.contextValue)};return t.forEach(z),{getRootProps:(d={})=>{const m=H({role:"tree",tabIndex:0},d,{ref:c});return x.forEach(b=>{Object.assign(m,b(d))}),m},rootRef:c,contextValue:g}},pl=["element"];function hl(e,t){for(let l=0;l<e.length;l+=1)if(t(e[l]))return l;return-1}function fl(e,t){let l=0,s=e.length-1;for(;l<=s;){const r=Math.floor((l+s)/2);if(e[r].element===t)return r;e[r].element.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING?s=r-1:l=r+1}return l}const U0=R.createContext({});function xl(e){const t=R.useRef(null);return R.useEffect(()=>{t.current=e},[e]),t.current}const i0=()=>{};function ml(e){const[,t]=R.useState(),{registerDescendant:l=i0,unregisterDescendant:s=i0,descendants:r=[],parentId:a=null}=R.useContext(U0),i=hl(r,f=>f.element===e.element),c=xl(r),u=r.some((f,x)=>c&&c[x]&&c[x].element!==f.element);return m2(()=>{if(e.element)return l(H({},e,{index:i})),()=>{s(e.element)};t({})},[l,s,i,u,e]),{parentId:a,index:i}}function q0(e){const{children:t,id:l}=e,[s,r]=R.useState([]),a=R.useCallback(u=>{let{element:f}=u,x=we(u,pl);r(g=>{if(g.length===0)return[H({},x,{element:f,index:0})];const z=fl(g,f);let p;if(g[z]&&g[z].element===f)p=g;else{const d=H({},x,{element:f,index:z});p=g.slice(),p.splice(z,0,d)}return p.forEach((d,m)=>{d.index=m}),p})},[]),i=R.useCallback(u=>{r(f=>f.filter(x=>u!==x.element))},[]),c=R.useMemo(()=>({descendants:s,registerDescendant:a,unregisterDescendant:i,parentId:l}),[s,a,i,l]);return o.jsx(U0.Provider,{value:c,children:t})}function vl(e){const{value:t,children:l}=e;return o.jsx(F0.Provider,{value:t,children:o.jsx(q0,{children:l})})}const gl=(e,t,l)=>{e.$$publishEvent(t,l)},bl=({instance:e,params:t})=>{const l=R.useRef({}),s=R.useCallback(f=>l.current[f],[]),r=R.useCallback(f=>{l.current[f.id]=f},[]),a=R.useCallback(f=>{const x=H({},l.current);delete x[f],l.current=x,gl(e,"removeNode",{id:f})},[e]),i=R.useCallback(f=>{if(f==null)return!1;let x=e.getNode(f);if(!x)return!1;if(x.disabled)return!0;for(;x.parentId!=null;)if(x=e.getNode(x.parentId),x.disabled)return!0;return!1},[e]),c=He(f=>Object.values(l.current).filter(x=>x.parentId===f).sort((x,g)=>x.index-g.index).map(x=>x.id));Ve(e,{getNode:s,updateNode:r,removeNode:a,getChildrenIds:c,getNavigableChildrenIds:f=>{let x=e.getChildrenIds(f);return t.disabledItemsFocusable||(x=x.filter(g=>!e.isNodeDisabled(g))),x},isNodeDisabled:i})},_1=({instance:e,params:t,models:l})=>{const s=R.useCallback(c=>Array.isArray(l.expanded.value)?l.expanded.value.indexOf(c)!==-1:!1,[l.expanded.value]),r=R.useCallback(c=>{var u;return!!((u=e.getNode(c))!=null&&u.expandable)},[e]),a=He((c,u)=>{if(u==null)return;let f;l.expanded.value.indexOf(u)!==-1?f=l.expanded.value.filter(x=>x!==u):f=[u].concat(l.expanded.value),t.onNodeToggle&&t.onNodeToggle(c,f),l.expanded.setValue(f)});Ve(e,{isNodeExpanded:s,isNodeExpandable:r,toggleNodeExpansion:a,expandAllSiblings:(c,u)=>{const f=e.getNode(u),g=e.getChildrenIds(f.parentId).filter(p=>e.isNodeExpandable(p)&&!e.isNodeExpanded(p)),z=l.expanded.value.concat(g);g.length>0&&(l.expanded.setValue(z),t.onNodeToggle&&t.onNodeToggle(c,z))}})};_1.models={expanded:{controlledProp:"expanded",defaultProp:"defaultExpanded"}};const jl=[];_1.getDefaultizedParams=e=>{var t;return H({},e,{defaultExpanded:(t=e.defaultExpanded)!=null?t:jl})};const wl=(e,t,l)=>{if(t===l)return[t,l];const s=e.getNode(t),r=e.getNode(l);if(s.parentId===r.id||r.parentId===s.id)return r.parentId===s.id?[s.id,r.id]:[r.id,s.id];const a=[s.id],i=[r.id];let c=s.parentId,u=r.parentId,f=i.indexOf(c)!==-1,x=a.indexOf(u)!==-1,g=!0,z=!0;for(;!x&&!f;)g&&(a.push(c),f=i.indexOf(c)!==-1,g=c!==null,!f&&g&&(c=e.getNode(c).parentId)),z&&!f&&(i.push(u),x=a.indexOf(u)!==-1,z=u!==null,!x&&z&&(u=e.getNode(u).parentId));const p=f?c:u,d=e.getChildrenIds(p),m=a[a.indexOf(p)-1],b=i[i.indexOf(p)-1];return d.indexOf(m)<d.indexOf(b)?[t,l]:[l,t]},E1=({instance:e,params:t,models:l})=>{const s=R.useRef(null),r=R.useRef(!1),a=R.useRef([]),i=d=>Array.isArray(l.selected.value)?l.selected.value.indexOf(d)!==-1:l.selected.value===d,c=(d,m,b=!1)=>{if(!t.disableSelection){if(b){if(Array.isArray(l.selected.value)){let v;l.selected.value.indexOf(m)!==-1?v=l.selected.value.filter(C=>C!==m):v=[m].concat(l.selected.value),t.onNodeSelect&&t.onNodeSelect(d,v),l.selected.setValue(v)}}else{const v=t.multiSelect?[m]:m;t.onNodeSelect&&t.onNodeSelect(d,v),l.selected.setValue(v)}s.current=m,r.current=!1,a.current=[]}},u=(d,m)=>{const[b,v]=wl(e,d,m),C=[b];let S=b;for(;S!==v;)S=Ae(e,S),C.push(S);return C},f=(d,m)=>{let b=l.selected.value.slice();const{start:v,next:C,current:S}=m;!C||!S||(a.current.indexOf(S)===-1&&(a.current=[]),r.current?a.current.indexOf(C)!==-1?(b=b.filter(D=>D===v||D!==S),a.current=a.current.filter(D=>D===v||D!==S)):(b.push(C),a.current.push(C)):(b.push(C),a.current.push(S,C)),t.onNodeSelect&&t.onNodeSelect(d,b),l.selected.setValue(b))},x=(d,m)=>{let b=l.selected.value.slice();const{start:v,end:C}=m;r.current&&(b=b.filter(L=>a.current.indexOf(L)===-1));let S=u(v,C);S=S.filter(L=>!e.isNodeDisabled(L)),a.current=S;let D=b.concat(S);D=D.filter((L,M)=>D.indexOf(L)===M),t.onNodeSelect&&t.onNodeSelect(d,D),l.selected.setValue(D)};return Ve(e,{isNodeSelected:i,selectNode:c,selectRange:(d,m,b=!1)=>{if(t.disableSelection)return;const{start:v=s.current,end:C,current:S}=m;b?f(d,{start:v,next:C,current:S}):v!=null&&C!=null&&x(d,{start:v,end:C}),r.current=!0},rangeSelectToLast:(d,m)=>{s.current||(s.current=m);const b=r.current?s.current:m;e.selectRange(d,{start:b,end:m1(e)})},rangeSelectToFirst:(d,m)=>{s.current||(s.current=m);const b=r.current?s.current:m;e.selectRange(d,{start:b,end:v1(e)})}}),{getRootProps:()=>({"aria-multiselectable":t.multiSelect})}};E1.models={selected:{controlledProp:"selected",defaultProp:"defaultSelected"}};const Rl=[];E1.getDefaultizedParams=e=>{var t,l,s;return H({},e,{disableSelection:(t=e.disableSelection)!=null?t:!1,multiSelect:(l=e.multiSelect)!=null?l:!1,defaultSelected:(s=e.defaultSelected)!=null?s:e.multiSelect?Rl:null})};const a0=1e3;class Cl{constructor(t=a0){this.timeouts=new Map,this.cleanupTimeout=a0,this.cleanupTimeout=t}register(t,l,s){this.timeouts||(this.timeouts=new Map);const r=setTimeout(()=>{typeof l=="function"&&l(),this.timeouts.delete(s.cleanupToken)},this.cleanupTimeout);this.timeouts.set(s.cleanupToken,r)}unregister(t){const l=this.timeouts.get(t.cleanupToken);l&&(this.timeouts.delete(t.cleanupToken),clearTimeout(l))}reset(){this.timeouts&&(this.timeouts.forEach((t,l)=>{this.unregister({cleanupToken:l})}),this.timeouts=void 0)}}class yl{constructor(){this.registry=new FinalizationRegistry(t=>{typeof t=="function"&&t()})}register(t,l,s){this.registry.register(t,l,s)}unregister(t){this.registry.unregister(t)}reset(){}}class zl{}function Sl(e){let t=0;return function(s,r,a){e.registry===null&&(e.registry=typeof FinalizationRegistry<"u"?new yl:new Cl);const[i]=R.useState(new zl),c=R.useRef(null),u=R.useRef();u.current=a;const f=R.useRef(null);if(!c.current&&u.current){const x=(g,z)=>{if(!z.defaultMuiPrevented){var p;(p=u.current)==null||p.call(u,g,z)}};c.current=s.$$subscribeEvent(r,x),t+=1,f.current={cleanupToken:t},e.registry.register(i,()=>{var g;(g=c.current)==null||g.call(c),c.current=null,f.current=null},f.current)}else!u.current&&c.current&&(c.current(),c.current=null,f.current&&(e.registry.unregister(f.current),f.current=null));R.useEffect(()=>{if(!c.current&&u.current){const x=(g,z)=>{if(!z.defaultMuiPrevented){var p;(p=u.current)==null||p.call(u,g,z)}};c.current=s.$$subscribeEvent(r,x)}return f.current&&e.registry&&(e.registry.unregister(f.current),f.current=null),()=>{var x;(x=c.current)==null||x.call(c),c.current=null}},[s,r])}}const kl={registry:null},Il=Sl(kl),B1=({instance:e,params:t,state:l,setState:s,models:r,rootRef:a})=>{const i=He(p=>{const d=typeof p=="function"?p(l.focusedNodeId):p;s(m=>H({},m,{focusedNodeId:d}))}),c=R.useCallback(p=>l.focusedNodeId===p,[l.focusedNodeId]),u=He((p,d)=>{d&&(i(d),t.onNodeFocus&&t.onNodeFocus(p,d))});Ve(e,{isNodeFocused:c,focusNode:u}),Il(e,"removeNode",({id:p})=>{i(d=>d===p&&a.current===w0(a.current).activeElement?e.getChildrenIds(null)[0]:d)});const f=p=>d=>{var m;if((m=p.onFocus)==null||m.call(p,d),d.target===d.currentTarget){const b=C=>{const S=e.getNode(C);return S&&(S.parentId==null||e.isNodeExpanded(S.parentId))};let v;Array.isArray(r.selected.value)?v=r.selected.value.find(b):r.selected.value!=null&&b(r.selected.value)&&(v=r.selected.value),v==null&&(v=e.getNavigableChildrenIds(null)[0]),e.focusNode(d,v)}},x=p=>d=>{var m;(m=p.onBlur)==null||m.call(p,d),i(null)},g=e.getNode(l.focusedNodeId),z=g?g.idAttribute:null;return{getRootProps:p=>({onFocus:f(p),onBlur:x(p),"aria-activedescendant":z??void 0})}};B1.getInitialState=()=>({focusedNodeId:null});B1.getDefaultizedParams=e=>{var t;return H({},e,{disabledItemsFocusable:(t=e.disabledItemsFocusable)!=null?t:!1})};function Pl(e){return e&&e.length===1&&e.match(/\S/)}function c0(e,t,l){for(let s=t;s<e.length;s+=1)if(l===e[s])return s;return-1}const Ml=({instance:e,params:t,state:l})=>{const r=v2().direction==="rtl",a=R.useRef({}),i=He((p,d)=>(a.current[p]=d,()=>{const m=H({},a.current);delete m[p],a.current=m}));Ve(e,{mapFirstChar:i});const c=p=>(l.focusedNodeId!=null&&e.isNodeExpandable(l.focusedNodeId)&&(e.isNodeExpanded(l.focusedNodeId)?e.focusNode(p,Ae(e,l.focusedNodeId)):e.isNodeDisabled(l.focusedNodeId)||e.toggleNodeExpansion(p,l.focusedNodeId)),!0),u=p=>{if(l.focusedNodeId==null)return!1;if(e.isNodeExpanded(l.focusedNodeId)&&!e.isNodeDisabled(l.focusedNodeId))return e.toggleNodeExpansion(p,l.focusedNodeId),!0;const d=e.getNode(l.focusedNodeId).parentId;return d?(e.focusNode(p,d),!0):!1},f=(p,d,m)=>{let b,v;const C=m.toLowerCase(),S=[],D=[];Object.keys(a.current).forEach(L=>{const M=e.getNode(L),I=M.parentId?e.isNodeExpanded(M.parentId):!0,q=t.disabledItemsFocusable?!1:e.isNodeDisabled(L);I&&!q&&(S.push(L),D.push(a.current[L]))}),b=S.indexOf(d)+1,b>=S.length&&(b=0),v=c0(D,b,C),v===-1&&(v=c0(D,0,C)),v>-1&&e.focusNode(p,S[v])},x=(p,d)=>{e.isNodeDisabled(Ae(e,d))||e.selectRange(p,{end:Ae(e,d),current:d},!0)},g=(p,d)=>{e.isNodeDisabled(d1(e,d))||e.selectRange(p,{end:d1(e,d),current:d},!0)},z=p=>d=>{var m;(m=p.onKeyDown)==null||m.call(p,d);let b=!1;const v=d.key;if(d.altKey||d.currentTarget!==d.target||l.focusedNodeId==null)return;const C=d.ctrlKey||d.metaKey;switch(v){case" ":!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&(b=!0,t.multiSelect&&d.shiftKey?e.selectRange(d,{end:l.focusedNodeId}):t.multiSelect?e.selectNode(d,l.focusedNodeId,!0):e.selectNode(d,l.focusedNodeId)),d.stopPropagation();break;case"Enter":e.isNodeDisabled(l.focusedNodeId)||(e.isNodeExpandable(l.focusedNodeId)?(e.toggleNodeExpansion(d,l.focusedNodeId),b=!0):t.disableSelection||(b=!0,t.multiSelect?e.selectNode(d,l.focusedNodeId,!0):e.selectNode(d,l.focusedNodeId))),d.stopPropagation();break;case"ArrowDown":t.multiSelect&&d.shiftKey&&!t.disableSelection&&x(d,l.focusedNodeId),e.focusNode(d,Ae(e,l.focusedNodeId)),b=!0;break;case"ArrowUp":t.multiSelect&&d.shiftKey&&!t.disableSelection&&g(d,l.focusedNodeId),e.focusNode(d,d1(e,l.focusedNodeId)),b=!0;break;case"ArrowRight":r?b=u(d):b=c(d);break;case"ArrowLeft":r?b=c(d):b=u(d);break;case"Home":t.multiSelect&&C&&d.shiftKey&&!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&e.rangeSelectToFirst(d,l.focusedNodeId),e.focusNode(d,v1(e)),b=!0;break;case"End":t.multiSelect&&C&&d.shiftKey&&!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&e.rangeSelectToLast(d,l.focusedNodeId),e.focusNode(d,m1(e)),b=!0;break;default:v==="*"?(e.expandAllSiblings(d,l.focusedNodeId),b=!0):t.multiSelect&&C&&v.toLowerCase()==="a"&&!t.disableSelection?(e.selectRange(d,{start:v1(e),end:m1(e)}),b=!0):!C&&!d.shiftKey&&Pl(v)&&(f(d,l.focusedNodeId,v),b=!0)}b&&(d.preventDefault(),d.stopPropagation())};return{getRootProps:p=>({onKeyDown:z(p)})}},Ll=({instance:e,params:t})=>{const l=g2(t.id);return{getRootProps:()=>({id:l}),contextValue:{treeId:l,instance:e,multiSelect:t.multiSelect,disabledItemsFocusable:t.disabledItemsFocusable,icons:{defaultCollapseIcon:t.defaultCollapseIcon,defaultEndIcon:t.defaultEndIcon,defaultExpandIcon:t.defaultExpandIcon,defaultParentIcon:t.defaultParentIcon}}}},Tl=[bl,_1,E1,B1,Ml,Ll],Dl=["disabledItemsFocusable","expanded","defaultExpanded","onNodeToggle","onNodeFocus","disableSelection","defaultSelected","selected","multiSelect","onNodeSelect","id","defaultCollapseIcon","defaultEndIcon","defaultExpandIcon","defaultParentIcon","children"],Nl=e=>{const{classes:t}=e;return qe({root:["root"]},sl,t)},d0=se("ul",{name:"MuiTreeView",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,margin:0,listStyle:"none",outline:0}),Vl=R.forwardRef(function(t,l){const s=T0({props:t,name:"MuiTreeView"}),r=s,a=s,{disabledItemsFocusable:i,expanded:c,defaultExpanded:u,onNodeToggle:f,onNodeFocus:x,disableSelection:g,defaultSelected:z,selected:p,multiSelect:d,onNodeSelect:m,id:b,defaultCollapseIcon:v,defaultEndIcon:C,defaultExpandIcon:S,defaultParentIcon:D,children:L}=a,M=we(a,Dl),{getRootProps:I,contextValue:q}=ul({disabledItemsFocusable:i,expanded:c,defaultExpanded:u,onNodeToggle:f,onNodeFocus:x,disableSelection:g,defaultSelected:z,selected:p,multiSelect:d,onNodeSelect:m,id:b,defaultCollapseIcon:v,defaultEndIcon:C,defaultExpandIcon:S,defaultParentIcon:D,plugins:Tl,rootRef:l}),V=Nl(s),P=$2({elementType:d0,externalSlotProps:{},externalForwardedProps:M,className:V.root,getSlotProps:I,ownerState:r});return o.jsx(vl,{value:q,children:o.jsx(d0,H({},P,{children:L}))})}),W0=()=>R.useContext(F0);function _l(e){const{instance:t,multiSelect:l}=W0(),s=t?t.isNodeExpandable(e):!1,r=t?t.isNodeExpanded(e):!1,a=t?t.isNodeFocused(e):!1,i=t?t.isNodeSelected(e):!1,c=t?t.isNodeDisabled(e):!1;return{disabled:c,expanded:r,selected:i,focused:a,handleExpansion:g=>{if(t&&!c){a||t.focusNode(g,e);const z=l&&(g.shiftKey||g.ctrlKey||g.metaKey);s&&!(z&&t.isNodeExpanded(e))&&t.toggleNodeExpansion(g,e)}},handleSelection:g=>{t&&!c&&(a||t.focusNode(g,e),l&&(g.shiftKey||g.ctrlKey||g.metaKey)?g.shiftKey?t.selectRange(g,{end:e}):t.selectNode(g,e,!0):t.selectNode(g,e))},preventSelection:g=>{(g.shiftKey||g.ctrlKey||g.metaKey||c)&&g.preventDefault()}}}const El=["classes","className","displayIcon","expansionIcon","icon","label","nodeId","onClick","onMouseDown"],G0=R.forwardRef(function(t,l){const{classes:s,className:r,displayIcon:a,expansionIcon:i,icon:c,label:u,nodeId:f,onClick:x,onMouseDown:g}=t,z=we(t,El),{disabled:p,expanded:d,selected:m,focused:b,handleExpansion:v,handleSelection:C,preventSelection:S}=_l(f),D=c||i||a,L=I=>{S(I),g&&g(I)},M=I=>{v(I),C(I),x&&x(I)};return o.jsxs("div",H({},z,{className:Ue(r,s.root,d&&s.expanded,m&&s.selected,b&&s.focused,p&&s.disabled),onClick:M,onMouseDown:L,ref:l,children:[o.jsx("div",{className:s.iconContainer,children:D}),o.jsx("div",{className:s.label,children:u})]}))});function Bl(e){return Fe("MuiTreeItem",e)}const ve=$e("MuiTreeItem",["root","group","content","expanded","selected","focused","disabled","iconContainer","label"]),Al=["children","className","collapseIcon","ContentComponent","ContentProps","endIcon","expandIcon","disabled","icon","id","label","nodeId","onClick","onMouseDown","TransitionComponent","TransitionProps"],Ol=e=>{const{classes:t}=e;return qe({root:["root"],content:["content"],expanded:["expanded"],selected:["selected"],focused:["focused"],disabled:["disabled"],iconContainer:["iconContainer"],label:["label"],group:["group"]},Bl,t)},Hl=se("li",{name:"MuiTreeItem",slot:"Root",overridesResolver:(e,t)=>t.root})({listStyle:"none",margin:0,padding:0,outline:0}),$l=se(G0,{name:"MuiTreeItem",slot:"Content",overridesResolver:(e,t)=>[t.content,t.iconContainer&&{[`& .${ve.iconContainer}`]:t.iconContainer},t.label&&{[`& .${ve.label}`]:t.label}]})(({theme:e})=>({padding:"0 8px",width:"100%",boxSizing:"border-box",display:"flex",alignItems:"center",cursor:"pointer",WebkitTapHighlightColor:"transparent","&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ve.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,backgroundColor:"transparent"},[`&.${ve.focused}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ve.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ve.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`& .${ve.iconContainer}`]:{marginRight:4,width:15,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}},[`& .${ve.label}`]:H({paddingLeft:4,width:"100%",boxSizing:"border-box",minWidth:0,position:"relative"},e.typography.body1)})),Fl=se(s1,{name:"MuiTreeItem",slot:"Group",overridesResolver:(e,t)=>t.group})({margin:0,padding:0,marginLeft:17}),Ul=R.forwardRef(function(t,l){const s=T0({props:t,name:"MuiTreeItem"}),{children:r,className:a,collapseIcon:i,ContentComponent:c=G0,ContentProps:u,endIcon:f,expandIcon:x,disabled:g,icon:z,id:p,label:d,nodeId:m,onClick:b,onMouseDown:v,TransitionComponent:C=s1,TransitionProps:S}=s,D=we(s,Al),{icons:L,multiSelect:M,disabledItemsFocusable:I,treeId:q,instance:V}=W0();let P;p!=null?P=p:q&&m&&(P=`${q}-${m}`);const[k,N]=R.useState(null),T=R.useRef(null),E=j0(N,l),A=R.useMemo(()=>({element:k,id:m}),[m,k]),{index:O,parentId:W}=ml(A),X=!!(Array.isArray(r)?r.length:r),Q=V?V.isNodeExpanded(m):!1,re=V?V.isNodeFocused(m):!1,fe=V?V.isNodeSelected(m):!1,de=V?V.isNodeDisabled(m):!1,oe=H({},s,{expanded:Q,focused:re,selected:fe,disabled:de}),ee=Ol(oe);let ae,xe;X&&(Q?xe=i||L.defaultCollapseIcon:xe=x||L.defaultExpandIcon),X?ae=L.defaultParentIcon:ae=f||L.defaultEndIcon,R.useEffect(()=>{if(V&&O!==-1)return V.updateNode({id:m,idAttribute:P,index:O,parentId:W,expandable:X,disabled:g}),()=>V.removeNode(m)},[V,W,O,m,X,g,P]),R.useEffect(()=>{if(V&&d){var G,le;return V.mapFirstChar(m,((G=(le=T.current)==null?void 0:le.textContent)!=null?G:"").substring(0,1).toLowerCase())}},[V,m,d]);let Y;M?Y=fe:fe&&(Y=!0);function me(G){if(G.target===G.currentTarget){let $;typeof G.target.getRootNode=="function"?$=G.target.getRootNode():$=w0(G.target),$.getElementById(q).focus({preventScroll:!0})}const le=!I&&de;V&&!re&&G.currentTarget===G.target&&!le&&V.focusNode(G,m)}return o.jsxs(Hl,H({className:Ue(ee.root,a),role:"treeitem","aria-expanded":X?Q:void 0,"aria-selected":Y,"aria-disabled":de||void 0,id:P,tabIndex:-1},D,{ownerState:oe,onFocus:me,ref:E,children:[o.jsx($l,H({as:c,ref:T,classes:{root:ee.content,expanded:ee.expanded,selected:ee.selected,focused:ee.focused,disabled:ee.disabled,iconContainer:ee.iconContainer,label:ee.label},label:d,nodeId:m,onClick:b,onMouseDown:v,icon:z,expansionIcon:xe,displayIcon:ae,ownerState:oe},u)),r&&o.jsx(q0,{id:m,children:o.jsx(Fl,H({as:C,unmountOnExit:!0,className:ee.group,in:Q,component:"ul",role:"group"},S,{children:r}))})]}))});function A1({data:e,...t}){return!e||!e.length?null:o.jsx(ql,{...t,children:e.map(l=>o.jsx("a",{href:l.url,target:"_blank",rel:"noreferrer",children:o.jsx("img",{src:l.url,alt:l.alt||""})},l.url))})}A1.propTypes={data:h.arrayOf(h.shape({url:h.string,alt:h.string}))};A1.defaultProps={data:[]};const ql=ce(y)`
|
|
46
|
+
`;function nl(e,t){const l=new Set(t||[]),s=[];function r(a){l.has(a==null?void 0:a.id)&&s.push(a==null?void 0:a.id),a!=null&&a.children&&a.children.forEach(r)}return(e||[]).forEach(r),s}function sl(e){return Fe("MuiTreeView",e)}$e("MuiTreeView",["root"]);const $0={instance:null,multiSelect:!1,disabledItemsFocusable:!1,treeId:void 0,icons:{defaultCollapseIcon:null,defaultExpandIcon:null,defaultParentIcon:null,defaultEndIcon:null}},F0=R.createContext($0),rl=(e,t)=>{const l=R.useRef({}),[s,r]=R.useState(()=>{const i={};return e.forEach(c=>{c.models&&Object.entries(c.models).forEach(([u,f])=>{l.current[u]={controlledProp:f.controlledProp,defaultProp:f.defaultProp,isControlled:t[f.controlledProp]!==void 0},i[u]=t[f.defaultProp]})}),i});return Object.fromEntries(Object.entries(l.current).map(([i,c])=>{const u=c.isControlled?t[c.controlledProp]:s[i];return[i,{value:u,setValue:f=>{c.isControlled||r(x=>H({},x,{[i]:f}))}}]}))};class il{constructor(){this.maxListeners=20,this.warnOnce=!1,this.events={}}on(t,l,s={}){let r=this.events[t];r||(r={highPriority:new Map,regular:new Map},this.events[t]=r),s.isFirst?r.highPriority.set(l,!0):r.regular.set(l,!0)}removeListener(t,l){this.events[t]&&(this.events[t].regular.delete(l),this.events[t].highPriority.delete(l))}removeAllListeners(){this.events={}}emit(t,...l){const s=this.events[t];if(!s)return;const r=Array.from(s.highPriority.keys()),a=Array.from(s.regular.keys());for(let i=r.length-1;i>=0;i-=1){const c=r[i];s.highPriority.has(c)&&c.apply(this,l)}for(let i=0;i<a.length;i+=1){const c=a[i];s.regular.has(c)&&c.apply(this,l)}}once(t,l){const s=this;this.on(t,function r(...a){s.removeListener(t,r),l.apply(s,a)})}}const d1=(e,t)=>{const l=e.getNode(t),s=e.getNavigableChildrenIds(l.parentId),r=s.indexOf(t);if(r===0)return l.parentId;let a=s[r-1];for(;e.isNodeExpanded(a)&&e.getNavigableChildrenIds(a).length>0;)a=e.getNavigableChildrenIds(a).pop();return a},Ae=(e,t)=>{if(e.isNodeExpanded(t)&&e.getNavigableChildrenIds(t).length>0)return e.getNavigableChildrenIds(t)[0];let l=e.getNode(t);for(;l!=null;){const s=e.getNavigableChildrenIds(l.parentId),r=s[s.indexOf(l.id)+1];if(r)return r;l=e.getNode(l.parentId)}return null},m1=e=>{let t=e.getNavigableChildrenIds(null).pop();for(;e.isNodeExpanded(t);)t=e.getNavigableChildrenIds(t).pop();return t},v1=e=>e.getNavigableChildrenIds(null)[0],Ve=(e,t)=>{Object.assign(e,t)},al=e=>e.isPropagationStopped!==void 0,cl=({instance:e})=>{const[t]=R.useState(()=>new il),l=R.useCallback((...r)=>{const[a,i,c={}]=r;c.defaultMuiPrevented=!1,!(al(c)&&c.isPropagationStopped())&&t.emit(a,i,c)},[t]),s=R.useCallback((r,a)=>(t.on(r,a),()=>{t.removeListener(r,a)}),[t]);Ve(e,{$$publishEvent:l,$$subscribeEvent:s})},dl=[cl],ul=e=>{const t=[...dl,...e.plugins],l=t.reduce((d,m)=>m.getDefaultizedParams?m.getDefaultizedParams(d):d,e),s=rl(t,l),a=R.useRef({}).current,i=R.useRef(null),c=j0(i,e.rootRef),[u,f]=R.useState(()=>{const d={};return t.forEach(m=>{m.getInitialState&&Object.assign(d,m.getInitialState(l))}),d}),x=[];let g=$0;const z=d=>{const m=d({instance:a,params:l,state:u,setState:f,rootRef:i,models:s})||{};m.getRootProps&&x.push(m.getRootProps),m.contextValue&&(g=m.contextValue)};return t.forEach(z),{getRootProps:(d={})=>{const m=H({role:"tree",tabIndex:0},d,{ref:c});return x.forEach(b=>{Object.assign(m,b(d))}),m},rootRef:c,contextValue:g}},pl=["element"];function hl(e,t){for(let l=0;l<e.length;l+=1)if(t(e[l]))return l;return-1}function fl(e,t){let l=0,s=e.length-1;for(;l<=s;){const r=Math.floor((l+s)/2);if(e[r].element===t)return r;e[r].element.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING?s=r-1:l=r+1}return l}const U0=R.createContext({});function xl(e){const t=R.useRef(null);return R.useEffect(()=>{t.current=e},[e]),t.current}const i0=()=>{};function ml(e){const[,t]=R.useState(),{registerDescendant:l=i0,unregisterDescendant:s=i0,descendants:r=[],parentId:a=null}=R.useContext(U0),i=hl(r,f=>f.element===e.element),c=xl(r),u=r.some((f,x)=>c&&c[x]&&c[x].element!==f.element);return m2(()=>{if(e.element)return l(H({},e,{index:i})),()=>{s(e.element)};t({})},[l,s,i,u,e]),{parentId:a,index:i}}function q0(e){const{children:t,id:l}=e,[s,r]=R.useState([]),a=R.useCallback(u=>{let{element:f}=u,x=we(u,pl);r(g=>{if(g.length===0)return[H({},x,{element:f,index:0})];const z=fl(g,f);let p;if(g[z]&&g[z].element===f)p=g;else{const d=H({},x,{element:f,index:z});p=g.slice(),p.splice(z,0,d)}return p.forEach((d,m)=>{d.index=m}),p})},[]),i=R.useCallback(u=>{r(f=>f.filter(x=>u!==x.element))},[]),c=R.useMemo(()=>({descendants:s,registerDescendant:a,unregisterDescendant:i,parentId:l}),[s,a,i,l]);return o.jsx(U0.Provider,{value:c,children:t})}function vl(e){const{value:t,children:l}=e;return o.jsx(F0.Provider,{value:t,children:o.jsx(q0,{children:l})})}const gl=(e,t,l)=>{e.$$publishEvent(t,l)},bl=({instance:e,params:t})=>{const l=R.useRef({}),s=R.useCallback(f=>l.current[f],[]),r=R.useCallback(f=>{l.current[f.id]=f},[]),a=R.useCallback(f=>{const x=H({},l.current);delete x[f],l.current=x,gl(e,"removeNode",{id:f})},[e]),i=R.useCallback(f=>{if(f==null)return!1;let x=e.getNode(f);if(!x)return!1;if(x.disabled)return!0;for(;x.parentId!=null;)if(x=e.getNode(x.parentId),x.disabled)return!0;return!1},[e]),c=He(f=>Object.values(l.current).filter(x=>x.parentId===f).sort((x,g)=>x.index-g.index).map(x=>x.id));Ve(e,{getNode:s,updateNode:r,removeNode:a,getChildrenIds:c,getNavigableChildrenIds:f=>{let x=e.getChildrenIds(f);return t.disabledItemsFocusable||(x=x.filter(g=>!e.isNodeDisabled(g))),x},isNodeDisabled:i})},_1=({instance:e,params:t,models:l})=>{const s=R.useCallback(c=>Array.isArray(l.expanded.value)?l.expanded.value.indexOf(c)!==-1:!1,[l.expanded.value]),r=R.useCallback(c=>{var u;return!!((u=e.getNode(c))!=null&&u.expandable)},[e]),a=He((c,u)=>{if(u==null)return;let f;l.expanded.value.indexOf(u)!==-1?f=l.expanded.value.filter(x=>x!==u):f=[u].concat(l.expanded.value),t.onNodeToggle&&t.onNodeToggle(c,f),l.expanded.setValue(f)});Ve(e,{isNodeExpanded:s,isNodeExpandable:r,toggleNodeExpansion:a,expandAllSiblings:(c,u)=>{const f=e.getNode(u),g=e.getChildrenIds(f.parentId).filter(p=>e.isNodeExpandable(p)&&!e.isNodeExpanded(p)),z=l.expanded.value.concat(g);g.length>0&&(l.expanded.setValue(z),t.onNodeToggle&&t.onNodeToggle(c,z))}})};_1.models={expanded:{controlledProp:"expanded",defaultProp:"defaultExpanded"}};const jl=[];_1.getDefaultizedParams=e=>{var t;return H({},e,{defaultExpanded:(t=e.defaultExpanded)!=null?t:jl})};const wl=(e,t,l)=>{if(t===l)return[t,l];const s=e.getNode(t),r=e.getNode(l);if(s.parentId===r.id||r.parentId===s.id)return r.parentId===s.id?[s.id,r.id]:[r.id,s.id];const a=[s.id],i=[r.id];let c=s.parentId,u=r.parentId,f=i.indexOf(c)!==-1,x=a.indexOf(u)!==-1,g=!0,z=!0;for(;!x&&!f;)g&&(a.push(c),f=i.indexOf(c)!==-1,g=c!==null,!f&&g&&(c=e.getNode(c).parentId)),z&&!f&&(i.push(u),x=a.indexOf(u)!==-1,z=u!==null,!x&&z&&(u=e.getNode(u).parentId));const p=f?c:u,d=e.getChildrenIds(p),m=a[a.indexOf(p)-1],b=i[i.indexOf(p)-1];return d.indexOf(m)<d.indexOf(b)?[t,l]:[l,t]},E1=({instance:e,params:t,models:l})=>{const s=R.useRef(null),r=R.useRef(!1),a=R.useRef([]),i=d=>Array.isArray(l.selected.value)?l.selected.value.indexOf(d)!==-1:l.selected.value===d,c=(d,m,b=!1)=>{if(!t.disableSelection){if(b){if(Array.isArray(l.selected.value)){let v;l.selected.value.indexOf(m)!==-1?v=l.selected.value.filter(C=>C!==m):v=[m].concat(l.selected.value),t.onNodeSelect&&t.onNodeSelect(d,v),l.selected.setValue(v)}}else{const v=t.multiSelect?[m]:m;t.onNodeSelect&&t.onNodeSelect(d,v),l.selected.setValue(v)}s.current=m,r.current=!1,a.current=[]}},u=(d,m)=>{const[b,v]=wl(e,d,m),C=[b];let S=b;for(;S!==v;)S=Ae(e,S),C.push(S);return C},f=(d,m)=>{let b=l.selected.value.slice();const{start:v,next:C,current:S}=m;!C||!S||(a.current.indexOf(S)===-1&&(a.current=[]),r.current?a.current.indexOf(C)!==-1?(b=b.filter(D=>D===v||D!==S),a.current=a.current.filter(D=>D===v||D!==S)):(b.push(C),a.current.push(C)):(b.push(C),a.current.push(S,C)),t.onNodeSelect&&t.onNodeSelect(d,b),l.selected.setValue(b))},x=(d,m)=>{let b=l.selected.value.slice();const{start:v,end:C}=m;r.current&&(b=b.filter(L=>a.current.indexOf(L)===-1));let S=u(v,C);S=S.filter(L=>!e.isNodeDisabled(L)),a.current=S;let D=b.concat(S);D=D.filter((L,P)=>D.indexOf(L)===P),t.onNodeSelect&&t.onNodeSelect(d,D),l.selected.setValue(D)};return Ve(e,{isNodeSelected:i,selectNode:c,selectRange:(d,m,b=!1)=>{if(t.disableSelection)return;const{start:v=s.current,end:C,current:S}=m;b?f(d,{start:v,next:C,current:S}):v!=null&&C!=null&&x(d,{start:v,end:C}),r.current=!0},rangeSelectToLast:(d,m)=>{s.current||(s.current=m);const b=r.current?s.current:m;e.selectRange(d,{start:b,end:m1(e)})},rangeSelectToFirst:(d,m)=>{s.current||(s.current=m);const b=r.current?s.current:m;e.selectRange(d,{start:b,end:v1(e)})}}),{getRootProps:()=>({"aria-multiselectable":t.multiSelect})}};E1.models={selected:{controlledProp:"selected",defaultProp:"defaultSelected"}};const Rl=[];E1.getDefaultizedParams=e=>{var t,l,s;return H({},e,{disableSelection:(t=e.disableSelection)!=null?t:!1,multiSelect:(l=e.multiSelect)!=null?l:!1,defaultSelected:(s=e.defaultSelected)!=null?s:e.multiSelect?Rl:null})};const a0=1e3;class Cl{constructor(t=a0){this.timeouts=new Map,this.cleanupTimeout=a0,this.cleanupTimeout=t}register(t,l,s){this.timeouts||(this.timeouts=new Map);const r=setTimeout(()=>{typeof l=="function"&&l(),this.timeouts.delete(s.cleanupToken)},this.cleanupTimeout);this.timeouts.set(s.cleanupToken,r)}unregister(t){const l=this.timeouts.get(t.cleanupToken);l&&(this.timeouts.delete(t.cleanupToken),clearTimeout(l))}reset(){this.timeouts&&(this.timeouts.forEach((t,l)=>{this.unregister({cleanupToken:l})}),this.timeouts=void 0)}}class yl{constructor(){this.registry=new FinalizationRegistry(t=>{typeof t=="function"&&t()})}register(t,l,s){this.registry.register(t,l,s)}unregister(t){this.registry.unregister(t)}reset(){}}class zl{}function Sl(e){let t=0;return function(s,r,a){e.registry===null&&(e.registry=typeof FinalizationRegistry<"u"?new yl:new Cl);const[i]=R.useState(new zl),c=R.useRef(null),u=R.useRef();u.current=a;const f=R.useRef(null);if(!c.current&&u.current){const x=(g,z)=>{if(!z.defaultMuiPrevented){var p;(p=u.current)==null||p.call(u,g,z)}};c.current=s.$$subscribeEvent(r,x),t+=1,f.current={cleanupToken:t},e.registry.register(i,()=>{var g;(g=c.current)==null||g.call(c),c.current=null,f.current=null},f.current)}else!u.current&&c.current&&(c.current(),c.current=null,f.current&&(e.registry.unregister(f.current),f.current=null));R.useEffect(()=>{if(!c.current&&u.current){const x=(g,z)=>{if(!z.defaultMuiPrevented){var p;(p=u.current)==null||p.call(u,g,z)}};c.current=s.$$subscribeEvent(r,x)}return f.current&&e.registry&&(e.registry.unregister(f.current),f.current=null),()=>{var x;(x=c.current)==null||x.call(c),c.current=null}},[s,r])}}const kl={registry:null},Il=Sl(kl),B1=({instance:e,params:t,state:l,setState:s,models:r,rootRef:a})=>{const i=He(p=>{const d=typeof p=="function"?p(l.focusedNodeId):p;s(m=>H({},m,{focusedNodeId:d}))}),c=R.useCallback(p=>l.focusedNodeId===p,[l.focusedNodeId]),u=He((p,d)=>{d&&(i(d),t.onNodeFocus&&t.onNodeFocus(p,d))});Ve(e,{isNodeFocused:c,focusNode:u}),Il(e,"removeNode",({id:p})=>{i(d=>d===p&&a.current===w0(a.current).activeElement?e.getChildrenIds(null)[0]:d)});const f=p=>d=>{var m;if((m=p.onFocus)==null||m.call(p,d),d.target===d.currentTarget){const b=C=>{const S=e.getNode(C);return S&&(S.parentId==null||e.isNodeExpanded(S.parentId))};let v;Array.isArray(r.selected.value)?v=r.selected.value.find(b):r.selected.value!=null&&b(r.selected.value)&&(v=r.selected.value),v==null&&(v=e.getNavigableChildrenIds(null)[0]),e.focusNode(d,v)}},x=p=>d=>{var m;(m=p.onBlur)==null||m.call(p,d),i(null)},g=e.getNode(l.focusedNodeId),z=g?g.idAttribute:null;return{getRootProps:p=>({onFocus:f(p),onBlur:x(p),"aria-activedescendant":z??void 0})}};B1.getInitialState=()=>({focusedNodeId:null});B1.getDefaultizedParams=e=>{var t;return H({},e,{disabledItemsFocusable:(t=e.disabledItemsFocusable)!=null?t:!1})};function Ml(e){return e&&e.length===1&&e.match(/\S/)}function c0(e,t,l){for(let s=t;s<e.length;s+=1)if(l===e[s])return s;return-1}const Pl=({instance:e,params:t,state:l})=>{const r=v2().direction==="rtl",a=R.useRef({}),i=He((p,d)=>(a.current[p]=d,()=>{const m=H({},a.current);delete m[p],a.current=m}));Ve(e,{mapFirstChar:i});const c=p=>(l.focusedNodeId!=null&&e.isNodeExpandable(l.focusedNodeId)&&(e.isNodeExpanded(l.focusedNodeId)?e.focusNode(p,Ae(e,l.focusedNodeId)):e.isNodeDisabled(l.focusedNodeId)||e.toggleNodeExpansion(p,l.focusedNodeId)),!0),u=p=>{if(l.focusedNodeId==null)return!1;if(e.isNodeExpanded(l.focusedNodeId)&&!e.isNodeDisabled(l.focusedNodeId))return e.toggleNodeExpansion(p,l.focusedNodeId),!0;const d=e.getNode(l.focusedNodeId).parentId;return d?(e.focusNode(p,d),!0):!1},f=(p,d,m)=>{let b,v;const C=m.toLowerCase(),S=[],D=[];Object.keys(a.current).forEach(L=>{const P=e.getNode(L),I=P.parentId?e.isNodeExpanded(P.parentId):!0,q=t.disabledItemsFocusable?!1:e.isNodeDisabled(L);I&&!q&&(S.push(L),D.push(a.current[L]))}),b=S.indexOf(d)+1,b>=S.length&&(b=0),v=c0(D,b,C),v===-1&&(v=c0(D,0,C)),v>-1&&e.focusNode(p,S[v])},x=(p,d)=>{e.isNodeDisabled(Ae(e,d))||e.selectRange(p,{end:Ae(e,d),current:d},!0)},g=(p,d)=>{e.isNodeDisabled(d1(e,d))||e.selectRange(p,{end:d1(e,d),current:d},!0)},z=p=>d=>{var m;(m=p.onKeyDown)==null||m.call(p,d);let b=!1;const v=d.key;if(d.altKey||d.currentTarget!==d.target||l.focusedNodeId==null)return;const C=d.ctrlKey||d.metaKey;switch(v){case" ":!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&(b=!0,t.multiSelect&&d.shiftKey?e.selectRange(d,{end:l.focusedNodeId}):t.multiSelect?e.selectNode(d,l.focusedNodeId,!0):e.selectNode(d,l.focusedNodeId)),d.stopPropagation();break;case"Enter":e.isNodeDisabled(l.focusedNodeId)||(e.isNodeExpandable(l.focusedNodeId)?(e.toggleNodeExpansion(d,l.focusedNodeId),b=!0):t.disableSelection||(b=!0,t.multiSelect?e.selectNode(d,l.focusedNodeId,!0):e.selectNode(d,l.focusedNodeId))),d.stopPropagation();break;case"ArrowDown":t.multiSelect&&d.shiftKey&&!t.disableSelection&&x(d,l.focusedNodeId),e.focusNode(d,Ae(e,l.focusedNodeId)),b=!0;break;case"ArrowUp":t.multiSelect&&d.shiftKey&&!t.disableSelection&&g(d,l.focusedNodeId),e.focusNode(d,d1(e,l.focusedNodeId)),b=!0;break;case"ArrowRight":r?b=u(d):b=c(d);break;case"ArrowLeft":r?b=c(d):b=u(d);break;case"Home":t.multiSelect&&C&&d.shiftKey&&!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&e.rangeSelectToFirst(d,l.focusedNodeId),e.focusNode(d,v1(e)),b=!0;break;case"End":t.multiSelect&&C&&d.shiftKey&&!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&e.rangeSelectToLast(d,l.focusedNodeId),e.focusNode(d,m1(e)),b=!0;break;default:v==="*"?(e.expandAllSiblings(d,l.focusedNodeId),b=!0):t.multiSelect&&C&&v.toLowerCase()==="a"&&!t.disableSelection?(e.selectRange(d,{start:v1(e),end:m1(e)}),b=!0):!C&&!d.shiftKey&&Ml(v)&&(f(d,l.focusedNodeId,v),b=!0)}b&&(d.preventDefault(),d.stopPropagation())};return{getRootProps:p=>({onKeyDown:z(p)})}},Ll=({instance:e,params:t})=>{const l=g2(t.id);return{getRootProps:()=>({id:l}),contextValue:{treeId:l,instance:e,multiSelect:t.multiSelect,disabledItemsFocusable:t.disabledItemsFocusable,icons:{defaultCollapseIcon:t.defaultCollapseIcon,defaultEndIcon:t.defaultEndIcon,defaultExpandIcon:t.defaultExpandIcon,defaultParentIcon:t.defaultParentIcon}}}},Tl=[bl,_1,E1,B1,Pl,Ll],Dl=["disabledItemsFocusable","expanded","defaultExpanded","onNodeToggle","onNodeFocus","disableSelection","defaultSelected","selected","multiSelect","onNodeSelect","id","defaultCollapseIcon","defaultEndIcon","defaultExpandIcon","defaultParentIcon","children"],Nl=e=>{const{classes:t}=e;return qe({root:["root"]},sl,t)},d0=se("ul",{name:"MuiTreeView",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,margin:0,listStyle:"none",outline:0}),Vl=R.forwardRef(function(t,l){const s=T0({props:t,name:"MuiTreeView"}),r=s,a=s,{disabledItemsFocusable:i,expanded:c,defaultExpanded:u,onNodeToggle:f,onNodeFocus:x,disableSelection:g,defaultSelected:z,selected:p,multiSelect:d,onNodeSelect:m,id:b,defaultCollapseIcon:v,defaultEndIcon:C,defaultExpandIcon:S,defaultParentIcon:D,children:L}=a,P=we(a,Dl),{getRootProps:I,contextValue:q}=ul({disabledItemsFocusable:i,expanded:c,defaultExpanded:u,onNodeToggle:f,onNodeFocus:x,disableSelection:g,defaultSelected:z,selected:p,multiSelect:d,onNodeSelect:m,id:b,defaultCollapseIcon:v,defaultEndIcon:C,defaultExpandIcon:S,defaultParentIcon:D,plugins:Tl,rootRef:l}),V=Nl(s),M=$2({elementType:d0,externalSlotProps:{},externalForwardedProps:P,className:V.root,getSlotProps:I,ownerState:r});return o.jsx(vl,{value:q,children:o.jsx(d0,H({},M,{children:L}))})}),W0=()=>R.useContext(F0);function _l(e){const{instance:t,multiSelect:l}=W0(),s=t?t.isNodeExpandable(e):!1,r=t?t.isNodeExpanded(e):!1,a=t?t.isNodeFocused(e):!1,i=t?t.isNodeSelected(e):!1,c=t?t.isNodeDisabled(e):!1;return{disabled:c,expanded:r,selected:i,focused:a,handleExpansion:g=>{if(t&&!c){a||t.focusNode(g,e);const z=l&&(g.shiftKey||g.ctrlKey||g.metaKey);s&&!(z&&t.isNodeExpanded(e))&&t.toggleNodeExpansion(g,e)}},handleSelection:g=>{t&&!c&&(a||t.focusNode(g,e),l&&(g.shiftKey||g.ctrlKey||g.metaKey)?g.shiftKey?t.selectRange(g,{end:e}):t.selectNode(g,e,!0):t.selectNode(g,e))},preventSelection:g=>{(g.shiftKey||g.ctrlKey||g.metaKey||c)&&g.preventDefault()}}}const El=["classes","className","displayIcon","expansionIcon","icon","label","nodeId","onClick","onMouseDown"],G0=R.forwardRef(function(t,l){const{classes:s,className:r,displayIcon:a,expansionIcon:i,icon:c,label:u,nodeId:f,onClick:x,onMouseDown:g}=t,z=we(t,El),{disabled:p,expanded:d,selected:m,focused:b,handleExpansion:v,handleSelection:C,preventSelection:S}=_l(f),D=c||i||a,L=I=>{S(I),g&&g(I)},P=I=>{v(I),C(I),x&&x(I)};return o.jsxs("div",H({},z,{className:Ue(r,s.root,d&&s.expanded,m&&s.selected,b&&s.focused,p&&s.disabled),onClick:P,onMouseDown:L,ref:l,children:[o.jsx("div",{className:s.iconContainer,children:D}),o.jsx("div",{className:s.label,children:u})]}))});function Bl(e){return Fe("MuiTreeItem",e)}const ve=$e("MuiTreeItem",["root","group","content","expanded","selected","focused","disabled","iconContainer","label"]),Al=["children","className","collapseIcon","ContentComponent","ContentProps","endIcon","expandIcon","disabled","icon","id","label","nodeId","onClick","onMouseDown","TransitionComponent","TransitionProps"],Ol=e=>{const{classes:t}=e;return qe({root:["root"],content:["content"],expanded:["expanded"],selected:["selected"],focused:["focused"],disabled:["disabled"],iconContainer:["iconContainer"],label:["label"],group:["group"]},Bl,t)},Hl=se("li",{name:"MuiTreeItem",slot:"Root",overridesResolver:(e,t)=>t.root})({listStyle:"none",margin:0,padding:0,outline:0}),$l=se(G0,{name:"MuiTreeItem",slot:"Content",overridesResolver:(e,t)=>[t.content,t.iconContainer&&{[`& .${ve.iconContainer}`]:t.iconContainer},t.label&&{[`& .${ve.label}`]:t.label}]})(({theme:e})=>({padding:"0 8px",width:"100%",boxSizing:"border-box",display:"flex",alignItems:"center",cursor:"pointer",WebkitTapHighlightColor:"transparent","&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ve.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,backgroundColor:"transparent"},[`&.${ve.focused}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ve.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ve.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Qe(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`& .${ve.iconContainer}`]:{marginRight:4,width:15,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}},[`& .${ve.label}`]:H({paddingLeft:4,width:"100%",boxSizing:"border-box",minWidth:0,position:"relative"},e.typography.body1)})),Fl=se(s1,{name:"MuiTreeItem",slot:"Group",overridesResolver:(e,t)=>t.group})({margin:0,padding:0,marginLeft:17}),Ul=R.forwardRef(function(t,l){const s=T0({props:t,name:"MuiTreeItem"}),{children:r,className:a,collapseIcon:i,ContentComponent:c=G0,ContentProps:u,endIcon:f,expandIcon:x,disabled:g,icon:z,id:p,label:d,nodeId:m,onClick:b,onMouseDown:v,TransitionComponent:C=s1,TransitionProps:S}=s,D=we(s,Al),{icons:L,multiSelect:P,disabledItemsFocusable:I,treeId:q,instance:V}=W0();let M;p!=null?M=p:q&&m&&(M=`${q}-${m}`);const[k,N]=R.useState(null),T=R.useRef(null),E=j0(N,l),A=R.useMemo(()=>({element:k,id:m}),[m,k]),{index:O,parentId:W}=ml(A),X=!!(Array.isArray(r)?r.length:r),Q=V?V.isNodeExpanded(m):!1,re=V?V.isNodeFocused(m):!1,fe=V?V.isNodeSelected(m):!1,de=V?V.isNodeDisabled(m):!1,oe=H({},s,{expanded:Q,focused:re,selected:fe,disabled:de}),ee=Ol(oe);let ae,xe;X&&(Q?xe=i||L.defaultCollapseIcon:xe=x||L.defaultExpandIcon),X?ae=L.defaultParentIcon:ae=f||L.defaultEndIcon,R.useEffect(()=>{if(V&&O!==-1)return V.updateNode({id:m,idAttribute:M,index:O,parentId:W,expandable:X,disabled:g}),()=>V.removeNode(m)},[V,W,O,m,X,g,M]),R.useEffect(()=>{if(V&&d){var G,le;return V.mapFirstChar(m,((G=(le=T.current)==null?void 0:le.textContent)!=null?G:"").substring(0,1).toLowerCase())}},[V,m,d]);let Y;P?Y=fe:fe&&(Y=!0);function me(G){if(G.target===G.currentTarget){let $;typeof G.target.getRootNode=="function"?$=G.target.getRootNode():$=w0(G.target),$.getElementById(q).focus({preventScroll:!0})}const le=!I&&de;V&&!re&&G.currentTarget===G.target&&!le&&V.focusNode(G,m)}return o.jsxs(Hl,H({className:Ue(ee.root,a),role:"treeitem","aria-expanded":X?Q:void 0,"aria-selected":Y,"aria-disabled":de||void 0,id:M,tabIndex:-1},D,{ownerState:oe,onFocus:me,ref:E,children:[o.jsx($l,H({as:c,ref:T,classes:{root:ee.content,expanded:ee.expanded,selected:ee.selected,focused:ee.focused,disabled:ee.disabled,iconContainer:ee.iconContainer,label:ee.label},label:d,nodeId:m,onClick:b,onMouseDown:v,icon:z,expansionIcon:xe,displayIcon:ae,ownerState:oe},u)),r&&o.jsx(q0,{id:m,children:o.jsx(Fl,H({as:C,unmountOnExit:!0,className:ee.group,in:Q,component:"ul",role:"group"},S,{children:r}))})]}))});function A1({data:e,...t}){return!e||!e.length?null:o.jsx(ql,{...t,children:e.map(l=>o.jsx("a",{href:l.url,target:"_blank",rel:"noreferrer",children:o.jsx("img",{src:l.url,alt:l.alt||""})},l.url))})}A1.propTypes={data:h.arrayOf(h.shape({url:h.string,alt:h.string}))};A1.defaultProps={data:[]};const ql=ce(y)`
|
|
47
47
|
display: flex;
|
|
48
48
|
justify-content: flex-start;
|
|
49
49
|
flex-wrap: wrap;
|
|
@@ -112,7 +112,7 @@ import{at as d2,j as o,aG as se,cQ as g0,aK as H,fG as Q1,aJ as we,aE as $e,aF a
|
|
|
112
112
|
font-size: 14px;
|
|
113
113
|
color: ${({theme:e})=>e.palette.text.secondary};
|
|
114
114
|
}
|
|
115
|
-
`,Ze=(e,t)=>(e.forEach(l=>{t&&(l.parent=t),(l.children||[]).forEach(s=>{s.parent=l.id,Ze(s.children||[],s.id)})}),e),e1=(e,t,l,s,r)=>{const{exportApi:a="/"}=(e==null?void 0:e.meta.resource)||{},i=new URL(he("http://127.0.0.1",e==null?void 0:e.mountPoint,a||"/").replace(/\/+/g,"/"));return i.searchParams.set("projectId",t),i.searchParams.set("releaseId",l),i.searchParams.set("local",s),r&&i.searchParams.set("resourcesParams",r.searchParams.get("resourcesParams")),`${i.pathname}${i.search}`},Gl=async({api:e,appDid:t,component:l,projectId:s,releaseId:r,locale:a,initUrl:i,resources:c})=>{await Ye.post(e1(l,s,r,a,i),{resources:c,projectId:s,releaseId:r,locale:a},{headers:{"x-csrf-token":j2()}}),await e.updateSelectedResources({input:{did:t,projectId:s,releaseId:r,componentDid:l.meta.did,resources:c}})},Kl=(e,t)=>{if(!e)return{};const l=t.reduce((r,a)=>(r[a]=!0,r),{}),s=(r,a)=>(r.forEach(i=>{var c;l[i.id]&&((c=i.dependentComponents)!=null&&c.length)&&i.dependentComponents.forEach(u=>{a[u]=!0}),i.children&&s(i.children,a)}),a);return s(e,{})};function $1({app:e,component:t,projectId:l,release:s,loading:r,error:a,saveSelectedEventsRef:i,readOnly:c,componentDid:u,initialResources:f={},setResourceComponentsMap:x,selectedResourceIds:g,setSelectedResourceIds:z,initUrl:p}){var V;const{t:d,locale:m}=te(),{api:b}=Re(),[v,C]=
|
|
115
|
+
`,Ze=(e,t)=>(e.forEach(l=>{t&&(l.parent=t),(l.children||[]).forEach(s=>{s.parent=l.id,Ze(s.children||[],s.id)})}),e),e1=(e,t,l,s,r)=>{const{exportApi:a="/"}=(e==null?void 0:e.meta.resource)||{},i=new URL(he("http://127.0.0.1",e==null?void 0:e.mountPoint,a||"/").replace(/\/+/g,"/"));return i.searchParams.set("projectId",t),i.searchParams.set("releaseId",l),i.searchParams.set("local",s),r&&i.searchParams.set("resourcesParams",r.searchParams.get("resourcesParams")),`${i.pathname}${i.search}`},Gl=async({api:e,appDid:t,component:l,projectId:s,releaseId:r,locale:a,initUrl:i,resources:c})=>{await Ye.post(e1(l,s,r,a,i),{resources:c,projectId:s,releaseId:r,locale:a},{headers:{"x-csrf-token":j2()}}),await e.updateSelectedResources({input:{did:t,projectId:s,releaseId:r,componentDid:l.meta.did,resources:c}})},Kl=(e,t)=>{if(!e)return{};const l=t.reduce((r,a)=>(r[a]=!0,r),{}),s=(r,a)=>(r.forEach(i=>{var c;l[i.id]&&((c=i.dependentComponents)!=null&&c.length)&&i.dependentComponents.forEach(u=>{a[u]=!0}),i.children&&s(i.children,a)}),a);return s(e,{})};function $1({app:e,component:t,projectId:l,release:s,loading:r,error:a,saveSelectedEventsRef:i,readOnly:c,componentDid:u,initialResources:f={},setResourceComponentsMap:x,selectedResourceIds:g,setSelectedResourceIds:z,initUrl:p}){var V;const{t:d,locale:m}=te(),{api:b}=Re(),[v,C]=Pe({}),S=R.useRef({}),D=R.useRef(!1),L=s.id;S.current.projectId=l,S.current.releaseId=L;const P=(M,k,N)=>{if(!k)return;const T=Kl(k,N);x==null||x({[M]:Object.keys(T)})},I=M=>{i.current[t.meta.did]={resources:M,component:t},z({[t.meta.did]:M}),P(t.meta.did,v[t.meta.did],M)};R.useEffect(()=>{v[t==null?void 0:t.meta.did]||Ye.get(e1(t,l,L,m,p)).then(M=>{var N;const k=Ze(((N=M.data)==null?void 0:N.resources)||[]);C({[t==null?void 0:t.meta.did]:k})}).catch(M=>{F.error(M.message)})},[t,l,s,m,p,C,v,L]),R.useEffect(()=>{L&&l&&!D.current&&l1(e.children.map(M=>async()=>{var k,N,T;if(!(u&&u!==M.meta.did)&&!(!(M!=null&&M.mountPoint)||!b2.hasStartEngine(M==null?void 0:M.meta)||!((N=(k=M==null?void 0:M.meta)==null?void 0:k.resource)!=null&&N.exportApi)))try{const E=await Ye.get(e1(M,l,L,m,p)),A=Ze(((T=E==null?void 0:E.data)==null?void 0:T.resources)||[]);C({[M==null?void 0:M.meta.did]:A});const O=await b.getSelectedResources({input:{did:e.meta.did,projectId:l,releaseId:L,componentDid:M.meta.did}}),W=(O==null?void 0:O.resources)||[];W!=null&&W.length&&(z({[M.meta.did]:nl(A,W)}),P(M.meta.did,A,W),c||(i.current[M==null?void 0:M.meta.did]={resources:W,component:M}))}catch(E){F.error(E.message)}}),{concurrency:2}).then(()=>{D.current=!0})},[L,l,c,m,p,C]),R.useEffect(()=>{f&&Object.keys(f).length&&l1(e.children.map(async M=>{var N;const k=f[M.meta.did];if(k!=null&&k.length){const T=await Ye.get(e1(M,l,L,m,p)),E=Ze(((N=T==null?void 0:T.data)==null?void 0:N.resources)||[]);z({[M.meta.did]:k}),P(M.meta.did,E,k),c||(i.current[M==null?void 0:M.meta.did]={resources:k,component:M})}}))},[e,f,c]);let q=null;return(!t||!((V=v[t.meta.did])!=null&&V.length))&&(q=o.jsx(Se,{Icon:Ke,children:d("blocklet.publish.resourceEmptyTip",{name:Y1.getDisplayName(t)})})),(t==null?void 0:t.status)!=="running"&&(q=o.jsx(Se,{children:d("blocklet.publish.componentNotRunning",{name:Y1.getDisplayName(t)})})),o.jsxs(o.Fragment,{children:[o.jsx(Xl,{className:S1(a&&"error"),children:o.jsx(y,{pb:2,width:"100%",children:q||o.jsx(H1,{data:v[t.meta.did]||[],value:g[t.meta.did]||[],onChange:I,disabled:r||c})})}),!!a&&o.jsx(y,{color:"error.main",mt:1,fontSize:14,children:a})]})}$1.propTypes={component:h.object.isRequired,app:h.object.isRequired,projectId:h.string.isRequired,error:h.string,saveSelectedEventsRef:h.object.isRequired,readOnly:h.bool.isRequired,loading:h.bool.isRequired,release:h.shape({id:h.string.isRequired,status:h.string}),initialResources:h.object,initUrl:h.object,setResourceComponentsMap:h.func,componentDid:h.string,selectedResourceIds:h.array.isRequired,setSelectedResourceIds:h.func.isRequired};$1.defaultProps={error:"",release:{id:""},initUrl:null,initialResources:{},setResourceComponentsMap:()=>{},componentDid:""};const Xl=ce(y)`
|
|
116
116
|
border: 1px solid #ccc;
|
|
117
117
|
max-height: 600px;
|
|
118
118
|
width: 100%;
|
|
@@ -133,7 +133,7 @@ import{at as d2,j as o,aG as se,cQ as g0,aK as H,fG as Q1,aJ as we,aE as $e,aF a
|
|
|
133
133
|
background: #fff;
|
|
134
134
|
z-index: 10;
|
|
135
135
|
}
|
|
136
|
-
`,u0="lastWantToConnectStoreId";function Jl(e){var c,u;const[t,l]=R.useState(null),{session:s}=i1(),r=R.useCallback(f=>{l(f),localStorage.setItem(u0,f==null?void 0:f.id)},[l]),a=R.useMemo(()=>{var z,p,d,m;const f=localStorage.getItem(u0),x=f?(((z=e==null?void 0:e.settings)==null?void 0:z.storeList)||[]).find(b=>b.id===f):null;if(x)return x;let g=(((p=e==null?void 0:e.settings)==null?void 0:p.storeList)||[]).find(b=>{var v;return!(b.id!==J.BLOCKLET_STORE.id||b.scope&&b.scope!=="studio"&&b.scope!==((v=s==null?void 0:s.user)==null?void 0:v.did))});return g||(g=(m=(d=e==null?void 0:e.settings)==null?void 0:d.storeList)==null?void 0:m[0]),g},[(c=e==null?void 0:e.settings)==null?void 0:c.storeList,(u=s==null?void 0:s.user)==null?void 0:u.did]);return[t||a||{},r]}const p1={};async function K0(e,{interval:t=1e3,maxDuration:l=120*1e3,intervalFirst:s=4e3,timerKey:r=""}){p1[r]&&clearTimeout(p1[r]),await new Promise(c=>setTimeout(c,s));const a=Date.now(),i=async(c,u)=>{try{const f=await e();c(f)}catch(f){Date.now()-a>l?u(f):r?p1[r]=setTimeout(()=>i(c,u),t):setTimeout(()=>i(c,u),t)}};return new Promise(i)}function Ql(){return Math.random().toString(36).slice(2)+Math.random().toString(36).slice(2)+`${Date.now()}`.slice(-6)}function Yl(e,{did:t,projectId:l,messageId:s}){return K0(async()=>{var a;const r=await e.getProject({input:{did:t,projectId:l,messageId:s}});if(!((a=r==null?void 0:r.project)!=null&&a.blockletDid))throw new Error("Connected store not found");return r.project.blockletDid},{timerKey:"connect-studio"})}function Zl(e,{did:t,projectId:l,storeId:s}){return K0(async()=>{var i,c;const r=await e.getProject({input:{did:t,projectId:l,messageId:""}});if(!((c=(i=r==null?void 0:r.project)==null?void 0:i.connectedStores)!=null&&c.length))throw new Error("Connected store not found");if(!r.project.connectedStores.find(u=>u.storeId===s))throw new Error("Connected store not found")},{timerKey:`connect-store-${s}`})}const X0=({fromBlocklet:e,nodeInfo:t,blocklet:l,userDid:s})=>{var i,c;const r=e?(i=l==null?void 0:l.meta)==null?void 0:i.did:t==null?void 0:t.did;let a=e?((c=l==null?void 0:l.settings)==null?void 0:c.storeList)||[]:(t==null?void 0:t.blockletRegistryList)||[];return Array.isArray(a)||(a=[]),a=a.filter(u=>u.protected||!u.scope||u.scope==="studio"||u.scope===s),{teamDid:r,storeList:a}};function F1({blocklet:e,store:t={},onChangeStore:l,onClick:s,disabled:r,loading:a,componentDid:i}){var N,T,E;const{t:c}=te(),{session:u}=i1(),{api:f,info:x,inService:g}=Re(),z=Ne(),[p,d]=R.useState(!1),m=R.useRef(null),[b,v]=R.useState(!1),[C,S]=R.useState(null),D=A=>{l(A),d(!1)},L=()=>{d(!p)},M=A=>{m.current&&m.current.contains(A.target)||d(!1)},I=()=>{v(!0)},q=()=>{v(!1)},V=async()=>{var A;if(C)try{await f.deleteBlockletStore({input:{teamDid:e.meta.did,url:C.url,projectId:"",scope:C.scope||"studio"}}),await((A=z==null?void 0:z.actions)==null?void 0:A.refreshBlocklet())}catch(O){F.error(`Remove Blocklet Store Error: ${De(O)}`)}finally{S(null)}},{storeList:P}=X0({fromBlocklet:g,blocklet:e,nodeInfo:x,componentDid:i,userDid:(N=u==null?void 0:u.user)==null?void 0:N.did}),k=(T=e==null?void 0:e.meta)==null?void 0:T.did;return o.jsxs(o.Fragment,{children:[o.jsxs(x1,{disabled:r,ref:m,variant:"contained",color:"primary","aria-label":"Button group with connect store",children:[o.jsxs(ne,{onClick:s,children:[a&&o.jsx(o1,{size:14,sx:{mr:.5}}),`${c("common.connect")} ${t.name||""}`]}),o.jsx(ne,{size:"small","aria-controls":p?"split-button-menu":void 0,"aria-expanded":p?"true":void 0,"aria-label":"select merge strategy","aria-haspopup":"menu",onClick:L,children:o.jsx(K2,{})})]}),o.jsx(R0,{sx:{zIndex:10},open:p,anchorEl:m.current,placement:"bottom-end",role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:A})=>o.jsx(C0,{...A,style:{transformOrigin:"center top"},children:o.jsx(w1,{children:o.jsx(y0,{onClickAway:M,children:o.jsxs(z0,{id:"split-button-menu",autoFocusItem:!0,sx:{maxHeight:300,overflowY:"auto",zIndex:10},children:[P==null?void 0:P.map(O=>{var W;return o.jsxs(Oe,{selected:O.id===(t==null?void 0:t.id),sx:{height:56},onClick:()=>D(O),children:[o.jsxs(y,{children:[o.jsx(je,{sx:{fontSize:"16px"},maxLength:24,children:O.name}),o.jsx(je,{sx:{fontSize:"13px",opacity:.6},maxLength:30,children:O.url})]}),U2({store:O,userDid:(W=u==null?void 0:u.user)==null?void 0:W.did})&&o.jsx(be,{sx:{ml:1},onClick:X=>{X.preventDefault(),X.stopPropagation(),S(O)},children:o.jsx(ie,{icon:"ic:outline-delete"})})]},O.url)}),o.jsx(w2,{}),o.jsxs(Oe,{onClick:I,children:[o.jsx(R1,{font:!0}),o.jsx(K,{variant:"inherit",children:c("store.blockletRegistry.addRegistry")})]})]})})})})}),b&&o.jsx(D0,{hiddenChildren:!0,open:!0,onClose:q,teamDid:k,storeList:P,scope:"studio",onAdd:(E=z==null?void 0:z.actions)==null?void 0:E.refreshBlocklet}),C&&o.jsx(y1,{displayError:!0,title:`${c("common.delete")} ${C.name}`,description:c("blocklet.publish.deleteStoreTip",{name:C.name}),confirm:c("common.confirm"),onConfirm:V,onCancel:()=>S(null)})]})}F1.propTypes={store:h.object,blocklet:h.object,onChangeStore:h.func.isRequired,onClick:h.func.isRequired,loading:h.bool.isRequired,disabled:h.bool.isRequired,componentDid:h.string.isRequired,projectType:h.string.isRequired,getData:h.func.isRequired};F1.defaultProps={store:null,blocklet:null};const p0=R.lazy(()=>S0(()=>import("./index-kR3Uq-Mb.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53])).then(e=>({default:e.Uploader})));function J0({projectId:e,readOnly:t,loading:l,blocklet:s,params:r,setParams:a,paramsErrTip:i,setParamsErrTip:c,setLoading:u,initUrl:f,initLogoUrl:x,setInitLogoUrl:g,componentDid:z}){const{t:p}=te(),{api:d}=Re(),m=b1(),b=R.useRef(null),v=R.useRef(null),[C,S]=Jl(s),D=q2({messageType:"connect-store-message",onOpen:()=>u(!0),onClose:()=>u(!1)}),L=async T=>{const E=setTimeout(()=>{u(!1)},2e4),A=await Yl(d,T);u(!1),clearTimeout(E),window.parent.postMessage({event:"studioDialog.connected",componentDid:z},"*"),m(window.location.pathname.replace(`${J.UNOWNED_DID}/create`,`${A}/create`),{replace:!0})},M=()=>{if(!r.blockletTitle){F.error(p("blocklet.publish.errorTip.noTitle"));return}if(!(C!=null&&C.url)){F.error(p("blocklet.publish.noStoreSelected"));return}const T=Ql();D(async(E,A)=>{var O,W,X;try{const Q=await d.connectByStudio({input:{did:(O=s==null?void 0:s.meta)==null?void 0:O.did,blockletTitle:r==null?void 0:r.blockletTitle,storeUrl:C.url,storeId:C.id,storeName:C.name,type:((W=r==null?void 0:r.blockletComponents)==null?void 0:W.length)>0?"pack":"resource",componentDid:z,messageId:T,tenantScope:(f==null?void 0:f.searchParams.get("tenantScope"))||""}});if(!(Q!=null&&Q.url)){F.error("failed to connect to store");return}A(Q.url),L({did:(X=s==null?void 0:s.meta)==null?void 0:X.did,projectId:"",messageId:T})}catch(Q){const re=De(Q);F.error(re),u(!1)}})},I=`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${s.meta.did}/${e}/logo/upload`,q=`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${s.meta.did}/${e}/screenshot/upload`,V=r!=null&&r.blockletLogo?`${I}/${r.blockletLogo}`:`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/static/images/logo.png`,P=((r==null?void 0:r.blockletScreenshots)||[]).filter(Boolean).map(T=>`${q}/${T}`),k=()=>t?!1:!e||e===J.UNOWNED_DID?(F.error(p("blocklet.publish.errorTip.noFirstDid")),!1):!0,N=T=>{if(!T.destination)return;const E=Array.from(r.blockletScreenshots),[A]=E.splice(T.source.index,1);E.splice(T.destination.index,0,A),a(O=>({...O,blockletScreenshots:E}))};return o.jsxs(e3,{children:[o.jsx(y,{display:"flex",className:"section",children:o.jsxs(y,{sx:{flex:1},children:[o.jsx(Te,{disabled:l||t,label:`Blocklet ${p("common.title")}`,placeholder:`Blocklet ${p("common.title")}`,InputProps:{"data-cy":"blocklet-title",readOnly:t},autoComplete:"off",variant:"outlined",fullWidth:!0,required:!0,value:r.blockletTitle||"",onChange:T=>{c({blockletTitle:""}),a({blockletTitle:T.target.value})},error:!!i.blockletTitle,helperText:i.blockletTitle||""}),o.jsx(Te,{required:!0,label:"Blocklet DID",fullWidth:!0,readonly:!0,disabled:!0,autoComplete:"off",variant:"outlined",InputProps:{"data-cy":"export-blocklet-did",endAdornment:e===J.UNOWNED_DID&&o.jsx(k1,{position:"end",children:o.jsx(F1,{blocklet:s,store:C,componentDid:z,onChangeStore:S,disabled:!r.blockletTitle||t||l,loading:l,onClick:M})})},error:!!i.projectId,helperText:i.projectId||"",value:e===J.UNOWNED_DID?"":`did:abt:${e}`,sx:{mt:3}}),o.jsx(Te,{disabled:l||t,label:`Blocklet ${p("common.description")}`,placeholder:`Blocklet ${p("common.description")}`,InputProps:{"data-cy":"blocklet-description",readOnly:t},required:!0,autoComplete:"off",variant:"outlined",fullWidth:!0,value:r.blockletDescription||"",onChange:T=>{c({blockletDescription:""}),a({blockletDescription:T.target.value})},error:!!i.blockletDescription,helperText:i.blockletDescription||"",sx:{mt:3}})]})}),o.jsx(y,{display:"flex",mt:3,className:"section full-width",children:o.jsxs(y,{sx:{flex:1},children:[o.jsxs(y,{display:"flex",children:[o.jsxs(Be,{direction:"column",spacing:1,sx:{mr:2,width:"160px"},children:[o.jsx(K,{variant:"subtitle1",sx:{fontWeight:"bold"},children:p("common.logo")}),o.jsxs(Be,{direction:"column",alignItems:"flex-start",spacing:1,children:[o.jsx(Pe,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.ratio"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:"256x256"})]}),variant:"outlined",size:"small"}),o.jsx(Pe,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.size"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:"<500Kb"})]}),variant:"outlined",size:"small"})]})]}),o.jsx(y,{sx:{flex:1,cursor:t?"default":"pointer"},children:o.jsx(M0,{variant:"square",sx:{width:80,height:80},alt:"Blocklet Logo",src:x||V,onClick:()=>{var T;k()&&((T=b.current)==null||T.open())}})})]}),o.jsxs(y,{display:"flex",mt:3,children:[o.jsxs(Be,{direction:"column",spacing:1,sx:{mr:2,width:"160px"},children:[o.jsx(K,{variant:"subtitle1",sx:{fontWeight:"bold"},children:p("common.screenshot")}),o.jsxs(Be,{direction:"column",alignItems:"flex-start",spacing:1,children:[o.jsx(Pe,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.ratio"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:"16/10"})]}),variant:"outlined",size:"small"}),o.jsx(Pe,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.count"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:"1~5"})]}),variant:"outlined",size:"small"}),o.jsx(Pe,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.size"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:"<5MB"})]}),variant:"outlined",size:"small"}),o.jsx(Pe,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.order"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:p("studio.orderTip")})]}),variant:"outlined",size:"small"})]})]}),o.jsx(M2,{onDragEnd:t?void 0:N,children:o.jsx(L2,{droppableId:"screenshots",direction:"horizontal",isDropDisabled:t,children:(T,E)=>o.jsxs(y,{display:"flex",alignItems:"center",sx:{flex:1,flexWrap:"wrap",minHeight:160,background:E.isDraggingOver?"#f5f5f5":"transparent",transition:"background-color 0.2s ease",border:E.isDraggingOver?"2px dashed #999":"none",borderRadius:"4px"},ref:T.innerRef,...T.droppableProps,children:[P.map((A,O)=>o.jsx(T2,{draggableId:A,index:O,isDragDisabled:t,children:(W,X)=>o.jsxs(y,{ref:W.innerRef,...W.draggableProps,...W.dragHandleProps,className:"screenshot",sx:{transform:X.isDragging?"scale(1.05)":"none",boxShadow:X.isDragging?"0 5px 10px rgba(0,0,0,0.15)":"none",transition:"transform 0.2s ease, box-shadow 0.2s ease"},children:[o.jsx("img",{alt:"screenshot",src:A}),!t&&o.jsx(be,{className:"action",onClick:()=>{a(Q=>{const re=[...Q.blockletScreenshots];return re.splice(O,1),{...Q,blockletScreenshots:re}})},children:o.jsx(F2,{})})]})},A)),T.placeholder,P.length<5&&o.jsx(y,{sx:{width:240,height:150,background:"#eee",cursor:t?"default":"pointer",color:"#999",mb:2},display:"flex",justifyContent:"center",alignItems:"center",fontSize:40,onClick:()=>{var A;k()&&((A=v.current)==null||A.open())},children:"+"})]})})})]})]})}),o.jsxs(R.Suspense,{fallback:o.jsx(Ge,{}),children:[o.jsx(p0,{ref:b,popup:!0,onUploadFinish:T=>{var E;a({blockletLogo:T.data.filename}),g(""),(E=b.current)==null||E.close()},plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:I,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileTypes:["image/*"],maxFileSize:1024*1024*.5,maxNumberOfFiles:1}},dashboardProps:{autoOpen:"imageEditor"},imageEditorProps:{actions:{revert:!0,rotate:!0,granularRotate:!0,flip:!0,zoomIn:!0,zoomOut:!0,cropSquare:!0,cropWidescreen:!1,cropWidescreenVertical:!1},cropperOptions:{autoCrop:!0,aspectRatio:1,initialAspectRatio:1,autoCropArea:1,croppedCanvasOptions:{width:256,height:256}}}},"uploader-logo"),o.jsx(p0,{ref:v,popup:!0,onUploadFinish:T=>{var E;a(A=>{var W;const O=A.blockletScreenshots||[];return O.push((W=T.data)==null?void 0:W.filename),{...A,blockletScreenshots:O}}),(E=v.current)==null||E.close()},installerProps:{disabled:!0},plugins:["ImageEditor"],apiPathProps:{uploader:q,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileTypes:["image/*","application/svg+xml"],maxFileSize:1024*1024*5,maxNumberOfFiles:5-P.length}},dashboardProps:{autoOpen:"imageEditor"},imageEditorProps:{actions:{revert:!0,rotate:!0,granularRotate:!0,flip:!0,zoomIn:!0,zoomOut:!0,cropSquare:!1,cropWidescreen:!0,cropWidescreenVertical:!1},cropperOptions:{autoCrop:!0,autoCropArea:1,aspectRatio:16/10,initialAspectRatio:16/10,croppedCanvasOptions:{minWidth:640,minHeight:400,width:1120,height:700,maxWidth:1600,maxHeight:1e3}}}},"uploader-screenshot")]})]})}J0.propTypes={projectId:h.string.isRequired,readOnly:h.bool.isRequired,params:h.object.isRequired,setParams:h.func.isRequired,paramsErrTip:h.object.isRequired,setParamsErrTip:h.func.isRequired,loading:h.bool.isRequired,blocklet:h.object.isRequired,setLoading:h.func.isRequired,initUrl:h.object.isRequired,componentDid:h.isRequired,initLogoUrl:h.string.isRequired,setInitLogoUrl:h.func.isRequired};const e3=ce.div`
|
|
136
|
+
`,u0="lastWantToConnectStoreId";function Jl(e){var c,u;const[t,l]=R.useState(null),{session:s}=i1(),r=R.useCallback(f=>{l(f),localStorage.setItem(u0,f==null?void 0:f.id)},[l]),a=R.useMemo(()=>{var z,p,d,m;const f=localStorage.getItem(u0),x=f?(((z=e==null?void 0:e.settings)==null?void 0:z.storeList)||[]).find(b=>b.id===f):null;if(x)return x;let g=(((p=e==null?void 0:e.settings)==null?void 0:p.storeList)||[]).find(b=>{var v;return!(b.id!==J.BLOCKLET_STORE.id||b.scope&&b.scope!=="studio"&&b.scope!==((v=s==null?void 0:s.user)==null?void 0:v.did))});return g||(g=(m=(d=e==null?void 0:e.settings)==null?void 0:d.storeList)==null?void 0:m[0]),g},[(c=e==null?void 0:e.settings)==null?void 0:c.storeList,(u=s==null?void 0:s.user)==null?void 0:u.did]);return[t||a||{},r]}const p1={};async function K0(e,{interval:t=1e3,maxDuration:l=120*1e3,intervalFirst:s=4e3,timerKey:r=""}){p1[r]&&clearTimeout(p1[r]),await new Promise(c=>setTimeout(c,s));const a=Date.now(),i=async(c,u)=>{try{const f=await e();c(f)}catch(f){Date.now()-a>l?u(f):r?p1[r]=setTimeout(()=>i(c,u),t):setTimeout(()=>i(c,u),t)}};return new Promise(i)}function Ql(){return Math.random().toString(36).slice(2)+Math.random().toString(36).slice(2)+`${Date.now()}`.slice(-6)}function Yl(e,{did:t,projectId:l,messageId:s}){return K0(async()=>{var a;const r=await e.getProject({input:{did:t,projectId:l,messageId:s}});if(!((a=r==null?void 0:r.project)!=null&&a.blockletDid))throw new Error("Connected store not found");return r.project.blockletDid},{timerKey:"connect-studio"})}function Zl(e,{did:t,projectId:l,storeId:s}){return K0(async()=>{var i,c;const r=await e.getProject({input:{did:t,projectId:l,messageId:""}});if(!((c=(i=r==null?void 0:r.project)==null?void 0:i.connectedStores)!=null&&c.length))throw new Error("Connected store not found");if(!r.project.connectedStores.find(u=>u.storeId===s))throw new Error("Connected store not found")},{timerKey:`connect-store-${s}`})}const X0=({fromBlocklet:e,nodeInfo:t,blocklet:l,userDid:s})=>{var i,c;const r=e?(i=l==null?void 0:l.meta)==null?void 0:i.did:t==null?void 0:t.did;let a=e?((c=l==null?void 0:l.settings)==null?void 0:c.storeList)||[]:(t==null?void 0:t.blockletRegistryList)||[];return Array.isArray(a)||(a=[]),a=a.filter(u=>u.protected||!u.scope||u.scope==="studio"||u.scope===s),{teamDid:r,storeList:a}};function F1({blocklet:e,store:t={},onChangeStore:l,onClick:s,disabled:r,loading:a,componentDid:i}){var N,T,E;const{t:c}=te(),{session:u}=i1(),{api:f,info:x,inService:g}=Re(),z=Ne(),[p,d]=R.useState(!1),m=R.useRef(null),[b,v]=R.useState(!1),[C,S]=R.useState(null),D=A=>{l(A),d(!1)},L=()=>{d(!p)},P=A=>{m.current&&m.current.contains(A.target)||d(!1)},I=()=>{v(!0)},q=()=>{v(!1)},V=async()=>{var A;if(C)try{await f.deleteBlockletStore({input:{teamDid:e.meta.did,url:C.url,projectId:"",scope:C.scope||"studio"}}),await((A=z==null?void 0:z.actions)==null?void 0:A.refreshBlocklet())}catch(O){F.error(`Remove Blocklet Store Error: ${De(O)}`)}finally{S(null)}},{storeList:M}=X0({fromBlocklet:g,blocklet:e,nodeInfo:x,componentDid:i,userDid:(N=u==null?void 0:u.user)==null?void 0:N.did}),k=(T=e==null?void 0:e.meta)==null?void 0:T.did;return o.jsxs(o.Fragment,{children:[o.jsxs(x1,{disabled:r,ref:m,variant:"contained",color:"primary","aria-label":"Button group with connect store",children:[o.jsxs(ne,{onClick:s,children:[a&&o.jsx(o1,{size:14,sx:{mr:.5}}),`${c("common.connect")} ${t.name||""}`]}),o.jsx(ne,{size:"small","aria-controls":p?"split-button-menu":void 0,"aria-expanded":p?"true":void 0,"aria-label":"select merge strategy","aria-haspopup":"menu",onClick:L,children:o.jsx(K2,{})})]}),o.jsx(R0,{sx:{zIndex:10},open:p,anchorEl:m.current,placement:"bottom-end",role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:A})=>o.jsx(C0,{...A,style:{transformOrigin:"center top"},children:o.jsx(w1,{children:o.jsx(y0,{onClickAway:P,children:o.jsxs(z0,{id:"split-button-menu",autoFocusItem:!0,sx:{maxHeight:300,overflowY:"auto",zIndex:10},children:[M==null?void 0:M.map(O=>{var W;return o.jsxs(Oe,{selected:O.id===(t==null?void 0:t.id),sx:{height:56},onClick:()=>D(O),children:[o.jsxs(y,{children:[o.jsx(je,{sx:{fontSize:"16px"},maxLength:24,children:O.name}),o.jsx(je,{sx:{fontSize:"13px",opacity:.6},maxLength:30,children:O.url})]}),U2({store:O,userDid:(W=u==null?void 0:u.user)==null?void 0:W.did})&&o.jsx(be,{sx:{ml:1},onClick:X=>{X.preventDefault(),X.stopPropagation(),S(O)},children:o.jsx(ie,{icon:"ic:outline-delete"})})]},O.url)}),o.jsx(w2,{}),o.jsxs(Oe,{onClick:I,children:[o.jsx(R1,{font:!0}),o.jsx(K,{variant:"inherit",children:c("store.blockletRegistry.addRegistry")})]})]})})})})}),b&&o.jsx(D0,{hiddenChildren:!0,open:!0,onClose:q,teamDid:k,storeList:M,scope:"studio",onAdd:(E=z==null?void 0:z.actions)==null?void 0:E.refreshBlocklet}),C&&o.jsx(y1,{displayError:!0,title:`${c("common.delete")} ${C.name}`,description:c("blocklet.publish.deleteStoreTip",{name:C.name}),confirm:c("common.confirm"),onConfirm:V,onCancel:()=>S(null)})]})}F1.propTypes={store:h.object,blocklet:h.object,onChangeStore:h.func.isRequired,onClick:h.func.isRequired,loading:h.bool.isRequired,disabled:h.bool.isRequired,componentDid:h.string.isRequired,projectType:h.string.isRequired,getData:h.func.isRequired};F1.defaultProps={store:null,blocklet:null};const p0=R.lazy(()=>S0(()=>import("./index-BACiBg8Z.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57])).then(e=>({default:e.Uploader})));function J0({projectId:e,readOnly:t,loading:l,blocklet:s,params:r,setParams:a,paramsErrTip:i,setParamsErrTip:c,setLoading:u,initUrl:f,initLogoUrl:x,setInitLogoUrl:g,componentDid:z}){const{t:p}=te(),{api:d}=Re(),m=b1(),b=R.useRef(null),v=R.useRef(null),[C,S]=Jl(s),D=q2({messageType:"connect-store-message",onOpen:()=>u(!0),onClose:()=>u(!1)}),L=async T=>{const E=setTimeout(()=>{u(!1)},2e4),A=await Yl(d,T);u(!1),clearTimeout(E),window.parent.postMessage({event:"studioDialog.connected",componentDid:z},"*"),m(window.location.pathname.replace(`${J.UNOWNED_DID}/create`,`${A}/create`),{replace:!0})},P=()=>{if(!r.blockletTitle){F.error(p("blocklet.publish.errorTip.noTitle"));return}if(!(C!=null&&C.url)){F.error(p("blocklet.publish.noStoreSelected"));return}const T=Ql();D(async(E,A)=>{var O,W,X;try{const Q=await d.connectByStudio({input:{did:(O=s==null?void 0:s.meta)==null?void 0:O.did,blockletTitle:r==null?void 0:r.blockletTitle,storeUrl:C.url,storeId:C.id,storeName:C.name,type:((W=r==null?void 0:r.blockletComponents)==null?void 0:W.length)>0?"pack":"resource",componentDid:z,messageId:T,tenantScope:(f==null?void 0:f.searchParams.get("tenantScope"))||""}});if(!(Q!=null&&Q.url)){F.error("failed to connect to store");return}A(Q.url),L({did:(X=s==null?void 0:s.meta)==null?void 0:X.did,projectId:"",messageId:T})}catch(Q){const re=De(Q);F.error(re),u(!1)}})},I=`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${s.meta.did}/${e}/logo/upload`,q=`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${s.meta.did}/${e}/screenshot/upload`,V=r!=null&&r.blockletLogo?`${I}/${r.blockletLogo}`:`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/static/images/logo.png`,M=((r==null?void 0:r.blockletScreenshots)||[]).filter(Boolean).map(T=>`${q}/${T}`),k=()=>t?!1:!e||e===J.UNOWNED_DID?(F.error(p("blocklet.publish.errorTip.noFirstDid")),!1):!0,N=T=>{if(!T.destination)return;const E=Array.from(r.blockletScreenshots),[A]=E.splice(T.source.index,1);E.splice(T.destination.index,0,A),a(O=>({...O,blockletScreenshots:E}))};return o.jsxs(e3,{children:[o.jsx(y,{display:"flex",className:"section",children:o.jsxs(y,{sx:{flex:1},children:[o.jsx(Te,{disabled:l||t,label:`Blocklet ${p("common.title")}`,placeholder:`Blocklet ${p("common.title")}`,InputProps:{"data-cy":"blocklet-title",readOnly:t},autoComplete:"off",variant:"outlined",fullWidth:!0,required:!0,value:r.blockletTitle||"",onChange:T=>{c({blockletTitle:""}),a({blockletTitle:T.target.value})},error:!!i.blockletTitle,helperText:i.blockletTitle||""}),o.jsx(Te,{required:!0,label:"Blocklet DID",fullWidth:!0,readonly:!0,disabled:!0,autoComplete:"off",variant:"outlined",InputProps:{"data-cy":"export-blocklet-did",endAdornment:e===J.UNOWNED_DID&&o.jsx(k1,{position:"end",children:o.jsx(F1,{blocklet:s,store:C,componentDid:z,onChangeStore:S,disabled:!r.blockletTitle||t||l,loading:l,onClick:P})})},error:!!i.projectId,helperText:i.projectId||"",value:e===J.UNOWNED_DID?"":`did:abt:${e}`,sx:{mt:3}}),o.jsx(Te,{disabled:l||t,label:`Blocklet ${p("common.description")}`,placeholder:`Blocklet ${p("common.description")}`,InputProps:{"data-cy":"blocklet-description",readOnly:t},required:!0,autoComplete:"off",variant:"outlined",fullWidth:!0,value:r.blockletDescription||"",onChange:T=>{c({blockletDescription:""}),a({blockletDescription:T.target.value})},error:!!i.blockletDescription,helperText:i.blockletDescription||"",sx:{mt:3}})]})}),o.jsx(y,{display:"flex",mt:3,className:"section full-width",children:o.jsxs(y,{sx:{flex:1},children:[o.jsxs(y,{display:"flex",children:[o.jsxs(Be,{direction:"column",spacing:1,sx:{mr:2,width:"160px"},children:[o.jsx(K,{variant:"subtitle1",sx:{fontWeight:"bold"},children:p("common.logo")}),o.jsxs(Be,{direction:"column",alignItems:"flex-start",spacing:1,children:[o.jsx(Me,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.ratio"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:"256x256"})]}),variant:"outlined",size:"small"}),o.jsx(Me,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.size"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:"<500Kb"})]}),variant:"outlined",size:"small"})]})]}),o.jsx(y,{sx:{flex:1,cursor:t?"default":"pointer"},children:o.jsx(P0,{variant:"square",sx:{width:80,height:80},alt:"Blocklet Logo",src:x||V,onClick:()=>{var T;k()&&((T=b.current)==null||T.open())}})})]}),o.jsxs(y,{display:"flex",mt:3,children:[o.jsxs(Be,{direction:"column",spacing:1,sx:{mr:2,width:"160px"},children:[o.jsx(K,{variant:"subtitle1",sx:{fontWeight:"bold"},children:p("common.screenshot")}),o.jsxs(Be,{direction:"column",alignItems:"flex-start",spacing:1,children:[o.jsx(Me,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.ratio"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:"16/10"})]}),variant:"outlined",size:"small"}),o.jsx(Me,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.count"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:"1~5"})]}),variant:"outlined",size:"small"}),o.jsx(Me,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.size"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:"<5MB"})]}),variant:"outlined",size:"small"}),o.jsx(Me,{label:o.jsxs(y,{component:"span",children:[o.jsxs(y,{component:"span",sx:{color:"#555"},children:[p("studio.order"),":"," "]}),o.jsx(y,{component:"span",sx:{color:"#007ec6"},children:p("studio.orderTip")})]}),variant:"outlined",size:"small"})]})]}),o.jsx(P2,{onDragEnd:t?void 0:N,children:o.jsx(L2,{droppableId:"screenshots",direction:"horizontal",isDropDisabled:t,children:(T,E)=>o.jsxs(y,{display:"flex",alignItems:"center",sx:{flex:1,flexWrap:"wrap",minHeight:160,background:E.isDraggingOver?"#f5f5f5":"transparent",transition:"background-color 0.2s ease",border:E.isDraggingOver?"2px dashed #999":"none",borderRadius:"4px"},ref:T.innerRef,...T.droppableProps,children:[M.map((A,O)=>o.jsx(T2,{draggableId:A,index:O,isDragDisabled:t,children:(W,X)=>o.jsxs(y,{ref:W.innerRef,...W.draggableProps,...W.dragHandleProps,className:"screenshot",sx:{transform:X.isDragging?"scale(1.05)":"none",boxShadow:X.isDragging?"0 5px 10px rgba(0,0,0,0.15)":"none",transition:"transform 0.2s ease, box-shadow 0.2s ease"},children:[o.jsx("img",{alt:"screenshot",src:A}),!t&&o.jsx(be,{className:"action",onClick:()=>{a(Q=>{const re=[...Q.blockletScreenshots];return re.splice(O,1),{...Q,blockletScreenshots:re}})},children:o.jsx(F2,{})})]})},A)),T.placeholder,M.length<5&&o.jsx(y,{sx:{width:240,height:150,background:"#eee",cursor:t?"default":"pointer",color:"#999",mb:2},display:"flex",justifyContent:"center",alignItems:"center",fontSize:40,onClick:()=>{var A;k()&&((A=v.current)==null||A.open())},children:"+"})]})})})]})]})}),o.jsxs(R.Suspense,{fallback:o.jsx(Ge,{}),children:[o.jsx(p0,{ref:b,popup:!0,onUploadFinish:T=>{var E;a({blockletLogo:T.data.filename}),g(""),(E=b.current)==null||E.close()},plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:I,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileTypes:["image/*"],maxFileSize:1024*1024*.5,maxNumberOfFiles:1}},dashboardProps:{autoOpen:"imageEditor"},imageEditorProps:{actions:{revert:!0,rotate:!0,granularRotate:!0,flip:!0,zoomIn:!0,zoomOut:!0,cropSquare:!0,cropWidescreen:!1,cropWidescreenVertical:!1},cropperOptions:{autoCrop:!0,aspectRatio:1,initialAspectRatio:1,autoCropArea:1,croppedCanvasOptions:{width:256,height:256}}}},"uploader-logo"),o.jsx(p0,{ref:v,popup:!0,onUploadFinish:T=>{var E;a(A=>{var W;const O=A.blockletScreenshots||[];return O.push((W=T.data)==null?void 0:W.filename),{...A,blockletScreenshots:O}}),(E=v.current)==null||E.close()},installerProps:{disabled:!0},plugins:["ImageEditor"],apiPathProps:{uploader:q,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileTypes:["image/*","application/svg+xml"],maxFileSize:1024*1024*5,maxNumberOfFiles:5-M.length}},dashboardProps:{autoOpen:"imageEditor"},imageEditorProps:{actions:{revert:!0,rotate:!0,granularRotate:!0,flip:!0,zoomIn:!0,zoomOut:!0,cropSquare:!1,cropWidescreen:!0,cropWidescreenVertical:!1},cropperOptions:{autoCrop:!0,autoCropArea:1,aspectRatio:16/10,initialAspectRatio:16/10,croppedCanvasOptions:{minWidth:640,minHeight:400,width:1120,height:700,maxWidth:1600,maxHeight:1e3}}}},"uploader-screenshot")]})]})}J0.propTypes={projectId:h.string.isRequired,readOnly:h.bool.isRequired,params:h.object.isRequired,setParams:h.func.isRequired,paramsErrTip:h.object.isRequired,setParamsErrTip:h.func.isRequired,loading:h.bool.isRequired,blocklet:h.object.isRequired,setLoading:h.func.isRequired,initUrl:h.object.isRequired,componentDid:h.isRequired,initLogoUrl:h.string.isRequired,setInitLogoUrl:h.func.isRequired};const e3=ce.div`
|
|
137
137
|
margin-top: 24px;
|
|
138
138
|
.screenshot {
|
|
139
139
|
margin-bottom: 16px;
|
|
@@ -164,7 +164,7 @@ import{at as d2,j as o,aG as se,cQ as g0,aK as H,fG as Q1,aJ as we,aE as $e,aF a
|
|
|
164
164
|
width: 100%; /* 图像宽度填充容器 */
|
|
165
165
|
height: auto; /* 图像高度自适应 */
|
|
166
166
|
}
|
|
167
|
-
`;var U1={},t3=Ie;Object.defineProperty(U1,"__esModule",{value:!0});var Q0=U1.default=void 0,o3=t3(ke()),l3=o;Q0=U1.default=(0,o3.default)((0,l3.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l4.65-4.65c.2-.2.51-.2.71 0L17 13z"}),"CloudUploadRounded");const n3=(e,t,l,s)=>{const r=e?[...e]:[],a=((t==null?void 0:t.children)||[]).reduce((i,c)=>(i[c.meta.did]=!0,i),{});return Object.keys(l).forEach(i=>{if(!a[i])return;let c=!1;s||r.forEach(u=>{u.did===i&&(u.included=!0,u.required=!0,c=!0)}),c||r.push({did:i,included:!0,required:!0})}),r},s3=async e=>{if(typeof e!="string")throw new Error("URL must be a string");try{const t=e.split("/").pop().split("?")[0],s=await(await fetch(e)).blob();return new File([s],t,{type:s.type})}catch{throw new Error("Failed to convert Logo URL to file")}};function*r3(e,t){let l=0;for(;l<e.size;)yield e.slice(l,l+t),l+=t}const i3=async({did:e,projectId:t,uploadType:l="logo",imageUrl:s})=>{const r=await s3(s);new FormData().append("file",r);const i={uploaderId:"Uploader",relativePath:encodeURIComponent(r.name),name:encodeURIComponent(r.name),type:r.type},u=(await Z1.post(he(J.WELLKNOWN_SERVICE_PATH_PREFIX,"/api/project",e,t,l,"upload"),null,{headers:{"Tus-Resumable":"1.0.0","Upload-Length":r.size,"X-Uploader-File-Ext":r.name.split(".").pop(),"Upload-Metadata":Object.keys(i).map(z=>`${z} ${btoa(i[z])}`).join(",")}})).headers.location,f=2*1024*1024;let x=0,g="";for(const z of r3(r,f)){const p=await Z1.patch(he(J.WELLKNOWN_SERVICE_PATH_PREFIX,u),z,{headers:{"Tus-Resumable":"1.0.0","Upload-Offset":x,"Content-Type":"application/offset+octet-stream"}});x+=z.size,g=p.data.filename}return g},Y0=({params:e,hasSelectedResources:t,projectId:l,status:s,t:r})=>{const a=[];return e.blockletTitle||a.push({param:"blockletTitle",message:r("blocklet.publish.errorTip.noTitle")}),(!l||l===J.UNOWNED_DID)&&a.push({param:"projectId",message:r("blocklet.publish.errorTip.noDid")}),!e.uploadedResource&&!t&&a.push({param:"blockletResource",message:r("blocklet.publish.errorTip.noResource")}),e.blockletVersion?Le.valid(e.blockletVersion)||a.push({param:"blockletVersion",message:r("blocklet.publish.errorTip.inValidVersion")}):a.push({param:"blockletVersion",message:r("blocklet.publish.errorTip.noVersion")}),s===ze.PROJECT.RELEASE_STATUS.published&&(e.blockletDescription||a.push({param:"blockletDescription",message:r("blocklet.publish.errorTip.noDescription")}),e.note||a.push({param:"note",message:r("blocklet.publish.errorTip.noNote")})),a.length?a:null},a3=({params:e,hasSelectedResources:t,step:l,t:s,projectId:r})=>{if(l===0){if(!e.blockletTitle)return s("blocklet.publish.errorTip.noTitle");if(!r||r===J.UNOWNED_DID)return s("blocklet.publish.errorTip.noDid");if(!e.blockletDescription)return s("blocklet.publish.errorTip.noDescription")}if(l===2&&!e.uploadedResource&&!t)return s("blocklet.publish.errorTip.noResource");if(l>=4){if(!e.blockletVersion)return s("blocklet.publish.errorTip.noVersion");if(!Le.valid(e.blockletVersion))return s("blocklet.publish.errorTip.inValidVersion");if(!e.note)return s("blocklet.publish.errorTip.noNote")}return""};function q1({blocklet:e,releaseId:t,connectedStores:l,projectId:s,releaseType:r,publishedStoreIds:a,onPublish:i,onDelete:c,projectType:u,componentDid:f,onOpenConnectStore:x,behavior:g,onSelectConnectStore:z}){var S,D;const{t:p}=te(),{actions:{refreshBlocklet:d}}=Ne(),{session:m}=i1(),{storeList:b}=X0({fromBlocklet:!0,blocklet:e,componentDid:f,userDid:(S=m==null?void 0:m.user)==null?void 0:S.did}),v=R.useMemo(()=>l!=null&&l.length?l==null?void 0:l.reduce((L,M)=>(L[M.storeId]=M,L),{}):{},[l]),C=(D=e==null?void 0:e.meta)==null?void 0:D.did;return o.jsxs(o.Fragment,{children:[g==="connect"&&!!(b!=null&&b.length)&&o.jsx(L0,{severity:"info",style:{width:"100%"},children:o.jsxs(y,{color:P2[400],component:"a",href:u==="pack"?"https://www.arcblock.io/docs/blocklet-developer/en/5PXToZve-5IXAN1bc8rkpxAc":"https://www.arcblock.io/docs/blocklet-developer/en/hB5VWLfg9VnbWsL1JGLuLUfW",target:"_blank",display:"flex",alignItems:"center",rel:"noreferrer",children:[p(u==="pack"?"blocklet.publish.whyCantSeeInStore":"blocklet.publish.whyCantSeeResourceBlockletInStore"),o.jsx(J2,{sx:{marginLeft:1}})]})}),o.jsx(R2,{children:b==null?void 0:b.map(L=>o.jsx(E2,{"data-cy":"store-switch",children:o.jsx(k2,{children:o.jsx(W2,{behavior:g,onSelectConnectStore:z,releaseId:t,projectId:s,releaseType:r,kind:"publish",teamDid:C,store:L,published:(a==null?void 0:a.indexOf(L.id))>-1,connectedStore:v[L.id],onPublish:i,onDelete:c,scope:L.scope||"studio",onOpenConnectStore:x})})},L.url))}),o.jsx(D0,{teamDid:C,storeList:b,scope:"studio",onAdd:d})]})}q1.propTypes={blocklet:h.object.isRequired,projectId:h.string.isRequired,releaseId:h.string.isRequired,releaseType:h.string.isRequired,onPublish:h.func,onDelete:h.func,publishedStoreIds:h.arrayOf(h.string),connectedStores:h.arrayOf(h.object).isRequired,projectType:h.string,componentDid:h.string,onOpenConnectStore:h.func,onSelectConnectStore:h.func,behavior:h.string};q1.defaultProps={projectType:"",componentDid:"",publishedStoreIds:[],onPublish:()=>{},onDelete:()=>{},onOpenConnectStore:()=>{},onSelectConnectStore:()=>{},behavior:"connect"};function Z0({did:e,params:t,setParams:l,projectId:s,open:r,onClose:a}){const{t:i}=te(),[c,u]=R.useState(!1),{api:f}=Re(),[x,g]=R.useState(!1),[z,p]=R.useState(!1),d=()=>{g(t.autoUpload),p(t.possibleSameStore),u(!1),a(!1)},m=async()=>{u(!0);try{await f.updateProject({input:{did:e,projectId:s,blockletTitle:t.blockletTitle||"",blockletDescription:t.blockletDescription||"",blockletIntroduction:t.blockletIntroduction||"",autoUpload:!!x,possibleSameStore:!!z}}),l({autoUpload:x,possibleSameStore:z}),a(!1)}catch(v){F.error(v.message)}u(!1)};R.useEffect(()=>{g(t.autoUpload),p(t.possibleSameStore)},[t]);const b=!!(s&&s!==J.UNOWNED_DID);return o.jsx(k0,{title:i("blocklet.publish.projectSettings"),disableEscapeKeyDown:!0,disablePortal:!1,fullWidth:!0,open:r,onClose:d,actions:o.jsxs(o.Fragment,{children:[o.jsx(ne,{onClick:v=>{v.stopPropagation(),a()},color:"inherit",children:i("common.cancel")}),b&&o.jsxs(ne,{onClick:v=>{v.stopPropagation(),m()},color:"primary","data-cy":"install-blocklet-next-step",disabled:c,variant:"contained",autoFocus:!0,children:[c&&o.jsx(o1,{size:16}),i("common.confirm")]})]}),children:b?o.jsxs(y,{component:"label",sx:{display:"flex",flexDirection:"column",gap:2},children:[o.jsxs(y,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[o.jsx(y,{component:ie,icon:"ph:upload",sx:{fontSize:24,mr:2}}),o.jsx(K,{variant:"body1",sx:{flex:1},children:i("blocklet.publish.autoUploadTip")}),o.jsx(o0,{checked:x,onChange:(v,C)=>g(C)})]}),o.jsxs(y,{component:"label",sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[o.jsx(y,{component:ie,icon:"fluent-mdl2:merge-duplicate",sx:{fontSize:24,mr:2}}),o.jsx(K,{variant:"body1",sx:{flex:1},children:i("blocklet.publish.possibleSameStoreTip")}),o.jsx(o0,{checked:z,onChange:(v,C)=>p(C)})]})]}):o.jsxs(y,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[o.jsx(y,{component:ie,icon:"ph:empty",sx:{fontSize:40,mb:3,opacity:.6}}),o.jsx(K,{variant:"body1",sx:{flex:1},children:i("blocklet.publish.needProjectId")})]})})}Z0.propTypes={did:h.string.isRequired,params:h.object.isRequired,open:h.bool.isRequired,onClose:h.func.isRequired,setParams:h.func.isRequired,projectId:h.string.isRequired};function e2({downloadUrl:e,installUrl:t,handleSetTip:l,isPack:s,disabled:r}){const{t:a}=te(),[i,c]=R.useState(!1),u=R.useRef(null),f=()=>{c(!i)},x=g=>{u.current&&u.current.contains(g.target)||c(!1)};return o.jsxs(o.Fragment,{children:[o.jsx(ne,{disabled:r,ref:u,onClick:f,children:o.jsx(y,{component:ie,sx:{fontSize:18},icon:"bxs:download"})}),o.jsx(R0,{sx:{zIndex:10},open:i,anchorEl:u.current,placement:"bottom-end",role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:g})=>o.jsx(C0,{...g,style:{transformOrigin:"center top"},children:o.jsx(w1,{children:o.jsx(y0,{onClickAway:x,children:o.jsxs(z0,{id:"split-button-menu",autoFocusItem:!0,sx:{maxHeight:300,overflowY:"auto",zIndex:10},children:[s&&o.jsx(y,{component:"a",href:t,target:"_blank",rel:"noreferrer",sx:{textDecoration:"none"},children:o.jsxs(Oe,{sx:{color:"#333"},children:[o.jsx(y,{component:ie,sx:{mr:1},icon:"ic:round-install-desktop"}),o.jsx(K,{variant:"inherit",children:a("blocklet.publish.installToThisServer")})]})}),o.jsxs(Oe,{onClick:l,children:[o.jsx(y,{component:ie,sx:{mr:1},icon:"iconamoon:copy"}),o.jsx(K,{variant:"inherit",children:a("blocklet.publish.copyInstallUrl")})]}),o.jsx(y,{component:"a",href:e,target:"_blank",rel:"noreferrer",sx:{textDecoration:"none"},children:o.jsxs(Oe,{sx:{color:"#333"},children:[o.jsx(y,{component:ie,sx:{mr:1},icon:"ph:download"}),o.jsx(K,{variant:"inherit",children:a("common.download")})]})})]})})})})})]})}e2.propTypes={disabled:h.bool.isRequired,isPack:h.bool.isRequired,downloadUrl:h.string.isRequired,installUrl:h.string.isRequired,handleSetTip:h.func.isRequired};var v0;const h0=(v0=window.env)==null?void 0:v0.serverEndpoint;function t2({projectId:e,params:t,setParamsErrTip:l,initUrl:s,setParams:r,mode:a,loading:i,blocklet:c,release:u,isPublished:f,releaseId:x,getData:g,getRelease:z,componentDid:p,resourceRelateComponents:d,disabledSelectComponents:m,saveSelectedEventsRef:b,hasSelectedResources:v,initLogoUrl:C,setLoading:S,releaseUsedLast:D,setReleaseUsedLast:L,projectType:M}){var me;const{t:I,locale:q}=te(),{api:V}=Re(),P=b1(),[k,N]=R.useState(!1),[T,E]=R.useState(!1),[A,O]=R.useState(),W=We(G=>G.breakpoints.down("md")),X=R.useMemo(()=>{var G;return((G=t==null?void 0:t.blockletComponents)==null?void 0:G.length)>0?(t==null?void 0:t.blockletComponents.find($=>$.included))?"resource":"pack":"resource"},[t==null?void 0:t.blockletComponents]),Q=()=>{window.parent.postMessage({event:"studioDialog.uploaded",componentDid:p},"*"),z()},re=async G=>{var Ee,a1,Je;const le=Y0({params:t,hasSelectedResources:v,projectId:e,status:G,t:I});if(le){F.error(le.map(U=>U.message).join("; ")),l(le.reduce((U,Z)=>({...U,[Z.param]:Z.message}),{}));return}const $={...t};if($.blockletComponents=n3($.blockletComponents,c,d,m),$.blockletVersion=Le.valid($.blockletVersion),!$.blockletVersion){F.error("Invalid Blocklet Version"),l({blockletVersion:"Invalid Blocklet Version"});return}if(C)try{const U=await i3({did:c.meta.did,projectId:e,imageUrl:C});$.blockletLogo=U,r({blockletLogo:U})}catch(U){F.error(U.message);return}if(t.resourceFromSelect){$.uploadedResource="";try{const U=Object.keys(b.current);await l1(U.map(Z=>()=>{const ue=b.current[Z];return Gl({api:V,locale:q,projectId:e,releaseId:D?"":x,appDid:c.meta.did,component:ue.component,resources:ue.resources,initUrl:s})}),{concurrency:2})}catch(U){F.error(((Je=(a1=(Ee=U==null?void 0:U.response)==null?void 0:Ee.data)==null?void 0:a1.error)==null?void 0:Je.message)||U.message),l({blockletResource:"Invalid save the resource"});return}}else $.blockletComponents=[];$.blockletTitle=($.blockletTitle||"").trim(),$.blockletDescription=($.blockletDescription||"").trim(),$.blockletIntroduction=($.blockletIntroduction||"").trim(),$.note=($.note||"").trim(),$.blockletComponents=(($==null?void 0:$.blockletComponents)||[]).filter(U=>U.included).map(U=>j1(U,["did","required"])).map(JSON.stringify);try{await V.createRelease({input:{...$,did:c.meta.did,projectId:e,releaseId:D?"":x,status:G}}),G==="draft"?F.success(I("blocklet.publish.saveDraftSuccess")):(L(!1),F.success(I("blocklet.publish.createReleaseSuccess")),window.parent.postMessage({event:"studioDialog.released",componentDid:p},"*")),l({blockletResource:"",blockletTitle:"",blockletDescription:"",blockletVersion:"",blockletLogo:"",projectId:"",blockletIntroduction:"",note:""})}catch(U){const Z=De(U);F.error(Z),(/resource/.test(Z)||/zip/.test(Z))&&l({blockletResource:Z});return}const Xe=await V.getProject({input:{did:c.meta.did,projectId:e}}),_e=Xe.project.lastReleaseId;t.autoUpload&&await l1(Xe.project.connectedStores.map(U=>async()=>{try{const Z=await V.publishToStore({input:{did:c.meta.did,storeId:U.storeId,storeName:U.storeName,projectId:e,releaseId:_e,type:X}});F.success(o.jsx(G2,{storeName:U.storeName,storeUrl:U.storeUrl,developerDid:U.developerDid,published:Z.url==="published"}),{duration:1e4})}catch(Z){F.error(De(Z))}}),{concurrency:4}),Q==null||Q(),P(`../${e}/view/${_e}`,{replace:!0})},fe=G=>(S(!0),re(G).finally(()=>{S(!1)})),de=async G=>{await Zl(V,G),g()},oe=()=>{E(!0)},ee=he(h0,`/api/project/${c.meta.did}/${e}/${x}/release/blocklet.json`),ae=new URL(h0);ae.pathname=he(ae.pathname,"/launch-blocklet/agreement"),ae.searchParams.set("blocklet_meta_url",ee);const xe=ae.href,Y=()=>O(ee);return o.jsxs(o.Fragment,{children:[o.jsx(c3,{className:"sticky-header",children:o.jsxs(y,{display:"flex",alignItems:"center",flexDirection:"row",children:[o.jsxs(_0,{className:"breadcrumbs","aria-label":"breadcrumb",children:[o.jsx(pe,{to:"../",children:I("common.blockletStudio")}),e===J.UNOWNED_DID?o.jsx(K,{color:"text.primary",children:o.jsx(je,{maxLength:W?6:30,children:(t==null?void 0:t.blockletTitle)||"Blocklet"})}):o.jsx(pe,{to:`../${e}`,children:o.jsx(je,{maxLength:W?6:30,children:(t==null?void 0:t.blockletTitle)||"Blocklet"})}),o.jsx(K,{color:"text.primary",children:a==="create"?I("common.create"):(t==null?void 0:t.blockletVersion)||I("common.edit")})]}),o.jsx(y,{flex:"1"}),!f&&o.jsxs(x1,{disabled:i,variant:"contained",children:[o.jsxs(ne,{variant:"contained",onClick:()=>fe(ze.PROJECT.RELEASE_STATUS.published),children:[i&&o.jsx(o1,{size:14,sx:{mr:.5},color:"inherit"}),I("blocklet.publish.createRelease")]}),o.jsx(ne,{variant:"contained",onClick:oe,children:o.jsx(ie,{icon:"mage:settings-fill",fontSize:"16px"})})]}),f&&o.jsxs(o.Fragment,{children:[o.jsx(C2,{fullWidth:!0,maxWidth:"sm",open:A,onClose:()=>O(""),children:o.jsxs(y,{sx:{py:5,px:4,wordBreak:"break-all"},children:[o.jsx(K,{variant:"h6",sx:{mb:2},children:I("blocklet.publish.installResourceTip")}),o.jsx(X2,{children:A}),o.jsxs(K,{sx:{mt:2},children:[I("blocklet.publish.installResourceTip2"),o.jsx("a",{style:{marginLeft:4},href:"https://www.arcblock.io/docs/blocklet-developer/R3weqCy7WPI8ggudt0C2alWv",target:"_blank",rel:"noreferrer",children:I("blocklet.publish.installResourceHelp")})]})]})}),o.jsxs(x1,{disabled:i,variant:"contained",children:[o.jsxs(ne,{onClick:()=>N(!0),children:[i?o.jsx(o1,{size:14,sx:{mr:1},color:"inherit"}):o.jsx(Q0,{sx:{fontSize:"1.3em",mr:1}}),I(W?"common.upload":"blocklet.publish.connectOrUpload")]}),o.jsx(e2,{isPack:X==="pack",downloadUrl:he(`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${c.meta.did}/${e}/${x}/download/${(u.files||[])[0]}`),installUrl:xe,handleSetTip:Y}),o.jsx(ne,{onClick:oe,children:o.jsx(ie,{icon:"mage:settings-fill",fontSize:"16px"})})]})]})]})}),o.jsx(k0,{title:I("blocklet.publish.connectOrUpload"),disableEscapeKeyDown:!0,disablePortal:!1,fullWidth:!0,open:k,onClose:()=>N(!1),children:o.jsx(q1,{projectType:M,blocklet:c,releaseType:X,projectId:e,releaseId:x,componentDid:p,onPublish:Q,onOpenConnectStore:de,onDelete:g,connectedStores:t.connectedStores||[],publishedStoreIds:u==null?void 0:u.publishedStoreIds})}),o.jsx(Z0,{did:(me=c==null?void 0:c.meta)==null?void 0:me.did,params:t,projectId:e,open:T,setParams:r,onClose:()=>E(!1)})]})}t2.propTypes={projectId:h.string.isRequired,params:h.object.isRequired,mode:h.string.isRequired,loading:h.bool.isRequired,blocklet:h.object.isRequired,release:h.object.isRequired,isPublished:h.bool.isRequired,releaseId:h.string.isRequired,getData:h.func.isRequired,getRelease:h.func.isRequired,componentDid:h.string.isRequired,resourceRelateComponents:h.object.isRequired,disabledSelectComponents:h.bool.isRequired,saveSelectedEventsRef:h.object.isRequired,hasSelectedResources:h.bool.isRequired,initLogoUrl:h.string.isRequired,setLoading:h.func.isRequired,releaseUsedLast:h.bool.isRequired,setReleaseUsedLast:h.func.isRequired,projectType:h.string.isRequired,setParamsErrTip:h.func.isRequired,setParams:h.func.isRequired,initUrl:h.object.isRequired};const c3=ce.div`
|
|
167
|
+
`;var U1={},t3=Ie;Object.defineProperty(U1,"__esModule",{value:!0});var Q0=U1.default=void 0,o3=t3(ke()),l3=o;Q0=U1.default=(0,o3.default)((0,l3.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l4.65-4.65c.2-.2.51-.2.71 0L17 13z"}),"CloudUploadRounded");const n3=(e,t,l,s)=>{const r=e?[...e]:[],a=((t==null?void 0:t.children)||[]).reduce((i,c)=>(i[c.meta.did]=!0,i),{});return Object.keys(l).forEach(i=>{if(!a[i])return;let c=!1;s||r.forEach(u=>{u.did===i&&(u.included=!0,u.required=!0,c=!0)}),c||r.push({did:i,included:!0,required:!0})}),r},s3=async e=>{if(typeof e!="string")throw new Error("URL must be a string");try{const t=e.split("/").pop().split("?")[0],s=await(await fetch(e)).blob();return new File([s],t,{type:s.type})}catch{throw new Error("Failed to convert Logo URL to file")}};function*r3(e,t){let l=0;for(;l<e.size;)yield e.slice(l,l+t),l+=t}const i3=async({did:e,projectId:t,uploadType:l="logo",imageUrl:s})=>{const r=await s3(s);new FormData().append("file",r);const i={uploaderId:"Uploader",relativePath:encodeURIComponent(r.name),name:encodeURIComponent(r.name),type:r.type},u=(await Z1.post(he(J.WELLKNOWN_SERVICE_PATH_PREFIX,"/api/project",e,t,l,"upload"),null,{headers:{"Tus-Resumable":"1.0.0","Upload-Length":r.size,"X-Uploader-File-Ext":r.name.split(".").pop(),"Upload-Metadata":Object.keys(i).map(z=>`${z} ${btoa(i[z])}`).join(",")}})).headers.location,f=2*1024*1024;let x=0,g="";for(const z of r3(r,f)){const p=await Z1.patch(he(J.WELLKNOWN_SERVICE_PATH_PREFIX,u),z,{headers:{"Tus-Resumable":"1.0.0","Upload-Offset":x,"Content-Type":"application/offset+octet-stream"}});x+=z.size,g=p.data.filename}return g},Y0=({params:e,hasSelectedResources:t,projectId:l,status:s,t:r})=>{const a=[];return e.blockletTitle||a.push({param:"blockletTitle",message:r("blocklet.publish.errorTip.noTitle")}),(!l||l===J.UNOWNED_DID)&&a.push({param:"projectId",message:r("blocklet.publish.errorTip.noDid")}),!e.uploadedResource&&!t&&a.push({param:"blockletResource",message:r("blocklet.publish.errorTip.noResource")}),e.blockletVersion?Le.valid(e.blockletVersion)||a.push({param:"blockletVersion",message:r("blocklet.publish.errorTip.inValidVersion")}):a.push({param:"blockletVersion",message:r("blocklet.publish.errorTip.noVersion")}),s===ze.PROJECT.RELEASE_STATUS.published&&(e.blockletDescription||a.push({param:"blockletDescription",message:r("blocklet.publish.errorTip.noDescription")}),e.note||a.push({param:"note",message:r("blocklet.publish.errorTip.noNote")})),a.length?a:null},a3=({params:e,hasSelectedResources:t,step:l,t:s,projectId:r})=>{if(l===0){if(!e.blockletTitle)return s("blocklet.publish.errorTip.noTitle");if(!r||r===J.UNOWNED_DID)return s("blocklet.publish.errorTip.noDid");if(!e.blockletDescription)return s("blocklet.publish.errorTip.noDescription")}if(l===2&&!e.uploadedResource&&!t)return s("blocklet.publish.errorTip.noResource");if(l>=4){if(!e.blockletVersion)return s("blocklet.publish.errorTip.noVersion");if(!Le.valid(e.blockletVersion))return s("blocklet.publish.errorTip.inValidVersion");if(!e.note)return s("blocklet.publish.errorTip.noNote")}return""};function q1({blocklet:e,releaseId:t,connectedStores:l,projectId:s,releaseType:r,publishedStoreIds:a,onPublish:i,onDelete:c,projectType:u,componentDid:f,onOpenConnectStore:x,behavior:g,onSelectConnectStore:z}){var S,D;const{t:p}=te(),{actions:{refreshBlocklet:d}}=Ne(),{session:m}=i1(),{storeList:b}=X0({fromBlocklet:!0,blocklet:e,componentDid:f,userDid:(S=m==null?void 0:m.user)==null?void 0:S.did}),v=R.useMemo(()=>l!=null&&l.length?l==null?void 0:l.reduce((L,P)=>(L[P.storeId]=P,L),{}):{},[l]),C=(D=e==null?void 0:e.meta)==null?void 0:D.did;return o.jsxs(o.Fragment,{children:[g==="connect"&&!!(b!=null&&b.length)&&o.jsx(L0,{severity:"info",style:{width:"100%"},children:o.jsxs(y,{color:M2[400],component:"a",href:u==="pack"?"https://www.arcblock.io/docs/blocklet-developer/en/5PXToZve-5IXAN1bc8rkpxAc":"https://www.arcblock.io/docs/blocklet-developer/en/hB5VWLfg9VnbWsL1JGLuLUfW",target:"_blank",display:"flex",alignItems:"center",rel:"noreferrer",children:[p(u==="pack"?"blocklet.publish.whyCantSeeInStore":"blocklet.publish.whyCantSeeResourceBlockletInStore"),o.jsx(J2,{sx:{marginLeft:1}})]})}),o.jsx(R2,{children:b==null?void 0:b.map(L=>o.jsx(E2,{"data-cy":"store-switch",children:o.jsx(k2,{children:o.jsx(W2,{behavior:g,onSelectConnectStore:z,releaseId:t,projectId:s,releaseType:r,kind:"publish",teamDid:C,store:L,published:(a==null?void 0:a.indexOf(L.id))>-1,connectedStore:v[L.id],onPublish:i,onDelete:c,scope:L.scope||"studio",onOpenConnectStore:x})})},L.url))}),o.jsx(D0,{teamDid:C,storeList:b,scope:"studio",onAdd:d})]})}q1.propTypes={blocklet:h.object.isRequired,projectId:h.string.isRequired,releaseId:h.string.isRequired,releaseType:h.string.isRequired,onPublish:h.func,onDelete:h.func,publishedStoreIds:h.arrayOf(h.string),connectedStores:h.arrayOf(h.object).isRequired,projectType:h.string,componentDid:h.string,onOpenConnectStore:h.func,onSelectConnectStore:h.func,behavior:h.string};q1.defaultProps={projectType:"",componentDid:"",publishedStoreIds:[],onPublish:()=>{},onDelete:()=>{},onOpenConnectStore:()=>{},onSelectConnectStore:()=>{},behavior:"connect"};function Z0({did:e,params:t,setParams:l,projectId:s,open:r,onClose:a}){const{t:i}=te(),[c,u]=R.useState(!1),{api:f}=Re(),[x,g]=R.useState(!1),[z,p]=R.useState(!1),d=()=>{g(t.autoUpload),p(t.possibleSameStore),u(!1),a(!1)},m=async()=>{u(!0);try{await f.updateProject({input:{did:e,projectId:s,blockletTitle:t.blockletTitle||"",blockletDescription:t.blockletDescription||"",blockletIntroduction:t.blockletIntroduction||"",autoUpload:!!x,possibleSameStore:!!z}}),l({autoUpload:x,possibleSameStore:z}),a(!1)}catch(v){F.error(v.message)}u(!1)};R.useEffect(()=>{g(t.autoUpload),p(t.possibleSameStore)},[t]);const b=!!(s&&s!==J.UNOWNED_DID);return o.jsx(k0,{title:i("blocklet.publish.projectSettings"),disableEscapeKeyDown:!0,disablePortal:!1,fullWidth:!0,open:r,onClose:d,actions:o.jsxs(o.Fragment,{children:[o.jsx(ne,{onClick:v=>{v.stopPropagation(),a()},color:"inherit",children:i("common.cancel")}),b&&o.jsxs(ne,{onClick:v=>{v.stopPropagation(),m()},color:"primary","data-cy":"install-blocklet-next-step",disabled:c,variant:"contained",autoFocus:!0,children:[c&&o.jsx(o1,{size:16}),i("common.confirm")]})]}),children:b?o.jsxs(y,{component:"label",sx:{display:"flex",flexDirection:"column",gap:2},children:[o.jsxs(y,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[o.jsx(y,{component:ie,icon:"ph:upload",sx:{fontSize:24,mr:2}}),o.jsx(K,{variant:"body1",sx:{flex:1},children:i("blocklet.publish.autoUploadTip")}),o.jsx(o0,{checked:x,onChange:(v,C)=>g(C)})]}),o.jsxs(y,{component:"label",sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[o.jsx(y,{component:ie,icon:"fluent-mdl2:merge-duplicate",sx:{fontSize:24,mr:2}}),o.jsx(K,{variant:"body1",sx:{flex:1},children:i("blocklet.publish.possibleSameStoreTip")}),o.jsx(o0,{checked:z,onChange:(v,C)=>p(C)})]})]}):o.jsxs(y,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[o.jsx(y,{component:ie,icon:"ph:empty",sx:{fontSize:40,mb:3,opacity:.6}}),o.jsx(K,{variant:"body1",sx:{flex:1},children:i("blocklet.publish.needProjectId")})]})})}Z0.propTypes={did:h.string.isRequired,params:h.object.isRequired,open:h.bool.isRequired,onClose:h.func.isRequired,setParams:h.func.isRequired,projectId:h.string.isRequired};function e2({downloadUrl:e,installUrl:t,handleSetTip:l,isPack:s,disabled:r}){const{t:a}=te(),[i,c]=R.useState(!1),u=R.useRef(null),f=()=>{c(!i)},x=g=>{u.current&&u.current.contains(g.target)||c(!1)};return o.jsxs(o.Fragment,{children:[o.jsx(ne,{disabled:r,ref:u,onClick:f,children:o.jsx(y,{component:ie,sx:{fontSize:18},icon:"bxs:download"})}),o.jsx(R0,{sx:{zIndex:10},open:i,anchorEl:u.current,placement:"bottom-end",role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:g})=>o.jsx(C0,{...g,style:{transformOrigin:"center top"},children:o.jsx(w1,{children:o.jsx(y0,{onClickAway:x,children:o.jsxs(z0,{id:"split-button-menu",autoFocusItem:!0,sx:{maxHeight:300,overflowY:"auto",zIndex:10},children:[s&&o.jsx(y,{component:"a",href:t,target:"_blank",rel:"noreferrer",sx:{textDecoration:"none"},children:o.jsxs(Oe,{sx:{color:"#333"},children:[o.jsx(y,{component:ie,sx:{mr:1},icon:"ic:round-install-desktop"}),o.jsx(K,{variant:"inherit",children:a("blocklet.publish.installToThisServer")})]})}),o.jsxs(Oe,{onClick:l,children:[o.jsx(y,{component:ie,sx:{mr:1},icon:"iconamoon:copy"}),o.jsx(K,{variant:"inherit",children:a("blocklet.publish.copyInstallUrl")})]}),o.jsx(y,{component:"a",href:e,target:"_blank",rel:"noreferrer",sx:{textDecoration:"none"},children:o.jsxs(Oe,{sx:{color:"#333"},children:[o.jsx(y,{component:ie,sx:{mr:1},icon:"ph:download"}),o.jsx(K,{variant:"inherit",children:a("common.download")})]})})]})})})})})]})}e2.propTypes={disabled:h.bool.isRequired,isPack:h.bool.isRequired,downloadUrl:h.string.isRequired,installUrl:h.string.isRequired,handleSetTip:h.func.isRequired};var v0;const h0=(v0=window.env)==null?void 0:v0.serverEndpoint;function t2({projectId:e,params:t,setParamsErrTip:l,initUrl:s,setParams:r,mode:a,loading:i,blocklet:c,release:u,isPublished:f,releaseId:x,getData:g,getRelease:z,componentDid:p,resourceRelateComponents:d,disabledSelectComponents:m,saveSelectedEventsRef:b,hasSelectedResources:v,initLogoUrl:C,setLoading:S,releaseUsedLast:D,setReleaseUsedLast:L,projectType:P}){var me;const{t:I,locale:q}=te(),{api:V}=Re(),M=b1(),[k,N]=R.useState(!1),[T,E]=R.useState(!1),[A,O]=R.useState(),W=We(G=>G.breakpoints.down("md")),X=R.useMemo(()=>{var G;return((G=t==null?void 0:t.blockletComponents)==null?void 0:G.length)>0?(t==null?void 0:t.blockletComponents.find($=>$.included))?"resource":"pack":"resource"},[t==null?void 0:t.blockletComponents]),Q=()=>{window.parent.postMessage({event:"studioDialog.uploaded",componentDid:p},"*"),z()},re=async G=>{var Ee,a1,Je;const le=Y0({params:t,hasSelectedResources:v,projectId:e,status:G,t:I});if(le){F.error(le.map(U=>U.message).join("; ")),l(le.reduce((U,Z)=>({...U,[Z.param]:Z.message}),{}));return}const $={...t};if($.blockletComponents=n3($.blockletComponents,c,d,m),$.blockletVersion=Le.valid($.blockletVersion),!$.blockletVersion){F.error("Invalid Blocklet Version"),l({blockletVersion:"Invalid Blocklet Version"});return}if(C)try{const U=await i3({did:c.meta.did,projectId:e,imageUrl:C});$.blockletLogo=U,r({blockletLogo:U})}catch(U){F.error(U.message);return}if(t.resourceFromSelect){$.uploadedResource="";try{const U=Object.keys(b.current);await l1(U.map(Z=>()=>{const ue=b.current[Z];return Gl({api:V,locale:q,projectId:e,releaseId:D?"":x,appDid:c.meta.did,component:ue.component,resources:ue.resources,initUrl:s})}),{concurrency:2})}catch(U){F.error(((Je=(a1=(Ee=U==null?void 0:U.response)==null?void 0:Ee.data)==null?void 0:a1.error)==null?void 0:Je.message)||U.message),l({blockletResource:"Invalid save the resource"});return}}else $.blockletComponents=[];$.blockletTitle=($.blockletTitle||"").trim(),$.blockletDescription=($.blockletDescription||"").trim(),$.blockletIntroduction=($.blockletIntroduction||"").trim(),$.note=($.note||"").trim(),$.blockletComponents=(($==null?void 0:$.blockletComponents)||[]).filter(U=>U.included).map(U=>j1(U,["did","required"])).map(JSON.stringify);try{await V.createRelease({input:{...$,did:c.meta.did,projectId:e,releaseId:D?"":x,status:G}}),G==="draft"?F.success(I("blocklet.publish.saveDraftSuccess")):(L(!1),F.success(I("blocklet.publish.createReleaseSuccess")),window.parent.postMessage({event:"studioDialog.released",componentDid:p},"*")),l({blockletResource:"",blockletTitle:"",blockletDescription:"",blockletVersion:"",blockletLogo:"",projectId:"",blockletIntroduction:"",note:""})}catch(U){const Z=De(U);F.error(Z),(/resource/.test(Z)||/zip/.test(Z))&&l({blockletResource:Z});return}const Xe=await V.getProject({input:{did:c.meta.did,projectId:e}}),_e=Xe.project.lastReleaseId;t.autoUpload&&await l1(Xe.project.connectedStores.map(U=>async()=>{try{const Z=await V.publishToStore({input:{did:c.meta.did,storeId:U.storeId,storeName:U.storeName,projectId:e,releaseId:_e,type:X}});F.success(o.jsx(G2,{storeName:U.storeName,storeUrl:U.storeUrl,developerDid:U.developerDid,published:Z.url==="published"}),{duration:1e4})}catch(Z){F.error(De(Z))}}),{concurrency:4}),Q==null||Q(),M(`../${e}/view/${_e}`,{replace:!0})},fe=G=>(S(!0),re(G).finally(()=>{S(!1)})),de=async G=>{await Zl(V,G),g()},oe=()=>{E(!0)},ee=he(h0,`/api/project/${c.meta.did}/${e}/${x}/release/blocklet.json`),ae=new URL(h0);ae.pathname=he(ae.pathname,"/launch-blocklet/agreement"),ae.searchParams.set("blocklet_meta_url",ee);const xe=ae.href,Y=()=>O(ee);return o.jsxs(o.Fragment,{children:[o.jsx(c3,{className:"sticky-header",children:o.jsxs(y,{display:"flex",alignItems:"center",flexDirection:"row",children:[o.jsxs(_0,{className:"breadcrumbs","aria-label":"breadcrumb",children:[o.jsx(pe,{to:"../",children:I("common.blockletStudio")}),e===J.UNOWNED_DID?o.jsx(K,{color:"text.primary",children:o.jsx(je,{maxLength:W?6:30,children:(t==null?void 0:t.blockletTitle)||"Blocklet"})}):o.jsx(pe,{to:`../${e}`,children:o.jsx(je,{maxLength:W?6:30,children:(t==null?void 0:t.blockletTitle)||"Blocklet"})}),o.jsx(K,{color:"text.primary",children:a==="create"?I("common.create"):(t==null?void 0:t.blockletVersion)||I("common.edit")})]}),o.jsx(y,{flex:"1"}),!f&&o.jsxs(x1,{disabled:i,variant:"contained",children:[o.jsxs(ne,{variant:"contained",onClick:()=>fe(ze.PROJECT.RELEASE_STATUS.published),children:[i&&o.jsx(o1,{size:14,sx:{mr:.5},color:"inherit"}),I("blocklet.publish.createRelease")]}),o.jsx(ne,{variant:"contained",onClick:oe,children:o.jsx(ie,{icon:"mage:settings-fill",fontSize:"16px"})})]}),f&&o.jsxs(o.Fragment,{children:[o.jsx(C2,{fullWidth:!0,maxWidth:"sm",open:A,onClose:()=>O(""),children:o.jsxs(y,{sx:{py:5,px:4,wordBreak:"break-all"},children:[o.jsx(K,{variant:"h6",sx:{mb:2},children:I("blocklet.publish.installResourceTip")}),o.jsx(X2,{children:A}),o.jsxs(K,{sx:{mt:2},children:[I("blocklet.publish.installResourceTip2"),o.jsx("a",{style:{marginLeft:4},href:"https://www.arcblock.io/docs/blocklet-developer/R3weqCy7WPI8ggudt0C2alWv",target:"_blank",rel:"noreferrer",children:I("blocklet.publish.installResourceHelp")})]})]})}),o.jsxs(x1,{disabled:i,variant:"contained",children:[o.jsxs(ne,{onClick:()=>N(!0),children:[i?o.jsx(o1,{size:14,sx:{mr:1},color:"inherit"}):o.jsx(Q0,{sx:{fontSize:"1.3em",mr:1}}),I(W?"common.upload":"blocklet.publish.connectOrUpload")]}),o.jsx(e2,{isPack:X==="pack",downloadUrl:he(`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${c.meta.did}/${e}/${x}/download/${(u.files||[])[0]}`),installUrl:xe,handleSetTip:Y}),o.jsx(ne,{onClick:oe,children:o.jsx(ie,{icon:"mage:settings-fill",fontSize:"16px"})})]})]})]})}),o.jsx(k0,{title:I("blocklet.publish.connectOrUpload"),disableEscapeKeyDown:!0,disablePortal:!1,fullWidth:!0,open:k,onClose:()=>N(!1),children:o.jsx(q1,{projectType:P,blocklet:c,releaseType:X,projectId:e,releaseId:x,componentDid:p,onPublish:Q,onOpenConnectStore:de,onDelete:g,connectedStores:t.connectedStores||[],publishedStoreIds:u==null?void 0:u.publishedStoreIds})}),o.jsx(Z0,{did:(me=c==null?void 0:c.meta)==null?void 0:me.did,params:t,projectId:e,open:T,setParams:r,onClose:()=>E(!1)})]})}t2.propTypes={projectId:h.string.isRequired,params:h.object.isRequired,mode:h.string.isRequired,loading:h.bool.isRequired,blocklet:h.object.isRequired,release:h.object.isRequired,isPublished:h.bool.isRequired,releaseId:h.string.isRequired,getData:h.func.isRequired,getRelease:h.func.isRequired,componentDid:h.string.isRequired,resourceRelateComponents:h.object.isRequired,disabledSelectComponents:h.bool.isRequired,saveSelectedEventsRef:h.object.isRequired,hasSelectedResources:h.bool.isRequired,initLogoUrl:h.string.isRequired,setLoading:h.func.isRequired,releaseUsedLast:h.bool.isRequired,setReleaseUsedLast:h.func.isRequired,projectType:h.string.isRequired,setParamsErrTip:h.func.isRequired,setParams:h.func.isRequired,initUrl:h.object.isRequired};const c3=ce.div`
|
|
168
168
|
.sticky-header {
|
|
169
169
|
margin-top: -12px;
|
|
170
170
|
padding: 12px 0;
|
|
@@ -178,7 +178,7 @@ import{at as d2,j as o,aG as se,cQ as g0,aK as H,fG as Q1,aJ as we,aE as $e,aF a
|
|
|
178
178
|
padding-bottom: 12px;
|
|
179
179
|
border-bottom: ${({theme:e})=>`1px solid ${e.palette.divider}`};
|
|
180
180
|
}
|
|
181
|
-
`;function o2({text:e}){return e?o.jsx(Q2,{wrapperElement:{"data-color-mode":"light"},source:Y2.sanitize(e),rehypePlugins:[[Z2,{target:"_blank"}]]}):o.jsx(Se,{Icon:Ke})}o2.propTypes={text:h.string.isRequired};function l2({params:e,setParams:t,paramsErrTip:l,loading:s,setParamsErrTip:r,readOnly:a}){var x;const{t:i}=te(),[c,u]=R.useState(a?"preview":"write"),f=(g,z)=>{u(z)};return o.jsxs(y,{sx:{border:"1px solid #fff",width:"100%",borderRadius:2},children:[o.jsxs(y,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:[o.jsx(K,{variant:"h6",fontWeight:"bold",sx:{},children:i("common.introduction")}),o.jsxs(V2,{value:c,onChange:f,"aria-label":"wrapped label tabs example",children:[o.jsx(t0,{value:"write",label:"Write"}),o.jsx(t0,{value:"preview",label:"Preview"})]})]}),o.jsx(y,{display:c==="write"?"block":"none",sx:{width:"100%",marginTop:3},children:o.jsx(Te,{disabled:s||a,sx:{border:"none"},placeholder:`Blocklet ${i("common.introduction")}`,InputProps:{"data-cy":"export-blocklet-introduction",readOnly:a,endAdornment:o.jsxs(k1,{position:"end",children:[((x=e==null?void 0:e.blockletIntroduction)==null?void 0:x.length)||0," / ",ze.PROJECT.MAX_INTRO_LENGTH]})},autoComplete:"off",variant:"outlined",fullWidth:!0,multiline:!0,minRows:4,value:e.blockletIntroduction||"",onChange:g=>{r({blockletIntroduction:""}),t({blockletIntroduction:g.target.value.slice(0,ze.PROJECT.MAX_INTRO_LENGTH)})},error:!!l.blockletIntroduction,helperText:l.blockletIntroduction||""})}),o.jsx(y,{display:c==="preview"?"block":"none",mt:3,children:o.jsx(o2,{text:e.blockletIntroduction||""})})]})}l2.propTypes={params:h.object.isRequired,setParams:h.func.isRequired,paramsErrTip:h.object.isRequired,setParamsErrTip:h.func.isRequired,readOnly:h.bool.isRequired,loading:h.bool.isRequired};var W1={},d3=Ie;Object.defineProperty(W1,"__esModule",{value:!0});var n2=W1.default=void 0,u3=d3(ke()),f0=o;n2=W1.default=(0,u3.default)([(0,f0.jsx)("circle",{cx:"12",cy:"19",r:"2"},"0"),(0,f0.jsx)("path",{d:"M10 3h4v12h-4z"},"1")],"PriorityHigh");function G1({step:e,ok:t,active:l,error:s}){let r="grey.500",a=e+1;return t&&(a=o.jsx(et,{sx:{fontSize:18,margin:0},color:"white"})),s||!t&&l>e?(r="error.main",a=o.jsx(n2,{sx:{fontSize:18,margin:0},color:"white"})):l>=e&&(r="primary.main"),o.jsx(y,{width:24,height:24,bgcolor:r,borderRadius:"100%",color:"white",display:"flex",justifyContent:"center",fontWeight:"bold",fontSize:14,alignItems:"center",children:a})}G1.propTypes={step:h.number,ok:h.bool,active:h.number,error:h.string};G1.defaultProps={step:0,ok:!1,active:0,error:""};function s2({steps:e,activeStep:t,setActiveStep:l,hasSelectedResources:s,params:r,loading:a,paramsErrTip:i,viewMode:c,projectId:u}){const{t:f}=te(),x=()=>{l(d=>d+1)},g=()=>{l(d=>d-1)},z=d=>d===0?(i==null?void 0:i.blockletTitle)||(i==null?void 0:i.projectId)||(i==null?void 0:i.blockletDescription):d===2?i==null?void 0:i.blockletResource:d>=4?(i==null?void 0:i.blockletVersion)||(i==null?void 0:i.note):"",p=c||Y0({hasSelectedResources:s,params:r,projectId:u,t:f})===null;return o.jsxs(y,{sx:{width:300,maxWidth:300,minWidth:300,padding:2,border:"1px solid #ccc",borderRadius:2},children:[o.jsx(ot,{activeStep:t,orientation:"vertical",children:e.map((d,m)=>{const b={},v=a||!a3({hasSelectedResources:s,params:r,projectId:u,step:m,t:f}),C=a?"":z(m);return C&&(b.optional=o.jsx(K,{variant:"caption",color:"error",children:C}),b.error=!0),o.jsxs(lt,{children:[o.jsx(Rt,{icon:o.jsx(G1,{error:C,active:p?99:t,step:m,ok:v}),sx:{cursor:"pointer",color:C?"error.main":"inherit"},disabled:!1,onClick:()=>l(m),...b,children:o.jsx(K,{fontSize:"14px",fontWeight:"500",color:C||!v&&t>m?"error.main":"inherit",children:d.label})}),o.jsxs(It,{children:[o.jsx(K,{fontSize:12,children:d.description}),!p&&o.jsx(y,{sx:{mb:2},children:o.jsxs("div",{children:[m<e.length-1&&o.jsx(ne,{variant:"contained",onClick:x,sx:{mt:1,mr:1},disabled:C||!v,children:f("common.continue")}),m>0&&o.jsx(ne,{disabled:m===0,onClick:g,sx:{mt:1,mr:1},children:f("common.back")})]})})]})]},d.label)})}),t>=e.length-1&&o.jsx(w1,{square:!0,elevation:0,sx:{p:3},children:o.jsx(K,{fontSize:12,sx:{opacity:.5},children:"Click right top button to release"})})]})}s2.propTypes={steps:h.array.isRequired,activeStep:h.number.isRequired,setActiveStep:h.func.isRequired,params:h.object.isRequired,viewMode:h.string.isRequired,loading:h.bool.isRequired,projectId:h.string.isRequired,hasSelectedResources:h.bool.isRequired,paramsErrTip:h.shape({projectId:h.string,blockletVersion:h.string,blockletTitle:h.string,blockletDescription:h.string,note:h.string,blockletResource:h.string}).isRequired};const p3=[".zip",".gz"],h3=1024*1024*100,f3=R.lazy(()=>S0(()=>import("./index-kR3Uq-Mb.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53])).then(e=>({default:e.Uploader})));function K1({app:e,projectId:t,readOnly:l,params:s,setParams:r,setParamsErrTip:a,error:i}){const{t:c}=te(),u=R.useRef(null),f=()=>l?!1:!t||t===J.UNOWNED_DID?(F.error(c("blocklet.publish.errorTip.noFirstDid")),!1):!0,x=`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${e.meta.did}/${t}/resource/upload`;return o.jsxs(y,{sx:{mt:3},children:[o.jsx(K,{gutterBottom:!0,children:c("blocklet.publish.resourceUpload")}),o.jsxs(Be,{direction:"row",alignItems:"center",spacing:1,sx:{flex:1,cursor:l?"default":"pointer"},children:[!!s.uploadedResource&&o.jsx(K,{component:"a",href:`${x}/params.uploadedResource`,children:s.uploadedResource}),!l&&o.jsx(ne,{variant:"outlined",size:"small",onClick:()=>{var g;f()&&((g=u.current)==null||g.open())},children:s.uploadedResource?c("common.change"):c("common.upload")})]}),o.jsx(R.Suspense,{fallback:o.jsx(Ge,{}),children:o.jsx(f3,{ref:u,popup:!0,onUploadFinish:g=>{var z;r({uploadedResource:g.data.filename}),a({blockletResource:""}),(z=u.current)==null||z.close()},plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:x,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileExts:p3,maxFileSize:h3,maxNumberOfFiles:1}}},"uploader-resource")}),!!i&&o.jsx(y,{color:"error.main",mt:1,fontSize:14,children:i})]})}K1.propTypes={app:h.object.isRequired,projectId:h.string.isRequired,readOnly:h.bool.isRequired,params:h.object.isRequired,setParams:h.func.isRequired,error:h.string.isRequired,setParamsErrTip:h.func.isRequired};K1.defaultProps={};function n1({readOnly:e,params:t,setParams:l,paramsErrTip:s,setParamsErrTip:r,loading:a}){var c;const{t:i}=te();return o.jsx(y,{display:"flex",mt:3,className:"section",children:o.jsxs(y,{sx:{flex:1},children:[o.jsx(Te,{required:!0,disabled:a||e,label:`Blocklet ${i("common.version")}`,placeholder:`Blocklet ${i("common.version")}`,InputProps:{"data-cy":"blocklet-version",readOnly:e},autoComplete:"off",variant:"outlined",fullWidth:!0,value:t.blockletVersion||"",onChange:u=>{r({blockletVersion:""}),l({blockletVersion:u.target.value})},error:!!s.blockletVersion,helperText:s.blockletVersion||""}),o.jsx(Te,{label:i("blocklet.publish.releaseNote"),autoComplete:"off",disabled:a||e,variant:"outlined",InputProps:{"data-cy":"release-note",readOnly:e,endAdornment:o.jsxs(k1,{position:"end",children:[((c=t==null?void 0:t.note)==null?void 0:c.length)||0," / ",ze.PROJECT.MAX_NOTE_LENGTH]})},fullWidth:!0,multiline:!0,minRows:4,required:!0,value:t.note||"",onChange:u=>{r({note:""}),l({note:u.target.value.slice(0,ze.PROJECT.MAX_NOTE_LENGTH)})},error:!!s.note,helperText:s.note||"",sx:{mt:3}})]})})}n1.propTypes={readOnly:h.bool.isRequired,params:h.object.isRequired,setParams:h.func.isRequired,paramsErrTip:h.object.isRequired,setParamsErrTip:h.func.isRequired,loading:h.bool.isRequired};n1.defaultProps={};function r2(e){for(const t in e)typeof e[t]=="string"?e[t]=e[t].replace(/\\\\/g,"\\"):typeof e[t]=="object"&&e[t]!==null&&r2(e[t]);return e}const x3=({tabs:e,blocklet:t,ancestors:l=[]})=>{const s=t.meta.did;e.push({label:o.jsxs(y,{display:"flex",alignItems:"center",justifyContent:"flex-start",children:[o.jsx(z1,{size:24,blocklet:t,ancestors:l}),o.jsx(y,{ml:"4px",className:"text",children:o.jsx(y,{children:t.meta.title})})]},s),value:s})},x0=(e,t)=>{const l=j1(e,["blockletVersion","blockletTitle","blockletDescription","blockletLogo","blockletIntroduction","blockletScreenshots","connectedStores","blockletComponents","lastReleaseId","uploadedResource","autoUpload","possibleSameStore","note"]);return l.blockletComponents?l.blockletComponents=l.blockletComponents.map(s=>({...s,included:!0})):l.blockletComponents=(t.children||[]).map(s=>({did:s.meta.did,included:!1,required:!1})),l.resourceFromSelect=!l.uploadedResource,l},m3={0:"branding",1:"introduction",2:"resources",3:"blocklets",4:"version"},m0={branding:0,introduction:1,resources:2,blocklets:3,version:4};function X1({initUrl:e,...t}){var J1;const{projectId:l,mode:s,releaseId:r,componentDid:a=""}=r1(),{t:i}=te(),{blocklet:c}=Ne(),[u,f]=Me({blockletScreenshots:[],publishedStoreIds:[],connectedStores:[],uploadedResource:"",resourceFromSelect:!0}),[x,g]=Me({}),[z,p]=R.useState(!1),[d,m]=Me(null),{api:b}=Re(),v=We(_=>_.breakpoints.down("md")),[C,S]=R.useState({}),[D,L]=R.useState(!1),M=R.useRef({}),[I,q]=Me({}),[V,P]=R.useState(""),[k,N]=Me({}),T=e==null?void 0:e.searchParams.get("dependentComponentsMode"),E=T==="readonly",A=R.useMemo(()=>{const _={};return Object.keys(k).forEach(B=>{const ye=k[B];ye&&ye.forEach(c2=>{_[c2]=!0})}),_},[k]),O=R.useCallback(_=>{E&&f({blockletComponents:[]}),N(_)},[E,N,f]),W=R.useCallback((..._)=>{q(..._),g({blockletResource:""})},[]),X=r==="none"?(u==null?void 0:u.lastReleaseId)||"":r,[Q,re]=R.useState(s==="new-release"?4:0);R.useEffect(()=>{l&&g({projectId:""})},[l,g]);const fe=R.useMemo(()=>{var _;return(_=u==null?void 0:u.blockletComponents)!=null&&_.some(B=>B.included)||Object.keys(A).length||u!=null&&u.uploadedResource?"pack":"resource"},[u==null?void 0:u.blockletComponents,u==null?void 0:u.uploadedResource,A]),de=[],oe=((c==null?void 0:c.children)||[]).filter(_=>{var B;return(B=_.meta.resource)==null?void 0:B.exportApi}).filter(_=>!a||_.meta.did===a);oe.forEach(_=>{x3({tabs:de,blocklet:_,t:i,ancestors:[c]})});const[ee,ae]=R.useState((J1=de[0])==null?void 0:J1.value),xe=!D&&(d==null?void 0:d.status)==="published",Y=xe,me=y2(()=>{if(!e)return;P(e.searchParams.get("logo")),f(B=>{var ye;return{...B,blockletTitle:(B==null?void 0:B.blockletTitle)||e.searchParams.get("title"),blockletDescription:(B==null?void 0:B.blockletDescription)||e.searchParams.get("description"),blockletIntroduction:(B==null?void 0:B.blockletIntroduction)||e.searchParams.get("introduction")||e.searchParams.get("description"),blockletComponents:(ye=B==null?void 0:B.blockletComponents)!=null&&ye.length?B==null?void 0:B.blockletComponents:JSON.parse(e.searchParams.get("components")||"[]"),note:(B==null?void 0:B.note)||e.searchParams.get("note")||"No note"}});const _=e.searchParams.get("resources");try{const B=JSON.parse(_);S(B)}catch{}}),G=async()=>{if(X)try{const _=await b.getRelease({input:{did:c.meta.did,projectId:l,releaseId:X}});if(p(!1),!_.release){F.error("Release not found");return}_.release=r2(_.release),s!=="view"&&(_.release.note=""),f(B=>x0({...B,..._.release,blockletVersion:s==="create"||s==="new-release"?Le.inc(_.release.blockletVersion,"patch"):_.release.blockletVersion},c)),m(_.release)}catch(_){p(!1),F.error(De(_))}},le=async()=>{if(l===J.UNOWNED_DID){f({blockletVersion:"1.0.0",blockletTitle:""});return}if(!l){F.error(i("blocklet.publish.errorTip.noDid"));return}try{const B=(await b.getProject({input:{did:c.meta.did,projectId:l}})).project||{};B.blockletVersion?(s==="create"||s==="new-release")&&Le.valid(B.blockletVersion)&&(B.blockletVersion=Le.inc(B.blockletVersion,"patch")):B.blockletVersion="1.0.0";const ye=x0(B,c);f(ye),B.lastReleaseId||me()}catch(_){F.error(De(_))}},$=R.useCallback(async()=>{p(!0);try{if(s==="view"){if(!X){F.error("Empty release id");return}await le(),await G();return}await le(),X&&(L(!0),await G())}finally{p(!1)}},[s,X]),Xe=_=>{f({blockletComponents:_})};R.useEffect(()=>{$()},[$]),R.useEffect(()=>{l===J.UNOWNED_DID&&(s==="create"||s==="new-release")&&e&&me()},[l,e,s,me]);const _e=R.useMemo(()=>!!Object.keys(I).find(_=>!!I[_].length),[I]);if(!u&&z)return o.jsx(Ge,{});if(!u)return null;const Ee=oe.find(_=>_.meta.did===ee);if(oe.every(_=>_.status!=="running")&&(oe!=null&&oe.length))return o.jsx(Se,{children:i("blocklet.publish.allComponentsNotRunning")});const Je=_=>{ae(_)},U=e==null?void 0:e.searchParams.get("resourcesTitle"),Z=e==null?void 0:e.searchParams.get("componentsTitle"),ue=[{label:i("blocklet.publish.branding"),description:i("blocklet.publish.steps.branding")},{label:i("common.introduction"),description:i("blocklet.publish.steps.introduction")},{label:U||i("blocklet.publish.resourceTitle"),description:i("blocklet.publish.steps.resources")},{label:Z||i("common.components"),description:i("blocklet.publish.steps.blocklets")},{label:i("blocklet.publish.versionTitle"),description:i("blocklet.publish.steps.version")}],a2=ue[Q]||ue[ue.length-1],Ce=m3[Q];return o.jsxs(v3,{...t,children:[o.jsx(t2,{blocklet:c,release:d,getData:$,getRelease:G,mode:s,params:u,setParams:f,setParamsErrTip:g,readOnly:Y,isPublished:xe,loading:z,setLoading:p,initLogoUrl:V,releaseId:X,projectId:l,projectType:fe,resourceComponents:oe,resourceComponentsMap:k,resourceRelateComponents:A,resourceItem:Ee,saveSelectedEventsRef:M,hasSelectedResources:_e,releaseUsedLast:D,setReleaseUsedLast:L,setRelease:m}),o.jsxs(y,{display:"flex",flexDirection:"column",sx:{width:"100%"},children:[o.jsx(y,{pt:3}),o.jsxs(y,{sx:{gap:3},display:"flex",flexDirection:v?"column":"row",children:[!v&&o.jsx(s2,{steps:ue,loading:z,viewMode:s==="view",params:u,hasSelectedResources:_e||u.uploadedResource,paramsErrTip:x,activeStep:Q,setActiveStep:re,projectId:l,resourcesUrlTitle:U,componentsUrlTitle:Z}),o.jsxs(y,{flex:"1",maxWidth:"720px",children:[!v&&Ce!=="introduction"&&o.jsxs(K,{variant:"h6",fontWeight:"bold",display:"flex",flexDirection:"row",alignItems:"center",children:[a2.label,Ce==="branding"&&o.jsx(ge,{title:i("blocklet.publish.brandingHelp"),placement:"right",children:o.jsx(y,{component:"a",target:"_blank",href:"https://www.arcblock.io/docs/blocklet-store/en/blocklet-detail-page",sx:{paddingTop:1,marginLeft:1},style:{color:"gray"},children:o.jsx(N2,{})})})]}),(v||Ce==="branding")&&o.jsx(y,{flexDirection:"column",children:o.jsx(J0,{projectId:l,setParams:f,setParamsErrTip:g,params:u,componentDid:a,blocklet:c,initUrl:e,loading:z,setLoading:p,paramsErrTip:x,readOnly:Y,initLogoUrl:V,setInitLogoUrl:P})}),v&&o.jsx(y,{flexDirection:"column",children:o.jsx(n1,{loading:z,params:u,paramsErrTip:x,setParams:f,setParamsErrTip:g,readOnly:Y})}),(v||Ce==="introduction")&&o.jsx(y,{display:"flex",flexDirection:"column",sx:{mt:v?5:0,width:"100%"},children:o.jsx(l2,{loading:z,readOnly:Y,params:u,setParams:f,paramsErrTip:x,setParamsErrTip:g})}),v&&o.jsx(K,{variant:"h6",fontWeight:"bold",mt:5,children:ue[m0.resources].label}),o.jsx(y,{display:v||Ce==="resources"?"flex":"none",sx:{maxWidth:720},flexDirection:"column",children:o.jsx(y,{display:"flex",mt:3,className:"section full-width",children:o.jsxs(y,{sx:{flex:1},children:[o.jsxs(nt,{onChange:()=>f({resourceFromSelect:!u.resourceFromSelect}),children:[o.jsx(f1,{value:"select",disabled:Y,control:o.jsx(l0,{size:"small",checked:u.resourceFromSelect}),label:i("blocklet.publish.resourceSelect")}),o.jsx(f1,{value:"select",disabled:Y,control:o.jsx(l0,{size:"small",checked:!u.resourceFromSelect}),label:i("blocklet.publish.resourceUpload")})]}),u.resourceFromSelect&&o.jsxs(o.Fragment,{children:[!a&&o.jsx(_2,{tabs:de,current:ee,onChange:Je,sx:{ml:-2,mt:2,maxWidth:v?window.innerWidth-24:"100%"}}),o.jsx($1,{loading:z,initialResources:C,saveSelectedEventsRef:M,selectedResourceIds:I,setSelectedResourceIds:W,setResourceComponentsMap:O,error:x.blockletResource,app:c,readOnly:Y,component:Ee,componentDid:a,initUrl:e,params:u,setParams:f,projectId:l===J.UNOWNED_DID?"":l,releaseUsedLast:D,release:{...d,id:X}})]}),!u.resourceFromSelect&&o.jsx(K1,{app:c,readOnly:Y,projectId:l===J.UNOWNED_DID?"":l,params:u,error:x.blockletResource,setParams:f,setParamsErrTip:g})]})})}),v&&o.jsx(K,{variant:"h6",fontWeight:"bold",mt:5,children:ue[m0.blocklets].label}),(v||Ce==="blocklets")&&o.jsx(y,{flexDirection:"column",children:o.jsx(y,{display:"flex",mt:3,className:"section full-width",children:o.jsx(y,{sx:{flex:1},children:o.jsx(V1,{projectType:fe,disabled:z||Y,app:c,value:(u==null?void 0:u.blockletComponents)||[],onChange:Xe,resourceRelateComponents:A,dependentComponentsMode:T})})})}),!v&&Ce==="version"&&o.jsx(y,{flexDirection:"column",children:o.jsx(n1,{loading:z,params:u,paramsErrTip:x,setParams:f,setParamsErrTip:g,readOnly:Y})})]})]})]})]})}X1.propTypes={initUrl:h.object};X1.defaultProps={initUrl:null};const v3=ce.div`
|
|
181
|
+
`;function o2({text:e}){return e?o.jsx(Q2,{wrapperElement:{"data-color-mode":"light"},source:Y2.sanitize(e),rehypePlugins:[[Z2,{target:"_blank"}]]}):o.jsx(Se,{Icon:Ke})}o2.propTypes={text:h.string.isRequired};function l2({params:e,setParams:t,paramsErrTip:l,loading:s,setParamsErrTip:r,readOnly:a}){var x;const{t:i}=te(),[c,u]=R.useState(a?"preview":"write"),f=(g,z)=>{u(z)};return o.jsxs(y,{sx:{border:"1px solid #fff",width:"100%",borderRadius:2},children:[o.jsxs(y,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:[o.jsx(K,{variant:"h6",fontWeight:"bold",sx:{},children:i("common.introduction")}),o.jsxs(V2,{value:c,onChange:f,"aria-label":"wrapped label tabs example",children:[o.jsx(t0,{value:"write",label:"Write"}),o.jsx(t0,{value:"preview",label:"Preview"})]})]}),o.jsx(y,{display:c==="write"?"block":"none",sx:{width:"100%",marginTop:3},children:o.jsx(Te,{disabled:s||a,sx:{border:"none"},placeholder:`Blocklet ${i("common.introduction")}`,InputProps:{"data-cy":"export-blocklet-introduction",readOnly:a,endAdornment:o.jsxs(k1,{position:"end",children:[((x=e==null?void 0:e.blockletIntroduction)==null?void 0:x.length)||0," / ",ze.PROJECT.MAX_INTRO_LENGTH]})},autoComplete:"off",variant:"outlined",fullWidth:!0,multiline:!0,minRows:4,value:e.blockletIntroduction||"",onChange:g=>{r({blockletIntroduction:""}),t({blockletIntroduction:g.target.value.slice(0,ze.PROJECT.MAX_INTRO_LENGTH)})},error:!!l.blockletIntroduction,helperText:l.blockletIntroduction||""})}),o.jsx(y,{display:c==="preview"?"block":"none",mt:3,children:o.jsx(o2,{text:e.blockletIntroduction||""})})]})}l2.propTypes={params:h.object.isRequired,setParams:h.func.isRequired,paramsErrTip:h.object.isRequired,setParamsErrTip:h.func.isRequired,readOnly:h.bool.isRequired,loading:h.bool.isRequired};var W1={},d3=Ie;Object.defineProperty(W1,"__esModule",{value:!0});var n2=W1.default=void 0,u3=d3(ke()),f0=o;n2=W1.default=(0,u3.default)([(0,f0.jsx)("circle",{cx:"12",cy:"19",r:"2"},"0"),(0,f0.jsx)("path",{d:"M10 3h4v12h-4z"},"1")],"PriorityHigh");function G1({step:e,ok:t,active:l,error:s}){let r="grey.500",a=e+1;return t&&(a=o.jsx(et,{sx:{fontSize:18,margin:0},color:"white"})),s||!t&&l>e?(r="error.main",a=o.jsx(n2,{sx:{fontSize:18,margin:0},color:"white"})):l>=e&&(r="primary.main"),o.jsx(y,{width:24,height:24,bgcolor:r,borderRadius:"100%",color:"white",display:"flex",justifyContent:"center",fontWeight:"bold",fontSize:14,alignItems:"center",children:a})}G1.propTypes={step:h.number,ok:h.bool,active:h.number,error:h.string};G1.defaultProps={step:0,ok:!1,active:0,error:""};function s2({steps:e,activeStep:t,setActiveStep:l,hasSelectedResources:s,params:r,loading:a,paramsErrTip:i,viewMode:c,projectId:u}){const{t:f}=te(),x=()=>{l(d=>d+1)},g=()=>{l(d=>d-1)},z=d=>d===0?(i==null?void 0:i.blockletTitle)||(i==null?void 0:i.projectId)||(i==null?void 0:i.blockletDescription):d===2?i==null?void 0:i.blockletResource:d>=4?(i==null?void 0:i.blockletVersion)||(i==null?void 0:i.note):"",p=c||Y0({hasSelectedResources:s,params:r,projectId:u,t:f})===null;return o.jsxs(y,{sx:{width:300,maxWidth:300,minWidth:300,padding:2,border:"1px solid #ccc",borderRadius:2},children:[o.jsx(ot,{activeStep:t,orientation:"vertical",children:e.map((d,m)=>{const b={},v=a||!a3({hasSelectedResources:s,params:r,projectId:u,step:m,t:f}),C=a?"":z(m);return C&&(b.optional=o.jsx(K,{variant:"caption",color:"error",children:C}),b.error=!0),o.jsxs(lt,{children:[o.jsx(Rt,{icon:o.jsx(G1,{error:C,active:p?99:t,step:m,ok:v}),sx:{cursor:"pointer",color:C?"error.main":"inherit"},disabled:!1,onClick:()=>l(m),...b,children:o.jsx(K,{fontSize:"14px",fontWeight:"500",color:C||!v&&t>m?"error.main":"inherit",children:d.label})}),o.jsxs(It,{children:[o.jsx(K,{fontSize:12,children:d.description}),!p&&o.jsx(y,{sx:{mb:2},children:o.jsxs("div",{children:[m<e.length-1&&o.jsx(ne,{variant:"contained",onClick:x,sx:{mt:1,mr:1},disabled:C||!v,children:f("common.continue")}),m>0&&o.jsx(ne,{disabled:m===0,onClick:g,sx:{mt:1,mr:1},children:f("common.back")})]})})]})]},d.label)})}),t>=e.length-1&&o.jsx(w1,{square:!0,elevation:0,sx:{p:3},children:o.jsx(K,{fontSize:12,sx:{opacity:.5},children:"Click right top button to release"})})]})}s2.propTypes={steps:h.array.isRequired,activeStep:h.number.isRequired,setActiveStep:h.func.isRequired,params:h.object.isRequired,viewMode:h.string.isRequired,loading:h.bool.isRequired,projectId:h.string.isRequired,hasSelectedResources:h.bool.isRequired,paramsErrTip:h.shape({projectId:h.string,blockletVersion:h.string,blockletTitle:h.string,blockletDescription:h.string,note:h.string,blockletResource:h.string}).isRequired};const p3=[".zip",".gz"],h3=1024*1024*100,f3=R.lazy(()=>S0(()=>import("./index-BACiBg8Z.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57])).then(e=>({default:e.Uploader})));function K1({app:e,projectId:t,readOnly:l,params:s,setParams:r,setParamsErrTip:a,error:i}){const{t:c}=te(),u=R.useRef(null),f=()=>l?!1:!t||t===J.UNOWNED_DID?(F.error(c("blocklet.publish.errorTip.noFirstDid")),!1):!0,x=`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${e.meta.did}/${t}/resource/upload`;return o.jsxs(y,{sx:{mt:3},children:[o.jsx(K,{gutterBottom:!0,children:c("blocklet.publish.resourceUpload")}),o.jsxs(Be,{direction:"row",alignItems:"center",spacing:1,sx:{flex:1,cursor:l?"default":"pointer"},children:[!!s.uploadedResource&&o.jsx(K,{component:"a",href:`${x}/params.uploadedResource`,children:s.uploadedResource}),!l&&o.jsx(ne,{variant:"outlined",size:"small",onClick:()=>{var g;f()&&((g=u.current)==null||g.open())},children:s.uploadedResource?c("common.change"):c("common.upload")})]}),o.jsx(R.Suspense,{fallback:o.jsx(Ge,{}),children:o.jsx(f3,{ref:u,popup:!0,onUploadFinish:g=>{var z;r({uploadedResource:g.data.filename}),a({blockletResource:""}),(z=u.current)==null||z.close()},plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:x,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileExts:p3,maxFileSize:h3,maxNumberOfFiles:1}}},"uploader-resource")}),!!i&&o.jsx(y,{color:"error.main",mt:1,fontSize:14,children:i})]})}K1.propTypes={app:h.object.isRequired,projectId:h.string.isRequired,readOnly:h.bool.isRequired,params:h.object.isRequired,setParams:h.func.isRequired,error:h.string.isRequired,setParamsErrTip:h.func.isRequired};K1.defaultProps={};function n1({readOnly:e,params:t,setParams:l,paramsErrTip:s,setParamsErrTip:r,loading:a}){var c;const{t:i}=te();return o.jsx(y,{display:"flex",mt:3,className:"section",children:o.jsxs(y,{sx:{flex:1},children:[o.jsx(Te,{required:!0,disabled:a||e,label:`Blocklet ${i("common.version")}`,placeholder:`Blocklet ${i("common.version")}`,InputProps:{"data-cy":"blocklet-version",readOnly:e},autoComplete:"off",variant:"outlined",fullWidth:!0,value:t.blockletVersion||"",onChange:u=>{r({blockletVersion:""}),l({blockletVersion:u.target.value})},error:!!s.blockletVersion,helperText:s.blockletVersion||""}),o.jsx(Te,{label:i("blocklet.publish.releaseNote"),autoComplete:"off",disabled:a||e,variant:"outlined",InputProps:{"data-cy":"release-note",readOnly:e,endAdornment:o.jsxs(k1,{position:"end",children:[((c=t==null?void 0:t.note)==null?void 0:c.length)||0," / ",ze.PROJECT.MAX_NOTE_LENGTH]})},fullWidth:!0,multiline:!0,minRows:4,required:!0,value:t.note||"",onChange:u=>{r({note:""}),l({note:u.target.value.slice(0,ze.PROJECT.MAX_NOTE_LENGTH)})},error:!!s.note,helperText:s.note||"",sx:{mt:3}})]})})}n1.propTypes={readOnly:h.bool.isRequired,params:h.object.isRequired,setParams:h.func.isRequired,paramsErrTip:h.object.isRequired,setParamsErrTip:h.func.isRequired,loading:h.bool.isRequired};n1.defaultProps={};function r2(e){for(const t in e)typeof e[t]=="string"?e[t]=e[t].replace(/\\\\/g,"\\"):typeof e[t]=="object"&&e[t]!==null&&r2(e[t]);return e}const x3=({tabs:e,blocklet:t,ancestors:l=[]})=>{const s=t.meta.did;e.push({label:o.jsxs(y,{display:"flex",alignItems:"center",justifyContent:"flex-start",children:[o.jsx(z1,{size:24,blocklet:t,ancestors:l}),o.jsx(y,{ml:"4px",className:"text",children:o.jsx(y,{children:t.meta.title})})]},s),value:s})},x0=(e,t)=>{const l=j1(e,["blockletVersion","blockletTitle","blockletDescription","blockletLogo","blockletIntroduction","blockletScreenshots","connectedStores","blockletComponents","lastReleaseId","uploadedResource","autoUpload","possibleSameStore","note"]);return l.blockletComponents?l.blockletComponents=l.blockletComponents.map(s=>({...s,included:!0})):l.blockletComponents=(t.children||[]).map(s=>({did:s.meta.did,included:!1,required:!1})),l.resourceFromSelect=!l.uploadedResource,l},m3={0:"branding",1:"introduction",2:"resources",3:"blocklets",4:"version"},m0={branding:0,introduction:1,resources:2,blocklets:3,version:4};function X1({initUrl:e,...t}){var J1;const{projectId:l,mode:s,releaseId:r,componentDid:a=""}=r1(),{t:i}=te(),{blocklet:c}=Ne(),[u,f]=Pe({blockletScreenshots:[],publishedStoreIds:[],connectedStores:[],uploadedResource:"",resourceFromSelect:!0}),[x,g]=Pe({}),[z,p]=R.useState(!1),[d,m]=Pe(null),{api:b}=Re(),v=We(_=>_.breakpoints.down("md")),[C,S]=R.useState({}),[D,L]=R.useState(!1),P=R.useRef({}),[I,q]=Pe({}),[V,M]=R.useState(""),[k,N]=Pe({}),T=e==null?void 0:e.searchParams.get("dependentComponentsMode"),E=T==="readonly",A=R.useMemo(()=>{const _={};return Object.keys(k).forEach(B=>{const ye=k[B];ye&&ye.forEach(c2=>{_[c2]=!0})}),_},[k]),O=R.useCallback(_=>{E&&f({blockletComponents:[]}),N(_)},[E,N,f]),W=R.useCallback((..._)=>{q(..._),g({blockletResource:""})},[]),X=r==="none"?(u==null?void 0:u.lastReleaseId)||"":r,[Q,re]=R.useState(s==="new-release"?4:0);R.useEffect(()=>{l&&g({projectId:""})},[l,g]);const fe=R.useMemo(()=>{var _;return(_=u==null?void 0:u.blockletComponents)!=null&&_.some(B=>B.included)||Object.keys(A).length||u!=null&&u.uploadedResource?"pack":"resource"},[u==null?void 0:u.blockletComponents,u==null?void 0:u.uploadedResource,A]),de=[],oe=((c==null?void 0:c.children)||[]).filter(_=>{var B;return(B=_.meta.resource)==null?void 0:B.exportApi}).filter(_=>!a||_.meta.did===a);oe.forEach(_=>{x3({tabs:de,blocklet:_,t:i,ancestors:[c]})});const[ee,ae]=R.useState((J1=de[0])==null?void 0:J1.value),xe=!D&&(d==null?void 0:d.status)==="published",Y=xe,me=y2(()=>{if(!e)return;M(e.searchParams.get("logo")),f(B=>{var ye;return{...B,blockletTitle:(B==null?void 0:B.blockletTitle)||e.searchParams.get("title"),blockletDescription:(B==null?void 0:B.blockletDescription)||e.searchParams.get("description"),blockletIntroduction:(B==null?void 0:B.blockletIntroduction)||e.searchParams.get("introduction")||e.searchParams.get("description"),blockletComponents:(ye=B==null?void 0:B.blockletComponents)!=null&&ye.length?B==null?void 0:B.blockletComponents:JSON.parse(e.searchParams.get("components")||"[]"),note:(B==null?void 0:B.note)||e.searchParams.get("note")||"No note"}});const _=e.searchParams.get("resources");try{const B=JSON.parse(_);S(B)}catch{}}),G=async()=>{if(X)try{const _=await b.getRelease({input:{did:c.meta.did,projectId:l,releaseId:X}});if(p(!1),!_.release){F.error("Release not found");return}_.release=r2(_.release),s!=="view"&&(_.release.note=""),f(B=>x0({...B,..._.release,blockletVersion:s==="create"||s==="new-release"?Le.inc(_.release.blockletVersion,"patch"):_.release.blockletVersion},c)),m(_.release)}catch(_){p(!1),F.error(De(_))}},le=async()=>{if(l===J.UNOWNED_DID){f({blockletVersion:"1.0.0",blockletTitle:""});return}if(!l){F.error(i("blocklet.publish.errorTip.noDid"));return}try{const B=(await b.getProject({input:{did:c.meta.did,projectId:l}})).project||{};B.blockletVersion?(s==="create"||s==="new-release")&&Le.valid(B.blockletVersion)&&(B.blockletVersion=Le.inc(B.blockletVersion,"patch")):B.blockletVersion="1.0.0";const ye=x0(B,c);f(ye),B.lastReleaseId||me()}catch(_){F.error(De(_))}},$=R.useCallback(async()=>{p(!0);try{if(s==="view"){if(!X){F.error("Empty release id");return}await le(),await G();return}await le(),X&&(L(!0),await G())}finally{p(!1)}},[s,X]),Xe=_=>{f({blockletComponents:_})};R.useEffect(()=>{$()},[$]),R.useEffect(()=>{l===J.UNOWNED_DID&&(s==="create"||s==="new-release")&&e&&me()},[l,e,s,me]);const _e=R.useMemo(()=>!!Object.keys(I).find(_=>!!I[_].length),[I]);if(!u&&z)return o.jsx(Ge,{});if(!u)return null;const Ee=oe.find(_=>_.meta.did===ee);if(oe.every(_=>_.status!=="running")&&(oe!=null&&oe.length))return o.jsx(Se,{children:i("blocklet.publish.allComponentsNotRunning")});const Je=_=>{ae(_)},U=e==null?void 0:e.searchParams.get("resourcesTitle"),Z=e==null?void 0:e.searchParams.get("componentsTitle"),ue=[{label:i("blocklet.publish.branding"),description:i("blocklet.publish.steps.branding")},{label:i("common.introduction"),description:i("blocklet.publish.steps.introduction")},{label:U||i("blocklet.publish.resourceTitle"),description:i("blocklet.publish.steps.resources")},{label:Z||i("common.components"),description:i("blocklet.publish.steps.blocklets")},{label:i("blocklet.publish.versionTitle"),description:i("blocklet.publish.steps.version")}],a2=ue[Q]||ue[ue.length-1],Ce=m3[Q];return o.jsxs(v3,{...t,children:[o.jsx(t2,{blocklet:c,release:d,getData:$,getRelease:G,mode:s,params:u,setParams:f,setParamsErrTip:g,readOnly:Y,isPublished:xe,loading:z,setLoading:p,initLogoUrl:V,releaseId:X,projectId:l,projectType:fe,resourceComponents:oe,resourceComponentsMap:k,resourceRelateComponents:A,resourceItem:Ee,saveSelectedEventsRef:P,hasSelectedResources:_e,releaseUsedLast:D,setReleaseUsedLast:L,setRelease:m}),o.jsxs(y,{display:"flex",flexDirection:"column",sx:{width:"100%"},children:[o.jsx(y,{pt:3}),o.jsxs(y,{sx:{gap:3},display:"flex",flexDirection:v?"column":"row",children:[!v&&o.jsx(s2,{steps:ue,loading:z,viewMode:s==="view",params:u,hasSelectedResources:_e||u.uploadedResource,paramsErrTip:x,activeStep:Q,setActiveStep:re,projectId:l,resourcesUrlTitle:U,componentsUrlTitle:Z}),o.jsxs(y,{flex:"1",maxWidth:"720px",children:[!v&&Ce!=="introduction"&&o.jsxs(K,{variant:"h6",fontWeight:"bold",display:"flex",flexDirection:"row",alignItems:"center",children:[a2.label,Ce==="branding"&&o.jsx(ge,{title:i("blocklet.publish.brandingHelp"),placement:"right",children:o.jsx(y,{component:"a",target:"_blank",href:"https://www.arcblock.io/docs/blocklet-store/en/blocklet-detail-page",sx:{paddingTop:1,marginLeft:1},style:{color:"gray"},children:o.jsx(N2,{})})})]}),(v||Ce==="branding")&&o.jsx(y,{flexDirection:"column",children:o.jsx(J0,{projectId:l,setParams:f,setParamsErrTip:g,params:u,componentDid:a,blocklet:c,initUrl:e,loading:z,setLoading:p,paramsErrTip:x,readOnly:Y,initLogoUrl:V,setInitLogoUrl:M})}),v&&o.jsx(y,{flexDirection:"column",children:o.jsx(n1,{loading:z,params:u,paramsErrTip:x,setParams:f,setParamsErrTip:g,readOnly:Y})}),(v||Ce==="introduction")&&o.jsx(y,{display:"flex",flexDirection:"column",sx:{mt:v?5:0,width:"100%"},children:o.jsx(l2,{loading:z,readOnly:Y,params:u,setParams:f,paramsErrTip:x,setParamsErrTip:g})}),v&&o.jsx(K,{variant:"h6",fontWeight:"bold",mt:5,children:ue[m0.resources].label}),o.jsx(y,{display:v||Ce==="resources"?"flex":"none",sx:{maxWidth:720},flexDirection:"column",children:o.jsx(y,{display:"flex",mt:3,className:"section full-width",children:o.jsxs(y,{sx:{flex:1},children:[o.jsxs(nt,{onChange:()=>f({resourceFromSelect:!u.resourceFromSelect}),children:[o.jsx(f1,{value:"select",disabled:Y,control:o.jsx(l0,{size:"small",checked:u.resourceFromSelect}),label:i("blocklet.publish.resourceSelect")}),o.jsx(f1,{value:"select",disabled:Y,control:o.jsx(l0,{size:"small",checked:!u.resourceFromSelect}),label:i("blocklet.publish.resourceUpload")})]}),u.resourceFromSelect&&o.jsxs(o.Fragment,{children:[!a&&o.jsx(_2,{tabs:de,current:ee,onChange:Je,sx:{ml:-2,mt:2,maxWidth:v?window.innerWidth-24:"100%"}}),o.jsx($1,{loading:z,initialResources:C,saveSelectedEventsRef:P,selectedResourceIds:I,setSelectedResourceIds:W,setResourceComponentsMap:O,error:x.blockletResource,app:c,readOnly:Y,component:Ee,componentDid:a,initUrl:e,params:u,setParams:f,projectId:l===J.UNOWNED_DID?"":l,releaseUsedLast:D,release:{...d,id:X}})]}),!u.resourceFromSelect&&o.jsx(K1,{app:c,readOnly:Y,projectId:l===J.UNOWNED_DID?"":l,params:u,error:x.blockletResource,setParams:f,setParamsErrTip:g})]})})}),v&&o.jsx(K,{variant:"h6",fontWeight:"bold",mt:5,children:ue[m0.blocklets].label}),(v||Ce==="blocklets")&&o.jsx(y,{flexDirection:"column",children:o.jsx(y,{display:"flex",mt:3,className:"section full-width",children:o.jsx(y,{sx:{flex:1},children:o.jsx(V1,{projectType:fe,disabled:z||Y,app:c,value:(u==null?void 0:u.blockletComponents)||[],onChange:Xe,resourceRelateComponents:A,dependentComponentsMode:T})})})}),!v&&Ce==="version"&&o.jsx(y,{flexDirection:"column",children:o.jsx(n1,{loading:z,params:u,paramsErrTip:x,setParams:f,setParamsErrTip:g,readOnly:Y})})]})]})]})]})}X1.propTypes={initUrl:h.object};X1.defaultProps={initUrl:null};const v3=ce.div`
|
|
182
182
|
.section {
|
|
183
183
|
&.full-width {
|
|
184
184
|
max-width: 100%;
|