@abtnode/blocklet-services 1.16.34-beta-20241126-104450-d60e25c2 → 1.16.34-beta-20241127-121930-0923dfae
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/libs/image.js +3 -2
- package/api/libs/open-graph/index.js +24 -7
- package/api/routes/blocklet.js +2 -1
- package/api/services/image/index.js +16 -3
- package/dist/assets/{Add-CEnYgOex.js → Add-B6Ua6q-Z.js} +1 -1
- package/dist/assets/{Alert-CUutCRQM.js → Alert-CWJPPP63.js} +1 -1
- package/dist/assets/{ArrowDropDown-DIG2GNpA.js → ArrowDropDown-BgPwecc9.js} +1 -1
- package/dist/assets/{Autocomplete-BaPr9QiM.js → Autocomplete-D3KoPHQM.js} +1 -1
- package/dist/assets/{Avatar-CeWQngrs.js → Avatar-D2r2PRgc.js} +1 -1
- package/dist/assets/{ButtonGroup-CfPEps06.js → ButtonGroup-DUcvj0JP.js} +1 -1
- package/dist/assets/{CSSTransition-BZUscMXa.js → CSSTransition-RPNtr5GO.js} +1 -1
- package/dist/assets/{CheckCircle-CL0KsA5E.js → CheckCircle-sPepMcgF.js} +1 -1
- package/dist/assets/{ChevronLeft-Qerk8qgF.js → ChevronLeft-CnA-vGpD.js} +1 -1
- package/dist/assets/{ChevronRight-CSGwuunG.js → ChevronRight-BDSOab3L.js} +1 -1
- package/dist/assets/{Close-D6sXyhlH.js → Close-Bwwj0idf.js} +1 -1
- package/dist/assets/{Delete-CmO5kVHD.js → Delete-s2NC3KEw.js} +1 -1
- package/dist/assets/{DeleteOutline-8UjaH55s.js → DeleteOutline-CIxtpsDT.js} +1 -1
- package/dist/assets/{DialogContentText-B00yXaoi.js → DialogContentText-C-7SR9C-.js} +1 -1
- package/dist/assets/{Done-Dgvss9oA.js → Done-D9WIbYXR.js} +1 -1
- package/dist/assets/{Download-ChsqP0uH.js → Download-CqE0jRjy.js} +1 -1
- package/dist/assets/EditIcon-BZlum5dn.js +1 -0
- package/dist/assets/{Error-FscbJgp7.js → Error-DtG_nJnF.js} +1 -1
- package/dist/assets/{ExpandMore-GfZ-uN5v.js → ExpandMore-5W_549ow.js} +1 -1
- package/dist/assets/{FormControl-C6JD7494.js → FormControl-D38v2z67.js} +1 -1
- package/dist/assets/{FormControlLabel-X8LKIHS4.js → FormControlLabel-BxRswD5v.js} +1 -1
- package/dist/assets/{FormGroup-NRynWVWb.js → FormGroup-Dtv1bjEg.js} +1 -1
- package/dist/assets/{Google-SNXE1Rfm.js → Google-qI8npLuN.js} +1 -1
- package/dist/assets/{Grid-CMn9enps.js → Grid-BA09q8_6.js} +1 -1
- package/dist/assets/{HelpOutline-DMKvoG5B.js → HelpOutline-D7SWssuj.js} +1 -1
- package/dist/assets/{Hidden-CuDy4bSo.js → Hidden-CxNxqyOD.js} +1 -1
- package/dist/assets/{InfoOutlined-DRNI79ap.js → InfoOutlined-BFgnejR3.js} +1 -1
- package/dist/assets/{InputAdornment-trK1o6Ra.js → InputAdornment-DswAHyKT.js} +1 -1
- package/dist/assets/{LastPage-DWacMALj.js → LastPage-tIk3DwvT.js} +1 -1
- package/dist/assets/{Launch-nHt2LvAq.js → Launch-BBO9P6pW.js} +1 -1
- package/dist/assets/{LaunchOutlined-A7b6W5__.js → LaunchOutlined-CHU3XSU7.js} +1 -1
- package/dist/assets/{Link-DmneDBbP.js → Link-BdhOk-uG.js} +1 -1
- package/dist/assets/{ListItemButton-CKeRCJ5w.js → ListItemButton-CvN22ZX5.js} +1 -1
- package/dist/assets/{ListSubheader-K22abWoa.js → ListSubheader-BjVS24fA.js} +1 -1
- package/dist/assets/{LoadingButton-BDgaeIOh.js → LoadingButton-BS19Y6Tw.js} +1 -1
- package/dist/assets/LockIcon-BSrbW2OE.js +1 -0
- package/dist/assets/{Loop-FfybK8NL.js → Loop-CXmGQ_OC.js} +1 -1
- package/dist/assets/{MarkEmailRead-Dc6AcWRS.js → MarkEmailRead-BT2Vq33O.js} +1 -1
- package/dist/assets/Menu-DDbT3zvj.js +1 -0
- package/dist/assets/{MoreHoriz-QJ-dNyyA.js → MoreHoriz-DPe0cN5I.js} +1 -1
- package/dist/assets/{MoreVert-B46gT3ic.js → MoreVert-C7wRaOtv.js} +1 -1
- package/dist/assets/{OpenInNew-BGNoXYXt.js → OpenInNew-CXwMNDRH.js} +1 -1
- package/dist/assets/{Pagination-BfKMdjic.js → Pagination-BAVQqann.js} +1 -1
- package/dist/assets/{PlayArrow-BCwK0VYi.js → PlayArrow-cvQuZ8GO.js} +1 -1
- package/dist/assets/QuestionMarkCircle-MfFIsz6w.js +1 -0
- package/dist/assets/{RadioGroup-BM5Kucog.js → RadioGroup-Bg1SV6KY.js} +1 -1
- package/dist/assets/{Search-vKjAZRDI.js → Search-BqBCe5ki.js} +1 -1
- package/dist/assets/{Select-NBBlNRtC.js → Select-YmfypP2F.js} +2 -2
- package/dist/assets/ServerLogo-BxkjdQYl.js +1 -0
- package/dist/assets/{Skeleton-jwrjHAcT.js → Skeleton-CACxc5Uz.js} +1 -1
- package/dist/assets/{Slider-CJXmz9ej.js → Slider-CzpmIBcy.js} +1 -1
- package/dist/assets/{Stack-DXMuFZOU.js → Stack-D1S3xkvy.js} +1 -1
- package/dist/assets/{Stepper-mdLmfHWu.js → Stepper-BXsAA8yH.js} +1 -1
- package/dist/assets/{TextField-BE9HBBNF.js → TextField-BUFHAnNK.js} +1 -1
- package/dist/assets/{Toolbar-7qNQ4bZ4.js → Toolbar-JUHTVGzV.js} +1 -1
- package/dist/assets/{ViewColumn-BeJAI0RW.js → ViewColumn-jrdyac4S.js} +1 -1
- package/dist/assets/{ViewList-BTSZluzD.js → ViewList-B3smRpWd.js} +1 -1
- package/dist/assets/{_createAggregator-Cmwsfh55.js → _createAggregator-DYS_Ds6-.js} +1 -1
- package/dist/assets/{access-control-PlOvJ_AO.js → access-control-f0MW9Zgj.js} +1 -1
- package/dist/assets/{actions-BHddSviS.js → actions-Dibi1EdH.js} +1 -1
- package/dist/assets/{add-component-core-B1Zb7GR1.js → add-component-core-DP59PpwH.js} +2 -2
- package/dist/assets/add-resource-BGwTxNy-.js +1 -0
- package/dist/assets/addon-C-v40wwX.js +31 -0
- package/dist/assets/analytics-CHoNglPk.js +52 -0
- package/dist/assets/api-BGevyJlL.js +1 -0
- package/dist/assets/ar-IGiynOFu.js +1 -0
- package/dist/assets/{audit-logs-DGf6UpQ9.js → audit-logs-DtIh4hiz.js} +1 -1
- package/dist/assets/{base32-CqVdgCv-.js → base32-DCObnDPa.js} +1 -1
- package/dist/assets/{branding-D9mZ97it.js → branding-ZQ4CmDsH.js} +2 -2
- package/dist/assets/{bundle-avatar-CmcJLcUi.js → bundle-avatar-meR-iuh8.js} +1 -1
- package/dist/assets/{button-f1MmdcUZ.js → button-NZaA5M6t.js} +1 -1
- package/dist/assets/{click-to-copy-DvwHcRcx.js → click-to-copy-2G3TnzwZ.js} +1 -1
- package/dist/assets/{complete-Cm-0T_kv.js → complete-CziCaD75.js} +4 -4
- package/dist/assets/{component-COIRVrMw.js → component-wQAbt5Q3.js} +1 -1
- package/dist/assets/{config-Csj5xBon.js → config-BcpIe2R7.js} +1 -1
- package/dist/assets/{config-DFQuXpSq.js → config-D5SS71IZ.js} +2 -2
- package/dist/assets/{config-navigation-BeY6OIBs.js → config-navigation-CCtGjPQJ.js} +1 -1
- package/dist/assets/{config-space-B-uzzQOf.js → config-space-CXlvk2nD.js} +1 -1
- package/dist/assets/{confirm-BeuzMgKx.js → confirm-CRz8exrR.js} +1 -1
- package/dist/assets/{connect-BXJ-zYBM.js → connect-CNahQIe6.js} +1 -1
- package/dist/assets/{connect-DyhXk7LV.js → connect-DXdc9kWf.js} +1 -1
- package/dist/assets/{connect-to-ClkUUvxy.js → connect-to-C0srwZbp.js} +1 -1
- package/dist/assets/{content-layout-BuukPoQq.js → content-layout-DCC3N0Ow.js} +1 -1
- package/dist/assets/{dashboard-lE_T9vNV.js → dashboard-wctDSPQY.js} +10 -10
- package/dist/assets/de-C5dj0Xqf.js +1 -0
- package/dist/assets/{deprecate-Ohw0wM22.js → deprecate-FglFs_bk.js} +1 -1
- package/dist/assets/{did-address-Dl7sEfPI.js → did-address-BkdwWWEb.js} +1 -1
- package/dist/assets/{domain-0D6iyno8.js → domain-CHeNVNMy.js} +1 -1
- package/dist/assets/{domain-list-DPC_fR4s.js → domain-list-DgXgEmUx.js} +1 -1
- package/dist/assets/{email-Dxr-3jU8.js → email-C6LgzIfO.js} +3 -3
- package/dist/assets/emotion-cache.browser.esm-C8uPGoLI.js +1 -0
- package/dist/assets/es-CtZrebqK.js +1 -0
- package/dist/assets/{exchange-passport-be-akwXh.js → exchange-passport-B-EhCwOs.js} +1 -1
- package/dist/assets/fallback-C6VgQPYP.js +15 -0
- package/dist/assets/{form-text-input-DqB1EkYl.js → form-text-input-DZNGnBl-.js} +2 -2
- package/dist/assets/{format-error-ax9-5p2F.js → format-error-CsY5MTO-.js} +1 -1
- package/dist/assets/fr-AxDVLuWz.js +1 -0
- package/dist/assets/{fuel-M6wo1TMe.js → fuel-BE4OI5l7.js} +1 -1
- package/dist/assets/fullpage-D7RBGcpO.js +1 -0
- package/dist/assets/hi-RUZ0vBCk.js +1 -0
- package/dist/assets/{home-Sj4zjS4-.js → home-BDB4_nh_.js} +1 -1
- package/dist/assets/id-DsdmMEGZ.js +1 -0
- package/dist/assets/{iframe-0YsarcCH.js → iframe-CdHTiw1F.js} +1 -1
- package/dist/assets/index-3zMmyPq0.js +222 -0
- package/dist/assets/{index-DUCjQn9B.js → index-64M3FvoQ.js} +6 -6
- package/dist/assets/{index-k1mDfWTu.js → index-8Uzxcrqs.js} +1 -1
- package/dist/assets/{index-3ihUy4xD.js → index-B3M4QG77.js} +1 -1
- package/dist/assets/{index-D8NuaJ66.css → index-B4oT57Ax.css} +1 -1
- package/dist/assets/{index-DhEfbg1G.js → index-B5XDziuX.js} +1 -1
- package/dist/assets/{index-DkC4Z7ZS.js → index-B9ApMsSr.js} +1 -1
- package/dist/assets/index-B9T9perk.js +721 -0
- package/dist/assets/{index-XgLsjfUY.js → index-BAMc05XV.js} +1 -1
- package/dist/assets/index-BQKTX3TH.js +134 -0
- package/dist/assets/index-BWSzmUO8.js +102 -0
- package/dist/assets/{index-DSgReUML.js → index-BbNdCg0Y.js} +1 -1
- package/dist/assets/index-C-5E9QTe.js +11 -0
- package/dist/assets/{index-L1uvdKP1.js → index-C0UyxGZY.js} +2 -2
- package/dist/assets/{index-CmjMRcmz.js → index-C5-NGiut.js} +1 -1
- package/dist/assets/index-CBRA0x7Q.js +1 -0
- package/dist/assets/{index-BcngleaY.js → index-CYEg2-8x.js} +1 -1
- package/dist/assets/{index-CfzGAVxb.js → index-CcastwQZ.js} +2 -2
- package/dist/assets/{index-Ctype_yD.js → index-CdP156si.js} +1 -1
- package/dist/assets/{index-Drscafxp.js → index-CdgjvQxC.js} +133 -133
- package/dist/assets/index-Cv7pzw89.js +291 -0
- package/dist/assets/index-D0t4oon5.js +12 -0
- package/dist/assets/index-D_HGuArr.js +1 -0
- package/dist/assets/{index-CB8xpfia.js → index-DeKdvlFq.js} +1 -1
- package/dist/assets/{index-CM5-ZMwr.js → index-Dl244yi8.js} +4 -4
- package/dist/assets/{index-BFoE_Yt3.js → index-Dob_tNHw.js} +1 -1
- package/dist/assets/{index-sgeabixm.js → index-Dt7ERxZ3.js} +17 -17
- package/dist/assets/{index-Dv3UtNf0.js → index-DzNuKWIR.js} +1 -1
- package/dist/assets/index-M6u08XZP.js +23 -0
- package/dist/assets/{index-BPPZQpLf.js → index-QfRVoAyB.js} +1 -1
- package/dist/assets/{index-BdQKsIdG.js → index-deUlJetP.js} +11 -11
- package/dist/assets/{index-BPIr1Ect.js → index-fvB3wuMp.js} +1 -1
- package/dist/assets/{index-KQCKuBQl.js → index-knWkj8AE.js} +1 -1
- package/dist/assets/{index-emWbc0aq.js → index-wl3skyrX.js} +1 -1
- package/dist/assets/{index-C94zTqbe.js → index-x8tkXY5V.js} +1 -1
- package/dist/assets/{invitation-woQ5Oz_M.js → invitation-B-19u0zg.js} +1 -1
- package/dist/assets/{invite-BVQ7mP5X.js → invite-DPOy64nF.js} +1 -1
- package/dist/assets/{isEmail-B5vNiuJV.js → isEmail-LKjM3fdO.js} +1 -1
- package/dist/assets/{issue-passport-BVA9lwvN.js → issue-passport-QnXwWENR.js} +1 -1
- package/dist/assets/{item-CozCCAB-.js → item-BY7CX9DM.js} +1 -1
- package/dist/assets/ja-DTDtkp5G.js +1 -0
- package/dist/assets/{jss-plugin-props-sort.esm-DqLky9fL.js → jss-plugin-props-sort.esm-DZ0QxdlL.js} +4 -4
- package/dist/assets/ko-DgLbeBNo.js +1 -0
- package/dist/assets/{launch-result-message-BHmkx4EK.js → launch-result-message-CAyNosT8.js} +1 -1
- package/dist/assets/{layout-BjYG2I0e.js → layout-Cc6IR4Xp.js} +1 -1
- package/dist/assets/lexend-latin-400-normal-CPgf14r2.woff +0 -0
- package/dist/assets/lexend-latin-400-normal-LvJAK7uG.woff2 +0 -0
- package/dist/assets/lexend-latin-600-normal-D8bhWLUa.woff +0 -0
- package/dist/assets/lexend-latin-600-normal-VdgXozci.woff2 +0 -0
- package/dist/assets/lexend-latin-ext-400-normal-B0aX7OG-.woff +0 -0
- package/dist/assets/lexend-latin-ext-400-normal-BlThJp1_.woff2 +0 -0
- package/dist/assets/lexend-latin-ext-600-normal-CELw40v5.woff +0 -0
- package/dist/assets/lexend-latin-ext-600-normal-rzWO8Q-F.woff2 +0 -0
- package/dist/assets/lexend-vietnamese-400-normal-BAxGSwny.woff +0 -0
- package/dist/assets/lexend-vietnamese-400-normal-DoLa7jNB.woff2 +0 -0
- package/dist/assets/lexend-vietnamese-600-normal-BiQS-yCJ.woff +0 -0
- package/dist/assets/lexend-vietnamese-600-normal-Cr1ePs6O.woff2 +0 -0
- package/dist/assets/list-header-CTKuPXBC.js +57 -0
- package/dist/assets/localization-D7g53qeR.js +1 -0
- package/dist/assets/{log-BWvBeyFu.js → log-DkVkil0j.js} +1 -1
- package/dist/assets/{login-BmaH-PFO.js → login-B9mkuN1r.js} +1 -1
- package/dist/assets/{login-oauth-callback-jcq2ro8T.js → login-oauth-callback-B8IM5sRf.js} +1 -1
- package/dist/assets/{logo-uploader-DRw1h7P9.js → logo-uploader-B7IPezmK.js} +3 -3
- package/dist/assets/{lost-passport-DwrNxBrg.js → lost-passport-okkyxvyK.js} +3 -3
- package/dist/assets/{lottie-react.esm-Crfv_vrn.js → lottie-react.esm-amlTBYrq.js} +1 -1
- package/dist/assets/{notifications-C6hijIai.js → notifications-x-_0y6ay.js} +1 -1
- package/dist/assets/{open-window-C0yEQai7.js → open-window-Dsehi6Pa.js} +1 -1
- package/dist/assets/{overview-DdYvrtas.js → overview-pKFxQLkN.js} +1 -1
- package/dist/assets/{page-header-DfEZNX4T.js → page-header-CYu3_H82.js} +1 -1
- package/dist/assets/{permission-C34_PWS3.js → permission-Bw97vdZf.js} +1 -1
- package/dist/assets/{preferences-T7CTeNR7.js → preferences-BQUunT_2.js} +1 -1
- package/dist/assets/pt-CZCvruh-.js +1 -0
- package/dist/assets/publish-resource-kR9OHRdE.js +1 -0
- package/dist/assets/{raf-schd.esm-D8AMXkr5.js → raf-schd.esm-CR0Pt1CF.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-DVrxw2Fw.js → react-beautiful-dnd.esm-Cp27_Z2H.js} +1 -1
- package/dist/assets/refType-BCOesXZo.js +1 -0
- package/dist/assets/resource-dialog-CQ8ePIzz.js +4 -0
- package/dist/assets/ru-D_KkTcPZ.js +1 -0
- package/dist/assets/sdk-Dtv_Cfx3.js +1 -0
- package/dist/assets/selector-BR2XoI6A.js +48 -0
- package/dist/assets/session-BhpnDl9E.js +1 -0
- package/dist/assets/setup-BntqqJam.js +19 -0
- package/dist/assets/{shorten-label-DgSj_iKd.js → shorten-label-BYD4zgYF.js} +1 -1
- package/dist/assets/{simple-select-D5JsYrcp.js → simple-select-BSiU44cf.js} +1 -1
- package/dist/assets/{slicedToArray-BvEze-go.js → slicedToArray-B3EJlOBV.js} +2 -2
- package/dist/assets/{start-DMZ_83G5.js → start-B6pKpEk6.js} +1 -1
- package/dist/assets/{step-actions-BhqRwM1p.js → step-actions-BGpXjOsH.js} +1 -1
- package/dist/assets/{studio-CJHXx3nz.js → studio-RgHJ4uhM.js} +1 -1
- package/dist/assets/{switch-control-BCRT7NPQ.js → switch-control-OVb1BwTo.js} +1 -1
- package/dist/assets/th-2G8RPPGN.js +1 -0
- package/dist/assets/{toUpper-VL7Bgo0i.js → toUpper-DZIzLyKU.js} +1 -1
- package/dist/assets/{transfer-v1LLtXqH.js → transfer-D-jivKPt.js} +1 -1
- package/dist/assets/trim-BV_NDhVJ.js +1 -0
- package/dist/assets/{uniqBy-Ds-3fKqa.js → uniqBy-BnPjLUjC.js} +1 -1
- package/dist/assets/{unsubscribe-BVuSOEEx.js → unsubscribe--o-tBu4k.js} +1 -1
- package/dist/assets/{url-join-CJw6XrTa.js → url-join-DEFKjkns.js} +1 -1
- package/dist/assets/{use-mobile-CK46GXLD.js → use-mobile-iElkM1XK.js} +1 -1
- package/dist/assets/{use-mobile-BOfpe7EU.js → use-mobile-ys1gCl_z.js} +1 -1
- package/dist/assets/{useAsync-B3AEn2Wm.js → useAsync-uZ9Wuln3.js} +1 -1
- package/dist/assets/{useFormControl-DzctaIge.js → useFormControl-CKpzs7q1.js} +1 -1
- package/dist/assets/useLocalStorage-BhUUdeSi.js +1 -0
- package/dist/assets/{useSetState-Byn4PXJ9.js → useSetState-GTMZIRrt.js} +1 -1
- package/dist/assets/{useSlot-BcOJq--Y.js → useSlot-h7rz3Ehc.js} +1 -1
- package/dist/assets/{useSlotProps-Cm4YEMsK.js → useSlotProps-CHK9ut6X.js} +1 -1
- package/dist/assets/{useThemeProps-BCjwemRG.js → useThemeProps-D3g52yHb.js} +1 -1
- package/dist/assets/user-center-COK230kp.js +1 -0
- package/dist/assets/{user-sessions-D7CwcMwf.js → user-sessions-B7LrJMkc.js} +1 -1
- package/dist/assets/{util-tRug1FPz.js → util-Bami76iP.js} +1 -1
- package/dist/assets/vi-Bj0Zh1pF.js +1 -0
- package/dist/assets/wrap-locale-sAzfVK-h.js +1 -0
- package/dist/assets/{zh-A1yYniN5.js → zh-B7Ba_Kee.js} +1 -1
- package/dist/assets/zh-tw-ChudOecJ.js +1 -0
- package/dist/index.html +2 -2
- package/dist/service-worker.js +1 -1
- package/package.json +36 -36
- package/dist/assets/EditIcon-COwmruWo.js +0 -1
- package/dist/assets/LockIcon-HEOjrnKf.js +0 -1
- package/dist/assets/Menu-ICImY48f.js +0 -1
- package/dist/assets/QuestionMarkCircle-BRwsi4c3.js +0 -1
- package/dist/assets/ServerLogo-Be4McAaJ.js +0 -1
- package/dist/assets/add-resource-D1dS9Z66.js +0 -1
- package/dist/assets/addon-FDUmsP1a.js +0 -31
- package/dist/assets/analytics-DasUNOZZ.js +0 -52
- package/dist/assets/api-CHM7C61K.js +0 -1
- package/dist/assets/ar-CmDfOHUd.js +0 -1
- package/dist/assets/de-CXIPlUxD.js +0 -1
- package/dist/assets/emotion-cache.browser.esm-OvB3R1tt.js +0 -1
- package/dist/assets/es-B50lAPD2.js +0 -1
- package/dist/assets/fallback-BtrnFKYB.js +0 -15
- package/dist/assets/fr-CUxIEpIE.js +0 -1
- package/dist/assets/fullpage-Be5VLtbn.js +0 -1
- package/dist/assets/hi-wDpKXbu9.js +0 -1
- package/dist/assets/id-DEzHxPLY.js +0 -1
- package/dist/assets/index-B4pJXjk5.js +0 -721
- package/dist/assets/index-BpmSJ9Yl.js +0 -1
- package/dist/assets/index-Bs6sOIsv.js +0 -11
- package/dist/assets/index-CToJFS2F.js +0 -102
- package/dist/assets/index-Chx10XyZ.js +0 -134
- package/dist/assets/index-CsIL9BNL.js +0 -1
- package/dist/assets/index-D1gRNL5z.js +0 -291
- package/dist/assets/index-RI50EWV7.js +0 -23
- package/dist/assets/index-dwIzYyMO.js +0 -12
- package/dist/assets/index-lNUKqVwv.js +0 -222
- package/dist/assets/ja-e3wmzqpV.js +0 -1
- package/dist/assets/ko-9yz1hS_o.js +0 -1
- package/dist/assets/list-header-U7WlkshP.js +0 -57
- package/dist/assets/localization-BhW_1W55.js +0 -1
- package/dist/assets/pt-B3sa7Mxx.js +0 -1
- package/dist/assets/publish-resource-RK5OgLdI.js +0 -1
- package/dist/assets/refType-CRusJQhT.js +0 -1
- package/dist/assets/resource-dialog-CQkjcdEl.js +0 -4
- package/dist/assets/ru-NJ14fMtU.js +0 -1
- package/dist/assets/sdk-D9DeARmG.js +0 -1
- package/dist/assets/selector-DyynUZ1K.js +0 -48
- package/dist/assets/session-DwStRueZ.js +0 -1
- package/dist/assets/setup-BM9MxCRJ.js +0 -19
- package/dist/assets/th-D44cwFba.js +0 -1
- package/dist/assets/trim-DP0jYool.js +0 -1
- package/dist/assets/useLocalStorage-C6aEhqFy.js +0 -1
- package/dist/assets/user-center-CgfPJ8DB.js +0 -1
- package/dist/assets/vi-D_0aqEIk.js +0 -1
- package/dist/assets/wrap-locale-CQSXZnej.js +0 -1
- package/dist/assets/zh-tw-W4HWUCjf.js +0 -1
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-sgeabixm.js","assets/index-Drscafxp.js","assets/index-D8NuaJ66.css","assets/url-join-CJw6XrTa.js","assets/index-KQCKuBQl.js","assets/_createAggregator-Cmwsfh55.js","assets/index-CmjMRcmz.js","assets/index-Dv3UtNf0.js","assets/index-DUCjQn9B.js","assets/fallback-BtrnFKYB.js","assets/index-B4pJXjk5.js","assets/Menu-ICImY48f.js","assets/Toolbar-7qNQ4bZ4.js","assets/Hidden-CuDy4bSo.js","assets/index-Bs6sOIsv.js","assets/MoreVert-B46gT3ic.js","assets/FormControlLabel-X8LKIHS4.js","assets/useFormControl-DzctaIge.js","assets/Stack-DXMuFZOU.js","assets/ListItemButton-CKeRCJ5w.js","assets/selector-DyynUZ1K.js","assets/ExpandMore-GfZ-uN5v.js","assets/Avatar-CeWQngrs.js","assets/useSlot-BcOJq--Y.js","assets/resource-dialog-CQkjcdEl.js","assets/index-CToJFS2F.js","assets/emotion-cache.browser.esm-OvB3R1tt.js","assets/index-RI50EWV7.js","assets/OpenInNew-BGNoXYXt.js","assets/index-BPPZQpLf.js","assets/Link-DmneDBbP.js","assets/Skeleton-jwrjHAcT.js","assets/HelpOutline-DMKvoG5B.js","assets/index-DSgReUML.js","assets/ButtonGroup-CfPEps06.js","assets/DialogContentText-B00yXaoi.js","assets/TextField-BE9HBBNF.js","assets/FormControl-C6JD7494.js","assets/Select-NBBlNRtC.js","assets/use-mobile-BOfpe7EU.js","assets/index-BpmSJ9Yl.js","assets/index-dwIzYyMO.js","assets/index-BcngleaY.js","assets/index-DkC4Z7ZS.js","assets/useThemeProps-BCjwemRG.js","assets/toPropertyKey-PLuKRk1e.js","assets/index-DhEfbg1G.js","assets/redux-CluOqhW1.js","assets/ViewColumn-BeJAI0RW.js","assets/FormGroup-NRynWVWb.js","assets/Grid-CMn9enps.js","assets/Delete-CmO5kVHD.js","assets/LastPage-DWacMALj.js","assets/Search-vKjAZRDI.js","assets/deprecate-Ohw0wM22.js","assets/uniqBy-Ds-3fKqa.js","assets/toUpper-VL7Bgo0i.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 je,aG as $e,aH as Fe,T as K,r as w,aK as g1,aN as u2,aO as Ue,aP as qe,cY as p2,fK as r1,Z as Se,$ as ke,a1 as We,B as g,P as h,G as J,e as b1,u as te,aR as we,a_ as De,bz as i1,a3 as o1,L as ue,bL as b0,a as ve,aE as ge,N as h2,t as U,a0 as ce,dG as f2,ac as ye,c as pe,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 l1,bo as R0,el as C0,ak as w1,bp as y0,cA as z0,aV as Oe,aU as w2,a5 as S0,fM as Z1,fj as Pe,bm as R2,aw as k0,c3 as C2,l as y2,aD as z2,as as S2,at as d1}from"./index-Drscafxp.js";import{d as R1}from"./Add-CEnYgOex.js";import{d as I0,a as k2}from"./Delete-CmO5kVHD.js";import{d as I2}from"./Error-FscbJgp7.js";import{D as C1}from"./index-DkC4Z7ZS.js";import{T as M0,b as M2}from"./index-BPIr1Ect.js";import{C as y1}from"./confirm-BeuzMgKx.js";import{u as a1}from"./session-DwStRueZ.js";import{W as e0}from"./did-address-Dl7sEfPI.js";import{E as Ge,D as P2,C as L2,P as T2}from"./react-beautiful-dnd.esm-DVrxw2Fw.js";import{B as z1}from"./bundle-avatar-CmcJLcUi.js";import{S as be}from"./shorten-label-DgSj_iKd.js";import{A as P0}from"./Avatar-CeWQngrs.js";import{d as D2}from"./Download-ChsqP0uH.js";import{d as N2}from"./QuestionMarkCircle-BRwsi4c3.js";import{b as V2,c as t0,T as _2}from"./index-BpmSJ9Yl.js";import{_ as Me}from"./useSetState-Byn4PXJ9.js";import{c as S1}from"./index-Dv3UtNf0.js";import{C as Ze,L as B2}from"./MoreVert-B46gT3ic.js";import{A as L0}from"./Alert-CUutCRQM.js";import{p as n1}from"./index-C94zTqbe.js";import"./api-CHM7C61K.js";import{i as E2}from"./index-BPPZQpLf.js";import{d as A2}from"./ExpandMore-GfZ-uN5v.js";import{d as O2}from"./ChevronRight-CSGwuunG.js";import{d as H2}from"./OpenInNew-BGNoXYXt.js";import{u as T0}from"./useThemeProps-BCjwemRG.js";import{F as f1}from"./FormControlLabel-X8LKIHS4.js";import{u as $2}from"./useSlotProps-Cm4YEMsK.js";import{d as F2}from"./DeleteOutline-8UjaH55s.js";import{c as U2,A as D0,u as q2,S as W2,U as G2}from"./item-CozCCAB-.js";import{d as K2}from"./ArrowDropDown-DIG2GNpA.js";import{f as Te}from"./format-error-ax9-5p2F.js";import{B as x1}from"./ButtonGroup-CfPEps06.js";import{T as Le}from"./TextField-BE9HBBNF.js";import{I as k1}from"./InputAdornment-trK1o6Ra.js";import{S as Ee}from"./Stack-DXMuFZOU.js";import{C as X2}from"./click-to-copy-DvwHcRcx.js";import{d as J2}from"./Launch-nHt2LvAq.js";import{S as o0}from"./index-BcngleaY.js";import{M as Q2}from"./index-BFoE_Yt3.js";import{p as Y2}from"./purify.es-Bq0E5Q3l.js";import{r as Z2}from"./index-k1mDfWTu.js";import{d as et}from"./Done-Dgvss9oA.js";import{c as N0,d as V0,b as tt,S as ot,a as lt}from"./Stepper-mdLmfHWu.js";import{R as nt,a as l0}from"./RadioGroup-BM5Kucog.js";import"./toPropertyKey-PLuKRk1e.js";import"./emotion-cache.browser.esm-OvB3R1tt.js";import"./index-DhEfbg1G.js";import"./redux-CluOqhW1.js";import"./ViewColumn-BeJAI0RW.js";import"./FormControl-C6JD7494.js";import"./useFormControl-DzctaIge.js";import"./FormGroup-NRynWVWb.js";import"./Grid-CMn9enps.js";import"./Select-NBBlNRtC.js";import"./LastPage-DWacMALj.js";import"./Toolbar-7qNQ4bZ4.js";import"./Search-vKjAZRDI.js";import"./index-dwIzYyMO.js";import"./DialogContentText-B00yXaoi.js";import"./Link-DmneDBbP.js";import"./raf-schd.esm-D8AMXkr5.js";import"./useSlot-BcOJq--Y.js";import"./jss-plugin-props-sort.esm-DqLky9fL.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=je(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=w.forwardRef(function(t,l){const s=g1({props:t,name:"MuiBreadcrumbs"}),{children:r,className:a,component:i="nav",slots:u={},slotProps:c={},expandText:f="Show path",itemsAfterCollapse:m=1,itemsBeforeCollapse:v=1,maxItems:C=8,separator:p="/"}=s,d=je(s,pt),[x,R]=w.useState(!1),y=H({},s,{component:i,expanded:x,expandText:f,itemsAfterCollapse:m,itemsBeforeCollapse:v,maxItems:C,separator:p}),z=ht(y),S=u2({elementType:u.CollapsedIcon,externalSlotProps:c.collapsedIcon,ownerState:y}),M=w.useRef(null),k=I=>{const $=()=>{R(!0);const V=M.current.querySelector("a[href],button,[tabindex]");V&&V.focus()};return v+m>=I.length?I:[...I.slice(0,v),o.jsx(ct,{"aria-label":f,slots:{CollapsedIcon:u.CollapsedIcon},slotProps:{collapsedIcon:S},onClick:$},"ellipsis"),...I.slice(I.length-m,I.length)]},P=w.Children.toArray(r).filter(I=>w.isValidElement(I)).map((I,$)=>o.jsx("li",{className:z.li,children:I},`child-${$}`));return o.jsx(ft,H({ref:l,component:i,color:"text.secondary",className:Ue(z.root,a),ownerState:y},d,{children:o.jsx(xt,{className:z.ol,ref:M,ownerState:y,children:vt(x||C&&P.length<=C?P:k(P),z.separator,p,y)})}))});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=w.forwardRef(function(t,l){const s=g1({props:t,name:"MuiStepButton"}),{children:r,className:a,icon:i,optional:u}=s,c=je(s,bt),{disabled:f,active:m}=w.useContext(N0),{orientation:v}=w.useContext(V0),C=H({},s,{orientation:v}),p=jt(C),d={icon:i,optional:u},x=p2(r,["StepLabel"])?w.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:C,"aria-current":m?"step":void 0},c,{children:x}))});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(r1,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),It=w.forwardRef(function(t,l){const s=g1({props:t,name:"MuiStepContent"}),{children:r,className:a,TransitionComponent:i=r1,transitionDuration:u="auto",TransitionProps:c}=s,f=je(s,yt);w.useContext(V0);const{active:m,last:v,expanded:C}=w.useContext(N0),p=H({},s,{last:v}),d=zt(p);let x=u;return u==="auto"&&!i.muiSupportAuto&&(x=void 0),o.jsx(St,H({className:Ue(d.root,a),ref:l,ownerState:p},f,{children:o.jsx(kt,H({as:i,in:m||C,className:d.transition,ownerState:p,timeout:x,unmountOnExit:!0},c,{children:r}))}))});var I1={},Mt=ke;Object.defineProperty(I1,"__esModule",{value:!0});var B0=I1.default=void 0,Pt=Mt(Se()),Lt=o;B0=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=ke;Object.defineProperty(M1,"__esModule",{value:!0});var E0=M1.default=void 0,Dt=Tt(Se()),Nt=o;E0=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=ke;Object.defineProperty(P1,"__esModule",{value:!0});var A0=P1.default=void 0,_t=Vt(Se()),Bt=o;A0=P1.default=(0,_t.default)((0,Bt.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}`,[u,c]=w.useState(!1),f=We(m=>m.breakpoints.down("md"));return o.jsxs(g,{sx:{display:"flex",flexDirection:"row",color:u?"primary.main":"grey.900",gap:1},onPointerEnter:()=>c(!0),onPointerLeave:()=>c(!1),children:[o.jsx(P0,{sx:{borderRadius:1},src:i}),o.jsxs(g,{children:[o.jsx(be,{hiddenTip:!0,maxLength:"24",sx:{fontSize:"14px",fontWeight:"500",color:f?"primary.main":""},children:l||"/"}),o.jsx(be,{hiddenTip:!0,maxLength:"58",sx:{fontSize:"12px",color:f||u?"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}=we(),{api:i}=a1(),[u,c]=w.useState(!0),{blocklet:f}=De(),[m,v]=w.useState(null),[C,p]=w.useState(!1),d=We(L=>L.breakpoints.down("xl")),{componentDid:x=""}=i1(),[R,y]=w.useState(null),z=()=>{a.getProjects({input:{did:f.meta.did,componentDid:x,tenantScope:l}}).then(L=>{const N=(L==null?void 0:L.projects)||[];c(!1),y(N)}).catch(L=>{c(!1),U.error(L.message)})},S=()=>{t(`${J.UNOWNED_DID}/create/none`,{replace:!0})},M=L=>{v(L)},k=()=>{c(!1),p(!0)},P=()=>{p(!1),v(null)},I=L=>{U.error(L.message),p(!1),v(null)},$=L=>{if(!(L!=null&&L.deleted)){U.error("Delete project failed");return}z(),p(!1),v(null)};if(w.useEffect(()=>{z()},[]),!R&&u)return o.jsx(g,{sx:{display:"flex",justifyContent:"center",alignItems:"center",marginTop:"40px"},children:o.jsx(Ge,{})});if(!R)return null;if(!R.length)return o.jsxs(g,{display:"flex",flexDirection:"column",alignItems:"center",pt:10,children:[o.jsx(g,{sx:{fontSize:20,fontWeight:"bold",mb:3},children:s("blocklet.publish.blockletEmptyTip")}),o.jsx(g,{sx:{fontSize:14,color:"text.secondary",mb:3},children:s("blocklet.publish.createBlockletTip")}),o.jsx(o1,{onClick:S,variant:"contained",children:s("blocklet.publish.createBlocklet")})]});const V=[{label:"Blocklet",name:"blockletTitle",minWidth:160,options:{customBodyRenderLite:L=>{const N=R[L];return o.jsx(ue,{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:L=>L?o.jsx(M0,{type:"success",children:L}):""}},{label:"DID",name:"blockletDid",options:{customBodyRender:L=>L?o.jsx(e0,{size:14,compact:!0,responsive:!1,did:L}):null}},d||x?null:{label:s("common.createdBy"),name:"createdBy",options:{customBodyRender:L=>L?o.jsx(e0,{onClick:()=>{t(`/.well-known/service/admin/members?did=${L}`)},style:{cursor:"pointer"},size:14,compact:!0,copyable:!1,showQrcode:!1,responsive:!1,did:L}):null}},d||x?null:{label:s("common.scope"),name:"componentDid",options:{customBodyRender:L=>{const N=(f.children||[]).find(D=>D.meta.did===L);return N?o.jsxs(g,{display:"flex",alignItems:"center",justifyContent:"flex-start",children:[o.jsx(z1,{size:14,blocklet:N,ancestors:[f]}),o.jsx(g,{ml:.5,sx:{ml:.5,color:"text.primary",fontSize:14},children:N.meta.title})]},L):""}}},d||l?null:{label:s("blocklet.publish.tenantScope"),name:"tenantScope",options:{customBodyRender:L=>o.jsx(g,{ml:.5,sx:{ml:.5,color:"text.primary",fontSize:14},children:o.jsx(be,{children:L})})}},{label:s("common.updatedAt"),name:"updatedAt",options:{customBodyRender:L=>o.jsx(b0,{value:Number(L),locale:r})}},{label:s("common.actions"),name:"actions",options:{customBodyRenderLite:L=>{const N=R[L];return o.jsxs(g,{display:"flex",children:[o.jsx(ue,{to:`${N.id}/new-release/${N.lastReleaseId}`,children:o.jsx(ve,{title:s("blocklet.publish.createRelease"),placement:"top",children:o.jsx(ge,{color:"primary","aria-label":"create",children:o.jsx(B0,{style:{fontSize:18}})})})}),!!N.lastReleaseId&&o.jsx(ve,{title:s("blocklet.publish.viewLastRelease",{name:N.blockletTitle}),placement:"top",children:o.jsx(ge,{color:"secondary","aria-label":"create",children:o.jsx(ue,{style:{display:"flex"},to:`${N.id}/view/${N.lastReleaseId}`,children:o.jsx(E0,{sx:{fontSize:18}})})})}),o.jsx(ve,{title:s("blocklet.publish.delete",{name:N.blockletTitle}),placement:"top",children:o.jsx(ge,{color:"primary","aria-label":"delete",onClick:()=>M(N),children:o.jsx(I0,{sx:{fontSize:18}})})})]})}}}].filter(Boolean),T=C?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:$,onError:I,extraParams:{projectId:m.id,did:f.meta.did,name:m.blockletTitle},messages:{title:s("blocklet.publish.deleteProject.title",{name:m.blockletTitle}),scan:s("blocklet.publish.deleteProject.scan",{name:m.blockletTitle}),confirm:s("blocklet.publish.deleteProject.confirm"),success:s("blocklet.publish.deleteProject.success")}}):null;return o.jsxs(Et,{children:[o.jsxs(g,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[o.jsxs(g,{display:"flex",flexDirection:"row",alignItems:"center",children:[o.jsx(g,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:s("common.blockletStudio")}),o.jsx(ve,{title:s("blocklet.publish.createBlockletTip"),arrow:!0,placement:"right",children:o.jsx(A0,{sx:{opacity:.6,fontSize:"1.1em",ml:1}})})]}),o.jsxs(o1,{onClick:S,variant:"contained",children:[o.jsx(R1,{style:{fontSize:"1.3em",marginRight:4}}),s("blocklet.publish.createBlocklet")]})]}),o.jsx(g,{mt:3}),o.jsx(C1,{className:"main-table",locale:r,data:R,columns:V,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1}}),m&&o.jsx(y1,{title:`${s("common.delete")} ${m.blockletTitle}`,description:s("blocklet.publish.deleteProject.description"),confirm:s("common.confirm"),onConfirm:k,onCancel:()=>v(null),children:o.jsx(g,{sx:{marginTop:2},children:[s("blocklet.publish.deleteProject.tip1"),s("blocklet.publish.deleteProject.tip2"),s("blocklet.publish.deleteProject.tip3")].map(L=>o.jsxs(g,{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:L})]}))})}),T]})}T1.propTypes={initUrl:h.object};T1.defaultProps={initUrl:null};const Et=ce(g)`
|
|
3
|
-
.main-table > div:first-child {
|
|
4
|
-
display: none;
|
|
5
|
-
}
|
|
6
|
-
`;var D1={},At=ke;Object.defineProperty(D1,"__esModule",{value:!0});var O0=D1.default=void 0,Ot=At(Se()),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 k;const{t:e,locale:t}=te(),{projectId:l}=i1(),{api:s}=we(),[r,a]=w.useState(!0),{blocklet:i}=De(),u=We(P=>P.breakpoints.down("md")),[c,f]=w.useState(null),[m,v]=w.useState(null),[C,p]=w.useState(null),d=(k=window.env)==null?void 0:k.serverEndpoint,x=()=>{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),U.error(P.message)})},R=()=>{s.doBatchQuery({getProject:{input:{did:i.meta.did,projectId:l}},getReleases:{input:{did:i.meta.did,projectId:l}}}).then(P=>{v(P.getProject.project||{}),f(P.getReleases.releases||[]),a(!1)}).catch(P=>{a(!1),U.error(P.message)})};w.useEffect(()=>{R()},[]);const y=()=>{a(!1);const P=C.id;s.deleteRelease({input:{did:i.meta.did,projectId:l,releaseId:P}}).then(()=>{a(!1),x(),U.success(e("common.removeSuccess")),p(null)}).catch(I=>{a(!1),U.error(I.message)})},z=P=>{p(P)};if(!c&&r)return o.jsx(g,{sx:{display:"flex",justifyContent:"center",alignItems:"center",marginTop:"40px"},children:o.jsx(Ge,{})});if(!c)return null;const S=o.jsxs(_0,{className:"breadcrumbs","aria-label":"breadcrumb",children:[o.jsx(ue,{to:"..",children:e("common.blockletStudio")}),o.jsx(K,{color:"text.primary",children:o.jsx(be,{maxLength:u?6:30,children:m.blockletTitle})})]});if(!c.length)return o.jsxs(o.Fragment,{children:[S,o.jsxs(g,{display:"flex",flexDirection:"column",alignItems:"center",pt:10,children:[o.jsx(g,{sx:{fontSize:20,fontWeight:"bold",mb:3},children:e("blocklet.publish.releaseEmptyTip")}),o.jsx(g,{sx:{fontSize:14,color:"text.secondary",mb:3},children:e("blocklet.publish.createReleaseTip")}),o.jsx(ue,{to:"create/none",children:o.jsx(o1,{variant:"contained",children:e("blocklet.publish.createRelease")})})]})]});const M=[{label:e("common.version"),name:"blockletVersion",minWidth:160,options:{customBodyRenderLite:P=>{const I=c[P];return o.jsx(ue,{to:`view/${I.id}`,children:o.jsx(L1,{did:i.meta.did,projectId:m.id,logo:I.blockletLogo,title:I.blockletVersion,describe:I.blockletTitle})})}}},{label:e("blocklet.publish.releaseNote"),name:"note",options:{customBodyRenderLite:P=>{const I=c[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=c[P];return I.status!==ye.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=c[P];let $="",V="";const T=I.status==="published";if(T){const D=pe(d,`/api/project/${i.meta.did}/${m.id}/${m.lastReleaseId}/release/blocklet.json`),B=new URL(d);B.pathname=pe(B.pathname,"/launch-blocklet/agreement"),B.searchParams.set("blocklet_meta_url",D),$=B.href,V=pe(`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${i.meta.did}/${m.id}/${m.lastReleaseId}/download/${(m.lastReleaseFiles||[])[0]}`)}const L=(N=m.blockletComponents)!=null&&N.some(D=>D.included)||I.uploadedResource?"pack":"resource";return o.jsxs(g,{display:"flex",alignItems:"center",children:[T&&L==="pack"&&o.jsx(ve,{title:e("blocklet.publish.install",{name:m.blockletTitle}),placement:"top",children:o.jsx(ge,{color:"secondary","aria-label":"create",children:o.jsx("a",{style:{display:"flex"},href:$,target:"_blank",rel:"noreferrer",children:o.jsx(O0,{sx:{fontSize:18}})})})}),T&&o.jsx(ve,{title:e("blocklet.publish.download",{name:m.blockletTitle}),placement:"top",children:o.jsx(ge,{color:"primary","aria-label":"download",children:o.jsx("a",{style:{display:"flex"},href:V,children:o.jsx(D2,{sx:{fontSize:18}})})})}),o.jsx(ve,{title:e("blocklet.publish.delete",{name:m.blockletTitle}),placement:"top",children:o.jsx(ge,{color:"primary","aria-label":"delete",onClick:()=>z(I),children:o.jsx(I0,{sx:{fontSize:18}})})})]})}}}];return o.jsxs($t,{children:[o.jsxs(g,{className:"header",children:[S,o.jsx(ue,{to:"new-release/none",children:o.jsxs(o1,{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:c,columns:M,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1}}),C&&o.jsx(y1,{title:e(`${e("common.delete")} ${C.blockletVersion}`),description:e("blocklet.publish.deleteReleaseTip"),confirm:e("common.confirm"),onConfirm:y,onCancel:()=>p(null)})]})}const $t=ce(g)`
|
|
7
|
-
.header {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: space-between;
|
|
11
|
-
}
|
|
12
|
-
.main-table {
|
|
13
|
-
margin-top: 24px;
|
|
14
|
-
}
|
|
15
|
-
.main-table > div:first-child {
|
|
16
|
-
display: none;
|
|
17
|
-
}
|
|
18
|
-
.note {
|
|
19
|
-
word-break: break-all;
|
|
20
|
-
white-space: pre-line;
|
|
21
|
-
}
|
|
22
|
-
`;var b={},Ke;Object.defineProperty(b,"__esModule",{value:!0});b.WalletTextLogo=b.Tx=b.Token=b.Team=b.Switch=b.StoreLogoNotext=b.StoreLogoBg=b.StoreLogo=b.Store=b.Setting=b.ServerLogoNotext=b.ServerLogoBg=b.ServerLogo=b.Server=b.Rollup=b.RevokeIcon=b.QuestionMarkCircle=b.Plan=b.PersonIcon=b.Pending=b.PassportIcon=b.OpenIn=b.Notification=b.NFT=b.Mobile=b.Log=b.LockIcon=b.LauncherLogoNotext=b.LauncherLogoBg=b.LauncherLogo=b.Label=b.Key=b.Globe=b.ForbidLoginIcon=b.ExternalIssuerIcon=Ke=b.EmptyIcon=b.EditIcon=b.Disconnect=b.DidWalletLogo=b.DidWallet=b.DidLogoColorful=b.DidLogo=b.DeleteIcon=b.Dashboard=b.Dapp=b.Copy=b.ConnectLogo=b.Connect=b.Computer=b.CodeFolder=b.Circles=b.BridgeMoveOut=b.BridgeMoveIn=b.Bridge=b.Blocklets=b.Approve=b.AllowLoginIcon=b.Add=b.Account=b.ABTNode=void 0;Ft(w);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 j(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=b.Computer=function(t){return(0,n.jsx)("svg",j(j({},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=b.ConnectLogo=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Copy=function(t){return(0,n.jsx)("svg",j(j({},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=b.DidLogo=function(t){return(0,n.jsxs)("svg",j(j({},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=b.DidLogoColorful=function(t){return(0,n.jsxs)("svg",j(j({},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=b.DidWallet=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Disconnect=function(t){return(0,n.jsx)("svg",j(j({},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=b.Mobile=function(t){return(0,n.jsx)("svg",j(j({},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=b.OpenIn=function(t){return(0,n.jsx)("svg",j(j({},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=b.Switch=function(t){return(0,n.jsx)("svg",j(j({},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=b.EditIcon=function(t){return(0,n.jsx)("svg",j(j({},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=b.DeleteIcon=function(t){return(0,n.jsx)("svg",j(j({},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=b.PassportIcon=function(t){return(0,n.jsxs)("svg",j(j({},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=b.ExternalIssuerIcon=function(t){return(0,n.jsxs)("svg",j(j({},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=b.AllowLoginIcon=function(t){return(0,n.jsxs)("svg",j(j({},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=b.ForbidLoginIcon=function(t){return(0,n.jsxs)("svg",j(j({},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=b.LockIcon=function(t){return(0,n.jsx)("svg",j(j({},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=b.PersonIcon=function(t){return(0,n.jsxs)("svg",j(j({},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=b.RevokeIcon=function(t){return(0,n.jsx)("svg",j(j({},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=b.Dapp=function(t){return(0,n.jsx)("svg",j(j({},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=b.Add=function(t){return(0,n.jsx)("svg",j(j({},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=b.NFT=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Rollup=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Token=function(t){return(0,n.jsx)("svg",j(j({},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=b.Tx=function(t){return(0,n.jsx)("svg",j(j({},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=b.Connect=function(t){return(0,n.jsxs)("svg",j(j({},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=b.WalletTextLogo=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Pending=function(t){return(0,n.jsxs)("svg",j(j({},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=b.ABTNode=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Bridge=function(t){return(0,n.jsx)("svg",j(j({},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=b.BridgeMoveIn=function(t){return(0,n.jsx)("svg",j(j({},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=b.BridgeMoveOut=function(t){return(0,n.jsx)("svg",j(j({},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=b.DidWalletLogo=function(t){return(0,n.jsxs)("svg",j(j({},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=b.ServerLogo=function(t){return(0,n.jsxs)("svg",j(j({},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=b.ServerLogoNotext=function(t){return(0,n.jsxs)("svg",j(j({},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=b.ServerLogoBg=function(t){return(0,n.jsxs)("svg",j(j({},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=b.LauncherLogo=function(t){return(0,n.jsxs)("svg",j(j({},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=b.LauncherLogoNotext=function(t){return(0,n.jsxs)("svg",j(j({},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=b.LauncherLogoBg=function(t){return(0,n.jsxs)("svg",j(j({},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=b.StoreLogo=function(t){return(0,n.jsxs)("svg",j(j({},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=b.StoreLogoNotext=function(t){return(0,n.jsxs)("svg",j(j({},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=b.StoreLogoBg=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Blocklets=function(t){return(0,n.jsx)("svg",j(j({},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 Bo=b.CodeFolder=function(t){return(0,n.jsxs)("svg",j(j({},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"})]}))};Bo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Eo=b.Dashboard=function(t){return(0,n.jsx)("svg",j(j({},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"})}))};Eo.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Ao=b.Log=function(t){return(0,n.jsx)("svg",j(j({},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=b.Setting=function(t){return(0,n.jsx)("svg",j(j({},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=b.Store=function(t){return(0,n.jsx)("svg",j(j({},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=b.Team=function(t){return(0,n.jsx)("svg",j(j({},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=b.Approve=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Circles=function(t){return(0,n.jsx)("svg",j(j({},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=b.Key=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Label=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Plan=function(t){return(0,n.jsx)("svg",j(j({},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=b.Server=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Globe=function(t){return(0,n.jsx)("svg",j(j({},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=b.Notification=function(t){return(0,n.jsx)("svg",j(j({},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=b.QuestionMarkCircle=function(t){return(0,n.jsxs)("svg",j(j({},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=b.Account=function(t){return(0,n.jsx)("svg",j(j({},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=b.EmptyIcon=function(t){return(0,n.jsx)("svg",j(j({},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=ke;Object.defineProperty(N1,"__esModule",{value:!0});var H0=N1.default=void 0,tl=el(Se()),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 ze({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(g,{sx:{opacity:.3,fontSize:32},children:o.jsx(t,{})}),o.jsx(g,{sx:{mb:2,opacity:.7,fontSize:"small",color:"action"},children:e})]})}ze.propTypes={children:h.node.isRequired,Icon:h.elementType};ze.defaultProps={Icon:H0};function V1({value:e,app:t,onChange:l,onChangeBlockletResourceType:s,disabled:r,resourceRelateComponents:a,projectType:i,dependentComponentsMode:u,blockletResourceType:c}){const{t:f,locale:m}=te(),v=u==="readonly",C=w.useMemo(()=>{const S=e.reduce((M,k)=>(M[k.did]=k.included,M),{});return(t.children||[]).filter(M=>v?a[M.meta.did]||S[M.meta.did]:!0)},[t.children,e,a,v]),p=w.useMemo(()=>C.map(S=>e.find(k=>k.did===S.meta.did)||{did:S.meta.did}),[C,e]),d=p.reduce((S,M)=>(S[M.did]=j1(M,["required","included"]),S),{}),x=S=>{const M=p.map(k=>{if(k.did===S){const P=!k.included;return{...k,included:P,required:P}}return k});l(M)},R=S=>{const M=p.map(k=>k.did===S?{...k,required:!k.required}:k);l(M)},y=S=>{s(S.target.checked?"resource":"")},z=[{label:f("common.name"),name:"meta.title",width:200,options:{customBodyRenderLite:S=>{var P;const M=C[S],k=(P=d[M.meta.did])==null?void 0:P.included;return o.jsxs(g,{display:"flex",alignItems:"center",children:[o.jsx(z1,{size:24,blocklet:M,ancestors:[t]}),o.jsx(g,{ml:"4px",className:S1("text",{excluded:!k}),children:o.jsx(g,{children:M.meta.title})})]})}}},{label:f("blocklet.publish.componentIncluded"),width:100,options:{customBodyRenderLite:S=>{var I;const M=C[S],k=a[M.meta.did],P=!!((I=d[M.meta.did])!=null&&I.included);return o.jsx(Ze,{size:"small",checked:k||P,onClick:()=>x(M.meta.did),disabled:v||k||r})}}},{label:f("blocklet.publish.componentForceRequired"),width:100,options:{customBodyRenderLite:S=>{var $,V;const M=C[S],k=a[M.meta.did],P=!!(($=d[M.meta.did])!=null&&$.included),I=!!((V=d[M.meta.did])!=null&&V.required);return o.jsx(Ze,{size:"small",checked:k||I&&P,onClick:()=>R(M.meta.did),disabled:v||k||r||!P})}}}];return o.jsx(ll,{children:C!=null&&C.length?o.jsxs(o.Fragment,{children:[o.jsxs(L0,{severity:"info",style:{width:"100%"},children:[o.jsx(g,{display:"flex",alignItems:"center",rel:"noreferrer",ml:"13px",children:f(i==="pack"?"blocklet.publish.packTip":"blocklet.publish.resourceTip")}),o.jsxs(g,{component:"label",style:{cursor:"pointer"},children:[o.jsx(Ze,{size:"small",style:{marginLeft:"0px"},disabled:r,checked:c==="resource",onChange:y}),f("blocklet.publish.forceResourceBlocklet")]})]}),o.jsx(C1,{className:"main-table",verticalKeyWidth:100,locale:m,data:C,columns:z,options:{sort:!1,download:!1,filter:!1,print:!1,search:!1,rowsPerPage:50}})]}):o.jsx(ze,{Icon:Ke,children:f("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,onChangeBlockletResourceType:h.func,disabled:h.bool,dependentComponentsMode:h.string,resourceRelateComponents:h.object,blockletResourceType:h.string,projectType:h.string.isRequired};V1.defaultProps={value:[],onChange:()=>{},onChangeBlockletResourceType:()=>{},disabled:!1,dependentComponentsMode:"auto",blockletResourceType:"",resourceRelateComponents:{}};const ll=ce(g)`
|
|
23
|
-
.main-table {
|
|
24
|
-
.text.excluded {
|
|
25
|
-
color: #999;
|
|
26
|
-
}
|
|
27
|
-
width: 400px;
|
|
28
|
-
${({theme:e})=>e.breakpoints.down("md")} {
|
|
29
|
-
width: 100%;
|
|
30
|
-
}
|
|
31
|
-
> div:first-child {
|
|
32
|
-
display: none;
|
|
33
|
-
}
|
|
34
|
-
.MuiTableCell-head {
|
|
35
|
-
padding-top: 0;
|
|
36
|
-
padding-bottom: 0;
|
|
37
|
-
}
|
|
38
|
-
.MuiTableCell-body {
|
|
39
|
-
padding-top: 6px;
|
|
40
|
-
padding-bottom: 6px;
|
|
41
|
-
}
|
|
42
|
-
.datatable-footer {
|
|
43
|
-
display: none;
|
|
44
|
-
}
|
|
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=w.createContext($0),rl=(e,t)=>{const l=w.useRef({}),[s,r]=w.useState(()=>{const i={};return e.forEach(u=>{u.models&&Object.entries(u.models).forEach(([c,f])=>{l.current[c]={controlledProp:f.controlledProp,defaultProp:f.defaultProp,isControlled:t[f.controlledProp]!==void 0},i[c]=t[f.defaultProp]})}),i});return Object.fromEntries(Object.entries(l.current).map(([i,u])=>{const c=u.isControlled?t[u.controlledProp]:s[i];return[i,{value:c,setValue:f=>{u.isControlled||r(m=>H({},m,{[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 u=r[i];s.highPriority.has(u)&&u.apply(this,l)}for(let i=0;i<a.length;i+=1){const u=a[i];s.regular.has(u)&&u.apply(this,l)}}once(t,l){const s=this;this.on(t,function r(...a){s.removeListener(t,r),l.apply(s,a)})}}const u1=(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],Ne=(e,t)=>{Object.assign(e,t)},al=e=>e.isPropagationStopped!==void 0,cl=({instance:e})=>{const[t]=w.useState(()=>new il),l=w.useCallback((...r)=>{const[a,i,u={}]=r;u.defaultMuiPrevented=!1,!(al(u)&&u.isPropagationStopped())&&t.emit(a,i,u)},[t]),s=w.useCallback((r,a)=>(t.on(r,a),()=>{t.removeListener(r,a)}),[t]);Ne(e,{$$publishEvent:l,$$subscribeEvent:s})},dl=[cl],ul=e=>{const t=[...dl,...e.plugins],l=t.reduce((d,x)=>x.getDefaultizedParams?x.getDefaultizedParams(d):d,e),s=rl(t,l),a=w.useRef({}).current,i=w.useRef(null),u=j0(i,e.rootRef),[c,f]=w.useState(()=>{const d={};return t.forEach(x=>{x.getInitialState&&Object.assign(d,x.getInitialState(l))}),d}),m=[];let v=$0;const C=d=>{const x=d({instance:a,params:l,state:c,setState:f,rootRef:i,models:s})||{};x.getRootProps&&m.push(x.getRootProps),x.contextValue&&(v=x.contextValue)};return t.forEach(C),{getRootProps:(d={})=>{const x=H({role:"tree",tabIndex:0},d,{ref:u});return m.forEach(R=>{Object.assign(x,R(d))}),x},rootRef:u,contextValue:v}},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=w.createContext({});function xl(e){const t=w.useRef(null);return w.useEffect(()=>{t.current=e},[e]),t.current}const i0=()=>{};function ml(e){const[,t]=w.useState(),{registerDescendant:l=i0,unregisterDescendant:s=i0,descendants:r=[],parentId:a=null}=w.useContext(U0),i=hl(r,f=>f.element===e.element),u=xl(r),c=r.some((f,m)=>u&&u[m]&&u[m].element!==f.element);return m2(()=>{if(e.element)return l(H({},e,{index:i})),()=>{s(e.element)};t({})},[l,s,i,c,e]),{parentId:a,index:i}}function q0(e){const{children:t,id:l}=e,[s,r]=w.useState([]),a=w.useCallback(c=>{let{element:f}=c,m=je(c,pl);r(v=>{if(v.length===0)return[H({},m,{element:f,index:0})];const C=fl(v,f);let p;if(v[C]&&v[C].element===f)p=v;else{const d=H({},m,{element:f,index:C});p=v.slice(),p.splice(C,0,d)}return p.forEach((d,x)=>{d.index=x}),p})},[]),i=w.useCallback(c=>{r(f=>f.filter(m=>c!==m.element))},[]),u=w.useMemo(()=>({descendants:s,registerDescendant:a,unregisterDescendant:i,parentId:l}),[s,a,i,l]);return o.jsx(U0.Provider,{value:u,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=w.useRef({}),s=w.useCallback(f=>l.current[f],[]),r=w.useCallback(f=>{l.current[f.id]=f},[]),a=w.useCallback(f=>{const m=H({},l.current);delete m[f],l.current=m,gl(e,"removeNode",{id:f})},[e]),i=w.useCallback(f=>{if(f==null)return!1;let m=e.getNode(f);if(!m)return!1;if(m.disabled)return!0;for(;m.parentId!=null;)if(m=e.getNode(m.parentId),m.disabled)return!0;return!1},[e]),u=He(f=>Object.values(l.current).filter(m=>m.parentId===f).sort((m,v)=>m.index-v.index).map(m=>m.id));Ne(e,{getNode:s,updateNode:r,removeNode:a,getChildrenIds:u,getNavigableChildrenIds:f=>{let m=e.getChildrenIds(f);return t.disabledItemsFocusable||(m=m.filter(v=>!e.isNodeDisabled(v))),m},isNodeDisabled:i})},_1=({instance:e,params:t,models:l})=>{const s=w.useCallback(u=>Array.isArray(l.expanded.value)?l.expanded.value.indexOf(u)!==-1:!1,[l.expanded.value]),r=w.useCallback(u=>{var c;return!!((c=e.getNode(u))!=null&&c.expandable)},[e]),a=He((u,c)=>{if(c==null)return;let f;l.expanded.value.indexOf(c)!==-1?f=l.expanded.value.filter(m=>m!==c):f=[c].concat(l.expanded.value),t.onNodeToggle&&t.onNodeToggle(u,f),l.expanded.setValue(f)});Ne(e,{isNodeExpanded:s,isNodeExpandable:r,toggleNodeExpansion:a,expandAllSiblings:(u,c)=>{const f=e.getNode(c),v=e.getChildrenIds(f.parentId).filter(p=>e.isNodeExpandable(p)&&!e.isNodeExpanded(p)),C=l.expanded.value.concat(v);v.length>0&&(l.expanded.setValue(C),t.onNodeToggle&&t.onNodeToggle(u,C))}})};_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 u=s.parentId,c=r.parentId,f=i.indexOf(u)!==-1,m=a.indexOf(c)!==-1,v=!0,C=!0;for(;!m&&!f;)v&&(a.push(u),f=i.indexOf(u)!==-1,v=u!==null,!f&&v&&(u=e.getNode(u).parentId)),C&&!f&&(i.push(c),m=a.indexOf(c)!==-1,C=c!==null,!m&&C&&(c=e.getNode(c).parentId));const p=f?u:c,d=e.getChildrenIds(p),x=a[a.indexOf(p)-1],R=i[i.indexOf(p)-1];return d.indexOf(x)<d.indexOf(R)?[t,l]:[l,t]},B1=({instance:e,params:t,models:l})=>{const s=w.useRef(null),r=w.useRef(!1),a=w.useRef([]),i=d=>Array.isArray(l.selected.value)?l.selected.value.indexOf(d)!==-1:l.selected.value===d,u=(d,x,R=!1)=>{if(!t.disableSelection){if(R){if(Array.isArray(l.selected.value)){let y;l.selected.value.indexOf(x)!==-1?y=l.selected.value.filter(z=>z!==x):y=[x].concat(l.selected.value),t.onNodeSelect&&t.onNodeSelect(d,y),l.selected.setValue(y)}}else{const y=t.multiSelect?[x]:x;t.onNodeSelect&&t.onNodeSelect(d,y),l.selected.setValue(y)}s.current=x,r.current=!1,a.current=[]}},c=(d,x)=>{const[R,y]=wl(e,d,x),z=[R];let S=R;for(;S!==y;)S=Ae(e,S),z.push(S);return z},f=(d,x)=>{let R=l.selected.value.slice();const{start:y,next:z,current:S}=x;!z||!S||(a.current.indexOf(S)===-1&&(a.current=[]),r.current?a.current.indexOf(z)!==-1?(R=R.filter(M=>M===y||M!==S),a.current=a.current.filter(M=>M===y||M!==S)):(R.push(z),a.current.push(z)):(R.push(z),a.current.push(S,z)),t.onNodeSelect&&t.onNodeSelect(d,R),l.selected.setValue(R))},m=(d,x)=>{let R=l.selected.value.slice();const{start:y,end:z}=x;r.current&&(R=R.filter(k=>a.current.indexOf(k)===-1));let S=c(y,z);S=S.filter(k=>!e.isNodeDisabled(k)),a.current=S;let M=R.concat(S);M=M.filter((k,P)=>M.indexOf(k)===P),t.onNodeSelect&&t.onNodeSelect(d,M),l.selected.setValue(M)};return Ne(e,{isNodeSelected:i,selectNode:u,selectRange:(d,x,R=!1)=>{if(t.disableSelection)return;const{start:y=s.current,end:z,current:S}=x;R?f(d,{start:y,next:z,current:S}):y!=null&&z!=null&&m(d,{start:y,end:z}),r.current=!0},rangeSelectToLast:(d,x)=>{s.current||(s.current=x);const R=r.current?s.current:x;e.selectRange(d,{start:R,end:m1(e)})},rangeSelectToFirst:(d,x)=>{s.current||(s.current=x);const R=r.current?s.current:x;e.selectRange(d,{start:R,end:v1(e)})}}),{getRootProps:()=>({"aria-multiselectable":t.multiSelect})}};B1.models={selected:{controlledProp:"selected",defaultProp:"defaultSelected"}};const Rl=[];B1.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]=w.useState(new zl),u=w.useRef(null),c=w.useRef();c.current=a;const f=w.useRef(null);if(!u.current&&c.current){const m=(v,C)=>{if(!C.defaultMuiPrevented){var p;(p=c.current)==null||p.call(c,v,C)}};u.current=s.$$subscribeEvent(r,m),t+=1,f.current={cleanupToken:t},e.registry.register(i,()=>{var v;(v=u.current)==null||v.call(u),u.current=null,f.current=null},f.current)}else!c.current&&u.current&&(u.current(),u.current=null,f.current&&(e.registry.unregister(f.current),f.current=null));w.useEffect(()=>{if(!u.current&&c.current){const m=(v,C)=>{if(!C.defaultMuiPrevented){var p;(p=c.current)==null||p.call(c,v,C)}};u.current=s.$$subscribeEvent(r,m)}return f.current&&e.registry&&(e.registry.unregister(f.current),f.current=null),()=>{var m;(m=u.current)==null||m.call(u),u.current=null}},[s,r])}}const kl={registry:null},Il=Sl(kl),E1=({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(x=>H({},x,{focusedNodeId:d}))}),u=w.useCallback(p=>l.focusedNodeId===p,[l.focusedNodeId]),c=He((p,d)=>{d&&(i(d),t.onNodeFocus&&t.onNodeFocus(p,d))});Ne(e,{isNodeFocused:u,focusNode:c}),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 x;if((x=p.onFocus)==null||x.call(p,d),d.target===d.currentTarget){const R=z=>{const S=e.getNode(z);return S&&(S.parentId==null||e.isNodeExpanded(S.parentId))};let y;Array.isArray(r.selected.value)?y=r.selected.value.find(R):r.selected.value!=null&&R(r.selected.value)&&(y=r.selected.value),y==null&&(y=e.getNavigableChildrenIds(null)[0]),e.focusNode(d,y)}},m=p=>d=>{var x;(x=p.onBlur)==null||x.call(p,d),i(null)},v=e.getNode(l.focusedNodeId),C=v?v.idAttribute:null;return{getRootProps:p=>({onFocus:f(p),onBlur:m(p),"aria-activedescendant":C??void 0})}};E1.getInitialState=()=>({focusedNodeId:null});E1.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=w.useRef({}),i=He((p,d)=>(a.current[p]=d,()=>{const x=H({},a.current);delete x[p],a.current=x}));Ne(e,{mapFirstChar:i});const u=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),c=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,x)=>{let R,y;const z=x.toLowerCase(),S=[],M=[];Object.keys(a.current).forEach(k=>{const P=e.getNode(k),I=P.parentId?e.isNodeExpanded(P.parentId):!0,$=t.disabledItemsFocusable?!1:e.isNodeDisabled(k);I&&!$&&(S.push(k),M.push(a.current[k]))}),R=S.indexOf(d)+1,R>=S.length&&(R=0),y=c0(M,R,z),y===-1&&(y=c0(M,0,z)),y>-1&&e.focusNode(p,S[y])},m=(p,d)=>{e.isNodeDisabled(Ae(e,d))||e.selectRange(p,{end:Ae(e,d),current:d},!0)},v=(p,d)=>{e.isNodeDisabled(u1(e,d))||e.selectRange(p,{end:u1(e,d),current:d},!0)},C=p=>d=>{var x;(x=p.onKeyDown)==null||x.call(p,d);let R=!1;const y=d.key;if(d.altKey||d.currentTarget!==d.target||l.focusedNodeId==null)return;const z=d.ctrlKey||d.metaKey;switch(y){case" ":!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&(R=!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),R=!0):t.disableSelection||(R=!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&&m(d,l.focusedNodeId),e.focusNode(d,Ae(e,l.focusedNodeId)),R=!0;break;case"ArrowUp":t.multiSelect&&d.shiftKey&&!t.disableSelection&&v(d,l.focusedNodeId),e.focusNode(d,u1(e,l.focusedNodeId)),R=!0;break;case"ArrowRight":r?R=c(d):R=u(d);break;case"ArrowLeft":r?R=u(d):R=c(d);break;case"Home":t.multiSelect&&z&&d.shiftKey&&!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&e.rangeSelectToFirst(d,l.focusedNodeId),e.focusNode(d,v1(e)),R=!0;break;case"End":t.multiSelect&&z&&d.shiftKey&&!t.disableSelection&&!e.isNodeDisabled(l.focusedNodeId)&&e.rangeSelectToLast(d,l.focusedNodeId),e.focusNode(d,m1(e)),R=!0;break;default:y==="*"?(e.expandAllSiblings(d,l.focusedNodeId),R=!0):t.multiSelect&&z&&y.toLowerCase()==="a"&&!t.disableSelection?(e.selectRange(d,{start:v1(e),end:m1(e)}),R=!0):!z&&!d.shiftKey&&Ml(y)&&(f(d,l.focusedNodeId,y),R=!0)}R&&(d.preventDefault(),d.stopPropagation())};return{getRootProps:p=>({onKeyDown:C(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,B1,E1,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=w.forwardRef(function(t,l){const s=T0({props:t,name:"MuiTreeView"}),r=s,a=s,{disabledItemsFocusable:i,expanded:u,defaultExpanded:c,onNodeToggle:f,onNodeFocus:m,disableSelection:v,defaultSelected:C,selected:p,multiSelect:d,onNodeSelect:x,id:R,defaultCollapseIcon:y,defaultEndIcon:z,defaultExpandIcon:S,defaultParentIcon:M,children:k}=a,P=je(a,Dl),{getRootProps:I,contextValue:$}=ul({disabledItemsFocusable:i,expanded:u,defaultExpanded:c,onNodeToggle:f,onNodeFocus:m,disableSelection:v,defaultSelected:C,selected:p,multiSelect:d,onNodeSelect:x,id:R,defaultCollapseIcon:y,defaultEndIcon:z,defaultExpandIcon:S,defaultParentIcon:M,plugins:Tl,rootRef:l}),V=Nl(s),T=$2({elementType:d0,externalSlotProps:{},externalForwardedProps:P,className:V.root,getSlotProps:I,ownerState:r});return o.jsx(vl,{value:$,children:o.jsx(d0,H({},T,{children:k}))})}),W0=()=>w.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,u=t?t.isNodeDisabled(e):!1;return{disabled:u,expanded:r,selected:i,focused:a,handleExpansion:v=>{if(t&&!u){a||t.focusNode(v,e);const C=l&&(v.shiftKey||v.ctrlKey||v.metaKey);s&&!(C&&t.isNodeExpanded(e))&&t.toggleNodeExpansion(v,e)}},handleSelection:v=>{t&&!u&&(a||t.focusNode(v,e),l&&(v.shiftKey||v.ctrlKey||v.metaKey)?v.shiftKey?t.selectRange(v,{end:e}):t.selectNode(v,e,!0):t.selectNode(v,e))},preventSelection:v=>{(v.shiftKey||v.ctrlKey||v.metaKey||u)&&v.preventDefault()}}}const Bl=["classes","className","displayIcon","expansionIcon","icon","label","nodeId","onClick","onMouseDown"],G0=w.forwardRef(function(t,l){const{classes:s,className:r,displayIcon:a,expansionIcon:i,icon:u,label:c,nodeId:f,onClick:m,onMouseDown:v}=t,C=je(t,Bl),{disabled:p,expanded:d,selected:x,focused:R,handleExpansion:y,handleSelection:z,preventSelection:S}=_l(f),M=u||i||a,k=I=>{S(I),v&&v(I)},P=I=>{y(I),z(I),m&&m(I)};return o.jsxs("div",H({},C,{className:Ue(r,s.root,d&&s.expanded,x&&s.selected,R&&s.focused,p&&s.disabled),onClick:P,onMouseDown:k,ref:l,children:[o.jsx("div",{className:s.iconContainer,children:M}),o.jsx("div",{className:s.label,children:c})]}))});function El(e){return Fe("MuiTreeItem",e)}const me=$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"]},El,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&&{[`& .${me.iconContainer}`]:t.iconContainer},t.label&&{[`& .${me.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"}},[`&.${me.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,backgroundColor:"transparent"},[`&.${me.focused}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${me.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)}},[`&.${me.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)}},[`& .${me.iconContainer}`]:{marginRight:4,width:15,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}},[`& .${me.label}`]:H({paddingLeft:4,width:"100%",boxSizing:"border-box",minWidth:0,position:"relative"},e.typography.body1)})),Fl=se(r1,{name:"MuiTreeItem",slot:"Group",overridesResolver:(e,t)=>t.group})({margin:0,padding:0,marginLeft:17}),Ul=w.forwardRef(function(t,l){const s=T0({props:t,name:"MuiTreeItem"}),{children:r,className:a,collapseIcon:i,ContentComponent:u=G0,ContentProps:c,endIcon:f,expandIcon:m,disabled:v,icon:C,id:p,label:d,nodeId:x,onClick:R,onMouseDown:y,TransitionComponent:z=r1,TransitionProps:S}=s,M=je(s,Al),{icons:k,multiSelect:P,disabledItemsFocusable:I,treeId:$,instance:V}=W0();let T;p!=null?T=p:$&&x&&(T=`${$}-${x}`);const[L,N]=w.useState(null),D=w.useRef(null),B=j0(N,l),A=w.useMemo(()=>({element:L,id:x}),[x,L]),{index:O,parentId:W}=ml(A),X=!!(Array.isArray(r)?r.length:r),Q=V?V.isNodeExpanded(x):!1,re=V?V.isNodeFocused(x):!1,he=V?V.isNodeSelected(x):!1,de=V?V.isNodeDisabled(x):!1,oe=H({},s,{expanded:Q,focused:re,selected:he,disabled:de}),ee=Ol(oe);let ae,fe;X&&(Q?fe=i||k.defaultCollapseIcon:fe=m||k.defaultExpandIcon),X?ae=k.defaultParentIcon:ae=f||k.defaultEndIcon,w.useEffect(()=>{if(V&&O!==-1)return V.updateNode({id:x,idAttribute:T,index:O,parentId:W,expandable:X,disabled:v}),()=>V.removeNode(x)},[V,W,O,x,X,v,T]),w.useEffect(()=>{if(V&&d){var G,le;return V.mapFirstChar(x,((G=(le=D.current)==null?void 0:le.textContent)!=null?G:"").substring(0,1).toLowerCase())}},[V,x,d]);let Y;P?Y=he:he&&(Y=!0);function xe(G){if(G.target===G.currentTarget){let F;typeof G.target.getRootNode=="function"?F=G.target.getRootNode():F=w0(G.target),F.getElementById($).focus({preventScroll:!0})}const le=!I&&de;V&&!re&&G.currentTarget===G.target&&!le&&V.focusNode(G,x)}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:T,tabIndex:-1},M,{ownerState:oe,onFocus:xe,ref:B,children:[o.jsx($l,H({as:u,ref:D,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:x,onClick:R,onMouseDown:y,icon:C,expansionIcon:fe,displayIcon:ae,ownerState:oe},c)),r&&o.jsx(q0,{id:x,children:o.jsx(Fl,H({as:z,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(g)`
|
|
47
|
-
display: flex;
|
|
48
|
-
justify-content: flex-start;
|
|
49
|
-
flex-wrap: wrap;
|
|
50
|
-
margin-bottom: -12px;
|
|
51
|
-
a {
|
|
52
|
-
display: flex;
|
|
53
|
-
}
|
|
54
|
-
img {
|
|
55
|
-
height: 128px;
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
margin-right: 12px;
|
|
58
|
-
margin-bottom: 12px;
|
|
59
|
-
}
|
|
60
|
-
`,p1=(e,t)=>{const l=[...e];for(;l.length>0;){const s=l.shift();if(s.id===t)return s;s.children&&l.push(...s.children)}return[]};function O1({icon:e}){return e?E2(e)?o.jsx("img",{className:"resource-icon",src:e,alt:"icon"}):o.jsx(ie,{className:"resource-icon",icon:e}):null}O1.propTypes={icon:h.string};O1.defaultProps={icon:""};function H1({disabled:e,data:t,onChange:l,value:s}){const r=s;function a(p,d=[]){return d.push(p.id),p.children&&p.children.forEach(x=>a(x,d)),d}const i=p=>a(p1(t,p)),u=(p,d=[])=>{const x=p1(t,p);return x.parent?(d.push(x.parent),u(x.parent,d)):d};function c(p,d){const x=i(p.id),R=x.indexOf(p.id);return x.splice(R,1),x.every(y=>r.concat(d).includes(y))}const f=(p,d)=>{p.stopPropagation();const x=i(d),R=u(d);if(r.includes(d)){const y=r.filter(z=>!x.concat(R).includes(z));l(y)}else{const y=x;for(let z=0;z<R.length;++z)c(p1(t,R[z]),y)&&y.push(R[z]);l([...r].concat(y))}},m=p=>{p.stopPropagation()},v=t.some(p=>{var d;return((d=p.children)==null?void 0:d.length)>0}),C=p=>{var z;const d=r.indexOf(p.id)!==-1,x=Array.isArray(p.children),R=i(p.id),y=x&&!d&&r.some(S=>R.includes(S));return o.jsx(Ul,{nodeId:p.id,label:o.jsx(f1,{onClick:m,control:o.jsx(Ze,{size:"small",checked:d,indeterminate:y,tabIndex:-1,disableRipple:!0,onClick:S=>f(S,p.id),disabled:p.disabled||e}),label:o.jsxs(g,{className:"content",children:[o.jsxs(g,{display:"flex",alignItems:"center",children:[p.icon&&o.jsx(O1,{icon:p.icon}),o.jsx(g,{className:"name",children:p.name}),p.url&&o.jsx("a",{href:p.url,target:"_blank",rel:"noreferrer",className:"link",children:o.jsx(H2,{className:"link-icon"})})]}),!!p.description&&o.jsx(g,{className:"description",children:p.description}),!!((z=p.images)!=null&&z.length)&&o.jsx(A1,{className:"images",data:p.images})]})}),children:x?p.children.map(C):null},p.id)};return o.jsx(Wl,{className:S1(!v&&"no-children"),multiSelect:!0,defaultCollapseIcon:o.jsx(A2,{}),defaultExpandIcon:o.jsx(O2,{}),selected:r,children:t.map(p=>C(p))})}H1.propTypes={data:h.array,value:h.array,onChange:h.func,disabled:h.bool};H1.defaultProps={data:[],value:[],onChange:()=>{},disabled:!1};const Wl=ce(Vl)`
|
|
61
|
-
&.no-children {
|
|
62
|
-
.MuiTreeItem-content {
|
|
63
|
-
padding: 0;
|
|
64
|
-
.MuiTreeItem-iconContainer {
|
|
65
|
-
display: none;
|
|
66
|
-
}
|
|
67
|
-
.MuiTreeItem-label {
|
|
68
|
-
padding-left: 0;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
.MuiTreeItem-content {
|
|
73
|
-
align-items: flex-start;
|
|
74
|
-
.MuiTreeItem-iconContainer {
|
|
75
|
-
transform: translateY(10px);
|
|
76
|
-
}
|
|
77
|
-
&.Mui-selected {
|
|
78
|
-
background-color: transparent;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
.MuiTreeItem-label {
|
|
82
|
-
cursor: default;
|
|
83
|
-
}
|
|
84
|
-
.MuiFormControlLabel-root {
|
|
85
|
-
align-items: flex-start;
|
|
86
|
-
}
|
|
87
|
-
.content {
|
|
88
|
-
padding-top: 6px;
|
|
89
|
-
}
|
|
90
|
-
.name {
|
|
91
|
-
font-size: 16px;
|
|
92
|
-
font-weight: 700;
|
|
93
|
-
}
|
|
94
|
-
.resource-icon {
|
|
95
|
-
margin-right: 2px;
|
|
96
|
-
font-size: 16px;
|
|
97
|
-
}
|
|
98
|
-
img.resource-icon {
|
|
99
|
-
width: 1rem;
|
|
100
|
-
height: 1rem;
|
|
101
|
-
}
|
|
102
|
-
.link {
|
|
103
|
-
margin-left: 8px;
|
|
104
|
-
font-size: 16px;
|
|
105
|
-
color: ${({theme:e})=>e.palette.primary.main};
|
|
106
|
-
display: flex;
|
|
107
|
-
}
|
|
108
|
-
.link-icon {
|
|
109
|
-
font-size: inherit;
|
|
110
|
-
}
|
|
111
|
-
.description {
|
|
112
|
-
font-size: 14px;
|
|
113
|
-
color: ${({theme:e})=>e.palette.text.secondary};
|
|
114
|
-
}
|
|
115
|
-
`,e1=(e,t)=>(e.forEach(l=>{t&&(l.parent=t),(l.children||[]).forEach(s=>{s.parent=l.id,e1(s.children||[],s.id)})}),e),t1=(e,t,l,s,r)=>{const{exportApi:a="/"}=(e==null?void 0:e.meta.resource)||{},i=new URL(pe("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:u})=>{await Ye.post(t1(l,s,r,a,i),{resources:u,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:u}})},Kl=(e,t)=>{if(!e)return{};const l=t.reduce((r,a)=>(r[a]=!0,r),{}),s=(r,a)=>(r.forEach(i=>{var u;l[i.id]&&((u=i.dependentComponents)!=null&&u.length)&&i.dependentComponents.forEach(c=>{a[c]=!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:u,componentDid:c,initialResources:f={},setResourceComponentsMap:m,selectedResourceIds:v,setSelectedResourceIds:C,initUrl:p}){var V;const{t:d,locale:x}=te(),{api:R}=we(),[y,z]=Me({}),S=w.useRef({}),M=w.useRef(!1),k=s.id;S.current.projectId=l,S.current.releaseId=k;const P=(T,L,N)=>{if(!L)return;const D=Kl(L,N);m==null||m({[T]:Object.keys(D)})},I=T=>{i.current[t.meta.did]={resources:T,component:t},C({[t.meta.did]:T}),P(t.meta.did,y[t.meta.did],T)};w.useEffect(()=>{y[t==null?void 0:t.meta.did]||Ye.get(t1(t,l,k,x,p)).then(T=>{var N;const L=e1(((N=T.data)==null?void 0:N.resources)||[]);z({[t==null?void 0:t.meta.did]:L})}).catch(T=>{U.error(T.message)})},[t,l,s,x,p,z,y,k]),w.useEffect(()=>{k&&l&&!M.current&&n1(e.children.map(T=>async()=>{var L,N,D;if(!(c&&c!==T.meta.did)&&!(!(T!=null&&T.mountPoint)||!b2.hasStartEngine(T==null?void 0:T.meta)||!((N=(L=T==null?void 0:T.meta)==null?void 0:L.resource)!=null&&N.exportApi)))try{const B=await Ye.get(t1(T,l,k,x,p)),A=e1(((D=B==null?void 0:B.data)==null?void 0:D.resources)||[]);z({[T==null?void 0:T.meta.did]:A});const O=await R.getSelectedResources({input:{did:e.meta.did,projectId:l,releaseId:k,componentDid:T.meta.did}}),W=(O==null?void 0:O.resources)||[];W!=null&&W.length&&(C({[T.meta.did]:nl(A,W)}),P(T.meta.did,A,W),u||(i.current[T==null?void 0:T.meta.did]={resources:W,component:T}))}catch(B){U.error(B.message)}}),{concurrency:2}).then(()=>{M.current=!0})},[k,l,u,x,p,z]),w.useEffect(()=>{f&&Object.keys(f).length&&n1(e.children.map(async T=>{var N;const L=f[T.meta.did];if(L!=null&&L.length){const D=await Ye.get(t1(T,l,k,x,p)),B=e1(((N=D==null?void 0:D.data)==null?void 0:N.resources)||[]);C({[T.meta.did]:L}),P(T.meta.did,B,L),u||(i.current[T==null?void 0:T.meta.did]={resources:L,component:T})}}))},[e,f,u]);let $=null;return(!t||!((V=y[t.meta.did])!=null&&V.length))&&($=o.jsx(ze,{Icon:Ke,children:d("blocklet.publish.resourceEmptyTip",{name:Y1.getDisplayName(t)})})),(t==null?void 0:t.status)!=="running"&&($=o.jsx(ze,{children:d("blocklet.publish.componentNotRunning",{name:Y1.getDisplayName(t)})})),o.jsxs(o.Fragment,{children:[o.jsx(Xl,{className:S1(a&&"error"),children:o.jsx(g,{pb:2,width:"100%",children:$||o.jsx(H1,{data:y[t.meta.did]||[],value:v[t.meta.did]||[],onChange:I,disabled:r||u})})}),!!a&&o.jsx(g,{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(g)`
|
|
116
|
-
border: 1px solid #ccc;
|
|
117
|
-
max-height: 600px;
|
|
118
|
-
width: 100%;
|
|
119
|
-
&.error {
|
|
120
|
-
border-color: ${e=>e.theme.palette.error.main};
|
|
121
|
-
}
|
|
122
|
-
border-radius: 4px;
|
|
123
|
-
padding: 16px;
|
|
124
|
-
padding-bottom: 0px;
|
|
125
|
-
overflow-y: auto;
|
|
126
|
-
.footer {
|
|
127
|
-
border-top: 1px solid #ddd;
|
|
128
|
-
display: flex;
|
|
129
|
-
padding: 12px 0;
|
|
130
|
-
margin-top: 12px;
|
|
131
|
-
position: sticky;
|
|
132
|
-
bottom: 0;
|
|
133
|
-
background: #fff;
|
|
134
|
-
z-index: 10;
|
|
135
|
-
}
|
|
136
|
-
`,u0="lastWantToConnectStoreId";function Jl(e){var u,c;const[t,l]=w.useState(null),{session:s}=a1(),r=w.useCallback(f=>{l(f),localStorage.setItem(u0,f==null?void 0:f.id)},[l]),a=w.useMemo(()=>{var C,p,d,x;const f=localStorage.getItem(u0),m=f?(((C=e==null?void 0:e.settings)==null?void 0:C.storeList)||[]).find(R=>R.id===f):null;if(m)return m;let v=(((p=e==null?void 0:e.settings)==null?void 0:p.storeList)||[]).find(R=>{var y;return!(R.id!==J.BLOCKLET_STORE.id||R.scope&&R.scope!=="studio"&&R.scope!==((y=s==null?void 0:s.user)==null?void 0:y.did))});return v||(v=(x=(d=e==null?void 0:e.settings)==null?void 0:d.storeList)==null?void 0:x[0]),v},[(u=e==null?void 0:e.settings)==null?void 0:u.storeList,(c=s==null?void 0:s.user)==null?void 0:c.did]);return[t||a||{},r]}const h1={};async function K0(e,{interval:t=1e3,maxDuration:l=120*1e3,intervalFirst:s=4e3,timerKey:r=""}){h1[r]&&clearTimeout(h1[r]),await new Promise(u=>setTimeout(u,s));const a=Date.now(),i=async(u,c)=>{try{const f=await e();u(f)}catch(f){Date.now()-a>l?c(f):r?h1[r]=setTimeout(()=>i(u,c),t):setTimeout(()=>i(u,c),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,u;const r=await e.getProject({input:{did:t,projectId:l,messageId:""}});if(!((u=(i=r==null?void 0:r.project)==null?void 0:i.connectedStores)!=null&&u.length))throw new Error("Connected store not found");if(!r.project.connectedStores.find(c=>c.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,u;const r=e?(i=l==null?void 0:l.meta)==null?void 0:i.did:t==null?void 0:t.did;let a=e?((u=l==null?void 0:l.settings)==null?void 0:u.storeList)||[]:(t==null?void 0:t.blockletRegistryList)||[];return Array.isArray(a)||(a=[]),a=a.filter(c=>c.protected||!c.scope||c.scope==="studio"||c.scope===s),{teamDid:r,storeList:a}};function F1({blocklet:e,store:t={},onChangeStore:l,onClick:s,disabled:r,loading:a,componentDid:i}){var N,D,B;const{t:u}=te(),{session:c}=a1(),{api:f,info:m,inService:v}=we(),C=De(),[p,d]=w.useState(!1),x=w.useRef(null),[R,y]=w.useState(!1),[z,S]=w.useState(null),M=A=>{l(A),d(!1)},k=()=>{d(!p)},P=A=>{x.current&&x.current.contains(A.target)||d(!1)},I=()=>{y(!0)},$=()=>{y(!1)},V=async()=>{var A;if(z)try{await f.deleteBlockletStore({input:{teamDid:e.meta.did,url:z.url,projectId:"",scope:z.scope||"studio"}}),await((A=C==null?void 0:C.actions)==null?void 0:A.refreshBlocklet())}catch(O){U.error(`Remove Blocklet Store Error: ${Te(O)}`)}finally{S(null)}},{storeList:T}=X0({fromBlocklet:v,blocklet:e,nodeInfo:m,componentDid:i,userDid:(N=c==null?void 0:c.user)==null?void 0:N.did}),L=(D=e==null?void 0:e.meta)==null?void 0:D.did;return o.jsxs(o.Fragment,{children:[o.jsxs(x1,{disabled:r,ref:x,variant:"contained",color:"primary","aria-label":"Button group with connect store",children:[o.jsxs(ne,{onClick:s,children:[a&&o.jsx(l1,{size:14,sx:{mr:.5}}),`${u("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:k,children:o.jsx(K2,{})})]}),o.jsx(R0,{sx:{zIndex:10},open:p,anchorEl:x.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:[T==null?void 0:T.map(O=>{var W;return o.jsxs(Oe,{selected:O.id===(t==null?void 0:t.id),sx:{height:56},onClick:()=>M(O),children:[o.jsxs(g,{children:[o.jsx(be,{sx:{fontSize:"16px"},maxLength:24,children:O.name}),o.jsx(be,{sx:{fontSize:"13px",opacity:.6},maxLength:30,children:O.url})]}),U2({store:O,userDid:(W=c==null?void 0:c.user)==null?void 0:W.did})&&o.jsx(ge,{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:u("store.blockletRegistry.addRegistry")})]})]})})})})}),R&&o.jsx(D0,{hiddenChildren:!0,open:!0,onClose:$,teamDid:L,storeList:T,scope:"studio",onAdd:(B=C==null?void 0:C.actions)==null?void 0:B.refreshBlocklet}),z&&o.jsx(y1,{displayError:!0,title:`${u("common.delete")} ${z.name}`,description:u("blocklet.publish.deleteStoreTip",{name:z.name}),confirm:u("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=w.lazy(()=>S0(()=>import("./index-sgeabixm.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,58])).then(e=>({default:e.Uploader})));function J0({projectId:e,readOnly:t,loading:l,blocklet:s,params:r,setParams:a,paramsErrTip:i,setParamsErrTip:u,setLoading:c,initUrl:f,initLogoUrl:m,setInitLogoUrl:v,componentDid:C}){const{t:p}=te(),{api:d}=we(),x=b1(),R=w.useRef(null),y=w.useRef(null),[z,S]=Jl(s),M=q2({messageType:"connect-store-message",onOpen:()=>c(!0),onClose:()=>c(!1)}),k=async D=>{const B=setTimeout(()=>{c(!1)},2e4),A=await Yl(d,D);c(!1),clearTimeout(B),window.parent.postMessage({event:"studioDialog.connected",componentDid:C},"*"),x(window.location.pathname.replace(`${J.UNOWNED_DID}/create`,`${A}/create`),{replace:!0})},P=()=>{if(!r.blockletTitle){U.error(p("blocklet.publish.errorTip.noTitle"));return}if(!(z!=null&&z.url)){U.error(p("blocklet.publish.noStoreSelected"));return}const D=Ql();M(async(B,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:z.url,storeId:z.id,storeName:z.name,type:((W=r==null?void 0:r.blockletComponents)==null?void 0:W.length)>0?"pack":"resource",componentDid:C,messageId:D,tenantScope:(f==null?void 0:f.searchParams.get("tenantScope"))||""}});if(!(Q!=null&&Q.url)){U.error("failed to connect to store");return}A(Q.url),k({did:(X=s==null?void 0:s.meta)==null?void 0:X.did,projectId:"",messageId:D})}catch(Q){const re=Te(Q);U.error(re),c(!1)}})},I=`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${s.meta.did}/${e}/logo/upload`,$=`${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`,T=((r==null?void 0:r.blockletScreenshots)||[]).filter(Boolean).map(D=>`${$}/${D}`),L=()=>t?!1:!e||e===J.UNOWNED_DID?(U.error(p("blocklet.publish.errorTip.noFirstDid")),!1):!0,N=D=>{if(!D.destination)return;const B=Array.from(r.blockletScreenshots),[A]=B.splice(D.source.index,1);B.splice(D.destination.index,0,A),a(O=>({...O,blockletScreenshots:B}))};return o.jsxs(en,{children:[o.jsx(g,{display:"flex",className:"section",children:o.jsxs(g,{sx:{flex:1},children:[o.jsx(Le,{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:D=>{u({blockletTitle:""}),a({blockletTitle:D.target.value})},error:!!i.blockletTitle,helperText:i.blockletTitle||""}),o.jsx(Le,{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:z,componentDid:C,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(Le,{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:D=>{u({blockletDescription:""}),a({blockletDescription:D.target.value})},error:!!i.blockletDescription,helperText:i.blockletDescription||"",sx:{mt:3}})]})}),o.jsx(g,{display:"flex",mt:3,className:"section full-width",children:o.jsxs(g,{sx:{flex:1},children:[o.jsxs(g,{display:"flex",flexDirection:"row",flexWrap:"wrap",children:[o.jsxs(Ee,{direction:"column",spacing:1,sx:{mr:2,width:"160px"},children:[o.jsx(K,{variant:"subtitle1",sx:{fontWeight:"bold"},children:p("common.logo")}),o.jsxs(Ee,{direction:"column",alignItems:"flex-start",spacing:1,sx:{opacity:.8,fontSize:"12px"},children:[o.jsx(g,{children:o.jsxs(g,{component:"span",children:[o.jsxs(g,{component:"span",sx:{color:"#555"},children:[p("studio.ratio"),":"," "]}),o.jsx(g,{component:"span",sx:{color:"#007ec6"},children:"256x256"})]})}),o.jsx(g,{children:o.jsxs(g,{component:"span",children:[o.jsxs(g,{component:"span",sx:{color:"#555"},children:[p("studio.size"),":"," "]}),o.jsx(g,{component:"span",sx:{color:"#007ec6"},children:"<500Kb"})]})})]})]}),o.jsx(g,{sx:{flex:1,cursor:t?"default":"pointer"},children:o.jsx(P0,{variant:"square",sx:{width:80,height:80},alt:"Blocklet Logo",src:m||V,onClick:()=>{var D;L()&&((D=R.current)==null||D.open())}})})]}),o.jsxs(g,{display:"flex",mt:3,flexDirection:"row",flexWrap:"wrap",children:[o.jsxs(Ee,{direction:"column",spacing:1,sx:{mr:2,width:"160px"},children:[o.jsx(K,{variant:"subtitle1",sx:{fontWeight:"bold"},children:p("common.screenshot")}),o.jsxs(Ee,{direction:"column",alignItems:"flex-start",spacing:1,sx:{opacity:.8,fontSize:"12px"},children:[o.jsx(g,{sx:{border:"none"},variant:"outlined",size:"small",children:o.jsxs(g,{component:"span",children:[o.jsxs(g,{component:"span",sx:{color:"#555"},children:[p("studio.ratio"),":"," "]}),o.jsx(g,{component:"span",sx:{color:"#007ec6"},children:"16 / 9"})]})}),o.jsx(g,{children:o.jsxs(g,{component:"span",children:[o.jsxs(g,{component:"span",sx:{color:"#555"},children:[p("studio.count"),":"," "]}),o.jsx(g,{component:"span",sx:{color:"#007ec6"},children:"1~5"})]})}),o.jsx(g,{children:o.jsxs(g,{component:"span",children:[o.jsxs(g,{component:"span",sx:{color:"#555"},children:[p("studio.size"),":"," "]}),o.jsx(g,{component:"span",sx:{color:"#007ec6"},children:"<5MB"})]})}),o.jsx(g,{children:o.jsxs(g,{component:"span",children:[o.jsxs(g,{component:"span",sx:{color:"#555"},children:[p("studio.order"),":"," "]}),o.jsx(g,{component:"span",sx:{color:"#007ec6"},children:p("studio.orderTip")})]})})]})]}),o.jsx(P2,{onDragEnd:t?void 0:N,children:o.jsx(L2,{droppableId:"screenshots",direction:"horizontal",isDropDisabled:t,children:(D,B)=>o.jsxs(g,{display:"flex",alignItems:"center",sx:{flex:1,flexWrap:"wrap",minHeight:160,background:B.isDraggingOver?"#f5f5f5":"transparent",transition:"background-color 0.2s ease",border:B.isDraggingOver?"2px dashed #999":"none",borderRadius:"4px"},ref:D.innerRef,...D.droppableProps,children:[T.map((A,O)=>o.jsx(T2,{draggableId:A,index:O,isDragDisabled:t,children:(W,X)=>o.jsxs(g,{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(ge,{className:"action",onClick:()=>{a(Q=>{const re=[...Q.blockletScreenshots];return re.splice(O,1),{...Q,blockletScreenshots:re}})},children:o.jsx(F2,{})})]})},A)),D.placeholder,T.length<5&&o.jsx(g,{sx:{width:240,height:135,background:"#eee",cursor:t?"default":"pointer",color:"#999",mb:2},display:"flex",justifyContent:"center",alignItems:"center",fontSize:40,onClick:()=>{var A;L()&&((A=y.current)==null||A.open())},children:"+"})]})})})]})]})}),o.jsxs(w.Suspense,{fallback:o.jsx(Ge,{}),children:[o.jsx(p0,{ref:R,popup:!0,onUploadFinish:D=>{var B;a({blockletLogo:D.data.filename}),v(""),(B=R.current)==null||B.close()},plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:I,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileTypes:["image/*","application/svg+xml"],maxFileSize:1024*1024*.5,maxNumberOfFiles:1}},dashboardProps:{autoOpen:"imageEditor"},imageEditorProps:{actions:{revert:!0,rotate:!0,granularRotate:!0,flip:!0,zoomIn:!0,zoomOut:!0,cropSquare:!1,cropWidescreen:!1,cropWidescreenVertical:!1},cropperOptions:{autoCrop:!0,aspectRatio:1,initialAspectRatio:1,autoCropArea:1,croppedCanvasOptions:{minWidth:256,minHeight:256}}}},"uploader-logo"),o.jsx(p0,{ref:y,popup:!0,onUploadFinish:D=>{var B;a(A=>{var W;const O=A.blockletScreenshots||[];return O.push((W=D.data)==null?void 0:W.filename),{...A,blockletScreenshots:O}}),(B=y.current)==null||B.close()},installerProps:{disabled:!0},plugins:["ImageEditor"],apiPathProps:{uploader:$,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileTypes:["image/*","application/svg+xml"],maxFileSize:1024*1024*5,maxNumberOfFiles:5-T.length}},dashboardProps:{autoOpen:"imageEditor"},imageEditorProps:{actions:{revert:!0,rotate:!0,granularRotate:!0,flip:!0,zoomIn:!0,zoomOut:!0,cropSquare:!1,cropWidescreen:!1,cropWidescreenVertical:!1},cropperOptions:{autoCrop:!0,autoCropArea:1,aspectRatio:16/9,initialAspectRatio:16/9,croppedCanvasOptions:{minWidth:1280,minHeight:720,maxWidth:1280*2,maxHeight:720*2}}}},"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 en=ce.div`
|
|
137
|
-
margin-top: 24px;
|
|
138
|
-
.screenshot {
|
|
139
|
-
margin-bottom: 16px;
|
|
140
|
-
max-width: 240px;
|
|
141
|
-
max-height: 135px;
|
|
142
|
-
width: 240px;
|
|
143
|
-
height: 135px;
|
|
144
|
-
overflow: hidden;
|
|
145
|
-
display: flex;
|
|
146
|
-
align-items: center;
|
|
147
|
-
justify-content: center;
|
|
148
|
-
background-color: #eee;
|
|
149
|
-
margin-right: 16px;
|
|
150
|
-
position: relative;
|
|
151
|
-
.action {
|
|
152
|
-
visibility: hidden;
|
|
153
|
-
position: absolute;
|
|
154
|
-
top: 0px;
|
|
155
|
-
right: 0px;
|
|
156
|
-
background-color: rgba(0, 0, 0, 0.2);
|
|
157
|
-
color: rgba(255, 255, 255, 0.8);
|
|
158
|
-
}
|
|
159
|
-
&:hover .action {
|
|
160
|
-
visibility: visible;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
.screenshot img {
|
|
164
|
-
width: 100%; /* 图像宽度填充容器 */
|
|
165
|
-
height: auto; /* 图像高度自适应 */
|
|
166
|
-
}
|
|
167
|
-
`;var U1={},tn=ke;Object.defineProperty(U1,"__esModule",{value:!0});var Q0=U1.default=void 0,on=tn(Se()),ln=o;Q0=U1.default=(0,on.default)((0,ln.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 nn=(e,t,l,s)=>{const r=e?[...e]:[],a=((t==null?void 0:t.children)||[]).reduce((i,u)=>(i[u.meta.did]=!0,i),{});return Object.keys(l).forEach(i=>{if(!a[i])return;let u=!1;s||r.forEach(c=>{c.did===i&&(c.included=!0,c.required=!0,u=!0)}),u||r.push({did:i,included:!0,required:!0})}),r},sn=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*rn(e,t){let l=0;for(;l<e.size;)yield e.slice(l,l+t),l+=t}const an=async({did:e,projectId:t,uploadType:l="logo",imageUrl:s})=>{const r=await sn(s);new FormData().append("file",r);const i={uploaderId:"Uploader",relativePath:encodeURIComponent(r.name),name:encodeURIComponent(r.name),type:r.type},c=(await Z1.post(pe(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(C=>`${C} ${btoa(i[C])}`).join(",")}})).headers.location,f=2*1024*1024;let m=0,v="";for(const C of rn(r,f)){const p=await Z1.patch(pe(J.WELLKNOWN_SERVICE_PATH_PREFIX,c),C,{headers:{"Tus-Resumable":"1.0.0","Upload-Offset":m,"Content-Type":"application/offset+octet-stream"}});m+=C.size,v=p.data.filename}return v},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?Pe.valid(e.blockletVersion)||a.push({param:"blockletVersion",message:r("blocklet.publish.errorTip.inValidVersion")}):a.push({param:"blockletVersion",message:r("blocklet.publish.errorTip.noVersion")}),s===ye.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},cn=({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(!Pe.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:u,projectType:c,componentDid:f,onOpenConnectStore:m,behavior:v,onSelectConnectStore:C}){var S,M;const{t:p}=te(),{actions:{refreshBlocklet:d}}=De(),{session:x}=a1(),{storeList:R}=X0({fromBlocklet:!0,blocklet:e,componentDid:f,userDid:(S=x==null?void 0:x.user)==null?void 0:S.did}),y=w.useMemo(()=>l!=null&&l.length?l==null?void 0:l.reduce((k,P)=>(k[P.storeId]=P,k),{}):{},[l]),z=(M=e==null?void 0:e.meta)==null?void 0:M.did;return o.jsxs(o.Fragment,{children:[v==="connect"&&!!(R!=null&&R.length)&&o.jsx(L0,{severity:"info",style:{width:"100%"},children:o.jsxs(g,{color:M2[400],component:"a",href:c==="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(c==="pack"?"blocklet.publish.whyCantSeeInStore":"blocklet.publish.whyCantSeeResourceBlockletInStore"),o.jsx(J2,{sx:{marginLeft:1}})]})}),o.jsx(R2,{children:R==null?void 0:R.map(k=>o.jsx(B2,{"data-cy":"store-switch",children:o.jsx(k2,{children:o.jsx(W2,{behavior:v,onSelectConnectStore:C,releaseId:t,projectId:s,releaseType:r,kind:"publish",teamDid:z,store:k,published:(a==null?void 0:a.indexOf(k.id))>-1,connectedStore:y[k.id],onPublish:i,onDelete:u,scope:k.scope||"studio",onOpenConnectStore:m})})},k.url))}),o.jsx(D0,{teamDid:z,storeList:R,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(),[u,c]=w.useState(!1),{api:f}=we(),[m,v]=w.useState(!1),[C,p]=w.useState(!1),d=()=>{v(t.autoUpload),p(t.possibleSameStore),c(!1),a(!1)},x=async()=>{c(!0);try{await f.updateProject({input:{did:e,projectId:s,blockletTitle:t.blockletTitle||"",blockletDescription:t.blockletDescription||"",blockletIntroduction:t.blockletIntroduction||"",autoUpload:!!m,possibleSameStore:!!C}}),l({autoUpload:m,possibleSameStore:C}),a(!1)}catch(y){U.error(y.message)}c(!1)};w.useEffect(()=>{v(t.autoUpload),p(t.possibleSameStore)},[t]);const R=!!(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:y=>{y.stopPropagation(),a()},color:"inherit",children:i("common.cancel")}),R&&o.jsxs(ne,{onClick:y=>{y.stopPropagation(),x()},color:"primary","data-cy":"install-blocklet-next-step",disabled:u,variant:"contained",autoFocus:!0,children:[u&&o.jsx(l1,{size:16}),i("common.confirm")]})]}),children:R?o.jsxs(g,{component:"label",sx:{display:"flex",flexDirection:"column",gap:2},children:[o.jsxs(g,{sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[o.jsx(g,{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:m,onChange:(y,z)=>v(z)})]}),o.jsxs(g,{component:"label",sx:{display:"flex",flexDirection:"row",alignItems:"center"},children:[o.jsx(g,{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:C,onChange:(y,z)=>p(z)})]})]}):o.jsxs(g,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[o.jsx(g,{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,u]=w.useState(!1),c=w.useRef(null),f=()=>{u(!i)},m=v=>{c.current&&c.current.contains(v.target)||u(!1)};return o.jsxs(o.Fragment,{children:[o.jsx(ne,{disabled:r,ref:c,onClick:f,children:o.jsx(g,{component:ie,sx:{fontSize:18},icon:"bxs:download"})}),o.jsx(R0,{sx:{zIndex:10},open:i,anchorEl:c.current,placement:"bottom-end",role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:v})=>o.jsx(C0,{...v,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:[s&&o.jsx(g,{component:"a",href:t,target:"_blank",rel:"noreferrer",sx:{textDecoration:"none"},children:o.jsxs(Oe,{sx:{color:"#333"},children:[o.jsx(g,{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(g,{component:ie,sx:{mr:1},icon:"iconamoon:copy"}),o.jsx(K,{variant:"inherit",children:a("blocklet.publish.copyInstallUrl")})]}),o.jsx(g,{component:"a",href:e,target:"_blank",rel:"noreferrer",sx:{textDecoration:"none"},children:o.jsxs(Oe,{sx:{color:"#333"},children:[o.jsx(g,{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:u,release:c,isPublished:f,releaseId:m,getData:v,getRelease:C,componentDid:p,resourceRelateComponents:d,disabledSelectComponents:x,saveSelectedEventsRef:R,hasSelectedResources:y,initLogoUrl:z,setLoading:S,releaseUsedLast:M,setReleaseUsedLast:k,projectType:P}){var xe;const{t:I,locale:$}=te(),{api:V}=we(),T=b1(),[L,N]=w.useState(!1),[D,B]=w.useState(!1),[A,O]=w.useState(),W=We(G=>G.breakpoints.down("md")),X=w.useMemo(()=>{var G;return t!=null&&t.blockletResourceType?t==null?void 0:t.blockletResourceType:((G=t==null?void 0:t.blockletComponents)==null?void 0:G.length)>0?(t==null?void 0:t.blockletComponents.find(F=>F.included))?"resource":"pack":"resource"},[t==null?void 0:t.blockletComponents,t==null?void 0:t.blockletResourceType]),Q=()=>{window.parent.postMessage({event:"studioDialog.uploaded",componentDid:p},"*"),C()},re=async G=>{var Ve,_e,c1;const le=Y0({params:t,hasSelectedResources:y,projectId:e,status:G,t:I});if(le){U.error(le.map(q=>q.message).join("; ")),l(le.reduce((q,Z)=>({...q,[Z.param]:Z.message}),{}));return}const F={...t};if(F.blockletComponents=nn(F.blockletComponents,u,d,x),F.blockletVersion=Pe.valid(F.blockletVersion),!F.blockletVersion){U.error("Invalid Blocklet Version"),l({blockletVersion:"Invalid Blocklet Version"});return}if(z)try{const q=await an({did:u.meta.did,projectId:e,imageUrl:z});F.blockletLogo=q,r({blockletLogo:q})}catch(q){U.error(q.message);return}if(t.resourceFromSelect){F.uploadedResource="";try{const q=Object.keys(R.current);await n1(q.map(Z=>()=>{const Be=R.current[Z];return Gl({api:V,locale:$,projectId:e,releaseId:M?"":m,appDid:u.meta.did,component:Be.component,resources:Be.resources,initUrl:s})}),{concurrency:2})}catch(q){U.error(((c1=(_e=(Ve=q==null?void 0:q.response)==null?void 0:Ve.data)==null?void 0:_e.error)==null?void 0:c1.message)||q.message),l({blockletResource:"Invalid save the resource"});return}}else F.blockletComponents=[];F.blockletTitle=(F.blockletTitle||"").trim(),F.blockletDescription=(F.blockletDescription||"").trim(),F.blockletIntroduction=(F.blockletIntroduction||"").trim(),F.note=(F.note||"").trim(),F.blockletComponents=((F==null?void 0:F.blockletComponents)||[]).filter(q=>q.included).map(q=>j1(q,["did","required"])).map(JSON.stringify);try{await V.createRelease({input:{...F,did:u.meta.did,projectId:e,releaseId:M?"":m,status:G}}),G==="draft"?U.success(I("blocklet.publish.saveDraftSuccess")):(k(!1),U.success(I("blocklet.publish.createReleaseSuccess")),window.parent.postMessage({event:"studioDialog.released",componentDid:p},"*")),l({blockletResource:"",blockletTitle:"",blockletDescription:"",blockletVersion:"",blockletLogo:"",projectId:"",blockletIntroduction:"",note:""})}catch(q){const Z=Te(q);U.error(Z),(/resource/.test(Z)||/zip/.test(Z))&&l({blockletResource:Z});return}const Xe=await V.getProject({input:{did:u.meta.did,projectId:e}}),Je=Xe.project.lastReleaseId;t.autoUpload&&await n1(Xe.project.connectedStores.map(q=>async()=>{try{const Z=await V.publishToStore({input:{did:u.meta.did,storeId:q.storeId,storeName:q.storeName,projectId:e,releaseId:Je,type:X}});U.success(o.jsx(G2,{storeName:q.storeName,storeUrl:q.storeUrl,developerDid:q.developerDid,published:Z.url==="published"}),{duration:1e4})}catch(Z){U.error(Te(Z))}}),{concurrency:4}),Q==null||Q(),T(`../${e}/view/${Je}`,{replace:!0})},he=G=>(S(!0),re(G).finally(()=>{S(!1)})),de=async G=>{await Zl(V,G),v()},oe=()=>{B(!0)},ee=pe(h0,`/api/project/${u.meta.did}/${e}/${m}/release/blocklet.json`),ae=new URL(h0);ae.pathname=pe(ae.pathname,"/launch-blocklet/agreement"),ae.searchParams.set("blocklet_meta_url",ee);const fe=ae.href,Y=()=>O(ee);return o.jsxs(o.Fragment,{children:[o.jsx(dn,{className:"sticky-header",children:o.jsxs(g,{display:"flex",alignItems:"center",flexDirection:"row",children:[o.jsxs(_0,{className:"breadcrumbs","aria-label":"breadcrumb",children:[o.jsx(ue,{to:"../",children:I("common.blockletStudio")}),e===J.UNOWNED_DID?o.jsx(K,{color:"text.primary",children:o.jsx(be,{maxLength:W?6:30,children:(t==null?void 0:t.blockletTitle)||"Blocklet"})}):o.jsx(ue,{to:`../${e}`,children:o.jsx(be,{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(g,{flex:"1"}),!f&&o.jsxs(x1,{disabled:i,variant:"contained",children:[o.jsxs(ne,{variant:"contained",onClick:()=>he(ye.PROJECT.RELEASE_STATUS.published),children:[i&&o.jsx(l1,{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(g,{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(l1,{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:pe(`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${u.meta.did}/${e}/${m}/download/${(c.files||[])[0]}`),installUrl:fe,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:L,onClose:()=>N(!1),children:o.jsx(q1,{projectType:P,blocklet:u,releaseType:X,projectId:e,releaseId:m,componentDid:p,onPublish:Q,onOpenConnectStore:de,onDelete:v,connectedStores:t.connectedStores||[],publishedStoreIds:c==null?void 0:c.publishedStoreIds})}),o.jsx(Z0,{did:(xe=u==null?void 0:u.meta)==null?void 0:xe.did,params:t,projectId:e,open:D,setParams:r,onClose:()=>B(!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 dn=ce.div`
|
|
168
|
-
.sticky-header {
|
|
169
|
-
margin-top: -12px;
|
|
170
|
-
padding: 12px 0;
|
|
171
|
-
position: sticky;
|
|
172
|
-
top: 0;
|
|
173
|
-
z-index: 99;
|
|
174
|
-
display: flex;
|
|
175
|
-
align-items: center;
|
|
176
|
-
justify-content: space-between;
|
|
177
|
-
background-color: #fff;
|
|
178
|
-
padding-bottom: 12px;
|
|
179
|
-
border-bottom: ${({theme:e})=>`1px solid ${e.palette.divider}`};
|
|
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(ze,{Icon:Ke})}o2.propTypes={text:h.string.isRequired};function l2({params:e,setParams:t,paramsErrTip:l,loading:s,setParamsErrTip:r,readOnly:a}){var m;const{t:i}=te(),[u,c]=w.useState(a?"preview":"write"),f=(v,C)=>{c(C)};return o.jsxs(g,{sx:{border:"1px solid #fff",width:"100%",borderRadius:2},children:[o.jsxs(g,{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:u,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(g,{display:u==="write"?"block":"none",sx:{width:"100%",marginTop:3},children:o.jsx(Le,{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:[((m=e==null?void 0:e.blockletIntroduction)==null?void 0:m.length)||0," / ",ye.PROJECT.MAX_INTRO_LENGTH]})},autoComplete:"off",variant:"outlined",fullWidth:!0,multiline:!0,minRows:4,value:e.blockletIntroduction||"",onChange:v=>{r({blockletIntroduction:""}),t({blockletIntroduction:v.target.value.slice(0,ye.PROJECT.MAX_INTRO_LENGTH)})},error:!!l.blockletIntroduction,helperText:l.blockletIntroduction||""})}),o.jsx(g,{display:u==="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={},un=ke;Object.defineProperty(W1,"__esModule",{value:!0});var n2=W1.default=void 0,pn=un(Se()),f0=o;n2=W1.default=(0,pn.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(g,{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:u,projectId:c}){const{t:f}=te(),m=()=>{l(d=>d+1)},v=()=>{l(d=>d-1)},C=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=u||Y0({hasSelectedResources:s,params:r,projectId:c,t:f})===null;return o.jsxs(g,{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,x)=>{const R={},y=a||!cn({hasSelectedResources:s,params:r,projectId:c,step:x,t:f}),z=a?"":C(x);return z&&(R.optional=o.jsx(K,{variant:"caption",color:"error",children:z}),R.error=!0),o.jsxs(lt,{children:[o.jsx(Rt,{icon:o.jsx(G1,{error:z,active:p?99:t,step:x,ok:y}),sx:{cursor:"pointer",color:z?"error.main":"inherit"},disabled:!1,onClick:()=>l(x),...R,children:o.jsx(K,{fontSize:"14px",fontWeight:"500",color:z||!y&&t>x?"error.main":"inherit",children:d.label})}),o.jsxs(It,{children:[o.jsx(K,{fontSize:12,children:d.description}),!p&&o.jsx(g,{sx:{mb:2},children:o.jsxs("div",{children:[x<e.length-1&&o.jsx(ne,{variant:"contained",onClick:m,sx:{mt:1,mr:1},disabled:z||!y,children:f("common.continue")}),x>0&&o.jsx(ne,{disabled:x===0,onClick:v,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 hn=[".zip",".gz"],fn=1024*1024*100,xn=w.lazy(()=>S0(()=>import("./index-sgeabixm.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,58])).then(e=>({default:e.Uploader})));function K1({app:e,projectId:t,readOnly:l,params:s,setParams:r,setParamsErrTip:a,error:i}){const{t:u}=te(),c=w.useRef(null),f=()=>l?!1:!t||t===J.UNOWNED_DID?(U.error(u("blocklet.publish.errorTip.noFirstDid")),!1):!0,m=`${J.WELLKNOWN_SERVICE_PATH_PREFIX}/api/project/${e.meta.did}/${t}/resource/upload`;return o.jsxs(g,{sx:{mt:3},children:[o.jsx(K,{gutterBottom:!0,children:u("blocklet.publish.resourceUpload")}),o.jsxs(Ee,{direction:"row",alignItems:"center",spacing:1,sx:{flex:1,cursor:l?"default":"pointer"},children:[!!s.uploadedResource&&o.jsx(K,{component:"a",href:`${m}/params.uploadedResource`,children:s.uploadedResource}),!l&&o.jsx(ne,{variant:"outlined",size:"small",onClick:()=>{var v;f()&&((v=c.current)==null||v.open())},children:s.uploadedResource?u("common.change"):u("common.upload")})]}),o.jsx(w.Suspense,{fallback:o.jsx(Ge,{}),children:o.jsx(xn,{ref:c,popup:!0,onUploadFinish:v=>{var C;r({uploadedResource:v.data.filename}),a({blockletResource:""}),(C=c.current)==null||C.close()},plugins:["ImageEditor"],installerProps:{disabled:!0},apiPathProps:{uploader:m,disableMediaKitPrefix:!0},coreProps:{restrictions:{allowedFileExts:hn,maxFileSize:fn,maxNumberOfFiles:1}}},"uploader-resource")}),!!i&&o.jsx(g,{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 s1({readOnly:e,params:t,setParams:l,paramsErrTip:s,setParamsErrTip:r,loading:a}){var u;const{t:i}=te();return o.jsx(g,{display:"flex",mt:3,className:"section",children:o.jsxs(g,{sx:{flex:1},children:[o.jsx(Le,{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:c=>{r({blockletVersion:""}),l({blockletVersion:c.target.value})},error:!!s.blockletVersion,helperText:s.blockletVersion||""}),o.jsx(Le,{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:[((u=t==null?void 0:t.note)==null?void 0:u.length)||0," / ",ye.PROJECT.MAX_NOTE_LENGTH]})},fullWidth:!0,multiline:!0,minRows:4,required:!0,value:t.note||"",onChange:c=>{r({note:""}),l({note:c.target.value.slice(0,ye.PROJECT.MAX_NOTE_LENGTH)})},error:!!s.note,helperText:s.note||"",sx:{mt:3}})]})})}s1.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};s1.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 mn=({tabs:e,blocklet:t,ancestors:l=[]})=>{const s=t.meta.did;e.push({label:o.jsxs(g,{display:"flex",alignItems:"center",justifyContent:"flex-start",children:[o.jsx(z1,{size:24,blocklet:t,ancestors:l}),o.jsx(g,{ml:"4px",className:"text",children:o.jsx(g,{children:t.meta.title})})]},s),value:s})},x0=(e,t)=>{const l=j1(e,["blockletVersion","blockletTitle","blockletDescription","blockletLogo","blockletIntroduction","blockletScreenshots","blockletResourceType","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},vn={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=""}=i1(),{t:i}=te(),{blocklet:u}=De(),[c,f]=Me({blockletScreenshots:[],publishedStoreIds:[],connectedStores:[],uploadedResource:"",blockletResourceType:"",resourceFromSelect:!0}),[m,v]=Me({}),[C,p]=w.useState(!1),[d,x]=Me(null),{api:R}=we(),y=We(_=>_.breakpoints.down("md")),[z,S]=w.useState({}),[M,k]=w.useState(!1),P=w.useRef({}),[I,$]=Me({}),[V,T]=w.useState(""),[L,N]=Me({}),D=e==null?void 0:e.searchParams.get("dependentComponentsMode"),B=D==="readonly",A=w.useMemo(()=>{const _={};return Object.keys(L).forEach(E=>{const Ce=L[E];Ce&&Ce.forEach(c2=>{_[c2]=!0})}),_},[L]),O=w.useCallback(_=>{B&&f({blockletComponents:[]}),N(_)},[B,N,f]),W=w.useCallback((..._)=>{$(..._),v({blockletResource:""})},[]),X=r==="none"?(c==null?void 0:c.lastReleaseId)||"":r,[Q,re]=w.useState(s==="new-release"?4:0);w.useEffect(()=>{l&&v({projectId:""})},[l,v]);const he=w.useMemo(()=>{var _;return(c==null?void 0:c.blockletResourceType)==="resource"?"resource":(_=c==null?void 0:c.blockletComponents)!=null&&_.some(E=>E.included)||Object.keys(A).length||c!=null&&c.uploadedResource?"pack":"resource"},[c==null?void 0:c.blockletComponents,c==null?void 0:c.uploadedResource,A,c==null?void 0:c.blockletResourceType]),de=[],oe=((u==null?void 0:u.children)||[]).filter(_=>{var E;return(E=_.meta.resource)==null?void 0:E.exportApi}).filter(_=>!a||_.meta.did===a);oe.forEach(_=>{mn({tabs:de,blocklet:_,t:i,ancestors:[u]})});const[ee,ae]=w.useState((J1=de[0])==null?void 0:J1.value),fe=!M&&(d==null?void 0:d.status)==="published",Y=fe,xe=y2(()=>{if(!e)return;T(e.searchParams.get("logo")),f(E=>{var Ce;return{...E,blockletTitle:(E==null?void 0:E.blockletTitle)||e.searchParams.get("title"),blockletDescription:(E==null?void 0:E.blockletDescription)||e.searchParams.get("description"),blockletIntroduction:(E==null?void 0:E.blockletIntroduction)||e.searchParams.get("introduction")||e.searchParams.get("description"),blockletComponents:(Ce=E==null?void 0:E.blockletComponents)!=null&&Ce.length?E==null?void 0:E.blockletComponents:JSON.parse(e.searchParams.get("components")||"[]"),note:(E==null?void 0:E.note)||e.searchParams.get("note")||"No note"}});const _=e.searchParams.get("resources");try{const E=JSON.parse(_);S(E)}catch{}}),G=async()=>{if(X)try{const _=await R.getRelease({input:{did:u.meta.did,projectId:l,releaseId:X}});if(p(!1),!_.release){U.error("Release not found");return}_.release=r2(_.release),s!=="view"&&(_.release.note=""),f(E=>x0({...E,..._.release,blockletVersion:s==="create"||s==="new-release"?Pe.inc(_.release.blockletVersion,"patch"):_.release.blockletVersion},u)),x(_.release)}catch(_){p(!1),U.error(Te(_))}},le=async()=>{if(l===J.UNOWNED_DID){f({blockletVersion:"1.0.0",blockletTitle:""});return}if(!l){U.error(i("blocklet.publish.errorTip.noDid"));return}try{const E=(await R.getProject({input:{did:u.meta.did,projectId:l}})).project||{};E.blockletVersion?(s==="create"||s==="new-release")&&Pe.valid(E.blockletVersion)&&(E.blockletVersion=Pe.inc(E.blockletVersion,"patch")):E.blockletVersion="1.0.0";const Ce=x0(E,u);f(Ce),E.lastReleaseId||xe()}catch(_){U.error(Te(_))}},F=w.useCallback(async()=>{p(!0);try{if(s==="view"){if(!X){U.error("Empty release id");return}await le(),await G();return}await le(),X&&(k(!0),await G())}finally{p(!1)}},[s,X]),Xe=_=>{f({blockletComponents:_})},Je=_=>{f({blockletResourceType:_})};w.useEffect(()=>{F()},[F]),w.useEffect(()=>{l===J.UNOWNED_DID&&(s==="create"||s==="new-release")&&e&&xe()},[l,e,s,xe]);const Ve=w.useMemo(()=>!!Object.keys(I).find(_=>!!I[_].length),[I]);if(!c&&C)return o.jsx(Ge,{});if(!c)return null;const _e=oe.find(_=>_.meta.did===ee);if(oe.every(_=>_.status!=="running")&&(oe!=null&&oe.length))return o.jsx(ze,{children:i("blocklet.publish.allComponentsNotRunning")});const q=_=>{ae(_)},Z=e==null?void 0:e.searchParams.get("resourcesTitle"),Be=e==null?void 0:e.searchParams.get("componentsTitle"),Ie=[{label:i("blocklet.publish.branding"),description:i("blocklet.publish.steps.branding")},{label:i("common.introduction"),description:i("blocklet.publish.steps.introduction")},{label:Z||i("blocklet.publish.resourceTitle"),description:i("blocklet.publish.steps.resources")},{label:Be||i("common.components"),description:i("blocklet.publish.steps.blocklets")},{label:i("blocklet.publish.versionTitle"),description:i("blocklet.publish.steps.version")}],a2=Ie[Q]||Ie[Ie.length-1],Re=vn[Q];return o.jsxs(gn,{...t,children:[o.jsx(t2,{blocklet:u,release:d,getData:F,getRelease:G,mode:s,params:c,setParams:f,setParamsErrTip:v,readOnly:Y,isPublished:fe,loading:C,setLoading:p,initLogoUrl:V,releaseId:X,projectId:l,projectType:he,resourceComponents:oe,resourceComponentsMap:L,resourceRelateComponents:A,resourceItem:_e,saveSelectedEventsRef:P,hasSelectedResources:Ve,releaseUsedLast:M,setReleaseUsedLast:k,setRelease:x}),o.jsxs(g,{display:"flex",flexDirection:"column",sx:{width:"100%"},children:[o.jsx(g,{pt:3}),o.jsxs(g,{sx:{gap:3},display:"flex",flexDirection:y?"column":"row",children:[!y&&o.jsx(s2,{steps:Ie,loading:C,viewMode:s==="view",params:c,hasSelectedResources:Ve||c.uploadedResource,paramsErrTip:m,activeStep:Q,setActiveStep:re,projectId:l,resourcesUrlTitle:Z,componentsUrlTitle:Be}),o.jsxs(g,{flex:"1",maxWidth:"720px",children:[!y&&Re!=="introduction"&&o.jsxs(K,{variant:"h6",fontWeight:"bold",display:"flex",flexDirection:"row",alignItems:"center",children:[a2.label,Re==="branding"&&o.jsx(ve,{title:i("blocklet.publish.brandingHelp"),placement:"right",children:o.jsx(g,{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,{})})})]}),(y||Re==="branding")&&o.jsx(g,{flexDirection:"column",children:o.jsx(J0,{projectId:l,setParams:f,setParamsErrTip:v,params:c,componentDid:a,blocklet:u,initUrl:e,loading:C,setLoading:p,paramsErrTip:m,readOnly:Y,initLogoUrl:V,setInitLogoUrl:T})}),y&&o.jsx(g,{flexDirection:"column",children:o.jsx(s1,{loading:C,params:c,paramsErrTip:m,setParams:f,setParamsErrTip:v,readOnly:Y})}),(y||Re==="introduction")&&o.jsx(g,{display:"flex",flexDirection:"column",sx:{mt:y?5:0,width:"100%"},children:o.jsx(l2,{loading:C,readOnly:Y,params:c,setParams:f,paramsErrTip:m,setParamsErrTip:v})}),y&&o.jsx(K,{variant:"h6",fontWeight:"bold",mt:5,children:Ie[m0.resources].label}),o.jsx(g,{display:y||Re==="resources"?"flex":"none",sx:{maxWidth:720},flexDirection:"column",children:o.jsx(g,{display:"flex",mt:3,className:"section full-width",children:o.jsxs(g,{sx:{flex:1},children:[o.jsxs(nt,{onChange:()=>f({resourceFromSelect:!c.resourceFromSelect}),children:[o.jsx(f1,{value:"select",disabled:Y,control:o.jsx(l0,{size:"small",checked:c.resourceFromSelect}),label:i("blocklet.publish.resourceSelect")}),o.jsx(f1,{value:"select",disabled:Y,control:o.jsx(l0,{size:"small",checked:!c.resourceFromSelect}),label:i("blocklet.publish.resourceUpload")})]}),c.resourceFromSelect&&o.jsxs(o.Fragment,{children:[!a&&o.jsx(_2,{tabs:de,current:ee,onChange:q,sx:{ml:-2,mt:2,maxWidth:y?window.innerWidth-24:"100%"}}),o.jsx($1,{loading:C,initialResources:z,saveSelectedEventsRef:P,selectedResourceIds:I,setSelectedResourceIds:W,setResourceComponentsMap:O,error:m.blockletResource,app:u,readOnly:Y,component:_e,componentDid:a,initUrl:e,params:c,setParams:f,projectId:l===J.UNOWNED_DID?"":l,releaseUsedLast:M,release:{...d,id:X}})]}),!c.resourceFromSelect&&o.jsx(K1,{app:u,readOnly:Y,projectId:l===J.UNOWNED_DID?"":l,params:c,error:m.blockletResource,setParams:f,setParamsErrTip:v})]})})}),y&&o.jsx(K,{variant:"h6",fontWeight:"bold",mt:5,children:Ie[m0.blocklets].label}),(y||Re==="blocklets")&&o.jsx(g,{flexDirection:"column",children:o.jsx(g,{display:"flex",mt:3,className:"section full-width",children:o.jsx(g,{sx:{flex:1},children:o.jsx(V1,{projectType:he,disabled:C||Y,app:u,value:(c==null?void 0:c.blockletComponents)||[],blockletResourceType:(c==null?void 0:c.blockletResourceType)||"",onChange:Xe,onChangeBlockletResourceType:Je,resourceRelateComponents:A,dependentComponentsMode:D})})})}),!y&&Re==="version"&&o.jsx(g,{flexDirection:"column",children:o.jsx(s1,{loading:C,params:c,paramsErrTip:m,setParams:f,setParamsErrTip:v,readOnly:Y})})]})]})]})]})}X1.propTypes={initUrl:h.object};X1.defaultProps={initUrl:null};const gn=ce.div`
|
|
182
|
-
.section {
|
|
183
|
-
&.full-width {
|
|
184
|
-
max-width: 100%;
|
|
185
|
-
}
|
|
186
|
-
.MuiTypography-h3 {
|
|
187
|
-
font-size: 1.1rem;
|
|
188
|
-
font-weight: 700;
|
|
189
|
-
}
|
|
190
|
-
.left {
|
|
191
|
-
flex-shrink: 0;
|
|
192
|
-
width: 140px;
|
|
193
|
-
}
|
|
194
|
-
.MuiTabs-indicator {
|
|
195
|
-
display: none;
|
|
196
|
-
}
|
|
197
|
-
.MuiTypography-subtitle1 {
|
|
198
|
-
width: 120px;
|
|
199
|
-
font-weight: 700;
|
|
200
|
-
font-size: 1rem;
|
|
201
|
-
${({theme:e})=>e.breakpoints.down("sm")} {
|
|
202
|
-
width: 80px;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
.MuiButtonBase-root {
|
|
207
|
-
a {
|
|
208
|
-
color: inherit;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
.MuiInputBase-multiline .MuiInputAdornment-positionEnd {
|
|
212
|
-
align-self: flex-end;
|
|
213
|
-
.MuiTypography-root {
|
|
214
|
-
font-size: 0.8rem;
|
|
215
|
-
}
|
|
216
|
-
font-size: 0.8rem;
|
|
217
|
-
}
|
|
218
|
-
`;function i2({padding:e,initUrl:t}){const{blocklet:l}=De(),s=z2(),{componentDid:r}=i1();if(w.useEffect(()=>{if(r&&window.parent){const i=`${s.pathname}${s.search}`;window.parent.postMessage({event:"popstate",page:"publish",componentDid:r,path:i},"*")}},[r,s]),!l)return null;const a={};return e&&(a.padding=e),o.jsx(bn,{style:a,children:o.jsxs(S2,{children:[o.jsx(d1,{path:"/",element:o.jsx(T1,{initUrl:t})}),o.jsx(d1,{path:"/:projectId",element:o.jsx(Ht,{})}),o.jsx(d1,{path:"/:projectId/:mode/:releaseId",element:o.jsx(X1,{initUrl:t})})]})})}i2.propTypes={padding:h.oneOfType([h.string,h.number]),initUrl:h.object};i2.defaultProps={padding:"",initUrl:null};const bn=ce(g)`
|
|
219
|
-
a {
|
|
220
|
-
color: ${({theme:e})=>e.palette.primary.main};
|
|
221
|
-
}
|
|
222
|
-
`;export{i2 as default};
|