@abtnode/blocklet-services 1.16.33-beta-20241001-015316-119b726d → 1.16.33-beta-20241010-072121-fe74d5f7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/routes/oauth.js +8 -6
- package/dist/assets/{Add-CyaQ7WmL.js → Add-DyGjqE-h.js} +1 -1
- package/dist/assets/{Alert-wH3yEOKt.js → Alert-CUXXTs-A.js} +1 -1
- package/dist/assets/{ArrowDropDown-CGZyZcGG.js → ArrowDropDown-IInSnLqS.js} +1 -1
- package/dist/assets/{Avatar-Da6iwHde.js → Avatar-CPUcBr2e.js} +1 -1
- package/dist/assets/{ButtonGroup-BS8q-Yfm.js → ButtonGroup-7xzATnH3.js} +1 -1
- package/dist/assets/{CheckCircle-CrHPS-tc.js → CheckCircle-DcVG1pYP.js} +1 -1
- package/dist/assets/{ChevronLeft-BlFw1_7E.js → ChevronLeft-bBC-GmMQ.js} +1 -1
- package/dist/assets/{ChevronRight-DqmwN-mR.js → ChevronRight-DBjJ6NLf.js} +1 -1
- package/dist/assets/{Close-CbChzaVw.js → Close-Cfa9lFRp.js} +1 -1
- package/dist/assets/{CloseOutlined-C2j5DqAt.js → CloseOutlined-Cv5fEA0-.js} +1 -1
- package/dist/assets/{Delete-CbJiEQt_.js → Delete-PO2CUZY1.js} +1 -1
- package/dist/assets/{DeleteOutline-C95PJ1me.js → DeleteOutline-PwtNQI2z.js} +1 -1
- package/dist/assets/{DialogContentText-BBqinvwX.js → DialogContentText-DDxG8hj4.js} +1 -1
- package/dist/assets/{Done-Cy8GIty4.js → Done-C91mwo7P.js} +1 -1
- package/dist/assets/{Download-CqsZL8-I.js → Download-Dcqfe--u.js} +1 -1
- package/dist/assets/{Edit--mMHGK9-.js → Edit-CNh3gW7J.js} +1 -1
- package/dist/assets/{EditIcon-C8s3u3GM.js → EditIcon-BeH2y9tv.js} +1 -1
- package/dist/assets/{Error-BI6m3DQt.js → Error-DPnxUNXE.js} +1 -1
- package/dist/assets/{ExpandMore-C_PVgQM6.js → ExpandMore-_gQ-fZto.js} +1 -1
- package/dist/assets/{FormControl-DpW6wT2w.js → FormControl-DcqSXUze.js} +1 -1
- package/dist/assets/{FormControlLabel-DJT1r5OX.js → FormControlLabel-B90pDmco.js} +1 -1
- package/dist/assets/{FormGroup-C0LMcqqR.js → FormGroup-CjUiV6JR.js} +1 -1
- package/dist/assets/{Google-CnfCdgy4.js → Google-CGJA1b77.js} +1 -1
- package/dist/assets/{Hidden-Bc1etBev.js → Hidden-CcpHglaq.js} +1 -1
- package/dist/assets/{InfoOutlined-BkbtEC_x.js → InfoOutlined-DalvVJTx.js} +1 -1
- package/dist/assets/{InputAdornment-Dh49MW0O.js → InputAdornment-C8xzBvx-.js} +1 -1
- package/dist/assets/{InputLabel-B6l4IDJH.js → InputLabel-B9VpxZFG.js} +1 -1
- package/dist/assets/{LastPage-CU4o9bW4.js → LastPage-Dt-nineH.js} +1 -1
- package/dist/assets/{Launch-D2lxUSGo.js → Launch-Dr5eQTpq.js} +1 -1
- package/dist/assets/{LaunchOutlined-QZ15fjgm.js → LaunchOutlined-OkYt6HGw.js} +1 -1
- package/dist/assets/{Link-C__7r9Rz.js → Link-C_SGMwYb.js} +1 -1
- package/dist/assets/{ListItemText-DxP7Qqy1.js → ListItemText-_p53ayXZ.js} +1 -1
- package/dist/assets/{LoadingButton-DzPeXl4o.js → LoadingButton-BW1-cENL.js} +1 -1
- package/dist/assets/{LockIcon-CWXqrBsH.js → LockIcon-iAidu7x0.js} +1 -1
- package/dist/assets/{Loop-BaPy73iR.js → Loop-Co6l3YCy.js} +1 -1
- package/dist/assets/{MoreHoriz-BsWB-BGL.js → MoreHoriz-BWWNaLfy.js} +1 -1
- package/dist/assets/{MoreVert-BElSUVSR.js → MoreVert-DMmsCPA0.js} +1 -1
- package/dist/assets/{OpenInNew-BJKZrd8s.js → OpenInNew-SD9ooEXu.js} +1 -1
- package/dist/assets/{Pagination-D5SD7BcA.js → Pagination-D13zUKBy.js} +1 -1
- package/dist/assets/{PlayArrow-Ki4IsGrQ.js → PlayArrow-NGf7DjUf.js} +1 -1
- package/dist/assets/{QuestionMarkCircle-HYV2sH-0.js → QuestionMarkCircle-CI1aKRuc.js} +1 -1
- package/dist/assets/{RadioGroup-DpKQ8TGA.js → RadioGroup-b8usdHKU.js} +1 -1
- package/dist/assets/{Search-CdLcq_OY.js → Search-DebWLbXn.js} +1 -1
- package/dist/assets/{Select-DKVTjAnt.js → Select-DFT_zgbS.js} +1 -1
- package/dist/assets/{ServerLogo-ChqncBQS.js → ServerLogo-CSHQ7A9Q.js} +1 -1
- package/dist/assets/{Skeleton-oKkJHP_O.js → Skeleton-DNwmSsjq.js} +1 -1
- package/dist/assets/{Slider-Cyb6S-qh.js → Slider-CmXT75wu.js} +1 -1
- package/dist/assets/{Stack-D_WHjE1Z.js → Stack-34bIY77n.js} +1 -1
- package/dist/assets/{Stepper-7spNGBcN.js → Stepper-CtJJUW6X.js} +1 -1
- package/dist/assets/{TextField-B_wzQRqv.js → TextField-CrQGhuNw.js} +1 -1
- package/dist/assets/{Toolbar-6CfFJYMT.js → Toolbar-BW2NgBkZ.js} +1 -1
- package/dist/assets/{ViewColumn-BCAn_MZ3.js → ViewColumn-gBpp_W4_.js} +1 -1
- package/dist/assets/{ViewList-sk3g0cZx.js → ViewList-TN7tcoUd.js} +1 -1
- package/dist/assets/{access-control-CioWJhec.js → access-control-DoGoHOPa.js} +1 -1
- package/dist/assets/{actions-BRPnJ5l7.js → actions-B_ph6AqT.js} +1 -1
- package/dist/assets/{add-component-core-C751dmzc.js → add-component-core-DdSs_u3X.js} +1 -1
- package/dist/assets/{add-resource-S3MIwl52.js → add-resource-GA2PH1Pg.js} +1 -1
- package/dist/assets/{addon-DOjkPgVh.js → addon-BL3o5y5o.js} +1 -1
- package/dist/assets/{analytics-QdjO6k9w.js → analytics-DwXJ7zJE.js} +1 -1
- package/dist/assets/api-dSHDB8TX.js +1 -0
- package/dist/assets/{audit-logs-DaFVKC5w.js → audit-logs-CNAAKzR8.js} +1 -1
- package/dist/assets/{button-Cl5vOnh-.js → button-kh1A2MtB.js} +1 -1
- package/dist/assets/{click-to-copy-CY6HfgUL.js → click-to-copy-Cz088-n3.js} +1 -1
- package/dist/assets/{complete-BndcUvJu.js → complete-D8k6amPn.js} +1 -1
- package/dist/assets/{component-CW1ch2ZZ.js → component-B1U-Ilw5.js} +1 -1
- package/dist/assets/{config-BSTYosov.js → config-BuNZV38x.js} +1 -1
- package/dist/assets/{config-DXhGnior.js → config-BvJ5ipaE.js} +1 -1
- package/dist/assets/{config-navigation-D24jgf16.js → config-navigation-DEr_vkqq.js} +1 -1
- package/dist/assets/{confirm-CpJc9mx0.js → confirm-DD5TAjx6.js} +1 -1
- package/dist/assets/{connect-Ds4RMhth.js → connect-BbIvYSzr.js} +1 -1
- package/dist/assets/{connect-B62TUFTn.js → connect-Dx1KHIox.js} +1 -1
- package/dist/assets/{connect-to-dcyTFNOS.js → connect-to-oZQ3bHHK.js} +1 -1
- package/dist/assets/{content-layout-CoHUJM1q.js → content-layout-CnChPnA0.js} +1 -1
- package/dist/assets/{dashboard-eJtYRhjx.js → dashboard-kBhY1Chz.js} +3 -3
- package/dist/assets/{deprecate-Dl99UsEV.js → deprecate-DMFecaAn.js} +1 -1
- package/dist/assets/{did-address-8OEoaW1k.js → did-address-BKqEASAW.js} +1 -1
- package/dist/assets/{domain-CHckTQGB.js → domain-Mt_bDVZ8.js} +1 -1
- package/dist/assets/{domain-list-Dw8eK1vb.js → domain-list-CSn2y9Yr.js} +1 -1
- package/dist/assets/{email-DFxNWasD.js → email-CQ00P-m9.js} +6 -3
- package/dist/assets/emotion-cache.browser.esm-BHZ5GkAU.js +1 -0
- package/dist/assets/{exchange-passport-cbl43j04.js → exchange-passport-CmZN9Sin.js} +1 -1
- package/dist/assets/{fallback-IePK7meY.js → fallback-3gtaf7Sx.js} +1 -1
- package/dist/assets/{format-error-BAfMLPNm.js → format-error-B18wVBqz.js} +1 -1
- package/dist/assets/{fuel-D1YZWb9D.js → fuel-Cvj0DADJ.js} +1 -1
- package/dist/assets/{fullpage-Cb061O1p.js → fullpage-DG7VtNjX.js} +1 -1
- package/dist/assets/{home-BoHtGIMy.js → home-CGwQzxcT.js} +1 -1
- package/dist/assets/{iframe-0Uyia9bh.js → iframe-CNtNQA83.js} +1 -1
- package/dist/assets/{index-BlPzn2j7.js → index-4sDEam-t.js} +1 -1
- package/dist/assets/{index-CC3FpPHu.js → index-5Xe6hM9K.js} +1 -1
- package/dist/assets/{index-BPvmvGO6.js → index-8Pfj1kvp.js} +1 -1
- package/dist/assets/{index-B4DAtdqB.js → index-B3XHYC9j.js} +1 -1
- package/dist/assets/{index-COZ1LTGu.js → index-BOpVxP0B.js} +1 -1
- package/dist/assets/{index-Dx53yd4Q.js → index-BQeY1nGA.js} +3 -3
- package/dist/assets/{index-DmIKFVFW.js → index-BSJQWxBe.js} +1 -1
- package/dist/assets/{index-a5IBRC3W.js → index-BVwO1Rs-.js} +1 -1
- package/dist/assets/{index-D3p_LSyL.js → index-BXMnVfRQ.js} +1 -1
- package/dist/assets/{index-R-zoIKyy.js → index-BYZsOcTK.js} +1 -1
- package/dist/assets/{index-B3LunvWl.js → index-BjOEQFEW.js} +1 -1
- package/dist/assets/{index-BGsQm-g_.js → index-Bx84JAj-.js} +1 -1
- package/dist/assets/{index-D9REwjKQ.js → index-Byv5cIqj.js} +1 -1
- package/dist/assets/{index-D_-GC8Z7.js → index-C9180Rq-.js} +1 -1
- package/dist/assets/{index-Ci8VseNg.js → index-CBFK5yXm.js} +1 -1
- package/dist/assets/{index-CU-HMKWC.js → index-CI6K1D_K.js} +1 -1
- package/dist/assets/{index-Bohugi7M.js → index-CPu-OtVP.js} +4 -4
- package/dist/assets/{index-CZnnWHGI.js → index-CgaigX2y.js} +1 -1
- package/dist/assets/{index-BY1mJarE.js → index-ClLYAhzE.js} +1 -1
- package/dist/assets/{index-D3FvdH8Y.js → index-D6-qn7YC.js} +3 -3
- package/dist/assets/{index-RYXPhXgn.js → index-DCSMw_Fs.js} +1 -1
- package/dist/assets/{index-DU9lgKmQ.js → index-DaquW_Lp.js} +1 -1
- package/dist/assets/{index-ntLqbF7X.js → index-DfwvEXpm.js} +1 -1
- package/dist/assets/{index-COI5awNi.js → index-Dp5msv9c.js} +1 -1
- package/dist/assets/{index-b457DRZm.js → index-Jp3DytaA.js} +1 -1
- package/dist/assets/{index-Dwn2hSOC.js → index-QmPKTzYe.js} +1 -1
- package/dist/assets/{index-CQm5o2-a.js → index-nJ12q8Oj.js} +1 -1
- package/dist/assets/{index-DHuetnDM.js → index-oLTmVJss.js} +1 -1
- package/dist/assets/{index-DxqG8T7q.js → index-p3e8pud_.js} +1 -1
- package/dist/assets/{index-Cvay-98D.js → index-ty7xhNZH.js} +1 -1
- package/dist/assets/{index-DBxLK92B.js → index-vLbfY-P2.js} +1 -1
- package/dist/assets/{index-9eNaG0dA.js → index-wbxLd8ND.js} +1 -1
- package/dist/assets/{index.es-BTjOODfD.js → index.es-Dphbg3pT.js} +1 -1
- package/dist/assets/{index.esm-7nsGBUGw.js → index.esm-DduNFGMI.js} +1 -1
- package/dist/assets/{invitation-SsJlRHqG.js → invitation-BdW82ntG.js} +1 -1
- package/dist/assets/{invite-BXpEnjeg.js → invite-B95Q8IUB.js} +1 -1
- package/dist/assets/{issue-passport-BqRWBoNS.js → issue-passport-B1nbLuc4.js} +1 -1
- package/dist/assets/{item-7yCRSuWk.js → item-S_YKH5qQ.js} +1 -1
- package/dist/assets/ja-BZrZ4ULY.js +1 -0
- package/dist/assets/{jss-plugin-props-sort.esm-BZEfQCpD.js → jss-plugin-props-sort.esm-BgLpcdlc.js} +1 -1
- package/dist/assets/{launch-result-message-CIPNVHkl.js → launch-result-message-BbAwrnvZ.js} +1 -1
- package/dist/assets/{layout-hC7rrL-A.js → layout-BR242h2z.js} +1 -1
- package/dist/assets/{list-header-55Z7FSys.js → list-header-Oe1DnFXy.js} +1 -1
- package/dist/assets/localization-DVoeED0Z.js +1 -0
- package/dist/assets/{log-D4IQRzBE.js → log-BGOzVwIk.js} +1 -1
- package/dist/assets/{login-BI1Xbp7z.js → login-B0m1yA9j.js} +1 -1
- package/dist/assets/{login-oauth-callback-ELSK6wtR.js → login-oauth-callback-9GflQ5uo.js} +1 -1
- package/dist/assets/{logo-uploader-SLiUinp9.js → logo-uploader-VvQyjwsJ.js} +3 -3
- package/dist/assets/{lost-passport-Dv8WN1i8.js → lost-passport-BIUr4EEN.js} +3 -3
- package/dist/assets/{lottie-BmwOzLSN.js → lottie-CYPs52go.js} +1 -1
- package/dist/assets/{notifications-C5Hca47r.js → notifications-BY2fe48L.js} +1 -1
- package/dist/assets/{open-window-BjUMZ2yo.js → open-window-B_uKh9fq.js} +1 -1
- package/dist/assets/{overview-Ccb8D-xi.js → overview-BuAS-XNt.js} +1 -1
- package/dist/assets/{page-header-rjkgKXX2.js → page-header-5F6egx2_.js} +1 -1
- package/dist/assets/{permission-CcnTp_X1.js → permission-CGleg7Gs.js} +1 -1
- package/dist/assets/{preferences-a1eeCU2b.js → preferences-atCcXcuU.js} +1 -1
- package/dist/assets/publish-resource-sWhPpuNv.js +1 -0
- package/dist/assets/{react-BwkLLeEA.js → react-Dp1344KM.js} +3 -3
- package/dist/assets/{redux-CoQjICYh.js → redux-8H8zZE4I.js} +1 -1
- package/dist/assets/{resource-dialog-kLzdG9N-.js → resource-dialog-BCp8aov_.js} +1 -1
- package/dist/assets/sdk-oFRuwQgH.js +1 -0
- package/dist/assets/{selector-gDPl5vrw.js → selector-DSVTeW4u.js} +1 -1
- package/dist/assets/session-DmH17CpQ.js +1 -0
- package/dist/assets/{setup-BfqN6kck.js → setup-jYKR9zne.js} +3 -3
- package/dist/assets/{shorten-label-CpOVEJ6G.js → shorten-label-C7cAhyO1.js} +1 -1
- package/dist/assets/{slicedToArray-DFEwR0TC.js → slicedToArray-BeNWmBfu.js} +1 -1
- package/dist/assets/{spaces-zP8BaDje.js → spaces-BadxZSPH.js} +1 -1
- package/dist/assets/{start-BR4cxMPk.js → start-C5sDtSSE.js} +1 -1
- package/dist/assets/{step-actions-DDebX6LA.js → step-actions-DcaA_1G8.js} +1 -1
- package/dist/assets/{studio-CxRLKJDu.js → studio-2mHdE3FO.js} +1 -1
- package/dist/assets/{switch-control-bONvt5QL.js → switch-control-YN5KHB2B.js} +1 -1
- package/dist/assets/{toUpper-CObmDxoc.js → toUpper-CLaqhezO.js} +1 -1
- package/dist/assets/{transfer-CXuMOprC.js → transfer-DkF5fZmH.js} +1 -1
- package/dist/assets/{trim-BLBFOkre.js → trim-B5rczrMy.js} +1 -1
- package/dist/assets/{uniqBy-XtLT909S.js → uniqBy-DvZfJBLN.js} +1 -1
- package/dist/assets/{unsubscribe-Bf9VY1Va.js → unsubscribe-CRShw0Nx.js} +1 -1
- package/dist/assets/{url-join-CfhNomai.js → url-join-f_4hZoEz.js} +1 -1
- package/dist/assets/{use-blocklet-info-for-connect-did-spaces-DrKfHcAL.js → use-blocklet-info-for-connect-did-spaces-C8k09CGt.js} +1 -1
- package/dist/assets/{use-mobile-D0xbzCRm.js → use-mobile-CN7PshZ5.js} +1 -1
- package/dist/assets/{useAsync-BLs51KVT.js → useAsync-CoP3HYo2.js} +1 -1
- package/dist/assets/{useFormControl-D7j6CAOw.js → useFormControl-D6xM9FXP.js} +1 -1
- package/dist/assets/{useLocalStorage-C05nZW_3.js → useLocalStorage-BKqxa_v7.js} +1 -1
- package/dist/assets/{useSetState-BKRv4Iu8.js → useSetState-CWedcSc_.js} +1 -1
- package/dist/assets/{useSlot-CkLp1o3E.js → useSlot-DeN8P_X1.js} +1 -1
- package/dist/assets/{useSlotProps-ChM7RTX7.js → useSlotProps-BQjYPQy0.js} +1 -1
- package/dist/assets/{useThemeProps-B8wxAgOi.js → useThemeProps-DWe4sq9j.js} +1 -1
- package/dist/assets/{user-center-DGpa_wiC.js → user-center-fhY0Z3m8.js} +1 -1
- package/dist/assets/{user-sessions-COjLJJe5.js → user-sessions-BpzGtybj.js} +1 -1
- package/dist/assets/{util-DanS7c-U.js → util-APdPRJ_P.js} +1 -1
- package/dist/assets/{wrap-locale-aFiAl1yS.js → wrap-locale-BdN4b1Lo.js} +1 -1
- package/dist/assets/zh-BUjxGa7K.js +1 -0
- package/dist/assets/zh-tw-DYU_VaXB.js +1 -0
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +18 -18
- package/dist/assets/api-45xvwS1n.js +0 -1
- package/dist/assets/emotion-cache.browser.esm-0o4aRtnO.js +0 -1
- package/dist/assets/ja-CsnzGlp2.js +0 -1
- package/dist/assets/localization-DWPPXg8m.js +0 -1
- package/dist/assets/publish-resource-Y_b3PBW5.js +0 -1
- package/dist/assets/sdk-Cbe1FpYS.js +0 -1
- package/dist/assets/session-CJYE9Pgs.js +0 -1
- package/dist/assets/zh-DkOUxdQc.js +0 -1
- package/dist/assets/zh-tw-3qXZGJPg.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as $,bX as Q,dx as Z,j as o,bF as O,dy as z,P as n,dz as ee,dA as U,bt as b,bE as B,u as _,dB as q,B as y,aM as C,aj as oe,I as W}from"./index-
|
|
1
|
+
import{r as $,bX as Q,dx as Z,j as o,bF as O,dy as z,P as n,dz as ee,dA as U,bt as b,bE as B,u as _,dB as q,B as y,aM as C,aj as oe,I as W}from"./index-D6-qn7YC.js";import{E as D}from"./fallback-3gtaf7Sx.js";import{R as ne,N as te}from"./index-DaquW_Lp.js";import{i as re,u as ie,f as G,g as I,p as ae,m as K,a as se,b as le,H as ce,B as de}from"./index-B3XHYC9j.js";import{d as pe}from"./ExpandMore-_gQ-fZto.js";import{A as S}from"./Avatar-CPUcBr2e.js";function T({icon:e,size:t,sx:r,...a}){const i=[...Array.isArray(r)?r:[r]];t&&i.push({width:t,height:t});const[u,s]=$.useState(!1),[c,l]=$.useState(!0);if(Q(async()=>{l(!0);try{await Z(e),s(!0)}catch{s(!1)}l(!1)},[e]),a.variant||i.push({"&.MuiAvatar-root":{color:"inherit",fontWeight:"bold",backgroundColor:"transparent",borderRadius:0},"&.MuiAvatar-root svg":{width:"100%",height:"100%"}}),re(e))return o.jsx(S,{component:"span",...a,src:e,sx:i});const d=t?.6*t+4:0;return c?o.jsx(O,{icon:"codicon:blank",height:d||void 0}):u?o.jsx(S,{component:"span",...a,sx:i,children:o.jsx(O,{icon:e,height:d||void 0})}):e&&typeof e=="string"?(i.push({"&.MuiAvatar-root":{display:"inline-flex",...t&&{fontSize:t-2}}}),o.jsx(S,{component:"span",...a,sx:i,children:Array.from(e)[0]})):null}const ue=z();function A({theme:e,children:t}){const r=e?z(e):ue;return o.jsx(ee,{theme:r,children:t})}A.propTypes={children:n.any.isRequired,theme:n.object};A.defaultProps={theme:null};const fe=e=>{if(!(e!=null&&e.length))return{navItems:[],activeId:null};let t=1;const a=K(e,s=>{var d,p;const c=s.icon?o.jsx(T,{icon:s.icon}):null;if(s.items)return{id:`${t++}`,label:s.title,icon:c,children:s.items};let l={};return((d=s.link)!=null&&d.startsWith("http://")||(p=s.link)!=null&&p.startsWith("https://"))&&(l={target:"_blank",rel:"noreferrer"}),{id:`${t++}`,label:o.jsx("a",{href:s.link,...l,children:s.title}),icon:c,link:s.link}},"items"),i=se(a),u=le(i.map(s=>s.link));return{navItems:a,activeId:u>=0?i[u].id:null}};function he({meta:e={},addons:t,sessionManagerProps:r={showRole:!0},homeLink:a=ae,theme:i,hideNavMenu:u=!1,...s}){var h,N;ie();const{locale:c}=_()||{},l=$.useMemo(()=>{const w=Object.assign({},window.blocklet,e);try{return G(w)}catch(J){return console.error("Failed to format blocklet info",J,w),w}},[e]);if(!l.appName)return null;const{appLogo:d,appLogoRect:p,theme:m}=l,f=I((h=l==null?void 0:l.navigation)==null?void 0:h.header,c),k=fe(f),{navItems:g,activeId:v}=k,j=typeof t=="function"?w=>t(w,{navigation:k}):t,x=o.jsx(ce,{formattedBlocklet:l,addons:j,sessionManagerProps:r});return o.jsx(A,{theme:i,children:o.jsx(me,{homeLink:a,logo:o.jsx("img",{src:p||d,alt:"logo"}),addons:x,...q(s,["bordered"]),$bordered:s==null?void 0:s.bordered,$bgcolor:(N=m==null?void 0:m.background)==null?void 0:N.header,children:u||!(g!=null&&g.length)?null:({isMobile:w})=>o.jsx(te,{mode:w?"inline":"horizontal",activeId:v,items:g,className:"header-nav",bgColor:"transparent",textColor:"#777"})})})}const me=b(ne)`
|
|
2
2
|
${({$bgcolor:e})=>`background-color: ${e||"#fff"};`}
|
|
3
3
|
font-family: Inter, Avenir, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
|
|
4
4
|
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as H,j as i,fZ as Xn,l as fr,f_ as Jn,eY as hn,eX as gn,eW as _t,f$ as ft,eV as _e,g0 as Qn,g1 as yn,g2 as vn,g3 as ei,g4 as ti,g5 as bn,g6 as pr,g7 as ri,g8 as ni,g9 as ii,ga as oi,eO as tr,b7 as ai,cm as Lr,eQ as si,a8 as ci,aP as Ne,u as Fe,N as xn,B as ce,aT as jt,A as wn,D as li,T as Ue,gb as dr,af as pt,au as Ge,a1 as Se,n as rt,P as M,bC as ui,cq as rr,K as fi,e$ as pi,Z as De,de as di,a0 as mt,bl as Ze,t as nt,gc as mi,aa as Ye,dC as hi,aY as jn,G as Ee,a as dt,c as nr,b as gi,bF as yi,gd as En,bL as Sn,aV as vi,X as bi,Y as xi,bQ as Pn,m as wi,aC as ji,bH as Ei}from"./index-D3FvdH8Y.js";import{c as Si}from"./index-B3LunvWl.js";import{d as Et}from"./Add-CyaQ7WmL.js";import{d as Pi}from"./Loop-BaPy73iR.js";import{d as Oi}from"./ViewList-sk3g0cZx.js";import{L as Ai,S as Ri,d as On}from"./list-header-55Z7FSys.js";import{D as An,g as Ii}from"./index-RYXPhXgn.js";import"./index-DmIKFVFW.js";import"./index-B4DAtdqB.js";import{h as Rn}from"./resource-dialog-kLzdG9N-.js";import{T as _i}from"./index-Dwn2hSOC.js";import{E as In}from"./index-D9REwjKQ.js";import"./fallback-IePK7meY.js";import"./index-CQm5o2-a.js";import{d as Ti,U as Ci}from"./user-sessions-COjLJJe5.js";import{u as $e,d as Ur,W as _n,a as Ni}from"./dashboard-eJtYRhjx.js";import{W as St}from"./did-address-8OEoaW1k.js";import{P as Ke}from"./permission-CcnTp_X1.js";import{C as Tt}from"./click-to-copy-CY6HfgUL.js";import{F as ir}from"./FormControl-DpW6wT2w.js";import{I as or}from"./InputLabel-B6l4IDJH.js";import{S as ar}from"./Select-DKVTjAnt.js";import{T as Pt}from"./TextField-B_wzQRqv.js";import{D as mr}from"./DialogContentText-BBqinvwX.js";import{A as tt}from"./Alert-wH3yEOKt.js";import{f as Xe}from"./format-error-BAfMLPNm.js";import{_ as Di}from"./useAsync-BLs51KVT.js";import{I as sr}from"./index-BPvmvGO6.js";import{C as Ct}from"./confirm-CpJc9mx0.js";import{u as Tn}from"./session-CJYE9Pgs.js";import{N as Li}from"./index-COZ1LTGu.js";import{a as Ui}from"./uniqBy-XtLT909S.js";import{b as qi}from"./sdk-Cbe1FpYS.js";import{A as ki}from"./Avatar-Da6iwHde.js";import{d as Ki}from"./Delete-CbJiEQt_.js";import{p as Bi}from"./index-HqFqdQ4r.js";import{A as Fi}from"./actions-BRPnJ5l7.js";import{L as $i,a as Mi}from"./ListItemText-DxP7Qqy1.js";import{S as zi}from"./shorten-label-CpOVEJ6G.js";import{F as Wi,C as Vi}from"./FormControlLabel-DJT1r5OX.js";import"./Search-CdLcq_OY.js";import"./useThemeProps-B8wxAgOi.js";import"./toPropertyKey-PLuKRk1e.js";import"./emotion-cache.browser.esm-0o4aRtnO.js";import"./index-DHuetnDM.js";import"./redux-CoQjICYh.js";import"./ViewColumn-BCAn_MZ3.js";import"./useFormControl-D7j6CAOw.js";import"./FormGroup-C0LMcqqR.js";import"./LastPage-CU4o9bW4.js";import"./Toolbar-6CfFJYMT.js";import"./MoreVert-BElSUVSR.js";import"./index-DU9lgKmQ.js";import"./Hidden-Bc1etBev.js";import"./ExpandMore-C_PVgQM6.js";import"./selector-gDPl5vrw.js";import"./OpenInNew-BJKZrd8s.js";import"./CloseOutlined-C2j5DqAt.js";import"./use-mobile-D0xbzCRm.js";import"./Link-C__7r9Rz.js";import"./useLocalStorage-C05nZW_3.js";import"./PlayArrow-Ki4IsGrQ.js";import"./ButtonGroup-BS8q-Yfm.js";import"./RadioGroup-DpKQ8TGA.js";import"./index-DBxLK92B.js";import"./useSetState-BKRv4Iu8.js";import"./deprecate-Dl99UsEV.js";import"./useSlot-CkLp1o3E.js";import"./MoreHoriz-BsWB-BGL.js";import"./Stack-D_WHjE1Z.js";var hr={};Object.defineProperty(hr,"__esModule",{value:!0});var Cn=hr.default=void 0;Hi(H);var Qe=i;function Hi(e){return e&&e.__esModule?e:{default:e}}function qr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function kr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qr(Object(r),!0).forEach(function(n){Gi(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Gi(e,t,r){return(t=Yi(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yi(e){var t=Zi(e,"string");return typeof t=="symbol"?t:t+""}function Zi(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var gr=function(t){return(0,Qe.jsxs)("svg",kr(kr({},t),{},{children:[(0,Qe.jsx)("g",{clipPath:"url(#clip0)",children:(0,Qe.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,Qe.jsx)("defs",{children:(0,Qe.jsx)("clipPath",{id:"clip0",children:(0,Qe.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};gr.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};gr.displayName="person";Cn=hr.default=gr;var wt={},Xi=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Nn="%[a-f0-9]{2}",Kr=new RegExp("("+Nn+")|([^%]+?)","gi"),Br=new RegExp("("+Nn+")+","gi");function cr(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],cr(r),cr(n))}function Ji(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(Kr)||[],r=1;r<t.length;r++)e=cr(t,r).join(""),t=e.match(Kr)||[];return e}}function Qi(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=Br.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var n=Ji(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Br.exec(e)}t["%C2"]="�";for(var s=Object.keys(t),u=0;u<s.length;u++){var d=s[u];e=e.replace(new RegExp(d,"g"),t[d])}return e}var eo=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return Qi(e)}},to=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]},ro=function(e,t){for(var r={},n=Object.keys(e),s=Array.isArray(t),u=0;u<n.length;u++){var d=n[u],S=e[d];(s?t.indexOf(d)!==-1:t(d,S,e))&&(r[d]=S)}return r};(function(e){const t=Xi,r=eo,n=to,s=ro,u=a=>a==null;function d(a){switch(a.arrayFormat){case"index":return o=>(l,p)=>{const y=l.length;return p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?l:p===null?[...l,[j(o,a),"[",y,"]"].join("")]:[...l,[j(o,a),"[",j(y,a),"]=",j(p,a)].join("")]};case"bracket":return o=>(l,p)=>p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?l:p===null?[...l,[j(o,a),"[]"].join("")]:[...l,[j(o,a),"[]=",j(p,a)].join("")];case"comma":case"separator":return o=>(l,p)=>p==null||p.length===0?l:l.length===0?[[j(o,a),"=",j(p,a)].join("")]:[[l,j(p,a)].join(a.arrayFormatSeparator)];default:return o=>(l,p)=>p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?l:p===null?[...l,j(o,a)]:[...l,[j(o,a),"=",j(p,a)].join("")]}}function S(a){let o;switch(a.arrayFormat){case"index":return(l,p,y)=>{if(o=/\[(\d*)\]$/.exec(l),l=l.replace(/\[\d*\]$/,""),!o){y[l]=p;return}y[l]===void 0&&(y[l]={}),y[l][o[1]]=p};case"bracket":return(l,p,y)=>{if(o=/(\[\])$/.exec(l),l=l.replace(/\[\]$/,""),!o){y[l]=p;return}if(y[l]===void 0){y[l]=[p];return}y[l]=[].concat(y[l],p)};case"comma":case"separator":return(l,p,y)=>{const C=typeof p=="string"&&p.includes(a.arrayFormatSeparator),E=typeof p=="string"&&!C&&f(p,a).includes(a.arrayFormatSeparator);p=E?f(p,a):p;const N=C||E?p.split(a.arrayFormatSeparator).map(V=>f(V,a)):p===null?p:f(p,a);y[l]=N};default:return(l,p,y)=>{if(y[l]===void 0){y[l]=p;return}y[l]=[].concat(y[l],p)}}}function x(a){if(typeof a!="string"||a.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function j(a,o){return o.encode?o.strict?t(a):encodeURIComponent(a):a}function f(a,o){return o.decode?r(a):a}function D(a){return Array.isArray(a)?a.sort():typeof a=="object"?D(Object.keys(a)).sort((o,l)=>Number(o)-Number(l)).map(o=>a[o]):a}function b(a){const o=a.indexOf("#");return o!==-1&&(a=a.slice(0,o)),a}function P(a){let o="";const l=a.indexOf("#");return l!==-1&&(o=a.slice(l)),o}function O(a){a=b(a);const o=a.indexOf("?");return o===-1?"":a.slice(o+1)}function k(a,o){return o.parseNumbers&&!Number.isNaN(Number(a))&&typeof a=="string"&&a.trim()!==""?a=Number(a):o.parseBooleans&&a!==null&&(a.toLowerCase()==="true"||a.toLowerCase()==="false")&&(a=a.toLowerCase()==="true"),a}function w(a,o){o=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},o),x(o.arrayFormatSeparator);const l=S(o),p=Object.create(null);if(typeof a!="string"||(a=a.trim().replace(/^[?#&]/,""),!a))return p;for(const y of a.split("&")){if(y==="")continue;let[C,E]=n(o.decode?y.replace(/\+/g," "):y,"=");E=E===void 0?null:["comma","separator"].includes(o.arrayFormat)?E:f(E,o),l(f(C,o),E,p)}for(const y of Object.keys(p)){const C=p[y];if(typeof C=="object"&&C!==null)for(const E of Object.keys(C))C[E]=k(C[E],o);else p[y]=k(C,o)}return o.sort===!1?p:(o.sort===!0?Object.keys(p).sort():Object.keys(p).sort(o.sort)).reduce((y,C)=>{const E=p[C];return E&&typeof E=="object"&&!Array.isArray(E)?y[C]=D(E):y[C]=E,y},Object.create(null))}e.extract=O,e.parse=w,e.stringify=(a,o)=>{if(!a)return"";o=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},o),x(o.arrayFormatSeparator);const l=E=>o.skipNull&&u(a[E])||o.skipEmptyString&&a[E]==="",p=d(o),y={};for(const E of Object.keys(a))l(E)||(y[E]=a[E]);const C=Object.keys(y);return o.sort!==!1&&C.sort(o.sort),C.map(E=>{const N=a[E];return N===void 0?"":N===null?j(E,o):Array.isArray(N)?N.reduce(p(E),[]).join("&"):j(E,o)+"="+j(N,o)}).filter(E=>E.length>0).join("&")},e.parseUrl=(a,o)=>{o=Object.assign({decode:!0},o);const[l,p]=n(a,"#");return Object.assign({url:l.split("?")[0]||"",query:w(O(a),o)},o&&o.parseFragmentIdentifier&&p?{fragmentIdentifier:f(p,o)}:{})},e.stringifyUrl=(a,o)=>{o=Object.assign({encode:!0,strict:!0},o);const l=b(a.url).split("?")[0]||"",p=e.extract(a.url),y=e.parse(p,{sort:!1}),C=Object.assign(y,a.query);let E=e.stringify(C,o);E&&(E=`?${E}`);let N=P(a.url);return a.fragmentIdentifier&&(N=`#${j(a.fragmentIdentifier,o)}`),`${l}${E}${N}`},e.pick=(a,o,l)=>{l=Object.assign({parseFragmentIdentifier:!0},l);const{url:p,query:y,fragmentIdentifier:C}=e.parseUrl(a,l);return e.stringifyUrl({url:p,query:s(y,o),fragmentIdentifier:C},l)},e.exclude=(a,o,l)=>{const p=Array.isArray(o)?y=>!o.includes(y):(y,C)=>!o(y,C);return e.pick(a,p,l)}})(wt);const ct=Jn,no={parseNumbers:!1,parseBooleans:!1},io={skipNull:!1,skipEmptyString:!1},oo=(e,t)=>{var r,n;const{navigateMode:s="push",parseOptions:u,stringifyOptions:d}={},S=Object.assign(Object.assign({},no),u),x=Object.assign(Object.assign({},io),d),j=ct.useLocation(),f=(r=ct.useHistory)===null||r===void 0?void 0:r.call(ct),D=(n=ct.useNavigate)===null||n===void 0?void 0:n.call(ct),b=Xn(),P=H.useRef(typeof e=="function"?e():e||{}),O=H.useMemo(()=>wt.parse(j.search,S),[j.search]),k=H.useMemo(()=>Object.assign(Object.assign({},P.current),O),[O]);return[k,fr(a=>{const o=typeof a=="function"?a(k):a;b(),f&&f[s]({hash:j.hash,search:wt.stringify(Object.assign(Object.assign({},O),o),x)||"?"},j.state),D&&D({hash:j.hash,search:wt.stringify(Object.assign(Object.assign({},O),o),x)||"?"},{replace:s==="replace",state:j.state})})]},ao=oo;var he={};Object.defineProperty(he,"__esModule",{value:!0});he.isValid=he.fromJSON=he.fromRandom=he.fromAddress=he.fromPublicKey=he.fromSecretKey=he.Wallet=he.WalletType=void 0;const ht=gn,Ot=_t,Ae=hn;he.WalletType=Ae.DidType;function it(e,t="default"){const r=(0,Ae.DidType)(t),n=(0,Ot.getSigner)(r.pk),s=(0,Ot.getHasher)(r.hash);return{type:r,secretKey:e.sk,publicKey:e.pk,address:e.pk?(0,Ae.fromPublicKey)(e.pk,r):e.address,hash(u,d=1,S="hex"){return s(u,d,S)},sign(u,d=!0,S="hex"){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(d){const x=s(u,1);return n.sign(x,e.sk,S)}return n.sign(u,e.sk,S)},verify(u,d,S=!0){if(!e.pk)throw new Error("Cannot verify data without a publicKey");const x=S?s(u,1):u;return n.verify(x,d,e.pk)},ethHash(u){if(typeof n.ethHash!="function")throw new Error("ethHash is not supported by signer");return n.ethHash(u)},ethSign(u,d=!0){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(typeof n.ethHash!="function")throw new Error("ethSign is not supported by signer");return d?n.ethSign(n.ethHash(u),(0,ht.toHex)(e.sk)):n.ethSign(u,(0,ht.toHex)(e.sk))},ethVerify(u,d,S=!0){if(typeof n.ethHash!="function")throw new Error("ethVerify is not supported by signer");const x=S?n.ethHash(u):u;return n.ethRecover(x,d)===this.address},toAddress(){return e.pk?(0,Ae.fromPublicKey)(e.pk,r):e.address},toJSON(){return{type:Ae.DidType.toJSON(r),sk:(0,ht.toHex)(e.sk),pk:(0,ht.toHex)(e.pk),address:this.address}}}}he.Wallet=it;function so(e,t="default"){const r=(0,Ae.DidType)(t),n={sk:e,pk:(0,Ot.getSigner)(r.pk).getPublicKey(e)};return it(n,r)}he.fromSecretKey=so;function co(e,t="default"){return it({pk:e},(0,Ae.DidType)(t))}he.fromPublicKey=co;function lo(e){return it({address:(0,Ae.toAddress)(e)},(0,Ae.toTypeInfo)(e))}he.fromAddress=lo;function uo(e="default"){const t=(0,Ae.DidType)(e),n=(0,Ot.getSigner)(t.pk).genKeyPair();return it({sk:n.secretKey,pk:n.publicKey},t)}he.fromRandom=uo;function fo(e){const t=Ae.DidType.fromJSON(e.type);return it(e,t)}he.fromJSON=fo;function po(e,t=!0){return!(!e||typeof e!="object"||typeof e.verify!="function"||typeof e.toAddress!="function"||typeof e.toJSON!="function"||!e.type||!e.publicKey||t&&(!e.secretKey||typeof e.sign!="function"))}he.isValid=po;var kt={exports:{}},Kt={},Fr;function Dn(){if(Fr)return Kt;Fr=1;function e(o){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},e(o)}function t(o,l,p){return Object.defineProperty(o,"prototype",{writable:!1}),o}function r(o,l){if(!(o instanceof l))throw new TypeError("Cannot call a class as a function")}function n(o,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(l&&l.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),l&&s(o,l)}function s(o,l){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,C){return y.__proto__=C,y},s(o,l)}function u(o){var l=x();return function(){var y=j(o),C;if(l){var E=j(this).constructor;C=Reflect.construct(y,arguments,E)}else C=y.apply(this,arguments);return d(this,C)}}function d(o,l){if(l&&(e(l)==="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(o)}function S(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function x(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function j(o){return j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},j(o)}var f={},D,b;function P(o,l,p){p||(p=Error);function y(E,N,V){return typeof l=="string"?l:l(E,N,V)}var C=function(E){n(V,E);var N=u(V);function V(ee,X,G){var J;return r(this,V),J=N.call(this,y(ee,X,G)),J.code=o,J}return t(V)}(p);f[o]=C}function O(o,l){if(Array.isArray(o)){var p=o.length;return o=o.map(function(y){return String(y)}),p>2?"one of ".concat(l," ").concat(o.slice(0,p-1).join(", "),", or ")+o[p-1]:p===2?"one of ".concat(l," ").concat(o[0]," or ").concat(o[1]):"of ".concat(l," ").concat(o[0])}else return"of ".concat(l," ").concat(String(o))}function k(o,l,p){return o.substr(0,l.length)===l}function w(o,l,p){return(p===void 0||p>o.length)&&(p=o.length),o.substring(p-l.length,p)===l}function a(o,l,p){return typeof p!="number"&&(p=0),p+l.length>o.length?!1:o.indexOf(l,p)!==-1}return P("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),P("ERR_INVALID_ARG_TYPE",function(o,l,p){D===void 0&&(D=lr()),D(typeof o=="string","'name' must be a string");var y;typeof l=="string"&&k(l,"not ")?(y="must not be",l=l.replace(/^not /,"")):y="must be";var C;if(w(o," argument"))C="The ".concat(o," ").concat(y," ").concat(O(l,"type"));else{var E=a(o,".")?"property":"argument";C='The "'.concat(o,'" ').concat(E," ").concat(y," ").concat(O(l,"type"))}return C+=". Received type ".concat(e(p)),C},TypeError),P("ERR_INVALID_ARG_VALUE",function(o,l){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";b===void 0&&(b=ft);var y=b.inspect(l);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(o,"' ").concat(p,". Received ").concat(y)},TypeError),P("ERR_INVALID_RETURN_VALUE",function(o,l,p){var y;return p&&p.constructor&&p.constructor.name?y="instance of ".concat(p.constructor.name):y="type ".concat(e(p)),"Expected ".concat(o,' to be returned from the "').concat(l,'"')+" function but got ".concat(y,".")},TypeError),P("ERR_MISSING_ARGS",function(){for(var o=arguments.length,l=new Array(o),p=0;p<o;p++)l[p]=arguments[p];D===void 0&&(D=lr()),D(l.length>0,"At least one arg needs to be specified");var y="The ",C=l.length;switch(l=l.map(function(E){return'"'.concat(E,'"')}),C){case 1:y+="".concat(l[0]," argument");break;case 2:y+="".concat(l[0]," and ").concat(l[1]," arguments");break;default:y+=l.slice(0,C-1).join(", "),y+=", and ".concat(l[C-1]," arguments");break}return"".concat(y," must be specified")},TypeError),Kt.codes=f,Kt}var Bt,$r;function mo(){if($r)return Bt;$r=1;function e(A,R){var B=Object.keys(A);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(A);R&&(_=_.filter(function(W){return Object.getOwnPropertyDescriptor(A,W).enumerable})),B.push.apply(B,_)}return B}function t(A){for(var R=1;R<arguments.length;R++){var B=arguments[R]!=null?arguments[R]:{};R%2?e(Object(B),!0).forEach(function(_){r(A,_,B[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(B)):e(Object(B)).forEach(function(_){Object.defineProperty(A,_,Object.getOwnPropertyDescriptor(B,_))})}return A}function r(A,R,B){return R=d(R),R in A?Object.defineProperty(A,R,{value:B,enumerable:!0,configurable:!0,writable:!0}):A[R]=B,A}function n(A,R){if(!(A instanceof R))throw new TypeError("Cannot call a class as a function")}function s(A,R){for(var B=0;B<R.length;B++){var _=R[B];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(A,d(_.key),_)}}function u(A,R,B){return R&&s(A.prototype,R),Object.defineProperty(A,"prototype",{writable:!1}),A}function d(A){var R=S(A,"string");return o(R)==="symbol"?R:String(R)}function S(A,R){if(o(A)!=="object"||A===null)return A;var B=A[Symbol.toPrimitive];if(B!==void 0){var _=B.call(A,R||"default");if(o(_)!=="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(R==="string"?String:Number)(A)}function x(A,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(R&&R.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),Object.defineProperty(A,"prototype",{writable:!1}),R&&w(A,R)}function j(A){var R=O();return function(){var _=a(A),W;if(R){var g=a(this).constructor;W=Reflect.construct(_,arguments,g)}else W=_.apply(this,arguments);return f(this,W)}}function f(A,R){if(R&&(o(R)==="object"||typeof R=="function"))return R;if(R!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return D(A)}function D(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function b(A){var R=typeof Map=="function"?new Map:void 0;return b=function(_){if(_===null||!k(_))return _;if(typeof _!="function")throw new TypeError("Super expression must either be null or a function");if(typeof R<"u"){if(R.has(_))return R.get(_);R.set(_,W)}function W(){return P(_,arguments,a(this).constructor)}return W.prototype=Object.create(_.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),w(W,_)},b(A)}function P(A,R,B){return O()?P=Reflect.construct.bind():P=function(W,g,m){var v=[null];v.push.apply(v,g);var L=Function.bind.apply(W,v),T=new L;return m&&w(T,m.prototype),T},P.apply(null,arguments)}function O(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function k(A){return Function.toString.call(A).indexOf("[native code]")!==-1}function w(A,R){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,W){return _.__proto__=W,_},w(A,R)}function a(A){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(B){return B.__proto__||Object.getPrototypeOf(B)},a(A)}function o(A){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},o(A)}var l=ft,p=l.inspect,y=Dn(),C=y.codes.ERR_INVALID_ARG_TYPE;function E(A,R,B){return(B===void 0||B>A.length)&&(B=A.length),A.substring(B-R.length,B)===R}function N(A,R){if(R=Math.floor(R),A.length==0||R==0)return"";var B=A.length*R;for(R=Math.floor(Math.log(R)/Math.log(2));R;)A+=A,R--;return A+=A.substring(0,B-A.length),A}var V="",ee="",X="",G="",J={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},xe=10;function Y(A){var R=Object.keys(A),B=Object.create(Object.getPrototypeOf(A));return R.forEach(function(_){B[_]=A[_]}),Object.defineProperty(B,"message",{value:A.message}),B}function pe(A){return p(A,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function we(A,R,B){var _="",W="",g=0,m="",v=!1,L=pe(A),T=L.split(`
|
|
1
|
+
import{r as H,j as i,fZ as Xn,l as fr,f_ as Jn,eY as hn,eX as gn,eW as _t,f$ as ft,eV as _e,g0 as Qn,g1 as yn,g2 as vn,g3 as ei,g4 as ti,g5 as bn,g6 as pr,g7 as ri,g8 as ni,g9 as ii,ga as oi,eO as tr,b7 as ai,cm as Lr,eQ as si,a8 as ci,aP as Ne,u as Fe,N as xn,B as ce,aT as jt,A as wn,D as li,T as Ue,gb as dr,af as pt,au as Ge,a1 as Se,n as rt,P as M,bC as ui,cq as rr,K as fi,e$ as pi,Z as De,de as di,a0 as mt,bl as Ze,t as nt,gc as mi,aa as Ye,dC as hi,aY as jn,G as Ee,a as dt,c as nr,b as gi,bF as yi,gd as En,bL as Sn,aV as vi,X as bi,Y as xi,bQ as Pn,m as wi,aC as ji,bH as Ei}from"./index-D6-qn7YC.js";import{c as Si}from"./index-BjOEQFEW.js";import{d as Et}from"./Add-DyGjqE-h.js";import{d as Pi}from"./Loop-Co6l3YCy.js";import{d as Oi}from"./ViewList-TN7tcoUd.js";import{L as Ai,S as Ri,d as On}from"./list-header-Oe1DnFXy.js";import{D as An,g as Ii}from"./index-DCSMw_Fs.js";import"./index-BSJQWxBe.js";import"./index-B3XHYC9j.js";import{h as Rn}from"./resource-dialog-BCp8aov_.js";import{T as _i}from"./index-QmPKTzYe.js";import{E as In}from"./index-Byv5cIqj.js";import"./fallback-3gtaf7Sx.js";import"./index-nJ12q8Oj.js";import{d as Ti,U as Ci}from"./user-sessions-BpzGtybj.js";import{u as $e,d as Ur,W as _n,a as Ni}from"./dashboard-kBhY1Chz.js";import{W as St}from"./did-address-BKqEASAW.js";import{P as Ke}from"./permission-CGleg7Gs.js";import{C as Tt}from"./click-to-copy-Cz088-n3.js";import{F as ir}from"./FormControl-DcqSXUze.js";import{I as or}from"./InputLabel-B9VpxZFG.js";import{S as ar}from"./Select-DFT_zgbS.js";import{T as Pt}from"./TextField-CrQGhuNw.js";import{D as mr}from"./DialogContentText-DDxG8hj4.js";import{A as tt}from"./Alert-CUXXTs-A.js";import{f as Xe}from"./format-error-B18wVBqz.js";import{_ as Di}from"./useAsync-CoP3HYo2.js";import{I as sr}from"./index-8Pfj1kvp.js";import{C as Ct}from"./confirm-DD5TAjx6.js";import{u as Tn}from"./session-DmH17CpQ.js";import{N as Li}from"./index-BOpVxP0B.js";import{a as Ui}from"./uniqBy-DvZfJBLN.js";import{b as qi}from"./sdk-oFRuwQgH.js";import{A as ki}from"./Avatar-CPUcBr2e.js";import{d as Ki}from"./Delete-PO2CUZY1.js";import{p as Bi}from"./index-HqFqdQ4r.js";import{A as Fi}from"./actions-B_ph6AqT.js";import{L as $i,a as Mi}from"./ListItemText-_p53ayXZ.js";import{S as zi}from"./shorten-label-C7cAhyO1.js";import{F as Wi,C as Vi}from"./FormControlLabel-B90pDmco.js";import"./Search-DebWLbXn.js";import"./useThemeProps-DWe4sq9j.js";import"./toPropertyKey-PLuKRk1e.js";import"./emotion-cache.browser.esm-BHZ5GkAU.js";import"./index-oLTmVJss.js";import"./redux-8H8zZE4I.js";import"./ViewColumn-gBpp_W4_.js";import"./useFormControl-D6xM9FXP.js";import"./FormGroup-CjUiV6JR.js";import"./LastPage-Dt-nineH.js";import"./Toolbar-BW2NgBkZ.js";import"./MoreVert-DMmsCPA0.js";import"./index-DaquW_Lp.js";import"./Hidden-CcpHglaq.js";import"./ExpandMore-_gQ-fZto.js";import"./selector-DSVTeW4u.js";import"./OpenInNew-SD9ooEXu.js";import"./CloseOutlined-Cv5fEA0-.js";import"./use-mobile-CN7PshZ5.js";import"./Link-C_SGMwYb.js";import"./useLocalStorage-BKqxa_v7.js";import"./PlayArrow-NGf7DjUf.js";import"./ButtonGroup-7xzATnH3.js";import"./RadioGroup-b8usdHKU.js";import"./index-vLbfY-P2.js";import"./useSetState-CWedcSc_.js";import"./deprecate-DMFecaAn.js";import"./useSlot-DeN8P_X1.js";import"./MoreHoriz-BWWNaLfy.js";import"./Stack-34bIY77n.js";var hr={};Object.defineProperty(hr,"__esModule",{value:!0});var Cn=hr.default=void 0;Hi(H);var Qe=i;function Hi(e){return e&&e.__esModule?e:{default:e}}function qr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function kr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?qr(Object(r),!0).forEach(function(n){Gi(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Gi(e,t,r){return(t=Yi(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yi(e){var t=Zi(e,"string");return typeof t=="symbol"?t:t+""}function Zi(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var gr=function(t){return(0,Qe.jsxs)("svg",kr(kr({},t),{},{children:[(0,Qe.jsx)("g",{clipPath:"url(#clip0)",children:(0,Qe.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,Qe.jsx)("defs",{children:(0,Qe.jsx)("clipPath",{id:"clip0",children:(0,Qe.jsx)("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})})})]}))};gr.defaultProps={width:"18",height:"19",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg"};gr.displayName="person";Cn=hr.default=gr;var wt={},Xi=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Nn="%[a-f0-9]{2}",Kr=new RegExp("("+Nn+")|([^%]+?)","gi"),Br=new RegExp("("+Nn+")+","gi");function cr(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],cr(r),cr(n))}function Ji(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(Kr)||[],r=1;r<t.length;r++)e=cr(t,r).join(""),t=e.match(Kr)||[];return e}}function Qi(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=Br.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var n=Ji(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Br.exec(e)}t["%C2"]="�";for(var s=Object.keys(t),u=0;u<s.length;u++){var d=s[u];e=e.replace(new RegExp(d,"g"),t[d])}return e}var eo=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return Qi(e)}},to=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]},ro=function(e,t){for(var r={},n=Object.keys(e),s=Array.isArray(t),u=0;u<n.length;u++){var d=n[u],S=e[d];(s?t.indexOf(d)!==-1:t(d,S,e))&&(r[d]=S)}return r};(function(e){const t=Xi,r=eo,n=to,s=ro,u=a=>a==null;function d(a){switch(a.arrayFormat){case"index":return o=>(l,p)=>{const y=l.length;return p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?l:p===null?[...l,[j(o,a),"[",y,"]"].join("")]:[...l,[j(o,a),"[",j(y,a),"]=",j(p,a)].join("")]};case"bracket":return o=>(l,p)=>p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?l:p===null?[...l,[j(o,a),"[]"].join("")]:[...l,[j(o,a),"[]=",j(p,a)].join("")];case"comma":case"separator":return o=>(l,p)=>p==null||p.length===0?l:l.length===0?[[j(o,a),"=",j(p,a)].join("")]:[[l,j(p,a)].join(a.arrayFormatSeparator)];default:return o=>(l,p)=>p===void 0||a.skipNull&&p===null||a.skipEmptyString&&p===""?l:p===null?[...l,j(o,a)]:[...l,[j(o,a),"=",j(p,a)].join("")]}}function S(a){let o;switch(a.arrayFormat){case"index":return(l,p,y)=>{if(o=/\[(\d*)\]$/.exec(l),l=l.replace(/\[\d*\]$/,""),!o){y[l]=p;return}y[l]===void 0&&(y[l]={}),y[l][o[1]]=p};case"bracket":return(l,p,y)=>{if(o=/(\[\])$/.exec(l),l=l.replace(/\[\]$/,""),!o){y[l]=p;return}if(y[l]===void 0){y[l]=[p];return}y[l]=[].concat(y[l],p)};case"comma":case"separator":return(l,p,y)=>{const C=typeof p=="string"&&p.includes(a.arrayFormatSeparator),E=typeof p=="string"&&!C&&f(p,a).includes(a.arrayFormatSeparator);p=E?f(p,a):p;const N=C||E?p.split(a.arrayFormatSeparator).map(V=>f(V,a)):p===null?p:f(p,a);y[l]=N};default:return(l,p,y)=>{if(y[l]===void 0){y[l]=p;return}y[l]=[].concat(y[l],p)}}}function x(a){if(typeof a!="string"||a.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function j(a,o){return o.encode?o.strict?t(a):encodeURIComponent(a):a}function f(a,o){return o.decode?r(a):a}function D(a){return Array.isArray(a)?a.sort():typeof a=="object"?D(Object.keys(a)).sort((o,l)=>Number(o)-Number(l)).map(o=>a[o]):a}function b(a){const o=a.indexOf("#");return o!==-1&&(a=a.slice(0,o)),a}function P(a){let o="";const l=a.indexOf("#");return l!==-1&&(o=a.slice(l)),o}function O(a){a=b(a);const o=a.indexOf("?");return o===-1?"":a.slice(o+1)}function k(a,o){return o.parseNumbers&&!Number.isNaN(Number(a))&&typeof a=="string"&&a.trim()!==""?a=Number(a):o.parseBooleans&&a!==null&&(a.toLowerCase()==="true"||a.toLowerCase()==="false")&&(a=a.toLowerCase()==="true"),a}function w(a,o){o=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},o),x(o.arrayFormatSeparator);const l=S(o),p=Object.create(null);if(typeof a!="string"||(a=a.trim().replace(/^[?#&]/,""),!a))return p;for(const y of a.split("&")){if(y==="")continue;let[C,E]=n(o.decode?y.replace(/\+/g," "):y,"=");E=E===void 0?null:["comma","separator"].includes(o.arrayFormat)?E:f(E,o),l(f(C,o),E,p)}for(const y of Object.keys(p)){const C=p[y];if(typeof C=="object"&&C!==null)for(const E of Object.keys(C))C[E]=k(C[E],o);else p[y]=k(C,o)}return o.sort===!1?p:(o.sort===!0?Object.keys(p).sort():Object.keys(p).sort(o.sort)).reduce((y,C)=>{const E=p[C];return E&&typeof E=="object"&&!Array.isArray(E)?y[C]=D(E):y[C]=E,y},Object.create(null))}e.extract=O,e.parse=w,e.stringify=(a,o)=>{if(!a)return"";o=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},o),x(o.arrayFormatSeparator);const l=E=>o.skipNull&&u(a[E])||o.skipEmptyString&&a[E]==="",p=d(o),y={};for(const E of Object.keys(a))l(E)||(y[E]=a[E]);const C=Object.keys(y);return o.sort!==!1&&C.sort(o.sort),C.map(E=>{const N=a[E];return N===void 0?"":N===null?j(E,o):Array.isArray(N)?N.reduce(p(E),[]).join("&"):j(E,o)+"="+j(N,o)}).filter(E=>E.length>0).join("&")},e.parseUrl=(a,o)=>{o=Object.assign({decode:!0},o);const[l,p]=n(a,"#");return Object.assign({url:l.split("?")[0]||"",query:w(O(a),o)},o&&o.parseFragmentIdentifier&&p?{fragmentIdentifier:f(p,o)}:{})},e.stringifyUrl=(a,o)=>{o=Object.assign({encode:!0,strict:!0},o);const l=b(a.url).split("?")[0]||"",p=e.extract(a.url),y=e.parse(p,{sort:!1}),C=Object.assign(y,a.query);let E=e.stringify(C,o);E&&(E=`?${E}`);let N=P(a.url);return a.fragmentIdentifier&&(N=`#${j(a.fragmentIdentifier,o)}`),`${l}${E}${N}`},e.pick=(a,o,l)=>{l=Object.assign({parseFragmentIdentifier:!0},l);const{url:p,query:y,fragmentIdentifier:C}=e.parseUrl(a,l);return e.stringifyUrl({url:p,query:s(y,o),fragmentIdentifier:C},l)},e.exclude=(a,o,l)=>{const p=Array.isArray(o)?y=>!o.includes(y):(y,C)=>!o(y,C);return e.pick(a,p,l)}})(wt);const ct=Jn,no={parseNumbers:!1,parseBooleans:!1},io={skipNull:!1,skipEmptyString:!1},oo=(e,t)=>{var r,n;const{navigateMode:s="push",parseOptions:u,stringifyOptions:d}={},S=Object.assign(Object.assign({},no),u),x=Object.assign(Object.assign({},io),d),j=ct.useLocation(),f=(r=ct.useHistory)===null||r===void 0?void 0:r.call(ct),D=(n=ct.useNavigate)===null||n===void 0?void 0:n.call(ct),b=Xn(),P=H.useRef(typeof e=="function"?e():e||{}),O=H.useMemo(()=>wt.parse(j.search,S),[j.search]),k=H.useMemo(()=>Object.assign(Object.assign({},P.current),O),[O]);return[k,fr(a=>{const o=typeof a=="function"?a(k):a;b(),f&&f[s]({hash:j.hash,search:wt.stringify(Object.assign(Object.assign({},O),o),x)||"?"},j.state),D&&D({hash:j.hash,search:wt.stringify(Object.assign(Object.assign({},O),o),x)||"?"},{replace:s==="replace",state:j.state})})]},ao=oo;var he={};Object.defineProperty(he,"__esModule",{value:!0});he.isValid=he.fromJSON=he.fromRandom=he.fromAddress=he.fromPublicKey=he.fromSecretKey=he.Wallet=he.WalletType=void 0;const ht=gn,Ot=_t,Ae=hn;he.WalletType=Ae.DidType;function it(e,t="default"){const r=(0,Ae.DidType)(t),n=(0,Ot.getSigner)(r.pk),s=(0,Ot.getHasher)(r.hash);return{type:r,secretKey:e.sk,publicKey:e.pk,address:e.pk?(0,Ae.fromPublicKey)(e.pk,r):e.address,hash(u,d=1,S="hex"){return s(u,d,S)},sign(u,d=!0,S="hex"){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(d){const x=s(u,1);return n.sign(x,e.sk,S)}return n.sign(u,e.sk,S)},verify(u,d,S=!0){if(!e.pk)throw new Error("Cannot verify data without a publicKey");const x=S?s(u,1):u;return n.verify(x,d,e.pk)},ethHash(u){if(typeof n.ethHash!="function")throw new Error("ethHash is not supported by signer");return n.ethHash(u)},ethSign(u,d=!0){if(!e.sk)throw new Error("Cannot sign data without a secretKey");if(typeof n.ethHash!="function")throw new Error("ethSign is not supported by signer");return d?n.ethSign(n.ethHash(u),(0,ht.toHex)(e.sk)):n.ethSign(u,(0,ht.toHex)(e.sk))},ethVerify(u,d,S=!0){if(typeof n.ethHash!="function")throw new Error("ethVerify is not supported by signer");const x=S?n.ethHash(u):u;return n.ethRecover(x,d)===this.address},toAddress(){return e.pk?(0,Ae.fromPublicKey)(e.pk,r):e.address},toJSON(){return{type:Ae.DidType.toJSON(r),sk:(0,ht.toHex)(e.sk),pk:(0,ht.toHex)(e.pk),address:this.address}}}}he.Wallet=it;function so(e,t="default"){const r=(0,Ae.DidType)(t),n={sk:e,pk:(0,Ot.getSigner)(r.pk).getPublicKey(e)};return it(n,r)}he.fromSecretKey=so;function co(e,t="default"){return it({pk:e},(0,Ae.DidType)(t))}he.fromPublicKey=co;function lo(e){return it({address:(0,Ae.toAddress)(e)},(0,Ae.toTypeInfo)(e))}he.fromAddress=lo;function uo(e="default"){const t=(0,Ae.DidType)(e),n=(0,Ot.getSigner)(t.pk).genKeyPair();return it({sk:n.secretKey,pk:n.publicKey},t)}he.fromRandom=uo;function fo(e){const t=Ae.DidType.fromJSON(e.type);return it(e,t)}he.fromJSON=fo;function po(e,t=!0){return!(!e||typeof e!="object"||typeof e.verify!="function"||typeof e.toAddress!="function"||typeof e.toJSON!="function"||!e.type||!e.publicKey||t&&(!e.secretKey||typeof e.sign!="function"))}he.isValid=po;var kt={exports:{}},Kt={},Fr;function Dn(){if(Fr)return Kt;Fr=1;function e(o){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},e(o)}function t(o,l,p){return Object.defineProperty(o,"prototype",{writable:!1}),o}function r(o,l){if(!(o instanceof l))throw new TypeError("Cannot call a class as a function")}function n(o,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(l&&l.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),l&&s(o,l)}function s(o,l){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,C){return y.__proto__=C,y},s(o,l)}function u(o){var l=x();return function(){var y=j(o),C;if(l){var E=j(this).constructor;C=Reflect.construct(y,arguments,E)}else C=y.apply(this,arguments);return d(this,C)}}function d(o,l){if(l&&(e(l)==="object"||typeof l=="function"))return l;if(l!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return S(o)}function S(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function x(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function j(o){return j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(p){return p.__proto__||Object.getPrototypeOf(p)},j(o)}var f={},D,b;function P(o,l,p){p||(p=Error);function y(E,N,V){return typeof l=="string"?l:l(E,N,V)}var C=function(E){n(V,E);var N=u(V);function V(ee,X,G){var J;return r(this,V),J=N.call(this,y(ee,X,G)),J.code=o,J}return t(V)}(p);f[o]=C}function O(o,l){if(Array.isArray(o)){var p=o.length;return o=o.map(function(y){return String(y)}),p>2?"one of ".concat(l," ").concat(o.slice(0,p-1).join(", "),", or ")+o[p-1]:p===2?"one of ".concat(l," ").concat(o[0]," or ").concat(o[1]):"of ".concat(l," ").concat(o[0])}else return"of ".concat(l," ").concat(String(o))}function k(o,l,p){return o.substr(0,l.length)===l}function w(o,l,p){return(p===void 0||p>o.length)&&(p=o.length),o.substring(p-l.length,p)===l}function a(o,l,p){return typeof p!="number"&&(p=0),p+l.length>o.length?!1:o.indexOf(l,p)!==-1}return P("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),P("ERR_INVALID_ARG_TYPE",function(o,l,p){D===void 0&&(D=lr()),D(typeof o=="string","'name' must be a string");var y;typeof l=="string"&&k(l,"not ")?(y="must not be",l=l.replace(/^not /,"")):y="must be";var C;if(w(o," argument"))C="The ".concat(o," ").concat(y," ").concat(O(l,"type"));else{var E=a(o,".")?"property":"argument";C='The "'.concat(o,'" ').concat(E," ").concat(y," ").concat(O(l,"type"))}return C+=". Received type ".concat(e(p)),C},TypeError),P("ERR_INVALID_ARG_VALUE",function(o,l){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";b===void 0&&(b=ft);var y=b.inspect(l);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(o,"' ").concat(p,". Received ").concat(y)},TypeError),P("ERR_INVALID_RETURN_VALUE",function(o,l,p){var y;return p&&p.constructor&&p.constructor.name?y="instance of ".concat(p.constructor.name):y="type ".concat(e(p)),"Expected ".concat(o,' to be returned from the "').concat(l,'"')+" function but got ".concat(y,".")},TypeError),P("ERR_MISSING_ARGS",function(){for(var o=arguments.length,l=new Array(o),p=0;p<o;p++)l[p]=arguments[p];D===void 0&&(D=lr()),D(l.length>0,"At least one arg needs to be specified");var y="The ",C=l.length;switch(l=l.map(function(E){return'"'.concat(E,'"')}),C){case 1:y+="".concat(l[0]," argument");break;case 2:y+="".concat(l[0]," and ").concat(l[1]," arguments");break;default:y+=l.slice(0,C-1).join(", "),y+=", and ".concat(l[C-1]," arguments");break}return"".concat(y," must be specified")},TypeError),Kt.codes=f,Kt}var Bt,$r;function mo(){if($r)return Bt;$r=1;function e(A,R){var B=Object.keys(A);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(A);R&&(_=_.filter(function(W){return Object.getOwnPropertyDescriptor(A,W).enumerable})),B.push.apply(B,_)}return B}function t(A){for(var R=1;R<arguments.length;R++){var B=arguments[R]!=null?arguments[R]:{};R%2?e(Object(B),!0).forEach(function(_){r(A,_,B[_])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(B)):e(Object(B)).forEach(function(_){Object.defineProperty(A,_,Object.getOwnPropertyDescriptor(B,_))})}return A}function r(A,R,B){return R=d(R),R in A?Object.defineProperty(A,R,{value:B,enumerable:!0,configurable:!0,writable:!0}):A[R]=B,A}function n(A,R){if(!(A instanceof R))throw new TypeError("Cannot call a class as a function")}function s(A,R){for(var B=0;B<R.length;B++){var _=R[B];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(A,d(_.key),_)}}function u(A,R,B){return R&&s(A.prototype,R),Object.defineProperty(A,"prototype",{writable:!1}),A}function d(A){var R=S(A,"string");return o(R)==="symbol"?R:String(R)}function S(A,R){if(o(A)!=="object"||A===null)return A;var B=A[Symbol.toPrimitive];if(B!==void 0){var _=B.call(A,R||"default");if(o(_)!=="object")return _;throw new TypeError("@@toPrimitive must return a primitive value.")}return(R==="string"?String:Number)(A)}function x(A,R){if(typeof R!="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(R&&R.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),Object.defineProperty(A,"prototype",{writable:!1}),R&&w(A,R)}function j(A){var R=O();return function(){var _=a(A),W;if(R){var g=a(this).constructor;W=Reflect.construct(_,arguments,g)}else W=_.apply(this,arguments);return f(this,W)}}function f(A,R){if(R&&(o(R)==="object"||typeof R=="function"))return R;if(R!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return D(A)}function D(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function b(A){var R=typeof Map=="function"?new Map:void 0;return b=function(_){if(_===null||!k(_))return _;if(typeof _!="function")throw new TypeError("Super expression must either be null or a function");if(typeof R<"u"){if(R.has(_))return R.get(_);R.set(_,W)}function W(){return P(_,arguments,a(this).constructor)}return W.prototype=Object.create(_.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}}),w(W,_)},b(A)}function P(A,R,B){return O()?P=Reflect.construct.bind():P=function(W,g,m){var v=[null];v.push.apply(v,g);var L=Function.bind.apply(W,v),T=new L;return m&&w(T,m.prototype),T},P.apply(null,arguments)}function O(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function k(A){return Function.toString.call(A).indexOf("[native code]")!==-1}function w(A,R){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(_,W){return _.__proto__=W,_},w(A,R)}function a(A){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(B){return B.__proto__||Object.getPrototypeOf(B)},a(A)}function o(A){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},o(A)}var l=ft,p=l.inspect,y=Dn(),C=y.codes.ERR_INVALID_ARG_TYPE;function E(A,R,B){return(B===void 0||B>A.length)&&(B=A.length),A.substring(B-R.length,B)===R}function N(A,R){if(R=Math.floor(R),A.length==0||R==0)return"";var B=A.length*R;for(R=Math.floor(Math.log(R)/Math.log(2));R;)A+=A,R--;return A+=A.substring(0,B-A.length),A}var V="",ee="",X="",G="",J={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},xe=10;function Y(A){var R=Object.keys(A),B=Object.create(Object.getPrototypeOf(A));return R.forEach(function(_){B[_]=A[_]}),Object.defineProperty(B,"message",{value:A.message}),B}function pe(A){return p(A,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function we(A,R,B){var _="",W="",g=0,m="",v=!1,L=pe(A),T=L.split(`
|
|
2
2
|
`),q=pe(R).split(`
|
|
3
3
|
`),F=0,ne="";if(B==="strictEqual"&&o(A)==="object"&&o(R)==="object"&&A!==null&&R!==null&&(B="strictEqualObject"),T.length===1&&q.length===1&&T[0]!==q[0]){var ue=T[0].length+q[0].length;if(ue<=xe){if((o(A)!=="object"||A===null)&&(o(R)!=="object"||R===null)&&(A!==0||R!==0))return"".concat(J[B],`
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b7 as j,cm as O}from"./index-
|
|
1
|
+
import{b7 as j,cm as O}from"./index-D6-qn7YC.js";function m(i,t){for(var r=0;r<t.length;r++){const a=t[r];if(typeof a!="string"&&!Array.isArray(a)){for(const e in a)if(e!=="default"&&!(e in i)){const s=Object.getOwnPropertyDescriptor(a,e);s&&Object.defineProperty(i,e,s.get?s:{enumerable:!0,get:()=>a[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var d={default:O,call:function(i,t,r){var a="";typeof t=="function"&&(r=t,t={});var e={data:t===void 0?null:t};if(typeof r=="function"){var s="dscb"+window.dscb++;window[s]=r,e._dscbstub=s}return e=JSON.stringify(e),window._dsbridge?a=_dsbridge.call(i,e):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(a=prompt("_dsbridge="+i,e)),JSON.parse(a||"{}").data},register:function(i,t,r){var a=r?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){d.call("_dsb.dsinit")},0)),typeof t=="object"?a._obs[i]=t:a[i]=t},registerAsyn:function(i,t){this.register(i,t,!0)},hasNativeMethod:function(i,t){return this.call("_dsb.hasNativeMethod",{name:i,type:t||"all"})},disableJavascriptDialogBlock:function(i){this.call("_dsb.disableJavascriptDialogBlock",{disable:i!==!1})}};(function(){if(!window._dsf){var i={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:d,close:function(){d.call("_dsb.closePage")},_handleMessageFromNative:function(r){var a=JSON.parse(r.data),e={id:r.callbackId,complete:!0},s=this._dsf[r.method],o=this._dsaf[r.method],p=function(u,_){e.data=u.apply(_,a),d.call("_dsb.returnValue",e)},v=function(u,_){a.push(function(w,y){e.data=w,e.complete=y!==!1,d.call("_dsb.returnValue",e)}),u.apply(_,a)};if(s)p(s,this._dsf);else if(o)v(o,this._dsaf);else{var l=r.method.split(".");if(l.length<2)return;var b=l.pop(),g=l.join("."),c=this._dsf._obs,f=c[g]||{},n=f[b];if(n&&typeof n=="function"){p(n,f);return}if(c=this._dsaf._obs,f=c[g]||{},n=f[b],n&&typeof n=="function"){v(n,f);return}}}};for(var t in i)window[t]=i[t];d.register("_hasJavascriptMethod",function(r,a){var e=r.split(".");if(e.length<2)return!!(_dsf[e]||_dsaf[e]);var r=e.pop(),s=e.join("."),o=_dsf._obs[s]||_dsaf._obs[s];return o&&!!o[r]})}})();var h=d;const J=j(h),S=m({__proto__:null,default:J},[h]);export{S as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as Ve,Y as Ye,j as t,P as K,Z as ve,bm as ha,r as U,eI as ba,B as m,de as Bn,bf as cs,aC as Ce,n as yt,u as Ee,aP as pe,a1 as re,t as Y,aY as be,G as Re,gg as Ea,a8 as Pe,K as ls,bC as xa,T as tt,gh as _a,af as ya,au as at,aa as ae,bl as Sa,a0 as Ne,aX as Vt,aS as Qe,gi as va,b7 as rt,l as M,N as Be,bD as xe,fo as Na,bW as je,w as Aa,c as bt,k as qe,aT as ds,aj as it,cq as ct,gj as Ta,gk as Ca,a as Fn,fA as Ra,b as Se,bE as lt,bF as We,bU as Oa,bV as wa,bT as ja,gl as Ia,dB as La,a$ as Ma,b0 as Da,gm as ka,fF as Pa,b6 as Ba,gn as Yt,bH as Fa,cx as us,bt as $a,bs as Me,cD as Ua,go as fs,F as Ka}from"./index-
|
|
1
|
+
import{X as Ve,Y as Ye,j as t,P as K,Z as ve,bm as ha,r as U,eI as ba,B as m,de as Bn,bf as cs,aC as Ce,n as yt,u as Ee,aP as pe,a1 as re,t as Y,aY as be,G as Re,gg as Ea,a8 as Pe,K as ls,bC as xa,T as tt,gh as _a,af as ya,au as at,aa as ae,bl as Sa,a0 as Ne,aX as Vt,aS as Qe,gi as va,b7 as rt,l as M,N as Be,bD as xe,fo as Na,bW as je,w as Aa,c as bt,k as qe,aT as ds,aj as it,cq as ct,gj as Ta,gk as Ca,a as Fn,fA as Ra,b as Se,bE as lt,bF as We,bU as Oa,bV as wa,bT as ja,gl as Ia,dB as La,a$ as Ma,b0 as Da,gm as ka,fF as Pa,b6 as Ba,gn as Yt,bH as Fa,cx as us,bt as $a,bs as Me,cD as Ua,go as fs,F as Ka}from"./index-D6-qn7YC.js";import{I as za}from"./iframe-CNtNQA83.js";import{I as Ha,F as Zt,d as Wa,L as qa,a as Ga}from"./Edit-CNh3gW7J.js";import{B as gs,d as ps}from"./ChevronRight-DBjJ6NLf.js";import{d as ms}from"./ExpandMore-_gQ-fZto.js";import{T as cn}from"./index-QmPKTzYe.js";import{u as ln,b as Va,c as Ya,e as Za}from"./dashboard-kBhY1Chz.js";import{d as Xa}from"./Loop-Co6l3YCy.js";import{d as Ja}from"./Done-C91mwo7P.js";import{F as Qa,R as er,L as Lt}from"./logo-uploader-VvQyjwsJ.js";import{a as $n,A as tr,u as Fe,C as q,b as Un}from"./index.esm-DduNFGMI.js";import{T as te,F as nr}from"./TextField-CrQGhuNw.js";import{e as sr}from"./mode-B2dWMeTO.js";import{w as hs,P as ar}from"./permission-CGleg7Gs.js";import{C as bs}from"./confirm-DD5TAjx6.js";import{f as dn}from"./format-error-B18wVBqz.js";import{_ as rr}from"./useSetState-CWedcSc_.js";import{u as ir}from"./session-DmH17CpQ.js";import{C as or}from"./click-to-copy-Cz088-n3.js";import{F as le,C as Es}from"./FormControlLabel-B90pDmco.js";import{D as cr}from"./DialogContentText-DDxG8hj4.js";import{A as lr}from"./Alert-CUXXTs-A.js";import{a as De,S as dr}from"./index-nJ12q8Oj.js";import{E as un}from"./index-Byv5cIqj.js";import{F as ie}from"./FormControl-DcqSXUze.js";import{d as ur}from"./Launch-Dr5eQTpq.js";import{d as fr}from"./EditIcon-BeH2y9tv.js";import{A as Xt}from"./config-BuNZV38x.js";import{a as gr}from"./ListItemText-_p53ayXZ.js";import{u as pr,a as mr,D as hr,H as br}from"./index-oLTmVJss.js";import{S as St}from"./switch-control-YN5KHB2B.js";import{K as Er}from"./keyboard-arrow-down-rounded-DadBVmpO.js";import{d as Kn}from"./Delete-PO2CUZY1.js";import{d as zn}from"./Add-DyGjqE-h.js";import{S as Oe}from"./Stack-34bIY77n.js";import{S as xr}from"./Slider-CmXT75wu.js";import{D as _r}from"./index-DCSMw_Fs.js";import{I as yr}from"./index-8Pfj1kvp.js";import"./index-4sDEam-t.js";import{i as xs}from"./index-DfwvEXpm.js";import{G as Mt}from"./redux-8H8zZE4I.js";import"./ArrowDropDown-IInSnLqS.js";import"./ButtonGroup-7xzATnH3.js";import"./Avatar-CPUcBr2e.js";import"./useSlot-DeN8P_X1.js";import"./useLocalStorage-BKqxa_v7.js";import"./MoreVert-DMmsCPA0.js";import"./PlayArrow-NGf7DjUf.js";import"./RadioGroup-b8usdHKU.js";import"./FormGroup-CjUiV6JR.js";import"./useFormControl-D6xM9FXP.js";import"./index-vLbfY-P2.js";import"./Link-C_SGMwYb.js";import"./fallback-3gtaf7Sx.js";import"./index-DaquW_Lp.js";import"./Toolbar-BW2NgBkZ.js";import"./Hidden-CcpHglaq.js";import"./index-B3XHYC9j.js";import"./selector-DSVTeW4u.js";import"./deprecate-DMFecaAn.js";import"./index-BjOEQFEW.js";import"./Select-DFT_zgbS.js";import"./InputLabel-B9VpxZFG.js";import"./useAsync-CoP3HYo2.js";import"./useThemeProps-DWe4sq9j.js";import"./toPropertyKey-PLuKRk1e.js";import"./emotion-cache.browser.esm-BHZ5GkAU.js";import"./ViewColumn-gBpp_W4_.js";import"./LastPage-Dt-nineH.js";import"./Search-DebWLbXn.js";var fn={},Sr=Ye;Object.defineProperty(fn,"__esModule",{value:!0});var _s=fn.default=void 0,vr=Sr(Ve()),Nr=t;_s=fn.default=(0,vr.default)((0,Nr.jsx)("path",{d:"M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1M3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1m10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1M7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1m14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1m-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1"}),"TuneRounded");var gn={},Ar=Ye;Object.defineProperty(gn,"__esModule",{value:!0});var ys=gn.default=void 0,Tr=Ar(Ve()),Cr=t;ys=gn.default=(0,Tr.default)((0,Cr.jsx)("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"}),"Key");var pn={},Rr=Ye;Object.defineProperty(pn,"__esModule",{value:!0});var Ss=pn.default=void 0,Or=Rr(Ve()),wr=t;Ss=pn.default=(0,Or.default)((0,wr.jsx)("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"}),"Login");var mn={},jr=Ye;Object.defineProperty(mn,"__esModule",{value:!0});var vs=mn.default=void 0,Ir=jr(Ve()),Lr=t;vs=mn.default=(0,Ir.default)((0,Lr.jsx)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"}),"NotificationsNone");function hn({label:e,disabled:n,required:s,initialValue:a,onChange:u,style:o,onSubmit:c,triggers:r,options:i,formatterBeforeSubmit:l,helperText:d,placeholder:S,renderImage:E,renderLabel:h,filterKeys:N,noEmpty:T,...C}){const[w,f]=U.useState(!1),[g,v]=U.useState(!1),[p,_]=ba.useState(""),[y,I]=U.useState(a),[R,x]=U.useState(y),j=U.useMemo(()=>{if(!i)return{};const $={};return i.forEach(b=>{$[b.code]=b}),$},[i]),O=()=>{if(!i)return[];if(!p)return i.map(b=>b.code);const $=new RegExp(p.toLowerCase());return i.filter(b=>{var A;for(let k=0;k<N.length;k++){const z=N[k];if($.test((A=b[z])==null?void 0:A.toLowerCase()))return!0}return!1}).map(b=>b.code)},D=async()=>{v(!0);try{await c(typeof l=="function"?l(R):R)===!1?x(y):T&&!R.length?(x(a),I(a)):(x(R),I(R))}catch{x(y)}finally{v(!1),f(!1)}},F=($,b)=>{if(!Array.isArray(b)){x([]),u([]);return}const A=b.filter(k=>j[k]);if(!A.length){x([]),u([]);return}x(A),u(A)},V=w?t.jsx(tr,{options:i,value:R,onChange:F,inputValue:p,onInputChange:($,b)=>{_(b)},PopperComponent:Dr,fullWidth:!0,multiple:!0,variant:"outlined",margin:"dense",filterOptions:O,getOptionLabel:$=>{var b;return(b=j[$])==null?void 0:b.name},renderInput:$=>t.jsx(te,{...$,label:"",placeholder:S}),renderOption:($,b)=>{var k;const A=R.indexOf(b)!==-1;return U.createElement(Mr,{component:"li",...$,key:b},E(j[b]||{}),t.jsx(m,{sx:{"& > img":{mr:2,flexShrink:0}},style:{flex:1,fontWeight:A?"700":"normal"},children:h(b,j[b])||((k=j[b])==null?void 0:k.name)}),t.jsx(m,{component:Bn,sx:{opacity:.5,width:18,height:18},style:{visibility:A?"visible":"hidden"}}))},...C}):t.jsx(m,{px:1,className:"form-item-input slot",style:{whiteSpace:"pre-wrap"},children:R.filter($=>i.some(b=>b.code===$)).map($=>t.jsx(cs,{label:i.find(b=>b.code===$).name,style:{marginRight:8},size:"small"},$))});return t.jsx(Qa,{className:"form",style:o,children:t.jsxs(m,{className:"form-item",children:[t.jsxs(m,{className:"form-item-label",children:[e,s&&t.jsx(er,{})]}),t.jsxs(m,{className:"form-item-body",children:[t.jsx(m,{className:"form-item-input",children:V}),t.jsx(m,{className:"form-item-action",children:w?t.jsxs(t.Fragment,{children:[t.jsx(Ce,{"data-cy":"schema-form-item-confirm",onClick:D,disabled:n||g,size:"large",children:g?t.jsx(yt,{size:24}):t.jsx(Ja,{})}),t.jsx(Ce,{"data-cy":"schema-form-item-cancel",onClick:()=>{x(y),f(!1)},disabled:n||g,size:"large",children:t.jsx(Bn,{})})]}):t.jsx(Ha,{triggers:r,onEnterEdit:()=>f(!0),disabled:n})})]}),w&&d&&t.jsx(nr,{children:d})]})})}hn.propTypes={style:K.object,onSubmit:K.func,onChange:K.func,label:K.string,initialValue:K.string,required:K.bool,disabled:K.bool,triggers:K.array,options:K.array,helperText:K.string,formatterBeforeSubmit:K.func,placeholder:K.string,renderImage:K.func,filterKeys:K.arrayOf(K.string),noEmpty:K.bool,renderLabel:K.func};hn.defaultProps={style:{},onSubmit:()=>{},onChange:()=>{},label:"",initialValue:"",required:!1,disabled:!1,triggers:[],options:[],helperText:"",formatterBeforeSubmit:e=>e.join(","),placeholder:"",filterKeys:["name"],renderImage:()=>null,renderLabel:(e,n)=>"",noEmpty:!1};const Mr=ve.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r,aT as d,j as e,b as u,ai as I,bn as M,cy as z,P as t,bD as E,bt as m,bm as S}from"./index-
|
|
1
|
+
import{r,aT as d,j as e,b as u,ai as I,bn as M,cy as z,P as t,bD as E,bt as m,bm as S}from"./index-D6-qn7YC.js";import{d as T}from"./ExpandMore-_gQ-fZto.js";import{B as v}from"./ButtonGroup-7xzATnH3.js";function p(s){const{size:f,color:i,menu:a,children:l,variant:h,onClick:x,menuButtonProps:y,...g}=s,[j,c]=r.useState(!1),o=r.useRef(null),b=Array.isArray(a)?a.map((n,P)=>r.isValidElement(n)?n:r.createElement(d,{...n,key:P})):a,k=()=>{c(n=>!n)},B=n=>{o.current&&o.current.contains(n.target)||c(!1)},C=n=>{n.target.closest(".MuiMenuItem-root")&&c(!1)};return e.jsxs(e.Fragment,{children:[e.jsxs(A,{variant:h,size:f,color:i,ref:o,...g,children:[typeof l=="function"?l():e.jsx(u,{onClick:x,color:i,children:l}),e.jsx(u,{onClick:k,color:i,...y,"aria-label":"more functions",children:e.jsx(T,{})})]}),e.jsx(L,{open:j,anchorEl:o.current,placement:"bottom-end",disablePortal:!1,children:e.jsx(I,{children:e.jsx(M,{onClickAway:B,children:e.jsx(z,{onClick:C,children:b})})})})]})}p.propTypes={size:t.string,color:t.string,menu:t.oneOfType([t.node,t.array]),children:t.node,variant:t.oneOf(["outlined","contained"]),onClick:t.func,menuButtonProps:t.object};p.defaultProps={size:"medium",color:"primary",menu:[],children:null,variant:"contained",onClick:E,menuButtonProps:{}};p.Item=d;const A=m(v)`
|
|
2
2
|
> .MuiButtonBase-root:last-of-type {
|
|
3
3
|
min-width: 2em;
|
|
4
4
|
padding-left: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as d,j as o,bt as h,B as p,P as i}from"./index-
|
|
1
|
+
import{r as d,j as o,bt as h,B as p,P as i}from"./index-D6-qn7YC.js";var a={};Object.defineProperty(a,"__esModule",{value:!0});var f=a.default=void 0;v(d);var c=o;function v(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(y){return Object.getOwnPropertyDescriptor(e,y).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(n){b(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function b(e,t,r){return(t=j(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e){var t=g(e,"string");return typeof t=="symbol"?t:t+""}function g(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var l=function(t){return(0,c.jsx)("svg",u(u({},t),{},{children:(0,c.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"})}))};l.defaultProps={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};l.displayName="empty";f=a.default=l;const O=h(p)`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as h,a0 as g,aY as y,j as t,C as P,n as v,B as c,a1 as d,P as m,Z as w}from"./index-
|
|
1
|
+
import{r as h,a0 as g,aY as y,j as t,C as P,n as v,B as c,a1 as d,P as m,Z as w}from"./index-D6-qn7YC.js";import{P as T}from"./page-header-5F6egx2_.js";import{u as B}from"./index-CgaigX2y.js";import{C as E,D,a as N}from"./connect-to-oZQ3bHHK.js";import{S as u}from"./step-actions-DcaA_1G8.js";import{S as b}from"./layout-BR242h2z.js";import"./spaces-BadxZSPH.js";import"./index-DfwvEXpm.js";import"./api-dSHDB8TX.js";import"./url-join-f_4hZoEz.js";import"./Skeleton-DNwmSsjq.js";import"./Hidden-CcpHglaq.js";import"./use-blocklet-info-for-connect-did-spaces-C8k09CGt.js";import"./CloseOutlined-Cv5fEA0-.js";import"./did-address-BKqEASAW.js";import"./Link-C_SGMwYb.js";import"./DeleteOutline-PwtNQI2z.js";import"./format-error-B18wVBqz.js";import"./index-Bx84JAj-.js";import"./ExpandMore-_gQ-fZto.js";import"./ButtonGroup-7xzATnH3.js";import"./DialogContentText-DDxG8hj4.js";import"./TextField-CrQGhuNw.js";import"./FormControl-DcqSXUze.js";import"./useFormControl-D6xM9FXP.js";import"./InputLabel-B9VpxZFG.js";import"./Select-DFT_zgbS.js";import"./Alert-CUXXTs-A.js";import"./useSlot-DeN8P_X1.js";import"./content-layout-CnChPnA0.js";function l({onNext:r,onPrevious:x}){var s,n,p;const{t:e}=h.useContext(g),{blocklet:i}=y(),{spaceGateway:C,settingStorageEndpoint:j,updateSpaceGateway:f,hasStorageEndpoint:S,loading:o,storageEndpoint:a}=B();return o?t.jsx(P,{relative:"parent",children:t.jsx(v,{})}):t.jsxs(G,{children:[t.jsx("div",{className:"header",children:t.jsx(T,{title:e("setup.didSpace.title"),subTitle:e("setup.didSpace.subTitle"),onClickBack:x})}),t.jsx(c,{sx:{width:"100%",maxWidth:"720px"},children:S?t.jsx(E,{spaceGateway:C,settingStorageEndpoint:j}):t.jsx(D,{})}),((s=i==null?void 0:i.capabilities)==null?void 0:s.didSpace)&&t.jsx(c,{display:"flex",alignItems:"center",justifyContent:"center",paddingTop:"24px",children:t.jsx(N,{onConnect:f,storageEndpoint:a})}),((n=i==null?void 0:i.capabilities)==null?void 0:n.didSpace)==="required"&&t.jsx(u,{mt:8,children:t.jsx(d,{loading:o,variant:"contained",disabled:o||!a,onClick:()=>r(),children:e("setup.continue")})}),((p=i==null?void 0:i.capabilities)==null?void 0:p.didSpace)==="optional"&&t.jsx(u,{blocklet:i,onStartNow:()=>r("complete"),children:t.jsx(d,{className:"start-now",loading:o,variant:"contained",disabled:o,onClick:()=>r(),children:e(a?"setup.continue":"setup.skip")})})]})}l.propTypes={onNext:m.func,onPrevious:m.func};l.defaultProps={onNext:()=>{},onPrevious:()=>{}};const G=w(b)`
|
|
2
2
|
height: 100%;
|
|
3
3
|
overflow-y: auto;
|
|
4
4
|
`;export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as A,v as R,p as w,e as p}from"./index-
|
|
1
|
+
import{d as A,v as R,p as w,e as p}from"./index-Jp3DytaA.js";const O=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,x=/^[a-zA-Z]:\\/;function N(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return x.test(e)?!1:O.test(e)}const _=["http","https"],z=["nofollow"],L={};function T(e){const r=e||L,g=r.protocols||_,u=A(r.test);return function(h){R(h,"element",function(t,y,E){if(t.tagName==="a"&&typeof t.properties.href=="string"&&u(t,y,E)){const o=t.properties.href;if(N(o)?g.includes(o.slice(0,o.indexOf(":"))):o.startsWith("//")){const n=s(r.content,t),c=n&&!Array.isArray(n)?[n]:n,i=s(r.rel,t)||z,a=typeof i=="string"?w(i):i,f=s(r.target,t),l=s(r.properties,t);if(l&&Object.assign(t.properties,p(l)),a.length>0&&(t.properties.rel=[...a]),f&&(t.properties.target=f),c){const m=s(r.contentProperties,t)||{};t.children.push({type:"element",tagName:"span",properties:p(m),children:p(c)})}}}})}}function s(e,r){return typeof e=="function"?e(r):e}export{T as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b7 as y}from"./index-
|
|
1
|
+
import{b7 as y}from"./index-D6-qn7YC.js";var c={};function u(e,i){typeof i=="boolean"&&(i={forever:i}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=i||{},this._maxRetryTime=i&&i.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}var T=u;u.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};u.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};u.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var i=new Date().getTime();if(e&&i-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var t=this._timeouts.shift();if(t===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),t=this._cachedTimeouts.slice(-1);else return!1;var r=this;return this._timer=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},t),this._options.unref&&this._timer.unref(),!0};u.prototype.attempt=function(e,i){this._fn=e,i&&(i.timeout&&(this._operationTimeout=i.timeout),i.cb&&(this._operationTimeoutCb=i.cb));var t=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){t._operationTimeoutCb()},t._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};u.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};u.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};u.prototype.start=u.prototype.try;u.prototype.errors=function(){return this._errors};u.prototype.attempts=function(){return this._attempts};u.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},i=null,t=0,r=0;r<this._errors.length;r++){var n=this._errors[r],o=n.message,a=(e[o]||0)+1;e[o]=a,a>=t&&(i=n,t=a)}return i};(function(e){var i=T;e.operation=function(t){var r=e.timeouts(t);return new i(r,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},e.timeouts=function(t){if(t instanceof Array)return[].concat(t);var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var n in t)r[n]=t[n];if(r.minTimeout>r.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var o=[],a=0;a<r.retries;a++)o.push(this.createTimeout(a,r));return t&&t.forever&&!o.length&&o.push(this.createTimeout(a,r)),o.sort(function(s,m){return s-m}),o},e.createTimeout=function(t,r){var n=r.randomize?Math.random()+1:1,o=Math.round(n*Math.max(r.minTimeout,1)*Math.pow(r.factor,t));return o=Math.min(o,r.maxTimeout),o},e.wrap=function(t,r,n){if(r instanceof Array&&(n=r,r=null),!n){n=[];for(var o in t)typeof t[o]=="function"&&n.push(o)}for(var a=0;a<n.length;a++){var s=n[a],m=t[s];t[s]=(function(p){var f=e.operation(r),h=Array.prototype.slice.call(arguments,1),l=h.pop();h.push(function(_){f.retry(_)||(_&&(arguments[0]=f.mainError()),l.apply(this,arguments))}),f.attempt(function(){p.apply(t,h)})}).bind(t,m),t[s].options=r}}})(c);var v=c;const R=y(v);export{R as a,v as r};
|