@abtnode/blocklet-services 1.16.37-beta-20241224-013714-a79db7d3 → 1.16.37-beta-20241227-230028-f4f77779
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/services/dashboard/index.js +94 -39
- package/api/services/static.js +4 -2
- package/api/socket/channel/did.js +1 -1
- package/dist/assets/{Add-bmdSrWOA.js → Add-DiQj72_G.js} +1 -1
- package/dist/assets/{Alert-dY-OL-cr.js → Alert-fJUYshpI.js} +1 -1
- package/dist/assets/{ArrowDropDown-y45Fdx-X.js → ArrowDropDown-DI0BmrOq.js} +1 -1
- package/dist/assets/{Autocomplete-dIT4Amet.js → Autocomplete-DRd7niQz.js} +1 -1
- package/dist/assets/Avatar-B3-J2oSa.js +1 -0
- package/dist/assets/{ButtonGroup-XHi-9psG.js → ButtonGroup-DdaAsd7m.js} +1 -1
- package/dist/assets/{CSSTransition-uwGMy0rY.js → CSSTransition-BbVk90um.js} +1 -1
- package/dist/assets/{CheckCircle-CdClV-_h.js → CheckCircle-DopnIxIF.js} +1 -1
- package/dist/assets/Checkbox-605aKNtn.js +1 -0
- package/dist/assets/{ChevronLeft-C-j1vGKc.js → ChevronLeft-DVfSKtUH.js} +1 -1
- package/dist/assets/{ChevronRight-CbtZ3hD-.js → ChevronRight-CkWZhA6O.js} +1 -1
- package/dist/assets/{Clear-BHERDEfK.js → Clear-ulJ4LqZ2.js} +1 -1
- package/dist/assets/{Delete-BP5vfq8X.js → Delete-CvojZjY_.js} +1 -1
- package/dist/assets/{DeleteOutline-BJNpCFE3.js → DeleteOutline-CJ7UtwtB.js} +1 -1
- package/dist/assets/DialogContentText-5efuL1pS.js +1 -0
- package/dist/assets/{Done-D1ZlVz28.js → Done-B672y41y.js} +1 -1
- package/dist/assets/{Download-Cn9c9ohK.js → Download-BzfytjOE.js} +1 -1
- package/dist/assets/{EditIcon-CznGQSjE.js → EditIcon-BKXQLECT.js} +1 -1
- package/dist/assets/{Error-CnHtr7Rs.js → Error-i7KW-xQe.js} +1 -1
- package/dist/assets/{ExpandMore-Bn9GWuEQ.js → ExpandMore-BITiWbGX.js} +1 -1
- package/dist/assets/FormControl-fIzgKX7D.js +1 -0
- package/dist/assets/{FormControlLabel-B2DvbQHM.js → FormControlLabel-Dfh8Ovrx.js} +1 -1
- package/dist/assets/FormGroup-xZ8olp1T.js +1 -0
- package/dist/assets/{Google-D1iNY1x9.js → Google-D4ER62hg.js} +1 -1
- package/dist/assets/{Grid-zFG3HBuV.js → Grid-BhkoGNkX.js} +1 -1
- package/dist/assets/{HelpOutline-BoSK3px7.js → HelpOutline-j2kmxY6L.js} +1 -1
- package/dist/assets/Hidden-Dv6tqDMk.js +1 -0
- package/dist/assets/{InfoOutlined-Bwocpz5e.js → InfoOutlined-DsbdO8uI.js} +1 -1
- package/dist/assets/InputAdornment-DDQoXYkd.js +1 -0
- package/dist/assets/{LastPage-BWy9Ot-z.js → LastPage-CDOxuruI.js} +1 -1
- package/dist/assets/{Launch-D_sSAnDg.js → Launch-14rGyd34.js} +1 -1
- package/dist/assets/{LaunchOutlined-X2HpZgvj.js → LaunchOutlined-BJf3Toof.js} +1 -1
- package/dist/assets/{Link-C3LvemFf.js → Link-BoNK8U6B.js} +1 -1
- package/dist/assets/{ListItemButton-C5esEELO.js → ListItemButton-nnJz3_9l.js} +1 -1
- package/dist/assets/{ListSubheader-Cef_PnTv.js → ListSubheader-DzZ9UkDQ.js} +1 -1
- package/dist/assets/{LoadingButton-DqZkQVkR.js → LoadingButton-DL5muyX5.js} +1 -1
- package/dist/assets/{LockIcon-Dy4i6Aqn.js → LockIcon-CpuPbKgo.js} +1 -1
- package/dist/assets/{Loop-BUj9Vy6n.js → Loop-BGzW8fiF.js} +1 -1
- package/dist/assets/{MarkEmailRead-CA2pMXCE.js → MarkEmailRead-Cw8zBeH2.js} +1 -1
- package/dist/assets/{Menu-CvZfT5GL.js → Menu-CdQgZOTK.js} +1 -1
- package/dist/assets/{MoreHoriz-PRHiJZol.js → MoreHoriz-f98wup1w.js} +1 -1
- package/dist/assets/{MoreVert-D6ZGYNyY.js → MoreVert-OsR4KYB6.js} +1 -1
- package/dist/assets/{OpenInNew-BDTDwP3d.js → OpenInNew-CXKL91vQ.js} +1 -1
- package/dist/assets/{OutlinedInput-gn7nbVpS.js → OutlinedInput-Bir0LO-Y.js} +2 -2
- package/dist/assets/{Pagination-D38Mochi.js → Pagination-ZrO6GkiO.js} +1 -1
- package/dist/assets/{PlayArrow-vPTnOeug.js → PlayArrow-CMOWIF4X.js} +1 -1
- package/dist/assets/{QuestionMarkCircle-B4mLjcEm.js → QuestionMarkCircle-DLTrpgLO.js} +1 -1
- package/dist/assets/RadioGroup-TQUjwFhm.js +1 -0
- package/dist/assets/{Search-Di1FfTVW.js → Search-3y7ZDzvQ.js} +1 -1
- package/dist/assets/{Select-DWN6VE5t.js → Select-DnTCUdTE.js} +1 -1
- package/dist/assets/{ServerLogo-CthaxJzV.js → ServerLogo-BptoR21w.js} +1 -1
- package/dist/assets/{Skeleton-WadU0OJu.js → Skeleton-BaIau6LB.js} +5 -5
- package/dist/assets/{Stepper-B7bkS7Td.js → Stepper-BFVV4f01.js} +1 -1
- package/dist/assets/TextField-BYcgq_ZU.js +1 -0
- package/dist/assets/{Toolbar-CkZJzWdi.js → Toolbar-CaFfg3Zo.js} +1 -1
- package/dist/assets/{ViewColumn-DDNlwTLF.js → ViewColumn-D8H2dcnw.js} +1 -1
- package/dist/assets/{ViewList-Cf2E-w4V.js → ViewList-0QLGMugO.js} +1 -1
- package/dist/assets/{_createAggregator-DerVCNXt.js → _createAggregator-Cx31kdv8.js} +1 -1
- package/dist/assets/{access-control-DbzcvB2p.js → access-control-ByLiSjaT.js} +1 -1
- package/dist/assets/{actions-BIHzrJRL.js → actions-vfeu2z_e.js} +1 -1
- package/dist/assets/{add-component-core-BNdw0aLE.js → add-component-core-Bnly0nFz.js} +3 -3
- package/dist/assets/add-resource-CJS0uEWw.js +1 -0
- package/dist/assets/{addon-38qg_4hX.js → addon-wIdqZAkZ.js} +1 -1
- package/dist/assets/{analytics-P2-ARhzA.js → analytics-CLQmjRC9.js} +7 -7
- package/dist/assets/api-Bu3rtxlJ.js +1 -0
- package/dist/assets/{audit-logs-B1jUwB8K.js → audit-logs-cMGXhSyA.js} +1 -1
- package/dist/assets/{base32-DhP6Sd22.js → base32-Cy0KMtnu.js} +1 -1
- package/dist/assets/branding-BrG1gkm7.js +40 -0
- package/dist/assets/bundle-avatar-B70_KoKd.js +1 -0
- package/dist/assets/{button-sagPkc4B.js → button-viNOb2mR.js} +1 -1
- package/dist/assets/{click-to-copy-bNuefZAb.js → click-to-copy-B-cdLC0a.js} +1 -1
- package/dist/assets/{complete-BmQ4mgd0.js → complete-DvvHJI6r.js} +2 -2
- package/dist/assets/{component-YDzDe2Hy.js → component-B4h5emh-.js} +68 -68
- package/dist/assets/{config-oIKKsXqC.js → config-C6_TiEHS.js} +2 -2
- package/dist/assets/{config-BcZ0hhSN.js → config-CtxUS72t.js} +1 -1
- package/dist/assets/{config-navigation-_B9Y2h3O.js → config-navigation-pOQnZWjT.js} +6 -6
- package/dist/assets/{config-space-CZbBDsyW.js → config-space-DysKpxzV.js} +1 -1
- package/dist/assets/confirm-C_Mq3w5e.js +7 -0
- package/dist/assets/{connect-DsWbhDFg.js → connect-BQDHeQQq.js} +1 -1
- package/dist/assets/{connect-5rRgHzPJ.js → connect-Bl-oiZA5.js} +1 -1
- package/dist/assets/connect-to-B4cfhbX7.js +1 -0
- package/dist/assets/{content-layout-CJjMzX72.js → content-layout-B7K96DAy.js} +1 -1
- package/dist/assets/{dashboard-CP8PgBmS.js → dashboard-CRl0qJYj.js} +3 -3
- package/dist/assets/{deprecate-VX12Wil8.js → deprecate-LaU6oIEG.js} +1 -1
- package/dist/assets/{did-address-BnRJDh4K.js → did-address-DNbA7cDl.js} +1 -1
- package/dist/assets/{domain-jbyj4r81.js → domain-bBOyAF5J.js} +1 -1
- package/dist/assets/{domain-list-Cng1dqBX.js → domain-list-2J9i3slw.js} +2 -2
- package/dist/assets/{email-CoMU6QoA.js → email-xhuFiiiR.js} +3 -3
- package/dist/assets/emotion-cache.browser.esm-quj9mT6d.js +1 -0
- package/dist/assets/{exchange-passport-CKrLmbNT.js → exchange-passport-CKIurYx_.js} +1 -1
- package/dist/assets/fallback-BgNqE8Mz.js +1 -0
- package/dist/assets/{form-text-input-DuE0t2xh.js → form-text-input-Bp8pZpra.js} +2 -2
- package/dist/assets/{format-error-BqUQNRdR.js → format-error-tFamTRix.js} +1 -1
- package/dist/assets/{fuel-BxFKkvrY.js → fuel-BfTtA8pk.js} +1 -1
- package/dist/assets/{fullpage-DMghH4Jh.js → fullpage-By89Mt04.js} +1 -1
- package/dist/assets/get-safe-url-BWqkbNKC.js +1 -0
- package/dist/assets/get-safe-url-DwaysuPp.js +1 -0
- package/dist/assets/home-Bq4dkBz5.js +1 -0
- package/dist/assets/{iframe-CYpHBgb4.js → iframe-BDnKAuaw.js} +1 -1
- package/dist/assets/{index-CQXPe6Dg.js → index-19uUo-aG.js} +1 -1
- package/dist/assets/{index-BKpiH5Dq.js → index-4iVqclkI.js} +32 -32
- package/dist/assets/{index-BH652Yyk.js → index-8nad0XUe.js} +4 -4
- package/dist/assets/index-B3y_HfUO.js +5 -0
- package/dist/assets/{index-CeS3z9GZ.js → index-B5kiWFh2.js} +2 -2
- package/dist/assets/{index-DNWbdg1R.js → index-BIbCy-A-.js} +1 -1
- package/dist/assets/{index-B-s0lesn.js → index-BJQJCAYl.js} +1 -1
- package/dist/assets/{index-DLhcpc3-.js → index-BaWOBmg0.js} +1 -1
- package/dist/assets/{index-DzPmWuJk.js → index-BcKlAtm6.js} +11 -11
- package/dist/assets/index-BpS5fE9U.js +29 -0
- package/dist/assets/index-C1-jBp6e.js +11 -0
- package/dist/assets/{index-DvWxRDmE.js → index-C5XAnMMW.js} +1 -1
- package/dist/assets/{index-DnXN6H0t.js → index-CRu5pDJx.js} +1 -1
- package/dist/assets/{index-B-RFpqiC.js → index-CRwWE7k1.js} +197 -186
- package/dist/assets/{index-dqr9Jaml.js → index-CWxlGIUF.js} +1 -1
- package/dist/assets/{index-WbA8mYzS.js → index-C_mKQSIZ.js} +1 -1
- package/dist/assets/{index-B6qJT9W4.js → index-Cc7DUN2C.js} +1 -1
- package/dist/assets/{index-Cp2B6uNC.js → index-CcylJpra.js} +3 -3
- package/dist/assets/{index-BRjM_G4Y.js → index-Cd2rjdXn.js} +1 -1
- package/dist/assets/{index-CH3eSleH.js → index-CfBsbLo-.js} +9 -9
- package/dist/assets/{index-D8vZ-fPV.js → index-CiUwkva7.js} +7 -7
- package/dist/assets/{index-Cg_mxnpC.js → index-D-v6tJWp.js} +1 -1
- package/dist/assets/{index-8SeRztEJ.js → index-D13gcpe1.js} +1 -1
- package/dist/assets/{index-B55M7j1N.js → index-DAEqeA1n.js} +1 -1
- package/dist/assets/{index-D1nK8ZHc.js → index-DHESrWqd.js} +1 -1
- package/dist/assets/{index-D_bDY9Qe.js → index-DJLfmyfF.js} +3 -3
- package/dist/assets/{index-t5EXQWHo.js → index-DMHtseoV.js} +1 -1
- package/dist/assets/index-DtsXL14I.js +1 -0
- package/dist/assets/{index-Buj7PXf3.js → index-DyoLbbJ9.js} +9 -9
- package/dist/assets/index-FZNQje_3.js +1 -0
- package/dist/assets/{index-lU7kM9Ky.js → index-NCj77zhB.js} +1 -1
- package/dist/assets/{index-CntasVxY.js → index-XLi1_vhi.js} +13 -13
- package/dist/assets/index-iWN75yWj.js +4 -0
- package/dist/assets/{index-CJD8MpdN.js → index-qXNPy1Dh.js} +4 -4
- package/dist/assets/{index-6hDu2vaf.js → index-wFIqrW3K.js} +1 -1
- package/dist/assets/{invitation-4vH9lNw-.js → invitation-CTyiEYsx.js} +1 -1
- package/dist/assets/{invite-DQiYh3jP.js → invite-f_f8EE6k.js} +1 -1
- package/dist/assets/{isEmail-4oqXIJJ_.js → isEmail-BVep4oUV.js} +1 -1
- package/dist/assets/{issue-passport-BS7LBCub.js → issue-passport-OEtMd_wu.js} +1 -1
- package/dist/assets/{item-DJHWpTQA.js → item-BbwcnXBw.js} +1 -1
- package/dist/assets/jss-plugin-props-sort.esm-DY11o6pj.js +14 -0
- package/dist/assets/{launch-result-message-CPwNcICB.js → launch-result-message-BUq0elPE.js} +1 -1
- package/dist/assets/{layout-CzBrvFp3.js → layout-Xy9C7Zt1.js} +1 -1
- package/dist/assets/{list-header-nz8xgiCH.js → list-header-CgIV_KK7.js} +1 -1
- package/dist/assets/localization-C3X22s4K.js +1 -0
- package/dist/assets/{log-BeJh3PPm.js → log-DSMT-sCs.js} +1 -1
- package/dist/assets/{login-tBvKJsS6.js → login-Cd9h0Lis.js} +1 -1
- package/dist/assets/{login-oauth-callback-0-dvml4o.js → login-oauth-callback-C52RJPH-.js} +1 -1
- package/dist/assets/logo-uploader-H2nlX4zF.js +133 -0
- package/dist/assets/{lost-passport-jHVQuDqE.js → lost-passport-B21R35xZ.js} +3 -3
- package/dist/assets/{lottie-react.esm-B-E5FxBf.js → lottie-react.esm-Dl8SO5aG.js} +1 -1
- package/dist/assets/{notifications-DQZrvasa.js → notifications-BtgLo_Gl.js} +3 -3
- package/dist/assets/{open-window-CjAsx5PP.js → open-window-DKt56ryJ.js} +1 -1
- package/dist/assets/{overview-CZUNI2c4.js → overview-DWAODmTZ.js} +1 -1
- package/dist/assets/{page-header-UmR_SJxL.js → page-header-DPTh72TD.js} +1 -1
- package/dist/assets/{permission-C1qrFfei.js → permission-r-qhknXv.js} +1 -1
- package/dist/assets/preferences-BleGV5-U.js +1 -0
- package/dist/assets/publish-resource-D5Gwe__p.js +1 -0
- package/dist/assets/{raf-schd.esm-ClpohTxq.js → raf-schd.esm-DySSUDvB.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-DweOnO-z.js → react-beautiful-dnd.esm-cbOJWkGh.js} +4 -4
- package/dist/assets/refType-DFUBGhid.js +1 -0
- package/dist/assets/{relative-time-BEhURFWp.js → relative-time-DUhUpjtS.js} +1 -1
- package/dist/assets/resource-dialog-BUT58sh2.js +271 -0
- package/dist/assets/sdk-cllFH5Lb.js +1 -0
- package/dist/assets/selector-BqX9WnJv.js +48 -0
- package/dist/assets/session-DtdFeNHe.js +1 -0
- package/dist/assets/{setup-BPHLiKGE.js → setup-CsCNgBjN.js} +3 -3
- package/dist/assets/{shorten-label-Df2VmqEs.js → shorten-label-BmSEvJg0.js} +1 -1
- package/dist/assets/{simple-select-DnOgr-la.js → simple-select-CjIjdMxS.js} +1 -1
- package/dist/assets/slicedToArray-B8yvAHO2.js +2 -0
- package/dist/assets/{start-DKutxZsB.js → start-CDetyJuY.js} +1 -1
- package/dist/assets/{step-actions-Cv4gOO_c.js → step-actions-D7LCKCI7.js} +1 -1
- package/dist/assets/{studio-C_g9PDNu.js → studio-VpGaohIm.js} +1 -1
- package/dist/assets/{switch-control-B4HEHqto.js → switch-control-D7VVIH6s.js} +1 -1
- package/dist/assets/{tag-DgtY4FDs.js → tag-SHGwumOJ.js} +1 -1
- package/dist/assets/{toUpper-CgVRCh5Q.js → toUpper-CYEXDAau.js} +1 -1
- package/dist/assets/{transfer-Cpwy6Tit.js → transfer-3I15TKPw.js} +1 -1
- package/dist/assets/trim-BXa53ZRZ.js +1 -0
- package/dist/assets/{uniqBy-0RbpFg98.js → uniqBy-BNmtoik0.js} +1 -1
- package/dist/assets/{unsubscribe-COhcdAVq.js → unsubscribe-Cwjlw8Gt.js} +1 -1
- package/dist/assets/{url-join-Cv0idqJk.js → url-join-Ctv40-84.js} +1 -1
- package/dist/assets/{use-mobile-Bf5pd6l6.js → use-mobile-Du1uJjor.js} +1 -1
- package/dist/assets/{use-mobile-FgoAU6fs.js → use-mobile-zzXa3MT0.js} +1 -1
- package/dist/assets/{useAsync-h-WToGGG.js → useAsync-D_8T3Dox.js} +1 -1
- package/dist/assets/{useAsyncRetry-CK--mOCs.js → useAsyncRetry-DIYUAAsn.js} +1 -1
- package/dist/assets/{useFormControl-CpXS3ldC.js → useFormControl-Bl18srh1.js} +1 -1
- package/dist/assets/{useLocalStorage-DVECFQbD.js → useLocalStorage-DxfrwnAP.js} +1 -1
- package/dist/assets/{useSetState-CaafR-tn.js → useSetState-CYSCHmbx.js} +1 -1
- package/dist/assets/useSlot-BVSERea1.js +1 -0
- package/dist/assets/{useThemeProps-MTCDjzXT.js → useThemeProps-BPJc1yP5.js} +1 -1
- package/dist/assets/user-center-COaY68WI.js +322 -0
- package/dist/assets/{util-BYCzRSr_.js → util-C4jKC5_Q.js} +1 -1
- package/dist/assets/{wrap-locale-ChSgu67N.js → wrap-locale-CQlVx7Ls.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/manifest.webmanifest +1 -1
- package/dist/registerSW.js +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +31 -31
- package/dist/assets/Avatar-C7A9zyFp.js +0 -1
- package/dist/assets/Checkbox-Tv0FEBTk.js +0 -1
- package/dist/assets/CloseOutlined-LxFWlJhG.js +0 -1
- package/dist/assets/DialogContentText-DOJMTAut.js +0 -1
- package/dist/assets/FormControl-Di5qjF9R.js +0 -1
- package/dist/assets/FormGroup-DlbGSJN0.js +0 -1
- package/dist/assets/Hidden-CieUlF-N.js +0 -1
- package/dist/assets/InputAdornment-C8pbj17T.js +0 -1
- package/dist/assets/RadioGroup-Cnl-n4sv.js +0 -1
- package/dist/assets/TextField-8hH4A29d.js +0 -1
- package/dist/assets/Verified-BomL4Vcg.js +0 -1
- package/dist/assets/add-resource-zovOALza.js +0 -1
- package/dist/assets/api-Bgc-sAeO.js +0 -1
- package/dist/assets/branding-Cw8sKF3a.js +0 -40
- package/dist/assets/bundle-avatar-wTvr1j7O.js +0 -1
- package/dist/assets/confirm-DLHqvhfc.js +0 -7
- package/dist/assets/connect-to-C-YyBuWN.js +0 -29
- package/dist/assets/createSuper-B6NRScIe.js +0 -1
- package/dist/assets/did-spaces-guide-cover-DeSoOPSP.png +0 -0
- package/dist/assets/emotion-cache.browser.esm-D9ZvkPSc.js +0 -1
- package/dist/assets/fallback-CxJVlnM-.js +0 -15
- package/dist/assets/get-safe-url-BXN5S5Ow.js +0 -1
- package/dist/assets/get-safe-url-C6pQ0b4W.js +0 -1
- package/dist/assets/home-DMl4NbyY.js +0 -1
- package/dist/assets/index-4lyITCv_.js +0 -4
- package/dist/assets/index-BUjYSE2F.js +0 -1
- package/dist/assets/index-BYFrBIBa.js +0 -5
- package/dist/assets/index-DTEEl-sV.js +0 -1
- package/dist/assets/index-kG1Lr_vO.js +0 -11
- package/dist/assets/jss-plugin-props-sort.esm-qyHLnnAY.js +0 -13
- package/dist/assets/localization-BNwqUIzj.js +0 -1
- package/dist/assets/logo-uploader-BWtqh-79.js +0 -133
- package/dist/assets/objectWithoutProperties-9wzxqNXD.js +0 -1
- package/dist/assets/preferences-CB4_S-0N.js +0 -1
- package/dist/assets/publish-resource-D5ytOxi0.js +0 -1
- package/dist/assets/refType-CDZhz-3k.js +0 -1
- package/dist/assets/resource-dialog-BjXfEmTi.js +0 -299
- package/dist/assets/sdk-D_6oU6pZ.js +0 -1
- package/dist/assets/selector-DsbOSZva.js +0 -48
- package/dist/assets/session-Cm5uP3l0.js +0 -1
- package/dist/assets/slicedToArray-D4TxSsqm.js +0 -2
- package/dist/assets/toConsumableArray-Dwhm2s8G.js +0 -2
- package/dist/assets/trim-q0T1m2A9.js +0 -1
- package/dist/assets/useSlot-Bl2NJ-iV.js +0 -1
- package/dist/assets/user-center-BU7eGmUd.js +0 -449
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a$ as j,
|
|
1
|
+
import{a$ as j,c3 as O}from"./index-CRwWE7k1.js";function J(i,t){for(var r=0;r<t.length;r++){const a=t[r];if(typeof a!="string"&&!Array.isArray(a)){for(const e in a)if(e!=="default"&&!(e in i)){const s=Object.getOwnPropertyDescriptor(a,e);s&&Object.defineProperty(i,e,s.get?s:{enumerable:!0,get:()=>a[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var d={default:O,call:function(i,t,r){var a="";typeof t=="function"&&(r=t,t={});var e={data:t===void 0?null:t};if(typeof r=="function"){var s="dscb"+window.dscb++;window[s]=r,e._dscbstub=s}return e=JSON.stringify(e),window._dsbridge?a=_dsbridge.call(i,e):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(a=prompt("_dsbridge="+i,e)),JSON.parse(a||"{}").data},register:function(i,t,r){var a=r?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){d.call("_dsb.dsinit")},0)),typeof t=="object"?a._obs[i]=t:a[i]=t},registerAsyn:function(i,t){this.register(i,t,!0)},hasNativeMethod:function(i,t){return this.call("_dsb.hasNativeMethod",{name:i,type:t||"all"})},disableJavascriptDialogBlock:function(i){this.call("_dsb.disableJavascriptDialogBlock",{disable:i!==!1})}};(function(){if(!window._dsf){var i={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:d,close:function(){d.call("_dsb.closePage")},_handleMessageFromNative:function(r){var a=JSON.parse(r.data),e={id:r.callbackId,complete:!0},s=this._dsf[r.method],o=this._dsaf[r.method],p=function(u,_){e.data=u.apply(_,a),d.call("_dsb.returnValue",e)},v=function(u,_){a.push(function(w,y){e.data=w,e.complete=y!==!1,d.call("_dsb.returnValue",e)}),u.apply(_,a)};if(s)p(s,this._dsf);else if(o)v(o,this._dsaf);else{var l=r.method.split(".");if(l.length<2)return;var g=l.pop(),b=l.join("."),c=this._dsf._obs,f=c[b]||{},n=f[g];if(n&&typeof n=="function"){p(n,f);return}if(c=this._dsaf._obs,f=c[b]||{},n=f[g],n&&typeof n=="function"){v(n,f);return}}}};for(var t in i)window[t]=i[t];d.register("_hasJavascriptMethod",function(r,a){var e=r.split(".");if(e.length<2)return!!(_dsf[e]||_dsaf[e]);var r=e.pop(),s=e.join("."),o=_dsf._obs[s]||_dsaf._obs[s];return o&&!!o[r]})}})();var h=d;const N=j(h),k=J({__proto__:null,default:N},[h]);export{k as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a$ as y}from"./index-
|
|
1
|
+
import{a$ as y}from"./index-CRwWE7k1.js";var c={};function u(e,i){typeof i=="boolean"&&(i={forever:i}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=i||{},this._maxRetryTime=i&&i.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}var T=u;u.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};u.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};u.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var i=new Date().getTime();if(e&&i-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var t=this._timeouts.shift();if(t===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),t=this._cachedTimeouts.slice(-1);else return!1;var r=this;return this._timer=setTimeout(function(){r._attempts++,r._operationTimeoutCb&&(r._timeout=setTimeout(function(){r._operationTimeoutCb(r._attempts)},r._operationTimeout),r._options.unref&&r._timeout.unref()),r._fn(r._attempts)},t),this._options.unref&&this._timer.unref(),!0};u.prototype.attempt=function(e,i){this._fn=e,i&&(i.timeout&&(this._operationTimeout=i.timeout),i.cb&&(this._operationTimeoutCb=i.cb));var t=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){t._operationTimeoutCb()},t._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};u.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};u.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};u.prototype.start=u.prototype.try;u.prototype.errors=function(){return this._errors};u.prototype.attempts=function(){return this._attempts};u.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},i=null,t=0,r=0;r<this._errors.length;r++){var a=this._errors[r],o=a.message,n=(e[o]||0)+1;e[o]=n,n>=t&&(i=a,t=n)}return i};(function(e){var i=T;e.operation=function(t){var r=e.timeouts(t);return new i(r,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})},e.timeouts=function(t){if(t instanceof Array)return[].concat(t);var r={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var a in t)r[a]=t[a];if(r.minTimeout>r.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var o=[],n=0;n<r.retries;n++)o.push(this.createTimeout(n,r));return t&&t.forever&&!o.length&&o.push(this.createTimeout(n,r)),o.sort(function(s,m){return s-m}),o},e.createTimeout=function(t,r){var a=r.randomize?Math.random()+1:1,o=Math.round(a*Math.max(r.minTimeout,1)*Math.pow(r.factor,t));return o=Math.min(o,r.maxTimeout),o},e.wrap=function(t,r,a){if(r instanceof Array&&(a=r,r=null),!a){a=[];for(var o in t)typeof t[o]=="function"&&a.push(o)}for(var n=0;n<a.length;n++){var s=a[n],m=t[s];t[s]=(function(p){var f=e.operation(r),h=Array.prototype.slice.call(arguments,1),l=h.pop();h.push(function(_){f.retry(_)||(_&&(arguments[0]=f.mainError()),l.apply(this,arguments))}),f.attempt(function(){p.apply(t,h)})}).bind(t,m),t[s].options=r}}})(c);var v=c;const R=y(v);export{R as a,v as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f7 as b}from"./index-CRwWE7k1.js";function c(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function A(o,e){for(var r="",i=0,l=-1,t=0,n,f=0;f<=o.length;++f){if(f<o.length)n=o.charCodeAt(f);else{if(n===47)break;n=47}if(n===47){if(!(l===f-1||t===1))if(l!==f-1&&t===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){s===-1?(r="",i=0):(r=r.slice(0,s),i=r.length-1-r.lastIndexOf("/")),l=f,t=0;continue}}else if(r.length===2||r.length===1){r="",i=0,l=f,t=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+o.slice(l+1,f):r=o.slice(l+1,f),i=f-l-1;l=f,t=0}else n===46&&t!==-1?++t:t=-1}return r}function h(o,e){var r=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+i:r+o+i:i}var g={resolve:function(){for(var e="",r=!1,i,l=arguments.length-1;l>=-1&&!r;l--){var t;l>=0?t=arguments[l]:(i===void 0&&(i=b.cwd()),t=i),c(t),t.length!==0&&(e=t+"/"+e,r=t.charCodeAt(0)===47)}return e=A(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(c(e),e.length===0)return".";var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=A(e,!r),e.length===0&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return c(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];c(i),i.length>0&&(e===void 0?e=i:e+="/"+i)}return e===void 0?".":g.normalize(e)},relative:function(e,r){if(c(e),c(r),e===r||(e=g.resolve(e),r=g.resolve(r),e===r))return"";for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var l=e.length,t=l-i,n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var f=r.length,s=f-n,v=t<s?t:s,u=-1,a=0;a<=v;++a){if(a===v){if(s>v){if(r.charCodeAt(n+a)===47)return r.slice(n+a+1);if(a===0)return r.slice(n+a)}else t>v&&(e.charCodeAt(i+a)===47?u=a:a===0&&(u=0));break}var m=e.charCodeAt(i+a),C=r.charCodeAt(n+a);if(m!==C)break;m===47&&(u=a)}var d="";for(a=i+u+1;a<=l;++a)(a===l||e.charCodeAt(a)===47)&&(d.length===0?d+="..":d+="/..");return d.length>0?d+r.slice(n+u):(n+=u,r.charCodeAt(n)===47&&++n,r.slice(n))},_makeLong:function(e){return e},dirname:function(e){if(c(e),e.length===0)return".";for(var r=e.charCodeAt(0),i=r===47,l=-1,t=!0,n=e.length-1;n>=1;--n)if(r=e.charCodeAt(n),r===47){if(!t){l=n;break}}else t=!1;return l===-1?i?"/":".":i&&l===1?"//":e.slice(0,l)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');c(e);var i=0,l=-1,t=!0,n;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var f=r.length-1,s=-1;for(n=e.length-1;n>=0;--n){var v=e.charCodeAt(n);if(v===47){if(!t){i=n+1;break}}else s===-1&&(t=!1,s=n+1),f>=0&&(v===r.charCodeAt(f)?--f===-1&&(l=n):(f=-1,l=s))}return i===l?l=s:l===-1&&(l=e.length),e.slice(i,l)}else{for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===47){if(!t){i=n+1;break}}else l===-1&&(t=!1,l=n+1);return l===-1?"":e.slice(i,l)}},extname:function(e){c(e);for(var r=-1,i=0,l=-1,t=!0,n=0,f=e.length-1;f>=0;--f){var s=e.charCodeAt(f);if(s===47){if(!t){i=f+1;break}continue}l===-1&&(t=!1,l=f+1),s===46?r===-1?r=f:n!==1&&(n=1):r!==-1&&(n=-1)}return r===-1||l===-1||n===0||n===1&&r===l-1&&r===i+1?"":e.slice(r,l)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return h("/",e)},parse:function(e){c(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var i=e.charCodeAt(0),l=i===47,t;l?(r.root="/",t=1):t=0;for(var n=-1,f=0,s=-1,v=!0,u=e.length-1,a=0;u>=t;--u){if(i=e.charCodeAt(u),i===47){if(!v){f=u+1;break}continue}s===-1&&(v=!1,s=u+1),i===46?n===-1?n=u:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||s===-1||a===0||a===1&&n===s-1&&n===f+1?s!==-1&&(f===0&&l?r.base=r.name=e.slice(1,s):r.base=r.name=e.slice(f,s)):(f===0&&l?(r.name=e.slice(1,n),r.base=e.slice(1,s)):(r.name=e.slice(f,n),r.base=e.slice(f,s)),r.ext=e.slice(n,s)),f>0?r.dir=e.slice(0,f-1):l&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};g.posix=g;var y=g;export{y as p};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{r as o,aO as
|
|
1
|
+
import{r as o,aO as p,j as t,b as c,ao as I,ck as M,cl as b,c9 as E,bf as d,cp as P}from"./index-CRwWE7k1.js";import{d as S}from"./ExpandMore-BITiWbGX.js";import{B as z}from"./ButtonGroup-DdaAsd7m.js";function A(r){const{size:u="medium",color:s="primary",menu:a=[],children:i=null,variant:m="contained",onClick:f=E,menuButtonProps:x={},...h}=r,[g,l]=o.useState(!1),n=o.useRef(null),j=Array.isArray(a)?a.map((e,C)=>o.isValidElement(e)?e:o.createElement(p,{...e,key:C})):a,y=()=>{l(e=>!e)},k=e=>{n.current&&n.current.contains(e.target)||l(!1)},B=e=>{e.target.closest(".MuiMenuItem-root")&&l(!1)};return t.jsxs(t.Fragment,{children:[t.jsxs(L,{variant:m,size:u,color:s,ref:n,...h,children:[typeof i=="function"?i():t.jsx(c,{onClick:f,color:s,children:i}),t.jsx(c,{onClick:y,color:s,...x,"aria-label":"more functions",children:t.jsx(S,{})})]}),t.jsx(w,{open:g,anchorEl:n.current,placement:"bottom-end",disablePortal:!1,children:t.jsx(I,{children:t.jsx(M,{onClickAway:k,children:t.jsx(b,{onClick:B,children:j})})})})]})}A.Item=p;const L=d(z)`
|
|
2
2
|
> .MuiButtonBase-root:last-of-type {
|
|
3
3
|
min-width: 2em;
|
|
4
4
|
padding-left: 0;
|
|
5
5
|
padding-right: 0;
|
|
6
6
|
}
|
|
7
|
-
`,w=
|
|
7
|
+
`,w=d(P)`
|
|
8
8
|
z-index: ${r=>r.theme.zIndex.tooltip};
|
|
9
9
|
.MuiList-root {
|
|
10
10
|
padding: 4px 0;
|
|
@@ -13,4 +13,4 @@ import{r as o,aO as d,j as t,b as c,ao as b,cK as I,cL as M,bn as E,bf as p,cO a
|
|
|
13
13
|
padding-top: 4px;
|
|
14
14
|
padding-bottom: 4px;
|
|
15
15
|
}
|
|
16
|
-
`;export{
|
|
16
|
+
`;export{A as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bn as $,bm as x,bo as d,bV as r,c1 as k,bX as y,bW as m,r as C,bq as M,br as z,bp as l,j as s,bs as j,bu as R,bf as B,P as T}from"./index-CRwWE7k1.js";import{S as E,F as P}from"./FormControlLabel-Dfh8Ovrx.js";function D(t){return x("MuiSwitch",t)}const o=$("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),N=["className","color","edge","size","sx"],O=t=>{const{classes:a,edge:i,size:e,color:p,checked:u,disabled:b}=t,h={root:["root",i&&`edge${r(i)}`,`size${r(e)}`],switchBase:["switchBase",`color${r(p)}`,u&&"checked",b&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},g=R(h,D,a);return l({},a,g)},_=d("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:i}=t;return[a.root,i.edge&&a[`edge${r(i.edge)}`],a[`size${r(i.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${o.thumb}`]:{width:16,height:16},[`& .${o.switchBase}`]:{padding:4,[`&.${o.checked}`]:{transform:"translateX(16px)"}}}}]}),I=d(E,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,a)=>{const{ownerState:i}=t;return[a.switchBase,{[`& .${o.input}`]:a.input},i.color!=="default"&&a[`color${r(i.color)}`]]}})(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${t.palette.mode==="light"?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${o.checked}`]:{transform:"translateX(20px)"},[`&.${o.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${o.checked} + .${o.track}`]:{opacity:.5},[`&.${o.disabled} + .${o.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${t.palette.mode==="light"?.12:.2}`},[`& .${o.input}`]:{left:"-100%",width:"300%"}}),({theme:t})=>({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:k(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(([,a])=>a.main&&a.light).map(([a])=>({props:{color:a},style:{[`&.${o.checked}`]:{color:(t.vars||t).palette[a].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[a].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:k(t.palette[a].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${o.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${a}DisabledColor`]:`${t.palette.mode==="light"?y(t.palette[a].main,.62):m(t.palette[a].main,.55)}`}},[`&.${o.checked} + .${o.track}`]:{backgroundColor:(t.vars||t).palette[a].main}}}))]})),A=d("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,a)=>a.track})(({theme:t})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${t.palette.mode==="light"?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${t.palette.mode==="light"?.38:.3}`})),U=d("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,a)=>a.thumb})(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),V=C.forwardRef(function(a,i){const e=M({props:a,name:"MuiSwitch"}),{className:p,color:u="primary",edge:b=!1,size:h="medium",sx:g}=e,f=z(e,N),c=l({},e,{color:u,edge:b,size:h}),n=O(c),w=s.jsx(U,{className:n.thumb,ownerState:c});return s.jsxs(_,{className:j(n.root,p),sx:g,ownerState:c,children:[s.jsx(I,l({type:"checkbox",icon:w,checkedIcon:w,ref:i,ownerState:c},f,{classes:l({},n,{root:n.switchBase})})),s.jsx(A,{className:n.track,ownerState:c})]})}),v=B(t=>s.jsx(V,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...t}))(({theme:t})=>({width:42,height:26,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:t.palette.mode==="dark"?"#2ECA45":"#65C466",opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:t.palette.mode==="light"?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:t.palette.mode==="light"?"#E9E9EA":"#39393D",opacity:1,transition:t.transitions.create(["background-color"],{duration:500})}}));function S({labelProps:t,...a}){return t?s.jsx(P,{control:s.jsx(v,{...a}),...t}):s.jsx(v,{...a})}S.propTypes={labelProps:T.object};S.defaultProps={labelProps:null};export{S,V as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bm as Re,bn as Ae,bo as He,ao as Ve,bV as D,bp as F,r as p,bq as Ee,br as De,j as t,bs as _,bu as We,a0 as Te,d2 as Oe,d3 as Se,$ as Ue,bL as qe,az as Y,a2 as ie,a3 as le,bf as f,ai as Ge,ap as Q,aH as X,Q as W,T as P,b as Ye,aI as de,B as w,bh as Qe,M as H,d4 as ce,H as ue,d5 as pe,a5 as Xe,J as he,k as q,d6 as Je,l as V,d7 as Ke,d8 as Ze}from"./index-CRwWE7k1.js";import{d as xe}from"./Menu-CdQgZOTK.js";import{T as et}from"./Toolbar-CaFfg3Zo.js";import{H as me}from"./Hidden-Dv6tqDMk.js";const G={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"};function tt(e){return Re("MuiAppBar",e)}Ae("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const nt=["className","color","enableColorOnDark","position"],at=e=>{const{color:n,position:a,classes:r}=e,i={root:["root",`color${D(n)}`,`position${D(a)}`]};return We(i,tt,r)},E=(e,n)=>e?`${e==null?void 0:e.replace(")","")}, ${n})`:n,ot=He(Ve,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:a}=e;return[n.root,n[`position${D(a.position)}`],n[`color${D(a.color)}`]]}})(({theme:e,ownerState:n})=>{const a=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return F({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},n.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},n.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},n.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},n.position==="static"&&{position:"static"},n.position==="relative"&&{position:"relative"},!e.vars&&F({},n.color==="default"&&{backgroundColor:a,color:e.palette.getContrastText(a)},n.color&&n.color!=="default"&&n.color!=="inherit"&&n.color!=="transparent"&&{backgroundColor:e.palette[n.color].main,color:e.palette[n.color].contrastText},n.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!n.enableColorOnDark&&{backgroundColor:null,color:null},n.color==="transparent"&&F({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&F({},n.color==="default"&&{"--AppBar-background":n.enableColorOnDark?e.vars.palette.AppBar.defaultBg:E(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":n.enableColorOnDark?e.vars.palette.text.primary:E(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},n.color&&!n.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":n.enableColorOnDark?e.vars.palette[n.color].main:E(e.vars.palette.AppBar.darkBg,e.vars.palette[n.color].main),"--AppBar-color":n.enableColorOnDark?e.vars.palette[n.color].contrastText:E(e.vars.palette.AppBar.darkColor,e.vars.palette[n.color].contrastText)},!["inherit","transparent"].includes(n.color)&&{backgroundColor:"var(--AppBar-background)"},{color:n.color==="inherit"?"inherit":"var(--AppBar-color)"},n.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),rt=p.forwardRef(function(n,a){const r=Ee({props:n,name:"MuiAppBar"}),{className:i,color:d="primary",enableColorOnDark:c=!1,position:s="fixed"}=r,u=De(r,nt),o=F({},r,{color:d,position:s,enableColorOnDark:c}),l=at(o);return t.jsx(ot,F({square:!0,component:"header",ownerState:o,elevation:4,className:_(l.root,i,s==="fixed"&&"mui-fixed"),ref:a},u))});function st(e,n){var a,r=Te(e),i=(a=n==null?void 0:n.wait)!==null&&a!==void 0?a:1e3,d=p.useMemo(function(){return Oe(function(){for(var c=[],s=0;s<arguments.length;s++)c[s]=arguments[s];return r.current.apply(r,Se([],Ue(c),!1))},i,n)},[]);return qe(function(){d.cancel()}),{run:d,cancel:d.cancel,flush:d.flush}}const it=Y(t.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),lt=Y(t.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),dt=Y(t.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz"),fe=p.createContext(null),ct=e=>{const n=p.useContext(fe);return p.useLayoutEffect(()=>{},[]),n};function ut({children:e,...n}){const[a,r]=p.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),i=()=>{r(c=>({...c,inFullPage:!c.inFullPage}))},d=p.useMemo(()=>({...a,headerVisible:!a.inFullPage||a.headerVisibleInFullPage,footerVisible:!a.inFullPage||a.footerVisibleInFullPage,sidebarVisible:!a.inFullPage||a.sidebarVisibleInFullPage,toggleFullPage:i,configure:c=>r(s=>({...s,...c}))}),[a]);return t.jsx(fe.Provider,{value:d,...n,children:e})}var J={},pt=le;Object.defineProperty(J,"__esModule",{value:!0});var ge=J.default=void 0,ht=pt(ie()),xt=t;ge=J.default=(0,ht.default)((0,xt.jsx)("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"}),"OpenInFull");var K={},mt=le;Object.defineProperty(K,"__esModule",{value:!0});var be=K.default=void 0,ft=mt(ie()),gt=t;be=K.default=(0,ft.default)((0,gt.jsx)("path",{d:"M22 3.41 16.71 8.7 20 12h-8V4l3.29 3.29L20.59 2zM3.41 22l5.29-5.29L12 20v-8H4l3.29 3.29L2 20.59z"}),"CloseFullscreen");function bt({name:e,size:n=36,alt:a="",color:r="#000000",prefix:i="/images",showBadge:d=!1,style:c={},...s}){const u=`${i}/${e}-${r.replace(/^#/,"")}.png`;return t.jsxs(vt,{style:{width:n,height:n},children:[t.jsx(Ge,{width:n,height:n,alt:a||e,src:u,style:Object.assign({width:n},c),...s}),d&&t.jsx("i",{className:"badge-point"})]})}const vt=f("div")`
|
|
2
2
|
position: relative;
|
|
3
3
|
.badge-point {
|
|
4
4
|
position: absolute;
|
|
@@ -12,7 +12,7 @@ import{ch as Re,cg as Ae,ci as He,ao as Ve,cj as D,bT as F,r as p,cm as Ee,cn as
|
|
|
12
12
|
0px 1px 4px rgba(0, 0, 0, 0.3),
|
|
13
13
|
0px 0px 20px rgba(0, 0, 0, 0.1);
|
|
14
14
|
}
|
|
15
|
-
`;var ve=function(n){return t.jsx("svg",{...n,children:t.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#FFF",children:[t.jsx("path",{d:"M.5 13.077L22.15.577l21.651 12.5v25l-21.65 12.5L.5 38.077zM22.15.577v50M.5 13.077l43.301 25M.5 38.077l43.301-25"}),t.jsx("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"})]})})};ve.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"45",height:"52",viewBox:"0 0 45 52"};var ye=function(n){return t.jsx("svg",{...n,children:t.jsx("path",{fill:"#FFF",fillRule:"evenodd",d:"M6.5.053h2.864L16.028 18h-2.114l-1.391-3.795H3.504L2.14 18H0L6.5.053zm1.474 1.481L4.04 12.563h7.895L7.975 1.534zm14.44 3.542c1.27 0 2.198.296 2.78.892.58.597.871 1.52.871 2.765v.36c0 .117-.008.245-.026.385h-1.826c.018-.14.027-.292.027-.452v-.48c0-.766-.186-1.283-.551-1.55-.367-.266-.916-.4-1.65-.4-.968 0-1.698.24-2.189.723-.493.48-.738 1.208-.738 2.187v8.308h-1.88V5.341h1.824l-.079 1.443c.376-.614.863-1.053 1.463-1.316a4.868 4.868 0 0 1 1.974-.392zM35.95 15.903c.501-.328.752-1.205.752-2.63h1.852c0 1.924-.403 3.178-1.208 3.765-.806.589-2.158.882-4.055.882-2.65 0-4.24-.538-4.766-1.616-.529-1.076-.793-2.781-.793-5.114 0-2.118.367-3.645 1.102-4.581.732-.934 2.209-1.401 4.43-1.401 1.378 0 2.569.221 3.572.665 1.002.446 1.503 1.497 1.503 3.153v.188a.234.234 0 0 0-.027.106v.106h-1.826c0-1.12-.228-1.851-.685-2.188-.455-.34-1.23-.507-2.322-.507-1.665 0-2.713.259-3.142.782-.43.524-.646 1.67-.646 3.44V12.2c0 1.4.161 2.448.485 3.15.322.7 1.297 1.048 2.926 1.048 1.397 0 2.346-.165 2.848-.495zm15.87-.318c.606-.328.912-1.263.912-2.805 0-.924-.147-1.69-.444-2.302-.294-.611-1.007-.917-2.133-.917H43.065v6.516h5.528c1.543 0 2.617-.165 3.226-.492zm-8.754-13.85v6.036h5.665c1.325 0 2.239-.214 2.737-.643.503-.428.755-1.288.755-2.575 0-1.09-.192-1.834-.577-2.226-.385-.394-1.116-.591-2.19-.591h-6.39zM52 8.466c1.185.322 1.956.816 2.314 1.482.359.67.54 1.581.54 2.739 0 1.6-.325 2.858-.97 3.764-.647.909-1.874 1.363-3.686 1.363H41.05V0h8.62c1.592 0 2.759.312 3.503.934.744.624 1.115 1.78 1.115 3.473 0 1.014-.129 1.855-.386 2.522-.258.669-.89 1.181-1.903 1.536zm5.43 9.348V.001h1.907v17.812H57.43zm13.374-6.168v-.708c0-1.539-.141-2.636-.426-3.297-.284-.658-1.191-.99-2.718-.99h-.401c-1.617 0-2.625.25-3.025.75-.399.5-.599 1.632-.599 3.4V12.822c0 .206.008.407.024.602a9.48 9.48 0 0 0 .216 1.474c.106.465.275.822.505 1.072.196.179.435.302.72.373.283.072.586.116.905.135h1.254c1.083 0 1.914-.151 2.492-.456.577-.302.9-1.043.972-2.22a18.338 18.338 0 0 0 .054-1.447c.015-.233.027-.47.027-.71zm-3.786-6.518c2.399 0 3.956.414 4.672 1.243.717.828 1.074 2.418 1.074 4.766 0 2.048-.219 3.704-.657 4.966C71.668 17.367 70.16 18 67.581 18c-2.237 0-3.782-.347-4.632-1.042-.85-.694-1.275-2.205-1.275-4.54v-1.174c0-2.12.318-3.669.954-4.646.635-.98 2.099-1.471 4.39-1.471zm16.434 10.776c.501-.328.752-1.205.752-2.63h1.853c0 1.924-.403 3.178-1.209 3.765-.804.589-2.157.882-4.054.882-2.648 0-4.24-.538-4.767-1.616-.528-1.076-.79-2.781-.79-5.114 0-2.118.365-3.645 1.1-4.581.732-.934 2.21-1.401 4.43-1.401 1.377 0 2.568.221 3.571.665 1.003.446 1.504 1.497 1.504 3.153v.188a.232.232 0 0 0-.026.106v.106H83.99c0-1.12-.229-1.851-.686-2.188-.455-.34-1.23-.507-2.323-.507-1.665 0-2.712.259-3.142.782-.43.524-.643 1.67-.643 3.44V12.2c0 1.4.16 2.448.482 3.15.324.7 1.298 1.048 2.927 1.048 1.397 0 2.346-.165 2.847-.495zm9.236-4.82L99 17.813h-2.47l-5.317-6.01h-.752v6.01h-1.907V0h1.907v10.362h.752l4.512-5.02h2.309l-5.346 5.741z"})})};ye.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};var je=function(n){return t.jsx("svg",{...n,children:t.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#000",children:[t.jsx("path",{d:"M.5 13.077L22.15.577l21.651 12.5v25l-21.65 12.5L.5 38.077zM22.15.577v50M.5 13.077l43.301 25M.5 38.077l43.301-25"}),t.jsx("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"})]})})};je.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"45",height:"52",viewBox:"0 0 45 52"};var we=function(n){return t.jsx("svg",{...n,children:t.jsx("path",{fill:"#000",fillRule:"evenodd",d:"M6.5.053h2.864L16.028 18h-2.114l-1.391-3.795H3.504L2.14 18H0L6.5.053zm1.474 1.481L4.04 12.563h7.895L7.975 1.534zm14.44 3.542c1.27 0 2.198.296 2.78.892.58.597.871 1.52.871 2.765v.36c0 .117-.008.245-.026.385h-1.826c.018-.14.027-.292.027-.452v-.48c0-.766-.186-1.283-.551-1.55-.367-.266-.916-.4-1.65-.4-.968 0-1.698.24-2.189.723-.493.48-.738 1.208-.738 2.187v8.308h-1.88V5.341h1.824l-.079 1.443c.376-.614.863-1.053 1.463-1.316a4.868 4.868 0 0 1 1.974-.392zM35.95 15.903c.501-.328.752-1.205.752-2.63h1.852c0 1.924-.403 3.178-1.208 3.765-.806.589-2.158.882-4.055.882-2.65 0-4.24-.538-4.766-1.616-.529-1.076-.793-2.781-.793-5.114 0-2.118.367-3.645 1.102-4.581.732-.934 2.209-1.401 4.43-1.401 1.378 0 2.569.221 3.572.665 1.002.446 1.503 1.497 1.503 3.153v.188a.234.234 0 0 0-.027.106v.106h-1.826c0-1.12-.228-1.851-.685-2.188-.455-.34-1.23-.507-2.322-.507-1.665 0-2.713.259-3.142.782-.43.524-.646 1.67-.646 3.44V12.2c0 1.4.161 2.448.485 3.15.322.7 1.297 1.048 2.926 1.048 1.397 0 2.346-.165 2.848-.495zm15.87-.318c.606-.328.912-1.263.912-2.805 0-.924-.147-1.69-.444-2.302-.294-.611-1.007-.917-2.133-.917H43.065v6.516h5.528c1.543 0 2.617-.165 3.226-.492zm-8.754-13.85v6.036h5.665c1.325 0 2.239-.214 2.737-.643.503-.428.755-1.288.755-2.575 0-1.09-.192-1.834-.577-2.226-.385-.394-1.116-.591-2.19-.591h-6.39zM52 8.466c1.185.322 1.956.816 2.314 1.482.359.67.54 1.581.54 2.739 0 1.6-.325 2.858-.97 3.764-.647.909-1.874 1.363-3.686 1.363H41.05V0h8.62c1.592 0 2.759.312 3.503.934.744.624 1.115 1.78 1.115 3.473 0 1.014-.129 1.855-.386 2.522-.258.669-.89 1.181-1.903 1.536zm5.43 9.348V.001h1.907v17.812H57.43zm13.374-6.168v-.708c0-1.539-.141-2.636-.426-3.297-.284-.658-1.191-.99-2.718-.99h-.401c-1.617 0-2.625.25-3.025.75-.399.5-.599 1.632-.599 3.4V12.822c0 .206.008.407.024.602a9.48 9.48 0 0 0 .216 1.474c.106.465.275.822.505 1.072.196.179.435.302.72.373.283.072.586.116.905.135h1.254c1.083 0 1.914-.151 2.492-.456.577-.302.9-1.043.972-2.22a18.338 18.338 0 0 0 .054-1.447c.015-.233.027-.47.027-.71zm-3.786-6.518c2.399 0 3.956.414 4.672 1.243.717.828 1.074 2.418 1.074 4.766 0 2.048-.219 3.704-.657 4.966C71.668 17.367 70.16 18 67.581 18c-2.237 0-3.782-.347-4.632-1.042-.85-.694-1.275-2.205-1.275-4.54v-1.174c0-2.12.318-3.669.954-4.646.635-.98 2.099-1.471 4.39-1.471zm16.434 10.776c.501-.328.752-1.205.752-2.63h1.853c0 1.924-.403 3.178-1.209 3.765-.804.589-2.157.882-4.054.882-2.648 0-4.24-.538-4.767-1.616-.528-1.076-.79-2.781-.79-5.114 0-2.118.365-3.645 1.1-4.581.732-.934 2.21-1.401 4.43-1.401 1.377 0 2.568.221 3.571.665 1.003.446 1.504 1.497 1.504 3.153v.188a.232.232 0 0 0-.026.106v.106H83.99c0-1.12-.229-1.851-.686-2.188-.455-.34-1.23-.507-2.323-.507-1.665 0-2.712.259-3.142.782-.43.524-.643 1.67-.643 3.44V12.2c0 1.4.16 2.448.482 3.15.324.7 1.298 1.048 2.927 1.048 1.397 0 2.346-.165 2.847-.495zm9.236-4.82L99 17.813h-2.47l-5.317-6.01h-.752v6.01h-1.907V0h1.907v10.362h.752l4.512-5.02h2.309l-5.346 5.741z"})})};we.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};function Z({showText:e=!0,showLogo:n=!0,mode:a="dark",layout:r="vertical",size:
|
|
15
|
+
`;var ve=function(n){return t.jsx("svg",{...n,children:t.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#FFF",children:[t.jsx("path",{d:"M.5 13.077L22.15.577l21.651 12.5v25l-21.65 12.5L.5 38.077zM22.15.577v50M.5 13.077l43.301 25M.5 38.077l43.301-25"}),t.jsx("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"})]})})};ve.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"45",height:"52",viewBox:"0 0 45 52"};var ye=function(n){return t.jsx("svg",{...n,children:t.jsx("path",{fill:"#FFF",fillRule:"evenodd",d:"M6.5.053h2.864L16.028 18h-2.114l-1.391-3.795H3.504L2.14 18H0L6.5.053zm1.474 1.481L4.04 12.563h7.895L7.975 1.534zm14.44 3.542c1.27 0 2.198.296 2.78.892.58.597.871 1.52.871 2.765v.36c0 .117-.008.245-.026.385h-1.826c.018-.14.027-.292.027-.452v-.48c0-.766-.186-1.283-.551-1.55-.367-.266-.916-.4-1.65-.4-.968 0-1.698.24-2.189.723-.493.48-.738 1.208-.738 2.187v8.308h-1.88V5.341h1.824l-.079 1.443c.376-.614.863-1.053 1.463-1.316a4.868 4.868 0 0 1 1.974-.392zM35.95 15.903c.501-.328.752-1.205.752-2.63h1.852c0 1.924-.403 3.178-1.208 3.765-.806.589-2.158.882-4.055.882-2.65 0-4.24-.538-4.766-1.616-.529-1.076-.793-2.781-.793-5.114 0-2.118.367-3.645 1.102-4.581.732-.934 2.209-1.401 4.43-1.401 1.378 0 2.569.221 3.572.665 1.002.446 1.503 1.497 1.503 3.153v.188a.234.234 0 0 0-.027.106v.106h-1.826c0-1.12-.228-1.851-.685-2.188-.455-.34-1.23-.507-2.322-.507-1.665 0-2.713.259-3.142.782-.43.524-.646 1.67-.646 3.44V12.2c0 1.4.161 2.448.485 3.15.322.7 1.297 1.048 2.926 1.048 1.397 0 2.346-.165 2.848-.495zm15.87-.318c.606-.328.912-1.263.912-2.805 0-.924-.147-1.69-.444-2.302-.294-.611-1.007-.917-2.133-.917H43.065v6.516h5.528c1.543 0 2.617-.165 3.226-.492zm-8.754-13.85v6.036h5.665c1.325 0 2.239-.214 2.737-.643.503-.428.755-1.288.755-2.575 0-1.09-.192-1.834-.577-2.226-.385-.394-1.116-.591-2.19-.591h-6.39zM52 8.466c1.185.322 1.956.816 2.314 1.482.359.67.54 1.581.54 2.739 0 1.6-.325 2.858-.97 3.764-.647.909-1.874 1.363-3.686 1.363H41.05V0h8.62c1.592 0 2.759.312 3.503.934.744.624 1.115 1.78 1.115 3.473 0 1.014-.129 1.855-.386 2.522-.258.669-.89 1.181-1.903 1.536zm5.43 9.348V.001h1.907v17.812H57.43zm13.374-6.168v-.708c0-1.539-.141-2.636-.426-3.297-.284-.658-1.191-.99-2.718-.99h-.401c-1.617 0-2.625.25-3.025.75-.399.5-.599 1.632-.599 3.4V12.822c0 .206.008.407.024.602a9.48 9.48 0 0 0 .216 1.474c.106.465.275.822.505 1.072.196.179.435.302.72.373.283.072.586.116.905.135h1.254c1.083 0 1.914-.151 2.492-.456.577-.302.9-1.043.972-2.22a18.338 18.338 0 0 0 .054-1.447c.015-.233.027-.47.027-.71zm-3.786-6.518c2.399 0 3.956.414 4.672 1.243.717.828 1.074 2.418 1.074 4.766 0 2.048-.219 3.704-.657 4.966C71.668 17.367 70.16 18 67.581 18c-2.237 0-3.782-.347-4.632-1.042-.85-.694-1.275-2.205-1.275-4.54v-1.174c0-2.12.318-3.669.954-4.646.635-.98 2.099-1.471 4.39-1.471zm16.434 10.776c.501-.328.752-1.205.752-2.63h1.853c0 1.924-.403 3.178-1.209 3.765-.804.589-2.157.882-4.054.882-2.648 0-4.24-.538-4.767-1.616-.528-1.076-.79-2.781-.79-5.114 0-2.118.365-3.645 1.1-4.581.732-.934 2.21-1.401 4.43-1.401 1.377 0 2.568.221 3.571.665 1.003.446 1.504 1.497 1.504 3.153v.188a.232.232 0 0 0-.026.106v.106H83.99c0-1.12-.229-1.851-.686-2.188-.455-.34-1.23-.507-2.323-.507-1.665 0-2.712.259-3.142.782-.43.524-.643 1.67-.643 3.44V12.2c0 1.4.16 2.448.482 3.15.324.7 1.298 1.048 2.927 1.048 1.397 0 2.346-.165 2.847-.495zm9.236-4.82L99 17.813h-2.47l-5.317-6.01h-.752v6.01h-1.907V0h1.907v10.362h.752l4.512-5.02h2.309l-5.346 5.741z"})})};ye.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};var je=function(n){return t.jsx("svg",{...n,children:t.jsxs("g",{fill:"none",fillRule:"evenodd",stroke:"#000",children:[t.jsx("path",{d:"M.5 13.077L22.15.577l21.651 12.5v25l-21.65 12.5L.5 38.077zM22.15.577v50M.5 13.077l43.301 25M.5 38.077l43.301-25"}),t.jsx("path",{d:"M22.15 38.077l10.826-6.25-10.825-18.75-10.825 18.75z"})]})})};je.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"45",height:"52",viewBox:"0 0 45 52"};var we=function(n){return t.jsx("svg",{...n,children:t.jsx("path",{fill:"#000",fillRule:"evenodd",d:"M6.5.053h2.864L16.028 18h-2.114l-1.391-3.795H3.504L2.14 18H0L6.5.053zm1.474 1.481L4.04 12.563h7.895L7.975 1.534zm14.44 3.542c1.27 0 2.198.296 2.78.892.58.597.871 1.52.871 2.765v.36c0 .117-.008.245-.026.385h-1.826c.018-.14.027-.292.027-.452v-.48c0-.766-.186-1.283-.551-1.55-.367-.266-.916-.4-1.65-.4-.968 0-1.698.24-2.189.723-.493.48-.738 1.208-.738 2.187v8.308h-1.88V5.341h1.824l-.079 1.443c.376-.614.863-1.053 1.463-1.316a4.868 4.868 0 0 1 1.974-.392zM35.95 15.903c.501-.328.752-1.205.752-2.63h1.852c0 1.924-.403 3.178-1.208 3.765-.806.589-2.158.882-4.055.882-2.65 0-4.24-.538-4.766-1.616-.529-1.076-.793-2.781-.793-5.114 0-2.118.367-3.645 1.102-4.581.732-.934 2.209-1.401 4.43-1.401 1.378 0 2.569.221 3.572.665 1.002.446 1.503 1.497 1.503 3.153v.188a.234.234 0 0 0-.027.106v.106h-1.826c0-1.12-.228-1.851-.685-2.188-.455-.34-1.23-.507-2.322-.507-1.665 0-2.713.259-3.142.782-.43.524-.646 1.67-.646 3.44V12.2c0 1.4.161 2.448.485 3.15.322.7 1.297 1.048 2.926 1.048 1.397 0 2.346-.165 2.848-.495zm15.87-.318c.606-.328.912-1.263.912-2.805 0-.924-.147-1.69-.444-2.302-.294-.611-1.007-.917-2.133-.917H43.065v6.516h5.528c1.543 0 2.617-.165 3.226-.492zm-8.754-13.85v6.036h5.665c1.325 0 2.239-.214 2.737-.643.503-.428.755-1.288.755-2.575 0-1.09-.192-1.834-.577-2.226-.385-.394-1.116-.591-2.19-.591h-6.39zM52 8.466c1.185.322 1.956.816 2.314 1.482.359.67.54 1.581.54 2.739 0 1.6-.325 2.858-.97 3.764-.647.909-1.874 1.363-3.686 1.363H41.05V0h8.62c1.592 0 2.759.312 3.503.934.744.624 1.115 1.78 1.115 3.473 0 1.014-.129 1.855-.386 2.522-.258.669-.89 1.181-1.903 1.536zm5.43 9.348V.001h1.907v17.812H57.43zm13.374-6.168v-.708c0-1.539-.141-2.636-.426-3.297-.284-.658-1.191-.99-2.718-.99h-.401c-1.617 0-2.625.25-3.025.75-.399.5-.599 1.632-.599 3.4V12.822c0 .206.008.407.024.602a9.48 9.48 0 0 0 .216 1.474c.106.465.275.822.505 1.072.196.179.435.302.72.373.283.072.586.116.905.135h1.254c1.083 0 1.914-.151 2.492-.456.577-.302.9-1.043.972-2.22a18.338 18.338 0 0 0 .054-1.447c.015-.233.027-.47.027-.71zm-3.786-6.518c2.399 0 3.956.414 4.672 1.243.717.828 1.074 2.418 1.074 4.766 0 2.048-.219 3.704-.657 4.966C71.668 17.367 70.16 18 67.581 18c-2.237 0-3.782-.347-4.632-1.042-.85-.694-1.275-2.205-1.275-4.54v-1.174c0-2.12.318-3.669.954-4.646.635-.98 2.099-1.471 4.39-1.471zm16.434 10.776c.501-.328.752-1.205.752-2.63h1.853c0 1.924-.403 3.178-1.209 3.765-.804.589-2.157.882-4.054.882-2.648 0-4.24-.538-4.767-1.616-.528-1.076-.79-2.781-.79-5.114 0-2.118.365-3.645 1.1-4.581.732-.934 2.21-1.401 4.43-1.401 1.377 0 2.568.221 3.571.665 1.003.446 1.504 1.497 1.504 3.153v.188a.232.232 0 0 0-.026.106v.106H83.99c0-1.12-.229-1.851-.686-2.188-.455-.34-1.23-.507-2.323-.507-1.665 0-2.712.259-3.142.782-.43.524-.643 1.67-.643 3.44V12.2c0 1.4.16 2.448.482 3.15.324.7 1.298 1.048 2.927 1.048 1.397 0 2.346-.165 2.847-.495zm9.236-4.82L99 17.813h-2.47l-5.317-6.01h-.752v6.01h-1.907V0h1.907v10.362h.752l4.512-5.02h2.309l-5.346 5.741z"})})};we.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"99",height:"18",viewBox:"0 0 99 18"};function Z({showText:e=!0,showLogo:n=!0,mode:a="dark",layout:r="vertical",size:i,style:d={},...c}){const s=a==="light",u=s?t.jsx(ve,{}):t.jsx(je,{}),o=s?t.jsx(ye,{className:"logo-text"}):t.jsx(we,{className:"logo-text"});return i&&(d.width=`${i}px`,d.height=`${i}px`),t.jsxs(yt,{layout:r,style:d,...c,children:[n&&u,e&&o]})}const yt=f("span")`
|
|
16
16
|
display: inline-flex;
|
|
17
17
|
flex-direction: ${e=>e.layout==="horizontal"?"row":"column"};
|
|
18
18
|
justify-content: center;
|
|
@@ -22,7 +22,7 @@ import{ch as Re,cg as Ae,ci as He,ao as Ve,cj as D,bT as F,r as p,cm as Ee,cn as
|
|
|
22
22
|
${e=>e.layout==="vertical"?"margin-top: 8px;":""}
|
|
23
23
|
${e=>e.layout==="vertical"?"":"margin-left: 8px;"};
|
|
24
24
|
}
|
|
25
|
-
`;function jt({images:e,links:n,prefix:a="/images",addons:r,logo:
|
|
25
|
+
`;function jt({images:e,links:n,prefix:a="/images",addons:r,logo:i,...d}){const c=Q(),s=X(),u=(o,l)=>new RegExp(`/${l}`).test(s.pathname);return t.jsxs(wt,{...d,children:[t.jsx(W,{to:"/",className:"sidebar-logo",children:i||t.jsx(Z,{showText:!1,size:20})}),n.map(({url:o,name:l,title:x,showBadge:b})=>{const j=u(o,l);return t.jsxs(kt,{component:W,selected:j,to:o,children:[t.jsx(bt,{name:e[l],size:36,color:j?"#00c2c4":c.typography.color.main,prefix:a,showBadge:b}),t.jsx(P,{component:"span",className:"menu-title",children:x})]},o)}),t.jsx("div",{style:{flex:1}}),r]})}const wt=p.memo(f("div")`
|
|
26
26
|
flex: 1;
|
|
27
27
|
display: flex;
|
|
28
28
|
flex-direction: column;
|
|
@@ -142,7 +142,7 @@ import{ch as Re,cg as Ae,ci as He,ao as Ve,cj as D,bT as F,r as p,cm as Ee,cn as
|
|
|
142
142
|
display: block;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
`;function zt({onToggleMenu:e,brand:n,description:a,addons:r,brandAddon:
|
|
145
|
+
`;function zt({onToggleMenu:e,brand:n,description:a,addons:r,brandAddon:i,homeUrl:d="/",logo:c,children:s,...u}){return t.jsx($t,{position:"sticky",className:"header",...u,children:t.jsxs(et,{disableGutters:!1,className:"header-toolbar",children:[t.jsx(de,{color:"inherit","aria-label":"open drawer",edge:"start",className:"header-menu","aira-label":"header menu button",onClick:e,children:t.jsx(xe,{})}),t.jsxs(W,{to:d,className:"header-link",children:[t.jsx(me,{mdDown:!0,children:t.jsx("div",{className:"header-logo",children:c||t.jsx(Z,{showText:!1})})}),t.jsxs("div",{className:"header-title",children:[t.jsxs(P,{component:"h2",noWrap:!0,className:"header-title__primary",children:[n,i]}),t.jsx(P,{component:"p",noWrap:!0,className:"header-title__secondary",children:a})]})]}),t.jsx(w,{flexGrow:1}),!!s&&t.jsx("div",{className:"header-children",children:s}),t.jsx("div",{className:"header-addons",children:r})]})})}function O(e){var x;const n=Qe(e,O,["dark","style"]),{className:a,copyStart:r,style:i,brand:d,dark:c,addon:s}=n,u=`${new Date().getFullYear()}`,o=`${r}`,l=u===o?u:`${o}-${u}`;return t.jsxs(Nt,{className:a,style:i,dark:c,children:[t.jsx(H,{maxWidth:!1,children:t.jsxs(P,{component:"div",className:"footer",children:[t.jsxs(P,{component:"p",className:"footer-item",children:[t.jsxs("span",{className:"footer-copy",children:["Copyright © ",l," "]}),t.jsx("span",{className:"footer-brand",children:d})]}),s&&t.jsx(P,{component:"div",className:"footer-item",sx:{order:{xs:"-1",md:"initial"},ml:{xs:0,md:"auto"},width:{xs:"100%",md:"auto"}},children:s}),t.jsxs(P,{component:"p",className:"footer-item",style:{justifyContent:"flex-end",flexShrink:0},children:["Powered by",t.jsx(Z,{mode:c?"light":"dark",layout:"horizontal",className:"logo-container"})]})]})}),t.jsx(w,{position:"absolute",right:16,bottom:0,fontSize:12,sx:{color:"transparent","::selection":{background:"#000",color:"#fff"}},children:(x=window==null?void 0:window.blocklet)==null?void 0:x.version})]})}O.defaultProps={dark:!1,className:"",copyStart:"2017",brand:"ArcBlock",style:{},addon:null};const Nt=f("div",{shouldForwardProp:e=>e!=="dark"})`
|
|
146
146
|
position: relative;
|
|
147
147
|
margin-top: 64px;
|
|
148
148
|
padding: 24px 0 32px;
|
|
@@ -230,7 +230,7 @@ import{ch as Re,cg as Ae,ci as He,ao as Ve,cj as D,bT as F,r as p,cm as Ee,cn as
|
|
|
230
230
|
box-shadow: 2px 16px 10px 0 rgba(0, 0, 0, ${e=>e.theme.mode==="light"?.05:.5});
|
|
231
231
|
border: 0;
|
|
232
232
|
}
|
|
233
|
-
`;function Mt({links:e=[],brand:n="",description:a="",images:r,title:
|
|
233
|
+
`;function Mt({links:e=[],brand:n="",description:a="",images:r,title:i="Home",brandAddon:d,headerAddon:c,prefix:s="/images",fullWidth:u=!1,contentLayout:o="column",className:l="",homeUrl:x="/",logo:b,children:j,...z}){const m=ce(document.body),v=(m==null?void 0:m.width)||0,[M,I]=p.useState(v>=960?"permanent":"temporary"),[B,R]=p.useState(M==="permanent");p.useEffect(()=>{const k=v>=960?"permanent":"temporary";I(k),R(k!=="temporary")},[v]);const $=()=>{R(!B)},g=u||o==="row";return t.jsxs(Ct,{className:`dashboard ${l}`,...z,children:[t.jsx(ue,{title:`${i}-${n}`}),t.jsx(zt,{className:"dashboard__header",onToggleMenu:$,brand:n,brandAddon:d,description:a,addons:c,homeUrl:x,logo:b}),t.jsxs(w,{display:"flex",className:"dashboard__body",children:[t.jsx(pe,{variant:M,className:"drawer",classes:{paper:"drawerPaper"},open:B,onClose:$,ModalProps:{disablePortal:!0,keepMounted:!0},children:t.jsx(jt,{className:"dashboard__sidebar",images:r,links:e,prefix:s,logo:b})}),t.jsxs(w,{className:"dashboard__main",children:[t.jsx(H,{maxWidth:g?!1:"lg",className:"dashboard__content",children:j}),t.jsx(O,{})]})]})]})}function It({height:e,...n}){return t.jsx(Pt,{height:e,...n})}const Pt=f(w)`
|
|
234
234
|
overflow: hidden;
|
|
235
235
|
&:before {
|
|
236
236
|
content: '';
|
|
@@ -243,7 +243,7 @@ import{ch as Re,cg as Ae,ci as He,ao as Ve,cj as D,bT as F,r as p,cm as Ee,cn as
|
|
|
243
243
|
float: left;
|
|
244
244
|
white-space: nowrap;
|
|
245
245
|
}
|
|
246
|
-
`;function ke({logo:e=null,brand:n=null,brandAddon:a=null,description:r=null,children:
|
|
246
|
+
`;function ke({logo:e=null,brand:n=null,brandAddon:a=null,description:r=null,children:i=null,addons:d=null,prepend:c=null,align:s="left",maxWidth:u,homeLink:o="/",...l}){const x=p.useRef(null),[b,j]=p.useState("0px"),z={minWidth:b};p.useEffect(()=>{const{searchParams:m}=new URL(window.location.href);m.get("inviter")&&window.localStorage.setItem("inviter",m.get("inviter")),x.current&&j(`${x.current.offsetWidth}px`)},[]);const N=()=>{const m=t.jsxs(t.Fragment,{children:[e&&t.jsx("div",{className:"header-logo",ref:x,children:e}),n&&t.jsx(It,{height:44,sx:{flexShrink:{xs:1}},children:t.jsxs("div",{className:"header-brand",children:[t.jsx("div",{className:"header-brand-title",children:t.jsx("h2",{children:n})}),t.jsx("div",{className:"header-brand-desc",children:r})]})})]});return typeof o=="function"?o(m):t.jsx("a",{href:o,children:m})};return t.jsx(Lt,{...l,children:t.jsxs(H,{maxWidth:u,className:"header-container",children:[c,t.jsx("div",{className:"header-brand-wrapper",style:z,children:N()}),t.jsx("div",{className:"header-brand-addon",children:a}),s==="right"&&t.jsx(w,{display:"inline-block",flexGrow:1}),i,s==="left"&&t.jsx(w,{display:"inline-block",flexGrow:1}),t.jsx("div",{className:"header-addons",children:d})]})})}const Lt=f(w)`
|
|
247
247
|
position: relative;
|
|
248
248
|
z-index: ${e=>e.theme.zIndex.appBar};
|
|
249
249
|
font-size: 14px;
|
|
@@ -339,7 +339,7 @@ import{ch as Re,cg as Ae,ci as He,ao as Ve,cj as D,bT as F,r as p,cm as Ee,cn as
|
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
`;function _t({menu:e,prepend:n,children:a,...r}){const
|
|
342
|
+
`;function _t({menu:e,prepend:n,children:a,...r}){const i=Q(),d=Xe(i.breakpoints.down("md")),[c,s]=p.useState(!1),u=typeof a=="function"?a({isMobile:d,closeMenu:()=>s(!1)}):a,o=he({changed:!1,value:"",priority:""});return q(()=>{var l;if((l=document.documentElement)!=null&&l.style){const x=()=>{o.changed&&(o.value?document.documentElement.style.setProperty("overflow",o.value,o.priority):document.documentElement.style.removeProperty("overflow"),o.value="",o.priority="",o.changed=!1)};return c?(o.changed=!0,o.value=document.documentElement.style.getPropertyValue("overflow"),o.priority=document.documentElement.style.getPropertyPriority("overflow"),document.documentElement.style.setProperty("overflow","revert","important")):x(),x}return()=>{}},[c]),a?t.jsxs(Bt,{prepend:n||t.jsx(de,{sx:{color:i.palette.grey[500]},edge:"start",className:"header-menu","aria-label":"header menu button",onClick:()=>s(!c),children:c?t.jsx(Je,{}):t.jsx(xe,{})}),...r,children:[!d&&u,d&&t.jsx(pe,{open:c,onClose:()=>s(!1),ModalProps:{disablePortal:!1,keepMounted:!0,BackdropComponent:void 0},anchor:"top",sx:{top:64,zIndex:i.zIndex.appBar-1},PaperProps:{style:{top:64,bottom:0,boxShadow:"none"}},children:t.jsx(Ft,{children:u})})]}):t.jsx(ke,{prepend:n,...r})}const Bt=f(ke)`
|
|
343
343
|
.header-menu {
|
|
344
344
|
display: none;
|
|
345
345
|
}
|
|
@@ -536,7 +536,7 @@ import{ch as Re,cg as Ae,ci as He,ao as Ve,cj as D,bT as F,r as p,cm as Ee,cn as
|
|
|
536
536
|
.navmenu-sub--opened > .navmenu-sub-container {
|
|
537
537
|
display: block;
|
|
538
538
|
}
|
|
539
|
-
`,ee=p.createContext(null);function ze(e){return e?p.Children.toArray(e).filter(n=>p.isValidElement(n)?n.type===ne||n.type===T:!1):null}function Ne(e){return p.useRef(e||`navmenu-item-id-${Math.random().toString(36).slice(2)}`).current}function te({items:e=[],mode:n="horizontal",children:a=null,activeId:r=null,textColor:
|
|
539
|
+
`,ee=p.createContext(null);function ze(e){return e?p.Children.toArray(e).filter(n=>p.isValidElement(n)?n.type===ne||n.type===T:!1):null}function Ne(e){return p.useRef(e||`navmenu-item-id-${Math.random().toString(36).slice(2)}`).current}function te({items:e=[],mode:n="horizontal",children:a=null,activeId:r=null,textColor:i="#9397a1",activeTextColor:d="#25292f",bgColor:c="#fff",onSelected:s,...u}){var ae;const o=ze(a);if(!(e!=null&&e.length)&&!(o!=null&&o.length))throw new Error("One of 'items' or 'children' is required by NavMenu component.");const l=he({activeId:r,openedIds:[],hiddenItemCount:0}),x=V(h=>{l.activeId=h,s==null||s(h)}),b=V(h=>{l.openedIds.push(h)}),j=V(h=>{l.openedIds=l.openedIds.filter(y=>y!==h)}),z=q(()=>({...l,mode:n,activate:x,open:b,close:j}),[l.activeId,l.hiddenItemCount,l.openedIds,n,x,b,j]),N=p.useRef(null),m=p.useRef([]),v=p.useRef(null),M=l.hiddenItemCount===((ae=m.current)==null?void 0:ae.length),I=M?{marginLeft:"0px"}:void 0,B=q(()=>M?t.jsx(lt,{}):t.jsx(dt,{}),[M]),R=h=>p.Children.map(h,(y,L)=>p.cloneElement(y,{ref:C=>{m.current[L]=C}})),$=ce(N.current),{run:g}=st(V(()=>{let h=0,y=0,L=!1;const C=($==null?void 0:$.width)||0,U=v.current?v.current.offsetWidth+parseFloat(window.getComputedStyle(v.current).marginLeft):0;m.current.forEach((A,Be)=>{if(A){A.style.display="flex";const Fe=Be>0?parseFloat(window.getComputedStyle(A).marginLeft):0,oe=A.offsetWidth+Fe;C-U>=h+oe&&!L?h+=oe:(A.style.display="none",L=!0,y++)}}),y!==l.hiddenItemCount&&(l.hiddenItemCount=y)}),{wait:100});p.useLayoutEffect(()=>{n==="horizontal"&&g()},[$==null?void 0:$.width,n]),p.useEffect(()=>{if(n==="horizontal")return g(),window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g)}},[n,e]),p.useEffect(()=>{r!=null&&(l.activeId=r)},[r]);const k=_("navmenu",`navmenu--${n}`,u.className),S=(h,y,L=!1)=>h!=null&&h.children?t.jsx(T,{id:h.id,icon:h.icon,label:h.label,ref:L?C=>{m.current[y]=C}:void 0,children:h.children.map((C,U)=>S(C,U,!1))},h.id):t.jsx(ne,{id:h.id,icon:h.icon,label:h.label,active:h.active,ref:L?C=>{m.current[y]=C}:void 0},h.id),Le=e?e==null?void 0:e.slice(-l.hiddenItemCount).map((h,y)=>S(h,y)):o==null?void 0:o.slice(-l.hiddenItemCount),_e=n==="inline"?At:Rt;return t.jsx(ee.Provider,{value:z,children:t.jsx(_e,{...u,className:k,$textColor:i,$activeTextColor:d,$bgColor:c,children:t.jsxs("ul",{className:"navmenu-root",ref:N,children:[e?e.map((h,y)=>S(h,y,!0)):R(o||[]),l.hiddenItemCount>0&&t.jsx(T,{expandIcon:!1,icon:B,label:"",ref:v,style:I,children:Le})]})})})}const ne=p.forwardRef(({id:e="",icon:n=null,label:a="",active:r=!1,onClick:i=null,...d},c)=>{const s=Ne(e),{activeId:u,activate:o}=p.useContext(ee)||{},l=_("navmenu-item",{"navmenu-item--active":u===s},d.className);p.useEffect(()=>{r&&(o==null||o(s))},[r]);const x=()=>{i==null||i(),o==null||o(s)};return t.jsxs("li",{...d,className:l,onClick:x,ref:c,children:[n&&t.jsx("span",{className:"navmenu-item-icon",children:n}),t.jsx("span",{className:"navmenu-item-label",children:a})]})}),T=p.forwardRef(({id:e="",icon:n=null,label:a=null,children:r,expandIcon:i=({isOpen:s})=>t.jsx(it,{style:{transform:`rotate(${s?180:0}deg)`}}),...d},c)=>{const s=Ne(e),{openedIds:u,open:o,close:l,mode:x}=p.useContext(ee)||{},b=(u==null?void 0:u.includes(s))??!1,j=_("navmenu-sub",{"navmenu-sub--opened":b},d.className),z=x==="inline",N=z?{onClick:()=>{u!=null&&u.includes(s)?l==null||l(s):o==null||o(s)}}:{onMouseEnter:()=>o==null?void 0:o(s),onMouseLeave:()=>l==null?void 0:l(s)},m=z?{onClick:v=>v.stopPropagation()}:{};return t.jsxs("li",{...d,className:j,...N,ref:c,children:[n&&t.jsx("span",{className:"navmenu-sub-icon",children:n}),t.jsx("span",{className:"navmenu-sub-label",children:a}),i&&t.jsx("span",{className:"navmenu-sub-expand-icon",children:typeof i=="function"?i({isOpen:b}):i}),t.jsx("div",{className:"navmenu-sub-container",...m,children:t.jsx("ul",{className:"navmenu-sub-list",children:ze(r)})})]})});te.Item=ne;te.Sub=T;function Ce({routerLinkComponent:e,to:n,external:a=!1,children:r,...i}){return a?t.jsx("a",{href:n,...i,children:r}):t.jsx(e,{to:n,...i,children:r})}function Me(e){return t.jsx(Ce,{routerLinkComponent:W,...e})}function Ht({className:e="",...n}){const a=typeof e=="function"?e():e;return t.jsx(Ce,{routerLinkComponent:Ke,className:a,...n})}function Ie(e,n){var u;if((u=e.children)!=null&&u.length)return Vt(e,n);const{url:a,icon:r,title:i,showBadge:d,external:c,active:s}=e;return t.jsx("li",{className:"layout-sidebar-item",children:t.jsxs(Ht,{external:c,to:a,className:()=>_("layout-sidebar-link",{"layout-sidebar-link--active":c?s:!1}),children:[r&&t.jsx("span",{className:`layout-sidebar-icon ${d?"layout-sidebar-badge":""}`,children:r}),t.jsx(P,{component:"span",className:"layout-sidebar-link-text",children:i})]})},`${a}-${n}`)}function Vt(e,n){return t.jsxs("li",{className:"layout-sidebar-group",children:[t.jsx("span",{className:"layout-sidebar-group-title",children:e.title}),t.jsx("ul",{children:e.children.map(Ie)})]},`group-${e.title}-${n}`)}function se({links:e,addons:n,dense:a=!1,...r}){return t.jsxs(Dt,{...r,className:_({"layout-sidebar-dense":a}),children:[t.jsx("ul",{children:e.map(Ie)}),t.jsx("div",{style:{flex:1}}),n]})}const Et="linear-gradient(32deg, rgba(144, 255, 230, 0.1), rgba(144, 255, 230, 0))",Dt=f("div")`
|
|
540
540
|
display: flex;
|
|
541
541
|
flex-direction: column;
|
|
542
542
|
ul {
|
|
@@ -661,7 +661,7 @@ import{ch as Re,cg as Ae,ci as He,ao as Ve,cj as D,bT as F,r as p,cm as Ee,cn as
|
|
|
661
661
|
margin-top: 16px;
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
|
-
`;function Wt({closeMenu:e,...n}){const a=X();return p.useEffect(()=>{e()},[a]),t.jsx(te,{...n})}function Pe(e,n){return e.map(a=>{var r;return(r=a.children)!=null&&r.length?{...a,label:a.title,children:Pe(a.children,n)}:{...a,label:t.jsx(Me,{to:a.url,external:a.external,children:a.title}),active:a.external?a.active:!!Ze({path:a.url,end:!1},n.pathname)}})}function Tt({title:e="Home",headerProps:n={},links:a=[],sidebarWidth:r=120,fullWidth:
|
|
664
|
+
`;function Wt({closeMenu:e,...n}){const a=X();return p.useEffect(()=>{e()},[a]),t.jsx(te,{...n})}function Pe(e,n){return e.map(a=>{var r;return(r=a.children)!=null&&r.length?{...a,label:a.title,children:Pe(a.children,n)}:{...a,label:t.jsx(Me,{to:a.url,external:a.external,children:a.title}),active:a.external?a.active:!!Ze({path:a.url,end:!1},n.pathname)}})}function Tt({title:e="Home",headerProps:n={},links:a=[],sidebarWidth:r=120,fullWidth:i=!1,dense:d="auto",footerProps:c={},children:s,...u}){const o=Q(),{inFullPage:l,showToggleButton:x,headerVisible:b,footerVisible:j,sidebarVisible:z,toggleFullPage:N}=ct(),m=X(),v=p.useMemo(()=>Pe(a,m),[m,a]),M=v.some(g=>{var k;return!!((k=g.children)!=null&&k.length)}),I=d==="auto"?v.length>=8||M:d,B=_("dashboard",{"dashboard-dense":I},u.className),$={homeLink:g=>{var k;return t.jsx(Me,{to:((k=window.blocklet)==null?void 0:k.prefix)||"/",children:g})},...n};return p.useEffect(()=>{const{searchParams:g}=new URL(window.location.href);g.get("inviter")&&window.localStorage.setItem("inviter",g.get("inviter"))},[]),t.jsxs(Ot,{...u,className:B,sidebarWidth:r,children:[t.jsx(ue,{title:e},e),b&&t.jsx(St,{...$,className:"dashboard-header",children:a!=null&&a.length?({isMobile:g,closeMenu:k})=>g?t.jsx(Wt,{mode:"inline",items:v,closeMenu:k,bgColor:"transparent",activeTextColor:o.palette.primary.main}):null:null}),t.jsxs(w,{display:"flex",className:"dashboard-body",children:[t.jsx(me,{mdDown:!0,children:!!(a!=null&&a.length)&&z&&t.jsx(w,{className:"dashboard-sidebar",children:I?t.jsx(se,{links:a,dense:I}):t.jsx(w,{className:"dashboard-sidebar-container",children:t.jsx(se,{links:a,dense:I})})})}),t.jsxs(w,{className:"dashboard-main",children:[x&&t.jsx(w,{sx:{position:"absolute",top:4,right:4,display:"flex",justifyContent:"center",alignItems:"center",width:24,height:24,color:"#fff",bgcolor:"rgba(158,158,158, 0.6);",borderRadius:1,cursor:"pointer"},onClick:N,children:l?t.jsx(be,{style:{fontSize:18}}):t.jsx(ge,{style:{fontSize:18}})}),t.jsx(H,{className:"dashboard-content",...i&&{maxWidth:!1},children:s}),j&&t.jsx(O,{...c})]})]})]})}const Ot=f("div",{shouldForwardProp:e=>e!=="sidebarWidth"})`
|
|
665
665
|
&.dashboard {
|
|
666
666
|
display: flex;
|
|
667
667
|
flex-direction: column;
|