@abtnode/webapp 1.17.9 → 1.17.10-beta-20260209-080716-d070612b
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/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{AdapterDayjs-DWO9WIHe.js → AdapterDayjs-UTEBvFmb.js} +1 -1
- package/dist/assets/{Add-CaX-C76B.js → Add-CWdQuYaD.js} +1 -1
- package/dist/assets/ArrowDropDown-CHoioLUW.js +1 -0
- package/dist/assets/{Autocomplete-CoHLc9sw.js → Autocomplete-yImsm8ZS.js} +1 -1
- package/dist/assets/{Breadcrumbs-CtmWaPWD.js → Breadcrumbs-Civ-g97C.js} +1 -1
- package/dist/assets/{ButtonGroup-CFUm4DnA.js → ButtonGroup-BKp-Wu6T.js} +1 -1
- package/dist/assets/{CSSTransition-BoEOBxnu.js → CSSTransition-w1DHR1_d.js} +1 -1
- package/dist/assets/{CallMerge-g03IIE2c.js → CallMerge-DmmwHGXk.js} +1 -1
- package/dist/assets/{CardContent-De2diFnM.js → CardContent-DNvyDSsD.js} +1 -1
- package/dist/assets/{ChevronLeft-6mKauCKy.js → ChevronLeft-uBeZJCqL.js} +1 -1
- package/dist/assets/{ChevronRight-Ba1GeQFe.js → ChevronRight-BC2neeaz.js} +1 -1
- package/dist/assets/{Clear-B_hKjaJj.js → Clear--1cV57uz.js} +1 -1
- package/dist/assets/{Delete-B-jFRJwJ.js → Delete-K51EeG49.js} +1 -1
- package/dist/assets/{DeleteOutline-7b3f7PEm.js → DeleteOutline-BEPb1x3R.js} +1 -1
- package/dist/assets/{Done-L7ZRzL_V.js → Done-Cqinal6J.js} +1 -1
- package/dist/assets/{Edit-DUM500XS.js → Edit-D9ZhjnRN.js} +1 -1
- package/dist/assets/{ErrorOutline-DsKZTEd8.js → ErrorOutline-D1L-_0MO.js} +1 -1
- package/dist/assets/{FilterList-ChbigVQM.js → FilterList-oS-lVZbr.js} +1 -1
- package/dist/assets/{Google-CWlHJZAv.js → Google-B-qPqki4.js} +1 -1
- package/dist/assets/{HelpOutline-dihfOb5v.js → HelpOutline-DeYqkIeW.js} +1 -1
- package/dist/assets/{Launch-BkVAoVZE.js → Launch-BkYfxaBZ.js} +1 -1
- package/dist/assets/{Link-DOvnx4g5.js → Link-Cq1-Sn3W.js} +1 -1
- package/dist/assets/{ListItemButton-BQDScowx.js → ListItemButton-Cj5TfDg5.js} +1 -1
- package/dist/assets/{ListSubheader-Cl_ECqW2.js → ListSubheader-nBi3IFvC.js} +1 -1
- package/dist/assets/{LoadingButton-CDH-grwB.js → LoadingButton-Bvho72-k.js} +1 -1
- package/dist/assets/{LottiePlayer.modern-CLfr42jY.js → LottiePlayer.modern-jT-ZZL8Z.js} +1 -1
- package/dist/assets/{MoreVert-DV_CQ8ui.js → MoreVert-BcrwhM_q.js} +1 -1
- package/dist/assets/{OpenInNew-DXke8B9Y.js → OpenInNew-D7ZHvBz_.js} +1 -1
- package/dist/assets/{Refresh-D_WONHhn.js → Refresh-CzhocoUQ.js} +1 -1
- package/dist/assets/{Replay-B4flsCqt.js → Replay-D1gMLUpv.js} +1 -1
- package/dist/assets/{Search-z9bCqmrZ.js → Search-CZb8MpSi.js} +1 -1
- package/dist/assets/{Stepper-DKmKSFCG.js → Stepper-DKMrerj2.js} +1 -1
- package/dist/assets/{TableSearch-C5Kz0G1P.js → TableSearch-x8t1M7OG.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-BZx2FaaL.js → ToggleButtonGroup-BWiIOB2q.js} +1 -1
- package/dist/assets/{UnfoldMore-B28R2WSj.js → UnfoldMore-DQCavdGY.js} +1 -1
- package/dist/assets/{Verified-TZI1j-Va.js → Verified-CqtxcebR.js} +1 -1
- package/dist/assets/{VerifiedUser-Ddu-50lW.js → VerifiedUser-DUixMDR8.js} +1 -1
- package/dist/assets/{ViewList-D-osXRf3.js → ViewList-Dbcemsyf.js} +1 -1
- package/dist/assets/{Visibility-BVnDeVk-.js → Visibility-sTYSXb_Z.js} +1 -1
- package/dist/assets/{_createAggregator-DvxY8dpL.js → _createAggregator-CTTHFCie.js} +1 -1
- package/dist/assets/{actions-CUnz9wHy.js → actions-AQbY2FuA.js} +1 -1
- package/dist/assets/{actions-TKbswZRW.js → actions-BYumOwFP.js} +1 -1
- package/dist/assets/{actions-rnAVohGM.js → actions-DNLQJIGb.js} +1 -1
- package/dist/assets/{agreement-B81jBHjm.js → agreement-Dh9hzhdJ.js} +1 -1
- package/dist/assets/api-CxCPrjQQ.js +1 -0
- package/dist/assets/{appearance-BnoPFfcA.js → appearance-c0LgY25-.js} +1 -1
- package/dist/assets/{audit-logs-rRPPzNCV.js → audit-logs-DmhKHMuY.js} +1 -1
- package/dist/assets/{babel-BhzMK_Nh.js → babel-CLSFi4lI.js} +1 -1
- package/dist/assets/{base-chart-B-7wNcRu.js → base-chart-CUur7L90.js} +1 -1
- package/dist/assets/{blocklet-B65NZ0SL.js → blocklet--DdX67Y5.js} +1 -1
- package/dist/assets/{chain-De_ycb3s.js → chain-DJ1DKYhz.js} +1 -1
- package/dist/assets/{click-to-copy-BgfWbRfM.js → click-to-copy-B-4XSjp3.js} +1 -1
- package/dist/assets/cloneDeep-DqD6wDwD.js +1 -0
- package/dist/assets/{config-navigation-CAY0oLM7.js → config-navigation-C_j17Vjq.js} +3 -3
- package/dist/assets/{connect-DeAl0a0w.js → connect-1VjWES1q.js} +1 -1
- package/dist/assets/{connect-to-TtcHrCpE.js → connect-to-uisE5AIX.js} +1 -1
- package/dist/assets/{delete-confirm-BCALKic0.js → delete-confirm-D72IwWQV.js} +1 -1
- package/dist/assets/{depsEqual-iVI-ppGn.js → depsEqual-DLMKNy1M.js} +1 -1
- package/dist/assets/{detail-B9b8qEuw.js → detail-BMxdesdv.js} +2 -2
- package/dist/assets/{domains-ilDCawII.js → domains-DCeN06Gc.js} +1 -1
- package/dist/assets/{download-BLP_P5GN.js → download-Dr5a1zL7.js} +1 -1
- package/dist/assets/{edit.svg-088QpjsR.js → edit.svg-DZew8QZd.js} +1 -1
- package/dist/assets/emotion-cache.browser.esm-C-o7-kYP.js +1 -0
- package/dist/assets/engine-Bj---ism.js +1 -0
- package/dist/assets/{federated-detail-dialog-FIBSqJbV.js → federated-detail-dialog-D1-tYtuH.js} +1 -1
- package/dist/assets/{get-safe-url-C0YzO5pG.js → get-safe-url-D0G1hOGs.js} +1 -1
- package/dist/assets/getValidReactChildren-DtHaCFXY.js +1 -0
- package/dist/assets/{graphql-DZtbZ5p5.js → graphql-5eGH_NYQ.js} +1 -1
- package/dist/assets/{graphqlMode-D6b77q6d.js → graphqlMode-CUgVw-V2.js} +2 -2
- package/dist/assets/{html-title-wftxlNic.js → html-title-9oXf3hnw.js} +1 -1
- package/dist/assets/{iframe-CVO90dup.js → iframe-BaDG2Wlm.js} +1 -1
- package/dist/assets/{index-CJtH7ShQ.js → index-49Qse4GQ.js} +1 -1
- package/dist/assets/{index-DkOCnoPS.js → index-61X2Ogbc.js} +1 -1
- package/dist/assets/{index-BTW5KgWm.js → index-827dwNMd.js} +1 -1
- package/dist/assets/{index-GSHwCvc7.js → index-AvysaFMT.js} +1 -1
- package/dist/assets/{index-imQtUA1Y.js → index-BBF53Q7a.js} +1 -1
- package/dist/assets/{index-f-tffvn9.js → index-BHcgO_SJ.js} +6 -6
- package/dist/assets/{index-BdA3fNuc.js → index-BJK24rOa.js} +1 -1
- package/dist/assets/{index-DTafCIMf.js → index-BM0ITaY0.js} +1 -1
- package/dist/assets/{index-KvvUCU7Y.js → index-BNas1pWM.js} +1 -1
- package/dist/assets/{index-XFNKEyIx.js → index-BTqg98Jy.js} +1 -1
- package/dist/assets/index-BUcRzlo0.js +1 -0
- package/dist/assets/{index-DReJtC5l.js → index-BX5yVBx9.js} +3 -3
- package/dist/assets/{index-OZ9TU2gG.js → index-BYR7dUZX.js} +3 -3
- package/dist/assets/{index-Fa8vAbIc.js → index-BkMlSUGS.js} +1 -1
- package/dist/assets/{index-DdoE1xT5.js → index-Bu9TGJWU.js} +1 -1
- package/dist/assets/{index-BApx63vN.js → index-C6ZvmgZt.js} +1 -1
- package/dist/assets/{index-DXSDhJsN.js → index-C76F3kmA.js} +1 -1
- package/dist/assets/{index-etYz30nT.js → index-C9TPckai.js} +1 -1
- package/dist/assets/{index-Def_Nrmy.js → index-CEy2PJoh.js} +1 -1
- package/dist/assets/{index-BuwIEPLP.js → index-CM8wI4MT.js} +3 -3
- package/dist/assets/{index-CSRgOtp2.js → index-CNLc3sjT.js} +1 -1
- package/dist/assets/{index-TLvz3wdj.js → index-CUh73CTd.js} +1 -1
- package/dist/assets/{index-CSC84DXT.js → index-CehlW6fb.js} +1 -1
- package/dist/assets/{index-DKy5xk6V.js → index-Cli3fN45.js} +1 -1
- package/dist/assets/{index-DHJJWO6c.js → index-CoN0ZC2W.js} +3 -3
- package/dist/assets/{index-B0mArAvv.js → index-CsYcuXHv.js} +1 -1
- package/dist/assets/{index-DtdZa4Ii.js → index-CwAnYLEW.js} +1 -1
- package/dist/assets/{index-C9laDmdO.js → index-D7n-SeYl.js} +1 -1
- package/dist/assets/{index-DSoeY_gC.js → index-DSaIe8YU.js} +2 -2
- package/dist/assets/{index-DW68hKiw.js → index-DYyWFu_h.js} +1 -1
- package/dist/assets/{index--K9Fm5hg.js → index-Da4hAx6D.js} +1 -1
- package/dist/assets/{index-BgEoonJf.js → index-DbEnyJAy.js} +1 -1
- package/dist/assets/{index-kfl7onTb.js → index-Dm7aiwWU.js} +3 -3
- package/dist/assets/{index-YDhLwC2f.js → index-DmPMXuEy.js} +1 -1
- package/dist/assets/{index-BXslTYRT.js → index-DmoyVTvU.js} +1 -1
- package/dist/assets/{index-2QIyI-hX.js → index-DofqJV7l.js} +1 -1
- package/dist/assets/{index-C6-nc71s.js → index-S9TQPsa4.js} +1 -1
- package/dist/assets/{index-BsxJA--7.js → index-UlrZBhpR.js} +1 -1
- package/dist/assets/{index-Cnc9i7Ak.js → index-m4xwc3vq.js} +1 -1
- package/dist/assets/{index-DWMihgj_.js → index-nGWlrS-7.js} +1 -1
- package/dist/assets/{index-Bt02N9ee.js → index-ocMiQSTQ.js} +1 -1
- package/dist/assets/{index-Ce4rkgom.js → index-pyvsPKr0.js} +1 -1
- package/dist/assets/{index-UjkYO3io.js → index-v6GrH27P.js} +1 -1
- package/dist/assets/{index-Dtj3cePH.js → index-xKewGzjC.js} +4 -4
- package/dist/assets/{index-DrnnoDEf.js → index-zK8Hx4RO.js} +1 -1
- package/dist/assets/{index.esm-KhX4wp--.js → index.esm-BbGTF1sQ.js} +1 -1
- package/dist/assets/{install-from-url-B05WE8Ly.js → install-from-url-v_yjBEI5.js} +1 -1
- package/dist/assets/{invitation-BV4-svSZ.js → invitation-dGyOhh2Q.js} +1 -1
- package/dist/assets/{is-path-prefix-equal-BxWUya7r.js → is-path-prefix-equal-BQwfaxGA.js} +1 -1
- package/dist/assets/{isEmail-DeuFXn6y.js → isEmail-DqqNzPgi.js} +1 -1
- package/dist/assets/{item-DI_IF5jI.js → item-DQm26Fdm.js} +1 -1
- package/dist/assets/{jsonMode-U78AHGim.js → jsonMode-lyAE_KHt.js} +1 -1
- package/dist/assets/{list-header-B3--_6Bl.js → list-header-DqK90OBv.js} +1 -1
- package/dist/assets/{lite-s4CjMGFV.js → lite-BijqooUd.js} +2 -2
- package/dist/assets/{lock.svg-Cgo551jB.js → lock.svg-DjIKxYVb.js} +1 -1
- package/dist/assets/{log-ll3_FUxN.js → log-O-94ibsD.js} +1 -1
- package/dist/assets/{login-method-item-rb7xoaP3.js → login-method-item-KmsBo8TR.js} +1 -1
- package/dist/assets/{lottie-react.esm-B1Y5_TqJ.js → lottie-react.esm-D3MPuI_v.js} +1 -1
- package/dist/assets/{memory-DzWPIeHP.js → memory-CTIYyQr_.js} +1 -1
- package/dist/assets/{metric-DCKs2r9K.js → metric-DhxuLAOD.js} +1 -1
- package/dist/assets/{monaco-editor-3B-B1pdB.js → monaco-editor-ie9ljpWK.js} +3 -3
- package/dist/assets/{mouseTarget-BZ5frXuo.js → mouseTarget-DEC5Z4-r.js} +1 -1
- package/dist/assets/omit-CtfUfHa7.js +1 -0
- package/dist/assets/{overview-Cu4YrIFe.js → overview-BsIeoL20.js} +1 -1
- package/dist/assets/{permission-B-geZ8jf.js → permission-CtC06VjN.js} +1 -1
- package/dist/assets/{preference-C8QaexiP.js → preference-qWlN5Q-O.js} +3 -3
- package/dist/assets/{provider-icon-lv3oS7d4.js → provider-icon-OPl5iUMB.js} +1 -1
- package/dist/assets/{raf-schd.esm-B49R8L3J.js → raf-schd.esm-DgDGl_YG.js} +1 -1
- package/dist/assets/{rotate-session-key-BPhFiNZy.js → rotate-session-key-BeoXztkb.js} +1 -1
- package/dist/assets/{runtime-DhJ59c5Q.js → runtime-DZKNFyMr.js} +1 -1
- package/dist/assets/schema-DUxPnJIn.js +1 -0
- package/dist/assets/sdk-ChqUwCFm.js +1 -0
- package/dist/assets/{service-Bad7qk9f.js → service-BNMKzSeC.js} +1 -1
- package/dist/assets/{shorten-label-DmKAPPTX.js → shorten-label-dEjcCcWt.js} +1 -1
- package/dist/assets/{simple-select-CHH0_oB5.js → simple-select-Ca0GAR5n.js} +1 -1
- package/dist/assets/{spaces-BsLjYZLj.js → spaces-a6SrjF6x.js} +1 -1
- package/dist/assets/{status-CcMfecIj.js → status-8syaX-4l.js} +1 -1
- package/dist/assets/{status-VF8vuUxF.js → status-Cv5_DxJM.js} +1 -1
- package/dist/assets/{switch-control-CzpP7CIf.js → switch-control-BlQqkYEY.js} +1 -1
- package/dist/assets/{table-icons-Bo0tOvqU.js → table-icons-pWIMwNtX.js} +1 -1
- package/dist/assets/{team-cDk0EvPf.js → team-CVCOeAkO.js} +1 -1
- package/dist/assets/{toLower-D7a3qnvH.js → toLower-DAlWrsru.js} +1 -1
- package/dist/assets/toUpper-OjfWE4Do.js +1 -0
- package/dist/assets/{traffic-DYynIkpC.js → traffic-DTerW5fk.js} +1 -1
- package/dist/assets/{trim-Diihj-s0.js → trim-DzuffaGw.js} +1 -1
- package/dist/assets/{url-evaluation-D49POKf_.js → url-evaluation-IuTW0fNq.js} +1 -1
- package/dist/assets/{url-join-CYWu6vsi.js → url-join-D7ip8DEU.js} +1 -1
- package/dist/assets/{use-mobile-wKUCaVoo.js → use-mobile-BvGbFC9J.js} +1 -1
- package/dist/assets/{use-mobile-xq_yWBax.js → use-mobile-DYOwHeWa.js} +1 -1
- package/dist/assets/{useAsync-CLJdaax3.js → useAsync-B0d54WBL.js} +1 -1
- package/dist/assets/{useAsyncRetry-DLctK9N7.js → useAsyncRetry-DBcFwTF8.js} +1 -1
- package/dist/assets/{useLocalStorage-Dn6UErBV.js → useLocalStorage-DnNTBdw-.js} +1 -1
- package/dist/assets/{useThemeProps-9zV1AZbb.js → useThemeProps-DN7zZ6Cj.js} +1 -1
- package/dist/assets/{util-BVHL76Cg.js → util-CWRQuvFK.js} +1 -1
- package/dist/assets/{wait-container-ClqOwvvu.js → wait-container-Bye2r7zn.js} +1 -1
- package/dist/assets/{without-wallet-BzLoVl__.js → without-wallet-BR3mhb2n.js} +1 -1
- package/dist/assets/wrap-locale-BmqOK-7R.js +1 -0
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/ArrowDropDown-225S5d4X.js +0 -1
- package/dist/assets/api-BLIecOBq.js +0 -1
- package/dist/assets/cloneDeep-BBtZ6NeX.js +0 -1
- package/dist/assets/emotion-cache.browser.esm-fPnQyG8C.js +0 -1
- package/dist/assets/engine-xHEY-z1Q.js +0 -1
- package/dist/assets/getValidReactChildren-BwWzCXzg.js +0 -1
- package/dist/assets/index-CkfMmvW2.js +0 -1
- package/dist/assets/omit-C22NrHjF.js +0 -1
- package/dist/assets/schema-BwJa8hO6.js +0 -1
- package/dist/assets/sdk-Bx_WDGD1.js +0 -1
- package/dist/assets/toUpper-B8LTwalX.js +0 -1
- package/dist/assets/wrap-locale-CowysH2k.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as g,r as o,p as x,f as r,g as u,j as s,B as m,N as d}from"./index-
|
|
1
|
+
import{e as g,r as o,p as x,f as r,g as u,j as s,B as m,N as d}from"./index-xKewGzjC.js";function P(){const i=g(),{blocklets:c,refresh:l}=i,{t:p}=o.useContext(x),y=r.generateKey(),[a]=u();return o.useEffect(()=>{const n=r.getNotificationQueryParams(y)??{},t=a.get("entityId"),e=a.get("severity"),f={...n,...e?{severity:e==="all"?[]:e.split(","),paging:{...n.paging,page:1}}:{},...t?{entityId:t==="all"?[]:t.split(",")}:{},componentDid:[]};l(f)},[]),s.jsxs(m,{children:[s.jsx("h1",{children:p("notification.title")}),s.jsx(d,{tabType:"line",blocklets:c,context:i,filterType:"entity",type:"server"})]})}export{P as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as r,aM as _,aN as e}from"./index-
|
|
1
|
+
import{G as r,aM as _,aN as e}from"./index-xKewGzjC.js";const i={en:_(e),ar:()=>r(()=>import("./ar-B_sibZqa.js"),[],import.meta.url).then(t=>_(t.default)),de:()=>r(()=>import("./de-DbSOKQX7.js"),[],import.meta.url).then(t=>_(t.default)),es:()=>r(()=>import("./es-D2LjPsFG.js"),[],import.meta.url).then(t=>_(t.default)),fr:()=>r(()=>import("./fr-BhrNPQ9p.js"),[],import.meta.url).then(t=>_(t.default)),hi:()=>r(()=>import("./hi-Diz7GvlN.js"),[],import.meta.url).then(t=>_(t.default)),id:()=>r(()=>import("./id-5hT5Xowp.js"),[],import.meta.url).then(t=>_(t.default)),ja:()=>r(()=>import("./ja-B9PRxAQ4.js"),[],import.meta.url).then(t=>_(t.default)),ko:()=>r(()=>import("./ko-Rt157P24.js"),[],import.meta.url).then(t=>_(t.default)),pt:()=>r(()=>import("./pt-Dizzpo90.js"),[],import.meta.url).then(t=>_(t.default)),ru:()=>r(()=>import("./ru-CkrRBo0n.js"),[],import.meta.url).then(t=>_(t.default)),th:()=>r(()=>import("./th-C6wvuDE3.js"),[],import.meta.url).then(t=>_(t.default)),vi:()=>r(()=>import("./vi--9FgHgh-.js"),[],import.meta.url).then(t=>_(t.default)),"zh-TW":()=>r(()=>import("./zh-tw-CK0KkC_J.js"),[],import.meta.url).then(t=>_(t.default)),zh:()=>r(()=>import("./zh-BYjAhQoG.js"),[],import.meta.url).then(t=>_(t.default))};export{i as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as me,j as e,r as D,q as je,B as O,eP as Gt,au as W,aE as Ke,av as ue,C as it,aG as cn,bf as ks,o as T,gs as Ss,R as dn,cC as Cs,es as Rs,P as Ps,J as Y,fh as kt,aS as te,bG as Bt,p as pe,hZ as Os,bH as Ht,am as X,ay as ee,aB as oe,H as V,aI as se,V as J,d as un,ct as As,A as hn,as as $s,aU as mn,gv as Ts,h_ as Es,eX as Is,ch as ne,cx as qe,cu as Se,cv as Ls,at as St,bz as Q,bB as Ct,hm as $e,h$ as Ds,ev as Fe,ew as qs,i0 as Rt,e6 as Ve,i1 as zs,i2 as Ms,i3 as Bs,i4 as ut,bj as fn,fN as Hs,i5 as Ns,dk as Yt,c8 as Fs,fO as pn,ad as le,d2 as Jt,i6 as Zs,cJ as Vs,i7 as Ee,aT as _e,b6 as ve,k as E,i8 as Pt,F as K,ao as Ot,x as ke,W as Me,g as gn,bF as be,af as ie,i9 as Nt,X as re,d4 as Ge,d6 as Ws,bK as Us,ab as Ie,cz as Ks,d8 as he,dB as Oe,gO as we,gY as ze,dz as xn,ia as Gs,ib as Ys,fQ as Js,du as Xs,dt as Qs,ic as er,ap as tr,Q as nr,bb as At,co as sr,cp as rr,cq as ir,S as ar,M as yn,cr as or,bt as lr,i as We,hA as st,id as $t,ie as cr,ig as ae,aD as dr,eS as vn,dU as rt,ih as bn,ga as ur,fz as Ae,f$ as jn,di as wn,ii as hr,g0 as mr,g3 as fr,bu as ht,bM as pr,aV as gr}from"./index-Dtj3cePH.js";import{S as xr}from"./actions-CUnz9wHy.js";import{N as Xt}from"./ChevronRight-Ba1GeQFe.js";import{T as Ue}from"./html-title-wftxlNic.js";import{w as Be,P as yr}from"./permission-B-geZ8jf.js";import{u as Ft}from"./index-CkfMmvW2.js";import{F as vr,R as br,S as B,a as Tt,s as jr,L as Re,A as wr,b as _r,c as kr,d as Sr,e as Cr,f as Rr,g as Pr,B as Or}from"./preference-C8QaexiP.js";import{D as Ar}from"./Done-L7ZRzL_V.js";import{A as $r,a as Qt}from"./Autocomplete-CoHLc9sw.js";import{C as Tr,R as Er,S as Ir,P as Lr}from"./rotate-session-key-BPhFiNZy.js";import{u as ce}from"./blocklet-B65NZ0SL.js";import{C as _n}from"./click-to-copy-BgfWbRfM.js";import{a as at}from"./team-cDk0EvPf.js";import{v as Dr}from"./index-TLvz3wdj.js";import{i as tt,g as qr}from"./chain-De_ycb3s.js";import{V as zr}from"./status-VF8vuUxF.js";import{a as fe,S as Mr,u as kn}from"./switch-control-CzpP7CIf.js";import{u as ge,C as F,b as en}from"./index.esm-KhX4wp--.js";import{i as mt}from"./isEmail-DeuFXn6y.js";import{u as Br,a as Hr,D as Nr,H as Fr}from"./index-CSC84DXT.js";import{M as Pe}from"./provider-icon-lv3oS7d4.js";import{S as nt}from"./simple-select-CHH0_oB5.js";import{D as tn}from"./Delete-B-jFRJwJ.js";import{A as Et}from"./Add-CaX-C76B.js";import{S as Zr,F as Vr,E as Wr}from"./federated-detail-dialog-FIBSqJbV.js";import{H as ot}from"./index-DtdZa4Ii.js";import{u as Sn}from"./use-mobile-xq_yWBax.js";import{D as Ur}from"./DeleteOutline-7b3f7PEm.js";import{C as Kr}from"./CardContent-De2diFnM.js";import{R as Cn,b as Rn}from"./url-evaluation-D49POKf_.js";import"./useLocalStorage-Dn6UErBV.js";import"./MoreVert-DV_CQ8ui.js";import"./get-safe-url-C0YzO5pG.js";import"./ButtonGroup-CFUm4DnA.js";import"./getValidReactChildren-BwWzCXzg.js";import"./omit-C22NrHjF.js";import"./index-BgEoonJf.js";import"./edit.svg-088QpjsR.js";import"./ArrowDropDown-225S5d4X.js";import"./index-Ce4rkgom.js";import"./iframe-CVO90dup.js";import"./ListSubheader-Cl_ECqW2.js";import"./visuallyHidden-Dan1xhjv.js";import"./ErrorOutline-DsKZTEd8.js";import"./index-DTafCIMf.js";import"./redux-Ab4buSXY.js";import"./typeof-QjJsDpFa.js";import"./passkey-rounded-_WDHIZVd.js";import"./FilterList-ChbigVQM.js";import"./CSSTransition-BoEOBxnu.js";import"./emotion-cache.browser.esm-fPnQyG8C.js";import"./depsEqual-iVI-ppGn.js";import"./index-imQtUA1Y.js";import"./TableSearch-C5Kz0G1P.js";import"./Search-z9bCqmrZ.js";import"./Clear-B_hKjaJj.js";const Pn=me([e.jsx("path",{d:"M21 7.28V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-2.28c.59-.35 1-.98 1-1.72V9c0-.74-.41-1.37-1-1.72M20 9v6h-7V9zM5 19V5h14v2h-6c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h6v2z"},"0"),e.jsx("circle",{cx:"16",cy:"12",r:"1.5"},"1")]),Gr=me([e.jsx("path",{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"},"0"),e.jsx("path",{d:"M14 17H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"},"1")]),Yr=me(e.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"})),Jr=me(e.jsx("path",{d:"M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1M7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2M20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1M7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})),Xr=me(e.jsx("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"})),Qr=me(e.jsx("path",{d:"M24 9v2h-6V9zM8 4C5.79 4 4 5.79 4 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4m4.51-8.95C13.43 5.11 14 6.49 14 8s-.57 2.89-1.49 3.95C14.47 11.7 16 10.04 16 8s-1.53-3.7-3.49-3.95m4.02 9.78C17.42 14.66 18 15.7 18 17v3h2v-3c0-1.45-1.59-2.51-3.47-3.17"})),ei=me(e.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"})),ti=me(e.jsx("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"})),ni=me(e.jsx("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"})),It=me(e.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.1s3.1 1.39 3.1 3.1z"})),si=me([e.jsx("path",{d:"M18 11c.7 0 1.37.1 2 .29V10c0-1.1-.9-2-2-2h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6.26c-.79-1.13-1.26-2.51-1.26-4 0-3.87 3.13-7 7-7M8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9z"},"0"),e.jsx("path",{d:"M18 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m0 2c.83 0 1.5.67 1.5 1.5S18.83 18 18 18s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5m0 6c-1.03 0-1.94-.52-2.48-1.32.73-.42 1.57-.68 2.48-.68s1.75.26 2.48.68c-.54.8-1.45 1.32-2.48 1.32"},"1")]),ri=me(e.jsx("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"})),ii=me(e.jsx("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"})),ai=me(e.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"})),oi=me(e.jsx("path",{d:"M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1M3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1m10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1M7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1m14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1m-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1"})),li=me(e.jsx("path",{d:"M16 13c3.09-2.81 6-5.44 6-7.7C22 3.45 20.55 2 18.7 2c-1.04 0-2.05.49-2.7 1.25C15.34 2.49 14.34 2 13.3 2 11.45 2 10 3.45 10 5.3c0 2.26 2.91 4.89 6 7.7m-2.7-9c.44 0 .89.21 1.18.55L16 6.34l1.52-1.79c.29-.34.74-.55 1.18-.55.74 0 1.3.56 1.3 1.3 0 1.12-2.04 3.17-4 4.99-1.96-1.82-4-3.88-4-4.99 0-.74.56-1.3 1.3-1.3M19 16h-2c0-1.2-.75-2.28-1.87-2.7L8.97 11H1v11h6v-1.44l7 1.94 8-2.5v-1c0-1.66-1.34-3-3-3M3 20v-7h2v7zm10.97.41L7 18.48V13h1.61l5.82 2.17c.34.13.57.46.57.83 0 0-1.99-.05-2.3-.15l-2.38-.79-.63 1.9 2.38.79c.51.17 1.04.26 1.58.26H19c.39 0 .74.23.9.56z"})),ci={width:24,height:24,body:'<path fill="currentColor" d="M4.975 15q-.425 0-.7-.288T4 14q0-.425.288-.713T5 13h14.025q.425 0 .7.288T20 14q0 .425-.288.713T19 15H4.975Zm0 4q-.425 0-.7-.288T4 18q0-.425.288-.713T5 17h14.025q.425 0 .7.288T20 18q0 .425-.288.713T19 19H4.975Zm0-8q-.425 0-.7-.288T4 10q0-.425.288-.713T5 9h14.025q.425 0 .7.288T20 10q0 .425-.288.713T19 11H4.975Zm0-4q-.425 0-.7-.288T4 6q0-.425.288-.713T5 5h14.025q.425 0 .7.288T20 6q0 .425-.288.713T19 7H4.975Z"/>'};function On({label:_="",disabled:j=!1,required:P=!1,initialValue:R="",onChange:k=()=>{},style:y={},onSubmit:x=()=>{},triggers:o=[],options:f=[],formatterBeforeSubmit:p=i=>i.join(","),helperText:u="",placeholder:t="",renderImage:a=()=>null,renderLabel:r=()=>"",filterKeys:n=["name"],noEmpty:s=!1,...c}){const[i,l]=D.useState(!1),[d,h]=D.useState(!1),[g,w]=D.useState(""),S=D.useRef(null),[m,v]=D.useState(R),[b,C]=D.useState(m),A=D.useMemo(()=>{if(!f)return{};const H={};return f.forEach(I=>{H[I.code]=I}),H},[f]),$=()=>{if(!f)return[];if(!g)return f.map(I=>I.code);const H=new RegExp(g.toLowerCase());return f.filter(I=>{for(let N=0;N<n.length;N++){const Z=n[N];if(H.test(I[Z]?.toLowerCase()))return!0}return!1}).map(I=>I.code)},q=async()=>{h(!0);try{await x(typeof p=="function"?p(b):b)===!1?C(m):s&&!b.length?(C(R),v(R)):(C(b),v(b))}catch{C(m)}finally{h(!1),l(!1)}},M=(H,I)=>{if(!Array.isArray(I)){C([]),k([]);return}const N=I.filter(Z=>A[Z]);if(!N.length){C([]),k([]);return}C(N),k(N)},U=H=>{H.stopPropagation(),l(!0),setTimeout(()=>{if(S.current){const I=S.current.querySelector("input");I&&I.focus()}},500)},z=i?e.jsx($r,{ref:S,options:f,value:b,onChange:M,inputValue:g,onInputChange:(H,I)=>{w(I)},fullWidth:!0,multiple:!0,variant:"outlined",margin:"dense",filterOptions:$,getOptionLabel:H=>A[H]?.name,renderInput:H=>e.jsx(W,{...H,label:"",placeholder:t}),renderOption:(H,I)=>{const N=b.indexOf(I)!==-1;return D.createElement(di,{component:"li",...H,key:I},a(A[I]||{}),e.jsx(O,{sx:{"& > img":{mr:2,flexShrink:0}},style:{flex:1,fontWeight:N?"700":"normal"},children:r(I,A[I])||A[I]?.name}),e.jsx(O,{component:Gt,sx:{opacity:.5,width:18,height:18},style:{visibility:N?"visible":"hidden"}}))},...c,slots:{popper:ui}}):e.jsx(O,{className:"form-item-input slot",onClick:U,style:{whiteSpace:"pre-wrap",cursor:"text"},sx:{px:1},children:b.filter(H=>f.some(I=>I.code===H)).map(H=>e.jsx(Ke,{label:f.find(I=>I.code===H).name,style:{marginRight:8},size:"small"},H))});return e.jsx(vr,{className:"form",style:y,children:e.jsxs(O,{className:"form-item",children:[e.jsxs(O,{className:"form-item-label",children:[_,P&&e.jsx(br,{})]}),e.jsxs(O,{className:"form-item-body",children:[e.jsx(O,{className:"form-item-input",children:z}),i?e.jsx(O,{className:"form-item-action",children:e.jsxs(e.Fragment,{children:[e.jsx(ue,{"data-cy":"schema-form-item-confirm",onClick:q,disabled:j||d,size:"large",children:d?e.jsx(it,{size:24}):e.jsx(Ar,{})}),e.jsx(ue,{"data-cy":"schema-form-item-cancel",onClick:()=>{C(m),l(!1)},disabled:j||d,size:"large",children:e.jsx(Gt,{})})]})}):null]}),i&&u&&e.jsx(cn,{children:u})]})})}On.propTypes={style:T.object,onSubmit:T.func,onChange:T.func,label:T.string,initialValue:T.string,required:T.bool,disabled:T.bool,triggers:T.array,options:T.array,helperText:T.string,formatterBeforeSubmit:T.func,placeholder:T.string,renderImage:T.func,filterKeys:T.arrayOf(T.string),noEmpty:T.bool,renderLabel:T.func};const di=je.div`
|
|
1
|
+
import{c as me,j as e,r as D,q as je,B as O,eP as Gt,au as W,aE as Ke,av as ue,C as it,aG as cn,bf as ks,o as T,gs as Ss,R as dn,cC as Cs,es as Rs,P as Ps,J as Y,fh as kt,aS as te,bG as Bt,p as pe,hZ as Os,bH as Ht,am as X,ay as ee,aB as oe,H as V,aI as se,V as J,d as un,ct as As,A as hn,as as $s,aU as mn,gv as Ts,h_ as Es,eX as Is,ch as ne,cx as qe,cu as Se,cv as Ls,at as St,bz as Q,bB as Ct,hm as $e,h$ as Ds,ev as Fe,ew as qs,i0 as Rt,e6 as Ve,i1 as zs,i2 as Ms,i3 as Bs,i4 as ut,bj as fn,fN as Hs,i5 as Ns,dk as Yt,c8 as Fs,fO as pn,ad as le,d2 as Jt,i6 as Zs,cJ as Vs,i7 as Ee,aT as _e,b6 as ve,k as E,i8 as Pt,F as K,ao as Ot,x as ke,W as Me,g as gn,bF as be,af as ie,i9 as Nt,X as re,d4 as Ge,d6 as Ws,bK as Us,ab as Ie,cz as Ks,d8 as he,dB as Oe,gO as we,gY as ze,dz as xn,ia as Gs,ib as Ys,fQ as Js,du as Xs,dt as Qs,ic as er,ap as tr,Q as nr,bb as At,co as sr,cp as rr,cq as ir,S as ar,M as yn,cr as or,bt as lr,i as We,hA as st,id as $t,ie as cr,ig as ae,aD as dr,eS as vn,dU as rt,ih as bn,ga as ur,fz as Ae,f$ as jn,di as wn,ii as hr,g0 as mr,g3 as fr,bu as ht,bM as pr,aV as gr}from"./index-xKewGzjC.js";import{S as xr}from"./actions-AQbY2FuA.js";import{N as Xt}from"./ChevronRight-BC2neeaz.js";import{T as Ue}from"./html-title-9oXf3hnw.js";import{w as Be,P as yr}from"./permission-CtC06VjN.js";import{u as Ft}from"./index-BUcRzlo0.js";import{F as vr,R as br,S as B,a as Tt,s as jr,L as Re,A as wr,b as _r,c as kr,d as Sr,e as Cr,f as Rr,g as Pr,B as Or}from"./preference-qWlN5Q-O.js";import{D as Ar}from"./Done-Cqinal6J.js";import{A as $r,a as Qt}from"./Autocomplete-yImsm8ZS.js";import{C as Tr,R as Er,S as Ir,P as Lr}from"./rotate-session-key-BeoXztkb.js";import{u as ce}from"./blocklet--DdX67Y5.js";import{C as _n}from"./click-to-copy-B-4XSjp3.js";import{a as at}from"./team-CVCOeAkO.js";import{v as Dr}from"./index-CUh73CTd.js";import{i as tt,g as qr}from"./chain-DJ1DKYhz.js";import{V as zr}from"./status-Cv5_DxJM.js";import{a as fe,S as Mr,u as kn}from"./switch-control-BlQqkYEY.js";import{u as ge,C as F,b as en}from"./index.esm-BbGTF1sQ.js";import{i as mt}from"./isEmail-DqqNzPgi.js";import{u as Br,a as Hr,D as Nr,H as Fr}from"./index-CehlW6fb.js";import{M as Pe}from"./provider-icon-OPl5iUMB.js";import{S as nt}from"./simple-select-Ca0GAR5n.js";import{D as tn}from"./Delete-K51EeG49.js";import{A as Et}from"./Add-CWdQuYaD.js";import{S as Zr,F as Vr,E as Wr}from"./federated-detail-dialog-D1-tYtuH.js";import{H as ot}from"./index-CwAnYLEW.js";import{u as Sn}from"./use-mobile-DYOwHeWa.js";import{D as Ur}from"./DeleteOutline-BEPb1x3R.js";import{C as Kr}from"./CardContent-DNvyDSsD.js";import{R as Cn,b as Rn}from"./url-evaluation-IuTW0fNq.js";import"./useLocalStorage-DnNTBdw-.js";import"./MoreVert-BcrwhM_q.js";import"./get-safe-url-D0G1hOGs.js";import"./ButtonGroup-BKp-Wu6T.js";import"./getValidReactChildren-DtHaCFXY.js";import"./omit-CtfUfHa7.js";import"./index-DbEnyJAy.js";import"./edit.svg-DZew8QZd.js";import"./ArrowDropDown-CHoioLUW.js";import"./index-pyvsPKr0.js";import"./iframe-BaDG2Wlm.js";import"./ListSubheader-nBi3IFvC.js";import"./visuallyHidden-Dan1xhjv.js";import"./ErrorOutline-D1L-_0MO.js";import"./index-BM0ITaY0.js";import"./redux-Ab4buSXY.js";import"./typeof-QjJsDpFa.js";import"./passkey-rounded-_WDHIZVd.js";import"./FilterList-oS-lVZbr.js";import"./CSSTransition-w1DHR1_d.js";import"./emotion-cache.browser.esm-C-o7-kYP.js";import"./depsEqual-DLMKNy1M.js";import"./index-BBF53Q7a.js";import"./TableSearch-x8t1M7OG.js";import"./Search-CZb8MpSi.js";import"./Clear--1cV57uz.js";const Pn=me([e.jsx("path",{d:"M21 7.28V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-2.28c.59-.35 1-.98 1-1.72V9c0-.74-.41-1.37-1-1.72M20 9v6h-7V9zM5 19V5h14v2h-6c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h6v2z"},"0"),e.jsx("circle",{cx:"16",cy:"12",r:"1.5"},"1")]),Gr=me([e.jsx("path",{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"},"0"),e.jsx("path",{d:"M14 17H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"},"1")]),Yr=me(e.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"})),Jr=me(e.jsx("path",{d:"M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1M7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2M20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1M7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})),Xr=me(e.jsx("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"})),Qr=me(e.jsx("path",{d:"M24 9v2h-6V9zM8 4C5.79 4 4 5.79 4 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4m4.51-8.95C13.43 5.11 14 6.49 14 8s-.57 2.89-1.49 3.95C14.47 11.7 16 10.04 16 8s-1.53-3.7-3.49-3.95m4.02 9.78C17.42 14.66 18 15.7 18 17v3h2v-3c0-1.45-1.59-2.51-3.47-3.17"})),ei=me(e.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 17h-2v-2h2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25"})),ti=me(e.jsx("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"})),ni=me(e.jsx("path",{d:"M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 4-4.04zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3"})),It=me(e.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.1s3.1 1.39 3.1 3.1z"})),si=me([e.jsx("path",{d:"M18 11c.7 0 1.37.1 2 .29V10c0-1.1-.9-2-2-2h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6.26c-.79-1.13-1.26-2.51-1.26-4 0-3.87 3.13-7 7-7M8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9z"},"0"),e.jsx("path",{d:"M18 13c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5m0 2c.83 0 1.5.67 1.5 1.5S18.83 18 18 18s-1.5-.67-1.5-1.5.67-1.5 1.5-1.5m0 6c-1.03 0-1.94-.52-2.48-1.32.73-.42 1.57-.68 2.48-.68s1.75.26 2.48.68c-.54.8-1.45 1.32-2.48 1.32"},"1")]),ri=me(e.jsx("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8z"})),ii=me(e.jsx("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"})),ai=me(e.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"})),oi=me(e.jsx("path",{d:"M3 18c0 .55.45 1 1 1h5v-2H4c-.55 0-1 .45-1 1M3 6c0 .55.45 1 1 1h9V5H4c-.55 0-1 .45-1 1m10 14v-1h7c.55 0 1-.45 1-1s-.45-1-1-1h-7v-1c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1M7 10v1H4c-.55 0-1 .45-1 1s.45 1 1 1h3v1c0 .55.45 1 1 1s1-.45 1-1v-4c0-.55-.45-1-1-1s-1 .45-1 1m14 2c0-.55-.45-1-1-1h-9v2h9c.55 0 1-.45 1-1m-5-3c.55 0 1-.45 1-1V7h3c.55 0 1-.45 1-1s-.45-1-1-1h-3V4c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1"})),li=me(e.jsx("path",{d:"M16 13c3.09-2.81 6-5.44 6-7.7C22 3.45 20.55 2 18.7 2c-1.04 0-2.05.49-2.7 1.25C15.34 2.49 14.34 2 13.3 2 11.45 2 10 3.45 10 5.3c0 2.26 2.91 4.89 6 7.7m-2.7-9c.44 0 .89.21 1.18.55L16 6.34l1.52-1.79c.29-.34.74-.55 1.18-.55.74 0 1.3.56 1.3 1.3 0 1.12-2.04 3.17-4 4.99-1.96-1.82-4-3.88-4-4.99 0-.74.56-1.3 1.3-1.3M19 16h-2c0-1.2-.75-2.28-1.87-2.7L8.97 11H1v11h6v-1.44l7 1.94 8-2.5v-1c0-1.66-1.34-3-3-3M3 20v-7h2v7zm10.97.41L7 18.48V13h1.61l5.82 2.17c.34.13.57.46.57.83 0 0-1.99-.05-2.3-.15l-2.38-.79-.63 1.9 2.38.79c.51.17 1.04.26 1.58.26H19c.39 0 .74.23.9.56z"})),ci={width:24,height:24,body:'<path fill="currentColor" d="M4.975 15q-.425 0-.7-.288T4 14q0-.425.288-.713T5 13h14.025q.425 0 .7.288T20 14q0 .425-.288.713T19 15H4.975Zm0 4q-.425 0-.7-.288T4 18q0-.425.288-.713T5 17h14.025q.425 0 .7.288T20 18q0 .425-.288.713T19 19H4.975Zm0-8q-.425 0-.7-.288T4 10q0-.425.288-.713T5 9h14.025q.425 0 .7.288T20 10q0 .425-.288.713T19 11H4.975Zm0-4q-.425 0-.7-.288T4 6q0-.425.288-.713T5 5h14.025q.425 0 .7.288T20 6q0 .425-.288.713T19 7H4.975Z"/>'};function On({label:_="",disabled:j=!1,required:P=!1,initialValue:R="",onChange:k=()=>{},style:y={},onSubmit:x=()=>{},triggers:o=[],options:f=[],formatterBeforeSubmit:p=i=>i.join(","),helperText:u="",placeholder:t="",renderImage:a=()=>null,renderLabel:r=()=>"",filterKeys:n=["name"],noEmpty:s=!1,...c}){const[i,l]=D.useState(!1),[d,h]=D.useState(!1),[g,w]=D.useState(""),S=D.useRef(null),[m,v]=D.useState(R),[b,C]=D.useState(m),A=D.useMemo(()=>{if(!f)return{};const H={};return f.forEach(I=>{H[I.code]=I}),H},[f]),$=()=>{if(!f)return[];if(!g)return f.map(I=>I.code);const H=new RegExp(g.toLowerCase());return f.filter(I=>{for(let N=0;N<n.length;N++){const Z=n[N];if(H.test(I[Z]?.toLowerCase()))return!0}return!1}).map(I=>I.code)},q=async()=>{h(!0);try{await x(typeof p=="function"?p(b):b)===!1?C(m):s&&!b.length?(C(R),v(R)):(C(b),v(b))}catch{C(m)}finally{h(!1),l(!1)}},M=(H,I)=>{if(!Array.isArray(I)){C([]),k([]);return}const N=I.filter(Z=>A[Z]);if(!N.length){C([]),k([]);return}C(N),k(N)},U=H=>{H.stopPropagation(),l(!0),setTimeout(()=>{if(S.current){const I=S.current.querySelector("input");I&&I.focus()}},500)},z=i?e.jsx($r,{ref:S,options:f,value:b,onChange:M,inputValue:g,onInputChange:(H,I)=>{w(I)},fullWidth:!0,multiple:!0,variant:"outlined",margin:"dense",filterOptions:$,getOptionLabel:H=>A[H]?.name,renderInput:H=>e.jsx(W,{...H,label:"",placeholder:t}),renderOption:(H,I)=>{const N=b.indexOf(I)!==-1;return D.createElement(di,{component:"li",...H,key:I},a(A[I]||{}),e.jsx(O,{sx:{"& > img":{mr:2,flexShrink:0}},style:{flex:1,fontWeight:N?"700":"normal"},children:r(I,A[I])||A[I]?.name}),e.jsx(O,{component:Gt,sx:{opacity:.5,width:18,height:18},style:{visibility:N?"visible":"hidden"}}))},...c,slots:{popper:ui}}):e.jsx(O,{className:"form-item-input slot",onClick:U,style:{whiteSpace:"pre-wrap",cursor:"text"},sx:{px:1},children:b.filter(H=>f.some(I=>I.code===H)).map(H=>e.jsx(Ke,{label:f.find(I=>I.code===H).name,style:{marginRight:8},size:"small"},H))});return e.jsx(vr,{className:"form",style:y,children:e.jsxs(O,{className:"form-item",children:[e.jsxs(O,{className:"form-item-label",children:[_,P&&e.jsx(br,{})]}),e.jsxs(O,{className:"form-item-body",children:[e.jsx(O,{className:"form-item-input",children:z}),i?e.jsx(O,{className:"form-item-action",children:e.jsxs(e.Fragment,{children:[e.jsx(ue,{"data-cy":"schema-form-item-confirm",onClick:q,disabled:j||d,size:"large",children:d?e.jsx(it,{size:24}):e.jsx(Ar,{})}),e.jsx(ue,{"data-cy":"schema-form-item-cancel",onClick:()=>{C(m),l(!1)},disabled:j||d,size:"large",children:e.jsx(Gt,{})})]})}):null]}),i&&u&&e.jsx(cn,{children:u})]})})}On.propTypes={style:T.object,onSubmit:T.func,onChange:T.func,label:T.string,initialValue:T.string,required:T.bool,disabled:T.bool,triggers:T.array,options:T.array,helperText:T.string,formatterBeforeSubmit:T.func,placeholder:T.string,renderImage:T.func,filterKeys:T.arrayOf(T.string),noEmpty:T.bool,renderLabel:T.func};const di=je.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c5 as Y,b as W,r as o,c6 as R,am as U,j as e,o as k,bE as F,c7 as J,p as X,ab as K,c8 as $,Q as Z,bN as y,w as ee,aU as B,bs as w,J as v,bu as j,bw as ne,bx as V,q as L,C as se}from"./index-
|
|
1
|
+
import{c5 as Y,b as W,r as o,c6 as R,am as U,j as e,o as k,bE as F,c7 as J,p as X,ab as K,c8 as $,Q as Z,bN as y,w as ee,aU as B,bs as w,J as v,bu as j,bw as ne,bx as V,q as L,C as se}from"./index-xKewGzjC.js";import{f as ae}from"./index-BojVbZw0.js";import{v as D}from"./index-CUh73CTd.js";import{M as q}from"./metric-DhxuLAOD.js";import{C as M}from"./click-to-copy-B-4XSjp3.js";import"./CardContent-DNvyDSsD.js";var te=Y(function(s,d,r){return s+(r?" ":"")+d.toLowerCase()});const O=o.createContext({}),{Provider:re,Consumer:ge}=O;function oe({children:s}){const{api:d,info:r}=W(),[p,i]=o.useState(null),[u,x]=o.useState(!1),[l,t]=o.useState([]),a=4,h=async({silent:c=!0,retries:f=a}={})=>{c||x(!0);try{i(null);const{users:m}=await d.getUsers({input:{teamDid:r.did,paging:{pageSize:100}}});x(!1),t(m)}catch(m){f>0?setTimeout(()=>h({silent:c,retries:f-1}),1e3):(x(!1),i(m))}};o.useEffect(()=>{h({silent:!1})},[]),R(U.TeamEvents.userAdded,({teamDid:c})=>{c===r.did&&h()}),R(U.TeamEvents.userRemoved,({teamDid:c,user:{did:f}})=>{c===r.did&&t(m=>m.filter(g=>g.did!==f))}),R(U.TeamEvents.userUpdated,({teamDid:c})=>{c===r.did&&h()});const N={loading:u,error:p,users:l,refresh:h};return e.jsx(re,{value:{users:N},children:s})}function ie(){const{users:s}=o.useContext(O);return s}const b={oneSecond:1,oneMin:60,oneHour:3600,oneDay:1440*60},le=(s,d)=>{const[r,p]=o.useState(0),i=l=>l>=b.oneDay?b.oneDay:l>=b.oneHour?b.oneHour:l>=b.oneMin?b.oneMin:b.oneSecond,[u,x]=o.useState(i(s/1e3));return o.useEffect(()=>{const l=setInterval(()=>{p(r+u);const t=i(s/1e3+r+u);u!==t&&x(t)},u*1e3);return()=>clearInterval(l)},[u,r]),o.useEffect(()=>{p(0),x(i(s/1e3))},[s]),d(s+r*1e3)};k.number.isRequired,k.func;const ce=async s=>{const d=await s.getNodeEnv();return Object.assign({},d.info||{})};k.number.isRequired;k.string.isRequired,k.string.isRequired,k.string.isRequired;function me(){const{info:s,api:d,loading:r}=W(),{data:p,externalData:i,paging:u,externalPaging:x}=F(),{users:l}=ie(),t=J(()=>ce(d)),{t:a,locale:h}=o.useContext(X),N=K(),c=le(+new Date-s.startAt,m=>{const g={compact:!0,verbose:!0,locale:V(h)};return ne(m,g)});let f=null;if(r)f=e.jsx(se,{});else{const m=[{name:a("dashboard.nodeDid"),value:e.jsx($,{did:s.did,showQrcode:!0})}];s.nodeOwner&&m.push({name:a("dashboard.ownerDid"),value:e.jsx($,{did:s.nodeOwner.did,showQrcode:!0})});let g=[];s.launcher&&(g=[{name:a("common.did"),value:e.jsx($,{did:s.launcher.did,showQrcode:!0})},{name:a("common.type"),value:s.launcher.type},{name:a("launcher.provider"),value:s.launcher.provider},{name:a("launcher.adminUrl"),value:e.jsx(Z,{target:"_blank",href:s.launcher.url,underline:"hover",children:s.launcher.url})}]);const P=(n,_)=>!n&&!_?"-":n==="-"?n:!_||_==="-"?e.jsxs(v,{className:"ip-item",children:[e.jsx(y,{children:"IPV4"}),e.jsx(M,{children:n})]}):e.jsxs(v,{component:"ul",children:[e.jsxs("li",{className:"ip-item",children:[e.jsx(y,{children:"IPV4"}),e.jsx(M,{children:n})]}),e.jsxs("li",{className:"ip-item",children:[e.jsx(y,{children:"IPV6"}),e.jsx(M,{children:_})]})]}),Q=()=>{const n=[{name:`${a("common.internalIp")}`,value:P(t.value.ip.internalV4,t.value.ip.internalV6)},{name:`${a("common.externalIp")}`,value:P(t.value.ip.externalV4,t.value.ip.externalV6)}];return t.value.docker?[]:n},A=t.value?[{name:`${a("common.version")}`,value:s.version},...Q(),{name:`${a("common.os")}`,value:t.value.os},t.value.docker?{name:`${a("common.docker")}`,value:e.jsx(y,{type:"success",children:"Yes"})}:null,t.value.gitpod?{name:`${a("common.gitpod")}`,value:e.jsx(y,{type:"success",children:"Yes"})}:null].filter(Boolean):[];Array.isArray(ee(t,"value.blockletEngines",null))&&t.value.blockletEngines.filter(n=>n.visible&&n.available).forEach(n=>{A.push({name:n.displayName,value:e.jsx(y,{type:"success",children:`${n.version}`||"N/A"})})});const G=l.length,T=l.filter(n=>n.approved).length;let I=G;T&&(I+=`<small><strong>${te(a("common.approved"))} ${T}</strong></small>`);let E=0,C=0;p&&(E=u?.total||p.length,C=p.filter(n=>B.isBlockletRunning(n)).length),Array.isArray(i)&&(E+=x?.total||i.length,C+=i.filter(n=>B.isBlockletRunning(n)).length);let z=E;C&&(z+=`<small>${a("common.running")} ${C}</small>`);const H=[{name:a("common.blocklets"),value:z},{name:a("common.members"),value:I},{name:a("common.uptime"),value:c},{name:a("common.created"),value:ae(new Date(s.createdAt).getTime(),V(h))}];let S=[];t.value&&t.value.disk&&Object.values(t.value.disk).some(n=>n>0)&&(S=[{name:a("common.blockletsStorage"),value:w(t.value.disk.blocklets||0).toUpperCase()},{name:a("common.dataStorage"),value:w(t.value.disk.data||0).toUpperCase()},{name:a("common.logStorage"),value:w(t.value.disk.log||0).toUpperCase()},{name:a("common.cacheStorage"),value:w(t.value.disk.cache||0).toUpperCase()},{name:a("common.coreStorage"),value:w(t.value.disk.app||0).toUpperCase()}]),f=e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"section",children:[e.jsx(v,{className:"section__header",component:"h2",variant:"h4",color:"textPrimary",children:a("common.overview")}),e.jsx(j,{className:"page-metrics",container:!0,spacing:{xs:1,md:2},children:H.map(n=>e.jsx(j,{size:{xl:1.5,lg:3,md:4,sm:12,xs:12},children:e.jsx(q,{...n})},n.name))})]}),S.length>0&&e.jsxs("div",{className:"section",children:[e.jsx(v,{className:"section__header",component:"h2",variant:"h4",color:"textPrimary",children:a("common.storage")}),e.jsx(j,{className:"page-metrics",container:!0,spacing:{xs:1,md:2},children:S.map(n=>e.jsx(j,{size:{xl:1.5,lg:3,md:4,sm:12,xs:12},children:e.jsx(q,{...n})},n.name))})]}),e.jsxs("div",{className:"section",children:[e.jsx(v,{className:"section__header",component:"h2",variant:"h4",color:"textPrimary",children:a("common.meta")}),e.jsxs(j,{className:"page-metrics",container:!0,spacing:{xs:2,sm:3,md:4,lg:5},children:[e.jsxs(j,{size:{lg:6,md:12,sm:12,xs:12},children:[e.jsx(v,{className:"section__header",component:"h3",variant:"h5",color:"textPrimary",children:a("common.dAddress")}),m.map(n=>e.jsx(D,{nameWidth:150,name:n.name,children:n.value},n.name)),g.length>0&&e.jsxs("div",{style:{marginTop:N.spacing(8)},children:[e.jsx(v,{className:"section__header",component:"h3",variant:"h5",color:"textPrimary",children:a("common.launcher")}),g.map(n=>e.jsx(D,{nameWidth:150,name:n.name,children:n.value},n.name))]})]},"address"),e.jsxs(j,{size:{lg:6,md:12,sm:12,xs:12},children:[e.jsx(v,{className:"section__header",component:"h3",variant:"h5",color:"textPrimary",children:a("common.env")}),A.map(n=>e.jsx(D,{valueComponent:"div",nameWidth:150,name:n.name,children:n.value},n.name))]},"environment")]})]})]})}return e.jsx(de,{children:f})}const de=L.main`
|
|
2
2
|
.page-header {
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as G,j as e,r as b,aI as H,cC as Le,J as A,ad as Y,o as y,V as N,U as oe,a3 as je,B as g,cw as ne,c8 as J,aE as ve,d7 as be,bF as At,fD as Lt,fE as Bt,fF as Mt,fG as Be,b6 as $t,cu as W,q as U,aS as F,i as ie,C as E,at as Ke,eX as Et,cI as Ot,dg as Je,ay as qt,fH as ue,fI as _t,H as z,bG as Q,fJ as Wt,fK as Ut,aU as Ht,bz as B,am as Gt,eS as Z,au as O,fL as Ze,M as le,av as _,f8 as ae,bB as re,ev as Vt,as as Se,bj as Qe,fM as Yt,ct as Kt,fN as Jt,fO as Zt,aC as Xe,aF as et,aG as tt,bN as Qt,cv as Xt,dJ as st,ch as es,cx as ts,aB as ss,al as rs,cn as Me,d4 as as,S as ns,fP as os}from"./index-Dtj3cePH.js";import{H as Ce,g as is}from"./index-DtdZa4Ii.js";import{T as ls}from"./html-title-wftxlNic.js";import{a as M}from"./team-cDk0EvPf.js";import{U as cs}from"./ua-parser-D6QF1h5N.js";import{u as ds}from"./use-mobile-xq_yWBax.js";import{O as te}from"./index-UjkYO3io.js";import{w as V,P as rt}from"./permission-B-geZ8jf.js";import{C as ps}from"./Google-CWlHJZAv.js";import{u as us}from"./blocklet-B65NZ0SL.js";import{A as we}from"./Add-CaX-C76B.js";import{y as Te}from"./index-imQtUA1Y.js";import{e as de}from"./edit.svg-088QpjsR.js";import{M as at}from"./TableSearch-C5Kz0G1P.js";import{L as nt}from"./list-header-B3--_6Bl.js";import{i as ms,g as fs}from"./chain-De_ycb3s.js";import{T as ot,a as se}from"./ToggleButtonGroup-BZx2FaaL.js";import{c as xs}from"./lock.svg-Cgo551jB.js";import{t as hs}from"./trim-Diihj-s0.js";const gs=G(e.jsx("path",{d:"m17.6 9.48 1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.22l-1.88 3.24c-2.86-1.21-6.08-1.21-8.94 0L5.65 5.67c-.19-.29-.58-.38-.87-.2-.28.18-.37.54-.22.83L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52M7 15.25c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m10 0c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25"})),$e=G(e.jsx("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"})),it=G(e.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"})),me=G(e.jsx("path",{d:"M20 3H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6v2H8v2h8v-2h-2v-2h6c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"})),ys=G(e.jsx("path",{d:"M20 18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2zM4 6h16v10H4z"})),js=G(e.jsx("path",{d:"M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1m-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m4.5-4H7V4h9z"})),vs=G(e.jsx("path",{d:"M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 1.99-.9 1.99-2L23 6c0-1.1-.9-2-2-2m-2 14H5V6h14z"})),fe=G(e.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m-5 14H4v-4h11zm0-5H4V9h11zm5 5h-4V9h4z"})),pe=s=>b.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...s},b.createElement("path",{d:"M8.438 4.313H8.25a.188.188 0 0 0 .188-.188v.188h7.124v-.188a.19.19 0 0 0 .188.188h-.188V6h1.688V4.125c0-.827-.673-1.5-1.5-1.5h-7.5c-.827 0-1.5.673-1.5 1.5V6h1.688V4.312zM20.25 6H3.75a.75.75 0 0 0-.75.75v.75c0 .103.084.188.188.188h1.415l.579 12.257c.038.8.698 1.43 1.498 1.43h10.64c.802 0 1.46-.628 1.498-1.43l.579-12.258h1.416A.188.188 0 0 0 21 7.5v-.75a.75.75 0 0 0-.75-.75zm-3.11 13.688H6.86l-.567-12h11.414l-.567 12z"}));function bs(s){return!s||typeof s!="string"?"break-all":s.includes(" ")?"break-word":"break-all"}function lt({logo:s="",name:a="",description:l="",size:p=40,variant:c="rounded",sx:u={},className:f="",logoName:n="",tooltip:d=null}){const r={width:p,height:p,...u},o=typeof a=="string"?a:s,i=e.jsxs(H,{direction:"row",spacing:1,className:`info-card-wrapper ${f}`,sx:{alignItems:"center",cursor:d?"pointer":"default"},children:[s?e.jsx(Le,{src:s,alt:n??o,variant:c,sx:r}):e.jsx(Le,{variant:c,sx:r,children:o?.slice(0,1)}),e.jsxs(H,{direction:"column",sx:{alignItems:"flex-start",justifyContent:"space-around",wordBreak:bs(a),minWidth:{xs:100,sm:140}},children:[e.jsx(A,{variant:"body1",component:"div",sx:{color:"text.primary"},children:a}),l&&e.jsx(A,{variant:"subtitle1",sx:{color:"text.secondary"},children:l})]})]});return d?e.jsx(Y,{title:d,placement:"top-start",slotProps:{tooltip:{sx:{bgcolor:t=>t.palette.mode==="dark"?"#2a2e37":"#ffffff",color:t=>t.palette.mode==="dark"?"#ffffff":t.palette.text.primary,boxShadow:"0 2px 10px rgba(0, 0, 0, 0.15)",borderRadius:2,padding:"10px 16px",fontSize:14,maxWidth:400,minWidth:240,wordBreak:"break-word",border:t=>t.palette.mode==="dark"?"1px solid #3a3f48":"1px solid #e0e0e0","& .MuiTooltip-arrow":{color:t=>t.palette.mode==="dark"?"#2a2e37":"#ffffff","&::before":{border:t=>t.palette.mode==="dark"?"1px solid #3a3f48":"1px solid #e0e0e0",backgroundColor:t=>t.palette.mode==="dark"?"#2a2e37":"#ffffff"}}}}},children:i}):i}lt.propTypes={logo:y.string,name:y.oneOfType([y.string,y.node]).isRequired,description:y.oneOfType([y.string,y.node]),size:y.oneOfType([y.number,y.string]),variant:y.oneOf(["square","rounded","circular"]),sx:y.object,className:y.string,logoName:y.string,tooltip:y.oneOfType([y.string,y.node])};function Ss(s){try{if(!s.trim())return{device:{icon:e.jsx(me,{fontSize:"small"}),text:"Unknown Device"},os:{icon:null,text:"Unknown OS"},browser:{icon:e.jsx(fe,{fontSize:"small"}),text:"Unknown Browser"}};const l=new cs(s).getResult();let p="";const c=s.split(/\s+/).find(d=>d.startsWith("arcwallet"));if(c){const d=c.split("/");d.length>1&&Be.coerce(d[1])&&(p=Be.coerce(d[1]).version)}const u=(()=>{const{type:d="",model:r=""}=l.device;return d==="mobile"?{icon:e.jsx(js,{fontSize:"small"}),text:r||"Mobile Device"}:d==="tablet"?{icon:e.jsx(vs,{fontSize:"small"}),text:r||"Tablet"}:{icon:e.jsx(ys,{fontSize:"small"}),text:r||"Desktop"}})(),f=(()=>{const{name:d="",version:r=""}=l.os;return d.toLowerCase().includes("mac")?{icon:e.jsx($e,{fontSize:"small"}),text:`${d} ${r}`}:d.toLowerCase().includes("ios")?{icon:e.jsx($e,{fontSize:"small"}),text:`${d} ${r}`}:d.toLowerCase().includes("android")?{icon:e.jsx(gs,{fontSize:"small"}),text:`${d} ${r}`}:d.toLowerCase().includes("windows")?{icon:e.jsx(me,{fontSize:"small"}),text:`${d} ${r}`}:{icon:null,text:d?`${d} ${r}`:"Unknown OS"}})(),n=(()=>{const{name:d="",version:r=""}=l.browser;return{icon:e.jsx(fe,{fontSize:"small"}),text:d?`${d} ${r}`:"Unknown Browser"}})();return{device:u,os:f,browser:n,...p?{walletVersion:{icon:null,text:p}}:{}}}catch(a){return console.error("Error parsing user agent:",a),{device:{icon:e.jsx(me,{fontSize:"small"}),text:"Unknown Device"},os:{icon:null,text:"Unknown OS"},browser:{icon:e.jsx(fe,{fontSize:"small"}),text:"Unknown Browser"}}}}function ct({ua:s}){const a=Ss(s);return e.jsx(H,{spacing:1,children:Object.entries(a).map(([l,{icon:p,text:c}])=>e.jsxs(g,{sx:{display:"flex",alignItems:"center",gap:1},children:[e.jsx(g,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:p}),e.jsx(A,{variant:"body2",sx:{display:"flex"},children:c})]},l))})}ct.propTypes={ua:y.string.isRequired};const dt=()=>{const{t:s}=N(),a={$all:s("common.all"),owner:"Owner",admin:"Admin",member:"Member",guest:"Guest"};return{SYSTEM_ROLES:a,formatRoleName:p=>{const c=(p||"").toLowerCase();return c.startsWith("$")?a[c]||c.slice(1):a[c]||c}}},Cs=(s,a=!1)=>{const l=a?1:.6;switch(s){case"owner":return`rgba(232, 222, 255, ${l})`;case"admin":return`rgba(227, 242, 253, ${l})`;case"member":return`rgba(232, 245, 233, ${l})`;case"guest":return`rgba(245, 245, 245, ${l})`;default:return`rgba(245, 245, 245, ${l})`}},ws=je(ve)(({role:s})=>({backgroundColor:Cs(s.toLowerCase()),color:"#000000"})),Ts=s=>{switch(s){case"valid":return a=>a.palette.success.light;case"expired":return a=>a.palette.text.disabled;case"revoked":return a=>a.palette.error.light;default:return a=>a.palette.warning.light}},Is=je(ve)(({theme:s,status:a})=>({backgroundColor:Ts(a)(s),color:"#FFFFFF"}));function pt({did:s}){return e.jsx(J,{size:14,responsive:!1,compact:!0,copyable:!1,did:s})}pt.propTypes={did:y.string.isRequired};function ut({timestamp:s,locale:a}){return e.jsx(g,{sx:{minWidth:"100px"},children:e.jsx(ne,{value:s,locale:a})})}ut.propTypes={timestamp:y.number.isRequired,locale:y.string.isRequired};function mt({name:s="",role:a}){const{formatRoleName:l}=dt();return e.jsx(ws,{label:l(s||a),size:"small",role:s||a,sx:{borderRadius:1}})}mt.propTypes={role:y.string.isRequired,name:y.string};function ft({status:s}){const{t:a}=N();return e.jsx(Is,{label:a(`team.passport.statusMap.${s}`),size:"small",status:s,sx:{borderRadius:1}})}ft.propTypes={status:y.string.isRequired};function xt({source:s}){const{t:a}=N();return s?a(`team.passport.sourceMaps.${s}`):"-"}xt.propTypes={source:y.string.isRequired};function ht({user:s,size:a="default",tooltip:l=!1,inService:p=!1}){const{teamDid:c}=M(),u=oe.useMemo(()=>be(s.avatar,c,p),[s.avatar,c,p]),f=oe.useMemo(()=>e.jsx(J,{did:s?.did,compact:!0,responsive:!1,sx:{whiteSpace:"nowrap"},size:12}),[s?.did]),n=At(()=>({...s,avatar:u}),[s,u]);return a==="small"?e.jsx(lt,{variant:"circular",logo:u,name:e.jsx(A,{sx:{maxWidth:320,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},className:"customer-link-name",children:s.fullName||s.email}),...a==="small"?{tooltip:l?e.jsx(J,{did:s?.did}):!1,size:24}:{description:f,size:36}}):e.jsx(Lt,{user:n,avatarSize:a==="small"?24:36,cardType:Mt.Detailed,infoType:Bt.Minimal,sx:{padding:0,border:"none"},showDid:!0,didProps:{compact:!0,responsive:!1},showHoverCard:!1})}ht.propTypes={user:y.object.isRequired,size:y.string,tooltip:y.bool,inService:y.bool};const Ds=oe.memo(ht),Rs=s=>e.jsx(pt,{did:s}),Ie=(s,a)=>e.jsx(mt,{name:s,role:a}),De=s=>e.jsx(ft,{status:s}),gt=(s,a)=>e.jsx(ut,{timestamp:s,locale:a}),ce=s=>e.jsx(xt,{source:s}),Re=(s,a=!1)=>e.jsx(Ds,{user:s,inService:a}),ks=s=>e.jsx(ct,{ua:s}),Ee="info";function yt({createPassportSvg:s,passport:a,onCancel:l,onSwitchPassport:p=()=>{}}){const{t:c}=N(),u=$t({tab:Ee}),f={info:{label:c("common.basicInfo"),value:Ee,component:()=>e.jsx(jt,{passport:a,createPassportSvg:s})},logs:{label:c("common.logs"),value:"logs",component:()=>e.jsx(St,{passport:a})},related:{label:c("team.passport.related"),value:"related",component:()=>e.jsx(Ct,{passport:a,onSwitchPassport:p})}},n=Object.values(f).map(({label:o,value:i})=>({label:o,value:i})).filter(o=>o.value==="related"?a.parentDid:!0),d=f[u.tab]||f.info,r=o=>{u.tab=o};return e.jsx(W,{title:c("common.passport"),onClose:l,open:!0,PaperProps:{style:{maxWidth:800,minHeight:"80vh"}},fullWidth:!0,children:e.jsxs(Ps,{children:[e.jsx(g,{className:"tabs",children:e.jsx(ls,{tabs:n,current:u.tab,onChange:r,scrollButtons:"auto"})}),e.jsx(g,{className:"body",children:e.jsx(d.component,{})})]})})}yt.propTypes={createPassportSvg:y.func.isRequired,passport:y.object.isRequired,onCancel:y.func.isRequired,onSwitchPassport:y.func};const Ps=U(g)`
|
|
1
|
+
import{c as G,j as e,r as b,aI as H,cC as Le,J as A,ad as Y,o as y,V as N,U as oe,a3 as je,B as g,cw as ne,c8 as J,aE as ve,d7 as be,bF as At,fD as Lt,fE as Bt,fF as Mt,fG as Be,b6 as $t,cu as W,q as U,aS as F,i as ie,C as E,at as Ke,eX as Et,cI as Ot,dg as Je,ay as qt,fH as ue,fI as _t,H as z,bG as Q,fJ as Wt,fK as Ut,aU as Ht,bz as B,am as Gt,eS as Z,au as O,fL as Ze,M as le,av as _,f8 as ae,bB as re,ev as Vt,as as Se,bj as Qe,fM as Yt,ct as Kt,fN as Jt,fO as Zt,aC as Xe,aF as et,aG as tt,bN as Qt,cv as Xt,dJ as st,ch as es,cx as ts,aB as ss,al as rs,cn as Me,d4 as as,S as ns,fP as os}from"./index-xKewGzjC.js";import{H as Ce,g as is}from"./index-CwAnYLEW.js";import{T as ls}from"./html-title-9oXf3hnw.js";import{a as M}from"./team-CVCOeAkO.js";import{U as cs}from"./ua-parser-D6QF1h5N.js";import{u as ds}from"./use-mobile-DYOwHeWa.js";import{O as te}from"./index-v6GrH27P.js";import{w as V,P as rt}from"./permission-CtC06VjN.js";import{C as ps}from"./Google-B-qPqki4.js";import{u as us}from"./blocklet--DdX67Y5.js";import{A as we}from"./Add-CWdQuYaD.js";import{y as Te}from"./index-BBF53Q7a.js";import{e as de}from"./edit.svg-DZew8QZd.js";import{M as at}from"./TableSearch-x8t1M7OG.js";import{L as nt}from"./list-header-DqK90OBv.js";import{i as ms,g as fs}from"./chain-DJ1DKYhz.js";import{T as ot,a as se}from"./ToggleButtonGroup-BWiIOB2q.js";import{c as xs}from"./lock.svg-DjIKxYVb.js";import{t as hs}from"./trim-DzuffaGw.js";const gs=G(e.jsx("path",{d:"m17.6 9.48 1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.22l-1.88 3.24c-2.86-1.21-6.08-1.21-8.94 0L5.65 5.67c-.19-.29-.58-.38-.87-.2-.28.18-.37.54-.22.83L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52M7 15.25c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m10 0c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25"})),$e=G(e.jsx("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"})),it=G(e.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"})),me=G(e.jsx("path",{d:"M20 3H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h6v2H8v2h8v-2h-2v-2h6c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"})),ys=G(e.jsx("path",{d:"M20 18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2zM4 6h16v10H4z"})),js=G(e.jsx("path",{d:"M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1m-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m4.5-4H7V4h9z"})),vs=G(e.jsx("path",{d:"M21 4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 1.99-.9 1.99-2L23 6c0-1.1-.9-2-2-2m-2 14H5V6h14z"})),fe=G(e.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m-5 14H4v-4h11zm0-5H4V9h11zm5 5h-4V9h4z"})),pe=s=>b.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...s},b.createElement("path",{d:"M8.438 4.313H8.25a.188.188 0 0 0 .188-.188v.188h7.124v-.188a.19.19 0 0 0 .188.188h-.188V6h1.688V4.125c0-.827-.673-1.5-1.5-1.5h-7.5c-.827 0-1.5.673-1.5 1.5V6h1.688V4.312zM20.25 6H3.75a.75.75 0 0 0-.75.75v.75c0 .103.084.188.188.188h1.415l.579 12.257c.038.8.698 1.43 1.498 1.43h10.64c.802 0 1.46-.628 1.498-1.43l.579-12.258h1.416A.188.188 0 0 0 21 7.5v-.75a.75.75 0 0 0-.75-.75zm-3.11 13.688H6.86l-.567-12h11.414l-.567 12z"}));function bs(s){return!s||typeof s!="string"?"break-all":s.includes(" ")?"break-word":"break-all"}function lt({logo:s="",name:a="",description:l="",size:p=40,variant:c="rounded",sx:u={},className:f="",logoName:n="",tooltip:d=null}){const r={width:p,height:p,...u},o=typeof a=="string"?a:s,i=e.jsxs(H,{direction:"row",spacing:1,className:`info-card-wrapper ${f}`,sx:{alignItems:"center",cursor:d?"pointer":"default"},children:[s?e.jsx(Le,{src:s,alt:n??o,variant:c,sx:r}):e.jsx(Le,{variant:c,sx:r,children:o?.slice(0,1)}),e.jsxs(H,{direction:"column",sx:{alignItems:"flex-start",justifyContent:"space-around",wordBreak:bs(a),minWidth:{xs:100,sm:140}},children:[e.jsx(A,{variant:"body1",component:"div",sx:{color:"text.primary"},children:a}),l&&e.jsx(A,{variant:"subtitle1",sx:{color:"text.secondary"},children:l})]})]});return d?e.jsx(Y,{title:d,placement:"top-start",slotProps:{tooltip:{sx:{bgcolor:t=>t.palette.mode==="dark"?"#2a2e37":"#ffffff",color:t=>t.palette.mode==="dark"?"#ffffff":t.palette.text.primary,boxShadow:"0 2px 10px rgba(0, 0, 0, 0.15)",borderRadius:2,padding:"10px 16px",fontSize:14,maxWidth:400,minWidth:240,wordBreak:"break-word",border:t=>t.palette.mode==="dark"?"1px solid #3a3f48":"1px solid #e0e0e0","& .MuiTooltip-arrow":{color:t=>t.palette.mode==="dark"?"#2a2e37":"#ffffff","&::before":{border:t=>t.palette.mode==="dark"?"1px solid #3a3f48":"1px solid #e0e0e0",backgroundColor:t=>t.palette.mode==="dark"?"#2a2e37":"#ffffff"}}}}},children:i}):i}lt.propTypes={logo:y.string,name:y.oneOfType([y.string,y.node]).isRequired,description:y.oneOfType([y.string,y.node]),size:y.oneOfType([y.number,y.string]),variant:y.oneOf(["square","rounded","circular"]),sx:y.object,className:y.string,logoName:y.string,tooltip:y.oneOfType([y.string,y.node])};function Ss(s){try{if(!s.trim())return{device:{icon:e.jsx(me,{fontSize:"small"}),text:"Unknown Device"},os:{icon:null,text:"Unknown OS"},browser:{icon:e.jsx(fe,{fontSize:"small"}),text:"Unknown Browser"}};const l=new cs(s).getResult();let p="";const c=s.split(/\s+/).find(d=>d.startsWith("arcwallet"));if(c){const d=c.split("/");d.length>1&&Be.coerce(d[1])&&(p=Be.coerce(d[1]).version)}const u=(()=>{const{type:d="",model:r=""}=l.device;return d==="mobile"?{icon:e.jsx(js,{fontSize:"small"}),text:r||"Mobile Device"}:d==="tablet"?{icon:e.jsx(vs,{fontSize:"small"}),text:r||"Tablet"}:{icon:e.jsx(ys,{fontSize:"small"}),text:r||"Desktop"}})(),f=(()=>{const{name:d="",version:r=""}=l.os;return d.toLowerCase().includes("mac")?{icon:e.jsx($e,{fontSize:"small"}),text:`${d} ${r}`}:d.toLowerCase().includes("ios")?{icon:e.jsx($e,{fontSize:"small"}),text:`${d} ${r}`}:d.toLowerCase().includes("android")?{icon:e.jsx(gs,{fontSize:"small"}),text:`${d} ${r}`}:d.toLowerCase().includes("windows")?{icon:e.jsx(me,{fontSize:"small"}),text:`${d} ${r}`}:{icon:null,text:d?`${d} ${r}`:"Unknown OS"}})(),n=(()=>{const{name:d="",version:r=""}=l.browser;return{icon:e.jsx(fe,{fontSize:"small"}),text:d?`${d} ${r}`:"Unknown Browser"}})();return{device:u,os:f,browser:n,...p?{walletVersion:{icon:null,text:p}}:{}}}catch(a){return console.error("Error parsing user agent:",a),{device:{icon:e.jsx(me,{fontSize:"small"}),text:"Unknown Device"},os:{icon:null,text:"Unknown OS"},browser:{icon:e.jsx(fe,{fontSize:"small"}),text:"Unknown Browser"}}}}function ct({ua:s}){const a=Ss(s);return e.jsx(H,{spacing:1,children:Object.entries(a).map(([l,{icon:p,text:c}])=>e.jsxs(g,{sx:{display:"flex",alignItems:"center",gap:1},children:[e.jsx(g,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:p}),e.jsx(A,{variant:"body2",sx:{display:"flex"},children:c})]},l))})}ct.propTypes={ua:y.string.isRequired};const dt=()=>{const{t:s}=N(),a={$all:s("common.all"),owner:"Owner",admin:"Admin",member:"Member",guest:"Guest"};return{SYSTEM_ROLES:a,formatRoleName:p=>{const c=(p||"").toLowerCase();return c.startsWith("$")?a[c]||c.slice(1):a[c]||c}}},Cs=(s,a=!1)=>{const l=a?1:.6;switch(s){case"owner":return`rgba(232, 222, 255, ${l})`;case"admin":return`rgba(227, 242, 253, ${l})`;case"member":return`rgba(232, 245, 233, ${l})`;case"guest":return`rgba(245, 245, 245, ${l})`;default:return`rgba(245, 245, 245, ${l})`}},ws=je(ve)(({role:s})=>({backgroundColor:Cs(s.toLowerCase()),color:"#000000"})),Ts=s=>{switch(s){case"valid":return a=>a.palette.success.light;case"expired":return a=>a.palette.text.disabled;case"revoked":return a=>a.palette.error.light;default:return a=>a.palette.warning.light}},Is=je(ve)(({theme:s,status:a})=>({backgroundColor:Ts(a)(s),color:"#FFFFFF"}));function pt({did:s}){return e.jsx(J,{size:14,responsive:!1,compact:!0,copyable:!1,did:s})}pt.propTypes={did:y.string.isRequired};function ut({timestamp:s,locale:a}){return e.jsx(g,{sx:{minWidth:"100px"},children:e.jsx(ne,{value:s,locale:a})})}ut.propTypes={timestamp:y.number.isRequired,locale:y.string.isRequired};function mt({name:s="",role:a}){const{formatRoleName:l}=dt();return e.jsx(ws,{label:l(s||a),size:"small",role:s||a,sx:{borderRadius:1}})}mt.propTypes={role:y.string.isRequired,name:y.string};function ft({status:s}){const{t:a}=N();return e.jsx(Is,{label:a(`team.passport.statusMap.${s}`),size:"small",status:s,sx:{borderRadius:1}})}ft.propTypes={status:y.string.isRequired};function xt({source:s}){const{t:a}=N();return s?a(`team.passport.sourceMaps.${s}`):"-"}xt.propTypes={source:y.string.isRequired};function ht({user:s,size:a="default",tooltip:l=!1,inService:p=!1}){const{teamDid:c}=M(),u=oe.useMemo(()=>be(s.avatar,c,p),[s.avatar,c,p]),f=oe.useMemo(()=>e.jsx(J,{did:s?.did,compact:!0,responsive:!1,sx:{whiteSpace:"nowrap"},size:12}),[s?.did]),n=At(()=>({...s,avatar:u}),[s,u]);return a==="small"?e.jsx(lt,{variant:"circular",logo:u,name:e.jsx(A,{sx:{maxWidth:320,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},className:"customer-link-name",children:s.fullName||s.email}),...a==="small"?{tooltip:l?e.jsx(J,{did:s?.did}):!1,size:24}:{description:f,size:36}}):e.jsx(Lt,{user:n,avatarSize:a==="small"?24:36,cardType:Mt.Detailed,infoType:Bt.Minimal,sx:{padding:0,border:"none"},showDid:!0,didProps:{compact:!0,responsive:!1},showHoverCard:!1})}ht.propTypes={user:y.object.isRequired,size:y.string,tooltip:y.bool,inService:y.bool};const Ds=oe.memo(ht),Rs=s=>e.jsx(pt,{did:s}),Ie=(s,a)=>e.jsx(mt,{name:s,role:a}),De=s=>e.jsx(ft,{status:s}),gt=(s,a)=>e.jsx(ut,{timestamp:s,locale:a}),ce=s=>e.jsx(xt,{source:s}),Re=(s,a=!1)=>e.jsx(Ds,{user:s,inService:a}),ks=s=>e.jsx(ct,{ua:s}),Ee="info";function yt({createPassportSvg:s,passport:a,onCancel:l,onSwitchPassport:p=()=>{}}){const{t:c}=N(),u=$t({tab:Ee}),f={info:{label:c("common.basicInfo"),value:Ee,component:()=>e.jsx(jt,{passport:a,createPassportSvg:s})},logs:{label:c("common.logs"),value:"logs",component:()=>e.jsx(St,{passport:a})},related:{label:c("team.passport.related"),value:"related",component:()=>e.jsx(Ct,{passport:a,onSwitchPassport:p})}},n=Object.values(f).map(({label:o,value:i})=>({label:o,value:i})).filter(o=>o.value==="related"?a.parentDid:!0),d=f[u.tab]||f.info,r=o=>{u.tab=o};return e.jsx(W,{title:c("common.passport"),onClose:l,open:!0,PaperProps:{style:{maxWidth:800,minHeight:"80vh"}},fullWidth:!0,children:e.jsxs(Ps,{children:[e.jsx(g,{className:"tabs",children:e.jsx(ls,{tabs:n,current:u.tab,onChange:r,scrollButtons:"auto"})}),e.jsx(g,{className:"body",children:e.jsx(d.component,{})})]})})}yt.propTypes={createPassportSvg:y.func.isRequired,passport:y.object.isRequired,onCancel:y.func.isRequired,onSwitchPassport:y.func};const Ps=U(g)`
|
|
2
2
|
margin-top: -16px;
|
|
3
3
|
|
|
4
4
|
.tabs {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,B as g,eJ as ue,q as R,eQ as Q,V as D,r as f,eR as fe,x as v,dz as Me,eS as ze,o as E,av as oe,eT as We,H as I,bB as K,J as $,eU as He,bz as B,cu as Ve,cv as qe,au as Ye,at as xe,C as ge,cY as Qe,cZ as Ke,aA as Je,b as N,p as Xe,cX as M,d as se,g as Ze,eV as re,u as ye,ct as ne,e3 as et,c8 as ae,Q as J,A as we,D as X,as as tt,eW as ke,s as st,am as P,e6 as le,e7 as ot,bK as rt,e5 as nt,et as at,bt as it,aU as lt,ab as ct,cR as dt,y as be,ec as Se,ed as ve,ee as L,ef as je,eg as Re,b5 as Ce,eh as Pe,dn as Te,eX as pt,bq as ce}from"./index-
|
|
1
|
+
import{j as e,B as g,eJ as ue,q as R,eQ as Q,V as D,r as f,eR as fe,x as v,dz as Me,eS as ze,o as E,av as oe,eT as We,H as I,bB as K,J as $,eU as He,bz as B,cu as Ve,cv as qe,au as Ye,at as xe,C as ge,cY as Qe,cZ as Ke,aA as Je,b as N,p as Xe,cX as M,d as se,g as Ze,eV as re,u as ye,ct as ne,e3 as et,c8 as ae,Q as J,A as we,D as X,as as tt,eW as ke,s as st,am as P,e6 as le,e7 as ot,bK as rt,e5 as nt,et as at,bt as it,aU as lt,ab as ct,cR as dt,y as be,ec as Se,ed as ve,ee as L,ef as je,eg as Re,b5 as Ce,eh as Pe,dn as Te,eX as pt,bq as ce}from"./index-xKewGzjC.js";import{t as mt}from"./toLower-DAlWrsru.js";import{a as W,u as ht,B as ut,P as Ee,L as Be}from"./index-CoN0ZC2W.js";import{A as ft,D as ie,u as xt,W as gt,P as yt,a as Ue,L as De}from"./wait-container-Bye2r7zn.js";import{g as Z}from"./get-safe-url-D0G1hOGs.js";import{u as de}from"./useLocalStorage-DnNTBdw-.js";import{L as wt}from"./Launch-BkYfxaBZ.js";import{D as kt}from"./DeleteOutline-BEPb1x3R.js";import{a as bt,i as St}from"./spaces-a6SrjF6x.js";import{I as vt}from"./MoreVert-BcrwhM_q.js";import{y as jt}from"./index-BBF53Q7a.js";import"./url-join-D7ip8DEU.js";import"./use-mobile-DYOwHeWa.js";import"./api-CxCPrjQQ.js";function Oe({children:s,selected:a=!1}){return e.jsxs(Rt,{children:[s,e.jsx(g,{className:`selected-container ${a?"selected":""}`,children:e.jsx(ue,{className:"selected-icon"})})]})}const Rt=R(g)`
|
|
2
2
|
position: relative;
|
|
3
3
|
|
|
4
4
|
.selected-container {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as f,j as s,C as d,u as x,h as v,i as C,k as u,s as j,W as I,B as P,l as S}from"./index-
|
|
1
|
+
import{b as f,j as s,C as d,u as x,h as v,i as C,k as u,s as j,W as I,B as P,l as S}from"./index-xKewGzjC.js";import{I as k}from"./invitation-dGyOhh2Q.js";import{g as R}from"./get-safe-url-D0G1hOGs.js";import"./index-Bu9TGJWU.js";import"./index-zK8Hx4RO.js";import"./emotion-cache.browser.esm-C-o7-kYP.js";import"./sdk-ChqUwCFm.js";import"./wrap-locale-BmqOK-7R.js";import"./index-DmoyVTvU.js";function T(n){const{searchParams:i}=new URL(window.location.href),g=x(),{api:a,session:r}=v(),{info:l}=f(),c=i.get("redirect"),p=i.get("id"),o=C(async()=>{if(!p)return null;const{data:t}=await a.get("/api/invitation",{params:{inviteId:p,mode:"issue-passport"}});return t}),m=u(()=>{if(o.error)throw o.error;return o?.data}),h=u(async(t,w=e=>e)=>{t&&(t.sessionToken&&j(w(t.sessionToken)),await r.refresh()),setTimeout(()=>{if(c){const e=decodeURIComponent(c);e.startsWith(I)?g(e,{replace:!0}):window.location.href=R(e)}else window.location.href=window.env.pathPrefix||"/"},50)});return o.loading?s.jsx(d,{}):s.jsx(P,{className:"page-invite",sx:{width:"100vw",height:"100%",minHeight:"100vh",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"#f6f8fa",overflow:"auto",padding:"20px"},children:s.jsx(k,{...n,action:"issue-passport",getDataFn:m,createPassportSvg:t=>S(t,l),checkFn:a.get,onLoginSuccess:h,passportColor:"default",onLogin:r.login})})}function B(){return f().loading?s.jsx(d,{}):s.jsx(T,{})}export{B as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as I,ju as hl,aP as Fo,da as gl,c3 as Bo,db as bl,m as qo,c as Lr,j as i,jv as yl,gy as xl,k as Ct,gt as or,ah as Je,jw as oi,jx as vl,jy as wl,jz as Sl,jA as oo,jB as jl,jC as El,jD as Tl,jE as so,jF as Cl,jG as Pl,iu as kl,jH as Il,dy as Rl,dx as io,cQ as Vn,cP as Dl,eF as Al,jI as Ol,i5 as _l,V as Ce,aS as Le,b6 as dt,jJ as si,H as Me,bB as qe,o as b,ab as ao,aE as ii,eP as ai,d as xt,B,a7 as Ml,bf as Nl,bd as Ll,bq as ft,jK as li,S as Tr,ac as Cr,gu as ci,hJ as Fl,cu as tt,au as ct,fe as Bl,aB as Ue,ch as Lt,al as lo,co as ql,cp as Ul,cq as $l,cr as zl,cv as Fr,J as ke,ay as co,av as Ft,jL as Vl,at as Tt,aY as Vt,aZ as Wt,a2 as ui,cd as ot,cf as ae,ca as Wl,a3 as _e,bR as Pr,a1 as di,a4 as pt,a5 as Rt,M as kt,be as fi,dP as Kl,iF as Br,fb as pi,bF as et,dg as ze,F as sr,aD as mi,aC as Wn,dn as uo,fh as Hl,jM as kr,fQ as Yl,eX as ir,bz as Ve,C as yt,gv as Gl,w as Kn,v as Xl,A as Zl,D as Ql,q as Ye,p as dr,as as fr,bG as qt,jN as Jl,fg as ec,K as tc,fP as hr,ad as rt,ai as rc,jO as nc,dr as oc,jP as hi,jQ as Ir,af as ar,d8 as Uo,c8 as lr,bc as sc,i as gi,ao as ic,iz as ac,fD as fo,fE as bi,fF as po,P as gr,am as Pe,X as lc,d7 as yi,gO as xi,jR as vi,cw as cr,f8 as cc,i7 as wi,az as uc,aA as dc,gG as fc,di as Si,jS as pc,dt as $o,x as mc,W as hc,jT as gc,bI as bc,cx as yc,bt as xc}from"./index-Dtj3cePH.js";import{A as Ut}from"./Add-CaX-C76B.js";import{V as vc}from"./ViewList-D-osXRf3.js";import{c as wc,H as mo,g as Sc}from"./index-DtdZa4Ii.js";import{r as ji}from"./index-DTafCIMf.js";import{O as zo}from"./index-UjkYO3io.js";import{a as We}from"./team-cDk0EvPf.js";import{u as Ei}from"./blocklet-B65NZ0SL.js";import{S as Ti}from"./Search-z9bCqmrZ.js";import{y as qr}from"./index-imQtUA1Y.js";import{u as jc,C as Zt}from"./index.esm-KhX4wp--.js";import{S as Ec}from"./Google-CWlHJZAv.js";import{A as Tc,a as br}from"./Autocomplete-CoHLc9sw.js";import{U as Cc}from"./UnfoldMore-B28R2WSj.js";import{E as Pc,F as kc}from"./federated-detail-dialog-FIBSqJbV.js";import{P as It}from"./permission-B-geZ8jf.js";import{C as Ur}from"./click-to-copy-BgfWbRfM.js";import{s as vt,p as Ic,S as Rc,d as ht,q as Ci,f as pr,t as Pi,w as $r,x as ki,y as ho,z as Ii,B as Ri,E as Rr,M as rr,F as Di,G as Vo,H as nr,v as Dc,I as Ac,J as Wo,K as Oc,a as _c,b as Mc,P as Nc,c as Lc,C as Fc,N as Bc,O as Dr,Q as Nt,R as Ar,r as Ko,T as Ho,U as qc,V as Uc,e as go,g as $c,h as zc,W as Vc,j as Wc,X as Kc,Y as Hc,Z as Yc,_ as yr,k as Bt,l as Ai,m as Gc,$ as Hn,n as Oi,a0 as Xc,a1 as Yo,o as Zc,a2 as Qc,a3 as Jc,D as eu,L as tu,A as ru}from"./AdapterDayjs-DWO9WIHe.js";import{u as st}from"./useThemeProps-9zV1AZbb.js";import{b as Go,a as nu,t as ou,T as su}from"./html-title-wftxlNic.js";import{v as Ge}from"./index-TLvz3wdj.js";import{u as iu,V as au}from"./Verified-TZI1j-Va.js";import{D as lu}from"./DeleteOutline-7b3f7PEm.js";import{V as cu}from"./Visibility-BVnDeVk-.js";import{E as Xo}from"./ErrorOutline-DsKZTEd8.js";import{N as uu}from"./index-DrnnoDEf.js";import{R as _i,b as Er}from"./url-evaluation-D49POKf_.js";import{b as Yn}from"./sdk-Bx_WDGD1.js";import{U as du}from"./actions-TKbswZRW.js";import{u as Mi}from"./use-mobile-xq_yWBax.js";import{D as fu}from"./Delete-B-jFRJwJ.js";import{A as pu}from"./actions-rnAVohGM.js";import{S as mu}from"./shorten-label-DmKAPPTX.js";import{U as Zr}from"./ua-parser-D6QF1h5N.js";import{S as hu}from"./simple-select-CHH0_oB5.js";const gu=wc(I.useLayoutEffect);var Zo={},Qo;function bu(){return Qo||(Qo=1,(function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(p){try{return p.defaultView&&p.defaultView.frameElement||null}catch{return null}}var t=(function(p){for(var m=p,y=e(m);y;)m=y.ownerDocument,y=e(m);return m})(window.document),r=[],n=null,o=null;function c(p){this.time=p.time,this.target=p.target,this.rootBounds=T(p.rootBounds),this.boundingClientRect=T(p.boundingClientRect),this.intersectionRect=T(p.intersectionRect||v()),this.isIntersecting=!!p.intersectionRect;var m=this.boundingClientRect,y=m.width*m.height,C=this.intersectionRect,E=C.width*C.height;y?this.intersectionRatio=Number((E/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(p,m){var y=m||{};if(typeof p!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=p,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(C){return C.value+C.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(p,m){!p||!m?o=v():o=S(p,m),r.forEach(function(y){y._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(p){var m=this._observationTargets.some(function(y){return y.element==p});if(!m){if(!(p&&p.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:p,entry:null}),this._monitorIntersections(p.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(p){this._observationTargets=this._observationTargets.filter(function(m){return m.element!=p}),this._unmonitorIntersections(p.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var p=this._queuedEntries.slice();return this._queuedEntries=[],p},s.prototype._initThresholds=function(p){var m=p||[0];return Array.isArray(m)||(m=[m]),m.sort().filter(function(y,C,E){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==E[C-1]})},s.prototype._parseRootMargin=function(p){var m=p||"0px",y=m.split(/\s+/).map(function(C){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(C);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(p){var m=p.defaultView;if(m&&this._monitoringDocuments.indexOf(p)==-1){var y=this._checkForIntersections,C=null,E=null;this.POLL_INTERVAL?C=m.setInterval(y,this.POLL_INTERVAL):(u(m,"resize",y,!0),u(p,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in m&&(E=new m.MutationObserver(y),E.observe(p,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(p),this._monitoringUnsubscribes.push(function(){var D=p.defaultView;D&&(C&&D.clearInterval(C),f(D,"resize",y,!0)),f(p,"scroll",y,!0),E&&E.disconnect()});var j=this.root&&(this.root.ownerDocument||this.root)||t;if(p!=j){var P=e(p);P&&this._monitorIntersections(P.ownerDocument)}}},s.prototype._unmonitorIntersections=function(p){var m=this._monitoringDocuments.indexOf(p);if(m!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,C=this._observationTargets.some(function(P){var D=P.element.ownerDocument;if(D==p)return!0;for(;D&&D!=y;){var M=e(D);if(D=M&&M.ownerDocument,D==p)return!0}return!1});if(!C){var E=this._monitoringUnsubscribes[m];if(this._monitoringDocuments.splice(m,1),this._monitoringUnsubscribes.splice(m,1),E(),p!=y){var j=e(p);j&&this._unmonitorIntersections(j.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var p=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var m=0;m<p.length;m++)p[m]()},s.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var p=this._rootIsInDom(),m=p?this._getRootRect():v();this._observationTargets.forEach(function(y){var C=y.element,E=x(C),j=this._rootContainsTarget(C),P=y.entry,D=p&&j&&this._computeTargetAndRootIntersection(C,E,m),M=null;this._rootContainsTarget(C)?(!n||this.root)&&(M=m):M=v();var U=y.entry=new c({time:l(),target:C,boundingClientRect:E,rootBounds:M,intersectionRect:D});P?p&&j?this._hasCrossedThreshold(P,U)&&this._queuedEntries.push(U):P&&P.isIntersecting&&this._queuedEntries.push(U):this._queuedEntries.push(U)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(p,m,y){if(window.getComputedStyle(p).display!="none"){for(var C=m,E=d(p),j=!1;!j&&E;){var P=null,D=E.nodeType==1?window.getComputedStyle(E):{};if(D.display=="none")return null;if(E==this.root||E.nodeType==9)if(j=!0,E==this.root||E==t)n&&!this.root?!o||o.width==0&&o.height==0?(E=null,P=null,C=null):P=o:P=y;else{var M=d(E),U=M&&x(M),$=M&&this._computeTargetAndRootIntersection(M,U,y);U&&$?(E=M,P=S(U,$)):(E=null,C=null)}else{var re=E.ownerDocument;E!=re.body&&E!=re.documentElement&&D.overflow!="visible"&&(P=x(E))}if(P&&(C=h(P,C)),!C)break;E=E&&d(E)}return C}},s.prototype._getRootRect=function(){var p;if(this.root&&!g(this.root))p=x(this.root);else{var m=g(this.root)?this.root:t,y=m.documentElement,C=m.body;p={top:0,left:0,right:y.clientWidth||C.clientWidth,width:y.clientWidth||C.clientWidth,bottom:y.clientHeight||C.clientHeight,height:y.clientHeight||C.clientHeight}}return this._expandRectByRootMargin(p)},s.prototype._expandRectByRootMargin=function(p){var m=this._rootMarginValues.map(function(C,E){return C.unit=="px"?C.value:C.value*(E%2?p.width:p.height)/100}),y={top:p.top-m[0],right:p.right+m[1],bottom:p.bottom+m[2],left:p.left-m[3]};return y.width=y.right-y.left,y.height=y.bottom-y.top,y},s.prototype._hasCrossedThreshold=function(p,m){var y=p&&p.isIntersecting?p.intersectionRatio||0:-1,C=m.isIntersecting?m.intersectionRatio||0:-1;if(y!==C)for(var E=0;E<this.thresholds.length;E++){var j=this.thresholds[E];if(j==y||j==C||j<y!=j<C)return!0}},s.prototype._rootIsInDom=function(){return!this.root||w(t,this.root)},s.prototype._rootContainsTarget=function(p){var m=this.root&&(this.root.ownerDocument||this.root)||t;return w(m,p)&&(!this.root||m==p.ownerDocument)},s.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},s.prototype._unregisterInstance=function(){var p=r.indexOf(this);p!=-1&&r.splice(p,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(p,m){var y=null;return function(){y||(y=setTimeout(function(){p(),y=null},m))}}function u(p,m,y,C){typeof p.addEventListener=="function"?p.addEventListener(m,y,C):typeof p.attachEvent=="function"&&p.attachEvent("on"+m,y)}function f(p,m,y,C){typeof p.removeEventListener=="function"?p.removeEventListener(m,y,C):typeof p.detachEvent=="function"&&p.detachEvent("on"+m,y)}function h(p,m){var y=Math.max(p.top,m.top),C=Math.min(p.bottom,m.bottom),E=Math.max(p.left,m.left),j=Math.min(p.right,m.right),P=j-E,D=C-y;return P>=0&&D>=0&&{top:y,bottom:C,left:E,right:j,width:P,height:D}||null}function x(p){var m;try{m=p.getBoundingClientRect()}catch{}return m?(m.width&&m.height||(m={top:m.top,right:m.right,bottom:m.bottom,left:m.left,width:m.right-m.left,height:m.bottom-m.top}),m):v()}function v(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function T(p){return!p||"x"in p?p:{top:p.top,y:p.top,bottom:p.bottom,left:p.left,x:p.left,right:p.right,width:p.width,height:p.height}}function S(p,m){var y=m.top-p.top,C=m.left-p.left;return{top:y,left:C,height:m.height,width:m.width,bottom:y+m.height,right:C+m.width}}function w(p,m){for(var y=m;y;){if(y==p)return!0;y=d(y)}return!1}function d(p){var m=p.parentNode;return p.nodeType==9&&p!=t?e(p):(m&&m.assignedSlot&&(m=m.assignedSlot.parentNode),m&&m.nodeType==11&&m.host?m.host:m)}function g(p){return p&&p.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=c})()),Zo}bu();function yu(e,t){var r={},n=r.callback,o=hl(r,["callback"]),c=Fo(I.useState(),2),s=c[0],l=c[1],a=Fo(I.useState(),2),u=a[0],f=a[1];return gl(function(){var h=Array.isArray(e)?e:[e],x=h.map(function(T){return Bo(T)}).filter(Boolean);if(x.length){var v=new IntersectionObserver(function(T){var S,w;try{for(var d=bl(T),g=d.next();!g.done;g=d.next()){var p=g.value;f(p.intersectionRatio),l(p.isIntersecting),n?.(p)}}catch(m){S={error:m}}finally{try{g&&!g.done&&(w=d.return)&&w.call(d)}finally{if(S)throw S.error}}},qo(qo({},o),{root:Bo(void 0)}));return x.forEach(function(T){return v.observe(T)}),function(){v.disconnect()}}},[void 0,void 0,n],e),[s,u]}const xu=Lr(i.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),zr=Lr([i.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),i.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),vu=Lr(i.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),wu=Lr(i.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})),Ni=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119a.29.29 0 0 0 .289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12a.29.29 0 0 0 .288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),I.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.938}),I.createElement("rect",{x:15.313,y:14.063,width:7.5,height:1.875,rx:.938,transform:"rotate(-90 15.313 14.063)"})),Li=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{d:"M1.25 2.709c0-.46.373-.834.834-.834h12.255c.46 0 .834.373.834.834v6.607a.834.834 0 1 1-1.668 0V3.542H2.917v13.214h6.407a.834.834 0 1 1 0 1.668h-7.24a.834.834 0 0 1-.834-.834V2.71z"}),I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.211 7.92a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.834zm-2.584.916a2.584 2.584 0 1 1 5.169 0 2.584 2.584 0 0 1-5.17 0zm0 4.377c0-.46.373-.833.834-.833h3.501a.834.834 0 0 1 0 1.667H6.461a.834.834 0 0 1-.834-.834zm10.013-1.9c.215 0 .41.121.505.313l1.033 2.092 2.31.338a.563.563 0 0 1 .31.96l-1.67 1.627.394 2.3a.563.563 0 0 1-.816.592l-2.065-1.086-2.066 1.086a.562.562 0 0 1-.816-.593l.394-2.299-1.67-1.627a.563.563 0 0 1 .31-.96l2.31-.338 1.033-2.092a.562.562 0 0 1 .505-.313zm0 1.833-.659 1.335a.563.563 0 0 1-.423.308l-1.474.215 1.066 1.04a.56.56 0 0 1 .162.498l-.251 1.467 1.318-.694a.563.563 0 0 1 .524 0l1.318.694-.252-1.467a.563.563 0 0 1 .162-.498l1.067-1.04-1.475-.215a.563.563 0 0 1-.423-.308l-.66-1.335z"})),Fi=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119a.29.29 0 0 0 .289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12a.29.29 0 0 0 .288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),I.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.938})),Su=e=>I.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("g",{clipPath:"url(#a)"},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281V14.4a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281V14.4a4.091 4.091 0 0 0-4.092-4.091H7.367z"})),I.createElement("defs",null,I.createElement("clipPath",{id:"a"},I.createElement("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})))),Bi=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"}));var Qr={},Jr,Jo;function ju(){return Jo||(Jo=1,Jr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Jr}var en,es;function Eu(){if(es)return en;es=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,l){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;l=l||1;var a=s.slice(0,l),u=s.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(s){try{return decodeURIComponent(s)}catch{for(var l=s.match(t)||[],a=1;a<l.length;a++)s=n(l,a).join(""),l=s.match(t)||[];return s}}function c(s){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(s);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(s)}l["%C2"]="�";for(var f=Object.keys(l),h=0;h<f.length;h++){var x=f[h];s=s.replace(new RegExp(x,"g"),l[x])}return s}return en=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return c(s)}},en}var tn,ts;function Tu(){return ts||(ts=1,tn=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),tn}var rn,rs;function Cu(){return rs||(rs=1,rn=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var s=n[c],l=e[s];(o?t.indexOf(s)!==-1:t(s,l,e))&&(r[s]=l)}return r}),rn}var ns;function Pu(){return ns||(ns=1,(function(e){const t=ju(),r=Eu(),n=Tu(),o=Cu(),c=d=>d==null;function s(d){switch(d.arrayFormat){case"index":return g=>(p,m)=>{const y=p.length;return m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,[u(g,d),"[",y,"]"].join("")]:[...p,[u(g,d),"[",u(y,d),"]=",u(m,d)].join("")]};case"bracket":return g=>(p,m)=>m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,[u(g,d),"[]"].join("")]:[...p,[u(g,d),"[]=",u(m,d)].join("")];case"comma":case"separator":return g=>(p,m)=>m==null||m.length===0?p:p.length===0?[[u(g,d),"=",u(m,d)].join("")]:[[p,u(m,d)].join(d.arrayFormatSeparator)];default:return g=>(p,m)=>m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,u(g,d)]:[...p,[u(g,d),"=",u(m,d)].join("")]}}function l(d){let g;switch(d.arrayFormat){case"index":return(p,m,y)=>{if(g=/\[(\d*)\]$/.exec(p),p=p.replace(/\[\d*\]$/,""),!g){y[p]=m;return}y[p]===void 0&&(y[p]={}),y[p][g[1]]=m};case"bracket":return(p,m,y)=>{if(g=/(\[\])$/.exec(p),p=p.replace(/\[\]$/,""),!g){y[p]=m;return}if(y[p]===void 0){y[p]=[m];return}y[p]=[].concat(y[p],m)};case"comma":case"separator":return(p,m,y)=>{const C=typeof m=="string"&&m.includes(d.arrayFormatSeparator),E=typeof m=="string"&&!C&&f(m,d).includes(d.arrayFormatSeparator);m=E?f(m,d):m;const j=C||E?m.split(d.arrayFormatSeparator).map(P=>f(P,d)):m===null?m:f(m,d);y[p]=j};default:return(p,m,y)=>{if(y[p]===void 0){y[p]=m;return}y[p]=[].concat(y[p],m)}}}function a(d){if(typeof d!="string"||d.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(d,g){return g.encode?g.strict?t(d):encodeURIComponent(d):d}function f(d,g){return g.decode?r(d):d}function h(d){return Array.isArray(d)?d.sort():typeof d=="object"?h(Object.keys(d)).sort((g,p)=>Number(g)-Number(p)).map(g=>d[g]):d}function x(d){const g=d.indexOf("#");return g!==-1&&(d=d.slice(0,g)),d}function v(d){let g="";const p=d.indexOf("#");return p!==-1&&(g=d.slice(p)),g}function T(d){d=x(d);const g=d.indexOf("?");return g===-1?"":d.slice(g+1)}function S(d,g){return g.parseNumbers&&!Number.isNaN(Number(d))&&typeof d=="string"&&d.trim()!==""?d=Number(d):g.parseBooleans&&d!==null&&(d.toLowerCase()==="true"||d.toLowerCase()==="false")&&(d=d.toLowerCase()==="true"),d}function w(d,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),a(g.arrayFormatSeparator);const p=l(g),m=Object.create(null);if(typeof d!="string"||(d=d.trim().replace(/^[?#&]/,""),!d))return m;for(const y of d.split("&")){if(y==="")continue;let[C,E]=n(g.decode?y.replace(/\+/g," "):y,"=");E=E===void 0?null:["comma","separator"].includes(g.arrayFormat)?E:f(E,g),p(f(C,g),E,m)}for(const y of Object.keys(m)){const C=m[y];if(typeof C=="object"&&C!==null)for(const E of Object.keys(C))C[E]=S(C[E],g);else m[y]=S(C,g)}return g.sort===!1?m:(g.sort===!0?Object.keys(m).sort():Object.keys(m).sort(g.sort)).reduce((y,C)=>{const E=m[C];return E&&typeof E=="object"&&!Array.isArray(E)?y[C]=h(E):y[C]=E,y},Object.create(null))}e.extract=T,e.parse=w,e.stringify=(d,g)=>{if(!d)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),a(g.arrayFormatSeparator);const p=E=>g.skipNull&&c(d[E])||g.skipEmptyString&&d[E]==="",m=s(g),y={};for(const E of Object.keys(d))p(E)||(y[E]=d[E]);const C=Object.keys(y);return g.sort!==!1&&C.sort(g.sort),C.map(E=>{const j=d[E];return j===void 0?"":j===null?u(E,g):Array.isArray(j)?j.reduce(m(E),[]).join("&"):u(E,g)+"="+u(j,g)}).filter(E=>E.length>0).join("&")},e.parseUrl=(d,g)=>{g=Object.assign({decode:!0},g);const[p,m]=n(d,"#");return Object.assign({url:p.split("?")[0]||"",query:w(T(d),g)},g&&g.parseFragmentIdentifier&&m?{fragmentIdentifier:f(m,g)}:{})},e.stringifyUrl=(d,g)=>{g=Object.assign({encode:!0,strict:!0},g);const p=x(d.url).split("?")[0]||"",m=e.extract(d.url),y=e.parse(m,{sort:!1}),C=Object.assign(y,d.query);let E=e.stringify(C,g);E&&(E=`?${E}`);let j=v(d.url);return d.fragmentIdentifier&&(j=`#${u(d.fragmentIdentifier,g)}`),`${p}${E}${j}`},e.pick=(d,g,p)=>{p=Object.assign({parseFragmentIdentifier:!0},p);const{url:m,query:y,fragmentIdentifier:C}=e.parseUrl(d,p);return e.stringifyUrl({url:m,query:o(y,g),fragmentIdentifier:C},p)},e.exclude=(d,g,p)=>{const m=Array.isArray(g)?y=>!g.includes(y):(y,C)=>!g(y,C);return e.pick(d,m,p)}})(Qr)),Qr}var nn=Pu();const Qt=yl,ku={parseNumbers:!1,parseBooleans:!1},Iu={skipNull:!1,skipEmptyString:!1},Ru=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:s}={},l=Object.assign(Object.assign({},ku),c),a=Object.assign(Object.assign({},Iu),s),u=Qt.useLocation(),f=(r=Qt.useHistory)===null||r===void 0?void 0:r.call(Qt),h=(n=Qt.useNavigate)===null||n===void 0?void 0:n.call(Qt),x=xl(),v=I.useRef(typeof e=="function"?e():e||{}),T=I.useMemo(()=>nn.parse(u.search,l),[u.search]),S=I.useMemo(()=>Object.assign(Object.assign({},v.current),T),[T]);return[S,Ct(d=>{const g=typeof d=="function"?d(S):d;x(),f&&f[o]({hash:u.hash,search:nn.stringify(Object.assign(Object.assign({},T),g),a)||"?"},u.state),h&&h({hash:u.hash,search:nn.stringify(Object.assign(Object.assign({},T),g),a)||"?"},{replace:o==="replace",state:u.state})})]};var Et={},Jt={},on={exports:{}},sn={},os;function qi(){if(os)return sn;os=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},e(g)}function t(g,p,m){return Object.defineProperty(g,"prototype",{writable:!1}),g}function r(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function n(g,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(p&&p.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),p&&o(g,p)}function o(g,p){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,C){return y.__proto__=C,y},o(g,p)}function c(g){var p=a();return function(){var y=u(g),C;if(p){var E=u(this).constructor;C=Reflect.construct(y,arguments,E)}else C=y.apply(this,arguments);return s(this,C)}}function s(g,p){if(p&&(e(p)==="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(g)}function l(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(g){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(m){return m.__proto__||Object.getPrototypeOf(m)},u(g)}var f={},h,x;function v(g,p,m){m||(m=Error);function y(E,j,P){return typeof p=="string"?p:p(E,j,P)}var C=(function(E){n(P,E);var j=c(P);function P(D,M,U){var $;return r(this,P),$=j.call(this,y(D,M,U)),$.code=g,$}return t(P)})(m);f[g]=C}function T(g,p){if(Array.isArray(g)){var m=g.length;return g=g.map(function(y){return String(y)}),m>2?"one of ".concat(p," ").concat(g.slice(0,m-1).join(", "),", or ")+g[m-1]:m===2?"one of ".concat(p," ").concat(g[0]," or ").concat(g[1]):"of ".concat(p," ").concat(g[0])}else return"of ".concat(p," ").concat(String(g))}function S(g,p,m){return g.substr(0,p.length)===p}function w(g,p,m){return(m===void 0||m>g.length)&&(m=g.length),g.substring(m-p.length,m)===p}function d(g,p,m){return typeof m!="number"&&(m=0),m+p.length>g.length?!1:g.indexOf(p,m)!==-1}return v("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),v("ERR_INVALID_ARG_TYPE",function(g,p,m){h===void 0&&(h=Gn()),h(typeof g=="string","'name' must be a string");var y;typeof p=="string"&&S(p,"not ")?(y="must not be",p=p.replace(/^not /,"")):y="must be";var C;if(w(g," argument"))C="The ".concat(g," ").concat(y," ").concat(T(p,"type"));else{var E=d(g,".")?"property":"argument";C='The "'.concat(g,'" ').concat(E," ").concat(y," ").concat(T(p,"type"))}return C+=". Received type ".concat(e(m)),C},TypeError),v("ERR_INVALID_ARG_VALUE",function(g,p){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";x===void 0&&(x=or());var y=x.inspect(p);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(m,". Received ").concat(y)},TypeError),v("ERR_INVALID_RETURN_VALUE",function(g,p,m){var y;return m&&m.constructor&&m.constructor.name?y="instance of ".concat(m.constructor.name):y="type ".concat(e(m)),"Expected ".concat(g,' to be returned from the "').concat(p,'"')+" function but got ".concat(y,".")},TypeError),v("ERR_MISSING_ARGS",function(){for(var g=arguments.length,p=new Array(g),m=0;m<g;m++)p[m]=arguments[m];h===void 0&&(h=Gn()),h(p.length>0,"At least one arg needs to be specified");var y="The ",C=p.length;switch(p=p.map(function(E){return'"'.concat(E,'"')}),C){case 1:y+="".concat(p[0]," argument");break;case 2:y+="".concat(p[0]," and ").concat(p[1]," arguments");break;default:y+=p.slice(0,C-1).join(", "),y+=", and ".concat(p[C-1]," arguments");break}return"".concat(y," must be specified")},TypeError),sn.codes=f,sn}var an,ss;function Du(){if(ss)return an;ss=1;function e(_,F){var V=Object.keys(_);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(_);F&&(z=z.filter(function(G){return Object.getOwnPropertyDescriptor(_,G).enumerable})),V.push.apply(V,z)}return V}function t(_){for(var F=1;F<arguments.length;F++){var V=arguments[F]!=null?arguments[F]:{};F%2?e(Object(V),!0).forEach(function(z){r(_,z,V[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(V)):e(Object(V)).forEach(function(z){Object.defineProperty(_,z,Object.getOwnPropertyDescriptor(V,z))})}return _}function r(_,F,V){return F=s(F),F in _?Object.defineProperty(_,F,{value:V,enumerable:!0,configurable:!0,writable:!0}):_[F]=V,_}function n(_,F){if(!(_ instanceof F))throw new TypeError("Cannot call a class as a function")}function o(_,F){for(var V=0;V<F.length;V++){var z=F[V];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(_,s(z.key),z)}}function c(_,F,V){return F&&o(_.prototype,F),Object.defineProperty(_,"prototype",{writable:!1}),_}function s(_){var F=l(_,"string");return g(F)==="symbol"?F:String(F)}function l(_,F){if(g(_)!=="object"||_===null)return _;var V=_[Symbol.toPrimitive];if(V!==void 0){var z=V.call(_,F);if(g(z)!=="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}function a(_,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(F&&F.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),F&&w(_,F)}function u(_){var F=T();return function(){var z=d(_),G;if(F){var A=d(this).constructor;G=Reflect.construct(z,arguments,A)}else G=z.apply(this,arguments);return f(this,G)}}function f(_,F){if(F&&(g(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(_)}function h(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function x(_){var F=typeof Map=="function"?new Map:void 0;return x=function(z){if(z===null||!S(z))return z;if(typeof z!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(z))return F.get(z);F.set(z,G)}function G(){return v(z,arguments,d(this).constructor)}return G.prototype=Object.create(z.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),w(G,z)},x(_)}function v(_,F,V){return T()?v=Reflect.construct.bind():v=function(G,A,R){var N=[null];N.push.apply(N,A);var H=Function.bind.apply(G,N),L=new H;return R&&w(L,R.prototype),L},v.apply(null,arguments)}function T(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function S(_){return Function.toString.call(_).indexOf("[native code]")!==-1}function w(_,F){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(z,G){return z.__proto__=G,z},w(_,F)}function d(_){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(V){return V.__proto__||Object.getPrototypeOf(V)},d(_)}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},g(_)}var p=or(),m=p.inspect,y=qi(),C=y.codes.ERR_INVALID_ARG_TYPE;function E(_,F,V){return(V===void 0||V>_.length)&&(V=_.length),_.substring(V-F.length,V)===F}function j(_,F){if(F=Math.floor(F),_.length==0||F==0)return"";var V=_.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)_+=_,F--;return _+=_.substring(0,V-_.length),_}var P="",D="",M="",U="",$={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},re=10;function ee(_){var F=Object.keys(_),V=Object.create(Object.getPrototypeOf(_));return F.forEach(function(z){V[z]=_[z]}),Object.defineProperty(V,"message",{value:_.message}),V}function he(_){return m(_,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function be(_,F,V){var z="",G="",A=0,R="",N=!1,H=he(_),L=H.split(`
|
|
1
|
+
import{r as I,ju as hl,aP as Fo,da as gl,c3 as Bo,db as bl,m as qo,c as Lr,j as i,jv as yl,gy as xl,k as Ct,gt as or,ah as Je,jw as oi,jx as vl,jy as wl,jz as Sl,jA as oo,jB as jl,jC as El,jD as Tl,jE as so,jF as Cl,jG as Pl,iu as kl,jH as Il,dy as Rl,dx as io,cQ as Vn,cP as Dl,eF as Al,jI as Ol,i5 as _l,V as Ce,aS as Le,b6 as dt,jJ as si,H as Me,bB as qe,o as b,ab as ao,aE as ii,eP as ai,d as xt,B,a7 as Ml,bf as Nl,bd as Ll,bq as ft,jK as li,S as Tr,ac as Cr,gu as ci,hJ as Fl,cu as tt,au as ct,fe as Bl,aB as Ue,ch as Lt,al as lo,co as ql,cp as Ul,cq as $l,cr as zl,cv as Fr,J as ke,ay as co,av as Ft,jL as Vl,at as Tt,aY as Vt,aZ as Wt,a2 as ui,cd as ot,cf as ae,ca as Wl,a3 as _e,bR as Pr,a1 as di,a4 as pt,a5 as Rt,M as kt,be as fi,dP as Kl,iF as Br,fb as pi,bF as et,dg as ze,F as sr,aD as mi,aC as Wn,dn as uo,fh as Hl,jM as kr,fQ as Yl,eX as ir,bz as Ve,C as yt,gv as Gl,w as Kn,v as Xl,A as Zl,D as Ql,q as Ye,p as dr,as as fr,bG as qt,jN as Jl,fg as ec,K as tc,fP as hr,ad as rt,ai as rc,jO as nc,dr as oc,jP as hi,jQ as Ir,af as ar,d8 as Uo,c8 as lr,bc as sc,i as gi,ao as ic,iz as ac,fD as fo,fE as bi,fF as po,P as gr,am as Pe,X as lc,d7 as yi,gO as xi,jR as vi,cw as cr,f8 as cc,i7 as wi,az as uc,aA as dc,gG as fc,di as Si,jS as pc,dt as $o,x as mc,W as hc,jT as gc,bI as bc,cx as yc,bt as xc}from"./index-xKewGzjC.js";import{A as Ut}from"./Add-CWdQuYaD.js";import{V as vc}from"./ViewList-Dbcemsyf.js";import{c as wc,H as mo,g as Sc}from"./index-CwAnYLEW.js";import{r as ji}from"./index-BM0ITaY0.js";import{O as zo}from"./index-v6GrH27P.js";import{a as We}from"./team-CVCOeAkO.js";import{u as Ei}from"./blocklet--DdX67Y5.js";import{S as Ti}from"./Search-CZb8MpSi.js";import{y as qr}from"./index-BBF53Q7a.js";import{u as jc,C as Zt}from"./index.esm-BbGTF1sQ.js";import{S as Ec}from"./Google-B-qPqki4.js";import{A as Tc,a as br}from"./Autocomplete-yImsm8ZS.js";import{U as Cc}from"./UnfoldMore-DQCavdGY.js";import{E as Pc,F as kc}from"./federated-detail-dialog-D1-tYtuH.js";import{P as It}from"./permission-CtC06VjN.js";import{C as Ur}from"./click-to-copy-B-4XSjp3.js";import{s as vt,p as Ic,S as Rc,d as ht,q as Ci,f as pr,t as Pi,w as $r,x as ki,y as ho,z as Ii,B as Ri,E as Rr,M as rr,F as Di,G as Vo,H as nr,v as Dc,I as Ac,J as Wo,K as Oc,a as _c,b as Mc,P as Nc,c as Lc,C as Fc,N as Bc,O as Dr,Q as Nt,R as Ar,r as Ko,T as Ho,U as qc,V as Uc,e as go,g as $c,h as zc,W as Vc,j as Wc,X as Kc,Y as Hc,Z as Yc,_ as yr,k as Bt,l as Ai,m as Gc,$ as Hn,n as Oi,a0 as Xc,a1 as Yo,o as Zc,a2 as Qc,a3 as Jc,D as eu,L as tu,A as ru}from"./AdapterDayjs-UTEBvFmb.js";import{u as st}from"./useThemeProps-DN7zZ6Cj.js";import{b as Go,a as nu,t as ou,T as su}from"./html-title-9oXf3hnw.js";import{v as Ge}from"./index-CUh73CTd.js";import{u as iu,V as au}from"./Verified-CqtxcebR.js";import{D as lu}from"./DeleteOutline-BEPb1x3R.js";import{V as cu}from"./Visibility-sTYSXb_Z.js";import{E as Xo}from"./ErrorOutline-D1L-_0MO.js";import{N as uu}from"./index-zK8Hx4RO.js";import{R as _i,b as Er}from"./url-evaluation-IuTW0fNq.js";import{b as Yn}from"./sdk-ChqUwCFm.js";import{U as du}from"./actions-BYumOwFP.js";import{u as Mi}from"./use-mobile-DYOwHeWa.js";import{D as fu}from"./Delete-K51EeG49.js";import{A as pu}from"./actions-DNLQJIGb.js";import{S as mu}from"./shorten-label-dEjcCcWt.js";import{U as Zr}from"./ua-parser-D6QF1h5N.js";import{S as hu}from"./simple-select-Ca0GAR5n.js";const gu=wc(I.useLayoutEffect);var Zo={},Qo;function bu(){return Qo||(Qo=1,(function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(p){try{return p.defaultView&&p.defaultView.frameElement||null}catch{return null}}var t=(function(p){for(var m=p,y=e(m);y;)m=y.ownerDocument,y=e(m);return m})(window.document),r=[],n=null,o=null;function c(p){this.time=p.time,this.target=p.target,this.rootBounds=T(p.rootBounds),this.boundingClientRect=T(p.boundingClientRect),this.intersectionRect=T(p.intersectionRect||v()),this.isIntersecting=!!p.intersectionRect;var m=this.boundingClientRect,y=m.width*m.height,C=this.intersectionRect,E=C.width*C.height;y?this.intersectionRatio=Number((E/y).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function s(p,m){var y=m||{};if(typeof p!="function")throw new Error("callback must be a function");if(y.root&&y.root.nodeType!=1&&y.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=p,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(y.rootMargin),this.thresholds=this._initThresholds(y.threshold),this.root=y.root||null,this.rootMargin=this._rootMarginValues.map(function(C){return C.value+C.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(p,m){!p||!m?o=v():o=S(p,m),r.forEach(function(y){y._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,o=null},s.prototype.observe=function(p){var m=this._observationTargets.some(function(y){return y.element==p});if(!m){if(!(p&&p.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:p,entry:null}),this._monitorIntersections(p.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(p){this._observationTargets=this._observationTargets.filter(function(m){return m.element!=p}),this._unmonitorIntersections(p.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var p=this._queuedEntries.slice();return this._queuedEntries=[],p},s.prototype._initThresholds=function(p){var m=p||[0];return Array.isArray(m)||(m=[m]),m.sort().filter(function(y,C,E){if(typeof y!="number"||isNaN(y)||y<0||y>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return y!==E[C-1]})},s.prototype._parseRootMargin=function(p){var m=p||"0px",y=m.split(/\s+/).map(function(C){var E=/^(-?\d*\.?\d+)(px|%)$/.exec(C);if(!E)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(E[1]),unit:E[2]}});return y[1]=y[1]||y[0],y[2]=y[2]||y[0],y[3]=y[3]||y[1],y},s.prototype._monitorIntersections=function(p){var m=p.defaultView;if(m&&this._monitoringDocuments.indexOf(p)==-1){var y=this._checkForIntersections,C=null,E=null;this.POLL_INTERVAL?C=m.setInterval(y,this.POLL_INTERVAL):(u(m,"resize",y,!0),u(p,"scroll",y,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in m&&(E=new m.MutationObserver(y),E.observe(p,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(p),this._monitoringUnsubscribes.push(function(){var D=p.defaultView;D&&(C&&D.clearInterval(C),f(D,"resize",y,!0)),f(p,"scroll",y,!0),E&&E.disconnect()});var j=this.root&&(this.root.ownerDocument||this.root)||t;if(p!=j){var P=e(p);P&&this._monitorIntersections(P.ownerDocument)}}},s.prototype._unmonitorIntersections=function(p){var m=this._monitoringDocuments.indexOf(p);if(m!=-1){var y=this.root&&(this.root.ownerDocument||this.root)||t,C=this._observationTargets.some(function(P){var D=P.element.ownerDocument;if(D==p)return!0;for(;D&&D!=y;){var M=e(D);if(D=M&&M.ownerDocument,D==p)return!0}return!1});if(!C){var E=this._monitoringUnsubscribes[m];if(this._monitoringDocuments.splice(m,1),this._monitoringUnsubscribes.splice(m,1),E(),p!=y){var j=e(p);j&&this._unmonitorIntersections(j.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var p=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var m=0;m<p.length;m++)p[m]()},s.prototype._checkForIntersections=function(){if(!(!this.root&&n&&!o)){var p=this._rootIsInDom(),m=p?this._getRootRect():v();this._observationTargets.forEach(function(y){var C=y.element,E=x(C),j=this._rootContainsTarget(C),P=y.entry,D=p&&j&&this._computeTargetAndRootIntersection(C,E,m),M=null;this._rootContainsTarget(C)?(!n||this.root)&&(M=m):M=v();var U=y.entry=new c({time:l(),target:C,boundingClientRect:E,rootBounds:M,intersectionRect:D});P?p&&j?this._hasCrossedThreshold(P,U)&&this._queuedEntries.push(U):P&&P.isIntersecting&&this._queuedEntries.push(U):this._queuedEntries.push(U)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(p,m,y){if(window.getComputedStyle(p).display!="none"){for(var C=m,E=d(p),j=!1;!j&&E;){var P=null,D=E.nodeType==1?window.getComputedStyle(E):{};if(D.display=="none")return null;if(E==this.root||E.nodeType==9)if(j=!0,E==this.root||E==t)n&&!this.root?!o||o.width==0&&o.height==0?(E=null,P=null,C=null):P=o:P=y;else{var M=d(E),U=M&&x(M),$=M&&this._computeTargetAndRootIntersection(M,U,y);U&&$?(E=M,P=S(U,$)):(E=null,C=null)}else{var re=E.ownerDocument;E!=re.body&&E!=re.documentElement&&D.overflow!="visible"&&(P=x(E))}if(P&&(C=h(P,C)),!C)break;E=E&&d(E)}return C}},s.prototype._getRootRect=function(){var p;if(this.root&&!g(this.root))p=x(this.root);else{var m=g(this.root)?this.root:t,y=m.documentElement,C=m.body;p={top:0,left:0,right:y.clientWidth||C.clientWidth,width:y.clientWidth||C.clientWidth,bottom:y.clientHeight||C.clientHeight,height:y.clientHeight||C.clientHeight}}return this._expandRectByRootMargin(p)},s.prototype._expandRectByRootMargin=function(p){var m=this._rootMarginValues.map(function(C,E){return C.unit=="px"?C.value:C.value*(E%2?p.width:p.height)/100}),y={top:p.top-m[0],right:p.right+m[1],bottom:p.bottom+m[2],left:p.left-m[3]};return y.width=y.right-y.left,y.height=y.bottom-y.top,y},s.prototype._hasCrossedThreshold=function(p,m){var y=p&&p.isIntersecting?p.intersectionRatio||0:-1,C=m.isIntersecting?m.intersectionRatio||0:-1;if(y!==C)for(var E=0;E<this.thresholds.length;E++){var j=this.thresholds[E];if(j==y||j==C||j<y!=j<C)return!0}},s.prototype._rootIsInDom=function(){return!this.root||w(t,this.root)},s.prototype._rootContainsTarget=function(p){var m=this.root&&(this.root.ownerDocument||this.root)||t;return w(m,p)&&(!this.root||m==p.ownerDocument)},s.prototype._registerInstance=function(){r.indexOf(this)<0&&r.push(this)},s.prototype._unregisterInstance=function(){var p=r.indexOf(this);p!=-1&&r.splice(p,1)};function l(){return window.performance&&performance.now&&performance.now()}function a(p,m){var y=null;return function(){y||(y=setTimeout(function(){p(),y=null},m))}}function u(p,m,y,C){typeof p.addEventListener=="function"?p.addEventListener(m,y,C):typeof p.attachEvent=="function"&&p.attachEvent("on"+m,y)}function f(p,m,y,C){typeof p.removeEventListener=="function"?p.removeEventListener(m,y,C):typeof p.detachEvent=="function"&&p.detachEvent("on"+m,y)}function h(p,m){var y=Math.max(p.top,m.top),C=Math.min(p.bottom,m.bottom),E=Math.max(p.left,m.left),j=Math.min(p.right,m.right),P=j-E,D=C-y;return P>=0&&D>=0&&{top:y,bottom:C,left:E,right:j,width:P,height:D}||null}function x(p){var m;try{m=p.getBoundingClientRect()}catch{}return m?(m.width&&m.height||(m={top:m.top,right:m.right,bottom:m.bottom,left:m.left,width:m.right-m.left,height:m.bottom-m.top}),m):v()}function v(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function T(p){return!p||"x"in p?p:{top:p.top,y:p.top,bottom:p.bottom,left:p.left,x:p.left,right:p.right,width:p.width,height:p.height}}function S(p,m){var y=m.top-p.top,C=m.left-p.left;return{top:y,left:C,height:m.height,width:m.width,bottom:y+m.height,right:C+m.width}}function w(p,m){for(var y=m;y;){if(y==p)return!0;y=d(y)}return!1}function d(p){var m=p.parentNode;return p.nodeType==9&&p!=t?e(p):(m&&m.assignedSlot&&(m=m.assignedSlot.parentNode),m&&m.nodeType==11&&m.host?m.host:m)}function g(p){return p&&p.nodeType===9}window.IntersectionObserver=s,window.IntersectionObserverEntry=c})()),Zo}bu();function yu(e,t){var r={},n=r.callback,o=hl(r,["callback"]),c=Fo(I.useState(),2),s=c[0],l=c[1],a=Fo(I.useState(),2),u=a[0],f=a[1];return gl(function(){var h=Array.isArray(e)?e:[e],x=h.map(function(T){return Bo(T)}).filter(Boolean);if(x.length){var v=new IntersectionObserver(function(T){var S,w;try{for(var d=bl(T),g=d.next();!g.done;g=d.next()){var p=g.value;f(p.intersectionRatio),l(p.isIntersecting),n?.(p)}}catch(m){S={error:m}}finally{try{g&&!g.done&&(w=d.return)&&w.call(d)}finally{if(S)throw S.error}}},qo(qo({},o),{root:Bo(void 0)}));return x.forEach(function(T){return v.observe(T)}),function(){v.disconnect()}}},[void 0,void 0,n],e),[s,u]}const xu=Lr(i.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"})),zr=Lr([i.jsx("path",{d:"m21.41 11.58-9-9C12.05 2.22 11.55 2 11 2H4c-1.1 0-2 .9-2 2v7c0 .55.22 1.05.59 1.42l9 9c.36.36.86.58 1.41.58s1.05-.22 1.41-.59l7-7c.37-.36.59-.86.59-1.41s-.23-1.06-.59-1.42M13 20.01 4 11V4h7v-.01l9 9z"},"0"),i.jsx("circle",{cx:"6.5",cy:"6.5",r:"1.5"},"1")]),vu=Lr(i.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),wu=Lr(i.jsx("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"})),Ni=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119a.29.29 0 0 0 .289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12a.29.29 0 0 0 .288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),I.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.938}),I.createElement("rect",{x:15.313,y:14.063,width:7.5,height:1.875,rx:.938,transform:"rotate(-90 15.313 14.063)"})),Li=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{d:"M1.25 2.709c0-.46.373-.834.834-.834h12.255c.46 0 .834.373.834.834v6.607a.834.834 0 1 1-1.668 0V3.542H2.917v13.214h6.407a.834.834 0 1 1 0 1.668h-7.24a.834.834 0 0 1-.834-.834V2.71z"}),I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.211 7.92a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.834zm-2.584.916a2.584 2.584 0 1 1 5.169 0 2.584 2.584 0 0 1-5.17 0zm0 4.377c0-.46.373-.833.834-.833h3.501a.834.834 0 0 1 0 1.667H6.461a.834.834 0 0 1-.834-.834zm10.013-1.9c.215 0 .41.121.505.313l1.033 2.092 2.31.338a.563.563 0 0 1 .31.96l-1.67 1.627.394 2.3a.563.563 0 0 1-.816.592l-2.065-1.086-2.066 1.086a.562.562 0 0 1-.816-.593l.394-2.299-1.67-1.627a.563.563 0 0 1 .31-.96l2.31-.338 1.033-2.092a.562.562 0 0 1 .505-.313zm0 1.833-.659 1.335a.563.563 0 0 1-.423.308l-1.474.215 1.066 1.04a.56.56 0 0 1 .162.498l-.251 1.467 1.318-.694a.563.563 0 0 1 .524 0l1.318.694-.252-1.467a.563.563 0 0 1 .162-.498l1.067-1.04-1.475-.215a.563.563 0 0 1-.423-.308l-.66-1.335z"})),Fi=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.886 1.875a4.207 4.207 0 1 0 0 8.414 4.207 4.207 0 0 0 0-8.414zM4.112 4.308A2.51 2.51 0 1 1 7.66 7.857a2.51 2.51 0 0 1-3.55-3.55zm.095 6.522A4.207 4.207 0 0 0 0 15.037v2.799c0 .16.13.289.29.289h1.119a.29.29 0 0 0 .289-.29v-2.798a2.51 2.51 0 0 1 2.51-2.509h3.357a2.51 2.51 0 0 1 2.51 2.51v2.798c0 .16.13.289.289.289h1.12a.29.29 0 0 0 .288-.29v-2.798a4.208 4.208 0 0 0-4.207-4.207H4.207z"}),I.createElement("rect",{x:12.5,y:9.375,width:7.5,height:1.875,rx:.938})),Su=e=>I.createElement("svg",{width:18,height:19,viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("g",{clipPath:"url(#a)"},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 1.598A4.092 4.092 0 1 0 9 9.78a4.092 4.092 0 0 0 0-8.183zM7.274 3.964a2.44 2.44 0 1 1 3.452 3.451 2.44 2.44 0 0 1-3.452-3.451zm.093 6.343A4.091 4.091 0 0 0 3.275 14.4v2.722c0 .155.126.281.281.281h1.09a.281.281 0 0 0 .28-.281V14.4a2.44 2.44 0 0 1 2.44-2.44h3.267a2.442 2.442 0 0 1 2.44 2.44v2.722c0 .155.127.281.282.281h1.088a.281.281 0 0 0 .282-.281V14.4a4.091 4.091 0 0 0-4.092-4.091H7.367z"})),I.createElement("defs",null,I.createElement("clipPath",{id:"a"},I.createElement("path",{transform:"translate(0 .5)",d:"M0 0h18v18H0z"})))),Bi=e=>I.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",...e},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"}));var Qr={},Jr,Jo;function ju(){return Jo||(Jo=1,Jr=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`)),Jr}var en,es;function Eu(){if(es)return en;es=1;var e="%[a-f0-9]{2}",t=new RegExp("("+e+")|([^%]+?)","gi"),r=new RegExp("("+e+")+","gi");function n(s,l){try{return[decodeURIComponent(s.join(""))]}catch{}if(s.length===1)return s;l=l||1;var a=s.slice(0,l),u=s.slice(l);return Array.prototype.concat.call([],n(a),n(u))}function o(s){try{return decodeURIComponent(s)}catch{for(var l=s.match(t)||[],a=1;a<l.length;a++)s=n(l,a).join(""),l=s.match(t)||[];return s}}function c(s){for(var l={"%FE%FF":"��","%FF%FE":"��"},a=r.exec(s);a;){try{l[a[0]]=decodeURIComponent(a[0])}catch{var u=o(a[0]);u!==a[0]&&(l[a[0]]=u)}a=r.exec(s)}l["%C2"]="�";for(var f=Object.keys(l),h=0;h<f.length;h++){var x=f[h];s=s.replace(new RegExp(x,"g"),l[x])}return s}return en=function(s){if(typeof s!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof s+"`");try{return s=s.replace(/\+/g," "),decodeURIComponent(s)}catch{return c(s)}},en}var tn,ts;function Tu(){return ts||(ts=1,tn=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]}),tn}var rn,rs;function Cu(){return rs||(rs=1,rn=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),c=0;c<n.length;c++){var s=n[c],l=e[s];(o?t.indexOf(s)!==-1:t(s,l,e))&&(r[s]=l)}return r}),rn}var ns;function Pu(){return ns||(ns=1,(function(e){const t=ju(),r=Eu(),n=Tu(),o=Cu(),c=d=>d==null;function s(d){switch(d.arrayFormat){case"index":return g=>(p,m)=>{const y=p.length;return m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,[u(g,d),"[",y,"]"].join("")]:[...p,[u(g,d),"[",u(y,d),"]=",u(m,d)].join("")]};case"bracket":return g=>(p,m)=>m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,[u(g,d),"[]"].join("")]:[...p,[u(g,d),"[]=",u(m,d)].join("")];case"comma":case"separator":return g=>(p,m)=>m==null||m.length===0?p:p.length===0?[[u(g,d),"=",u(m,d)].join("")]:[[p,u(m,d)].join(d.arrayFormatSeparator)];default:return g=>(p,m)=>m===void 0||d.skipNull&&m===null||d.skipEmptyString&&m===""?p:m===null?[...p,u(g,d)]:[...p,[u(g,d),"=",u(m,d)].join("")]}}function l(d){let g;switch(d.arrayFormat){case"index":return(p,m,y)=>{if(g=/\[(\d*)\]$/.exec(p),p=p.replace(/\[\d*\]$/,""),!g){y[p]=m;return}y[p]===void 0&&(y[p]={}),y[p][g[1]]=m};case"bracket":return(p,m,y)=>{if(g=/(\[\])$/.exec(p),p=p.replace(/\[\]$/,""),!g){y[p]=m;return}if(y[p]===void 0){y[p]=[m];return}y[p]=[].concat(y[p],m)};case"comma":case"separator":return(p,m,y)=>{const C=typeof m=="string"&&m.includes(d.arrayFormatSeparator),E=typeof m=="string"&&!C&&f(m,d).includes(d.arrayFormatSeparator);m=E?f(m,d):m;const j=C||E?m.split(d.arrayFormatSeparator).map(P=>f(P,d)):m===null?m:f(m,d);y[p]=j};default:return(p,m,y)=>{if(y[p]===void 0){y[p]=m;return}y[p]=[].concat(y[p],m)}}}function a(d){if(typeof d!="string"||d.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function u(d,g){return g.encode?g.strict?t(d):encodeURIComponent(d):d}function f(d,g){return g.decode?r(d):d}function h(d){return Array.isArray(d)?d.sort():typeof d=="object"?h(Object.keys(d)).sort((g,p)=>Number(g)-Number(p)).map(g=>d[g]):d}function x(d){const g=d.indexOf("#");return g!==-1&&(d=d.slice(0,g)),d}function v(d){let g="";const p=d.indexOf("#");return p!==-1&&(g=d.slice(p)),g}function T(d){d=x(d);const g=d.indexOf("?");return g===-1?"":d.slice(g+1)}function S(d,g){return g.parseNumbers&&!Number.isNaN(Number(d))&&typeof d=="string"&&d.trim()!==""?d=Number(d):g.parseBooleans&&d!==null&&(d.toLowerCase()==="true"||d.toLowerCase()==="false")&&(d=d.toLowerCase()==="true"),d}function w(d,g){g=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},g),a(g.arrayFormatSeparator);const p=l(g),m=Object.create(null);if(typeof d!="string"||(d=d.trim().replace(/^[?#&]/,""),!d))return m;for(const y of d.split("&")){if(y==="")continue;let[C,E]=n(g.decode?y.replace(/\+/g," "):y,"=");E=E===void 0?null:["comma","separator"].includes(g.arrayFormat)?E:f(E,g),p(f(C,g),E,m)}for(const y of Object.keys(m)){const C=m[y];if(typeof C=="object"&&C!==null)for(const E of Object.keys(C))C[E]=S(C[E],g);else m[y]=S(C,g)}return g.sort===!1?m:(g.sort===!0?Object.keys(m).sort():Object.keys(m).sort(g.sort)).reduce((y,C)=>{const E=m[C];return E&&typeof E=="object"&&!Array.isArray(E)?y[C]=h(E):y[C]=E,y},Object.create(null))}e.extract=T,e.parse=w,e.stringify=(d,g)=>{if(!d)return"";g=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},g),a(g.arrayFormatSeparator);const p=E=>g.skipNull&&c(d[E])||g.skipEmptyString&&d[E]==="",m=s(g),y={};for(const E of Object.keys(d))p(E)||(y[E]=d[E]);const C=Object.keys(y);return g.sort!==!1&&C.sort(g.sort),C.map(E=>{const j=d[E];return j===void 0?"":j===null?u(E,g):Array.isArray(j)?j.reduce(m(E),[]).join("&"):u(E,g)+"="+u(j,g)}).filter(E=>E.length>0).join("&")},e.parseUrl=(d,g)=>{g=Object.assign({decode:!0},g);const[p,m]=n(d,"#");return Object.assign({url:p.split("?")[0]||"",query:w(T(d),g)},g&&g.parseFragmentIdentifier&&m?{fragmentIdentifier:f(m,g)}:{})},e.stringifyUrl=(d,g)=>{g=Object.assign({encode:!0,strict:!0},g);const p=x(d.url).split("?")[0]||"",m=e.extract(d.url),y=e.parse(m,{sort:!1}),C=Object.assign(y,d.query);let E=e.stringify(C,g);E&&(E=`?${E}`);let j=v(d.url);return d.fragmentIdentifier&&(j=`#${u(d.fragmentIdentifier,g)}`),`${p}${E}${j}`},e.pick=(d,g,p)=>{p=Object.assign({parseFragmentIdentifier:!0},p);const{url:m,query:y,fragmentIdentifier:C}=e.parseUrl(d,p);return e.stringifyUrl({url:m,query:o(y,g),fragmentIdentifier:C},p)},e.exclude=(d,g,p)=>{const m=Array.isArray(g)?y=>!g.includes(y):(y,C)=>!g(y,C);return e.pick(d,m,p)}})(Qr)),Qr}var nn=Pu();const Qt=yl,ku={parseNumbers:!1,parseBooleans:!1},Iu={skipNull:!1,skipEmptyString:!1},Ru=(e,t)=>{var r,n;const{navigateMode:o="push",parseOptions:c,stringifyOptions:s}={},l=Object.assign(Object.assign({},ku),c),a=Object.assign(Object.assign({},Iu),s),u=Qt.useLocation(),f=(r=Qt.useHistory)===null||r===void 0?void 0:r.call(Qt),h=(n=Qt.useNavigate)===null||n===void 0?void 0:n.call(Qt),x=xl(),v=I.useRef(typeof e=="function"?e():e||{}),T=I.useMemo(()=>nn.parse(u.search,l),[u.search]),S=I.useMemo(()=>Object.assign(Object.assign({},v.current),T),[T]);return[S,Ct(d=>{const g=typeof d=="function"?d(S):d;x(),f&&f[o]({hash:u.hash,search:nn.stringify(Object.assign(Object.assign({},T),g),a)||"?"},u.state),h&&h({hash:u.hash,search:nn.stringify(Object.assign(Object.assign({},T),g),a)||"?"},{replace:o==="replace",state:u.state})})]};var Et={},Jt={},on={exports:{}},sn={},os;function qi(){if(os)return sn;os=1;function e(g){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},e(g)}function t(g,p,m){return Object.defineProperty(g,"prototype",{writable:!1}),g}function r(g,p){if(!(g instanceof p))throw new TypeError("Cannot call a class as a function")}function n(g,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(p&&p.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),Object.defineProperty(g,"prototype",{writable:!1}),p&&o(g,p)}function o(g,p){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,C){return y.__proto__=C,y},o(g,p)}function c(g){var p=a();return function(){var y=u(g),C;if(p){var E=u(this).constructor;C=Reflect.construct(y,arguments,E)}else C=y.apply(this,arguments);return s(this,C)}}function s(g,p){if(p&&(e(p)==="object"||typeof p=="function"))return p;if(p!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return l(g)}function l(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function u(g){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(m){return m.__proto__||Object.getPrototypeOf(m)},u(g)}var f={},h,x;function v(g,p,m){m||(m=Error);function y(E,j,P){return typeof p=="string"?p:p(E,j,P)}var C=(function(E){n(P,E);var j=c(P);function P(D,M,U){var $;return r(this,P),$=j.call(this,y(D,M,U)),$.code=g,$}return t(P)})(m);f[g]=C}function T(g,p){if(Array.isArray(g)){var m=g.length;return g=g.map(function(y){return String(y)}),m>2?"one of ".concat(p," ").concat(g.slice(0,m-1).join(", "),", or ")+g[m-1]:m===2?"one of ".concat(p," ").concat(g[0]," or ").concat(g[1]):"of ".concat(p," ").concat(g[0])}else return"of ".concat(p," ").concat(String(g))}function S(g,p,m){return g.substr(0,p.length)===p}function w(g,p,m){return(m===void 0||m>g.length)&&(m=g.length),g.substring(m-p.length,m)===p}function d(g,p,m){return typeof m!="number"&&(m=0),m+p.length>g.length?!1:g.indexOf(p,m)!==-1}return v("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),v("ERR_INVALID_ARG_TYPE",function(g,p,m){h===void 0&&(h=Gn()),h(typeof g=="string","'name' must be a string");var y;typeof p=="string"&&S(p,"not ")?(y="must not be",p=p.replace(/^not /,"")):y="must be";var C;if(w(g," argument"))C="The ".concat(g," ").concat(y," ").concat(T(p,"type"));else{var E=d(g,".")?"property":"argument";C='The "'.concat(g,'" ').concat(E," ").concat(y," ").concat(T(p,"type"))}return C+=". Received type ".concat(e(m)),C},TypeError),v("ERR_INVALID_ARG_VALUE",function(g,p){var m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";x===void 0&&(x=or());var y=x.inspect(p);return y.length>128&&(y="".concat(y.slice(0,128),"...")),"The argument '".concat(g,"' ").concat(m,". Received ").concat(y)},TypeError),v("ERR_INVALID_RETURN_VALUE",function(g,p,m){var y;return m&&m.constructor&&m.constructor.name?y="instance of ".concat(m.constructor.name):y="type ".concat(e(m)),"Expected ".concat(g,' to be returned from the "').concat(p,'"')+" function but got ".concat(y,".")},TypeError),v("ERR_MISSING_ARGS",function(){for(var g=arguments.length,p=new Array(g),m=0;m<g;m++)p[m]=arguments[m];h===void 0&&(h=Gn()),h(p.length>0,"At least one arg needs to be specified");var y="The ",C=p.length;switch(p=p.map(function(E){return'"'.concat(E,'"')}),C){case 1:y+="".concat(p[0]," argument");break;case 2:y+="".concat(p[0]," and ").concat(p[1]," arguments");break;default:y+=p.slice(0,C-1).join(", "),y+=", and ".concat(p[C-1]," arguments");break}return"".concat(y," must be specified")},TypeError),sn.codes=f,sn}var an,ss;function Du(){if(ss)return an;ss=1;function e(_,F){var V=Object.keys(_);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(_);F&&(z=z.filter(function(G){return Object.getOwnPropertyDescriptor(_,G).enumerable})),V.push.apply(V,z)}return V}function t(_){for(var F=1;F<arguments.length;F++){var V=arguments[F]!=null?arguments[F]:{};F%2?e(Object(V),!0).forEach(function(z){r(_,z,V[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(V)):e(Object(V)).forEach(function(z){Object.defineProperty(_,z,Object.getOwnPropertyDescriptor(V,z))})}return _}function r(_,F,V){return F=s(F),F in _?Object.defineProperty(_,F,{value:V,enumerable:!0,configurable:!0,writable:!0}):_[F]=V,_}function n(_,F){if(!(_ instanceof F))throw new TypeError("Cannot call a class as a function")}function o(_,F){for(var V=0;V<F.length;V++){var z=F[V];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(_,s(z.key),z)}}function c(_,F,V){return F&&o(_.prototype,F),Object.defineProperty(_,"prototype",{writable:!1}),_}function s(_){var F=l(_,"string");return g(F)==="symbol"?F:String(F)}function l(_,F){if(g(_)!=="object"||_===null)return _;var V=_[Symbol.toPrimitive];if(V!==void 0){var z=V.call(_,F);if(g(z)!=="object")return z;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}function a(_,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(F&&F.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),F&&w(_,F)}function u(_){var F=T();return function(){var z=d(_),G;if(F){var A=d(this).constructor;G=Reflect.construct(z,arguments,A)}else G=z.apply(this,arguments);return f(this,G)}}function f(_,F){if(F&&(g(F)==="object"||typeof F=="function"))return F;if(F!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return h(_)}function h(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function x(_){var F=typeof Map=="function"?new Map:void 0;return x=function(z){if(z===null||!S(z))return z;if(typeof z!="function")throw new TypeError("Super expression must either be null or a function");if(typeof F<"u"){if(F.has(z))return F.get(z);F.set(z,G)}function G(){return v(z,arguments,d(this).constructor)}return G.prototype=Object.create(z.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),w(G,z)},x(_)}function v(_,F,V){return T()?v=Reflect.construct.bind():v=function(G,A,R){var N=[null];N.push.apply(N,A);var H=Function.bind.apply(G,N),L=new H;return R&&w(L,R.prototype),L},v.apply(null,arguments)}function T(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function S(_){return Function.toString.call(_).indexOf("[native code]")!==-1}function w(_,F){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(z,G){return z.__proto__=G,z},w(_,F)}function d(_){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(V){return V.__proto__||Object.getPrototypeOf(V)},d(_)}function g(_){"@babel/helpers - typeof";return g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(F){return typeof F}:function(F){return F&&typeof Symbol=="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F},g(_)}var p=or(),m=p.inspect,y=qi(),C=y.codes.ERR_INVALID_ARG_TYPE;function E(_,F,V){return(V===void 0||V>_.length)&&(V=_.length),_.substring(V-F.length,V)===F}function j(_,F){if(F=Math.floor(F),_.length==0||F==0)return"";var V=_.length*F;for(F=Math.floor(Math.log(F)/Math.log(2));F;)_+=_,F--;return _+=_.substring(0,V-_.length),_}var P="",D="",M="",U="",$={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},re=10;function ee(_){var F=Object.keys(_),V=Object.create(Object.getPrototypeOf(_));return F.forEach(function(z){V[z]=_[z]}),Object.defineProperty(V,"message",{value:_.message}),V}function he(_){return m(_,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function be(_,F,V){var z="",G="",A=0,R="",N=!1,H=he(_),L=H.split(`
|
|
2
2
|
`),q=he(F).split(`
|
|
3
3
|
`),X=0,ne="";if(V==="strictEqual"&&g(_)==="object"&&g(F)==="object"&&_!==null&&F!==null&&(V="strictEqualObject"),L.length===1&&q.length===1&&L[0]!==q[0]){var fe=L[0].length+q[0].length;if(fe<=re){if((g(_)!=="object"||_===null)&&(g(F)!=="object"||F===null)&&(_!==0||F!==0))return"".concat($[V],`
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bj as c}from"./index-
|
|
1
|
+
import{bj as c}from"./index-xKewGzjC.js";var n={exports:{}};var a;function p(){return a||(a=1,(function(o){(function(){var f={}.hasOwnProperty;function e(){for(var t="",r=0;r<arguments.length;r++){var s=arguments[r];s&&(t=i(t,u(s)))}return t}function u(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return e.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var r="";for(var s in t)f.call(t,s)&&t[s]&&(r=i(r,s));return r}function i(t,r){return r?t?t+" "+r:t+r:t}o.exports?(e.default=e,o.exports=e):window.classNames=e})()})(n)),n.exports}var l=p();const x=c(l);export{x as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as i,af as E,M as p,j as e,aB as m,bb as C,bc as I,bd as L,be as v,O as f,bf as A}from"./index-
|
|
1
|
+
import{r as i,af as E,M as p,j as e,aB as m,bb as C,bc as I,bd as L,be as v,O as f,bf as A}from"./index-xKewGzjC.js";import{B as z}from"./ButtonGroup-BKp-Wu6T.js";function P(t,s){i.useEffect(()=>{function r(o){!t||!t.current||t.current.contains(o.target)||s(o)}return document.addEventListener("click",r,!0),()=>{document.removeEventListener("click",r,!0)}},[t,s])}function w({...t}){const{size:s="medium",color:r="primary",menu:o=[],children:c=null,variant:x="contained",onClick:h=E,menuButtonProps:g={},...j}=t,[b,l]=i.useState(!1),a=i.useRef(null),u=i.useRef(null),k=Array.isArray(o)?o.map((n,B)=>i.isValidElement(n)?n:i.createElement(p,{...n,key:B})):o,y=()=>{l(n=>!n)},d=n=>{a.current&&a.current.contains(n.target)||l(!1)};P(u,d);const M=n=>{n.target.closest(".MuiMenuItem-root")&&l(!1)};return e.jsxs(e.Fragment,{children:[e.jsxs(R,{variant:x,size:s,color:r,ref:a,...j,children:[typeof c=="function"?c():e.jsx(m,{onClick:h,color:r,children:c}),e.jsx(m,{onClick:y,color:r,...g,"aria-label":"more functions",children:e.jsx(C,{})})]}),e.jsx(O,{open:b,anchorEl:a.current,placement:"bottom-end",disablePortal:!1,children:e.jsx(I,{ref:u,children:e.jsx(L,{onClickAway:d,children:e.jsx(v,{onClick:M,children:k})})})})]})}w.Item=p;const R=f(z)`
|
|
2
2
|
> .MuiButtonBase-root:last-of-type {
|
|
3
3
|
min-width: 2em;
|
|
4
4
|
padding-left: 0;
|