/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js:294:    ${t.palette.mode==="light"?Fu(br(t.palette.divider,1),.88):Nu(br(t.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(t.vars||t).palette.text.primary}},{props:{variant:"footer"},style:{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${sFe.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default}}]}))),na=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableCell"}),{align:s="inherit",className:i,component:o,padding:l,scope:c,size:u,sortDirection:d,variant:f,...p}=n,m=I.useContext(gae),h=I.useContext(BA),_=h&&h.variant==="head";let g;o?g=o:g=_?"th":"td";let y=c;g==="td"?y=void 0:!y&&_&&(y="col");const b=f||h&&h.variant,x={...n,align:s,component:g,padding:l||(m&&m.padding?m.padding:"normal"),size:u||(m&&m.size?m.size:"medium"),sortDirection:d,stickyHeader:b==="head"&&m&&m.stickyHeader,variant:b},w=iFe(x);let C=null;return d&&(C=d==="asc"?"ascending":"descending"),a.jsx(oFe,{as:g,ref:r,className:lt(w.root,i),"aria-sort":C,scope:y,ownerState:x,...p})});function aFe(t){return tr("MuiTableContainer",t)}rr("MuiTableContainer",["root"]);const lFe=t=>{const{classes:e}=t;return nr({root:["root"]},aFe,e)},cFe=Ce("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),uFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableContainer"}),{className:s,component:i="div",...o}=n,l={...n,component:i},c=lFe(l);return a.jsx(cFe,{ref:r,as:i,className:lt(c.root,s),ownerState:l,...o})});function dFe(t){return tr("MuiTableHead",t)}rr("MuiTableHead",["root"]);const fFe=t=>{const{classes:e}=t;return nr({root:["root"]},dFe,e)},pFe=Ce("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),mFe={variant:"head"},$W="thead",OW=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableHead"}),{className:s,component:i=$W,...o}=n,l={...n,component:i},c=fFe(l);return a.jsx(BA.Provider,{value:mFe,children:a.jsx(pFe,{as:i,className:lt(c.root,s),ref:r,role:i===$W?null:"rowgroup",ownerState:l,...o})})});function hFe(t){return tr("MuiToolbar",t)}rr("MuiToolbar",["root","gutters","regular","dense"]);const gFe=t=>{const{classes:e,disableGutters:r,variant:n}=t;return nr({root:["root",!r&&"gutters",n]},hFe,e)},_Fe=Ce("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.disableGutters&&e.gutters,e[r.variant]]}})(Xt(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:t.mixins.toolbar}]}))),tN=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiToolbar"}),{className:s,component:i="div",disableGutters:o=!1,variant:l="regular",...c}=n,u={...n,component:i,disableGutters:o,variant:l},d=gFe(u);return a.jsx(_Fe,{as:i,className:lt(d.root,s),ref:r,ownerState:u,...c})}),vFe=I.forwardRef(function(e,r){const{backIconButtonProps:n,count:s,disabled:i=!1,getItemAriaLabel:o,nextIconButtonProps:l,onPageChange:c,page:u,rowsPerPage:d,showFirstButton:f,showLastButton:p,slots:m={},slotProps:h={},..._}=e,g=ui(),y=q=>{c(q,0)},b=q=>{c(q,u-1)},x=q=>{c(q,u+1)},w=q=>{c(q,Math.max(0,Math.ceil(s/d)-1))},C=m.firstButton??Zr,k=m.lastButton??Zr,A=m.nextButton??Zr,P=m.previousButton??Zr,T=m.firstButtonIcon??U8e,j=m.lastButtonIcon??B8e,R=m.nextButtonIcon??nse,D=m.previousButtonIcon??rse,O=g?k:C,N=g?A:P,F=g?P:A,U=g?C:k,z=g?h.lastButton:h.firstButton,H=g?h.nextButton:h.previousButton,W=g?h.previousButton:h.nextButton,K=g?h.firstButton:h.lastButton;return a.jsxs("div",{ref:r,..._,children:[f&&a.jsx(O,{onClick:y,disabled:i||u===0,"aria-label":o("first",u),title:o("first",u),...z,children:g?a.jsx(j,{...h.lastButtonIcon}):a.jsx(T,{...h.firstButtonIcon})}),a.jsx(N,{onClick:b,disabled:i||u===0,color:"inherit","aria-label":o("previous",u),title:o("previous",u),...H??n,children:g?a.jsx(R,{...h.nextButtonIcon}):a.jsx(D,{...h.previousButtonIcon})}),a.jsx(F,{onClick:x,disabled:i||(s!==-1?u>=Math.ceil(s/d)-1:!1),color:"inherit","aria-label":o("next",u),title:o("next",u),...W??l,children:g?a.jsx(D,{...h.previousButtonIcon}):a.jsx(R,{...h.nextButtonIcon})}),p&&a.jsx(U,{onClick:w,disabled:i||u>=Math.ceil(s/d)-1,"aria-label":o("last",u),title:o("last",u),...K,children:g?a.jsx(T,{...h.firstButtonIcon}):a.jsx(j,{...h.lastButtonIcon})})]})});function yFe(t){return tr("MuiTablePagination",t)}const yb=rr("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var LW;const bFe=Ce(na,{name:"MuiTablePagination",slot:"Root",overridesResolver:(t,e)=>e.root})(Xt(({theme:t})=>({overflow:"auto",color:(t.vars||t).palette.text.primary,fontSize:t.typography.pxToRem(14),"&:last-child":{padding:0}}))),xFe=Ce(tN,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(t,e)=>({[`& .${yb.actions}`]:e.actions,...e.toolbar})})(Xt(({theme:t})=>({minHeight:52,paddingRight:2,[`${t.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[t.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${yb.actions}`]:{flexShrink:0,marginLeft:20}}))),SFe=Ce("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(t,e)=>e.spacer})({flex:"1 1 100%"}),wFe=Ce("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(t,e)=>e.selectLabel})(Xt(({theme:t})=>({...t.typography.body2,flexShrink:0}))),CFe=Ce(yA,{name:"MuiTablePagination",slot:"Select",overridesResolver:(t,e)=>({[`& .${yb.selectIcon}`]:e.selectIcon,[`& .${yb.select}`]:e.select,...e.input,...e.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${yb.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),AFe=Ce(E_,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(t,e)=>e.menuItem})({}),kFe=Ce("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(t,e)=>e.displayedRows})(Xt(({theme:t})=>({...t.typography.body2,flexShrink:0})));function MFe({from:t,to:e,count:r}){return`${t}–${e} of ${r!==-1?r:`more than ${e}`}`}function PFe(t){return`Go to ${t} page`}const jFe=t=>{const{classes:e}=t;return nr({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},yFe,e)},TFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTablePagination"}),{ActionsComponent:s=vFe,backIconButtonProps:i,colSpan:o,component:l=na,count:c,disabled:u=!1,getItemAriaLabel:d=PFe,labelDisplayedRows:f=MFe,labelRowsPerPage:p="Rows per page:",nextIconButtonProps:m,onPageChange:h,onRowsPerPageChange:_,page:g,rowsPerPage:y,rowsPerPageOptions:b=[10,25,50,100],SelectProps:x={},showFirstButton:w=!1,showLastButton:C=!1,slotProps:k={},slots:A={},...P}=n,T=n,j=jFe(T),R=k?.select??x,D=R.native?"option":AFe;let O;(l===na||l==="td")&&(O=o||1e3);const N=$c(R.id),F=$c(R.labelId),U=()=>c===-1?(g+1)*y:y===-1?c:Math.min(c,(g+1)*y),z={slots:A,slotProps:k},[H,W]=mr("root",{ref:r,className:j.root,elementType:bFe,externalForwardedProps:{...z,component:l,...P},ownerState:T,additionalProps:{colSpan:O}}),[K,q]=mr("toolbar",{className:j.toolbar,elementType:xFe,externalForwardedProps:z,ownerState:T}),[X,Q]=mr("spacer",{className:j.spacer,elementType:SFe,externalForwardedProps:z,ownerState:T}),[Y,Z]=mr("selectLabel",{className:j.selectLabel,elementType:wFe,externalForwardedProps:z,ownerState:T,additionalProps:{id:F}}),[re,fe]=mr("select",{className:j.select,elementType:CFe,externalForwardedProps:z,ownerState:T}),[de,se]=mr("menuItem",{className:j.menuItem,elementType:D,externalForwardedProps:z,ownerState:T}),[le,ee]=mr("displayedRows",{className:j.displayedRows,elementType:kFe,externalForwardedProps:z,ownerState:T});return a.jsx(H,{...W,children:a.jsxs(K,{...q,children:[a.jsx(X,{...Q}),b.length>1&&a.jsx(Y,{...Z,children:p}),b.length>1&&a.jsx(re,{variant:"standard",...!R.variant&&{input:LW||(LW=a.jsx(vA,{}))},value:y,onChange:_,id:N,labelId:F,...R,classes:{...R.classes,root:lt(j.input,j.selectRoot,(R.classes||{}).root),select:lt(j.select,(R.classes||{}).select),icon:lt(j.selectIcon,(R.classes||{}).icon)},disabled:u,...fe,children:b.map(J=>I.createElement(de,{...se,key:J.label?J.label:J,value:J.value?J.value:J},J.label?J.label:J))}),a.jsx(le,{...ee,children:f({from:c===0?0:g*y+1,to:U(),count:c===-1?-1:c,page:g})}),a.jsx(s,{className:j.actions,backIconButtonProps:i,count:c,nextIconButtonProps:m,onPageChange:h,page:g,rowsPerPage:y,showFirstButton:w,showLastButton:C,slotProps:k.actions,slots:A.actions,getItemAriaLabel:d,disabled:u})]})})});function EFe(t){return tr("MuiTableRow",t)}const NW=rr("MuiTableRow",["root","selected","hover","head","footer"]),RFe=t=>{const{classes:e,selected:r,hover:n,head:s,footer:i}=t;return nr({root:["root",r&&"selected",n&&"hover",s&&"head",i&&"footer"]},EFe,e)},IFe=Ce("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.head&&e.head,r.footer&&e.footer]}})(Xt(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${NW.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${NW.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}))),FW="tr",d_=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableRow"}),{className:s,component:i=FW,hover:o=!1,selected:l=!1,...c}=n,u=I.useContext(BA),d={...n,component:i,hover:o,selected:l,head:u&&u.variant==="head",footer:u&&u.variant==="footer"},f=RFe(d);return a.jsx(IFe,{as:i,ref:r,className:lt(f.root,s),role:i===FW?null:"row",ownerState:d,...c})}),DFe=rs(a.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function $Fe(t){return tr("MuiTableSortLabel",t)}const XE=rr("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),OFe=t=>{const{classes:e,direction:r,active:n}=t,s={root:["root",n&&"active",`direction${tt(r)}`],icon:["icon",`iconDirection${tt(r)}`]};return nr(s,$Fe,e)},LFe=Ce(La,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.active&&e.active]}})(Xt(({theme:t})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(t.vars||t).palette.text.secondary},"&:hover":{color:(t.vars||t).palette.text.secondary,[`& .${XE.icon}`]:{opacity:.5}},[`&.${XE.active}`]:{color:(t.vars||t).palette.text.primary,[`& .${XE.icon}`]:{opacity:1,color:(t.vars||t).palette.text.secondary}}}))),NFe=Ce("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.icon,e[`iconDirection${tt(r.direction)}`]]}})(Xt(({theme:t})=>({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:t.transitions.create(["opacity","transform"],{duration:t.transitions.duration.shorter}),userSelect:"none",variants:[{props:{direction:"desc"},style:{transform:"rotate(0deg)"}},{props:{direction:"asc"},style:{transform:"rotate(180deg)"}}]}))),FFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableSortLabel"}),{active:s=!1,children:i,className:o,direction:l="asc",hideSortIcon:c=!1,IconComponent:u=DFe,slots:d={},slotProps:f={},...p}=n,m={...n,active:s,direction:l,hideSortIcon:c,IconComponent:u},h=OFe(m),_={slots:d,slotProps:f},[g,y]=mr("root",{elementType:LFe,externalForwardedProps:_,ownerState:m,className:lt(h.root,o),ref:r}),[b,x]=mr("icon",{elementType:NFe,externalForwardedProps:_,ownerState:m,className:h.icon});return a.jsxs(g,{disableRipple:!0,component:"span",...y,...p,children:[i,c&&!s?null:a.jsx(b,{as:u,...x})]})});function UFe(t){return tr("MuiToggleButton",t)}const Zm=rr("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),_ae=I.createContext({}),vae=I.createContext(void 0);function BFe(t,e){return e===void 0||t===void 0?!1:Array.isArray(e)?e.includes(t):t===e}const zFe=t=>{const{classes:e,fullWidth:r,selected:n,disabled:s,size:i,color:o}=t,l={root:["root",n&&"selected",s&&"disabled",r&&"fullWidth",`size${tt(i)}`,o]};return nr(l,UFe,e)},qFe=Ce(La,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`size${tt(r.size)}`]]}})(Xt(({theme:t})=>({...t.typography.button,borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active,[`&.${Zm.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:br(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${Zm.selected}`]:{color:(t.vars||t).palette.text.primary,backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.text.primary,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette.text.primary,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.text.primary,t.palette.action.selectedOpacity)}}}}},...Object.entries(t.palette).filter(Kn()).map(([e])=>({props:{color:e},style:{[`&.${Zm.selected}`]:{color:(t.vars||t).palette[e].main,backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette[e].main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette[e].main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette[e].main,t.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:t.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:t.typography.pxToRem(15)}}]}))),VFe=I.forwardRef(function(e,r){const{value:n,...s}=I.useContext(_ae),i=I.useContext(vae),o=k_({...s,selected:BFe(e.value,n)},e),l=fr({props:o,name:"MuiToggleButton"}),{children:c,className:u,color:d="standard",disabled:f=!1,disableFocusRipple:p=!1,fullWidth:m=!1,onChange:h,onClick:_,selected:g,size:y="medium",value:b,...x}=l,w={...l,color:d,disabled:f,disableFocusRipple:p,fullWidth:m,size:y},C=zFe(w),k=P=>{_&&(_(P,b),P.defaultPrevented)||h&&h(P,b)},A=i||"";return a.jsx(qFe,{className:lt(s.className,C.root,u,A),disabled:f,focusRipple:!p,ref:r,onClick:k,onChange:h,value:b,ownerState:w,"aria-pressed":g,...x,children:c})});function HFe(t){return tr("MuiToggleButtonGroup",t)}const Gs=rr("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),GFe=t=>{const{classes:e,orientation:r,fullWidth:n,disabled:s}=t,i={root:["root",r,n&&"fullWidth"],grouped:["grouped",`grouped${tt(r)}`,s&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return nr(i,HFe,e)},WFe=Ce("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${Gs.grouped}`]:e.grouped},{[`& .${Gs.grouped}`]:e[`grouped${tt(r.orientation)}`]},{[`& .${Gs.firstButton}`]:e.firstButton},{[`& .${Gs.lastButton}`]:e.lastButton},{[`& .${Gs.middleButton}`]:e.middleButton},e.root,r.orientation==="vertical"&&e.vertical,r.fullWidth&&e.fullWidth]}})(Xt(({theme:t})=>({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Gs.grouped}`]:{[`&.${Gs.selected} + .${Gs.grouped}.${Gs.selected}`]:{borderTop:0,marginTop:0}},[`& .${Gs.firstButton},& .${Gs.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${Gs.lastButton},& .${Gs.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${Gs.lastButton}.${Zm.disabled},& .${Gs.middleButton}.${Zm.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${Gs.grouped}`]:{[`&.${Gs.selected} + .${Gs.grouped}.${Gs.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${Gs.firstButton},& .${Gs.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Gs.lastButton},& .${Gs.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${Gs.lastButton}.${Zm.disabled},& .${Gs.middleButton}.${Zm.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),YFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiToggleButtonGroup"}),{children:s,className:i,color:o="standard",disabled:l=!1,exclusive:c=!1,fullWidth:u=!1,onChange:d,orientation:f="horizontal",size:p="medium",value:m,...h}=n,_={...n,disabled:l,fullWidth:u,orientation:f,size:p},g=GFe(_),y=I.useCallback((A,P)=>{if(!d)return;const T=m&&m.indexOf(P);let j;m&&T>=0?(j=m.slice(),j.splice(T,1)):j=m?m.concat(P):[P],d(A,j)},[d,m]),b=I.useCallback((A,P)=>{d&&d(A,m===P?null:P)},[d,m]),x=I.useMemo(()=>({className:g.grouped,onChange:c?b:y,value:m,size:p,fullWidth:u,color:o,disabled:l}),[g.grouped,c,b,y,m,p,u,o,l]),w=nre(s),C=w.length,k=A=>{const P=A===0,T=A===C-1;return P&&T?"":P?g.firstButton:T?g.lastButton:g.middleButton};return a.jsx(WFe,{role:"group",className:lt(g.root,i),ref:r,ownerState:_,...h,children:a.jsx(_ae.Provider,{value:x,children:w.map((A,P)=>a.jsx(vae.Provider,{value:k(P),children:A},P))})})});function yae(t){const e=he.c(18),{children:r,maxItems:n,small:s,expandable:i,itemsAfterCollapse:o,sx:l}=t,c=i===void 0?!1:i,u=o===void 0?1:o;let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d={display:"flex",flexWrap:"nowrap",alignItems:"baseline"},e[0]=d):d=e[0];let f;e[1]!==c?(f=!c&&{pointerEvents:"none",display:{xs:"none",sm:"flex"}},e[1]=c,e[2]=f):f=e[2];let p;e[3]!==f?(p={".MuiButtonBase-root":{...f}},e[3]=f,e[4]=p):p=e[4];let m;e[5]!==l||e[6]!==p?(m={...l,ol:d,li:p},e[5]=l,e[6]=p,e[7]=m):m=e[7];let h;if(e[8]!==r||e[9]!==s){let g;e[11]!==s?(g=(y,b)=>a.jsx(gt,{sx:{fontSize:s?"13px":"20px"},children:y},`breadcrumb-${b}`),e[11]=s,e[12]=g):g=e[12],h=I.Children.map(r,g),e[8]=r,e[9]=s,e[10]=h}else h=e[10];let _;return e[13]!==u||e[14]!==n||e[15]!==m||e[16]!==h?(_=a.jsx(c7e,{maxItems:n,itemsAfterCollapse:u,separator:"/",sx:m,children:h}),e[13]=u,e[14]=n,e[15]=m,e[16]=h,e[17]=_):_=e[17],_}function bae(){const t=he.c(7),e=Nr(KFe);let r;t[0]!==e?(r=()=>{e(!0)},t[0]=e,t[1]=r):r=t[1];const n=r;let s;t[2]!==e?(s=()=>{e(!1)},t[2]=e,t[3]=s):s=t[3];const i=s;let o;return t[4]!==i||t[5]!==n?(o={navigationOpen:n,navigationClose:i},t[4]=i,t[5]=n,t[6]=o):o=t[6],o}function KFe(t){return t.setNavigation}function QFe(){const t=he.c(10),e=Nr(ZFe),{navigationOpen:r,navigationClose:n}=bae();let s;t[0]!==e||t[1]!==n||t[2]!==r?(s=()=>{e?n():r()},t[0]=e,t[1]=n,t[2]=r,t[3]=s):s=t[3];const i=s;let o;t[4]===Symbol.for("react.memo_cache_sentinel")?(o={fontSize:"24px"},t[4]=o):o=t[4];let l;t[5]!==e?(l=e?a.jsx(ge.NavigationBurgerClose,{}):a.jsx(ge.NavigationBurgerOpen,{}),t[5]=e,t[6]=l):l=t[6];let c;return t[7]!==i||t[8]!==l?(c=a.jsx(Zr,{onClick:i,sx:o,children:l}),t[7]=i,t[8]=l,t[9]=c):c=t[9],c}function ZFe(t){return t.navigation}function UW(t){const e=he.c(39),{icon:r,value:n,label:s,onClick:i,subItems:o,isSubItem:l,subListOpen:c,onSubListOpen:u,isActive:d,hasSubItems:f}=t;let p;e[0]!==u||e[1]!==n?(p=()=>{u&&u(n)},e[0]=u,e[1]=n,e[2]=p):p=e[2];const m=p;let h;e[3]!==i||e[4]!==n?(h=()=>{i&&i(n)},e[3]=i,e[4]=n,e[5]=h):h=e[5];const g=o?m:h,y=d&&!l&&!f?"16px":"20px",b=l?.5:1;let x;e[6]!==d||e[7]!==l?(x=l&&{pl:d?"48px":"53px",position:"relative"},e[6]=d,e[7]=l,e[8]=x):x=e[8];let w;e[9]!==f||e[10]!==d?(w=d&&{fontWeight:600,...f&&{},...!f&&{borderLeft:"4px solid",borderColor:"primary.main",backgroundColor:"action.hover"}},e[9]=f,e[10]=d,e[11]=w):w=e[11];let C;e[12]!==y||e[13]!==b||e[14]!==x||e[15]!==w?(C={position:"relative",pr:"14px",pl:y,py:b,my:0,...x,...w},e[12]=y,e[13]=b,e[14]=x,e[15]=w,e[16]=C):C=e[16];let k;e[17]!==r||e[18]!==l?(k=!l&&a.jsx(LO,{sx:{minWidth:"auto",mr:"12px",fontSize:"20px"},children:r}),e[17]=r,e[18]=l,e[19]=k):k=e[19];const A=l?"body2":"body1",P=d?"600":"400";let T;e[20]!==A||e[21]!==P?(T={variant:A,fontWeight:P},e[20]=A,e[21]=P,e[22]=T):T=e[22];let j;e[23]!==s||e[24]!==T||e[25]!==n?(j=a.jsx(dA,{inset:!1,primary:s,primaryTypographyProps:T},n),e[23]=s,e[24]=T,e[25]=n,e[26]=j):j=e[26];let R;e[27]!==o?.length||e[28]!==c?(R=o?.length&&a.jsx(gt,{sx:{transformOrigin:"center",transition:"transform .35s",opacity:"0.5",height:"20px",...c&&{transform:"rotate(.5turn)"}},children:a.jsx(ge.DownArrow,{fontSize:20})}),e[27]=o?.length,e[28]=c,e[29]=R):R=e[29];let D;e[30]!==j||e[31]!==R||e[32]!==C||e[33]!==k?(D=a.jsxs(Vne,{sx:C,disableGutters:!0,children:[k,j,R]}),e[30]=j,e[31]=R,e[32]=C,e[33]=k,e[34]=D):D=e[34];let O;return e[35]!==D||e[36]!==g||e[37]!==n?(O=a.jsx(wA,{onClick:g,disableGutters:!0,disablePadding:!0,children:D},n),e[35]=D,e[36]=g,e[37]=n,e[38]=O):O=e[38],O}const xae=270;function XFe(t){const e=he.c(59),{open:r,headerComponent:n,footerComponent:s,items:i,activeValue:o}=t,l=As(),c=Nd(l.breakpoints.up("md"))?"persistent":"temporary",u=Nr(tUe),{navigationOpen:d,navigationClose:f}=bae(),p=Nr(eUe),m=Nr(JFe);let h;e[0]!==m?(h=Z=>{m(Z)},e[0]=m,e[1]=h):h=e[1];const _=h;let g;e[2]!==f||e[3]!==c?(g=()=>{c==="temporary"&&f()},e[2]=f,e[3]=c,e[4]=g):g=e[4];const y=g;let b;e[5]!==p?(b=Z=>{const{value:re}=Z;return p.includes(re)},e[5]=p,e[6]=b):b=e[6];const x=b;let w;e[7]!==d||e[8]!==r?(w=()=>{r&&d()},e[7]=d,e[8]=r,e[9]=w):w=e[9];let C;e[10]!==i||e[11]!==d||e[12]!==r?(C=[i,r,d],e[10]=i,e[11]=d,e[12]=r,e[13]=C):C=e[13],I.useEffect(w,C);let k,A;e[14]!==f||e[15]!==c?(k=()=>{const Z=setTimeout(()=>{c==="temporary"&&f()},0);return()=>{clearTimeout(Z)}},A=[f,c],e[14]=f,e[15]=c,e[16]=k,e[17]=A):(k=e[16],A=e[17]),I.useEffect(k,A);const P=I.useRef(!1);let T,j;e[18]!==o||e[19]!==i||e[20]!==m||e[21]!==p?(T=()=>{if(P.current)return;const Z=i.find(re=>re.subItems?.find(fe=>{const{value:de}=fe;return de===o}));Z&&!p.includes(Z.value)&&m(Z.value),P.current=!0},j=[o,i,m,p],e[18]=o,e[19]=i,e[20]=m,e[21]=p,e[22]=T,e[23]=j):(T=e[22],j=e[23]),I.useEffect(T,j);const R=Nd(l.breakpoints.down($.appBarMobileBreakpoint))?"125px":"60px",D=l.zIndex.appBar-1;let O;e[24]!==R||e[25]!==D?(O={sx:{mt:R,zIndex:D}},e[24]=R,e[25]=D,e[26]=O):O=e[26];const N=l.zIndex.appBar-1;let F;e[27]!==N?(F={zIndex:N},e[27]=N,e[28]=F):F=e[28];const U=`calc(100vh - ${R})`;let z;e[29]!==U?(z={height:U,width:xae,position:"relative"},e[29]=U,e[30]=z):z=e[30];let H;e[31]!==n?(H=n&&a.jsx(gt,{sx:{px:3,pb:2},children:n}),e[31]=n,e[32]=H):H=e[32];let W;e[33]===Symbol.for("react.memo_cache_sentinel")?(W={flexGrow:1,overflowY:"auto",mt:"0 !important"},e[33]=W):W=e[33];let K;if(e[34]!==y||e[35]!==_||e[36]!==x||e[37]!==i){let Z;e[39]!==y||e[40]!==_||e[41]!==x?(Z=(re,fe)=>{const de=x(re);return a.jsxs(gt,{sx:{position:"relative",zIndex:1e3,color:"text.primary",borderBottom:"1px solid",borderColor:"divider"},children:[a.jsx(z6,{to:re.value,onClick:se=>{re.subItems?se.preventDefault():y()},style:{textDecoration:"none",color:"inherit"},target:re.external?"_blank":"_self",children:se=>{const{isActive:le}=se;return a.jsx(UW,{...re,onSubListOpen:_,subListOpen:de,isActive:le,hasSubItems:!!re.subItems?.length})}}),re.subItems?.length&&a.jsx(Qb,{in:de,timeout:"auto",unmountOnExit:!0,children:a.jsx(_h,{component:"div",sx:{pt:0,pb:0},children:re.subItems.map(se=>a.jsx(z6,{to:se.value,style:{textDecoration:"none",color:"inherit"},target:se.external?"_blank":"_self",children:le=>{const{isActive:ee}=le;return a.jsx(UW,{...se,onClick:y,isSubItem:!0,isActive:ee})}},`${se.value}-${fe}`))})})]},`${re.value}-${fe}`)},e[39]=y,e[40]=_,e[41]=x,e[42]=Z):Z=e[42],K=i.map(Z),e[34]=y,e[35]=_,e[36]=x,e[37]=i,e[38]=K}else K=e[38];let q;e[43]!==K?(q=a.jsx(_h,{sx:W,component:"nav","aria-labelledby":"nested-list-subheader",disablePadding:!0,children:K}),e[43]=K,e[44]=q):q=e[44];let X;e[45]!==s?(X=s&&a.jsx(gt,{sx:{px:3,pt:1},children:s}),e[45]=s,e[46]=X):X=e[46];let Q;e[47]!==z||e[48]!==H||e[49]!==q||e[50]!==X?(Q=a.jsxs(te,{sx:z,nowrap:!0,children:[H,q,X]}),e[47]=z,e[48]=H,e[49]=q,e[50]=X,e[51]=Q):Q=e[51];let Y;return e[52]!==y||e[53]!==u||e[54]!==O||e[55]!==F||e[56]!==Q||e[57]!==c?(Y=a.jsx(aae,{variant:c,onClose:y,open:u,PaperProps:O,sx:F,children:Q}),e[52]=y,e[53]=u,e[54]=O,e[55]=F,e[56]=Q,e[57]=c,e[58]=Y):Y=e[58],Y}function JFe(t){return t.setNavigationSubListOpen}function eUe(t){return t.navigationSubListOpen}function tUe(t){return t.navigation}function G0(t){const e=he.c(19),{children:r,appBar:n,fullHeight:s,navigation:i,fullWidth:o}=t,l=ci(),c=Nr(rUe),u=aC(l.breakpoints.up("md"))?"persistent":"temporary";let d;e[0]!==o?(d=o&&{"&.MuiContainer-maxWidthXl":{maxWidth:"100%"}},e[0]=o,e[1]=d):d=e[1];let f;e[2]!==d?(f={...d},e[2]=d,e[3]=f):f=e[3];const p=n?10:2,m=s&&"100vh",h=s&&"100vh",_=i&&c&&u==="persistent"?`${xae}px`:0;let g;e[4]!==p||e[5]!==m||e[6]!==h||e[7]!==_?(g={pt:p,pb:3,height:m,maxHeight:h,overflow:"visible",pl:_,width:"100%"},e[4]=p,e[5]=m,e[6]=h,e[7]=_,e[8]=g):g=e[8];let y;e[9]===Symbol.for("react.memo_cache_sentinel")?(y={overflow:"visible"},e[9]=y):y=e[9];let b;e[10]!==r||e[11]!==s?(b=a.jsx(te,{fullHeight:s,spacing:2.5,nowrap:!0,sx:y,children:r}),e[10]=r,e[11]=s,e[12]=b):b=e[12];let x;e[13]!==g||e[14]!==b?(x=a.jsx(gt,{sx:g,children:b}),e[13]=g,e[14]=b,e[15]=x):x=e[15];let w;return e[16]!==x||e[17]!==f?(w=a.jsx(H7e,{maxWidth:"xl",sx:f,children:x}),e[16]=x,e[17]=f,e[18]=w):w=e[18],w}function rUe(t){return t.navigation}function nUe(t){const e=he.c(3),{children:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={flex:"0 0 auto",pb:1,pt:.5,px:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(S7e,{sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s}function Kt(t){const e=he.c(10),{children:r,title:n,titleColor:s,dense:i,sx:o}=t,l=s===void 0?"text.primary":s;let c;e[0]!==o?(c={p:2,flex:"1 1 auto",minWidth:0,...o},e[0]=o,e[1]=c):c=e[1];let u;e[2]!==i||e[3]!==n||e[4]!==l?(u=n&&a.jsx(gt,{sx:{mb:2,"&:last-child":{mb:0}},children:a.jsx(_e,{type:i?"body1":"h6",color:l,fontWeight:600,children:n})}),e[2]=i,e[3]=n,e[4]=l,e[5]=u):u=e[5];let d;return e[6]!==r||e[7]!==c||e[8]!==u?(d=a.jsxs(gt,{sx:c,children:[u,r]}),e[6]=r,e[7]=c,e[8]=u,e[9]=d):d=e[9],d}const sUe=Ce(({className:t,opaque:e,...r})=>a.jsx(hae,{...r,classes:{popper:t}}))(({theme:t,...e})=>()=>typeof e.title=="string"||!e.opaque?{}:{[`& .${Xs.tooltip}`]:{padding:"0 !important",backgroundColor:t.palette.background.paper,color:t.palette.text.primary,opacity:0,boxShadow:t.shadows[5],border:"1px solid",borderColor:t.palette.divider},"& .tooltip-items":{maxHeight:"60vh",overflowY:"auto"},[`& .${Xs.arrow}`]:{color:t.palette.background.paper,"&::before":{backgroundColor:t.palette.background.paper,border:"1px solid",borderColor:t.palette.divider,borderBottom:0}}});function Mn(t){const e=he.c(8);let r,n,s;e[0]!==t?({arrow:n,placement:s,...r}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s):(r=e[1],n=e[2],s=e[3]);const i=n===void 0?!0:n,o=s===void 0?"bottom":s;let l;return e[4]!==i||e[5]!==o||e[6]!==r?(l=a.jsx(sUe,{arrow:i,placement:o,...r}),e[4]=i,e[5]=o,e[6]=r,e[7]=l):l=e[7],l}function iUe(t){const e=he.c(5),{children:r,tooltip:n}=t;let s;e[0]!==n?(s=n&&a.jsx(Mn,{title:n,arrow:!0,children:a.jsx("span",{children:a.jsx(ge.Info,{})})}),e[0]=n,e[1]=s):s=e[1];let i;return e[2]!==r||e[3]!==s?(i=a.jsxs(QL,{direction:"row",justifyContent:"flex-end",alignItems:"center",spacing:2.25,children:[r,s]}),e[2]=r,e[3]=s,e[4]=i):i=e[4],i}function oUe(t){const e=he.c(24),{title:r,children:n,tooltip:s,dense:i,folder:o}=t,l=i===void 0?!1:i,c=o===void 0?!1:o,u=ci(),d=l?"h6":"h5";let f;e[0]!==d?(f={variant:d,fontWeight:"600",lineHeight:1},e[0]=d,e[1]=f):f=e[1];const p=l||c?0:"inherit",m=c?1:2,h=l||c?1:2,_=l||c?"10px":"40px";let g;e[2]!==_?(g={minHeight:_,display:"flex",alignItems:"center"},e[2]=_,e[3]=g):g=e[3];let y;e[4]===Symbol.for("react.memo_cache_sentinel")?(y={alignSelf:"center"},e[4]=y):y=e[4];let b;e[5]!==p||e[6]!==m||e[7]!==h||e[8]!==g||e[9]!==u.palette.text.secondary?(b={color:u.palette.text.secondary,display:"flex",flex:"0 0 auto",lineHeight:p,pt:m,pb:h,".MuiCardHeader-content":g,".MuiCardHeader-action":y},e[5]=p,e[6]=m,e[7]=h,e[8]=g,e[9]=u.palette.text.secondary,e[10]=b):b=e[10];let x;e[11]!==n||e[12]!==s?(x=a.jsx(iUe,{tooltip:s,children:n}),e[11]=n,e[12]=s,e[13]=x):x=e[13];let w;e[14]!==b||e[15]!==x||e[16]!==f||e[17]!==r?(w=a.jsx(j7e,{title:r,titleTypographyProps:f,sx:b,action:x}),e[14]=b,e[15]=x,e[16]=f,e[17]=r,e[18]=w):w=e[18];let C;e[19]!==c?(C=c&&a.jsx(Oc,{}),e[19]=c,e[20]=C):C=e[20];let k;return e[21]!==w||e[22]!==C?(k=a.jsxs(a.Fragment,{children:[w,C]}),e[21]=w,e[22]=C,e[23]=k):k=e[23],k}function pr(t){const e=he.c(58);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g;e[0]!==t?({children:r,title:h,headerActionsComponent:i,footerActionsComponent:s,tooltip:_,highlightedColor:o,fullHeight:d,dense:f,folder:p,elevation:m,modalElevation:l,variant:g,sx:u,error:n,...c}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15]);const y=d===void 0?!1:d,b=f===void 0?!1:f,x=p===void 0?!1:p,w=m===void 0?1:m,C=y?"hidden":"visible",k=y?"100%":"auto";let A;e[16]!==o?(A=o&&{borderBottom:"5px solid",borderBottomColor:`${o}.main`},e[16]=o,e[17]=A):A=e[17];let P;e[18]!==g?(P=g==="outlined"&&{backgroundColor:"transparent"},e[18]=g,e[19]=P):P=e[19];let T;e[20]!==n?(T=n&&{border:"2px solid !important",borderColor:aUe},e[20]=n,e[21]=T):T=e[21];let j;e[22]!==w||e[23]!==l?(j=l&&{backgroundImage:H=>H.palette.mode==="dark"?`linear-gradient(${Ic("#fff",+hh(24+w*24))}, ${Ic("#fff",+hh(24+w*24))})`:"none"},e[22]=w,e[23]=l,e[24]=j):j=e[24];let R;e[25]!==u||e[26]!==j||e[27]!==C||e[28]!==k||e[29]!==A||e[30]!==P||e[31]!==T?(R={flex:"1 1 auto",display:"flex",overflow:C,height:k,...A,...P,...T,...j,...u},e[25]=u,e[26]=j,e[27]=C,e[28]=k,e[29]=A,e[30]=P,e[31]=T,e[32]=R):R=e[32];let D;e[33]===Symbol.for("react.memo_cache_sentinel")?(D={flex:"1 1 auto",minWidth:0},e[33]=D):D=e[33];let O;e[34]!==b||e[35]!==x||e[36]!==i||e[37]!==h||e[38]!==_?(O=!h&&!_&&!i?null:a.jsx(oUe,{title:h,tooltip:_,dense:b,folder:x,children:i}),e[34]=b,e[35]=x,e[36]=i,e[37]=h,e[38]=_,e[39]=O):O=e[39];let N;if(e[40]!==r||e[41]!==b){let H;e[43]!==b?(H=W=>W.type===Kt?I.cloneElement(W,{dense:b}):W,e[43]=b,e[44]=H):H=e[44],N=I.Children.map(r,H),e[40]=r,e[41]=b,e[42]=N}else N=e[42];let F;e[45]!==s?(F=s&&a.jsx(nUe,{children:s}),e[45]=s,e[46]=F):F=e[46];let U;e[47]!==y||e[48]!==O||e[49]!==N||e[50]!==F?(U=a.jsxs(te,{spacing:0,sx:D,fullHeight:y,nowrap:!0,children:[O,N,F]}),e[47]=y,e[48]=O,e[49]=N,e[50]=F,e[51]=U):U=e[51];let z;return e[52]!==w||e[53]!==c||e[54]!==R||e[55]!==U||e[56]!==g?(z=a.jsx(v7e,{elevation:w,variant:g,sx:R,...c,children:U}),e[52]=w,e[53]=c,e[54]=R,e[55]=U,e[56]=g,e[57]=z):z=e[57],z}function aUe(t){return`${t.palette.error.main} !important`}function zA(t){const e=he.c(20),{children:r,fullHeight:n,transparent:s}=t;let i;e[0]!==n?(i=n&&{height:"100%",maxHeight:"100%",overflow:"hidden"},e[0]=n,e[1]=i):i=e[1];let o;e[2]!==i?(o={width:"100%",maxWidth:"1000px",margin:"0 auto",...i},e[2]=i,e[3]=o):o=e[3];let l;e[4]!==s?(l=s&&{backgroundColor:"transparent"},e[4]=s,e[5]=l):l=e[5];let c;e[6]!==l?(c={...l},e[6]=l,e[7]=c):c=e[7];let u;e[8]!==s?(u=s&&{elevation:0},e[8]=s,e[9]=u):u=e[9];let d;e[10]!==r?(d=a.jsx(a.Fragment,{children:r}),e[10]=r,e[11]=d):d=e[11];let f;e[12]!==n||e[13]!==c||e[14]!==u||e[15]!==d?(f=a.jsx(pr,{fullHeight:n,sx:c,...u,children:d}),e[12]=n,e[13]=c,e[14]=u,e[15]=d,e[16]=f):f=e[16];let p;return e[17]!==o||e[18]!==f?(p=a.jsx(gt,{sx:o,children:f}),e[17]=o,e[18]=f,e[19]=p):p=e[19],p}function lUe(t){const e=he.c(10),{center:r,fullHeight:n,appBar:s,navigation:i,transparent:o}=t;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=a.jsx(uUe,{}),e[0]=l):l=e[0];let c;e[1]!==r||e[2]!==n||e[3]!==o?(c=r?a.jsx(zA,{fullHeight:n,transparent:o,children:a.jsx(Bd,{})}):a.jsx(pr,{fullHeight:n,sx:{...o&&{backgroundColor:"transparent"}},...o&&{elevation:0},children:a.jsx(Bd,{})}),e[1]=r,e[2]=n,e[3]=o,e[4]=c):c=e[4];let u;return e[5]!==s||e[6]!==n||e[7]!==i||e[8]!==c?(u=a.jsxs(G0,{appBar:s,navigation:i,fullWidth:!0,fullHeight:n,children:[l,c]}),e[5]=s,e[6]=n,e[7]=i,e[8]=c,e[9]=u):u=e[9],u}const Sae="app-page-header-actions";function hs(t){const e=he.c(2),{children:r}=t;let n;return e[0]!==r?(n=a.jsx(YO,{container:cUe,children:r}),e[0]=r,e[1]=n):n=e[1],n}function cUe(){return document.querySelector(`#${Sae}`)}function uUe(){const t=he.c(59),e=WL();let r;t[0]!==e?(r=e.map(hUe).filter(mUe),t[0]=e,t[1]=r):r=t[1];const n=r;let s;e:{if(!n){let z;t[2]===Symbol.for("react.memo_cache_sentinel")?(z=[],t[2]=z):z=t[2],s=z;break e}let U;t[3]!==n?(U=n.map(pUe).filter(fUe),t[3]=n,t[4]=U):U=t[4],s=U}const i=s;let o,l,c,u,d,f,p,m,h,_,g,y,b,x,w,C,k,A,P;if(t[5]!==i){const U=i.slice(0,-1);d=i[i.length-1],u=te,f=.5,p=!0,m="row",h="space-between",_="flex-start",t[25]===Symbol.for("react.memo_cache_sentinel")?(g={ml:-1},t[25]=g):g=t[25],c=te,C="row",k=1,A="center",t[26]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(QFe,{}),t[26]=P):P=t[26],l=te,w=0,o=yae,y=10,b=!1,x=U.map(dUe),t[5]=i,t[6]=o,t[7]=l,t[8]=c,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=_,t[16]=g,t[17]=y,t[18]=b,t[19]=x,t[20]=w,t[21]=C,t[22]=k,t[23]=A,t[24]=P}else o=t[6],l=t[7],c=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],_=t[15],g=t[16],y=t[17],b=t[18],x=t[19],w=t[20],C=t[21],k=t[22],A=t[23],P=t[24];let T;t[27]!==d?(T=d&&a.jsx(_e,{type:"h6",color:"text.primary",fontWeight:600,children:d.label}),t[27]=d,t[28]=T):T=t[28];let j;t[29]!==o||t[30]!==T||t[31]!==y||t[32]!==b||t[33]!==x?(j=a.jsxs(o,{maxItems:y,expandable:b,children:[x,T]}),t[29]=o,t[30]=T,t[31]=y,t[32]=b,t[33]=x,t[34]=j):j=t[34];let R;t[35]!==d.caption?(R=d.caption&&a.jsx(_e,{type:"body2",color:"text.secondary",sx:{wordBreak:"break-all"},children:d.caption}),t[35]=d.caption,t[36]=R):R=t[36];let D;t[37]!==l||t[38]!==j||t[39]!==R||t[40]!==w?(D=a.jsxs(l,{spacing:w,children:[j,R]}),t[37]=l,t[38]=j,t[39]=R,t[40]=w,t[41]=D):D=t[41];let O;t[42]!==c||t[43]!==D||t[44]!==C||t[45]!==k||t[46]!==A||t[47]!==P?(O=a.jsxs(c,{direction:C,spacing:k,align:A,children:[P,D]}),t[42]=c,t[43]=D,t[44]=C,t[45]=k,t[46]=A,t[47]=P,t[48]=O):O=t[48];let N;t[49]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(gt,{id:Sae,sx:{mt:"2px"}}),t[49]=N):N=t[49];let F;return t[50]!==u||t[51]!==f||t[52]!==p||t[53]!==m||t[54]!==h||t[55]!==_||t[56]!==g||t[57]!==O?(F=a.jsxs(u,{spacing:f,fullWidth:p,direction:m,justify:h,align:_,sx:g,children:[O,N]}),t[50]=u,t[51]=f,t[52]=p,t[53]=m,t[54]=h,t[55]=_,t[56]=g,t[57]=O,t[58]=F):F=t[58],F}function dUe(t){const{to:e,label:r}=t;return e?a.jsx(gt,{component:"span",sx:{color:"primary.main","&:hover":{color:"primary.dark"}},children:a.jsx(z6,{to:e,style:{color:"inherit"},children:()=>a.jsx(te,{direction:"row",align:"center",spacing:1,children:a.jsx(_e,{children:r})})},e)},e):a.jsx(te,{direction:"row",align:"center",spacing:1,children:a.jsx(_e,{children:r})},r)}function fUe(t){return!!t}function pUe(t){return typeof t=="object"&&"breadcrumb"in t?t.breadcrumb:null}function mUe(t){return!!t}function hUe(t){if(t.handle){if(typeof t.handle=="object")return t.handle;if(typeof t.handle=="function")return t.handle(t)}return null}function gUe(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(G0,{appBar:!0,navigation:!0,fullWidth:!0,children:a.jsx(zA,{children:a.jsx(Tr,{})})}),t[0]=e):e=t[0],e}function _Ue(){const t=Nr(xUe),e=Nr(bUe),r=Nr(yUe),n=Nr(vUe);return!!(t||e.length||r||n)}function vUe(t){return t.drawerOpen}function yUe(t){return t.confirmationSimpleDialogOpen}function bUe(t){return t.dialogsOpen}function xUe(t){return t.confirmationDialogOpen}function rN(){const t=he.c(2);if(_Ue()){let n;return t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{asSnackbar:!0}),t[0]=n):n=t[0],n}let r;return t[1]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(G0,{fullWidth:!0,fullHeight:!0,children:a.jsx(zA,{transparent:!0,children:a.jsx(Tr,{})})}),t[1]=r):r=t[1],r}function SUe(t){const e=he.c(15),{alt:r,size:n,src:s,variant:i,color:o,children:l,initials:c}=t,u=s===void 0?"":s;let d=null;if(c&&r){let g;e[0]!==r?(g=r.split(" ").map(wUe).slice(0,2).join(""),e[0]=r,e[1]=g):g=e[1],d=g}else l&&(d=l);const f=d;let p;e[2]!==o?(p=o&&{backgroundColor:o},e[2]=o,e[3]=p):p=e[3];let m;e[4]!==n?(m=n&&{height:n,width:n},e[4]=n,e[5]=m):m=e[5];let h;e[6]!==p||e[7]!==m?(h={...p,...m},e[6]=p,e[7]=m,e[8]=h):h=e[8];let _;return e[9]!==r||e[10]!==f||e[11]!==u||e[12]!==h||e[13]!==i?(_=a.jsx(HNe,{alt:r,src:u,variant:i,sx:h,"data-testid":"avatar",children:f}),e[9]=r,e[10]=f,e[11]=u,e[12]=h,e[13]=i,e[14]=_):_=e[14],_}function wUe(t){return t[0]}function CUe(t){const e=he.c(21),{onClick:r,fullname:n,description:s,image:i,menuItems:o,hideFullName:l}=t,c=ci();let u;e[0]!==c.breakpoints?(u=c.breakpoints.up("md"),e[0]=c.breakpoints,e[1]=u):u=e[1];const d=Nd(u),{menuOpen:f}=Jt(),p=Nd(c.breakpoints.down($.appBarMobileBreakpoint))?{display:"inline-block",cursor:"pointer",marginLeft:"auto",position:"relative",top:"-44px"}:{display:"inline-block",cursor:"pointer",marginLeft:"auto"};let m;e[2]!==o||e[3]!==f||e[4]!==r?(m=x=>{x.preventDefault(),r&&r(x),o&&o.length&&f({anchorEl:x.currentTarget,items:o,anchorOrigin:{vertical:"bottom",horizontal:"right"}})},e[2]=o,e[3]=f,e[4]=r,e[5]=m):m=e[5];const h=m;let _;e[6]!==s||e[7]!==n||e[8]!==l||e[9]!==d?(_=d&&a.jsxs(gt,{children:[!l&&a.jsx(gt,{sx:{display:"flex",justifyContent:"flex-end"},children:a.jsx(_e,{type:"body1",align:"right",lineHeight:1,fontWeight:600,children:n})}),s&&s.length&&a.jsx(te,{direction:"row",align:"baseline",justify:"flex-end",spacing:.5,divided:s.length>1,children:s.map(AUe)})]}),e[6]=s,e[7]=n,e[8]=l,e[9]=d,e[10]=_):_=e[10];let g;e[11]!==n||e[12]!==i?(g=a.jsx(SUe,{alt:n,src:i,size:40,initials:!0}),e[11]=n,e[12]=i,e[13]=g):g=e[13];let y;e[14]!==_||e[15]!==g?(y=a.jsxs(te,{direction:"row",align:"center",justify:"flex-end",children:[_,g]}),e[14]=_,e[15]=g,e[16]=y):y=e[16];let b;return e[17]!==h||e[18]!==y||e[19]!==p?(b=a.jsx(gt,{sx:p,onClick:h,"data-testid":"profile-card",children:y}),e[17]=h,e[18]=y,e[19]=p,e[20]=b):b=e[20],b}function AUe(t,e){return a.jsx(_e,{lineHeight:1,type:"caption",children:t},e)}const kUe=t=>I.createElement("svg",{width:66,height:18,viewBox:"0 0 66 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 18V0H66V18H0ZM4 14H61.9862H62V4H4V14Z",fill:"#01A982"}));function MUe({productName:t}){const e=ci();return a.jsxs(te,{direction:"row",align:"center",spacing:3,nowrap:!0,children:[a.jsx(gt,{sx:{width:"66px",height:"18px"},children:a.jsx(kUe,{})}),a.jsxs(_e,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",[e.breakpoints.up(445)]:{width:"100%"},[e.breakpoints.down(445)]:{width:"70%"},[e.breakpoints.down(434)]:{width:"65%"},[e.breakpoints.down(410)]:{width:"60%"},[e.breakpoints.down(390)]:{width:"55%"},[e.breakpoints.down(367)]:{width:"45%"}},children:[t.includes("HPE")&&a.jsx(gt,{component:"span",sx:{fontWeight:500},children:"HPE"}),a.jsxs(gt,{component:"span",children:[" ",t.replace("HPE","")]})]})]})}function PUe(t){const e=he.c(18),{children:r,info:n,siteSelector:s}=t,{hostname:i,product_name:o}=n;let l,c;e[0]!==i||e[1]!==o?(l=()=>{document.title=i===window.location.hostname?`${i} - ${o}`:`${i} - ${window.location.hostname} - ${o}`},c=[i,o],e[0]=i,e[1]=o,e[2]=l,e[3]=c):(l=e[2],c=e[3]),I.useEffect(l,c);const u=ci(),d=aC(u.breakpoints.down($.appBarMobileBreakpoint))?{my:4,mx:.5}:"";let f;e[4]===Symbol.for("react.memo_cache_sentinel")?(f={borderBottom:"1px solid",borderColor:"divider"},e[4]=f):f=e[4];let p;e[5]!==d?(p={height:"60px !important",minHeight:"60px !important",gap:"10px",...d},e[5]=d,e[6]=p):p=e[6];let m;e[7]!==o?(m=a.jsx(MUe,{productName:o}),e[7]=o,e[8]=m):m=e[8];let h;e[9]!==s||e[10]!==m?(h=a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[m,s]}),e[9]=s,e[10]=m,e[11]=h):h=e[11];let _;e[12]!==r||e[13]!==h?(_=a.jsxs(te,{justify:"space-between",direction:"row",fullWidth:!0,children:[h,r]}),e[12]=r,e[13]=h,e[14]=_):_=e[14];let g;return e[15]!==p||e[16]!==_?(g=a.jsx(hNe,{elevation:0,color:"inherit",sx:f,children:a.jsx(tN,{sx:p,children:_})}),e[15]=p,e[16]=_,e[17]=g):g=e[17],g}function En(t){const e=he.c(21);let r,n,s,i,o,l,c;e[0]!==t?({onClick:o,disabled:n,value:c,children:r,divider:s,icon:i,...l}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7]);const u=`menu-item-${c}`;let d;e[8]!==i?(d=i&&a.jsx(LO,{sx:{fontSize:"18px"},children:i}),e[8]=i,e[9]=d):d=e[9];let f;e[10]!==r?(f=a.jsx(dA,{children:r}),e[10]=r,e[11]=f):f=e[11];let p;return e[12]!==n||e[13]!==s||e[14]!==o||e[15]!==l||e[16]!==u||e[17]!==d||e[18]!==f||e[19]!==c?(p=a.jsxs(E_,{divider:s,onClick:o,disabled:n,value:c,"data-testid":u,...l,children:[d,f]}),e[12]=n,e[13]=s,e[14]=o,e[15]=l,e[16]=u,e[17]=d,e[18]=f,e[19]=c,e[20]=p):p=e[20],p}function jUe(t){const e=he.c(40),{darkText:r,lightText:n,systemText:s,title:i}=t,o=Nr(EUe),l=Nr(TUe);let c;e[0]!==l?(c=N=>()=>{l(N)},e[0]=l,e[1]=c):c=e[1];const u=c;let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d={px:2,pb:1,pt:.5},e[2]=d):d=e[2];let f;e[3]!==i?(f=a.jsx(_e,{color:"text.secondary",sx:d,children:i}),e[3]=i,e[4]=f):f=e[4];let p;e[5]!==u?(p=u("dark"),e[5]=u,e[6]=p):p=e[6];let m;e[7]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsx(ge.Darkmode,{}),e[7]=m):m=e[7];const h=o==="dark"?"divider":"none";let _;e[8]!==h?(_={backgroundColor:h},e[8]=h,e[9]=_):_=e[9];let g;e[10]!==r||e[11]!==p||e[12]!==_?(g=a.jsx(En,{onClick:p,icon:m,sx:_,children:r}),e[10]=r,e[11]=p,e[12]=_,e[13]=g):g=e[13];let y;e[14]!==u?(y=u("light"),e[14]=u,e[15]=y):y=e[15];let b;e[16]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(ge.Lightmode,{}),e[16]=b):b=e[16];const x=o==="light"?"divider":"none";let w;e[17]!==x?(w={backgroundColor:x},e[17]=x,e[18]=w):w=e[18];let C;e[19]!==n||e[20]!==w||e[21]!==y?(C=a.jsx(En,{onClick:y,icon:b,sx:w,children:n}),e[19]=n,e[20]=w,e[21]=y,e[22]=C):C=e[22];let k;e[23]!==u?(k=u("system"),e[23]=u,e[24]=k):k=e[24];let A;e[25]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsx(ge.Monitor,{}),e[25]=A):A=e[25];const P=o==="system"?"divider":"none";let T;e[26]!==P?(T={backgroundColor:P},e[26]=P,e[27]=T):T=e[27];let j;e[28]!==s||e[29]!==k||e[30]!==T?(j=a.jsx(En,{onClick:k,icon:A,sx:T,children:s}),e[28]=s,e[29]=k,e[30]=T,e[31]=j):j=e[31];let R;e[32]!==C||e[33]!==j||e[34]!==f||e[35]!==g?(R=a.jsxs(pv,{children:[f,g,C,j]}),e[32]=C,e[33]=j,e[34]=f,e[35]=g,e[36]=R):R=e[36];let D;e[37]===Symbol.for("react.memo_cache_sentinel")?(D=a.jsx("div",{children:a.jsx(Zr,{size:"small",sx:{fontSize:"22px",mt:"2px"},children:a.jsx(ge.DarkModeToggle,{})})}),e[37]=D):D=e[37];let O;return e[38]!==R?(O=a.jsx(Mn,{opaque:!0,disableFocusListener:!0,enterTouchDelay:0,title:R,children:D}),e[38]=R,e[39]=O):O=e[39],O}function TUe(t){return t.setThemeMode}function EUe(t){return t.themeMode}function wae(){const t=he.c(13),e=Ye();let r;t[0]!==e?(r=e.formatMessage({id:"darkmode.title"}),t[0]=e,t[1]=r):r=t[1];let n;t[2]!==e?(n=e.formatMessage({id:"darkmode.dark"}),t[2]=e,t[3]=n):n=t[3];let s;t[4]!==e?(s=e.formatMessage({id:"darkmode.light"}),t[4]=e,t[5]=s):s=t[5];let i;t[6]!==e?(i=e.formatMessage({id:"darkmode.system"}),t[6]=e,t[7]=i):i=t[7];let o;return t[8]!==r||t[9]!==n||t[10]!==s||t[11]!==i?(o=a.jsx(jUe,{title:r,darkText:n,lightText:s,systemText:i}),t[8]=r,t[9]=n,t[10]=s,t[11]=i,t[12]=o):o=t[12],o}const Tt=()=>!0,Cae=t=>!["","/","/site-loader"].includes(t);function ro({nf:t,rootUrl:e,applyActionUrl:r,persistActionUrl:n,reloadActionUrl:s,factoryResetActionUrl:i}){return{[e]:o=>et({permissions:ie.configuration,activeServicesNames:[t],services:o}),[r]:Tt,[n]:Tt,[s]:Tt,[i]:Tt}}function RUe({nf:t,rootUrl:e,connectionsUrl:r,connectionsDeleteActionUrl:n,connectionsResetActionUrl:s,listenersUrl:i}){return{[e]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[r]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[i]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[n]:Tt,[s]:Tt}}function no({nf:t,rootUrl:e,joinClusterActionUrl:r,leaveClusterActionUrl:n,leaveCpWithoutConsensusActionUrl:s,removeApDeadNodesActionUrl:i,applyBootConfigUrl:o}){return{[e]:l=>et({permissions:ie.configuration,activeServicesNames:[t],services:l}),[o]:Tt,...r&&{[r]:Tt},...n&&{[n]:Tt},...s&&{[s]:Tt},...i&&{[i]:Tt}}}const IUe={[$.urls.amf]:t=>et({permissions:[ie.configuration,ie.monitoring],activeServicesNames:[ue.AMF],services:t}),[$.urls.amfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF],services:t}),...RUe({nf:ue.AMF,rootUrl:$.urls.amfStatusNgap,connectionsUrl:$.urls.amfStatusNgapConnections,connectionsDeleteActionUrl:$.urls.amfStatusNgapConnectionsDelete_Action,connectionsResetActionUrl:$.urls.amfStatusNgapConnectionsReset_Action,listenersUrl:$.urls.amfStatusNgapListeners}),...no({nf:ue.AMF,rootUrl:$.urls.amfCluster,applyBootConfigUrl:$.urls.amfClusterApplyBootConfig_Action}),...ro({nf:ue.AMF,rootUrl:$.urls.amfConfiguration,applyActionUrl:$.urls.amfConfigurationApply_Action,persistActionUrl:$.urls.amfConfigurationPersist_Action,reloadActionUrl:$.urls.amfConfigurationReload_Action,factoryResetActionUrl:$.urls.amfConfigurationFactoryReset_Action})},DUe={[$.urls.ausf]:t=>et({permissions:[ie.configuration],activeServicesNames:[ue.AUSF],services:t}),...no({nf:ue.AUSF,rootUrl:$.urls.ausfCluster,applyBootConfigUrl:$.urls.ausfClusterApplyBootConfig_Action}),...ro({nf:ue.AUSF,rootUrl:$.urls.ausfConfiguration,applyActionUrl:$.urls.ausfConfigurationApply_Action,persistActionUrl:$.urls.ausfConfigurationPersist_Action,reloadActionUrl:$.urls.ausfConfigurationReload_Action,factoryResetActionUrl:$.urls.ausfConfigurationFactoryReset_Action})};function Fp({nf:t,rootUrl:e,connectionsUrl:r,peersUrl:n}){return{[e]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s}),[r]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s}),[n]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s})}}function qA({nf:t,rootUrl:e,socketsUrl:r,peersUrl:n,blockedPeersUrl:s,blockedPeersFlushActionUrl:i}){return{[e]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[r]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[n]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),...s&&i&&{[s]:o=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:o}),[i]:Tt}}}const $Ue={[$.urls.bmsc]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.BMSC],services:t}),[$.urls.bmscStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.BMSC],services:t}),...Fp({nf:ue.BMSC,rootUrl:$.urls.bmscStatusDiameter,connectionsUrl:$.urls.bmscStatusDiameterConnections,peersUrl:$.urls.bmscStatusDiameterPeers}),...qA({nf:ue.BMSC,rootUrl:$.urls.bmscStatusGtpc,socketsUrl:$.urls.bmscStatusGtpcSockets,peersUrl:$.urls.bmscStatusGtpcPeers}),...no({nf:ue.BMSC,rootUrl:$.urls.bmscCluster,applyBootConfigUrl:$.urls.bmscClusterApplyBootConfig_Action}),...ro({nf:ue.BMSC,rootUrl:$.urls.bmscConfiguration,applyActionUrl:$.urls.bmscConfigurationApply_Action,persistActionUrl:$.urls.bmscConfigurationPersist_Action,reloadActionUrl:$.urls.bmscConfigurationReload_Action,factoryResetActionUrl:$.urls.bmscConfigurationFactoryReset_Action})};function OUe({nf:t,rootUrl:e}){return{[e]:r=>et({permissions:ie.monitoring,activeServicesNames:[t],services:r})}}const LUe={[$.urls.chf]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.CHF],services:t}),...no({nf:ue.CHF,rootUrl:$.urls.chfCluster,applyBootConfigUrl:$.urls.chfClusterApplyBootConfig_Action}),[$.urls.chfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.CHF],services:t}),...Fp({nf:ue.CHF,rootUrl:$.urls.chfStatusDiameter,connectionsUrl:$.urls.chfStatusDiameterConnections,peersUrl:$.urls.chfStatusDiameterPeers}),...ro({nf:ue.CHF,rootUrl:$.urls.chfConfiguration,applyActionUrl:$.urls.chfConfigurationApply_Action,persistActionUrl:$.urls.chfConfigurationPersist_Action,reloadActionUrl:$.urls.chfConfigurationReload_Action,factoryResetActionUrl:$.urls.chfConfigurationFactoryReset_Action}),[$.urls.chfStatusGtpPrime]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.CHF],services:t}),...OUe({nf:ue.CHF,rootUrl:$.urls.chfStatusGtpPrimeConnections})},NUe={[$.urls.dra]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.DRA],services:t}),[$.urls.draStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.DRA],services:t}),...Fp({nf:ue.DRA,rootUrl:$.urls.draStatusDiameter,connectionsUrl:$.urls.draStatusDiameterConnections,peersUrl:$.urls.draStatusDiameterPeers}),...no({nf:ue.DRA,rootUrl:$.urls.draCluster,applyBootConfigUrl:$.urls.draClusterApplyBootConfig_Action}),...ro({nf:ue.DRA,rootUrl:$.urls.draConfiguration,applyActionUrl:$.urls.draConfigurationApply_Action,persistActionUrl:$.urls.draConfigurationPersist_Action,factoryResetActionUrl:$.urls.draConfigurationFactoryReset_Action,reloadActionUrl:$.urls.draConfigurationReload_Action})},FUe={[$.urls.dsm]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),...ro({nf:ue.DSM,rootUrl:$.urls.dsmConfiguration,applyActionUrl:$.urls.dsmConfigurationApply_Action,persistActionUrl:$.urls.dsmConfigurationPersist_Action,reloadActionUrl:$.urls.dsmConfigurationReload_Action,factoryResetActionUrl:$.urls.dsmConfigurationFactoryReset_Action}),[$.urls.dsmZones]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesEntries]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesDetail]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesCreate_Action]:Tt,[$.urls.dsmZonesDelete_Action]:Tt,[$.urls.dsmZonesDownload]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),...no({nf:ue.DSM,rootUrl:$.urls.dsmCluster,applyBootConfigUrl:$.urls.dsmClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.dsmClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.dsmClusterLeaveCluster_Action})},UUe={[$.urls.eir]:t=>et({permissions:[ie.provisioning,ie.monitoring,ie.configuration,ie.management],activeServicesNames:[ue.EIR],services:t}),[$.urls.eirStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.EIR],services:t}),...Fp({nf:ue.EIR,rootUrl:$.urls.eirStatusDiameter,connectionsUrl:$.urls.eirStatusDiameterConnections,peersUrl:$.urls.eirStatusDiameterPeers}),...ro({nf:ue.EIR,rootUrl:$.urls.eirConfiguration,applyActionUrl:$.urls.eirConfigurationApply_Action,persistActionUrl:$.urls.eirConfigurationPersist_Action,reloadActionUrl:$.urls.eirConfigurationReload_Action,factoryResetActionUrl:$.urls.eirConfigurationFactoryReset_Action}),[$.urls.eirRules]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirRulesEntries]:()=>et({permissions:ie.provisioning}),[$.urls.eirRulesDetails]:()=>et({permissions:ie.provisioning}),[$.urls.eirRulesCreateBulk_Action]:Tt,[$.urls.eirRulesCreate_Action]:Tt,[$.urls.eirRulesUpdate_Action]:Tt,[$.urls.eirRulesDelete_Action]:Tt,[$.urls.eirRulesEquipmentConfigurationSet]:()=>et({permissions:ie.provisioning}),[$.urls.eirAutoRules]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirAutorulesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirAutorulesCreateBulk_Action]:Tt,[$.urls.eirAutorulesCreate_Action]:Tt,[$.urls.eirAutorulesUpdate_Action]:Tt,[$.urls.eirAutorulesDelete_Action]:Tt,...no({nf:ue.EIR,rootUrl:$.urls.eirCluster,applyBootConfigUrl:$.urls.eirClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.eirClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.eirClusterLeaveCluster_Action})};function nN({nf:t,rootUrl:e,socketsUrl:r}){return{[e]:n=>et({permissions:ie.monitoring,activeServicesNames:[t],services:n}),[r]:n=>et({permissions:ie.monitoring,activeServicesNames:[t],services:n})}}function sN({nf:t,rootUrl:e,createUrl:r,deleteUrl:n}){return{[e]:s=>et({permissions:ie.lawful_interception,activeServicesNames:[t],services:s}),[r]:Tt,[n]:Tt}}const BUe={[$.urls.mme]:t=>et({permissions:[ie.monitoring,ie.configuration,ie.lawful_interception],activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...Fp({nf:ue.MME,rootUrl:$.urls.mmeStatusDiameter,connectionsUrl:$.urls.mmeStatusDiameterConnections,peersUrl:$.urls.mmeStatusDiameterPeers}),[$.urls.mmeStatusS1ap]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnectionsDisconnect]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnectionsReset]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apListeners]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...qA({nf:ue.MME,rootUrl:$.urls.mmeStatusGtpc,socketsUrl:$.urls.mmeStatusGtpcSockets,peersUrl:$.urls.mmeStatusGtpcPeers,blockedPeersUrl:$.urls.mmeStatusGtpcBlockedPeers,blockedPeersFlushActionUrl:$.urls.mmeStatusGtpcBlockedPeersFlush_Action}),...nN({nf:ue.MME,rootUrl:$.urls.mmeStatusGtpu,socketsUrl:$.urls.mmeStatusGtpuSockets}),[$.urls.mmeStatusSgs]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSgsConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcap]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcapConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcapListeners]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDns]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDnsCache]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDnsCacheFlush]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusM3]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusM3Connections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...no({nf:ue.MME,rootUrl:$.urls.mmeCluster,applyBootConfigUrl:$.urls.mmeClusterApplyBootConfig_Action}),...ro({nf:ue.MME,rootUrl:$.urls.mmeConfiguration,applyActionUrl:$.urls.mmeConfigurationApply_Action,persistActionUrl:$.urls.mmeConfigurationPersist_Action,reloadActionUrl:$.urls.mmeConfigurationReload_Action,factoryResetActionUrl:$.urls.mmeConfigurationFactoryReset_Action}),...sN({nf:ue.MME,rootUrl:$.urls.mmeLawfulInterception,createUrl:$.urls.mmeLawfulInterceptionCreate_Action,deleteUrl:$.urls.mmeLawfulInterceptionDelete_Action})},zUe={[$.urls.monitoring]:()=>et({permissions:ie.monitoring}),[$.urls.monitoringUeStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF,ue.SMF,ue.UDR,ue.MME,ue.UPF,ue.PCF,ue.SGWC],partialActiveServices:!0,services:t}),[$.urls.monitoringUeStatusDetails]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF,ue.SMF,ue.UDR,ue.MME,ue.UPF,ue.PCF,ue.SGWC],partialActiveServices:!0,services:t}),[$.urls.monitoringUeStatusDetailsUdmReattach_Action]:Tt,[$.urls.monitoringUeStatusDetailsAmf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF],services:t}),[$.urls.monitoringUeStatusDetailsAmfRemove_Action]:Tt,[$.urls.monitoringUeStatusDetailsSmf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.monitoringUeStatusDetailsUpf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.monitoringUeStatusDetailsUdr]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UDR],services:t}),[$.urls.monitoringUeStatusDetailsMme]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.monitoringUeStatusDetailsMmeDisconnect_Action]:Tt,[$.urls.monitoringUeStatusDetailsMmeDetach_Action]:Tt,[$.urls.monitoringUeStatusDetailsMmePurge_Action]:Tt,[$.urls.monitoringUeStatusDetailsSgwc]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.monitoringUeStatusDetailsPcf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.PCF],services:t}),[$.urls.monitoringCoreStatistics]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GRAFANA],services:t}),[$.urls.monitoringSystem]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GRAFANA],services:t}),[$.urls.monitoringAlerts]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.ALERTMANAGER],services:t})},qUe={[$.urls.network]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusInterfaces]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusNeighbors]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusNeighborsFlush_Action]:Tt,[$.urls.networkStatusRoutes]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusRules]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBird]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBirdProtocols]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBirdBfdSessions]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),...ro({nf:ue.NCM,rootUrl:$.urls.networkConfiguration,applyActionUrl:$.urls.networkConfigurationApply_Action,persistActionUrl:$.urls.networkConfigurationPersist_Action,reloadActionUrl:$.urls.networkConfigurationReload_Action,factoryResetActionUrl:$.urls.networkConfigurationFactoryReset_Action})},VUe={[$.urls.nrf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NRF],services:t}),...ro({nf:ue.NRF,rootUrl:$.urls.nrfConfiguration,applyActionUrl:$.urls.nrfConfigurationApply_Action,persistActionUrl:$.urls.nrfConfigurationPersist_Action,reloadActionUrl:$.urls.nrfConfigurationReload_Action,factoryResetActionUrl:$.urls.nrfConfigurationFactoryReset_Action}),[$.urls.nrfStaticProfiles]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStaticProfilesDetails]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStaticProfilesCreate_Action]:Tt,[$.urls.nrfStaticProfilesUpdate_Action]:Tt,[$.urls.nrfStaticProfilesDelete_Action]:Tt,...no({nf:ue.NRF,rootUrl:$.urls.nrfCluster,applyBootConfigUrl:$.urls.nrfClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.nrfClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.nrfClusterLeaveCluster_Action})},HUe={[$.urls.pcf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.PCF],services:t}),[$.urls.pcfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.PCF],services:t}),...Fp({nf:ue.PCF,rootUrl:$.urls.pcfStatusDiameter,connectionsUrl:$.urls.pcfStatusDiameterConnections,peersUrl:$.urls.pcfStatusDiameterPeers}),...no({nf:ue.PCF,rootUrl:$.urls.pcfCluster,applyBootConfigUrl:$.urls.pcfClusterApplyBootConfig_Action}),...ro({nf:ue.PCF,rootUrl:$.urls.pcfConfiguration,applyActionUrl:$.urls.pcfConfigurationApply_Action,persistActionUrl:$.urls.pcfConfigurationPersist_Action,reloadActionUrl:$.urls.pcfConfigurationReload_Action,factoryResetActionUrl:$.urls.pcfConfigurationFactoryReset_Action})},GUe={[$.urls.platform]:()=>et({permissions:ie.management}),[$.urls.platformAuthentication]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationStrategies]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationAuthConfig]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationTerms]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationBackendsUpdate_Action]:Tt,[$.urls.platformAuthenticationOpenIdConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationRadiusConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationLdapConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationAuthConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationOpenIdConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationTermsUpdate_Action]:Tt,[$.urls.platformUsers]:()=>et({permissions:ie.management}),[$.urls.platformUsersEntries]:()=>et({permissions:ie.management}),[$.urls.platformUsersDetails]:()=>et({permissions:ie.management}),[$.urls.platformUsersAudits]:()=>et({permissions:ie.management}),[$.urls.platformUsersCreate_Action]:Tt,[$.urls.platformUsersUpdate_Action]:Tt,[$.urls.platformUsersDelete_Action]:Tt,[$.urls.platformUsersPasswordChange_Action]:Tt,[$.urls.platformUsersRevokeTokens_Action]:Tt,[$.urls.platformUsersCurrentUserPasswordChange_Action]:Tt,[$.urls.platformRoles]:()=>et({permissions:ie.management}),[$.urls.platformRolesEntries]:()=>et({permissions:ie.management}),[$.urls.platformRolesCreate_Action]:Tt,[$.urls.platformRolesUpdate_Action]:Tt,[$.urls.platformRolesDelete_Action]:Tt,[$.urls.platformRolesDetails]:()=>et({permissions:ie.management}),[$.urls.platformTls]:()=>et({permissions:ie.management}),[$.urls.platformTlsConfigurationUpdate_Action]:Tt,[$.urls.platformTlsClientCertificateUpdate_Action]:Tt,[$.urls.platformTlsServerCertificateUpdate_Action]:Tt,[$.urls.platformLogShipping]:()=>et({permissions:ie.management}),[$.urls.platformLogShippingApply_Action]:Tt,[$.urls.platformLogShippingFactoryReset_Action]:Tt,[$.urls.platformKpiShipping]:()=>et({permissions:ie.management}),[$.urls.platformKpiShippingApply_Action]:Tt,[$.urls.platformKpiShippingFactoryReset_Action]:Tt,[$.urls.platformAlertShipping]:()=>et({permissions:ie.management}),[$.urls.platformAlertShippingApply_Action]:Tt,[$.urls.platformAlertShippingFactoryReset_Action]:Tt,...no({nf:ue.PLS,rootUrl:$.urls.platformCluster,applyBootConfigUrl:$.urls.platformClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.platformClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.platformClusterLeaveCluster_Action})},WUe={[$.urls.sgwc]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),...qA({nf:ue.SGWC,rootUrl:$.urls.sgwcStatusGtpc,socketsUrl:$.urls.sgwcStatusGtpcSockets,peersUrl:$.urls.sgwcStatusGtpcPeers}),[$.urls.sgwcStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),...no({nf:ue.SGWC,rootUrl:$.urls.sgwcCluster,applyBootConfigUrl:$.urls.sgwcClusterApplyBootConfig_Action}),...ro({nf:ue.SGWC,rootUrl:$.urls.sgwcConfiguration,applyActionUrl:$.urls.sgwcConfigurationApply_Action,persistActionUrl:$.urls.sgwcConfigurationPersist_Action,reloadActionUrl:$.urls.sgwcConfigurationReload_Action,factoryResetActionUrl:$.urls.sgwcConfigurationFactoryReset_Action})},YUe={[$.urls.smf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),...qA({nf:ue.SMF,rootUrl:$.urls.smfStatusGtpc,socketsUrl:$.urls.smfStatusGtpcSockets,peersUrl:$.urls.smfStatusGtpcPeers}),...nN({nf:ue.SMF,rootUrl:$.urls.smfStatusGtpu,socketsUrl:$.urls.smfStatusGtpuSockets}),...no({nf:ue.SMF,rootUrl:$.urls.smfCluster,applyBootConfigUrl:$.urls.smfClusterApplyBootConfig_Action}),[$.urls.smfStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),...ro({nf:ue.SMF,rootUrl:$.urls.smfConfiguration,applyActionUrl:$.urls.smfConfigurationApply_Action,persistActionUrl:$.urls.smfConfigurationPersist_Action,reloadActionUrl:$.urls.smfConfigurationReload_Action,factoryResetActionUrl:$.urls.smfConfigurationFactoryReset_Action}),...sN({nf:ue.SMF,rootUrl:$.urls.smfLawfulInterception,createUrl:$.urls.smfLawfulInterceptionCreate_Action,deleteUrl:$.urls.smfLawfulInterceptionDelete_Action})},KUe={[$.urls.smsf]:t=>et({permissions:[ie.monitoring,ie.configuration,ie.management],activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),...Fp({nf:ue.SMSF,rootUrl:$.urls.smsfStatusDiameter,connectionsUrl:$.urls.smsfStatusDiameterConnections,peersUrl:$.urls.smsfStatusDiameterPeers}),[$.urls.smsfStatusSmpp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfStatusSmppConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),...ro({nf:ue.SMSF,rootUrl:$.urls.smsfConfiguration,applyActionUrl:$.urls.smsfConfigurationApply_Action,persistActionUrl:$.urls.smsfConfigurationPersist_Action,reloadActionUrl:$.urls.smsfConfigurationReload_Action,factoryResetActionUrl:$.urls.smsfConfigurationFactoryReset_Action}),[$.urls.smsfSmsBox]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxList]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxSend_Action]:Tt,[$.urls.smsfSmsBoxMsisdn]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxMsisdnDirection]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxMsisdnDirectionDelete]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBox]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),...no({nf:ue.SMSF,rootUrl:$.urls.smsfCluster,applyBootConfigUrl:$.urls.smsfClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.smsfClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.smsfClusterLeaveCluster_Action})},QUe={[$.urls.system]:()=>et({permissions:[[ie.management],[ie.monitoring],[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemLicensing]:t=>et({permissions:ie.management,activeServicesNames:[ue.LICENSED],services:t}),[$.urls.systemLicensingInstall_Action]:Tt,[$.urls.systemLicensingDelete_Action]:Tt,[$.urls.systemBackup]:()=>et({permissions:[[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemBackupSchedules]:()=>et({permissions:[[ie.backup,ie.configuration],[ie.backup,ie.provisioning]]}),[$.urls.systemBackupSchedulesConfiguration]:()=>et({permissions:[[ie.backup,ie.configuration]]}),[$.urls.systemBackupSchedulesConfigurationBackup_Action]:Tt,[$.urls.systemBackupSchedulesNf]:()=>et({permissions:[[ie.backup,ie.provisioning]]}),[$.urls.systemBackupRestoreSchedules]:()=>et({permissions:[[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemBackupRestoreSchedulesConfiguration]:()=>et({permissions:[[ie.backup,ie.configuration]]}),[$.urls.systemBackupRestoreSchedulesConfigurationBackup_Action]:Tt,[$.urls.systemBackupRestoreSchedulesConfigurationRestore_Action]:Tt,[$.urls.systemBackupRestoreSchedulesNf]:()=>et({permissions:[[ie.backup,ie.provisioning]]}),[$.urls.systemBackupScheduleBackup_Action]:Tt,[$.urls.systemBackupScheduleRestore_Action]:Tt,[$.urls.systemBackupUpdateConfiguration_Action]:Tt,[$.urls.systemServices]:()=>et({permissions:ie.management}),[$.urls.systemServicesManagement_Action]:Tt,[$.urls.systemUpgrade]:()=>et({permissions:ie.management}),[$.urls.systemUpgradeUpload_Action]:Tt,[$.urls.systemLogs]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFollow]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsEntries]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFields]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFieldsName]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsConfig]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsConfigUpdate_Action]:Tt,[$.urls.systemLogsCursor]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsCursorItem]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemTerminal]:t=>et({canFn:Ue,permissions:ie.management,activeServicesNames:[ue.TERMINAL],services:t}),[$.urls.systemTerminalList]:t=>et({canFn:Ue,permissions:ie.management,activeServicesNames:[ue.TERMINAL],services:t}),[$.urls.restart]:()=>et({permissions:ie.management}),[$.urls.systemBootPartitions]:()=>et({permissions:ie.management}),[$.urls.systemBootPartitionsUpdate_Action]:Tt,[$.urls.systemTroubleshootDump]:()=>et({permissions:ie.management}),[$.urls.systemTroubleshootDumpCreate_Action]:Tt,[$.urls.systemTroubleshootDumpDelete_Action]:Tt},ZUe={[$.urls.udm]:t=>et({permissions:[ie.provisioning,ie.configuration,ie.monitoring],activeServicesNames:[ue.UDM],services:t}),[$.urls.udmStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UDM],services:t}),...Fp({nf:ue.UDM,rootUrl:$.urls.udmStatusDiameter,connectionsUrl:$.urls.udmStatusDiameterConnections,peersUrl:$.urls.udmStatusDiameterPeers}),...ro({nf:ue.UDM,rootUrl:$.urls.udmConfiguration,applyActionUrl:$.urls.udmConfigurationApply_Action,persistActionUrl:$.urls.udmConfigurationPersist_Action,reloadActionUrl:$.urls.udmConfigurationReload_Action,factoryResetActionUrl:$.urls.udmConfigurationFactoryReset_Action}),[$.urls.udmHomeNetworkKeys]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmHomeNetworkKeysCreate_Action]:Tt,[$.urls.udmHomeNetworkKeysDelete_Action]:Tt,[$.urls.udmHomeNetworkKeysUpload_Action]:Tt,...no({nf:ue.UDM,rootUrl:$.urls.udmCluster,applyBootConfigUrl:$.urls.udmClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.udmClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.udmClusterLeaveCluster_Action}),[$.urls.udmPlmnPrefixes]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmPlmnPrefix]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmPlmnPrefixesCreate_Action]:Tt,[$.urls.udmPlmnPrefixesUpdate_Action]:Tt,[$.urls.udmPlmnPrefixesDelete_Action]:Tt},XUe={[$.urls.udr]:t=>et({permissions:[ie.provisioning,ie.configuration,ie.transport_keys,ie.operator_codes,ie.milenage_constants],activeServicesNames:[ue.UDR],services:t}),...ro({nf:ue.UDR,rootUrl:$.urls.udrConfiguration,applyActionUrl:$.urls.udrConfigurationApply_Action,persistActionUrl:$.urls.udrConfigurationPersist_Action,reloadActionUrl:$.urls.udrConfigurationReload_Action,factoryResetActionUrl:$.urls.udrConfigurationFactoryReset_Action}),[$.urls.udrPlmns]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPlmnsCreate_Action]:Tt,[$.urls.udrPlmnsDelete_Action]:Tt,[$.urls.udrSupis]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrSupisUpload_Action]:Tt,[$.urls.udrSupisUploadAsync_Action]:Tt,[$.urls.udrSupisDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrSupisCreate_Action]:Tt,[$.urls.udrSupisUpdate_Action]:Tt,[$.urls.udrSupisDelete_Action]:Tt,[$.urls.udrProvisionedDataProfile]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrProvisionedDataProfileDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrProvisionedDataProfileCreate_Action]:Tt,[$.urls.udrProvisionedDataProfileUpdate_Action]:Tt,[$.urls.udrProvisionedDataProfileDelete_Action]:Tt,[$.urls.udrPolicyDataProfile]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPolicyDataProfileDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPolicyDataProfileCreate_Action]:Tt,[$.urls.udrPolicyDataProfileUpdate_Action]:Tt,[$.urls.udrPolicyDataProfileDelete_Action]:Tt,[$.urls.udrImsApplicationServerAcls]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsCreate_Action]:Tt,[$.urls.udrImsApplicationServerAclsUpdate_Action]:Tt,[$.urls.udrImsApplicationServerAclsDelete_Action]:Tt,[$.urls.udrImsPrivateIdentities]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesApplicationServersProfiles]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesCreate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesUpdate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesDelete_Action]:Tt,[$.urls.udrImsPrivateIdentitiesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesPrivateStatus]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesPublicStatus]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesCreate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesCreateBasic_Action]:Tt,[$.urls.udrImsPrivateIdentitiesUpdate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesDelete_Action]:Tt,[$.urls.udrImsServiceProfiles]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesCreate_Action]:Tt,[$.urls.udrImsServiceProfilesUpdate_Action]:Tt,[$.urls.udrImsServiceProfilesDelete_Action]:Tt,[$.urls.udrImsInitialFilters]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersCreate_Action]:Tt,[$.urls.udrImsInitialFiltersUpdate_Action]:Tt,[$.urls.udrImsInitialFiltersDelete_Action]:Tt,[$.urls.udrTransportKeys]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysEntries]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysDetails]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysCreate_Action]:Tt,[$.urls.udrTransportKeysUpdate_Action]:Tt,[$.urls.udrTransportKeysDelete_Action]:Tt,[$.urls.udrOperatorCodes]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesEntries]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesDetails]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesCreate_Action]:Tt,[$.urls.udrOperatorCodesUpdate_Action]:Tt,[$.urls.udrOperatorCodesDelete_Action]:Tt,[$.urls.udrCustomMilenageConstants]:t=>et({permissions:ie.milenage_constants,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrCustomMilenageConstantsUpdate_Action]:Tt,[$.urls.udrCustomMilenageConstantsDelete_Action]:Tt,...no({nf:ue.UDR,rootUrl:$.urls.udrCluster,applyBootConfigUrl:$.urls.udrClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.udrClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.udrClusterLeaveCluster_Action})},JUe={[$.urls.upf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),...nN({nf:ue.UPF,rootUrl:$.urls.upfStatusGtpu,socketsUrl:$.urls.upfStatusGtpuSockets}),...no({nf:ue.UPF,rootUrl:$.urls.upfCluster,applyBootConfigUrl:$.urls.upfClusterApplyBootConfig_Action}),...ro({nf:ue.UPF,rootUrl:$.urls.upfConfiguration,applyActionUrl:$.urls.upfConfigurationApply_Action,persistActionUrl:$.urls.upfConfigurationPersist_Action,reloadActionUrl:$.urls.upfConfigurationReload_Action,factoryResetActionUrl:$.urls.upfConfigurationFactoryReset_Action}),...sN({nf:ue.UPF,rootUrl:$.urls.upfLawfulInterception,createUrl:$.urls.upfLawfulInterceptionCreate_Action,deleteUrl:$.urls.upfLawfulInterceptionDelete_Action})},eBe={[$.urls.aaa]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.AAA],services:t}),...no({nf:ue.AAA,rootUrl:$.urls.aaaCluster,applyBootConfigUrl:$.urls.aaaClusterApplyBootConfig_Action}),[$.urls.aaaStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AAA],services:t}),[$.urls.aaaStatusRadius]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AAA],services:t}),...ro({nf:ue.AAA,rootUrl:$.urls.aaaConfiguration,applyActionUrl:$.urls.aaaConfigurationApply_Action,persistActionUrl:$.urls.aaaConfigurationPersist_Action,reloadActionUrl:$.urls.aaaConfigurationReload_Action,factoryResetActionUrl:$.urls.aaaConfigurationFactoryReset_Action})},BW={[$.urls.siteLoader]:Tt,[$.urls.profile]:Tt,[$.urls.home]:()=>et({permissions:ie.monitoring}),...qUe,...eBe,...IUe,...DUe,...$Ue,...LUe,...FUe,...NUe,...UUe,...BUe,...VUe,...HUe,...WUe,...YUe,...KUe,...ZUe,...XUe,...JUe,...zUe,...GUe,...QUe,"/marvis":Tt,"/marvis/overview":Tt,"/marvis/actions":Tt,"/marvis/minis":Tt,"/marvis/ai":Tt,"/radio":Tt},tBe=Pr(),Lt=(t,e)=>{try{return K6(t,e),!0}catch{return!1}},K6=(t,e)=>{if(!Cae(t))return;if(!BW[t])throw new Error(tBe.formatMessage({id:"route.errors.route_not_managed"},{path:t}));if(!e.length)return;const r=BW[t](e);if(r!==!0)throw r.areServicesActive?Li({type:mn.FORBIDDEN,data:Array.isArray(r.permissions)?r.permissions.join(", "):r.permissions}):Li({type:mn.SERVICE_UNAVAILABLE,data:r.services?.join(", ")})};function et({permissions:t,services:e,activeServicesNames:r,canFn:n=as,partialActiveServices:s=!1}){const i=t?n(t):!0,o=e&&r?u4e({services:e,activeServices:r,partial:s}):!0;return!i||!o?{permissions:t,services:r,hasPermissions:i,areServicesActive:o}:!0}function Aae(){const t=pie();return!Ni.isEmpty(t)}const vt=Pr();function kae(t){return t.filter(e=>!e.disabled).map(e=>e.subItems?{...e,subItems:e.subItems.filter(r=>!r.disabled)}:e).map(e=>!e.subItems||e.subItems&&e.subItems?.length>0?e:void 0).filter(e=>!!e)}function _o(t,e){return!!e.find(r=>r.name===t)?.db_cluster}function rBe({services:t}){return[{value:$.urls.home,icon:a.jsx(ge.Home,{}),label:vt.formatMessage({id:"route.home"}),disabled:!Lt($.urls.home,t)},{value:$.urls.network,icon:a.jsx(ge.NCM,{}),label:vt.formatMessage({id:"route.ncm"}),disabled:!Lt($.urls.network,t),subItems:[{value:$.urls.networkStatus,label:vt.formatMessage({id:"route.ncm.status"}),disabled:!Lt($.urls.networkStatus,t)},{value:$.urls.networkConfiguration,label:vt.formatMessage({id:"route.ncm.configuration"}),disabled:!Lt($.urls.networkConfiguration,t)}]},{value:$.urls.aaa,icon:a.jsx(ge.AAA,{}),label:vt.formatMessage({id:"route.aaa"}),disabled:!Lt($.urls.aaa,t),subItems:[{value:$.urls.aaaStatus,label:vt.formatMessage({id:"route.aaa.status"}),disabled:!Lt($.urls.aaaStatus,t)},{value:$.urls.aaaConfiguration,label:vt.formatMessage({id:"route.aaa.configuration"}),disabled:!Lt($.urls.aaaConfiguration,t)},{value:$.urls.aaaCluster,label:vt.formatMessage({id:"route.aaa.cluster"}),disabled:!Lt($.urls.aaaCluster,t)||!_o(ue.AAA,t)}]},{value:$.urls.amf,icon:a.jsx(ge.AMF,{}),label:vt.formatMessage({id:"route.amf"}),disabled:!Lt($.urls.amf,t),subItems:[{value:$.urls.amfStatus,label:vt.formatMessage({id:"route.amf.status"}),disabled:!Lt($.urls.amfStatus,t)},{value:$.urls.amfConfiguration,label:vt.formatMessage({id:"route.amf.configuration"}),disabled:!Lt($.urls.amfConfiguration,t)},{value:$.urls.amfCluster,label:vt.formatMessage({id:"route.amf.cluster"}),disabled:!Lt($.urls.amfCluster,t)||!_o(ue.AMF,t)}]},{value:$.urls.ausf,icon:a.jsx(ge.AUSF,{}),label:vt.formatMessage({id:"route.ausf"}),disabled:!Lt($.urls.ausf,t),subItems:[{value:$.urls.ausfConfiguration,label:vt.formatMessage({id:"route.ausf.configuration"}),disabled:!Lt($.urls.ausfConfiguration,t)},{value:$.urls.ausfCluster,label:vt.formatMessage({id:"route.ausf.cluster"}),disabled:!Lt($.urls.ausfCluster,t)||!_o(ue.AUSF,t)}]},{value:$.urls.bmsc,icon:a.jsx(ge.BMSC,{}),label:vt.formatMessage({id:"route.bmsc"}),disabled:!Lt($.urls.bmsc,t),subItems:[{value:$.urls.bmscStatus,label:vt.formatMessage({id:"route.bmsc.status"}),disabled:!Lt($.urls.bmscStatus,t)},{value:$.urls.bmscConfiguration,label:vt.formatMessage({id:"route.bmsc.configuration"}),disabled:!Lt($.urls.bmscConfiguration,t)},{value:$.urls.bmscCluster,label:vt.formatMessage({id:"route.bmsc.cluster"}),disabled:!Lt($.urls.bmscCluster,t)||!_o(ue.BMSC,t)}]},{value:$.urls.chf,icon:a.jsx(ge.CHF,{}),label:vt.formatMessage({id:"route.chf"}),disabled:!Lt($.urls.chf,t),subItems:[{value:$.urls.chfStatus,label:vt.formatMessage({id:"route.chf.status"}),disabled:!Lt($.urls.chfStatus,t)},{value:$.urls.chfConfiguration,label:vt.formatMessage({id:"route.chf.configuration"}),disabled:!Lt($.urls.chfConfiguration,t)},{value:$.urls.chfCluster,label:vt.formatMessage({id:"route.chf.cluster"}),disabled:!Lt($.urls.chfCluster,t)||!_o(ue.CHF,t)}]},{value:$.urls.dsm,icon:a.jsx(ge.DSM,{}),label:vt.formatMessage({id:"route.dsm"}),disabled:!Lt($.urls.dsm,t),subItems:[{value:$.urls.dsmConfiguration,label:vt.formatMessage({id:"route.dsm.configuration"}),disabled:!Lt($.urls.dsmConfiguration,t)},{value:$.urls.dsmZones,label:vt.formatMessage({id:"route.dsm.zones"}),disabled:!Lt($.urls.dsmZones,t)},{value:$.urls.dsmCluster,label:vt.formatMessage({id:"route.dsm.cluster"}),disabled:!Lt($.urls.dsmCluster,t)||!_o(ue.DSM,t)}]},{value:$.urls.dra,icon:a.jsx(ge.DRA,{}),label:vt.formatMessage({id:"route.dra"}),disabled:!Lt($.urls.dra,t),subItems:[{value:$.urls.draStatus,label:vt.formatMessage({id:"route.dra.status"}),disabled:!Lt($.urls.draStatus,t)},{value:$.urls.draConfiguration,label:vt.formatMessage({id:"route.dra.configuration"}),disabled:!Lt($.urls.draConfiguration,t)},{value:$.urls.draCluster,label:vt.formatMessage({id:"route.dra.cluster"}),disabled:!Lt($.urls.draCluster,t)||!_o(ue.DRA,t)}]},{value:$.urls.eir,icon:a.jsx(ge.EIR,{}),label:vt.formatMessage({id:"route.eir"}),disabled:!Lt($.urls.eir,t),subItems:[{value:$.urls.eirStatus,label:vt.formatMessage({id:"route.eir.status"}),disabled:!Lt($.urls.eirStatus,t)},{value:$.urls.eirConfiguration,label:vt.formatMessage({id:"route.eir.configuration"}),disabled:!Lt($.urls.eirConfiguration,t)},{value:$.urls.eirRules,label:vt.formatMessage({id:"route.eir.rules"}),disabled:!Lt($.urls.eirRules,t)},{value:$.urls.eirAutoRules,label:vt.formatMessage({id:"route.eir.auto-rules"}),disabled:!Lt($.urls.eirAutoRules,t)},{value:$.urls.eirCluster,label:vt.formatMessage({id:"route.eir.cluster"}),disabled:!Lt($.urls.eirCluster,t)||!_o(ue.EIR,t)}]},{value:$.urls.mme,icon:a.jsx(ge.MME,{}),label:vt.formatMessage({id:"route.mme"}),disabled:!Lt($.urls.mme,t),subItems:[{value:$.urls.mmeStatus,label:vt.formatMessage({id:"route.mme.status"}),disabled:!Lt($.urls.mmeStatus,t)},{value:$.urls.mmeConfiguration,label:vt.formatMessage({id:"route.mme.configuration"}),disabled:!Lt($.urls.mmeConfiguration,t)},{value:$.urls.mmeLawfulInterception,label:vt.formatMessage({id:"route.mme.lawful-interception"}),disabled:!Lt($.urls.mmeLawfulInterception,t)},{value:$.urls.mmeCluster,label:vt.formatMessage({id:"route.mme.cluster"}),disabled:!Lt($.urls.mmeCluster,t)||!_o(ue.MME,t)}]},{value:$.urls.nrf,icon:a.jsx(ge.NRF,{}),label:vt.formatMessage({id:"route.nrf"}),disabled:!Lt($.urls.nrf,t),subItems:[{value:$.urls.nrfStatus,label:vt.formatMessage({id:"route.nrf.status"}),disabled:!Lt($.urls.nrfStatus,t)},{value:$.urls.nrfConfiguration,label:vt.formatMessage({id:"route.nrf.configuration"}),disabled:!Lt($.urls.nrfConfiguration,t)},{value:$.urls.nrfStaticProfiles,label:vt.formatMessage({id:"route.nrf.static-profiles"}),disabled:!Lt($.urls.nrfStaticProfiles,t)},{value:$.urls.nrfCluster,label:vt.formatMessage({id:"route.nrf.cluster"}),disabled:!Lt($.urls.nrfCluster,t)||!_o(ue.NRF,t)}]},{value:$.urls.pcf,icon:a.jsx(ge.PCF,{}),label:vt.formatMessage({id:"route.pcf"}),disabled:!Lt($.urls.pcf,t),subItems:[{value:$.urls.pcfStatus,label:vt.formatMessage({id:"route.pcf.status"}),disabled:!Lt($.urls.pcfStatus,t)},{value:$.urls.pcfConfiguration,label:vt.formatMessage({id:"route.pcf.configuration"}),disabled:!Lt($.urls.pcfConfiguration,t)},{value:$.urls.pcfCluster,label:vt.formatMessage({id:"route.pcf.cluster"}),disabled:!Lt($.urls.pcfCluster,t)||!_o(ue.PCF,t)}]},{value:$.urls.sgwc,icon:a.jsx(ge.SGWC,{}),label:vt.formatMessage({id:"route.sgwc"}),disabled:!Lt($.urls.sgwc,t),subItems:[{value:$.urls.sgwcStatus,label:vt.formatMessage({id:"route.sgwc.status"}),disabled:!Lt($.urls.sgwcStatus,t)},{value:$.urls.sgwcConfiguration,label:vt.formatMessage({id:"route.sgwc.configuration"}),disabled:!Lt($.urls.sgwcConfiguration,t)},{value:$.urls.sgwcCluster,label:vt.formatMessage({id:"route.sgwc.cluster"}),disabled:!Lt($.urls.sgwcCluster,t)||!_o(ue.SGWC,t)}]},{value:$.urls.smf,icon:a.jsx(ge.SMF,{}),label:vt.formatMessage({id:"route.smf"}),disabled:!Lt($.urls.smf,t),subItems:[{value:$.urls.smfStatus,label:vt.formatMessage({id:"route.smf.status"}),disabled:!Lt($.urls.smfStatus,t)},{value:$.urls.smfConfiguration,label:vt.formatMessage({id:"route.smf.configuration"}),disabled:!Lt($.urls.smfConfiguration,t)},{value:$.urls.smfLawfulInterception,label:vt.formatMessage({id:"route.smf.lawful-interception"}),disabled:!Lt($.urls.smfLawfulInterception,t)},{value:$.urls.smfCluster,label:vt.formatMessage({id:"route.smf.cluster"}),disabled:!Lt($.urls.smfCluster,t)||!_o(ue.SMF,t)}]},{value:$.urls.smsf,icon:a.jsx(ge.SMSF,{}),label:vt.formatMessage({id:"route.smsf"}),disabled:!Lt($.urls.smsf,t),subItems:[{value:$.urls.smsfStatus,label:vt.formatMessage({id:"route.smsf.status"}),disabled:!Lt($.urls.smsfStatus,t)},{value:$.urls.smsfConfiguration,label:vt.formatMessage({id:"route.smsf.configuration"}),disabled:!Lt($.urls.smsfConfiguration,t)},{value:$.urls.smsfSmsBox,label:vt.formatMessage({id:"route.smsf.sms-box"}),disabled:!Lt($.urls.smsfSmsBox,t)},{value:$.urls.smsfCluster,label:vt.formatMessage({id:"route.smsf.cluster"}),disabled:!Lt($.urls.smsfCluster,t)||!_o(ue.SMSF,t)}]},{value:$.urls.udm,icon:a.jsx(ge.UDM,{}),label:vt.formatMessage({id:"route.udm"}),disabled:!Lt($.urls.udm,t),subItems:[{value:$.urls.udmStatus,label:vt.formatMessage({id:"route.udm.status"}),disabled:!Lt($.urls.udmStatus,t)},{value:$.urls.udmConfiguration,label:vt.formatMessage({id:"route.udm.configuration"}),disabled:!Lt($.urls.udmConfiguration,t)},{value:$.urls.udmPlmnPrefixes,label:vt.formatMessage({id:"route.udm.plmn-prefixes"}),disabled:!Lt($.urls.udmConfiguration,t)},{value:$.urls.udmHomeNetworkKeys,label:vt.formatMessage({id:"route.udm.home-network-keys"}),disabled:!Lt($.urls.udmHomeNetworkKeys,t)},{value:$.urls.udmCluster,label:vt.formatMessage({id:"route.udm.cluster"}),disabled:!Lt($.urls.udmCluster,t)||!_o(ue.UDM,t)}]},{value:$.urls.udr,icon:a.jsx(ge.UDR,{}),label:vt.formatMessage({id:"route.udr"}),disabled:!Lt($.urls.udr,t),subItems:[{value:$.urls.udrConfiguration,label:vt.formatMessage({id:"route.udr.configuration"}),disabled:!Lt($.urls.udrConfiguration,t)},{value:$.urls.udrPlmns,label:vt.formatMessage({id:"route.udr.plmns"}),disabled:!Lt($.urls.udrPlmns,t)},{value:$.urls.udrSupis,label:vt.formatMessage({id:"route.udr.supis"}),disabled:!Lt($.urls.udrSupis,t)},{value:$.urls.udrProvisionedDataProfile,label:vt.formatMessage({id:"route.udr.provisioned-data-profile"}),disabled:!Lt($.urls.udrProvisionedDataProfile,t)},{value:$.urls.udrPolicyDataProfile,label:vt.formatMessage({id:"route.udr.policy-data-profile"}),disabled:!Lt($.urls.udrPolicyDataProfile,t)},{value:$.urls.udrImsApplicationServerAcls,label:vt.formatMessage({id:"route.udr.ims-application-server-acls"}),disabled:!Lt($.urls.udrImsApplicationServerAcls,t)},{value:$.urls.udrImsPrivateIdentities,label:vt.formatMessage({id:"route.udr.ims-private-identities"}),disabled:!Lt($.urls.udrImsPrivateIdentities,t)},{value:$.urls.udrImsServiceProfiles,label:vt.formatMessage({id:"route.udr.ims-service-profiles"}),disabled:!Lt($.urls.udrImsServiceProfiles,t)},{value:$.urls.udrImsInitialFilters,label:vt.formatMessage({id:"route.udr.ims-initial-filters"}),disabled:!Lt($.urls.udrImsInitialFilters,t)},{value:$.urls.udrTransportKeys,label:vt.formatMessage({id:"route.udr.transport-keys"}),disabled:!Lt($.urls.udrTransportKeys,t)},{value:$.urls.udrOperatorCodes,label:vt.formatMessage({id:"route.udr.operator-codes"}),disabled:!Lt($.urls.udrOperatorCodes,t)},{value:$.urls.udrCustomMilenageConstants,label:vt.formatMessage({id:"route.udr.custom-milenage-constants"}),disabled:!Lt($.urls.udrCustomMilenageConstants,t)},{value:$.urls.udrCluster,label:vt.formatMessage({id:"route.udr.cluster"}),disabled:!Lt($.urls.udrCluster,t)||!_o(ue.UDR,t)}]},{value:$.urls.upf,icon:a.jsx(ge.UPF,{}),label:vt.formatMessage({id:"route.upf"}),disabled:!Lt($.urls.upf,t),subItems:[{value:$.urls.upfStatus,label:vt.formatMessage({id:"route.upf.status"}),disabled:!Lt($.urls.upfStatus,t)},{value:$.urls.upfConfiguration,label:vt.formatMessage({id:"route.upf.configuration"}),disabled:!Lt($.urls.upfConfiguration,t)},{value:$.urls.upfLawfulInterception,label:vt.formatMessage({id:"route.upf.lawful-interception"}),disabled:!Lt($.urls.upfLawfulInterception,t)},{value:$.urls.upfCluster,label:vt.formatMessage({id:"route.upf.cluster"}),disabled:!Lt($.urls.upfCluster,t)||!_o(ue.UPF,t)}]},{value:"/marvis",label:"P5G Marvis",icon:a.jsx(ge.Magic,{}),disabled:false,subItems:[{value:"/marvis/overview",label:"P5G Marvis Insights",disabled:false},{value:"/marvis/actions",label:"P5G Marvis Actions",disabled:false},{value:"/marvis/minis",label:"P5G Marvis Minis",disabled:false},{value:"/marvis/ai",label:"P5G Marvis AI",disabled:false}]},{value:"/radio",label:"P5G Radio",icon:a.jsx(ge.Magic,{}),disabled:false}]}function nBe({services:t}){return[{value:$.urls.monitoring,icon:a.jsx(ge.Monitoring,{}),label:vt.formatMessage({id:"route.monitoring"}),disabled:!Lt($.urls.monitoring,t),subItems:[{value:$.urls.monitoringUeStatus,label:vt.formatMessage({id:"route.monitoring.ue-status"}),icon:a.jsx(ge.UEstatus,{}),disabled:!Lt($.urls.monitoringUeStatus,t)},{value:$.urls.monitoringCoreStatistics,label:vt.formatMessage({id:"route.monitoring.core-statistics"}),icon:a.jsx(ge.Grafana,{}),external:!0,disabled:!Lt($.urls.monitoringCoreStatistics,t)},{value:$.urls.monitoringSystem,icon:a.jsx(ge.Grafana,{}),label:vt.formatMessage({id:"route.monitoring.system"}),external:!0,disabled:!Lt($.urls.monitoringSystem,t)}]},{value:$.urls.platform,icon:a.jsx(ge.Platform,{}),label:vt.formatMessage({id:"route.platform"}),disabled:!Lt($.urls.platform,t),subItems:[{value:$.urls.platformAuthentication,icon:a.jsx(ge.AuthenticationStrategies,{}),label:vt.formatMessage({id:"route.platform.auth"}),disabled:!Lt($.urls.platformAuthentication,t)},{value:$.urls.platformUsers,icon:a.jsx(ge.Users,{}),label:vt.formatMessage({id:"route.platform.users"}),disabled:!Lt($.urls.platformUsers,t)},{value:$.urls.platformRoles,icon:a.jsx(ge.Roles,{}),label:vt.formatMessage({id:"route.platform.roles"}),disabled:!Lt($.urls.platformRoles,t)},{value:$.urls.platformTls,icon:a.jsx(ge.TLS,{}),label:vt.formatMessage({id:"route.platform.tls"}),disabled:!Lt($.urls.platformTls,t)},{value:$.urls.platformLogShipping,label:vt.formatMessage({id:"route.platform.log-shipping"}),icon:a.jsx(ge.Fluentbit,{}),disabled:!Lt($.urls.platformLogShipping,t)},{value:$.urls.platformKpiShipping,label:vt.formatMessage({id:"route.platform.kpi-shipping"}),icon:a.jsx(ge.Prometheus,{}),disabled:!Lt($.urls.platformKpiShipping,t)},{value:$.urls.platformAlertShipping,label:vt.formatMessage({id:"route.platform.alert-shipping"}),icon:a.jsx(ge.Prometheus,{}),disabled:!Lt($.urls.platformAlertShipping,t)},{value:$.urls.platformCluster,label:vt.formatMessage({id:"route.platform.cluster"}),icon:a.jsx(ge.Cluster,{}),disabled:!Lt($.urls.platformCluster,t)}]},{value:$.urls.system,icon:a.jsx(ge.System,{}),label:vt.formatMessage({id:"route.system"}),disabled:!Lt($.urls.system,t),subItems:[{value:$.urls.systemLicensing,label:vt.formatMessage({id:"route.system.licensing"}),disabled:!Lt($.urls.systemLicensing,t),icon:a.jsx(ge.Licensing,{})},{value:$.urls.systemBackup,label:vt.formatMessage({id:"route.system.backup"}),disabled:!Lt($.urls.systemBackup,t),icon:a.jsx(ge.Backup,{})},{value:$.urls.systemServices,label:vt.formatMessage({id:"route.system.services"}),disabled:!Lt($.urls.systemServices,t),icon:a.jsx(ge.Service,{})},{value:$.urls.systemUpgrade,label:vt.formatMessage({id:"route.system.upgrade"}),disabled:!Lt($.urls.systemUpgrade,t),icon:a.jsx(ge.Upgrade,{})},{value:$.urls.systemLogs,icon:a.jsx(ge.Logs,{}),label:vt.formatMessage({id:"route.system.logs"}),disabled:!Lt($.urls.systemLogs,t)},{value:$.urls.systemTerminal,icon:a.jsx(ge.Terminal,{}),label:vt.formatMessage({id:"route.system.terminal"}),disabled:!Lt($.urls.systemTerminal,t)},{value:$.urls.systemTroubleshootDump,icon:a.jsx(ge.Download,{}),label:vt.formatMessage({id:"route.system.troubleshoot_dump"}),disabled:!Lt($.urls.systemTroubleshootDump,t)},{id:"restart",value:$.urls.restart,icon:a.jsx(ge.Refresh,{}),external:!0,_target:"_self",label:vt.formatMessage({id:"route.restart"}),disabled:!Lt($.urls.restart,t)},{id:"boot-partition",value:$.urls.systemBootPartitions,icon:a.jsx(ge.Servers,{}),label:vt.formatMessage({id:"route.boot_partitions"}),disabled:!Lt($.urls.systemBootPartitions,t)}]},{value:$.urls.monitoringAlerts,label:vt.formatMessage({id:"route.monitoring.alerts"}),icon:a.jsx(ge.Alerts,{}),disabled:!Lt($.urls.monitoringAlerts,t)},{value:$.urls.docs,icon:a.jsx(ge.Manual,{}),label:vt.formatMessage({id:"route.docs"}),subItems:[{value:$.urls.docsDatasheet,label:vt.formatMessage({id:"route.docs.datasheet"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsFeatureDescription,label:vt.formatMessage({id:"route.docs.feature-description"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsInstallationGuide,label:vt.formatMessage({id:"route.docs.installation-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsMonitoringGuide,label:vt.formatMessage({id:"route.docs.monitoring-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsProductDescription,label:vt.formatMessage({id:"route.docs.product-description"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsReleaseNotes,label:vt.formatMessage({id:"route.docs.release-notes"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsSecurityGuide,label:vt.formatMessage({id:"route.docs.security-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsTroubleshootingGuide,label:vt.formatMessage({id:"route.docs.troubleshooting-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsUserGuide,label:vt.formatMessage({id:"route.docs.user-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0}]},{value:$.urls.docsOas,icon:a.jsx(ge.OAS,{}),label:vt.formatMessage({id:"route.docs.oas"}),subItems:[{value:$.urls.docsOasAaa,icon:a.jsx(ge.AAA,{}),label:vt.formatMessage({id:"route.docs.oas.aaa"}),external:!0},{value:$.urls.docsOasAmf,icon:a.jsx(ge.AMF,{}),label:vt.formatMessage({id:"route.docs.oas.amf"}),external:!0},{value:$.urls.docsOasAusf,icon:a.jsx(ge.AUSF,{}),label:vt.formatMessage({id:"route.docs.oas.ausf"}),external:!0},{value:$.urls.docsOasBmsc,icon:a.jsx(ge.BMSC,{}),label:vt.formatMessage({id:"route.docs.oas.bmsc"}),external:!0},{value:$.urls.docsOasChf,icon:a.jsx(ge.CHF,{}),label:vt.formatMessage({id:"route.docs.oas.chf"}),external:!0},{value:$.urls.docsOasDra,icon:a.jsx(ge.DRA,{}),label:vt.formatMessage({id:"route.docs.oas.dra"}),external:!0},{value:$.urls.docsOasDsm,icon:a.jsx(ge.DSM,{}),label:vt.formatMessage({id:"route.docs.oas.dsm"}),external:!0},{value:$.urls.docsOasEir,icon:a.jsx(ge.EIR,{}),label:vt.formatMessage({id:"route.docs.oas.eir"}),external:!0},{value:$.urls.docsOasLicensed,icon:a.jsx(ge.Licensing,{}),label:vt.formatMessage({id:"route.docs.oas.licensed"}),external:!0},{value:$.urls.docsOasMme,icon:a.jsx(ge.MME,{}),label:vt.formatMessage({id:"route.docs.oas.mme"}),external:!0},{value:$.urls.docsOasNcm,icon:a.jsx(ge.NCM,{}),label:vt.formatMessage({id:"route.docs.oas.ncm"}),external:!0},{value:$.urls.docsOasNrf,icon:a.jsx(ge.NRF,{}),label:vt.formatMessage({id:"route.docs.oas.nrf"}),external:!0},{value:$.urls.docsOasPcf,icon:a.jsx(ge.PCF,{}),label:vt.formatMessage({id:"route.docs.oas.pcf"}),external:!0},{value:$.urls.docsOasPls,icon:a.jsx(ge.Platform,{}),label:vt.formatMessage({id:"route.docs.oas.pls"}),external:!0},{value:$.urls.docsOasSgwc,icon:a.jsx(ge.SGWC,{}),label:vt.formatMessage({id:"route.docs.oas.sgwc"}),external:!0},{value:$.urls.docsOasSmf,icon:a.jsx(ge.SMF,{}),label:vt.formatMessage({id:"route.docs.oas.smf"}),external:!0},{value:$.urls.docsOasSmsf,icon:a.jsx(ge.SMSF,{}),label:vt.formatMessage({id:"route.docs.oas.smsf"}),external:!0},{value:$.urls.docsOasUdm,icon:a.jsx(ge.UDM,{}),label:vt.formatMessage({id:"route.docs.oas.udm"}),external:!0},{value:$.urls.docsOasUdr,icon:a.jsx(ge.UDR,{}),label:vt.formatMessage({id:"route.docs.oas.udr"}),external:!0},{value:$.urls.docsOasUpf,icon:a.jsx(ge.UPF,{}),label:vt.formatMessage({id:"route.docs.oas.upf"}),external:!0},{value:$.urls.docsOasSwUpdate,icon:a.jsx(ge.Upgrade,{}),label:vt.formatMessage({id:"route.docs.oas.swUpdate"}),external:!0}]}]}const sBe=999;function Iv(t){const e=he.c(7),{badgeContent:r,color:n,children:s,variant:i,max:o,invisible:l}=t,c=n===void 0?"secondary":n,u=o===void 0?sBe:o;let d;return e[0]!==r||e[1]!==s||e[2]!==c||e[3]!==l||e[4]!==u||e[5]!==i?(d=a.jsx(ZNe,{badgeContent:r,color:c,variant:i,max:u,invisible:l,children:s}),e[0]=r,e[1]=s,e[2]=c,e[3]=l,e[4]=u,e[5]=i,e[6]=d):d=e[6],d}const Mae=I.createContext({readOnly:!1}),dn=t=>{const e=he.c(13),{canWrite:r,fullHeight:n,children:s,sx:i}=t,o=!r;let l;e[0]!==o?(l={readOnly:o},e[0]=o,e[1]=l):l=e[1];const[c]=I.useState(l);let u;e[2]!==n?(u=n&&{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},e[2]=n,e[3]=u):u=e[3];let d;e[4]!==i||e[5]!==u?(d={...u,...i},e[4]=i,e[5]=u,e[6]=d):d=e[6];let f;e[7]!==s||e[8]!==d?(f=a.jsx(Kd,{style:d,children:s}),e[7]=s,e[8]=d,e[9]=f):f=e[9];let p;return e[10]!==c||e[11]!==f?(p=a.jsx(Mae.Provider,{value:c,children:f}),e[10]=c,e[11]=f,e[12]=p):p=e[12],p},iN=()=>I.useContext(Mae);function Xr(t){const e=he.c(8),{data:r,sx:n}=t;if(!xt(r))return null;let s=r.error.detail,i,o;e[0]!==r.error.errors?(o=r.error.errors??{},e[0]=r.error.errors,e[1]=o):o=e[1];const l=o;if(!Ni.isEmpty(l)&&typeof l=="object"&&"password"in l)s=l.password,i=r.error.detail;else if(!Ni.isEmpty(l)&&typeof l=="object"){let u;e[2]!==l?(u=JSON.stringify(l,null,2),e[2]=l,e[3]=u):u=e[3],s=u,i=r.error.detail}else r.error.title&&(i=r.error.title);let c;return e[4]!==s||e[5]!==n||e[6]!==i?(c=a.jsx(Lr,{severity:"error",title:i,message:s,sx:n,"data-testid":"query-error-alert"}),e[4]=s,e[5]=n,e[6]=i,e[7]=c):c=e[7],c}function Ys(t){const e=he.c(16);let r;e[0]!==t?(r=t===void 0?{}:t,e[0]=t,e[1]=r):r=e[1];const{editLoadTo:n}=r,{dialogClose:s}=Jt(),i=gr(),o=gr(),{load:l,data:c}=i,{data:u,state:d}=o,f=!!n;let p,m;e[2]!==s||e[3]!==u||e[4]!==d?(p=()=>{u&&!xt(u)&&d==="idle"&&s()},m=[s,u,d],e[2]=s,e[3]=u,e[4]=d,e[5]=p,e[6]=m):(p=e[5],m=e[6]),I.useEffect(p,m);let h,_;e[7]!==n||e[8]!==f||e[9]!==l?(h=()=>{f&&l(n)},_=[l,n,f],e[7]=n,e[8]=f,e[9]=l,e[10]=h,e[11]=_):(h=e[10],_=e[11]),I.useEffect(h,_);const g=f&&!c;let y;return e[12]!==i||e[13]!==g||e[14]!==o?(y={dataFetcher:i,upsertFetcher:o,isLoading:g},e[12]=i,e[13]=g,e[14]=o,e[15]=y):y=e[15],y}const iBe=dr().shape({defaultPartition:We().required()});function Dt(t){const e=he.c(6),{animation:r,height:n,width:s,variant:i,sx:o}=t,l=r===void 0?"pulse":r,c=i===void 0?"text":i,u=c==="circular"&&!n?50:n,d=c==="circular"&&!s?50:s;let f;return e[0]!==l||e[1]!==o||e[2]!==u||e[3]!==d||e[4]!==c?(f=a.jsx(mb,{animation:l,height:u,width:d,variant:c,sx:o}),e[0]=l,e[1]=o,e[2]=u,e[3]=d,e[4]=c,e[5]=f):f=e[5],f}function oBe(t){const e=he.c(15),{color:r,disabled:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checkedIcon:f,checked:p,label:m}=t;let h;e[0]!==p||e[1]!==f||e[2]!==r||e[3]!==o||e[4]!==c||e[5]!==u||e[6]!==i||e[7]!==l||e[8]!==s||e[9]!==d?(h=a.jsx(fae,{color:r,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:p,checkedIcon:f}),e[0]=p,e[1]=f,e[2]=r,e[3]=o,e[4]=c,e[5]=u,e[6]=i,e[7]=l,e[8]=s,e[9]=d,e[10]=h):h=e[10];let _;return e[11]!==n||e[12]!==m||e[13]!==h?(_=a.jsx(Rv,{disabled:n,control:h,label:m}),e[11]=n,e[12]=m,e[13]=h,e[14]=_):_=e[14],_}function aBe(t){const e=he.c(15),{label:r,radioItems:n,row:s,defaultValue:i,value:o,onChange:l}=t;let c;e[0]!==n?(c=n===void 0?[]:n,e[0]=n,e[1]=c):c=e[1];const u=c,d=s===void 0?!0:s;if(!u||!u.length)return null;let f;e[2]!==r?(f=r&&a.jsx(mv,{component:"legend",children:r}),e[2]=r,e[3]=f):f=e[3];let p;e[4]!==u?(p=u.map(lBe),e[4]=u,e[5]=p):p=e[5];let m;e[6]!==i||e[7]!==l||e[8]!==d||e[9]!==p||e[10]!==o?(m=a.jsx(pae,{value:o,defaultValue:i,row:d,onChange:l,children:p}),e[6]=i,e[7]=l,e[8]=d,e[9]=p,e[10]=o,e[11]=m):m=e[11];let h;return e[12]!==f||e[13]!==m?(h=a.jsxs(hv,{component:"fieldset",children:[f,m]}),e[12]=f,e[13]=m,e[14]=h):h=e[14],h}function lBe(t,e){return a.jsx(oBe,{label:t.label,value:t.value,disabled:t.disabled},e)}function Nc(t){const e=he.c(10),{value:r,color:n,type:s,thickness:i,label:o,variant:l,size:c,customColor:u,labelVariant:d}=t,f=s===void 0?"linear":s,p=i===void 0?3.6:i,m=d===void 0?"caption":d;let h;return e[0]!==n||e[1]!==u||e[2]!==o||e[3]!==m||e[4]!==c||e[5]!==p||e[6]!==f||e[7]!==r||e[8]!==l?(h=f==="circular"?a.jsxs(gt,{sx:{position:"relative",display:"inline-flex"},children:[a.jsxs(gt,{sx:{position:"relative",display:"flex"},children:[a.jsx(mC,{sx:{color:cBe},variant:"determinate",thickness:p,value:100,size:c}),a.jsx(mC,{color:n,variant:l,thickness:p,value:r,size:c,sx:{position:"absolute",left:0,top:0,...u&&{color:u}}})]}),a.jsx(gt,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:a.jsx(cn,{variant:m,component:"div",color:"text.secondary",children:o})})]}):a.jsx(R8e,{variant:l,sx:{height:`${p}px`,...u&&{color:u}},color:n,value:r}),e[0]=n,e[1]=u,e[2]=o,e[3]=m,e[4]=c,e[5]=p,e[6]=f,e[7]=r,e[8]=l,e[9]=h):h=e[9],h}function cBe(t){return t.palette.grey[300]}const _s=t=>{const e=he.c(5),{children:r,loading:n}=t;let s;e[0]!==r||e[1]!==n?(s=n?a.jsx(gt,{sx:{display:"flex",justifyContent:"center",p:10},children:a.jsx(Nc,{type:"circular",color:"primary"})}):r,e[0]=r,e[1]=n,e[2]=s):s=e[2];let i;return e[3]!==s?(i=a.jsx(yv,{children:s}),e[3]=s,e[4]=i):i=e[4],i};function uBe(){const t=he.c(30),e=Ye(),{dialogClose:r,confirmationSimpleDialogOpen:n}=Jt();let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s={editLoadTo:`${$.urls.system}/boot-partitions`},t[0]=s):s=t[0];const{dataFetcher:i,upsertFetcher:o}=Ys(s),{data:l}=i,{data:c,state:u,submit:d}=o,{submit:f}=gr();let p,m;t[1]!==f||t[2]!==c?(p=()=>()=>{c&&!xt(c)&&f(null,{action:$.urls.restart,encType:"application/json",method:"POST"})},m=[f,c],t[1]=f,t[2]=c,t[3]=p,t[4]=m):(p=t[3],m=t[4]),I.useEffect(p,m);let h;t[5]!==n||t[6]!==e||t[7]!==d?(h=C=>{n({title:e.formatMessage({id:"route.system.dialog.confirm_reboot.title"}),description:e.formatMessage({id:"route.system.dialog.confirm_reboot.description"}),onConfirm:()=>{d(C,{action:"/system/boot-partitions-update",method:"PUT",encType:"application/json"})},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[5]=n,t[6]=e,t[7]=d,t[8]=h):h=t[8];const _=h;let g;t[9]!==r?(g=()=>{r()},t[9]=r,t[10]=g):g=t[10];const y=g;if(!l){let C,k;t[11]===Symbol.for("react.memo_cache_sentinel")?(C={mt:1},k=a.jsx(Dt,{variant:"rounded"}),t[11]=C,t[12]=k):(C=t[11],k=t[12]);let A;t[13]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsxs(te,{direction:"row",children:[a.jsx(Dt,{variant:"circular",width:22,height:22}),a.jsx(Dt,{variant:"rounded",width:200})]}),t[13]=A):A=t[13];let P;t[14]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsxs(te,{spacing:3,children:[A,a.jsxs(te,{direction:"row",children:[a.jsx(Dt,{variant:"circular",width:22,height:22}),a.jsx(Dt,{variant:"rounded",width:200})]})]}),t[14]=P):P=t[14];let T;return t[15]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(_s,{children:a.jsxs(te,{spacing:4,sx:C,children:[k,P,a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Dt,{variant:"rounded",width:90,height:36}),a.jsx(Dt,{variant:"rounded",width:90,height:36})]})]})}),t[15]=T):T=t[15],T}let b;t[16]!==l.bootPartitions.default?(b={defaultPartition:l.bootPartitions.default},t[16]=l.bootPartitions.default,t[17]=b):b=t[17];let x;t[18]!==y||t[19]!==e||t[20]!==l.bootPartitions.default||t[21]!==l.bootPartitions.primary||t[22]!==l.bootPartitions.secondary||t[23]!==c||t[24]!==u?(x=C=>{const{dirty:k}=C;return a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsxs(te,{spacing:2,children:[a.jsx(_e,{children:e.formatMessage({id:"route.system.dialog.boot_partitions.subtitle"})}),a.jsx(gt,{children:a.jsx(Ke,{name:"defaultPartition",children:A=>{const{field:P,form:T}=A,{setFieldValue:j}=T;return a.jsx(aBe,{row:!1,radioItems:[{value:"primary",label:`${l.bootPartitions.primary} ${l.bootPartitions.default==="primary"?`(${e.formatMessage({id:"common.current"})})`:""}`},{value:"secondary",label:l.bootPartitions.secondary?`${l.bootPartitions.secondary} ${l.bootPartitions.default==="secondary"?`(${e.formatMessage({id:"common.current"})})`:""}`:e.formatMessage({id:"common.empty"}),disabled:!l.bootPartitions.secondary}],value:P.value,onChange:(R,D)=>{j(P.name,D)}})}})}),a.jsx(Xr,{data:c}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{variant:"outlined",text:e.formatMessage({id:"common.form.cancel"}),disabled:u!=="idle",onClick:y}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"common.form.submit"}),disabled:!k,loading:u!=="idle"})]})]})})},t[18]=y,t[19]=e,t[20]=l.bootPartitions.default,t[21]=l.bootPartitions.primary,t[22]=l.bootPartitions.secondary,t[23]=c,t[24]=u,t[25]=x):x=t[25];let w;return t[26]!==_||t[27]!==b||t[28]!==x?(w=a.jsx(_s,{children:a.jsx(Wr,{validationSchema:iBe,initialValues:b,onSubmit:_,children:x})}),t[26]=_,t[27]=b,t[28]=x,t[29]=w):w=t[29],w}function dBe(){const t=he.c(35),e=ys(),r=Ye(),{confirmationDialogOpen:n,dialogOpen:s}=Jt(),i=Np(),{submit:o}=gr();i?.services;let l;t[0]!==i?.services?(l=i?.services??[],t[0]=i?.services,t[1]=l):l=t[1];const c=l;let u;t[2]!==i?.alerts?(u=()=>i?.alerts??[],t[2]=i?.alerts,t[3]=u):u=t[3],i?.alerts;let d;t[4]!==u?(d=u(),t[4]=u,t[5]=d):d=t[5];const f=d;let p;t[6]!==c?(p=nBe({services:c}),t[6]=c,t[7]=p):p=t[7];const m=p;let h;t[8]!==m?(h=kae(m),t[8]=m,t[9]=h):h=t[9];const _=h,g=f?.length;let y;t[10]!==e?(y=D=>{D.external?window.open(D.value,D._target||"_blank"):e(D.value)},t[10]=e,t[11]=y):y=t[11];const b=y;let x;t[12]!==n||t[13]!==r||t[14]!==o?(x=()=>{n({title:r.formatMessage({id:"route.system.dialog.restart.title"}),alertMessage:r.formatMessage({id:"route.system.dialog.restart.text"}),onConfirm:()=>{o(null,{action:$.urls.restart,encType:"application/json",method:"POST"})},severity:"warning"})},t[12]=n,t[13]=r,t[14]=o,t[15]=x):x=t[15];const w=x;let C;t[16]!==s||t[17]!==r?(C=()=>{s({title:r.formatMessage({id:"route.system.dialog.boot_partitions.title"}),content:pBe})},t[16]=s,t[17]=r,t[18]=C):C=t[18];const k=C;let A;t[19]!==k||t[20]!==b||t[21]!==w?(A=D=>{e:switch(D.id){case"restart":{w();break e}case"boot-partition":{k();break e}default:b(D)}},t[19]=k,t[20]=b,t[21]=w,t[22]=A):A=t[22];const P=A;let T;if(t[23]!==_||t[24]!==g||t[25]!==P||t[26]!==b){let D;t[28]!==g||t[29]!==P||t[30]!==b?(D=O=>a.jsx(Mn,{opaque:!0,disableFocusListener:!0,enterTouchDelay:0,title:O.subItems?a.jsxs(pv,{children:[a.jsx(_e,{color:"text.secondary",sx:{px:2,pb:1,pt:.5},children:O.label}),a.jsx(gt,{className:"tooltip-items",children:O.subItems.map((N,F)=>{const{label:U,value:z,disabled:H,icon:W}=N;return a.jsx(En,{disabled:H,onClick:()=>P(N),divider:O.subItems&&F===O.subItems.findIndex(fBe)-1,icon:W,children:U},`${z}-${F}`)})})]}):O.label,children:a.jsx(gt,{children:a.jsx(Iv,{badgeContent:O.value===$.urls.monitoringAlerts?g:void 0,color:"error",children:a.jsx(Zr,{size:"small",sx:{fontSize:"20px"},onClick:()=>{O.subItems||b(O)},children:O.icon})})})},O.value),t[28]=g,t[29]=P,t[30]=b,t[31]=D):D=t[31],T=_.map(D),t[23]=_,t[24]=g,t[25]=P,t[26]=b,t[27]=T}else T=t[27];let j;t[32]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(wae,{}),t[32]=j):j=t[32];let R;return t[33]!==T?(R=a.jsxs(te,{direction:"row",spacing:1,nowrap:!0,align:"center",children:[T,j]}),t[33]=T,t[34]=R):R=t[34],R}function fBe(t){return t.id==="restart"}function pBe(){return a.jsx(uBe,{})}function oN(t){const e=Ji.getSiteNode();return!!t.unreachable_peers.find(n=>{if(typeof n=="string"){const s=n.split("@")[1]??n;return e===s}else return e===n.api_address})}function Dv(t){const e=he.c(24),{to:r,initialData:n,search:s}=t,i=gr();let o,l,c;e[0]!==i?({load:l,data:o,...c}=i,e[0]=i,e[1]=o,e[2]=l,e[3]=c):(o=e[1],l=e[2],c=e[3]);const[u,d]=I.useState(n),f=I.useRef(null);let p;e[4]!==l||e[5]!==s||e[6]!==r?(p=()=>{const A=new URLSearchParams(s);A.append("polling","true"),l(`${r}?${A}`)},e[4]=l,e[5]=s,e[6]=r,e[7]=p):p=e[7];const m=p;let h;e[8]!==m?(h=()=>{f.current&&window.clearTimeout(f.current),f.current=window.setTimeout(()=>{m()},$.polling.default)},e[8]=m,e[9]=h):h=e[9];const _=h;let g,y;e[10]===Symbol.for("react.memo_cache_sentinel")?(g=()=>()=>{f.current&&window.clearTimeout(f.current)},y=[],e[10]=g,e[11]=y):(g=e[10],y=e[11]),I.useEffect(g,y);let b,x;e[12]!==o||e[13]!==_?(b=()=>{if(o&&typeof o=="object"&&"__polling_error"in o)return _();o&&d(o),_()},x=[o,_],e[12]=o,e[13]=_,e[14]=b,e[15]=x):(b=e[14],x=e[15]),I.useEffect(b,x);let w,C;e[16]!==m||e[17]!==n?(w=()=>{n||m(),d(n)},C=[m,n],e[16]=m,e[17]=n,e[18]=w,e[19]=C):(w=e[18],C=e[19]),I.useEffect(w,C);let k;return e[20]!==u||e[21]!==l||e[22]!==c?(k={load:l,data:u,...c},e[20]=u,e[21]=l,e[22]=c,e[23]=k):k=e[23],k}function Gr(t){const e=he.c(9);let r;e[0]!==t?(r=t===void 0?{useSearchParams:!0}:t,e[0]=t,e[1]=r):r=e[1];const{useSearchParams:n}=r,s=n===void 0?!0:n,i=zn(),o=Lp("."),{search:l}=to();let c;e[2]!==l||e[3]!==s?(c=s&&{search:l},e[2]=l,e[3]=s,e[4]=c):c=e[4];let u;e[5]!==i||e[6]!==o.pathname||e[7]!==c?(u={to:o.pathname,initialData:i,...c},e[5]=i,e[6]=o.pathname,e[7]=c,e[8]=u):u=e[8];const{data:d}=Dv(u);return d}function ms(t){const e=he.c(13),{id:r,label:n,color:s,variant:i,onDelete:o,size:l,disabled:c,sx:u}=t;let d;e[0]!==u?(d={flexShrink:0,width:"fit-content",...u},e[0]=u,e[1]=d):d=e[1];let f;e[2]!==r||e[3]!==o?(f=o&&r?()=>o(r):void 0,e[2]=r,e[3]=o,e[4]=f):f=e[4];let p;return e[5]!==s||e[6]!==c||e[7]!==n||e[8]!==l||e[9]!==d||e[10]!==f||e[11]!==i?(p=a.jsx(cL,{color:s,sx:d,label:n,variant:i,onDelete:f,size:l,disabled:c}),e[5]=s,e[6]=c,e[7]=n,e[8]=l,e[9]=d,e[10]=f,e[11]=i,e[12]=p):p=e[12],p}function mBe(){const t=he.c(39);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={to:$.urls.siteLoader},t[0]=e):e=t[0];const{data:r}=Dv(e),{popoverOpen:n,popoverClose:s}=Jt(),i=Ye(),{submit:o,state:l}=gr();let c;t[1]===Symbol.for("react.memo_cache_sentinel")?(c=Ji.getSiteNode(),t[1]=c):c=t[1];const[u,d]=I.useState(c);let f;t[2]!==s||t[3]!==o?(f=F=>{if(!F.api_address)return;const{api_address:U}=F;d(U),o({siteNodeAddress:U},{method:"POST",encType:"application/json",action:"/"}),s()},t[2]=s,t[3]=o,t[4]=f):f=t[4];const p=f;let m;e:{if(!r){let U;t[5]===Symbol.for("react.memo_cache_sentinel")?(U=[],t[5]=U):U=t[5],m=U;break e}let F;t[6]!==r.current_node||t[7]!==r.peers||t[8]!==r.unreachable_peers?(F=[...Ni.sortBy([r.current_node,...r.peers],vBe).map(_Be),...r.unreachable_peers.map(gBe)],t[6]=r.current_node,t[7]=r.peers,t[8]=r.unreachable_peers,t[9]=F):F=t[9],m=F}const h=m;let _;t[10]!==u||t[11]!==h?(_=h.find(F=>F.api_address===u),t[10]=u,t[11]=h,t[12]=_):_=t[12];const g=_;let y,b;t[13]!==r?(y=()=>{d(F=>!F&&r?r.current_node.api_address:F)},b=[r],t[13]=r,t[14]=y,t[15]=b):(y=t[14],b=t[15]),I.useEffect(y,b);let x;t[16]!==p||t[17]!==i||t[18]!==n||t[19]!==u||t[20]!==h?(x=F=>{n({anchorEl:F.currentTarget,anchorOrigin:{horizontal:"left",vertical:"bottom"},disableGutters:!0,content:()=>a.jsx(pv,{children:h.map(U=>{const z=u===U.api_address;return a.jsx(En,{onClick:()=>{p(U)},disabled:z||U.unreachable,selected:z,sx:{opacity:U.unreachable?"0.8 !important":"1 !important"},children:a.jsxs(te,{direction:"row",nowrap:!0,align:"center",justify:"space-between",fullWidth:!0,children:[a.jsxs(te,{direction:"row",align:"center",children:[U.unreachable?a.jsx(te,{align:"center",justify:"center",sx:{color:"error.main"},children:a.jsx(ge.StatusErrorSmall,{size:14})}):a.jsx(te,{align:"center",justify:"center",sx:{color:"success.main"},children:a.jsx(ge.StatusSuccessSmall,{size:14})}),a.jsx(te,{align:"center",children:a.jsx(_e,{children:U.name})})]}),a.jsx(te,{direction:"row",align:"center",spacing:.5,sx:{ml:4},children:U.unreachable&&a.jsx(ms,{label:i.formatMessage({id:"cluster.status.unreachable_node"}),size:"small"})})]})},`${U.name}-${U.api_address}`)})})})},t[16]=p,t[17]=i,t[18]=n,t[19]=u,t[20]=h,t[21]=x):x=t[21];const w=x;let C;t[22]!==h?(C=h.filter(hBe),t[22]=h,t[23]=C):C=t[23];const k=C.length;if(h.length<2||!r)return null;const A=g?.name;let P;t[24]===Symbol.for("react.memo_cache_sentinel")?(P={textTransform:"none"},t[24]=P):P=t[24];let T;t[25]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(ge.DownArrow,{size:14}),t[25]=T):T=t[25];let j;t[26]!==i||t[27]!==k?(j=k>0&&a.jsx(Mn,{title:i.formatMessage({id:k>1?"cluster.status.unreachable_nodes_count":"cluster.status.unreachable_node_count"},{count:k}),children:a.jsx(gt,{sx:{color:"warning.main",mt:1},children:a.jsx(ge.StatusWarning,{size:"20"})})}),t[26]=i,t[27]=k,t[28]=j):j=t[28];let R;t[29]!==j?(R=a.jsxs(te,{direction:"row",align:"center",spacing:1.5,children:[T,j]}),t[29]=j,t[30]=R):R=t[30];let D;t[31]!==r?(D=a.jsx(a.Fragment,{children:oN(r)?a.jsx(gt,{sx:{color:"error.main"},children:a.jsx(ge.StatusErrorSmall,{size:14})}):a.jsx(gt,{sx:{color:"success.main"},children:a.jsx(ge.StatusSuccessSmall,{size:14})})}),t[31]=r,t[32]=D):D=t[32];const O=l!=="idle";let N;return t[33]!==w||t[34]!==R||t[35]!==D||t[36]!==O||t[37]!==A?(N=a.jsx(Ze,{size:"medium",text:A,variant:"text",sx:P,endIcon:R,startIcon:D,onClick:w,disabled:O}),t[33]=w,t[34]=R,t[35]=D,t[36]=O,t[37]=A,t[38]=N):N=t[38],N}function hBe(t){return t.unreachable}function gBe(t){return typeof t=="string"?{name:"",api_address:t.split("@")[1]??t,unreachable:!0}:{name:t.name,api_address:t.api_address,unreachable:!0}}function _Be(t){return{name:t.name,api_address:t.api_address,unreachable:!1}}function vBe(t){return t.api_address}function Pae(t){const e=he.c(35),{info:r,variant:n,profileCard:s}=t,i=Ye(),o=As(),l=aC(o.breakpoints.down($.appBarMobileBreakpoint))?"5px 0 0 0":"",c=aC(o.breakpoints.down($.appBarMobileBreakpoint))?"100%":"auto",{menuClose:u}=Jt(),d=ys();let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=Ih(),e[0]=f):f=e[0];const p=f;let m;e[1]!==i?(m=i.formatMessage({id:"user.menu.profile"}),e[1]=i,e[2]=m):m=e[2];let h;e[3]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(ge.Profile,{}),e[3]=h):h=e[3];let _;e[4]!==u||e[5]!==d?(_=()=>{u(),d($.urls.profile)},e[4]=u,e[5]=d,e[6]=_):_=e[6];let g;e[7]!==m||e[8]!==_?(g={label:m,value:"profile",icon:h,onClick:_},e[7]=m,e[8]=_,e[9]=g):g=e[9];let y;e[10]===Symbol.for("react.memo_cache_sentinel")?(y=a.jsx(ge.Logout,{}),e[10]=y):y=e[10];let b;e[11]!==u||e[12]!==d?(b={label:"Logout",value:"logout",icon:y,onClick:()=>{u(),d($.urls.logout,{replace:!0})}},e[11]=u,e[12]=d,e[13]=b):b=e[13];let x;e[14]!==g||e[15]!==b?(x=[g,b],e[14]=g,e[15]=b,e[16]=x):x=e[16];const w=x;let C;e[17]!==n?(C=n!=="simpleLayout"?a.jsx(mBe,{}):void 0,e[17]=n,e[18]=C):C=e[18];let k;e[19]!==l||e[20]!==c?(k={margin:l,width:c},e[19]=l,e[20]=c,e[21]=k):k=e[21];let A;e[22]!==n?(A=n==="simpleLayout"?a.jsx(wae,{}):a.jsx(dBe,{}),e[22]=n,e[23]=A):A=e[23];let P;e[24]!==s||e[25]!==w?(P=s&&a.jsx(CUe,{fullname:p?.fullname||"",menuItems:w,description:p?.sub?[p?.sub]:[""]}),e[24]=s,e[25]=w,e[26]=P):P=e[26];let T;e[27]!==k||e[28]!==A||e[29]!==P?(T=a.jsxs(te,{direction:"row",align:"center",spacing:1,sx:k,justify:"between",children:[A,P]}),e[27]=k,e[28]=A,e[29]=P,e[30]=T):T=e[30];let j;return e[31]!==r||e[32]!==T||e[33]!==C?(j=a.jsx(PUe,{info:r,siteSelector:C,children:T}),e[31]=r,e[32]=T,e[33]=C,e[34]=j):j=e[34],j}const Ti=t=>{const e=he.c(2),{children:r}=t;let n;return e[0]!==r?(n=a.jsx(vv,{children:r}),e[0]=r,e[1]=n):n=e[1],n};function aN(t){const e=he.c(20),{title:r,children:n,closeOnBackdropClick:s,closeOnEsc:i,onClose:o,fullScreen:l,maxWidth:c,open:u,"data-testid":d,disableAutoFocus:f}=t,p=i===void 0?!0:i;let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={xs:"250px",sm:"500px"},e[0]=m):m=e[0];let h;e[1]!==l?(h=l&&{height:"calc(100vh - 32px)",width:"calc(100% - 32px)",maxWidth:"1400px"},e[1]=l,e[2]=h):h=e[2];let _;e[3]!==h?(_={".MuiDialog-paper":{m:2,minWidth:m,maxHeight:"calc(100vh - 32px)",boxShadow:"none",...h},my:0},e[3]=h,e[4]=_):_=e[4];const g=_;let y;e[5]!==s||e[6]!==p||e[7]!==o?(y=(C,k)=>{k==="backdropClick"&&!s||k==="escapeKeyDown"&&!p||o&&o(C,k)},e[5]=s,e[6]=p,e[7]=o,e[8]=y):y=e[8];const b=y;let x;e[9]!==r?(x=r&&a.jsx(JL,{children:r}),e[9]=r,e[10]=x):x=e[10];let w;return e[11]!==n||e[12]!==d||e[13]!==f||e[14]!==b||e[15]!==c||e[16]!==u||e[17]!==x||e[18]!==g?(w=a.jsxs(Xne,{open:u,onClose:b,sx:g,maxWidth:c,"data-testid":d,disableAutoFocus:f,children:[x,n]}),e[11]=n,e[12]=d,e[13]=f,e[14]=b,e[15]=c,e[16]=u,e[17]=x,e[18]=g,e[19]=w):w=e[19],w}function yBe(t){const e=he.c(44),{severity:r,onConfirm:n,onCancel:s,title:i,description:o,alertMessage:l,content:c,dataTestid:u,cancelButtonText:d,continueButtonText:f}=t,p=d===void 0?"Cancel":d,m=f===void 0?"Continue":f,{confirmationDialogClose:h}=Jt(),_=Nr(SBe),g=Nr(xBe),y=Nr(bBe),[b,x]=I.useState(!1),w=I.useRef(null);let C,k;e[0]!==_||e[1]!==y||e[2]!==g?(C=()=>{_&&y&&(x(!0),w.current&&(window.clearTimeout(w.current),w.current=null)),_&&!y&&(x(!1),w.current=window.setTimeout(()=>{g(null)},1e3))},k=[_,y,g],e[0]=_,e[1]=y,e[2]=g,e[3]=C,e[4]=k):(C=e[3],k=e[4]),I.useEffect(C,k);let A;e[5]!==h||e[6]!==n?(A=()=>{n(),h()},e[5]=h,e[6]=n,e[7]=A):A=e[7];const P=A;let T;e[8]!==h||e[9]!==s?(T=()=>{s&&s(),h()},e[8]=h,e[9]=s,e[10]=T):T=e[10];const j=T;let R;e[11]!==r?(R=r==="danger"&&{color:"error.main"},e[11]=r,e[12]=R):R=e[12];let D;e[13]!==R?(D={...R,fontWeight:"600"},e[13]=R,e[14]=D):D=e[14];let O;e[15]!==i?(O=i.toLocaleUpperCase(),e[15]=i,e[16]=O):O=e[16];let N;e[17]!==D||e[18]!==O?(N=a.jsx(JL,{sx:D,children:O}),e[17]=D,e[18]=O,e[19]=N):N=e[19];let F;e[20]!==o?(F=a.jsx(_e,{type:"body1",lineHeight:3,children:o}),e[20]=o,e[21]=F):F=e[21];const U=r==="danger"?"error":r||"info";let z;e[22]!==l||e[23]!==U?(z=a.jsx(Lr,{severity:U,message:l}),e[22]=l,e[23]=U,e[24]=z):z=e[24];let H;e[25]!==c||e[26]!==F||e[27]!==z?(H=a.jsxs(_s,{children:[F,z,c]}),e[25]=c,e[26]=F,e[27]=z,e[28]=H):H=e[28];let W;e[29]!==p||e[30]!==j?(W=a.jsx(Ze,{variant:"outlined",text:p,onClick:j}),e[29]=p,e[30]=j,e[31]=W):W=e[31];let K;e[32]!==m||e[33]!==P?(K=a.jsx(Ze,{text:m,onClick:P}),e[32]=m,e[33]=P,e[34]=K):K=e[34];let q;e[35]!==W||e[36]!==K?(q=a.jsxs(Ti,{children:[W,K]}),e[35]=W,e[36]=K,e[37]=q):q=e[37];let X;return e[38]!==u||e[39]!==b||e[40]!==N||e[41]!==H||e[42]!==q?(X=a.jsxs(aN,{open:b,"data-testid":u,children:[N,H,q]}),e[38]=u,e[39]=b,e[40]=N,e[41]=H,e[42]=q,e[43]=X):X=e[43],X}function bBe(t){return t.confirmationDialogOpen}function xBe(t){return t.setConfirmationDialog}function SBe(t){return t.confirmationDialogState}function wBe(t){const e=he.c(29),{title:r,cancelText:n,confirmText:s,description:i,onConfirm:o,onCancel:l}=t,c=r===void 0?"Do you confirm?":r,u=n===void 0?"Cancel":n,d=s===void 0?"Confirm":s,{confirmationSimpleDialogClose:f}=Jt(),p=Nr(kBe),m=Nr(ABe),h=Nr(CBe),[_,g]=I.useState(!1),y=I.useRef(null);let b,x;e[0]!==p||e[1]!==h||e[2]!==m?(b=()=>{p&&h&&(g(!0),y.current&&(window.clearTimeout(y.current),y.current=null)),p&&!h&&(g(!1),y.current=window.setTimeout(()=>{m(null)},1e3))},x=[p,h,m],e[0]=p,e[1]=h,e[2]=m,e[3]=b,e[4]=x):(b=e[3],x=e[4]),I.useEffect(b,x);let w;e[5]!==f||e[6]!==o?(w=()=>{o(),f()},e[5]=f,e[6]=o,e[7]=w):w=e[7];const C=w;let k;e[8]!==f||e[9]!==l?(k=()=>{l&&l(),f()},e[8]=f,e[9]=l,e[10]=k):k=e[10];const A=k;let P;e[11]!==c?(P=a.jsx(JL,{children:c}),e[11]=c,e[12]=P):P=e[12];let T;e[13]!==i?(T=i&&a.jsx(_s,{children:a.jsx(_e,{children:i})}),e[13]=i,e[14]=T):T=e[14];let j;e[15]!==u||e[16]!==A?(j=a.jsx(Ze,{variant:"outlined",text:u,onClick:A}),e[15]=u,e[16]=A,e[17]=j):j=e[17];let R;e[18]!==d||e[19]!==C?(R=a.jsx(Ze,{text:d,onClick:C}),e[18]=d,e[19]=C,e[20]=R):R=e[20];let D;e[21]!==j||e[22]!==R?(D=a.jsxs(Ti,{children:[j,R]}),e[21]=j,e[22]=R,e[23]=D):D=e[23];let O;return e[24]!==_||e[25]!==D||e[26]!==P||e[27]!==T?(O=a.jsxs(aN,{open:_,"data-testid":"confirmation-simple-dialog",children:[P,T,D]}),e[24]=_,e[25]=D,e[26]=P,e[27]=T,e[28]=O):O=e[28],O}function CBe(t){return t.confirmationSimpleDialogOpen}function ABe(t){return t.setConfirmationSimpleDialog}function kBe(t){return t.confirmationSimpleDialogState}function jae(t){const e=he.c(39);let r,n,s,i,o,l;e[0]!==t?({id:l,children:r,open:s,preventClose:i,closeIcon:n,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6]);const c=l===void 0?$6:l,u=Nr(jBe),d=Nr(PBe),f=Nr(MBe),[p,m]=I.useState(!1),h=I.useRef(null),{dialogClose:_}=Jt();let g;e[7]!==u||e[8]!==c?(g=u.includes(c),e[7]=u,e[8]=c,e[9]=g):g=e[9];const y=g;let b;if(e[10]!==d||e[11]!==c){let O;e[13]!==c?(O=N=>N.id===c,e[13]=c,e[14]=O):O=e[14],b=d.find(O),e[10]=d,e[11]=c,e[12]=b}else b=e[12];const x=b;let w,C;e[15]!==x||e[16]!==c||e[17]!==y||e[18]!==s||e[19]!==f?(w=()=>{typeof s<"u"||(x&&y&&(m(!0),h.current&&(window.clearTimeout(h.current),h.current=null)),x&&!y&&(m(!1),h.current=window.setTimeout(()=>{f(c)},1e3)))},C=[x,c,y,s,f],e[15]=x,e[16]=c,e[17]=y,e[18]=s,e[19]=f,e[20]=w,e[21]=C):(w=e[20],C=e[21]),I.useEffect(w,C);let k;e[22]!==_||e[23]!==c||e[24]!==i?(k=(O,N)=>{i&&i(O,N)||_(c)},e[22]=_,e[23]=c,e[24]=i,e[25]=k):k=e[25];const A=k;let P;e[26]!==_||e[27]!==c||e[28]!==i?(P=O=>{i&&i(O)||_(c)},e[26]=_,e[27]=c,e[28]=i,e[29]=P):P=e[29];const T=P,j=!!(p||s);let R;e[30]!==n||e[31]!==T?(R=n&&a.jsx(Zr,{onClick:T,sx:{position:"absolute",right:"16px",top:"8px",zIndex:1e3},children:a.jsx(ge.Close,{})}),e[30]=n,e[31]=T,e[32]=R):R=e[32];let D;return e[33]!==r||e[34]!==A||e[35]!==o||e[36]!==j||e[37]!==R?(D=a.jsxs(aN,{...o,open:j,onClose:A,children:[R,r]}),e[33]=r,e[34]=A,e[35]=o,e[36]=j,e[37]=R,e[38]=D):D=e[38],D}function MBe(t){return t.setDialogsClose}function PBe(t){return t.dialogs}function jBe(t){return t.dialogsOpen}function TBe(t){const e=he.c(21),{onClose:r,children:n,title:s,variant:i,width:o,open:l}=t,c=i===void 0?"temporary":i,u=o===void 0?300:o,d=Nr(IBe),f=Nr(RBe),p=Nr(EBe),[m,h]=I.useState(!1),_=I.useRef(null);let g;e[0]!==r?(g=()=>{r&&r({},"backdropClick")},e[0]=r,e[1]=g):g=e[1];const y=g;let b,x;e[2]!==d||e[3]!==p||e[4]!==f?(b=()=>{d&&p&&(h(!0),_.current&&(window.clearTimeout(_.current),_.current=null)),d&&!p&&(h(!1),_.current=window.setTimeout(()=>{f(null)},1e3))},x=[d,p,f],e[2]=d,e[3]=p,e[4]=f,e[5]=b,e[6]=x):(b=e[5],x=e[6]),I.useEffect(b,x);const w=!!(m||l);let C;e[7]!==u?(C={height:"100vh",position:"relative",width:u},e[7]=u,e[8]=C):C=e[8];let k;e[9]!==y||e[10]!==s?(k=s&&a.jsxs(te,{sx:{mb:2,py:2,px:2,pb:0},spacing:2,children:[a.jsxs(te,{direction:"row",align:"center",spacing:2,nowrap:!0,children:[a.jsx(_e,{type:"h6",sx:{flex:1},children:s}),a.jsx(Zr,{size:"small",onClick:y,children:a.jsx(ge.Close,{})})]}),a.jsx(Oc,{})]}),e[9]=y,e[10]=s,e[11]=k):k=e[11];let A;e[12]!==n||e[13]!==C||e[14]!==k?(A=a.jsxs(te,{sx:C,nowrap:!0,children:[k,n]}),e[12]=n,e[13]=C,e[14]=k,e[15]=A):A=e[15];let P;return e[16]!==r||e[17]!==w||e[18]!==A||e[19]!==c?(P=a.jsx(aae,{variant:c,anchor:"right",onClose:r,open:w,children:A}),e[16]=r,e[17]=w,e[18]=A,e[19]=c,e[20]=P):P=e[20],P}function EBe(t){return t.drawerOpen}function RBe(t){return t.setDrawerState}function IBe(t){return t.drawerState}function DBe(t){const e=he.c(26);let r,n,s,i,o,l;e[0]!==t?({anchorEl:r,onClose:s,children:n,anchorOrigin:l,open:i,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6]);let c;e[7]!==l?(c=l===void 0?{vertical:"bottom",horizontal:"left"}:l,e[7]=l,e[8]=c):c=e[8];const u=c,d=Nr(LBe),f=Nr(OBe),p=Nr($Be),[m,h]=I.useState(!1),_=I.useRef(null);let g,y;e[9]!==p||e[10]!==d||e[11]!==i||e[12]!==f?(g=()=>{typeof i<"u"||(d&&p&&(h(!0),_.current&&(window.clearTimeout(_.current),_.current=null)),d&&!p&&(h(!1),_.current=window.setTimeout(()=>{f(null)},1e3)))},y=[p,d,i,f],e[9]=p,e[10]=d,e[11]=i,e[12]=f,e[13]=g,e[14]=y):(g=e[13],y=e[14]),I.useEffect(g,y);const b=!!(m||i);let x;e[15]!==u.horizontal||e[16]!==o.transformOrigin?(x={vertical:"top",horizontal:u.horizontal,...o.transformOrigin},e[15]=u.horizontal,e[16]=o.transformOrigin,e[17]=x):x=e[17];let w;return e[18]!==r||e[19]!==u||e[20]!==n||e[21]!==s||e[22]!==o||e[23]!==b||e[24]!==x?(w=a.jsx(one,{anchorEl:r,open:b,onClose:s,anchorOrigin:u,transformOrigin:x,...o,children:n}),e[18]=r,e[19]=u,e[20]=n,e[21]=s,e[22]=o,e[23]=b,e[24]=x,e[25]=w):w=e[25],w}function $Be(t){return t.menuOpen}function OBe(t){return t.setMenuState}function LBe(t){return t.menuState}function NBe(t){const e=he.c(23),{anchorOrigin:r,transformOrigin:n,children:s,onClose:i,anchorEl:o,disableGutters:l,overflowVisible:c,open:u}=t;let d;e[0]!==r?(d=r===void 0?{vertical:"bottom",horizontal:"left"}:r,e[0]=r,e[1]=d):d=e[1];const f=d;let p;e[2]!==n?(p=n===void 0?{vertical:"top",horizontal:"left"}:n,e[2]=n,e[3]=p):p=e[3];const m=p,h=Nr(BBe),_=Nr(UBe),g=Nr(FBe),[y,b]=I.useState(!1),x=I.useRef(null);let w,C;e[4]!==g||e[5]!==u||e[6]!==h||e[7]!==_?(w=()=>{typeof u<"u"||(h&&g&&(b(!0),x.current&&(window.clearTimeout(x.current),x.current=null)),h&&!g&&(b(!1),x.current=window.setTimeout(()=>{_(null)},1e3)))},C=[g,u,h,_],e[4]=g,e[5]=u,e[6]=h,e[7]=_,e[8]=w,e[9]=C):(w=e[8],C=e[9]),I.useEffect(w,C);const k=!!(y||u),A=l?0:2,P=c?"visible":"auto";let T;e[10]!==A||e[11]!==P?(T={p:A,overflow:P},e[10]=A,e[11]=P,e[12]=T):T=e[12];let j;e[13]!==s||e[14]!==T?(j=a.jsx(gt,{sx:T,children:s}),e[13]=s,e[14]=T,e[15]=j):j=e[15];let R;return e[16]!==o||e[17]!==f||e[18]!==i||e[19]!==j||e[20]!==k||e[21]!==m?(R=a.jsx(ine,{open:k,anchorEl:o,anchorOrigin:f,transformOrigin:m,onClose:i,children:j}),e[16]=o,e[17]=f,e[18]=i,e[19]=j,e[20]=k,e[21]=m,e[22]=R):R=e[22],R}function FBe(t){return t.popoverOpen}function UBe(t){return t.setPopoverState}function BBe(t){return t.popoverState}function zBe(t){const e=he.c(22),{onClick:r,message:n,severity:s,title:i,onClose:o,noIcon:l,action:c,anchorOrigin:u}=t;let d;e[0]!==u?(d=u===void 0?{vertical:"top",horizontal:"right"}:u,e[0]=u,e[1]=d):d=e[1];const f=d,p=Nr(HBe),m=Nr(VBe),h=Nr(qBe),[_,g]=I.useState(!1),y=I.useRef(null);let b,x;e[2]!==h||e[3]!==m||e[4]!==p?(b=()=>{p&&h&&(g(!0),y.current&&(window.clearTimeout(y.current),y.current=null)),p&&!h&&(g(!1),y.current=window.setTimeout(()=>{m(null)},1e3))},x=[h,p,m],e[2]=h,e[3]=m,e[4]=p,e[5]=b,e[6]=x):(b=e[5],x=e[6]),I.useEffect(b,x);let w;e[7]!==o?(w=A=>{o&&o(A,"clickaway")},e[7]=o,e[8]=w):w=e[8];let C;e[9]!==c||e[10]!==n||e[11]!==l||e[12]!==s||e[13]!==w||e[14]!==i?(C=a.jsx(Vte,{children:a.jsx(Lr,{message:n,onClose:w,severity:s,title:i,action:c,noIcon:l})}),e[9]=c,e[10]=n,e[11]=l,e[12]=s,e[13]=w,e[14]=i,e[15]=C):C=e[15];let k;return e[16]!==f||e[17]!==_||e[18]!==r||e[19]!==o||e[20]!==C?(k=a.jsx(D9e,{autoHideDuration:5e3,open:_,onClick:r,anchorOrigin:f,onClose:o,children:C}),e[16]=f,e[17]=_,e[18]=r,e[19]=o,e[20]=C,e[21]=k):k=e[21],k}function qBe(t){return t.snackbarOpen}function VBe(t){return t.setSnackbarState}function HBe(t){return t.snackbarState}function Tae(){const t=he.c(31),e=Nr(sze),r=Nr(nze),n=Nr(rze),s=Nr(tze),i=Nr(eze),o=Nr(JBe),l=Nr(XBe),c=Nr(ZBe),u=Nr(QBe),d=Nr(KBe),f=Nr(YBe),p=Nr(WBe),m=r?.content,h=i?.content;let _;if(t[0]!==e||t[1]!==p){let A;t[3]!==p?(A=(P,T)=>{if(!P)return null;const j=P.content,R=P.id||"";return a.jsx(jae,{id:R,...P,children:j&&a.jsx(j,{dialogClose:()=>{p(R)}})},`${R}-${T}`)},t[3]=p,t[4]=A):A=t[4],_=e.map(A),t[0]=e,t[1]=p,t[2]=_}else _=t[2];let g;t[5]!==d||t[6]!==s?(g=s&&a.jsx(zBe,{...s,onClose:(A,P)=>{s.onClose&&s.onClose(A,P),d()}}),t[5]=d,t[6]=s,t[7]=g):g=t[7];let y;t[8]!==m||t[9]!==r||t[10]!==c?(y=r&&a.jsx(TBe,{onClose:()=>{c(),r.onClose&&r.onClose()},title:r?.title,width:r?.width,variant:r?.variant,children:r?.content&&a.jsx(m,{})}),t[8]=m,t[9]=r,t[10]=c,t[11]=y):y=t[11];let b;t[12]!==n||t[13]!==u?(b=n&&a.jsx(DBe,{anchorEl:n?.anchorEl,anchorOrigin:n?.anchorOrigin,onClose:u,children:n?.items.map(GBe)}),t[12]=n,t[13]=u,t[14]=b):b=t[14];let x;t[15]!==h||t[16]!==i||t[17]!==f?(x=i&&a.jsx(NBe,{anchorEl:i?.anchorEl,onClose:f,anchorOrigin:i?.anchorOrigin,disableGutters:i?.disableGutters,children:i?.content&&a.jsx(h,{})}),t[15]=h,t[16]=i,t[17]=f,t[18]=x):x=t[18];let w;t[19]!==o?(w=o&&a.jsx(yBe,{...o}),t[19]=o,t[20]=w):w=t[20];let C;t[21]!==l?(C=l&&a.jsx(wBe,{title:l.title,description:l.description,confirmText:l.confirmText,cancelText:l.cancelText,onCancel:l.onCancel,onConfirm:l.onConfirm}),t[21]=l,t[22]=C):C=t[22];let k;return t[23]!==_||t[24]!==g||t[25]!==y||t[26]!==b||t[27]!==x||t[28]!==w||t[29]!==C?(k=a.jsxs(a.Fragment,{children:[_,g,y,b,x,w,C]}),t[23]=_,t[24]=g,t[25]=y,t[26]=b,t[27]=x,t[28]=w,t[29]=C,t[30]=k):k=t[30],k}function GBe(t,e){return a.jsx(En,{...t,children:t.label},`${t.value}-${e}`)}function WBe(t){return t.setDialogsClose}function YBe(t){return t.setPopoverClose}function KBe(t){return t.setSnackbarClose}function QBe(t){return t.setMenuClose}function ZBe(t){return t.setDrawerClose}function XBe(t){return t.confirmationSimpleDialogState}function JBe(t){return t.confirmationDialogState}function eze(t){return t.popoverState}function tze(t){return t.snackbarState}function rze(t){return t.menuState}function nze(t){return t.drawerState}function sze(t){return t.dialogs}const ize=()=>{const t=he.c(30),e=Ye(),r=to(),n=Np();n?.services;let s;t[0]!==n?.services?(s=n?.services??[],t[0]=n?.services,t[1]=s):s=t[1];const i=s;let o;t[2]!==n?.info?.version?(o=()=>n?.info?.version??"-",t[2]=n?.info?.version,t[3]=o):o=t[3],n?.info?.version;let l;t[4]!==o?(l=o(),t[4]=o,t[5]=l):l=t[5];const c=l;n?.info?.hostname;const u=n?.info?.hostname??"-";let d;t[6]!==i?(d=rBe({services:i}),t[6]=i,t[7]=d):d=t[7];const f=d;let p;t[8]!==f?(p=kae(f),t[8]=f,t[9]=p):p=t[9];const m=p;let h;if(t[10]!==r.pathname){e:{const A=r.pathname.split("/");if(A.length>2){h=A.slice(0,3).join("/");break e}h=r.pathname}t[10]=r.pathname,t[11]=h}else h=t[11];const _=h;let g;t[12]===Symbol.for("react.memo_cache_sentinel")?(g={pb:1},t[12]=g):g=t[12];let y;t[13]!==e?(y=e.formatMessage({id:"menu.info.version"}),t[13]=e,t[14]=y):y=t[14];let b;t[15]!==c?(b=a.jsx("strong",{children:c}),t[15]=c,t[16]=b):b=t[16];let x;t[17]!==y||t[18]!==b?(x=a.jsxs(_e,{type:"caption",children:[y,": ",b]}),t[17]=y,t[18]=b,t[19]=x):x=t[19];let w;t[20]!==u||t[21]!==e?(w=u&&a.jsxs(_e,{type:"caption",children:[e.formatMessage({id:"menu.info.hostname"}),": ",a.jsx("strong",{children:u})]}),t[20]=u,t[21]=e,t[22]=w):w=t[22];let C;t[23]!==w||t[24]!==x?(C=a.jsx(te,{sx:g,direction:"row",justify:"space-between",align:"center",children:a.jsxs(te,{direction:"column",spacing:0,children:[x,w]})}),t[23]=w,t[24]=x,t[25]=C):C=t[25];let k;return t[26]!==m||t[27]!==_||t[28]!==C?(k=a.jsx(XFe,{items:m,activeValue:_,footerComponent:C}),t[26]=m,t[27]=_,t[28]=C,t[29]=k):k=t[29],k};var oze=Object.create,Eae=Object.defineProperty,aze=Object.getOwnPropertyDescriptor,lze=Object.getOwnPropertyNames,cze=Object.getPrototypeOf,uze=Object.prototype.hasOwnProperty,dze=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),fze=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of lze(e))!uze.call(t,s)&&s!==r&&Eae(t,s,{get:()=>e[s],enumerable:!(n=aze(e,s))||n.enumerable});return t},pze=(t,e,r)=>(r=t!=null?oze(cze(t)):{},fze(!t||!t.__esModule?Eae(r,"default",{value:t,enumerable:!0}):r,t)),mze=dze((t,e)=>{(function(r,n){typeof t=="object"&&typeof e<"u"?n(t):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.fastUniqueNumbers={}))})(t,function(r){var n=function(m){return function(h){var _=m(h);return h.add(_),_}},s=function(m){return function(h,_){return m.set(h,_),_}},i=Number.MAX_SAFE_INTEGER===void 0?9007199254740991:Number.MAX_SAFE_INTEGER,o=536870912,l=o*2,c=function(m,h){return function(_){var g=h.get(_),y=g===void 0?_.size:g<l?g+1:0;if(!_.has(y))return m(_,y);if(_.size<o){for(;_.has(y);)y=Math.floor(Math.random()*l);return m(_,y)}if(_.size>i)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;_.has(y);)y=Math.floor(Math.random()*i);return m(_,y)}},u=new WeakMap,d=s(u),f=c(d,u),p=n(f);r.addUniqueNumber=p,r.generateUniqueNumber=f})});pze(mze());var Ed=(typeof window>"u"?"undefined":typeof window)=="object",jc={setTimeout:Ed?setTimeout.bind(window):setTimeout,clearTimeout:Ed?clearTimeout.bind(window):clearTimeout,setInterval:Ed?setInterval.bind(window):setInterval,clearInterval:Ed?clearInterval.bind(window):clearInterval};function hze(t){jc.setTimeout=t.setTimeout,jc.clearTimeout=t.clearTimeout,jc.setInterval=t.setInterval,jc.clearInterval=t.clearInterval}var zg={},gze=class{name;closed=!1;mc=new MessageChannel;constructor(e){this.name=e,zg[e]=zg[e]||[],zg[e].push(this),this.mc.port1.start(),this.mc.port2.start(),this.onStorage=this.onStorage.bind(this),window.addEventListener("storage",this.onStorage)}onStorage(e){if(e.storageArea!==window.localStorage||e.key.substring(0,this.name.length)!==this.name||e.newValue===null)return;let r=JSON.parse(e.newValue);this.mc.port2.postMessage(r)}postMessage(e){if(this.closed)throw new Error("InvalidStateError");let r=JSON.stringify(e),n=`${this.name}:${String(Date.now())}${String(Math.random())}`;window.localStorage.setItem(n,r),jc.setTimeout(()=>{window.localStorage.removeItem(n)},500),zg[this.name].forEach(s=>{s!==this&&s.mc.port2.postMessage(JSON.parse(r))})}close(){if(this.closed)return;this.closed=!0,this.mc.port1.close(),this.mc.port2.close(),window.removeEventListener("storage",this.onStorage);let e=zg[this.name].indexOf(this);zg[this.name].splice(e,1)}get onmessage(){return this.mc.port1.onmessage}set onmessage(e){this.mc.port1.onmessage=e}get onmessageerror(){return this.mc.port1.onmessageerror}set onmessageerror(e){this.mc.port1.onmessageerror=e}addEventListener(e,r){return this.mc.port1.addEventListener(e,r)}removeEventListener(e,r){return this.mc.port1.removeEventListener(e,r)}dispatchEvent(e){return this.mc.port1.dispatchEvent(e)}},_ze=typeof window>"u"?void 0:typeof window.BroadcastChannel=="function"?window.BroadcastChannel:gze;function vze(t=0){return new Promise(e=>jc.setTimeout(e,t))}function Rae(){return Math.random().toString(36).substring(2)}var yze=class{options;channel;token=Rae();isLeader=!1;isDead=!1;isApplying=!1;reApply=!1;intervals=[];listeners=[];deferred;constructor(e,r){this.channel=e,this.options=r,this.apply=this.apply.bind(this),this.awaitLeadership=this.awaitLeadership.bind(this),this.sendAction=this.sendAction.bind(this)}async apply(){if(this.isLeader||this.isDead)return!1;if(this.isApplying)return this.reApply=!0,!1;this.isApplying=!0;let e=!1,r=n=>{let{token:s,action:i}=n.data;s!==this.token&&(i===0&&s>this.token&&(e=!0),i===1&&(e=!0))};this.channel.addEventListener("message",r);try{return this.sendAction(0),await vze(this.options.responseTime),this.channel.removeEventListener("message",r),this.isApplying=!1,e?this.reApply?this.apply():!1:(this.assumeLead(),!0)}catch{return!1}}awaitLeadership(){if(this.isLeader)return Promise.resolve();let e=!1,r=null;return new Promise(n=>{let s=()=>{if(e)return;e=!0;try{jc.clearInterval(r)}catch{}let o=this.intervals.indexOf(r);o>=0&&this.intervals.splice(o,1),this.channel.removeEventListener("message",i),n()};r=jc.setInterval(()=>{this.apply().then(()=>{this.isLeader&&s()})},this.options.fallbackInterval),this.intervals.push(r);let i=o=>{let{action:l}=o.data;l===2&&this.apply().then(()=>{this.isLeader&&s()})};this.channel.addEventListener("message",i)})}sendAction(e){this.channel.postMessage({action:e,token:this.token})}assumeLead(){this.isLeader=!0;let e=r=>{let{action:n}=r.data;n===0&&this.sendAction(1)};return this.channel.addEventListener("message",e),this.listeners.push(e),this.sendAction(1)}waitForLeadership(){return this.deferred?this.deferred:(this.deferred=this.awaitLeadership(),this.deferred)}close(){if(!this.isDead){this.isDead=!0,this.isLeader=!1,this.sendAction(2);try{this.listeners.forEach(e=>this.channel.removeEventListener("message",e)),this.intervals.forEach(e=>jc.clearInterval(e))}catch{}}}},bze=class{channel;options;elector;token=Rae();registry=new Map;allIdle=!1;isLastActive=!1;constructor(e){let{channelName:r}=e;if(this.options=e,this.channel=new _ze(r),this.registry.set(this.token,1),e.leaderElection){let n={fallbackInterval:2e3,responseTime:100};this.elector=new yze(this.channel,n),this.elector.waitForLeadership()}this.channel.addEventListener("message",n=>{let{action:s,token:i,data:o}=n.data;switch(s){case 3:this.registry.set(i,2);break;case 4:this.registry.delete(i);break;case 5:this.idle(i);break;case 6:this.active(i);break;case 7:this.prompt(i);break;case 8:this.start(i);break;case 9:this.reset(i);break;case 10:this.activate(i);break;case 11:this.pause(i);break;case 12:this.resume(i);break;case 13:this.options.onMessage(o);break}}),this.send(3)}get isLeader(){if(!this.elector)throw new Error('❌ Leader election is not enabled. To Enable it set the "leaderElection" property to true.');return this.elector.isLeader}prompt(e=this.token){this.registry.set(e,0);let r=[...this.registry.values()].every(n=>n===0);e===this.token&&this.send(7),r&&this.options.onPrompt()}idle(e=this.token){this.registry.set(e,2);let r=[...this.registry.values()].every(n=>n===2);e===this.token&&this.send(5),!this.allIdle&&r&&(this.allIdle=!0,this.options.onIdle())}active(e=this.token){this.allIdle=!1,this.registry.set(e,1);let r=[...this.registry.values()].some(n=>n===1);e===this.token&&this.send(6),r&&this.options.onActive(),this.isLastActive=e===this.token}start(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(8):this.options.start(!0),this.isLastActive=e===this.token}reset(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(9):this.options.reset(!0),this.isLastActive=e===this.token}activate(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(10):this.options.activate(!0),this.isLastActive=e===this.token}pause(e=this.token){e===this.token?this.send(11):this.options.pause(!0)}resume(e=this.token){e===this.token?this.send(12):this.options.resume(!0)}message(e){try{this.channel.postMessage({action:13,token:this.token,data:e})}catch{}}send(e){try{this.channel.postMessage({action:e,token:this.token})}catch{}}close(){this.options.leaderElection&&this.elector.close(),this.send(4),this.channel.close()}},xze=Ed?document:null,Sze=["mousemove","keydown","wheel","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","MSPointerDown","MSPointerMove","visibilitychange","focus"];function wze(t,e){let r;function n(...s){r&&clearTimeout(r),r=setTimeout(()=>{t(...s),r=null},e)}return n.cancel=function(){clearTimeout(r)},n}function JE(t,e){let r=0;return function(...n){let s=new Date().getTime();if(!(s-r<e))return r=s,t(...n)}}var Di=()=>Date.now(),qg=2147483647;function Cze({timeout:t=1e3*60*20,promptTimeout:e=0,promptBeforeIdle:r=0,element:n=xze,events:s=Sze,timers:i=void 0,immediateEvents:o=[],onPresenceChange:l=()=>{},onPrompt:c=()=>{},onIdle:u=()=>{},onActive:d=()=>{},onAction:f=()=>{},onMessage:p=()=>{},debounce:m=0,throttle:h=0,eventsThrottle:_=200,startOnMount:g=!0,startManually:y=!1,stopOnIdle:b=!1,crossTab:x=!1,name:w="idle-timer",syncTimers:C=0,leaderElection:k=!1,disabled:A=!1}={}){let P=I.useRef(Di()),T=I.useRef(Di()),j=I.useRef(null),R=I.useRef(null),D=I.useRef(0),O=I.useRef(0),N=I.useRef(0),F=I.useRef(0),U=I.useRef(!1),z=I.useRef(!1),H=I.useRef(!1),W=I.useRef(!0),K=I.useRef(!1),q=I.useRef(null),X=I.useRef(null),Q=I.useRef(t),Y=I.useRef(0);I.useEffect(()=>{if(e&&console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."),r&&e)throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");if(t>=qg)throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${qg}.`);if(e>=qg)throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${qg}.`);if(r>=qg)throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${qg}.`);if(r>=t)throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${t}.`);if(r?(Q.current=t-r,Y.current=r):(Q.current=t,Y.current=e),!W.current){if(y||A)return;U.current&&(me.current(null,_r),X.current&&X.current.active()),Ve()}},[t,e,r,y,A]);let Z=I.useRef(b);I.useEffect(()=>{Z.current=b},[b]);let re=I.useRef(o),fe=I.useRef(n),de=I.useRef([...new Set([...s,...o]).values()]),se=I.useRef(A);I.useEffect(()=>{se.current=A,!W.current&&(A?ft():y||Ve())},[A]);let le=I.useRef(l);I.useEffect(()=>{le.current=l},[l]);let ee=I.useRef(c);I.useEffect(()=>{ee.current=c},[c]);let J=I.useRef(u);I.useEffect(()=>{J.current=u},[u]);let me=I.useRef(d);I.useEffect(()=>{me.current=d},[d]);let pe=I.useRef(f);I.useEffect(()=>{pe.current=f},[f]);let Se=I.useRef(p);I.useEffect(()=>{Se.current=p},[p]);let ve=I.useMemo(()=>{let st=(wt,Pe)=>pe.current(wt,Pe);return m>0?wze(st,m):h>0?JE(st,h):st},[h,m]),xe=I.useRef();I.useEffect(()=>{x&&C&&(xe.current=JE(()=>{X.current.active()},C))},[x,C]);let qe=()=>{q.current!==null&&(jc.clearTimeout(q.current),q.current=null)},Le=(st,wt=!0)=>{qe(),q.current=jc.setTimeout(nt,st||Q.current),wt&&(R.current=Di())},Te=st=>{!z.current&&!U.current&&(ee.current(st,_r),le.current({type:"active",prompted:!0},_r)),F.current=0,N.current=Di(),z.current=!0,Le(Y.current,!1)},je=()=>{qe(),U.current||(J.current(null,_r),le.current({type:"idle"},_r)),U.current=!0,j.current=Di(),Z.current?$e():z.current&&(N.current=0,z.current=!1)},Ge=st=>{qe(),(U.current||z.current)&&(me.current(st,_r),le.current({type:"active",prompted:!1},_r)),z.current=!1,N.current=0,U.current=!1,D.current+=Di()-j.current,O.current+=Di()-j.current,Me(),Le()},nt=st=>{if(!U.current){ve.cancel&&ve.cancel();let wt=Di()-R.current;if(!(Q.current+Y.current<wt)&&Y.current>0&&!z.current){X.current?X.current.prompt():Te(st);return}X.current?X.current.idle():je();return}X.current?X.current.active():Ge(st)},Re=st=>{if(!g&&!R.current&&(R.current=Di(),me.current(null,_r)),ve(st,_r),z.current)return;if(qe(),!U.current&&re.current.includes(st.type)){nt(st);return}let wt=Di()-R.current;if(U.current&&!b||!U.current&&wt>=Q.current){nt(st);return}H.current=!1,F.current=0,N.current=0,Le(),x&&C&&xe.current()},we=I.useRef(Re);I.useEffect(()=>{let st=K.current;st&&$e(),_>0?we.current=JE(Re,_):we.current=Re,st&&Me()},[_,h,m,pe,x,C]);let Me=()=>{Ed&&fe.current&&(K.current||(de.current.forEach(st=>{fe.current.addEventListener(st,we.current,{capture:!0,passive:!0})}),K.current=!0))},$e=(st=!1)=>{Ed&&fe.current&&(K.current||st)&&(de.current.forEach(wt=>{fe.current.removeEventListener(wt,we.current,{capture:!0})}),K.current=!1)},Ve=I.useCallback(st=>se.current?!1:(qe(),Me(),U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,X.current&&!st&&X.current.start(),Le(),!0),[q,U,se,Q,X]),Ne=I.useCallback(st=>se.current?!1:(qe(),Me(),T.current=Di(),D.current+=Di()-j.current,O.current+=Di()-j.current,D.current=0,U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,X.current&&!st&&X.current.reset(),y||Le(),!0),[q,U,Q,y,se,X]),Oe=I.useCallback(st=>se.current?!1:(qe(),Me(),(U.current||z.current)&&Ge(),U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,T.current=Di(),X.current&&!st&&X.current.activate(),Le(),!0),[q,U,z,se,Q,X]),ft=I.useCallback((st=!1)=>se.current||H.current?!1:(F.current=ar(),H.current=!0,$e(),qe(),X.current&&!st&&X.current.pause(),!0),[q,se,X]),Ct=I.useCallback((st=!1)=>se.current||!H.current?!1:(H.current=!1,z.current||Me(),U.current||Le(F.current),N.current&&(N.current=Di()),X.current&&!st&&X.current.resume(),!0),[q,Q,se,F,X]),Et=I.useCallback((st,wt)=>(X.current?(wt&&Se.current(st,_r),X.current.message(st)):wt&&Se.current(st,_r),!0),[p]),at=I.useCallback(()=>U.current,[U]),$t=I.useCallback(()=>z.current,[z]),Ee=I.useCallback(()=>X.current?X.current.isLeader:null,[X]),Be=I.useCallback(()=>X.current?X.current.isLastActive:null,[X]),qt=I.useCallback(()=>X.current?X.current.token:null,[X]),ar=I.useCallback(()=>{if(H.current)return F.current;let st=F.current?F.current:Y.current+Q.current,wt=R.current?Di()-R.current:0,Pe=Math.floor(st-wt);return Pe<0?0:Math.abs(Pe)},[Q,Y,z,F,R]),hr=I.useCallback(()=>Math.round(Di()-T.current),[T]),ir=I.useCallback(()=>Math.round(Di()-P.current),[P]),cr=I.useCallback(()=>j.current?new Date(j.current):null,[j]),kr=I.useCallback(()=>R.current?new Date(R.current):null,[R]),Rr=I.useCallback(()=>U.current?Math.round(Di()-j.current+D.current):Math.round(D.current),[j,D]),Ut=I.useCallback(()=>U.current?Math.round(Di()-j.current+O.current):Math.round(O.current),[j,O]),fn=I.useCallback(()=>{let st=Math.round(hr()-Rr());return st>=0?st:0},[j,D]),Zt=I.useCallback(()=>{let st=Math.round(ir()-Ut());return st>=0?st:0},[j,D]);I.useEffect(()=>{if(m>0&&h>0)throw new Error("❌ onAction can either be throttled or debounced, not both.");i&&hze(i);let st=()=>{X.current&&X.current.close(),ve.cancel&&ve.cancel(),qe(),$e(!0)};return Ed&&window.addEventListener("beforeunload",st),()=>{Ed&&window.removeEventListener("beforeunload",st),X.current&&X.current.close(),ve.cancel&&ve.cancel(),qe(),$e(!0)}},[]),I.useEffect(()=>{X.current&&X.current.close(),x?X.current=new bze({channelName:w,leaderElection:k,onPrompt:()=>{Te()},onIdle:()=>{je()},onActive:()=>{Ge()},onMessage:st=>{Se.current(st,_r)},start:Ve,reset:Ne,activate:Oe,pause:ft,resume:Ct}):X.current=null},[x,w,k,ee,J,me,Se,Ve,Ne,ft,Ct]),I.useEffect(()=>{W.current||(qe(),$e(!0)),!(y||A)&&(g?Ve():Me())},[y,g,A,W]),I.useEffect(()=>{if(!W.current){let st=[...new Set([...s,...o]).values()];if($e(),de.current=st,fe.current=n,re.current=o,y||A)return;g?Ve():Me()}},[n,JSON.stringify(s),JSON.stringify(o),W,A,y,g]),I.useEffect(()=>{W.current&&(W.current=!1)},[W]);let _r={message:Et,start:Ve,reset:Ne,activate:Oe,pause:ft,resume:Ct,isIdle:at,isPrompted:$t,isLeader:Ee,isLastActiveTab:Be,getTabId:qt,getRemainingTime:ar,getElapsedTime:hr,getTotalElapsedTime:ir,getLastIdleTime:cr,getLastActiveTime:kr,getIdleTime:Rr,getTotalIdleTime:Ut,getActiveTime:fn,getTotalActiveTime:Zt,setOnPresenceChange:st=>{l=st,le.current=st},setOnPrompt:st=>{c=st,ee.current=st},setOnIdle:st=>{u=st,J.current=st},setOnActive:st=>{d=st,me.current=st},setOnAction:st=>{f=st,pe.current=st},setOnMessage:st=>{p=st,Se.current=st}};return _r}var Aze=I.createContext(null);Aze.Consumer;const kze=()=>{const t=window.location.pathname;let e=$.urls.logout;return[$.urls.logout,$.urls.login].includes(t)||(e=`${e}?returnUrl=${t}`),e};function Mze(t){const e=he.c(29),{timeout:r}=t,n=Ye(),s=r*1e3;let i;e:{if(s&&s<$.idleTime.promptTimeout_s){i=s-3e4;break e}i=$.idleTime.promptTimeout_s*1e3}const o=i,[l,c]=I.useState(s),[u,d]=I.useState(!1),f=ys(),{submit:p}=gr();let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=(N,F)=>{F&&c(F.getRemainingTime()),d(!0)},e[0]=m):m=e[0];const h=m;let _;e[1]===Symbol.for("react.memo_cache_sentinel")?(_=()=>{d(!1)},e[1]=_):_=e[1];const g=_;let y;e[2]!==f?(y=()=>{const N=kze();f(N,{replace:!0})},e[2]=f,e[3]=y):y=e[3];const b=y;let x;e[4]!==b||e[5]!==o||e[6]!==s?(x={timeout:s,crossTab:!0,leaderElection:!0,syncTimers:200,promptBeforeIdle:o,onPrompt:h,onActive:g,onIdle:b},e[4]=b,e[5]=o,e[6]=s,e[7]=x):x=e[7];const w=Cze(x);let C;e[8]!==w?(C=()=>{w.activate()},e[8]=w,e[9]=C):C=e[9];const k=C;let A;e[10]!==p?(A=()=>{p(null,{method:"POST",encType:"multipart/form-data",action:"refresh-token"})},e[10]=p,e[11]=A):A=e[11];const P=A;let T,j;e[12]!==o||e[13]!==w?(T=()=>{const N=setInterval(()=>{const F=w.getRemainingTime();c(F),d(U=>U&&F>o?!1:U)},300);return()=>{clearInterval(N)}},j=[o,w],e[12]=o,e[13]=w,e[14]=T,e[15]=j):(T=e[14],j=e[15]),I.useEffect(T,j);let R;e[16]!==n?(R=n.formatMessage({id:"idle-state.modal.title"}),e[16]=n,e[17]=R):R=e[17];let D;e[18]!==k||e[19]!==P||e[20]!==o||e[21]!==n||e[22]!==u||e[23]!==l?(D=u&&a.jsx(_s,{children:a.jsxs(te,{align:"center",spacing:2,children:[a.jsx(_e,{fontWeight:"600",fontSize:"medium",sx:{alignSelf:"flex-start"},children:n.formatMessage({id:"idle-state.modal.message"})}),a.jsx(Nc,{type:"circular",variant:"determinate",value:Math.ceil(l/o*100),label:`${Math.ceil(l/1e3)}s`,labelVariant:"h5",thickness:4,size:140}),a.jsx(Ze,{text:n.formatMessage({id:"idle-state.modal.continue"}),onClick:()=>{k(),P()}})]})}),e[18]=k,e[19]=P,e[20]=o,e[21]=n,e[22]=u,e[23]=l,e[24]=D):D=e[24];let O;return e[25]!==u||e[26]!==R||e[27]!==D?(O=a.jsx(jae,{id:"idleTimerDialog",open:u,disableAutoFocus:!0,title:R,children:D}),e[25]=u,e[26]=R,e[27]=D,e[28]=O):O=e[28],O}const Pze=()=>{const t=he.c(7);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={useSearchParams:!1},t[0]=e):e=t[0];const r=Gr(e),n=As(),s=Nd(n.breakpoints.down($.appBarMobileBreakpoint))?65:0;let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(rN,{}),t[1]=i):i=t[1];let o;t[2]!==s?(o=c=>a.jsxs("div",{style:{minWidth:"345px",marginTop:s},children:[a.jsx(Pae,{info:c?.info||{hostname:"-",product_name:"-",version:"-"},variant:"appShellLayout",profileCard:!0}),a.jsx(ize,{}),a.jsx(Tae,{}),a.jsx(Bd,{}),!!c?.frontendConfig.ui_inactivity_s&&a.jsx(Mze,{timeout:c.frontendConfig.ui_inactivity_s})]}),t[2]=s,t[3]=o):o=t[3];let l;return t[4]!==r.bootstrap||t[5]!==o?(l=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:r.bootstrap,errorElement:i,children:o})}),t[4]=r.bootstrap,t[5]=o,t[6]=l):l=t[6],l},zW=t=>{const e=he.c(6),{profileCard:r}=t,n=zn();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(rN,{}),e[0]=s):s=e[0];let i;e[1]!==r?(i=l=>a.jsxs(a.Fragment,{children:[a.jsx(Tae,{}),a.jsx(Pae,{info:l,variant:"simpleLayout",profileCard:r}),a.jsx(G0,{appBar:!0,fullWidth:!0,fullHeight:!0,children:a.jsx(zA,{transparent:!0,fullHeight:!0,children:a.jsx(Bd,{})})})]}),e[1]=r,e[2]=i):i=e[2];let o;return e[3]!==n.info||e[4]!==i?(o=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:n.info,errorElement:s,children:i})}),e[3]=n.info,e[4]=i,e[5]=o):o=e[5],o};async function lN(){return De({options:{url:"/frontend/config",method:"GET"}})}async function ma(){const{services:t}=await lN();return t}async function Iae({nf:t}){const e=`${$.apis.cluster.status(t)}`;return De({options:{url:e,method:"GET"}})}async function jze({node:t,nf:e}){const r=`${$.apis.cluster.join(e)}`;return De({options:{url:r,method:"POST",data:JSON.stringify({node:t})}})}async function Tze({nf:t,force:e}){const r=`${$.apis.cluster.leave(t)}?force=${e}`;return De({options:{url:r,method:"POST"}})}async function Eze({nf:t}){const e=await ma();return Ds({services:e,name:t})?Iae({nf:t}):null}async function Rze(){const t=await ma(),e=yie(t).map(r=>r.name);return $.monitoring.clusters.filter(r=>e.includes(r))}const Q6=Pr();function Ize(){return window.location.pathname.endsWith("/configuration")?rt(window.location.pathname):rt(`${window.location.pathname}${window.location.search}`)}async function Dze({request:t}){const{siteNodeAddress:e}=await t.json();return Ji.setSiteNode(e),Ize()}function $ze(t){return async({request:e})=>{const r=await e.json(),n=await jze({nf:t,node:r.node});if(xt(n))Ar(n.error?.detail||Q6.formatMessage({id:"cluster.dialog.join_ko"}));else{if(t===ue.PLS)throw Ji.deleteSiteNode(),Gb();Nt(Q6.formatMessage({id:"cluster.dialog.join_ok"}))}return Ft(n)}}function Oze(t){return async({request:e})=>{const r=await e.json(),n=await Tze({nf:t,force:r.force});return xt(n)||(t===ue.PLS&&Ji.deleteSiteNode(),Nt(Q6.formatMessage({id:"cluster.dialog.leave_ok"}))),Ft(n)}}const Lze=[{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_total_count",query:"count(license_status) or vector(0)"},{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_valid_count",query:"count_values('license_status', license_status==1) or vector(0)"},{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_expiring_count",query:"count(rr:licensed_license_remaining_days>0 and rr:licensed_license_remaining_days<7) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"total_transmit_bytes",query:"sum(node_network_transmit_bytes_total{device=~'eth[0-9]+'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"total_receive_bytes",query:"sum(node_network_receive_bytes_total{device=~'eth[0-9]+'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"transmit_rate_bps",query:"sum(irate(node_network_transmit_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"receive_rate_bps",query:"sum(irate(node_network_receive_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"ts_transmit_rate_bps",query_range:"sum(irate(node_network_transmit_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"ts_receive_rate_bps",query_range:"sum(irate(node_network_receive_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network_interfaces",field_name:"interfaces_active_count",query:"count(node_network_up{device=~'eth[0-9]+'} == 1) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network_interfaces",field_name:"interfaces_total_count",query:"count(node_network_up{device=~'eth[0-9]+'}) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"cpu_count",query:"count(count(node_cpu_seconds_total) by (cpu))"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"cpu_busy_perc",query:"(((count(count(node_cpu_seconds_total) by (cpu))) - avg(sum by (mode)(irate(node_cpu_seconds_total{mode='idle'}[5m])))) * 100) / count(count(node_cpu_seconds_total) by (cpu)) > 0"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"ts_cpu_busy_perc",query_range:"(((count(count(node_cpu_seconds_total) by (cpu))) - avg(sum by (mode)(irate(node_cpu_seconds_total{mode='idle'}[5m])))) * 100) / count(count(node_cpu_seconds_total) by (cpu)) > 0"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_total_bytes",query:"node_memory_MemTotal_bytes"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_available_bytes",query:"node_memory_MemAvailable_bytes"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_used_perc",query:"100 - ((node_memory_MemAvailable_bytes * 100) / node_memory_MemTotal_bytes)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"ts_memory_used_perc",query_range:"100 - ((node_memory_MemAvailable_bytes * 100) / node_memory_MemTotal_bytes)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_total_bytes",query:"node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'}"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_available_bytes",query:"node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'}"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_used_perc",query:"100 - ((node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'} * 100) / node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"ts_disk_used_perc",query_range:"100 - ((node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'} * 100) / node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"uptime",field_name:"uptime_seconds",query:"node_time_seconds - node_boot_time_seconds"},{source:ue.PROMETHEUS,group:"platform",sub_group:"alerts",field_name:"alerts_count",query:"sum(ALERTS)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_rules",field_name:"eir_rules_count",query:"sum(eir_rules_status) or vector(0)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_cluster_nodes",field_name:"active_nodes_count",query:"sum(nf_data_layer_cluster_nodes_status{target_type='eir'}) or vector(0)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_cluster_nodes",field_name:"total_nodes_count",query:"count(nf_data_layer_cluster_nodes_status{target_type='eir'}) or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_sims",field_name:"provisioned_sims_count",query:"nf_data_layer_table_row_count{table='supi'} or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_cluster_nodes",field_name:"active_nodes_count",query:"sum(nf_data_layer_cluster_nodes_status{target_type='udr'}) or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_cluster_nodes",field_name:"total_nodes_count",query:"count(nf_data_layer_cluster_nodes_status{target_type='udr'}) or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_ue",field_name:"active_ue_count",query:"sum(amf_ran_node_ue) or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_ue",field_name:"registered_ue_count",query:"amf_ue_registered or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_active_radios",field_name:"active_radios_count",query:"sum(amf_ran_node_status) or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_ue",field_name:"active_ue_count",query:"mme_s1_enb_active_ue or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_ue",field_name:"registered_ue_count",query:"mme_ue_registered or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_active_radios",field_name:"active_radios_count",query:"mme_s1_enb or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_users",field_name:"users_count",query:"smf_supi or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_users",field_name:"sessions_count",query:"sum(smf_sessions) or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_connected_peers",field_name:"connected_peers_count",query:"sum(pfcp_node_status{target_type='smf'}) or vector(0)"},{source:ue.PCF,group:"control_plane",sub_group:"pcf_sessions",field_name:"n7_sessions_count",query:"pcf_n7_sessions or vector(0)"},{source:ue.PCF,group:"control_plane",sub_group:"pcf_sessions",field_name:"n5_sessions_count",query:"pcf_n5_sessions or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"total_load_uplink_bytes",query:"upf_forw_bytes{out_tag='core',in_tag='access'} or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"total_load_downlink_bytes",query:"upf_forw_bytes{out_tag='access',in_tag='core'} or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"throughput_uplink_bps",query:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='core',in_tag='access'}[1m]))*8 or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"throughput_downlink_bps",query:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='access',in_tag='core'}[1m]))*8 or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"ts_throughput_uplink_bps",query_range:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='core',in_tag='access',apn_dnn=~'.+'}[1m]))*8"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"ts_throughput_downlink_bps",query_range:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='access',in_tag='core',apn_dnn=~'.+'}[1m]))*8"},{source:ue.UPF,group:"user_plane",sub_group:"upf_sessions",field_name:"active_sessions",query:"upf_sessions or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_ip",field_name:"ip_total_count",query:"upf_pool_address_total_count or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_ip",field_name:"ip_allocated_count",query:"upf_pool_address_total_allocated or vector(0)"}];var eR,qW;function Dae(){if(qW)return eR;qW=1;var t=Z$(),e=z3();function r(n,s,i){(i!==void 0&&!e(n[s],i)||i===void 0&&!(s in n))&&t(n,s,i)}return eR=r,eR}var eb={exports:{}};eb.exports;var VW;function $ae(){return VW||(VW=1,(function(t,e){var r=Ghe(),n=e&&!e.nodeType&&e,s=n&&!0&&t&&!t.nodeType&&t,i=s&&s.exports===n,o=i?r.Buffer:void 0,l=o?o.allocUnsafe:void 0;function c(u,d){if(d)return u.slice();var f=u.length,p=l?l(f):new u.constructor(f);return u.copy(p),p}t.exports=c})(eb,eb.exports)),eb.exports}var tR,HW;function cN(){if(HW)return tR;HW=1;var t=Whe();function e(r){var n=new r.constructor(r.byteLength);return new t(n).set(new t(r)),n}return tR=e,tR}var rR,GW;function Oae(){if(GW)return rR;GW=1;var t=cN();function e(r,n){var s=n?t(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.length)}return rR=e,rR}var nR,WW;function uN(){if(WW)return nR;WW=1;function t(e,r){var n=-1,s=e.length;for(r||(r=Array(s));++n<s;)r[n]=e[n];return r}return nR=t,nR}var sR,YW;function Nze(){if(YW)return sR;YW=1;var t=Qd(),e=Object.create,r=(function(){function n(){}return function(s){if(!t(s))return{};if(e)return e(s);n.prototype=s;var i=new n;return n.prototype=void 0,i}})();return sR=r,sR}var iR,KW;function dN(){if(KW)return iR;KW=1;var t=Yhe(),e=t(Object.getPrototypeOf,Object);return iR=e,iR}var oR,QW;function Lae(){if(QW)return oR;QW=1;var t=Nze(),e=dN(),r=X$();function n(s){return typeof s.constructor=="function"&&!r(s)?t(e(s)):{}}return oR=n,oR}var aR,ZW;function fN(){if(ZW)return aR;ZW=1;var t=av(),e=lv();function r(n){return e(n)&&t(n)}return aR=r,aR}var lR,XW;function W0(){if(XW)return lR;XW=1;var t=J$(),e=dN(),r=lv(),n="[object Object]",s=Function.prototype,i=Object.prototype,o=s.toString,l=i.hasOwnProperty,c=o.call(Object);function u(d){if(!r(d)||t(d)!=n)return!1;var f=e(d);if(f===null)return!0;var p=l.call(f,"constructor")&&f.constructor;return typeof p=="function"&&p instanceof p&&o.call(p)==c}return lR=u,lR}var cR,JW;function Nae(){if(JW)return cR;JW=1;function t(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}return cR=t,cR}var uR,eY;function Fae(){if(eY)return uR;eY=1;var t=Z$(),e=z3(),r=Object.prototype,n=r.hasOwnProperty;function s(i,o,l){var c=i[o];(!(n.call(i,o)&&e(c,l))||l===void 0&&!(o in i))&&t(i,o,l)}return uR=s,uR}var dR,tY;function $v(){if(tY)return dR;tY=1;var t=Fae(),e=Z$();function r(n,s,i,o){var l=!i;i||(i={});for(var c=-1,u=s.length;++c<u;){var d=s[c],f=o?o(i[d],n[d],d,i,n):void 0;f===void 0&&(f=n[d]),l?e(i,d,f):t(i,d,f)}return i}return dR=r,dR}var fR,rY;function Fze(){if(rY)return fR;rY=1;function t(e){var r=[];if(e!=null)for(var n in Object(e))r.push(n);return r}return fR=t,fR}var pR,nY;function Uze(){if(nY)return pR;nY=1;var t=Qd(),e=X$(),r=Fze(),n=Object.prototype,s=n.hasOwnProperty;function i(o){if(!t(o))return r(o);var l=e(o),c=[];for(var u in o)u=="constructor"&&(l||!s.call(o,u))||c.push(u);return c}return pR=i,pR}var mR,sY;function Ov(){if(sY)return mR;sY=1;var t=Khe(),e=Uze(),r=av();function n(s){return r(s)?t(s,!0):e(s)}return mR=n,mR}var hR,iY;function Bze(){if(iY)return hR;iY=1;var t=$v(),e=Ov();function r(n){return t(n,e(n))}return hR=r,hR}var gR,oY;function zze(){if(oY)return gR;oY=1;var t=Dae(),e=$ae(),r=Oae(),n=uN(),s=Lae(),i=eO(),o=cv(),l=fN(),c=tO(),u=Qhe(),d=Qd(),f=W0(),p=cte(),m=Nae(),h=Bze();function _(g,y,b,x,w,C,k){var A=m(g,b),P=m(y,b),T=k.get(P);if(T){t(g,b,T);return}var j=C?C(A,P,b+"",g,y,k):void 0,R=j===void 0;if(R){var D=o(P),O=!D&&c(P),N=!D&&!O&&p(P);j=P,D||O||N?o(A)?j=A:l(A)?j=n(A):O?(R=!1,j=e(P,!0)):N?(R=!1,j=r(P,!0)):j=[]:f(P)||i(P)?(j=A,i(A)?j=h(A):(!d(A)||u(A))&&(j=s(P))):R=!1}R&&(k.set(P,j),w(j,P,x,C,k),k.delete(P)),t(g,b,j)}return gR=_,gR}var _R,aY;function pN(){if(aY)return _R;aY=1;var t=ute(),e=Dae(),r=Zhe(),n=zze(),s=Qd(),i=Ov(),o=Nae();function l(c,u,d,f,p){c!==u&&r(u,function(m,h){if(p||(p=new t),s(m))n(c,u,h,d,l,f,p);else{var _=f?f(o(c,h),m,h+"",c,u,p):void 0;_===void 0&&(_=m),e(c,h,_)}},i)}return _R=l,_R}var vR,lY;function Uae(){if(lY)return vR;lY=1;function t(e,r,n){switch(n.length){case 0:return e.call(r);case 1:return e.call(r,n[0]);case 2:return e.call(r,n[0],n[1]);case 3:return e.call(r,n[0],n[1],n[2])}return e.apply(r,n)}return vR=t,vR}var yR,cY;function Bae(){if(cY)return yR;cY=1;var t=Uae(),e=Math.max;function r(n,s,i){return s=e(s===void 0?n.length-1:s,0),function(){for(var o=arguments,l=-1,c=e(o.length-s,0),u=Array(c);++l<c;)u[l]=o[s+l];l=-1;for(var d=Array(s+1);++l<s;)d[l]=o[l];return d[s]=i(u),t(n,this,d)}}return yR=r,yR}var bR,uY;function qze(){if(uY)return bR;uY=1;function t(e){return function(){return e}}return bR=t,bR}var xR,dY;function Vze(){if(dY)return xR;dY=1;var t=qze(),e=Xhe(),r=q3(),n=e?function(s,i){return e(s,"toString",{configurable:!0,enumerable:!1,value:t(i),writable:!0})}:r;return xR=n,xR}var SR,fY;function Hze(){if(fY)return SR;fY=1;var t=800,e=16,r=Date.now;function n(s){var i=0,o=0;return function(){var l=r(),c=e-(l-o);if(o=l,c>0){if(++i>=t)return arguments[0]}else i=0;return s.apply(void 0,arguments)}}return SR=n,SR}var wR,pY;function zae(){if(pY)return wR;pY=1;var t=Vze(),e=Hze(),r=e(t);return wR=r,wR}var CR,mY;function Fh(){if(mY)return CR;mY=1;var t=q3(),e=Bae(),r=zae();function n(s,i){return r(e(s,i,t),s+"")}return CR=n,CR}var AR,hY;function mN(){if(hY)return AR;hY=1;var t=z3(),e=av(),r=Jhe(),n=Qd();function s(i,o,l){if(!n(l))return!1;var c=typeof o;return(c=="number"?e(l)&&r(o,l.length):c=="string"&&o in l)?t(l[o],i):!1}return AR=s,AR}var kR,gY;function qae(){if(gY)return kR;gY=1;var t=Fh(),e=mN();function r(n){return t(function(s,i){var o=-1,l=i.length,c=l>1?i[l-1]:void 0,u=l>2?i[2]:void 0;for(c=n.length>3&&typeof c=="function"?(l--,c):void 0,u&&e(i[0],i[1],u)&&(c=l<3?void 0:c,l=1),s=Object(s);++o<l;){var d=i[o];d&&n(s,d,o,c)}return s})}return kR=r,kR}var MR,_Y;function Gze(){if(_Y)return MR;_Y=1;var t=pN(),e=qae(),r=e(function(n,s,i){t(n,s,i)});return MR=r,MR}var Wze=Gze();const Yze=Pi(Wze),Z6={emergency:0,alert:1,critical:2,error:3,warning:4,notice:5,info:6,informational:6,debug:7};function Kze(t){return t.reduce((e,r)=>({...e,[r.labels.alertname]:e[r.labels.alertname]?{...e[r.labels.alertname],items:[...e[r.labels.alertname].items,r],counts:{...e[r.labels.alertname].counts,total:e[r.labels.alertname].counts.total+1,[r.labels.severity]:e[r.labels.alertname].counts[r.labels.severity]+1}}:{items:[r],counts:{total:1,emergency:0,alert:0,critical:0,error:0,warning:0,notice:0,informational:0,info:0,debug:0,[r.labels.severity]:1}}}),{})}var b_=(t=>(t.REGISTERED="REGISTERED",t.SUSPENDED="SUSPENDED",t.UNDISCOVERABLE="UNDISCOVERABLE",t))(b_||{});function Qze(t,e=0){try{switch(t.resultType){case"vector":return t.result[e]?.value[1];case"scalar":return t.result[e];case"string":return t.result[e];case"matrix":return t.result[e]?.values.map(([r,n])=>({timestamp:r,value:n}))}}catch(r){console.error("Cannot extract data from prometheus data",r,t.result);return}}async function Vae(){const t=$.apis.nrf.profiles.status;return De({options:{url:t,method:"GET"}})}async function Hae(){const t=$.apis.nrf.staticProfiles;return De({options:{url:t,method:"GET"}})}async function Zze(t){const e=$.apis.nrf.staticProfiles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function Xze(t){const e=`${$.apis.nrf.staticProfiles}/${t.nfInstanceId}`;return De({options:{url:e,method:"PUT",data:JSON.stringify(t)}})}async function Jze(t){const e=`${$.apis.nrf.staticProfiles}/${t}`;return De({options:{url:e,method:"DELETE"}})}function X6({group:t,sub_group:e,field_name:r,data:n}){return!t||!e||!n?null:r?{[t]:{[e]:{[r]:n}}}:{[t]:{[e]:n}}}function eqe(t){return Lze.filter(e=>t.includes(e.source)).map(e=>{const r="query_range"in e?`${$.apis.prometheus.query_range({query:e.query_range})}`:`${$.apis.prometheus.query(e.query)}`;return{...e,url:r}})}async function tqe(t){const e=await De({options:{url:t.url,method:"GET"}}),r=Qze(e.data);return X6({...t,data:r})}async function rqe(t){if(!t.includes(ue.NRF))return null;try{const e=await Vae();let r=0,n=0,s=0;return e.forEach(i=>{switch(i.nf_profile.nfStatus){case b_.REGISTERED:r++;break;case b_.SUSPENDED:n++;break;case b_.UNDISCOVERABLE:s++;break}}),X6({group:"control_plane",sub_group:"nrf_profiles",data:{registered_count:r,suspended_count:n,undiscoverable_count:s}})}catch(e){if(e.message!=="canceled")return X6({group:"control_plane",sub_group:"nrf_profiles",data:{registered_count:$.errorKey,suspended_count:$.errorKey,undiscoverable_count:$.errorKey}});throw e}}async function nqe(){const t=await ma(),e=yie(t).map(n=>n.name);return(await Promise.all([...eqe(e).map(async n=>tqe(n)),rqe(e)])).filter(n=>!!n).reduce((n,s)=>Yze(n,s),{})}async function Gae(){const t=$.apis.prometheusAlerts;return(await De({options:{url:t,method:"GET"}})).sort((r,n)=>Z6[r.labels.severity]<Z6[n.labels.severity]?-1:0)}async function Wae(){const[t,e]=await Promise.all([jie(),lN()]),{services:r}=e,n=Ds({services:r,name:ue.ALERTMANAGER});let s=null;if(n&&as(ie.monitoring))try{s=await Gae()}catch(i){console.error(i)}return{info:t,services:r,alerts:s,frontendConfig:e}}const Yae=t=>Object.entries(t).filter(([,e])=>e!=null).reduce((e,[r,n])=>(e[r]=n,e),{}),Kae=t=>!t||t&&Object.keys(t).length===0;async function sqe(t){const e=Object.entries(t);return Promise.all(e.map(([,r])=>r)).then(r=>e.reduce((n,[s],i)=>({...n,[s]:r[i]}),{}))}function hN(t){return!!new URL(t.url).searchParams.has("polling")}async function Wt({loaderArgs:t,deferred:e,data:r}){const{request:n}=t;if(hN(n)||!e)try{const i=await sqe(r);return i===null?{__polling_error:!1}:i}catch{return{__polling_error:!0}}if(e)return Foe(r)}function Na(){const t=he.c(13),[e,r]=hl();let n;e:{let h;t[0]!==e?(h=e.get($.searchParams.pageSize),t[0]=e,t[1]=h):h=t[1];const _=h;if(_&&parseInt(_)){n=parseInt(_);break e}n=$.pageSize}const s=n,i=$.pageSizeOptions,o=iqe;let l;t[2]!==s?(l=h=>{switch(o(h)){case 0:return h.next_token?s*2:s;case 1:return h.next_token?s*3:s*2;case 2:return s*3}},t[2]=s,t[3]=l):l=t[3];const c=l;let u;t[4]!==r?(u=h=>{r(_=>(_.delete($.searchParams.paginationToken),$.pageSizeOptions.includes(h)?_.set($.searchParams.pageSize,h.toString()):_.set($.searchParams.pageSize,$.pageSize.toString()),_),{replace:!0})},t[4]=r,t[5]=u):u=t[5];const d=u;let f;t[6]!==r?(f=h=>_=>{const g=o(h);e:switch(_){case 0:{r(y=>(h.prev_token&&y.set($.searchParams.paginationToken,h.prev_token),y),{replace:!0});break e}case 1:{g===0?r(y=>(h.next_token&&y.set($.searchParams.paginationToken,h.next_token),y),{replace:!0}):r(y=>(h.prev_token&&y.set($.searchParams.paginationToken,h.prev_token),y),{replace:!0});break e}case 2:r(y=>(h.next_token&&y.set($.searchParams.paginationToken,h.next_token),y),{replace:!0})}},t[6]=r,t[7]=f):f=t[7];const p=f;let m;return t[8]!==p||t[9]!==d||t[10]!==c||t[11]!==s?(m={pageSize:s,pageSizeOptions:i,changePageSize:d,changePage:p,getRowsCount:c,getPage:o},t[8]=p,t[9]=d,t[10]=c,t[11]=s,t[12]=m):m=t[12],m}function iqe(t){return t.next_token&&t.prev_token?1:t.next_token?0:t.prev_token?2:0}function Fa(t){const e=new URL(t.request.url),r=e.searchParams.get($.searchParams.pageSize),n=e.searchParams.get($.searchParams.paginationToken);if(!r||r&&!$.pageSizeOptions.includes(+r))throw e.searchParams.set($.searchParams.pageSize,$.pageSize.toString()),rt(e.toString());return{pageSize:r,paginationToken:n}}function Qae(){if(!!Ih())throw rt("/");return!0}function oqe(){if(!!!Ih())throw Gb();return!0}async function aqe({request:t}){const r=new URL(t.url).searchParams.get("returnUrl");await ZTe();let n=$.urls.login;return r&&![$.urls.logout,"/",$.urls.login].includes(r)&&(n=`${n}?returnUrl=${r}`),window.location.href=n,null}function lqe(t){return Qae(),Wt({loaderArgs:t,deferred:!0,data:{frontendConfig:lN(),openIdAuthorization:JTe()}})}async function cqe({request:t}){Qae();const e=new URL(t.url),r=e.searchParams.get("code"),n=e.searchParams.get("iss"),s=e.searchParams.get("session_state")||e.searchParams.get("state");if(!r)throw rt($.urls.login);const i=await e4e({code:r,...n&&{iss:n},...s&&{state:s}});return xt(i)?(Ar(i.error?.detail),rt($.urls.login)):(fie(i),rt($.urls.home))}async function uqe(t){const{pageSize:e,paginationToken:r}=Fa(t),{username:n}=t.params;if(!n)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{audits:r4e(n,r||void 0,+e)}})}async function dqe(t){if(Ji.getRestartStatus())throw rt($.urls.restart);oqe();const{request:e}=t;if(!hN(e)){const n=await die();if(oN(n))return Ji.deleteSiteNode(),window.location.href=window.location.pathname,null}return Wt({loaderArgs:t,deferred:!0,data:{bootstrap:Wae()}})}function vY(t){return Wt({loaderArgs:t,deferred:!0,data:{info:jie()}})}const fqe=Pr();async function pqe(t){const{request:e}=t,r=hN(e);try{const n=await die();if(oN(n)&&r){const s=Ji.getSiteNode();Ar(fqe.formatMessage({id:"cluster.site_picker.node_down"},{ip_address:s}))}return n}catch(n){if(r)return{__polling_error:!0};throw n}}const mqe={path:"logout",loader:aqe},Zae=(t,e="")=>{const r=t.path==="/"?t.path:`${e!=="/"?e:""}${t.path&&t.path!=="/"?"/"+t.path:""}`;try{K6(r,[])}catch(n){console.error("FIX ME! ${fullPath}",n)}return{fullPath:r,...t,loader:async n=>{if(Ih()&&!n.request.url.includes($.urls.profile)&&!Aae())throw rt($.urls.unauthorized);if(!Cae(r))return t.loader&&t.loader!==!0?t.loader(n):null;const s=await ma();return K6(r,s),t.loader&&t.loader!==!0?t.loader(n):null},...t.children&&{children:t.children.map(n=>Zae(n,r))}}},en=()=>{const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(gt,{sx:{p:2},children:a.jsx(Tr,{})}),t[0]=e):e=t[0],e};function Or(t){const e=he.c(4),{center:r,fullHeight:n,transparent:s}=t;let i;return e[0]!==r||e[1]!==n||e[2]!==s?(i=a.jsx(lUe,{appBar:!0,navigation:!0,center:r,fullHeight:n,transparent:s}),e[0]=r,e[1]=n,e[2]=s,e[3]=i):i=e[3],i}const Xae=I.createContext(null);function hqe(){const[t,e]=I.useState(null);return I.useEffect(()=>{e(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),t}function gqe(t){const{children:e,value:r}=t,n=hqe(),s=I.useMemo(()=>({idPrefix:n,value:r}),[n,r]);return a.jsx(Xae.Provider,{value:s,children:e})}function Jae(){return I.useContext(Xae)}function ele(t,e){const{idPrefix:r}=t;return r===null?null:`${t.idPrefix}-P-${e}`}function tle(t,e){const{idPrefix:r}=t;return r===null?null:`${t.idPrefix}-T-${e}`}const _qe=I.forwardRef(function(e,r){const{children:n,...s}=e,i=Jae();if(i===null)throw new TypeError("No TabContext provided");const o=I.Children.map(n,l=>I.isValidElement(l)?I.cloneElement(l,{"aria-controls":ele(i,l.props.value),id:tle(i,l.props.value)}):null);return a.jsx(sse,{...s,ref:r,value:i.value,children:o})});function vqe(t){return tr("MuiTabPanel",t)}rr("MuiTabPanel",["root","hidden"]);const yqe=t=>{const{classes:e,hidden:r}=t;return nr({root:["root",r&&"hidden"]},vqe,e)},bqe=Ce("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({padding:t.spacing(3)})),xqe=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTabPanel"}),{children:s,className:i,value:o,keepMounted:l=!1,...c}=n,u={...n},d=yqe(u),f=Jae();if(f===null)throw new TypeError("No TabContext provided");const p=ele(f,o),m=tle(f,o);return a.jsx(bqe,{"aria-labelledby":m,className:lt(d.root,i),hidden:o!==f.value,id:p,ref:r,role:"tabpanel",ownerState:u,...c,children:(l||o===f.value)&&s})});var nn=(t=>(t.DEFAULT="DEFAULT",t.INFO="INFO",t.SUCCESS="SUCCESS",t.WARNING="WARNING",t.ERROR="ERROR",t))(nn||{});function bi(t){const e=he.c(15),{label:r,status:n,asChip:s}=t;let i;e:switch(n){case"SUCCESS":{i="success.main";break e}case"INFO":{i="info.main";break e}case"WARNING":{i="warning.main";break e}case"ERROR":{i="error.main";break e}default:i="divider"}const o=i;if(!r){let f;return e[0]!==o?(f=a.jsx(gt,{sx:{backgroundColor:o,borderRadius:"100px",width:"12px",height:"12px",flex:"0 0 auto"}}),e[0]=o,e[1]=f):f=e[1],f}if(s){let f;e[2]!==o?(f={textTransform:"capitalize",color:"text.primary",fontWeight:"500",backgroundColor:o,px:1,fontSize:"14px"},e[2]=o,e[3]=f):f=e[3];let p;return e[4]!==r||e[5]!==f?(p=a.jsx(ms,{id:r,label:r,size:"small",sx:f}),e[4]=r,e[5]=f,e[6]=p):p=e[6],p}let l;e[7]!==o?(l=a.jsx(gt,{sx:{backgroundColor:o,borderRadius:"100px",width:"12px",height:"12px",flex:"0 0 auto"}}),e[7]=o,e[8]=l):l=e[8];let c;e[9]===Symbol.for("react.memo_cache_sentinel")?(c={textTransform:"capitalize"},e[9]=c):c=e[9];let u;e[10]!==r?(u=a.jsx(_e,{fontWeight:500,lineHeight:"24px",sx:c,type:"body2",children:r}),e[10]=r,e[11]=u):u=e[11];let d;return e[12]!==l||e[13]!==u?(d=a.jsxs(te,{direction:"row",align:"center",nowrap:!0,children:[l,u]}),e[12]=l,e[13]=u,e[14]=d):d=e[14],d}function VA(t){const e=he.c(33),{value:r,tabs:n,centered:s,color:i,onChange:o,fullHeight:l}=t;let c;e[0]!==n?(c=n===void 0?[]:n,e[0]=n,e[1]=c):c=e[1];const u=c,d=s===void 0?!1:s,f=l===void 0?!1:l,[p,m]=I.useState(r||u[0].value);let h,_;e[2]!==r?(h=()=>{r&&m(r)},_=[r],e[2]=r,e[3]=h,e[4]=_):(h=e[3],_=e[4]),I.useEffect(h,_);let g;e[5]!==o?(g=(D,O)=>{m(O),o&&o(O)},e[5]=o,e[6]=g):g=e[6];const y=g;if(!p)return null;let b;e[7]!==f?(b=f&&{height:"100%",maxHeight:"100%",overflow:"auto",display:"flex",flexDirection:"column"},e[7]=f,e[8]=b):b=e[8];let x;e[9]!==b?(x={width:"100%",...b},e[9]=b,e[10]=x):x=e[10];let w;e[11]===Symbol.for("react.memo_cache_sentinel")?(w={position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:0,right:0,height:"1px",backgroundColor:"divider"}},e[11]=w):w=e[11];let C;e[12]===Symbol.for("react.memo_cache_sentinel")?(C={".MuiTabScrollButton-root.Mui-disabled":{opacity:.2}},e[12]=C):C=e[12];let k;e[13]===Symbol.for("react.memo_cache_sentinel")?(k={sx:{height:"4px"}},e[13]=k):k=e[13];let A;e[14]!==u?(A=u.map(Sqe),e[14]=u,e[15]=A):A=e[15];let P;e[16]!==d||e[17]!==i||e[18]!==y||e[19]!==A?(P=a.jsx(gt,{sx:w,children:a.jsx(_qe,{sx:C,variant:"scrollable",allowScrollButtonsMobile:!0,onChange:y,centered:d,indicatorColor:i,TabIndicatorProps:k,children:A})}),e[16]=d,e[17]=i,e[18]=y,e[19]=A,e[20]=P):P=e[20];let T;if(e[21]!==f||e[22]!==u){let D;e[24]!==f?(D=(O,N)=>O.content?a.jsx(xqe,{value:O.value,sx:{p:0,...f&&{flexGrow:"1",maxHeight:"100%",overflow:"auto"}},children:O.content},N):null,e[24]=f,e[25]=D):D=e[25],T=u.map(D),e[21]=f,e[22]=u,e[23]=T}else T=e[23];let j;e[26]!==p||e[27]!==P||e[28]!==T?(j=a.jsxs(gqe,{value:p,children:[P,T]}),e[26]=p,e[27]=P,e[28]=T,e[29]=j):j=e[29];let R;return e[30]!==j||e[31]!==x?(R=a.jsx(gt,{sx:x,children:j}),e[30]=j,e[31]=x,e[32]=R):R=e[32],R}function Sqe(t,e){return a.jsx(p6,{label:a.jsxs(T1e,{direction:"row",alignItems:"center",spacing:1,children:[t.status&&a.jsx(bi,{status:t.status}),t.error&&a.jsx(gt,{color:"error.main",sx:{display:"flex",justifyContent:"flex-end"},children:a.jsx(ge.StatusErrorSmall,{})}),a.jsx("div",{children:t.label})]}),sx:{textTransform:"capitalize",fontSize:"1rem",fontWeight:400,"&.Mui-selected":{fontWeight:600,color:"primary.main"}},disabled:!!t.disabled,value:t.value},e)}const Ao=t=>{const e=he.c(25),{tabs:r,keepQueryParams:n}=t,s=n===void 0?!1:n,i=Lp("."),o=ys(),l=WL(),c=to();let u;e[0]!==s||e[1]!==c.search||e[2]!==o?(u=k=>{s?o(`${k}${c.search}`,{replace:!0}):o(k,{replace:!0})},e[0]=s,e[1]=c.search,e[2]=o,e[3]=u):u=e[3];const d=u;let f;if(e[4]!==i||e[5]!==r){let k;e[7]!==i?(k=A=>({...A,url:`${i.pathname}/${A.url}`}),e[7]=i,e[8]=k):k=e[8],f=r.map(k),e[4]=i,e[5]=r,e[6]=f}else f=e[6];const p=f;let m;if(e[9]!==l||e[10]!==p){let k;e[12]!==l?(k=A=>l.map(Cqe).includes(A),e[12]=l,e[13]=k):k=e[13],m=p.map(wqe).find(k),e[9]=l,e[10]=p,e[11]=m}else m=e[11];const _=m??p[0].url;let g;e[14]===Symbol.for("react.memo_cache_sentinel")?(g={overflow:"hidden"},e[14]=g):g=e[14];let y;e[15]===Symbol.for("react.memo_cache_sentinel")?(y={flex:"0 0 auto"},e[15]=y):y=e[15];let b;e[16]!==d||e[17]!==p||e[18]!==_?(b=p?.length>0&&a.jsx(VA,{value:_,tabs:p.map(Aqe),onChange:d}),e[16]=d,e[17]=p,e[18]=_,e[19]=b):b=e[19];let x;e[20]!==b?(x=a.jsx(te,{sx:y,children:b}),e[20]=b,e[21]=x):x=e[21];let w;e[22]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(te,{fullHeight:!0,sx:{flex:"1 1 auto"},children:a.jsx(Bd,{})}),e[22]=w):w=e[22];let C;return e[23]!==x?(C=a.jsxs(te,{fullHeight:!0,nowrap:!0,sx:g,spacing:0,children:[x,w]}),e[23]=x,e[24]=C):C=e[24],C};function wqe(t){return t.url}function Cqe(t){return t.pathname}function Aqe(t){const{url:e,label:r,status:n}=t;return{value:e,label:r,status:n}}const kqe=t=>{const e=typeof t;return t!==null&&(e==="object"||e==="function")},PR=new Set(["__proto__","prototype","constructor"]),Mqe=new Set("0123456789");function Pqe(t){const e=[];let r="",n="start",s=!1;for(const i of t)switch(i){case"\\":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");s&&(r+=i),n="property",s=!s;break}case".":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="property";break}if(s){s=!1,r+=i;break}if(PR.has(r))return[];e.push(r),r="",n="property";break}case"[":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="index";break}if(s){s=!1,r+=i;break}if(n==="property"){if(PR.has(r))return[];e.push(r),r=""}n="index";break}case"]":{if(n==="index"){e.push(Number.parseInt(r,10)),r="",n="indexEnd";break}if(n==="indexEnd")throw new Error("Invalid character after an index")}default:{if(n==="index"&&!Mqe.has(i))throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");n==="start"&&(n="property"),s&&(s=!1,r+="\\"),r+=i}}switch(s&&(r+="\\"),n){case"property":{if(PR.has(r))return[];e.push(r);break}case"index":throw new Error("Index was not closed");case"start":{e.push("");break}}return e}function jqe(t,e){if(typeof e!="number"&&Array.isArray(t)){const r=Number.parseInt(e,10);return Number.isInteger(r)&&t[r]===t[e]}return!1}function Tqe(t,e,r){if(!kqe(t)||typeof e!="string")return t;const n=Pqe(e);if(n.length===0)return r;for(let s=0;s<n.length;s++){const i=n[s];if(jqe(t,i)?t=s===n.length-1?void 0:null:t=t[i],t==null){if(s!==n.length-1)return r;break}}return t===void 0?r:t}function da(t){const e=he.c(29),{disabled:r,color:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checkedIcon:f,checked:p,icon:m,indeterminate:h,indeterminateIcon:_,name:g,customColor:y,sx:b,label:x}=t,w=x===void 0?"":x,C=w?"inherit":0;let k;e[0]!==C?(k={mx:C},e[0]=C,e[1]=k):k=e[1];let A;e[2]!==y?(A=y&&{"&.Mui-checked svg":{color:y}},e[2]=y,e[3]=A):A=e[3];let P;e[4]!==b||e[5]!==A?(P={...b,...A},e[4]=b,e[5]=A,e[6]=P):P=e[6];let T;e[7]!==p||e[8]!==f||e[9]!==n||e[10]!==o||e[11]!==c||e[12]!==u||e[13]!==m||e[14]!==h||e[15]!==_||e[16]!==g||e[17]!==i||e[18]!==l||e[19]!==s||e[20]!==P||e[21]!==d?(T=a.jsx(XL,{color:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:p,checkedIcon:f,icon:m,indeterminate:h,name:g,indeterminateIcon:_,sx:P}),e[7]=p,e[8]=f,e[9]=n,e[10]=o,e[11]=c,e[12]=u,e[13]=m,e[14]=h,e[15]=_,e[16]=g,e[17]=i,e[18]=l,e[19]=s,e[20]=P,e[21]=d,e[22]=T):T=e[22];let j;return e[23]!==p||e[24]!==r||e[25]!==w||e[26]!==k||e[27]!==T?(j=a.jsx(Rv,{disabled:r,sx:k,checked:p,control:T,label:w}),e[23]=p,e[24]=r,e[25]=w,e[26]=k,e[27]=T,e[28]=j):j=e[28],j}const Eqe=I.forwardRef((t,e)=>{const r=he.c(8),{autoScale:n,children:s}=t;let i;r[0]!==n?(i=n&&{height:"calc(100% - 52px)",overflow:"auto",width:"100%",maxHeight:"calc(100% - 52px)",position:"relative"},r[0]=n,r[1]=i):i=r[1];let o;r[2]!==i?(o={...i},r[2]=i,r[3]=o):o=r[3];let l;return r[4]!==s||r[5]!==e||r[6]!==o?(l=a.jsx(uFe,{sx:o,ref:e,children:s}),r[4]=s,r[5]=e,r[6]=o,r[7]=l):l=r[7],l});function Rqe(t){const e=he.c(27),{selectable:r,selectedRows:n,selectedAllRows:s,rowsCount:i,rowsPerPage:o,showFirstLastButton:l,page:c,hidePagination:u,onPageChange:d,rowsPerPageOptions:f,onRowsPerPageChange:p,labelDisplayedRows:m,loading:h,customFooterComponent:_,hideRowsCount:g}=t,y=g===void 0?!1:g,b=h?"0.5":1;let x;e[0]!==b?(x={opacity:b},e[0]=b,e[1]=x):x=e[1];let w;e[2]!==_?(w=_&&a.jsx(gt,{sx:{ml:2,flexGrow:1,justifySelf:"flex-start"},children:_}),e[2]=_,e[3]=w):w=e[3];let C;e[4]!==r||e[5]!==s||e[6]!==n?(C=r&&a.jsxs(gt,{sx:{flexShrink:0,ml:2},children:[n?.length?a.jsxs(_e,{type:"body2",children:[n.length," ",`row${n.length>1?"s":""}`," selected"]}):null,s&&a.jsx(_e,{type:"body2",children:"All rows selected"})]}),e[4]=r,e[5]=s,e[6]=n,e[7]=C):C=e[7];let k;e[8]===Symbol.for("react.memo_cache_sentinel")?(k={flexShrink:0},e[8]=k):k=e[8];let A;e[9]!==u||e[10]!==y||e[11]!==m||e[12]!==d||e[13]!==p||e[14]!==c||e[15]!==i||e[16]!==o||e[17]!==f||e[18]!==l?(A=u?y?null:a.jsx(tN,{variant:"dense",children:a.jsxs(gt,{sx:{marginTop:2,marginBottom:2},children:[a.jsxs(_e,{type:"body2",children:[i," Rows"]})," "]})}):a.jsx(TFe,{rowsPerPageOptions:f||[-1],component:"div",count:i,rowsPerPage:o,page:c,onPageChange:d,onRowsPerPageChange:p,showFirstButton:l,showLastButton:l,labelDisplayedRows:m,sx:{"& .MuiTablePagination-actions":{display:"flex",ml:1},"& .MuiSelect-select":{pt:"5px"}}}),e[9]=u,e[10]=y,e[11]=m,e[12]=d,e[13]=p,e[14]=c,e[15]=i,e[16]=o,e[17]=f,e[18]=l,e[19]=A):A=e[19];let P;e[20]!==A?(P=a.jsx(gt,{sx:k,children:A}),e[20]=A,e[21]=P):P=e[21];let T;return e[22]!==x||e[23]!==w||e[24]!==C||e[25]!==P?(T=a.jsxs(QL,{direction:"row",justifyContent:"flex-end",alignItems:"center",spacing:1,sx:x,children:[w,C,P]}),e[22]=x,e[23]=w,e[24]=C,e[25]=P,e[26]=T):T=e[26],T}const w2=Ce(na,{shouldForwardProp:t=>t!=="loading"})(({theme:t,loading:e})=>({borderBottom:e?"0":`1px solid ${t.palette.divider}`})),Iqe=Ce(FFe)(({theme:t})=>({"&.Mui-active, &":{"& .MuiTableSortLabel-icon":{color:t.palette.primary.main}}}));function Dqe(t){const e=he.c(56),{rowsCount:r,columns:n,order:s,orderBy:i,onSort:o,rowActions:l,loading:c,selectable:u,selectedRows:d,selectedAllRows:f,onSelectedAllRows:p,fullColSpan:m,rowDetail:h,disableSelectAll:_,stickyRowActions:g,dense:y}=t,b=ci();let x;e[0]!==o||e[1]!==s||e[2]!==i?(x=H=>{const K=i===H.key&&s===Gl.ASC?Gl.DESC:Gl.ASC,q=H.key;o&&o(K,q)},e[0]=o,e[1]=s,e[2]=i,e[3]=x):x=e[3];const w=x,C=!!(d&&d.length&&d.length<r&&r>0),k=!!(d&&d.length&&d.length===r&&r>0||f);let A;e[4]!==b.palette.background.paper?(A=br(b.palette.background.paper,.5),e[4]=b.palette.background.paper,e[5]=A):A=e[5];let P;e[6]!==l?.length?(P=l?.length&&{"&:last-child":{backdropFilter:"none"}},e[6]=l?.length,e[7]=P):P=e[7];let T;e[8]!==A||e[9]!==P?(T={"& th":{background:"transparent",backdropFilter:"blur(12px)",backgroundColor:A,...P}},e[8]=A,e[9]=P,e[10]=T):T=e[10];let j;e[11]!==y||e[12]!==c||e[13]!==h?(j=h&&a.jsx(w2,{loading:c,variant:"head",padding:"checkbox",sx:{fontSize:"16px",width:"48px",minWidth:"48px",...y&&{p:1}},children:a.jsx(te,{align:"center",justify:"center",children:a.jsx(ge.Info,{})})}),e[11]=y,e[12]=c,e[13]=h,e[14]=j):j=e[14];let R;e[15]!==y||e[16]!==_||e[17]!==k||e[18]!==C||e[19]!==c||e[20]!==p||e[21]!==u?(R=u&&a.jsx(w2,{loading:c,variant:"head",padding:"checkbox",children:!_&&a.jsx(da,{color:"primary",indeterminate:C,checked:k,onChange:p,disabled:c,size:y?"small":"medium"})}),e[15]=y,e[16]=_,e[17]=k,e[18]=C,e[19]=c,e[20]=p,e[21]=u,e[22]=R):R=e[22];let D;if(e[23]!==n||e[24]!==y||e[25]!==w||e[26]!==c||e[27]!==s||e[28]!==i){let H;e[30]!==y||e[31]!==w||e[32]!==c||e[33]!==s||e[34]!==i?(H=(W,K)=>a.jsx(w2,{align:W.numeric?"right":"left",sortDirection:i===W.key?s:!1,variant:"head",loading:c,sx:{fontWeight:"600",maxWidth:W.maxWidth?`${W.maxWidth}px`:"inherit",minWidth:W.minWidth?`${W.minWidth}px`:"inherit",width:W.width?`${W.width}px`:"inherit",...y&&{p:.5,pr:2}},children:a.jsx(Iqe,{active:W.sortable?i===W.key:!1,direction:i===W.key?s:Gl.ASC,onClick:()=>{W.sortable&&w(W)},sx:W.sortable?void 0:{cursor:"auto","&:hover":{color:"text.primary"},"& .MuiTableSortLabel-icon":{display:"none"}},children:W.label})},`${String(W.key)}-${K}`),e[30]=y,e[31]=w,e[32]=c,e[33]=s,e[34]=i,e[35]=H):H=e[35],D=n.map(H),e[23]=n,e[24]=y,e[25]=w,e[26]=c,e[27]=s,e[28]=i,e[29]=D}else D=e[29];let O;e[36]!==c||e[37]!==l?.length||e[38]!==g||e[39]!==b.palette.background.paper?(O=l?.length?a.jsx(w2,{padding:"checkbox",loading:c,sx:{...g&&{position:"sticky",right:0,backdropFilter:"blur(12px) !important",backgroundColor:`${br(b.palette.background.paper,.5)}`}}}):null,e[36]=c,e[37]=l?.length,e[38]=g,e[39]=b.palette.background.paper,e[40]=O):O=e[40];let N;e[41]!==j||e[42]!==R||e[43]!==D||e[44]!==O?(N=a.jsxs(d_,{children:[j,R,D,O]}),e[41]=j,e[42]=R,e[43]=D,e[44]=O,e[45]=N):N=e[45];let F;e[46]!==T||e[47]!==N?(F=a.jsx(OW,{sx:T,children:N}),e[46]=T,e[47]=N,e[48]=F):F=e[48];let U;e[49]!==y||e[50]!==m||e[51]!==c?(U=c?a.jsx(OW,{sx:{position:"sticky",top:y?"33px":"58px",left:0,right:0,zIndex:3},children:a.jsx(d_,{children:a.jsx(na,{colSpan:m,sx:{p:0,border:0},children:a.jsx(Nc,{color:"primary",thickness:1})})})}):null,e[49]=y,e[50]=m,e[51]=c,e[52]=U):U=e[52];let z;return e[53]!==F||e[54]!==U?(z=a.jsxs(a.Fragment,{children:[F,U]}),e[53]=F,e[54]=U,e[55]=z):z=e[55],z}var Gl=(t=>(t.ASC="asc",t.DESC="desc",t))(Gl||{});const $qe=Array.from({length:4});function Br(t){const e=he.c(153),{order:r,orderBy:n,columns:s,data:i,rowsCount:o,page:l,rowsPerPage:c,rowKey:u,onSort:d,rowActions:f,rowDetail:p,onPageChange:m,showFirstLastButton:h,loading:_,noDataText:g,autoScale:y,selectable:b,selectedRows:x,selectedAllRows:w,onSelectedRow:C,hidePagination:k,hideRowsCount:A,onRowsPerPageChange:P,rowsPerPageOptions:T,labelDisplayedRows:j,disableSelectAll:R,stickyRowActions:D,customRowSx:O,customFooterComponent:N,dense:F,onRowClick:U,containerRef:z}=t,H=r===void 0?"asc":r,W=g===void 0?"No data to display":g,K=As();let q;e[0]!==x?(q=x||[],e[0]=x,e[1]=q):q=e[1];const[X,Q]=I.useState(q),[Y,Z]=I.useState(!!w);let re;e[2]===Symbol.for("react.memo_cache_sentinel")?(re=[],e[2]=re):re=e[2];const[fe,de]=I.useState(re),{menuOpen:se,menuClose:le}=Jt();let ee;e[3]!==f?(ee=f?.filter(Nqe),e[3]=f,e[4]=ee):ee=e[4];const J=ee;let me;e[5]!==f?(me=f?.filter(Lqe),e[5]=f,e[6]=me):me=e[6];const pe=me,Se=Oqe;let ve;e[7]!==m?(ve=(Ae,ze)=>{m&&m(ze)},e[7]=m,e[8]=ve):ve=e[8];const xe=ve;let qe;e[9]!==P?(qe=Ae=>{const ze=Ae.target.value;P&&P(parseInt(ze))},e[9]=P,e[10]=qe):qe=e[10];const Le=qe;let Te;e[11]!==le||e[12]!==se||e[13]!==pe?(Te=(Ae,ze,_t)=>{pe&&(Ae.stopPropagation(),se({anchorEl:Ae.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:pe.filter(jt=>{const{hidden:Gt}=jt;return Gt?!Gt(ze,_t):!0}).map(jt=>{const{label:Gt,onClick:Yt,disabled:Rt,icon:At}=jt;return{label:Gt,value:Gt,disabled:typeof Rt=="function"?Rt(ze,_t):Rt,icon:At,onClick:()=>{le(),Yt(ze,_t)}}})}))},e[11]=le,e[12]=se,e[13]=pe,e[14]=Te):Te=e[14];const je=Te;let Ge;e[15]!==fe?(Ge=Ae=>fe.includes(Ae),e[15]=fe,e[16]=Ge):Ge=e[16];const nt=Ge;let Re;e[17]!==p?(Re=Ae=>p?typeof p.disabled=="function"?p.disabled(Ae):p.disabled:!0,e[17]=p,e[18]=Re):Re=e[18];const we=Re;let Me;e[19]!==nt||e[20]!==fe?(Me=Ae=>{const ze=nt(Ae);let _t;ze?_t=fe.filter(jt=>jt!==Ae):_t=[...fe,Ae],de(_t)},e[19]=nt,e[20]=fe,e[21]=Me):Me=e[21];const $e=Me;let Ve;e[22]!==Y||e[23]!==X?(Ve=Ae=>X.includes(Ae)||Y,e[22]=Y,e[23]=X,e[24]=Ve):Ve=e[24];const Ne=Ve;let Oe;e[25]!==Ne||e[26]!==C||e[27]!==b||e[28]!==X?(Oe=(Ae,ze)=>{if(!b)return;const _t=Ne(Ae);let jt;_t?jt=X.filter(Gt=>Gt!==Ae):jt=[...X,Ae],Q(jt),C&&C(jt,!1,ze,_t?1:0)},e[25]=Ne,e[26]=C,e[27]=b,e[28]=X,e[29]=Oe):Oe=e[29];const ft=Oe;let Ct;e[30]!==C||e[31]!==Y?(Ct=()=>{const Ae=[],ze=!Y;Z(ze),Q(Ae),C&&C(Ae,ze,null,ze?2:3)},e[30]=C,e[31]=Y,e[32]=Ct):Ct=e[32];const Et=Ct,at=s.length+(f?.length?1:0)+(p?1:0)+(b?1:0);let $t,Ee;e[33]!==w?($t=()=>{Z(!!w)},Ee=[w],e[33]=w,e[34]=$t,e[35]=Ee):($t=e[34],Ee=e[35]),I.useEffect($t,Ee);let Be,qt;e[36]!==x?(Be=()=>{x&&Q(x)},qt=[x],e[36]=x,e[37]=Be,e[38]=qt):(Be=e[37],qt=e[38]),I.useEffect(Be,qt);let ar;e[39]!==y?(ar=y&&{overflow:"hidden",maxHeight:"100%"},e[39]=y,e[40]=ar):ar=e[40];const hr=_?"none":"inherit";let ir;e[41]!==ar||e[42]!==hr?(ir={width:"100%",height:"100%",flex:"1 1 auto",...ar,pointerEvents:hr},e[41]=ar,e[42]=hr,e[43]=ir):ir=e[43];const cr=!!p;let kr;e[44]!==s||e[45]!==F||e[46]!==R||e[47]!==at||e[48]!==Et||e[49]!==_||e[50]!==d||e[51]!==H||e[52]!==n||e[53]!==f||e[54]!==o||e[55]!==b||e[56]!==Y||e[57]!==X||e[58]!==D||e[59]!==cr?(kr=a.jsx(Dqe,{rowsCount:o,order:H,orderBy:n,columns:s,onSort:d,rowActions:f,loading:_,selectable:b,disableSelectAll:R,selectedRows:X,selectedAllRows:Y,onSelectedAllRows:Et,fullColSpan:at,rowDetail:cr,stickyRowActions:D,dense:F}),e[44]=s,e[45]=F,e[46]=R,e[47]=at,e[48]=Et,e[49]=_,e[50]=d,e[51]=H,e[52]=n,e[53]=f,e[54]=o,e[55]=b,e[56]=Y,e[57]=X,e[58]=D,e[59]=cr,e[60]=kr):kr=e[60];let Rr;if(e[61]!==s||e[62]!==O||e[63]!==i||e[64]!==F||e[65]!==at||e[66]!==je||e[67]!==$e||e[68]!==ft||e[69]!==k||e[70]!==A||e[71]!==we||e[72]!==nt||e[73]!==Ne||e[74]!==_||e[75]!==U||e[76]!==p||e[77]!==u||e[78]!==b||e[79]!==Y||e[80]!==D||e[81]!==K||e[82]!==J||e[83]!==pe){let Ae;e[85]!==s||e[86]!==O||e[87]!==F||e[88]!==at||e[89]!==je||e[90]!==$e||e[91]!==ft||e[92]!==k||e[93]!==A||e[94]!==we||e[95]!==nt||e[96]!==Ne||e[97]!==_||e[98]!==U||e[99]!==p||e[100]!==u||e[101]!==b||e[102]!==Y||e[103]!==D||e[104]!==K||e[105]!==J||e[106]!==pe?(Ae=(ze,_t)=>{const jt=we(ze),Gt=O?O(ze):{};return a.jsxs(I.Fragment,{children:[a.jsxs(d_,{tabIndex:-1,"data-testid":`row-key-${ze[u]}`,selected:Ne(ze[u]),sx:{opacity:_?.5:1,transition:"opacity 300ms",...U&&{cursor:"pointer","&:hover":{backgroundColor:"divider"}},...k&&A&&{"&:last-child td":{borderBottomColor:"transparent"}},...Gt},onClick:()=>{U&&U(ze)},children:[p&&a.jsx(na,{padding:"checkbox",sx:{p:0,pl:.1,width:"48px",minWidth:"48px",position:"relative"},children:a.jsx(Zr,{size:F?"small":"medium",onClick:()=>{$e(ze[u])},disabled:jt,sx:{p:0,pl:.1,position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",borderRadius:0,...jt&&{opacity:.4}},children:nt(ze[u])?a.jsx(ge.Minus,{}):a.jsx(ge.Plus,{})})}),b&&a.jsx(na,{padding:"checkbox",children:a.jsx(da,{color:"primary",size:F?"small":"medium",checked:Ne(ze[u]),onChange:()=>ft(ze[u],ze),disabled:Y})}),s.map((Yt,Rt)=>a.jsx(na,{align:Yt.numeric?"right":"left",sx:{maxWidth:Yt.maxWidth?`${Yt.maxWidth}px`:"inherit",minWidth:Yt.minWidth?`${Yt.minWidth}px`:"inherit",width:Yt.width?`${Yt.width}px`:"inherit",wordBreak:Yt.wordBreak?Yt.wordBreak:"inherit",whiteSpace:Yt.whiteSpace?Yt.whiteSpace:"inherit",...F&&{py:0,pl:.5,pr:2}},children:Se(Yt,ze,_t)},`${String(Yt.key)}-${Rt}-${_t}`)),J||pe?a.jsx(na,{align:"right",sx:{...D&&{position:"sticky",backdropFilter:"blur(12px) !important",backgroundColor:`${br(K.palette.background.paper,.5)}`,borderLeft:"1px solid",borderLeftColor:"divider",right:0,px:1.5,py:0}},children:a.jsxs(te,{direction:"row",nowrap:!0,align:"center",justify:"flex-end",children:[J?.map((Yt,Rt)=>a.jsx(hae,{title:Yt.label,children:a.jsx("div",{children:a.jsx(Zr,{size:"small",onClick:()=>Yt.onClick(ze,_t),disabled:typeof Yt.disabled=="function"?Yt.disabled(ze,_t):Yt.disabled,children:Yt.icon})})},Rt)),!!pe?.length&&a.jsx(Zr,{size:"small",onClick:Yt=>je(Yt,ze,_t),children:a.jsx(ge.More,{size:24})})]})}):null]}),p&&!we(ze)&&a.jsx(d_,{children:a.jsx(na,{colSpan:at,sx:{p:0,borderBottom:0},children:a.jsx(Qb,{in:nt(ze[u]),children:a.jsx(gt,{sx:{p:F?1:2,pl:F?6:8,borderBottom:"1px solid",borderColor:"divider"},children:p.content(ze)})})})})]},`${ze[u]}-${_t}}`)},e[85]=s,e[86]=O,e[87]=F,e[88]=at,e[89]=je,e[90]=$e,e[91]=ft,e[92]=k,e[93]=A,e[94]=we,e[95]=nt,e[96]=Ne,e[97]=_,e[98]=U,e[99]=p,e[100]=u,e[101]=b,e[102]=Y,e[103]=D,e[104]=K,e[105]=J,e[106]=pe,e[107]=Ae):Ae=e[107],Rr=i.map(Ae),e[61]=s,e[62]=O,e[63]=i,e[64]=F,e[65]=at,e[66]=je,e[67]=$e,e[68]=ft,e[69]=k,e[70]=A,e[71]=we,e[72]=nt,e[73]=Ne,e[74]=_,e[75]=U,e[76]=p,e[77]=u,e[78]=b,e[79]=Y,e[80]=D,e[81]=K,e[82]=J,e[83]=pe,e[84]=Rr}else Rr=e[84];let Ut;e[108]!==s||e[109]!==i.length||e[110]!==_||e[111]!==f?.length||e[112]!==p||e[113]!==b?(Ut=!i.length&&_?$qe.map((Ae,ze)=>a.jsxs(d_,{children:[p&&a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}),b&&a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}),s.map((_t,jt)=>a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})},`${String(_t.key)}-${jt}-${ze}`)),f?.length?a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}):null]},`skeleton-${ze}`)):null,e[108]=s,e[109]=i.length,e[110]=_,e[111]=f?.length,e[112]=p,e[113]=b,e[114]=Ut):Ut=e[114];let fn;e[115]!==i.length||e[116]!==at||e[117]!==_||e[118]!==W?(fn=!i.length&&!_?a.jsx(d_,{children:a.jsx(na,{colSpan:at,sx:{p:2,border:0},children:a.jsx(Lr,{severity:"info",message:W,sx:{backgroundColor:"divider"}})})}):null,e[115]=i.length,e[116]=at,e[117]=_,e[118]=W,e[119]=fn):fn=e[119];let Zt;e[120]!==Rr||e[121]!==Ut||e[122]!==fn?(Zt=a.jsxs(rFe,{children:[Rr,Ut,fn]}),e[120]=Rr,e[121]=Ut,e[122]=fn,e[123]=Zt):Zt=e[123];let _r;e[124]!==y||e[125]!==kr||e[126]!==Zt?(_r=a.jsxs(Z9e,{stickyHeader:y,children:[kr,Zt]}),e[124]=y,e[125]=kr,e[126]=Zt,e[127]=_r):_r=e[127];let st;e[128]!==y||e[129]!==z||e[130]!==_r?(st=a.jsx(Eqe,{autoScale:y,ref:z,children:_r}),e[128]=y,e[129]=z,e[130]=_r,e[131]=st):st=e[131];let wt;e[132]!==N||e[133]!==i.length||e[134]!==xe||e[135]!==Le||e[136]!==k||e[137]!==A||e[138]!==j||e[139]!==_||e[140]!==l||e[141]!==o||e[142]!==c||e[143]!==T||e[144]!==b||e[145]!==Y||e[146]!==X||e[147]!==h?(wt=i.length>0&&a.jsx(Rqe,{customFooterComponent:N,selectable:b,selectedRows:X,selectedAllRows:Y,rowsCount:o,rowsPerPage:c,page:l,showFirstLastButton:h,hidePagination:k,hideRowsCount:A,onPageChange:xe,onRowsPerPageChange:Le,rowsPerPageOptions:T,labelDisplayedRows:j,loading:_}),e[132]=N,e[133]=i.length,e[134]=xe,e[135]=Le,e[136]=k,e[137]=A,e[138]=j,e[139]=_,e[140]=l,e[141]=o,e[142]=c,e[143]=T,e[144]=b,e[145]=Y,e[146]=X,e[147]=h,e[148]=wt):wt=e[148];let Pe;return e[149]!==ir||e[150]!==st||e[151]!==wt?(Pe=a.jsxs(gt,{sx:ir,children:[st,wt]}),e[149]=ir,e[150]=st,e[151]=wt,e[152]=Pe):Pe=e[152],Pe}function Oqe(t,e,r){const n=Tqe(e,t.key.toString()),s=typeof n>"u"||n===null;return t.cellRender?t.cellRender(e,r):s?"":a.jsx(_e,{type:"body2",children:`${n}`})}function Lqe(t){return t.wrapped}function Nqe(t){return!t.wrapped}function Fqe(){const t=he.c(19),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"aaa.status.radius.local_addr"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"local_addr",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"aaa.status.radius.local_port"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_port",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==i||t[9]!==l?(c=[i,l],t[8]=i,t[9]=l,t[10]=c):c=t[10];const u=c;let d;t[11]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(mb,{variant:"rounded",height:"100%",sx:{m:2}}),t[11]=d):d=t[11];let f;t[12]===Symbol.for("react.memo_cache_sentinel")?(f=a.jsx(en,{}),t[12]=f):f=t[12];let p;t[13]!==u||t[14]!==n.state?(p=h=>a.jsx(Br,{autoScale:!0,data:h||[],orderBy:"local_addr",page:0,loading:n.state!=="idle",rowsCount:h?.length,rowsPerPage:h?.length,rowKey:"local_addr",columns:u,hidePagination:!0}),t[13]=u,t[14]=n.state,t[15]=p):p=t[15];let m;return t[16]!==r.radiusStatus||t[17]!==p?(m=a.jsx(I.Suspense,{fallback:d,children:a.jsx(Qt,{resolve:r.radiusStatus,errorElement:f,children:p})}),t[16]=r.radiusStatus,t[17]=p,t[18]=m):m=t[18],m}const Uqe=async()=>{const t=`${$.apis.aaa.radius.status}`;return De({options:{url:t,method:"GET"}})};async function Bqe(t){return Wt({loaderArgs:t,deferred:!0,data:{radiusStatus:Uqe()}})}const yY=Pr();function zqe(t){const{dev:e,port:r,host:n,tos:s,name:i}=t;return{erlang:{distribution:{host:n,name:i,port:+r,...e!==""&&{dev:e},...s!==""&&{tos:+s}}}}}function qqe(t){const{dev:e,port:r,host:n,tos:s,name:i}=t.erlang.distribution;return{dev:e??"",port:+r,host:n,tos:s??"",name:i}}const Vqe=dr().shape({dev:We(),host:We().required(yY.formatMessage({id:"network_configuration.form.errors.required"})),name:We().required(yY.formatMessage({id:"network_configuration.form.errors.required"})),port:kn().required().min(1025).max(65535),tos:kn().min(0).max(255)}),Hqe=Pr(),Gqe=dr().shape({node:We().required(Hqe.formatMessage({id:"cluster.form.errors.required"})).strict(!0)}),Wqe=dr().shape({force:li()});function Yqe(t){const e=he.c(6);let r,n;e[0]!==t?({children:r,...n}=t,e[0]=t,e[1]=r,e[2]=n):(r=e[1],n=e[2]);let s;return e[3]!==r||e[4]!==n?(s=a.jsx(dne,{...n,children:r}),e[3]=r,e[4]=n,e[5]=s):s=e[5],s}function dt(t){const e=he.c(86);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g,y,b,x,w,C,k,A,P,T,j;e[0]!==t?({color:n,disabled:s,size:k,variant:j,label:u,error:i,fullWidth:o,helperText:l,multiline:f,name:p,value:T,placeholder:y,required:x,onChange:h,onKeyDown:_,onBlur:m,InputProps:r,tooltip:A,type:P,min:d,pattern:g,sx:C,inputProps:c,showPasswordVisibility:w,...b}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g,e[16]=y,e[17]=b,e[18]=x,e[19]=w,e[20]=C,e[21]=k,e[22]=A,e[23]=P,e[24]=T,e[25]=j):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15],y=e[16],b=e[17],x=e[18],w=e[19],C=e[20],k=e[21],A=e[22],P=e[23],T=e[24],j=e[25]);const R=k===void 0?"small":k,[D,O]=I.useState(!1);let N;e[26]!==D?(N=()=>{O(!D)},e[26]=D,e[27]=N):N=e[27];const F=N,U=iN(),z=!!f;let H;e[28]!==p?(H=p&&{"data-testid":`field-${p}`},e[28]=p,e[29]=H):H=e[29];let W;e[30]!==p?(W=p&&{"data-testid":`field-input-${p}`},e[30]=p,e[31]=W):W=e[31];let K;e[32]!==d||e[33]!==P?(K=P==="number"&&{step:"any",min:d},e[32]=d,e[33]=P,e[34]=K):K=e[34];let q;e[35]!==P?(q=P==="time"&&{step:"1"},e[35]=P,e[36]=q):q=e[36];let X;e[37]!==c||e[38]!==g||e[39]!==W||e[40]!==K||e[41]!==q?(X={...W,pattern:g,...K,...q,...c},e[37]=c,e[38]=g,e[39]=W,e[40]=K,e[41]=q,e[42]=X):X=e[42];const Q=U&&U,Y=D?void 0:P;let Z;e[43]!==r?.endAdornment||e[44]!==A?(Z=A&&{endAdornment:a.jsxs(gt,{sx:{display:"flex",alignItems:"center"},children:[r?.endAdornment,a.jsx(Mn,{title:A,arrow:!0,children:a.jsx("span",{children:a.jsx(ge.Info,{})})})]})},e[43]=r?.endAdornment,e[44]=A,e[45]=Z):Z=e[45];let re;e[46]!==F||e[47]!==p||e[48]!==D||e[49]!==w?(re=w&&{endAdornment:a.jsx(Yqe,{position:"end",children:a.jsx(Zr,{"data-testid":`field-${p}-button-showPassword`,"aria-label":"toggle password visibility",onClick:F,children:D?a.jsx(ge.PasswordHide,{}):a.jsx(ge.PasswordView,{})})})},e[46]=F,e[47]=p,e[48]=D,e[49]=w,e[50]=re):re=e[50];let fe;e[51]!==r||e[52]!==Y||e[53]!==Z||e[54]!==re||e[55]!==Q?(fe={...Q,type:Y,...Z,...re,...r},e[51]=r,e[52]=Y,e[53]=Z,e[54]=re,e[55]=Q,e[56]=fe):fe=e[56];let de;e[57]===Symbol.for("react.memo_cache_sentinel")?(de={opacity:.7},e[57]=de):de=e[57];let se;e[58]!==A?(se=A&&{".MuiAutocomplete-endAdornment":{position:"relative"},input:{width:"calc(100% - 40px)"}},e[58]=A,e[59]=se):se=e[59];let le;e[60]!==C||e[61]!==se?(le={...C,position:"relative",".Mui-disabled":de,...se},e[60]=C,e[61]=se,e[62]=le):le=e[62];let ee;return e[63]!==n||e[64]!==s||e[65]!==i||e[66]!==o||e[67]!==l||e[68]!==u||e[69]!==f||e[70]!==p||e[71]!==m||e[72]!==h||e[73]!==_||e[74]!==y||e[75]!==b||e[76]!==x||e[77]!==R||e[78]!==fe||e[79]!==le||e[80]!==z||e[81]!==H||e[82]!==X||e[83]!==T||e[84]!==j?(ee=a.jsx(k0,{...b,name:p,value:T,color:n,disabled:s,size:R,variant:j,label:u,error:i,fullWidth:o,helperText:l,multiline:z,maxRows:f,minRows:f,placeholder:y,required:x,onChange:h,onKeyDown:_,onBlur:m,...H,inputProps:X,InputProps:fe,sx:le}),e[63]=n,e[64]=s,e[65]=i,e[66]=o,e[67]=l,e[68]=u,e[69]=f,e[70]=p,e[71]=m,e[72]=h,e[73]=_,e[74]=y,e[75]=b,e[76]=x,e[77]=R,e[78]=fe,e[79]=le,e[80]=z,e[81]=H,e[82]=X,e[83]=T,e[84]=j,e[85]=ee):ee=e[85],ee}function xr(t){const e=he.c(68),{sx:r,expanded:n,disableGutters:s,square:i,title:o,content:l,onChange:c,spacing:u,reversedArrow:d,subtitle:f,actions:p,actionsComponent:m,elevation:h,error:_,unmountOnExit:g,modalElevation:y}=t,b=n===void 0?!1:n,x=s===void 0?!1:s,w=g===void 0?!1:g,[C,k]=I.useState(b),{menuOpen:A,menuClose:P}=Jt();let T;e[0]!==c?(T=(xe,qe)=>{c&&c(xe,qe),k(qe)},e[0]=c,e[1]=T):T=e[1];const j=T;let R;e[2]!==p||e[3]!==P||e[4]!==A?(R=xe=>{p&&(xe.stopPropagation(),A({anchorEl:xe.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:p.map(qe=>{const{label:Le,onClick:Te,disabled:je,icon:Ge}=qe;return{label:Le,value:Le,disabled:typeof je=="function"?je():je,icon:Ge,onClick:()=>{P(),Te()}}})}))},e[2]=p,e[3]=P,e[4]=A,e[5]=R):R=e[5];const D=R;let O,N;e[6]!==b?(O=()=>{k(b)},N=[b],e[6]=b,e[7]=O,e[8]=N):(O=e[7],N=e[8]),I.useEffect(O,N);let F,U;e[9]===Symbol.for("react.memo_cache_sentinel")?(F={display:"none !important"},U={width:"100%"},e[9]=F,e[10]=U):(F=e[9],U=e[10]);let z;e[11]!==_?(z=_&&{border:"2px solid",borderColor:"error.main"},e[11]=_,e[12]=z):z=e[12];let H;e[13]!==h||e[14]!==y?(H=h&&y&&{backgroundImage:xe=>xe.palette.mode==="dark"?`linear-gradient(${br("#fff",+hh(24+h*24))}, ${br("#fff",+hh(24+h*24))})`:"none"},e[13]=h,e[14]=y,e[15]=H):H=e[15];let W;e[16]!==r||e[17]!==z||e[18]!==H?(W={"&:before":F,"& .MuiAccordion-region":U,...z,...H,...r},e[16]=r,e[17]=z,e[18]=H,e[19]=W):W=e[19];let K;e[20]!==w?(K={transition:{unmountOnExit:w}},e[20]=w,e[21]=K):K=e[21];let q;e[22]!==d?(q=d&&{flexDirection:"row-reverse"},e[22]=d,e[23]=q):q=e[23];let X;e[24]!==q?(X={...q},e[24]=q,e[25]=X):X=e[25];let Q;e[26]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(ge.DownArrow,{}),e[26]=Q):Q=e[26];let Y;e[27]!==d?(Y=d&&{ml:2},e[27]=d,e[28]=Y):Y=e[28];let Z;e[29]!==Y?(Z={...Y},e[29]=Y,e[30]=Z):Z=e[30];let re;e[31]!==o?(re=typeof o=="string"?a.jsx(_e,{type:"subtitle1",color:"text.secondary",children:o}):o,e[31]=o,e[32]=re):re=e[32];let fe;e[33]!==f||e[34]!==Z||e[35]!==re?(fe=a.jsxs(te,{sx:Z,spacing:0,children:[re,f]}),e[33]=f,e[34]=Z,e[35]=re,e[36]=fe):fe=e[36];let de;e[37]!==p||e[38]!==m?(de=m&&a.jsx(gt,{sx:{flex:"0 0 auto",...!p&&{pr:2}},children:m}),e[37]=p,e[38]=m,e[39]=de):de=e[39];let se;e[40]!==p?.length||e[41]!==D||e[42]!==d?(se=!!p?.length&&a.jsx(gt,{sx:{flex:"0 0 auto",...!d&&{pr:2}},children:a.jsx(Zr,{component:"span",role:"button",onClick:D,children:a.jsx(ge.More,{})})}),e[40]=p?.length,e[41]=D,e[42]=d,e[43]=se):se=e[43];let le;e[44]!==de||e[45]!==se?(le=a.jsxs(te,{direction:"row",align:"center",children:[de,se]}),e[44]=de,e[45]=se,e[46]=le):le=e[46];let ee;e[47]!==fe||e[48]!==le?(ee=a.jsxs(te,{justify:"space-between",align:"center",fullWidth:!0,direction:"row",children:[fe,le]}),e[47]=fe,e[48]=le,e[49]=ee):ee=e[49];let J;e[50]!==X||e[51]!==ee?(J=a.jsx(dNe,{sx:X,expandIcon:Q,children:ee}),e[50]=X,e[51]=ee,e[52]=J):J=e[52];let me;e[53]!==l?(me=a.jsx(iNe,{children:l}),e[53]=l,e[54]=me):me=e[54];let pe;e[55]!==x||e[56]!==h||e[57]!==C||e[58]!==j||e[59]!==i||e[60]!==W||e[61]!==K||e[62]!==J||e[63]!==me?(pe=a.jsxs(tNe,{sx:W,disableGutters:x,expanded:C,onChange:j,square:i,elevation:h,slotProps:K,children:[J,me]}),e[55]=x,e[56]=h,e[57]=C,e[58]=j,e[59]=i,e[60]=W,e[61]=K,e[62]=J,e[63]=me,e[64]=pe):pe=e[64];const Se=pe;let ve;return e[65]!==Se||e[66]!==u?(ve=u?a.jsx("div",{children:Se}):Se,e[65]=Se,e[66]=u,e[67]=ve):ve=e[67],ve}function Jn(t){const e=he.c(17),{sx:r,spacing:n,children:s,exclusive:i}=t,o=n===void 0?0:n,l=i===void 0?!0:i,[c,u]=I.useState(null);let d,f;e[0]!==s||e[1]!==l?(d=()=>{l&&I.Children.forEach(s,(h,_)=>{h.props.expanded&&u(_)})},f=[s,l],e[0]=s,e[1]=l,e[2]=d,e[3]=f):(d=e[2],f=e[3]),I.useEffect(d,f);let p;if(e[4]!==s||e[5]!==l||e[6]!==c||e[7]!==o){let h;e[9]!==l||e[10]!==c||e[11]!==o?(h=(_,g)=>{let y={disableGutters:o?!0:!_.props.disableGutters,group:!0,spacing:o};return l&&(y={...y,expanded:c===g,onChange:(b,x)=>{_.props.onChange&&_.props.onChange(b,x),u(g)}}),I.cloneElement(_,y)},e[9]=l,e[10]=c,e[11]=o,e[12]=h):h=e[12],p=I.Children.map(s,h),e[4]=s,e[5]=l,e[6]=c,e[7]=o,e[8]=p}else p=e[8];let m;return e[13]!==o||e[14]!==r||e[15]!==p?(m=a.jsx(te,{sx:r,spacing:o,children:p}),e[13]=o,e[14]=r,e[15]=p,e[16]=m):m=e[16],m}function Kqe(t){const e=he.c(12),{nf:r}=t,n=Ye(),{dialogClose:s}=Jt(),{upsertFetcher:i}=Ys(),{submit:o,data:l,state:c}=i;let u;e[0]===Symbol.for("react.memo_cache_sentinel")?(u={force:!1},e[0]=u):u=e[0];let d;e[1]!==r||e[2]!==o?(d=m=>{const{force:h}=m;o({force:h},{method:"POST",encType:"application/json",action:`${r===ue.PLS?"platform":r}/cluster/leave-cluster`})},e[1]=r,e[2]=o,e[3]=d):d=e[3];let f;e[4]!==l||e[5]!==s||e[6]!==n||e[7]!==c?(f=()=>a.jsxs(_s,{children:[a.jsx(_e,{sx:{mb:1},children:n.formatMessage({id:"cluster.dialog.leave.description"})}),a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"force",children:m=>{const{field:h,form:_}=m,{setFieldValue:g}=_;return a.jsx(da,{size:"small",label:n.formatMessage({id:"cluster.dialog.leave.force"}),checked:h.value,onChange:(y,b)=>{g(h.name,b)}})}}),a.jsx(Xr,{data:l}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"cluster.dialog.leave.cancel"}),variant:"outlined",onClick:()=>s()}),a.jsx(Ze,{text:n.formatMessage({id:"cluster.dialog.leave.confirm"}),type:"submit",loading:c!=="idle"})]})]})})]}),e[4]=l,e[5]=s,e[6]=n,e[7]=c,e[8]=f):f=e[8];let p;return e[9]!==d||e[10]!==f?(p=a.jsx(Wr,{validationSchema:Wqe,initialValues:u,onSubmit:d,children:f}),e[9]=d,e[10]=f,e[11]=p):p=e[11],p}const Qqe=t=>{const e=he.c(50),{data:r,onClusterJoin:n,clusterJoinLoading:s,disabled:i,nf:o}=t,l=ci(),c=Ye(),{confirmationDialogOpen:u,confirmationDialogClose:d,popoverOpen:f,popoverClose:p,dialogOpen:m}=Jt();let h;e[0]!==d||e[1]!==u||e[2]!==c||e[3]!==p?(h=async(W,K)=>{const q=await W();Object.keys(q).length===0&&u({title:c.formatMessage({id:"cluster.dialog.join.title"}),alertMessage:c.formatMessage({id:"cluster.dialog.join.description"}),onCancel:d,onConfirm:()=>{p(),K()},severity:"danger",cancelButtonText:c.formatMessage({id:"cluster.dialog.join.cancel"}),continueButtonText:c.formatMessage({id:"cluster.dialog.join.confirm"})})},e[0]=d,e[1]=u,e[2]=c,e[3]=p,e[4]=h):h=e[4];const _=h;let g;e[5]!==m||e[6]!==c||e[7]!==o?(g=()=>{m({title:c.formatMessage({id:"cluster.dialog.leave.title"}),content:()=>a.jsx(Kqe,{nf:o})})},e[5]=m,e[6]=c,e[7]=o,e[8]=g):g=e[8];const y=g;let b;e[9]!==s||e[10]!==i||e[11]!==_||e[12]!==c||e[13]!==o||e[14]!==n||e[15]!==p||e[16]!==f?(b=W=>{const K=function(X){const{node:Q}=X;n&&n({node:`${o}@${Q}`})};f({anchorEl:W.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},content:()=>a.jsx(Wr,{onSubmit:K,initialValues:{node:""},validationSchema:Gqe,children:q=>{const{submitForm:X,validateForm:Q}=q;return a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{sx:{minWidth:"430px"},children:[a.jsx(Ke,{name:"node",children:Y=>{const{field:Z,meta:re}=Y;return a.jsx(a.Fragment,{children:a.jsx(dt,{...Z,label:c.formatMessage({id:"cluster.form.node"}),size:"small",error:!!re.error,helperText:re.error,disabled:i,placeholder:c.formatMessage({id:"cluster.form.node_placeholder"})})})}}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{variant:"outlined",type:"reset",size:"medium",disabled:!Ue(ie.configuration)||i,onClick:p,text:c.formatMessage({id:"cluster.buttons.cancel"})}),a.jsx(Ze,{type:"button",size:"medium",text:c.formatMessage({id:"cluster.buttons.join"}),onClick:()=>void _(Q,X),disabled:!Ue(ie.configuration)||i,loading:s})]})]})})}})})},e[9]=s,e[10]=i,e[11]=_,e[12]=c,e[13]=o,e[14]=n,e[15]=p,e[16]=f,e[17]=b):b=e[17];const x=b,w=Zqe,C=Xqe;let k;e[18]!==c?(k=c.formatMessage({id:"cluster.buttons.leave_cluster"}),e[18]=c,e[19]=k):k=e[19];const A=i||r.nodes.length===1;let P;e[20]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(ge.Shift,{}),e[20]=P):P=e[20];let T;e[21]!==y||e[22]!==k||e[23]!==A?(T=a.jsx(Ze,{variant:"outlined",text:k,onClick:y,disabled:A,startIcon:P}),e[21]=y,e[22]=k,e[23]=A,e[24]=T):T=e[24];let j;e[25]!==c?(j=c.formatMessage({id:"cluster.buttons.join_cluster"}),e[25]=c,e[26]=j):j=e[26];let R;e[27]===Symbol.for("react.memo_cache_sentinel")?(R=a.jsx(ge.Cluster,{}),e[27]=R):R=e[27];let D;e[28]!==s||e[29]!==i||e[30]!==x||e[31]!==j?(D=a.jsx(Ze,{text:j,startIcon:R,onClick:x,disabled:i,loading:s}),e[28]=s,e[29]=i,e[30]=x,e[31]=j,e[32]=D):D=e[32];let O;e[33]!==D||e[34]!==T?(O=a.jsx(hs,{children:a.jsxs(te,{direction:"row",spacing:1,justify:"flex-end",children:[T,D]})}),e[33]=D,e[34]=T,e[35]=O):O=e[35];let N;e[36]!==c?(N=c.formatMessage({id:"cluster.title"}),e[36]=c,e[37]=N):N=e[37];let F;e[38]!==r||e[39]!==c||e[40]!==l?(F=C(r).map(W=>{const K=W.repositories?.every(Jqe),q=W.repositories.reduce(eVe,0),X=W.repositories.reduce(tVe,0);return a.jsx(xr,{elevation:2,title:W.name,sx:{...!K&&{border:`1px solid ${l.palette.warning.main} !important`}},subtitle:a.jsxs(te,{direction:"row",align:"center",justify:"space-between",nowrap:!0,spacing:2,children:[a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[a.jsx(_e,{children:c.formatMessage({id:"cluster.status.repositories"})}),!!q&&a.jsx(bi,{label:`${q}`,status:nn.SUCCESS}),!!X&&a.jsx(bi,{label:`${X}`,status:nn.ERROR})]}),a.jsxs(te,{direction:"row",align:"center",children:[W.name===r.current_node&&a.jsx(ms,{label:c.formatMessage({id:"cluster.status.current_node"}),size:"small"}),!K&&a.jsx(Mn,{title:c.formatMessage({id:"cluster.status.repo_with_errors"}),children:a.jsx(gt,{sx:{color:"warning"},children:a.jsx(ge.StatusWarning,{})})})]})]}),content:a.jsxs(a.Fragment,{children:[!!W.repositories&&!!W.repositories.length&&a.jsx(te,{spacing:2,divided:!0,children:W.repositories.map(Q=>a.jsxs(te,{nowrap:!0,justify:"space-between",direction:"row",align:"center",children:[a.jsxs(te,{direction:"row",nowrap:!0,spacing:1,children:[a.jsx(bi,{label:Q.name,status:w(Q.status)}),Q.status==="ERROR"&&a.jsx(Mn,{title:"Repo has error!",children:a.jsx(gt,{sx:{color:"error"},children:a.jsx(ge.StatusError,{})})})]}),a.jsx(_e,{sx:{backgroundColor:Q.type==="CP"?l.palette.boy.light:l.palette.girl.light,color:Q.type==="CP"?l.palette.boy.contrastText:l.palette.girl.contrastText,fontWeight:"bold",fontSize:"12px",borderRadius:5,px:1},children:Q.type})]},Q.name))}),!W.repositories?.length&&a.jsx(Lr,{severity:"warning",title:c.formatMessage({id:"cluster.message.no_repo"})})]})},W.name)}),e[38]=r,e[39]=c,e[40]=l,e[41]=F):F=e[41];let U;e[42]!==F?(U=a.jsx(Kt,{children:a.jsx(Jn,{spacing:2,exclusive:!1,children:F})}),e[42]=F,e[43]=U):U=e[43];let z;e[44]!==N||e[45]!==U?(z=a.jsx(pr,{title:N,children:U}),e[44]=N,e[45]=U,e[46]=z):z=e[46];let H;return e[47]!==O||e[48]!==z?(H=a.jsxs(a.Fragment,{children:[O,z]}),e[47]=O,e[48]=z,e[49]=H):H=e[49],H};function Zqe(t){switch(t){case"UP":return nn.SUCCESS;case"DOWN":return nn.ERROR;case"ERROR":return nn.ERROR;default:return nn.DEFAULT}}function Xqe(t){const e=t.nodes.find(n=>n.name===t.current_node),r=t.nodes.filter(n=>n.name!==t.current_node);return e?[e,...r]:r}function Jqe(t){return t.status==="UP"}function eVe(t,e){return e.status==="UP"?t+1:t}function tVe(t,e){return e.status!=="UP"?t+1:t}function al(t){const e=he.c(4),{children:r,spacing:n,sx:s}=t,i=n===void 0?2:n;let o;return e[0]!==r||e[1]!==i||e[2]!==s?(o=a.jsx(ca,{container:!0,spacing:i,sx:s,children:r}),e[0]=r,e[1]=i,e[2]=s,e[3]=o):o=e[3],o}function Is(t){const e=he.c(5),{children:r,size:n,zeroMinWidth:s,sx:i}=t;let o;return e[0]!==r||e[1]!==n||e[2]!==i||e[3]!==s?(o=a.jsx(ca,{item:!0,...n,zeroMinWidth:s,sx:i,children:r}),e[0]=r,e[1]=n,e[2]=i,e[3]=s,e[4]=o):o=e[4],o}function rVe(t){const e=he.c(18),{data:r,onSubmit:n,error:s,disabled:i,loading:o}=t,l=Ye();let c;e[0]!==n?(c=_=>{n&&n(_)},e[0]=n,e[1]=c):c=e[1];const u=c;let d;e[2]!==l?(d=l.formatMessage({id:"network_configuration.fieldset"}),e[2]=l,e[3]=d):d=e[3];let f;e[4]!==r?(f=qqe(r),e[4]=r,e[5]=f):f=e[5];let p;e[6]!==i||e[7]!==s||e[8]!==l||e[9]!==o?(p=_=>{const{dirty:g}=_;return a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{direction:"column",spacing:2,align:"flex-start",children:[a.jsxs(al,{children:[a.jsx(Is,{size:{xs:12},children:a.jsx(Ke,{name:"name",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.name"}),size:"small",error:!!x.error,helperText:x.error,sx:{display:"none"}})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"host",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.host"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"port",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.port"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"dev",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.dev"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"tos",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.tos"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})})]}),a.jsx(Xr,{data:s,sx:{width:"100%"}}),a.jsx(Ze,{type:"submit",text:l.formatMessage({id:"network_configuration.buttons.persist_and_reboot"}),disabled:!Ue(ie.configuration)||i||!g,loading:o})]})})},e[6]=i,e[7]=s,e[8]=l,e[9]=o,e[10]=p):p=e[10];let m;e[11]!==u||e[12]!==f||e[13]!==p?(m=a.jsx(Kt,{children:a.jsx(Wr,{initialValues:f,validationSchema:Vqe,onSubmit:u,enableReinitialize:!0,children:p})}),e[11]=u,e[12]=f,e[13]=p,e[14]=m):m=e[14];let h;return e[15]!==d||e[16]!==m?(h=a.jsx(pr,{title:d,children:m}),e[15]=d,e[16]=m,e[17]=h):h=e[17],h}function nVe(){const t=he.c(18),e=Gr(),{submit:r,data:n,state:s}=gr(),{submit:i,state:o}=gr(),l=s!=="idle"||o!=="idle";let c;t[0]!==r?(c=y=>{r(zqe(y),{method:"PUT",encType:"application/json",action:"apply-boot-config"})},t[0]=r,t[1]=c):c=t[1];const u=c;let d;t[2]!==i?(d=y=>{const{node:b}=y;i({node:b},{method:"POST",encType:"application/json",action:"join-cluster"})},t[2]=i,t[3]=d):d=t[3];const f=d;let p;t[4]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(mb,{variant:"rounded",sx:{height:"267px"}}),t[4]=p):p=t[4];let m;t[5]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsxs(te,{spacing:2,children:[p,a.jsx(mb,{variant:"rounded",sx:{height:"187px"}})]}),t[5]=m):m=t[5];let h;t[6]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Tr,{}),t[6]=h):h=t[6];let _;t[7]!==n||t[8]!==s||t[9]!==o||t[10]!==l||t[11]!==u||t[12]!==f||t[13]!==e.clusterStatus?(_=y=>a.jsxs(te,{spacing:2,children:[a.jsx(rVe,{data:y,onSubmit:u,disabled:l,loading:s!=="idle",error:n}),a.jsx(I.Suspense,{fallback:a.jsx(mb,{variant:"rounded",sx:{height:"187px"}}),children:a.jsx(Qt,{resolve:e.clusterStatus,errorElement:a.jsx(Tr,{}),children:b=>a.jsx(a.Fragment,{children:b&&a.jsx(Qqe,{nf:y.erlang.distribution.name,data:b,onClusterJoin:f,clusterJoinLoading:o!=="idle",disabled:l})})})})]}),t[7]=n,t[8]=s,t[9]=o,t[10]=l,t[11]=u,t[12]=f,t[13]=e.clusterStatus,t[14]=_):_=t[14];let g;return t[15]!==e.bootConfig||t[16]!==_?(g=a.jsx(I.Suspense,{fallback:m,children:a.jsx(Qt,{resolve:e.bootConfig,errorElement:h,children:_})}),t[15]=e.bootConfig,t[16]=_,t[17]=g):g=t[17],g}async function sVe(t){const e=$.apis.boot_config(t);return De({options:{url:e,method:"GET"}})}async function iVe({nf:t,values:e}){const r=$.apis.boot_config(t);return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}function oVe(t){return async({request:e})=>{const r=await e.json(),n=await iVe({nf:t,values:r});return xt(n)?Ar():Nt(),Ft(n)}}function aVe(t,e={clusterStatus:!1}){return function(r){return Wt({deferred:!0,loaderArgs:r,data:{bootConfig:sVe(t),clusterStatus:e.clusterStatus?Iae({nf:t}):null}})}}const bY=Pr();function vr({to:t,labelIntl:e,labelIntlParams:r,icon:n,captionIntl:s,captionIntlParams:i}){return{breadcrumb:{to:t,label:bY.formatMessage({id:e},r),icon:n,...s&&{caption:bY.formatMessage({id:s},i)}}}}function so(t,e={dbCluster:!1}){const r=t===ue.PLS?"platform":t;return{path:"cluster",loader:aVe(t,{clusterStatus:e.dbCluster}),errorElement:a.jsx(Tr,{}),element:a.jsx(nVe,{},t),shouldRevalidate:({actionResult:n})=>!xt(n),handle:vr({labelIntl:`route.${r}.cluster`,to:`/${r}/path`}),children:[{path:"apply-boot-config",action:oVe(t),loader:()=>rt("..")},...e.dbCluster?[{path:"join-cluster",action:$ze(t),loader:()=>rt("..")},{path:"leave-cluster",action:Oze(t),loader:()=>rt("..")}]:[]]}}function bb(){return bb=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bb.apply(null,arguments)}var lp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"||typeof self<"u"?self:{};function Y0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var xY,SY={exports:{}};var jR,wY,CY,lVe=(xY||(xY=1,jR=SY,(function(){var t={}.hasOwnProperty;function e(){for(var r=[],n=0;n<arguments.length;n++){var s=arguments[n];if(s){var i=typeof s;if(i==="string"||i==="number")r.push(s);else if(Array.isArray(s)){if(s.length){var o=e.apply(null,s);o&&r.push(o)}}else if(i==="object")if(s.toString===Object.prototype.toString)for(var l in s)t.call(s,l)&&s[l]&&r.push(l);else r.push(s.toString())}}return r.join(" ")}jR.exports?(e.default=e,jR.exports=e):window.classNames=e})()),SY.exports),J6=Y0(lVe),AY,wc=Y0((function(){if(CY)return wY;CY=1;var t=/^\s+|\s+$/g,e=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,n=/^0o[0-7]+$/i,s=parseInt,i=Object.prototype.toString;function o(c){var u=typeof c;return!!c&&(u=="object"||u=="function")}function l(c){if(typeof c=="number")return c;if((function(f){return typeof f=="symbol"||(function(p){return!!p&&typeof p=="object"})(f)&&i.call(f)=="[object Symbol]"})(c))return NaN;if(o(c)){var u=typeof c.valueOf=="function"?c.valueOf():c;c=o(u)?u+"":u}if(typeof c!="string")return c===0?c:+c;c=c.replace(t,"");var d=r.test(c);return d||n.test(c)?s(c.slice(2),d?2:8):e.test(c)?NaN:+c}return wY=function(c,u,d){return d===void 0&&(d=u,u=void 0),d!==void 0&&(d=(d=l(d))==d?d:0),u!==void 0&&(u=(u=l(u))==u?u:0),(function(f,p,m){return f==f&&(m!==void 0&&(f=f<=m?f:m),p!==void 0&&(f=f>=p?f:p)),f})(l(c),u,d)}})()),TR={exports:{}},cVe=(AY||(AY=1,(function(t,e){var r="__lodash_hash_undefined__",n=9007199254740991,s="[object Arguments]",i="[object Array]",o="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",m="[object Promise]",h="[object RegExp]",_="[object Set]",g="[object String]",y="[object Symbol]",b="[object WeakMap]",x="[object ArrayBuffer]",w="[object DataView]",C=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,A={};A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A[s]=A[i]=A[x]=A[o]=A[w]=A[l]=A[c]=A[u]=A[d]=A[f]=A[p]=A[h]=A[_]=A[g]=A[b]=!1;var P=typeof lp=="object"&&lp&&lp.Object===Object&&lp,T=typeof self=="object"&&self&&self.Object===Object&&self,j=P||T||Function("return this")(),R=e&&!e.nodeType&&e,D=R&&t&&!t.nodeType&&t,O=D&&D.exports===R,N=O&&P.process,F=(function(){try{return N&&N.binding&&N.binding("util")}catch{}})(),U=F&&F.isTypedArray;function z(ke,He){for(var ut=-1,It=ke==null?0:ke.length;++ut<It;)if(He(ke[ut],ut,ke))return!0;return!1}function H(ke){var He=-1,ut=Array(ke.size);return ke.forEach(function(It,wr){ut[++He]=[wr,It]}),ut}function W(ke){var He=-1,ut=Array(ke.size);return ke.forEach(function(It){ut[++He]=It}),ut}var K,q,X,Q=Array.prototype,Y=Function.prototype,Z=Object.prototype,re=j["__core-js_shared__"],fe=Y.toString,de=Z.hasOwnProperty,se=(K=/[^.]+$/.exec(re&&re.keys&&re.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"",le=Z.toString,ee=RegExp("^"+fe.call(de).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),J=O?j.Buffer:void 0,me=j.Symbol,pe=j.Uint8Array,Se=Z.propertyIsEnumerable,ve=Q.splice,xe=me?me.toStringTag:void 0,qe=Object.getOwnPropertySymbols,Le=J?J.isBuffer:void 0,Te=(q=Object.keys,X=Object,function(ke){return q(X(ke))}),je=st(j,"DataView"),Ge=st(j,"Map"),nt=st(j,"Promise"),Re=st(j,"Set"),we=st(j,"WeakMap"),Me=st(Object,"create"),$e=ze(je),Ve=ze(Ge),Ne=ze(nt),Oe=ze(Re),ft=ze(we),Ct=me?me.prototype:void 0,Et=Ct?Ct.valueOf:void 0;function at(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function $t(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function Ee(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function Be(ke){var He=-1,ut=ke==null?0:ke.length;for(this.__data__=new Ee;++He<ut;)this.add(ke[He])}function qt(ke){var He=this.__data__=new $t(ke);this.size=He.size}function ar(ke,He){var ut=Gt(ke),It=!ut&&jt(ke),wr=!ut&&!It&&Yt(ke),Cr=!ut&&!It&&!wr&&ot(ke),sn=ut||It||wr||Cr,pn=sn?(function(Vr,Fr){for(var Qn=-1,Er=Array(Vr);++Qn<Vr;)Er[Qn]=Fr(Qn);return Er})(ke.length,String):[],jn=pn.length;for(var es in ke)!de.call(ke,es)||sn&&(es=="length"||wr&&(es=="offset"||es=="parent")||Cr&&(es=="buffer"||es=="byteLength"||es=="byteOffset")||Ae(es,jn))||pn.push(es);return pn}function hr(ke,He){for(var ut=ke.length;ut--;)if(_t(ke[ut][0],He))return ut;return-1}function ir(ke){return ke==null?ke===void 0?"[object Undefined]":"[object Null]":xe&&xe in Object(ke)?(function(He){var ut=de.call(He,xe),It=He[xe];try{He[xe]=void 0;var wr=!0}catch{}var Cr=le.call(He);return wr&&(ut?He[xe]=It:delete He[xe]),Cr})(ke):(function(He){return le.call(He)})(ke)}function cr(ke){return or(ke)&&ir(ke)==s}function kr(ke,He,ut,It,wr){return ke===He||(ke==null||He==null||!or(ke)&&!or(He)?ke!=ke&&He!=He:(function(Cr,sn,pn,jn,es,Vr){var Fr=Gt(Cr),Qn=Gt(sn),Er=Fr?i:Pe(Cr),on=Qn?i:Pe(sn),Ei=(Er=Er==s?p:Er)==p,ha=(on=on==s?p:on)==p,Zn=Er==on;if(Zn&&Yt(Cr)){if(!Yt(sn))return!1;Fr=!0,Ei=!1}if(Zn&&!Ei)return Vr||(Vr=new qt),Fr||ot(Cr)?fn(Cr,sn,pn,jn,es,Vr):(function(ns,Gn,Wu,zo,sf,$s,Ui){switch(Wu){case w:if(ns.byteLength!=Gn.byteLength||ns.byteOffset!=Gn.byteOffset)return!1;ns=ns.buffer,Gn=Gn.buffer;case x:return!(ns.byteLength!=Gn.byteLength||!$s(new pe(ns),new pe(Gn)));case o:case l:case f:return _t(+ns,+Gn);case c:return ns.name==Gn.name&&ns.message==Gn.message;case h:case g:return ns==Gn+"";case d:var Po=H;case _:var yl=1&zo;if(Po||(Po=W),ns.size!=Gn.size&&!yl)return!1;var co=Ui.get(ns);if(co)return co==Gn;zo|=2,Ui.set(ns,Gn);var jo=fn(Po(ns),Po(Gn),zo,sf,$s,Ui);return Ui.delete(ns),jo;case y:if(Et)return Et.call(ns)==Et.call(Gn)}return!1})(Cr,sn,Er,pn,jn,es,Vr);if(!(1&pn)){var Fi=Ei&&de.call(Cr,"__wrapped__"),lo=ha&&de.call(sn,"__wrapped__");if(Fi||lo){var Ki=Fi?Cr.value():Cr,Yp=lo?sn.value():sn;return Vr||(Vr=new qt),es(Ki,Yp,pn,jn,Vr)}}return!!Zn&&(Vr||(Vr=new qt),(function(ns,Gn,Wu,zo,sf,$s){var Ui=1&Wu,Po=Zt(ns),yl=Po.length,co=Zt(Gn),jo=co.length;if(yl!=jo&&!Ui)return!1;for(var Yu=yl;Yu--;){var To=Po[Yu];if(!(Ui?To in Gn:de.call(Gn,To)))return!1}var Wh=$s.get(ns);if(Wh&&$s.get(Gn))return Wh==Gn;var Ku=!0;$s.set(ns,Gn),$s.set(Gn,ns);for(var of=Ui;++Yu<yl;){var Yc=ns[To=Po[Yu]],af=Gn[To];if(zo)var Yh=Ui?zo(af,Yc,To,Gn,ns,$s):zo(Yc,af,To,ns,Gn,$s);if(!(Yh===void 0?Yc===af||sf(Yc,af,Wu,zo,$s):Yh)){Ku=!1;break}of||(of=To=="constructor")}if(Ku&&!of){var Va=ns.constructor,Eo=Gn.constructor;Va==Eo||!("constructor"in ns)||!("constructor"in Gn)||typeof Va=="function"&&Va instanceof Va&&typeof Eo=="function"&&Eo instanceof Eo||(Ku=!1)}return $s.delete(ns),$s.delete(Gn),Ku})(Cr,sn,pn,jn,es,Vr))})(ke,He,ut,It,kr,wr))}function Rr(ke){return!(!zt(ke)||(function(He){return!!se&&se in He})(ke))&&(Rt(ke)?ee:C).test(ze(ke))}function Ut(ke){if(ut=(He=ke)&&He.constructor,It=typeof ut=="function"&&ut.prototype||Z,He!==It)return Te(ke);var He,ut,It,wr=[];for(var Cr in Object(ke))de.call(ke,Cr)&&Cr!="constructor"&&wr.push(Cr);return wr}function fn(ke,He,ut,It,wr,Cr){var sn=1&ut,pn=ke.length,jn=He.length;if(pn!=jn&&!(sn&&jn>pn))return!1;var es=Cr.get(ke);if(es&&Cr.get(He))return es==He;var Vr=-1,Fr=!0,Qn=2&ut?new Be:void 0;for(Cr.set(ke,He),Cr.set(He,ke);++Vr<pn;){var Er=ke[Vr],on=He[Vr];if(It)var Ei=sn?It(on,Er,Vr,He,ke,Cr):It(Er,on,Vr,ke,He,Cr);if(Ei!==void 0){if(Ei)continue;Fr=!1;break}if(Qn){if(!z(He,function(ha,Zn){if(Fi=Zn,!Qn.has(Fi)&&(Er===ha||wr(Er,ha,ut,It,Cr)))return Qn.push(Zn);var Fi})){Fr=!1;break}}else if(Er!==on&&!wr(Er,on,ut,It,Cr)){Fr=!1;break}}return Cr.delete(ke),Cr.delete(He),Fr}function Zt(ke){return(function(He,ut,It){var wr=ut(He);return Gt(He)?wr:(function(Cr,sn){for(var pn=-1,jn=sn.length,es=Cr.length;++pn<jn;)Cr[es+pn]=sn[pn];return Cr})(wr,It(He))})(ke,ct,wt)}function _r(ke,He){var ut,It,wr=ke.__data__;return((It=typeof(ut=He))=="string"||It=="number"||It=="symbol"||It=="boolean"?ut!=="__proto__":ut===null)?wr[typeof He=="string"?"string":"hash"]:wr.map}function st(ke,He){var ut=(function(It,wr){return It?.[wr]})(ke,He);return Rr(ut)?ut:void 0}at.prototype.clear=function(){this.__data__=Me?Me(null):{},this.size=0},at.prototype.delete=function(ke){var He=this.has(ke)&&delete this.__data__[ke];return this.size-=He?1:0,He},at.prototype.get=function(ke){var He=this.__data__;if(Me){var ut=He[ke];return ut===r?void 0:ut}return de.call(He,ke)?He[ke]:void 0},at.prototype.has=function(ke){var He=this.__data__;return Me?He[ke]!==void 0:de.call(He,ke)},at.prototype.set=function(ke,He){var ut=this.__data__;return this.size+=this.has(ke)?0:1,ut[ke]=Me&&He===void 0?r:He,this},$t.prototype.clear=function(){this.__data__=[],this.size=0},$t.prototype.delete=function(ke){var He=this.__data__,ut=hr(He,ke);return!(ut<0||(ut==He.length-1?He.pop():ve.call(He,ut,1),--this.size,0))},$t.prototype.get=function(ke){var He=this.__data__,ut=hr(He,ke);return ut<0?void 0:He[ut][1]},$t.prototype.has=function(ke){return hr(this.__data__,ke)>-1},$t.prototype.set=function(ke,He){var ut=this.__data__,It=hr(ut,ke);return It<0?(++this.size,ut.push([ke,He])):ut[It][1]=He,this},Ee.prototype.clear=function(){this.size=0,this.__data__={hash:new at,map:new(Ge||$t),string:new at}},Ee.prototype.delete=function(ke){var He=_r(this,ke).delete(ke);return this.size-=He?1:0,He},Ee.prototype.get=function(ke){return _r(this,ke).get(ke)},Ee.prototype.has=function(ke){return _r(this,ke).has(ke)},Ee.prototype.set=function(ke,He){var ut=_r(this,ke),It=ut.size;return ut.set(ke,He),this.size+=ut.size==It?0:1,this},Be.prototype.add=Be.prototype.push=function(ke){return this.__data__.set(ke,r),this},Be.prototype.has=function(ke){return this.__data__.has(ke)},qt.prototype.clear=function(){this.__data__=new $t,this.size=0},qt.prototype.delete=function(ke){var He=this.__data__,ut=He.delete(ke);return this.size=He.size,ut},qt.prototype.get=function(ke){return this.__data__.get(ke)},qt.prototype.has=function(ke){return this.__data__.has(ke)},qt.prototype.set=function(ke,He){var ut=this.__data__;if(ut instanceof $t){var It=ut.__data__;if(!Ge||It.length<199)return It.push([ke,He]),this.size=++ut.size,this;ut=this.__data__=new Ee(It)}return ut.set(ke,He),this.size=ut.size,this};var wt=qe?function(ke){return ke==null?[]:(ke=Object(ke),(function(He,ut){for(var It=-1,wr=He==null?0:He.length,Cr=0,sn=[];++It<wr;){var pn=He[It];ut(pn,It,He)&&(sn[Cr++]=pn)}return sn})(qe(ke),function(He){return Se.call(ke,He)}))}:function(){return[]},Pe=ir;function Ae(ke,He){return!!(He=He??n)&&(typeof ke=="number"||k.test(ke))&&ke>-1&&ke%1==0&&ke<He}function ze(ke){if(ke!=null){try{return fe.call(ke)}catch{}try{return ke+""}catch{}}return""}function _t(ke,He){return ke===He||ke!=ke&&He!=He}(je&&Pe(new je(new ArrayBuffer(1)))!=w||Ge&&Pe(new Ge)!=d||nt&&Pe(nt.resolve())!=m||Re&&Pe(new Re)!=_||we&&Pe(new we)!=b)&&(Pe=function(ke){var He=ir(ke),ut=He==p?ke.constructor:void 0,It=ut?ze(ut):"";if(It)switch(It){case $e:return w;case Ve:return d;case Ne:return m;case Oe:return _;case ft:return b}return He});var jt=cr((function(){return arguments})())?cr:function(ke){return or(ke)&&de.call(ke,"callee")&&!Se.call(ke,"callee")},Gt=Array.isArray,Yt=Le||function(){return!1};function Rt(ke){if(!zt(ke))return!1;var He=ir(ke);return He==u||He=="[object GeneratorFunction]"||He=="[object AsyncFunction]"||He=="[object Proxy]"}function At(ke){return typeof ke=="number"&&ke>-1&&ke%1==0&&ke<=n}function zt(ke){var He=typeof ke;return ke!=null&&(He=="object"||He=="function")}function or(ke){return ke!=null&&typeof ke=="object"}var ot=U?(function(ke){return function(He){return ke(He)}})(U):function(ke){return or(ke)&&At(ke.length)&&!!A[ir(ke)]};function ct(ke){return(He=ke)!=null&&At(He.length)&&!Rt(He)?ar(ke):Ut(ke);var He}t.exports=function(ke,He){return kr(ke,He)}})(TR,TR.exports)),TR.exports),uVe=Y0(cVe);function kY(t,e,r){return t[e]?t[e][0]?t[e][0][r]:t[e][r]:e==="contentBoxSize"?t.contentRect[r==="inlineSize"?"width":"height"]:void 0}function dVe(t){t===void 0&&(t={});var e=t.onResize,r=I.useRef(void 0);r.current=e;var n=t.round||Math.round,s=I.useRef(),i=I.useState({width:void 0,height:void 0}),o=i[0],l=i[1],c=I.useRef(!1);I.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var u=I.useRef({width:void 0,height:void 0}),d=(function(f,p){var m=I.useRef(null),h=I.useRef(null);h.current=p;var _=I.useRef(null);I.useEffect(function(){g()});var g=I.useCallback(function(){var y=_.current,b=h.current,x=y||(b?b instanceof Element?b:b.current:null);m.current&&m.current.element===x&&m.current.subscriber===f||(m.current&&m.current.cleanup&&m.current.cleanup(),m.current={element:x,subscriber:f,cleanup:x?f(x):void 0})},[f]);return I.useEffect(function(){return function(){m.current&&m.current.cleanup&&(m.current.cleanup(),m.current=null)}},[]),I.useCallback(function(y){_.current=y,g()},[g])})(I.useCallback(function(f){return s.current&&s.current.box===t.box&&s.current.round===n||(s.current={box:t.box,round:n,instance:new ResizeObserver(function(p){var m=p[0],h=t.box==="border-box"?"borderBoxSize":t.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",_=kY(m,h,"inlineSize"),g=kY(m,h,"blockSize"),y=_?n(_):void 0,b=g?n(g):void 0;if(u.current.width!==y||u.current.height!==b){var x={width:y,height:b};u.current.width=y,u.current.height=b,r.current?r.current(x):c.current||l(x)}})}),s.current.instance.observe(f,{box:t.box}),function(){s.current&&s.current.instance.unobserve(f)}},[t.box,n]),t.ref);return I.useMemo(function(){return{ref:d,width:o.width,height:o.height}},[d,o.width,o.height])}var fVe="allotment-module_splitView__L-yRc",pVe="allotment-module_sashContainer__fzwJF",mVe="allotment-module_splitViewContainer__rQnVa",rle="allotment-module_splitViewView__MGZ6O",hVe="allotment-module_vertical__WSwwa",gVe="allotment-module_horizontal__7doS8",_Ve="allotment-module_separatorBorder__x-rDS";let ky,nle=!1,sle=!1;typeof navigator=="object"&&(ky=navigator.userAgent,sle=ky.indexOf("Macintosh")>=0,nle=(ky.indexOf("Macintosh")>=0||ky.indexOf("iPad")>=0||ky.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0);const ile=nle,vVe=sle,MY=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?I.useLayoutEffect:I.useEffect;let yVe=class{constructor(){this._size=void 0}getSize(){return this._size}setSize(e){this._size=e}};function C2(t,e){const r=t.length,n=r-e.length;return n>=0&&t.slice(n,r)===e}var PY,jY={exports:{}},TY,EY,bVe=(PY||(PY=1,(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}function s(c,u,d){this.fn=c,this.context=u,this.once=d||!1}function i(c,u,d,f,p){if(typeof d!="function")throw new TypeError("The listener must be a function");var m=new s(d,f||c,p),h=r?r+u:u;return c._events[h]?c._events[h].fn?c._events[h]=[c._events[h],m]:c._events[h].push(m):(c._events[h]=m,c._eventsCount++),c}function o(c,u){--c._eventsCount==0?c._events=new n:delete c._events[u]}function l(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),l.prototype.eventNames=function(){var c,u,d=[];if(this._eventsCount===0)return d;for(u in c=this._events)e.call(c,u)&&d.push(r?u.slice(1):u);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(c)):d},l.prototype.listeners=function(c){var u=r?r+c:c,d=this._events[u];if(!d)return[];if(d.fn)return[d.fn];for(var f=0,p=d.length,m=new Array(p);f<p;f++)m[f]=d[f].fn;return m},l.prototype.listenerCount=function(c){var u=r?r+c:c,d=this._events[u];return d?d.fn?1:d.length:0},l.prototype.emit=function(c,u,d,f,p,m){var h=r?r+c:c;if(!this._events[h])return!1;var _,g,y=this._events[h],b=arguments.length;if(y.fn){switch(y.once&&this.removeListener(c,y.fn,void 0,!0),b){case 1:return y.fn.call(y.context),!0;case 2:return y.fn.call(y.context,u),!0;case 3:return y.fn.call(y.context,u,d),!0;case 4:return y.fn.call(y.context,u,d,f),!0;case 5:return y.fn.call(y.context,u,d,f,p),!0;case 6:return y.fn.call(y.context,u,d,f,p,m),!0}for(g=1,_=new Array(b-1);g<b;g++)_[g-1]=arguments[g];y.fn.apply(y.context,_)}else{var x,w=y.length;for(g=0;g<w;g++)switch(y[g].once&&this.removeListener(c,y[g].fn,void 0,!0),b){case 1:y[g].fn.call(y[g].context);break;case 2:y[g].fn.call(y[g].context,u);break;case 3:y[g].fn.call(y[g].context,u,d);break;case 4:y[g].fn.call(y[g].context,u,d,f);break;default:if(!_)for(x=1,_=new Array(b-1);x<b;x++)_[x-1]=arguments[x];y[g].fn.apply(y[g].context,_)}}return!0},l.prototype.on=function(c,u,d){return i(this,c,u,d,!1)},l.prototype.once=function(c,u,d){return i(this,c,u,d,!0)},l.prototype.removeListener=function(c,u,d,f){var p=r?r+c:c;if(!this._events[p])return this;if(!u)return o(this,p),this;var m=this._events[p];if(m.fn)m.fn!==u||f&&!m.once||d&&m.context!==d||o(this,p);else{for(var h=0,_=[],g=m.length;h<g;h++)(m[h].fn!==u||f&&!m[h].once||d&&m[h].context!==d)&&_.push(m[h]);_.length?this._events[p]=_.length===1?_[0]:_:o(this,p)}return this},l.prototype.removeAllListeners=function(c){var u;return c?(u=r?r+c:c,this._events[u]&&o(this,u)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(jY)),jY.exports),gN=Y0(bVe);function RY(t,e){const r=t.indexOf(e);r>-1&&(t.splice(r,1),t.unshift(e))}function ER(t,e){const r=t.indexOf(e);r>-1&&(t.splice(r,1),t.push(e))}function Il(t,e,r=1){const n=Math.max(0,Math.ceil((e-t)/r)),s=new Array(n);let i=-1;for(;++i<n;)s[i]=t+i*r;return s}var xVe=Y0((function(){if(EY)return TY;EY=1;var t=/^\s+|\s+$/g,e=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,n=/^0o[0-7]+$/i,s=parseInt,i=typeof lp=="object"&&lp&&lp.Object===Object&&lp,o=typeof self=="object"&&self&&self.Object===Object&&self,l=i||o||Function("return this")(),c=Object.prototype.toString,u=Math.max,d=Math.min,f=function(){return l.Date.now()};function p(h){var _=typeof h;return!!h&&(_=="object"||_=="function")}function m(h){if(typeof h=="number")return h;if((function(y){return typeof y=="symbol"||(function(b){return!!b&&typeof b=="object"})(y)&&c.call(y)=="[object Symbol]"})(h))return NaN;if(p(h)){var _=typeof h.valueOf=="function"?h.valueOf():h;h=p(_)?_+"":_}if(typeof h!="string")return h===0?h:+h;h=h.replace(t,"");var g=r.test(h);return g||n.test(h)?s(h.slice(2),g?2:8):e.test(h)?NaN:+h}return TY=function(h,_,g){var y,b,x,w,C,k,A=0,P=!1,T=!1,j=!0;if(typeof h!="function")throw new TypeError("Expected a function");function R(U){var z=y,H=b;return y=b=void 0,A=U,w=h.apply(H,z)}function D(U){var z=U-k;return k===void 0||z>=_||z<0||T&&U-A>=x}function O(){var U=f();if(D(U))return N(U);C=setTimeout(O,(function(z){var H=_-(z-k);return T?d(H,x-(z-A)):H})(U))}function N(U){return C=void 0,j&&y?R(U):(y=b=void 0,w)}function F(){var U=f(),z=D(U);if(y=arguments,b=this,k=U,z){if(C===void 0)return(function(H){return A=H,C=setTimeout(O,_),P?R(H):w})(k);if(T)return C=setTimeout(O,_),R(k)}return C===void 0&&(C=setTimeout(O,_)),w}return _=m(_)||0,p(g)&&(P=!!g.leading,x=(T="maxWait"in g)?u(m(g.maxWait)||0,_):x,j="trailing"in g?!!g.trailing:j),F.cancel=function(){C!==void 0&&clearTimeout(C),A=0,y=k=b=C=void 0},F.flush=function(){return C===void 0?w:N(f())},F}})()),SVe="sash-module_sash__K-9lB",wVe="sash-module_disabled__Hm-wx",CVe="sash-module_mac__Jf6OJ",IY="sash-module_vertical__pB-rs",AVe="sash-module_minimum__-UKxp",kVe="sash-module_maximum__TCWxD",DY="sash-module_horizontal__kFbiw",RR="sash-module_hover__80W6I",IR="sash-module_active__bJspD";let Vl=(function(t){return t.Vertical="VERTICAL",t.Horizontal="HORIZONTAL",t})({}),rl=(function(t){return t.Disabled="DISABLED",t.Minimum="MINIMUM",t.Maximum="MAXIMUM",t.Enabled="ENABLED",t})({}),ole=ile?20:8;const ale=new gN;let $Y=class extends gN{get state(){return this._state}set state(e){this._state!==e&&(this.el.classList.toggle(wVe,e===rl.Disabled),this.el.classList.toggle("sash-disabled",e===rl.Disabled),this.el.classList.toggle(AVe,e===rl.Minimum),this.el.classList.toggle("sash-minimum",e===rl.Minimum),this.el.classList.toggle(kVe,e===rl.Maximum),this.el.classList.toggle("sash-maximum",e===rl.Maximum),this._state=e,this.emit("enablementChange",e))}constructor(e,r,n){var s;super(),this.el=void 0,this.layoutProvider=void 0,this.orientation=void 0,this.size=void 0,this.hoverDelay=300,this.hoverDelayer=xVe(i=>i.classList.add("sash-hover",RR),this.hoverDelay),this._state=rl.Enabled,this.onPointerStart=i=>{const o=i.pageX,l=i.pageY,c={startX:o,currentX:o,startY:l,currentY:l};this.el.classList.add("sash-active",IR),this.emit("start",c),this.el.setPointerCapture(i.pointerId);const u=f=>{f.preventDefault();const p={startX:o,currentX:f.pageX,startY:l,currentY:f.pageY};this.emit("change",p)},d=f=>{f.preventDefault(),this.el.classList.remove("sash-active",IR),this.hoverDelayer.cancel(),this.emit("end"),this.el.releasePointerCapture(f.pointerId),window.removeEventListener("pointermove",u),window.removeEventListener("pointerup",d)};window.addEventListener("pointermove",u),window.addEventListener("pointerup",d)},this.onPointerDoublePress=()=>{this.emit("reset")},this.onMouseEnter=()=>{this.el.classList.contains(IR)?(this.hoverDelayer.cancel(),this.el.classList.add("sash-hover",RR)):this.hoverDelayer(this.el)},this.onMouseLeave=()=>{this.hoverDelayer.cancel(),this.el.classList.remove("sash-hover",RR)},this.el=document.createElement("div"),this.el.classList.add("sash",SVe),this.el.dataset.testid="sash",e.append(this.el),vVe&&this.el.classList.add("sash-mac",CVe),this.el.addEventListener("pointerdown",this.onPointerStart),this.el.addEventListener("dblclick",this.onPointerDoublePress),this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("mouseleave",this.onMouseLeave),typeof n.size=="number"?(this.size=n.size,n.orientation===Vl.Vertical?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=ole,ale.on("onDidChangeGlobalSize",i=>{this.size=i,this.layout()})),this.layoutProvider=r,this.orientation=(s=n.orientation)!=null?s:Vl.Vertical,this.orientation===Vl.Horizontal?(this.el.classList.add("sash-horizontal",DY),this.el.classList.remove("sash-vertical",IY)):(this.el.classList.remove("sash-horizontal",DY),this.el.classList.add("sash-vertical",IY)),this.layout()}layout(){if(this.orientation===Vl.Vertical){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}dispose(){this.el.removeEventListener("pointerdown",this.onPointerStart),this.el.removeEventListener("dblclick",this.onPointerDoublePress),this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("mouseleave",()=>this.onMouseLeave),this.el.remove()}},$C;var DR;(DR=$C||($C={})).Distribute={type:"distribute"},DR.Split=function(t){return{type:"split",index:t}},DR.Invisible=function(t){return{type:"invisible",cachedVisibleSize:t}};let Ul=(function(t){return t.Normal="NORMAL",t.Low="LOW",t.High="HIGH",t})({}),lle=class{constructor(e,r,n){this.container=void 0,this.view=void 0,this._size=void 0,this._cachedVisibleSize=void 0,this.container=e,this.view=r,this.container.classList.add("split-view-view",rle),this.container.dataset.testid="split-view-view",typeof n=="number"?(this._size=n,this._cachedVisibleSize=void 0,e.classList.add("split-view-view-visible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get priority(){return this.view.priority}get snap(){return!!this.view.snap}get cachedVisibleSize(){return this._cachedVisibleSize}get visible(){return this._cachedVisibleSize===void 0}setVisible(e,r){e!==this.visible&&(e?(this.size=wc(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof r=="number"?r:this.size,this.size=0),this.container.classList.toggle("split-view-view-visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e){this.layoutContainer(e),this.view.layout(this.size,e)}},MVe=class extends lle{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}},PVe=class extends lle{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}},jVe=class extends gN{get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}constructor(e,r={},n,s,i){var o,l;if(super(),this.onDidChange=void 0,this.onDidDragStart=void 0,this.onDidDragEnd=void 0,this.orientation=void 0,this.sashContainer=void 0,this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.sashDragState=void 0,this.proportionalLayout=void 0,this.getSashOrthogonalSize=void 0,this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onSashEnd=c=>{this.emit("sashchange",c),this.saveProportions();for(const u of this.viewItems)u.enabled=!0},this.orientation=(o=r.orientation)!=null?o:Vl.Vertical,this.proportionalLayout=(l=r.proportionalLayout)!=null?l:!0,this.getSashOrthogonalSize=r.getSashOrthogonalSize,n&&(this.onDidChange=n),s&&(this.onDidDragStart=s),i&&(this.onDidDragEnd=i),this.sashContainer=document.createElement("div"),this.sashContainer.classList.add("sash-container",pVe),e.prepend(this.sashContainer),r.descriptor){this.size=r.descriptor.size;for(const[c,u]of r.descriptor.views.entries()){const d=u.size,f=u.container,p=u.view;this.addView(f,p,d,c,!0)}this.contentSize=this.viewItems.reduce((c,u)=>c+u.size,0),this.saveProportions()}}addView(e,r,n,s=this.viewItems.length,i){let o;o=typeof n=="number"?n:n.type==="split"?this.getViewSize(n.index)/2:n.type==="invisible"?{cachedVisibleSize:n.cachedVisibleSize}:r.minimumSize;const l=this.orientation===Vl.Vertical?new PVe(e,r,o):new MVe(e,r,o);if(this.viewItems.splice(s,0,l),this.viewItems.length>1){const c=this.orientation===Vl.Vertical?new $Y(this.sashContainer,{getHorizontalSashTop:f=>this.getSashPosition(f),getHorizontalSashWidth:this.getSashOrthogonalSize},{orientation:Vl.Horizontal}):new $Y(this.sashContainer,{getVerticalSashLeft:f=>this.getSashPosition(f),getVerticalSashHeight:this.getSashOrthogonalSize},{orientation:Vl.Vertical}),u=this.orientation===Vl.Vertical?f=>({sash:c,start:f.startY,current:f.currentY}):f=>({sash:c,start:f.startX,current:f.currentX});c.on("start",f=>{var p;this.emit("sashDragStart"),this.onSashStart(u(f));const m=this.viewItems.map(h=>h.size);(p=this.onDidDragStart)==null||p.call(this,m)}),c.on("change",f=>this.onSashChange(u(f))),c.on("end",()=>{var f;this.emit("sashDragEnd"),this.onSashEnd(this.sashItems.findIndex(m=>m.sash===c));const p=this.viewItems.map(m=>m.size);(f=this.onDidDragEnd)==null||f.call(this,p)}),c.on("reset",()=>{const f=this.sashItems.findIndex(g=>g.sash===c),p=Il(f,-1,-1),m=Il(f+1,this.viewItems.length),h=this.findFirstSnapIndex(p),_=this.findFirstSnapIndex(m);(typeof h!="number"||this.viewItems[h].visible)&&(typeof _!="number"||this.viewItems[_].visible)&&this.emit("sashreset",f)});const d={sash:c};this.sashItems.splice(s-1,0,d)}i||this.relayout(),i||typeof n=="number"||n.type!=="distribute"||this.distributeViewSizes()}removeView(e,r){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");const n=this.viewItems.splice(e,1)[0].view;if(this.viewItems.length>=1){const s=Math.max(e-1,0);this.sashItems.splice(s,1)[0].sash.dispose()}return this.relayout(),r&&r.type==="distribute"&&this.distributeViewSizes(),n}moveView(e,r,n){const s=this.getViewCachedVisibleSize(r),i=s===void 0?this.getViewSize(r):$C.Invisible(s),o=this.removeView(r);this.addView(e,o,i,n)}getViewCachedVisibleSize(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].cachedVisibleSize}layout(e=this.size){const r=Math.max(this.size,this.contentSize);if(this.size=e,this.proportions)for(let n=0;n<this.viewItems.length;n++){const s=this.viewItems[n];s.size=wc(Math.round(this.proportions[n]*e),s.minimumSize,s.maximumSize)}else{const n=Il(0,this.viewItems.length),s=n.filter(o=>this.viewItems[o].priority===Ul.Low),i=n.filter(o=>this.viewItems[o].priority===Ul.High);this.resize(this.viewItems.length-1,e-r,void 0,s,i)}this.distributeEmptySpace(),this.layoutViews()}resizeView(e,r){if(e<0||e>=this.viewItems.length)return;const n=Il(0,this.viewItems.length).filter(l=>l!==e),s=[...n.filter(l=>this.viewItems[l].priority===Ul.Low),e],i=n.filter(l=>this.viewItems[l].priority===Ul.High),o=this.viewItems[e];r=Math.round(r),r=wc(r,o.minimumSize,Math.min(o.maximumSize,this.size)),o.size=r,this.relayout(s,i)}resizeViews(e){for(let r=0;r<e.length;r++){const n=this.viewItems[r];let s=e[r];s=Math.round(s),s=wc(s,n.minimumSize,Math.min(n.maximumSize,this.size)),n.size=s}this.contentSize=this.viewItems.reduce((r,n)=>r+n.size,0),this.saveProportions(),this.layout(this.size)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}isViewVisible(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].visible}setViewVisible(e,r){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");this.viewItems[e].setVisible(r),this.distributeEmptySpace(e),this.layoutViews(),this.saveProportions()}distributeViewSizes(){const e=[];let r=0;for(const l of this.viewItems)l.maximumSize-l.minimumSize>0&&(e.push(l),r+=l.size);const n=Math.floor(r/e.length);for(const l of e)l.size=wc(n,l.minimumSize,l.maximumSize);const s=Il(0,this.viewItems.length),i=s.filter(l=>this.viewItems[l].priority===Ul.Low),o=s.filter(l=>this.viewItems[l].priority===Ul.High);this.relayout(i,o)}dispose(){this.sashItems.forEach(e=>e.sash.dispose()),this.sashItems=[],this.sashContainer.remove()}relayout(e,r){const n=this.viewItems.reduce((s,i)=>s+i.size,0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,r),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}onSashStart({sash:e,start:r}){const n=this.sashItems.findIndex(s=>s.sash===e);(s=>{const i=this.viewItems.map(b=>b.size);let o,l,c=Number.NEGATIVE_INFINITY,u=Number.POSITIVE_INFINITY;const d=Il(n,-1,-1),f=Il(n+1,this.viewItems.length),p=d.reduce((b,x)=>b+(this.viewItems[x].minimumSize-i[x]),0),m=d.reduce((b,x)=>b+(this.viewItems[x].viewMaximumSize-i[x]),0),h=f.length===0?Number.POSITIVE_INFINITY:f.reduce((b,x)=>b+(i[x]-this.viewItems[x].minimumSize),0),_=f.length===0?Number.NEGATIVE_INFINITY:f.reduce((b,x)=>b+(i[x]-this.viewItems[x].viewMaximumSize),0);c=Math.max(p,_),u=Math.min(h,m);const g=this.findFirstSnapIndex(d),y=this.findFirstSnapIndex(f);if(typeof g=="number"){const b=this.viewItems[g],x=Math.floor(b.viewMinimumSize/2);o={index:g,limitDelta:b.visible?c-x:c+x,size:b.size}}if(typeof y=="number"){const b=this.viewItems[y],x=Math.floor(b.viewMinimumSize/2);l={index:y,limitDelta:b.visible?u+x:u-x,size:b.size}}this.sashDragState={start:s,current:s,index:n,sizes:i,minDelta:c,maxDelta:u,snapBefore:o,snapAfter:l}})(r)}onSashChange({current:e}){const{index:r,start:n,sizes:s,minDelta:i,maxDelta:o,snapBefore:l,snapAfter:c}=this.sashDragState;this.sashDragState.current=e;const u=e-n;this.resize(r,u,s,void 0,void 0,i,o,l,c),this.distributeEmptySpace(),this.layoutViews()}getSashPosition(e){let r=0;for(let n=0;n<this.sashItems.length;n++)if(r+=this.viewItems[n].size,this.sashItems[n].sash===e)return r;return 0}resize(e,r,n=this.viewItems.map(d=>d.size),s,i,o=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY,c,u){if(e<0||e>=this.viewItems.length)return 0;const d=Il(e,-1,-1),f=Il(e+1,this.viewItems.length);if(i)for(const A of i)RY(d,A),RY(f,A);if(s)for(const A of s)ER(d,A),ER(f,A);const p=d.map(A=>this.viewItems[A]),m=d.map(A=>n[A]),h=f.map(A=>this.viewItems[A]),_=f.map(A=>n[A]),g=d.reduce((A,P)=>A+(this.viewItems[P].minimumSize-n[P]),0),y=d.reduce((A,P)=>A+(this.viewItems[P].maximumSize-n[P]),0),b=f.length===0?Number.POSITIVE_INFINITY:f.reduce((A,P)=>A+(n[P]-this.viewItems[P].minimumSize),0),x=f.length===0?Number.NEGATIVE_INFINITY:f.reduce((A,P)=>A+(n[P]-this.viewItems[P].maximumSize),0),w=Math.max(g,x,o),C=Math.min(b,y,l);let k=!1;if(c){const A=this.viewItems[c.index],P=r>=c.limitDelta;k=P!==A.visible,A.setVisible(P,c.size)}if(!k&&u){const A=this.viewItems[u.index],P=r<u.limitDelta;k=P!==A.visible,A.setVisible(P,u.size)}if(k)return this.resize(e,r,n,s,i,o,l);for(let A=0,P=r=wc(r,w,C);A<p.length;A++){const T=p[A],j=wc(m[A]+P,T.minimumSize,T.maximumSize);P-=j-m[A],T.size=j}for(let A=0,P=r;A<h.length;A++){const T=h[A],j=wc(_[A]-P,T.minimumSize,T.maximumSize);P+=j-_[A],T.size=j}return r}distributeEmptySpace(e){const r=this.viewItems.reduce((u,d)=>u+d.size,0);let n=this.size-r;const s=Il(0,this.viewItems.length),i=[],o=s.filter(u=>this.viewItems[u].priority===Ul.Low),l=s.filter(u=>this.viewItems[u].priority===Ul.Normal),c=s.filter(u=>this.viewItems[u].priority===Ul.High);i.push(...c,...l,...o),typeof e=="number"&&ER(i,e);for(let u=0;n!==0&&u<i.length;u++){const d=this.viewItems[i[u]],f=wc(d.size+n,d.minimumSize,d.maximumSize);n-=f-d.size,d.size=f}}layoutViews(){var e;this.contentSize=this.viewItems.reduce((n,s)=>n+s.size,0);let r=0;for(const n of this.viewItems)n.layout(r),r+=n.size;(e=this.onDidChange)!=null&&e.call(this,this.viewItems.map(n=>n.size)),this.sashItems.forEach(n=>n.sash.layout()),this.updateSashEnablement()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(e=>e.size/this.contentSize))}updateSashEnablement(){let e=!1;const r=this.viewItems.map(c=>e=c.size-c.minimumSize>0||e);e=!1;const n=this.viewItems.map(c=>e=c.maximumSize-c.size>0||e),s=[...this.viewItems].reverse();e=!1;const i=s.map(c=>e=c.size-c.minimumSize>0||e).reverse();e=!1;const o=s.map(c=>e=c.maximumSize-c.size>0||e).reverse();let l=0;for(let c=0;c<this.sashItems.length;c++){const{sash:u}=this.sashItems[c];l+=this.viewItems[c].size;const d=!(r[c]&&o[c+1]),f=!(n[c]&&i[c+1]);if(d&&f){const p=Il(c,-1,-1),m=Il(c+1,this.viewItems.length),h=this.findFirstSnapIndex(p),_=this.findFirstSnapIndex(m),g=typeof h=="number"&&!this.viewItems[h].visible,y=typeof _=="number"&&!this.viewItems[_].visible;g&&i[c]&&(l>0||this.startSnappingEnabled)?u.state=rl.Minimum:y&&r[c]&&(l<this.contentSize||this.endSnappingEnabled)?u.state=rl.Maximum:u.state=rl.Disabled}else u.state=d&&!f?rl.Minimum:!d&&f?rl.Maximum:rl.Enabled}}findFirstSnapIndex(e){for(const r of e){const n=this.viewItems[r];if(n.visible&&n.snap)return r}for(const r of e){const n=this.viewItems[r];if(n.visible&&n.maximumSize-n.minimumSize>0)return;if(!n.visible&&n.snap)return r}}},Vg=class{constructor(e){this.size=void 0,this.size=e}getPreferredSize(){return this.size}},OY=class{constructor(e,r){this.proportion=void 0,this.layoutService=void 0,this.proportion=e,this.layoutService=r}getPreferredSize(){return this.proportion*this.layoutService.getSize()}},A2=class{getPreferredSize(){}},LY=class{get preferredSize(){return this.layoutStrategy.getPreferredSize()}set preferredSize(e){if(typeof e=="number")this.layoutStrategy=new Vg(e);else if(typeof e=="string"){const r=e.trim();if(C2(r,"%")){const n=Number(r.slice(0,-1))/100;this.layoutStrategy=new OY(n,this.layoutService)}else if(C2(r,"px")){const n=Number(r.slice(0,-2))/100;this.layoutStrategy=new Vg(n)}else if(typeof Number.parseFloat(r)=="number"){const n=Number.parseFloat(r);this.layoutStrategy=new Vg(n)}else this.layoutStrategy=new A2}else this.layoutStrategy=new A2}constructor(e,r){var n;if(this.minimumSize=0,this.maximumSize=Number.POSITIVE_INFINITY,this.element=void 0,this.priority=void 0,this.snap=void 0,this.layoutService=void 0,this.layoutStrategy=void 0,this.layoutService=e,this.element=r.element,this.minimumSize=typeof r.minimumSize=="number"?r.minimumSize:30,this.maximumSize=typeof r.maximumSize=="number"?r.maximumSize:Number.POSITIVE_INFINITY,typeof r.preferredSize=="number")this.layoutStrategy=new Vg(r.preferredSize);else if(typeof r.preferredSize=="string"){const s=r.preferredSize.trim();if(C2(s,"%")){const i=Number(s.slice(0,-1))/100;this.layoutStrategy=new OY(i,this.layoutService)}else if(C2(s,"px")){const i=Number(s.slice(0,-2));this.layoutStrategy=new Vg(i)}else if(typeof Number.parseFloat(s)=="number"){const i=Number.parseFloat(s);this.layoutStrategy=new Vg(i)}else this.layoutStrategy=new A2}else this.layoutStrategy=new A2;this.priority=(n=r.priority)!=null?n:Ul.Normal,this.snap=typeof r.snap=="boolean"&&r.snap}layout(e){}};function NY(t){return t.minSize!==void 0||t.maxSize!==void 0||t.preferredSize!==void 0||t.priority!==void 0||t.visible!==void 0}const _N=I.forwardRef(({className:t,children:e},r)=>Yn.createElement("div",{ref:r,className:J6("split-view-view",rle,t)},e));_N.displayName="Allotment.Pane";const cle=I.forwardRef(({children:t,className:e,id:r,maxSize:n=1/0,minSize:s=30,proportionalLayout:i=!0,separator:o=!0,sizes:l,defaultSizes:c=l,snap:u=!1,vertical:d=!1,onChange:f,onReset:p,onVisibleChange:m,onDragStart:h,onDragEnd:_},g)=>{const y=I.useRef(null),b=I.useRef([]),x=I.useRef(new Map),w=I.useRef(null),C=I.useRef(new Map),k=I.useRef(new yVe),A=I.useRef([]),[P,T]=I.useState(!1),j=I.useMemo(()=>Yn.Children.toArray(t).filter(Yn.isValidElement),[t]),R=I.useCallback(D=>{var O,N;const F=(O=A.current)==null?void 0:O[D];return typeof F?.preferredSize=="number"&&((N=w.current)!=null&&N.resizeView(D,Math.round(F.preferredSize)),!0)},[]);return I.useImperativeHandle(g,()=>({reset:()=>{if(p)p();else{var D;(D=w.current)==null||D.distributeViewSizes();for(let O=0;O<A.current.length;O++)R(O)}},resize:D=>{var O;(O=w.current)==null||O.resizeViews(D)}})),MY(()=>{let D=!0;c&&C.current.size!==c.length&&(D=!1,console.warn(`Expected ${c.length} children based on defaultSizes but found ${C.current.size}`)),D&&c&&(b.current=j.map(F=>F.key));const O=bb({orientation:d?Vl.Vertical:Vl.Horizontal,proportionalLayout:i},D&&c&&{descriptor:{size:c.reduce((F,U)=>F+U,0),views:c.map((F,U)=>{var z,H,W,K;const q=x.current.get(b.current[U]),X=new LY(k.current,bb({element:document.createElement("div"),minimumSize:(z=q?.minSize)!=null?z:s,maximumSize:(H=q?.maxSize)!=null?H:n,priority:(W=q?.priority)!=null?W:Ul.Normal},q?.preferredSize&&{preferredSize:q?.preferredSize},{snap:(K=q?.snap)!=null?K:u}));return A.current.push(X),{container:[...C.current.values()][U],size:F,view:X}})}});w.current=new jVe(y.current,O,f,h,_),w.current.on("sashDragStart",()=>{var F;(F=y.current)==null||F.classList.add("split-view-sash-dragging")}),w.current.on("sashDragEnd",()=>{var F;(F=y.current)==null||F.classList.remove("split-view-sash-dragging")}),w.current.on("sashchange",F=>{if(m&&w.current){const U=j.map(z=>z.key);for(let z=0;z<U.length;z++){const H=x.current.get(U[z]);H?.visible!==void 0&&H.visible!==w.current.isViewVisible(z)&&m(z,w.current.isViewVisible(z))}}}),w.current.on("sashreset",F=>{if(p)p();else{var U;if(R(F)||R(F+1))return;(U=w.current)==null||U.distributeViewSizes()}});const N=w.current;return()=>{N.dispose()}},[]),MY(()=>{if(P){const Q=j.map(de=>de.key),Y=[...b.current],Z=Q.filter(de=>!b.current.includes(de)),re=Q.filter(de=>b.current.includes(de)),fe=b.current.map(de=>!Q.includes(de));for(let de=fe.length-1;de>=0;de--){var D;fe[de]&&((D=w.current)!=null&&D.removeView(de),Y.splice(de,1),A.current.splice(de,1))}for(const de of Z){var O,N,F,U,z;const se=x.current.get(de),le=new LY(k.current,bb({element:document.createElement("div"),minimumSize:(O=se?.minSize)!=null?O:s,maximumSize:(N=se?.maxSize)!=null?N:n,priority:(F=se?.priority)!=null?F:Ul.Normal},se?.preferredSize&&{preferredSize:se?.preferredSize},{snap:(U=se?.snap)!=null?U:u}));(z=w.current)!=null&&z.addView(C.current.get(de),le,$C.Distribute,Q.findIndex(ee=>ee===de)),Y.splice(Q.findIndex(ee=>ee===de),0,de),A.current.splice(Q.findIndex(ee=>ee===de),0,le)}for(;!uVe(Q,Y);)for(const[de,se]of Q.entries()){const le=Y.findIndex(ee=>ee===se);if(le!==de){var H;(H=w.current)==null||H.moveView(C.current.get(se),le,de);const ee=Y[le];Y.splice(le,1),Y.splice(de,0,ee);break}}for(const de of Z){var W;const se=Q.findIndex(ee=>ee===de),le=A.current[se].preferredSize;le!==void 0&&((W=w.current)==null||W.resizeView(se,le))}for(const de of[...Z,...re]){var K,q;const se=x.current.get(de),le=Q.findIndex(ee=>ee===de);se&&NY(se)&&se.visible!==void 0&&((K=w.current)==null?void 0:K.isViewVisible(le))!==se.visible&&((q=w.current)==null||q.setViewVisible(le,se.visible))}for(const de of re){const se=x.current.get(de),le=Q.findIndex(ee=>ee===de);if(se&&NY(se)){var X;se.preferredSize!==void 0&&A.current[le].preferredSize!==se.preferredSize&&(A.current[le].preferredSize=se.preferredSize);let ee=!1;se.minSize!==void 0&&A.current[le].minimumSize!==se.minSize&&(A.current[le].minimumSize=se.minSize,ee=!0),se.maxSize!==void 0&&A.current[le].maximumSize!==se.maxSize&&(A.current[le].maximumSize=se.maxSize,ee=!0),ee&&((X=w.current)==null||X.layout())}}(Z.length>0||fe.length>0)&&(b.current=Q)}},[j,P,n,s,u]),I.useEffect(()=>{w.current&&(w.current.onDidChange=f)},[f]),I.useEffect(()=>{w.current&&(w.current.onDidDragStart=h)},[h]),I.useEffect(()=>{w.current&&(w.current.onDidDragEnd=_)},[_]),dVe({ref:y,onResize:({width:D,height:O})=>{var N;D&&O&&((N=w.current)!=null&&N.layout(d?O:D),k.current.setSize(d?O:D),T(!0))}}),I.useEffect(()=>{ile&&TVe(20)},[]),Yn.createElement("div",{ref:y,className:J6("split-view",d?"split-view-vertical":"split-view-horizontal",{"split-view-separator-border":o},fVe,d?hVe:gVe,{[_Ve]:o},e),id:r},Yn.createElement("div",{className:J6("split-view-container",mVe)},Yn.Children.toArray(t).map(D=>{if(!Yn.isValidElement(D))return null;const O=D.key;return D.type.displayName==="Allotment.Pane"?(x.current.set(O,D.props),Yn.cloneElement(D,{key:O,ref:N=>{const F=D.ref;F&&(F.current=N),N?C.current.set(O,N):C.current.delete(O)}})):Yn.createElement(_N,{key:O,ref:N=>{N?C.current.set(O,N):C.current.delete(O)}},D)})))});function TVe(t){const e=wc(t,4,20),r=wc(t,1,8);document.documentElement.style.setProperty("--sash-size",e+"px"),document.documentElement.style.setProperty("--sash-hover-size",r+"px"),(function(n){ole=n,ale.emit("onDidChangeGlobalSize",n)})(e)}cle.displayName="Allotment";var $R=Object.assign(cle,{Pane:_N});function ts(t){return typeof t!="object"||t===null||typeof t.lastModified=="number"&&typeof File<"u"&&t instanceof File||typeof t.getMonth=="function"&&typeof Date<"u"&&t instanceof Date?!1:!Array.isArray(t)}function EVe(t){return t.additionalItems===!0&&console.warn("additionalItems=true is currently not supported"),ts(t.additionalItems)}function FY(t){if(t==="")return;if(t===null)return null;if(/\.$/.test(t)||/\.0$/.test(t)||/\.\d*0$/.test(t))return t;const e=Number(t);return typeof e=="number"&&!Number.isNaN(e)?e:t}const Uh="__additional_property",e$="additionalProperties",Lv="allOf",Tc="anyOf",zd="const",RVe="default",HA="dependencies",IVe="enum",aa="__errors",cp="$id",DVe="if",gp="items",$Ve="_$junk_option_schema_id$_",Yw="$name",ll="oneOf",vi="properties",OVe="required",OC="submitButtonOptions",Hi="$ref",vN="__rjsf_additionalProperties",ule="__rjsf_rootSchema",LVe="ui:field",yN="ui:widget",xb="ui:options",NVe="ui:globalOptions";function Dn(t={},e={}){return Object.keys(t).filter(r=>r.indexOf("ui:")===0).reduce((r,n)=>{const s=t[n];return n===yN&&ts(s)?(console.error("Setting options via ui:widget object is no longer supported, use ui:options instead"),r):n===xb&&ts(s)?{...r,...s}:{...r,[n.substring(3)]:s}},{...e})}function bN(t,e={},r){if(!t.additionalProperties)return!1;const{expandable:n=!0}=Dn(e);return n===!1?n:t.maxProperties!==void 0&&r?Object.keys(r).length<t.maxProperties:!0}function LC(t){const e={[aa]:[],addError(r){this[aa].push(r)}};if(Array.isArray(t))return t.reduce((r,n,s)=>({...r,[s]:LC(n)}),e);if(ph(t)){const r=t;return Object.keys(r).reduce((n,s)=>({...n,[s]:LC(r[s])}),e)}return e}var FVe="__lodash_hash_undefined__";function UVe(t){return this.__data__.set(t,FVe),this}function BVe(t){return this.__data__.has(t)}function G_(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new khe;++e<r;)this.add(t[e])}G_.prototype.add=G_.prototype.push=UVe;G_.prototype.has=BVe;function zVe(t,e){for(var r=-1,n=t==null?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function xN(t,e){return t.has(e)}var qVe=1,VVe=2;function dle(t,e,r,n,s,i){var o=r&qVe,l=t.length,c=e.length;if(l!=c&&!(o&&c>l))return!1;var u=i.get(t),d=i.get(e);if(u&&d)return u==e&&d==t;var f=-1,p=!0,m=r&VVe?new G_:void 0;for(i.set(t,e),i.set(e,t);++f<l;){var h=t[f],_=e[f];if(n)var g=o?n(_,h,f,e,t,i):n(h,_,f,t,e,i);if(g!==void 0){if(g)continue;p=!1;break}if(m){if(!zVe(e,function(y,b){if(!xN(m,b)&&(h===y||s(h,y,r,n,i)))return m.push(b)})){p=!1;break}}else if(!(h===_||s(h,_,r,n,i))){p=!1;break}}return i.delete(t),i.delete(e),p}function HVe(t){var e=-1,r=Array(t.size);return t.forEach(function(n,s){r[++e]=[s,n]}),r}function SN(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var GVe=1,WVe=2,YVe="[object Boolean]",KVe="[object Date]",QVe="[object Error]",ZVe="[object Map]",XVe="[object Number]",JVe="[object RegExp]",eHe="[object Set]",tHe="[object String]",rHe="[object Symbol]",nHe="[object ArrayBuffer]",sHe="[object DataView]",UY=sC?sC.prototype:void 0,OR=UY?UY.valueOf:void 0;function iHe(t,e,r,n,s,i,o){switch(r){case sHe:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case nHe:return!(t.byteLength!=e.byteLength||!i(new ZF(t),new ZF(e)));case YVe:case KVe:case XVe:return K$(+t,+e);case QVe:return t.name==e.name&&t.message==e.message;case JVe:case tHe:return t==e+"";case ZVe:var l=HVe;case eHe:var c=n&GVe;if(l||(l=SN),t.size!=e.size&&!c)return!1;var u=o.get(t);if(u)return u==e;n|=WVe,o.set(t,e);var d=dle(l(t),l(e),n,s,i,o);return o.delete(t),d;case rHe:if(OR)return OR.call(t)==OR.call(e)}return!1}var oHe=1,aHe=Object.prototype,lHe=aHe.hasOwnProperty;function cHe(t,e,r,n,s,i){var o=r&oHe,l=XF(t),c=l.length,u=XF(e),d=u.length;if(c!=d&&!o)return!1;for(var f=c;f--;){var p=l[f];if(!(o?p in e:lHe.call(e,p)))return!1}var m=i.get(t),h=i.get(e);if(m&&h)return m==e&&h==t;var _=!0;i.set(t,e),i.set(e,t);for(var g=o;++f<c;){p=l[f];var y=t[p],b=e[p];if(n)var x=o?n(b,y,p,e,t,i):n(y,b,p,t,e,i);if(!(x===void 0?y===b||s(y,b,r,n,i):x)){_=!1;break}g||(g=p=="constructor")}if(_&&!g){var w=t.constructor,C=e.constructor;w!=C&&"constructor"in t&&"constructor"in e&&!(typeof w=="function"&&w instanceof w&&typeof C=="function"&&C instanceof C)&&(_=!1)}return i.delete(t),i.delete(e),_}var uHe=1,BY="[object Arguments]",zY="[object Array]",k2="[object Object]",dHe=Object.prototype,qY=dHe.hasOwnProperty;function fHe(t,e,r,n,s,i){var o=Da(t),l=Da(e),c=o?zY:LD(t),u=l?zY:LD(e);c=c==BY?k2:c,u=u==BY?k2:u;var d=c==k2,f=u==k2,p=c==u;if(p&&Rb(t)){if(!Rb(e))return!1;o=!0,d=!1}if(p&&!d)return i||(i=new ab),o||U3(t)?dle(t,e,r,n,s,i):iHe(t,e,c,r,n,s,i);if(!(r&uHe)){var m=d&&qY.call(t,"__wrapped__"),h=f&&qY.call(e,"__wrapped__");if(m||h){var _=m?t.value():t,g=h?e.value():e;return i||(i=new ab),s(_,g,r,n,i)}}return p?(i||(i=new ab),cHe(t,e,r,n,s,i)):!1}function GA(t,e,r,n,s){return t===e?!0:t==null||e==null||!Ib(t)&&!Ib(e)?t!==t&&e!==e:fHe(t,e,r,n,GA,s)}function pHe(t,e,r){r=typeof r=="function"?r:void 0;var n=r?r(t,e):void 0;return n===void 0?GA(t,e,void 0,r):!!n}function Bs(t,e){return pHe(t,e,(r,n)=>{if(typeof r=="function"&&typeof n=="function")return!0})}var mHe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hHe=/^\w*$/;function wN(t,e){if(Da(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Xee(t)?!0:hHe.test(t)||!mHe.test(t)||e!=null&&t in Object(e)}function Nv(t,e){return Da(t)?t:wN(t,e)?[t]:Mhe(Jee(t))}function WA(t,e){e=Nv(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[ov(e[r++])];return r&&r==n?t:void 0}function $r(t,e,r){var n=t==null?void 0:WA(t,e);return n===void 0?r:n}var gHe="[object Map]",_He="[object Set]",vHe=Object.prototype,yHe=vHe.hasOwnProperty;function W_(t){if(t==null)return!0;if(B3(t)&&(Da(t)||typeof t=="string"||typeof t.splice=="function"||Rb(t)||U3(t)||Db(t)))return!t.length;var e=LD(t);if(e==gHe||e==_He)return!t.size;if(Phe(t))return!jhe(t).length;for(var r in t)if(yHe.call(t,r))return!1;return!0}var My={},VY;function bHe(){if(VY)return My;VY=1;var t=/~/,e=/~[01]/g;function r(u){switch(u){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+u)}function n(u){return t.test(u)?u.replace(e,r):u}function s(u,d,f){for(var p,m,h=1,_=d.length;h<_;){if(d[h]==="constructor"||d[h]==="prototype"||d[h]==="__proto__")return u;if(p=n(d[h++]),m=_>h,typeof u[p]>"u"&&(Array.isArray(u)&&p==="-"&&(p=u.length),m&&(d[h]!==""&&d[h]<1/0||d[h]==="-"?u[p]=[]:u[p]={})),!m)break;u=u[p]}var g=u[p];return f===void 0?delete u[p]:u[p]=f,g}function i(u){if(typeof u=="string"){if(u=u.split("/"),u[0]==="")return u;throw new Error("Invalid JSON pointer.")}else if(Array.isArray(u)){for(const d of u)if(typeof d!="string"&&typeof d!="number")throw new Error("Invalid JSON pointer. Must be of type string or number.");return u}throw new Error("Invalid JSON pointer.")}function o(u,d){if(typeof u!="object")throw new Error("Invalid input object.");d=i(d);var f=d.length;if(f===1)return u;for(var p=1;p<f;){if(u=u[n(d[p++])],f===p)return u;if(typeof u!="object"||u===null)return}}function l(u,d,f){if(typeof u!="object")throw new Error("Invalid input object.");if(d=i(d),d.length===0)throw new Error("Invalid JSON pointer for set.");return s(u,d,f)}function c(u){var d=i(u);return{get:function(f){return o(f,d)},set:function(f,p){return l(f,d,p)}}}return My.get=o,My.set=l,My.compile=c,My}var xHe=bHe();const SHe=Pi(xHe);function wHe(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function CHe(t,e,r){var n=-1,s=t.length;e<0&&(e=-e>s?0:s+e),r=r>s?s:r,r<0&&(r+=s),s=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(s);++n<s;)i[n]=t[n+e];return i}function AHe(t,e){return e.length<2?t:WA(t,CHe(e,0,-1))}function fle(t,e){return e=Nv(e,t),t=AHe(t,e),t==null||delete t[ov(wHe(e))]}function kHe(t){return ph(t)?void 0:t}var HY=sC?sC.isConcatSpreadable:void 0;function MHe(t){return Da(t)||Db(t)||!!(HY&&t&&t[HY])}function K0(t,e,r,n,s){var i=-1,o=t.length;for(r||(r=MHe),s||(s=[]);++i<o;){var l=t[i];e>0&&r(l)?e>1?K0(l,e-1,r,n,s):The(s,l):n||(s[s.length]=l)}return s}function PHe(t){var e=t==null?0:t.length;return e?K0(t,1):[]}function jHe(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var GY=Math.max;function ple(t,e,r){return e=GY(e===void 0?t.length-1:e,0),function(){for(var n=arguments,s=-1,i=GY(n.length-e,0),o=Array(i);++s<i;)o[s]=n[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=n[s];return l[e]=r(o),jHe(t,this,l)}}function THe(t){return function(){return t}}function YA(t){return t}var EHe=JF?function(t,e){return JF(t,"toString",{configurable:!0,enumerable:!1,value:THe(e),writable:!0})}:YA,RHe=800,IHe=16,DHe=Date.now;function $He(t){var e=0,r=0;return function(){var n=DHe(),s=IHe-(n-r);if(r=n,s>0){if(++e>=RHe)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var mle=$He(EHe);function hle(t){return mle(ple(t,void 0,PHe),t+"")}var OHe=1,LHe=2,NHe=4,NC=hle(function(t,e){var r={};if(t==null)return r;var n=!1;e=ete(e,function(i){return i=Nv(i,t),n||(n=i.length>1),i}),tte(t,rte(t),r),n&&(r=Ehe(r,OHe|LHe|NHe,kHe));for(var s=e.length;s--;)fle(r,e[s]);return r});function CN(t,e){const r=e[t];return[NC(e,[t]),r]}function gle(t,e={},r=[]){const n=t||"";let s;if(n.startsWith("#"))s=decodeURIComponent(n.substring(1));else throw new Error(`Could not find a definition for ${t}.`);const i=SHe.get(e,s);if(i===void 0)throw new Error(`Could not find a definition for ${t}.`);const o=i[Hi];if(o){if(r.includes(o)){if(r.length===1)throw new Error(`Definition for ${t} is a circular reference`);const[d,...f]=r,p=[...f,n,d].join(" -> ");throw new Error(`Definition for ${d} contains a circular reference through ${p}`)}const[l,c]=CN(Hi,i),u=gle(c,e,[...r,n]);return Object.keys(l).length>0?{...l,...u}:u}return i}function _le(t,e={}){return gle(t,e,[])}var FHe=Object.prototype,UHe=FHe.hasOwnProperty;function BHe(t,e){return t!=null&&UHe.call(t,e)}function vle(t,e,r){e=Nv(e,t);for(var n=-1,s=e.length,i=!1;++n<s;){var o=ov(e[n]);if(!(i=t!=null&&r(t,o)))break;t=t[o]}return i||++n!=s?i:(s=t==null?0:t.length,!!s&&Rhe(s)&&Q$(o,s)&&(Da(t)||Db(t)))}function ia(t,e){return t!=null&&vle(t,e,BHe)}var zHe="[object Number]";function yle(t){return typeof t=="number"||Ib(t)&&nte(t)==zHe}var qHe="[object String]";function KA(t){return typeof t=="string"||!Da(t)&&Ib(t)&&nte(t)==qHe}function VHe(t,e,r,n){var s=-1,i=t==null?0:t.length;for(n&&i&&(r=t[++s]);++s<i;)r=e(r,t[s],s,t);return r}function HHe(t){return function(e,r,n){for(var s=-1,i=Object(e),o=n(e),l=o.length;l--;){var c=o[++s];if(r(i[c],c,i)===!1)break}return e}}var ble=HHe();function xle(t,e){return t&&ble(t,e,Fm)}function GHe(t,e){return function(r,n){if(r==null)return r;if(!B3(r))return t(r,n);for(var s=r.length,i=-1,o=Object(r);++i<s&&n(o[i],i,o)!==!1;);return r}}var Sle=GHe(xle),WHe=1,YHe=2;function KHe(t,e,r,n){var s=r.length,i=s;if(t==null)return!i;for(t=Object(t);s--;){var o=r[s];if(o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++s<i;){o=r[s];var l=o[0],c=t[l],u=o[1];if(o[2]){if(c===void 0&&!(l in t))return!1}else{var d=new ab,f;if(!(f===void 0?GA(u,c,WHe|YHe,n,d):f))return!1}}return!0}function wle(t){return t===t&&!Ci(t)}function QHe(t){for(var e=Fm(t),r=e.length;r--;){var n=e[r],s=t[n];e[r]=[n,s,wle(s)]}return e}function Cle(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}function ZHe(t){var e=QHe(t);return e.length==1&&e[0][2]?Cle(e[0][0],e[0][1]):function(r){return r===t||KHe(r,t,e)}}function XHe(t,e){return t!=null&&e in Object(t)}function Ale(t,e){return t!=null&&vle(t,e,XHe)}var JHe=1,eGe=2;function tGe(t,e){return wN(t)&&wle(e)?Cle(ov(t),e):function(r){var n=$r(r,t);return n===void 0&&n===e?Ale(r,t):GA(e,n,JHe|eGe)}}function rGe(t){return function(e){return e?.[t]}}function nGe(t){return function(e){return WA(e,t)}}function sGe(t){return wN(t)?rGe(ov(t)):nGe(t)}function AN(t){return typeof t=="function"?t:t==null?YA:typeof t=="object"?Da(t)?tGe(t[0],t[1]):ZHe(t):sGe(t)}function iGe(t,e,r,n,s){return s(t,function(i,o,l){r=n?(n=!1,i):e(r,i,o,l)}),r}function oGe(t,e,r){var n=Da(t)?VHe:iGe,s=arguments.length<3;return n(t,AN(e),r,s,Sle)}function kle(t){return typeof t=="function"?t:YA}var aGe=/\s/;function lGe(t){for(var e=t.length;e--&&aGe.test(t.charAt(e)););return e}var cGe=/^\s+/;function uGe(t){return t&&t.slice(0,lGe(t)+1).replace(cGe,"")}var WY=NaN,dGe=/^[-+]0x[0-9a-f]+$/i,fGe=/^0b[01]+$/i,pGe=/^0o[0-7]+$/i,mGe=parseInt;function hGe(t){if(typeof t=="number")return t;if(Xee(t))return WY;if(Ci(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Ci(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=uGe(t);var r=fGe.test(t);return r||pGe.test(t)?mGe(t.slice(2),r?2:8):dGe.test(t)?WY:+t}var YY=1/0,gGe=17976931348623157e292;function _Ge(t){if(!t)return t===0?t:0;if(t=hGe(t),t===YY||t===-YY){var e=t<0?-1:1;return e*gGe}return t===t?t:0}function vGe(t){var e=_Ge(t),r=e%1;return e===e?r?e-r:e:0}var yGe=9007199254740991,LR=4294967295,bGe=Math.min;function Mle(t,e){if(t=vGe(t),t<1||t>yGe)return[];var r=LR,n=bGe(t,LR);e=kle(e),t-=LR;for(var s=Ihe(n,e);++r<t;)e(r);return s}function Ple(t,e,r){var n;if(t&&r){const s=$r(t,r);if(s===void 0)return;for(let i=0;i<e.length;i++){const o=e[i],l=$r(o,[vi,r],{});if(!(l.type==="object"||l.type==="array")&&(l.const===s||!((n=l.enum)===null||n===void 0)&&n.includes(s)))return i}}}function jle(t,e,r,n,s){if(e===void 0)return 0;const i=Ple(e,r,s);if(yle(i))return i;for(let o=0;o<r.length;o++){const l=r[o];if(s&&ia(l,[vi,s])){const c=$r(e,s),u=$r(l,[vi,s],{});if(t.isValid(u,c,n))return o}else if(l[vi]){const c={anyOf:Object.keys(l[vi]).map(d=>({required:[d]}))};let u;if(l.anyOf){const{...d}=l;d.allOf?d.allOf=d.allOf.slice():d.allOf=[],d.allOf.push(c),u=d}else u=Object.assign({},l,c);if(delete u.required,t.isValid(u,e,n))return o}else if(t.isValid(l,e,n))return o}return 0}function kN(t,e,r,n,s){return jle(t,e,r,n,s)}function MN(t,e,r,n){if(!Ci(t))return t;e=Nv(e,t);for(var s=-1,i=e.length,o=i-1,l=t;l!=null&&++s<i;){var c=ov(e[s]),u=r;if(c==="__proto__"||c==="constructor"||c==="prototype")return t;if(s!=o){var d=l[c];u=n?n(d,c,l):void 0,u===void 0&&(u=Ci(d)?d:Q$(e[s+1])?[]:{})}Dhe(l,c,u),l=l[c]}return t}function yo(t,e,r){return t==null?t:MN(t,e,r)}function xGe(t,e,r){var n=Da(t),s=n||Rb(t)||U3(t);if(e=AN(e),r==null){var i=t&&t.constructor;s?r=n?new i:[]:Ci(t)?r=ste(i)?$he(Ohe(t)):{}:r={}}return(s?ite:xle)(t,function(o,l,c){return e(r,o,l,c)}),r}function t$(t,e,r){(r!==void 0&&!K$(t[e],r)||r===void 0&&!(e in t))&&Lhe(t,e,r)}function FC(t){return Ib(t)&&B3(t)}function r$(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function SGe(t){return tte(t,ote(t))}function wGe(t,e,r,n,s,i,o){var l=r$(t,r),c=r$(e,r),u=o.get(c);if(u){t$(t,r,u);return}var d=i?i(l,c,r+"",t,e,o):void 0,f=d===void 0;if(f){var p=Da(c),m=!p&&Rb(c),h=!p&&!m&&U3(c);d=c,p||m||h?Da(l)?d=l:FC(l)?d=Nhe(l):m?(f=!1,d=Fhe(c,!0)):h?(f=!1,d=Uhe(c,!0)):d=[]:ph(c)||Db(c)?(d=l,Db(l)?d=SGe(l):(!Ci(l)||ste(l))&&(d=Bhe(c))):f=!1}f&&(o.set(c,d),s(d,c,n,i,o),o.delete(c)),t$(t,r,d)}function Tle(t,e,r,n,s){t!==e&&ble(e,function(i,o){if(s||(s=new ab),Ci(i))wGe(t,e,o,r,Tle,n,s);else{var l=n?n(r$(t,o),i,o+"",t,e,s):void 0;l===void 0&&(l=i),t$(t,o,l)}},ote)}function PN(t,e){return mle(ple(t,e,YA),t+"")}function CGe(t,e,r){if(!Ci(r))return!1;var n=typeof e;return(n=="number"?B3(r)&&Q$(e,r.length):n=="string"&&e in r)?K$(r[e],t):!1}function AGe(t){return PN(function(e,r){var n=-1,s=r.length,i=s>1?r[s-1]:void 0,o=s>2?r[2]:void 0;for(i=t.length>3&&typeof i=="function"?(s--,i):void 0,o&&CGe(r[0],r[1],o)&&(i=s<3?void 0:i,s=1),e=Object(e);++n<s;){var l=r[n];l&&t(e,l,n,i)}return e})}var kGe=AGe(function(t,e,r){Tle(t,e,r)}),MGe=1/0;function PGe(t){var e=t==null?0:t.length;return e?K0(t,MGe):[]}function jGe(t,e,r,n){for(var s=t.length,i=r+-1;++i<s;)if(e(t[i],i,t))return i;return-1}function TGe(t){return t!==t}function EGe(t,e,r){for(var n=r-1,s=t.length;++n<s;)if(t[n]===e)return n;return-1}function RGe(t,e,r){return e===e?EGe(t,e,r):jGe(t,TGe,r)}function Ele(t,e){var r=t==null?0:t.length;return!!r&&RGe(t,e,0)>-1}function IGe(){}var DGe=1/0,$Ge=IP&&1/SN(new IP([,-0]))[1]==DGe?function(t){return new IP(t)}:IGe,OGe=200;function Rle(t,e,r){var n=-1,s=Ele,i=t.length,o=!0,l=[],c=l;if(i>=OGe){var u=$Ge(t);if(u)return SN(u);o=!1,s=xN,c=new G_}else c=l;e:for(;++n<i;){var d=t[n],f=d;if(d=d!==0?d:0,o&&f===f){for(var p=c.length;p--;)if(c[p]===f)continue e;l.push(d)}else s(c,f,r)||(c!==l&&c.push(f),l.push(d))}return l}function LGe(t){return t&&t.length?Rle(t):[]}var NR,KY;function Ile(){if(KY)return NR;KY=1;function t(e,r){for(var n=-1,s=e==null?0:e.length;++n<s&&r(e[n],n,e)!==!1;);return e}return NR=t,NR}var FR,QY;function NGe(){if(QY)return FR;QY=1;var t=$v(),e=dte();function r(n,s){return n&&t(s,e(s),n)}return FR=r,FR}var UR,ZY;function FGe(){if(ZY)return UR;ZY=1;var t=$v(),e=Ov();function r(n,s){return n&&t(s,e(s),n)}return UR=r,UR}var BR,XY;function UGe(){if(XY)return BR;XY=1;var t=$v(),e=fte();function r(n,s){return t(n,e(n),s)}return BR=r,BR}var zR,JY;function Dle(){if(JY)return zR;JY=1;var t=pte(),e=dN(),r=fte(),n=ege(),s=Object.getOwnPropertySymbols,i=s?function(o){for(var l=[];o;)t(l,r(o)),o=e(o);return l}:n;return zR=i,zR}var qR,eK;function BGe(){if(eK)return qR;eK=1;var t=$v(),e=Dle();function r(n,s){return t(n,e(n),s)}return qR=r,qR}var VR,tK;function $le(){if(tK)return VR;tK=1;var t=tge(),e=Dle(),r=Ov();function n(s){return t(s,r,e)}return VR=n,VR}var HR,rK;function zGe(){if(rK)return HR;rK=1;var t=Object.prototype,e=t.hasOwnProperty;function r(n){var s=n.length,i=new n.constructor(s);return s&&typeof n[0]=="string"&&e.call(n,"index")&&(i.index=n.index,i.input=n.input),i}return HR=r,HR}var GR,nK;function qGe(){if(nK)return GR;nK=1;var t=cN();function e(r,n){var s=n?t(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.byteLength)}return GR=e,GR}var WR,sK;function VGe(){if(sK)return WR;sK=1;var t=/\w*$/;function e(r){var n=new r.constructor(r.source,t.exec(r));return n.lastIndex=r.lastIndex,n}return WR=e,WR}var YR,iK;function HGe(){if(iK)return YR;iK=1;var t=mte(),e=t?t.prototype:void 0,r=e?e.valueOf:void 0;function n(s){return r?Object(r.call(s)):{}}return YR=n,YR}var KR,oK;function GGe(){if(oK)return KR;oK=1;var t=cN(),e=qGe(),r=VGe(),n=HGe(),s=Oae(),i="[object Boolean]",o="[object Date]",l="[object Map]",c="[object Number]",u="[object RegExp]",d="[object Set]",f="[object String]",p="[object Symbol]",m="[object ArrayBuffer]",h="[object DataView]",_="[object Float32Array]",g="[object Float64Array]",y="[object Int8Array]",b="[object Int16Array]",x="[object Int32Array]",w="[object Uint8Array]",C="[object Uint8ClampedArray]",k="[object Uint16Array]",A="[object Uint32Array]";function P(T,j,R){var D=T.constructor;switch(j){case m:return t(T);case i:case o:return new D(+T);case h:return e(T,R);case _:case g:case y:case b:case x:case w:case C:case k:case A:return s(T,R);case l:return new D;case c:case f:return new D(T);case u:return r(T);case d:return new D;case p:return n(T)}}return KR=P,KR}var QR,aK;function WGe(){if(aK)return QR;aK=1;var t=V3(),e=lv(),r="[object Map]";function n(s){return e(s)&&t(s)==r}return QR=n,QR}var ZR,lK;function YGe(){if(lK)return ZR;lK=1;var t=WGe(),e=jh(),r=rO(),n=r&&r.isMap,s=n?e(n):t;return ZR=s,ZR}var XR,cK;function KGe(){if(cK)return XR;cK=1;var t=V3(),e=lv(),r="[object Set]";function n(s){return e(s)&&t(s)==r}return XR=n,XR}var JR,uK;function QGe(){if(uK)return JR;uK=1;var t=KGe(),e=jh(),r=rO(),n=r&&r.isSet,s=n?e(n):t;return JR=s,JR}var e5,dK;function Ole(){if(dK)return e5;dK=1;var t=ute(),e=Ile(),r=Fae(),n=NGe(),s=FGe(),i=$ae(),o=uN(),l=UGe(),c=BGe(),u=rge(),d=$le(),f=V3(),p=zGe(),m=GGe(),h=Lae(),_=cv(),g=tO(),y=YGe(),b=Qd(),x=QGe(),w=dte(),C=Ov(),k=1,A=2,P=4,T="[object Arguments]",j="[object Array]",R="[object Boolean]",D="[object Date]",O="[object Error]",N="[object Function]",F="[object GeneratorFunction]",U="[object Map]",z="[object Number]",H="[object Object]",W="[object RegExp]",K="[object Set]",q="[object String]",X="[object Symbol]",Q="[object WeakMap]",Y="[object ArrayBuffer]",Z="[object DataView]",re="[object Float32Array]",fe="[object Float64Array]",de="[object Int8Array]",se="[object Int16Array]",le="[object Int32Array]",ee="[object Uint8Array]",J="[object Uint8ClampedArray]",me="[object Uint16Array]",pe="[object Uint32Array]",Se={};Se[T]=Se[j]=Se[Y]=Se[Z]=Se[R]=Se[D]=Se[re]=Se[fe]=Se[de]=Se[se]=Se[le]=Se[U]=Se[z]=Se[H]=Se[W]=Se[K]=Se[q]=Se[X]=Se[ee]=Se[J]=Se[me]=Se[pe]=!0,Se[O]=Se[N]=Se[Q]=!1;function ve(xe,qe,Le,Te,je,Ge){var nt,Re=qe&k,we=qe&A,Me=qe&P;if(Le&&(nt=je?Le(xe,Te,je,Ge):Le(xe)),nt!==void 0)return nt;if(!b(xe))return xe;var $e=_(xe);if($e){if(nt=p(xe),!Re)return o(xe,nt)}else{var Ve=f(xe),Ne=Ve==N||Ve==F;if(g(xe))return i(xe,Re);if(Ve==H||Ve==T||Ne&&!je){if(nt=we||Ne?{}:h(xe),!Re)return we?c(xe,s(nt,xe)):l(xe,n(nt,xe))}else{if(!Se[Ve])return je?xe:{};nt=m(xe,Ve,Re)}}Ge||(Ge=new t);var Oe=Ge.get(xe);if(Oe)return Oe;Ge.set(xe,nt),x(xe)?xe.forEach(function(Et){nt.add(ve(Et,qe,Le,Et,xe,Ge))}):y(xe)&&xe.forEach(function(Et,at){nt.set(at,ve(Et,qe,Le,at,xe,Ge))});var ft=Me?we?d:u:we?C:w,Ct=$e?void 0:ft(xe);return e(Ct||xe,function(Et,at){Ct&&(at=Et,Et=xe[at]),r(nt,at,ve(Et,qe,Le,at,xe,Ge))}),nt}return e5=ve,e5}var t5,fK;function ZGe(){if(fK)return t5;fK=1;var t=Ole(),e=1,r=4;function n(s){return t(s,e|r)}return t5=n,t5}var r5,pK;function Lle(){if(pK)return r5;pK=1;var t=nge();function e(r,n){return t(r,n)}return r5=e,r5}var n5,mK;function XGe(){if(mK)return n5;mK=1;var t=mte(),e=eO(),r=cv(),n=t?t.isConcatSpreadable:void 0;function s(i){return r(i)||e(i)||!!(n&&i&&i[n])}return n5=s,n5}var s5,hK;function jN(){if(hK)return s5;hK=1;var t=pte(),e=XGe();function r(n,s,i,o,l){var c=-1,u=n.length;for(i||(i=e),l||(l=[]);++c<u;){var d=n[c];s>0&&i(d)?s>1?r(d,s-1,i,o,l):t(l,d):o||(l[l.length]=d)}return l}return s5=r,s5}var i5,gK;function JGe(){if(gK)return i5;gK=1;var t=av();function e(r,n){return function(s,i){if(s==null)return s;if(!t(s))return r(s,i);for(var o=s.length,l=n?o:-1,c=Object(s);(n?l--:++l<o)&&i(c[l],l,c)!==!1;);return s}}return i5=e,i5}var o5,_K;function Nle(){if(_K)return o5;_K=1;var t=sge(),e=JGe(),r=e(t);return o5=r,o5}var a5,vK;function eWe(){if(vK)return a5;vK=1;var t=Nle(),e=av();function r(n,s){var i=-1,o=e(n)?Array(n.length):[];return t(n,function(l,c,u){o[++i]=s(l,c,u)}),o}return a5=r,a5}var l5,yK;function tWe(){if(yK)return l5;yK=1;function t(e,r){var n=e.length;for(e.sort(r);n--;)e[n]=e[n].value;return e}return l5=t,l5}var c5,bK;function rWe(){if(bK)return c5;bK=1;var t=hte();function e(r,n){if(r!==n){var s=r!==void 0,i=r===null,o=r===r,l=t(r),c=n!==void 0,u=n===null,d=n===n,f=t(n);if(!u&&!f&&!l&&r>n||l&&c&&d&&!u&&!f||i&&c&&d||!s&&d||!o)return 1;if(!i&&!l&&!f&&r<n||f&&s&&o&&!i&&!l||u&&s&&o||!c&&o||!d)return-1}return 0}return c5=e,c5}var u5,xK;function nWe(){if(xK)return u5;xK=1;var t=rWe();function e(r,n,s){for(var i=-1,o=r.criteria,l=n.criteria,c=o.length,u=s.length;++i<c;){var d=t(o[i],l[i]);if(d){if(i>=u)return d;var f=s[i];return d*(f=="desc"?-1:1)}}return r.index-n.index}return u5=e,u5}var d5,SK;function sWe(){if(SK)return d5;SK=1;var t=Th(),e=gte(),r=ige(),n=eWe(),s=tWe(),i=jh(),o=nWe(),l=q3(),c=cv();function u(d,f,p){f.length?f=t(f,function(_){return c(_)?function(g){return e(g,_.length===1?_[0]:_)}:_}):f=[l];var m=-1;f=t(f,i(r));var h=n(d,function(_,g,y){var b=t(f,function(x){return x(_)});return{criteria:b,index:++m,value:_}});return s(h,function(_,g){return o(_,g,p)})}return d5=u,d5}var f5,wK;function Fle(){if(wK)return f5;wK=1;var t=jN(),e=sWe(),r=Fh(),n=mN(),s=r(function(i,o){if(i==null)return[];var l=o.length;return l>1&&n(i,o[0],o[1])?o=[]:l>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),e(i,t(o,1),[])});return f5=s,f5}var p5,CK;function iWe(){if(CK)return p5;CK=1;function t(e,r,n,s){for(var i=e.length,o=n+(s?1:-1);s?o--:++o<i;)if(r(e[o],o,e))return o;return-1}return p5=t,p5}var m5,AK;function oWe(){if(AK)return m5;AK=1;function t(e){return e!==e}return m5=t,m5}var h5,kK;function aWe(){if(kK)return h5;kK=1;function t(e,r,n){for(var s=n-1,i=e.length;++s<i;)if(e[s]===r)return s;return-1}return h5=t,h5}var g5,MK;function Ule(){if(MK)return g5;MK=1;var t=iWe(),e=oWe(),r=aWe();function n(s,i,o){return i===i?r(s,i,o):t(s,e,o)}return g5=n,g5}var _5,PK;function TN(){if(PK)return _5;PK=1;var t=Ule();function e(r,n){var s=r==null?0:r.length;return!!s&&t(r,n,0)>-1}return _5=e,_5}var v5,jK;function EN(){if(jK)return v5;jK=1;function t(e,r,n){for(var s=-1,i=e==null?0:e.length;++s<i;)if(n(r,e[s]))return!0;return!1}return v5=t,v5}var y5,TK;function lWe(){if(TK)return y5;TK=1;function t(){}return y5=t,y5}var b5,EK;function cWe(){if(EK)return b5;EK=1;var t=oge(),e=lWe(),r=_te(),n=1/0,s=t&&1/r(new t([,-0]))[1]==n?function(i){return new t(i)}:e;return b5=s,b5}var x5,RK;function Ble(){if(RK)return x5;RK=1;var t=nO(),e=TN(),r=EN(),n=sO(),s=cWe(),i=_te(),o=200;function l(c,u,d){var f=-1,p=e,m=c.length,h=!0,_=[],g=_;if(d)h=!1,p=r;else if(m>=o){var y=u?null:s(c);if(y)return i(y);h=!1,p=n,g=new t}else g=u?[]:_;e:for(;++f<m;){var b=c[f],x=u?u(b):b;if(b=d||b!==0?b:0,h&&x===x){for(var w=g.length;w--;)if(g[w]===x)continue e;u&&g.push(x),_.push(b)}else p(g,x,d)||(g!==_&&g.push(x),_.push(b))}return _}return x5=l,x5}var S5,IK;function RN(){if(IK)return S5;IK=1;var t=Ble();function e(r){return r&&r.length?t(r):[]}return S5=e,S5}var w5,DK;function IN(){if(DK)return w5;DK=1;var t=Ble();function e(r,n){return n=typeof n=="function"?n:void 0,r&&r.length?t(r,void 0,n):[]}return w5=e,w5}var C5,$K;function uWe(){if($K)return C5;$K=1;var t=Fh(),e=z3(),r=mN(),n=Ov(),s=Object.prototype,i=s.hasOwnProperty,o=t(function(l,c){l=Object(l);var u=-1,d=c.length,f=d>2?c[2]:void 0;for(f&&r(c[0],c[1],f)&&(d=1);++u<d;)for(var p=c[u],m=n(p),h=-1,_=m.length;++h<_;){var g=m[h],y=l[g];(y===void 0||e(y,s[g])&&!i.call(l,g))&&(l[g]=p[g])}return l});return C5=o,C5}var A5,OK;function zle(){if(OK)return A5;OK=1;var t=nO(),e=TN(),r=EN(),n=Th(),s=jh(),i=sO(),o=Math.min;function l(c,u,d){for(var f=d?r:e,p=c[0].length,m=c.length,h=m,_=Array(m),g=1/0,y=[];h--;){var b=c[h];h&&u&&(b=n(b,s(u))),g=o(b.length,g),_[h]=!d&&(u||p>=120&&b.length>=120)?new t(h&&b):void 0}b=c[0];var x=-1,w=_[0];e:for(;++x<p&&y.length<g;){var C=b[x],k=u?u(C):C;if(C=d||C!==0?C:0,!(w?i(w,k):f(y,k,d))){for(h=m;--h;){var A=_[h];if(!(A?i(A,k):f(c[h],k,d)))continue e}w&&w.push(k),y.push(C)}}return y}return A5=l,A5}var k5,LK;function qle(){if(LK)return k5;LK=1;var t=fN();function e(r){return t(r)?r:[]}return k5=e,k5}var M5,NK;function Vle(){if(NK)return M5;NK=1;function t(e){var r=e==null?0:e.length;return r?e[r-1]:void 0}return M5=t,M5}var P5,FK;function Hle(){if(FK)return P5;FK=1;var t=Th(),e=zle(),r=Fh(),n=qle(),s=Vle(),i=r(function(o){var l=s(o),c=t(o,n);return l=typeof l=="function"?l:void 0,l&&c.pop(),c.length&&c[0]===o[0]?e(c,void 0,l):[]});return P5=i,P5}var j5,UK;function dWe(){if(UK)return j5;UK=1;var t=J$(),e=lv(),r="[object Boolean]";function n(s){return s===!0||s===!1||e(s)&&t(s)==r}return j5=n,j5}var T5,BK;function DN(){if(BK)return T5;BK=1;var t=Lle(),e=Fle(),r=RN(),n=IN(),s=uWe(),i=Hle(),o=W0(),l=dWe(),c=O=>Array.isArray(O)?O:[O],u=O=>O===void 0,d=O=>o(O)||Array.isArray(O)?Object.keys(O):[],f=(O,N)=>O.hasOwnProperty(N),p=O=>e(r(O)),m=O=>u(O)||Array.isArray(O)&&O.length===0,h=(O,N,F,U)=>N&&f(N,F)&&O&&f(O,F)&&U(O[F],N[F]),_=(O,N)=>u(O)&&N===0||u(N)&&O===0||t(O,N),g=(O,N)=>u(O)&&N===!1||u(N)&&O===!1||t(O,N),y=O=>u(O)||t(O,{})||O===!0,b=O=>u(O)||t(O,{}),x=O=>u(O)||o(O)||O===!0||O===!1;function w(O,N){return m(O)&&m(N)?!0:t(p(O),p(N))}function C(O,N){return O=c(O),N=c(N),t(p(O),p(N))}function k(O,N,F,U){var z=r(d(O).concat(d(N)));return b(O)&&b(N)?!0:b(O)&&d(N).length||b(N)&&d(O).length?!1:z.every(function(H){var W=O[H],K=N[H];return Array.isArray(W)&&Array.isArray(K)?t(p(O),p(N)):Array.isArray(W)&&!Array.isArray(K)||Array.isArray(K)&&!Array.isArray(W)?!1:h(O,N,H,U)})}function A(O,N,F,U){return o(O)&&o(N)?U(O,N):Array.isArray(O)&&Array.isArray(N)?k(O,N,F,U):t(O,N)}function P(O,N,F,U){var z=n(O,U),H=n(N,U),W=i(z,H,U);return W.length===Math.max(z.length,H.length)}var T={title:t,uniqueItems:g,minLength:_,minItems:_,minProperties:_,required:w,enum:w,type:C,items:A,anyOf:P,allOf:P,oneOf:P,properties:k,patternProperties:k,dependencies:k},j=["properties","patternProperties","dependencies","uniqueItems","minLength","minItems","minProperties","required"],R=["additionalProperties","additionalItems","contains","propertyNames","not"];function D(O,N,F){if(F=s(F,{ignore:[]}),y(O)&&y(N))return!0;if(!x(O)||!x(N))throw new Error("Either of the values are not a JSON schema.");if(O===N)return!0;if(l(O)&&l(N))return O===N;if(O===void 0&&N===!1||N===void 0&&O===!1||u(O)&&!u(N)||!u(O)&&u(N))return!1;var U=r(Object.keys(O).concat(Object.keys(N)));if(F.ignore.length&&(U=U.filter(H=>F.ignore.indexOf(H)===-1)),!U.length)return!0;function z(H,W){return D(H,W,F)}return U.every(function(H){var W=O[H],K=N[H];if(R.indexOf(H)!==-1)return D(W,K,F);var q=T[H];if(q||(q=t),t(W,K))return!0;if(j.indexOf(H)===-1&&(!f(O,H)&&f(N,H)||f(O,H)&&!f(N,H)))return W===K;var X=q(W,K,H,z);if(!l(X))throw new Error("Comparer must return true or false");return X})}return T5=D,T5}var E5,zK;function $N(){if(zK)return E5;zK=1;function t(e){return Object.prototype.toString.call(e)==="[object Array]"}return E5=Array.isArray||t,E5}var R5,qK;function fWe(){if(qK)return R5;qK=1;function t(e){return(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")&&e.valueOf()===e.valueOf()}return R5=t,R5}var I5,VK;function pWe(){if(VK)return I5;VK=1;var t=fWe();function e(r){return t(r)&&r%1===0}return I5=e,I5}var D5,HK;function Gle(){if(HK)return D5;HK=1;var t=$N(),e=pWe();function r(n){var s;if(!t(n)||(s=n.length,!s))return!1;for(var i=0;i<s;i++)if(!e(n[i]))return!1;return!0}return D5=r,D5}var $5,GK;function Wle(){if(GK)return $5;GK=1;function t(e){return typeof e=="function"}return $5=t,$5}var O5,WK;function mWe(){if(WK)return O5;WK=1;var t=$N(),e=Gle(),r=Wle(),n=Math.pow(2,31)-1;function s(l,c){var u=1,d;if(l===0)return c;if(c===0)return l;for(;l%2===0&&c%2===0;)l=l/2,c=c/2,u=u*2;for(;l%2===0;)l=l/2;for(;c;){for(;c%2===0;)c=c/2;l>c&&(d=c,c=l,l=d),c=c-l}return u*l}function i(l,c){var u=0,d;if(l===0)return c;if(c===0)return l;for(;(l&1)===0&&(c&1)===0;)l>>>=1,c>>>=1,u++;for(;(l&1)===0;)l>>>=1;for(;c;){for(;(c&1)===0;)c>>>=1;l>c&&(d=c,c=l,l=d),c=c-l}return l<<u}function o(){var l=arguments.length,c,u,d,f,p,m,h;for(c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];if(e(c)){if(l===2)return p=c[0],m=c[1],p<0&&(p=-p),m<0&&(m=-m),p<=n&&m<=n?i(p,m):s(p,m);d=c}else if(t(c[0]))if(l>1){if(d=c[0],u=c[1],!r(u))throw new TypeError("gcd()::invalid input argument. Accessor must be a function. Value: `"+u+"`.")}else d=c[0];else throw new TypeError("gcd()::invalid input argument. Must provide an array of integers. Value: `"+c[0]+"`.");if(f=d.length,f<2)return null;if(u){for(p=new Array(f),h=0;h<f;h++)p[h]=u(d[h],h);d=p}if(l<3&&!e(d))throw new TypeError("gcd()::invalid input argument. Accessed array values must be integers. Value: `"+d+"`.");for(h=0;h<f;h++)p=d[h],p<0&&(d[h]=-p);for(p=d[0],h=1;h<f;h++)m=d[h],m<=n&&p<=n?p=i(p,m):p=s(p,m);return p}return O5=o,O5}var L5,YK;function hWe(){if(YK)return L5;YK=1;var t=mWe(),e=$N(),r=Gle(),n=Wle();function s(){var i=arguments.length,o,l,c,u,d,f,p;for(o=new Array(i),p=0;p<i;p++)o[p]=arguments[p];if(r(o)){if(i===2)return d=o[0],f=o[1],d<0&&(d=-d),f<0&&(f=-f),d===0||f===0?0:d/t(d,f)*f;c=o}else if(e(o[0]))if(i>1){if(c=o[0],l=o[1],!n(l))throw new TypeError("lcm()::invalid input argument. Accessor must be a function. Value: `"+l+"`.")}else c=o[0];else throw new TypeError("lcm()::invalid input argument. Must provide an array of integers. Value: `"+o[0]+"`.");if(u=c.length,u<2)return null;if(l){for(d=new Array(u),p=0;p<u;p++)d[p]=l(c[p],p);c=d}if(i<3&&!r(c))throw new TypeError("lcm()::invalid input argument. Accessed array values must be integers. Value: `"+c+"`.");for(p=0;p<u;p++)d=c[p],d<0&&(c[p]=-d);for(d=c[0],p=1;p<u;p++){if(f=c[p],d===0||f===0)return 0;d=d/t(d,f)*f}return d}return L5=s,L5}var N5,KK;function gWe(){if(KK)return N5;KK=1;var t=pN(),e=Qd();function r(n,s,i,o,l,c){return e(n)&&e(s)&&(c.set(s,n),t(n,s,void 0,r,c),c.delete(s)),n}return N5=r,N5}var F5,QK;function _We(){if(QK)return F5;QK=1;var t=pN(),e=qae(),r=e(function(n,s,i,o){t(n,s,i,o)});return F5=r,F5}var U5,ZK;function vWe(){if(ZK)return U5;ZK=1;var t=Uae(),e=Fh(),r=gWe(),n=_We(),s=e(function(i){return i.push(void 0,r),t(n,void 0,i)});return U5=s,U5}var B5,XK;function ON(){if(XK)return B5;XK=1;var t=jN();function e(r){var n=r==null?0:r.length;return n?t(r,1):[]}return B5=e,B5}var z5,JK;function Yle(){if(JK)return z5;JK=1;var t=jN(),e=1/0;function r(n){var s=n==null?0:n.length;return s?t(n,e):[]}return z5=r,z5}var q5,eQ;function yWe(){if(eQ)return q5;eQ=1;var t=Th(),e=zle(),r=Fh(),n=qle(),s=r(function(i){var o=t(i,n);return o.length&&o[0]===i[0]?e(o):[]});return q5=s,q5}var V5,tQ;function bWe(){if(tQ)return V5;tQ=1;function t(e,r,n,s){for(var i=n-1,o=e.length;++i<o;)if(s(e[i],r))return i;return-1}return V5=t,V5}var H5,rQ;function xWe(){if(rQ)return H5;rQ=1;var t=Th(),e=Ule(),r=bWe(),n=jh(),s=uN(),i=Array.prototype,o=i.splice;function l(c,u,d,f){var p=f?r:e,m=-1,h=u.length,_=c;for(c===u&&(u=s(u)),d&&(_=t(c,n(d)));++m<h;)for(var g=0,y=u[m],b=d?d(y):y;(g=p(_,b,g,f))>-1;)_!==c&&o.call(_,g,1),o.call(c,g,1);return c}return H5=l,H5}var G5,nQ;function SWe(){if(nQ)return G5;nQ=1;var t=xWe();function e(r,n){return r&&r.length&&n&&n.length?t(r,n):r}return G5=e,G5}var W5,sQ;function wWe(){if(sQ)return W5;sQ=1;var t=q3();function e(r){return typeof r=="function"?r:t}return W5=e,W5}var Y5,iQ;function Kle(){if(iQ)return Y5;iQ=1;var t=Ile(),e=Nle(),r=wWe(),n=cv();function s(i,o){var l=n(i)?t:e;return l(i,r(o))}return Y5=s,Y5}var K5,oQ;function CWe(){if(oQ)return K5;oQ=1;var t=nO(),e=TN(),r=EN(),n=Th(),s=jh(),i=sO(),o=200;function l(c,u,d,f){var p=-1,m=e,h=!0,_=c.length,g=[],y=u.length;if(!_)return g;d&&(u=n(u,s(d))),f?(m=r,h=!1):u.length>=o&&(m=i,h=!1,u=new t(u));e:for(;++p<_;){var b=c[p],x=d==null?b:d(b);if(b=f||b!==0?b:0,h&&x===x){for(var w=y;w--;)if(u[w]===x)continue e;g.push(b)}else m(u,x,f)||g.push(b)}return g}return K5=l,K5}var Q5,aQ;function AWe(){if(aQ)return Q5;aQ=1;var t=CWe(),e=Fh(),r=fN(),n=e(function(s,i){return r(s)?t(s,i):[]});return Q5=n,Q5}var Z5,lQ;function Qle(){if(lQ)return Z5;lQ=1;const t=ON(),e=Yle(),r=W0(),n=RN(),s=IN(),i=AWe();function o(_){for(const g in _)u(_,g)&&m(_[g])&&delete _[g];return _}const l=_=>n(e(_.map(d))),c=(_,g)=>_.map(y=>y&&y[g]),u=(_,g)=>Object.prototype.hasOwnProperty.call(_,g),d=_=>r(_)||Array.isArray(_)?Object.keys(_):[],f=_=>_!==void 0,p=_=>r(_)||_===!0||_===!1,m=_=>!d(_).length&&_!==!1&&_!==!0;return Z5={allUniqueKeys:l,deleteUndefinedProps:o,getValues:c,has:u,isEmptySchema:m,isSchema:p,keys:d,notUndefined:f,uniqWith:s,withoutArr:(_,...g)=>i.apply(null,[_].concat(t(g)))},Z5}var X5,cQ;function kWe(){if(cQ)return X5;cQ=1;const t=DN(),e=Kle(),{allUniqueKeys:r,deleteUndefinedProps:n,getValues:s,keys:i,notUndefined:o,uniqWith:l,withoutArr:c}=Qle();function u(f){e(f,function(p,m){p===!1&&delete f[m]})}function d(f,p){return r(f).reduce(function(h,_){const g=s(f,_),y=l(g.filter(o),t);return h[_]=p(y,_),h},{})}return X5={keywords:["properties","patternProperties","additionalProperties"],resolver(f,p,m,h){h.ignoreAdditionalProperties||(f.forEach(function(g){const y=f.filter(C=>C!==g),b=i(g.properties),w=i(g.patternProperties).map(C=>new RegExp(C));y.forEach(function(C){const k=i(C.properties),A=k.filter(T=>w.some(j=>j.test(T)));c(k,b,A).forEach(function(T){C.properties[T]=m.properties([C.properties[T],g.additionalProperties],T)})})}),f.forEach(function(g){const y=f.filter(x=>x!==g),b=i(g.patternProperties);g.additionalProperties===!1&&y.forEach(function(x){const w=i(x.patternProperties);c(w,b).forEach(k=>delete x.patternProperties[k])})}));const _={additionalProperties:m.additionalProperties(f.map(g=>g.additionalProperties)),patternProperties:d(f.map(g=>g.patternProperties),m.patternProperties),properties:d(f.map(g=>g.properties),m.properties)};return _.additionalProperties===!1&&u(_.properties),n(_)}},X5}var J5,uQ;function MWe(){if(uQ)return J5;uQ=1;const t=DN(),e=Kle(),{allUniqueKeys:r,deleteUndefinedProps:n,has:s,isSchema:i,notUndefined:o,uniqWith:l}=Qle();function c(p){e(p,function(m,h){m===!1&&p.splice(h,1)})}function u(p,m){return p.map(function(h){if(h)if(Array.isArray(h.items)){const _=h.items[m];if(i(_))return _;if(s(h,"additionalItems"))return h.additionalItems}else return h.items})}function d(p){return p.map(function(m){if(m)return Array.isArray(m.items)?m.additionalItems:m.items})}function f(p,m,h){return r(h).reduce(function(g,y){const b=u(p,y),x=l(b.filter(o),t);return g[y]=m(x,y),g},[])}return J5={keywords:["items","additionalItems"],resolver(p,m,h){const _=p.map(x=>x.items),g=_.filter(o),y={};g.every(i)?y.items=h.items(_):y.items=f(p,h.items,_);let b;return g.every(Array.isArray)?b=p.map(x=>x.additionalItems):g.some(Array.isArray)&&(b=d(p)),b&&(y.additionalItems=h.additionalItems(b)),y.additionalItems===!1&&Array.isArray(y.items)&&c(y.items),n(y)}},J5}var eI,dQ;function PWe(){if(dQ)return eI;dQ=1;const t=ZGe(),e=DN(),r=hWe(),n=vWe(),s=ON(),i=Yle(),o=yWe(),l=Hle(),c=Lle(),u=W0(),d=SWe(),f=Fle(),p=RN(),m=IN(),h=kWe(),_=MWe(),g=(se,le)=>se.indexOf(le)!==-1,y=se=>u(se)||se===!0||se===!1,b=se=>se===!1,x=se=>se===!0,w=(se,le,ee)=>ee(se),C=se=>f(p(i(se))),k=se=>se!==void 0,A=se=>p(i(se.map(H))),P=se=>se[0],T=se=>C(se),j=se=>Math.max.apply(Math,se),R=se=>Math.min.apply(Math,se),D=se=>se.some(x),O=se=>m(s(se),c);function N(se){return function(le,ee){return e({[se]:le},{[se]:ee})}}function F(se){let{allOf:le=[],...ee}=se;return ee=u(se)?ee:se,[ee,...le.map(F)]}function U(se,le){return se.map(ee=>ee&&ee[le])}function z(se,le){return se.map(function(ee,J){try{return le(ee,J)}catch{return}}).filter(k)}function H(se){return u(se)||Array.isArray(se)?Object.keys(se):[]}function W(se,le){if(le=le||[],!se.length)return le;const ee=se.slice(0).shift(),J=se.slice(1);return le.length?W(J,s(le.map(me=>ee.map(pe=>[pe].concat(me))))):W(J,ee.map(me=>me))}function K(se,le){let ee;try{ee=se.map(function(J){return JSON.stringify(J,null,2)}).join(`
/etc/athonet/ems-frontend/advanced/assets/index-Cw8Irsq8.js.bak:294:    ${t.palette.mode==="light"?Fu(br(t.palette.divider,1),.88):Nu(br(t.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(t.vars||t).palette.text.primary}},{props:{variant:"footer"},style:{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${sFe.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default}}]}))),na=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableCell"}),{align:s="inherit",className:i,component:o,padding:l,scope:c,size:u,sortDirection:d,variant:f,...p}=n,m=I.useContext(gae),h=I.useContext(BA),_=h&&h.variant==="head";let g;o?g=o:g=_?"th":"td";let y=c;g==="td"?y=void 0:!y&&_&&(y="col");const b=f||h&&h.variant,x={...n,align:s,component:g,padding:l||(m&&m.padding?m.padding:"normal"),size:u||(m&&m.size?m.size:"medium"),sortDirection:d,stickyHeader:b==="head"&&m&&m.stickyHeader,variant:b},w=iFe(x);let C=null;return d&&(C=d==="asc"?"ascending":"descending"),a.jsx(oFe,{as:g,ref:r,className:lt(w.root,i),"aria-sort":C,scope:y,ownerState:x,...p})});function aFe(t){return tr("MuiTableContainer",t)}rr("MuiTableContainer",["root"]);const lFe=t=>{const{classes:e}=t;return nr({root:["root"]},aFe,e)},cFe=Ce("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),uFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableContainer"}),{className:s,component:i="div",...o}=n,l={...n,component:i},c=lFe(l);return a.jsx(cFe,{ref:r,as:i,className:lt(c.root,s),ownerState:l,...o})});function dFe(t){return tr("MuiTableHead",t)}rr("MuiTableHead",["root"]);const fFe=t=>{const{classes:e}=t;return nr({root:["root"]},dFe,e)},pFe=Ce("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),mFe={variant:"head"},$W="thead",OW=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableHead"}),{className:s,component:i=$W,...o}=n,l={...n,component:i},c=fFe(l);return a.jsx(BA.Provider,{value:mFe,children:a.jsx(pFe,{as:i,className:lt(c.root,s),ref:r,role:i===$W?null:"rowgroup",ownerState:l,...o})})});function hFe(t){return tr("MuiToolbar",t)}rr("MuiToolbar",["root","gutters","regular","dense"]);const gFe=t=>{const{classes:e,disableGutters:r,variant:n}=t;return nr({root:["root",!r&&"gutters",n]},hFe,e)},_Fe=Ce("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,!r.disableGutters&&e.gutters,e[r.variant]]}})(Xt(({theme:t})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:t.spacing(2),paddingRight:t.spacing(2),[t.breakpoints.up("sm")]:{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:t.mixins.toolbar}]}))),tN=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiToolbar"}),{className:s,component:i="div",disableGutters:o=!1,variant:l="regular",...c}=n,u={...n,component:i,disableGutters:o,variant:l},d=gFe(u);return a.jsx(_Fe,{as:i,className:lt(d.root,s),ref:r,ownerState:u,...c})}),vFe=I.forwardRef(function(e,r){const{backIconButtonProps:n,count:s,disabled:i=!1,getItemAriaLabel:o,nextIconButtonProps:l,onPageChange:c,page:u,rowsPerPage:d,showFirstButton:f,showLastButton:p,slots:m={},slotProps:h={},..._}=e,g=ui(),y=q=>{c(q,0)},b=q=>{c(q,u-1)},x=q=>{c(q,u+1)},w=q=>{c(q,Math.max(0,Math.ceil(s/d)-1))},C=m.firstButton??Zr,k=m.lastButton??Zr,A=m.nextButton??Zr,P=m.previousButton??Zr,T=m.firstButtonIcon??U8e,j=m.lastButtonIcon??B8e,R=m.nextButtonIcon??nse,D=m.previousButtonIcon??rse,O=g?k:C,N=g?A:P,F=g?P:A,U=g?C:k,z=g?h.lastButton:h.firstButton,H=g?h.nextButton:h.previousButton,W=g?h.previousButton:h.nextButton,K=g?h.firstButton:h.lastButton;return a.jsxs("div",{ref:r,..._,children:[f&&a.jsx(O,{onClick:y,disabled:i||u===0,"aria-label":o("first",u),title:o("first",u),...z,children:g?a.jsx(j,{...h.lastButtonIcon}):a.jsx(T,{...h.firstButtonIcon})}),a.jsx(N,{onClick:b,disabled:i||u===0,color:"inherit","aria-label":o("previous",u),title:o("previous",u),...H??n,children:g?a.jsx(R,{...h.nextButtonIcon}):a.jsx(D,{...h.previousButtonIcon})}),a.jsx(F,{onClick:x,disabled:i||(s!==-1?u>=Math.ceil(s/d)-1:!1),color:"inherit","aria-label":o("next",u),title:o("next",u),...W??l,children:g?a.jsx(D,{...h.previousButtonIcon}):a.jsx(R,{...h.nextButtonIcon})}),p&&a.jsx(U,{onClick:w,disabled:i||u>=Math.ceil(s/d)-1,"aria-label":o("last",u),title:o("last",u),...K,children:g?a.jsx(T,{...h.firstButtonIcon}):a.jsx(j,{...h.lastButtonIcon})})]})});function yFe(t){return tr("MuiTablePagination",t)}const yb=rr("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var LW;const bFe=Ce(na,{name:"MuiTablePagination",slot:"Root",overridesResolver:(t,e)=>e.root})(Xt(({theme:t})=>({overflow:"auto",color:(t.vars||t).palette.text.primary,fontSize:t.typography.pxToRem(14),"&:last-child":{padding:0}}))),xFe=Ce(tN,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(t,e)=>({[`& .${yb.actions}`]:e.actions,...e.toolbar})})(Xt(({theme:t})=>({minHeight:52,paddingRight:2,[`${t.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[t.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${yb.actions}`]:{flexShrink:0,marginLeft:20}}))),SFe=Ce("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(t,e)=>e.spacer})({flex:"1 1 100%"}),wFe=Ce("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(t,e)=>e.selectLabel})(Xt(({theme:t})=>({...t.typography.body2,flexShrink:0}))),CFe=Ce(yA,{name:"MuiTablePagination",slot:"Select",overridesResolver:(t,e)=>({[`& .${yb.selectIcon}`]:e.selectIcon,[`& .${yb.select}`]:e.select,...e.input,...e.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${yb.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),AFe=Ce(E_,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(t,e)=>e.menuItem})({}),kFe=Ce("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(t,e)=>e.displayedRows})(Xt(({theme:t})=>({...t.typography.body2,flexShrink:0})));function MFe({from:t,to:e,count:r}){return`${t}–${e} of ${r!==-1?r:`more than ${e}`}`}function PFe(t){return`Go to ${t} page`}const jFe=t=>{const{classes:e}=t;return nr({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},yFe,e)},TFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTablePagination"}),{ActionsComponent:s=vFe,backIconButtonProps:i,colSpan:o,component:l=na,count:c,disabled:u=!1,getItemAriaLabel:d=PFe,labelDisplayedRows:f=MFe,labelRowsPerPage:p="Rows per page:",nextIconButtonProps:m,onPageChange:h,onRowsPerPageChange:_,page:g,rowsPerPage:y,rowsPerPageOptions:b=[10,25,50,100],SelectProps:x={},showFirstButton:w=!1,showLastButton:C=!1,slotProps:k={},slots:A={},...P}=n,T=n,j=jFe(T),R=k?.select??x,D=R.native?"option":AFe;let O;(l===na||l==="td")&&(O=o||1e3);const N=$c(R.id),F=$c(R.labelId),U=()=>c===-1?(g+1)*y:y===-1?c:Math.min(c,(g+1)*y),z={slots:A,slotProps:k},[H,W]=mr("root",{ref:r,className:j.root,elementType:bFe,externalForwardedProps:{...z,component:l,...P},ownerState:T,additionalProps:{colSpan:O}}),[K,q]=mr("toolbar",{className:j.toolbar,elementType:xFe,externalForwardedProps:z,ownerState:T}),[X,Q]=mr("spacer",{className:j.spacer,elementType:SFe,externalForwardedProps:z,ownerState:T}),[Y,Z]=mr("selectLabel",{className:j.selectLabel,elementType:wFe,externalForwardedProps:z,ownerState:T,additionalProps:{id:F}}),[re,fe]=mr("select",{className:j.select,elementType:CFe,externalForwardedProps:z,ownerState:T}),[de,se]=mr("menuItem",{className:j.menuItem,elementType:D,externalForwardedProps:z,ownerState:T}),[le,ee]=mr("displayedRows",{className:j.displayedRows,elementType:kFe,externalForwardedProps:z,ownerState:T});return a.jsx(H,{...W,children:a.jsxs(K,{...q,children:[a.jsx(X,{...Q}),b.length>1&&a.jsx(Y,{...Z,children:p}),b.length>1&&a.jsx(re,{variant:"standard",...!R.variant&&{input:LW||(LW=a.jsx(vA,{}))},value:y,onChange:_,id:N,labelId:F,...R,classes:{...R.classes,root:lt(j.input,j.selectRoot,(R.classes||{}).root),select:lt(j.select,(R.classes||{}).select),icon:lt(j.selectIcon,(R.classes||{}).icon)},disabled:u,...fe,children:b.map(J=>I.createElement(de,{...se,key:J.label?J.label:J,value:J.value?J.value:J},J.label?J.label:J))}),a.jsx(le,{...ee,children:f({from:c===0?0:g*y+1,to:U(),count:c===-1?-1:c,page:g})}),a.jsx(s,{className:j.actions,backIconButtonProps:i,count:c,nextIconButtonProps:m,onPageChange:h,page:g,rowsPerPage:y,showFirstButton:w,showLastButton:C,slotProps:k.actions,slots:A.actions,getItemAriaLabel:d,disabled:u})]})})});function EFe(t){return tr("MuiTableRow",t)}const NW=rr("MuiTableRow",["root","selected","hover","head","footer"]),RFe=t=>{const{classes:e,selected:r,hover:n,head:s,footer:i}=t;return nr({root:["root",r&&"selected",n&&"hover",s&&"head",i&&"footer"]},EFe,e)},IFe=Ce("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.head&&e.head,r.footer&&e.footer]}})(Xt(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${NW.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${NW.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}))),FW="tr",d_=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableRow"}),{className:s,component:i=FW,hover:o=!1,selected:l=!1,...c}=n,u=I.useContext(BA),d={...n,component:i,hover:o,selected:l,head:u&&u.variant==="head",footer:u&&u.variant==="footer"},f=RFe(d);return a.jsx(IFe,{as:i,ref:r,className:lt(f.root,s),role:i===FW?null:"row",ownerState:d,...c})}),DFe=rs(a.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function $Fe(t){return tr("MuiTableSortLabel",t)}const XE=rr("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),OFe=t=>{const{classes:e,direction:r,active:n}=t,s={root:["root",n&&"active",`direction${tt(r)}`],icon:["icon",`iconDirection${tt(r)}`]};return nr(s,$Fe,e)},LFe=Ce(La,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.active&&e.active]}})(Xt(({theme:t})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(t.vars||t).palette.text.secondary},"&:hover":{color:(t.vars||t).palette.text.secondary,[`& .${XE.icon}`]:{opacity:.5}},[`&.${XE.active}`]:{color:(t.vars||t).palette.text.primary,[`& .${XE.icon}`]:{opacity:1,color:(t.vars||t).palette.text.secondary}}}))),NFe=Ce("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.icon,e[`iconDirection${tt(r.direction)}`]]}})(Xt(({theme:t})=>({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:t.transitions.create(["opacity","transform"],{duration:t.transitions.duration.shorter}),userSelect:"none",variants:[{props:{direction:"desc"},style:{transform:"rotate(0deg)"}},{props:{direction:"asc"},style:{transform:"rotate(180deg)"}}]}))),FFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiTableSortLabel"}),{active:s=!1,children:i,className:o,direction:l="asc",hideSortIcon:c=!1,IconComponent:u=DFe,slots:d={},slotProps:f={},...p}=n,m={...n,active:s,direction:l,hideSortIcon:c,IconComponent:u},h=OFe(m),_={slots:d,slotProps:f},[g,y]=mr("root",{elementType:LFe,externalForwardedProps:_,ownerState:m,className:lt(h.root,o),ref:r}),[b,x]=mr("icon",{elementType:NFe,externalForwardedProps:_,ownerState:m,className:h.icon});return a.jsxs(g,{disableRipple:!0,component:"span",...y,...p,children:[i,c&&!s?null:a.jsx(b,{as:u,...x})]})});function UFe(t){return tr("MuiToggleButton",t)}const Zm=rr("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),_ae=I.createContext({}),vae=I.createContext(void 0);function BFe(t,e){return e===void 0||t===void 0?!1:Array.isArray(e)?e.includes(t):t===e}const zFe=t=>{const{classes:e,fullWidth:r,selected:n,disabled:s,size:i,color:o}=t,l={root:["root",n&&"selected",s&&"disabled",r&&"fullWidth",`size${tt(i)}`,o]};return nr(l,UFe,e)},qFe=Ce(La,{name:"MuiToggleButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,e[`size${tt(r.size)}`]]}})(Xt(({theme:t})=>({...t.typography.button,borderRadius:(t.vars||t).shape.borderRadius,padding:11,border:`1px solid ${(t.vars||t).palette.divider}`,color:(t.vars||t).palette.action.active,[`&.${Zm.disabled}`]:{color:(t.vars||t).palette.action.disabled,border:`1px solid ${(t.vars||t).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.hoverOpacity})`:br(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${Zm.selected}`]:{color:(t.vars||t).palette.text.primary,backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.text.primary,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette.text.primary,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.text.primaryChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette.text.primary,t.palette.action.selectedOpacity)}}}}},...Object.entries(t.palette).filter(Kn()).map(([e])=>({props:{color:e},style:{[`&.${Zm.selected}`]:{color:(t.vars||t).palette[e].main,backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette[e].main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:br(t.palette[e].main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.selectedOpacity})`:br(t.palette[e].main,t.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:t.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:t.typography.pxToRem(15)}}]}))),VFe=I.forwardRef(function(e,r){const{value:n,...s}=I.useContext(_ae),i=I.useContext(vae),o=k_({...s,selected:BFe(e.value,n)},e),l=fr({props:o,name:"MuiToggleButton"}),{children:c,className:u,color:d="standard",disabled:f=!1,disableFocusRipple:p=!1,fullWidth:m=!1,onChange:h,onClick:_,selected:g,size:y="medium",value:b,...x}=l,w={...l,color:d,disabled:f,disableFocusRipple:p,fullWidth:m,size:y},C=zFe(w),k=P=>{_&&(_(P,b),P.defaultPrevented)||h&&h(P,b)},A=i||"";return a.jsx(qFe,{className:lt(s.className,C.root,u,A),disabled:f,focusRipple:!p,ref:r,onClick:k,onChange:h,value:b,ownerState:w,"aria-pressed":g,...x,children:c})});function HFe(t){return tr("MuiToggleButtonGroup",t)}const Gs=rr("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),GFe=t=>{const{classes:e,orientation:r,fullWidth:n,disabled:s}=t,i={root:["root",r,n&&"fullWidth"],grouped:["grouped",`grouped${tt(r)}`,s&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return nr(i,HFe,e)},WFe=Ce("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[{[`& .${Gs.grouped}`]:e.grouped},{[`& .${Gs.grouped}`]:e[`grouped${tt(r.orientation)}`]},{[`& .${Gs.firstButton}`]:e.firstButton},{[`& .${Gs.lastButton}`]:e.lastButton},{[`& .${Gs.middleButton}`]:e.middleButton},e.root,r.orientation==="vertical"&&e.vertical,r.fullWidth&&e.fullWidth]}})(Xt(({theme:t})=>({display:"inline-flex",borderRadius:(t.vars||t).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Gs.grouped}`]:{[`&.${Gs.selected} + .${Gs.grouped}.${Gs.selected}`]:{borderTop:0,marginTop:0}},[`& .${Gs.firstButton},& .${Gs.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${Gs.lastButton},& .${Gs.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${Gs.lastButton}.${Zm.disabled},& .${Gs.middleButton}.${Zm.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${Gs.grouped}`]:{[`&.${Gs.selected} + .${Gs.grouped}.${Gs.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${Gs.firstButton},& .${Gs.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Gs.lastButton},& .${Gs.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${Gs.lastButton}.${Zm.disabled},& .${Gs.middleButton}.${Zm.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),YFe=I.forwardRef(function(e,r){const n=fr({props:e,name:"MuiToggleButtonGroup"}),{children:s,className:i,color:o="standard",disabled:l=!1,exclusive:c=!1,fullWidth:u=!1,onChange:d,orientation:f="horizontal",size:p="medium",value:m,...h}=n,_={...n,disabled:l,fullWidth:u,orientation:f,size:p},g=GFe(_),y=I.useCallback((A,P)=>{if(!d)return;const T=m&&m.indexOf(P);let j;m&&T>=0?(j=m.slice(),j.splice(T,1)):j=m?m.concat(P):[P],d(A,j)},[d,m]),b=I.useCallback((A,P)=>{d&&d(A,m===P?null:P)},[d,m]),x=I.useMemo(()=>({className:g.grouped,onChange:c?b:y,value:m,size:p,fullWidth:u,color:o,disabled:l}),[g.grouped,c,b,y,m,p,u,o,l]),w=nre(s),C=w.length,k=A=>{const P=A===0,T=A===C-1;return P&&T?"":P?g.firstButton:T?g.lastButton:g.middleButton};return a.jsx(WFe,{role:"group",className:lt(g.root,i),ref:r,ownerState:_,...h,children:a.jsx(_ae.Provider,{value:x,children:w.map((A,P)=>a.jsx(vae.Provider,{value:k(P),children:A},P))})})});function yae(t){const e=he.c(18),{children:r,maxItems:n,small:s,expandable:i,itemsAfterCollapse:o,sx:l}=t,c=i===void 0?!1:i,u=o===void 0?1:o;let d;e[0]===Symbol.for("react.memo_cache_sentinel")?(d={display:"flex",flexWrap:"nowrap",alignItems:"baseline"},e[0]=d):d=e[0];let f;e[1]!==c?(f=!c&&{pointerEvents:"none",display:{xs:"none",sm:"flex"}},e[1]=c,e[2]=f):f=e[2];let p;e[3]!==f?(p={".MuiButtonBase-root":{...f}},e[3]=f,e[4]=p):p=e[4];let m;e[5]!==l||e[6]!==p?(m={...l,ol:d,li:p},e[5]=l,e[6]=p,e[7]=m):m=e[7];let h;if(e[8]!==r||e[9]!==s){let g;e[11]!==s?(g=(y,b)=>a.jsx(gt,{sx:{fontSize:s?"13px":"20px"},children:y},`breadcrumb-${b}`),e[11]=s,e[12]=g):g=e[12],h=I.Children.map(r,g),e[8]=r,e[9]=s,e[10]=h}else h=e[10];let _;return e[13]!==u||e[14]!==n||e[15]!==m||e[16]!==h?(_=a.jsx(c7e,{maxItems:n,itemsAfterCollapse:u,separator:"/",sx:m,children:h}),e[13]=u,e[14]=n,e[15]=m,e[16]=h,e[17]=_):_=e[17],_}function bae(){const t=he.c(7),e=Nr(KFe);let r;t[0]!==e?(r=()=>{e(!0)},t[0]=e,t[1]=r):r=t[1];const n=r;let s;t[2]!==e?(s=()=>{e(!1)},t[2]=e,t[3]=s):s=t[3];const i=s;let o;return t[4]!==i||t[5]!==n?(o={navigationOpen:n,navigationClose:i},t[4]=i,t[5]=n,t[6]=o):o=t[6],o}function KFe(t){return t.setNavigation}function QFe(){const t=he.c(10),e=Nr(ZFe),{navigationOpen:r,navigationClose:n}=bae();let s;t[0]!==e||t[1]!==n||t[2]!==r?(s=()=>{e?n():r()},t[0]=e,t[1]=n,t[2]=r,t[3]=s):s=t[3];const i=s;let o;t[4]===Symbol.for("react.memo_cache_sentinel")?(o={fontSize:"24px"},t[4]=o):o=t[4];let l;t[5]!==e?(l=e?a.jsx(ge.NavigationBurgerClose,{}):a.jsx(ge.NavigationBurgerOpen,{}),t[5]=e,t[6]=l):l=t[6];let c;return t[7]!==i||t[8]!==l?(c=a.jsx(Zr,{onClick:i,sx:o,children:l}),t[7]=i,t[8]=l,t[9]=c):c=t[9],c}function ZFe(t){return t.navigation}function UW(t){const e=he.c(39),{icon:r,value:n,label:s,onClick:i,subItems:o,isSubItem:l,subListOpen:c,onSubListOpen:u,isActive:d,hasSubItems:f}=t;let p;e[0]!==u||e[1]!==n?(p=()=>{u&&u(n)},e[0]=u,e[1]=n,e[2]=p):p=e[2];const m=p;let h;e[3]!==i||e[4]!==n?(h=()=>{i&&i(n)},e[3]=i,e[4]=n,e[5]=h):h=e[5];const g=o?m:h,y=d&&!l&&!f?"16px":"20px",b=l?.5:1;let x;e[6]!==d||e[7]!==l?(x=l&&{pl:d?"48px":"53px",position:"relative"},e[6]=d,e[7]=l,e[8]=x):x=e[8];let w;e[9]!==f||e[10]!==d?(w=d&&{fontWeight:600,...f&&{},...!f&&{borderLeft:"4px solid",borderColor:"primary.main",backgroundColor:"action.hover"}},e[9]=f,e[10]=d,e[11]=w):w=e[11];let C;e[12]!==y||e[13]!==b||e[14]!==x||e[15]!==w?(C={position:"relative",pr:"14px",pl:y,py:b,my:0,...x,...w},e[12]=y,e[13]=b,e[14]=x,e[15]=w,e[16]=C):C=e[16];let k;e[17]!==r||e[18]!==l?(k=!l&&a.jsx(LO,{sx:{minWidth:"auto",mr:"12px",fontSize:"20px"},children:r}),e[17]=r,e[18]=l,e[19]=k):k=e[19];const A=l?"body2":"body1",P=d?"600":"400";let T;e[20]!==A||e[21]!==P?(T={variant:A,fontWeight:P},e[20]=A,e[21]=P,e[22]=T):T=e[22];let j;e[23]!==s||e[24]!==T||e[25]!==n?(j=a.jsx(dA,{inset:!1,primary:s,primaryTypographyProps:T},n),e[23]=s,e[24]=T,e[25]=n,e[26]=j):j=e[26];let R;e[27]!==o?.length||e[28]!==c?(R=o?.length&&a.jsx(gt,{sx:{transformOrigin:"center",transition:"transform .35s",opacity:"0.5",height:"20px",...c&&{transform:"rotate(.5turn)"}},children:a.jsx(ge.DownArrow,{fontSize:20})}),e[27]=o?.length,e[28]=c,e[29]=R):R=e[29];let D;e[30]!==j||e[31]!==R||e[32]!==C||e[33]!==k?(D=a.jsxs(Vne,{sx:C,disableGutters:!0,children:[k,j,R]}),e[30]=j,e[31]=R,e[32]=C,e[33]=k,e[34]=D):D=e[34];let O;return e[35]!==D||e[36]!==g||e[37]!==n?(O=a.jsx(wA,{onClick:g,disableGutters:!0,disablePadding:!0,children:D},n),e[35]=D,e[36]=g,e[37]=n,e[38]=O):O=e[38],O}const xae=270;function XFe(t){const e=he.c(59),{open:r,headerComponent:n,footerComponent:s,items:i,activeValue:o}=t,l=As(),c=Nd(l.breakpoints.up("md"))?"persistent":"temporary",u=Nr(tUe),{navigationOpen:d,navigationClose:f}=bae(),p=Nr(eUe),m=Nr(JFe);let h;e[0]!==m?(h=Z=>{m(Z)},e[0]=m,e[1]=h):h=e[1];const _=h;let g;e[2]!==f||e[3]!==c?(g=()=>{c==="temporary"&&f()},e[2]=f,e[3]=c,e[4]=g):g=e[4];const y=g;let b;e[5]!==p?(b=Z=>{const{value:re}=Z;return p.includes(re)},e[5]=p,e[6]=b):b=e[6];const x=b;let w;e[7]!==d||e[8]!==r?(w=()=>{r&&d()},e[7]=d,e[8]=r,e[9]=w):w=e[9];let C;e[10]!==i||e[11]!==d||e[12]!==r?(C=[i,r,d],e[10]=i,e[11]=d,e[12]=r,e[13]=C):C=e[13],I.useEffect(w,C);let k,A;e[14]!==f||e[15]!==c?(k=()=>{const Z=setTimeout(()=>{c==="temporary"&&f()},0);return()=>{clearTimeout(Z)}},A=[f,c],e[14]=f,e[15]=c,e[16]=k,e[17]=A):(k=e[16],A=e[17]),I.useEffect(k,A);const P=I.useRef(!1);let T,j;e[18]!==o||e[19]!==i||e[20]!==m||e[21]!==p?(T=()=>{if(P.current)return;const Z=i.find(re=>re.subItems?.find(fe=>{const{value:de}=fe;return de===o}));Z&&!p.includes(Z.value)&&m(Z.value),P.current=!0},j=[o,i,m,p],e[18]=o,e[19]=i,e[20]=m,e[21]=p,e[22]=T,e[23]=j):(T=e[22],j=e[23]),I.useEffect(T,j);const R=Nd(l.breakpoints.down($.appBarMobileBreakpoint))?"125px":"60px",D=l.zIndex.appBar-1;let O;e[24]!==R||e[25]!==D?(O={sx:{mt:R,zIndex:D}},e[24]=R,e[25]=D,e[26]=O):O=e[26];const N=l.zIndex.appBar-1;let F;e[27]!==N?(F={zIndex:N},e[27]=N,e[28]=F):F=e[28];const U=`calc(100vh - ${R})`;let z;e[29]!==U?(z={height:U,width:xae,position:"relative"},e[29]=U,e[30]=z):z=e[30];let H;e[31]!==n?(H=n&&a.jsx(gt,{sx:{px:3,pb:2},children:n}),e[31]=n,e[32]=H):H=e[32];let W;e[33]===Symbol.for("react.memo_cache_sentinel")?(W={flexGrow:1,overflowY:"auto",mt:"0 !important"},e[33]=W):W=e[33];let K;if(e[34]!==y||e[35]!==_||e[36]!==x||e[37]!==i){let Z;e[39]!==y||e[40]!==_||e[41]!==x?(Z=(re,fe)=>{const de=x(re);return a.jsxs(gt,{sx:{position:"relative",zIndex:1e3,color:"text.primary",borderBottom:"1px solid",borderColor:"divider"},children:[a.jsx(z6,{to:re.value,onClick:se=>{re.subItems?se.preventDefault():y()},style:{textDecoration:"none",color:"inherit"},target:re.external?"_blank":"_self",children:se=>{const{isActive:le}=se;return a.jsx(UW,{...re,onSubListOpen:_,subListOpen:de,isActive:le,hasSubItems:!!re.subItems?.length})}}),re.subItems?.length&&a.jsx(Qb,{in:de,timeout:"auto",unmountOnExit:!0,children:a.jsx(_h,{component:"div",sx:{pt:0,pb:0},children:re.subItems.map(se=>a.jsx(z6,{to:se.value,style:{textDecoration:"none",color:"inherit"},target:se.external?"_blank":"_self",children:le=>{const{isActive:ee}=le;return a.jsx(UW,{...se,onClick:y,isSubItem:!0,isActive:ee})}},`${se.value}-${fe}`))})})]},`${re.value}-${fe}`)},e[39]=y,e[40]=_,e[41]=x,e[42]=Z):Z=e[42],K=i.map(Z),e[34]=y,e[35]=_,e[36]=x,e[37]=i,e[38]=K}else K=e[38];let q;e[43]!==K?(q=a.jsx(_h,{sx:W,component:"nav","aria-labelledby":"nested-list-subheader",disablePadding:!0,children:K}),e[43]=K,e[44]=q):q=e[44];let X;e[45]!==s?(X=s&&a.jsx(gt,{sx:{px:3,pt:1},children:s}),e[45]=s,e[46]=X):X=e[46];let Q;e[47]!==z||e[48]!==H||e[49]!==q||e[50]!==X?(Q=a.jsxs(te,{sx:z,nowrap:!0,children:[H,q,X]}),e[47]=z,e[48]=H,e[49]=q,e[50]=X,e[51]=Q):Q=e[51];let Y;return e[52]!==y||e[53]!==u||e[54]!==O||e[55]!==F||e[56]!==Q||e[57]!==c?(Y=a.jsx(aae,{variant:c,onClose:y,open:u,PaperProps:O,sx:F,children:Q}),e[52]=y,e[53]=u,e[54]=O,e[55]=F,e[56]=Q,e[57]=c,e[58]=Y):Y=e[58],Y}function JFe(t){return t.setNavigationSubListOpen}function eUe(t){return t.navigationSubListOpen}function tUe(t){return t.navigation}function G0(t){const e=he.c(19),{children:r,appBar:n,fullHeight:s,navigation:i,fullWidth:o}=t,l=ci(),c=Nr(rUe),u=aC(l.breakpoints.up("md"))?"persistent":"temporary";let d;e[0]!==o?(d=o&&{"&.MuiContainer-maxWidthXl":{maxWidth:"100%"}},e[0]=o,e[1]=d):d=e[1];let f;e[2]!==d?(f={...d},e[2]=d,e[3]=f):f=e[3];const p=n?10:2,m=s&&"100vh",h=s&&"100vh",_=i&&c&&u==="persistent"?`${xae}px`:0;let g;e[4]!==p||e[5]!==m||e[6]!==h||e[7]!==_?(g={pt:p,pb:3,height:m,maxHeight:h,overflow:"visible",pl:_,width:"100%"},e[4]=p,e[5]=m,e[6]=h,e[7]=_,e[8]=g):g=e[8];let y;e[9]===Symbol.for("react.memo_cache_sentinel")?(y={overflow:"visible"},e[9]=y):y=e[9];let b;e[10]!==r||e[11]!==s?(b=a.jsx(te,{fullHeight:s,spacing:2.5,nowrap:!0,sx:y,children:r}),e[10]=r,e[11]=s,e[12]=b):b=e[12];let x;e[13]!==g||e[14]!==b?(x=a.jsx(gt,{sx:g,children:b}),e[13]=g,e[14]=b,e[15]=x):x=e[15];let w;return e[16]!==x||e[17]!==f?(w=a.jsx(H7e,{maxWidth:"xl",sx:f,children:x}),e[16]=x,e[17]=f,e[18]=w):w=e[18],w}function rUe(t){return t.navigation}function nUe(t){const e=he.c(3),{children:r}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={flex:"0 0 auto",pb:1,pt:.5,px:2},e[0]=n):n=e[0];let s;return e[1]!==r?(s=a.jsx(S7e,{sx:n,children:r}),e[1]=r,e[2]=s):s=e[2],s}function Kt(t){const e=he.c(10),{children:r,title:n,titleColor:s,dense:i,sx:o}=t,l=s===void 0?"text.primary":s;let c;e[0]!==o?(c={p:2,flex:"1 1 auto",minWidth:0,...o},e[0]=o,e[1]=c):c=e[1];let u;e[2]!==i||e[3]!==n||e[4]!==l?(u=n&&a.jsx(gt,{sx:{mb:2,"&:last-child":{mb:0}},children:a.jsx(_e,{type:i?"body1":"h6",color:l,fontWeight:600,children:n})}),e[2]=i,e[3]=n,e[4]=l,e[5]=u):u=e[5];let d;return e[6]!==r||e[7]!==c||e[8]!==u?(d=a.jsxs(gt,{sx:c,children:[u,r]}),e[6]=r,e[7]=c,e[8]=u,e[9]=d):d=e[9],d}const sUe=Ce(({className:t,opaque:e,...r})=>a.jsx(hae,{...r,classes:{popper:t}}))(({theme:t,...e})=>()=>typeof e.title=="string"||!e.opaque?{}:{[`& .${Xs.tooltip}`]:{padding:"0 !important",backgroundColor:t.palette.background.paper,color:t.palette.text.primary,opacity:0,boxShadow:t.shadows[5],border:"1px solid",borderColor:t.palette.divider},"& .tooltip-items":{maxHeight:"60vh",overflowY:"auto"},[`& .${Xs.arrow}`]:{color:t.palette.background.paper,"&::before":{backgroundColor:t.palette.background.paper,border:"1px solid",borderColor:t.palette.divider,borderBottom:0}}});function Mn(t){const e=he.c(8);let r,n,s;e[0]!==t?({arrow:n,placement:s,...r}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s):(r=e[1],n=e[2],s=e[3]);const i=n===void 0?!0:n,o=s===void 0?"bottom":s;let l;return e[4]!==i||e[5]!==o||e[6]!==r?(l=a.jsx(sUe,{arrow:i,placement:o,...r}),e[4]=i,e[5]=o,e[6]=r,e[7]=l):l=e[7],l}function iUe(t){const e=he.c(5),{children:r,tooltip:n}=t;let s;e[0]!==n?(s=n&&a.jsx(Mn,{title:n,arrow:!0,children:a.jsx("span",{children:a.jsx(ge.Info,{})})}),e[0]=n,e[1]=s):s=e[1];let i;return e[2]!==r||e[3]!==s?(i=a.jsxs(QL,{direction:"row",justifyContent:"flex-end",alignItems:"center",spacing:2.25,children:[r,s]}),e[2]=r,e[3]=s,e[4]=i):i=e[4],i}function oUe(t){const e=he.c(24),{title:r,children:n,tooltip:s,dense:i,folder:o}=t,l=i===void 0?!1:i,c=o===void 0?!1:o,u=ci(),d=l?"h6":"h5";let f;e[0]!==d?(f={variant:d,fontWeight:"600",lineHeight:1},e[0]=d,e[1]=f):f=e[1];const p=l||c?0:"inherit",m=c?1:2,h=l||c?1:2,_=l||c?"10px":"40px";let g;e[2]!==_?(g={minHeight:_,display:"flex",alignItems:"center"},e[2]=_,e[3]=g):g=e[3];let y;e[4]===Symbol.for("react.memo_cache_sentinel")?(y={alignSelf:"center"},e[4]=y):y=e[4];let b;e[5]!==p||e[6]!==m||e[7]!==h||e[8]!==g||e[9]!==u.palette.text.secondary?(b={color:u.palette.text.secondary,display:"flex",flex:"0 0 auto",lineHeight:p,pt:m,pb:h,".MuiCardHeader-content":g,".MuiCardHeader-action":y},e[5]=p,e[6]=m,e[7]=h,e[8]=g,e[9]=u.palette.text.secondary,e[10]=b):b=e[10];let x;e[11]!==n||e[12]!==s?(x=a.jsx(iUe,{tooltip:s,children:n}),e[11]=n,e[12]=s,e[13]=x):x=e[13];let w;e[14]!==b||e[15]!==x||e[16]!==f||e[17]!==r?(w=a.jsx(j7e,{title:r,titleTypographyProps:f,sx:b,action:x}),e[14]=b,e[15]=x,e[16]=f,e[17]=r,e[18]=w):w=e[18];let C;e[19]!==c?(C=c&&a.jsx(Oc,{}),e[19]=c,e[20]=C):C=e[20];let k;return e[21]!==w||e[22]!==C?(k=a.jsxs(a.Fragment,{children:[w,C]}),e[21]=w,e[22]=C,e[23]=k):k=e[23],k}function pr(t){const e=he.c(58);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g;e[0]!==t?({children:r,title:h,headerActionsComponent:i,footerActionsComponent:s,tooltip:_,highlightedColor:o,fullHeight:d,dense:f,folder:p,elevation:m,modalElevation:l,variant:g,sx:u,error:n,...c}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15]);const y=d===void 0?!1:d,b=f===void 0?!1:f,x=p===void 0?!1:p,w=m===void 0?1:m,C=y?"hidden":"visible",k=y?"100%":"auto";let A;e[16]!==o?(A=o&&{borderBottom:"5px solid",borderBottomColor:`${o}.main`},e[16]=o,e[17]=A):A=e[17];let P;e[18]!==g?(P=g==="outlined"&&{backgroundColor:"transparent"},e[18]=g,e[19]=P):P=e[19];let T;e[20]!==n?(T=n&&{border:"2px solid !important",borderColor:aUe},e[20]=n,e[21]=T):T=e[21];let j;e[22]!==w||e[23]!==l?(j=l&&{backgroundImage:H=>H.palette.mode==="dark"?`linear-gradient(${Ic("#fff",+hh(24+w*24))}, ${Ic("#fff",+hh(24+w*24))})`:"none"},e[22]=w,e[23]=l,e[24]=j):j=e[24];let R;e[25]!==u||e[26]!==j||e[27]!==C||e[28]!==k||e[29]!==A||e[30]!==P||e[31]!==T?(R={flex:"1 1 auto",display:"flex",overflow:C,height:k,...A,...P,...T,...j,...u},e[25]=u,e[26]=j,e[27]=C,e[28]=k,e[29]=A,e[30]=P,e[31]=T,e[32]=R):R=e[32];let D;e[33]===Symbol.for("react.memo_cache_sentinel")?(D={flex:"1 1 auto",minWidth:0},e[33]=D):D=e[33];let O;e[34]!==b||e[35]!==x||e[36]!==i||e[37]!==h||e[38]!==_?(O=!h&&!_&&!i?null:a.jsx(oUe,{title:h,tooltip:_,dense:b,folder:x,children:i}),e[34]=b,e[35]=x,e[36]=i,e[37]=h,e[38]=_,e[39]=O):O=e[39];let N;if(e[40]!==r||e[41]!==b){let H;e[43]!==b?(H=W=>W.type===Kt?I.cloneElement(W,{dense:b}):W,e[43]=b,e[44]=H):H=e[44],N=I.Children.map(r,H),e[40]=r,e[41]=b,e[42]=N}else N=e[42];let F;e[45]!==s?(F=s&&a.jsx(nUe,{children:s}),e[45]=s,e[46]=F):F=e[46];let U;e[47]!==y||e[48]!==O||e[49]!==N||e[50]!==F?(U=a.jsxs(te,{spacing:0,sx:D,fullHeight:y,nowrap:!0,children:[O,N,F]}),e[47]=y,e[48]=O,e[49]=N,e[50]=F,e[51]=U):U=e[51];let z;return e[52]!==w||e[53]!==c||e[54]!==R||e[55]!==U||e[56]!==g?(z=a.jsx(v7e,{elevation:w,variant:g,sx:R,...c,children:U}),e[52]=w,e[53]=c,e[54]=R,e[55]=U,e[56]=g,e[57]=z):z=e[57],z}function aUe(t){return`${t.palette.error.main} !important`}function zA(t){const e=he.c(20),{children:r,fullHeight:n,transparent:s}=t;let i;e[0]!==n?(i=n&&{height:"100%",maxHeight:"100%",overflow:"hidden"},e[0]=n,e[1]=i):i=e[1];let o;e[2]!==i?(o={width:"100%",maxWidth:"1000px",margin:"0 auto",...i},e[2]=i,e[3]=o):o=e[3];let l;e[4]!==s?(l=s&&{backgroundColor:"transparent"},e[4]=s,e[5]=l):l=e[5];let c;e[6]!==l?(c={...l},e[6]=l,e[7]=c):c=e[7];let u;e[8]!==s?(u=s&&{elevation:0},e[8]=s,e[9]=u):u=e[9];let d;e[10]!==r?(d=a.jsx(a.Fragment,{children:r}),e[10]=r,e[11]=d):d=e[11];let f;e[12]!==n||e[13]!==c||e[14]!==u||e[15]!==d?(f=a.jsx(pr,{fullHeight:n,sx:c,...u,children:d}),e[12]=n,e[13]=c,e[14]=u,e[15]=d,e[16]=f):f=e[16];let p;return e[17]!==o||e[18]!==f?(p=a.jsx(gt,{sx:o,children:f}),e[17]=o,e[18]=f,e[19]=p):p=e[19],p}function lUe(t){const e=he.c(10),{center:r,fullHeight:n,appBar:s,navigation:i,transparent:o}=t;let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=a.jsx(uUe,{}),e[0]=l):l=e[0];let c;e[1]!==r||e[2]!==n||e[3]!==o?(c=r?a.jsx(zA,{fullHeight:n,transparent:o,children:a.jsx(Bd,{})}):a.jsx(pr,{fullHeight:n,sx:{...o&&{backgroundColor:"transparent"}},...o&&{elevation:0},children:a.jsx(Bd,{})}),e[1]=r,e[2]=n,e[3]=o,e[4]=c):c=e[4];let u;return e[5]!==s||e[6]!==n||e[7]!==i||e[8]!==c?(u=a.jsxs(G0,{appBar:s,navigation:i,fullWidth:!0,fullHeight:n,children:[l,c]}),e[5]=s,e[6]=n,e[7]=i,e[8]=c,e[9]=u):u=e[9],u}const Sae="app-page-header-actions";function hs(t){const e=he.c(2),{children:r}=t;let n;return e[0]!==r?(n=a.jsx(YO,{container:cUe,children:r}),e[0]=r,e[1]=n):n=e[1],n}function cUe(){return document.querySelector(`#${Sae}`)}function uUe(){const t=he.c(59),e=WL();let r;t[0]!==e?(r=e.map(hUe).filter(mUe),t[0]=e,t[1]=r):r=t[1];const n=r;let s;e:{if(!n){let z;t[2]===Symbol.for("react.memo_cache_sentinel")?(z=[],t[2]=z):z=t[2],s=z;break e}let U;t[3]!==n?(U=n.map(pUe).filter(fUe),t[3]=n,t[4]=U):U=t[4],s=U}const i=s;let o,l,c,u,d,f,p,m,h,_,g,y,b,x,w,C,k,A,P;if(t[5]!==i){const U=i.slice(0,-1);d=i[i.length-1],u=te,f=.5,p=!0,m="row",h="space-between",_="flex-start",t[25]===Symbol.for("react.memo_cache_sentinel")?(g={ml:-1},t[25]=g):g=t[25],c=te,C="row",k=1,A="center",t[26]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(QFe,{}),t[26]=P):P=t[26],l=te,w=0,o=yae,y=10,b=!1,x=U.map(dUe),t[5]=i,t[6]=o,t[7]=l,t[8]=c,t[9]=u,t[10]=d,t[11]=f,t[12]=p,t[13]=m,t[14]=h,t[15]=_,t[16]=g,t[17]=y,t[18]=b,t[19]=x,t[20]=w,t[21]=C,t[22]=k,t[23]=A,t[24]=P}else o=t[6],l=t[7],c=t[8],u=t[9],d=t[10],f=t[11],p=t[12],m=t[13],h=t[14],_=t[15],g=t[16],y=t[17],b=t[18],x=t[19],w=t[20],C=t[21],k=t[22],A=t[23],P=t[24];let T;t[27]!==d?(T=d&&a.jsx(_e,{type:"h6",color:"text.primary",fontWeight:600,children:d.label}),t[27]=d,t[28]=T):T=t[28];let j;t[29]!==o||t[30]!==T||t[31]!==y||t[32]!==b||t[33]!==x?(j=a.jsxs(o,{maxItems:y,expandable:b,children:[x,T]}),t[29]=o,t[30]=T,t[31]=y,t[32]=b,t[33]=x,t[34]=j):j=t[34];let R;t[35]!==d.caption?(R=d.caption&&a.jsx(_e,{type:"body2",color:"text.secondary",sx:{wordBreak:"break-all"},children:d.caption}),t[35]=d.caption,t[36]=R):R=t[36];let D;t[37]!==l||t[38]!==j||t[39]!==R||t[40]!==w?(D=a.jsxs(l,{spacing:w,children:[j,R]}),t[37]=l,t[38]=j,t[39]=R,t[40]=w,t[41]=D):D=t[41];let O;t[42]!==c||t[43]!==D||t[44]!==C||t[45]!==k||t[46]!==A||t[47]!==P?(O=a.jsxs(c,{direction:C,spacing:k,align:A,children:[P,D]}),t[42]=c,t[43]=D,t[44]=C,t[45]=k,t[46]=A,t[47]=P,t[48]=O):O=t[48];let N;t[49]===Symbol.for("react.memo_cache_sentinel")?(N=a.jsx(gt,{id:Sae,sx:{mt:"2px"}}),t[49]=N):N=t[49];let F;return t[50]!==u||t[51]!==f||t[52]!==p||t[53]!==m||t[54]!==h||t[55]!==_||t[56]!==g||t[57]!==O?(F=a.jsxs(u,{spacing:f,fullWidth:p,direction:m,justify:h,align:_,sx:g,children:[O,N]}),t[50]=u,t[51]=f,t[52]=p,t[53]=m,t[54]=h,t[55]=_,t[56]=g,t[57]=O,t[58]=F):F=t[58],F}function dUe(t){const{to:e,label:r}=t;return e?a.jsx(gt,{component:"span",sx:{color:"primary.main","&:hover":{color:"primary.dark"}},children:a.jsx(z6,{to:e,style:{color:"inherit"},children:()=>a.jsx(te,{direction:"row",align:"center",spacing:1,children:a.jsx(_e,{children:r})})},e)},e):a.jsx(te,{direction:"row",align:"center",spacing:1,children:a.jsx(_e,{children:r})},r)}function fUe(t){return!!t}function pUe(t){return typeof t=="object"&&"breadcrumb"in t?t.breadcrumb:null}function mUe(t){return!!t}function hUe(t){if(t.handle){if(typeof t.handle=="object")return t.handle;if(typeof t.handle=="function")return t.handle(t)}return null}function gUe(){const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(G0,{appBar:!0,navigation:!0,fullWidth:!0,children:a.jsx(zA,{children:a.jsx(Tr,{})})}),t[0]=e):e=t[0],e}function _Ue(){const t=Nr(xUe),e=Nr(bUe),r=Nr(yUe),n=Nr(vUe);return!!(t||e.length||r||n)}function vUe(t){return t.drawerOpen}function yUe(t){return t.confirmationSimpleDialogOpen}function bUe(t){return t.dialogsOpen}function xUe(t){return t.confirmationDialogOpen}function rN(){const t=he.c(2);if(_Ue()){let n;return t[0]===Symbol.for("react.memo_cache_sentinel")?(n=a.jsx(Tr,{asSnackbar:!0}),t[0]=n):n=t[0],n}let r;return t[1]===Symbol.for("react.memo_cache_sentinel")?(r=a.jsx(G0,{fullWidth:!0,fullHeight:!0,children:a.jsx(zA,{transparent:!0,children:a.jsx(Tr,{})})}),t[1]=r):r=t[1],r}function SUe(t){const e=he.c(15),{alt:r,size:n,src:s,variant:i,color:o,children:l,initials:c}=t,u=s===void 0?"":s;let d=null;if(c&&r){let g;e[0]!==r?(g=r.split(" ").map(wUe).slice(0,2).join(""),e[0]=r,e[1]=g):g=e[1],d=g}else l&&(d=l);const f=d;let p;e[2]!==o?(p=o&&{backgroundColor:o},e[2]=o,e[3]=p):p=e[3];let m;e[4]!==n?(m=n&&{height:n,width:n},e[4]=n,e[5]=m):m=e[5];let h;e[6]!==p||e[7]!==m?(h={...p,...m},e[6]=p,e[7]=m,e[8]=h):h=e[8];let _;return e[9]!==r||e[10]!==f||e[11]!==u||e[12]!==h||e[13]!==i?(_=a.jsx(HNe,{alt:r,src:u,variant:i,sx:h,"data-testid":"avatar",children:f}),e[9]=r,e[10]=f,e[11]=u,e[12]=h,e[13]=i,e[14]=_):_=e[14],_}function wUe(t){return t[0]}function CUe(t){const e=he.c(21),{onClick:r,fullname:n,description:s,image:i,menuItems:o,hideFullName:l}=t,c=ci();let u;e[0]!==c.breakpoints?(u=c.breakpoints.up("md"),e[0]=c.breakpoints,e[1]=u):u=e[1];const d=Nd(u),{menuOpen:f}=Jt(),p=Nd(c.breakpoints.down($.appBarMobileBreakpoint))?{display:"inline-block",cursor:"pointer",marginLeft:"auto",position:"relative",top:"-44px"}:{display:"inline-block",cursor:"pointer",marginLeft:"auto"};let m;e[2]!==o||e[3]!==f||e[4]!==r?(m=x=>{x.preventDefault(),r&&r(x),o&&o.length&&f({anchorEl:x.currentTarget,items:o,anchorOrigin:{vertical:"bottom",horizontal:"right"}})},e[2]=o,e[3]=f,e[4]=r,e[5]=m):m=e[5];const h=m;let _;e[6]!==s||e[7]!==n||e[8]!==l||e[9]!==d?(_=d&&a.jsxs(gt,{children:[!l&&a.jsx(gt,{sx:{display:"flex",justifyContent:"flex-end"},children:a.jsx(_e,{type:"body1",align:"right",lineHeight:1,fontWeight:600,children:n})}),s&&s.length&&a.jsx(te,{direction:"row",align:"baseline",justify:"flex-end",spacing:.5,divided:s.length>1,children:s.map(AUe)})]}),e[6]=s,e[7]=n,e[8]=l,e[9]=d,e[10]=_):_=e[10];let g;e[11]!==n||e[12]!==i?(g=a.jsx(SUe,{alt:n,src:i,size:40,initials:!0}),e[11]=n,e[12]=i,e[13]=g):g=e[13];let y;e[14]!==_||e[15]!==g?(y=a.jsxs(te,{direction:"row",align:"center",justify:"flex-end",children:[_,g]}),e[14]=_,e[15]=g,e[16]=y):y=e[16];let b;return e[17]!==h||e[18]!==y||e[19]!==p?(b=a.jsx(gt,{sx:p,onClick:h,"data-testid":"profile-card",children:y}),e[17]=h,e[18]=y,e[19]=p,e[20]=b):b=e[20],b}function AUe(t,e){return a.jsx(_e,{lineHeight:1,type:"caption",children:t},e)}const kUe=t=>I.createElement("svg",{width:66,height:18,viewBox:"0 0 66 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},I.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 18V0H66V18H0ZM4 14H61.9862H62V4H4V14Z",fill:"#01A982"}));function MUe({productName:t}){const e=ci();return a.jsxs(te,{direction:"row",align:"center",spacing:3,nowrap:!0,children:[a.jsx(gt,{sx:{width:"66px",height:"18px"},children:a.jsx(kUe,{})}),a.jsxs(_e,{sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",[e.breakpoints.up(445)]:{width:"100%"},[e.breakpoints.down(445)]:{width:"70%"},[e.breakpoints.down(434)]:{width:"65%"},[e.breakpoints.down(410)]:{width:"60%"},[e.breakpoints.down(390)]:{width:"55%"},[e.breakpoints.down(367)]:{width:"45%"}},children:[t.includes("HPE")&&a.jsx(gt,{component:"span",sx:{fontWeight:500},children:"HPE"}),a.jsxs(gt,{component:"span",children:[" ",t.replace("HPE","")]})]})]})}function PUe(t){const e=he.c(18),{children:r,info:n,siteSelector:s}=t,{hostname:i,product_name:o}=n;let l,c;e[0]!==i||e[1]!==o?(l=()=>{document.title=i===window.location.hostname?`${i} - ${o}`:`${i} - ${window.location.hostname} - ${o}`},c=[i,o],e[0]=i,e[1]=o,e[2]=l,e[3]=c):(l=e[2],c=e[3]),I.useEffect(l,c);const u=ci(),d=aC(u.breakpoints.down($.appBarMobileBreakpoint))?{my:4,mx:.5}:"";let f;e[4]===Symbol.for("react.memo_cache_sentinel")?(f={borderBottom:"1px solid",borderColor:"divider"},e[4]=f):f=e[4];let p;e[5]!==d?(p={height:"60px !important",minHeight:"60px !important",gap:"10px",...d},e[5]=d,e[6]=p):p=e[6];let m;e[7]!==o?(m=a.jsx(MUe,{productName:o}),e[7]=o,e[8]=m):m=e[8];let h;e[9]!==s||e[10]!==m?(h=a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[m,s]}),e[9]=s,e[10]=m,e[11]=h):h=e[11];let _;e[12]!==r||e[13]!==h?(_=a.jsxs(te,{justify:"space-between",direction:"row",fullWidth:!0,children:[h,r]}),e[12]=r,e[13]=h,e[14]=_):_=e[14];let g;return e[15]!==p||e[16]!==_?(g=a.jsx(hNe,{elevation:0,color:"inherit",sx:f,children:a.jsx(tN,{sx:p,children:_})}),e[15]=p,e[16]=_,e[17]=g):g=e[17],g}function En(t){const e=he.c(21);let r,n,s,i,o,l,c;e[0]!==t?({onClick:o,disabled:n,value:c,children:r,divider:s,icon:i,...l}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7]);const u=`menu-item-${c}`;let d;e[8]!==i?(d=i&&a.jsx(LO,{sx:{fontSize:"18px"},children:i}),e[8]=i,e[9]=d):d=e[9];let f;e[10]!==r?(f=a.jsx(dA,{children:r}),e[10]=r,e[11]=f):f=e[11];let p;return e[12]!==n||e[13]!==s||e[14]!==o||e[15]!==l||e[16]!==u||e[17]!==d||e[18]!==f||e[19]!==c?(p=a.jsxs(E_,{divider:s,onClick:o,disabled:n,value:c,"data-testid":u,...l,children:[d,f]}),e[12]=n,e[13]=s,e[14]=o,e[15]=l,e[16]=u,e[17]=d,e[18]=f,e[19]=c,e[20]=p):p=e[20],p}function jUe(t){const e=he.c(40),{darkText:r,lightText:n,systemText:s,title:i}=t,o=Nr(EUe),l=Nr(TUe);let c;e[0]!==l?(c=N=>()=>{l(N)},e[0]=l,e[1]=c):c=e[1];const u=c;let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d={px:2,pb:1,pt:.5},e[2]=d):d=e[2];let f;e[3]!==i?(f=a.jsx(_e,{color:"text.secondary",sx:d,children:i}),e[3]=i,e[4]=f):f=e[4];let p;e[5]!==u?(p=u("dark"),e[5]=u,e[6]=p):p=e[6];let m;e[7]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsx(ge.Darkmode,{}),e[7]=m):m=e[7];const h=o==="dark"?"divider":"none";let _;e[8]!==h?(_={backgroundColor:h},e[8]=h,e[9]=_):_=e[9];let g;e[10]!==r||e[11]!==p||e[12]!==_?(g=a.jsx(En,{onClick:p,icon:m,sx:_,children:r}),e[10]=r,e[11]=p,e[12]=_,e[13]=g):g=e[13];let y;e[14]!==u?(y=u("light"),e[14]=u,e[15]=y):y=e[15];let b;e[16]===Symbol.for("react.memo_cache_sentinel")?(b=a.jsx(ge.Lightmode,{}),e[16]=b):b=e[16];const x=o==="light"?"divider":"none";let w;e[17]!==x?(w={backgroundColor:x},e[17]=x,e[18]=w):w=e[18];let C;e[19]!==n||e[20]!==w||e[21]!==y?(C=a.jsx(En,{onClick:y,icon:b,sx:w,children:n}),e[19]=n,e[20]=w,e[21]=y,e[22]=C):C=e[22];let k;e[23]!==u?(k=u("system"),e[23]=u,e[24]=k):k=e[24];let A;e[25]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsx(ge.Monitor,{}),e[25]=A):A=e[25];const P=o==="system"?"divider":"none";let T;e[26]!==P?(T={backgroundColor:P},e[26]=P,e[27]=T):T=e[27];let j;e[28]!==s||e[29]!==k||e[30]!==T?(j=a.jsx(En,{onClick:k,icon:A,sx:T,children:s}),e[28]=s,e[29]=k,e[30]=T,e[31]=j):j=e[31];let R;e[32]!==C||e[33]!==j||e[34]!==f||e[35]!==g?(R=a.jsxs(pv,{children:[f,g,C,j]}),e[32]=C,e[33]=j,e[34]=f,e[35]=g,e[36]=R):R=e[36];let D;e[37]===Symbol.for("react.memo_cache_sentinel")?(D=a.jsx("div",{children:a.jsx(Zr,{size:"small",sx:{fontSize:"22px",mt:"2px"},children:a.jsx(ge.DarkModeToggle,{})})}),e[37]=D):D=e[37];let O;return e[38]!==R?(O=a.jsx(Mn,{opaque:!0,disableFocusListener:!0,enterTouchDelay:0,title:R,children:D}),e[38]=R,e[39]=O):O=e[39],O}function TUe(t){return t.setThemeMode}function EUe(t){return t.themeMode}function wae(){const t=he.c(13),e=Ye();let r;t[0]!==e?(r=e.formatMessage({id:"darkmode.title"}),t[0]=e,t[1]=r):r=t[1];let n;t[2]!==e?(n=e.formatMessage({id:"darkmode.dark"}),t[2]=e,t[3]=n):n=t[3];let s;t[4]!==e?(s=e.formatMessage({id:"darkmode.light"}),t[4]=e,t[5]=s):s=t[5];let i;t[6]!==e?(i=e.formatMessage({id:"darkmode.system"}),t[6]=e,t[7]=i):i=t[7];let o;return t[8]!==r||t[9]!==n||t[10]!==s||t[11]!==i?(o=a.jsx(jUe,{title:r,darkText:n,lightText:s,systemText:i}),t[8]=r,t[9]=n,t[10]=s,t[11]=i,t[12]=o):o=t[12],o}const Tt=()=>!0,Cae=t=>!["","/","/site-loader"].includes(t);function ro({nf:t,rootUrl:e,applyActionUrl:r,persistActionUrl:n,reloadActionUrl:s,factoryResetActionUrl:i}){return{[e]:o=>et({permissions:ie.configuration,activeServicesNames:[t],services:o}),[r]:Tt,[n]:Tt,[s]:Tt,[i]:Tt}}function RUe({nf:t,rootUrl:e,connectionsUrl:r,connectionsDeleteActionUrl:n,connectionsResetActionUrl:s,listenersUrl:i}){return{[e]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[r]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[i]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[n]:Tt,[s]:Tt}}function no({nf:t,rootUrl:e,joinClusterActionUrl:r,leaveClusterActionUrl:n,leaveCpWithoutConsensusActionUrl:s,removeApDeadNodesActionUrl:i,applyBootConfigUrl:o}){return{[e]:l=>et({permissions:ie.configuration,activeServicesNames:[t],services:l}),[o]:Tt,...r&&{[r]:Tt},...n&&{[n]:Tt},...s&&{[s]:Tt},...i&&{[i]:Tt}}}const IUe={[$.urls.amf]:t=>et({permissions:[ie.configuration,ie.monitoring],activeServicesNames:[ue.AMF],services:t}),[$.urls.amfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF],services:t}),...RUe({nf:ue.AMF,rootUrl:$.urls.amfStatusNgap,connectionsUrl:$.urls.amfStatusNgapConnections,connectionsDeleteActionUrl:$.urls.amfStatusNgapConnectionsDelete_Action,connectionsResetActionUrl:$.urls.amfStatusNgapConnectionsReset_Action,listenersUrl:$.urls.amfStatusNgapListeners}),...no({nf:ue.AMF,rootUrl:$.urls.amfCluster,applyBootConfigUrl:$.urls.amfClusterApplyBootConfig_Action}),...ro({nf:ue.AMF,rootUrl:$.urls.amfConfiguration,applyActionUrl:$.urls.amfConfigurationApply_Action,persistActionUrl:$.urls.amfConfigurationPersist_Action,reloadActionUrl:$.urls.amfConfigurationReload_Action,factoryResetActionUrl:$.urls.amfConfigurationFactoryReset_Action})},DUe={[$.urls.ausf]:t=>et({permissions:[ie.configuration],activeServicesNames:[ue.AUSF],services:t}),...no({nf:ue.AUSF,rootUrl:$.urls.ausfCluster,applyBootConfigUrl:$.urls.ausfClusterApplyBootConfig_Action}),...ro({nf:ue.AUSF,rootUrl:$.urls.ausfConfiguration,applyActionUrl:$.urls.ausfConfigurationApply_Action,persistActionUrl:$.urls.ausfConfigurationPersist_Action,reloadActionUrl:$.urls.ausfConfigurationReload_Action,factoryResetActionUrl:$.urls.ausfConfigurationFactoryReset_Action})};function Fp({nf:t,rootUrl:e,connectionsUrl:r,peersUrl:n}){return{[e]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s}),[r]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s}),[n]:s=>et({permissions:ie.monitoring,activeServicesNames:[t],services:s})}}function qA({nf:t,rootUrl:e,socketsUrl:r,peersUrl:n,blockedPeersUrl:s,blockedPeersFlushActionUrl:i}){return{[e]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[r]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),[n]:o=>et({permissions:ie.monitoring,activeServicesNames:[t],services:o}),...s&&i&&{[s]:o=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:o}),[i]:Tt}}}const $Ue={[$.urls.bmsc]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.BMSC],services:t}),[$.urls.bmscStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.BMSC],services:t}),...Fp({nf:ue.BMSC,rootUrl:$.urls.bmscStatusDiameter,connectionsUrl:$.urls.bmscStatusDiameterConnections,peersUrl:$.urls.bmscStatusDiameterPeers}),...qA({nf:ue.BMSC,rootUrl:$.urls.bmscStatusGtpc,socketsUrl:$.urls.bmscStatusGtpcSockets,peersUrl:$.urls.bmscStatusGtpcPeers}),...no({nf:ue.BMSC,rootUrl:$.urls.bmscCluster,applyBootConfigUrl:$.urls.bmscClusterApplyBootConfig_Action}),...ro({nf:ue.BMSC,rootUrl:$.urls.bmscConfiguration,applyActionUrl:$.urls.bmscConfigurationApply_Action,persistActionUrl:$.urls.bmscConfigurationPersist_Action,reloadActionUrl:$.urls.bmscConfigurationReload_Action,factoryResetActionUrl:$.urls.bmscConfigurationFactoryReset_Action})};function OUe({nf:t,rootUrl:e}){return{[e]:r=>et({permissions:ie.monitoring,activeServicesNames:[t],services:r})}}const LUe={[$.urls.chf]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.CHF],services:t}),...no({nf:ue.CHF,rootUrl:$.urls.chfCluster,applyBootConfigUrl:$.urls.chfClusterApplyBootConfig_Action}),[$.urls.chfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.CHF],services:t}),...Fp({nf:ue.CHF,rootUrl:$.urls.chfStatusDiameter,connectionsUrl:$.urls.chfStatusDiameterConnections,peersUrl:$.urls.chfStatusDiameterPeers}),...ro({nf:ue.CHF,rootUrl:$.urls.chfConfiguration,applyActionUrl:$.urls.chfConfigurationApply_Action,persistActionUrl:$.urls.chfConfigurationPersist_Action,reloadActionUrl:$.urls.chfConfigurationReload_Action,factoryResetActionUrl:$.urls.chfConfigurationFactoryReset_Action}),[$.urls.chfStatusGtpPrime]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.CHF],services:t}),...OUe({nf:ue.CHF,rootUrl:$.urls.chfStatusGtpPrimeConnections})},NUe={[$.urls.dra]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.DRA],services:t}),[$.urls.draStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.DRA],services:t}),...Fp({nf:ue.DRA,rootUrl:$.urls.draStatusDiameter,connectionsUrl:$.urls.draStatusDiameterConnections,peersUrl:$.urls.draStatusDiameterPeers}),...no({nf:ue.DRA,rootUrl:$.urls.draCluster,applyBootConfigUrl:$.urls.draClusterApplyBootConfig_Action}),...ro({nf:ue.DRA,rootUrl:$.urls.draConfiguration,applyActionUrl:$.urls.draConfigurationApply_Action,persistActionUrl:$.urls.draConfigurationPersist_Action,factoryResetActionUrl:$.urls.draConfigurationFactoryReset_Action,reloadActionUrl:$.urls.draConfigurationReload_Action})},FUe={[$.urls.dsm]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),...ro({nf:ue.DSM,rootUrl:$.urls.dsmConfiguration,applyActionUrl:$.urls.dsmConfigurationApply_Action,persistActionUrl:$.urls.dsmConfigurationPersist_Action,reloadActionUrl:$.urls.dsmConfigurationReload_Action,factoryResetActionUrl:$.urls.dsmConfigurationFactoryReset_Action}),[$.urls.dsmZones]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesEntries]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesDetail]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),[$.urls.dsmZonesCreate_Action]:Tt,[$.urls.dsmZonesDelete_Action]:Tt,[$.urls.dsmZonesDownload]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.DSM],services:t}),...no({nf:ue.DSM,rootUrl:$.urls.dsmCluster,applyBootConfigUrl:$.urls.dsmClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.dsmClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.dsmClusterLeaveCluster_Action})},UUe={[$.urls.eir]:t=>et({permissions:[ie.provisioning,ie.monitoring,ie.configuration,ie.management],activeServicesNames:[ue.EIR],services:t}),[$.urls.eirStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.EIR],services:t}),...Fp({nf:ue.EIR,rootUrl:$.urls.eirStatusDiameter,connectionsUrl:$.urls.eirStatusDiameterConnections,peersUrl:$.urls.eirStatusDiameterPeers}),...ro({nf:ue.EIR,rootUrl:$.urls.eirConfiguration,applyActionUrl:$.urls.eirConfigurationApply_Action,persistActionUrl:$.urls.eirConfigurationPersist_Action,reloadActionUrl:$.urls.eirConfigurationReload_Action,factoryResetActionUrl:$.urls.eirConfigurationFactoryReset_Action}),[$.urls.eirRules]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirRulesEntries]:()=>et({permissions:ie.provisioning}),[$.urls.eirRulesDetails]:()=>et({permissions:ie.provisioning}),[$.urls.eirRulesCreateBulk_Action]:Tt,[$.urls.eirRulesCreate_Action]:Tt,[$.urls.eirRulesUpdate_Action]:Tt,[$.urls.eirRulesDelete_Action]:Tt,[$.urls.eirRulesEquipmentConfigurationSet]:()=>et({permissions:ie.provisioning}),[$.urls.eirAutoRules]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirAutorulesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.EIR],services:t}),[$.urls.eirAutorulesCreateBulk_Action]:Tt,[$.urls.eirAutorulesCreate_Action]:Tt,[$.urls.eirAutorulesUpdate_Action]:Tt,[$.urls.eirAutorulesDelete_Action]:Tt,...no({nf:ue.EIR,rootUrl:$.urls.eirCluster,applyBootConfigUrl:$.urls.eirClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.eirClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.eirClusterLeaveCluster_Action})};function nN({nf:t,rootUrl:e,socketsUrl:r}){return{[e]:n=>et({permissions:ie.monitoring,activeServicesNames:[t],services:n}),[r]:n=>et({permissions:ie.monitoring,activeServicesNames:[t],services:n})}}function sN({nf:t,rootUrl:e,createUrl:r,deleteUrl:n}){return{[e]:s=>et({permissions:ie.lawful_interception,activeServicesNames:[t],services:s}),[r]:Tt,[n]:Tt}}const BUe={[$.urls.mme]:t=>et({permissions:[ie.monitoring,ie.configuration,ie.lawful_interception],activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...Fp({nf:ue.MME,rootUrl:$.urls.mmeStatusDiameter,connectionsUrl:$.urls.mmeStatusDiameterConnections,peersUrl:$.urls.mmeStatusDiameterPeers}),[$.urls.mmeStatusS1ap]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnectionsDisconnect]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apConnectionsReset]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusS1apListeners]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...qA({nf:ue.MME,rootUrl:$.urls.mmeStatusGtpc,socketsUrl:$.urls.mmeStatusGtpcSockets,peersUrl:$.urls.mmeStatusGtpcPeers,blockedPeersUrl:$.urls.mmeStatusGtpcBlockedPeers,blockedPeersFlushActionUrl:$.urls.mmeStatusGtpcBlockedPeersFlush_Action}),...nN({nf:ue.MME,rootUrl:$.urls.mmeStatusGtpu,socketsUrl:$.urls.mmeStatusGtpuSockets}),[$.urls.mmeStatusSgs]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSgsConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcap]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcapConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusSbcapListeners]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDns]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDnsCache]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusDnsCacheFlush]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusM3]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.mmeStatusM3Connections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),...no({nf:ue.MME,rootUrl:$.urls.mmeCluster,applyBootConfigUrl:$.urls.mmeClusterApplyBootConfig_Action}),...ro({nf:ue.MME,rootUrl:$.urls.mmeConfiguration,applyActionUrl:$.urls.mmeConfigurationApply_Action,persistActionUrl:$.urls.mmeConfigurationPersist_Action,reloadActionUrl:$.urls.mmeConfigurationReload_Action,factoryResetActionUrl:$.urls.mmeConfigurationFactoryReset_Action}),...sN({nf:ue.MME,rootUrl:$.urls.mmeLawfulInterception,createUrl:$.urls.mmeLawfulInterceptionCreate_Action,deleteUrl:$.urls.mmeLawfulInterceptionDelete_Action})},zUe={[$.urls.monitoring]:()=>et({permissions:ie.monitoring}),[$.urls.monitoringUeStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF,ue.SMF,ue.UDR,ue.MME,ue.UPF,ue.PCF,ue.SGWC],partialActiveServices:!0,services:t}),[$.urls.monitoringUeStatusDetails]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF,ue.SMF,ue.UDR,ue.MME,ue.UPF,ue.PCF,ue.SGWC],partialActiveServices:!0,services:t}),[$.urls.monitoringUeStatusDetailsUdmReattach_Action]:Tt,[$.urls.monitoringUeStatusDetailsAmf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AMF],services:t}),[$.urls.monitoringUeStatusDetailsAmfRemove_Action]:Tt,[$.urls.monitoringUeStatusDetailsSmf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.monitoringUeStatusDetailsUpf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.monitoringUeStatusDetailsUdr]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UDR],services:t}),[$.urls.monitoringUeStatusDetailsMme]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.MME],services:t}),[$.urls.monitoringUeStatusDetailsMmeDisconnect_Action]:Tt,[$.urls.monitoringUeStatusDetailsMmeDetach_Action]:Tt,[$.urls.monitoringUeStatusDetailsMmePurge_Action]:Tt,[$.urls.monitoringUeStatusDetailsSgwc]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.monitoringUeStatusDetailsPcf]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.PCF],services:t}),[$.urls.monitoringCoreStatistics]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GRAFANA],services:t}),[$.urls.monitoringSystem]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GRAFANA],services:t}),[$.urls.monitoringAlerts]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.ALERTMANAGER],services:t})},qUe={[$.urls.network]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusInterfaces]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusNeighbors]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusNeighborsFlush_Action]:Tt,[$.urls.networkStatusRoutes]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusRules]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBird]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBirdProtocols]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),[$.urls.networkStatusBirdBfdSessions]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NCM],services:t}),...ro({nf:ue.NCM,rootUrl:$.urls.networkConfiguration,applyActionUrl:$.urls.networkConfigurationApply_Action,persistActionUrl:$.urls.networkConfigurationPersist_Action,reloadActionUrl:$.urls.networkConfigurationReload_Action,factoryResetActionUrl:$.urls.networkConfigurationFactoryReset_Action})},VUe={[$.urls.nrf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.NRF],services:t}),...ro({nf:ue.NRF,rootUrl:$.urls.nrfConfiguration,applyActionUrl:$.urls.nrfConfigurationApply_Action,persistActionUrl:$.urls.nrfConfigurationPersist_Action,reloadActionUrl:$.urls.nrfConfigurationReload_Action,factoryResetActionUrl:$.urls.nrfConfigurationFactoryReset_Action}),[$.urls.nrfStaticProfiles]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStaticProfilesDetails]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.NRF],services:t}),[$.urls.nrfStaticProfilesCreate_Action]:Tt,[$.urls.nrfStaticProfilesUpdate_Action]:Tt,[$.urls.nrfStaticProfilesDelete_Action]:Tt,...no({nf:ue.NRF,rootUrl:$.urls.nrfCluster,applyBootConfigUrl:$.urls.nrfClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.nrfClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.nrfClusterLeaveCluster_Action})},HUe={[$.urls.pcf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.PCF],services:t}),[$.urls.pcfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.PCF],services:t}),...Fp({nf:ue.PCF,rootUrl:$.urls.pcfStatusDiameter,connectionsUrl:$.urls.pcfStatusDiameterConnections,peersUrl:$.urls.pcfStatusDiameterPeers}),...no({nf:ue.PCF,rootUrl:$.urls.pcfCluster,applyBootConfigUrl:$.urls.pcfClusterApplyBootConfig_Action}),...ro({nf:ue.PCF,rootUrl:$.urls.pcfConfiguration,applyActionUrl:$.urls.pcfConfigurationApply_Action,persistActionUrl:$.urls.pcfConfigurationPersist_Action,reloadActionUrl:$.urls.pcfConfigurationReload_Action,factoryResetActionUrl:$.urls.pcfConfigurationFactoryReset_Action})},GUe={[$.urls.platform]:()=>et({permissions:ie.management}),[$.urls.platformAuthentication]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationStrategies]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationAuthConfig]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationTerms]:()=>et({permissions:ie.management}),[$.urls.platformAuthenticationBackendsUpdate_Action]:Tt,[$.urls.platformAuthenticationOpenIdConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationRadiusConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationLdapConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationAuthConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationOpenIdConfigUpdate_Action]:Tt,[$.urls.platformAuthenticationTermsUpdate_Action]:Tt,[$.urls.platformUsers]:()=>et({permissions:ie.management}),[$.urls.platformUsersEntries]:()=>et({permissions:ie.management}),[$.urls.platformUsersDetails]:()=>et({permissions:ie.management}),[$.urls.platformUsersAudits]:()=>et({permissions:ie.management}),[$.urls.platformUsersCreate_Action]:Tt,[$.urls.platformUsersUpdate_Action]:Tt,[$.urls.platformUsersDelete_Action]:Tt,[$.urls.platformUsersPasswordChange_Action]:Tt,[$.urls.platformUsersRevokeTokens_Action]:Tt,[$.urls.platformUsersCurrentUserPasswordChange_Action]:Tt,[$.urls.platformRoles]:()=>et({permissions:ie.management}),[$.urls.platformRolesEntries]:()=>et({permissions:ie.management}),[$.urls.platformRolesCreate_Action]:Tt,[$.urls.platformRolesUpdate_Action]:Tt,[$.urls.platformRolesDelete_Action]:Tt,[$.urls.platformRolesDetails]:()=>et({permissions:ie.management}),[$.urls.platformTls]:()=>et({permissions:ie.management}),[$.urls.platformTlsConfigurationUpdate_Action]:Tt,[$.urls.platformTlsClientCertificateUpdate_Action]:Tt,[$.urls.platformTlsServerCertificateUpdate_Action]:Tt,[$.urls.platformLogShipping]:()=>et({permissions:ie.management}),[$.urls.platformLogShippingApply_Action]:Tt,[$.urls.platformLogShippingFactoryReset_Action]:Tt,[$.urls.platformKpiShipping]:()=>et({permissions:ie.management}),[$.urls.platformKpiShippingApply_Action]:Tt,[$.urls.platformKpiShippingFactoryReset_Action]:Tt,[$.urls.platformAlertShipping]:()=>et({permissions:ie.management}),[$.urls.platformAlertShippingApply_Action]:Tt,[$.urls.platformAlertShippingFactoryReset_Action]:Tt,...no({nf:ue.PLS,rootUrl:$.urls.platformCluster,applyBootConfigUrl:$.urls.platformClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.platformClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.platformClusterLeaveCluster_Action})},WUe={[$.urls.sgwc]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),...qA({nf:ue.SGWC,rootUrl:$.urls.sgwcStatusGtpc,socketsUrl:$.urls.sgwcStatusGtpcSockets,peersUrl:$.urls.sgwcStatusGtpcPeers}),[$.urls.sgwcStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),[$.urls.sgwcStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SGWC],services:t}),...no({nf:ue.SGWC,rootUrl:$.urls.sgwcCluster,applyBootConfigUrl:$.urls.sgwcClusterApplyBootConfig_Action}),...ro({nf:ue.SGWC,rootUrl:$.urls.sgwcConfiguration,applyActionUrl:$.urls.sgwcConfigurationApply_Action,persistActionUrl:$.urls.sgwcConfigurationPersist_Action,reloadActionUrl:$.urls.sgwcConfigurationReload_Action,factoryResetActionUrl:$.urls.sgwcConfigurationFactoryReset_Action})},YUe={[$.urls.smf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),...qA({nf:ue.SMF,rootUrl:$.urls.smfStatusGtpc,socketsUrl:$.urls.smfStatusGtpcSockets,peersUrl:$.urls.smfStatusGtpcPeers}),...nN({nf:ue.SMF,rootUrl:$.urls.smfStatusGtpu,socketsUrl:$.urls.smfStatusGtpuSockets}),...no({nf:ue.SMF,rootUrl:$.urls.smfCluster,applyBootConfigUrl:$.urls.smfClusterApplyBootConfig_Action}),[$.urls.smfStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),[$.urls.smfStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMF],services:t}),...ro({nf:ue.SMF,rootUrl:$.urls.smfConfiguration,applyActionUrl:$.urls.smfConfigurationApply_Action,persistActionUrl:$.urls.smfConfigurationPersist_Action,reloadActionUrl:$.urls.smfConfigurationReload_Action,factoryResetActionUrl:$.urls.smfConfigurationFactoryReset_Action}),...sN({nf:ue.SMF,rootUrl:$.urls.smfLawfulInterception,createUrl:$.urls.smfLawfulInterceptionCreate_Action,deleteUrl:$.urls.smfLawfulInterceptionDelete_Action})},KUe={[$.urls.smsf]:t=>et({permissions:[ie.monitoring,ie.configuration,ie.management],activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),...Fp({nf:ue.SMSF,rootUrl:$.urls.smsfStatusDiameter,connectionsUrl:$.urls.smsfStatusDiameterConnections,peersUrl:$.urls.smsfStatusDiameterPeers}),[$.urls.smsfStatusSmpp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfStatusSmppConnections]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.SMSF],services:t}),...ro({nf:ue.SMSF,rootUrl:$.urls.smsfConfiguration,applyActionUrl:$.urls.smsfConfigurationApply_Action,persistActionUrl:$.urls.smsfConfigurationPersist_Action,reloadActionUrl:$.urls.smsfConfigurationReload_Action,factoryResetActionUrl:$.urls.smsfConfigurationFactoryReset_Action}),[$.urls.smsfSmsBox]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxList]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxSend_Action]:Tt,[$.urls.smsfSmsBoxMsisdn]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxMsisdnDirection]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBoxMsisdnDirectionDelete]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),[$.urls.smsfSmsBox]:t=>et({permissions:ie.management,activeServicesNames:[ue.SMSF],services:t}),...no({nf:ue.SMSF,rootUrl:$.urls.smsfCluster,applyBootConfigUrl:$.urls.smsfClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.smsfClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.smsfClusterLeaveCluster_Action})},QUe={[$.urls.system]:()=>et({permissions:[[ie.management],[ie.monitoring],[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemLicensing]:t=>et({permissions:ie.management,activeServicesNames:[ue.LICENSED],services:t}),[$.urls.systemLicensingInstall_Action]:Tt,[$.urls.systemLicensingDelete_Action]:Tt,[$.urls.systemBackup]:()=>et({permissions:[[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemBackupSchedules]:()=>et({permissions:[[ie.backup,ie.configuration],[ie.backup,ie.provisioning]]}),[$.urls.systemBackupSchedulesConfiguration]:()=>et({permissions:[[ie.backup,ie.configuration]]}),[$.urls.systemBackupSchedulesConfigurationBackup_Action]:Tt,[$.urls.systemBackupSchedulesNf]:()=>et({permissions:[[ie.backup,ie.provisioning]]}),[$.urls.systemBackupRestoreSchedules]:()=>et({permissions:[[ie.backup,ie.provisioning],[ie.backup,ie.configuration]]}),[$.urls.systemBackupRestoreSchedulesConfiguration]:()=>et({permissions:[[ie.backup,ie.configuration]]}),[$.urls.systemBackupRestoreSchedulesConfigurationBackup_Action]:Tt,[$.urls.systemBackupRestoreSchedulesConfigurationRestore_Action]:Tt,[$.urls.systemBackupRestoreSchedulesNf]:()=>et({permissions:[[ie.backup,ie.provisioning]]}),[$.urls.systemBackupScheduleBackup_Action]:Tt,[$.urls.systemBackupScheduleRestore_Action]:Tt,[$.urls.systemBackupUpdateConfiguration_Action]:Tt,[$.urls.systemServices]:()=>et({permissions:ie.management}),[$.urls.systemServicesManagement_Action]:Tt,[$.urls.systemUpgrade]:()=>et({permissions:ie.management}),[$.urls.systemUpgradeUpload_Action]:Tt,[$.urls.systemLogs]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFollow]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsEntries]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFields]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsFieldsName]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsConfig]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsConfigUpdate_Action]:Tt,[$.urls.systemLogsCursor]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemLogsCursorItem]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.GATEWAYD],services:t}),[$.urls.systemTerminal]:t=>et({canFn:Ue,permissions:ie.management,activeServicesNames:[ue.TERMINAL],services:t}),[$.urls.systemTerminalList]:t=>et({canFn:Ue,permissions:ie.management,activeServicesNames:[ue.TERMINAL],services:t}),[$.urls.restart]:()=>et({permissions:ie.management}),[$.urls.systemBootPartitions]:()=>et({permissions:ie.management}),[$.urls.systemBootPartitionsUpdate_Action]:Tt,[$.urls.systemTroubleshootDump]:()=>et({permissions:ie.management}),[$.urls.systemTroubleshootDumpCreate_Action]:Tt,[$.urls.systemTroubleshootDumpDelete_Action]:Tt},ZUe={[$.urls.udm]:t=>et({permissions:[ie.provisioning,ie.configuration,ie.monitoring],activeServicesNames:[ue.UDM],services:t}),[$.urls.udmStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UDM],services:t}),...Fp({nf:ue.UDM,rootUrl:$.urls.udmStatusDiameter,connectionsUrl:$.urls.udmStatusDiameterConnections,peersUrl:$.urls.udmStatusDiameterPeers}),...ro({nf:ue.UDM,rootUrl:$.urls.udmConfiguration,applyActionUrl:$.urls.udmConfigurationApply_Action,persistActionUrl:$.urls.udmConfigurationPersist_Action,reloadActionUrl:$.urls.udmConfigurationReload_Action,factoryResetActionUrl:$.urls.udmConfigurationFactoryReset_Action}),[$.urls.udmHomeNetworkKeys]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmHomeNetworkKeysCreate_Action]:Tt,[$.urls.udmHomeNetworkKeysDelete_Action]:Tt,[$.urls.udmHomeNetworkKeysUpload_Action]:Tt,...no({nf:ue.UDM,rootUrl:$.urls.udmCluster,applyBootConfigUrl:$.urls.udmClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.udmClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.udmClusterLeaveCluster_Action}),[$.urls.udmPlmnPrefixes]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmPlmnPrefix]:t=>et({permissions:ie.configuration,activeServicesNames:[ue.UDM],services:t}),[$.urls.udmPlmnPrefixesCreate_Action]:Tt,[$.urls.udmPlmnPrefixesUpdate_Action]:Tt,[$.urls.udmPlmnPrefixesDelete_Action]:Tt},XUe={[$.urls.udr]:t=>et({permissions:[ie.provisioning,ie.configuration,ie.transport_keys,ie.operator_codes,ie.milenage_constants],activeServicesNames:[ue.UDR],services:t}),...ro({nf:ue.UDR,rootUrl:$.urls.udrConfiguration,applyActionUrl:$.urls.udrConfigurationApply_Action,persistActionUrl:$.urls.udrConfigurationPersist_Action,reloadActionUrl:$.urls.udrConfigurationReload_Action,factoryResetActionUrl:$.urls.udrConfigurationFactoryReset_Action}),[$.urls.udrPlmns]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPlmnsCreate_Action]:Tt,[$.urls.udrPlmnsDelete_Action]:Tt,[$.urls.udrSupis]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrSupisUpload_Action]:Tt,[$.urls.udrSupisUploadAsync_Action]:Tt,[$.urls.udrSupisDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrSupisCreate_Action]:Tt,[$.urls.udrSupisUpdate_Action]:Tt,[$.urls.udrSupisDelete_Action]:Tt,[$.urls.udrProvisionedDataProfile]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrProvisionedDataProfileDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrProvisionedDataProfileCreate_Action]:Tt,[$.urls.udrProvisionedDataProfileUpdate_Action]:Tt,[$.urls.udrProvisionedDataProfileDelete_Action]:Tt,[$.urls.udrPolicyDataProfile]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPolicyDataProfileDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrPolicyDataProfileCreate_Action]:Tt,[$.urls.udrPolicyDataProfileUpdate_Action]:Tt,[$.urls.udrPolicyDataProfileDelete_Action]:Tt,[$.urls.udrImsApplicationServerAcls]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsApplicationServerAclsCreate_Action]:Tt,[$.urls.udrImsApplicationServerAclsUpdate_Action]:Tt,[$.urls.udrImsApplicationServerAclsDelete_Action]:Tt,[$.urls.udrImsPrivateIdentities]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesApplicationServersProfiles]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesCreate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesUpdate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesApplicationServersProfilesDelete_Action]:Tt,[$.urls.udrImsPrivateIdentitiesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesPrivateStatus]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesPublicStatus]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsPrivateIdentitiesCreate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesCreateBasic_Action]:Tt,[$.urls.udrImsPrivateIdentitiesUpdate_Action]:Tt,[$.urls.udrImsPrivateIdentitiesDelete_Action]:Tt,[$.urls.udrImsServiceProfiles]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsServiceProfilesCreate_Action]:Tt,[$.urls.udrImsServiceProfilesUpdate_Action]:Tt,[$.urls.udrImsServiceProfilesDelete_Action]:Tt,[$.urls.udrImsInitialFilters]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersEntries]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersDetails]:t=>et({permissions:ie.provisioning,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrImsInitialFiltersCreate_Action]:Tt,[$.urls.udrImsInitialFiltersUpdate_Action]:Tt,[$.urls.udrImsInitialFiltersDelete_Action]:Tt,[$.urls.udrTransportKeys]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysEntries]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysDetails]:t=>et({permissions:ie.transport_keys,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrTransportKeysCreate_Action]:Tt,[$.urls.udrTransportKeysUpdate_Action]:Tt,[$.urls.udrTransportKeysDelete_Action]:Tt,[$.urls.udrOperatorCodes]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesEntries]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesDetails]:t=>et({permissions:ie.operator_codes,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrOperatorCodesCreate_Action]:Tt,[$.urls.udrOperatorCodesUpdate_Action]:Tt,[$.urls.udrOperatorCodesDelete_Action]:Tt,[$.urls.udrCustomMilenageConstants]:t=>et({permissions:ie.milenage_constants,activeServicesNames:[ue.UDR],services:t}),[$.urls.udrCustomMilenageConstantsUpdate_Action]:Tt,[$.urls.udrCustomMilenageConstantsDelete_Action]:Tt,...no({nf:ue.UDR,rootUrl:$.urls.udrCluster,applyBootConfigUrl:$.urls.udrClusterApplyBootConfig_Action,joinClusterActionUrl:$.urls.udrClusterJoinCluster_Action,leaveClusterActionUrl:$.urls.udrClusterLeaveCluster_Action})},JUe={[$.urls.upf]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcp]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcpSockets]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),[$.urls.upfStatusPfcpPeers]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.UPF],services:t}),...nN({nf:ue.UPF,rootUrl:$.urls.upfStatusGtpu,socketsUrl:$.urls.upfStatusGtpuSockets}),...no({nf:ue.UPF,rootUrl:$.urls.upfCluster,applyBootConfigUrl:$.urls.upfClusterApplyBootConfig_Action}),...ro({nf:ue.UPF,rootUrl:$.urls.upfConfiguration,applyActionUrl:$.urls.upfConfigurationApply_Action,persistActionUrl:$.urls.upfConfigurationPersist_Action,reloadActionUrl:$.urls.upfConfigurationReload_Action,factoryResetActionUrl:$.urls.upfConfigurationFactoryReset_Action}),...sN({nf:ue.UPF,rootUrl:$.urls.upfLawfulInterception,createUrl:$.urls.upfLawfulInterceptionCreate_Action,deleteUrl:$.urls.upfLawfulInterceptionDelete_Action})},eBe={[$.urls.aaa]:t=>et({permissions:[ie.monitoring,ie.configuration],activeServicesNames:[ue.AAA],services:t}),...no({nf:ue.AAA,rootUrl:$.urls.aaaCluster,applyBootConfigUrl:$.urls.aaaClusterApplyBootConfig_Action}),[$.urls.aaaStatus]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AAA],services:t}),[$.urls.aaaStatusRadius]:t=>et({permissions:ie.monitoring,activeServicesNames:[ue.AAA],services:t}),...ro({nf:ue.AAA,rootUrl:$.urls.aaaConfiguration,applyActionUrl:$.urls.aaaConfigurationApply_Action,persistActionUrl:$.urls.aaaConfigurationPersist_Action,reloadActionUrl:$.urls.aaaConfigurationReload_Action,factoryResetActionUrl:$.urls.aaaConfigurationFactoryReset_Action})},BW={[$.urls.siteLoader]:Tt,[$.urls.profile]:Tt,[$.urls.home]:()=>et({permissions:ie.monitoring}),...qUe,...eBe,...IUe,...DUe,...$Ue,...LUe,...FUe,...NUe,...UUe,...BUe,...VUe,...HUe,...WUe,...YUe,...KUe,...ZUe,...XUe,...JUe,...zUe,...GUe,...QUe},tBe=Pr(),Lt=(t,e)=>{try{return K6(t,e),!0}catch{return!1}},K6=(t,e)=>{if(!Cae(t))return;if(!BW[t])throw new Error(tBe.formatMessage({id:"route.errors.route_not_managed"},{path:t}));if(!e.length)return;const r=BW[t](e);if(r!==!0)throw r.areServicesActive?Li({type:mn.FORBIDDEN,data:Array.isArray(r.permissions)?r.permissions.join(", "):r.permissions}):Li({type:mn.SERVICE_UNAVAILABLE,data:r.services?.join(", ")})};function et({permissions:t,services:e,activeServicesNames:r,canFn:n=as,partialActiveServices:s=!1}){const i=t?n(t):!0,o=e&&r?u4e({services:e,activeServices:r,partial:s}):!0;return!i||!o?{permissions:t,services:r,hasPermissions:i,areServicesActive:o}:!0}function Aae(){const t=pie();return!Ni.isEmpty(t)}const vt=Pr();function kae(t){return t.filter(e=>!e.disabled).map(e=>e.subItems?{...e,subItems:e.subItems.filter(r=>!r.disabled)}:e).map(e=>!e.subItems||e.subItems&&e.subItems?.length>0?e:void 0).filter(e=>!!e)}function _o(t,e){return!!e.find(r=>r.name===t)?.db_cluster}function rBe({services:t}){return[{value:$.urls.home,icon:a.jsx(ge.Home,{}),label:vt.formatMessage({id:"route.home"}),disabled:!Lt($.urls.home,t)},{value:$.urls.network,icon:a.jsx(ge.NCM,{}),label:vt.formatMessage({id:"route.ncm"}),disabled:!Lt($.urls.network,t),subItems:[{value:$.urls.networkStatus,label:vt.formatMessage({id:"route.ncm.status"}),disabled:!Lt($.urls.networkStatus,t)},{value:$.urls.networkConfiguration,label:vt.formatMessage({id:"route.ncm.configuration"}),disabled:!Lt($.urls.networkConfiguration,t)}]},{value:$.urls.aaa,icon:a.jsx(ge.AAA,{}),label:vt.formatMessage({id:"route.aaa"}),disabled:!Lt($.urls.aaa,t),subItems:[{value:$.urls.aaaStatus,label:vt.formatMessage({id:"route.aaa.status"}),disabled:!Lt($.urls.aaaStatus,t)},{value:$.urls.aaaConfiguration,label:vt.formatMessage({id:"route.aaa.configuration"}),disabled:!Lt($.urls.aaaConfiguration,t)},{value:$.urls.aaaCluster,label:vt.formatMessage({id:"route.aaa.cluster"}),disabled:!Lt($.urls.aaaCluster,t)||!_o(ue.AAA,t)}]},{value:$.urls.amf,icon:a.jsx(ge.AMF,{}),label:vt.formatMessage({id:"route.amf"}),disabled:!Lt($.urls.amf,t),subItems:[{value:$.urls.amfStatus,label:vt.formatMessage({id:"route.amf.status"}),disabled:!Lt($.urls.amfStatus,t)},{value:$.urls.amfConfiguration,label:vt.formatMessage({id:"route.amf.configuration"}),disabled:!Lt($.urls.amfConfiguration,t)},{value:$.urls.amfCluster,label:vt.formatMessage({id:"route.amf.cluster"}),disabled:!Lt($.urls.amfCluster,t)||!_o(ue.AMF,t)}]},{value:$.urls.ausf,icon:a.jsx(ge.AUSF,{}),label:vt.formatMessage({id:"route.ausf"}),disabled:!Lt($.urls.ausf,t),subItems:[{value:$.urls.ausfConfiguration,label:vt.formatMessage({id:"route.ausf.configuration"}),disabled:!Lt($.urls.ausfConfiguration,t)},{value:$.urls.ausfCluster,label:vt.formatMessage({id:"route.ausf.cluster"}),disabled:!Lt($.urls.ausfCluster,t)||!_o(ue.AUSF,t)}]},{value:$.urls.bmsc,icon:a.jsx(ge.BMSC,{}),label:vt.formatMessage({id:"route.bmsc"}),disabled:!Lt($.urls.bmsc,t),subItems:[{value:$.urls.bmscStatus,label:vt.formatMessage({id:"route.bmsc.status"}),disabled:!Lt($.urls.bmscStatus,t)},{value:$.urls.bmscConfiguration,label:vt.formatMessage({id:"route.bmsc.configuration"}),disabled:!Lt($.urls.bmscConfiguration,t)},{value:$.urls.bmscCluster,label:vt.formatMessage({id:"route.bmsc.cluster"}),disabled:!Lt($.urls.bmscCluster,t)||!_o(ue.BMSC,t)}]},{value:$.urls.chf,icon:a.jsx(ge.CHF,{}),label:vt.formatMessage({id:"route.chf"}),disabled:!Lt($.urls.chf,t),subItems:[{value:$.urls.chfStatus,label:vt.formatMessage({id:"route.chf.status"}),disabled:!Lt($.urls.chfStatus,t)},{value:$.urls.chfConfiguration,label:vt.formatMessage({id:"route.chf.configuration"}),disabled:!Lt($.urls.chfConfiguration,t)},{value:$.urls.chfCluster,label:vt.formatMessage({id:"route.chf.cluster"}),disabled:!Lt($.urls.chfCluster,t)||!_o(ue.CHF,t)}]},{value:$.urls.dsm,icon:a.jsx(ge.DSM,{}),label:vt.formatMessage({id:"route.dsm"}),disabled:!Lt($.urls.dsm,t),subItems:[{value:$.urls.dsmConfiguration,label:vt.formatMessage({id:"route.dsm.configuration"}),disabled:!Lt($.urls.dsmConfiguration,t)},{value:$.urls.dsmZones,label:vt.formatMessage({id:"route.dsm.zones"}),disabled:!Lt($.urls.dsmZones,t)},{value:$.urls.dsmCluster,label:vt.formatMessage({id:"route.dsm.cluster"}),disabled:!Lt($.urls.dsmCluster,t)||!_o(ue.DSM,t)}]},{value:$.urls.dra,icon:a.jsx(ge.DRA,{}),label:vt.formatMessage({id:"route.dra"}),disabled:!Lt($.urls.dra,t),subItems:[{value:$.urls.draStatus,label:vt.formatMessage({id:"route.dra.status"}),disabled:!Lt($.urls.draStatus,t)},{value:$.urls.draConfiguration,label:vt.formatMessage({id:"route.dra.configuration"}),disabled:!Lt($.urls.draConfiguration,t)},{value:$.urls.draCluster,label:vt.formatMessage({id:"route.dra.cluster"}),disabled:!Lt($.urls.draCluster,t)||!_o(ue.DRA,t)}]},{value:$.urls.eir,icon:a.jsx(ge.EIR,{}),label:vt.formatMessage({id:"route.eir"}),disabled:!Lt($.urls.eir,t),subItems:[{value:$.urls.eirStatus,label:vt.formatMessage({id:"route.eir.status"}),disabled:!Lt($.urls.eirStatus,t)},{value:$.urls.eirConfiguration,label:vt.formatMessage({id:"route.eir.configuration"}),disabled:!Lt($.urls.eirConfiguration,t)},{value:$.urls.eirRules,label:vt.formatMessage({id:"route.eir.rules"}),disabled:!Lt($.urls.eirRules,t)},{value:$.urls.eirAutoRules,label:vt.formatMessage({id:"route.eir.auto-rules"}),disabled:!Lt($.urls.eirAutoRules,t)},{value:$.urls.eirCluster,label:vt.formatMessage({id:"route.eir.cluster"}),disabled:!Lt($.urls.eirCluster,t)||!_o(ue.EIR,t)}]},{value:$.urls.mme,icon:a.jsx(ge.MME,{}),label:vt.formatMessage({id:"route.mme"}),disabled:!Lt($.urls.mme,t),subItems:[{value:$.urls.mmeStatus,label:vt.formatMessage({id:"route.mme.status"}),disabled:!Lt($.urls.mmeStatus,t)},{value:$.urls.mmeConfiguration,label:vt.formatMessage({id:"route.mme.configuration"}),disabled:!Lt($.urls.mmeConfiguration,t)},{value:$.urls.mmeLawfulInterception,label:vt.formatMessage({id:"route.mme.lawful-interception"}),disabled:!Lt($.urls.mmeLawfulInterception,t)},{value:$.urls.mmeCluster,label:vt.formatMessage({id:"route.mme.cluster"}),disabled:!Lt($.urls.mmeCluster,t)||!_o(ue.MME,t)}]},{value:$.urls.nrf,icon:a.jsx(ge.NRF,{}),label:vt.formatMessage({id:"route.nrf"}),disabled:!Lt($.urls.nrf,t),subItems:[{value:$.urls.nrfStatus,label:vt.formatMessage({id:"route.nrf.status"}),disabled:!Lt($.urls.nrfStatus,t)},{value:$.urls.nrfConfiguration,label:vt.formatMessage({id:"route.nrf.configuration"}),disabled:!Lt($.urls.nrfConfiguration,t)},{value:$.urls.nrfStaticProfiles,label:vt.formatMessage({id:"route.nrf.static-profiles"}),disabled:!Lt($.urls.nrfStaticProfiles,t)},{value:$.urls.nrfCluster,label:vt.formatMessage({id:"route.nrf.cluster"}),disabled:!Lt($.urls.nrfCluster,t)||!_o(ue.NRF,t)}]},{value:$.urls.pcf,icon:a.jsx(ge.PCF,{}),label:vt.formatMessage({id:"route.pcf"}),disabled:!Lt($.urls.pcf,t),subItems:[{value:$.urls.pcfStatus,label:vt.formatMessage({id:"route.pcf.status"}),disabled:!Lt($.urls.pcfStatus,t)},{value:$.urls.pcfConfiguration,label:vt.formatMessage({id:"route.pcf.configuration"}),disabled:!Lt($.urls.pcfConfiguration,t)},{value:$.urls.pcfCluster,label:vt.formatMessage({id:"route.pcf.cluster"}),disabled:!Lt($.urls.pcfCluster,t)||!_o(ue.PCF,t)}]},{value:$.urls.sgwc,icon:a.jsx(ge.SGWC,{}),label:vt.formatMessage({id:"route.sgwc"}),disabled:!Lt($.urls.sgwc,t),subItems:[{value:$.urls.sgwcStatus,label:vt.formatMessage({id:"route.sgwc.status"}),disabled:!Lt($.urls.sgwcStatus,t)},{value:$.urls.sgwcConfiguration,label:vt.formatMessage({id:"route.sgwc.configuration"}),disabled:!Lt($.urls.sgwcConfiguration,t)},{value:$.urls.sgwcCluster,label:vt.formatMessage({id:"route.sgwc.cluster"}),disabled:!Lt($.urls.sgwcCluster,t)||!_o(ue.SGWC,t)}]},{value:$.urls.smf,icon:a.jsx(ge.SMF,{}),label:vt.formatMessage({id:"route.smf"}),disabled:!Lt($.urls.smf,t),subItems:[{value:$.urls.smfStatus,label:vt.formatMessage({id:"route.smf.status"}),disabled:!Lt($.urls.smfStatus,t)},{value:$.urls.smfConfiguration,label:vt.formatMessage({id:"route.smf.configuration"}),disabled:!Lt($.urls.smfConfiguration,t)},{value:$.urls.smfLawfulInterception,label:vt.formatMessage({id:"route.smf.lawful-interception"}),disabled:!Lt($.urls.smfLawfulInterception,t)},{value:$.urls.smfCluster,label:vt.formatMessage({id:"route.smf.cluster"}),disabled:!Lt($.urls.smfCluster,t)||!_o(ue.SMF,t)}]},{value:$.urls.smsf,icon:a.jsx(ge.SMSF,{}),label:vt.formatMessage({id:"route.smsf"}),disabled:!Lt($.urls.smsf,t),subItems:[{value:$.urls.smsfStatus,label:vt.formatMessage({id:"route.smsf.status"}),disabled:!Lt($.urls.smsfStatus,t)},{value:$.urls.smsfConfiguration,label:vt.formatMessage({id:"route.smsf.configuration"}),disabled:!Lt($.urls.smsfConfiguration,t)},{value:$.urls.smsfSmsBox,label:vt.formatMessage({id:"route.smsf.sms-box"}),disabled:!Lt($.urls.smsfSmsBox,t)},{value:$.urls.smsfCluster,label:vt.formatMessage({id:"route.smsf.cluster"}),disabled:!Lt($.urls.smsfCluster,t)||!_o(ue.SMSF,t)}]},{value:$.urls.udm,icon:a.jsx(ge.UDM,{}),label:vt.formatMessage({id:"route.udm"}),disabled:!Lt($.urls.udm,t),subItems:[{value:$.urls.udmStatus,label:vt.formatMessage({id:"route.udm.status"}),disabled:!Lt($.urls.udmStatus,t)},{value:$.urls.udmConfiguration,label:vt.formatMessage({id:"route.udm.configuration"}),disabled:!Lt($.urls.udmConfiguration,t)},{value:$.urls.udmPlmnPrefixes,label:vt.formatMessage({id:"route.udm.plmn-prefixes"}),disabled:!Lt($.urls.udmConfiguration,t)},{value:$.urls.udmHomeNetworkKeys,label:vt.formatMessage({id:"route.udm.home-network-keys"}),disabled:!Lt($.urls.udmHomeNetworkKeys,t)},{value:$.urls.udmCluster,label:vt.formatMessage({id:"route.udm.cluster"}),disabled:!Lt($.urls.udmCluster,t)||!_o(ue.UDM,t)}]},{value:$.urls.udr,icon:a.jsx(ge.UDR,{}),label:vt.formatMessage({id:"route.udr"}),disabled:!Lt($.urls.udr,t),subItems:[{value:$.urls.udrConfiguration,label:vt.formatMessage({id:"route.udr.configuration"}),disabled:!Lt($.urls.udrConfiguration,t)},{value:$.urls.udrPlmns,label:vt.formatMessage({id:"route.udr.plmns"}),disabled:!Lt($.urls.udrPlmns,t)},{value:$.urls.udrSupis,label:vt.formatMessage({id:"route.udr.supis"}),disabled:!Lt($.urls.udrSupis,t)},{value:$.urls.udrProvisionedDataProfile,label:vt.formatMessage({id:"route.udr.provisioned-data-profile"}),disabled:!Lt($.urls.udrProvisionedDataProfile,t)},{value:$.urls.udrPolicyDataProfile,label:vt.formatMessage({id:"route.udr.policy-data-profile"}),disabled:!Lt($.urls.udrPolicyDataProfile,t)},{value:$.urls.udrImsApplicationServerAcls,label:vt.formatMessage({id:"route.udr.ims-application-server-acls"}),disabled:!Lt($.urls.udrImsApplicationServerAcls,t)},{value:$.urls.udrImsPrivateIdentities,label:vt.formatMessage({id:"route.udr.ims-private-identities"}),disabled:!Lt($.urls.udrImsPrivateIdentities,t)},{value:$.urls.udrImsServiceProfiles,label:vt.formatMessage({id:"route.udr.ims-service-profiles"}),disabled:!Lt($.urls.udrImsServiceProfiles,t)},{value:$.urls.udrImsInitialFilters,label:vt.formatMessage({id:"route.udr.ims-initial-filters"}),disabled:!Lt($.urls.udrImsInitialFilters,t)},{value:$.urls.udrTransportKeys,label:vt.formatMessage({id:"route.udr.transport-keys"}),disabled:!Lt($.urls.udrTransportKeys,t)},{value:$.urls.udrOperatorCodes,label:vt.formatMessage({id:"route.udr.operator-codes"}),disabled:!Lt($.urls.udrOperatorCodes,t)},{value:$.urls.udrCustomMilenageConstants,label:vt.formatMessage({id:"route.udr.custom-milenage-constants"}),disabled:!Lt($.urls.udrCustomMilenageConstants,t)},{value:$.urls.udrCluster,label:vt.formatMessage({id:"route.udr.cluster"}),disabled:!Lt($.urls.udrCluster,t)||!_o(ue.UDR,t)}]},{value:$.urls.upf,icon:a.jsx(ge.UPF,{}),label:vt.formatMessage({id:"route.upf"}),disabled:!Lt($.urls.upf,t),subItems:[{value:$.urls.upfStatus,label:vt.formatMessage({id:"route.upf.status"}),disabled:!Lt($.urls.upfStatus,t)},{value:$.urls.upfConfiguration,label:vt.formatMessage({id:"route.upf.configuration"}),disabled:!Lt($.urls.upfConfiguration,t)},{value:$.urls.upfLawfulInterception,label:vt.formatMessage({id:"route.upf.lawful-interception"}),disabled:!Lt($.urls.upfLawfulInterception,t)},{value:$.urls.upfCluster,label:vt.formatMessage({id:"route.upf.cluster"}),disabled:!Lt($.urls.upfCluster,t)||!_o(ue.UPF,t)}]}]}function nBe({services:t}){return[{value:$.urls.monitoring,icon:a.jsx(ge.Monitoring,{}),label:vt.formatMessage({id:"route.monitoring"}),disabled:!Lt($.urls.monitoring,t),subItems:[{value:$.urls.monitoringUeStatus,label:vt.formatMessage({id:"route.monitoring.ue-status"}),icon:a.jsx(ge.UEstatus,{}),disabled:!Lt($.urls.monitoringUeStatus,t)},{value:$.urls.monitoringCoreStatistics,label:vt.formatMessage({id:"route.monitoring.core-statistics"}),icon:a.jsx(ge.Grafana,{}),external:!0,disabled:!Lt($.urls.monitoringCoreStatistics,t)},{value:$.urls.monitoringSystem,icon:a.jsx(ge.Grafana,{}),label:vt.formatMessage({id:"route.monitoring.system"}),external:!0,disabled:!Lt($.urls.monitoringSystem,t)}]},{value:$.urls.platform,icon:a.jsx(ge.Platform,{}),label:vt.formatMessage({id:"route.platform"}),disabled:!Lt($.urls.platform,t),subItems:[{value:$.urls.platformAuthentication,icon:a.jsx(ge.AuthenticationStrategies,{}),label:vt.formatMessage({id:"route.platform.auth"}),disabled:!Lt($.urls.platformAuthentication,t)},{value:$.urls.platformUsers,icon:a.jsx(ge.Users,{}),label:vt.formatMessage({id:"route.platform.users"}),disabled:!Lt($.urls.platformUsers,t)},{value:$.urls.platformRoles,icon:a.jsx(ge.Roles,{}),label:vt.formatMessage({id:"route.platform.roles"}),disabled:!Lt($.urls.platformRoles,t)},{value:$.urls.platformTls,icon:a.jsx(ge.TLS,{}),label:vt.formatMessage({id:"route.platform.tls"}),disabled:!Lt($.urls.platformTls,t)},{value:$.urls.platformLogShipping,label:vt.formatMessage({id:"route.platform.log-shipping"}),icon:a.jsx(ge.Fluentbit,{}),disabled:!Lt($.urls.platformLogShipping,t)},{value:$.urls.platformKpiShipping,label:vt.formatMessage({id:"route.platform.kpi-shipping"}),icon:a.jsx(ge.Prometheus,{}),disabled:!Lt($.urls.platformKpiShipping,t)},{value:$.urls.platformAlertShipping,label:vt.formatMessage({id:"route.platform.alert-shipping"}),icon:a.jsx(ge.Prometheus,{}),disabled:!Lt($.urls.platformAlertShipping,t)},{value:$.urls.platformCluster,label:vt.formatMessage({id:"route.platform.cluster"}),icon:a.jsx(ge.Cluster,{}),disabled:!Lt($.urls.platformCluster,t)}]},{value:$.urls.system,icon:a.jsx(ge.System,{}),label:vt.formatMessage({id:"route.system"}),disabled:!Lt($.urls.system,t),subItems:[{value:$.urls.systemLicensing,label:vt.formatMessage({id:"route.system.licensing"}),disabled:!Lt($.urls.systemLicensing,t),icon:a.jsx(ge.Licensing,{})},{value:$.urls.systemBackup,label:vt.formatMessage({id:"route.system.backup"}),disabled:!Lt($.urls.systemBackup,t),icon:a.jsx(ge.Backup,{})},{value:$.urls.systemServices,label:vt.formatMessage({id:"route.system.services"}),disabled:!Lt($.urls.systemServices,t),icon:a.jsx(ge.Service,{})},{value:$.urls.systemUpgrade,label:vt.formatMessage({id:"route.system.upgrade"}),disabled:!Lt($.urls.systemUpgrade,t),icon:a.jsx(ge.Upgrade,{})},{value:$.urls.systemLogs,icon:a.jsx(ge.Logs,{}),label:vt.formatMessage({id:"route.system.logs"}),disabled:!Lt($.urls.systemLogs,t)},{value:$.urls.systemTerminal,icon:a.jsx(ge.Terminal,{}),label:vt.formatMessage({id:"route.system.terminal"}),disabled:!Lt($.urls.systemTerminal,t)},{value:$.urls.systemTroubleshootDump,icon:a.jsx(ge.Download,{}),label:vt.formatMessage({id:"route.system.troubleshoot_dump"}),disabled:!Lt($.urls.systemTroubleshootDump,t)},{id:"restart",value:$.urls.restart,icon:a.jsx(ge.Refresh,{}),external:!0,_target:"_self",label:vt.formatMessage({id:"route.restart"}),disabled:!Lt($.urls.restart,t)},{id:"boot-partition",value:$.urls.systemBootPartitions,icon:a.jsx(ge.Servers,{}),label:vt.formatMessage({id:"route.boot_partitions"}),disabled:!Lt($.urls.systemBootPartitions,t)}]},{value:$.urls.monitoringAlerts,label:vt.formatMessage({id:"route.monitoring.alerts"}),icon:a.jsx(ge.Alerts,{}),disabled:!Lt($.urls.monitoringAlerts,t)},{value:$.urls.docs,icon:a.jsx(ge.Manual,{}),label:vt.formatMessage({id:"route.docs"}),subItems:[{value:$.urls.docsDatasheet,label:vt.formatMessage({id:"route.docs.datasheet"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsFeatureDescription,label:vt.formatMessage({id:"route.docs.feature-description"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsInstallationGuide,label:vt.formatMessage({id:"route.docs.installation-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsMonitoringGuide,label:vt.formatMessage({id:"route.docs.monitoring-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsProductDescription,label:vt.formatMessage({id:"route.docs.product-description"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsReleaseNotes,label:vt.formatMessage({id:"route.docs.release-notes"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsSecurityGuide,label:vt.formatMessage({id:"route.docs.security-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsTroubleshootingGuide,label:vt.formatMessage({id:"route.docs.troubleshooting-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0},{value:$.urls.docsUserGuide,label:vt.formatMessage({id:"route.docs.user-guide"}),icon:a.jsx(ge.CatalogOption,{}),external:!0}]},{value:$.urls.docsOas,icon:a.jsx(ge.OAS,{}),label:vt.formatMessage({id:"route.docs.oas"}),subItems:[{value:$.urls.docsOasAaa,icon:a.jsx(ge.AAA,{}),label:vt.formatMessage({id:"route.docs.oas.aaa"}),external:!0},{value:$.urls.docsOasAmf,icon:a.jsx(ge.AMF,{}),label:vt.formatMessage({id:"route.docs.oas.amf"}),external:!0},{value:$.urls.docsOasAusf,icon:a.jsx(ge.AUSF,{}),label:vt.formatMessage({id:"route.docs.oas.ausf"}),external:!0},{value:$.urls.docsOasBmsc,icon:a.jsx(ge.BMSC,{}),label:vt.formatMessage({id:"route.docs.oas.bmsc"}),external:!0},{value:$.urls.docsOasChf,icon:a.jsx(ge.CHF,{}),label:vt.formatMessage({id:"route.docs.oas.chf"}),external:!0},{value:$.urls.docsOasDra,icon:a.jsx(ge.DRA,{}),label:vt.formatMessage({id:"route.docs.oas.dra"}),external:!0},{value:$.urls.docsOasDsm,icon:a.jsx(ge.DSM,{}),label:vt.formatMessage({id:"route.docs.oas.dsm"}),external:!0},{value:$.urls.docsOasEir,icon:a.jsx(ge.EIR,{}),label:vt.formatMessage({id:"route.docs.oas.eir"}),external:!0},{value:$.urls.docsOasLicensed,icon:a.jsx(ge.Licensing,{}),label:vt.formatMessage({id:"route.docs.oas.licensed"}),external:!0},{value:$.urls.docsOasMme,icon:a.jsx(ge.MME,{}),label:vt.formatMessage({id:"route.docs.oas.mme"}),external:!0},{value:$.urls.docsOasNcm,icon:a.jsx(ge.NCM,{}),label:vt.formatMessage({id:"route.docs.oas.ncm"}),external:!0},{value:$.urls.docsOasNrf,icon:a.jsx(ge.NRF,{}),label:vt.formatMessage({id:"route.docs.oas.nrf"}),external:!0},{value:$.urls.docsOasPcf,icon:a.jsx(ge.PCF,{}),label:vt.formatMessage({id:"route.docs.oas.pcf"}),external:!0},{value:$.urls.docsOasPls,icon:a.jsx(ge.Platform,{}),label:vt.formatMessage({id:"route.docs.oas.pls"}),external:!0},{value:$.urls.docsOasSgwc,icon:a.jsx(ge.SGWC,{}),label:vt.formatMessage({id:"route.docs.oas.sgwc"}),external:!0},{value:$.urls.docsOasSmf,icon:a.jsx(ge.SMF,{}),label:vt.formatMessage({id:"route.docs.oas.smf"}),external:!0},{value:$.urls.docsOasSmsf,icon:a.jsx(ge.SMSF,{}),label:vt.formatMessage({id:"route.docs.oas.smsf"}),external:!0},{value:$.urls.docsOasUdm,icon:a.jsx(ge.UDM,{}),label:vt.formatMessage({id:"route.docs.oas.udm"}),external:!0},{value:$.urls.docsOasUdr,icon:a.jsx(ge.UDR,{}),label:vt.formatMessage({id:"route.docs.oas.udr"}),external:!0},{value:$.urls.docsOasUpf,icon:a.jsx(ge.UPF,{}),label:vt.formatMessage({id:"route.docs.oas.upf"}),external:!0},{value:$.urls.docsOasSwUpdate,icon:a.jsx(ge.Upgrade,{}),label:vt.formatMessage({id:"route.docs.oas.swUpdate"}),external:!0}]}]}const sBe=999;function Iv(t){const e=he.c(7),{badgeContent:r,color:n,children:s,variant:i,max:o,invisible:l}=t,c=n===void 0?"secondary":n,u=o===void 0?sBe:o;let d;return e[0]!==r||e[1]!==s||e[2]!==c||e[3]!==l||e[4]!==u||e[5]!==i?(d=a.jsx(ZNe,{badgeContent:r,color:c,variant:i,max:u,invisible:l,children:s}),e[0]=r,e[1]=s,e[2]=c,e[3]=l,e[4]=u,e[5]=i,e[6]=d):d=e[6],d}const Mae=I.createContext({readOnly:!1}),dn=t=>{const e=he.c(13),{canWrite:r,fullHeight:n,children:s,sx:i}=t,o=!r;let l;e[0]!==o?(l={readOnly:o},e[0]=o,e[1]=l):l=e[1];const[c]=I.useState(l);let u;e[2]!==n?(u=n&&{display:"flex",flexDirection:"column",flexGrow:"1",maxHeight:"100%",overflow:"auto"},e[2]=n,e[3]=u):u=e[3];let d;e[4]!==i||e[5]!==u?(d={...u,...i},e[4]=i,e[5]=u,e[6]=d):d=e[6];let f;e[7]!==s||e[8]!==d?(f=a.jsx(Kd,{style:d,children:s}),e[7]=s,e[8]=d,e[9]=f):f=e[9];let p;return e[10]!==c||e[11]!==f?(p=a.jsx(Mae.Provider,{value:c,children:f}),e[10]=c,e[11]=f,e[12]=p):p=e[12],p},iN=()=>I.useContext(Mae);function Xr(t){const e=he.c(8),{data:r,sx:n}=t;if(!xt(r))return null;let s=r.error.detail,i,o;e[0]!==r.error.errors?(o=r.error.errors??{},e[0]=r.error.errors,e[1]=o):o=e[1];const l=o;if(!Ni.isEmpty(l)&&typeof l=="object"&&"password"in l)s=l.password,i=r.error.detail;else if(!Ni.isEmpty(l)&&typeof l=="object"){let u;e[2]!==l?(u=JSON.stringify(l,null,2),e[2]=l,e[3]=u):u=e[3],s=u,i=r.error.detail}else r.error.title&&(i=r.error.title);let c;return e[4]!==s||e[5]!==n||e[6]!==i?(c=a.jsx(Lr,{severity:"error",title:i,message:s,sx:n,"data-testid":"query-error-alert"}),e[4]=s,e[5]=n,e[6]=i,e[7]=c):c=e[7],c}function Ys(t){const e=he.c(16);let r;e[0]!==t?(r=t===void 0?{}:t,e[0]=t,e[1]=r):r=e[1];const{editLoadTo:n}=r,{dialogClose:s}=Jt(),i=gr(),o=gr(),{load:l,data:c}=i,{data:u,state:d}=o,f=!!n;let p,m;e[2]!==s||e[3]!==u||e[4]!==d?(p=()=>{u&&!xt(u)&&d==="idle"&&s()},m=[s,u,d],e[2]=s,e[3]=u,e[4]=d,e[5]=p,e[6]=m):(p=e[5],m=e[6]),I.useEffect(p,m);let h,_;e[7]!==n||e[8]!==f||e[9]!==l?(h=()=>{f&&l(n)},_=[l,n,f],e[7]=n,e[8]=f,e[9]=l,e[10]=h,e[11]=_):(h=e[10],_=e[11]),I.useEffect(h,_);const g=f&&!c;let y;return e[12]!==i||e[13]!==g||e[14]!==o?(y={dataFetcher:i,upsertFetcher:o,isLoading:g},e[12]=i,e[13]=g,e[14]=o,e[15]=y):y=e[15],y}const iBe=dr().shape({defaultPartition:We().required()});function Dt(t){const e=he.c(6),{animation:r,height:n,width:s,variant:i,sx:o}=t,l=r===void 0?"pulse":r,c=i===void 0?"text":i,u=c==="circular"&&!n?50:n,d=c==="circular"&&!s?50:s;let f;return e[0]!==l||e[1]!==o||e[2]!==u||e[3]!==d||e[4]!==c?(f=a.jsx(mb,{animation:l,height:u,width:d,variant:c,sx:o}),e[0]=l,e[1]=o,e[2]=u,e[3]=d,e[4]=c,e[5]=f):f=e[5],f}function oBe(t){const e=he.c(15),{color:r,disabled:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checkedIcon:f,checked:p,label:m}=t;let h;e[0]!==p||e[1]!==f||e[2]!==r||e[3]!==o||e[4]!==c||e[5]!==u||e[6]!==i||e[7]!==l||e[8]!==s||e[9]!==d?(h=a.jsx(fae,{color:r,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:p,checkedIcon:f}),e[0]=p,e[1]=f,e[2]=r,e[3]=o,e[4]=c,e[5]=u,e[6]=i,e[7]=l,e[8]=s,e[9]=d,e[10]=h):h=e[10];let _;return e[11]!==n||e[12]!==m||e[13]!==h?(_=a.jsx(Rv,{disabled:n,control:h,label:m}),e[11]=n,e[12]=m,e[13]=h,e[14]=_):_=e[14],_}function aBe(t){const e=he.c(15),{label:r,radioItems:n,row:s,defaultValue:i,value:o,onChange:l}=t;let c;e[0]!==n?(c=n===void 0?[]:n,e[0]=n,e[1]=c):c=e[1];const u=c,d=s===void 0?!0:s;if(!u||!u.length)return null;let f;e[2]!==r?(f=r&&a.jsx(mv,{component:"legend",children:r}),e[2]=r,e[3]=f):f=e[3];let p;e[4]!==u?(p=u.map(lBe),e[4]=u,e[5]=p):p=e[5];let m;e[6]!==i||e[7]!==l||e[8]!==d||e[9]!==p||e[10]!==o?(m=a.jsx(pae,{value:o,defaultValue:i,row:d,onChange:l,children:p}),e[6]=i,e[7]=l,e[8]=d,e[9]=p,e[10]=o,e[11]=m):m=e[11];let h;return e[12]!==f||e[13]!==m?(h=a.jsxs(hv,{component:"fieldset",children:[f,m]}),e[12]=f,e[13]=m,e[14]=h):h=e[14],h}function lBe(t,e){return a.jsx(oBe,{label:t.label,value:t.value,disabled:t.disabled},e)}function Nc(t){const e=he.c(10),{value:r,color:n,type:s,thickness:i,label:o,variant:l,size:c,customColor:u,labelVariant:d}=t,f=s===void 0?"linear":s,p=i===void 0?3.6:i,m=d===void 0?"caption":d;let h;return e[0]!==n||e[1]!==u||e[2]!==o||e[3]!==m||e[4]!==c||e[5]!==p||e[6]!==f||e[7]!==r||e[8]!==l?(h=f==="circular"?a.jsxs(gt,{sx:{position:"relative",display:"inline-flex"},children:[a.jsxs(gt,{sx:{position:"relative",display:"flex"},children:[a.jsx(mC,{sx:{color:cBe},variant:"determinate",thickness:p,value:100,size:c}),a.jsx(mC,{color:n,variant:l,thickness:p,value:r,size:c,sx:{position:"absolute",left:0,top:0,...u&&{color:u}}})]}),a.jsx(gt,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:a.jsx(cn,{variant:m,component:"div",color:"text.secondary",children:o})})]}):a.jsx(R8e,{variant:l,sx:{height:`${p}px`,...u&&{color:u}},color:n,value:r}),e[0]=n,e[1]=u,e[2]=o,e[3]=m,e[4]=c,e[5]=p,e[6]=f,e[7]=r,e[8]=l,e[9]=h):h=e[9],h}function cBe(t){return t.palette.grey[300]}const _s=t=>{const e=he.c(5),{children:r,loading:n}=t;let s;e[0]!==r||e[1]!==n?(s=n?a.jsx(gt,{sx:{display:"flex",justifyContent:"center",p:10},children:a.jsx(Nc,{type:"circular",color:"primary"})}):r,e[0]=r,e[1]=n,e[2]=s):s=e[2];let i;return e[3]!==s?(i=a.jsx(yv,{children:s}),e[3]=s,e[4]=i):i=e[4],i};function uBe(){const t=he.c(30),e=Ye(),{dialogClose:r,confirmationSimpleDialogOpen:n}=Jt();let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s={editLoadTo:`${$.urls.system}/boot-partitions`},t[0]=s):s=t[0];const{dataFetcher:i,upsertFetcher:o}=Ys(s),{data:l}=i,{data:c,state:u,submit:d}=o,{submit:f}=gr();let p,m;t[1]!==f||t[2]!==c?(p=()=>()=>{c&&!xt(c)&&f(null,{action:$.urls.restart,encType:"application/json",method:"POST"})},m=[f,c],t[1]=f,t[2]=c,t[3]=p,t[4]=m):(p=t[3],m=t[4]),I.useEffect(p,m);let h;t[5]!==n||t[6]!==e||t[7]!==d?(h=C=>{n({title:e.formatMessage({id:"route.system.dialog.confirm_reboot.title"}),description:e.formatMessage({id:"route.system.dialog.confirm_reboot.description"}),onConfirm:()=>{d(C,{action:"/system/boot-partitions-update",method:"PUT",encType:"application/json"})},cancelText:e.formatMessage({id:"confirm_dialog.cancel"}),confirmText:e.formatMessage({id:"confirm_dialog.ok"})})},t[5]=n,t[6]=e,t[7]=d,t[8]=h):h=t[8];const _=h;let g;t[9]!==r?(g=()=>{r()},t[9]=r,t[10]=g):g=t[10];const y=g;if(!l){let C,k;t[11]===Symbol.for("react.memo_cache_sentinel")?(C={mt:1},k=a.jsx(Dt,{variant:"rounded"}),t[11]=C,t[12]=k):(C=t[11],k=t[12]);let A;t[13]===Symbol.for("react.memo_cache_sentinel")?(A=a.jsxs(te,{direction:"row",children:[a.jsx(Dt,{variant:"circular",width:22,height:22}),a.jsx(Dt,{variant:"rounded",width:200})]}),t[13]=A):A=t[13];let P;t[14]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsxs(te,{spacing:3,children:[A,a.jsxs(te,{direction:"row",children:[a.jsx(Dt,{variant:"circular",width:22,height:22}),a.jsx(Dt,{variant:"rounded",width:200})]})]}),t[14]=P):P=t[14];let T;return t[15]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(_s,{children:a.jsxs(te,{spacing:4,sx:C,children:[k,P,a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Dt,{variant:"rounded",width:90,height:36}),a.jsx(Dt,{variant:"rounded",width:90,height:36})]})]})}),t[15]=T):T=t[15],T}let b;t[16]!==l.bootPartitions.default?(b={defaultPartition:l.bootPartitions.default},t[16]=l.bootPartitions.default,t[17]=b):b=t[17];let x;t[18]!==y||t[19]!==e||t[20]!==l.bootPartitions.default||t[21]!==l.bootPartitions.primary||t[22]!==l.bootPartitions.secondary||t[23]!==c||t[24]!==u?(x=C=>{const{dirty:k}=C;return a.jsx(dn,{canWrite:Ue(ie.management),children:a.jsxs(te,{spacing:2,children:[a.jsx(_e,{children:e.formatMessage({id:"route.system.dialog.boot_partitions.subtitle"})}),a.jsx(gt,{children:a.jsx(Ke,{name:"defaultPartition",children:A=>{const{field:P,form:T}=A,{setFieldValue:j}=T;return a.jsx(aBe,{row:!1,radioItems:[{value:"primary",label:`${l.bootPartitions.primary} ${l.bootPartitions.default==="primary"?`(${e.formatMessage({id:"common.current"})})`:""}`},{value:"secondary",label:l.bootPartitions.secondary?`${l.bootPartitions.secondary} ${l.bootPartitions.default==="secondary"?`(${e.formatMessage({id:"common.current"})})`:""}`:e.formatMessage({id:"common.empty"}),disabled:!l.bootPartitions.secondary}],value:P.value,onChange:(R,D)=>{j(P.name,D)}})}})}),a.jsx(Xr,{data:c}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{variant:"outlined",text:e.formatMessage({id:"common.form.cancel"}),disabled:u!=="idle",onClick:y}),a.jsx(Ze,{type:"submit",text:e.formatMessage({id:"common.form.submit"}),disabled:!k,loading:u!=="idle"})]})]})})},t[18]=y,t[19]=e,t[20]=l.bootPartitions.default,t[21]=l.bootPartitions.primary,t[22]=l.bootPartitions.secondary,t[23]=c,t[24]=u,t[25]=x):x=t[25];let w;return t[26]!==_||t[27]!==b||t[28]!==x?(w=a.jsx(_s,{children:a.jsx(Wr,{validationSchema:iBe,initialValues:b,onSubmit:_,children:x})}),t[26]=_,t[27]=b,t[28]=x,t[29]=w):w=t[29],w}function dBe(){const t=he.c(35),e=ys(),r=Ye(),{confirmationDialogOpen:n,dialogOpen:s}=Jt(),i=Np(),{submit:o}=gr();i?.services;let l;t[0]!==i?.services?(l=i?.services??[],t[0]=i?.services,t[1]=l):l=t[1];const c=l;let u;t[2]!==i?.alerts?(u=()=>i?.alerts??[],t[2]=i?.alerts,t[3]=u):u=t[3],i?.alerts;let d;t[4]!==u?(d=u(),t[4]=u,t[5]=d):d=t[5];const f=d;let p;t[6]!==c?(p=nBe({services:c}),t[6]=c,t[7]=p):p=t[7];const m=p;let h;t[8]!==m?(h=kae(m),t[8]=m,t[9]=h):h=t[9];const _=h,g=f?.length;let y;t[10]!==e?(y=D=>{D.external?window.open(D.value,D._target||"_blank"):e(D.value)},t[10]=e,t[11]=y):y=t[11];const b=y;let x;t[12]!==n||t[13]!==r||t[14]!==o?(x=()=>{n({title:r.formatMessage({id:"route.system.dialog.restart.title"}),alertMessage:r.formatMessage({id:"route.system.dialog.restart.text"}),onConfirm:()=>{o(null,{action:$.urls.restart,encType:"application/json",method:"POST"})},severity:"warning"})},t[12]=n,t[13]=r,t[14]=o,t[15]=x):x=t[15];const w=x;let C;t[16]!==s||t[17]!==r?(C=()=>{s({title:r.formatMessage({id:"route.system.dialog.boot_partitions.title"}),content:pBe})},t[16]=s,t[17]=r,t[18]=C):C=t[18];const k=C;let A;t[19]!==k||t[20]!==b||t[21]!==w?(A=D=>{e:switch(D.id){case"restart":{w();break e}case"boot-partition":{k();break e}default:b(D)}},t[19]=k,t[20]=b,t[21]=w,t[22]=A):A=t[22];const P=A;let T;if(t[23]!==_||t[24]!==g||t[25]!==P||t[26]!==b){let D;t[28]!==g||t[29]!==P||t[30]!==b?(D=O=>a.jsx(Mn,{opaque:!0,disableFocusListener:!0,enterTouchDelay:0,title:O.subItems?a.jsxs(pv,{children:[a.jsx(_e,{color:"text.secondary",sx:{px:2,pb:1,pt:.5},children:O.label}),a.jsx(gt,{className:"tooltip-items",children:O.subItems.map((N,F)=>{const{label:U,value:z,disabled:H,icon:W}=N;return a.jsx(En,{disabled:H,onClick:()=>P(N),divider:O.subItems&&F===O.subItems.findIndex(fBe)-1,icon:W,children:U},`${z}-${F}`)})})]}):O.label,children:a.jsx(gt,{children:a.jsx(Iv,{badgeContent:O.value===$.urls.monitoringAlerts?g:void 0,color:"error",children:a.jsx(Zr,{size:"small",sx:{fontSize:"20px"},onClick:()=>{O.subItems||b(O)},children:O.icon})})})},O.value),t[28]=g,t[29]=P,t[30]=b,t[31]=D):D=t[31],T=_.map(D),t[23]=_,t[24]=g,t[25]=P,t[26]=b,t[27]=T}else T=t[27];let j;t[32]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(wae,{}),t[32]=j):j=t[32];let R;return t[33]!==T?(R=a.jsxs(te,{direction:"row",spacing:1,nowrap:!0,align:"center",children:[T,j]}),t[33]=T,t[34]=R):R=t[34],R}function fBe(t){return t.id==="restart"}function pBe(){return a.jsx(uBe,{})}function oN(t){const e=Ji.getSiteNode();return!!t.unreachable_peers.find(n=>{if(typeof n=="string"){const s=n.split("@")[1]??n;return e===s}else return e===n.api_address})}function Dv(t){const e=he.c(24),{to:r,initialData:n,search:s}=t,i=gr();let o,l,c;e[0]!==i?({load:l,data:o,...c}=i,e[0]=i,e[1]=o,e[2]=l,e[3]=c):(o=e[1],l=e[2],c=e[3]);const[u,d]=I.useState(n),f=I.useRef(null);let p;e[4]!==l||e[5]!==s||e[6]!==r?(p=()=>{const A=new URLSearchParams(s);A.append("polling","true"),l(`${r}?${A}`)},e[4]=l,e[5]=s,e[6]=r,e[7]=p):p=e[7];const m=p;let h;e[8]!==m?(h=()=>{f.current&&window.clearTimeout(f.current),f.current=window.setTimeout(()=>{m()},$.polling.default)},e[8]=m,e[9]=h):h=e[9];const _=h;let g,y;e[10]===Symbol.for("react.memo_cache_sentinel")?(g=()=>()=>{f.current&&window.clearTimeout(f.current)},y=[],e[10]=g,e[11]=y):(g=e[10],y=e[11]),I.useEffect(g,y);let b,x;e[12]!==o||e[13]!==_?(b=()=>{if(o&&typeof o=="object"&&"__polling_error"in o)return _();o&&d(o),_()},x=[o,_],e[12]=o,e[13]=_,e[14]=b,e[15]=x):(b=e[14],x=e[15]),I.useEffect(b,x);let w,C;e[16]!==m||e[17]!==n?(w=()=>{n||m(),d(n)},C=[m,n],e[16]=m,e[17]=n,e[18]=w,e[19]=C):(w=e[18],C=e[19]),I.useEffect(w,C);let k;return e[20]!==u||e[21]!==l||e[22]!==c?(k={load:l,data:u,...c},e[20]=u,e[21]=l,e[22]=c,e[23]=k):k=e[23],k}function Gr(t){const e=he.c(9);let r;e[0]!==t?(r=t===void 0?{useSearchParams:!0}:t,e[0]=t,e[1]=r):r=e[1];const{useSearchParams:n}=r,s=n===void 0?!0:n,i=zn(),o=Lp("."),{search:l}=to();let c;e[2]!==l||e[3]!==s?(c=s&&{search:l},e[2]=l,e[3]=s,e[4]=c):c=e[4];let u;e[5]!==i||e[6]!==o.pathname||e[7]!==c?(u={to:o.pathname,initialData:i,...c},e[5]=i,e[6]=o.pathname,e[7]=c,e[8]=u):u=e[8];const{data:d}=Dv(u);return d}function ms(t){const e=he.c(13),{id:r,label:n,color:s,variant:i,onDelete:o,size:l,disabled:c,sx:u}=t;let d;e[0]!==u?(d={flexShrink:0,width:"fit-content",...u},e[0]=u,e[1]=d):d=e[1];let f;e[2]!==r||e[3]!==o?(f=o&&r?()=>o(r):void 0,e[2]=r,e[3]=o,e[4]=f):f=e[4];let p;return e[5]!==s||e[6]!==c||e[7]!==n||e[8]!==l||e[9]!==d||e[10]!==f||e[11]!==i?(p=a.jsx(cL,{color:s,sx:d,label:n,variant:i,onDelete:f,size:l,disabled:c}),e[5]=s,e[6]=c,e[7]=n,e[8]=l,e[9]=d,e[10]=f,e[11]=i,e[12]=p):p=e[12],p}function mBe(){const t=he.c(39);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={to:$.urls.siteLoader},t[0]=e):e=t[0];const{data:r}=Dv(e),{popoverOpen:n,popoverClose:s}=Jt(),i=Ye(),{submit:o,state:l}=gr();let c;t[1]===Symbol.for("react.memo_cache_sentinel")?(c=Ji.getSiteNode(),t[1]=c):c=t[1];const[u,d]=I.useState(c);let f;t[2]!==s||t[3]!==o?(f=F=>{if(!F.api_address)return;const{api_address:U}=F;d(U),o({siteNodeAddress:U},{method:"POST",encType:"application/json",action:"/"}),s()},t[2]=s,t[3]=o,t[4]=f):f=t[4];const p=f;let m;e:{if(!r){let U;t[5]===Symbol.for("react.memo_cache_sentinel")?(U=[],t[5]=U):U=t[5],m=U;break e}let F;t[6]!==r.current_node||t[7]!==r.peers||t[8]!==r.unreachable_peers?(F=[...Ni.sortBy([r.current_node,...r.peers],vBe).map(_Be),...r.unreachable_peers.map(gBe)],t[6]=r.current_node,t[7]=r.peers,t[8]=r.unreachable_peers,t[9]=F):F=t[9],m=F}const h=m;let _;t[10]!==u||t[11]!==h?(_=h.find(F=>F.api_address===u),t[10]=u,t[11]=h,t[12]=_):_=t[12];const g=_;let y,b;t[13]!==r?(y=()=>{d(F=>!F&&r?r.current_node.api_address:F)},b=[r],t[13]=r,t[14]=y,t[15]=b):(y=t[14],b=t[15]),I.useEffect(y,b);let x;t[16]!==p||t[17]!==i||t[18]!==n||t[19]!==u||t[20]!==h?(x=F=>{n({anchorEl:F.currentTarget,anchorOrigin:{horizontal:"left",vertical:"bottom"},disableGutters:!0,content:()=>a.jsx(pv,{children:h.map(U=>{const z=u===U.api_address;return a.jsx(En,{onClick:()=>{p(U)},disabled:z||U.unreachable,selected:z,sx:{opacity:U.unreachable?"0.8 !important":"1 !important"},children:a.jsxs(te,{direction:"row",nowrap:!0,align:"center",justify:"space-between",fullWidth:!0,children:[a.jsxs(te,{direction:"row",align:"center",children:[U.unreachable?a.jsx(te,{align:"center",justify:"center",sx:{color:"error.main"},children:a.jsx(ge.StatusErrorSmall,{size:14})}):a.jsx(te,{align:"center",justify:"center",sx:{color:"success.main"},children:a.jsx(ge.StatusSuccessSmall,{size:14})}),a.jsx(te,{align:"center",children:a.jsx(_e,{children:U.name})})]}),a.jsx(te,{direction:"row",align:"center",spacing:.5,sx:{ml:4},children:U.unreachable&&a.jsx(ms,{label:i.formatMessage({id:"cluster.status.unreachable_node"}),size:"small"})})]})},`${U.name}-${U.api_address}`)})})})},t[16]=p,t[17]=i,t[18]=n,t[19]=u,t[20]=h,t[21]=x):x=t[21];const w=x;let C;t[22]!==h?(C=h.filter(hBe),t[22]=h,t[23]=C):C=t[23];const k=C.length;if(h.length<2||!r)return null;const A=g?.name;let P;t[24]===Symbol.for("react.memo_cache_sentinel")?(P={textTransform:"none"},t[24]=P):P=t[24];let T;t[25]===Symbol.for("react.memo_cache_sentinel")?(T=a.jsx(ge.DownArrow,{size:14}),t[25]=T):T=t[25];let j;t[26]!==i||t[27]!==k?(j=k>0&&a.jsx(Mn,{title:i.formatMessage({id:k>1?"cluster.status.unreachable_nodes_count":"cluster.status.unreachable_node_count"},{count:k}),children:a.jsx(gt,{sx:{color:"warning.main",mt:1},children:a.jsx(ge.StatusWarning,{size:"20"})})}),t[26]=i,t[27]=k,t[28]=j):j=t[28];let R;t[29]!==j?(R=a.jsxs(te,{direction:"row",align:"center",spacing:1.5,children:[T,j]}),t[29]=j,t[30]=R):R=t[30];let D;t[31]!==r?(D=a.jsx(a.Fragment,{children:oN(r)?a.jsx(gt,{sx:{color:"error.main"},children:a.jsx(ge.StatusErrorSmall,{size:14})}):a.jsx(gt,{sx:{color:"success.main"},children:a.jsx(ge.StatusSuccessSmall,{size:14})})}),t[31]=r,t[32]=D):D=t[32];const O=l!=="idle";let N;return t[33]!==w||t[34]!==R||t[35]!==D||t[36]!==O||t[37]!==A?(N=a.jsx(Ze,{size:"medium",text:A,variant:"text",sx:P,endIcon:R,startIcon:D,onClick:w,disabled:O}),t[33]=w,t[34]=R,t[35]=D,t[36]=O,t[37]=A,t[38]=N):N=t[38],N}function hBe(t){return t.unreachable}function gBe(t){return typeof t=="string"?{name:"",api_address:t.split("@")[1]??t,unreachable:!0}:{name:t.name,api_address:t.api_address,unreachable:!0}}function _Be(t){return{name:t.name,api_address:t.api_address,unreachable:!1}}function vBe(t){return t.api_address}function Pae(t){const e=he.c(35),{info:r,variant:n,profileCard:s}=t,i=Ye(),o=As(),l=aC(o.breakpoints.down($.appBarMobileBreakpoint))?"5px 0 0 0":"",c=aC(o.breakpoints.down($.appBarMobileBreakpoint))?"100%":"auto",{menuClose:u}=Jt(),d=ys();let f;e[0]===Symbol.for("react.memo_cache_sentinel")?(f=Ih(),e[0]=f):f=e[0];const p=f;let m;e[1]!==i?(m=i.formatMessage({id:"user.menu.profile"}),e[1]=i,e[2]=m):m=e[2];let h;e[3]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(ge.Profile,{}),e[3]=h):h=e[3];let _;e[4]!==u||e[5]!==d?(_=()=>{u(),d($.urls.profile)},e[4]=u,e[5]=d,e[6]=_):_=e[6];let g;e[7]!==m||e[8]!==_?(g={label:m,value:"profile",icon:h,onClick:_},e[7]=m,e[8]=_,e[9]=g):g=e[9];let y;e[10]===Symbol.for("react.memo_cache_sentinel")?(y=a.jsx(ge.Logout,{}),e[10]=y):y=e[10];let b;e[11]!==u||e[12]!==d?(b={label:"Logout",value:"logout",icon:y,onClick:()=>{u(),d($.urls.logout,{replace:!0})}},e[11]=u,e[12]=d,e[13]=b):b=e[13];let x;e[14]!==g||e[15]!==b?(x=[g,b],e[14]=g,e[15]=b,e[16]=x):x=e[16];const w=x;let C;e[17]!==n?(C=n!=="simpleLayout"?a.jsx(mBe,{}):void 0,e[17]=n,e[18]=C):C=e[18];let k;e[19]!==l||e[20]!==c?(k={margin:l,width:c},e[19]=l,e[20]=c,e[21]=k):k=e[21];let A;e[22]!==n?(A=n==="simpleLayout"?a.jsx(wae,{}):a.jsx(dBe,{}),e[22]=n,e[23]=A):A=e[23];let P;e[24]!==s||e[25]!==w?(P=s&&a.jsx(CUe,{fullname:p?.fullname||"",menuItems:w,description:p?.sub?[p?.sub]:[""]}),e[24]=s,e[25]=w,e[26]=P):P=e[26];let T;e[27]!==k||e[28]!==A||e[29]!==P?(T=a.jsxs(te,{direction:"row",align:"center",spacing:1,sx:k,justify:"between",children:[A,P]}),e[27]=k,e[28]=A,e[29]=P,e[30]=T):T=e[30];let j;return e[31]!==r||e[32]!==T||e[33]!==C?(j=a.jsx(PUe,{info:r,siteSelector:C,children:T}),e[31]=r,e[32]=T,e[33]=C,e[34]=j):j=e[34],j}const Ti=t=>{const e=he.c(2),{children:r}=t;let n;return e[0]!==r?(n=a.jsx(vv,{children:r}),e[0]=r,e[1]=n):n=e[1],n};function aN(t){const e=he.c(20),{title:r,children:n,closeOnBackdropClick:s,closeOnEsc:i,onClose:o,fullScreen:l,maxWidth:c,open:u,"data-testid":d,disableAutoFocus:f}=t,p=i===void 0?!0:i;let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m={xs:"250px",sm:"500px"},e[0]=m):m=e[0];let h;e[1]!==l?(h=l&&{height:"calc(100vh - 32px)",width:"calc(100% - 32px)",maxWidth:"1400px"},e[1]=l,e[2]=h):h=e[2];let _;e[3]!==h?(_={".MuiDialog-paper":{m:2,minWidth:m,maxHeight:"calc(100vh - 32px)",boxShadow:"none",...h},my:0},e[3]=h,e[4]=_):_=e[4];const g=_;let y;e[5]!==s||e[6]!==p||e[7]!==o?(y=(C,k)=>{k==="backdropClick"&&!s||k==="escapeKeyDown"&&!p||o&&o(C,k)},e[5]=s,e[6]=p,e[7]=o,e[8]=y):y=e[8];const b=y;let x;e[9]!==r?(x=r&&a.jsx(JL,{children:r}),e[9]=r,e[10]=x):x=e[10];let w;return e[11]!==n||e[12]!==d||e[13]!==f||e[14]!==b||e[15]!==c||e[16]!==u||e[17]!==x||e[18]!==g?(w=a.jsxs(Xne,{open:u,onClose:b,sx:g,maxWidth:c,"data-testid":d,disableAutoFocus:f,children:[x,n]}),e[11]=n,e[12]=d,e[13]=f,e[14]=b,e[15]=c,e[16]=u,e[17]=x,e[18]=g,e[19]=w):w=e[19],w}function yBe(t){const e=he.c(44),{severity:r,onConfirm:n,onCancel:s,title:i,description:o,alertMessage:l,content:c,dataTestid:u,cancelButtonText:d,continueButtonText:f}=t,p=d===void 0?"Cancel":d,m=f===void 0?"Continue":f,{confirmationDialogClose:h}=Jt(),_=Nr(SBe),g=Nr(xBe),y=Nr(bBe),[b,x]=I.useState(!1),w=I.useRef(null);let C,k;e[0]!==_||e[1]!==y||e[2]!==g?(C=()=>{_&&y&&(x(!0),w.current&&(window.clearTimeout(w.current),w.current=null)),_&&!y&&(x(!1),w.current=window.setTimeout(()=>{g(null)},1e3))},k=[_,y,g],e[0]=_,e[1]=y,e[2]=g,e[3]=C,e[4]=k):(C=e[3],k=e[4]),I.useEffect(C,k);let A;e[5]!==h||e[6]!==n?(A=()=>{n(),h()},e[5]=h,e[6]=n,e[7]=A):A=e[7];const P=A;let T;e[8]!==h||e[9]!==s?(T=()=>{s&&s(),h()},e[8]=h,e[9]=s,e[10]=T):T=e[10];const j=T;let R;e[11]!==r?(R=r==="danger"&&{color:"error.main"},e[11]=r,e[12]=R):R=e[12];let D;e[13]!==R?(D={...R,fontWeight:"600"},e[13]=R,e[14]=D):D=e[14];let O;e[15]!==i?(O=i.toLocaleUpperCase(),e[15]=i,e[16]=O):O=e[16];let N;e[17]!==D||e[18]!==O?(N=a.jsx(JL,{sx:D,children:O}),e[17]=D,e[18]=O,e[19]=N):N=e[19];let F;e[20]!==o?(F=a.jsx(_e,{type:"body1",lineHeight:3,children:o}),e[20]=o,e[21]=F):F=e[21];const U=r==="danger"?"error":r||"info";let z;e[22]!==l||e[23]!==U?(z=a.jsx(Lr,{severity:U,message:l}),e[22]=l,e[23]=U,e[24]=z):z=e[24];let H;e[25]!==c||e[26]!==F||e[27]!==z?(H=a.jsxs(_s,{children:[F,z,c]}),e[25]=c,e[26]=F,e[27]=z,e[28]=H):H=e[28];let W;e[29]!==p||e[30]!==j?(W=a.jsx(Ze,{variant:"outlined",text:p,onClick:j}),e[29]=p,e[30]=j,e[31]=W):W=e[31];let K;e[32]!==m||e[33]!==P?(K=a.jsx(Ze,{text:m,onClick:P}),e[32]=m,e[33]=P,e[34]=K):K=e[34];let q;e[35]!==W||e[36]!==K?(q=a.jsxs(Ti,{children:[W,K]}),e[35]=W,e[36]=K,e[37]=q):q=e[37];let X;return e[38]!==u||e[39]!==b||e[40]!==N||e[41]!==H||e[42]!==q?(X=a.jsxs(aN,{open:b,"data-testid":u,children:[N,H,q]}),e[38]=u,e[39]=b,e[40]=N,e[41]=H,e[42]=q,e[43]=X):X=e[43],X}function bBe(t){return t.confirmationDialogOpen}function xBe(t){return t.setConfirmationDialog}function SBe(t){return t.confirmationDialogState}function wBe(t){const e=he.c(29),{title:r,cancelText:n,confirmText:s,description:i,onConfirm:o,onCancel:l}=t,c=r===void 0?"Do you confirm?":r,u=n===void 0?"Cancel":n,d=s===void 0?"Confirm":s,{confirmationSimpleDialogClose:f}=Jt(),p=Nr(kBe),m=Nr(ABe),h=Nr(CBe),[_,g]=I.useState(!1),y=I.useRef(null);let b,x;e[0]!==p||e[1]!==h||e[2]!==m?(b=()=>{p&&h&&(g(!0),y.current&&(window.clearTimeout(y.current),y.current=null)),p&&!h&&(g(!1),y.current=window.setTimeout(()=>{m(null)},1e3))},x=[p,h,m],e[0]=p,e[1]=h,e[2]=m,e[3]=b,e[4]=x):(b=e[3],x=e[4]),I.useEffect(b,x);let w;e[5]!==f||e[6]!==o?(w=()=>{o(),f()},e[5]=f,e[6]=o,e[7]=w):w=e[7];const C=w;let k;e[8]!==f||e[9]!==l?(k=()=>{l&&l(),f()},e[8]=f,e[9]=l,e[10]=k):k=e[10];const A=k;let P;e[11]!==c?(P=a.jsx(JL,{children:c}),e[11]=c,e[12]=P):P=e[12];let T;e[13]!==i?(T=i&&a.jsx(_s,{children:a.jsx(_e,{children:i})}),e[13]=i,e[14]=T):T=e[14];let j;e[15]!==u||e[16]!==A?(j=a.jsx(Ze,{variant:"outlined",text:u,onClick:A}),e[15]=u,e[16]=A,e[17]=j):j=e[17];let R;e[18]!==d||e[19]!==C?(R=a.jsx(Ze,{text:d,onClick:C}),e[18]=d,e[19]=C,e[20]=R):R=e[20];let D;e[21]!==j||e[22]!==R?(D=a.jsxs(Ti,{children:[j,R]}),e[21]=j,e[22]=R,e[23]=D):D=e[23];let O;return e[24]!==_||e[25]!==D||e[26]!==P||e[27]!==T?(O=a.jsxs(aN,{open:_,"data-testid":"confirmation-simple-dialog",children:[P,T,D]}),e[24]=_,e[25]=D,e[26]=P,e[27]=T,e[28]=O):O=e[28],O}function CBe(t){return t.confirmationSimpleDialogOpen}function ABe(t){return t.setConfirmationSimpleDialog}function kBe(t){return t.confirmationSimpleDialogState}function jae(t){const e=he.c(39);let r,n,s,i,o,l;e[0]!==t?({id:l,children:r,open:s,preventClose:i,closeIcon:n,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6]);const c=l===void 0?$6:l,u=Nr(jBe),d=Nr(PBe),f=Nr(MBe),[p,m]=I.useState(!1),h=I.useRef(null),{dialogClose:_}=Jt();let g;e[7]!==u||e[8]!==c?(g=u.includes(c),e[7]=u,e[8]=c,e[9]=g):g=e[9];const y=g;let b;if(e[10]!==d||e[11]!==c){let O;e[13]!==c?(O=N=>N.id===c,e[13]=c,e[14]=O):O=e[14],b=d.find(O),e[10]=d,e[11]=c,e[12]=b}else b=e[12];const x=b;let w,C;e[15]!==x||e[16]!==c||e[17]!==y||e[18]!==s||e[19]!==f?(w=()=>{typeof s<"u"||(x&&y&&(m(!0),h.current&&(window.clearTimeout(h.current),h.current=null)),x&&!y&&(m(!1),h.current=window.setTimeout(()=>{f(c)},1e3)))},C=[x,c,y,s,f],e[15]=x,e[16]=c,e[17]=y,e[18]=s,e[19]=f,e[20]=w,e[21]=C):(w=e[20],C=e[21]),I.useEffect(w,C);let k;e[22]!==_||e[23]!==c||e[24]!==i?(k=(O,N)=>{i&&i(O,N)||_(c)},e[22]=_,e[23]=c,e[24]=i,e[25]=k):k=e[25];const A=k;let P;e[26]!==_||e[27]!==c||e[28]!==i?(P=O=>{i&&i(O)||_(c)},e[26]=_,e[27]=c,e[28]=i,e[29]=P):P=e[29];const T=P,j=!!(p||s);let R;e[30]!==n||e[31]!==T?(R=n&&a.jsx(Zr,{onClick:T,sx:{position:"absolute",right:"16px",top:"8px",zIndex:1e3},children:a.jsx(ge.Close,{})}),e[30]=n,e[31]=T,e[32]=R):R=e[32];let D;return e[33]!==r||e[34]!==A||e[35]!==o||e[36]!==j||e[37]!==R?(D=a.jsxs(aN,{...o,open:j,onClose:A,children:[R,r]}),e[33]=r,e[34]=A,e[35]=o,e[36]=j,e[37]=R,e[38]=D):D=e[38],D}function MBe(t){return t.setDialogsClose}function PBe(t){return t.dialogs}function jBe(t){return t.dialogsOpen}function TBe(t){const e=he.c(21),{onClose:r,children:n,title:s,variant:i,width:o,open:l}=t,c=i===void 0?"temporary":i,u=o===void 0?300:o,d=Nr(IBe),f=Nr(RBe),p=Nr(EBe),[m,h]=I.useState(!1),_=I.useRef(null);let g;e[0]!==r?(g=()=>{r&&r({},"backdropClick")},e[0]=r,e[1]=g):g=e[1];const y=g;let b,x;e[2]!==d||e[3]!==p||e[4]!==f?(b=()=>{d&&p&&(h(!0),_.current&&(window.clearTimeout(_.current),_.current=null)),d&&!p&&(h(!1),_.current=window.setTimeout(()=>{f(null)},1e3))},x=[d,p,f],e[2]=d,e[3]=p,e[4]=f,e[5]=b,e[6]=x):(b=e[5],x=e[6]),I.useEffect(b,x);const w=!!(m||l);let C;e[7]!==u?(C={height:"100vh",position:"relative",width:u},e[7]=u,e[8]=C):C=e[8];let k;e[9]!==y||e[10]!==s?(k=s&&a.jsxs(te,{sx:{mb:2,py:2,px:2,pb:0},spacing:2,children:[a.jsxs(te,{direction:"row",align:"center",spacing:2,nowrap:!0,children:[a.jsx(_e,{type:"h6",sx:{flex:1},children:s}),a.jsx(Zr,{size:"small",onClick:y,children:a.jsx(ge.Close,{})})]}),a.jsx(Oc,{})]}),e[9]=y,e[10]=s,e[11]=k):k=e[11];let A;e[12]!==n||e[13]!==C||e[14]!==k?(A=a.jsxs(te,{sx:C,nowrap:!0,children:[k,n]}),e[12]=n,e[13]=C,e[14]=k,e[15]=A):A=e[15];let P;return e[16]!==r||e[17]!==w||e[18]!==A||e[19]!==c?(P=a.jsx(aae,{variant:c,anchor:"right",onClose:r,open:w,children:A}),e[16]=r,e[17]=w,e[18]=A,e[19]=c,e[20]=P):P=e[20],P}function EBe(t){return t.drawerOpen}function RBe(t){return t.setDrawerState}function IBe(t){return t.drawerState}function DBe(t){const e=he.c(26);let r,n,s,i,o,l;e[0]!==t?({anchorEl:r,onClose:s,children:n,anchorOrigin:l,open:i,...o}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6]);let c;e[7]!==l?(c=l===void 0?{vertical:"bottom",horizontal:"left"}:l,e[7]=l,e[8]=c):c=e[8];const u=c,d=Nr(LBe),f=Nr(OBe),p=Nr($Be),[m,h]=I.useState(!1),_=I.useRef(null);let g,y;e[9]!==p||e[10]!==d||e[11]!==i||e[12]!==f?(g=()=>{typeof i<"u"||(d&&p&&(h(!0),_.current&&(window.clearTimeout(_.current),_.current=null)),d&&!p&&(h(!1),_.current=window.setTimeout(()=>{f(null)},1e3)))},y=[p,d,i,f],e[9]=p,e[10]=d,e[11]=i,e[12]=f,e[13]=g,e[14]=y):(g=e[13],y=e[14]),I.useEffect(g,y);const b=!!(m||i);let x;e[15]!==u.horizontal||e[16]!==o.transformOrigin?(x={vertical:"top",horizontal:u.horizontal,...o.transformOrigin},e[15]=u.horizontal,e[16]=o.transformOrigin,e[17]=x):x=e[17];let w;return e[18]!==r||e[19]!==u||e[20]!==n||e[21]!==s||e[22]!==o||e[23]!==b||e[24]!==x?(w=a.jsx(one,{anchorEl:r,open:b,onClose:s,anchorOrigin:u,transformOrigin:x,...o,children:n}),e[18]=r,e[19]=u,e[20]=n,e[21]=s,e[22]=o,e[23]=b,e[24]=x,e[25]=w):w=e[25],w}function $Be(t){return t.menuOpen}function OBe(t){return t.setMenuState}function LBe(t){return t.menuState}function NBe(t){const e=he.c(23),{anchorOrigin:r,transformOrigin:n,children:s,onClose:i,anchorEl:o,disableGutters:l,overflowVisible:c,open:u}=t;let d;e[0]!==r?(d=r===void 0?{vertical:"bottom",horizontal:"left"}:r,e[0]=r,e[1]=d):d=e[1];const f=d;let p;e[2]!==n?(p=n===void 0?{vertical:"top",horizontal:"left"}:n,e[2]=n,e[3]=p):p=e[3];const m=p,h=Nr(BBe),_=Nr(UBe),g=Nr(FBe),[y,b]=I.useState(!1),x=I.useRef(null);let w,C;e[4]!==g||e[5]!==u||e[6]!==h||e[7]!==_?(w=()=>{typeof u<"u"||(h&&g&&(b(!0),x.current&&(window.clearTimeout(x.current),x.current=null)),h&&!g&&(b(!1),x.current=window.setTimeout(()=>{_(null)},1e3)))},C=[g,u,h,_],e[4]=g,e[5]=u,e[6]=h,e[7]=_,e[8]=w,e[9]=C):(w=e[8],C=e[9]),I.useEffect(w,C);const k=!!(y||u),A=l?0:2,P=c?"visible":"auto";let T;e[10]!==A||e[11]!==P?(T={p:A,overflow:P},e[10]=A,e[11]=P,e[12]=T):T=e[12];let j;e[13]!==s||e[14]!==T?(j=a.jsx(gt,{sx:T,children:s}),e[13]=s,e[14]=T,e[15]=j):j=e[15];let R;return e[16]!==o||e[17]!==f||e[18]!==i||e[19]!==j||e[20]!==k||e[21]!==m?(R=a.jsx(ine,{open:k,anchorEl:o,anchorOrigin:f,transformOrigin:m,onClose:i,children:j}),e[16]=o,e[17]=f,e[18]=i,e[19]=j,e[20]=k,e[21]=m,e[22]=R):R=e[22],R}function FBe(t){return t.popoverOpen}function UBe(t){return t.setPopoverState}function BBe(t){return t.popoverState}function zBe(t){const e=he.c(22),{onClick:r,message:n,severity:s,title:i,onClose:o,noIcon:l,action:c,anchorOrigin:u}=t;let d;e[0]!==u?(d=u===void 0?{vertical:"top",horizontal:"right"}:u,e[0]=u,e[1]=d):d=e[1];const f=d,p=Nr(HBe),m=Nr(VBe),h=Nr(qBe),[_,g]=I.useState(!1),y=I.useRef(null);let b,x;e[2]!==h||e[3]!==m||e[4]!==p?(b=()=>{p&&h&&(g(!0),y.current&&(window.clearTimeout(y.current),y.current=null)),p&&!h&&(g(!1),y.current=window.setTimeout(()=>{m(null)},1e3))},x=[h,p,m],e[2]=h,e[3]=m,e[4]=p,e[5]=b,e[6]=x):(b=e[5],x=e[6]),I.useEffect(b,x);let w;e[7]!==o?(w=A=>{o&&o(A,"clickaway")},e[7]=o,e[8]=w):w=e[8];let C;e[9]!==c||e[10]!==n||e[11]!==l||e[12]!==s||e[13]!==w||e[14]!==i?(C=a.jsx(Vte,{children:a.jsx(Lr,{message:n,onClose:w,severity:s,title:i,action:c,noIcon:l})}),e[9]=c,e[10]=n,e[11]=l,e[12]=s,e[13]=w,e[14]=i,e[15]=C):C=e[15];let k;return e[16]!==f||e[17]!==_||e[18]!==r||e[19]!==o||e[20]!==C?(k=a.jsx(D9e,{autoHideDuration:5e3,open:_,onClick:r,anchorOrigin:f,onClose:o,children:C}),e[16]=f,e[17]=_,e[18]=r,e[19]=o,e[20]=C,e[21]=k):k=e[21],k}function qBe(t){return t.snackbarOpen}function VBe(t){return t.setSnackbarState}function HBe(t){return t.snackbarState}function Tae(){const t=he.c(31),e=Nr(sze),r=Nr(nze),n=Nr(rze),s=Nr(tze),i=Nr(eze),o=Nr(JBe),l=Nr(XBe),c=Nr(ZBe),u=Nr(QBe),d=Nr(KBe),f=Nr(YBe),p=Nr(WBe),m=r?.content,h=i?.content;let _;if(t[0]!==e||t[1]!==p){let A;t[3]!==p?(A=(P,T)=>{if(!P)return null;const j=P.content,R=P.id||"";return a.jsx(jae,{id:R,...P,children:j&&a.jsx(j,{dialogClose:()=>{p(R)}})},`${R}-${T}`)},t[3]=p,t[4]=A):A=t[4],_=e.map(A),t[0]=e,t[1]=p,t[2]=_}else _=t[2];let g;t[5]!==d||t[6]!==s?(g=s&&a.jsx(zBe,{...s,onClose:(A,P)=>{s.onClose&&s.onClose(A,P),d()}}),t[5]=d,t[6]=s,t[7]=g):g=t[7];let y;t[8]!==m||t[9]!==r||t[10]!==c?(y=r&&a.jsx(TBe,{onClose:()=>{c(),r.onClose&&r.onClose()},title:r?.title,width:r?.width,variant:r?.variant,children:r?.content&&a.jsx(m,{})}),t[8]=m,t[9]=r,t[10]=c,t[11]=y):y=t[11];let b;t[12]!==n||t[13]!==u?(b=n&&a.jsx(DBe,{anchorEl:n?.anchorEl,anchorOrigin:n?.anchorOrigin,onClose:u,children:n?.items.map(GBe)}),t[12]=n,t[13]=u,t[14]=b):b=t[14];let x;t[15]!==h||t[16]!==i||t[17]!==f?(x=i&&a.jsx(NBe,{anchorEl:i?.anchorEl,onClose:f,anchorOrigin:i?.anchorOrigin,disableGutters:i?.disableGutters,children:i?.content&&a.jsx(h,{})}),t[15]=h,t[16]=i,t[17]=f,t[18]=x):x=t[18];let w;t[19]!==o?(w=o&&a.jsx(yBe,{...o}),t[19]=o,t[20]=w):w=t[20];let C;t[21]!==l?(C=l&&a.jsx(wBe,{title:l.title,description:l.description,confirmText:l.confirmText,cancelText:l.cancelText,onCancel:l.onCancel,onConfirm:l.onConfirm}),t[21]=l,t[22]=C):C=t[22];let k;return t[23]!==_||t[24]!==g||t[25]!==y||t[26]!==b||t[27]!==x||t[28]!==w||t[29]!==C?(k=a.jsxs(a.Fragment,{children:[_,g,y,b,x,w,C]}),t[23]=_,t[24]=g,t[25]=y,t[26]=b,t[27]=x,t[28]=w,t[29]=C,t[30]=k):k=t[30],k}function GBe(t,e){return a.jsx(En,{...t,children:t.label},`${t.value}-${e}`)}function WBe(t){return t.setDialogsClose}function YBe(t){return t.setPopoverClose}function KBe(t){return t.setSnackbarClose}function QBe(t){return t.setMenuClose}function ZBe(t){return t.setDrawerClose}function XBe(t){return t.confirmationSimpleDialogState}function JBe(t){return t.confirmationDialogState}function eze(t){return t.popoverState}function tze(t){return t.snackbarState}function rze(t){return t.menuState}function nze(t){return t.drawerState}function sze(t){return t.dialogs}const ize=()=>{const t=he.c(30),e=Ye(),r=to(),n=Np();n?.services;let s;t[0]!==n?.services?(s=n?.services??[],t[0]=n?.services,t[1]=s):s=t[1];const i=s;let o;t[2]!==n?.info?.version?(o=()=>n?.info?.version??"-",t[2]=n?.info?.version,t[3]=o):o=t[3],n?.info?.version;let l;t[4]!==o?(l=o(),t[4]=o,t[5]=l):l=t[5];const c=l;n?.info?.hostname;const u=n?.info?.hostname??"-";let d;t[6]!==i?(d=rBe({services:i}),t[6]=i,t[7]=d):d=t[7];const f=d;let p;t[8]!==f?(p=kae(f),t[8]=f,t[9]=p):p=t[9];const m=p;let h;if(t[10]!==r.pathname){e:{const A=r.pathname.split("/");if(A.length>2){h=A.slice(0,3).join("/");break e}h=r.pathname}t[10]=r.pathname,t[11]=h}else h=t[11];const _=h;let g;t[12]===Symbol.for("react.memo_cache_sentinel")?(g={pb:1},t[12]=g):g=t[12];let y;t[13]!==e?(y=e.formatMessage({id:"menu.info.version"}),t[13]=e,t[14]=y):y=t[14];let b;t[15]!==c?(b=a.jsx("strong",{children:c}),t[15]=c,t[16]=b):b=t[16];let x;t[17]!==y||t[18]!==b?(x=a.jsxs(_e,{type:"caption",children:[y,": ",b]}),t[17]=y,t[18]=b,t[19]=x):x=t[19];let w;t[20]!==u||t[21]!==e?(w=u&&a.jsxs(_e,{type:"caption",children:[e.formatMessage({id:"menu.info.hostname"}),": ",a.jsx("strong",{children:u})]}),t[20]=u,t[21]=e,t[22]=w):w=t[22];let C;t[23]!==w||t[24]!==x?(C=a.jsx(te,{sx:g,direction:"row",justify:"space-between",align:"center",children:a.jsxs(te,{direction:"column",spacing:0,children:[x,w]})}),t[23]=w,t[24]=x,t[25]=C):C=t[25];let k;return t[26]!==m||t[27]!==_||t[28]!==C?(k=a.jsx(XFe,{items:m,activeValue:_,footerComponent:C}),t[26]=m,t[27]=_,t[28]=C,t[29]=k):k=t[29],k};var oze=Object.create,Eae=Object.defineProperty,aze=Object.getOwnPropertyDescriptor,lze=Object.getOwnPropertyNames,cze=Object.getPrototypeOf,uze=Object.prototype.hasOwnProperty,dze=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),fze=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of lze(e))!uze.call(t,s)&&s!==r&&Eae(t,s,{get:()=>e[s],enumerable:!(n=aze(e,s))||n.enumerable});return t},pze=(t,e,r)=>(r=t!=null?oze(cze(t)):{},fze(!t||!t.__esModule?Eae(r,"default",{value:t,enumerable:!0}):r,t)),mze=dze((t,e)=>{(function(r,n){typeof t=="object"&&typeof e<"u"?n(t):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.fastUniqueNumbers={}))})(t,function(r){var n=function(m){return function(h){var _=m(h);return h.add(_),_}},s=function(m){return function(h,_){return m.set(h,_),_}},i=Number.MAX_SAFE_INTEGER===void 0?9007199254740991:Number.MAX_SAFE_INTEGER,o=536870912,l=o*2,c=function(m,h){return function(_){var g=h.get(_),y=g===void 0?_.size:g<l?g+1:0;if(!_.has(y))return m(_,y);if(_.size<o){for(;_.has(y);)y=Math.floor(Math.random()*l);return m(_,y)}if(_.size>i)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;_.has(y);)y=Math.floor(Math.random()*i);return m(_,y)}},u=new WeakMap,d=s(u),f=c(d,u),p=n(f);r.addUniqueNumber=p,r.generateUniqueNumber=f})});pze(mze());var Ed=(typeof window>"u"?"undefined":typeof window)=="object",jc={setTimeout:Ed?setTimeout.bind(window):setTimeout,clearTimeout:Ed?clearTimeout.bind(window):clearTimeout,setInterval:Ed?setInterval.bind(window):setInterval,clearInterval:Ed?clearInterval.bind(window):clearInterval};function hze(t){jc.setTimeout=t.setTimeout,jc.clearTimeout=t.clearTimeout,jc.setInterval=t.setInterval,jc.clearInterval=t.clearInterval}var zg={},gze=class{name;closed=!1;mc=new MessageChannel;constructor(e){this.name=e,zg[e]=zg[e]||[],zg[e].push(this),this.mc.port1.start(),this.mc.port2.start(),this.onStorage=this.onStorage.bind(this),window.addEventListener("storage",this.onStorage)}onStorage(e){if(e.storageArea!==window.localStorage||e.key.substring(0,this.name.length)!==this.name||e.newValue===null)return;let r=JSON.parse(e.newValue);this.mc.port2.postMessage(r)}postMessage(e){if(this.closed)throw new Error("InvalidStateError");let r=JSON.stringify(e),n=`${this.name}:${String(Date.now())}${String(Math.random())}`;window.localStorage.setItem(n,r),jc.setTimeout(()=>{window.localStorage.removeItem(n)},500),zg[this.name].forEach(s=>{s!==this&&s.mc.port2.postMessage(JSON.parse(r))})}close(){if(this.closed)return;this.closed=!0,this.mc.port1.close(),this.mc.port2.close(),window.removeEventListener("storage",this.onStorage);let e=zg[this.name].indexOf(this);zg[this.name].splice(e,1)}get onmessage(){return this.mc.port1.onmessage}set onmessage(e){this.mc.port1.onmessage=e}get onmessageerror(){return this.mc.port1.onmessageerror}set onmessageerror(e){this.mc.port1.onmessageerror=e}addEventListener(e,r){return this.mc.port1.addEventListener(e,r)}removeEventListener(e,r){return this.mc.port1.removeEventListener(e,r)}dispatchEvent(e){return this.mc.port1.dispatchEvent(e)}},_ze=typeof window>"u"?void 0:typeof window.BroadcastChannel=="function"?window.BroadcastChannel:gze;function vze(t=0){return new Promise(e=>jc.setTimeout(e,t))}function Rae(){return Math.random().toString(36).substring(2)}var yze=class{options;channel;token=Rae();isLeader=!1;isDead=!1;isApplying=!1;reApply=!1;intervals=[];listeners=[];deferred;constructor(e,r){this.channel=e,this.options=r,this.apply=this.apply.bind(this),this.awaitLeadership=this.awaitLeadership.bind(this),this.sendAction=this.sendAction.bind(this)}async apply(){if(this.isLeader||this.isDead)return!1;if(this.isApplying)return this.reApply=!0,!1;this.isApplying=!0;let e=!1,r=n=>{let{token:s,action:i}=n.data;s!==this.token&&(i===0&&s>this.token&&(e=!0),i===1&&(e=!0))};this.channel.addEventListener("message",r);try{return this.sendAction(0),await vze(this.options.responseTime),this.channel.removeEventListener("message",r),this.isApplying=!1,e?this.reApply?this.apply():!1:(this.assumeLead(),!0)}catch{return!1}}awaitLeadership(){if(this.isLeader)return Promise.resolve();let e=!1,r=null;return new Promise(n=>{let s=()=>{if(e)return;e=!0;try{jc.clearInterval(r)}catch{}let o=this.intervals.indexOf(r);o>=0&&this.intervals.splice(o,1),this.channel.removeEventListener("message",i),n()};r=jc.setInterval(()=>{this.apply().then(()=>{this.isLeader&&s()})},this.options.fallbackInterval),this.intervals.push(r);let i=o=>{let{action:l}=o.data;l===2&&this.apply().then(()=>{this.isLeader&&s()})};this.channel.addEventListener("message",i)})}sendAction(e){this.channel.postMessage({action:e,token:this.token})}assumeLead(){this.isLeader=!0;let e=r=>{let{action:n}=r.data;n===0&&this.sendAction(1)};return this.channel.addEventListener("message",e),this.listeners.push(e),this.sendAction(1)}waitForLeadership(){return this.deferred?this.deferred:(this.deferred=this.awaitLeadership(),this.deferred)}close(){if(!this.isDead){this.isDead=!0,this.isLeader=!1,this.sendAction(2);try{this.listeners.forEach(e=>this.channel.removeEventListener("message",e)),this.intervals.forEach(e=>jc.clearInterval(e))}catch{}}}},bze=class{channel;options;elector;token=Rae();registry=new Map;allIdle=!1;isLastActive=!1;constructor(e){let{channelName:r}=e;if(this.options=e,this.channel=new _ze(r),this.registry.set(this.token,1),e.leaderElection){let n={fallbackInterval:2e3,responseTime:100};this.elector=new yze(this.channel,n),this.elector.waitForLeadership()}this.channel.addEventListener("message",n=>{let{action:s,token:i,data:o}=n.data;switch(s){case 3:this.registry.set(i,2);break;case 4:this.registry.delete(i);break;case 5:this.idle(i);break;case 6:this.active(i);break;case 7:this.prompt(i);break;case 8:this.start(i);break;case 9:this.reset(i);break;case 10:this.activate(i);break;case 11:this.pause(i);break;case 12:this.resume(i);break;case 13:this.options.onMessage(o);break}}),this.send(3)}get isLeader(){if(!this.elector)throw new Error('❌ Leader election is not enabled. To Enable it set the "leaderElection" property to true.');return this.elector.isLeader}prompt(e=this.token){this.registry.set(e,0);let r=[...this.registry.values()].every(n=>n===0);e===this.token&&this.send(7),r&&this.options.onPrompt()}idle(e=this.token){this.registry.set(e,2);let r=[...this.registry.values()].every(n=>n===2);e===this.token&&this.send(5),!this.allIdle&&r&&(this.allIdle=!0,this.options.onIdle())}active(e=this.token){this.allIdle=!1,this.registry.set(e,1);let r=[...this.registry.values()].some(n=>n===1);e===this.token&&this.send(6),r&&this.options.onActive(),this.isLastActive=e===this.token}start(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(8):this.options.start(!0),this.isLastActive=e===this.token}reset(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(9):this.options.reset(!0),this.isLastActive=e===this.token}activate(e=this.token){this.allIdle=!1,this.registry.set(e,1),e===this.token?this.send(10):this.options.activate(!0),this.isLastActive=e===this.token}pause(e=this.token){e===this.token?this.send(11):this.options.pause(!0)}resume(e=this.token){e===this.token?this.send(12):this.options.resume(!0)}message(e){try{this.channel.postMessage({action:13,token:this.token,data:e})}catch{}}send(e){try{this.channel.postMessage({action:e,token:this.token})}catch{}}close(){this.options.leaderElection&&this.elector.close(),this.send(4),this.channel.close()}},xze=Ed?document:null,Sze=["mousemove","keydown","wheel","DOMMouseScroll","mousewheel","mousedown","touchstart","touchmove","MSPointerDown","MSPointerMove","visibilitychange","focus"];function wze(t,e){let r;function n(...s){r&&clearTimeout(r),r=setTimeout(()=>{t(...s),r=null},e)}return n.cancel=function(){clearTimeout(r)},n}function JE(t,e){let r=0;return function(...n){let s=new Date().getTime();if(!(s-r<e))return r=s,t(...n)}}var Di=()=>Date.now(),qg=2147483647;function Cze({timeout:t=1e3*60*20,promptTimeout:e=0,promptBeforeIdle:r=0,element:n=xze,events:s=Sze,timers:i=void 0,immediateEvents:o=[],onPresenceChange:l=()=>{},onPrompt:c=()=>{},onIdle:u=()=>{},onActive:d=()=>{},onAction:f=()=>{},onMessage:p=()=>{},debounce:m=0,throttle:h=0,eventsThrottle:_=200,startOnMount:g=!0,startManually:y=!1,stopOnIdle:b=!1,crossTab:x=!1,name:w="idle-timer",syncTimers:C=0,leaderElection:k=!1,disabled:A=!1}={}){let P=I.useRef(Di()),T=I.useRef(Di()),j=I.useRef(null),R=I.useRef(null),D=I.useRef(0),O=I.useRef(0),N=I.useRef(0),F=I.useRef(0),U=I.useRef(!1),z=I.useRef(!1),H=I.useRef(!1),W=I.useRef(!0),K=I.useRef(!1),q=I.useRef(null),X=I.useRef(null),Q=I.useRef(t),Y=I.useRef(0);I.useEffect(()=>{if(e&&console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."),r&&e)throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");if(t>=qg)throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${qg}.`);if(e>=qg)throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${qg}.`);if(r>=qg)throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${qg}.`);if(r>=t)throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${t}.`);if(r?(Q.current=t-r,Y.current=r):(Q.current=t,Y.current=e),!W.current){if(y||A)return;U.current&&(me.current(null,_r),X.current&&X.current.active()),Ve()}},[t,e,r,y,A]);let Z=I.useRef(b);I.useEffect(()=>{Z.current=b},[b]);let re=I.useRef(o),fe=I.useRef(n),de=I.useRef([...new Set([...s,...o]).values()]),se=I.useRef(A);I.useEffect(()=>{se.current=A,!W.current&&(A?ft():y||Ve())},[A]);let le=I.useRef(l);I.useEffect(()=>{le.current=l},[l]);let ee=I.useRef(c);I.useEffect(()=>{ee.current=c},[c]);let J=I.useRef(u);I.useEffect(()=>{J.current=u},[u]);let me=I.useRef(d);I.useEffect(()=>{me.current=d},[d]);let pe=I.useRef(f);I.useEffect(()=>{pe.current=f},[f]);let Se=I.useRef(p);I.useEffect(()=>{Se.current=p},[p]);let ve=I.useMemo(()=>{let st=(wt,Pe)=>pe.current(wt,Pe);return m>0?wze(st,m):h>0?JE(st,h):st},[h,m]),xe=I.useRef();I.useEffect(()=>{x&&C&&(xe.current=JE(()=>{X.current.active()},C))},[x,C]);let qe=()=>{q.current!==null&&(jc.clearTimeout(q.current),q.current=null)},Le=(st,wt=!0)=>{qe(),q.current=jc.setTimeout(nt,st||Q.current),wt&&(R.current=Di())},Te=st=>{!z.current&&!U.current&&(ee.current(st,_r),le.current({type:"active",prompted:!0},_r)),F.current=0,N.current=Di(),z.current=!0,Le(Y.current,!1)},je=()=>{qe(),U.current||(J.current(null,_r),le.current({type:"idle"},_r)),U.current=!0,j.current=Di(),Z.current?$e():z.current&&(N.current=0,z.current=!1)},Ge=st=>{qe(),(U.current||z.current)&&(me.current(st,_r),le.current({type:"active",prompted:!1},_r)),z.current=!1,N.current=0,U.current=!1,D.current+=Di()-j.current,O.current+=Di()-j.current,Me(),Le()},nt=st=>{if(!U.current){ve.cancel&&ve.cancel();let wt=Di()-R.current;if(!(Q.current+Y.current<wt)&&Y.current>0&&!z.current){X.current?X.current.prompt():Te(st);return}X.current?X.current.idle():je();return}X.current?X.current.active():Ge(st)},Re=st=>{if(!g&&!R.current&&(R.current=Di(),me.current(null,_r)),ve(st,_r),z.current)return;if(qe(),!U.current&&re.current.includes(st.type)){nt(st);return}let wt=Di()-R.current;if(U.current&&!b||!U.current&&wt>=Q.current){nt(st);return}H.current=!1,F.current=0,N.current=0,Le(),x&&C&&xe.current()},we=I.useRef(Re);I.useEffect(()=>{let st=K.current;st&&$e(),_>0?we.current=JE(Re,_):we.current=Re,st&&Me()},[_,h,m,pe,x,C]);let Me=()=>{Ed&&fe.current&&(K.current||(de.current.forEach(st=>{fe.current.addEventListener(st,we.current,{capture:!0,passive:!0})}),K.current=!0))},$e=(st=!1)=>{Ed&&fe.current&&(K.current||st)&&(de.current.forEach(wt=>{fe.current.removeEventListener(wt,we.current,{capture:!0})}),K.current=!1)},Ve=I.useCallback(st=>se.current?!1:(qe(),Me(),U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,X.current&&!st&&X.current.start(),Le(),!0),[q,U,se,Q,X]),Ne=I.useCallback(st=>se.current?!1:(qe(),Me(),T.current=Di(),D.current+=Di()-j.current,O.current+=Di()-j.current,D.current=0,U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,X.current&&!st&&X.current.reset(),y||Le(),!0),[q,U,Q,y,se,X]),Oe=I.useCallback(st=>se.current?!1:(qe(),Me(),(U.current||z.current)&&Ge(),U.current=!1,z.current=!1,H.current=!1,F.current=0,N.current=0,T.current=Di(),X.current&&!st&&X.current.activate(),Le(),!0),[q,U,z,se,Q,X]),ft=I.useCallback((st=!1)=>se.current||H.current?!1:(F.current=ar(),H.current=!0,$e(),qe(),X.current&&!st&&X.current.pause(),!0),[q,se,X]),Ct=I.useCallback((st=!1)=>se.current||!H.current?!1:(H.current=!1,z.current||Me(),U.current||Le(F.current),N.current&&(N.current=Di()),X.current&&!st&&X.current.resume(),!0),[q,Q,se,F,X]),Et=I.useCallback((st,wt)=>(X.current?(wt&&Se.current(st,_r),X.current.message(st)):wt&&Se.current(st,_r),!0),[p]),at=I.useCallback(()=>U.current,[U]),$t=I.useCallback(()=>z.current,[z]),Ee=I.useCallback(()=>X.current?X.current.isLeader:null,[X]),Be=I.useCallback(()=>X.current?X.current.isLastActive:null,[X]),qt=I.useCallback(()=>X.current?X.current.token:null,[X]),ar=I.useCallback(()=>{if(H.current)return F.current;let st=F.current?F.current:Y.current+Q.current,wt=R.current?Di()-R.current:0,Pe=Math.floor(st-wt);return Pe<0?0:Math.abs(Pe)},[Q,Y,z,F,R]),hr=I.useCallback(()=>Math.round(Di()-T.current),[T]),ir=I.useCallback(()=>Math.round(Di()-P.current),[P]),cr=I.useCallback(()=>j.current?new Date(j.current):null,[j]),kr=I.useCallback(()=>R.current?new Date(R.current):null,[R]),Rr=I.useCallback(()=>U.current?Math.round(Di()-j.current+D.current):Math.round(D.current),[j,D]),Ut=I.useCallback(()=>U.current?Math.round(Di()-j.current+O.current):Math.round(O.current),[j,O]),fn=I.useCallback(()=>{let st=Math.round(hr()-Rr());return st>=0?st:0},[j,D]),Zt=I.useCallback(()=>{let st=Math.round(ir()-Ut());return st>=0?st:0},[j,D]);I.useEffect(()=>{if(m>0&&h>0)throw new Error("❌ onAction can either be throttled or debounced, not both.");i&&hze(i);let st=()=>{X.current&&X.current.close(),ve.cancel&&ve.cancel(),qe(),$e(!0)};return Ed&&window.addEventListener("beforeunload",st),()=>{Ed&&window.removeEventListener("beforeunload",st),X.current&&X.current.close(),ve.cancel&&ve.cancel(),qe(),$e(!0)}},[]),I.useEffect(()=>{X.current&&X.current.close(),x?X.current=new bze({channelName:w,leaderElection:k,onPrompt:()=>{Te()},onIdle:()=>{je()},onActive:()=>{Ge()},onMessage:st=>{Se.current(st,_r)},start:Ve,reset:Ne,activate:Oe,pause:ft,resume:Ct}):X.current=null},[x,w,k,ee,J,me,Se,Ve,Ne,ft,Ct]),I.useEffect(()=>{W.current||(qe(),$e(!0)),!(y||A)&&(g?Ve():Me())},[y,g,A,W]),I.useEffect(()=>{if(!W.current){let st=[...new Set([...s,...o]).values()];if($e(),de.current=st,fe.current=n,re.current=o,y||A)return;g?Ve():Me()}},[n,JSON.stringify(s),JSON.stringify(o),W,A,y,g]),I.useEffect(()=>{W.current&&(W.current=!1)},[W]);let _r={message:Et,start:Ve,reset:Ne,activate:Oe,pause:ft,resume:Ct,isIdle:at,isPrompted:$t,isLeader:Ee,isLastActiveTab:Be,getTabId:qt,getRemainingTime:ar,getElapsedTime:hr,getTotalElapsedTime:ir,getLastIdleTime:cr,getLastActiveTime:kr,getIdleTime:Rr,getTotalIdleTime:Ut,getActiveTime:fn,getTotalActiveTime:Zt,setOnPresenceChange:st=>{l=st,le.current=st},setOnPrompt:st=>{c=st,ee.current=st},setOnIdle:st=>{u=st,J.current=st},setOnActive:st=>{d=st,me.current=st},setOnAction:st=>{f=st,pe.current=st},setOnMessage:st=>{p=st,Se.current=st}};return _r}var Aze=I.createContext(null);Aze.Consumer;const kze=()=>{const t=window.location.pathname;let e=$.urls.logout;return[$.urls.logout,$.urls.login].includes(t)||(e=`${e}?returnUrl=${t}`),e};function Mze(t){const e=he.c(29),{timeout:r}=t,n=Ye(),s=r*1e3;let i;e:{if(s&&s<$.idleTime.promptTimeout_s){i=s-3e4;break e}i=$.idleTime.promptTimeout_s*1e3}const o=i,[l,c]=I.useState(s),[u,d]=I.useState(!1),f=ys(),{submit:p}=gr();let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=(N,F)=>{F&&c(F.getRemainingTime()),d(!0)},e[0]=m):m=e[0];const h=m;let _;e[1]===Symbol.for("react.memo_cache_sentinel")?(_=()=>{d(!1)},e[1]=_):_=e[1];const g=_;let y;e[2]!==f?(y=()=>{const N=kze();f(N,{replace:!0})},e[2]=f,e[3]=y):y=e[3];const b=y;let x;e[4]!==b||e[5]!==o||e[6]!==s?(x={timeout:s,crossTab:!0,leaderElection:!0,syncTimers:200,promptBeforeIdle:o,onPrompt:h,onActive:g,onIdle:b},e[4]=b,e[5]=o,e[6]=s,e[7]=x):x=e[7];const w=Cze(x);let C;e[8]!==w?(C=()=>{w.activate()},e[8]=w,e[9]=C):C=e[9];const k=C;let A;e[10]!==p?(A=()=>{p(null,{method:"POST",encType:"multipart/form-data",action:"refresh-token"})},e[10]=p,e[11]=A):A=e[11];const P=A;let T,j;e[12]!==o||e[13]!==w?(T=()=>{const N=setInterval(()=>{const F=w.getRemainingTime();c(F),d(U=>U&&F>o?!1:U)},300);return()=>{clearInterval(N)}},j=[o,w],e[12]=o,e[13]=w,e[14]=T,e[15]=j):(T=e[14],j=e[15]),I.useEffect(T,j);let R;e[16]!==n?(R=n.formatMessage({id:"idle-state.modal.title"}),e[16]=n,e[17]=R):R=e[17];let D;e[18]!==k||e[19]!==P||e[20]!==o||e[21]!==n||e[22]!==u||e[23]!==l?(D=u&&a.jsx(_s,{children:a.jsxs(te,{align:"center",spacing:2,children:[a.jsx(_e,{fontWeight:"600",fontSize:"medium",sx:{alignSelf:"flex-start"},children:n.formatMessage({id:"idle-state.modal.message"})}),a.jsx(Nc,{type:"circular",variant:"determinate",value:Math.ceil(l/o*100),label:`${Math.ceil(l/1e3)}s`,labelVariant:"h5",thickness:4,size:140}),a.jsx(Ze,{text:n.formatMessage({id:"idle-state.modal.continue"}),onClick:()=>{k(),P()}})]})}),e[18]=k,e[19]=P,e[20]=o,e[21]=n,e[22]=u,e[23]=l,e[24]=D):D=e[24];let O;return e[25]!==u||e[26]!==R||e[27]!==D?(O=a.jsx(jae,{id:"idleTimerDialog",open:u,disableAutoFocus:!0,title:R,children:D}),e[25]=u,e[26]=R,e[27]=D,e[28]=O):O=e[28],O}const Pze=()=>{const t=he.c(7);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={useSearchParams:!1},t[0]=e):e=t[0];const r=Gr(e),n=As(),s=Nd(n.breakpoints.down($.appBarMobileBreakpoint))?65:0;let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=a.jsx(rN,{}),t[1]=i):i=t[1];let o;t[2]!==s?(o=c=>a.jsxs("div",{style:{minWidth:"345px",marginTop:s},children:[a.jsx(Pae,{info:c?.info||{hostname:"-",product_name:"-",version:"-"},variant:"appShellLayout",profileCard:!0}),a.jsx(ize,{}),a.jsx(Tae,{}),a.jsx(Bd,{}),!!c?.frontendConfig.ui_inactivity_s&&a.jsx(Mze,{timeout:c.frontendConfig.ui_inactivity_s})]}),t[2]=s,t[3]=o):o=t[3];let l;return t[4]!==r.bootstrap||t[5]!==o?(l=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:r.bootstrap,errorElement:i,children:o})}),t[4]=r.bootstrap,t[5]=o,t[6]=l):l=t[6],l},zW=t=>{const e=he.c(6),{profileCard:r}=t,n=zn();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=a.jsx(rN,{}),e[0]=s):s=e[0];let i;e[1]!==r?(i=l=>a.jsxs(a.Fragment,{children:[a.jsx(Tae,{}),a.jsx(Pae,{info:l,variant:"simpleLayout",profileCard:r}),a.jsx(G0,{appBar:!0,fullWidth:!0,fullHeight:!0,children:a.jsx(zA,{transparent:!0,fullHeight:!0,children:a.jsx(Bd,{})})})]}),e[1]=r,e[2]=i):i=e[2];let o;return e[3]!==n.info||e[4]!==i?(o=a.jsx(I.Suspense,{children:a.jsx(Qt,{resolve:n.info,errorElement:s,children:i})}),e[3]=n.info,e[4]=i,e[5]=o):o=e[5],o};async function lN(){return De({options:{url:"/frontend/config",method:"GET"}})}async function ma(){const{services:t}=await lN();return t}async function Iae({nf:t}){const e=`${$.apis.cluster.status(t)}`;return De({options:{url:e,method:"GET"}})}async function jze({node:t,nf:e}){const r=`${$.apis.cluster.join(e)}`;return De({options:{url:r,method:"POST",data:JSON.stringify({node:t})}})}async function Tze({nf:t,force:e}){const r=`${$.apis.cluster.leave(t)}?force=${e}`;return De({options:{url:r,method:"POST"}})}async function Eze({nf:t}){const e=await ma();return Ds({services:e,name:t})?Iae({nf:t}):null}async function Rze(){const t=await ma(),e=yie(t).map(r=>r.name);return $.monitoring.clusters.filter(r=>e.includes(r))}const Q6=Pr();function Ize(){return window.location.pathname.endsWith("/configuration")?rt(window.location.pathname):rt(`${window.location.pathname}${window.location.search}`)}async function Dze({request:t}){const{siteNodeAddress:e}=await t.json();return Ji.setSiteNode(e),Ize()}function $ze(t){return async({request:e})=>{const r=await e.json(),n=await jze({nf:t,node:r.node});if(xt(n))Ar(n.error?.detail||Q6.formatMessage({id:"cluster.dialog.join_ko"}));else{if(t===ue.PLS)throw Ji.deleteSiteNode(),Gb();Nt(Q6.formatMessage({id:"cluster.dialog.join_ok"}))}return Ft(n)}}function Oze(t){return async({request:e})=>{const r=await e.json(),n=await Tze({nf:t,force:r.force});return xt(n)||(t===ue.PLS&&Ji.deleteSiteNode(),Nt(Q6.formatMessage({id:"cluster.dialog.leave_ok"}))),Ft(n)}}const Lze=[{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_total_count",query:"count(license_status) or vector(0)"},{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_valid_count",query:"count_values('license_status', license_status==1) or vector(0)"},{source:ue.LICENSED,group:"platform",sub_group:"licenses",field_name:"licenses_expiring_count",query:"count(rr:licensed_license_remaining_days>0 and rr:licensed_license_remaining_days<7) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"total_transmit_bytes",query:"sum(node_network_transmit_bytes_total{device=~'eth[0-9]+'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"total_receive_bytes",query:"sum(node_network_receive_bytes_total{device=~'eth[0-9]+'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"transmit_rate_bps",query:"sum(irate(node_network_transmit_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"receive_rate_bps",query:"sum(irate(node_network_receive_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"ts_transmit_rate_bps",query_range:"sum(irate(node_network_transmit_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network",field_name:"ts_receive_rate_bps",query_range:"sum(irate(node_network_receive_bytes_total{device=~'eth[0-9]+'}[5m])*8)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network_interfaces",field_name:"interfaces_active_count",query:"count(node_network_up{device=~'eth[0-9]+'} == 1) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"network_interfaces",field_name:"interfaces_total_count",query:"count(node_network_up{device=~'eth[0-9]+'}) or vector(0)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"cpu_count",query:"count(count(node_cpu_seconds_total) by (cpu))"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"cpu_busy_perc",query:"(((count(count(node_cpu_seconds_total) by (cpu))) - avg(sum by (mode)(irate(node_cpu_seconds_total{mode='idle'}[5m])))) * 100) / count(count(node_cpu_seconds_total) by (cpu)) > 0"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"cpu",field_name:"ts_cpu_busy_perc",query_range:"(((count(count(node_cpu_seconds_total) by (cpu))) - avg(sum by (mode)(irate(node_cpu_seconds_total{mode='idle'}[5m])))) * 100) / count(count(node_cpu_seconds_total) by (cpu)) > 0"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_total_bytes",query:"node_memory_MemTotal_bytes"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_available_bytes",query:"node_memory_MemAvailable_bytes"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"memory_used_perc",query:"100 - ((node_memory_MemAvailable_bytes * 100) / node_memory_MemTotal_bytes)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"memory",field_name:"ts_memory_used_perc",query_range:"100 - ((node_memory_MemAvailable_bytes * 100) / node_memory_MemTotal_bytes)"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_total_bytes",query:"node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'}"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_available_bytes",query:"node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'}"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"disk_used_perc",query:"100 - ((node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'} * 100) / node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"disk",field_name:"ts_disk_used_perc",query_range:"100 - ((node_filesystem_avail_bytes{mountpoint='/',fstype!='rootfs'} * 100) / node_filesystem_size_bytes{mountpoint='/',fstype!='rootfs'})"},{source:ue.NODE_EXPORTER,group:"platform",sub_group:"uptime",field_name:"uptime_seconds",query:"node_time_seconds - node_boot_time_seconds"},{source:ue.PROMETHEUS,group:"platform",sub_group:"alerts",field_name:"alerts_count",query:"sum(ALERTS)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_rules",field_name:"eir_rules_count",query:"sum(eir_rules_status) or vector(0)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_cluster_nodes",field_name:"active_nodes_count",query:"sum(nf_data_layer_cluster_nodes_status{target_type='eir'}) or vector(0)"},{source:ue.EIR,group:"control_plane",sub_group:"eir_cluster_nodes",field_name:"total_nodes_count",query:"count(nf_data_layer_cluster_nodes_status{target_type='eir'}) or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_sims",field_name:"provisioned_sims_count",query:"nf_data_layer_table_row_count{table='supi'} or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_cluster_nodes",field_name:"active_nodes_count",query:"sum(nf_data_layer_cluster_nodes_status{target_type='udr'}) or vector(0)"},{source:ue.UDR,group:"control_plane",sub_group:"udr_cluster_nodes",field_name:"total_nodes_count",query:"count(nf_data_layer_cluster_nodes_status{target_type='udr'}) or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_ue",field_name:"active_ue_count",query:"sum(amf_ran_node_ue) or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_ue",field_name:"registered_ue_count",query:"amf_ue_registered or vector(0)"},{source:ue.AMF,group:"control_plane",sub_group:"amf_active_radios",field_name:"active_radios_count",query:"sum(amf_ran_node_status) or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_ue",field_name:"active_ue_count",query:"mme_s1_enb_active_ue or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_ue",field_name:"registered_ue_count",query:"mme_ue_registered or vector(0)"},{source:ue.MME,group:"control_plane",sub_group:"mme_active_radios",field_name:"active_radios_count",query:"mme_s1_enb or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_users",field_name:"users_count",query:"smf_supi or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_users",field_name:"sessions_count",query:"sum(smf_sessions) or vector(0)"},{source:ue.SMF,group:"control_plane",sub_group:"smf_connected_peers",field_name:"connected_peers_count",query:"sum(pfcp_node_status{target_type='smf'}) or vector(0)"},{source:ue.PCF,group:"control_plane",sub_group:"pcf_sessions",field_name:"n7_sessions_count",query:"pcf_n7_sessions or vector(0)"},{source:ue.PCF,group:"control_plane",sub_group:"pcf_sessions",field_name:"n5_sessions_count",query:"pcf_n5_sessions or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"total_load_uplink_bytes",query:"upf_forw_bytes{out_tag='core',in_tag='access'} or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"total_load_downlink_bytes",query:"upf_forw_bytes{out_tag='access',in_tag='core'} or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"throughput_uplink_bps",query:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='core',in_tag='access'}[1m]))*8 or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"throughput_downlink_bps",query:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='access',in_tag='core'}[1m]))*8 or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"ts_throughput_uplink_bps",query_range:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='core',in_tag='access',apn_dnn=~'.+'}[1m]))*8"},{source:ue.UPF,group:"user_plane",sub_group:"upf_throughput",field_name:"ts_throughput_downlink_bps",query_range:"sum by (out_tag)(rate(upf_forw_bytes{out_tag='access',in_tag='core',apn_dnn=~'.+'}[1m]))*8"},{source:ue.UPF,group:"user_plane",sub_group:"upf_sessions",field_name:"active_sessions",query:"upf_sessions or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_ip",field_name:"ip_total_count",query:"upf_pool_address_total_count or vector(0)"},{source:ue.UPF,group:"user_plane",sub_group:"upf_ip",field_name:"ip_allocated_count",query:"upf_pool_address_total_allocated or vector(0)"}];var eR,qW;function Dae(){if(qW)return eR;qW=1;var t=Z$(),e=z3();function r(n,s,i){(i!==void 0&&!e(n[s],i)||i===void 0&&!(s in n))&&t(n,s,i)}return eR=r,eR}var eb={exports:{}};eb.exports;var VW;function $ae(){return VW||(VW=1,(function(t,e){var r=Ghe(),n=e&&!e.nodeType&&e,s=n&&!0&&t&&!t.nodeType&&t,i=s&&s.exports===n,o=i?r.Buffer:void 0,l=o?o.allocUnsafe:void 0;function c(u,d){if(d)return u.slice();var f=u.length,p=l?l(f):new u.constructor(f);return u.copy(p),p}t.exports=c})(eb,eb.exports)),eb.exports}var tR,HW;function cN(){if(HW)return tR;HW=1;var t=Whe();function e(r){var n=new r.constructor(r.byteLength);return new t(n).set(new t(r)),n}return tR=e,tR}var rR,GW;function Oae(){if(GW)return rR;GW=1;var t=cN();function e(r,n){var s=n?t(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.length)}return rR=e,rR}var nR,WW;function uN(){if(WW)return nR;WW=1;function t(e,r){var n=-1,s=e.length;for(r||(r=Array(s));++n<s;)r[n]=e[n];return r}return nR=t,nR}var sR,YW;function Nze(){if(YW)return sR;YW=1;var t=Qd(),e=Object.create,r=(function(){function n(){}return function(s){if(!t(s))return{};if(e)return e(s);n.prototype=s;var i=new n;return n.prototype=void 0,i}})();return sR=r,sR}var iR,KW;function dN(){if(KW)return iR;KW=1;var t=Yhe(),e=t(Object.getPrototypeOf,Object);return iR=e,iR}var oR,QW;function Lae(){if(QW)return oR;QW=1;var t=Nze(),e=dN(),r=X$();function n(s){return typeof s.constructor=="function"&&!r(s)?t(e(s)):{}}return oR=n,oR}var aR,ZW;function fN(){if(ZW)return aR;ZW=1;var t=av(),e=lv();function r(n){return e(n)&&t(n)}return aR=r,aR}var lR,XW;function W0(){if(XW)return lR;XW=1;var t=J$(),e=dN(),r=lv(),n="[object Object]",s=Function.prototype,i=Object.prototype,o=s.toString,l=i.hasOwnProperty,c=o.call(Object);function u(d){if(!r(d)||t(d)!=n)return!1;var f=e(d);if(f===null)return!0;var p=l.call(f,"constructor")&&f.constructor;return typeof p=="function"&&p instanceof p&&o.call(p)==c}return lR=u,lR}var cR,JW;function Nae(){if(JW)return cR;JW=1;function t(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}return cR=t,cR}var uR,eY;function Fae(){if(eY)return uR;eY=1;var t=Z$(),e=z3(),r=Object.prototype,n=r.hasOwnProperty;function s(i,o,l){var c=i[o];(!(n.call(i,o)&&e(c,l))||l===void 0&&!(o in i))&&t(i,o,l)}return uR=s,uR}var dR,tY;function $v(){if(tY)return dR;tY=1;var t=Fae(),e=Z$();function r(n,s,i,o){var l=!i;i||(i={});for(var c=-1,u=s.length;++c<u;){var d=s[c],f=o?o(i[d],n[d],d,i,n):void 0;f===void 0&&(f=n[d]),l?e(i,d,f):t(i,d,f)}return i}return dR=r,dR}var fR,rY;function Fze(){if(rY)return fR;rY=1;function t(e){var r=[];if(e!=null)for(var n in Object(e))r.push(n);return r}return fR=t,fR}var pR,nY;function Uze(){if(nY)return pR;nY=1;var t=Qd(),e=X$(),r=Fze(),n=Object.prototype,s=n.hasOwnProperty;function i(o){if(!t(o))return r(o);var l=e(o),c=[];for(var u in o)u=="constructor"&&(l||!s.call(o,u))||c.push(u);return c}return pR=i,pR}var mR,sY;function Ov(){if(sY)return mR;sY=1;var t=Khe(),e=Uze(),r=av();function n(s){return r(s)?t(s,!0):e(s)}return mR=n,mR}var hR,iY;function Bze(){if(iY)return hR;iY=1;var t=$v(),e=Ov();function r(n){return t(n,e(n))}return hR=r,hR}var gR,oY;function zze(){if(oY)return gR;oY=1;var t=Dae(),e=$ae(),r=Oae(),n=uN(),s=Lae(),i=eO(),o=cv(),l=fN(),c=tO(),u=Qhe(),d=Qd(),f=W0(),p=cte(),m=Nae(),h=Bze();function _(g,y,b,x,w,C,k){var A=m(g,b),P=m(y,b),T=k.get(P);if(T){t(g,b,T);return}var j=C?C(A,P,b+"",g,y,k):void 0,R=j===void 0;if(R){var D=o(P),O=!D&&c(P),N=!D&&!O&&p(P);j=P,D||O||N?o(A)?j=A:l(A)?j=n(A):O?(R=!1,j=e(P,!0)):N?(R=!1,j=r(P,!0)):j=[]:f(P)||i(P)?(j=A,i(A)?j=h(A):(!d(A)||u(A))&&(j=s(P))):R=!1}R&&(k.set(P,j),w(j,P,x,C,k),k.delete(P)),t(g,b,j)}return gR=_,gR}var _R,aY;function pN(){if(aY)return _R;aY=1;var t=ute(),e=Dae(),r=Zhe(),n=zze(),s=Qd(),i=Ov(),o=Nae();function l(c,u,d,f,p){c!==u&&r(u,function(m,h){if(p||(p=new t),s(m))n(c,u,h,d,l,f,p);else{var _=f?f(o(c,h),m,h+"",c,u,p):void 0;_===void 0&&(_=m),e(c,h,_)}},i)}return _R=l,_R}var vR,lY;function Uae(){if(lY)return vR;lY=1;function t(e,r,n){switch(n.length){case 0:return e.call(r);case 1:return e.call(r,n[0]);case 2:return e.call(r,n[0],n[1]);case 3:return e.call(r,n[0],n[1],n[2])}return e.apply(r,n)}return vR=t,vR}var yR,cY;function Bae(){if(cY)return yR;cY=1;var t=Uae(),e=Math.max;function r(n,s,i){return s=e(s===void 0?n.length-1:s,0),function(){for(var o=arguments,l=-1,c=e(o.length-s,0),u=Array(c);++l<c;)u[l]=o[s+l];l=-1;for(var d=Array(s+1);++l<s;)d[l]=o[l];return d[s]=i(u),t(n,this,d)}}return yR=r,yR}var bR,uY;function qze(){if(uY)return bR;uY=1;function t(e){return function(){return e}}return bR=t,bR}var xR,dY;function Vze(){if(dY)return xR;dY=1;var t=qze(),e=Xhe(),r=q3(),n=e?function(s,i){return e(s,"toString",{configurable:!0,enumerable:!1,value:t(i),writable:!0})}:r;return xR=n,xR}var SR,fY;function Hze(){if(fY)return SR;fY=1;var t=800,e=16,r=Date.now;function n(s){var i=0,o=0;return function(){var l=r(),c=e-(l-o);if(o=l,c>0){if(++i>=t)return arguments[0]}else i=0;return s.apply(void 0,arguments)}}return SR=n,SR}var wR,pY;function zae(){if(pY)return wR;pY=1;var t=Vze(),e=Hze(),r=e(t);return wR=r,wR}var CR,mY;function Fh(){if(mY)return CR;mY=1;var t=q3(),e=Bae(),r=zae();function n(s,i){return r(e(s,i,t),s+"")}return CR=n,CR}var AR,hY;function mN(){if(hY)return AR;hY=1;var t=z3(),e=av(),r=Jhe(),n=Qd();function s(i,o,l){if(!n(l))return!1;var c=typeof o;return(c=="number"?e(l)&&r(o,l.length):c=="string"&&o in l)?t(l[o],i):!1}return AR=s,AR}var kR,gY;function qae(){if(gY)return kR;gY=1;var t=Fh(),e=mN();function r(n){return t(function(s,i){var o=-1,l=i.length,c=l>1?i[l-1]:void 0,u=l>2?i[2]:void 0;for(c=n.length>3&&typeof c=="function"?(l--,c):void 0,u&&e(i[0],i[1],u)&&(c=l<3?void 0:c,l=1),s=Object(s);++o<l;){var d=i[o];d&&n(s,d,o,c)}return s})}return kR=r,kR}var MR,_Y;function Gze(){if(_Y)return MR;_Y=1;var t=pN(),e=qae(),r=e(function(n,s,i){t(n,s,i)});return MR=r,MR}var Wze=Gze();const Yze=Pi(Wze),Z6={emergency:0,alert:1,critical:2,error:3,warning:4,notice:5,info:6,informational:6,debug:7};function Kze(t){return t.reduce((e,r)=>({...e,[r.labels.alertname]:e[r.labels.alertname]?{...e[r.labels.alertname],items:[...e[r.labels.alertname].items,r],counts:{...e[r.labels.alertname].counts,total:e[r.labels.alertname].counts.total+1,[r.labels.severity]:e[r.labels.alertname].counts[r.labels.severity]+1}}:{items:[r],counts:{total:1,emergency:0,alert:0,critical:0,error:0,warning:0,notice:0,informational:0,info:0,debug:0,[r.labels.severity]:1}}}),{})}var b_=(t=>(t.REGISTERED="REGISTERED",t.SUSPENDED="SUSPENDED",t.UNDISCOVERABLE="UNDISCOVERABLE",t))(b_||{});function Qze(t,e=0){try{switch(t.resultType){case"vector":return t.result[e]?.value[1];case"scalar":return t.result[e];case"string":return t.result[e];case"matrix":return t.result[e]?.values.map(([r,n])=>({timestamp:r,value:n}))}}catch(r){console.error("Cannot extract data from prometheus data",r,t.result);return}}async function Vae(){const t=$.apis.nrf.profiles.status;return De({options:{url:t,method:"GET"}})}async function Hae(){const t=$.apis.nrf.staticProfiles;return De({options:{url:t,method:"GET"}})}async function Zze(t){const e=$.apis.nrf.staticProfiles;return De({options:{url:e,method:"POST",data:JSON.stringify(t)}})}async function Xze(t){const e=`${$.apis.nrf.staticProfiles}/${t.nfInstanceId}`;return De({options:{url:e,method:"PUT",data:JSON.stringify(t)}})}async function Jze(t){const e=`${$.apis.nrf.staticProfiles}/${t}`;return De({options:{url:e,method:"DELETE"}})}function X6({group:t,sub_group:e,field_name:r,data:n}){return!t||!e||!n?null:r?{[t]:{[e]:{[r]:n}}}:{[t]:{[e]:n}}}function eqe(t){return Lze.filter(e=>t.includes(e.source)).map(e=>{const r="query_range"in e?`${$.apis.prometheus.query_range({query:e.query_range})}`:`${$.apis.prometheus.query(e.query)}`;return{...e,url:r}})}async function tqe(t){const e=await De({options:{url:t.url,method:"GET"}}),r=Qze(e.data);return X6({...t,data:r})}async function rqe(t){if(!t.includes(ue.NRF))return null;try{const e=await Vae();let r=0,n=0,s=0;return e.forEach(i=>{switch(i.nf_profile.nfStatus){case b_.REGISTERED:r++;break;case b_.SUSPENDED:n++;break;case b_.UNDISCOVERABLE:s++;break}}),X6({group:"control_plane",sub_group:"nrf_profiles",data:{registered_count:r,suspended_count:n,undiscoverable_count:s}})}catch(e){if(e.message!=="canceled")return X6({group:"control_plane",sub_group:"nrf_profiles",data:{registered_count:$.errorKey,suspended_count:$.errorKey,undiscoverable_count:$.errorKey}});throw e}}async function nqe(){const t=await ma(),e=yie(t).map(n=>n.name);return(await Promise.all([...eqe(e).map(async n=>tqe(n)),rqe(e)])).filter(n=>!!n).reduce((n,s)=>Yze(n,s),{})}async function Gae(){const t=$.apis.prometheusAlerts;return(await De({options:{url:t,method:"GET"}})).sort((r,n)=>Z6[r.labels.severity]<Z6[n.labels.severity]?-1:0)}async function Wae(){const[t,e]=await Promise.all([jie(),lN()]),{services:r}=e,n=Ds({services:r,name:ue.ALERTMANAGER});let s=null;if(n&&as(ie.monitoring))try{s=await Gae()}catch(i){console.error(i)}return{info:t,services:r,alerts:s,frontendConfig:e}}const Yae=t=>Object.entries(t).filter(([,e])=>e!=null).reduce((e,[r,n])=>(e[r]=n,e),{}),Kae=t=>!t||t&&Object.keys(t).length===0;async function sqe(t){const e=Object.entries(t);return Promise.all(e.map(([,r])=>r)).then(r=>e.reduce((n,[s],i)=>({...n,[s]:r[i]}),{}))}function hN(t){return!!new URL(t.url).searchParams.has("polling")}async function Wt({loaderArgs:t,deferred:e,data:r}){const{request:n}=t;if(hN(n)||!e)try{const i=await sqe(r);return i===null?{__polling_error:!1}:i}catch{return{__polling_error:!0}}if(e)return Foe(r)}function Na(){const t=he.c(13),[e,r]=hl();let n;e:{let h;t[0]!==e?(h=e.get($.searchParams.pageSize),t[0]=e,t[1]=h):h=t[1];const _=h;if(_&&parseInt(_)){n=parseInt(_);break e}n=$.pageSize}const s=n,i=$.pageSizeOptions,o=iqe;let l;t[2]!==s?(l=h=>{switch(o(h)){case 0:return h.next_token?s*2:s;case 1:return h.next_token?s*3:s*2;case 2:return s*3}},t[2]=s,t[3]=l):l=t[3];const c=l;let u;t[4]!==r?(u=h=>{r(_=>(_.delete($.searchParams.paginationToken),$.pageSizeOptions.includes(h)?_.set($.searchParams.pageSize,h.toString()):_.set($.searchParams.pageSize,$.pageSize.toString()),_),{replace:!0})},t[4]=r,t[5]=u):u=t[5];const d=u;let f;t[6]!==r?(f=h=>_=>{const g=o(h);e:switch(_){case 0:{r(y=>(h.prev_token&&y.set($.searchParams.paginationToken,h.prev_token),y),{replace:!0});break e}case 1:{g===0?r(y=>(h.next_token&&y.set($.searchParams.paginationToken,h.next_token),y),{replace:!0}):r(y=>(h.prev_token&&y.set($.searchParams.paginationToken,h.prev_token),y),{replace:!0});break e}case 2:r(y=>(h.next_token&&y.set($.searchParams.paginationToken,h.next_token),y),{replace:!0})}},t[6]=r,t[7]=f):f=t[7];const p=f;let m;return t[8]!==p||t[9]!==d||t[10]!==c||t[11]!==s?(m={pageSize:s,pageSizeOptions:i,changePageSize:d,changePage:p,getRowsCount:c,getPage:o},t[8]=p,t[9]=d,t[10]=c,t[11]=s,t[12]=m):m=t[12],m}function iqe(t){return t.next_token&&t.prev_token?1:t.next_token?0:t.prev_token?2:0}function Fa(t){const e=new URL(t.request.url),r=e.searchParams.get($.searchParams.pageSize),n=e.searchParams.get($.searchParams.paginationToken);if(!r||r&&!$.pageSizeOptions.includes(+r))throw e.searchParams.set($.searchParams.pageSize,$.pageSize.toString()),rt(e.toString());return{pageSize:r,paginationToken:n}}function Qae(){if(!!Ih())throw rt("/");return!0}function oqe(){if(!!!Ih())throw Gb();return!0}async function aqe({request:t}){const r=new URL(t.url).searchParams.get("returnUrl");await ZTe();let n=$.urls.login;return r&&![$.urls.logout,"/",$.urls.login].includes(r)&&(n=`${n}?returnUrl=${r}`),window.location.href=n,null}function lqe(t){return Qae(),Wt({loaderArgs:t,deferred:!0,data:{frontendConfig:lN(),openIdAuthorization:JTe()}})}async function cqe({request:t}){Qae();const e=new URL(t.url),r=e.searchParams.get("code"),n=e.searchParams.get("iss"),s=e.searchParams.get("session_state")||e.searchParams.get("state");if(!r)throw rt($.urls.login);const i=await e4e({code:r,...n&&{iss:n},...s&&{state:s}});return xt(i)?(Ar(i.error?.detail),rt($.urls.login)):(fie(i),rt($.urls.home))}async function uqe(t){const{pageSize:e,paginationToken:r}=Fa(t),{username:n}=t.params;if(!n)throw Li({type:mn.NOT_FOUND});return Wt({loaderArgs:t,deferred:!0,data:{audits:r4e(n,r||void 0,+e)}})}async function dqe(t){if(Ji.getRestartStatus())throw rt($.urls.restart);oqe();const{request:e}=t;if(!hN(e)){const n=await die();if(oN(n))return Ji.deleteSiteNode(),window.location.href=window.location.pathname,null}return Wt({loaderArgs:t,deferred:!0,data:{bootstrap:Wae()}})}function vY(t){return Wt({loaderArgs:t,deferred:!0,data:{info:jie()}})}const fqe=Pr();async function pqe(t){const{request:e}=t,r=hN(e);try{const n=await die();if(oN(n)&&r){const s=Ji.getSiteNode();Ar(fqe.formatMessage({id:"cluster.site_picker.node_down"},{ip_address:s}))}return n}catch(n){if(r)return{__polling_error:!0};throw n}}const mqe={path:"logout",loader:aqe},Zae=(t,e="")=>{const r=t.path==="/"?t.path:`${e!=="/"?e:""}${t.path&&t.path!=="/"?"/"+t.path:""}`;try{K6(r,[])}catch(n){console.error("FIX ME! ${fullPath}",n)}return{fullPath:r,...t,loader:async n=>{if(Ih()&&!n.request.url.includes($.urls.profile)&&!Aae())throw rt($.urls.unauthorized);if(!Cae(r))return t.loader&&t.loader!==!0?t.loader(n):null;const s=await ma();return K6(r,s),t.loader&&t.loader!==!0?t.loader(n):null},...t.children&&{children:t.children.map(n=>Zae(n,r))}}},en=()=>{const t=he.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(gt,{sx:{p:2},children:a.jsx(Tr,{})}),t[0]=e):e=t[0],e};function Or(t){const e=he.c(4),{center:r,fullHeight:n,transparent:s}=t;let i;return e[0]!==r||e[1]!==n||e[2]!==s?(i=a.jsx(lUe,{appBar:!0,navigation:!0,center:r,fullHeight:n,transparent:s}),e[0]=r,e[1]=n,e[2]=s,e[3]=i):i=e[3],i}const Xae=I.createContext(null);function hqe(){const[t,e]=I.useState(null);return I.useEffect(()=>{e(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),t}function gqe(t){const{children:e,value:r}=t,n=hqe(),s=I.useMemo(()=>({idPrefix:n,value:r}),[n,r]);return a.jsx(Xae.Provider,{value:s,children:e})}function Jae(){return I.useContext(Xae)}function ele(t,e){const{idPrefix:r}=t;return r===null?null:`${t.idPrefix}-P-${e}`}function tle(t,e){const{idPrefix:r}=t;return r===null?null:`${t.idPrefix}-T-${e}`}const _qe=I.forwardRef(function(e,r){const{children:n,...s}=e,i=Jae();if(i===null)throw new TypeError("No TabContext provided");const o=I.Children.map(n,l=>I.isValidElement(l)?I.cloneElement(l,{"aria-controls":ele(i,l.props.value),id:tle(i,l.props.value)}):null);return a.jsx(sse,{...s,ref:r,value:i.value,children:o})});function vqe(t){return tr("MuiTabPanel",t)}rr("MuiTabPanel",["root","hidden"]);const yqe=t=>{const{classes:e,hidden:r}=t;return nr({root:["root",r&&"hidden"]},vqe,e)},bqe=Ce("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({padding:t.spacing(3)})),xqe=I.forwardRef(function(e,r){const n=Kr({props:e,name:"MuiTabPanel"}),{children:s,className:i,value:o,keepMounted:l=!1,...c}=n,u={...n},d=yqe(u),f=Jae();if(f===null)throw new TypeError("No TabContext provided");const p=ele(f,o),m=tle(f,o);return a.jsx(bqe,{"aria-labelledby":m,className:lt(d.root,i),hidden:o!==f.value,id:p,ref:r,role:"tabpanel",ownerState:u,...c,children:(l||o===f.value)&&s})});var nn=(t=>(t.DEFAULT="DEFAULT",t.INFO="INFO",t.SUCCESS="SUCCESS",t.WARNING="WARNING",t.ERROR="ERROR",t))(nn||{});function bi(t){const e=he.c(15),{label:r,status:n,asChip:s}=t;let i;e:switch(n){case"SUCCESS":{i="success.main";break e}case"INFO":{i="info.main";break e}case"WARNING":{i="warning.main";break e}case"ERROR":{i="error.main";break e}default:i="divider"}const o=i;if(!r){let f;return e[0]!==o?(f=a.jsx(gt,{sx:{backgroundColor:o,borderRadius:"100px",width:"12px",height:"12px",flex:"0 0 auto"}}),e[0]=o,e[1]=f):f=e[1],f}if(s){let f;e[2]!==o?(f={textTransform:"capitalize",color:"text.primary",fontWeight:"500",backgroundColor:o,px:1,fontSize:"14px"},e[2]=o,e[3]=f):f=e[3];let p;return e[4]!==r||e[5]!==f?(p=a.jsx(ms,{id:r,label:r,size:"small",sx:f}),e[4]=r,e[5]=f,e[6]=p):p=e[6],p}let l;e[7]!==o?(l=a.jsx(gt,{sx:{backgroundColor:o,borderRadius:"100px",width:"12px",height:"12px",flex:"0 0 auto"}}),e[7]=o,e[8]=l):l=e[8];let c;e[9]===Symbol.for("react.memo_cache_sentinel")?(c={textTransform:"capitalize"},e[9]=c):c=e[9];let u;e[10]!==r?(u=a.jsx(_e,{fontWeight:500,lineHeight:"24px",sx:c,type:"body2",children:r}),e[10]=r,e[11]=u):u=e[11];let d;return e[12]!==l||e[13]!==u?(d=a.jsxs(te,{direction:"row",align:"center",nowrap:!0,children:[l,u]}),e[12]=l,e[13]=u,e[14]=d):d=e[14],d}function VA(t){const e=he.c(33),{value:r,tabs:n,centered:s,color:i,onChange:o,fullHeight:l}=t;let c;e[0]!==n?(c=n===void 0?[]:n,e[0]=n,e[1]=c):c=e[1];const u=c,d=s===void 0?!1:s,f=l===void 0?!1:l,[p,m]=I.useState(r||u[0].value);let h,_;e[2]!==r?(h=()=>{r&&m(r)},_=[r],e[2]=r,e[3]=h,e[4]=_):(h=e[3],_=e[4]),I.useEffect(h,_);let g;e[5]!==o?(g=(D,O)=>{m(O),o&&o(O)},e[5]=o,e[6]=g):g=e[6];const y=g;if(!p)return null;let b;e[7]!==f?(b=f&&{height:"100%",maxHeight:"100%",overflow:"auto",display:"flex",flexDirection:"column"},e[7]=f,e[8]=b):b=e[8];let x;e[9]!==b?(x={width:"100%",...b},e[9]=b,e[10]=x):x=e[10];let w;e[11]===Symbol.for("react.memo_cache_sentinel")?(w={position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:0,right:0,height:"1px",backgroundColor:"divider"}},e[11]=w):w=e[11];let C;e[12]===Symbol.for("react.memo_cache_sentinel")?(C={".MuiTabScrollButton-root.Mui-disabled":{opacity:.2}},e[12]=C):C=e[12];let k;e[13]===Symbol.for("react.memo_cache_sentinel")?(k={sx:{height:"4px"}},e[13]=k):k=e[13];let A;e[14]!==u?(A=u.map(Sqe),e[14]=u,e[15]=A):A=e[15];let P;e[16]!==d||e[17]!==i||e[18]!==y||e[19]!==A?(P=a.jsx(gt,{sx:w,children:a.jsx(_qe,{sx:C,variant:"scrollable",allowScrollButtonsMobile:!0,onChange:y,centered:d,indicatorColor:i,TabIndicatorProps:k,children:A})}),e[16]=d,e[17]=i,e[18]=y,e[19]=A,e[20]=P):P=e[20];let T;if(e[21]!==f||e[22]!==u){let D;e[24]!==f?(D=(O,N)=>O.content?a.jsx(xqe,{value:O.value,sx:{p:0,...f&&{flexGrow:"1",maxHeight:"100%",overflow:"auto"}},children:O.content},N):null,e[24]=f,e[25]=D):D=e[25],T=u.map(D),e[21]=f,e[22]=u,e[23]=T}else T=e[23];let j;e[26]!==p||e[27]!==P||e[28]!==T?(j=a.jsxs(gqe,{value:p,children:[P,T]}),e[26]=p,e[27]=P,e[28]=T,e[29]=j):j=e[29];let R;return e[30]!==j||e[31]!==x?(R=a.jsx(gt,{sx:x,children:j}),e[30]=j,e[31]=x,e[32]=R):R=e[32],R}function Sqe(t,e){return a.jsx(p6,{label:a.jsxs(T1e,{direction:"row",alignItems:"center",spacing:1,children:[t.status&&a.jsx(bi,{status:t.status}),t.error&&a.jsx(gt,{color:"error.main",sx:{display:"flex",justifyContent:"flex-end"},children:a.jsx(ge.StatusErrorSmall,{})}),a.jsx("div",{children:t.label})]}),sx:{textTransform:"capitalize",fontSize:"1rem",fontWeight:400,"&.Mui-selected":{fontWeight:600,color:"primary.main"}},disabled:!!t.disabled,value:t.value},e)}const Ao=t=>{const e=he.c(25),{tabs:r,keepQueryParams:n}=t,s=n===void 0?!1:n,i=Lp("."),o=ys(),l=WL(),c=to();let u;e[0]!==s||e[1]!==c.search||e[2]!==o?(u=k=>{s?o(`${k}${c.search}`,{replace:!0}):o(k,{replace:!0})},e[0]=s,e[1]=c.search,e[2]=o,e[3]=u):u=e[3];const d=u;let f;if(e[4]!==i||e[5]!==r){let k;e[7]!==i?(k=A=>({...A,url:`${i.pathname}/${A.url}`}),e[7]=i,e[8]=k):k=e[8],f=r.map(k),e[4]=i,e[5]=r,e[6]=f}else f=e[6];const p=f;let m;if(e[9]!==l||e[10]!==p){let k;e[12]!==l?(k=A=>l.map(Cqe).includes(A),e[12]=l,e[13]=k):k=e[13],m=p.map(wqe).find(k),e[9]=l,e[10]=p,e[11]=m}else m=e[11];const _=m??p[0].url;let g;e[14]===Symbol.for("react.memo_cache_sentinel")?(g={overflow:"hidden"},e[14]=g):g=e[14];let y;e[15]===Symbol.for("react.memo_cache_sentinel")?(y={flex:"0 0 auto"},e[15]=y):y=e[15];let b;e[16]!==d||e[17]!==p||e[18]!==_?(b=p?.length>0&&a.jsx(VA,{value:_,tabs:p.map(Aqe),onChange:d}),e[16]=d,e[17]=p,e[18]=_,e[19]=b):b=e[19];let x;e[20]!==b?(x=a.jsx(te,{sx:y,children:b}),e[20]=b,e[21]=x):x=e[21];let w;e[22]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx(te,{fullHeight:!0,sx:{flex:"1 1 auto"},children:a.jsx(Bd,{})}),e[22]=w):w=e[22];let C;return e[23]!==x?(C=a.jsxs(te,{fullHeight:!0,nowrap:!0,sx:g,spacing:0,children:[x,w]}),e[23]=x,e[24]=C):C=e[24],C};function wqe(t){return t.url}function Cqe(t){return t.pathname}function Aqe(t){const{url:e,label:r,status:n}=t;return{value:e,label:r,status:n}}const kqe=t=>{const e=typeof t;return t!==null&&(e==="object"||e==="function")},PR=new Set(["__proto__","prototype","constructor"]),Mqe=new Set("0123456789");function Pqe(t){const e=[];let r="",n="start",s=!1;for(const i of t)switch(i){case"\\":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");s&&(r+=i),n="property",s=!s;break}case".":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="property";break}if(s){s=!1,r+=i;break}if(PR.has(r))return[];e.push(r),r="",n="property";break}case"[":{if(n==="index")throw new Error("Invalid character in an index");if(n==="indexEnd"){n="index";break}if(s){s=!1,r+=i;break}if(n==="property"){if(PR.has(r))return[];e.push(r),r=""}n="index";break}case"]":{if(n==="index"){e.push(Number.parseInt(r,10)),r="",n="indexEnd";break}if(n==="indexEnd")throw new Error("Invalid character after an index")}default:{if(n==="index"&&!Mqe.has(i))throw new Error("Invalid character in an index");if(n==="indexEnd")throw new Error("Invalid character after an index");n==="start"&&(n="property"),s&&(s=!1,r+="\\"),r+=i}}switch(s&&(r+="\\"),n){case"property":{if(PR.has(r))return[];e.push(r);break}case"index":throw new Error("Index was not closed");case"start":{e.push("");break}}return e}function jqe(t,e){if(typeof e!="number"&&Array.isArray(t)){const r=Number.parseInt(e,10);return Number.isInteger(r)&&t[r]===t[e]}return!1}function Tqe(t,e,r){if(!kqe(t)||typeof e!="string")return t;const n=Pqe(e);if(n.length===0)return r;for(let s=0;s<n.length;s++){const i=n[s];if(jqe(t,i)?t=s===n.length-1?void 0:null:t=t[i],t==null){if(s!==n.length-1)return r;break}}return t===void 0?r:t}function da(t){const e=he.c(29),{disabled:r,color:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checkedIcon:f,checked:p,icon:m,indeterminate:h,indeterminateIcon:_,name:g,customColor:y,sx:b,label:x}=t,w=x===void 0?"":x,C=w?"inherit":0;let k;e[0]!==C?(k={mx:C},e[0]=C,e[1]=k):k=e[1];let A;e[2]!==y?(A=y&&{"&.Mui-checked svg":{color:y}},e[2]=y,e[3]=A):A=e[3];let P;e[4]!==b||e[5]!==A?(P={...b,...A},e[4]=b,e[5]=A,e[6]=P):P=e[6];let T;e[7]!==p||e[8]!==f||e[9]!==n||e[10]!==o||e[11]!==c||e[12]!==u||e[13]!==m||e[14]!==h||e[15]!==_||e[16]!==g||e[17]!==i||e[18]!==l||e[19]!==s||e[20]!==P||e[21]!==d?(T=a.jsx(XL,{color:n,size:s,onChange:i,defaultChecked:o,required:l,disableRipple:c,edge:u,value:d,checked:p,checkedIcon:f,icon:m,indeterminate:h,name:g,indeterminateIcon:_,sx:P}),e[7]=p,e[8]=f,e[9]=n,e[10]=o,e[11]=c,e[12]=u,e[13]=m,e[14]=h,e[15]=_,e[16]=g,e[17]=i,e[18]=l,e[19]=s,e[20]=P,e[21]=d,e[22]=T):T=e[22];let j;return e[23]!==p||e[24]!==r||e[25]!==w||e[26]!==k||e[27]!==T?(j=a.jsx(Rv,{disabled:r,sx:k,checked:p,control:T,label:w}),e[23]=p,e[24]=r,e[25]=w,e[26]=k,e[27]=T,e[28]=j):j=e[28],j}const Eqe=I.forwardRef((t,e)=>{const r=he.c(8),{autoScale:n,children:s}=t;let i;r[0]!==n?(i=n&&{height:"calc(100% - 52px)",overflow:"auto",width:"100%",maxHeight:"calc(100% - 52px)",position:"relative"},r[0]=n,r[1]=i):i=r[1];let o;r[2]!==i?(o={...i},r[2]=i,r[3]=o):o=r[3];let l;return r[4]!==s||r[5]!==e||r[6]!==o?(l=a.jsx(uFe,{sx:o,ref:e,children:s}),r[4]=s,r[5]=e,r[6]=o,r[7]=l):l=r[7],l});function Rqe(t){const e=he.c(27),{selectable:r,selectedRows:n,selectedAllRows:s,rowsCount:i,rowsPerPage:o,showFirstLastButton:l,page:c,hidePagination:u,onPageChange:d,rowsPerPageOptions:f,onRowsPerPageChange:p,labelDisplayedRows:m,loading:h,customFooterComponent:_,hideRowsCount:g}=t,y=g===void 0?!1:g,b=h?"0.5":1;let x;e[0]!==b?(x={opacity:b},e[0]=b,e[1]=x):x=e[1];let w;e[2]!==_?(w=_&&a.jsx(gt,{sx:{ml:2,flexGrow:1,justifySelf:"flex-start"},children:_}),e[2]=_,e[3]=w):w=e[3];let C;e[4]!==r||e[5]!==s||e[6]!==n?(C=r&&a.jsxs(gt,{sx:{flexShrink:0,ml:2},children:[n?.length?a.jsxs(_e,{type:"body2",children:[n.length," ",`row${n.length>1?"s":""}`," selected"]}):null,s&&a.jsx(_e,{type:"body2",children:"All rows selected"})]}),e[4]=r,e[5]=s,e[6]=n,e[7]=C):C=e[7];let k;e[8]===Symbol.for("react.memo_cache_sentinel")?(k={flexShrink:0},e[8]=k):k=e[8];let A;e[9]!==u||e[10]!==y||e[11]!==m||e[12]!==d||e[13]!==p||e[14]!==c||e[15]!==i||e[16]!==o||e[17]!==f||e[18]!==l?(A=u?y?null:a.jsx(tN,{variant:"dense",children:a.jsxs(gt,{sx:{marginTop:2,marginBottom:2},children:[a.jsxs(_e,{type:"body2",children:[i," Rows"]})," "]})}):a.jsx(TFe,{rowsPerPageOptions:f||[-1],component:"div",count:i,rowsPerPage:o,page:c,onPageChange:d,onRowsPerPageChange:p,showFirstButton:l,showLastButton:l,labelDisplayedRows:m,sx:{"& .MuiTablePagination-actions":{display:"flex",ml:1},"& .MuiSelect-select":{pt:"5px"}}}),e[9]=u,e[10]=y,e[11]=m,e[12]=d,e[13]=p,e[14]=c,e[15]=i,e[16]=o,e[17]=f,e[18]=l,e[19]=A):A=e[19];let P;e[20]!==A?(P=a.jsx(gt,{sx:k,children:A}),e[20]=A,e[21]=P):P=e[21];let T;return e[22]!==x||e[23]!==w||e[24]!==C||e[25]!==P?(T=a.jsxs(QL,{direction:"row",justifyContent:"flex-end",alignItems:"center",spacing:1,sx:x,children:[w,C,P]}),e[22]=x,e[23]=w,e[24]=C,e[25]=P,e[26]=T):T=e[26],T}const w2=Ce(na,{shouldForwardProp:t=>t!=="loading"})(({theme:t,loading:e})=>({borderBottom:e?"0":`1px solid ${t.palette.divider}`})),Iqe=Ce(FFe)(({theme:t})=>({"&.Mui-active, &":{"& .MuiTableSortLabel-icon":{color:t.palette.primary.main}}}));function Dqe(t){const e=he.c(56),{rowsCount:r,columns:n,order:s,orderBy:i,onSort:o,rowActions:l,loading:c,selectable:u,selectedRows:d,selectedAllRows:f,onSelectedAllRows:p,fullColSpan:m,rowDetail:h,disableSelectAll:_,stickyRowActions:g,dense:y}=t,b=ci();let x;e[0]!==o||e[1]!==s||e[2]!==i?(x=H=>{const K=i===H.key&&s===Gl.ASC?Gl.DESC:Gl.ASC,q=H.key;o&&o(K,q)},e[0]=o,e[1]=s,e[2]=i,e[3]=x):x=e[3];const w=x,C=!!(d&&d.length&&d.length<r&&r>0),k=!!(d&&d.length&&d.length===r&&r>0||f);let A;e[4]!==b.palette.background.paper?(A=br(b.palette.background.paper,.5),e[4]=b.palette.background.paper,e[5]=A):A=e[5];let P;e[6]!==l?.length?(P=l?.length&&{"&:last-child":{backdropFilter:"none"}},e[6]=l?.length,e[7]=P):P=e[7];let T;e[8]!==A||e[9]!==P?(T={"& th":{background:"transparent",backdropFilter:"blur(12px)",backgroundColor:A,...P}},e[8]=A,e[9]=P,e[10]=T):T=e[10];let j;e[11]!==y||e[12]!==c||e[13]!==h?(j=h&&a.jsx(w2,{loading:c,variant:"head",padding:"checkbox",sx:{fontSize:"16px",width:"48px",minWidth:"48px",...y&&{p:1}},children:a.jsx(te,{align:"center",justify:"center",children:a.jsx(ge.Info,{})})}),e[11]=y,e[12]=c,e[13]=h,e[14]=j):j=e[14];let R;e[15]!==y||e[16]!==_||e[17]!==k||e[18]!==C||e[19]!==c||e[20]!==p||e[21]!==u?(R=u&&a.jsx(w2,{loading:c,variant:"head",padding:"checkbox",children:!_&&a.jsx(da,{color:"primary",indeterminate:C,checked:k,onChange:p,disabled:c,size:y?"small":"medium"})}),e[15]=y,e[16]=_,e[17]=k,e[18]=C,e[19]=c,e[20]=p,e[21]=u,e[22]=R):R=e[22];let D;if(e[23]!==n||e[24]!==y||e[25]!==w||e[26]!==c||e[27]!==s||e[28]!==i){let H;e[30]!==y||e[31]!==w||e[32]!==c||e[33]!==s||e[34]!==i?(H=(W,K)=>a.jsx(w2,{align:W.numeric?"right":"left",sortDirection:i===W.key?s:!1,variant:"head",loading:c,sx:{fontWeight:"600",maxWidth:W.maxWidth?`${W.maxWidth}px`:"inherit",minWidth:W.minWidth?`${W.minWidth}px`:"inherit",width:W.width?`${W.width}px`:"inherit",...y&&{p:.5,pr:2}},children:a.jsx(Iqe,{active:W.sortable?i===W.key:!1,direction:i===W.key?s:Gl.ASC,onClick:()=>{W.sortable&&w(W)},sx:W.sortable?void 0:{cursor:"auto","&:hover":{color:"text.primary"},"& .MuiTableSortLabel-icon":{display:"none"}},children:W.label})},`${String(W.key)}-${K}`),e[30]=y,e[31]=w,e[32]=c,e[33]=s,e[34]=i,e[35]=H):H=e[35],D=n.map(H),e[23]=n,e[24]=y,e[25]=w,e[26]=c,e[27]=s,e[28]=i,e[29]=D}else D=e[29];let O;e[36]!==c||e[37]!==l?.length||e[38]!==g||e[39]!==b.palette.background.paper?(O=l?.length?a.jsx(w2,{padding:"checkbox",loading:c,sx:{...g&&{position:"sticky",right:0,backdropFilter:"blur(12px) !important",backgroundColor:`${br(b.palette.background.paper,.5)}`}}}):null,e[36]=c,e[37]=l?.length,e[38]=g,e[39]=b.palette.background.paper,e[40]=O):O=e[40];let N;e[41]!==j||e[42]!==R||e[43]!==D||e[44]!==O?(N=a.jsxs(d_,{children:[j,R,D,O]}),e[41]=j,e[42]=R,e[43]=D,e[44]=O,e[45]=N):N=e[45];let F;e[46]!==T||e[47]!==N?(F=a.jsx(OW,{sx:T,children:N}),e[46]=T,e[47]=N,e[48]=F):F=e[48];let U;e[49]!==y||e[50]!==m||e[51]!==c?(U=c?a.jsx(OW,{sx:{position:"sticky",top:y?"33px":"58px",left:0,right:0,zIndex:3},children:a.jsx(d_,{children:a.jsx(na,{colSpan:m,sx:{p:0,border:0},children:a.jsx(Nc,{color:"primary",thickness:1})})})}):null,e[49]=y,e[50]=m,e[51]=c,e[52]=U):U=e[52];let z;return e[53]!==F||e[54]!==U?(z=a.jsxs(a.Fragment,{children:[F,U]}),e[53]=F,e[54]=U,e[55]=z):z=e[55],z}var Gl=(t=>(t.ASC="asc",t.DESC="desc",t))(Gl||{});const $qe=Array.from({length:4});function Br(t){const e=he.c(153),{order:r,orderBy:n,columns:s,data:i,rowsCount:o,page:l,rowsPerPage:c,rowKey:u,onSort:d,rowActions:f,rowDetail:p,onPageChange:m,showFirstLastButton:h,loading:_,noDataText:g,autoScale:y,selectable:b,selectedRows:x,selectedAllRows:w,onSelectedRow:C,hidePagination:k,hideRowsCount:A,onRowsPerPageChange:P,rowsPerPageOptions:T,labelDisplayedRows:j,disableSelectAll:R,stickyRowActions:D,customRowSx:O,customFooterComponent:N,dense:F,onRowClick:U,containerRef:z}=t,H=r===void 0?"asc":r,W=g===void 0?"No data to display":g,K=As();let q;e[0]!==x?(q=x||[],e[0]=x,e[1]=q):q=e[1];const[X,Q]=I.useState(q),[Y,Z]=I.useState(!!w);let re;e[2]===Symbol.for("react.memo_cache_sentinel")?(re=[],e[2]=re):re=e[2];const[fe,de]=I.useState(re),{menuOpen:se,menuClose:le}=Jt();let ee;e[3]!==f?(ee=f?.filter(Nqe),e[3]=f,e[4]=ee):ee=e[4];const J=ee;let me;e[5]!==f?(me=f?.filter(Lqe),e[5]=f,e[6]=me):me=e[6];const pe=me,Se=Oqe;let ve;e[7]!==m?(ve=(Ae,ze)=>{m&&m(ze)},e[7]=m,e[8]=ve):ve=e[8];const xe=ve;let qe;e[9]!==P?(qe=Ae=>{const ze=Ae.target.value;P&&P(parseInt(ze))},e[9]=P,e[10]=qe):qe=e[10];const Le=qe;let Te;e[11]!==le||e[12]!==se||e[13]!==pe?(Te=(Ae,ze,_t)=>{pe&&(Ae.stopPropagation(),se({anchorEl:Ae.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:pe.filter(jt=>{const{hidden:Gt}=jt;return Gt?!Gt(ze,_t):!0}).map(jt=>{const{label:Gt,onClick:Yt,disabled:Rt,icon:At}=jt;return{label:Gt,value:Gt,disabled:typeof Rt=="function"?Rt(ze,_t):Rt,icon:At,onClick:()=>{le(),Yt(ze,_t)}}})}))},e[11]=le,e[12]=se,e[13]=pe,e[14]=Te):Te=e[14];const je=Te;let Ge;e[15]!==fe?(Ge=Ae=>fe.includes(Ae),e[15]=fe,e[16]=Ge):Ge=e[16];const nt=Ge;let Re;e[17]!==p?(Re=Ae=>p?typeof p.disabled=="function"?p.disabled(Ae):p.disabled:!0,e[17]=p,e[18]=Re):Re=e[18];const we=Re;let Me;e[19]!==nt||e[20]!==fe?(Me=Ae=>{const ze=nt(Ae);let _t;ze?_t=fe.filter(jt=>jt!==Ae):_t=[...fe,Ae],de(_t)},e[19]=nt,e[20]=fe,e[21]=Me):Me=e[21];const $e=Me;let Ve;e[22]!==Y||e[23]!==X?(Ve=Ae=>X.includes(Ae)||Y,e[22]=Y,e[23]=X,e[24]=Ve):Ve=e[24];const Ne=Ve;let Oe;e[25]!==Ne||e[26]!==C||e[27]!==b||e[28]!==X?(Oe=(Ae,ze)=>{if(!b)return;const _t=Ne(Ae);let jt;_t?jt=X.filter(Gt=>Gt!==Ae):jt=[...X,Ae],Q(jt),C&&C(jt,!1,ze,_t?1:0)},e[25]=Ne,e[26]=C,e[27]=b,e[28]=X,e[29]=Oe):Oe=e[29];const ft=Oe;let Ct;e[30]!==C||e[31]!==Y?(Ct=()=>{const Ae=[],ze=!Y;Z(ze),Q(Ae),C&&C(Ae,ze,null,ze?2:3)},e[30]=C,e[31]=Y,e[32]=Ct):Ct=e[32];const Et=Ct,at=s.length+(f?.length?1:0)+(p?1:0)+(b?1:0);let $t,Ee;e[33]!==w?($t=()=>{Z(!!w)},Ee=[w],e[33]=w,e[34]=$t,e[35]=Ee):($t=e[34],Ee=e[35]),I.useEffect($t,Ee);let Be,qt;e[36]!==x?(Be=()=>{x&&Q(x)},qt=[x],e[36]=x,e[37]=Be,e[38]=qt):(Be=e[37],qt=e[38]),I.useEffect(Be,qt);let ar;e[39]!==y?(ar=y&&{overflow:"hidden",maxHeight:"100%"},e[39]=y,e[40]=ar):ar=e[40];const hr=_?"none":"inherit";let ir;e[41]!==ar||e[42]!==hr?(ir={width:"100%",height:"100%",flex:"1 1 auto",...ar,pointerEvents:hr},e[41]=ar,e[42]=hr,e[43]=ir):ir=e[43];const cr=!!p;let kr;e[44]!==s||e[45]!==F||e[46]!==R||e[47]!==at||e[48]!==Et||e[49]!==_||e[50]!==d||e[51]!==H||e[52]!==n||e[53]!==f||e[54]!==o||e[55]!==b||e[56]!==Y||e[57]!==X||e[58]!==D||e[59]!==cr?(kr=a.jsx(Dqe,{rowsCount:o,order:H,orderBy:n,columns:s,onSort:d,rowActions:f,loading:_,selectable:b,disableSelectAll:R,selectedRows:X,selectedAllRows:Y,onSelectedAllRows:Et,fullColSpan:at,rowDetail:cr,stickyRowActions:D,dense:F}),e[44]=s,e[45]=F,e[46]=R,e[47]=at,e[48]=Et,e[49]=_,e[50]=d,e[51]=H,e[52]=n,e[53]=f,e[54]=o,e[55]=b,e[56]=Y,e[57]=X,e[58]=D,e[59]=cr,e[60]=kr):kr=e[60];let Rr;if(e[61]!==s||e[62]!==O||e[63]!==i||e[64]!==F||e[65]!==at||e[66]!==je||e[67]!==$e||e[68]!==ft||e[69]!==k||e[70]!==A||e[71]!==we||e[72]!==nt||e[73]!==Ne||e[74]!==_||e[75]!==U||e[76]!==p||e[77]!==u||e[78]!==b||e[79]!==Y||e[80]!==D||e[81]!==K||e[82]!==J||e[83]!==pe){let Ae;e[85]!==s||e[86]!==O||e[87]!==F||e[88]!==at||e[89]!==je||e[90]!==$e||e[91]!==ft||e[92]!==k||e[93]!==A||e[94]!==we||e[95]!==nt||e[96]!==Ne||e[97]!==_||e[98]!==U||e[99]!==p||e[100]!==u||e[101]!==b||e[102]!==Y||e[103]!==D||e[104]!==K||e[105]!==J||e[106]!==pe?(Ae=(ze,_t)=>{const jt=we(ze),Gt=O?O(ze):{};return a.jsxs(I.Fragment,{children:[a.jsxs(d_,{tabIndex:-1,"data-testid":`row-key-${ze[u]}`,selected:Ne(ze[u]),sx:{opacity:_?.5:1,transition:"opacity 300ms",...U&&{cursor:"pointer","&:hover":{backgroundColor:"divider"}},...k&&A&&{"&:last-child td":{borderBottomColor:"transparent"}},...Gt},onClick:()=>{U&&U(ze)},children:[p&&a.jsx(na,{padding:"checkbox",sx:{p:0,pl:.1,width:"48px",minWidth:"48px",position:"relative"},children:a.jsx(Zr,{size:F?"small":"medium",onClick:()=>{$e(ze[u])},disabled:jt,sx:{p:0,pl:.1,position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",borderRadius:0,...jt&&{opacity:.4}},children:nt(ze[u])?a.jsx(ge.Minus,{}):a.jsx(ge.Plus,{})})}),b&&a.jsx(na,{padding:"checkbox",children:a.jsx(da,{color:"primary",size:F?"small":"medium",checked:Ne(ze[u]),onChange:()=>ft(ze[u],ze),disabled:Y})}),s.map((Yt,Rt)=>a.jsx(na,{align:Yt.numeric?"right":"left",sx:{maxWidth:Yt.maxWidth?`${Yt.maxWidth}px`:"inherit",minWidth:Yt.minWidth?`${Yt.minWidth}px`:"inherit",width:Yt.width?`${Yt.width}px`:"inherit",wordBreak:Yt.wordBreak?Yt.wordBreak:"inherit",whiteSpace:Yt.whiteSpace?Yt.whiteSpace:"inherit",...F&&{py:0,pl:.5,pr:2}},children:Se(Yt,ze,_t)},`${String(Yt.key)}-${Rt}-${_t}`)),J||pe?a.jsx(na,{align:"right",sx:{...D&&{position:"sticky",backdropFilter:"blur(12px) !important",backgroundColor:`${br(K.palette.background.paper,.5)}`,borderLeft:"1px solid",borderLeftColor:"divider",right:0,px:1.5,py:0}},children:a.jsxs(te,{direction:"row",nowrap:!0,align:"center",justify:"flex-end",children:[J?.map((Yt,Rt)=>a.jsx(hae,{title:Yt.label,children:a.jsx("div",{children:a.jsx(Zr,{size:"small",onClick:()=>Yt.onClick(ze,_t),disabled:typeof Yt.disabled=="function"?Yt.disabled(ze,_t):Yt.disabled,children:Yt.icon})})},Rt)),!!pe?.length&&a.jsx(Zr,{size:"small",onClick:Yt=>je(Yt,ze,_t),children:a.jsx(ge.More,{size:24})})]})}):null]}),p&&!we(ze)&&a.jsx(d_,{children:a.jsx(na,{colSpan:at,sx:{p:0,borderBottom:0},children:a.jsx(Qb,{in:nt(ze[u]),children:a.jsx(gt,{sx:{p:F?1:2,pl:F?6:8,borderBottom:"1px solid",borderColor:"divider"},children:p.content(ze)})})})})]},`${ze[u]}-${_t}}`)},e[85]=s,e[86]=O,e[87]=F,e[88]=at,e[89]=je,e[90]=$e,e[91]=ft,e[92]=k,e[93]=A,e[94]=we,e[95]=nt,e[96]=Ne,e[97]=_,e[98]=U,e[99]=p,e[100]=u,e[101]=b,e[102]=Y,e[103]=D,e[104]=K,e[105]=J,e[106]=pe,e[107]=Ae):Ae=e[107],Rr=i.map(Ae),e[61]=s,e[62]=O,e[63]=i,e[64]=F,e[65]=at,e[66]=je,e[67]=$e,e[68]=ft,e[69]=k,e[70]=A,e[71]=we,e[72]=nt,e[73]=Ne,e[74]=_,e[75]=U,e[76]=p,e[77]=u,e[78]=b,e[79]=Y,e[80]=D,e[81]=K,e[82]=J,e[83]=pe,e[84]=Rr}else Rr=e[84];let Ut;e[108]!==s||e[109]!==i.length||e[110]!==_||e[111]!==f?.length||e[112]!==p||e[113]!==b?(Ut=!i.length&&_?$qe.map((Ae,ze)=>a.jsxs(d_,{children:[p&&a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}),b&&a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}),s.map((_t,jt)=>a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})},`${String(_t.key)}-${jt}-${ze}`)),f?.length?a.jsx(na,{children:a.jsx(Dt,{variant:"rectangular"})}):null]},`skeleton-${ze}`)):null,e[108]=s,e[109]=i.length,e[110]=_,e[111]=f?.length,e[112]=p,e[113]=b,e[114]=Ut):Ut=e[114];let fn;e[115]!==i.length||e[116]!==at||e[117]!==_||e[118]!==W?(fn=!i.length&&!_?a.jsx(d_,{children:a.jsx(na,{colSpan:at,sx:{p:2,border:0},children:a.jsx(Lr,{severity:"info",message:W,sx:{backgroundColor:"divider"}})})}):null,e[115]=i.length,e[116]=at,e[117]=_,e[118]=W,e[119]=fn):fn=e[119];let Zt;e[120]!==Rr||e[121]!==Ut||e[122]!==fn?(Zt=a.jsxs(rFe,{children:[Rr,Ut,fn]}),e[120]=Rr,e[121]=Ut,e[122]=fn,e[123]=Zt):Zt=e[123];let _r;e[124]!==y||e[125]!==kr||e[126]!==Zt?(_r=a.jsxs(Z9e,{stickyHeader:y,children:[kr,Zt]}),e[124]=y,e[125]=kr,e[126]=Zt,e[127]=_r):_r=e[127];let st;e[128]!==y||e[129]!==z||e[130]!==_r?(st=a.jsx(Eqe,{autoScale:y,ref:z,children:_r}),e[128]=y,e[129]=z,e[130]=_r,e[131]=st):st=e[131];let wt;e[132]!==N||e[133]!==i.length||e[134]!==xe||e[135]!==Le||e[136]!==k||e[137]!==A||e[138]!==j||e[139]!==_||e[140]!==l||e[141]!==o||e[142]!==c||e[143]!==T||e[144]!==b||e[145]!==Y||e[146]!==X||e[147]!==h?(wt=i.length>0&&a.jsx(Rqe,{customFooterComponent:N,selectable:b,selectedRows:X,selectedAllRows:Y,rowsCount:o,rowsPerPage:c,page:l,showFirstLastButton:h,hidePagination:k,hideRowsCount:A,onPageChange:xe,onRowsPerPageChange:Le,rowsPerPageOptions:T,labelDisplayedRows:j,loading:_}),e[132]=N,e[133]=i.length,e[134]=xe,e[135]=Le,e[136]=k,e[137]=A,e[138]=j,e[139]=_,e[140]=l,e[141]=o,e[142]=c,e[143]=T,e[144]=b,e[145]=Y,e[146]=X,e[147]=h,e[148]=wt):wt=e[148];let Pe;return e[149]!==ir||e[150]!==st||e[151]!==wt?(Pe=a.jsxs(gt,{sx:ir,children:[st,wt]}),e[149]=ir,e[150]=st,e[151]=wt,e[152]=Pe):Pe=e[152],Pe}function Oqe(t,e,r){const n=Tqe(e,t.key.toString()),s=typeof n>"u"||n===null;return t.cellRender?t.cellRender(e,r):s?"":a.jsx(_e,{type:"body2",children:`${n}`})}function Lqe(t){return t.wrapped}function Nqe(t){return!t.wrapped}function Fqe(){const t=he.c(19),e=Ye(),r=Gr(),n=On();let s;t[0]!==e?(s=e.formatMessage({id:"aaa.status.radius.local_addr"}),t[0]=e,t[1]=s):s=t[1];let i;t[2]!==s?(i={key:"local_addr",label:s},t[2]=s,t[3]=i):i=t[3];let o;t[4]!==e?(o=e.formatMessage({id:"aaa.status.radius.local_port"}),t[4]=e,t[5]=o):o=t[5];let l;t[6]!==o?(l={key:"local_port",label:o},t[6]=o,t[7]=l):l=t[7];let c;t[8]!==i||t[9]!==l?(c=[i,l],t[8]=i,t[9]=l,t[10]=c):c=t[10];const u=c;let d;t[11]===Symbol.for("react.memo_cache_sentinel")?(d=a.jsx(mb,{variant:"rounded",height:"100%",sx:{m:2}}),t[11]=d):d=t[11];let f;t[12]===Symbol.for("react.memo_cache_sentinel")?(f=a.jsx(en,{}),t[12]=f):f=t[12];let p;t[13]!==u||t[14]!==n.state?(p=h=>a.jsx(Br,{autoScale:!0,data:h||[],orderBy:"local_addr",page:0,loading:n.state!=="idle",rowsCount:h?.length,rowsPerPage:h?.length,rowKey:"local_addr",columns:u,hidePagination:!0}),t[13]=u,t[14]=n.state,t[15]=p):p=t[15];let m;return t[16]!==r.radiusStatus||t[17]!==p?(m=a.jsx(I.Suspense,{fallback:d,children:a.jsx(Qt,{resolve:r.radiusStatus,errorElement:f,children:p})}),t[16]=r.radiusStatus,t[17]=p,t[18]=m):m=t[18],m}const Uqe=async()=>{const t=`${$.apis.aaa.radius.status}`;return De({options:{url:t,method:"GET"}})};async function Bqe(t){return Wt({loaderArgs:t,deferred:!0,data:{radiusStatus:Uqe()}})}const yY=Pr();function zqe(t){const{dev:e,port:r,host:n,tos:s,name:i}=t;return{erlang:{distribution:{host:n,name:i,port:+r,...e!==""&&{dev:e},...s!==""&&{tos:+s}}}}}function qqe(t){const{dev:e,port:r,host:n,tos:s,name:i}=t.erlang.distribution;return{dev:e??"",port:+r,host:n,tos:s??"",name:i}}const Vqe=dr().shape({dev:We(),host:We().required(yY.formatMessage({id:"network_configuration.form.errors.required"})),name:We().required(yY.formatMessage({id:"network_configuration.form.errors.required"})),port:kn().required().min(1025).max(65535),tos:kn().min(0).max(255)}),Hqe=Pr(),Gqe=dr().shape({node:We().required(Hqe.formatMessage({id:"cluster.form.errors.required"})).strict(!0)}),Wqe=dr().shape({force:li()});function Yqe(t){const e=he.c(6);let r,n;e[0]!==t?({children:r,...n}=t,e[0]=t,e[1]=r,e[2]=n):(r=e[1],n=e[2]);let s;return e[3]!==r||e[4]!==n?(s=a.jsx(dne,{...n,children:r}),e[3]=r,e[4]=n,e[5]=s):s=e[5],s}function dt(t){const e=he.c(86);let r,n,s,i,o,l,c,u,d,f,p,m,h,_,g,y,b,x,w,C,k,A,P,T,j;e[0]!==t?({color:n,disabled:s,size:k,variant:j,label:u,error:i,fullWidth:o,helperText:l,multiline:f,name:p,value:T,placeholder:y,required:x,onChange:h,onKeyDown:_,onBlur:m,InputProps:r,tooltip:A,type:P,min:d,pattern:g,sx:C,inputProps:c,showPasswordVisibility:w,...b}=t,e[0]=t,e[1]=r,e[2]=n,e[3]=s,e[4]=i,e[5]=o,e[6]=l,e[7]=c,e[8]=u,e[9]=d,e[10]=f,e[11]=p,e[12]=m,e[13]=h,e[14]=_,e[15]=g,e[16]=y,e[17]=b,e[18]=x,e[19]=w,e[20]=C,e[21]=k,e[22]=A,e[23]=P,e[24]=T,e[25]=j):(r=e[1],n=e[2],s=e[3],i=e[4],o=e[5],l=e[6],c=e[7],u=e[8],d=e[9],f=e[10],p=e[11],m=e[12],h=e[13],_=e[14],g=e[15],y=e[16],b=e[17],x=e[18],w=e[19],C=e[20],k=e[21],A=e[22],P=e[23],T=e[24],j=e[25]);const R=k===void 0?"small":k,[D,O]=I.useState(!1);let N;e[26]!==D?(N=()=>{O(!D)},e[26]=D,e[27]=N):N=e[27];const F=N,U=iN(),z=!!f;let H;e[28]!==p?(H=p&&{"data-testid":`field-${p}`},e[28]=p,e[29]=H):H=e[29];let W;e[30]!==p?(W=p&&{"data-testid":`field-input-${p}`},e[30]=p,e[31]=W):W=e[31];let K;e[32]!==d||e[33]!==P?(K=P==="number"&&{step:"any",min:d},e[32]=d,e[33]=P,e[34]=K):K=e[34];let q;e[35]!==P?(q=P==="time"&&{step:"1"},e[35]=P,e[36]=q):q=e[36];let X;e[37]!==c||e[38]!==g||e[39]!==W||e[40]!==K||e[41]!==q?(X={...W,pattern:g,...K,...q,...c},e[37]=c,e[38]=g,e[39]=W,e[40]=K,e[41]=q,e[42]=X):X=e[42];const Q=U&&U,Y=D?void 0:P;let Z;e[43]!==r?.endAdornment||e[44]!==A?(Z=A&&{endAdornment:a.jsxs(gt,{sx:{display:"flex",alignItems:"center"},children:[r?.endAdornment,a.jsx(Mn,{title:A,arrow:!0,children:a.jsx("span",{children:a.jsx(ge.Info,{})})})]})},e[43]=r?.endAdornment,e[44]=A,e[45]=Z):Z=e[45];let re;e[46]!==F||e[47]!==p||e[48]!==D||e[49]!==w?(re=w&&{endAdornment:a.jsx(Yqe,{position:"end",children:a.jsx(Zr,{"data-testid":`field-${p}-button-showPassword`,"aria-label":"toggle password visibility",onClick:F,children:D?a.jsx(ge.PasswordHide,{}):a.jsx(ge.PasswordView,{})})})},e[46]=F,e[47]=p,e[48]=D,e[49]=w,e[50]=re):re=e[50];let fe;e[51]!==r||e[52]!==Y||e[53]!==Z||e[54]!==re||e[55]!==Q?(fe={...Q,type:Y,...Z,...re,...r},e[51]=r,e[52]=Y,e[53]=Z,e[54]=re,e[55]=Q,e[56]=fe):fe=e[56];let de;e[57]===Symbol.for("react.memo_cache_sentinel")?(de={opacity:.7},e[57]=de):de=e[57];let se;e[58]!==A?(se=A&&{".MuiAutocomplete-endAdornment":{position:"relative"},input:{width:"calc(100% - 40px)"}},e[58]=A,e[59]=se):se=e[59];let le;e[60]!==C||e[61]!==se?(le={...C,position:"relative",".Mui-disabled":de,...se},e[60]=C,e[61]=se,e[62]=le):le=e[62];let ee;return e[63]!==n||e[64]!==s||e[65]!==i||e[66]!==o||e[67]!==l||e[68]!==u||e[69]!==f||e[70]!==p||e[71]!==m||e[72]!==h||e[73]!==_||e[74]!==y||e[75]!==b||e[76]!==x||e[77]!==R||e[78]!==fe||e[79]!==le||e[80]!==z||e[81]!==H||e[82]!==X||e[83]!==T||e[84]!==j?(ee=a.jsx(k0,{...b,name:p,value:T,color:n,disabled:s,size:R,variant:j,label:u,error:i,fullWidth:o,helperText:l,multiline:z,maxRows:f,minRows:f,placeholder:y,required:x,onChange:h,onKeyDown:_,onBlur:m,...H,inputProps:X,InputProps:fe,sx:le}),e[63]=n,e[64]=s,e[65]=i,e[66]=o,e[67]=l,e[68]=u,e[69]=f,e[70]=p,e[71]=m,e[72]=h,e[73]=_,e[74]=y,e[75]=b,e[76]=x,e[77]=R,e[78]=fe,e[79]=le,e[80]=z,e[81]=H,e[82]=X,e[83]=T,e[84]=j,e[85]=ee):ee=e[85],ee}function xr(t){const e=he.c(68),{sx:r,expanded:n,disableGutters:s,square:i,title:o,content:l,onChange:c,spacing:u,reversedArrow:d,subtitle:f,actions:p,actionsComponent:m,elevation:h,error:_,unmountOnExit:g,modalElevation:y}=t,b=n===void 0?!1:n,x=s===void 0?!1:s,w=g===void 0?!1:g,[C,k]=I.useState(b),{menuOpen:A,menuClose:P}=Jt();let T;e[0]!==c?(T=(xe,qe)=>{c&&c(xe,qe),k(qe)},e[0]=c,e[1]=T):T=e[1];const j=T;let R;e[2]!==p||e[3]!==P||e[4]!==A?(R=xe=>{p&&(xe.stopPropagation(),A({anchorEl:xe.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},items:p.map(qe=>{const{label:Le,onClick:Te,disabled:je,icon:Ge}=qe;return{label:Le,value:Le,disabled:typeof je=="function"?je():je,icon:Ge,onClick:()=>{P(),Te()}}})}))},e[2]=p,e[3]=P,e[4]=A,e[5]=R):R=e[5];const D=R;let O,N;e[6]!==b?(O=()=>{k(b)},N=[b],e[6]=b,e[7]=O,e[8]=N):(O=e[7],N=e[8]),I.useEffect(O,N);let F,U;e[9]===Symbol.for("react.memo_cache_sentinel")?(F={display:"none !important"},U={width:"100%"},e[9]=F,e[10]=U):(F=e[9],U=e[10]);let z;e[11]!==_?(z=_&&{border:"2px solid",borderColor:"error.main"},e[11]=_,e[12]=z):z=e[12];let H;e[13]!==h||e[14]!==y?(H=h&&y&&{backgroundImage:xe=>xe.palette.mode==="dark"?`linear-gradient(${br("#fff",+hh(24+h*24))}, ${br("#fff",+hh(24+h*24))})`:"none"},e[13]=h,e[14]=y,e[15]=H):H=e[15];let W;e[16]!==r||e[17]!==z||e[18]!==H?(W={"&:before":F,"& .MuiAccordion-region":U,...z,...H,...r},e[16]=r,e[17]=z,e[18]=H,e[19]=W):W=e[19];let K;e[20]!==w?(K={transition:{unmountOnExit:w}},e[20]=w,e[21]=K):K=e[21];let q;e[22]!==d?(q=d&&{flexDirection:"row-reverse"},e[22]=d,e[23]=q):q=e[23];let X;e[24]!==q?(X={...q},e[24]=q,e[25]=X):X=e[25];let Q;e[26]===Symbol.for("react.memo_cache_sentinel")?(Q=a.jsx(ge.DownArrow,{}),e[26]=Q):Q=e[26];let Y;e[27]!==d?(Y=d&&{ml:2},e[27]=d,e[28]=Y):Y=e[28];let Z;e[29]!==Y?(Z={...Y},e[29]=Y,e[30]=Z):Z=e[30];let re;e[31]!==o?(re=typeof o=="string"?a.jsx(_e,{type:"subtitle1",color:"text.secondary",children:o}):o,e[31]=o,e[32]=re):re=e[32];let fe;e[33]!==f||e[34]!==Z||e[35]!==re?(fe=a.jsxs(te,{sx:Z,spacing:0,children:[re,f]}),e[33]=f,e[34]=Z,e[35]=re,e[36]=fe):fe=e[36];let de;e[37]!==p||e[38]!==m?(de=m&&a.jsx(gt,{sx:{flex:"0 0 auto",...!p&&{pr:2}},children:m}),e[37]=p,e[38]=m,e[39]=de):de=e[39];let se;e[40]!==p?.length||e[41]!==D||e[42]!==d?(se=!!p?.length&&a.jsx(gt,{sx:{flex:"0 0 auto",...!d&&{pr:2}},children:a.jsx(Zr,{component:"span",role:"button",onClick:D,children:a.jsx(ge.More,{})})}),e[40]=p?.length,e[41]=D,e[42]=d,e[43]=se):se=e[43];let le;e[44]!==de||e[45]!==se?(le=a.jsxs(te,{direction:"row",align:"center",children:[de,se]}),e[44]=de,e[45]=se,e[46]=le):le=e[46];let ee;e[47]!==fe||e[48]!==le?(ee=a.jsxs(te,{justify:"space-between",align:"center",fullWidth:!0,direction:"row",children:[fe,le]}),e[47]=fe,e[48]=le,e[49]=ee):ee=e[49];let J;e[50]!==X||e[51]!==ee?(J=a.jsx(dNe,{sx:X,expandIcon:Q,children:ee}),e[50]=X,e[51]=ee,e[52]=J):J=e[52];let me;e[53]!==l?(me=a.jsx(iNe,{children:l}),e[53]=l,e[54]=me):me=e[54];let pe;e[55]!==x||e[56]!==h||e[57]!==C||e[58]!==j||e[59]!==i||e[60]!==W||e[61]!==K||e[62]!==J||e[63]!==me?(pe=a.jsxs(tNe,{sx:W,disableGutters:x,expanded:C,onChange:j,square:i,elevation:h,slotProps:K,children:[J,me]}),e[55]=x,e[56]=h,e[57]=C,e[58]=j,e[59]=i,e[60]=W,e[61]=K,e[62]=J,e[63]=me,e[64]=pe):pe=e[64];const Se=pe;let ve;return e[65]!==Se||e[66]!==u?(ve=u?a.jsx("div",{children:Se}):Se,e[65]=Se,e[66]=u,e[67]=ve):ve=e[67],ve}function Jn(t){const e=he.c(17),{sx:r,spacing:n,children:s,exclusive:i}=t,o=n===void 0?0:n,l=i===void 0?!0:i,[c,u]=I.useState(null);let d,f;e[0]!==s||e[1]!==l?(d=()=>{l&&I.Children.forEach(s,(h,_)=>{h.props.expanded&&u(_)})},f=[s,l],e[0]=s,e[1]=l,e[2]=d,e[3]=f):(d=e[2],f=e[3]),I.useEffect(d,f);let p;if(e[4]!==s||e[5]!==l||e[6]!==c||e[7]!==o){let h;e[9]!==l||e[10]!==c||e[11]!==o?(h=(_,g)=>{let y={disableGutters:o?!0:!_.props.disableGutters,group:!0,spacing:o};return l&&(y={...y,expanded:c===g,onChange:(b,x)=>{_.props.onChange&&_.props.onChange(b,x),u(g)}}),I.cloneElement(_,y)},e[9]=l,e[10]=c,e[11]=o,e[12]=h):h=e[12],p=I.Children.map(s,h),e[4]=s,e[5]=l,e[6]=c,e[7]=o,e[8]=p}else p=e[8];let m;return e[13]!==o||e[14]!==r||e[15]!==p?(m=a.jsx(te,{sx:r,spacing:o,children:p}),e[13]=o,e[14]=r,e[15]=p,e[16]=m):m=e[16],m}function Kqe(t){const e=he.c(12),{nf:r}=t,n=Ye(),{dialogClose:s}=Jt(),{upsertFetcher:i}=Ys(),{submit:o,data:l,state:c}=i;let u;e[0]===Symbol.for("react.memo_cache_sentinel")?(u={force:!1},e[0]=u):u=e[0];let d;e[1]!==r||e[2]!==o?(d=m=>{const{force:h}=m;o({force:h},{method:"POST",encType:"application/json",action:`${r===ue.PLS?"platform":r}/cluster/leave-cluster`})},e[1]=r,e[2]=o,e[3]=d):d=e[3];let f;e[4]!==l||e[5]!==s||e[6]!==n||e[7]!==c?(f=()=>a.jsxs(_s,{children:[a.jsx(_e,{sx:{mb:1},children:n.formatMessage({id:"cluster.dialog.leave.description"})}),a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{spacing:2,children:[a.jsx(Ke,{name:"force",children:m=>{const{field:h,form:_}=m,{setFieldValue:g}=_;return a.jsx(da,{size:"small",label:n.formatMessage({id:"cluster.dialog.leave.force"}),checked:h.value,onChange:(y,b)=>{g(h.name,b)}})}}),a.jsx(Xr,{data:l}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{text:n.formatMessage({id:"cluster.dialog.leave.cancel"}),variant:"outlined",onClick:()=>s()}),a.jsx(Ze,{text:n.formatMessage({id:"cluster.dialog.leave.confirm"}),type:"submit",loading:c!=="idle"})]})]})})]}),e[4]=l,e[5]=s,e[6]=n,e[7]=c,e[8]=f):f=e[8];let p;return e[9]!==d||e[10]!==f?(p=a.jsx(Wr,{validationSchema:Wqe,initialValues:u,onSubmit:d,children:f}),e[9]=d,e[10]=f,e[11]=p):p=e[11],p}const Qqe=t=>{const e=he.c(50),{data:r,onClusterJoin:n,clusterJoinLoading:s,disabled:i,nf:o}=t,l=ci(),c=Ye(),{confirmationDialogOpen:u,confirmationDialogClose:d,popoverOpen:f,popoverClose:p,dialogOpen:m}=Jt();let h;e[0]!==d||e[1]!==u||e[2]!==c||e[3]!==p?(h=async(W,K)=>{const q=await W();Object.keys(q).length===0&&u({title:c.formatMessage({id:"cluster.dialog.join.title"}),alertMessage:c.formatMessage({id:"cluster.dialog.join.description"}),onCancel:d,onConfirm:()=>{p(),K()},severity:"danger",cancelButtonText:c.formatMessage({id:"cluster.dialog.join.cancel"}),continueButtonText:c.formatMessage({id:"cluster.dialog.join.confirm"})})},e[0]=d,e[1]=u,e[2]=c,e[3]=p,e[4]=h):h=e[4];const _=h;let g;e[5]!==m||e[6]!==c||e[7]!==o?(g=()=>{m({title:c.formatMessage({id:"cluster.dialog.leave.title"}),content:()=>a.jsx(Kqe,{nf:o})})},e[5]=m,e[6]=c,e[7]=o,e[8]=g):g=e[8];const y=g;let b;e[9]!==s||e[10]!==i||e[11]!==_||e[12]!==c||e[13]!==o||e[14]!==n||e[15]!==p||e[16]!==f?(b=W=>{const K=function(X){const{node:Q}=X;n&&n({node:`${o}@${Q}`})};f({anchorEl:W.currentTarget,anchorOrigin:{vertical:"bottom",horizontal:"right"},content:()=>a.jsx(Wr,{onSubmit:K,initialValues:{node:""},validationSchema:Gqe,children:q=>{const{submitForm:X,validateForm:Q}=q;return a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{sx:{minWidth:"430px"},children:[a.jsx(Ke,{name:"node",children:Y=>{const{field:Z,meta:re}=Y;return a.jsx(a.Fragment,{children:a.jsx(dt,{...Z,label:c.formatMessage({id:"cluster.form.node"}),size:"small",error:!!re.error,helperText:re.error,disabled:i,placeholder:c.formatMessage({id:"cluster.form.node_placeholder"})})})}}),a.jsxs(te,{direction:"row",justify:"flex-end",children:[a.jsx(Ze,{variant:"outlined",type:"reset",size:"medium",disabled:!Ue(ie.configuration)||i,onClick:p,text:c.formatMessage({id:"cluster.buttons.cancel"})}),a.jsx(Ze,{type:"button",size:"medium",text:c.formatMessage({id:"cluster.buttons.join"}),onClick:()=>void _(Q,X),disabled:!Ue(ie.configuration)||i,loading:s})]})]})})}})})},e[9]=s,e[10]=i,e[11]=_,e[12]=c,e[13]=o,e[14]=n,e[15]=p,e[16]=f,e[17]=b):b=e[17];const x=b,w=Zqe,C=Xqe;let k;e[18]!==c?(k=c.formatMessage({id:"cluster.buttons.leave_cluster"}),e[18]=c,e[19]=k):k=e[19];const A=i||r.nodes.length===1;let P;e[20]===Symbol.for("react.memo_cache_sentinel")?(P=a.jsx(ge.Shift,{}),e[20]=P):P=e[20];let T;e[21]!==y||e[22]!==k||e[23]!==A?(T=a.jsx(Ze,{variant:"outlined",text:k,onClick:y,disabled:A,startIcon:P}),e[21]=y,e[22]=k,e[23]=A,e[24]=T):T=e[24];let j;e[25]!==c?(j=c.formatMessage({id:"cluster.buttons.join_cluster"}),e[25]=c,e[26]=j):j=e[26];let R;e[27]===Symbol.for("react.memo_cache_sentinel")?(R=a.jsx(ge.Cluster,{}),e[27]=R):R=e[27];let D;e[28]!==s||e[29]!==i||e[30]!==x||e[31]!==j?(D=a.jsx(Ze,{text:j,startIcon:R,onClick:x,disabled:i,loading:s}),e[28]=s,e[29]=i,e[30]=x,e[31]=j,e[32]=D):D=e[32];let O;e[33]!==D||e[34]!==T?(O=a.jsx(hs,{children:a.jsxs(te,{direction:"row",spacing:1,justify:"flex-end",children:[T,D]})}),e[33]=D,e[34]=T,e[35]=O):O=e[35];let N;e[36]!==c?(N=c.formatMessage({id:"cluster.title"}),e[36]=c,e[37]=N):N=e[37];let F;e[38]!==r||e[39]!==c||e[40]!==l?(F=C(r).map(W=>{const K=W.repositories?.every(Jqe),q=W.repositories.reduce(eVe,0),X=W.repositories.reduce(tVe,0);return a.jsx(xr,{elevation:2,title:W.name,sx:{...!K&&{border:`1px solid ${l.palette.warning.main} !important`}},subtitle:a.jsxs(te,{direction:"row",align:"center",justify:"space-between",nowrap:!0,spacing:2,children:[a.jsxs(te,{direction:"row",align:"center",spacing:1,children:[a.jsx(_e,{children:c.formatMessage({id:"cluster.status.repositories"})}),!!q&&a.jsx(bi,{label:`${q}`,status:nn.SUCCESS}),!!X&&a.jsx(bi,{label:`${X}`,status:nn.ERROR})]}),a.jsxs(te,{direction:"row",align:"center",children:[W.name===r.current_node&&a.jsx(ms,{label:c.formatMessage({id:"cluster.status.current_node"}),size:"small"}),!K&&a.jsx(Mn,{title:c.formatMessage({id:"cluster.status.repo_with_errors"}),children:a.jsx(gt,{sx:{color:"warning"},children:a.jsx(ge.StatusWarning,{})})})]})]}),content:a.jsxs(a.Fragment,{children:[!!W.repositories&&!!W.repositories.length&&a.jsx(te,{spacing:2,divided:!0,children:W.repositories.map(Q=>a.jsxs(te,{nowrap:!0,justify:"space-between",direction:"row",align:"center",children:[a.jsxs(te,{direction:"row",nowrap:!0,spacing:1,children:[a.jsx(bi,{label:Q.name,status:w(Q.status)}),Q.status==="ERROR"&&a.jsx(Mn,{title:"Repo has error!",children:a.jsx(gt,{sx:{color:"error"},children:a.jsx(ge.StatusError,{})})})]}),a.jsx(_e,{sx:{backgroundColor:Q.type==="CP"?l.palette.boy.light:l.palette.girl.light,color:Q.type==="CP"?l.palette.boy.contrastText:l.palette.girl.contrastText,fontWeight:"bold",fontSize:"12px",borderRadius:5,px:1},children:Q.type})]},Q.name))}),!W.repositories?.length&&a.jsx(Lr,{severity:"warning",title:c.formatMessage({id:"cluster.message.no_repo"})})]})},W.name)}),e[38]=r,e[39]=c,e[40]=l,e[41]=F):F=e[41];let U;e[42]!==F?(U=a.jsx(Kt,{children:a.jsx(Jn,{spacing:2,exclusive:!1,children:F})}),e[42]=F,e[43]=U):U=e[43];let z;e[44]!==N||e[45]!==U?(z=a.jsx(pr,{title:N,children:U}),e[44]=N,e[45]=U,e[46]=z):z=e[46];let H;return e[47]!==O||e[48]!==z?(H=a.jsxs(a.Fragment,{children:[O,z]}),e[47]=O,e[48]=z,e[49]=H):H=e[49],H};function Zqe(t){switch(t){case"UP":return nn.SUCCESS;case"DOWN":return nn.ERROR;case"ERROR":return nn.ERROR;default:return nn.DEFAULT}}function Xqe(t){const e=t.nodes.find(n=>n.name===t.current_node),r=t.nodes.filter(n=>n.name!==t.current_node);return e?[e,...r]:r}function Jqe(t){return t.status==="UP"}function eVe(t,e){return e.status==="UP"?t+1:t}function tVe(t,e){return e.status!=="UP"?t+1:t}function al(t){const e=he.c(4),{children:r,spacing:n,sx:s}=t,i=n===void 0?2:n;let o;return e[0]!==r||e[1]!==i||e[2]!==s?(o=a.jsx(ca,{container:!0,spacing:i,sx:s,children:r}),e[0]=r,e[1]=i,e[2]=s,e[3]=o):o=e[3],o}function Is(t){const e=he.c(5),{children:r,size:n,zeroMinWidth:s,sx:i}=t;let o;return e[0]!==r||e[1]!==n||e[2]!==i||e[3]!==s?(o=a.jsx(ca,{item:!0,...n,zeroMinWidth:s,sx:i,children:r}),e[0]=r,e[1]=n,e[2]=i,e[3]=s,e[4]=o):o=e[4],o}function rVe(t){const e=he.c(18),{data:r,onSubmit:n,error:s,disabled:i,loading:o}=t,l=Ye();let c;e[0]!==n?(c=_=>{n&&n(_)},e[0]=n,e[1]=c):c=e[1];const u=c;let d;e[2]!==l?(d=l.formatMessage({id:"network_configuration.fieldset"}),e[2]=l,e[3]=d):d=e[3];let f;e[4]!==r?(f=qqe(r),e[4]=r,e[5]=f):f=e[5];let p;e[6]!==i||e[7]!==s||e[8]!==l||e[9]!==o?(p=_=>{const{dirty:g}=_;return a.jsx(dn,{canWrite:Ue(ie.configuration),children:a.jsxs(te,{direction:"column",spacing:2,align:"flex-start",children:[a.jsxs(al,{children:[a.jsx(Is,{size:{xs:12},children:a.jsx(Ke,{name:"name",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.name"}),size:"small",error:!!x.error,helperText:x.error,sx:{display:"none"}})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"host",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.host"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"port",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.port"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"dev",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.dev"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})}),a.jsx(Is,{size:{xs:12,sm:6},children:a.jsx(Ke,{name:"tos",children:y=>{const{field:b,meta:x}=y;return a.jsx(dt,{...b,fullWidth:!0,label:l.formatMessage({id:"network_configuration.form.tos"}),size:"small",error:!!x.error,helperText:x.error,disabled:i})}})})]}),a.jsx(Xr,{data:s,sx:{width:"100%"}}),a.jsx(Ze,{type:"submit",text:l.formatMessage({id:"network_configuration.buttons.persist_and_reboot"}),disabled:!Ue(ie.configuration)||i||!g,loading:o})]})})},e[6]=i,e[7]=s,e[8]=l,e[9]=o,e[10]=p):p=e[10];let m;e[11]!==u||e[12]!==f||e[13]!==p?(m=a.jsx(Kt,{children:a.jsx(Wr,{initialValues:f,validationSchema:Vqe,onSubmit:u,enableReinitialize:!0,children:p})}),e[11]=u,e[12]=f,e[13]=p,e[14]=m):m=e[14];let h;return e[15]!==d||e[16]!==m?(h=a.jsx(pr,{title:d,children:m}),e[15]=d,e[16]=m,e[17]=h):h=e[17],h}function nVe(){const t=he.c(18),e=Gr(),{submit:r,data:n,state:s}=gr(),{submit:i,state:o}=gr(),l=s!=="idle"||o!=="idle";let c;t[0]!==r?(c=y=>{r(zqe(y),{method:"PUT",encType:"application/json",action:"apply-boot-config"})},t[0]=r,t[1]=c):c=t[1];const u=c;let d;t[2]!==i?(d=y=>{const{node:b}=y;i({node:b},{method:"POST",encType:"application/json",action:"join-cluster"})},t[2]=i,t[3]=d):d=t[3];const f=d;let p;t[4]===Symbol.for("react.memo_cache_sentinel")?(p=a.jsx(mb,{variant:"rounded",sx:{height:"267px"}}),t[4]=p):p=t[4];let m;t[5]===Symbol.for("react.memo_cache_sentinel")?(m=a.jsxs(te,{spacing:2,children:[p,a.jsx(mb,{variant:"rounded",sx:{height:"187px"}})]}),t[5]=m):m=t[5];let h;t[6]===Symbol.for("react.memo_cache_sentinel")?(h=a.jsx(Tr,{}),t[6]=h):h=t[6];let _;t[7]!==n||t[8]!==s||t[9]!==o||t[10]!==l||t[11]!==u||t[12]!==f||t[13]!==e.clusterStatus?(_=y=>a.jsxs(te,{spacing:2,children:[a.jsx(rVe,{data:y,onSubmit:u,disabled:l,loading:s!=="idle",error:n}),a.jsx(I.Suspense,{fallback:a.jsx(mb,{variant:"rounded",sx:{height:"187px"}}),children:a.jsx(Qt,{resolve:e.clusterStatus,errorElement:a.jsx(Tr,{}),children:b=>a.jsx(a.Fragment,{children:b&&a.jsx(Qqe,{nf:y.erlang.distribution.name,data:b,onClusterJoin:f,clusterJoinLoading:o!=="idle",disabled:l})})})})]}),t[7]=n,t[8]=s,t[9]=o,t[10]=l,t[11]=u,t[12]=f,t[13]=e.clusterStatus,t[14]=_):_=t[14];let g;return t[15]!==e.bootConfig||t[16]!==_?(g=a.jsx(I.Suspense,{fallback:m,children:a.jsx(Qt,{resolve:e.bootConfig,errorElement:h,children:_})}),t[15]=e.bootConfig,t[16]=_,t[17]=g):g=t[17],g}async function sVe(t){const e=$.apis.boot_config(t);return De({options:{url:e,method:"GET"}})}async function iVe({nf:t,values:e}){const r=$.apis.boot_config(t);return De({options:{url:r,method:"PUT",data:JSON.stringify(e)}})}function oVe(t){return async({request:e})=>{const r=await e.json(),n=await iVe({nf:t,values:r});return xt(n)?Ar():Nt(),Ft(n)}}function aVe(t,e={clusterStatus:!1}){return function(r){return Wt({deferred:!0,loaderArgs:r,data:{bootConfig:sVe(t),clusterStatus:e.clusterStatus?Iae({nf:t}):null}})}}const bY=Pr();function vr({to:t,labelIntl:e,labelIntlParams:r,icon:n,captionIntl:s,captionIntlParams:i}){return{breadcrumb:{to:t,label:bY.formatMessage({id:e},r),icon:n,...s&&{caption:bY.formatMessage({id:s},i)}}}}function so(t,e={dbCluster:!1}){const r=t===ue.PLS?"platform":t;return{path:"cluster",loader:aVe(t,{clusterStatus:e.dbCluster}),errorElement:a.jsx(Tr,{}),element:a.jsx(nVe,{},t),shouldRevalidate:({actionResult:n})=>!xt(n),handle:vr({labelIntl:`route.${r}.cluster`,to:`/${r}/path`}),children:[{path:"apply-boot-config",action:oVe(t),loader:()=>rt("..")},...e.dbCluster?[{path:"join-cluster",action:$ze(t),loader:()=>rt("..")},{path:"leave-cluster",action:Oze(t),loader:()=>rt("..")}]:[]]}}function bb(){return bb=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bb.apply(null,arguments)}var lp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"||typeof self<"u"?self:{};function Y0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var xY,SY={exports:{}};var jR,wY,CY,lVe=(xY||(xY=1,jR=SY,(function(){var t={}.hasOwnProperty;function e(){for(var r=[],n=0;n<arguments.length;n++){var s=arguments[n];if(s){var i=typeof s;if(i==="string"||i==="number")r.push(s);else if(Array.isArray(s)){if(s.length){var o=e.apply(null,s);o&&r.push(o)}}else if(i==="object")if(s.toString===Object.prototype.toString)for(var l in s)t.call(s,l)&&s[l]&&r.push(l);else r.push(s.toString())}}return r.join(" ")}jR.exports?(e.default=e,jR.exports=e):window.classNames=e})()),SY.exports),J6=Y0(lVe),AY,wc=Y0((function(){if(CY)return wY;CY=1;var t=/^\s+|\s+$/g,e=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,n=/^0o[0-7]+$/i,s=parseInt,i=Object.prototype.toString;function o(c){var u=typeof c;return!!c&&(u=="object"||u=="function")}function l(c){if(typeof c=="number")return c;if((function(f){return typeof f=="symbol"||(function(p){return!!p&&typeof p=="object"})(f)&&i.call(f)=="[object Symbol]"})(c))return NaN;if(o(c)){var u=typeof c.valueOf=="function"?c.valueOf():c;c=o(u)?u+"":u}if(typeof c!="string")return c===0?c:+c;c=c.replace(t,"");var d=r.test(c);return d||n.test(c)?s(c.slice(2),d?2:8):e.test(c)?NaN:+c}return wY=function(c,u,d){return d===void 0&&(d=u,u=void 0),d!==void 0&&(d=(d=l(d))==d?d:0),u!==void 0&&(u=(u=l(u))==u?u:0),(function(f,p,m){return f==f&&(m!==void 0&&(f=f<=m?f:m),p!==void 0&&(f=f>=p?f:p)),f})(l(c),u,d)}})()),TR={exports:{}},cVe=(AY||(AY=1,(function(t,e){var r="__lodash_hash_undefined__",n=9007199254740991,s="[object Arguments]",i="[object Array]",o="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",m="[object Promise]",h="[object RegExp]",_="[object Set]",g="[object String]",y="[object Symbol]",b="[object WeakMap]",x="[object ArrayBuffer]",w="[object DataView]",C=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,A={};A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A[s]=A[i]=A[x]=A[o]=A[w]=A[l]=A[c]=A[u]=A[d]=A[f]=A[p]=A[h]=A[_]=A[g]=A[b]=!1;var P=typeof lp=="object"&&lp&&lp.Object===Object&&lp,T=typeof self=="object"&&self&&self.Object===Object&&self,j=P||T||Function("return this")(),R=e&&!e.nodeType&&e,D=R&&t&&!t.nodeType&&t,O=D&&D.exports===R,N=O&&P.process,F=(function(){try{return N&&N.binding&&N.binding("util")}catch{}})(),U=F&&F.isTypedArray;function z(ke,He){for(var ut=-1,It=ke==null?0:ke.length;++ut<It;)if(He(ke[ut],ut,ke))return!0;return!1}function H(ke){var He=-1,ut=Array(ke.size);return ke.forEach(function(It,wr){ut[++He]=[wr,It]}),ut}function W(ke){var He=-1,ut=Array(ke.size);return ke.forEach(function(It){ut[++He]=It}),ut}var K,q,X,Q=Array.prototype,Y=Function.prototype,Z=Object.prototype,re=j["__core-js_shared__"],fe=Y.toString,de=Z.hasOwnProperty,se=(K=/[^.]+$/.exec(re&&re.keys&&re.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"",le=Z.toString,ee=RegExp("^"+fe.call(de).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),J=O?j.Buffer:void 0,me=j.Symbol,pe=j.Uint8Array,Se=Z.propertyIsEnumerable,ve=Q.splice,xe=me?me.toStringTag:void 0,qe=Object.getOwnPropertySymbols,Le=J?J.isBuffer:void 0,Te=(q=Object.keys,X=Object,function(ke){return q(X(ke))}),je=st(j,"DataView"),Ge=st(j,"Map"),nt=st(j,"Promise"),Re=st(j,"Set"),we=st(j,"WeakMap"),Me=st(Object,"create"),$e=ze(je),Ve=ze(Ge),Ne=ze(nt),Oe=ze(Re),ft=ze(we),Ct=me?me.prototype:void 0,Et=Ct?Ct.valueOf:void 0;function at(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function $t(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function Ee(ke){var He=-1,ut=ke==null?0:ke.length;for(this.clear();++He<ut;){var It=ke[He];this.set(It[0],It[1])}}function Be(ke){var He=-1,ut=ke==null?0:ke.length;for(this.__data__=new Ee;++He<ut;)this.add(ke[He])}function qt(ke){var He=this.__data__=new $t(ke);this.size=He.size}function ar(ke,He){var ut=Gt(ke),It=!ut&&jt(ke),wr=!ut&&!It&&Yt(ke),Cr=!ut&&!It&&!wr&&ot(ke),sn=ut||It||wr||Cr,pn=sn?(function(Vr,Fr){for(var Qn=-1,Er=Array(Vr);++Qn<Vr;)Er[Qn]=Fr(Qn);return Er})(ke.length,String):[],jn=pn.length;for(var es in ke)!de.call(ke,es)||sn&&(es=="length"||wr&&(es=="offset"||es=="parent")||Cr&&(es=="buffer"||es=="byteLength"||es=="byteOffset")||Ae(es,jn))||pn.push(es);return pn}function hr(ke,He){for(var ut=ke.length;ut--;)if(_t(ke[ut][0],He))return ut;return-1}function ir(ke){return ke==null?ke===void 0?"[object Undefined]":"[object Null]":xe&&xe in Object(ke)?(function(He){var ut=de.call(He,xe),It=He[xe];try{He[xe]=void 0;var wr=!0}catch{}var Cr=le.call(He);return wr&&(ut?He[xe]=It:delete He[xe]),Cr})(ke):(function(He){return le.call(He)})(ke)}function cr(ke){return or(ke)&&ir(ke)==s}function kr(ke,He,ut,It,wr){return ke===He||(ke==null||He==null||!or(ke)&&!or(He)?ke!=ke&&He!=He:(function(Cr,sn,pn,jn,es,Vr){var Fr=Gt(Cr),Qn=Gt(sn),Er=Fr?i:Pe(Cr),on=Qn?i:Pe(sn),Ei=(Er=Er==s?p:Er)==p,ha=(on=on==s?p:on)==p,Zn=Er==on;if(Zn&&Yt(Cr)){if(!Yt(sn))return!1;Fr=!0,Ei=!1}if(Zn&&!Ei)return Vr||(Vr=new qt),Fr||ot(Cr)?fn(Cr,sn,pn,jn,es,Vr):(function(ns,Gn,Wu,zo,sf,$s,Ui){switch(Wu){case w:if(ns.byteLength!=Gn.byteLength||ns.byteOffset!=Gn.byteOffset)return!1;ns=ns.buffer,Gn=Gn.buffer;case x:return!(ns.byteLength!=Gn.byteLength||!$s(new pe(ns),new pe(Gn)));case o:case l:case f:return _t(+ns,+Gn);case c:return ns.name==Gn.name&&ns.message==Gn.message;case h:case g:return ns==Gn+"";case d:var Po=H;case _:var yl=1&zo;if(Po||(Po=W),ns.size!=Gn.size&&!yl)return!1;var co=Ui.get(ns);if(co)return co==Gn;zo|=2,Ui.set(ns,Gn);var jo=fn(Po(ns),Po(Gn),zo,sf,$s,Ui);return Ui.delete(ns),jo;case y:if(Et)return Et.call(ns)==Et.call(Gn)}return!1})(Cr,sn,Er,pn,jn,es,Vr);if(!(1&pn)){var Fi=Ei&&de.call(Cr,"__wrapped__"),lo=ha&&de.call(sn,"__wrapped__");if(Fi||lo){var Ki=Fi?Cr.value():Cr,Yp=lo?sn.value():sn;return Vr||(Vr=new qt),es(Ki,Yp,pn,jn,Vr)}}return!!Zn&&(Vr||(Vr=new qt),(function(ns,Gn,Wu,zo,sf,$s){var Ui=1&Wu,Po=Zt(ns),yl=Po.length,co=Zt(Gn),jo=co.length;if(yl!=jo&&!Ui)return!1;for(var Yu=yl;Yu--;){var To=Po[Yu];if(!(Ui?To in Gn:de.call(Gn,To)))return!1}var Wh=$s.get(ns);if(Wh&&$s.get(Gn))return Wh==Gn;var Ku=!0;$s.set(ns,Gn),$s.set(Gn,ns);for(var of=Ui;++Yu<yl;){var Yc=ns[To=Po[Yu]],af=Gn[To];if(zo)var Yh=Ui?zo(af,Yc,To,Gn,ns,$s):zo(Yc,af,To,ns,Gn,$s);if(!(Yh===void 0?Yc===af||sf(Yc,af,Wu,zo,$s):Yh)){Ku=!1;break}of||(of=To=="constructor")}if(Ku&&!of){var Va=ns.constructor,Eo=Gn.constructor;Va==Eo||!("constructor"in ns)||!("constructor"in Gn)||typeof Va=="function"&&Va instanceof Va&&typeof Eo=="function"&&Eo instanceof Eo||(Ku=!1)}return $s.delete(ns),$s.delete(Gn),Ku})(Cr,sn,pn,jn,es,Vr))})(ke,He,ut,It,kr,wr))}function Rr(ke){return!(!zt(ke)||(function(He){return!!se&&se in He})(ke))&&(Rt(ke)?ee:C).test(ze(ke))}function Ut(ke){if(ut=(He=ke)&&He.constructor,It=typeof ut=="function"&&ut.prototype||Z,He!==It)return Te(ke);var He,ut,It,wr=[];for(var Cr in Object(ke))de.call(ke,Cr)&&Cr!="constructor"&&wr.push(Cr);return wr}function fn(ke,He,ut,It,wr,Cr){var sn=1&ut,pn=ke.length,jn=He.length;if(pn!=jn&&!(sn&&jn>pn))return!1;var es=Cr.get(ke);if(es&&Cr.get(He))return es==He;var Vr=-1,Fr=!0,Qn=2&ut?new Be:void 0;for(Cr.set(ke,He),Cr.set(He,ke);++Vr<pn;){var Er=ke[Vr],on=He[Vr];if(It)var Ei=sn?It(on,Er,Vr,He,ke,Cr):It(Er,on,Vr,ke,He,Cr);if(Ei!==void 0){if(Ei)continue;Fr=!1;break}if(Qn){if(!z(He,function(ha,Zn){if(Fi=Zn,!Qn.has(Fi)&&(Er===ha||wr(Er,ha,ut,It,Cr)))return Qn.push(Zn);var Fi})){Fr=!1;break}}else if(Er!==on&&!wr(Er,on,ut,It,Cr)){Fr=!1;break}}return Cr.delete(ke),Cr.delete(He),Fr}function Zt(ke){return(function(He,ut,It){var wr=ut(He);return Gt(He)?wr:(function(Cr,sn){for(var pn=-1,jn=sn.length,es=Cr.length;++pn<jn;)Cr[es+pn]=sn[pn];return Cr})(wr,It(He))})(ke,ct,wt)}function _r(ke,He){var ut,It,wr=ke.__data__;return((It=typeof(ut=He))=="string"||It=="number"||It=="symbol"||It=="boolean"?ut!=="__proto__":ut===null)?wr[typeof He=="string"?"string":"hash"]:wr.map}function st(ke,He){var ut=(function(It,wr){return It?.[wr]})(ke,He);return Rr(ut)?ut:void 0}at.prototype.clear=function(){this.__data__=Me?Me(null):{},this.size=0},at.prototype.delete=function(ke){var He=this.has(ke)&&delete this.__data__[ke];return this.size-=He?1:0,He},at.prototype.get=function(ke){var He=this.__data__;if(Me){var ut=He[ke];return ut===r?void 0:ut}return de.call(He,ke)?He[ke]:void 0},at.prototype.has=function(ke){var He=this.__data__;return Me?He[ke]!==void 0:de.call(He,ke)},at.prototype.set=function(ke,He){var ut=this.__data__;return this.size+=this.has(ke)?0:1,ut[ke]=Me&&He===void 0?r:He,this},$t.prototype.clear=function(){this.__data__=[],this.size=0},$t.prototype.delete=function(ke){var He=this.__data__,ut=hr(He,ke);return!(ut<0||(ut==He.length-1?He.pop():ve.call(He,ut,1),--this.size,0))},$t.prototype.get=function(ke){var He=this.__data__,ut=hr(He,ke);return ut<0?void 0:He[ut][1]},$t.prototype.has=function(ke){return hr(this.__data__,ke)>-1},$t.prototype.set=function(ke,He){var ut=this.__data__,It=hr(ut,ke);return It<0?(++this.size,ut.push([ke,He])):ut[It][1]=He,this},Ee.prototype.clear=function(){this.size=0,this.__data__={hash:new at,map:new(Ge||$t),string:new at}},Ee.prototype.delete=function(ke){var He=_r(this,ke).delete(ke);return this.size-=He?1:0,He},Ee.prototype.get=function(ke){return _r(this,ke).get(ke)},Ee.prototype.has=function(ke){return _r(this,ke).has(ke)},Ee.prototype.set=function(ke,He){var ut=_r(this,ke),It=ut.size;return ut.set(ke,He),this.size+=ut.size==It?0:1,this},Be.prototype.add=Be.prototype.push=function(ke){return this.__data__.set(ke,r),this},Be.prototype.has=function(ke){return this.__data__.has(ke)},qt.prototype.clear=function(){this.__data__=new $t,this.size=0},qt.prototype.delete=function(ke){var He=this.__data__,ut=He.delete(ke);return this.size=He.size,ut},qt.prototype.get=function(ke){return this.__data__.get(ke)},qt.prototype.has=function(ke){return this.__data__.has(ke)},qt.prototype.set=function(ke,He){var ut=this.__data__;if(ut instanceof $t){var It=ut.__data__;if(!Ge||It.length<199)return It.push([ke,He]),this.size=++ut.size,this;ut=this.__data__=new Ee(It)}return ut.set(ke,He),this.size=ut.size,this};var wt=qe?function(ke){return ke==null?[]:(ke=Object(ke),(function(He,ut){for(var It=-1,wr=He==null?0:He.length,Cr=0,sn=[];++It<wr;){var pn=He[It];ut(pn,It,He)&&(sn[Cr++]=pn)}return sn})(qe(ke),function(He){return Se.call(ke,He)}))}:function(){return[]},Pe=ir;function Ae(ke,He){return!!(He=He??n)&&(typeof ke=="number"||k.test(ke))&&ke>-1&&ke%1==0&&ke<He}function ze(ke){if(ke!=null){try{return fe.call(ke)}catch{}try{return ke+""}catch{}}return""}function _t(ke,He){return ke===He||ke!=ke&&He!=He}(je&&Pe(new je(new ArrayBuffer(1)))!=w||Ge&&Pe(new Ge)!=d||nt&&Pe(nt.resolve())!=m||Re&&Pe(new Re)!=_||we&&Pe(new we)!=b)&&(Pe=function(ke){var He=ir(ke),ut=He==p?ke.constructor:void 0,It=ut?ze(ut):"";if(It)switch(It){case $e:return w;case Ve:return d;case Ne:return m;case Oe:return _;case ft:return b}return He});var jt=cr((function(){return arguments})())?cr:function(ke){return or(ke)&&de.call(ke,"callee")&&!Se.call(ke,"callee")},Gt=Array.isArray,Yt=Le||function(){return!1};function Rt(ke){if(!zt(ke))return!1;var He=ir(ke);return He==u||He=="[object GeneratorFunction]"||He=="[object AsyncFunction]"||He=="[object Proxy]"}function At(ke){return typeof ke=="number"&&ke>-1&&ke%1==0&&ke<=n}function zt(ke){var He=typeof ke;return ke!=null&&(He=="object"||He=="function")}function or(ke){return ke!=null&&typeof ke=="object"}var ot=U?(function(ke){return function(He){return ke(He)}})(U):function(ke){return or(ke)&&At(ke.length)&&!!A[ir(ke)]};function ct(ke){return(He=ke)!=null&&At(He.length)&&!Rt(He)?ar(ke):Ut(ke);var He}t.exports=function(ke,He){return kr(ke,He)}})(TR,TR.exports)),TR.exports),uVe=Y0(cVe);function kY(t,e,r){return t[e]?t[e][0]?t[e][0][r]:t[e][r]:e==="contentBoxSize"?t.contentRect[r==="inlineSize"?"width":"height"]:void 0}function dVe(t){t===void 0&&(t={});var e=t.onResize,r=I.useRef(void 0);r.current=e;var n=t.round||Math.round,s=I.useRef(),i=I.useState({width:void 0,height:void 0}),o=i[0],l=i[1],c=I.useRef(!1);I.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var u=I.useRef({width:void 0,height:void 0}),d=(function(f,p){var m=I.useRef(null),h=I.useRef(null);h.current=p;var _=I.useRef(null);I.useEffect(function(){g()});var g=I.useCallback(function(){var y=_.current,b=h.current,x=y||(b?b instanceof Element?b:b.current:null);m.current&&m.current.element===x&&m.current.subscriber===f||(m.current&&m.current.cleanup&&m.current.cleanup(),m.current={element:x,subscriber:f,cleanup:x?f(x):void 0})},[f]);return I.useEffect(function(){return function(){m.current&&m.current.cleanup&&(m.current.cleanup(),m.current=null)}},[]),I.useCallback(function(y){_.current=y,g()},[g])})(I.useCallback(function(f){return s.current&&s.current.box===t.box&&s.current.round===n||(s.current={box:t.box,round:n,instance:new ResizeObserver(function(p){var m=p[0],h=t.box==="border-box"?"borderBoxSize":t.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",_=kY(m,h,"inlineSize"),g=kY(m,h,"blockSize"),y=_?n(_):void 0,b=g?n(g):void 0;if(u.current.width!==y||u.current.height!==b){var x={width:y,height:b};u.current.width=y,u.current.height=b,r.current?r.current(x):c.current||l(x)}})}),s.current.instance.observe(f,{box:t.box}),function(){s.current&&s.current.instance.unobserve(f)}},[t.box,n]),t.ref);return I.useMemo(function(){return{ref:d,width:o.width,height:o.height}},[d,o.width,o.height])}var fVe="allotment-module_splitView__L-yRc",pVe="allotment-module_sashContainer__fzwJF",mVe="allotment-module_splitViewContainer__rQnVa",rle="allotment-module_splitViewView__MGZ6O",hVe="allotment-module_vertical__WSwwa",gVe="allotment-module_horizontal__7doS8",_Ve="allotment-module_separatorBorder__x-rDS";let ky,nle=!1,sle=!1;typeof navigator=="object"&&(ky=navigator.userAgent,sle=ky.indexOf("Macintosh")>=0,nle=(ky.indexOf("Macintosh")>=0||ky.indexOf("iPad")>=0||ky.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0);const ile=nle,vVe=sle,MY=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?I.useLayoutEffect:I.useEffect;let yVe=class{constructor(){this._size=void 0}getSize(){return this._size}setSize(e){this._size=e}};function C2(t,e){const r=t.length,n=r-e.length;return n>=0&&t.slice(n,r)===e}var PY,jY={exports:{}},TY,EY,bVe=(PY||(PY=1,(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}function s(c,u,d){this.fn=c,this.context=u,this.once=d||!1}function i(c,u,d,f,p){if(typeof d!="function")throw new TypeError("The listener must be a function");var m=new s(d,f||c,p),h=r?r+u:u;return c._events[h]?c._events[h].fn?c._events[h]=[c._events[h],m]:c._events[h].push(m):(c._events[h]=m,c._eventsCount++),c}function o(c,u){--c._eventsCount==0?c._events=new n:delete c._events[u]}function l(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1)),l.prototype.eventNames=function(){var c,u,d=[];if(this._eventsCount===0)return d;for(u in c=this._events)e.call(c,u)&&d.push(r?u.slice(1):u);return Object.getOwnPropertySymbols?d.concat(Object.getOwnPropertySymbols(c)):d},l.prototype.listeners=function(c){var u=r?r+c:c,d=this._events[u];if(!d)return[];if(d.fn)return[d.fn];for(var f=0,p=d.length,m=new Array(p);f<p;f++)m[f]=d[f].fn;return m},l.prototype.listenerCount=function(c){var u=r?r+c:c,d=this._events[u];return d?d.fn?1:d.length:0},l.prototype.emit=function(c,u,d,f,p,m){var h=r?r+c:c;if(!this._events[h])return!1;var _,g,y=this._events[h],b=arguments.length;if(y.fn){switch(y.once&&this.removeListener(c,y.fn,void 0,!0),b){case 1:return y.fn.call(y.context),!0;case 2:return y.fn.call(y.context,u),!0;case 3:return y.fn.call(y.context,u,d),!0;case 4:return y.fn.call(y.context,u,d,f),!0;case 5:return y.fn.call(y.context,u,d,f,p),!0;case 6:return y.fn.call(y.context,u,d,f,p,m),!0}for(g=1,_=new Array(b-1);g<b;g++)_[g-1]=arguments[g];y.fn.apply(y.context,_)}else{var x,w=y.length;for(g=0;g<w;g++)switch(y[g].once&&this.removeListener(c,y[g].fn,void 0,!0),b){case 1:y[g].fn.call(y[g].context);break;case 2:y[g].fn.call(y[g].context,u);break;case 3:y[g].fn.call(y[g].context,u,d);break;case 4:y[g].fn.call(y[g].context,u,d,f);break;default:if(!_)for(x=1,_=new Array(b-1);x<b;x++)_[x-1]=arguments[x];y[g].fn.apply(y[g].context,_)}}return!0},l.prototype.on=function(c,u,d){return i(this,c,u,d,!1)},l.prototype.once=function(c,u,d){return i(this,c,u,d,!0)},l.prototype.removeListener=function(c,u,d,f){var p=r?r+c:c;if(!this._events[p])return this;if(!u)return o(this,p),this;var m=this._events[p];if(m.fn)m.fn!==u||f&&!m.once||d&&m.context!==d||o(this,p);else{for(var h=0,_=[],g=m.length;h<g;h++)(m[h].fn!==u||f&&!m[h].once||d&&m[h].context!==d)&&_.push(m[h]);_.length?this._events[p]=_.length===1?_[0]:_:o(this,p)}return this},l.prototype.removeAllListeners=function(c){var u;return c?(u=r?r+c:c,this._events[u]&&o(this,u)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(jY)),jY.exports),gN=Y0(bVe);function RY(t,e){const r=t.indexOf(e);r>-1&&(t.splice(r,1),t.unshift(e))}function ER(t,e){const r=t.indexOf(e);r>-1&&(t.splice(r,1),t.push(e))}function Il(t,e,r=1){const n=Math.max(0,Math.ceil((e-t)/r)),s=new Array(n);let i=-1;for(;++i<n;)s[i]=t+i*r;return s}var xVe=Y0((function(){if(EY)return TY;EY=1;var t=/^\s+|\s+$/g,e=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,n=/^0o[0-7]+$/i,s=parseInt,i=typeof lp=="object"&&lp&&lp.Object===Object&&lp,o=typeof self=="object"&&self&&self.Object===Object&&self,l=i||o||Function("return this")(),c=Object.prototype.toString,u=Math.max,d=Math.min,f=function(){return l.Date.now()};function p(h){var _=typeof h;return!!h&&(_=="object"||_=="function")}function m(h){if(typeof h=="number")return h;if((function(y){return typeof y=="symbol"||(function(b){return!!b&&typeof b=="object"})(y)&&c.call(y)=="[object Symbol]"})(h))return NaN;if(p(h)){var _=typeof h.valueOf=="function"?h.valueOf():h;h=p(_)?_+"":_}if(typeof h!="string")return h===0?h:+h;h=h.replace(t,"");var g=r.test(h);return g||n.test(h)?s(h.slice(2),g?2:8):e.test(h)?NaN:+h}return TY=function(h,_,g){var y,b,x,w,C,k,A=0,P=!1,T=!1,j=!0;if(typeof h!="function")throw new TypeError("Expected a function");function R(U){var z=y,H=b;return y=b=void 0,A=U,w=h.apply(H,z)}function D(U){var z=U-k;return k===void 0||z>=_||z<0||T&&U-A>=x}function O(){var U=f();if(D(U))return N(U);C=setTimeout(O,(function(z){var H=_-(z-k);return T?d(H,x-(z-A)):H})(U))}function N(U){return C=void 0,j&&y?R(U):(y=b=void 0,w)}function F(){var U=f(),z=D(U);if(y=arguments,b=this,k=U,z){if(C===void 0)return(function(H){return A=H,C=setTimeout(O,_),P?R(H):w})(k);if(T)return C=setTimeout(O,_),R(k)}return C===void 0&&(C=setTimeout(O,_)),w}return _=m(_)||0,p(g)&&(P=!!g.leading,x=(T="maxWait"in g)?u(m(g.maxWait)||0,_):x,j="trailing"in g?!!g.trailing:j),F.cancel=function(){C!==void 0&&clearTimeout(C),A=0,y=k=b=C=void 0},F.flush=function(){return C===void 0?w:N(f())},F}})()),SVe="sash-module_sash__K-9lB",wVe="sash-module_disabled__Hm-wx",CVe="sash-module_mac__Jf6OJ",IY="sash-module_vertical__pB-rs",AVe="sash-module_minimum__-UKxp",kVe="sash-module_maximum__TCWxD",DY="sash-module_horizontal__kFbiw",RR="sash-module_hover__80W6I",IR="sash-module_active__bJspD";let Vl=(function(t){return t.Vertical="VERTICAL",t.Horizontal="HORIZONTAL",t})({}),rl=(function(t){return t.Disabled="DISABLED",t.Minimum="MINIMUM",t.Maximum="MAXIMUM",t.Enabled="ENABLED",t})({}),ole=ile?20:8;const ale=new gN;let $Y=class extends gN{get state(){return this._state}set state(e){this._state!==e&&(this.el.classList.toggle(wVe,e===rl.Disabled),this.el.classList.toggle("sash-disabled",e===rl.Disabled),this.el.classList.toggle(AVe,e===rl.Minimum),this.el.classList.toggle("sash-minimum",e===rl.Minimum),this.el.classList.toggle(kVe,e===rl.Maximum),this.el.classList.toggle("sash-maximum",e===rl.Maximum),this._state=e,this.emit("enablementChange",e))}constructor(e,r,n){var s;super(),this.el=void 0,this.layoutProvider=void 0,this.orientation=void 0,this.size=void 0,this.hoverDelay=300,this.hoverDelayer=xVe(i=>i.classList.add("sash-hover",RR),this.hoverDelay),this._state=rl.Enabled,this.onPointerStart=i=>{const o=i.pageX,l=i.pageY,c={startX:o,currentX:o,startY:l,currentY:l};this.el.classList.add("sash-active",IR),this.emit("start",c),this.el.setPointerCapture(i.pointerId);const u=f=>{f.preventDefault();const p={startX:o,currentX:f.pageX,startY:l,currentY:f.pageY};this.emit("change",p)},d=f=>{f.preventDefault(),this.el.classList.remove("sash-active",IR),this.hoverDelayer.cancel(),this.emit("end"),this.el.releasePointerCapture(f.pointerId),window.removeEventListener("pointermove",u),window.removeEventListener("pointerup",d)};window.addEventListener("pointermove",u),window.addEventListener("pointerup",d)},this.onPointerDoublePress=()=>{this.emit("reset")},this.onMouseEnter=()=>{this.el.classList.contains(IR)?(this.hoverDelayer.cancel(),this.el.classList.add("sash-hover",RR)):this.hoverDelayer(this.el)},this.onMouseLeave=()=>{this.hoverDelayer.cancel(),this.el.classList.remove("sash-hover",RR)},this.el=document.createElement("div"),this.el.classList.add("sash",SVe),this.el.dataset.testid="sash",e.append(this.el),vVe&&this.el.classList.add("sash-mac",CVe),this.el.addEventListener("pointerdown",this.onPointerStart),this.el.addEventListener("dblclick",this.onPointerDoublePress),this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("mouseleave",this.onMouseLeave),typeof n.size=="number"?(this.size=n.size,n.orientation===Vl.Vertical?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=ole,ale.on("onDidChangeGlobalSize",i=>{this.size=i,this.layout()})),this.layoutProvider=r,this.orientation=(s=n.orientation)!=null?s:Vl.Vertical,this.orientation===Vl.Horizontal?(this.el.classList.add("sash-horizontal",DY),this.el.classList.remove("sash-vertical",IY)):(this.el.classList.remove("sash-horizontal",DY),this.el.classList.add("sash-vertical",IY)),this.layout()}layout(){if(this.orientation===Vl.Vertical){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}dispose(){this.el.removeEventListener("pointerdown",this.onPointerStart),this.el.removeEventListener("dblclick",this.onPointerDoublePress),this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("mouseleave",()=>this.onMouseLeave),this.el.remove()}},$C;var DR;(DR=$C||($C={})).Distribute={type:"distribute"},DR.Split=function(t){return{type:"split",index:t}},DR.Invisible=function(t){return{type:"invisible",cachedVisibleSize:t}};let Ul=(function(t){return t.Normal="NORMAL",t.Low="LOW",t.High="HIGH",t})({}),lle=class{constructor(e,r,n){this.container=void 0,this.view=void 0,this._size=void 0,this._cachedVisibleSize=void 0,this.container=e,this.view=r,this.container.classList.add("split-view-view",rle),this.container.dataset.testid="split-view-view",typeof n=="number"?(this._size=n,this._cachedVisibleSize=void 0,e.classList.add("split-view-view-visible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get priority(){return this.view.priority}get snap(){return!!this.view.snap}get cachedVisibleSize(){return this._cachedVisibleSize}get visible(){return this._cachedVisibleSize===void 0}setVisible(e,r){e!==this.visible&&(e?(this.size=wc(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof r=="number"?r:this.size,this.size=0),this.container.classList.toggle("split-view-view-visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e){this.layoutContainer(e),this.view.layout(this.size,e)}},MVe=class extends lle{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}},PVe=class extends lle{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}},jVe=class extends gN{get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}constructor(e,r={},n,s,i){var o,l;if(super(),this.onDidChange=void 0,this.onDidDragStart=void 0,this.onDidDragEnd=void 0,this.orientation=void 0,this.sashContainer=void 0,this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.sashDragState=void 0,this.proportionalLayout=void 0,this.getSashOrthogonalSize=void 0,this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onSashEnd=c=>{this.emit("sashchange",c),this.saveProportions();for(const u of this.viewItems)u.enabled=!0},this.orientation=(o=r.orientation)!=null?o:Vl.Vertical,this.proportionalLayout=(l=r.proportionalLayout)!=null?l:!0,this.getSashOrthogonalSize=r.getSashOrthogonalSize,n&&(this.onDidChange=n),s&&(this.onDidDragStart=s),i&&(this.onDidDragEnd=i),this.sashContainer=document.createElement("div"),this.sashContainer.classList.add("sash-container",pVe),e.prepend(this.sashContainer),r.descriptor){this.size=r.descriptor.size;for(const[c,u]of r.descriptor.views.entries()){const d=u.size,f=u.container,p=u.view;this.addView(f,p,d,c,!0)}this.contentSize=this.viewItems.reduce((c,u)=>c+u.size,0),this.saveProportions()}}addView(e,r,n,s=this.viewItems.length,i){let o;o=typeof n=="number"?n:n.type==="split"?this.getViewSize(n.index)/2:n.type==="invisible"?{cachedVisibleSize:n.cachedVisibleSize}:r.minimumSize;const l=this.orientation===Vl.Vertical?new PVe(e,r,o):new MVe(e,r,o);if(this.viewItems.splice(s,0,l),this.viewItems.length>1){const c=this.orientation===Vl.Vertical?new $Y(this.sashContainer,{getHorizontalSashTop:f=>this.getSashPosition(f),getHorizontalSashWidth:this.getSashOrthogonalSize},{orientation:Vl.Horizontal}):new $Y(this.sashContainer,{getVerticalSashLeft:f=>this.getSashPosition(f),getVerticalSashHeight:this.getSashOrthogonalSize},{orientation:Vl.Vertical}),u=this.orientation===Vl.Vertical?f=>({sash:c,start:f.startY,current:f.currentY}):f=>({sash:c,start:f.startX,current:f.currentX});c.on("start",f=>{var p;this.emit("sashDragStart"),this.onSashStart(u(f));const m=this.viewItems.map(h=>h.size);(p=this.onDidDragStart)==null||p.call(this,m)}),c.on("change",f=>this.onSashChange(u(f))),c.on("end",()=>{var f;this.emit("sashDragEnd"),this.onSashEnd(this.sashItems.findIndex(m=>m.sash===c));const p=this.viewItems.map(m=>m.size);(f=this.onDidDragEnd)==null||f.call(this,p)}),c.on("reset",()=>{const f=this.sashItems.findIndex(g=>g.sash===c),p=Il(f,-1,-1),m=Il(f+1,this.viewItems.length),h=this.findFirstSnapIndex(p),_=this.findFirstSnapIndex(m);(typeof h!="number"||this.viewItems[h].visible)&&(typeof _!="number"||this.viewItems[_].visible)&&this.emit("sashreset",f)});const d={sash:c};this.sashItems.splice(s-1,0,d)}i||this.relayout(),i||typeof n=="number"||n.type!=="distribute"||this.distributeViewSizes()}removeView(e,r){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");const n=this.viewItems.splice(e,1)[0].view;if(this.viewItems.length>=1){const s=Math.max(e-1,0);this.sashItems.splice(s,1)[0].sash.dispose()}return this.relayout(),r&&r.type==="distribute"&&this.distributeViewSizes(),n}moveView(e,r,n){const s=this.getViewCachedVisibleSize(r),i=s===void 0?this.getViewSize(r):$C.Invisible(s),o=this.removeView(r);this.addView(e,o,i,n)}getViewCachedVisibleSize(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].cachedVisibleSize}layout(e=this.size){const r=Math.max(this.size,this.contentSize);if(this.size=e,this.proportions)for(let n=0;n<this.viewItems.length;n++){const s=this.viewItems[n];s.size=wc(Math.round(this.proportions[n]*e),s.minimumSize,s.maximumSize)}else{const n=Il(0,this.viewItems.length),s=n.filter(o=>this.viewItems[o].priority===Ul.Low),i=n.filter(o=>this.viewItems[o].priority===Ul.High);this.resize(this.viewItems.length-1,e-r,void 0,s,i)}this.distributeEmptySpace(),this.layoutViews()}resizeView(e,r){if(e<0||e>=this.viewItems.length)return;const n=Il(0,this.viewItems.length).filter(l=>l!==e),s=[...n.filter(l=>this.viewItems[l].priority===Ul.Low),e],i=n.filter(l=>this.viewItems[l].priority===Ul.High),o=this.viewItems[e];r=Math.round(r),r=wc(r,o.minimumSize,Math.min(o.maximumSize,this.size)),o.size=r,this.relayout(s,i)}resizeViews(e){for(let r=0;r<e.length;r++){const n=this.viewItems[r];let s=e[r];s=Math.round(s),s=wc(s,n.minimumSize,Math.min(n.maximumSize,this.size)),n.size=s}this.contentSize=this.viewItems.reduce((r,n)=>r+n.size,0),this.saveProportions(),this.layout(this.size)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}isViewVisible(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].visible}setViewVisible(e,r){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");this.viewItems[e].setVisible(r),this.distributeEmptySpace(e),this.layoutViews(),this.saveProportions()}distributeViewSizes(){const e=[];let r=0;for(const l of this.viewItems)l.maximumSize-l.minimumSize>0&&(e.push(l),r+=l.size);const n=Math.floor(r/e.length);for(const l of e)l.size=wc(n,l.minimumSize,l.maximumSize);const s=Il(0,this.viewItems.length),i=s.filter(l=>this.viewItems[l].priority===Ul.Low),o=s.filter(l=>this.viewItems[l].priority===Ul.High);this.relayout(i,o)}dispose(){this.sashItems.forEach(e=>e.sash.dispose()),this.sashItems=[],this.sashContainer.remove()}relayout(e,r){const n=this.viewItems.reduce((s,i)=>s+i.size,0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,r),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}onSashStart({sash:e,start:r}){const n=this.sashItems.findIndex(s=>s.sash===e);(s=>{const i=this.viewItems.map(b=>b.size);let o,l,c=Number.NEGATIVE_INFINITY,u=Number.POSITIVE_INFINITY;const d=Il(n,-1,-1),f=Il(n+1,this.viewItems.length),p=d.reduce((b,x)=>b+(this.viewItems[x].minimumSize-i[x]),0),m=d.reduce((b,x)=>b+(this.viewItems[x].viewMaximumSize-i[x]),0),h=f.length===0?Number.POSITIVE_INFINITY:f.reduce((b,x)=>b+(i[x]-this.viewItems[x].minimumSize),0),_=f.length===0?Number.NEGATIVE_INFINITY:f.reduce((b,x)=>b+(i[x]-this.viewItems[x].viewMaximumSize),0);c=Math.max(p,_),u=Math.min(h,m);const g=this.findFirstSnapIndex(d),y=this.findFirstSnapIndex(f);if(typeof g=="number"){const b=this.viewItems[g],x=Math.floor(b.viewMinimumSize/2);o={index:g,limitDelta:b.visible?c-x:c+x,size:b.size}}if(typeof y=="number"){const b=this.viewItems[y],x=Math.floor(b.viewMinimumSize/2);l={index:y,limitDelta:b.visible?u+x:u-x,size:b.size}}this.sashDragState={start:s,current:s,index:n,sizes:i,minDelta:c,maxDelta:u,snapBefore:o,snapAfter:l}})(r)}onSashChange({current:e}){const{index:r,start:n,sizes:s,minDelta:i,maxDelta:o,snapBefore:l,snapAfter:c}=this.sashDragState;this.sashDragState.current=e;const u=e-n;this.resize(r,u,s,void 0,void 0,i,o,l,c),this.distributeEmptySpace(),this.layoutViews()}getSashPosition(e){let r=0;for(let n=0;n<this.sashItems.length;n++)if(r+=this.viewItems[n].size,this.sashItems[n].sash===e)return r;return 0}resize(e,r,n=this.viewItems.map(d=>d.size),s,i,o=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY,c,u){if(e<0||e>=this.viewItems.length)return 0;const d=Il(e,-1,-1),f=Il(e+1,this.viewItems.length);if(i)for(const A of i)RY(d,A),RY(f,A);if(s)for(const A of s)ER(d,A),ER(f,A);const p=d.map(A=>this.viewItems[A]),m=d.map(A=>n[A]),h=f.map(A=>this.viewItems[A]),_=f.map(A=>n[A]),g=d.reduce((A,P)=>A+(this.viewItems[P].minimumSize-n[P]),0),y=d.reduce((A,P)=>A+(this.viewItems[P].maximumSize-n[P]),0),b=f.length===0?Number.POSITIVE_INFINITY:f.reduce((A,P)=>A+(n[P]-this.viewItems[P].minimumSize),0),x=f.length===0?Number.NEGATIVE_INFINITY:f.reduce((A,P)=>A+(n[P]-this.viewItems[P].maximumSize),0),w=Math.max(g,x,o),C=Math.min(b,y,l);let k=!1;if(c){const A=this.viewItems[c.index],P=r>=c.limitDelta;k=P!==A.visible,A.setVisible(P,c.size)}if(!k&&u){const A=this.viewItems[u.index],P=r<u.limitDelta;k=P!==A.visible,A.setVisible(P,u.size)}if(k)return this.resize(e,r,n,s,i,o,l);for(let A=0,P=r=wc(r,w,C);A<p.length;A++){const T=p[A],j=wc(m[A]+P,T.minimumSize,T.maximumSize);P-=j-m[A],T.size=j}for(let A=0,P=r;A<h.length;A++){const T=h[A],j=wc(_[A]-P,T.minimumSize,T.maximumSize);P+=j-_[A],T.size=j}return r}distributeEmptySpace(e){const r=this.viewItems.reduce((u,d)=>u+d.size,0);let n=this.size-r;const s=Il(0,this.viewItems.length),i=[],o=s.filter(u=>this.viewItems[u].priority===Ul.Low),l=s.filter(u=>this.viewItems[u].priority===Ul.Normal),c=s.filter(u=>this.viewItems[u].priority===Ul.High);i.push(...c,...l,...o),typeof e=="number"&&ER(i,e);for(let u=0;n!==0&&u<i.length;u++){const d=this.viewItems[i[u]],f=wc(d.size+n,d.minimumSize,d.maximumSize);n-=f-d.size,d.size=f}}layoutViews(){var e;this.contentSize=this.viewItems.reduce((n,s)=>n+s.size,0);let r=0;for(const n of this.viewItems)n.layout(r),r+=n.size;(e=this.onDidChange)!=null&&e.call(this,this.viewItems.map(n=>n.size)),this.sashItems.forEach(n=>n.sash.layout()),this.updateSashEnablement()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(e=>e.size/this.contentSize))}updateSashEnablement(){let e=!1;const r=this.viewItems.map(c=>e=c.size-c.minimumSize>0||e);e=!1;const n=this.viewItems.map(c=>e=c.maximumSize-c.size>0||e),s=[...this.viewItems].reverse();e=!1;const i=s.map(c=>e=c.size-c.minimumSize>0||e).reverse();e=!1;const o=s.map(c=>e=c.maximumSize-c.size>0||e).reverse();let l=0;for(let c=0;c<this.sashItems.length;c++){const{sash:u}=this.sashItems[c];l+=this.viewItems[c].size;const d=!(r[c]&&o[c+1]),f=!(n[c]&&i[c+1]);if(d&&f){const p=Il(c,-1,-1),m=Il(c+1,this.viewItems.length),h=this.findFirstSnapIndex(p),_=this.findFirstSnapIndex(m),g=typeof h=="number"&&!this.viewItems[h].visible,y=typeof _=="number"&&!this.viewItems[_].visible;g&&i[c]&&(l>0||this.startSnappingEnabled)?u.state=rl.Minimum:y&&r[c]&&(l<this.contentSize||this.endSnappingEnabled)?u.state=rl.Maximum:u.state=rl.Disabled}else u.state=d&&!f?rl.Minimum:!d&&f?rl.Maximum:rl.Enabled}}findFirstSnapIndex(e){for(const r of e){const n=this.viewItems[r];if(n.visible&&n.snap)return r}for(const r of e){const n=this.viewItems[r];if(n.visible&&n.maximumSize-n.minimumSize>0)return;if(!n.visible&&n.snap)return r}}},Vg=class{constructor(e){this.size=void 0,this.size=e}getPreferredSize(){return this.size}},OY=class{constructor(e,r){this.proportion=void 0,this.layoutService=void 0,this.proportion=e,this.layoutService=r}getPreferredSize(){return this.proportion*this.layoutService.getSize()}},A2=class{getPreferredSize(){}},LY=class{get preferredSize(){return this.layoutStrategy.getPreferredSize()}set preferredSize(e){if(typeof e=="number")this.layoutStrategy=new Vg(e);else if(typeof e=="string"){const r=e.trim();if(C2(r,"%")){const n=Number(r.slice(0,-1))/100;this.layoutStrategy=new OY(n,this.layoutService)}else if(C2(r,"px")){const n=Number(r.slice(0,-2))/100;this.layoutStrategy=new Vg(n)}else if(typeof Number.parseFloat(r)=="number"){const n=Number.parseFloat(r);this.layoutStrategy=new Vg(n)}else this.layoutStrategy=new A2}else this.layoutStrategy=new A2}constructor(e,r){var n;if(this.minimumSize=0,this.maximumSize=Number.POSITIVE_INFINITY,this.element=void 0,this.priority=void 0,this.snap=void 0,this.layoutService=void 0,this.layoutStrategy=void 0,this.layoutService=e,this.element=r.element,this.minimumSize=typeof r.minimumSize=="number"?r.minimumSize:30,this.maximumSize=typeof r.maximumSize=="number"?r.maximumSize:Number.POSITIVE_INFINITY,typeof r.preferredSize=="number")this.layoutStrategy=new Vg(r.preferredSize);else if(typeof r.preferredSize=="string"){const s=r.preferredSize.trim();if(C2(s,"%")){const i=Number(s.slice(0,-1))/100;this.layoutStrategy=new OY(i,this.layoutService)}else if(C2(s,"px")){const i=Number(s.slice(0,-2));this.layoutStrategy=new Vg(i)}else if(typeof Number.parseFloat(s)=="number"){const i=Number.parseFloat(s);this.layoutStrategy=new Vg(i)}else this.layoutStrategy=new A2}else this.layoutStrategy=new A2;this.priority=(n=r.priority)!=null?n:Ul.Normal,this.snap=typeof r.snap=="boolean"&&r.snap}layout(e){}};function NY(t){return t.minSize!==void 0||t.maxSize!==void 0||t.preferredSize!==void 0||t.priority!==void 0||t.visible!==void 0}const _N=I.forwardRef(({className:t,children:e},r)=>Yn.createElement("div",{ref:r,className:J6("split-view-view",rle,t)},e));_N.displayName="Allotment.Pane";const cle=I.forwardRef(({children:t,className:e,id:r,maxSize:n=1/0,minSize:s=30,proportionalLayout:i=!0,separator:o=!0,sizes:l,defaultSizes:c=l,snap:u=!1,vertical:d=!1,onChange:f,onReset:p,onVisibleChange:m,onDragStart:h,onDragEnd:_},g)=>{const y=I.useRef(null),b=I.useRef([]),x=I.useRef(new Map),w=I.useRef(null),C=I.useRef(new Map),k=I.useRef(new yVe),A=I.useRef([]),[P,T]=I.useState(!1),j=I.useMemo(()=>Yn.Children.toArray(t).filter(Yn.isValidElement),[t]),R=I.useCallback(D=>{var O,N;const F=(O=A.current)==null?void 0:O[D];return typeof F?.preferredSize=="number"&&((N=w.current)!=null&&N.resizeView(D,Math.round(F.preferredSize)),!0)},[]);return I.useImperativeHandle(g,()=>({reset:()=>{if(p)p();else{var D;(D=w.current)==null||D.distributeViewSizes();for(let O=0;O<A.current.length;O++)R(O)}},resize:D=>{var O;(O=w.current)==null||O.resizeViews(D)}})),MY(()=>{let D=!0;c&&C.current.size!==c.length&&(D=!1,console.warn(`Expected ${c.length} children based on defaultSizes but found ${C.current.size}`)),D&&c&&(b.current=j.map(F=>F.key));const O=bb({orientation:d?Vl.Vertical:Vl.Horizontal,proportionalLayout:i},D&&c&&{descriptor:{size:c.reduce((F,U)=>F+U,0),views:c.map((F,U)=>{var z,H,W,K;const q=x.current.get(b.current[U]),X=new LY(k.current,bb({element:document.createElement("div"),minimumSize:(z=q?.minSize)!=null?z:s,maximumSize:(H=q?.maxSize)!=null?H:n,priority:(W=q?.priority)!=null?W:Ul.Normal},q?.preferredSize&&{preferredSize:q?.preferredSize},{snap:(K=q?.snap)!=null?K:u}));return A.current.push(X),{container:[...C.current.values()][U],size:F,view:X}})}});w.current=new jVe(y.current,O,f,h,_),w.current.on("sashDragStart",()=>{var F;(F=y.current)==null||F.classList.add("split-view-sash-dragging")}),w.current.on("sashDragEnd",()=>{var F;(F=y.current)==null||F.classList.remove("split-view-sash-dragging")}),w.current.on("sashchange",F=>{if(m&&w.current){const U=j.map(z=>z.key);for(let z=0;z<U.length;z++){const H=x.current.get(U[z]);H?.visible!==void 0&&H.visible!==w.current.isViewVisible(z)&&m(z,w.current.isViewVisible(z))}}}),w.current.on("sashreset",F=>{if(p)p();else{var U;if(R(F)||R(F+1))return;(U=w.current)==null||U.distributeViewSizes()}});const N=w.current;return()=>{N.dispose()}},[]),MY(()=>{if(P){const Q=j.map(de=>de.key),Y=[...b.current],Z=Q.filter(de=>!b.current.includes(de)),re=Q.filter(de=>b.current.includes(de)),fe=b.current.map(de=>!Q.includes(de));for(let de=fe.length-1;de>=0;de--){var D;fe[de]&&((D=w.current)!=null&&D.removeView(de),Y.splice(de,1),A.current.splice(de,1))}for(const de of Z){var O,N,F,U,z;const se=x.current.get(de),le=new LY(k.current,bb({element:document.createElement("div"),minimumSize:(O=se?.minSize)!=null?O:s,maximumSize:(N=se?.maxSize)!=null?N:n,priority:(F=se?.priority)!=null?F:Ul.Normal},se?.preferredSize&&{preferredSize:se?.preferredSize},{snap:(U=se?.snap)!=null?U:u}));(z=w.current)!=null&&z.addView(C.current.get(de),le,$C.Distribute,Q.findIndex(ee=>ee===de)),Y.splice(Q.findIndex(ee=>ee===de),0,de),A.current.splice(Q.findIndex(ee=>ee===de),0,le)}for(;!uVe(Q,Y);)for(const[de,se]of Q.entries()){const le=Y.findIndex(ee=>ee===se);if(le!==de){var H;(H=w.current)==null||H.moveView(C.current.get(se),le,de);const ee=Y[le];Y.splice(le,1),Y.splice(de,0,ee);break}}for(const de of Z){var W;const se=Q.findIndex(ee=>ee===de),le=A.current[se].preferredSize;le!==void 0&&((W=w.current)==null||W.resizeView(se,le))}for(const de of[...Z,...re]){var K,q;const se=x.current.get(de),le=Q.findIndex(ee=>ee===de);se&&NY(se)&&se.visible!==void 0&&((K=w.current)==null?void 0:K.isViewVisible(le))!==se.visible&&((q=w.current)==null||q.setViewVisible(le,se.visible))}for(const de of re){const se=x.current.get(de),le=Q.findIndex(ee=>ee===de);if(se&&NY(se)){var X;se.preferredSize!==void 0&&A.current[le].preferredSize!==se.preferredSize&&(A.current[le].preferredSize=se.preferredSize);let ee=!1;se.minSize!==void 0&&A.current[le].minimumSize!==se.minSize&&(A.current[le].minimumSize=se.minSize,ee=!0),se.maxSize!==void 0&&A.current[le].maximumSize!==se.maxSize&&(A.current[le].maximumSize=se.maxSize,ee=!0),ee&&((X=w.current)==null||X.layout())}}(Z.length>0||fe.length>0)&&(b.current=Q)}},[j,P,n,s,u]),I.useEffect(()=>{w.current&&(w.current.onDidChange=f)},[f]),I.useEffect(()=>{w.current&&(w.current.onDidDragStart=h)},[h]),I.useEffect(()=>{w.current&&(w.current.onDidDragEnd=_)},[_]),dVe({ref:y,onResize:({width:D,height:O})=>{var N;D&&O&&((N=w.current)!=null&&N.layout(d?O:D),k.current.setSize(d?O:D),T(!0))}}),I.useEffect(()=>{ile&&TVe(20)},[]),Yn.createElement("div",{ref:y,className:J6("split-view",d?"split-view-vertical":"split-view-horizontal",{"split-view-separator-border":o},fVe,d?hVe:gVe,{[_Ve]:o},e),id:r},Yn.createElement("div",{className:J6("split-view-container",mVe)},Yn.Children.toArray(t).map(D=>{if(!Yn.isValidElement(D))return null;const O=D.key;return D.type.displayName==="Allotment.Pane"?(x.current.set(O,D.props),Yn.cloneElement(D,{key:O,ref:N=>{const F=D.ref;F&&(F.current=N),N?C.current.set(O,N):C.current.delete(O)}})):Yn.createElement(_N,{key:O,ref:N=>{N?C.current.set(O,N):C.current.delete(O)}},D)})))});function TVe(t){const e=wc(t,4,20),r=wc(t,1,8);document.documentElement.style.setProperty("--sash-size",e+"px"),document.documentElement.style.setProperty("--sash-hover-size",r+"px"),(function(n){ole=n,ale.emit("onDidChangeGlobalSize",n)})(e)}cle.displayName="Allotment";var $R=Object.assign(cle,{Pane:_N});function ts(t){return typeof t!="object"||t===null||typeof t.lastModified=="number"&&typeof File<"u"&&t instanceof File||typeof t.getMonth=="function"&&typeof Date<"u"&&t instanceof Date?!1:!Array.isArray(t)}function EVe(t){return t.additionalItems===!0&&console.warn("additionalItems=true is currently not supported"),ts(t.additionalItems)}function FY(t){if(t==="")return;if(t===null)return null;if(/\.$/.test(t)||/\.0$/.test(t)||/\.\d*0$/.test(t))return t;const e=Number(t);return typeof e=="number"&&!Number.isNaN(e)?e:t}const Uh="__additional_property",e$="additionalProperties",Lv="allOf",Tc="anyOf",zd="const",RVe="default",HA="dependencies",IVe="enum",aa="__errors",cp="$id",DVe="if",gp="items",$Ve="_$junk_option_schema_id$_",Yw="$name",ll="oneOf",vi="properties",OVe="required",OC="submitButtonOptions",Hi="$ref",vN="__rjsf_additionalProperties",ule="__rjsf_rootSchema",LVe="ui:field",yN="ui:widget",xb="ui:options",NVe="ui:globalOptions";function Dn(t={},e={}){return Object.keys(t).filter(r=>r.indexOf("ui:")===0).reduce((r,n)=>{const s=t[n];return n===yN&&ts(s)?(console.error("Setting options via ui:widget object is no longer supported, use ui:options instead"),r):n===xb&&ts(s)?{...r,...s}:{...r,[n.substring(3)]:s}},{...e})}function bN(t,e={},r){if(!t.additionalProperties)return!1;const{expandable:n=!0}=Dn(e);return n===!1?n:t.maxProperties!==void 0&&r?Object.keys(r).length<t.maxProperties:!0}function LC(t){const e={[aa]:[],addError(r){this[aa].push(r)}};if(Array.isArray(t))return t.reduce((r,n,s)=>({...r,[s]:LC(n)}),e);if(ph(t)){const r=t;return Object.keys(r).reduce((n,s)=>({...n,[s]:LC(r[s])}),e)}return e}var FVe="__lodash_hash_undefined__";function UVe(t){return this.__data__.set(t,FVe),this}function BVe(t){return this.__data__.has(t)}function G_(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new khe;++e<r;)this.add(t[e])}G_.prototype.add=G_.prototype.push=UVe;G_.prototype.has=BVe;function zVe(t,e){for(var r=-1,n=t==null?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function xN(t,e){return t.has(e)}var qVe=1,VVe=2;function dle(t,e,r,n,s,i){var o=r&qVe,l=t.length,c=e.length;if(l!=c&&!(o&&c>l))return!1;var u=i.get(t),d=i.get(e);if(u&&d)return u==e&&d==t;var f=-1,p=!0,m=r&VVe?new G_:void 0;for(i.set(t,e),i.set(e,t);++f<l;){var h=t[f],_=e[f];if(n)var g=o?n(_,h,f,e,t,i):n(h,_,f,t,e,i);if(g!==void 0){if(g)continue;p=!1;break}if(m){if(!zVe(e,function(y,b){if(!xN(m,b)&&(h===y||s(h,y,r,n,i)))return m.push(b)})){p=!1;break}}else if(!(h===_||s(h,_,r,n,i))){p=!1;break}}return i.delete(t),i.delete(e),p}function HVe(t){var e=-1,r=Array(t.size);return t.forEach(function(n,s){r[++e]=[s,n]}),r}function SN(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var GVe=1,WVe=2,YVe="[object Boolean]",KVe="[object Date]",QVe="[object Error]",ZVe="[object Map]",XVe="[object Number]",JVe="[object RegExp]",eHe="[object Set]",tHe="[object String]",rHe="[object Symbol]",nHe="[object ArrayBuffer]",sHe="[object DataView]",UY=sC?sC.prototype:void 0,OR=UY?UY.valueOf:void 0;function iHe(t,e,r,n,s,i,o){switch(r){case sHe:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case nHe:return!(t.byteLength!=e.byteLength||!i(new ZF(t),new ZF(e)));case YVe:case KVe:case XVe:return K$(+t,+e);case QVe:return t.name==e.name&&t.message==e.message;case JVe:case tHe:return t==e+"";case ZVe:var l=HVe;case eHe:var c=n&GVe;if(l||(l=SN),t.size!=e.size&&!c)return!1;var u=o.get(t);if(u)return u==e;n|=WVe,o.set(t,e);var d=dle(l(t),l(e),n,s,i,o);return o.delete(t),d;case rHe:if(OR)return OR.call(t)==OR.call(e)}return!1}var oHe=1,aHe=Object.prototype,lHe=aHe.hasOwnProperty;function cHe(t,e,r,n,s,i){var o=r&oHe,l=XF(t),c=l.length,u=XF(e),d=u.length;if(c!=d&&!o)return!1;for(var f=c;f--;){var p=l[f];if(!(o?p in e:lHe.call(e,p)))return!1}var m=i.get(t),h=i.get(e);if(m&&h)return m==e&&h==t;var _=!0;i.set(t,e),i.set(e,t);for(var g=o;++f<c;){p=l[f];var y=t[p],b=e[p];if(n)var x=o?n(b,y,p,e,t,i):n(y,b,p,t,e,i);if(!(x===void 0?y===b||s(y,b,r,n,i):x)){_=!1;break}g||(g=p=="constructor")}if(_&&!g){var w=t.constructor,C=e.constructor;w!=C&&"constructor"in t&&"constructor"in e&&!(typeof w=="function"&&w instanceof w&&typeof C=="function"&&C instanceof C)&&(_=!1)}return i.delete(t),i.delete(e),_}var uHe=1,BY="[object Arguments]",zY="[object Array]",k2="[object Object]",dHe=Object.prototype,qY=dHe.hasOwnProperty;function fHe(t,e,r,n,s,i){var o=Da(t),l=Da(e),c=o?zY:LD(t),u=l?zY:LD(e);c=c==BY?k2:c,u=u==BY?k2:u;var d=c==k2,f=u==k2,p=c==u;if(p&&Rb(t)){if(!Rb(e))return!1;o=!0,d=!1}if(p&&!d)return i||(i=new ab),o||U3(t)?dle(t,e,r,n,s,i):iHe(t,e,c,r,n,s,i);if(!(r&uHe)){var m=d&&qY.call(t,"__wrapped__"),h=f&&qY.call(e,"__wrapped__");if(m||h){var _=m?t.value():t,g=h?e.value():e;return i||(i=new ab),s(_,g,r,n,i)}}return p?(i||(i=new ab),cHe(t,e,r,n,s,i)):!1}function GA(t,e,r,n,s){return t===e?!0:t==null||e==null||!Ib(t)&&!Ib(e)?t!==t&&e!==e:fHe(t,e,r,n,GA,s)}function pHe(t,e,r){r=typeof r=="function"?r:void 0;var n=r?r(t,e):void 0;return n===void 0?GA(t,e,void 0,r):!!n}function Bs(t,e){return pHe(t,e,(r,n)=>{if(typeof r=="function"&&typeof n=="function")return!0})}var mHe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hHe=/^\w*$/;function wN(t,e){if(Da(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Xee(t)?!0:hHe.test(t)||!mHe.test(t)||e!=null&&t in Object(e)}function Nv(t,e){return Da(t)?t:wN(t,e)?[t]:Mhe(Jee(t))}function WA(t,e){e=Nv(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[ov(e[r++])];return r&&r==n?t:void 0}function $r(t,e,r){var n=t==null?void 0:WA(t,e);return n===void 0?r:n}var gHe="[object Map]",_He="[object Set]",vHe=Object.prototype,yHe=vHe.hasOwnProperty;function W_(t){if(t==null)return!0;if(B3(t)&&(Da(t)||typeof t=="string"||typeof t.splice=="function"||Rb(t)||U3(t)||Db(t)))return!t.length;var e=LD(t);if(e==gHe||e==_He)return!t.size;if(Phe(t))return!jhe(t).length;for(var r in t)if(yHe.call(t,r))return!1;return!0}var My={},VY;function bHe(){if(VY)return My;VY=1;var t=/~/,e=/~[01]/g;function r(u){switch(u){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+u)}function n(u){return t.test(u)?u.replace(e,r):u}function s(u,d,f){for(var p,m,h=1,_=d.length;h<_;){if(d[h]==="constructor"||d[h]==="prototype"||d[h]==="__proto__")return u;if(p=n(d[h++]),m=_>h,typeof u[p]>"u"&&(Array.isArray(u)&&p==="-"&&(p=u.length),m&&(d[h]!==""&&d[h]<1/0||d[h]==="-"?u[p]=[]:u[p]={})),!m)break;u=u[p]}var g=u[p];return f===void 0?delete u[p]:u[p]=f,g}function i(u){if(typeof u=="string"){if(u=u.split("/"),u[0]==="")return u;throw new Error("Invalid JSON pointer.")}else if(Array.isArray(u)){for(const d of u)if(typeof d!="string"&&typeof d!="number")throw new Error("Invalid JSON pointer. Must be of type string or number.");return u}throw new Error("Invalid JSON pointer.")}function o(u,d){if(typeof u!="object")throw new Error("Invalid input object.");d=i(d);var f=d.length;if(f===1)return u;for(var p=1;p<f;){if(u=u[n(d[p++])],f===p)return u;if(typeof u!="object"||u===null)return}}function l(u,d,f){if(typeof u!="object")throw new Error("Invalid input object.");if(d=i(d),d.length===0)throw new Error("Invalid JSON pointer for set.");return s(u,d,f)}function c(u){var d=i(u);return{get:function(f){return o(f,d)},set:function(f,p){return l(f,d,p)}}}return My.get=o,My.set=l,My.compile=c,My}var xHe=bHe();const SHe=Pi(xHe);function wHe(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function CHe(t,e,r){var n=-1,s=t.length;e<0&&(e=-e>s?0:s+e),r=r>s?s:r,r<0&&(r+=s),s=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(s);++n<s;)i[n]=t[n+e];return i}function AHe(t,e){return e.length<2?t:WA(t,CHe(e,0,-1))}function fle(t,e){return e=Nv(e,t),t=AHe(t,e),t==null||delete t[ov(wHe(e))]}function kHe(t){return ph(t)?void 0:t}var HY=sC?sC.isConcatSpreadable:void 0;function MHe(t){return Da(t)||Db(t)||!!(HY&&t&&t[HY])}function K0(t,e,r,n,s){var i=-1,o=t.length;for(r||(r=MHe),s||(s=[]);++i<o;){var l=t[i];e>0&&r(l)?e>1?K0(l,e-1,r,n,s):The(s,l):n||(s[s.length]=l)}return s}function PHe(t){var e=t==null?0:t.length;return e?K0(t,1):[]}function jHe(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var GY=Math.max;function ple(t,e,r){return e=GY(e===void 0?t.length-1:e,0),function(){for(var n=arguments,s=-1,i=GY(n.length-e,0),o=Array(i);++s<i;)o[s]=n[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=n[s];return l[e]=r(o),jHe(t,this,l)}}function THe(t){return function(){return t}}function YA(t){return t}var EHe=JF?function(t,e){return JF(t,"toString",{configurable:!0,enumerable:!1,value:THe(e),writable:!0})}:YA,RHe=800,IHe=16,DHe=Date.now;function $He(t){var e=0,r=0;return function(){var n=DHe(),s=IHe-(n-r);if(r=n,s>0){if(++e>=RHe)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var mle=$He(EHe);function hle(t){return mle(ple(t,void 0,PHe),t+"")}var OHe=1,LHe=2,NHe=4,NC=hle(function(t,e){var r={};if(t==null)return r;var n=!1;e=ete(e,function(i){return i=Nv(i,t),n||(n=i.length>1),i}),tte(t,rte(t),r),n&&(r=Ehe(r,OHe|LHe|NHe,kHe));for(var s=e.length;s--;)fle(r,e[s]);return r});function CN(t,e){const r=e[t];return[NC(e,[t]),r]}function gle(t,e={},r=[]){const n=t||"";let s;if(n.startsWith("#"))s=decodeURIComponent(n.substring(1));else throw new Error(`Could not find a definition for ${t}.`);const i=SHe.get(e,s);if(i===void 0)throw new Error(`Could not find a definition for ${t}.`);const o=i[Hi];if(o){if(r.includes(o)){if(r.length===1)throw new Error(`Definition for ${t} is a circular reference`);const[d,...f]=r,p=[...f,n,d].join(" -> ");throw new Error(`Definition for ${d} contains a circular reference through ${p}`)}const[l,c]=CN(Hi,i),u=gle(c,e,[...r,n]);return Object.keys(l).length>0?{...l,...u}:u}return i}function _le(t,e={}){return gle(t,e,[])}var FHe=Object.prototype,UHe=FHe.hasOwnProperty;function BHe(t,e){return t!=null&&UHe.call(t,e)}function vle(t,e,r){e=Nv(e,t);for(var n=-1,s=e.length,i=!1;++n<s;){var o=ov(e[n]);if(!(i=t!=null&&r(t,o)))break;t=t[o]}return i||++n!=s?i:(s=t==null?0:t.length,!!s&&Rhe(s)&&Q$(o,s)&&(Da(t)||Db(t)))}function ia(t,e){return t!=null&&vle(t,e,BHe)}var zHe="[object Number]";function yle(t){return typeof t=="number"||Ib(t)&&nte(t)==zHe}var qHe="[object String]";function KA(t){return typeof t=="string"||!Da(t)&&Ib(t)&&nte(t)==qHe}function VHe(t,e,r,n){var s=-1,i=t==null?0:t.length;for(n&&i&&(r=t[++s]);++s<i;)r=e(r,t[s],s,t);return r}function HHe(t){return function(e,r,n){for(var s=-1,i=Object(e),o=n(e),l=o.length;l--;){var c=o[++s];if(r(i[c],c,i)===!1)break}return e}}var ble=HHe();function xle(t,e){return t&&ble(t,e,Fm)}function GHe(t,e){return function(r,n){if(r==null)return r;if(!B3(r))return t(r,n);for(var s=r.length,i=-1,o=Object(r);++i<s&&n(o[i],i,o)!==!1;);return r}}var Sle=GHe(xle),WHe=1,YHe=2;function KHe(t,e,r,n){var s=r.length,i=s;if(t==null)return!i;for(t=Object(t);s--;){var o=r[s];if(o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++s<i;){o=r[s];var l=o[0],c=t[l],u=o[1];if(o[2]){if(c===void 0&&!(l in t))return!1}else{var d=new ab,f;if(!(f===void 0?GA(u,c,WHe|YHe,n,d):f))return!1}}return!0}function wle(t){return t===t&&!Ci(t)}function QHe(t){for(var e=Fm(t),r=e.length;r--;){var n=e[r],s=t[n];e[r]=[n,s,wle(s)]}return e}function Cle(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}function ZHe(t){var e=QHe(t);return e.length==1&&e[0][2]?Cle(e[0][0],e[0][1]):function(r){return r===t||KHe(r,t,e)}}function XHe(t,e){return t!=null&&e in Object(t)}function Ale(t,e){return t!=null&&vle(t,e,XHe)}var JHe=1,eGe=2;function tGe(t,e){return wN(t)&&wle(e)?Cle(ov(t),e):function(r){var n=$r(r,t);return n===void 0&&n===e?Ale(r,t):GA(e,n,JHe|eGe)}}function rGe(t){return function(e){return e?.[t]}}function nGe(t){return function(e){return WA(e,t)}}function sGe(t){return wN(t)?rGe(ov(t)):nGe(t)}function AN(t){return typeof t=="function"?t:t==null?YA:typeof t=="object"?Da(t)?tGe(t[0],t[1]):ZHe(t):sGe(t)}function iGe(t,e,r,n,s){return s(t,function(i,o,l){r=n?(n=!1,i):e(r,i,o,l)}),r}function oGe(t,e,r){var n=Da(t)?VHe:iGe,s=arguments.length<3;return n(t,AN(e),r,s,Sle)}function kle(t){return typeof t=="function"?t:YA}var aGe=/\s/;function lGe(t){for(var e=t.length;e--&&aGe.test(t.charAt(e)););return e}var cGe=/^\s+/;function uGe(t){return t&&t.slice(0,lGe(t)+1).replace(cGe,"")}var WY=NaN,dGe=/^[-+]0x[0-9a-f]+$/i,fGe=/^0b[01]+$/i,pGe=/^0o[0-7]+$/i,mGe=parseInt;function hGe(t){if(typeof t=="number")return t;if(Xee(t))return WY;if(Ci(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Ci(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=uGe(t);var r=fGe.test(t);return r||pGe.test(t)?mGe(t.slice(2),r?2:8):dGe.test(t)?WY:+t}var YY=1/0,gGe=17976931348623157e292;function _Ge(t){if(!t)return t===0?t:0;if(t=hGe(t),t===YY||t===-YY){var e=t<0?-1:1;return e*gGe}return t===t?t:0}function vGe(t){var e=_Ge(t),r=e%1;return e===e?r?e-r:e:0}var yGe=9007199254740991,LR=4294967295,bGe=Math.min;function Mle(t,e){if(t=vGe(t),t<1||t>yGe)return[];var r=LR,n=bGe(t,LR);e=kle(e),t-=LR;for(var s=Ihe(n,e);++r<t;)e(r);return s}function Ple(t,e,r){var n;if(t&&r){const s=$r(t,r);if(s===void 0)return;for(let i=0;i<e.length;i++){const o=e[i],l=$r(o,[vi,r],{});if(!(l.type==="object"||l.type==="array")&&(l.const===s||!((n=l.enum)===null||n===void 0)&&n.includes(s)))return i}}}function jle(t,e,r,n,s){if(e===void 0)return 0;const i=Ple(e,r,s);if(yle(i))return i;for(let o=0;o<r.length;o++){const l=r[o];if(s&&ia(l,[vi,s])){const c=$r(e,s),u=$r(l,[vi,s],{});if(t.isValid(u,c,n))return o}else if(l[vi]){const c={anyOf:Object.keys(l[vi]).map(d=>({required:[d]}))};let u;if(l.anyOf){const{...d}=l;d.allOf?d.allOf=d.allOf.slice():d.allOf=[],d.allOf.push(c),u=d}else u=Object.assign({},l,c);if(delete u.required,t.isValid(u,e,n))return o}else if(t.isValid(l,e,n))return o}return 0}function kN(t,e,r,n,s){return jle(t,e,r,n,s)}function MN(t,e,r,n){if(!Ci(t))return t;e=Nv(e,t);for(var s=-1,i=e.length,o=i-1,l=t;l!=null&&++s<i;){var c=ov(e[s]),u=r;if(c==="__proto__"||c==="constructor"||c==="prototype")return t;if(s!=o){var d=l[c];u=n?n(d,c,l):void 0,u===void 0&&(u=Ci(d)?d:Q$(e[s+1])?[]:{})}Dhe(l,c,u),l=l[c]}return t}function yo(t,e,r){return t==null?t:MN(t,e,r)}function xGe(t,e,r){var n=Da(t),s=n||Rb(t)||U3(t);if(e=AN(e),r==null){var i=t&&t.constructor;s?r=n?new i:[]:Ci(t)?r=ste(i)?$he(Ohe(t)):{}:r={}}return(s?ite:xle)(t,function(o,l,c){return e(r,o,l,c)}),r}function t$(t,e,r){(r!==void 0&&!K$(t[e],r)||r===void 0&&!(e in t))&&Lhe(t,e,r)}function FC(t){return Ib(t)&&B3(t)}function r$(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}function SGe(t){return tte(t,ote(t))}function wGe(t,e,r,n,s,i,o){var l=r$(t,r),c=r$(e,r),u=o.get(c);if(u){t$(t,r,u);return}var d=i?i(l,c,r+"",t,e,o):void 0,f=d===void 0;if(f){var p=Da(c),m=!p&&Rb(c),h=!p&&!m&&U3(c);d=c,p||m||h?Da(l)?d=l:FC(l)?d=Nhe(l):m?(f=!1,d=Fhe(c,!0)):h?(f=!1,d=Uhe(c,!0)):d=[]:ph(c)||Db(c)?(d=l,Db(l)?d=SGe(l):(!Ci(l)||ste(l))&&(d=Bhe(c))):f=!1}f&&(o.set(c,d),s(d,c,n,i,o),o.delete(c)),t$(t,r,d)}function Tle(t,e,r,n,s){t!==e&&ble(e,function(i,o){if(s||(s=new ab),Ci(i))wGe(t,e,o,r,Tle,n,s);else{var l=n?n(r$(t,o),i,o+"",t,e,s):void 0;l===void 0&&(l=i),t$(t,o,l)}},ote)}function PN(t,e){return mle(ple(t,e,YA),t+"")}function CGe(t,e,r){if(!Ci(r))return!1;var n=typeof e;return(n=="number"?B3(r)&&Q$(e,r.length):n=="string"&&e in r)?K$(r[e],t):!1}function AGe(t){return PN(function(e,r){var n=-1,s=r.length,i=s>1?r[s-1]:void 0,o=s>2?r[2]:void 0;for(i=t.length>3&&typeof i=="function"?(s--,i):void 0,o&&CGe(r[0],r[1],o)&&(i=s<3?void 0:i,s=1),e=Object(e);++n<s;){var l=r[n];l&&t(e,l,n,i)}return e})}var kGe=AGe(function(t,e,r){Tle(t,e,r)}),MGe=1/0;function PGe(t){var e=t==null?0:t.length;return e?K0(t,MGe):[]}function jGe(t,e,r,n){for(var s=t.length,i=r+-1;++i<s;)if(e(t[i],i,t))return i;return-1}function TGe(t){return t!==t}function EGe(t,e,r){for(var n=r-1,s=t.length;++n<s;)if(t[n]===e)return n;return-1}function RGe(t,e,r){return e===e?EGe(t,e,r):jGe(t,TGe,r)}function Ele(t,e){var r=t==null?0:t.length;return!!r&&RGe(t,e,0)>-1}function IGe(){}var DGe=1/0,$Ge=IP&&1/SN(new IP([,-0]))[1]==DGe?function(t){return new IP(t)}:IGe,OGe=200;function Rle(t,e,r){var n=-1,s=Ele,i=t.length,o=!0,l=[],c=l;if(i>=OGe){var u=$Ge(t);if(u)return SN(u);o=!1,s=xN,c=new G_}else c=l;e:for(;++n<i;){var d=t[n],f=d;if(d=d!==0?d:0,o&&f===f){for(var p=c.length;p--;)if(c[p]===f)continue e;l.push(d)}else s(c,f,r)||(c!==l&&c.push(f),l.push(d))}return l}function LGe(t){return t&&t.length?Rle(t):[]}var NR,KY;function Ile(){if(KY)return NR;KY=1;function t(e,r){for(var n=-1,s=e==null?0:e.length;++n<s&&r(e[n],n,e)!==!1;);return e}return NR=t,NR}var FR,QY;function NGe(){if(QY)return FR;QY=1;var t=$v(),e=dte();function r(n,s){return n&&t(s,e(s),n)}return FR=r,FR}var UR,ZY;function FGe(){if(ZY)return UR;ZY=1;var t=$v(),e=Ov();function r(n,s){return n&&t(s,e(s),n)}return UR=r,UR}var BR,XY;function UGe(){if(XY)return BR;XY=1;var t=$v(),e=fte();function r(n,s){return t(n,e(n),s)}return BR=r,BR}var zR,JY;function Dle(){if(JY)return zR;JY=1;var t=pte(),e=dN(),r=fte(),n=ege(),s=Object.getOwnPropertySymbols,i=s?function(o){for(var l=[];o;)t(l,r(o)),o=e(o);return l}:n;return zR=i,zR}var qR,eK;function BGe(){if(eK)return qR;eK=1;var t=$v(),e=Dle();function r(n,s){return t(n,e(n),s)}return qR=r,qR}var VR,tK;function $le(){if(tK)return VR;tK=1;var t=tge(),e=Dle(),r=Ov();function n(s){return t(s,r,e)}return VR=n,VR}var HR,rK;function zGe(){if(rK)return HR;rK=1;var t=Object.prototype,e=t.hasOwnProperty;function r(n){var s=n.length,i=new n.constructor(s);return s&&typeof n[0]=="string"&&e.call(n,"index")&&(i.index=n.index,i.input=n.input),i}return HR=r,HR}var GR,nK;function qGe(){if(nK)return GR;nK=1;var t=cN();function e(r,n){var s=n?t(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.byteLength)}return GR=e,GR}var WR,sK;function VGe(){if(sK)return WR;sK=1;var t=/\w*$/;function e(r){var n=new r.constructor(r.source,t.exec(r));return n.lastIndex=r.lastIndex,n}return WR=e,WR}var YR,iK;function HGe(){if(iK)return YR;iK=1;var t=mte(),e=t?t.prototype:void 0,r=e?e.valueOf:void 0;function n(s){return r?Object(r.call(s)):{}}return YR=n,YR}var KR,oK;function GGe(){if(oK)return KR;oK=1;var t=cN(),e=qGe(),r=VGe(),n=HGe(),s=Oae(),i="[object Boolean]",o="[object Date]",l="[object Map]",c="[object Number]",u="[object RegExp]",d="[object Set]",f="[object String]",p="[object Symbol]",m="[object ArrayBuffer]",h="[object DataView]",_="[object Float32Array]",g="[object Float64Array]",y="[object Int8Array]",b="[object Int16Array]",x="[object Int32Array]",w="[object Uint8Array]",C="[object Uint8ClampedArray]",k="[object Uint16Array]",A="[object Uint32Array]";function P(T,j,R){var D=T.constructor;switch(j){case m:return t(T);case i:case o:return new D(+T);case h:return e(T,R);case _:case g:case y:case b:case x:case w:case C:case k:case A:return s(T,R);case l:return new D;case c:case f:return new D(T);case u:return r(T);case d:return new D;case p:return n(T)}}return KR=P,KR}var QR,aK;function WGe(){if(aK)return QR;aK=1;var t=V3(),e=lv(),r="[object Map]";function n(s){return e(s)&&t(s)==r}return QR=n,QR}var ZR,lK;function YGe(){if(lK)return ZR;lK=1;var t=WGe(),e=jh(),r=rO(),n=r&&r.isMap,s=n?e(n):t;return ZR=s,ZR}var XR,cK;function KGe(){if(cK)return XR;cK=1;var t=V3(),e=lv(),r="[object Set]";function n(s){return e(s)&&t(s)==r}return XR=n,XR}var JR,uK;function QGe(){if(uK)return JR;uK=1;var t=KGe(),e=jh(),r=rO(),n=r&&r.isSet,s=n?e(n):t;return JR=s,JR}var e5,dK;function Ole(){if(dK)return e5;dK=1;var t=ute(),e=Ile(),r=Fae(),n=NGe(),s=FGe(),i=$ae(),o=uN(),l=UGe(),c=BGe(),u=rge(),d=$le(),f=V3(),p=zGe(),m=GGe(),h=Lae(),_=cv(),g=tO(),y=YGe(),b=Qd(),x=QGe(),w=dte(),C=Ov(),k=1,A=2,P=4,T="[object Arguments]",j="[object Array]",R="[object Boolean]",D="[object Date]",O="[object Error]",N="[object Function]",F="[object GeneratorFunction]",U="[object Map]",z="[object Number]",H="[object Object]",W="[object RegExp]",K="[object Set]",q="[object String]",X="[object Symbol]",Q="[object WeakMap]",Y="[object ArrayBuffer]",Z="[object DataView]",re="[object Float32Array]",fe="[object Float64Array]",de="[object Int8Array]",se="[object Int16Array]",le="[object Int32Array]",ee="[object Uint8Array]",J="[object Uint8ClampedArray]",me="[object Uint16Array]",pe="[object Uint32Array]",Se={};Se[T]=Se[j]=Se[Y]=Se[Z]=Se[R]=Se[D]=Se[re]=Se[fe]=Se[de]=Se[se]=Se[le]=Se[U]=Se[z]=Se[H]=Se[W]=Se[K]=Se[q]=Se[X]=Se[ee]=Se[J]=Se[me]=Se[pe]=!0,Se[O]=Se[N]=Se[Q]=!1;function ve(xe,qe,Le,Te,je,Ge){var nt,Re=qe&k,we=qe&A,Me=qe&P;if(Le&&(nt=je?Le(xe,Te,je,Ge):Le(xe)),nt!==void 0)return nt;if(!b(xe))return xe;var $e=_(xe);if($e){if(nt=p(xe),!Re)return o(xe,nt)}else{var Ve=f(xe),Ne=Ve==N||Ve==F;if(g(xe))return i(xe,Re);if(Ve==H||Ve==T||Ne&&!je){if(nt=we||Ne?{}:h(xe),!Re)return we?c(xe,s(nt,xe)):l(xe,n(nt,xe))}else{if(!Se[Ve])return je?xe:{};nt=m(xe,Ve,Re)}}Ge||(Ge=new t);var Oe=Ge.get(xe);if(Oe)return Oe;Ge.set(xe,nt),x(xe)?xe.forEach(function(Et){nt.add(ve(Et,qe,Le,Et,xe,Ge))}):y(xe)&&xe.forEach(function(Et,at){nt.set(at,ve(Et,qe,Le,at,xe,Ge))});var ft=Me?we?d:u:we?C:w,Ct=$e?void 0:ft(xe);return e(Ct||xe,function(Et,at){Ct&&(at=Et,Et=xe[at]),r(nt,at,ve(Et,qe,Le,at,xe,Ge))}),nt}return e5=ve,e5}var t5,fK;function ZGe(){if(fK)return t5;fK=1;var t=Ole(),e=1,r=4;function n(s){return t(s,e|r)}return t5=n,t5}var r5,pK;function Lle(){if(pK)return r5;pK=1;var t=nge();function e(r,n){return t(r,n)}return r5=e,r5}var n5,mK;function XGe(){if(mK)return n5;mK=1;var t=mte(),e=eO(),r=cv(),n=t?t.isConcatSpreadable:void 0;function s(i){return r(i)||e(i)||!!(n&&i&&i[n])}return n5=s,n5}var s5,hK;function jN(){if(hK)return s5;hK=1;var t=pte(),e=XGe();function r(n,s,i,o,l){var c=-1,u=n.length;for(i||(i=e),l||(l=[]);++c<u;){var d=n[c];s>0&&i(d)?s>1?r(d,s-1,i,o,l):t(l,d):o||(l[l.length]=d)}return l}return s5=r,s5}var i5,gK;function JGe(){if(gK)return i5;gK=1;var t=av();function e(r,n){return function(s,i){if(s==null)return s;if(!t(s))return r(s,i);for(var o=s.length,l=n?o:-1,c=Object(s);(n?l--:++l<o)&&i(c[l],l,c)!==!1;);return s}}return i5=e,i5}var o5,_K;function Nle(){if(_K)return o5;_K=1;var t=sge(),e=JGe(),r=e(t);return o5=r,o5}var a5,vK;function eWe(){if(vK)return a5;vK=1;var t=Nle(),e=av();function r(n,s){var i=-1,o=e(n)?Array(n.length):[];return t(n,function(l,c,u){o[++i]=s(l,c,u)}),o}return a5=r,a5}var l5,yK;function tWe(){if(yK)return l5;yK=1;function t(e,r){var n=e.length;for(e.sort(r);n--;)e[n]=e[n].value;return e}return l5=t,l5}var c5,bK;function rWe(){if(bK)return c5;bK=1;var t=hte();function e(r,n){if(r!==n){var s=r!==void 0,i=r===null,o=r===r,l=t(r),c=n!==void 0,u=n===null,d=n===n,f=t(n);if(!u&&!f&&!l&&r>n||l&&c&&d&&!u&&!f||i&&c&&d||!s&&d||!o)return 1;if(!i&&!l&&!f&&r<n||f&&s&&o&&!i&&!l||u&&s&&o||!c&&o||!d)return-1}return 0}return c5=e,c5}var u5,xK;function nWe(){if(xK)return u5;xK=1;var t=rWe();function e(r,n,s){for(var i=-1,o=r.criteria,l=n.criteria,c=o.length,u=s.length;++i<c;){var d=t(o[i],l[i]);if(d){if(i>=u)return d;var f=s[i];return d*(f=="desc"?-1:1)}}return r.index-n.index}return u5=e,u5}var d5,SK;function sWe(){if(SK)return d5;SK=1;var t=Th(),e=gte(),r=ige(),n=eWe(),s=tWe(),i=jh(),o=nWe(),l=q3(),c=cv();function u(d,f,p){f.length?f=t(f,function(_){return c(_)?function(g){return e(g,_.length===1?_[0]:_)}:_}):f=[l];var m=-1;f=t(f,i(r));var h=n(d,function(_,g,y){var b=t(f,function(x){return x(_)});return{criteria:b,index:++m,value:_}});return s(h,function(_,g){return o(_,g,p)})}return d5=u,d5}var f5,wK;function Fle(){if(wK)return f5;wK=1;var t=jN(),e=sWe(),r=Fh(),n=mN(),s=r(function(i,o){if(i==null)return[];var l=o.length;return l>1&&n(i,o[0],o[1])?o=[]:l>2&&n(o[0],o[1],o[2])&&(o=[o[0]]),e(i,t(o,1),[])});return f5=s,f5}var p5,CK;function iWe(){if(CK)return p5;CK=1;function t(e,r,n,s){for(var i=e.length,o=n+(s?1:-1);s?o--:++o<i;)if(r(e[o],o,e))return o;return-1}return p5=t,p5}var m5,AK;function oWe(){if(AK)return m5;AK=1;function t(e){return e!==e}return m5=t,m5}var h5,kK;function aWe(){if(kK)return h5;kK=1;function t(e,r,n){for(var s=n-1,i=e.length;++s<i;)if(e[s]===r)return s;return-1}return h5=t,h5}var g5,MK;function Ule(){if(MK)return g5;MK=1;var t=iWe(),e=oWe(),r=aWe();function n(s,i,o){return i===i?r(s,i,o):t(s,e,o)}return g5=n,g5}var _5,PK;function TN(){if(PK)return _5;PK=1;var t=Ule();function e(r,n){var s=r==null?0:r.length;return!!s&&t(r,n,0)>-1}return _5=e,_5}var v5,jK;function EN(){if(jK)return v5;jK=1;function t(e,r,n){for(var s=-1,i=e==null?0:e.length;++s<i;)if(n(r,e[s]))return!0;return!1}return v5=t,v5}var y5,TK;function lWe(){if(TK)return y5;TK=1;function t(){}return y5=t,y5}var b5,EK;function cWe(){if(EK)return b5;EK=1;var t=oge(),e=lWe(),r=_te(),n=1/0,s=t&&1/r(new t([,-0]))[1]==n?function(i){return new t(i)}:e;return b5=s,b5}var x5,RK;function Ble(){if(RK)return x5;RK=1;var t=nO(),e=TN(),r=EN(),n=sO(),s=cWe(),i=_te(),o=200;function l(c,u,d){var f=-1,p=e,m=c.length,h=!0,_=[],g=_;if(d)h=!1,p=r;else if(m>=o){var y=u?null:s(c);if(y)return i(y);h=!1,p=n,g=new t}else g=u?[]:_;e:for(;++f<m;){var b=c[f],x=u?u(b):b;if(b=d||b!==0?b:0,h&&x===x){for(var w=g.length;w--;)if(g[w]===x)continue e;u&&g.push(x),_.push(b)}else p(g,x,d)||(g!==_&&g.push(x),_.push(b))}return _}return x5=l,x5}var S5,IK;function RN(){if(IK)return S5;IK=1;var t=Ble();function e(r){return r&&r.length?t(r):[]}return S5=e,S5}var w5,DK;function IN(){if(DK)return w5;DK=1;var t=Ble();function e(r,n){return n=typeof n=="function"?n:void 0,r&&r.length?t(r,void 0,n):[]}return w5=e,w5}var C5,$K;function uWe(){if($K)return C5;$K=1;var t=Fh(),e=z3(),r=mN(),n=Ov(),s=Object.prototype,i=s.hasOwnProperty,o=t(function(l,c){l=Object(l);var u=-1,d=c.length,f=d>2?c[2]:void 0;for(f&&r(c[0],c[1],f)&&(d=1);++u<d;)for(var p=c[u],m=n(p),h=-1,_=m.length;++h<_;){var g=m[h],y=l[g];(y===void 0||e(y,s[g])&&!i.call(l,g))&&(l[g]=p[g])}return l});return C5=o,C5}var A5,OK;function zle(){if(OK)return A5;OK=1;var t=nO(),e=TN(),r=EN(),n=Th(),s=jh(),i=sO(),o=Math.min;function l(c,u,d){for(var f=d?r:e,p=c[0].length,m=c.length,h=m,_=Array(m),g=1/0,y=[];h--;){var b=c[h];h&&u&&(b=n(b,s(u))),g=o(b.length,g),_[h]=!d&&(u||p>=120&&b.length>=120)?new t(h&&b):void 0}b=c[0];var x=-1,w=_[0];e:for(;++x<p&&y.length<g;){var C=b[x],k=u?u(C):C;if(C=d||C!==0?C:0,!(w?i(w,k):f(y,k,d))){for(h=m;--h;){var A=_[h];if(!(A?i(A,k):f(c[h],k,d)))continue e}w&&w.push(k),y.push(C)}}return y}return A5=l,A5}var k5,LK;function qle(){if(LK)return k5;LK=1;var t=fN();function e(r){return t(r)?r:[]}return k5=e,k5}var M5,NK;function Vle(){if(NK)return M5;NK=1;function t(e){var r=e==null?0:e.length;return r?e[r-1]:void 0}return M5=t,M5}var P5,FK;function Hle(){if(FK)return P5;FK=1;var t=Th(),e=zle(),r=Fh(),n=qle(),s=Vle(),i=r(function(o){var l=s(o),c=t(o,n);return l=typeof l=="function"?l:void 0,l&&c.pop(),c.length&&c[0]===o[0]?e(c,void 0,l):[]});return P5=i,P5}var j5,UK;function dWe(){if(UK)return j5;UK=1;var t=J$(),e=lv(),r="[object Boolean]";function n(s){return s===!0||s===!1||e(s)&&t(s)==r}return j5=n,j5}var T5,BK;function DN(){if(BK)return T5;BK=1;var t=Lle(),e=Fle(),r=RN(),n=IN(),s=uWe(),i=Hle(),o=W0(),l=dWe(),c=O=>Array.isArray(O)?O:[O],u=O=>O===void 0,d=O=>o(O)||Array.isArray(O)?Object.keys(O):[],f=(O,N)=>O.hasOwnProperty(N),p=O=>e(r(O)),m=O=>u(O)||Array.isArray(O)&&O.length===0,h=(O,N,F,U)=>N&&f(N,F)&&O&&f(O,F)&&U(O[F],N[F]),_=(O,N)=>u(O)&&N===0||u(N)&&O===0||t(O,N),g=(O,N)=>u(O)&&N===!1||u(N)&&O===!1||t(O,N),y=O=>u(O)||t(O,{})||O===!0,b=O=>u(O)||t(O,{}),x=O=>u(O)||o(O)||O===!0||O===!1;function w(O,N){return m(O)&&m(N)?!0:t(p(O),p(N))}function C(O,N){return O=c(O),N=c(N),t(p(O),p(N))}function k(O,N,F,U){var z=r(d(O).concat(d(N)));return b(O)&&b(N)?!0:b(O)&&d(N).length||b(N)&&d(O).length?!1:z.every(function(H){var W=O[H],K=N[H];return Array.isArray(W)&&Array.isArray(K)?t(p(O),p(N)):Array.isArray(W)&&!Array.isArray(K)||Array.isArray(K)&&!Array.isArray(W)?!1:h(O,N,H,U)})}function A(O,N,F,U){return o(O)&&o(N)?U(O,N):Array.isArray(O)&&Array.isArray(N)?k(O,N,F,U):t(O,N)}function P(O,N,F,U){var z=n(O,U),H=n(N,U),W=i(z,H,U);return W.length===Math.max(z.length,H.length)}var T={title:t,uniqueItems:g,minLength:_,minItems:_,minProperties:_,required:w,enum:w,type:C,items:A,anyOf:P,allOf:P,oneOf:P,properties:k,patternProperties:k,dependencies:k},j=["properties","patternProperties","dependencies","uniqueItems","minLength","minItems","minProperties","required"],R=["additionalProperties","additionalItems","contains","propertyNames","not"];function D(O,N,F){if(F=s(F,{ignore:[]}),y(O)&&y(N))return!0;if(!x(O)||!x(N))throw new Error("Either of the values are not a JSON schema.");if(O===N)return!0;if(l(O)&&l(N))return O===N;if(O===void 0&&N===!1||N===void 0&&O===!1||u(O)&&!u(N)||!u(O)&&u(N))return!1;var U=r(Object.keys(O).concat(Object.keys(N)));if(F.ignore.length&&(U=U.filter(H=>F.ignore.indexOf(H)===-1)),!U.length)return!0;function z(H,W){return D(H,W,F)}return U.every(function(H){var W=O[H],K=N[H];if(R.indexOf(H)!==-1)return D(W,K,F);var q=T[H];if(q||(q=t),t(W,K))return!0;if(j.indexOf(H)===-1&&(!f(O,H)&&f(N,H)||f(O,H)&&!f(N,H)))return W===K;var X=q(W,K,H,z);if(!l(X))throw new Error("Comparer must return true or false");return X})}return T5=D,T5}var E5,zK;function $N(){if(zK)return E5;zK=1;function t(e){return Object.prototype.toString.call(e)==="[object Array]"}return E5=Array.isArray||t,E5}var R5,qK;function fWe(){if(qK)return R5;qK=1;function t(e){return(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")&&e.valueOf()===e.valueOf()}return R5=t,R5}var I5,VK;function pWe(){if(VK)return I5;VK=1;var t=fWe();function e(r){return t(r)&&r%1===0}return I5=e,I5}var D5,HK;function Gle(){if(HK)return D5;HK=1;var t=$N(),e=pWe();function r(n){var s;if(!t(n)||(s=n.length,!s))return!1;for(var i=0;i<s;i++)if(!e(n[i]))return!1;return!0}return D5=r,D5}var $5,GK;function Wle(){if(GK)return $5;GK=1;function t(e){return typeof e=="function"}return $5=t,$5}var O5,WK;function mWe(){if(WK)return O5;WK=1;var t=$N(),e=Gle(),r=Wle(),n=Math.pow(2,31)-1;function s(l,c){var u=1,d;if(l===0)return c;if(c===0)return l;for(;l%2===0&&c%2===0;)l=l/2,c=c/2,u=u*2;for(;l%2===0;)l=l/2;for(;c;){for(;c%2===0;)c=c/2;l>c&&(d=c,c=l,l=d),c=c-l}return u*l}function i(l,c){var u=0,d;if(l===0)return c;if(c===0)return l;for(;(l&1)===0&&(c&1)===0;)l>>>=1,c>>>=1,u++;for(;(l&1)===0;)l>>>=1;for(;c;){for(;(c&1)===0;)c>>>=1;l>c&&(d=c,c=l,l=d),c=c-l}return l<<u}function o(){var l=arguments.length,c,u,d,f,p,m,h;for(c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];if(e(c)){if(l===2)return p=c[0],m=c[1],p<0&&(p=-p),m<0&&(m=-m),p<=n&&m<=n?i(p,m):s(p,m);d=c}else if(t(c[0]))if(l>1){if(d=c[0],u=c[1],!r(u))throw new TypeError("gcd()::invalid input argument. Accessor must be a function. Value: `"+u+"`.")}else d=c[0];else throw new TypeError("gcd()::invalid input argument. Must provide an array of integers. Value: `"+c[0]+"`.");if(f=d.length,f<2)return null;if(u){for(p=new Array(f),h=0;h<f;h++)p[h]=u(d[h],h);d=p}if(l<3&&!e(d))throw new TypeError("gcd()::invalid input argument. Accessed array values must be integers. Value: `"+d+"`.");for(h=0;h<f;h++)p=d[h],p<0&&(d[h]=-p);for(p=d[0],h=1;h<f;h++)m=d[h],m<=n&&p<=n?p=i(p,m):p=s(p,m);return p}return O5=o,O5}var L5,YK;function hWe(){if(YK)return L5;YK=1;var t=mWe(),e=$N(),r=Gle(),n=Wle();function s(){var i=arguments.length,o,l,c,u,d,f,p;for(o=new Array(i),p=0;p<i;p++)o[p]=arguments[p];if(r(o)){if(i===2)return d=o[0],f=o[1],d<0&&(d=-d),f<0&&(f=-f),d===0||f===0?0:d/t(d,f)*f;c=o}else if(e(o[0]))if(i>1){if(c=o[0],l=o[1],!n(l))throw new TypeError("lcm()::invalid input argument. Accessor must be a function. Value: `"+l+"`.")}else c=o[0];else throw new TypeError("lcm()::invalid input argument. Must provide an array of integers. Value: `"+o[0]+"`.");if(u=c.length,u<2)return null;if(l){for(d=new Array(u),p=0;p<u;p++)d[p]=l(c[p],p);c=d}if(i<3&&!r(c))throw new TypeError("lcm()::invalid input argument. Accessed array values must be integers. Value: `"+c+"`.");for(p=0;p<u;p++)d=c[p],d<0&&(c[p]=-d);for(d=c[0],p=1;p<u;p++){if(f=c[p],d===0||f===0)return 0;d=d/t(d,f)*f}return d}return L5=s,L5}var N5,KK;function gWe(){if(KK)return N5;KK=1;var t=pN(),e=Qd();function r(n,s,i,o,l,c){return e(n)&&e(s)&&(c.set(s,n),t(n,s,void 0,r,c),c.delete(s)),n}return N5=r,N5}var F5,QK;function _We(){if(QK)return F5;QK=1;var t=pN(),e=qae(),r=e(function(n,s,i,o){t(n,s,i,o)});return F5=r,F5}var U5,ZK;function vWe(){if(ZK)return U5;ZK=1;var t=Uae(),e=Fh(),r=gWe(),n=_We(),s=e(function(i){return i.push(void 0,r),t(n,void 0,i)});return U5=s,U5}var B5,XK;function ON(){if(XK)return B5;XK=1;var t=jN();function e(r){var n=r==null?0:r.length;return n?t(r,1):[]}return B5=e,B5}var z5,JK;function Yle(){if(JK)return z5;JK=1;var t=jN(),e=1/0;function r(n){var s=n==null?0:n.length;return s?t(n,e):[]}return z5=r,z5}var q5,eQ;function yWe(){if(eQ)return q5;eQ=1;var t=Th(),e=zle(),r=Fh(),n=qle(),s=r(function(i){var o=t(i,n);return o.length&&o[0]===i[0]?e(o):[]});return q5=s,q5}var V5,tQ;function bWe(){if(tQ)return V5;tQ=1;function t(e,r,n,s){for(var i=n-1,o=e.length;++i<o;)if(s(e[i],r))return i;return-1}return V5=t,V5}var H5,rQ;function xWe(){if(rQ)return H5;rQ=1;var t=Th(),e=Ule(),r=bWe(),n=jh(),s=uN(),i=Array.prototype,o=i.splice;function l(c,u,d,f){var p=f?r:e,m=-1,h=u.length,_=c;for(c===u&&(u=s(u)),d&&(_=t(c,n(d)));++m<h;)for(var g=0,y=u[m],b=d?d(y):y;(g=p(_,b,g,f))>-1;)_!==c&&o.call(_,g,1),o.call(c,g,1);return c}return H5=l,H5}var G5,nQ;function SWe(){if(nQ)return G5;nQ=1;var t=xWe();function e(r,n){return r&&r.length&&n&&n.length?t(r,n):r}return G5=e,G5}var W5,sQ;function wWe(){if(sQ)return W5;sQ=1;var t=q3();function e(r){return typeof r=="function"?r:t}return W5=e,W5}var Y5,iQ;function Kle(){if(iQ)return Y5;iQ=1;var t=Ile(),e=Nle(),r=wWe(),n=cv();function s(i,o){var l=n(i)?t:e;return l(i,r(o))}return Y5=s,Y5}var K5,oQ;function CWe(){if(oQ)return K5;oQ=1;var t=nO(),e=TN(),r=EN(),n=Th(),s=jh(),i=sO(),o=200;function l(c,u,d,f){var p=-1,m=e,h=!0,_=c.length,g=[],y=u.length;if(!_)return g;d&&(u=n(u,s(d))),f?(m=r,h=!1):u.length>=o&&(m=i,h=!1,u=new t(u));e:for(;++p<_;){var b=c[p],x=d==null?b:d(b);if(b=f||b!==0?b:0,h&&x===x){for(var w=y;w--;)if(u[w]===x)continue e;g.push(b)}else m(u,x,f)||g.push(b)}return g}return K5=l,K5}var Q5,aQ;function AWe(){if(aQ)return Q5;aQ=1;var t=CWe(),e=Fh(),r=fN(),n=e(function(s,i){return r(s)?t(s,i):[]});return Q5=n,Q5}var Z5,lQ;function Qle(){if(lQ)return Z5;lQ=1;const t=ON(),e=Yle(),r=W0(),n=RN(),s=IN(),i=AWe();function o(_){for(const g in _)u(_,g)&&m(_[g])&&delete _[g];return _}const l=_=>n(e(_.map(d))),c=(_,g)=>_.map(y=>y&&y[g]),u=(_,g)=>Object.prototype.hasOwnProperty.call(_,g),d=_=>r(_)||Array.isArray(_)?Object.keys(_):[],f=_=>_!==void 0,p=_=>r(_)||_===!0||_===!1,m=_=>!d(_).length&&_!==!1&&_!==!0;return Z5={allUniqueKeys:l,deleteUndefinedProps:o,getValues:c,has:u,isEmptySchema:m,isSchema:p,keys:d,notUndefined:f,uniqWith:s,withoutArr:(_,...g)=>i.apply(null,[_].concat(t(g)))},Z5}var X5,cQ;function kWe(){if(cQ)return X5;cQ=1;const t=DN(),e=Kle(),{allUniqueKeys:r,deleteUndefinedProps:n,getValues:s,keys:i,notUndefined:o,uniqWith:l,withoutArr:c}=Qle();function u(f){e(f,function(p,m){p===!1&&delete f[m]})}function d(f,p){return r(f).reduce(function(h,_){const g=s(f,_),y=l(g.filter(o),t);return h[_]=p(y,_),h},{})}return X5={keywords:["properties","patternProperties","additionalProperties"],resolver(f,p,m,h){h.ignoreAdditionalProperties||(f.forEach(function(g){const y=f.filter(C=>C!==g),b=i(g.properties),w=i(g.patternProperties).map(C=>new RegExp(C));y.forEach(function(C){const k=i(C.properties),A=k.filter(T=>w.some(j=>j.test(T)));c(k,b,A).forEach(function(T){C.properties[T]=m.properties([C.properties[T],g.additionalProperties],T)})})}),f.forEach(function(g){const y=f.filter(x=>x!==g),b=i(g.patternProperties);g.additionalProperties===!1&&y.forEach(function(x){const w=i(x.patternProperties);c(w,b).forEach(k=>delete x.patternProperties[k])})}));const _={additionalProperties:m.additionalProperties(f.map(g=>g.additionalProperties)),patternProperties:d(f.map(g=>g.patternProperties),m.patternProperties),properties:d(f.map(g=>g.properties),m.properties)};return _.additionalProperties===!1&&u(_.properties),n(_)}},X5}var J5,uQ;function MWe(){if(uQ)return J5;uQ=1;const t=DN(),e=Kle(),{allUniqueKeys:r,deleteUndefinedProps:n,has:s,isSchema:i,notUndefined:o,uniqWith:l}=Qle();function c(p){e(p,function(m,h){m===!1&&p.splice(h,1)})}function u(p,m){return p.map(function(h){if(h)if(Array.isArray(h.items)){const _=h.items[m];if(i(_))return _;if(s(h,"additionalItems"))return h.additionalItems}else return h.items})}function d(p){return p.map(function(m){if(m)return Array.isArray(m.items)?m.additionalItems:m.items})}function f(p,m,h){return r(h).reduce(function(g,y){const b=u(p,y),x=l(b.filter(o),t);return g[y]=m(x,y),g},[])}return J5={keywords:["items","additionalItems"],resolver(p,m,h){const _=p.map(x=>x.items),g=_.filter(o),y={};g.every(i)?y.items=h.items(_):y.items=f(p,h.items,_);let b;return g.every(Array.isArray)?b=p.map(x=>x.additionalItems):g.some(Array.isArray)&&(b=d(p)),b&&(y.additionalItems=h.additionalItems(b)),y.additionalItems===!1&&Array.isArray(y.items)&&c(y.items),n(y)}},J5}var eI,dQ;function PWe(){if(dQ)return eI;dQ=1;const t=ZGe(),e=DN(),r=hWe(),n=vWe(),s=ON(),i=Yle(),o=yWe(),l=Hle(),c=Lle(),u=W0(),d=SWe(),f=Fle(),p=RN(),m=IN(),h=kWe(),_=MWe(),g=(se,le)=>se.indexOf(le)!==-1,y=se=>u(se)||se===!0||se===!1,b=se=>se===!1,x=se=>se===!0,w=(se,le,ee)=>ee(se),C=se=>f(p(i(se))),k=se=>se!==void 0,A=se=>p(i(se.map(H))),P=se=>se[0],T=se=>C(se),j=se=>Math.max.apply(Math,se),R=se=>Math.min.apply(Math,se),D=se=>se.some(x),O=se=>m(s(se),c);function N(se){return function(le,ee){return e({[se]:le},{[se]:ee})}}function F(se){let{allOf:le=[],...ee}=se;return ee=u(se)?ee:se,[ee,...le.map(F)]}function U(se,le){return se.map(ee=>ee&&ee[le])}function z(se,le){return se.map(function(ee,J){try{return le(ee,J)}catch{return}}).filter(k)}function H(se){return u(se)||Array.isArray(se)?Object.keys(se):[]}function W(se,le){if(le=le||[],!se.length)return le;const ee=se.slice(0).shift(),J=se.slice(1);return le.length?W(J,s(le.map(me=>ee.map(pe=>[pe].concat(me))))):W(J,ee.map(me=>me))}function K(se,le){let ee;try{ee=se.map(function(J){return JSON.stringify(J,null,2)}).join(`
