@abtnode/blocklet-services 1.16.26-beta-c724c8e6 → 1.16.26-beta-bdd2d7c0
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/dist/assets/{Add-CSALqOL2.js → Add-8T59IMCW.js} +1 -1
- package/dist/assets/{Alert-Bfy43tWu.js → Alert-Crwo2xUD.js} +1 -1
- package/dist/assets/{ArrowDropDown-YQC0m5j6.js → ArrowDropDown-Bygnru-D.js} +1 -1
- package/dist/assets/{Avatar-kRZlSVDZ.js → Avatar-Ai5wR0kn.js} +1 -1
- package/dist/assets/{ButtonGroup-B9nwPHBC.js → ButtonGroup-WBLH-0U6.js} +1 -1
- package/dist/assets/{CheckCircle-B1QjBTyZ.js → CheckCircle-DB3RlZ4F.js} +1 -1
- package/dist/assets/{ChevronRight-DP0p_UTV.js → ChevronRight-DQvI5z3I.js} +1 -1
- package/dist/assets/{CloseOutlined-Dd6P0mUS.js → CloseOutlined-BGca49KO.js} +1 -1
- package/dist/assets/{Delete-DXQBSw3p.js → Delete-DKoGnICo.js} +1 -1
- package/dist/assets/{DeleteOutline-BcuMj2Om.js → DeleteOutline-DxXBgofA.js} +1 -1
- package/dist/assets/{Done-C_QFBMZp.js → Done-qakBXtMB.js} +1 -1
- package/dist/assets/{Download-E58lW-mA.js → Download-DczM-Jbr.js} +1 -1
- package/dist/assets/{Edit-Cb5DHfSS.js → Edit--2SLLTj1.js} +1 -1
- package/dist/assets/{EditIcon-Nlg8TK77.js → EditIcon-BJLohkMs.js} +1 -1
- package/dist/assets/{ExpandMore-CboKri_u.js → ExpandMore-nrpgUsl7.js} +1 -1
- package/dist/assets/{FilterList-wuXDGTLe.js → FilterList-CUpBoesF.js} +1 -1
- package/dist/assets/{FormControl-C-HIkhGC.js → FormControl-CcjaJjrf.js} +1 -1
- package/dist/assets/{FormControlLabel-BMm4Nb7L.js → FormControlLabel-D_KAO54-.js} +1 -1
- package/dist/assets/{FormGroup-sFGTqDL0.js → FormGroup-DXHCdTZw.js} +1 -1
- package/dist/assets/{Google-6skZzWel.js → Google-DktcxZZU.js} +1 -1
- package/dist/assets/{Grid-DrgCuwdw.js → Grid-D5FouhYT.js} +1 -1
- package/dist/assets/{Hidden-DGbIB_cs.js → Hidden-COQ_Tvqh.js} +1 -1
- package/dist/assets/{InfoOutlined-BzdWDdEW.js → InfoOutlined-DEV5s7x8.js} +1 -1
- package/dist/assets/{InputAdornment-DLeNk04D.js → InputAdornment-C14SwtKn.js} +1 -1
- package/dist/assets/{InputLabel-BEw4IlsK.js → InputLabel-YdMTqhZl.js} +1 -1
- package/dist/assets/{LastPage-B7fr2Bgg.js → LastPage-B5tlMJN0.js} +1 -1
- package/dist/assets/{Launch-bbh5Q3b_.js → Launch-BIFSgYhi.js} +1 -1
- package/dist/assets/{LaunchOutlined-Dv6lMSrT.js → LaunchOutlined-SwQa7Afo.js} +1 -1
- package/dist/assets/{Link-CkTpavTP.js → Link-Bwsal4Ox.js} +1 -1
- package/dist/assets/{ListItem-DUdj8Kmm.js → ListItem-DRM5kIT9.js} +1 -1
- package/dist/assets/{ListItemText-Caaw8krj.js → ListItemText-BlPu2nqy.js} +1 -1
- package/dist/assets/{LockIcon-DX6Zdkki.js → LockIcon-DrXN4_XB.js} +1 -1
- package/dist/assets/{Loop-8GJykIwr.js → Loop-rBqfCCkQ.js} +1 -1
- package/dist/assets/{MoreHoriz-D9SvJLnk.js → MoreHoriz-WCi0DSuZ.js} +1 -1
- package/dist/assets/{MoreVert-Diuqsm0S.js → MoreVert-DbWiXbcA.js} +1 -1
- package/dist/assets/{OpenInNew-7hVLsi_L.js → OpenInNew-DuYUOPxB.js} +1 -1
- package/dist/assets/{Pagination-Clu1MG6s.js → Pagination-Bv5U_pGR.js} +1 -1
- package/dist/assets/{PlayArrow-Ctey7itN.js → PlayArrow-BfyPVD-2.js} +1 -1
- package/dist/assets/{RadioGroup-CF5xStKS.js → RadioGroup-NSzKVtOV.js} +1 -1
- package/dist/assets/{Search-BwpU7y5Y.js → Search-Sr9tkEqk.js} +1 -1
- package/dist/assets/{Select-DeQrk7uE.js → Select-D_91DIwY.js} +1 -1
- package/dist/assets/{ServerLogo-DdMEc5OT.js → ServerLogo-BSDIaEZO.js} +1 -1
- package/dist/assets/{Skeleton-BYZaCcFY.js → Skeleton-CuSKL2hV.js} +1 -1
- package/dist/assets/{Slider-RDFV-ee2.js → Slider-C8yu4uAg.js} +1 -1
- package/dist/assets/{Stepper-Byik0SvR.js → Stepper-BkRbGfXv.js} +1 -1
- package/dist/assets/{TableRow-BUGcp46F.js → TableRow-DVwfNOQg.js} +1 -1
- package/dist/assets/{TextField-1REpbtHI.js → TextField-CSTjJzfp.js} +1 -1
- package/dist/assets/{Toolbar-D1UExKwh.js → Toolbar-DRVVzz30.js} +1 -1
- package/dist/assets/{ViewList-DHOYXrF1.js → ViewList-YdULiBvb.js} +1 -1
- package/dist/assets/{access-control-DkXxF3G5.js → access-control-DOZ7s87r.js} +1 -1
- package/dist/assets/{actions-BJCgpUa1.js → actions-8d_RsIbE.js} +1 -1
- package/dist/assets/{add-component-core-BcdmPIzQ.js → add-component-core-zggcQBsf.js} +1 -1
- package/dist/assets/add-resource-BunVG3Jb.js +1 -0
- package/dist/assets/{addon-DPweWyQ9.js → addon-DceAHXlv.js} +1 -1
- package/dist/assets/{analytics-DMUwKOCx.js → analytics-CWAcvHcJ.js} +1 -1
- package/dist/assets/api-CfX3cKOh.js +1 -0
- package/dist/assets/{audit-logs-CFobEMUo.js → audit-logs-CpvU9Z3W.js} +1 -1
- package/dist/assets/{button-BOQqSIjQ.js → button-Db57ewkG.js} +1 -1
- package/dist/assets/{click-to-copy-BhXu5Oa9.js → click-to-copy-CJHTeQKm.js} +1 -1
- package/dist/assets/{complete-B5EdQ5rD.js → complete-BIlN9ol_.js} +1 -1
- package/dist/assets/{component-CPiVNvUd.js → component-BhjWGvrI.js} +1 -1
- package/dist/assets/{config-DEX2jzvW.js → config-BruFcgR7.js} +1 -1
- package/dist/assets/{config-Dmy2r2ct.js → config-DydNYnV3.js} +1 -1
- package/dist/assets/{config-navigation-BZ-m12wq.js → config-navigation-BObqSTqA.js} +1 -1
- package/dist/assets/{config-space-CAE9_X8D.js → config-space-1z89HNAO.js} +1 -1
- package/dist/assets/{confirm-Cxv5rlKs.js → confirm-DMbiPVtG.js} +1 -1
- package/dist/assets/{connect-th3KGF1X.js → connect-crot2SjN.js} +1 -1
- package/dist/assets/{connect-BY6uhibK.js → connect-lxXaAnLE.js} +1 -1
- package/dist/assets/{connect-to-BMXxyPoQ.js → connect-to-C8sj3bGw.js} +1 -1
- package/dist/assets/{content-layout-CAjryyt5.js → content-layout-mrdcG4uo.js} +1 -1
- package/dist/assets/{dashboard-x-SwAZSt.js → dashboard-CjTXCmob.js} +3 -3
- package/dist/assets/{did-address-BdzARvFL.js → did-address-BYpO2Eq5.js} +1 -1
- package/dist/assets/{domain-Dg4C4gEx.js → domain-BIr6FXMT.js} +1 -1
- package/dist/assets/{domain-list-DQo9izp6.js → domain-list-_sZHokIh.js} +1 -1
- package/dist/assets/{exchange-passport-BSDNgDh5.js → exchange-passport-bv0GTe0o.js} +1 -1
- package/dist/assets/{fallback-CUhtWylI.js → fallback-Ou1wGAjU.js} +1 -1
- package/dist/assets/{fuel-CSlGFStq.js → fuel-Cp1k34c3.js} +1 -1
- package/dist/assets/{fullpage-CCEVYKVy.js → fullpage-DnvDzESp.js} +1 -1
- package/dist/assets/{home-4YK2sPir.js → home-C5GZYFBY.js} +1 -1
- package/dist/assets/{iframe-VDCuXFSq.js → iframe-CqmokW-x.js} +1 -1
- package/dist/assets/{index-DdaeL0pn.js → index-B2Ydx0K5.js} +1 -1
- package/dist/assets/{index-iVkbhCIq.js → index-B4O8U9Dp.js} +1 -1
- package/dist/assets/{index-i7JgVpS8.js → index-BH0FCMiq.js} +1 -1
- package/dist/assets/{index-De7ZBKgW.js → index-BMCzic0S.js} +1 -1
- package/dist/assets/{index-B_nWZpYb.js → index-BQ65Lonq.js} +1 -1
- package/dist/assets/{index-OGKPRmXX.js → index-BcasUcil.js} +1 -1
- package/dist/assets/{index-BkHtGxzx.js → index-BfxNFAMu.js} +1 -1
- package/dist/assets/{index-COXGvP9H.js → index-CAdN20YD.js} +1 -1
- package/dist/assets/{index-BUTxi5wJ.js → index-CFZ9_172.js} +3 -3
- package/dist/assets/{index-Cj9Ilrq-.js → index-CG19OnDF.js} +1 -1
- package/dist/assets/{index-Brl8hqFl.js → index-CJK1QvWr.js} +1 -1
- package/dist/assets/{index-DncF0fB3.js → index-CJdsq6dl.js} +1 -1
- package/dist/assets/{index-BWH1BL7e.js → index-CKe6Mpg5.js} +1 -1
- package/dist/assets/{index-DlBowrsh.js → index-COhr7GyB.js} +1 -1
- package/dist/assets/{index-CEOtTrx7.js → index-CXpJN1ua.js} +1 -1
- package/dist/assets/{index-BnqbdDV9.js → index-CooUfCgZ.js} +1 -1
- package/dist/assets/{index-C6Ue8EuO.js → index-DHQX1PVd.js} +222 -222
- package/dist/assets/{index-COFYjffY.js → index-DbrGFbtF.js} +1 -1
- package/dist/assets/{index-BIl2byhA.js → index-DiqGWQKr.js} +1 -1
- package/dist/assets/{index-KKIYuddO.js → index-DrttKcTf.js} +1 -1
- package/dist/assets/{index-CzzCTVSf.js → index-Du1K2p4y.js} +1 -1
- package/dist/assets/{index-B8il3K7L.js → index-DvYfZRax.js} +1 -1
- package/dist/assets/{index-DSyhtbQu.js → index-DwHc8apJ.js} +1 -1
- package/dist/assets/{index-D5uLks1u.js → index-KtY4ATJh.js} +1 -1
- package/dist/assets/{index-D2-McmJV.js → index-TegTFCcP.js} +3 -3
- package/dist/assets/{index-DGMWtahG.js → index-jvpScDP6.js} +1 -1
- package/dist/assets/{index-DG_ypNN6.js → index-kA8HsW4g.js} +1 -1
- package/dist/assets/{index.es-CHEOrdi2.js → index.es-DBBs9Q9L.js} +1 -1
- package/dist/assets/{index.esm-1E_GgTvg.js → index.esm-BjrGRZCQ.js} +1 -1
- package/dist/assets/{invitation-l8cfulo_.js → invitation-DDAjhnBl.js} +1 -1
- package/dist/assets/{invite-D5vQgiOc.js → invite-DC6jdCE3.js} +1 -1
- package/dist/assets/{issue-passport-Cf-xm3hp.js → issue-passport-BXNEAbmB.js} +1 -1
- package/dist/assets/{item-BccTJwxu.js → item-BVPPHzf9.js} +1 -1
- package/dist/assets/{jss-plugin-props-sort.esm-CAOI9fXo.js → jss-plugin-props-sort.esm-BdIoAE3e.js} +1 -1
- package/dist/assets/{launch-result-message-CfYP3oYm.js → launch-result-message-DonsroFG.js} +1 -1
- package/dist/assets/{layout-B7TaVAOp.js → layout-cXWh6FBa.js} +1 -1
- package/dist/assets/{list-header-DzErmZPF.js → list-header-Bx7SLXSr.js} +1 -1
- package/dist/assets/localization-BQkeSmyd.js +1 -0
- package/dist/assets/{log-DnrPjYaF.js → log-zRK_yDdu.js} +1 -1
- package/dist/assets/{login-C_d3kcDB.js → login-Dil9qrHx.js} +1 -1
- package/dist/assets/{logo-uploader-CwSvo0ae.js → logo-uploader-DPuDV7et.js} +3 -3
- package/dist/assets/{lost-passport-Ff-IHu4a.js → lost-passport-GqxHepq5.js} +3 -3
- package/dist/assets/{lottie-k5jCb9t6.js → lottie-DGyNvifd.js} +1 -1
- package/dist/assets/{notifications-BYPIYVNe.js → notifications-Cpf-k4HI.js} +1 -1
- package/dist/assets/{overview-Be7QvIZN.js → overview-DEmaYgGB.js} +1 -1
- package/dist/assets/{page-header-ByCAXek-.js → page-header-pSL3wTve.js} +1 -1
- package/dist/assets/{permission-D8W7kw-h.js → permission-BjmUrDnm.js} +1 -1
- package/dist/assets/{preferences-SvUeEo-H.js → preferences-uM_uiuSX.js} +1 -1
- package/dist/assets/publish-resource-C1KNKpHG.js +1 -0
- package/dist/assets/{react-BiUsLSvX.js → react-Cc2j3hv0.js} +3 -3
- package/dist/assets/{redux-BEagnTzd.js → redux-qjiNkpdr.js} +1 -1
- package/dist/assets/{selector-Btvzcs3I.js → selector-C2yAZdz0.js} +1 -1
- package/dist/assets/session-8rU_0ERq.js +1 -0
- package/dist/assets/{setup-DUlhW3pN.js → setup-DYlAGSo2.js} +3 -3
- package/dist/assets/{slicedToArray-Alir59X0.js → slicedToArray-DZiaVnG-.js} +1 -1
- package/dist/assets/{spaces-azJeDl15.js → spaces-CqVozpvZ.js} +1 -1
- package/dist/assets/{start-BELza-Mc.js → start-CEOw2_kj.js} +1 -1
- package/dist/assets/{step-actions-CmNdp14l.js → step-actions-B4mur2qN.js} +1 -1
- package/dist/assets/{studio-C2Ej83Gl.js → studio-s8neKyiD.js} +1 -1
- package/dist/assets/{switch-control-BuCqXYS5.js → switch-control-BB1jIk8U.js} +1 -1
- package/dist/assets/{toUpper-7Va8nJbM.js → toUpper-xlVYfWmm.js} +1 -1
- package/dist/assets/{transfer-DYRzJT9S.js → transfer-BRNrod6D.js} +1 -1
- package/dist/assets/{ua-parser-B4fL4aLk.js → ua-parser-nXsjetaX.js} +1 -1
- package/dist/assets/{uniqBy-D7b07JqH.js → uniqBy-DPA3xmia.js} +1 -1
- package/dist/assets/{unsubscribe-DbVpYahm.js → unsubscribe-Cz0G840m.js} +1 -1
- package/dist/assets/{use-blocklet-info-for-connect-did-spaces-CU1i1qSA.js → use-blocklet-info-for-connect-did-spaces-8OYxFynz.js} +1 -1
- package/dist/assets/{useAsync-C0DeDjqc.js → useAsync-Cey52cAz.js} +1 -1
- package/dist/assets/{useFormControl-DwATx00U.js → useFormControl-CsID-OtD.js} +1 -1
- package/dist/assets/{useLocalStorage-O0eB5S4S.js → useLocalStorage-BrqQQrPs.js} +1 -1
- package/dist/assets/{useSetState-Cvi1fL6F.js → useSetState-Dz5RkyHX.js} +1 -1
- package/dist/assets/{useSlot-eNkNGL79.js → useSlot-Cv4LTxHH.js} +1 -1
- package/dist/assets/{user-center-S1eifUHr.js → user-center-CGTtcwQW.js} +1 -1
- package/dist/assets/{user-sessions-C-s-TSGZ.js → user-sessions-Dbz0Ukar.js} +1 -1
- package/dist/assets/{util-CY67-DOO.js → util-Cve0NA-s.js} +1 -1
- package/dist/assets/{wrap-locale-Bb5r-LIM.js → wrap-locale-BbRBJDgC.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +18 -18
- package/dist/assets/add-resource-BgRIgUuu.js +0 -1
- package/dist/assets/api-CfHak9bu.js +0 -1
- package/dist/assets/localization-CDq-HG2y.js +0 -1
- package/dist/assets/publish-resource-BxHcEnAH.js +0 -1
- package/dist/assets/session-Bf7V9tjJ.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as d,aC as w,aB as U,aD as x,aG as s,aK as _,aF as T,j as i,aI as P,aJ as W,ap as B,c2 as G,aE as V}from"./index-
|
|
1
|
+
import{r as d,aC as w,aB as U,aD as x,aG as s,aK as _,aF as T,j as i,aI as P,aJ as W,ap as B,c2 as G,aE as V}from"./index-DHQX1PVd.js";const J=d.createContext({}),k=J,K=d.createContext({}),E=K;function q(e){return w("MuiStep",e)}U("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);const O=["active","children","className","component","completed","disabled","expanded","index","last"],Q=e=>{const{classes:t,orientation:o,alternativeLabel:n,completed:a}=e;return W({root:["root",o,n&&"alternativeLabel",a&&"completed"]},q,t)},X=x("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})(({ownerState:e})=>s({},e.orientation==="horizontal"&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"})),Y=d.forwardRef(function(t,o){const n=_({props:t,name:"MuiStep"}),{active:a,children:l,className:v,component:c="div",completed:p,disabled:b,expanded:u=!1,index:r,last:m}=n,M=T(n,O),{activeStep:h,connector:C,alternativeLabel:y,orientation:R,nonLinear:$}=d.useContext(k);let[S=!1,I=!1,L=!1]=[a,p,b];h===r?S=a!==void 0?a:!0:!$&&h>r?I=p!==void 0?p:!0:!$&&h<r&&(L=b!==void 0?b:!0);const j=d.useMemo(()=>({index:r,last:m,expanded:u,icon:r+1,active:S,completed:I,disabled:L}),[r,m,u,S,I,L]),f=s({},n,{active:S,orientation:R,alternativeLabel:y,completed:I,disabled:L,expanded:u,component:c}),N=Q(f),z=i.jsxs(X,s({as:c,className:P(N.root,v),ref:o,ownerState:f},M,{children:[C&&y&&r!==0?C:null,l]}));return i.jsx(E.Provider,{value:j,children:C&&!y&&r!==0?i.jsxs(d.Fragment,{children:[C,z]}):z})}),ze=Y,Z=B(i.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),ee=B(i.jsx("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");function te(e){return w("MuiStepIcon",e)}const oe=U("MuiStepIcon",["root","active","completed","error","text"]),A=oe;var F;const ne=["active","className","completed","error","icon"],ae=e=>{const{classes:t,active:o,completed:n,error:a}=e;return W({root:["root",o&&"active",n&&"completed",a&&"error"],text:["text"]},te,t)},D=x(G,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${A.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${A.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${A.error}`]:{color:(e.vars||e).palette.error.main}})),re=x("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})(({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily})),se=d.forwardRef(function(t,o){const n=_({props:t,name:"MuiStepIcon"}),{active:a=!1,className:l,completed:v=!1,error:c=!1,icon:p}=n,b=T(n,ne),u=s({},n,{active:a,completed:v,error:c}),r=ae(u);if(typeof p=="number"||typeof p=="string"){const m=P(l,r.root);return c?i.jsx(D,s({as:ee,className:m,ref:o,ownerState:u},b)):v?i.jsx(D,s({as:Z,className:m,ref:o,ownerState:u},b)):i.jsxs(D,s({className:m,ref:o,ownerState:u},b,{children:[F||(F=i.jsx("circle",{cx:"12",cy:"12",r:"12"})),i.jsx(re,{className:r.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:u,children:p})]}))}return p}),le=se;function ie(e){return w("MuiStepLabel",e)}const ce=U("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),g=ce,pe=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],de=e=>{const{classes:t,orientation:o,active:n,completed:a,error:l,disabled:v,alternativeLabel:c}=e;return W({root:["root",o,l&&"error",v&&"disabled",c&&"alternativeLabel"],label:["label",n&&"active",a&&"completed",l&&"error",v&&"disabled",c&&"alternativeLabel"],iconContainer:["iconContainer",n&&"active",a&&"completed",l&&"error",v&&"disabled",c&&"alternativeLabel"],labelContainer:["labelContainer",c&&"alternativeLabel"]},ie,t)},ve=x("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation]]}})(({ownerState:e})=>s({display:"flex",alignItems:"center",[`&.${g.alternativeLabel}`]:{flexDirection:"column"},[`&.${g.disabled}`]:{cursor:"default"}},e.orientation==="vertical"&&{textAlign:"left",padding:"8px 0"})),ue=x("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})(({theme:e})=>s({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${g.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${g.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${g.alternativeLabel}`]:{marginTop:16},[`&.${g.error}`]:{color:(e.vars||e).palette.error.main}})),be=x("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})(()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${g.alternativeLabel}`]:{paddingRight:0}})),me=x("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})(({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${g.alternativeLabel}`]:{textAlign:"center"}})),H=d.forwardRef(function(t,o){var n;const a=_({props:t,name:"MuiStepLabel"}),{children:l,className:v,componentsProps:c={},error:p=!1,icon:b,optional:u,slotProps:r={},StepIconComponent:m,StepIconProps:M}=a,h=T(a,pe),{alternativeLabel:C,orientation:y}=d.useContext(k),{active:R,disabled:$,completed:S,icon:I}=d.useContext(E),L=b||I;let j=m;L&&!j&&(j=le);const f=s({},a,{active:R,alternativeLabel:C,completed:S,disabled:$,error:p,orientation:y}),N=de(f),z=(n=r.label)!=null?n:c.label;return i.jsxs(ve,s({className:P(N.root,v),ref:o,ownerState:f},h,{children:[L||j?i.jsx(be,{className:N.iconContainer,ownerState:f,children:i.jsx(j,s({completed:S,active:R,error:p,icon:L},M))}):null,i.jsxs(me,{className:N.labelContainer,ownerState:f,children:[l?i.jsx(ue,s({ownerState:f},z,{className:P(N.label,z==null?void 0:z.className),children:l})):null,u]})]}))});H.muiName="StepLabel";const Pe=H;function Se(e){return w("MuiStepConnector",e)}U("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);const xe=["className"],Ce=e=>{const{classes:t,orientation:o,alternativeLabel:n,active:a,completed:l,disabled:v}=e,c={root:["root",o,n&&"alternativeLabel",a&&"active",l&&"completed",v&&"disabled"],line:["line",`line${V(o)}`]};return W(c,Se,t)},Le=x("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})(({ownerState:e})=>s({flex:"1 1 auto"},e.orientation==="vertical"&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"})),fe=x("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${V(o.orientation)}`]]}})(({ownerState:e,theme:t})=>{const o=t.palette.mode==="light"?t.palette.grey[400]:t.palette.grey[600];return s({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:o},e.orientation==="horizontal"&&{borderTopStyle:"solid",borderTopWidth:1},e.orientation==="vertical"&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})}),ge=d.forwardRef(function(t,o){const n=_({props:t,name:"MuiStepConnector"}),{className:a}=n,l=T(n,xe),{alternativeLabel:v,orientation:c="horizontal"}=d.useContext(k),{active:p,disabled:b,completed:u}=d.useContext(E),r=s({},n,{alternativeLabel:v,orientation:c,active:p,completed:u,disabled:b}),m=Ce(r);return i.jsx(Le,s({className:P(m.root,a),ref:o,ownerState:r},l,{children:i.jsx(fe,{className:m.line,ownerState:r})}))}),he=ge;function ye(e){return w("MuiStepper",e)}U("MuiStepper",["root","horizontal","vertical","alternativeLabel"]);const $e=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],Me=e=>{const{orientation:t,alternativeLabel:o,classes:n}=e;return W({root:["root",t,o&&"alternativeLabel"]},ye,n)},Re=x("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel]}})(({ownerState:e})=>s({display:"flex"},e.orientation==="horizontal"&&{flexDirection:"row",alignItems:"center"},e.orientation==="vertical"&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"})),Ie=i.jsx(he,{}),je=d.forwardRef(function(t,o){const n=_({props:t,name:"MuiStepper"}),{activeStep:a=0,alternativeLabel:l=!1,children:v,className:c,component:p="div",connector:b=Ie,nonLinear:u=!1,orientation:r="horizontal"}=n,m=T(n,$e),M=s({},n,{alternativeLabel:l,orientation:r,component:p}),h=Me(M),C=d.Children.toArray(v).filter(Boolean),y=C.map(($,S)=>d.cloneElement($,s({index:S,last:S+1===C.length},$.props))),R=d.useMemo(()=>({activeStep:a,alternativeLabel:l,connector:b,nonLinear:u,orientation:r}),[a,l,b,u,r]);return i.jsx(k.Provider,{value:R,children:i.jsx(Re,s({as:p,ownerState:M,className:P(h.root,c),ref:o},m,{children:y}))})}),we=je;export{we as S,ze as a,Pe as b};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as c,aC as m,aB as $,aD as R,aG as i,aK as h,aF as k,j as y,aI as w,aJ as H,aE as u,cC as W,b$ as T,cB as I}from"./index-
|
|
1
|
+
import{r as c,aC as m,aB as $,aD as R,aG as i,aK as h,aF as k,j as y,aI as w,aJ as H,aE as u,cC as W,b$ as T,cB as I}from"./index-DHQX1PVd.js";const J=c.createContext(),D=J;function L(e){return m("MuiTable",e)}const S=$("MuiTable",["root","stickyHeader"]),Ce=S,F=["className","component","padding","size","stickyHeader"],G=e=>{const{classes:a,stickyHeader:o}=e;return H({root:["root",o&&"stickyHeader"]},L,a)},K=R("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:o}=e;return[a.root,o.stickyHeader&&a.stickyHeader]}})(({theme:e,ownerState:a})=>i({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":i({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},a.stickyHeader&&{borderCollapse:"separate"})),P="table",q=c.forwardRef(function(a,o){const t=h({props:a,name:"MuiTable"}),{className:n,component:s=P,padding:l="normal",size:r="medium",stickyHeader:d=!1}=t,b=k(t,F),p=i({},t,{component:s,padding:l,size:r,stickyHeader:d}),v=G(p),M=c.useMemo(()=>({padding:l,size:r,stickyHeader:d}),[l,r,d]);return y.jsx(D.Provider,{value:M,children:y.jsx(K,i({as:s,role:s===P?null:"table",ref:o,className:w(v.root,n),ownerState:p},b))})}),fe=q,Q=c.createContext(),z=Q;function V(e){return m("MuiTableBody",e)}const X=$("MuiTableBody",["root"]),xe=X,Y=["className","component"],Z=e=>{const{classes:a}=e;return H({root:["root"]},V,a)},ee=R("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,a)=>a.root})({display:"table-row-group"}),ae={variant:"body"},_="tbody",oe=c.forwardRef(function(a,o){const t=h({props:a,name:"MuiTableBody"}),{className:n,component:s=_}=t,l=k(t,Y),r=i({},t,{component:s}),d=Z(r);return y.jsx(z.Provider,{value:ae,children:y.jsx(ee,i({className:w(d.root,n),as:s,ref:o,role:s===_?null:"rowgroup",ownerState:r},l))})}),Te=oe;function te(e){return m("MuiTableCell",e)}const se=$("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),le=se,ne=["align","className","component","padding","scope","size","sortDirection","variant"],re=e=>{const{classes:a,variant:o,align:t,padding:n,size:s,stickyHeader:l}=e,r={root:["root",o,l&&"stickyHeader",t!=="inherit"&&`align${u(t)}`,n!=="normal"&&`padding${u(n)}`,`size${u(s)}`]};return H(r,te,a)},ie=R("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:o}=e;return[a.root,a[o.variant],a[`size${u(o.size)}`],o.padding!=="normal"&&a[`padding${u(o.padding)}`],o.align!=="inherit"&&a[`align${u(o.align)}`],o.stickyHeader&&a.stickyHeader]}})(({theme:e,ownerState:a})=>i({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
|
|
2
2
|
${e.palette.mode==="light"?W(T(e.palette.divider,1),.88):I(T(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},a.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},a.variant==="body"&&{color:(e.vars||e).palette.text.primary},a.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},a.size==="small"&&{padding:"6px 16px",[`&.${le.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},a.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},a.padding==="none"&&{padding:0},a.align==="left"&&{textAlign:"left"},a.align==="center"&&{textAlign:"center"},a.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},a.align==="justify"&&{textAlign:"justify"},a.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),ce=c.forwardRef(function(a,o){const t=h({props:a,name:"MuiTableCell"}),{align:n="inherit",className:s,component:l,padding:r,scope:d,size:b,sortDirection:p,variant:v}=t,M=k(t,ne),g=c.useContext(D),f=c.useContext(z),B=f&&f.variant==="head";let C;l?C=l:C=B?"th":"td";let x=d;C==="td"?x=void 0:!x&&B&&(x="col");const N=v||f&&f.variant,j=i({},t,{align:n,component:C,padding:r||(g&&g.padding?g.padding:"normal"),size:b||(g&&g.size?g.size:"medium"),sortDirection:p,stickyHeader:N==="head"&&g&&g.stickyHeader,variant:N}),E=re(j);let U=null;return p&&(U=p==="asc"?"ascending":"descending"),y.jsx(ie,i({as:C,ref:o,className:w(E.root,s),"aria-sort":U,scope:x,ownerState:j},M))}),me=ce;function de(e){return m("MuiTableRow",e)}const pe=$("MuiTableRow",["root","selected","hover","head","footer"]),A=pe,be=["className","component","hover","selected"],ge=e=>{const{classes:a,selected:o,hover:t,head:n,footer:s}=e;return H({root:["root",o&&"selected",t&&"hover",n&&"head",s&&"footer"]},de,a)},ue=R("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,a)=>{const{ownerState:o}=e;return[a.root,o.head&&a.head,o.footer&&a.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${A.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${A.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:T(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}))`:T(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),O="tr",ye=c.forwardRef(function(a,o){const t=h({props:a,name:"MuiTableRow"}),{className:n,component:s=O,hover:l=!1,selected:r=!1}=t,d=k(t,be),b=c.useContext(z),p=i({},t,{component:s,hover:l,selected:r,head:b&&b.variant==="head",footer:b&&b.variant==="footer"}),v=ge(p);return y.jsx(ue,i({as:s,ref:o,className:w(v.root,n),role:s===O?null:"row",ownerState:p},d))}),$e=ye;export{fe as T,Te as a,V as b,xe as c,me as d,te as e,le as f,L as g,z as h,$e as i,de as j,A as k,Ce as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aC as M,aB as q,aD as L,aE as S,aG as a,r as N,aK as U,aF as _,j as i,aI as B,aJ as E,cL as re}from"./index-
|
|
1
|
+
import{aC as M,aB as q,aD as L,aE as S,aG as a,r as N,aK as U,aF as _,j as i,aI as B,aJ as E,cL as re}from"./index-DHQX1PVd.js";import{F as ae}from"./FormControl-CcjaJjrf.js";import{I as le}from"./InputLabel-YdMTqhZl.js";import{S as ie,a as ne,F as de,O as ce}from"./Select-D_91DIwY.js";import{u as ue,f as pe}from"./useFormControl-CsID-OtD.js";function me(e){return M("MuiFormHelperText",e)}const fe=q("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),j=fe;var w;const xe=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Fe=e=>{const{classes:o,contained:t,size:r,disabled:n,error:d,filled:c,focused:p,required:u}=e,s={root:["root",n&&"disabled",d&&"error",r&&`size${S(r)}`,t&&"contained",p&&"focused",c&&"filled",u&&"required"]};return E(s,me,o)},Te=L("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,t.size&&o[`size${S(t.size)}`],t.contained&&o.contained,t.filled&&o.filled]}})(({theme:e,ownerState:o})=>a({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${j.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${j.error}`]:{color:(e.vars||e).palette.error.main}},o.size==="small"&&{marginTop:4},o.contained&&{marginLeft:14,marginRight:14})),be=N.forwardRef(function(o,t){const r=U({props:o,name:"MuiFormHelperText"}),{children:n,className:d,component:c="p"}=r,p=_(r,xe),u=ue(),s=pe({props:r,muiFormControl:u,states:["variant","size","disabled","error","filled","focused","required"]}),m=a({},r,{component:c,contained:s.variant==="filled"||s.variant==="outlined",variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),F=Fe(m);return i.jsx(Te,a({as:c,ownerState:m,className:B(F.root,d),ref:t},p,{children:n===" "?w||(w=i.jsx("span",{className:"notranslate",children:""})):n}))}),ve=be;function he(e){return M("MuiTextField",e)}const Ce=q("MuiTextField",["root"]),Me=Ce,ge=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],Ie={standard:ne,filled:de,outlined:ce},Re=e=>{const{classes:o}=e;return E({root:["root"]},he,o)},ye=L(ae,{name:"MuiTextField",slot:"Root",overridesResolver:(e,o)=>o.root})({}),He=N.forwardRef(function(o,t){const r=U({props:o,name:"MuiTextField"}),{autoComplete:n,autoFocus:d=!1,children:c,className:p,color:u="primary",defaultValue:s,disabled:m=!1,error:F=!1,FormHelperTextProps:O,fullWidth:v=!1,helperText:h,id:W,InputLabelProps:T,inputProps:k,InputProps:V,inputRef:A,label:f,maxRows:D,minRows:G,multiline:R=!1,name:J,onBlur:K,onChange:Q,onFocus:X,placeholder:Y,required:y=!1,rows:Z,select:C=!1,SelectProps:g,type:ee,value:H,variant:b="outlined"}=r,oe=_(r,ge),z=a({},r,{autoFocus:d,color:u,disabled:m,error:F,fullWidth:v,multiline:R,required:y,select:C,variant:b}),se=Re(z),x={};b==="outlined"&&(T&&typeof T.shrink<"u"&&(x.notched=T.shrink),x.label=f),C&&((!g||!g.native)&&(x.id=void 0),x["aria-describedby"]=void 0);const l=re(W),I=h&&l?`${l}-helper-text`:void 0,P=f&&l?`${l}-label`:void 0,te=Ie[b],$=i.jsx(te,a({"aria-describedby":I,autoComplete:n,autoFocus:d,defaultValue:s,fullWidth:v,multiline:R,name:J,rows:Z,maxRows:D,minRows:G,type:ee,value:H,id:l,inputRef:A,onBlur:K,onChange:Q,onFocus:X,placeholder:Y,inputProps:k},x,V));return i.jsxs(ye,a({className:B(se.root,p),disabled:m,error:F,fullWidth:v,ref:t,required:y,color:u,variant:b,ownerState:z},oe,{children:[f!=null&&f!==""&&i.jsx(le,a({htmlFor:l,id:P},T,{children:f})),C?i.jsx(ie,a({"aria-describedby":I,id:l,labelId:P,value:H,input:$},g,{children:c})):$,h&&i.jsx(ve,a({id:I},O,{children:h}))]}))}),qe=He;export{ve as F,qe as T,me as a,j as f,he as g,Me as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aC as d,aB as g,aD as b,aG as e,r as m,aK as v,aF as T,j as x,aI as f,aJ as C}from"./index-
|
|
1
|
+
import{aC as d,aB as g,aD as b,aG as e,r as m,aK as v,aF as T,j as x,aI as f,aJ as C}from"./index-DHQX1PVd.js";function R(s){return d("MuiToolbar",s)}const G=g("MuiToolbar",["root","gutters","regular","dense"]),N=G,j=["className","component","disableGutters","variant"],y=s=>{const{classes:a,disableGutters:t,variant:o}=s;return C({root:["root",!t&&"gutters",o]},R,a)},M=b("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(s,a)=>{const{ownerState:t}=s;return[a.root,!t.disableGutters&&a.gutters,a[t.variant]]}})(({theme:s,ownerState:a})=>e({position:"relative",display:"flex",alignItems:"center"},!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}},a.variant==="dense"&&{minHeight:48}),({theme:s,ownerState:a})=>a.variant==="regular"&&s.mixins.toolbar),U=m.forwardRef(function(a,t){const o=v({props:a,name:"MuiToolbar"}),{className:r,component:n="div",disableGutters:l=!1,variant:c="regular"}=o,u=T(o,j),i=e({},o,{component:n,disableGutters:l,variant:c}),p=y(i);return x.jsx(M,e({as:n,className:f(p.root,r),ref:t,ownerState:i},u))}),_=U;export{_ as T,R as g,N as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as t,U as r,j as a}from"./index-
|
|
1
|
+
import{R as t,U as r,j as a}from"./index-DHQX1PVd.js";var e={},i=r;Object.defineProperty(e,"__esModule",{value:!0});var u=e.default=void 0,v=i(t()),o=a;u=e.default=(0,v.default)((0,o.jsx)("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"}),"ViewList");export{u as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as c,u as g,j as e,a as L,az as B,P as b,bo as R,ag as I,fA as N,B as _,y as f,p as h,V as z,b7 as E}from"./index-
|
|
1
|
+
import{r as c,u as g,j as e,a as L,az as B,P as b,bo as R,ag as I,fA as N,B as _,y as f,p as h,V as z,b7 as E}from"./index-DHQX1PVd.js";import{P as F}from"./page-header-pSL3wTve.js";import{A as W}from"./config-DydNYnV3.js";import{S as H}from"./layout-cXWh6FBa.js";import{S as O}from"./step-actions-B4mur2qN.js";import{S as V}from"./button-Db57ewkG.js";import{d as $}from"./InfoOutlined-DEV5s7x8.js";import{F as q}from"./FormControl-CcjaJjrf.js";import{R as G,a as D}from"./RadioGroup-NSzKVtOV.js";import{F as x,C as J}from"./FormControlLabel-D_KAO54-.js";import"./content-layout-mrdcG4uo.js";import"./useFormControl-CsID-OtD.js";import"./FormGroup-DXHCdTZw.js";function y({children:s}){const{t:i}=g();return e.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[s,e.jsx(L,{title:i("blocklet.config.access.publicInstanceTip"),children:e.jsx(B,{children:e.jsx($,{fontSize:"small"})})})]})}y.propTypes={children:b.any.isRequired};const K=c.memo(y);function j({onNext:s}){const i=R(),{t:r,locale:p}=g(),[a,o]=c.useState(!1),[m,d]=c.useState(""),[C,S]=c.useState(!1),{blocklet:n,actions:u,getPublicInstance:v}=I();c.useEffect(()=>{d(N(n)),S(v(n))},[n]);const A=async t=>{try{o(!0),await E(800),await u.configWhoCanAccess(t),o(!1)}catch(l){o(!1),h.error(l.message)}},P=async t=>{a||(d(t.target.value),await A(t.target.value))},T=async t=>{const l=t.target.checked;try{o(!0),await u.configPublicToStore(l),o(!1)}catch(w){o(!1),h.error(w.message)}},k={marginRight:4,fontSize:18,verticalAlign:"text-bottom",color:i.palette.text.secondary};return e.jsxs(M,{children:[e.jsx("div",{className:"header",children:e.jsx(F,{title:r("blocklet.config.access.description")})}),e.jsx(q,{component:"fieldset",children:e.jsx(G,{name:"inherit",value:m,onChange:P,children:W.map(t=>e.jsxs("div",{style:{marginBottom:16},children:[e.jsx(x,{value:t.value,control:e.jsx(D,{color:"primary"}),label:e.jsxs("span",{children:[e.jsx(t.icon,{style:k}),t.title[p]]})}),e.jsxs(_,{className:"tip",children:[t.description[p],t.value===f.WHO_CAN_ACCESS.ALL&&m===f.WHO_CAN_ACCESS.ALL&&n.source==="registry"&&e.jsx(K,{children:e.jsx(x,{style:{marginRight:0},value:t.value,control:e.jsx(J,{size:"small"}),label:e.jsx("span",{children:r("blocklet.config.access.publicToStore")}),onChange:T,checked:C,disabled:a})})]})]},t.value))})}),e.jsx(O,{mt:8,disabled:a,blocklet:n,onStartNow:()=>s("complete"),children:e.jsx(V,{loading:a,variant:"contained",disabled:a,onClick:()=>s(),children:r("setup.continue")})})]})}j.propTypes={onNext:b.func};j.defaultProps={onNext:()=>{}};const M=z(H)`
|
|
2
2
|
height: 100%;
|
|
3
3
|
overflow-y: auto;
|
|
4
4
|
.header {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,j as e,az as E,b2 as P,b4 as b,P as i,V as k}from"./index-
|
|
1
|
+
import{r,j as e,az as E,b2 as P,b4 as b,P as i,V as k}from"./index-DHQX1PVd.js";import{d as C}from"./MoreHoriz-WCi0DSuZ.js";import{L as I,a as v}from"./ListItemText-BlPu2nqy.js";function c({actions:l,size:p,...u}){const[n,o]=r.useState(null),m=!!n,d=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}o(t.currentTarget)},a=t=>{try{t.stopPropagation(),t.preventDefault()}catch{}o(null)};return e.jsxs(z,{...u,children:[e.jsx(E,{"aria-label":"more","aria-controls":"actions-menu","aria-haspopup":"true","data-cy":"actions-menu-icon",onClick:d,size:p,children:e.jsx(C,{})}),e.jsx(P,{id:"actions-menu","data-cy":"actions-menu",anchorEl:n,keepMounted:!0,open:m,onClose:a,slotProps:{paper:{}},children:l.map((t,s)=>{if(typeof t=="function")return t({close:a});const{icon:y,text:f,onClick:h,disabled:x=!1,...j}=t;return r.createElement(b,{...j,disabled:x,dense:!0,onClick:async g=>{await h(g),a()},key:s,"data-cy":`actions-menu-${s}`},e.jsx(I,{style:{minWidth:24,marginRight:8},children:y}),e.jsx(v,{primary:f}))})})]})}c.propTypes={actions:i.array,size:i.oneOf(["small","medium","large"])};c.defaultProps={actions:[],size:"small"};const z=k.div``;export{c as A};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aC as fo,aB as xo,aD as ho,r as y,aK as ko,aF as yo,aG as On,j as c,aI as bo,aJ as vo,O as go,eq as So,er as zi,_ as Je,K as Ki,es as Eo,et as Ao,h as i0,eu as wo,ev as a0,a2 as o0,R as qe,U as Ue,aV as qt,ew as Cn,ep as Do,bD as Bo,P as h,bT as ee,u as be,bp as Go,bS as Fn,Y as le,a_ as Ut,ex as Po,a7 as kt,bQ as fr,c as G0,z as Hi,ey as jo,bN as Vo,p as jr,S as ye,aq as P0,V as ae,cc as Se,y as Vr,a3 as j0,B as M,bz as g0,w as Oo,e as Co,az as Fo,ez as To,T as Ae,bb as Io,ba as Or,eA as Wi,b4 as Qi,eB as _o,eC as $o,av as Tn,bo as Cr,ae as Yi,a8 as Ji,J as Ro,eD as Mo,b as Xi,c6 as No,bI as Lo,c_ as qo,bv as Zi,df as dr,c2 as Uo,br as zo,dg as Ko,af as Ho,bs as Wo,bk as Qo,cZ as Yo,f as Jo,eE as Xo,eF as Zo,ac as es,A as ts,eG as rs,eH as ea,eI as ns,C as is,cj as as,by as os,a9 as Pe,cd as ss,eJ as ls,eK as cs,eL as us,eM as ms,eN as ps,eO as fs,eP as tr,eQ as In,eR as ds}from"./index-C6Ue8EuO.js";import{u as ta}from"./uniqBy-D7b07JqH.js";import{P as ra}from"./page-header-ByCAXek-.js";import{u as xs,C as hs,S as ks,a as ys,L as bs}from"./config-space-CAE9_X8D.js";import{D as vs,A as na,f as ia}from"./index-DGMWtahG.js";import{l as gs}from"./lottie-k5jCb9t6.js";import{L as _n}from"./launch-result-message-CfYP3oYm.js";import{S as Ss}from"./index-BkHtGxzx.js";import{R as rr}from"./logo-uploader-CwSvo0ae.js";import{a as $n}from"./api-CfHak9bu.js";import{m as Es,S as As,A as ws}from"./item-BccTJwxu.js";import{L as Ds}from"./ListItem-DUdj8Kmm.js";import{L as Bs,a as Gs}from"./ListItemText-Caaw8krj.js";import{v as Ps}from"./util-CY67-DOO.js";import{s as aa,h as js,w as Vs,f as Os,a as Cs,b as Fs,c as Ts,S as Is,d as _s}from"./index-CEOtTrx7.js";import{T as $s,a as Rs,i as Ms,d as Rn}from"./TableRow-BUGcp46F.js";import{F as Ns,C as Ls}from"./FormControlLabel-BMm4Nb7L.js";import{I as Mn}from"./index-DSyhtbQu.js";import{u as qs}from"./session-Bf7V9tjJ.js";import{W as Us}from"./did-address-BdzARvFL.js";import{T as Fr}from"./TextField-1REpbtHI.js";import{S as zs,a as Ks,b as Hs}from"./Stepper-Byik0SvR.js";import{d as Ws}from"./ArrowDropDown-YQC0m5j6.js";import{_ as Qs}from"./useLocalStorage-O0eB5S4S.js";import{E as Tr}from"./fallback-CUhtWylI.js";import{d as Ys}from"./Search-BwpU7y5Y.js";import{G as oa}from"./Grid-DrgCuwdw.js";import{O as Js}from"./Select-DeQrk7uE.js";import{H as Nn}from"./Hidden-DGbIB_cs.js";import{M as Ln}from"./InputAdornment-DLeNk04D.js";import{y as Xs,g as Zs,q as el}from"./preact.module-FqEZb0ZS.js";import{E as tl}from"./Link-CkTpavTP.js";import{u as sa,C as rl,D as nl,a as il}from"./connect-to-BMXxyPoQ.js";import{C as al}from"./content-layout-CAjryyt5.js";function ol(e){return fo("MuiTableContainer",e)}xo("MuiTableContainer",["root"]);const sl=["className","component"],ll=e=>{const{classes:t}=e;return vo({root:["root"]},ol,t)},cl=ho("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),ul=y.forwardRef(function(t,r){const n=ko({props:t,name:"MuiTableContainer"}),{className:i,component:a="div"}=n,o=yo(n,sl),s=On({},n,{component:a}),l=ll(s);return c.jsx(cl,On({ref:r,as:a,className:bo(l.root,i),ownerState:s},o))}),ml=ul;function pl(e,t,r){r===void 0&&(r={});var n=go(t);So(function(){var i=zi(r.target,window);if(i!=null&&i.addEventListener){var a=function(o){return n.current(o)};return i.addEventListener(e,a,{capture:r.capture,once:r.once,passive:r.passive}),function(){i.removeEventListener(e,a,{capture:r.capture})}}},[e,r.capture,r.once,r.passive],r.target)}var fl=function(e){return e===document||e===document.documentElement||e===document.body?Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},dl=function(e){return e.scrollHeight||Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)},xl=function(e){return e.clientHeight||Math.max(document.documentElement.clientHeight,document.body.clientHeight)},hl=function(e,t){t===void 0&&(t={});var r=t.target,n=t.isNoMore,i=t.threshold,a=i===void 0?100:i,o=t.reloadDeps,s=o===void 0?[]:o,l=t.manual,u=t.onBefore,p=t.onSuccess,m=t.onError,f=t.onFinally,k=Je(y.useState(),2),x=k[0],d=k[1],S=Je(y.useState(!1),2),v=S[0],E=S[1],b=y.useMemo(function(){return n?n(x):!1},[x]),g=Ki(function(R){return Eo(void 0,void 0,void 0,function(){var H,F,B;return Ao(this,function(I){switch(I.label){case 0:return[4,e(R)];case 1:return H=I.sent(),d(R?o0(o0({},H),{list:a0(a0([],Je((B=R.list)!==null&&B!==void 0?B:[]),!1),Je(H.list),!1)}):o0(o0({},H),{list:a0([],Je((F=H.list)!==null&&F!==void 0?F:[]),!1)})),[2,H]}})})},{manual:l,onFinally:function(R,H,F){E(!1),f==null||f(H,F)},onBefore:function(){return u==null?void 0:u()},onSuccess:function(R){setTimeout(function(){K()}),p==null||p(R)},onError:function(R){return m==null?void 0:m(R)}}),A=g.loading,D=g.error,_=g.run,P=g.runAsync,w=g.cancel,G=i0(function(){b||(E(!0),_(x))}),O=i0(function(){return b?Promise.reject():(E(!0),P(x))}),q=function(){return E(!1),_()},j=function(){return E(!1),P()},K=function(){var R=zi(r);if(R){R=R===document?document.documentElement:R;var H=fl(R),F=dl(R),B=xl(R);F-H<=B+a&&G()}};return pl("scroll",function(){A||v||K()},{target:r}),wo(function(){_()},a0([],Je(s),!1)),{data:x,loading:!v&&A,error:D,loadingMore:v,noMore:b,loadMore:G,loadMoreAsync:O,reload:i0(q),reloadAsync:i0(j),mutate:d,cancel:w}};const kl=hl,Hx="blocklet-add-component-registry",Wx="server-add-registry",Qx=e=>`resource-${e}-add-registry`;var Ir={},yl=Ue;Object.defineProperty(Ir,"__esModule",{value:!0});var la=Ir.default=void 0,bl=yl(qe()),vl=c;la=Ir.default=(0,bl.default)((0,vl.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link");var gl=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,i,a;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(i=n;i--!==0;)if(!e(t[i],r[i]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(i of t.entries())if(!r.has(i[0]))return!1;for(i of t.entries())if(!e(i[1],r.get(i[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(i of t.entries())if(!r.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if(n=t.length,n!=r.length)return!1;for(i=n;i--!==0;)if(t[i]!==r[i])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(a=Object.keys(t),n=a.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[i]))return!1;for(i=n;i--!==0;){var o=a[i];if(!(o==="_owner"&&t.$$typeof)&&!e(t[o],r[o]))return!1}return!0}return t!==t&&r!==r};const qn=qt(gl);var Sl=El;function at(e){return e instanceof Cn?Cn.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function El(e){if(e=e||{},e.circles)return Al(e);return e.proto?n:r;function t(i,a){for(var o=Object.keys(i),s=new Array(o.length),l=0;l<o.length;l++){var u=o[l],p=i[u];typeof p!="object"||p===null?s[u]=p:p instanceof Date?s[u]=new Date(p):ArrayBuffer.isView(p)?s[u]=at(p):s[u]=a(p)}return s}function r(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,r);if(i instanceof Map)return new Map(t(Array.from(i),r));if(i instanceof Set)return new Set(t(Array.from(i),r));var a={};for(var o in i)if(Object.hasOwnProperty.call(i,o)!==!1){var s=i[o];typeof s!="object"||s===null?a[o]=s:s instanceof Date?a[o]=new Date(s):s instanceof Map?a[o]=new Map(t(Array.from(s),r)):s instanceof Set?a[o]=new Set(t(Array.from(s),r)):ArrayBuffer.isView(s)?a[o]=at(s):a[o]=r(s)}return a}function n(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,n);if(i instanceof Map)return new Map(t(Array.from(i),n));if(i instanceof Set)return new Set(t(Array.from(i),n));var a={};for(var o in i){var s=i[o];typeof s!="object"||s===null?a[o]=s:s instanceof Date?a[o]=new Date(s):s instanceof Map?a[o]=new Map(t(Array.from(s),n)):s instanceof Set?a[o]=new Set(t(Array.from(s),n)):ArrayBuffer.isView(s)?a[o]=at(s):a[o]=n(s)}return a}}function Al(e){var t=[],r=[];return e.proto?a:i;function n(o,s){for(var l=Object.keys(o),u=new Array(l.length),p=0;p<l.length;p++){var m=l[p],f=o[m];if(typeof f!="object"||f===null)u[m]=f;else if(f instanceof Date)u[m]=new Date(f);else if(ArrayBuffer.isView(f))u[m]=at(f);else{var k=t.indexOf(f);k!==-1?u[m]=r[k]:u[m]=s(f)}}return u}function i(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return n(o,i);if(o instanceof Map)return new Map(n(Array.from(o),i));if(o instanceof Set)return new Set(n(Array.from(o),i));var s={};t.push(o),r.push(s);for(var l in o)if(Object.hasOwnProperty.call(o,l)!==!1){var u=o[l];if(typeof u!="object"||u===null)s[l]=u;else if(u instanceof Date)s[l]=new Date(u);else if(u instanceof Map)s[l]=new Map(n(Array.from(u),i));else if(u instanceof Set)s[l]=new Set(n(Array.from(u),i));else if(ArrayBuffer.isView(u))s[l]=at(u);else{var p=t.indexOf(u);p!==-1?s[l]=r[p]:s[l]=i(u)}}return t.pop(),r.pop(),s}function a(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return n(o,a);if(o instanceof Map)return new Map(n(Array.from(o),a));if(o instanceof Set)return new Set(n(Array.from(o),a));var s={};t.push(o),r.push(s);for(var l in o){var u=o[l];if(typeof u!="object"||u===null)s[l]=u;else if(u instanceof Date)s[l]=new Date(u);else if(u instanceof Map)s[l]=new Map(n(Array.from(u),a));else if(u instanceof Set)s[l]=new Set(n(Array.from(u),a));else if(ArrayBuffer.isView(u))s[l]=at(u);else{var p=t.indexOf(u);p!==-1?s[l]=r[p]:s[l]=a(u)}}return t.pop(),r.pop(),s}}var wl=Sl();const Un=qt(wl);function xr(){return xr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xr.apply(this,arguments)}function Dl(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function _r(e,t){return t={exports:{}},e(t,t.exports),t.exports}/** @license React v16.13.1
|
|
1
|
+
import{aC as fo,aB as xo,aD as ho,r as y,aK as ko,aF as yo,aG as On,j as c,aI as bo,aJ as vo,O as go,eq as So,er as zi,_ as Je,K as Ki,es as Eo,et as Ao,h as i0,eu as wo,ev as a0,a2 as o0,R as qe,U as Ue,aV as qt,ew as Cn,ep as Do,bD as Bo,P as h,bT as ee,u as be,bp as Go,bS as Fn,Y as le,a_ as Ut,ex as Po,a7 as kt,bQ as fr,c as G0,z as Hi,ey as jo,bN as Vo,p as jr,S as ye,aq as P0,V as ae,cc as Se,y as Vr,a3 as j0,B as M,bz as g0,w as Oo,e as Co,az as Fo,ez as To,T as Ae,bb as Io,ba as Or,eA as Wi,b4 as Qi,eB as _o,eC as $o,av as Tn,bo as Cr,ae as Yi,a8 as Ji,J as Ro,eD as Mo,b as Xi,c6 as No,bI as Lo,c_ as qo,bv as Zi,df as dr,c2 as Uo,br as zo,dg as Ko,af as Ho,bs as Wo,bk as Qo,cZ as Yo,f as Jo,eE as Xo,eF as Zo,ac as es,A as ts,eG as rs,eH as ea,eI as ns,C as is,cj as as,by as os,a9 as Pe,cd as ss,eJ as ls,eK as cs,eL as us,eM as ms,eN as ps,eO as fs,eP as tr,eQ as In,eR as ds}from"./index-DHQX1PVd.js";import{u as ta}from"./uniqBy-DPA3xmia.js";import{P as ra}from"./page-header-pSL3wTve.js";import{u as xs,C as hs,S as ks,a as ys,L as bs}from"./config-space-1z89HNAO.js";import{D as vs,A as na,f as ia}from"./index-jvpScDP6.js";import{l as gs}from"./lottie-DGyNvifd.js";import{L as _n}from"./launch-result-message-DonsroFG.js";import{S as Ss}from"./index-BfxNFAMu.js";import{R as rr}from"./logo-uploader-DPuDV7et.js";import{a as $n}from"./api-CfX3cKOh.js";import{m as Es,S as As,A as ws}from"./item-BVPPHzf9.js";import{L as Ds}from"./ListItem-DRM5kIT9.js";import{L as Bs,a as Gs}from"./ListItemText-BlPu2nqy.js";import{v as Ps}from"./util-Cve0NA-s.js";import{s as aa,h as js,w as Vs,f as Os,a as Cs,b as Fs,c as Ts,S as Is,d as _s}from"./index-CXpJN1ua.js";import{T as $s,a as Rs,i as Ms,d as Rn}from"./TableRow-DVwfNOQg.js";import{F as Ns,C as Ls}from"./FormControlLabel-D_KAO54-.js";import{I as Mn}from"./index-DwHc8apJ.js";import{u as qs}from"./session-8rU_0ERq.js";import{W as Us}from"./did-address-BYpO2Eq5.js";import{T as Fr}from"./TextField-CSTjJzfp.js";import{S as zs,a as Ks,b as Hs}from"./Stepper-BkRbGfXv.js";import{d as Ws}from"./ArrowDropDown-Bygnru-D.js";import{_ as Qs}from"./useLocalStorage-BrqQQrPs.js";import{E as Tr}from"./fallback-Ou1wGAjU.js";import{d as Ys}from"./Search-Sr9tkEqk.js";import{G as oa}from"./Grid-D5FouhYT.js";import{O as Js}from"./Select-D_91DIwY.js";import{H as Nn}from"./Hidden-COQ_Tvqh.js";import{M as Ln}from"./InputAdornment-C14SwtKn.js";import{y as Xs,g as Zs,q as el}from"./preact.module-FqEZb0ZS.js";import{E as tl}from"./Link-Bwsal4Ox.js";import{u as sa,C as rl,D as nl,a as il}from"./connect-to-C8sj3bGw.js";import{C as al}from"./content-layout-mrdcG4uo.js";function ol(e){return fo("MuiTableContainer",e)}xo("MuiTableContainer",["root"]);const sl=["className","component"],ll=e=>{const{classes:t}=e;return vo({root:["root"]},ol,t)},cl=ho("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),ul=y.forwardRef(function(t,r){const n=ko({props:t,name:"MuiTableContainer"}),{className:i,component:a="div"}=n,o=yo(n,sl),s=On({},n,{component:a}),l=ll(s);return c.jsx(cl,On({ref:r,as:a,className:bo(l.root,i),ownerState:s},o))}),ml=ul;function pl(e,t,r){r===void 0&&(r={});var n=go(t);So(function(){var i=zi(r.target,window);if(i!=null&&i.addEventListener){var a=function(o){return n.current(o)};return i.addEventListener(e,a,{capture:r.capture,once:r.once,passive:r.passive}),function(){i.removeEventListener(e,a,{capture:r.capture})}}},[e,r.capture,r.once,r.passive],r.target)}var fl=function(e){return e===document||e===document.documentElement||e===document.body?Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},dl=function(e){return e.scrollHeight||Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)},xl=function(e){return e.clientHeight||Math.max(document.documentElement.clientHeight,document.body.clientHeight)},hl=function(e,t){t===void 0&&(t={});var r=t.target,n=t.isNoMore,i=t.threshold,a=i===void 0?100:i,o=t.reloadDeps,s=o===void 0?[]:o,l=t.manual,u=t.onBefore,p=t.onSuccess,m=t.onError,f=t.onFinally,k=Je(y.useState(),2),x=k[0],d=k[1],S=Je(y.useState(!1),2),v=S[0],E=S[1],b=y.useMemo(function(){return n?n(x):!1},[x]),g=Ki(function(R){return Eo(void 0,void 0,void 0,function(){var H,F,B;return Ao(this,function(I){switch(I.label){case 0:return[4,e(R)];case 1:return H=I.sent(),d(R?o0(o0({},H),{list:a0(a0([],Je((B=R.list)!==null&&B!==void 0?B:[]),!1),Je(H.list),!1)}):o0(o0({},H),{list:a0([],Je((F=H.list)!==null&&F!==void 0?F:[]),!1)})),[2,H]}})})},{manual:l,onFinally:function(R,H,F){E(!1),f==null||f(H,F)},onBefore:function(){return u==null?void 0:u()},onSuccess:function(R){setTimeout(function(){K()}),p==null||p(R)},onError:function(R){return m==null?void 0:m(R)}}),A=g.loading,D=g.error,_=g.run,P=g.runAsync,w=g.cancel,G=i0(function(){b||(E(!0),_(x))}),O=i0(function(){return b?Promise.reject():(E(!0),P(x))}),q=function(){return E(!1),_()},j=function(){return E(!1),P()},K=function(){var R=zi(r);if(R){R=R===document?document.documentElement:R;var H=fl(R),F=dl(R),B=xl(R);F-H<=B+a&&G()}};return pl("scroll",function(){A||v||K()},{target:r}),wo(function(){_()},a0([],Je(s),!1)),{data:x,loading:!v&&A,error:D,loadingMore:v,noMore:b,loadMore:G,loadMoreAsync:O,reload:i0(q),reloadAsync:i0(j),mutate:d,cancel:w}};const kl=hl,Hx="blocklet-add-component-registry",Wx="server-add-registry",Qx=e=>`resource-${e}-add-registry`;var Ir={},yl=Ue;Object.defineProperty(Ir,"__esModule",{value:!0});var la=Ir.default=void 0,bl=yl(qe()),vl=c;la=Ir.default=(0,bl.default)((0,vl.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link");var gl=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,i,a;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(i=n;i--!==0;)if(!e(t[i],r[i]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(i of t.entries())if(!r.has(i[0]))return!1;for(i of t.entries())if(!e(i[1],r.get(i[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(i of t.entries())if(!r.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if(n=t.length,n!=r.length)return!1;for(i=n;i--!==0;)if(t[i]!==r[i])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(a=Object.keys(t),n=a.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,a[i]))return!1;for(i=n;i--!==0;){var o=a[i];if(!(o==="_owner"&&t.$$typeof)&&!e(t[o],r[o]))return!1}return!0}return t!==t&&r!==r};const qn=qt(gl);var Sl=El;function at(e){return e instanceof Cn?Cn.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function El(e){if(e=e||{},e.circles)return Al(e);return e.proto?n:r;function t(i,a){for(var o=Object.keys(i),s=new Array(o.length),l=0;l<o.length;l++){var u=o[l],p=i[u];typeof p!="object"||p===null?s[u]=p:p instanceof Date?s[u]=new Date(p):ArrayBuffer.isView(p)?s[u]=at(p):s[u]=a(p)}return s}function r(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,r);if(i instanceof Map)return new Map(t(Array.from(i),r));if(i instanceof Set)return new Set(t(Array.from(i),r));var a={};for(var o in i)if(Object.hasOwnProperty.call(i,o)!==!1){var s=i[o];typeof s!="object"||s===null?a[o]=s:s instanceof Date?a[o]=new Date(s):s instanceof Map?a[o]=new Map(t(Array.from(s),r)):s instanceof Set?a[o]=new Set(t(Array.from(s),r)):ArrayBuffer.isView(s)?a[o]=at(s):a[o]=r(s)}return a}function n(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,n);if(i instanceof Map)return new Map(t(Array.from(i),n));if(i instanceof Set)return new Set(t(Array.from(i),n));var a={};for(var o in i){var s=i[o];typeof s!="object"||s===null?a[o]=s:s instanceof Date?a[o]=new Date(s):s instanceof Map?a[o]=new Map(t(Array.from(s),n)):s instanceof Set?a[o]=new Set(t(Array.from(s),n)):ArrayBuffer.isView(s)?a[o]=at(s):a[o]=n(s)}return a}}function Al(e){var t=[],r=[];return e.proto?a:i;function n(o,s){for(var l=Object.keys(o),u=new Array(l.length),p=0;p<l.length;p++){var m=l[p],f=o[m];if(typeof f!="object"||f===null)u[m]=f;else if(f instanceof Date)u[m]=new Date(f);else if(ArrayBuffer.isView(f))u[m]=at(f);else{var k=t.indexOf(f);k!==-1?u[m]=r[k]:u[m]=s(f)}}return u}function i(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return n(o,i);if(o instanceof Map)return new Map(n(Array.from(o),i));if(o instanceof Set)return new Set(n(Array.from(o),i));var s={};t.push(o),r.push(s);for(var l in o)if(Object.hasOwnProperty.call(o,l)!==!1){var u=o[l];if(typeof u!="object"||u===null)s[l]=u;else if(u instanceof Date)s[l]=new Date(u);else if(u instanceof Map)s[l]=new Map(n(Array.from(u),i));else if(u instanceof Set)s[l]=new Set(n(Array.from(u),i));else if(ArrayBuffer.isView(u))s[l]=at(u);else{var p=t.indexOf(u);p!==-1?s[l]=r[p]:s[l]=i(u)}}return t.pop(),r.pop(),s}function a(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return n(o,a);if(o instanceof Map)return new Map(n(Array.from(o),a));if(o instanceof Set)return new Set(n(Array.from(o),a));var s={};t.push(o),r.push(s);for(var l in o){var u=o[l];if(typeof u!="object"||u===null)s[l]=u;else if(u instanceof Date)s[l]=new Date(u);else if(u instanceof Map)s[l]=new Map(n(Array.from(u),a));else if(u instanceof Set)s[l]=new Set(n(Array.from(u),a));else if(ArrayBuffer.isView(u))s[l]=at(u);else{var p=t.indexOf(u);p!==-1?s[l]=r[p]:s[l]=a(u)}}return t.pop(),r.pop(),s}}var wl=Sl();const Un=qt(wl);function xr(){return xr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xr.apply(this,arguments)}function Dl(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function _r(e,t){return t={exports:{}},e(t,t.exports),t.exports}/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as E,ag as P,w as R,by as j,a3 as D,r as a,c as S,bQ as W,bx as O,j as u,aq as k}from"./index-DHQX1PVd.js";import{A,S as B}from"./add-component-core-zggcQBsf.js";import"./uniqBy-DPA3xmia.js";import"./page-header-pSL3wTve.js";import"./config-space-1z89HNAO.js";import"./Skeleton-CuSKL2hV.js";import"./Hidden-COQ_Tvqh.js";import"./spaces-CqVozpvZ.js";import"./index-DiqGWQKr.js";import"./index-D-XBJ_hS.js";import"./api-CfX3cKOh.js";import"./index-jvpScDP6.js";import"./lottie-DGyNvifd.js";import"./launch-result-message-DonsroFG.js";import"./index-BfxNFAMu.js";import"./EditIcon-BJLohkMs.js";import"./Done-qakBXtMB.js";import"./Google-DktcxZZU.js";import"./TextField-CSTjJzfp.js";import"./FormControl-CcjaJjrf.js";import"./useFormControl-CsID-OtD.js";import"./InputLabel-YdMTqhZl.js";import"./Select-D_91DIwY.js";import"./logo-uploader-DPuDV7et.js";import"./index-CJK1QvWr.js";import"./item-BVPPHzf9.js";import"./Add-8T59IMCW.js";import"./ListItem-DRM5kIT9.js";import"./Launch-BIFSgYhi.js";import"./DeleteOutline-DxXBgofA.js";import"./click-to-copy-CJHTeQKm.js";import"./confirm-DMbiPVtG.js";import"./Alert-Crwo2xUD.js";import"./useSlot-Cv4LTxHH.js";import"./ButtonGroup-WBLH-0U6.js";import"./jss-plugin-props-sort.esm-BdIoAE3e.js";import"./Grid-D5FouhYT.js";import"./ListItemText-BlPu2nqy.js";import"./util-Cve0NA-s.js";import"./index-CXpJN1ua.js";import"./TableRow-DVwfNOQg.js";import"./FormControlLabel-D_KAO54-.js";import"./index-DwHc8apJ.js";import"./session-8rU_0ERq.js";import"./did-address-BYpO2Eq5.js";import"./Link-Bwsal4Ox.js";import"./Stepper-BkRbGfXv.js";import"./ArrowDropDown-Bygnru-D.js";import"./useLocalStorage-BrqQQrPs.js";import"./fallback-Ou1wGAjU.js";import"./Search-Sr9tkEqk.js";import"./InputAdornment-C14SwtKn.js";import"./preact.module-FqEZb0ZS.js";import"./connect-to-C8sj3bGw.js";import"./use-blocklet-info-for-connect-did-spaces-8OYxFynz.js";import"./CloseOutlined-BGca49KO.js";import"./index-CKe6Mpg5.js";import"./ExpandMore-nrpgUsl7.js";import"./content-layout-mrdcG4uo.js";function Mt(){var l;const{t:d}=E(),{blocklet:r}=P(),[h]=R(),{componentDid:m}=j(),f=D(t=>t.breakpoints.down("md")),g=h.get("mode")==="dialog",e=(l=r==null?void 0:r.meta)==null?void 0:l.did,i=new URL(window.location.href),s=(i.searchParams.get("store")||"").split(",").filter(Boolean).map(t=>{try{return new URL(t.startsWith("http")?t:`https://${t}`).origin}catch(o){return console.error(o),null}}).filter(Boolean),[w,C]=a.useState(s.map(t=>({url:t,name:t.replace("https://","")}))),p=i.searchParams.get("resourceType")||"",n=i.searchParams.get("resourceDid")||m;a.useEffect(()=>{(async()=>{try{const t=await Promise.all(s.map(async o=>{const b=S(o,"/api/store.json"),{data:x}=await W.get(b);return{url:o,name:x.name}}));C(t||[])}catch(t){console.error(t)}})()},[s.join(",")]);const y=()=>{window.parent.postMessage({event:"resourceDialog.close",componentDid:m},"*")};a.useEffect(()=>{const t=O();return e&&t.connect(),()=>{e&&t.isConnected()&&t.disconnect()}},[e]);const c=({inDialog:t=!0}={})=>u.jsx(A,{stores:w,resourceType:p,resourceDid:n,mode:"embed",inDialog:t,storageKey:B(`${p}+${n}`)});return g?u.jsx(k,{className:"resource-dialog",title:d("blocklet.publish.addResource"),maxWidth:!1,fullWidth:!1,PaperProps:{style:f?{width:"100%",height:window.innerHeight}:{maxWidth:1350,minWidth:930,width:"80%"}},onClose:(t,o)=>{o!=="backdropClick"&&y()},showCloseButton:!0,disableEscapeKeyDown:!0,open:!0,children:c()}):c({inDialog:!1})}export{Mt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as l,j as a,W as $,ay as D,az as R,aA as A,P as n,V as E}from"./index-
|
|
1
|
+
import{r as l,j as a,W as $,ay as D,az as R,aA as A,P as n,V as E}from"./index-DHQX1PVd.js";import{L as H}from"./selector-C2yAZdz0.js";var d={};Object.defineProperty(d,"__esModule",{value:!0});var j=d.default=void 0;L(l);var b=a;function L(e){return e&&e.__esModule?e:{default:e}}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,o)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(o){N(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function N(e,t,r){return t=B(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B(e){var t=T(e,"string");return typeof t=="symbol"?t:String(t)}function T(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var f=function(t){return(0,b.jsx)("svg",w(w({},t),{},{children:(0,b.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"})}))};f.defaultProps={width:"21",height:"20",viewBox:"0 0 21 20",xmlns:"http://www.w3.org/2000/svg"};f.displayName="globe";j=d.default=f;var m={};Object.defineProperty(m,"__esModule",{value:!0});var x=m.default=void 0;k(l);var p=a;function k(e){return e&&e.__esModule?e:{default:e}}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,o)}return r}function O(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(o){q(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function q(e,t,r){return t=I(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I(e){var t=K(e,"string");return typeof t=="symbol"?t:String(t)}function K(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var v=function(t){return(0,p.jsxs)("svg",O(O({},t),{},{children:[(0,p.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,p.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"})]}))};v.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};v.displayName="question-mark-circle";x=m.default=v;function P({SessionContext:e,extraItems:t,showLocale:r,showHelper:o,showSessionManager:s,sessionManagerProps:_}){const{session:M}=l.useContext(e),{locale:h}=l.useContext($),z=D(),S="https://developer.blocklet.io/docs",u={"/store":{endpoint:"https://store.blocklet.io"},"/dashboard":{path:"/conceptual/overview"},"/settings/router":{path:"/conceptual/server-architecture"}},C=()=>{const c=z.pathname;let i={};c.indexOf("/store")>-1?i=u["/store"]:u[c]&&(i=u[c]),window.open(`${i.endpoint||S}/${h}${i.path||""}`,"_blank")};return a.jsxs(U,{children:[t.map((c,i)=>l.cloneElement(c,{key:i})),r&&a.jsx(H,{"data-cy":"locale-addon",icon:j,size:23,showText:!1,className:"locale-addon"}),o&&a.jsx(R,{onClick:C,children:a.jsx(x,{})}),s&&a.jsx(A,{locale:h,session:M,size:24,showRole:!0,..._,showManageBlocklet:!1})]})}P.propTypes={SessionContext:n.object.isRequired,webWalletUrl:n.string,extraItems:n.array,showLocale:n.bool,showSessionManager:n.bool,showHelper:n.bool,sessionManagerProps:n.object};P.defaultProps={webWalletUrl:"",extraItems:[],showLocale:!0,showSessionManager:!0,showHelper:!0,sessionManagerProps:{}};const U=E.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as h,gL as Yo,aV as Vt,aU as zo,dz as Wo,R as Ho,U as Uo,j as p,ep as K,B as Ae,r as x,af as Xt,b3 as Yt,T as be,bp as Yn,az as Be,b4 as xn,aF as se,aK as ye,aG as w,ap as ze,aC as Pe,aB as Me,aD as ee,bo as rt,aH as ge,aI as Se,aJ as ve,cK as Ye,cu as q,cq as Ko,cp as tt,c1 as Ke,cl as nt,cA as qo,gA as wn,cy as Go,d1 as Rt,a3 as zn,br as Zo,dg as Qo,gz as Jo,cv as zt,b as ft,cz as Xo,bk as er,gy as Wn,gx as Hn,cL as en,c3 as Un,cb as tn,Q as we,gM as tr,V as Ot,bV as nr,bX as or,J as rr,cZ as sr,bl as Ge,a_ as ar,u as nn,S as ir,y as lr,c as cr,fv as vn,bn as ur,gi as _e,W as Kn,g1 as qn,ba as dr,bc as hr,a7 as Pn,gN as fr,ag as pr,w as mr}from"./index-C6Ue8EuO.js";import{T as gr}from"./MoreVert-Diuqsm0S.js";import{_ as yr}from"./permission-D8W7kw-h.js";import{I as br}from"./iframe-VDCuXFSq.js";import{d as Dr}from"./LaunchOutlined-Dv6lMSrT.js";import{r as on,b as Gn,H as Fe,D as ot,B as Oe,y as xr,E as wr,I as rn,z as Ut,M as gt,N as yt,A as Je,L as bt,e as Dt,J as Ct,K as kt,d as vr,Q as Kt,G as pt,F as Mn,R as sn,S as Pr,Z as Mr,T as Sr,O as Cr,V as kr,P as Tr,W as Ir}from"./index-COFYjffY.js";import{d as Vr,B as Rr}from"./ChevronRight-DP0p_UTV.js";import{_ as Zn,G as pe}from"./Grid-DrgCuwdw.js";import{L as Qn}from"./ListItem-DUdj8Kmm.js";import{a as Or}from"./ListItemText-Caaw8krj.js";import{F as Sn}from"./FormControl-C-HIkhGC.js";import{S as Cn}from"./Select-DeQrk7uE.js";import{A as Ar}from"./Alert-Bfy43tWu.js";import{f as Er}from"./index-DGMWtahG.js";import{T as Fr}from"./TextField-1REpbtHI.js";import{M as Jn}from"./InputAdornment-DLeNk04D.js";import{p as Lr}from"./dashboard-x-SwAZSt.js";import{D as jr}from"./index-DG_ypNN6.js";import"./useAsync-C0DeDjqc.js";import"./session-Bf7V9tjJ.js";import"./Avatar-kRZlSVDZ.js";import"./useSlot-eNkNGL79.js";import"./useFormControl-DwATx00U.js";import"./InputLabel-BEw4IlsK.js";import"./index-DdaeL0pn.js";import"./useLocalStorage-O0eB5S4S.js";import"./confirm-Cxv5rlKs.js";import"./Delete-DXQBSw3p.js";import"./PlayArrow-Ctey7itN.js";import"./ButtonGroup-B9nwPHBC.js";import"./RadioGroup-CF5xStKS.js";import"./FormControlLabel-BMm4Nb7L.js";import"./FormGroup-sFGTqDL0.js";import"./spaces-azJeDl15.js";import"./index-BIl2byhA.js";import"./index-D-XBJ_hS.js";import"./api-CfHak9bu.js";import"./Link-CkTpavTP.js";import"./useSetState-Cvi1fL6F.js";import"./fallback-CUhtWylI.js";import"./index-DlBowrsh.js";import"./Toolbar-D1UExKwh.js";import"./Hidden-DGbIB_cs.js";import"./MoreHoriz-D9SvJLnk.js";import"./ExpandMore-CboKri_u.js";import"./index-i7JgVpS8.js";import"./selector-Btvzcs3I.js";import"./FilterList-wuXDGTLe.js";import"./TableRow-BUGcp46F.js";import"./LastPage-B7fr2Bgg.js";import"./index-COXGvP9H.js";import"./redux-BEagnTzd.js";import"./Search-BwpU7y5Y.js";const $r=h.oneOfType([h.func,h.object]),Xn=$r;var Nr=Yo;function _r(e,t){var n=e.length;if(n)return t+=t<0?n:0,Nr(t,n)?e[t]:void 0}var Br=_r,Yr=Br,zr=zo,Wr=Wo;function Hr(e){return e=Wr(e),zr(function(t){return Yr(t,e)})}var Ur=Hr;const Kr=Vt(Ur);function eo(e){on(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(Zn(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var n;return t.forEach(function(r){var a=Gn(r);(n===void 0||n<a||isNaN(Number(a)))&&(n=a)}),n||new Date(NaN)}function to(e){on(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(Zn(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var n;return t.forEach(function(r){var a=Gn(r);(n===void 0||n>a||isNaN(a.getDate()))&&(n=a)}),n||new Date(NaN)}function qr(e){return on(1,arguments),Fe(e,Date.now())}var an={},Gr=Uo;Object.defineProperty(an,"__esModule",{value:!0});var no=an.default=void 0,Zr=Gr(Ho()),Qr=p;no=an.default=(0,Zr.default)((0,Qr.jsx)("path",{d:"M16.01 11H4v2h12.01v3L20 12l-3.99-4z"}),"ArrowRightAlt");const Jr=(e,t)=>Array.from({length:Math.ceil(e.length/t)},(n,r)=>e.slice(r*t,r*t+t)),Xr=(e,t)=>{const n=gt(bt(e),{locale:t}),r=yt(Dt(e),{locale:t}),a=[];for(let o=n;pt(o,r);)a.push(o),o=Ut(o,1);return a},es=({startDate:e},t)=>e&&Fe(t,e),ts=({endDate:e},t)=>e&&Fe(t,e),ns=({startDate:e,endDate:t},n)=>e&&t&&(sn(n,{start:e,end:t})||Fe(n,e)||Fe(n,t)),os=({startDate:e,endDate:t})=>e&&t?Fe(e,t):!1,kn=(e,t)=>{if(e){const n=e instanceof Date?e:xr(e);if(wr(n))return n}return t},rs=(e,t,n)=>{const{startDate:r,endDate:a}=e;if(r&&a){const o=eo([r,t]),s=to([a,n]);return[o,rn(o,s)?Oe(o,1):s]}return[r,a]},ss=(e,t)=>[{label:"Today",startDate:e,endDate:e},{label:"Yesterday",startDate:Ut(e,-1),endDate:Ut(e,-1)},{label:"This Week",startDate:gt(e,{locale:t}),endDate:yt(e,{locale:t})},{label:"Last Week",startDate:gt(Je(e,-1),{locale:t}),endDate:yt(Je(e,-1),{locale:t})},{label:"Last 7 Days",startDate:Je(e,-1),endDate:e},{label:"This Month",startDate:bt(e),endDate:Dt(e)},{label:"Last Month",startDate:bt(Oe(e,-1)),endDate:Dt(Oe(e,-1))},{label:"This Year",startDate:Ct(e),endDate:kt(e)},{label:"Last Year",startDate:Ct(ot(e,-1)),endDate:kt(ot(e,-1))}],as=(e,t)=>{const n=Math.floor(t/2);return Array(t).fill(0).map((r,a)=>e.getFullYear()-n+a)},is=({date:e,setDate:t,nextDisabled:n,prevDisabled:r,onClickNext:a,onClickPrevious:o,locale:s})=>{const i=typeof s<"u"?[...Array(12).keys()].map(u=>{var y;return(y=s.localize)===null||y===void 0?void 0:y.month(u,{width:"abbreviated",context:"standalone"})}):["Jan","Feb","Mar","Apr","May","June","July","Aug","Sept","Oct","Nov","Dec"],c=u=>{t(kr(e,parseInt(u.target.value,10)))},l=u=>{t(Tr(e,parseInt(u.target.value,10)))};return K.createElement(pe,{container:!0,justifyContent:"space-between",alignItems:"center"},K.createElement(pe,{item:!0,sx:{padding:"5px"}},K.createElement(Be,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:r,onClick:o},K.createElement(Mr,{color:r?"disabled":"action"}))),K.createElement(pe,{item:!0},K.createElement(Sn,{variant:"standard"},K.createElement(Cn,{value:Sr(e),onChange:c,MenuProps:{disablePortal:!0}},i.map((u,y)=>K.createElement(xn,{key:u,value:y},u))))),K.createElement(pe,{item:!0},K.createElement(Sn,{variant:"standard"},K.createElement(Cn,{value:Cr(e),onChange:l,MenuProps:{disablePortal:!0}},as(e,30).map(u=>K.createElement(xn,{key:u,value:u},u))))),K.createElement(pe,{item:!0,sx:{padding:"5px"}},K.createElement(Be,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:n,onClick:a},K.createElement(Vr,{color:n?"disabled":"action"}))))},ls=({startOfRange:e,endOfRange:t,disabled:n,highlighted:r,outlined:a,filled:o,onClick:s,onHover:i,value:c})=>K.createElement(Ae,{sx:{display:"flex",borderRadius:e?"50% 0 0 50%":t?"0 50% 50% 0":void 0,backgroundColor:l=>!n&&r?l.palette.primary.light:void 0}},K.createElement(Be,{sx:Object.assign({height:"36px",width:"36px",padding:0,border:l=>!n&&a?`1px solid ${l.palette.primary.dark}`:void 0},!n&&o?{"&:hover":{backgroundColor:l=>l.palette.primary.dark},backgroundColor:l=>l.palette.primary.dark}:{}),disabled:n,onClick:s,onMouseOver:i},K.createElement(be,{sx:{lineHeight:1.6,color:l=>n?l.palette.text.secondary:o?l.palette.primary.contrastText:l.palette.text.primary},variant:"body2"},c)));var Tt;(function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"})(Tt||(Tt={}));const Tn=e=>{var t;const{helpers:n,handlers:r,value:a,dateRange:o,marker:s,setValue:i,minDate:c,maxDate:l,locale:u}=e,y=((t=u==null?void 0:u.options)===null||t===void 0?void 0:t.weekStartsOn)||0,D=typeof u<"u"?[...Array(7).keys()].map(d=>{var b;return(b=u.localize)===null||b===void 0?void 0:b.day((d+y)%7,{width:"short",context:"standalone"})}):["Su","Mo","Tu","We","Th","Fr","Sa"],[f,k]=e.navState;return K.createElement(Xt,{square:!0,elevation:0,sx:{width:290}},K.createElement(pe,{container:!0},K.createElement(is,{date:a,setDate:i,nextDisabled:!k,prevDisabled:!f,onClickPrevious:()=>r.onMonthNavigate(s,Tt.Previous),onClickNext:()=>r.onMonthNavigate(s,Tt.Next),locale:u}),K.createElement(pe,{item:!0,container:!0,direction:"row",justifyContent:"space-between",sx:{marginTop:"10px",paddingLeft:"30px",paddingRight:"30px"}},D.map((d,b)=>K.createElement(be,{color:"textSecondary",key:b,variant:"caption"},d))),K.createElement(pe,{item:!0,container:!0,direction:"column",justifyContent:"space-between",sx:{paddingLeft:"15px",paddingRight:"15px",marginTop:"15px",marginBottom:"20px"}},Jr(Xr(a,u),7).map((d,b)=>K.createElement(pe,{key:b,container:!0,direction:"row",justifyContent:"center"},d.map(m=>{const g=es(o,m),v=ts(o,m),T=os(o),P=ns(o,m)||n.inHoverRange(m);return K.createElement(ls,{key:Kt(m,"dd-MM-yyyy"),filled:g||v,outlined:qr(m),highlighted:P&&!T,disabled:!rn(a,m)||!sn(m,{start:c,end:l}),startOfRange:g&&!T,endOfRange:v&&!T,onClick:()=>r.onDayClick(m),onHover:()=>r.onDayHover(m),value:Pr(m)})}))))))},In=(e,t)=>{const{startDate:n,endDate:r}=e,{startDate:a,endDate:o}=t;return n&&a&&r&&o?Fe(n,a)&&Fe(r,o):!1},cs=({ranges:e,setRange:t,selectedRange:n})=>K.createElement(Yn,null,e.map((r,a)=>K.createElement(Qn,{button:!0,key:a,onClick:()=>t(r),sx:[In(r,n)&&{backgroundColor:o=>o.palette.primary.dark,color:"primary.contrastText","&:hover":{color:"inherit"}}]},K.createElement(Or,{primaryTypographyProps:{variant:"body2",sx:{fontWeight:In(r,n)?"bold":"normal"}}},r.label)))),qt={FIRST_MONTH:Symbol("firstMonth"),SECOND_MONTH:Symbol("secondMonth")},us=e=>{const{ranges:t,dateRange:n,minDate:r,maxDate:a,firstMonth:o,setFirstMonth:s,secondMonth:i,setSecondMonth:c,setDateRange:l,helpers:u,handlers:y,locale:D}=e,{startDate:f,endDate:k}=n,d=vr(i,o)>=2,b={dateRange:n,minDate:r,maxDate:a,helpers:u,handlers:y};return K.createElement(Xt,{elevation:5,square:!0},K.createElement(pe,{container:!0,direction:"row",wrap:"nowrap"},K.createElement(pe,null,K.createElement(cs,{selectedRange:n,ranges:t,setRange:l})),K.createElement(Yt,{orientation:"vertical",flexItem:!0}),K.createElement(pe,null,K.createElement(pe,{container:!0,sx:{padding:"20px 70px"},alignItems:"center"},K.createElement(pe,{item:!0,sx:{flex:1,textAlign:"center"}},K.createElement(be,{variant:"subtitle1"},f?Kt(f,"dd MMMM yyyy",{locale:D}):"Start Date")),K.createElement(pe,{item:!0,sx:{flex:1,textAlign:"center"}},K.createElement(no,{color:"action"})),K.createElement(pe,{item:!0,sx:{flex:1,textAlign:"center"}},K.createElement(be,{variant:"subtitle1"},k?Kt(k,"dd MMMM yyyy",{locale:D}):"End Date"))),K.createElement(Yt,null),K.createElement(pe,{container:!0,direction:"row",justifyContent:"center",wrap:"nowrap"},K.createElement(Tn,Object.assign({},b,{value:o,setValue:s,navState:[!0,d],marker:qt.FIRST_MONTH,locale:D})),K.createElement(Yt,{orientation:"vertical",flexItem:!0}),K.createElement(Tn,Object.assign({},b,{value:i,setValue:c,navState:[d,!0],marker:qt.SECOND_MONTH,locale:D}))))))},ds=e=>{const t=new Date,{open:n,onChange:r,initialDateRange:a,minDate:o,maxDate:s,definedRanges:i=ss(new Date,e.locale),locale:c}=e,l=kn(o,ot(t,-10)),u=kn(s,ot(t,10)),[y,D]=rs(a||{},l,u),[f,k]=x.useState(Object.assign({},a)),[d,b]=x.useState(),[m,g]=x.useState(y||t),[v,T]=x.useState(D||Oe(m,1)),{startDate:P,endDate:O}=f,R=F=>{pt(F,v)&&g(F)},A=F=>{Mn(F,m)&&T(F)},M=F=>{let{startDate:B,endDate:L}=F;if(B&&L)F.startDate=B=eo([B,l]),F.endDate=L=to([L,u]),k(F),r(F),g(B),T(rn(B,L)?Oe(B,1):L);else{const Y={};k(Y),r(Y),g(t),T(Oe(m,1))}},_=F=>{if(P&&!O&&!pt(F,P)){const B={startDate:P,endDate:F};r(B),k(B)}else k({startDate:F,endDate:void 0});b(F)},V=(F,B)=>{if(F===qt.FIRST_MONTH){const L=Oe(m,B);pt(L,v)&&g(L)}else{const L=Oe(v,B);pt(m,L)&&T(L)}},E=F=>{P&&!O&&(!d||!Fe(F,d))&&b(F)},C={inHoverRange:F=>P&&!O&&d&&Mn(d,P)&&sn(F,{start:P,end:d})},S={onDayClick:_,onDayHover:E,onMonthNavigate:V};return n?x.createElement(us,{dateRange:f,minDate:l,maxDate:u,ranges:i,firstMonth:m,secondMonth:v,setFirstMonth:R,setSecondMonth:A,setDateRange:M,helpers:C,handlers:S,locale:c}):null},hs=e=>{const{closeOnClickOutside:t,wrapperClassName:n,toggle:r,open:a}=e,o=()=>{t!==!1&&r()},s=i=>(i==null?void 0:i.key)==="Escape"&&o();return K.createElement(Ae,{sx:{position:"relative"}},a&&K.createElement(Ae,{sx:{position:"fixed",height:"100vh",width:"100vw",bottom:0,zIndex:0,right:0,left:0,top:0},onKeyPress:s,onClick:o}),K.createElement(Ae,{sx:{position:"relative",zIndex:1},className:n},K.createElement(ds,Object.assign({},e))))},fs=e=>K.createElement(hs,Object.assign({},e)),ps=["localeText"],Gt=x.createContext(null),ln=function(t){var n;const{localeText:r}=t,a=se(t,ps),{utils:o,localeText:s}=(n=x.useContext(Gt))!=null?n:{utils:void 0,localeText:void 0},i=ye({props:a,name:"MuiLocalizationProvider"}),{children:c,dateAdapter:l,dateFormats:u,dateLibInstance:y,adapterLocale:D,localeText:f}=i,k=x.useMemo(()=>w({},f,s,r),[f,s,r]),d=x.useMemo(()=>{if(!l)return o||null;const g=new l({locale:D,formats:u,instance:y});if(!g.isMUIAdapter)throw new Error(["MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(`
|
|
1
|
+
import{P as h,gL as Yo,aV as Vt,aU as zo,dz as Wo,R as Ho,U as Uo,j as p,ep as K,B as Ae,r as x,af as Xt,b3 as Yt,T as be,bp as Yn,az as Be,b4 as xn,aF as se,aK as ye,aG as w,ap as ze,aC as Pe,aB as Me,aD as ee,bo as rt,aH as ge,aI as Se,aJ as ve,cK as Ye,cu as q,cq as Ko,cp as tt,c1 as Ke,cl as nt,cA as qo,gA as wn,cy as Go,d1 as Rt,a3 as zn,br as Zo,dg as Qo,gz as Jo,cv as zt,b as ft,cz as Xo,bk as er,gy as Wn,gx as Hn,cL as en,c3 as Un,cb as tn,Q as we,gM as tr,V as Ot,bV as nr,bX as or,J as rr,cZ as sr,bl as Ge,a_ as ar,u as nn,S as ir,y as lr,c as cr,fv as vn,bn as ur,gi as _e,W as Kn,g1 as qn,ba as dr,bc as hr,a7 as Pn,gN as fr,ag as pr,w as mr}from"./index-DHQX1PVd.js";import{T as gr}from"./MoreVert-DbWiXbcA.js";import{_ as yr}from"./permission-BjmUrDnm.js";import{I as br}from"./iframe-CqmokW-x.js";import{d as Dr}from"./LaunchOutlined-SwQa7Afo.js";import{r as on,b as Gn,H as Fe,D as ot,B as Oe,y as xr,E as wr,I as rn,z as Ut,M as gt,N as yt,A as Je,L as bt,e as Dt,J as Ct,K as kt,d as vr,Q as Kt,G as pt,F as Mn,R as sn,S as Pr,Z as Mr,T as Sr,O as Cr,V as kr,P as Tr,W as Ir}from"./index-DbrGFbtF.js";import{d as Vr,B as Rr}from"./ChevronRight-DQvI5z3I.js";import{_ as Zn,G as pe}from"./Grid-D5FouhYT.js";import{L as Qn}from"./ListItem-DRM5kIT9.js";import{a as Or}from"./ListItemText-BlPu2nqy.js";import{F as Sn}from"./FormControl-CcjaJjrf.js";import{S as Cn}from"./Select-D_91DIwY.js";import{A as Ar}from"./Alert-Crwo2xUD.js";import{f as Er}from"./index-jvpScDP6.js";import{T as Fr}from"./TextField-CSTjJzfp.js";import{M as Jn}from"./InputAdornment-C14SwtKn.js";import{p as Lr}from"./dashboard-CjTXCmob.js";import{D as jr}from"./index-kA8HsW4g.js";import"./useAsync-Cey52cAz.js";import"./session-8rU_0ERq.js";import"./Avatar-Ai5wR0kn.js";import"./useSlot-Cv4LTxHH.js";import"./useFormControl-CsID-OtD.js";import"./InputLabel-YdMTqhZl.js";import"./index-B2Ydx0K5.js";import"./useLocalStorage-BrqQQrPs.js";import"./confirm-DMbiPVtG.js";import"./Delete-DKoGnICo.js";import"./PlayArrow-BfyPVD-2.js";import"./ButtonGroup-WBLH-0U6.js";import"./RadioGroup-NSzKVtOV.js";import"./FormControlLabel-D_KAO54-.js";import"./FormGroup-DXHCdTZw.js";import"./spaces-CqVozpvZ.js";import"./index-DiqGWQKr.js";import"./index-D-XBJ_hS.js";import"./api-CfX3cKOh.js";import"./Link-Bwsal4Ox.js";import"./useSetState-Dz5RkyHX.js";import"./fallback-Ou1wGAjU.js";import"./index-COhr7GyB.js";import"./Toolbar-DRVVzz30.js";import"./Hidden-COQ_Tvqh.js";import"./MoreHoriz-WCi0DSuZ.js";import"./ExpandMore-nrpgUsl7.js";import"./index-BH0FCMiq.js";import"./selector-C2yAZdz0.js";import"./FilterList-CUpBoesF.js";import"./TableRow-DVwfNOQg.js";import"./LastPage-B5tlMJN0.js";import"./index-CAdN20YD.js";import"./redux-qjiNkpdr.js";import"./Search-Sr9tkEqk.js";const $r=h.oneOfType([h.func,h.object]),Xn=$r;var Nr=Yo;function _r(e,t){var n=e.length;if(n)return t+=t<0?n:0,Nr(t,n)?e[t]:void 0}var Br=_r,Yr=Br,zr=zo,Wr=Wo;function Hr(e){return e=Wr(e),zr(function(t){return Yr(t,e)})}var Ur=Hr;const Kr=Vt(Ur);function eo(e){on(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(Zn(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var n;return t.forEach(function(r){var a=Gn(r);(n===void 0||n<a||isNaN(Number(a)))&&(n=a)}),n||new Date(NaN)}function to(e){on(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(Zn(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var n;return t.forEach(function(r){var a=Gn(r);(n===void 0||n>a||isNaN(a.getDate()))&&(n=a)}),n||new Date(NaN)}function qr(e){return on(1,arguments),Fe(e,Date.now())}var an={},Gr=Uo;Object.defineProperty(an,"__esModule",{value:!0});var no=an.default=void 0,Zr=Gr(Ho()),Qr=p;no=an.default=(0,Zr.default)((0,Qr.jsx)("path",{d:"M16.01 11H4v2h12.01v3L20 12l-3.99-4z"}),"ArrowRightAlt");const Jr=(e,t)=>Array.from({length:Math.ceil(e.length/t)},(n,r)=>e.slice(r*t,r*t+t)),Xr=(e,t)=>{const n=gt(bt(e),{locale:t}),r=yt(Dt(e),{locale:t}),a=[];for(let o=n;pt(o,r);)a.push(o),o=Ut(o,1);return a},es=({startDate:e},t)=>e&&Fe(t,e),ts=({endDate:e},t)=>e&&Fe(t,e),ns=({startDate:e,endDate:t},n)=>e&&t&&(sn(n,{start:e,end:t})||Fe(n,e)||Fe(n,t)),os=({startDate:e,endDate:t})=>e&&t?Fe(e,t):!1,kn=(e,t)=>{if(e){const n=e instanceof Date?e:xr(e);if(wr(n))return n}return t},rs=(e,t,n)=>{const{startDate:r,endDate:a}=e;if(r&&a){const o=eo([r,t]),s=to([a,n]);return[o,rn(o,s)?Oe(o,1):s]}return[r,a]},ss=(e,t)=>[{label:"Today",startDate:e,endDate:e},{label:"Yesterday",startDate:Ut(e,-1),endDate:Ut(e,-1)},{label:"This Week",startDate:gt(e,{locale:t}),endDate:yt(e,{locale:t})},{label:"Last Week",startDate:gt(Je(e,-1),{locale:t}),endDate:yt(Je(e,-1),{locale:t})},{label:"Last 7 Days",startDate:Je(e,-1),endDate:e},{label:"This Month",startDate:bt(e),endDate:Dt(e)},{label:"Last Month",startDate:bt(Oe(e,-1)),endDate:Dt(Oe(e,-1))},{label:"This Year",startDate:Ct(e),endDate:kt(e)},{label:"Last Year",startDate:Ct(ot(e,-1)),endDate:kt(ot(e,-1))}],as=(e,t)=>{const n=Math.floor(t/2);return Array(t).fill(0).map((r,a)=>e.getFullYear()-n+a)},is=({date:e,setDate:t,nextDisabled:n,prevDisabled:r,onClickNext:a,onClickPrevious:o,locale:s})=>{const i=typeof s<"u"?[...Array(12).keys()].map(u=>{var y;return(y=s.localize)===null||y===void 0?void 0:y.month(u,{width:"abbreviated",context:"standalone"})}):["Jan","Feb","Mar","Apr","May","June","July","Aug","Sept","Oct","Nov","Dec"],c=u=>{t(kr(e,parseInt(u.target.value,10)))},l=u=>{t(Tr(e,parseInt(u.target.value,10)))};return K.createElement(pe,{container:!0,justifyContent:"space-between",alignItems:"center"},K.createElement(pe,{item:!0,sx:{padding:"5px"}},K.createElement(Be,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:r,onClick:o},K.createElement(Mr,{color:r?"disabled":"action"}))),K.createElement(pe,{item:!0},K.createElement(Sn,{variant:"standard"},K.createElement(Cn,{value:Sr(e),onChange:c,MenuProps:{disablePortal:!0}},i.map((u,y)=>K.createElement(xn,{key:u,value:y},u))))),K.createElement(pe,{item:!0},K.createElement(Sn,{variant:"standard"},K.createElement(Cn,{value:Cr(e),onChange:l,MenuProps:{disablePortal:!0}},as(e,30).map(u=>K.createElement(xn,{key:u,value:u},u))))),K.createElement(pe,{item:!0,sx:{padding:"5px"}},K.createElement(Be,{sx:{padding:"10px","&:hover":{background:"none"}},disabled:n,onClick:a},K.createElement(Vr,{color:n?"disabled":"action"}))))},ls=({startOfRange:e,endOfRange:t,disabled:n,highlighted:r,outlined:a,filled:o,onClick:s,onHover:i,value:c})=>K.createElement(Ae,{sx:{display:"flex",borderRadius:e?"50% 0 0 50%":t?"0 50% 50% 0":void 0,backgroundColor:l=>!n&&r?l.palette.primary.light:void 0}},K.createElement(Be,{sx:Object.assign({height:"36px",width:"36px",padding:0,border:l=>!n&&a?`1px solid ${l.palette.primary.dark}`:void 0},!n&&o?{"&:hover":{backgroundColor:l=>l.palette.primary.dark},backgroundColor:l=>l.palette.primary.dark}:{}),disabled:n,onClick:s,onMouseOver:i},K.createElement(be,{sx:{lineHeight:1.6,color:l=>n?l.palette.text.secondary:o?l.palette.primary.contrastText:l.palette.text.primary},variant:"body2"},c)));var Tt;(function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"})(Tt||(Tt={}));const Tn=e=>{var t;const{helpers:n,handlers:r,value:a,dateRange:o,marker:s,setValue:i,minDate:c,maxDate:l,locale:u}=e,y=((t=u==null?void 0:u.options)===null||t===void 0?void 0:t.weekStartsOn)||0,D=typeof u<"u"?[...Array(7).keys()].map(d=>{var b;return(b=u.localize)===null||b===void 0?void 0:b.day((d+y)%7,{width:"short",context:"standalone"})}):["Su","Mo","Tu","We","Th","Fr","Sa"],[f,k]=e.navState;return K.createElement(Xt,{square:!0,elevation:0,sx:{width:290}},K.createElement(pe,{container:!0},K.createElement(is,{date:a,setDate:i,nextDisabled:!k,prevDisabled:!f,onClickPrevious:()=>r.onMonthNavigate(s,Tt.Previous),onClickNext:()=>r.onMonthNavigate(s,Tt.Next),locale:u}),K.createElement(pe,{item:!0,container:!0,direction:"row",justifyContent:"space-between",sx:{marginTop:"10px",paddingLeft:"30px",paddingRight:"30px"}},D.map((d,b)=>K.createElement(be,{color:"textSecondary",key:b,variant:"caption"},d))),K.createElement(pe,{item:!0,container:!0,direction:"column",justifyContent:"space-between",sx:{paddingLeft:"15px",paddingRight:"15px",marginTop:"15px",marginBottom:"20px"}},Jr(Xr(a,u),7).map((d,b)=>K.createElement(pe,{key:b,container:!0,direction:"row",justifyContent:"center"},d.map(m=>{const g=es(o,m),v=ts(o,m),T=os(o),P=ns(o,m)||n.inHoverRange(m);return K.createElement(ls,{key:Kt(m,"dd-MM-yyyy"),filled:g||v,outlined:qr(m),highlighted:P&&!T,disabled:!rn(a,m)||!sn(m,{start:c,end:l}),startOfRange:g&&!T,endOfRange:v&&!T,onClick:()=>r.onDayClick(m),onHover:()=>r.onDayHover(m),value:Pr(m)})}))))))},In=(e,t)=>{const{startDate:n,endDate:r}=e,{startDate:a,endDate:o}=t;return n&&a&&r&&o?Fe(n,a)&&Fe(r,o):!1},cs=({ranges:e,setRange:t,selectedRange:n})=>K.createElement(Yn,null,e.map((r,a)=>K.createElement(Qn,{button:!0,key:a,onClick:()=>t(r),sx:[In(r,n)&&{backgroundColor:o=>o.palette.primary.dark,color:"primary.contrastText","&:hover":{color:"inherit"}}]},K.createElement(Or,{primaryTypographyProps:{variant:"body2",sx:{fontWeight:In(r,n)?"bold":"normal"}}},r.label)))),qt={FIRST_MONTH:Symbol("firstMonth"),SECOND_MONTH:Symbol("secondMonth")},us=e=>{const{ranges:t,dateRange:n,minDate:r,maxDate:a,firstMonth:o,setFirstMonth:s,secondMonth:i,setSecondMonth:c,setDateRange:l,helpers:u,handlers:y,locale:D}=e,{startDate:f,endDate:k}=n,d=vr(i,o)>=2,b={dateRange:n,minDate:r,maxDate:a,helpers:u,handlers:y};return K.createElement(Xt,{elevation:5,square:!0},K.createElement(pe,{container:!0,direction:"row",wrap:"nowrap"},K.createElement(pe,null,K.createElement(cs,{selectedRange:n,ranges:t,setRange:l})),K.createElement(Yt,{orientation:"vertical",flexItem:!0}),K.createElement(pe,null,K.createElement(pe,{container:!0,sx:{padding:"20px 70px"},alignItems:"center"},K.createElement(pe,{item:!0,sx:{flex:1,textAlign:"center"}},K.createElement(be,{variant:"subtitle1"},f?Kt(f,"dd MMMM yyyy",{locale:D}):"Start Date")),K.createElement(pe,{item:!0,sx:{flex:1,textAlign:"center"}},K.createElement(no,{color:"action"})),K.createElement(pe,{item:!0,sx:{flex:1,textAlign:"center"}},K.createElement(be,{variant:"subtitle1"},k?Kt(k,"dd MMMM yyyy",{locale:D}):"End Date"))),K.createElement(Yt,null),K.createElement(pe,{container:!0,direction:"row",justifyContent:"center",wrap:"nowrap"},K.createElement(Tn,Object.assign({},b,{value:o,setValue:s,navState:[!0,d],marker:qt.FIRST_MONTH,locale:D})),K.createElement(Yt,{orientation:"vertical",flexItem:!0}),K.createElement(Tn,Object.assign({},b,{value:i,setValue:c,navState:[d,!0],marker:qt.SECOND_MONTH,locale:D}))))))},ds=e=>{const t=new Date,{open:n,onChange:r,initialDateRange:a,minDate:o,maxDate:s,definedRanges:i=ss(new Date,e.locale),locale:c}=e,l=kn(o,ot(t,-10)),u=kn(s,ot(t,10)),[y,D]=rs(a||{},l,u),[f,k]=x.useState(Object.assign({},a)),[d,b]=x.useState(),[m,g]=x.useState(y||t),[v,T]=x.useState(D||Oe(m,1)),{startDate:P,endDate:O}=f,R=F=>{pt(F,v)&&g(F)},A=F=>{Mn(F,m)&&T(F)},M=F=>{let{startDate:B,endDate:L}=F;if(B&&L)F.startDate=B=eo([B,l]),F.endDate=L=to([L,u]),k(F),r(F),g(B),T(rn(B,L)?Oe(B,1):L);else{const Y={};k(Y),r(Y),g(t),T(Oe(m,1))}},_=F=>{if(P&&!O&&!pt(F,P)){const B={startDate:P,endDate:F};r(B),k(B)}else k({startDate:F,endDate:void 0});b(F)},V=(F,B)=>{if(F===qt.FIRST_MONTH){const L=Oe(m,B);pt(L,v)&&g(L)}else{const L=Oe(v,B);pt(m,L)&&T(L)}},E=F=>{P&&!O&&(!d||!Fe(F,d))&&b(F)},C={inHoverRange:F=>P&&!O&&d&&Mn(d,P)&&sn(F,{start:P,end:d})},S={onDayClick:_,onDayHover:E,onMonthNavigate:V};return n?x.createElement(us,{dateRange:f,minDate:l,maxDate:u,ranges:i,firstMonth:m,secondMonth:v,setFirstMonth:R,setSecondMonth:A,setDateRange:M,helpers:C,handlers:S,locale:c}):null},hs=e=>{const{closeOnClickOutside:t,wrapperClassName:n,toggle:r,open:a}=e,o=()=>{t!==!1&&r()},s=i=>(i==null?void 0:i.key)==="Escape"&&o();return K.createElement(Ae,{sx:{position:"relative"}},a&&K.createElement(Ae,{sx:{position:"fixed",height:"100vh",width:"100vw",bottom:0,zIndex:0,right:0,left:0,top:0},onKeyPress:s,onClick:o}),K.createElement(Ae,{sx:{position:"relative",zIndex:1},className:n},K.createElement(ds,Object.assign({},e))))},fs=e=>K.createElement(hs,Object.assign({},e)),ps=["localeText"],Gt=x.createContext(null),ln=function(t){var n;const{localeText:r}=t,a=se(t,ps),{utils:o,localeText:s}=(n=x.useContext(Gt))!=null?n:{utils:void 0,localeText:void 0},i=ye({props:a,name:"MuiLocalizationProvider"}),{children:c,dateAdapter:l,dateFormats:u,dateLibInstance:y,adapterLocale:D,localeText:f}=i,k=x.useMemo(()=>w({},f,s,r),[f,s,r]),d=x.useMemo(()=>{if(!l)return o||null;const g=new l({locale:D,formats:u,instance:y});if(!g.isMUIAdapter)throw new Error(["MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(`
|
|
2
2
|
`));return g},[l,D,u,y,o]),b=x.useMemo(()=>d?{minDate:d.date("1900-01-01T00:00:00.000"),maxDate:d.date("2099-12-31T00:00:00.000")}:null,[d]),m=x.useMemo(()=>({utils:d,defaultDates:b,localeText:k}),[b,d,k]);return p.jsx(Gt.Provider,{value:m,children:c})},ms=e=>({components:{MuiLocalizationProvider:{defaultProps:{localeText:w({},e)}}}}),oo={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"open previous view",openNextView:"open next view",calendarViewSwitchingButtonAriaLabel:e=>e==="year"?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,t,n)=>`Select ${e}. ${t===null?"No time selected":`Selected time is ${n.format(t,"fullTime")}`}`,hoursClockNumberText:e=>`${e} hours`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} seconds`,selectViewText:e=>`Select ${e}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t)=>e!==null&&t.isValid(e)?`Choose date, selected date is ${t.format(e,"fullDate")}`:"Choose date",openTimePickerDialogue:(e,t)=>e!==null&&t.isValid(e)?`Choose time, selected time is ${t.format(e,"fullTime")}`:"Choose time",fieldClearLabel:"Clear value",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>e.contentType==="letter"?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>e.contentType==="letter"?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},gs=oo;ms(oo);const qe=()=>{const e=x.useContext(Gt);if(e===null)throw new Error(["MUI: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join(`
|
|
3
3
|
`));if(e.utils===null)throw new Error(["MUI: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join(`
|
|
4
4
|
`));const t=x.useMemo(()=>w({},gs,e.localeText),[e.localeText]);return x.useMemo(()=>w({},e,{localeText:t}),[e,t])},ue=()=>qe().utils,wt=()=>qe().defaultDates,We=()=>qe().localeText,vt=e=>{const t=ue(),n=x.useRef();return n.current===void 0&&(n.current=t.dateWithTimezone(void 0,e)),n.current},ys=ze(p.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),bs=ze(p.jsx("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),Ds=ze(p.jsx("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),xs=ze(p.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar");ze(p.jsxs(x.Fragment,{children:[p.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),p.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock");ze(p.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange");ze(p.jsxs(x.Fragment,{children:[p.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),p.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time");const ws=ze(p.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");function vs(e){return Pe("MuiPickersArrowSwitcher",e)}Me("MuiPickersArrowSwitcher",["root","spacer","button"]);const Ps=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel"],Ms=["ownerState"],Ss=["ownerState"],Cs=ee("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex"}),ks=ee("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})(({theme:e})=>({width:e.spacing(3)})),Vn=ee(Be,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(e,t)=>t.button})(({ownerState:e})=>w({},e.hidden&&{visibility:"hidden"})),Ts=e=>{const{classes:t}=e;return ve({root:["root"],spacer:["spacer"],button:["button"]},vs,t)},Is=x.forwardRef(function(t,n){var r,a,o,s;const c=rt().direction==="rtl",l=ye({props:t,name:"MuiPickersArrowSwitcher"}),{children:u,className:y,slots:D,slotProps:f,isNextDisabled:k,isNextHidden:d,onGoToNext:b,nextLabel:m,isPreviousDisabled:g,isPreviousHidden:v,onGoToPrevious:T,previousLabel:P}=l,O=se(l,Ps),R=l,A=Ts(R),M={isDisabled:k,isHidden:d,goTo:b,label:m},_={isDisabled:g,isHidden:v,goTo:T,label:P},V=(r=D==null?void 0:D.previousIconButton)!=null?r:Vn,E=ge({elementType:V,externalSlotProps:f==null?void 0:f.previousIconButton,additionalProps:{size:"medium",title:_.label,"aria-label":_.label,disabled:_.isDisabled,edge:"end",onClick:_.goTo},ownerState:w({},R,{hidden:_.isHidden}),className:A.button}),I=(a=D==null?void 0:D.nextIconButton)!=null?a:Vn,C=ge({elementType:I,externalSlotProps:f==null?void 0:f.nextIconButton,additionalProps:{size:"medium",title:M.label,"aria-label":M.label,disabled:M.isDisabled,edge:"start",onClick:M.goTo},ownerState:w({},R,{hidden:M.isHidden}),className:A.button}),S=(o=D==null?void 0:D.leftArrowIcon)!=null?o:bs,F=ge({elementType:S,externalSlotProps:f==null?void 0:f.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),B=se(F,Ms),L=(s=D==null?void 0:D.rightArrowIcon)!=null?s:Ds,Y=ge({elementType:L,externalSlotProps:f==null?void 0:f.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),U=se(Y,Ss);return p.jsxs(Cs,w({ref:n,className:Se(A.root,y),ownerState:R},O,{children:[p.jsx(V,w({},E,{children:c?p.jsx(L,w({},U)):p.jsx(S,w({},B))})),u?p.jsx(be,{variant:"subtitle1",component:"span",children:u}):p.jsx(ks,{className:A.spacer,ownerState:R}),p.jsx(I,w({},C,{children:c?p.jsx(S,w({},B)):p.jsx(L,w({},U))}))]}))}),ct=(e,t)=>e.length!==t.length?!1:t.every(n=>e.includes(n)),Vs=({openTo:e,defaultOpenTo:t,views:n,defaultViews:r})=>{const a=n??r;let o;if(e!=null)o=e;else if(a.includes(t))o=t;else if(a.length>0)o=a[0];else throw new Error("MUI: The `views` prop must contain at least one view");return{views:a,openTo:o}},Rs=["hours","minutes","seconds"],Os=e=>Rs.includes(e),Rn=(e,t)=>t.getHours(e)*3600+t.getMinutes(e)*60+t.getSeconds(e),As=(e,t)=>(n,r)=>e?t.isAfter(n,r):Rn(n,t)>Rn(r,t);function ro({onChange:e,onViewChange:t,openTo:n,view:r,views:a,autoFocus:o,focusedView:s,onFocusedViewChange:i}){var c,l;const u=x.useRef(n),y=x.useRef(a),D=x.useRef(a.includes(n)?n:a[0]),[f,k]=Ye({name:"useViews",state:"view",controlled:r,default:D.current}),d=x.useRef(o?f:null),[b,m]=Ye({name:"useViews",state:"focusedView",controlled:s,default:d.current});x.useEffect(()=>{(u.current&&u.current!==n||y.current&&y.current.some(M=>!a.includes(M)))&&(k(a.includes(n)?n:a[0]),y.current=a,u.current=n)},[n,k,f,a]);const g=a.indexOf(f),v=(c=a[g-1])!=null?c:null,T=(l=a[g+1])!=null?l:null,P=q((M,_)=>{m(_?M:V=>M===V?null:V),i==null||i(M,_)}),O=q(M=>{P(M,!0),M!==f&&(k(M),t&&t(M))}),R=q(()=>{T&&O(T)}),A=q((M,_,V)=>{const E=_==="finish",I=V?a.indexOf(V)<a.length-1:!!T;if(e(M,E&&I?"partial":_,V),V&&V!==f){const S=a[a.indexOf(V)+1];S&&O(S)}else E&&R()});return{view:f,setView:O,focusedView:b,setFocusedView:P,nextView:T,previousView:v,defaultView:a.includes(n)?n:a[0],goToNextView:R,setValueAndGoToNextView:A}}function Es(e,{disableFuture:t,maxDate:n,timezone:r}){const a=ue();return x.useMemo(()=>{const o=a.dateWithTimezone(void 0,r),s=a.startOfMonth(t&&a.isBefore(o,n)?o:n);return!a.isAfter(s,e)},[t,n,e,a,r])}function Fs(e,{disablePast:t,minDate:n,timezone:r}){const a=ue();return x.useMemo(()=>{const o=a.dateWithTimezone(void 0,r),s=a.startOfMonth(t&&a.isAfter(o,n)?o:n);return!a.isBefore(s,e)},[t,n,e,a,r])}const xt=36,At=2,Et=320,Ls=280,cn=334,js=ee("div")({overflow:"hidden",width:Et,maxHeight:cn,display:"flex",flexDirection:"column",margin:"0 auto"}),mt=({date:e,disableFuture:t,disablePast:n,maxDate:r,minDate:a,isDateDisabled:o,utils:s,timezone:i})=>{const c=s.startOfDay(s.dateWithTimezone(void 0,i));n&&s.isBefore(a,c)&&(a=c),t&&s.isAfter(r,c)&&(r=c);let l=e,u=e;for(s.isBefore(e,a)&&(l=a,u=null),s.isAfter(e,r)&&(u&&(u=r),l=null);l||u;){if(l&&s.isAfter(l,r)&&(l=null),u&&s.isBefore(u,a)&&(u=null),l){if(!o(l))return l;l=s.addDays(l,1)}if(u){if(!o(u))return u;u=s.addDays(u,-1)}}return null},$s=(e,t)=>t==null||!e.isValid(t)?null:t,ke=(e,t,n)=>t==null||!e.isValid(t)?n:t,Ns=(e,t,n)=>!e.isValid(t)&&t!=null&&!e.isValid(n)&&n!=null?!0:e.isEqual(t,n),un=(e,t)=>{const r=[e.startOfYear(t)];for(;r.length<12;){const a=r[r.length-1];r.push(e.addMonths(a,1))}return r},Zt=(e,t,n)=>{let r=t;return r=e.setHours(r,e.getHours(n)),r=e.setMinutes(r,e.getMinutes(n)),r=e.setSeconds(r,e.getSeconds(n)),r},so=(e,t,n)=>n==="date"?e.startOfDay(e.dateWithTimezone(void 0,t)):e.dateWithTimezone(void 0,t),_s=["year","month","day"],On=e=>_s.includes(e),dn=(e,{format:t,views:n},r)=>{if(t!=null)return t;const a=e.formats;return ct(n,["year"])?a.year:ct(n,["month"])?a.month:ct(n,["day"])?a.dayOfMonth:ct(n,["month","year"])?`${a.month} ${a.year}`:ct(n,["day","month"])?`${a.month} ${a.dayOfMonth}`:r?/en/.test(e.getCurrentLocaleCode())?a.normalDateWithWeekday:a.normalDate:a.keyboardDate},Bs=(e,t)=>{const n=e.startOfWeek(t);return[0,1,2,3,4,5,6].map(r=>e.addDays(n,r))},hn=({timezone:e,value:t,defaultValue:n,onChange:r,valueManager:a})=>{var o,s;const i=ue(),c=x.useRef(n),l=(o=t??c.current)!=null?o:a.emptyValue,u=x.useMemo(()=>a.getTimezone(i,l),[i,a,l]),y=q(d=>u==null?d:a.setTimezone(i,u,d)),D=(s=e??u)!=null?s:"default",f=x.useMemo(()=>a.setTimezone(i,D,l),[a,i,D,l]),k=q((d,...b)=>{const m=y(d);r==null||r(m,...b)});return{value:f,handleValueChange:k,timezone:D}},fn=({name:e,timezone:t,value:n,defaultValue:r,onChange:a,valueManager:o})=>{const[s,i]=Ye({name:e,state:"value",controlled:n,default:r??o.emptyValue}),c=q((l,...u)=>{i(l),a==null||a(l,...u)});return hn({timezone:t,value:s,defaultValue:void 0,onChange:c,valueManager:o})},Re={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},Ys=e=>Math.max(...e.map(t=>{var n;return(n=Re[t.type])!=null?n:1})),ut=(e,t,n)=>{if(t===Re.year)return e.startOfYear(n);if(t===Re.month)return e.startOfMonth(n);if(t===Re.day)return e.startOfDay(n);let r=n;return t<Re.minutes&&(r=e.setMinutes(r,0)),t<Re.seconds&&(r=e.setSeconds(r,0)),t<Re.milliseconds&&(r=e.setMilliseconds(r,0)),r},zs=({props:e,utils:t,granularity:n,timezone:r,getTodayDate:a})=>{var o;let s=a?a():ut(t,n,so(t,r));e.minDate!=null&&t.isAfterDay(e.minDate,s)&&(s=ut(t,n,e.minDate)),e.maxDate!=null&&t.isBeforeDay(e.maxDate,s)&&(s=ut(t,n,e.maxDate));const i=As((o=e.disableIgnoringDatePartForTimeValidation)!=null?o:!1,t);return e.minTime!=null&&i(e.minTime,s)&&(s=ut(t,n,e.disableIgnoringDatePartForTimeValidation?e.minTime:Zt(t,s,e.minTime))),e.maxTime!=null&&i(s,e.maxTime)&&(s=ut(t,n,e.disableIgnoringDatePartForTimeValidation?e.maxTime:Zt(t,s,e.maxTime))),s},ao=(e,t)=>{const n=e.formatTokenMap[t];if(n==null)throw new Error([`MUI: The token "${t}" is not supported by the Date and Time Pickers.`,"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join(`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{bQ as a}from"./index-DHQX1PVd.js";a.defaults.timeout=10*1e3;const o=a.create();export{o as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aV as Bt,ep as It,f_ as Zg,P as V,aF as Qg,r as Nt,aG as _r,j as K,a_ as Xd,p as Jg,u as ef,S as tf,B as Lr,b4 as nf,bI as rf,V as af,A as L1,T as Yt,L as x1,y as sf}from"./index-
|
|
1
|
+
import{aV as Bt,ep as It,f_ as Zg,P as V,aF as Qg,r as Nt,aG as _r,j as K,a_ as Xd,p as Jg,u as ef,S as tf,B as Lr,b4 as nf,bI as rf,V as af,A as L1,T as Yt,L as x1,y as sf}from"./index-DHQX1PVd.js";import{d as Zd,f as zn,a as Ei,b as bi,c as v1,S as of,s as Ct,h as un,p as F1,e as ti,n as M1,w as Hn}from"./index-CXpJN1ua.js";import{T as lf}from"./index-B2Ydx0K5.js";import{_ as uf}from"./useLocalStorage-BrqQQrPs.js";import{R as cf}from"./dashboard-CjTXCmob.js";import{F as df}from"./FormControl-CcjaJjrf.js";import{I as pf}from"./InputLabel-YdMTqhZl.js";import{S as gf}from"./Select-D_91DIwY.js";import{P as ff}from"./Pagination-Bv5U_pGR.js";import"./MoreVert-DbWiXbcA.js";import"./permission-BjmUrDnm.js";import"./useAsync-Cey52cAz.js";import"./session-8rU_0ERq.js";import"./confirm-DMbiPVtG.js";import"./index-jvpScDP6.js";import"./Alert-Crwo2xUD.js";import"./useSlot-Cv4LTxHH.js";import"./Delete-DKoGnICo.js";import"./PlayArrow-BfyPVD-2.js";import"./ListItemText-BlPu2nqy.js";import"./ButtonGroup-WBLH-0U6.js";import"./RadioGroup-NSzKVtOV.js";import"./FormControlLabel-D_KAO54-.js";import"./useFormControl-CsID-OtD.js";import"./FormGroup-DXHCdTZw.js";import"./Avatar-Ai5wR0kn.js";import"./spaces-CqVozpvZ.js";import"./index-DiqGWQKr.js";import"./index-D-XBJ_hS.js";import"./api-CfX3cKOh.js";import"./Link-Bwsal4Ox.js";import"./useSetState-Dz5RkyHX.js";import"./fallback-Ou1wGAjU.js";import"./index-COhr7GyB.js";import"./Toolbar-DRVVzz30.js";import"./Hidden-COQ_Tvqh.js";import"./MoreHoriz-WCi0DSuZ.js";import"./ExpandMore-nrpgUsl7.js";import"./index-BH0FCMiq.js";import"./ListItem-DRM5kIT9.js";import"./selector-C2yAZdz0.js";import"./LastPage-B5tlMJN0.js";const B1=["http","https","mailto","tel"];function mf(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let a=-1;for(;++a<B1.length;){const i=B1[a];if(r===i.length&&t.slice(0,i.length).toLowerCase()===i)return t}return a=t.indexOf("?"),a!==-1&&r>a||(a=t.indexOf("#"),a!==-1&&r>a)?t:"javascript:void(0)"}/*!
|
|
2
2
|
* Determine if an object is a Buffer
|
|
3
3
|
*
|
|
4
4
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as o,Y as n}from"./index-
|
|
1
|
+
import{j as o,Y as n}from"./index-DHQX1PVd.js";function a({...t}){return o.jsx(n,{className:"bottom-button",variant:"contained",color:"primary",...t})}export{a as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,W as s,j as t,f7 as r,P as c}from"./index-
|
|
1
|
+
import{r as i,W as s,j as t,f7 as r,P as c}from"./index-DHQX1PVd.js";function n({children:p,...e}){const{t:o}=i.useContext(s);return t.jsx(r,{tip:o("common.copyTip"),copiedTip:o("common.copiedTip"),...e,children:p})}n.propTypes={children:c.any.isRequired};export{n as C};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as m,u as C,r as n,ag as P,ah as B,j as t,S as T,B as h,fB as _,c as $,y as A,a4 as F,a5 as I,p as M,fh as N,fC as z,P as O,ak as V}from"./index-
|
|
1
|
+
import{V as m,u as C,r as n,ag as P,ah as B,j as t,S as T,B as h,fB as _,c as $,y as A,a4 as F,a5 as I,p as M,fh as N,fC as z,P as O,ak as V}from"./index-DHQX1PVd.js";import{L as W}from"./launch-result-message-DonsroFG.js";import{S as v}from"./button-Db57ewkG.js";import{S as X}from"./layout-cXWh6FBa.js";import"./content-layout-mrdcG4uo.js";const H=m(W)`
|
|
2
2
|
&& .result-footer {
|
|
3
3
|
height: 120px;
|
|
4
4
|
> div {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{gk as Fp,S as en,gl as Np,gm as Vp,f9 as zp,gn as Wp,go as qp,B as de,gj as Up,gp as Gp,gq as Hp,dA as Yp,gr as Kp,gs as Qp,b2 as Xp,gt as Jp,gu as Zp,ap as Ot,j as P,R as _t,U as se,u as ct,a as Rt,P as X,p as Oe,ca as ze,gv as Fe,r as M,cj as Qe,aV as vi,cb as Xo,gw as em,f6 as re,aB as Ne,aC as Ve,aD as ae,T as vt,aG as q,cp as Wr,aF as De,cl as la,aJ as Be,aK as Ae,gx as tm,cK as sa,cu as ua,gy as Pc,d1 as Tc,cq as nm,c1 as pn,bo as Cr,az as rt,aE as rm,cL as Sc,b as cn,cz as kc,br as am,af as om,gz as im,cv as Na,dg as lm,cA as qr,gA as Gl,cy as Ur,a3 as ca,gB as sm,ep as we,el as Hl,gC as um,dt as yi,gD as cm,cd as dm,V as it,a_ as Ct,W as rn,b9 as cr,a9 as Xt,eO as fm,gE as Rc,bq as mn,gF as pm,fP as mm,eP as gn,eK as Ci,eJ as dn,a7 as tn,aq as Ec,b4 as Mt,ba as Dn,y as pe,gG as gm,fC as Mc,fT as Oc,gH as hm,e as bm,c as _c,aZ as Zt,b7 as un,ab as Va,ez as vm,bz as Jo,gI as ym,cx as Zo,Y as jn,bI as Cm,fe as wm}from"./index-
|
|
1
|
+
import{gk as Fp,S as en,gl as Np,gm as Vp,f9 as zp,gn as Wp,go as qp,B as de,gj as Up,gp as Gp,gq as Hp,dA as Yp,gr as Kp,gs as Qp,b2 as Xp,gt as Jp,gu as Zp,ap as Ot,j as P,R as _t,U as se,u as ct,a as Rt,P as X,p as Oe,ca as ze,gv as Fe,r as M,cj as Qe,aV as vi,cb as Xo,gw as em,f6 as re,aB as Ne,aC as Ve,aD as ae,T as vt,aG as q,cp as Wr,aF as De,cl as la,aJ as Be,aK as Ae,gx as tm,cK as sa,cu as ua,gy as Pc,d1 as Tc,cq as nm,c1 as pn,bo as Cr,az as rt,aE as rm,cL as Sc,b as cn,cz as kc,br as am,af as om,gz as im,cv as Na,dg as lm,cA as qr,gA as Gl,cy as Ur,a3 as ca,gB as sm,ep as we,el as Hl,gC as um,dt as yi,gD as cm,cd as dm,V as it,a_ as Ct,W as rn,b9 as cr,a9 as Xt,eO as fm,gE as Rc,bq as mn,gF as pm,fP as mm,eP as gn,eK as Ci,eJ as dn,a7 as tn,aq as Ec,b4 as Mt,ba as Dn,y as pe,gG as gm,fC as Mc,fT as Oc,gH as hm,e as bm,c as _c,aZ as Zt,b7 as un,ab as Va,ez as vm,bz as Jo,gI as ym,cx as Zo,Y as jn,bI as Cm,fe as wm}from"./index-DHQX1PVd.js";import{d as ei}from"./Add-8T59IMCW.js";import{E as Dm,d as wi,F as xm,a as Di,L as xi}from"./Edit--2SLLTj1.js";import{g as Pm,h as Tm,i as Sm,W as hn,j as km,k as Ic,B as Yl,l as Rm,m as Em,a as Mm,n as Om}from"./dashboard-CjTXCmob.js";import{S as _m}from"./switch-control-BB1jIk8U.js";import{P as ti,w as xn}from"./permission-BjmUrDnm.js";import{b as Im,t as Am,c as Kl,T as jm}from"./MoreVert-DbWiXbcA.js";import{r as Pn,V as Lm,R as Bm,F as $m,C as Fm,a as Nm,e as Vm,g as It,f as Et,s as da,h as an,q as Ac,p as Pi,k as jc,m as zm,l as Wm,i as Tn,c as on,d as fa,o as qm,n as Um,v as Lc,y as Gm,w as Hm,x as Ym,j as Km,u as Qm,t as Xm,b as Jm,z as Ql,D as Zm,A as eg}from"./FilterList-CUpBoesF.js";import{d as tg,_ as ee,b as Xl,c as ng,a as rg,e as ag}from"./redux-qjiNkpdr.js";import{S as og,d as ig}from"./Search-Sr9tkEqk.js";import{C as lg,r as xe,a as Ti,t as ot,b as ye,e as ni,d as sg,s as Gr,g as ri,m as Bc,c as $c,f as ug,h as cg,i as ai,j as Fc,k as dg,l as fg,n as Nc,o as Si,p as Jl,q as pg,u as Zl,v as mg,w as gg,x as $t,y as hg,z as es,A as bg,B as za,D as ts,E as vg,F as Wa,G as Ln,H as yg,I as Cg,J as Mr,K as qa,L as ns,M as Ua,N as Ga,O as wg,P as Dg,Q as xg,R as Pg,S as Tg,T as Sg,U as kg,V as Rg,W as Eg,X as Mg,Y as Og,Z as _g}from"./index-DbrGFbtF.js";import{C as Ig,d as rs,B as Ag}from"./ChevronRight-DQvI5z3I.js";import{D as jg}from"./DeleteOutline-DxXBgofA.js";import{o as Lg,e as Bg,i as $g,p as Fg,g as Ng,d as as,c as Vg,b as Re,_ as Se,r as Gt}from"./slicedToArray-DZiaVnG-.js";import{t as zg,k as Wg,l as qg,_ as ke}from"./jss-plugin-props-sort.esm-BdIoAE3e.js";import{F as Ug,f as Gg,a as Hg,T as mt}from"./TextField-CSTjJzfp.js";import{_ as Yg,G as rr}from"./Grid-D5FouhYT.js";import{S as Kg}from"./Skeleton-CuSKL2hV.js";import{M as Vc,g as Qg,i as Xg}from"./InputAdornment-C14SwtKn.js";import{m as Ze,t as Jg}from"./toUpper-xlVYfWmm.js";import{C as os}from"./click-to-copy-CJHTeQKm.js";import{d as wr}from"./Delete-DKoGnICo.js";import{d as Zg}from"./ArrowDropDown-Bygnru-D.js";import{A as is}from"./Alert-Crwo2xUD.js";import{f as gt}from"./index-jvpScDP6.js";import{A as eh,a as th,b as nh,d as zc}from"./add-component-core-zggcQBsf.js";import{C as Sn}from"./confirm-DMbiPVtG.js";import{v as rh,a as Hr}from"./util-Cve0NA-s.js";import{i as ah}from"./index-DiqGWQKr.js";import{d as oh}from"./LockIcon-DrXN4_XB.js";import{d as Wc}from"./Launch-BIFSgYhi.js";import{C as ih}from"./item-BVPPHzf9.js";import{A as lh}from"./Avatar-Ai5wR0kn.js";import{E as ki}from"./Link-Bwsal4Ox.js";import{d as sh}from"./InfoOutlined-DEV5s7x8.js";import{I as Ha}from"./index-DwHc8apJ.js";import{W as uh}from"./did-address-BYpO2Eq5.js";import{T as ch}from"./index-B2Ydx0K5.js";import{R as dh,a as ls}from"./RadioGroup-NSzKVtOV.js";import{F as oi,C as fh}from"./FormControlLabel-D_KAO54-.js";import{d as ph}from"./PlayArrow-BfyPVD-2.js";import{A as mh}from"./actions-8d_RsIbE.js";import{a as gh}from"./index-B4O8U9Dp.js";import"./Done-qakBXtMB.js";import"./logo-uploader-DPuDV7et.js";import"./index-CJK1QvWr.js";import"./EditIcon-BJLohkMs.js";import"./ButtonGroup-WBLH-0U6.js";import"./useLocalStorage-BrqQQrPs.js";import"./ListItemText-BlPu2nqy.js";import"./session-8rU_0ERq.js";import"./spaces-CqVozpvZ.js";import"./index-D-XBJ_hS.js";import"./api-CfX3cKOh.js";import"./useSetState-Dz5RkyHX.js";import"./fallback-Ou1wGAjU.js";import"./index-COhr7GyB.js";import"./Toolbar-DRVVzz30.js";import"./Hidden-COQ_Tvqh.js";import"./MoreHoriz-WCi0DSuZ.js";import"./ExpandMore-nrpgUsl7.js";import"./index-BH0FCMiq.js";import"./ListItem-DRM5kIT9.js";import"./selector-C2yAZdz0.js";import"./useSlot-Cv4LTxHH.js";import"./useAsync-Cey52cAz.js";import"./TableRow-DVwfNOQg.js";import"./FormControl-CcjaJjrf.js";import"./useFormControl-CsID-OtD.js";import"./FormGroup-DXHCdTZw.js";import"./InputLabel-YdMTqhZl.js";import"./Select-D_91DIwY.js";import"./LastPage-B5tlMJN0.js";import"./uniqBy-DPA3xmia.js";import"./page-header-pSL3wTve.js";import"./config-space-1z89HNAO.js";import"./lottie-DGyNvifd.js";import"./launch-result-message-DonsroFG.js";import"./index-BfxNFAMu.js";import"./Google-DktcxZZU.js";import"./index-CXpJN1ua.js";import"./Stepper-BkRbGfXv.js";import"./preact.module-FqEZb0ZS.js";import"./connect-to-C8sj3bGw.js";import"./use-blocklet-info-for-connect-did-spaces-8OYxFynz.js";import"./CloseOutlined-BGca49KO.js";import"./index-CKe6Mpg5.js";import"./content-layout-mrdcG4uo.js";const hh=Object.freeze(Object.defineProperty({__proto__:null,circularProgressClasses:Fp,default:en,getCircularProgressUtilityClass:Np},Symbol.toStringTag,{value:"Module"})),bh=Object.freeze(Object.defineProperty({__proto__:null,collapseClasses:Vp,default:zp,getCollapseUtilityClass:Wp},Symbol.toStringTag,{value:"Module"})),vh=Object.freeze(Object.defineProperty({__proto__:null,boxClasses:qp,default:de},Symbol.toStringTag,{value:"Module"})),yh=Object.freeze(Object.defineProperty({__proto__:null,default:Ug,formHelperTextClasses:Gg,getFormHelperTextUtilityClasses:Hg},Symbol.toStringTag,{value:"Module"})),Ch=Object.freeze(Object.defineProperty({__proto__:null,default:Up,getIconUtilityClass:Gp,iconClasses:Hp},Symbol.toStringTag,{value:"Module"})),wh=Object.freeze(Object.defineProperty({__proto__:null,default:Vc,getInputAdornmentUtilityClass:Qg,inputAdornmentClasses:Xg},Symbol.toStringTag,{value:"Module"})),Dh=Object.freeze(Object.defineProperty({__proto__:null,default:Yp,getLinearProgressUtilityClass:Kp,linearProgressClasses:Qp},Symbol.toStringTag,{value:"Module"})),xh=Object.freeze(Object.defineProperty({__proto__:null,default:Xp,getMenuUtilityClass:Jp,menuClasses:Zp},Symbol.toStringTag,{value:"Module"})),Ph=Ot(P.jsx("path",{d:"M14.17 5 19 9.83V19H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.41l-4.83-4.83c-.37-.38-.88-.59-1.41-.59M7 15h10v2H7zm0-4h10v2H7zm0-4h7v2H7z"}),"TextSnippetOutlined");var Ri={},Th=se;Object.defineProperty(Ri,"__esModule",{value:!0});var qc=Ri.default=void 0,Sh=Th(_t()),kh=P;qc=Ri.default=(0,Sh.default)((0,kh.jsx)("path",{d:"M21 10.12h-6.78l2.74-2.82c-2.73-2.7-7.15-2.8-9.88-.1-2.73 2.71-2.73 7.08 0 9.79s7.15 2.71 9.88 0C18.32 15.65 19 14.08 19 12.1h2c0 1.98-.88 4.55-2.64 6.29-3.51 3.48-9.21 3.48-12.72 0-3.5-3.47-3.53-9.11-.02-12.58s9.14-3.47 12.65 0L21 3zM12.5 8v4.25l3.5 2.08-.72 1.21L11 13V8z"}),"Update");var Ei={},Rh=se;Object.defineProperty(Ei,"__esModule",{value:!0});var Uc=Ei.default=void 0,Eh=Rh(_t()),Mh=P;Uc=Ei.default=(0,Eh.default)((0,Mh.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");function Mi({children:e,...t}){const{t:n}=ct(),{updateAutoCheckUpdate:a,autoCheckUpdate:r}=Pm(),i=async()=>{try{const l=!(r!=null&&r.enabled);await a({enabled:l}),Oe.success(n(l?"storage.spaces.autoCheckUpdate.enabled":"storage.spaces.autoCheckUpdate.disabled"))}catch(l){Oe.error(l.message)}},o=!!(r!=null&&r.enabled);return P.jsxs(de,{display:"flex",flexDirection:"row",alignItems:"center",children:[e,P.jsx(Rt,{title:n("storage.spaces.autoCheckUpdate.title"),arrow:!0,placement:"right",children:P.jsx("div",{children:P.jsx(_m,{checked:o,onChange:i,name:"enableWelcomePage",style:{...t.style,zoom:.8}})})})]})}Mi.propTypes={children:X.any};Mi.defaultProps={children:null};var Gc={},Bn={},Ya={},Ka={},Qa={};const Hc=ze(hh);var ss;function Oh(){return ss||(ss=1,function(e){var t=se;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(Fe),a=t(Hc),r=t(M),i=t(Qe),o=Pn;function l(s){var d=(0,o.useTheme)();return r.default.createElement("div",{ref:s.forwardedRef,style:{display:"table",width:"100%",height:"100%",backgroundColor:d.palette.background.paper,opacity:.7}},r.default.createElement("div",{style:{display:"table-cell",width:"100%",height:"100%",verticalAlign:"middle",textAlign:"center"}},r.default.createElement(a.default,null)))}l.propTypes={theme:i.default.any};var u=r.default.forwardRef(function(d,c){return r.default.createElement(l,(0,n.default)({},d,{forwardedRef:c}))});e.default=u}(Qa)),Qa}var Xa={},Ja={},wt={};const Je=ze(tg);var _h={BASE_URL:"/.well-known/service/static",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const us=e=>{let t;const n=new Set,a=(u,s)=>{const d=typeof u=="function"?u(t):u;if(!Object.is(d,t)){const c=t;t=s??typeof d!="object"?d:Object.assign({},t,d),n.forEach(p=>p(t,c))}},r=()=>t,l={setState:a,getState:r,subscribe:u=>(n.add(u),()=>n.delete(u)),destroy:()=>{(_h&&"production")!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(a,r,l),l},Yc=e=>e?us(e):us;var Kc={exports:{}},Qc={},Xc={exports:{}},Jc={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as a,j as n,V as j,P as g,a3 as I,u as U,ag as q,bu as F,a9 as d,c as G,y as M,fe as z,eN as H,b0 as D,fa as Y,p as Q}from"./index-
|
|
1
|
+
import{r as a,j as n,V as j,P as g,a3 as I,u as U,ag as q,bu as F,a9 as d,c as G,y as M,fe as z,eN as H,b0 as D,fa as Y,p as Q}from"./index-DHQX1PVd.js";import{u as V}from"./uniqBy-DPA3xmia.js";import{S as $}from"./index-BfxNFAMu.js";import{P as W}from"./page-header-pSL3wTve.js";import{S as X}from"./layout-cXWh6FBa.js";import{S as J}from"./step-actions-B4mur2qN.js";import{S as Z}from"./button-Db57ewkG.js";import"./EditIcon-BJLohkMs.js";import"./Done-qakBXtMB.js";import"./Google-DktcxZZU.js";import"./TextField-CSTjJzfp.js";import"./FormControl-CcjaJjrf.js";import"./useFormControl-CsID-OtD.js";import"./InputLabel-YdMTqhZl.js";import"./Select-D_91DIwY.js";import"./logo-uploader-DPuDV7et.js";import"./index-CJK1QvWr.js";import"./content-layout-mrdcG4uo.js";function x({children:C,bottom:E,onBottomFix:f}){const i=a.useRef(null),s=a.useRef(null),m=a.useRef(null),r=a.useRef(null),[L,h]=a.useState(!1);return a.useEffect(()=>{let t;const l=()=>{t||(t=setTimeout(()=>{s.current&&(s.current.scrollHeight>i.current.clientHeight-m.current.clientHeight?(r.current!=="fix"&&(f("fix"),r.current="fix"),h(!0)):(r.current!=="scroll"&&(f("scroll"),r.current="scroll"),h(!1))),t=null},50))};let u;return window.ResizeObserver?u=new ResizeObserver(l):window.addEventListener("resize",l),u.observe(i.current),u.observe(s.current),()=>{u?u.disconnect():window.removeEventListener("resize",l),t&&clearTimeout(t)}},[f]),n.jsxs(ee,{ref:i,className:`${L?"scroll-mode":""}`,children:[n.jsx("div",{className:"compact-context",ref:s,children:C}),n.jsx("div",{className:"fix-container",ref:m,children:E})]})}const ee=j.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as t,U as a,j as c,y as e}from"./index-
|
|
1
|
+
import{R as t,U as a,j as c,y as e}from"./index-DHQX1PVd.js";var r={},u=a;Object.defineProperty(r,"__esModule",{value:!0});var n=r.default=void 0,v=u(t()),d=c;n=r.default=(0,v.default)((0,d.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Lock");var o={},p=a;Object.defineProperty(o,"__esModule",{value:!0});var l=o.default=void 0,_=p(t()),f=c;l=o.default=(0,_.default)((0,f.jsx)("path",{d:"M21 8V7l-3 2-3-2v1l3 2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2M8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1zm8-6h-8V6h8z"}),"ContactMail");var i={},h=a;Object.defineProperty(i,"__esModule",{value:!0});var s=i.default=void 0,m=h(t()),C=c;s=i.default=(0,m.default)((0,C.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}),"Public");const j=[{value:e.WHO_CAN_ACCESS.ALL,icon:s,title:{zh:"所有人可访问",en:"Accessible to all"},description:{zh:"向所有人开放,无需通行证即可访问应用",en:"Open to the world anyone can access without passport"}},{value:e.WHO_CAN_ACCESS.INVITED,icon:l,title:{zh:"只有被邀请的人可以访问",en:"Only invited people can access"},description:{zh:"稍后您可以在管理页面中邀请成员",en:"You can invite members later in the admin page"}},{value:e.WHO_CAN_ACCESS.OWNER,icon:n,title:{zh:"只有应用所有者可以访问",en:"Only Owner of the blocklet can access"},description:{zh:"必须提供所有者通行证才能访问应用",en:"You must provide owner passport to access this application"}}];export{j as A};
|