"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[616],{30378:function(e,r,o){var n=o(89262),t=o(40860),l=o(53138),i=o(77831);let s=(0,n.ZP)(t.Z)({backgroundColor:"transparent",borderRadius:i.n_,height:"1em",["& .".concat(l.Z.bar)]:{borderRadius:i.n_}});r.Z=s},38196:function(e,r,o){var n=o(85893),t=o(89262),l=o(53138),i=o(14440),s=o(67294),a=o(77831),c=o(30378),d=o(19562);let u=(0,t.ZP)(c.Z)({height:".4em"}),m=(0,t.ZP)(d.Z)({height:".2em"});r.Z=e=>{let{barProps:r={},thin:o,underlineProps:t,value:p}=e,{sx:h,...x}=r,g=(0,s.useMemo)(()=>"value"in p?{default:p}:p,[p]),f=(0,s.useMemo)(()=>Object.entries(g).reverse(),[g]),b=(0,s.useMemo)(()=>o?u:c.Z,[o]),Z=(0,s.useMemo)(()=>o?m:d.Z,[o]),v=(0,s.useMemo)(()=>f.map((e,r)=>{var o,n;let t,i,[c,{colour:d=a.s7,value:u}]=e,m="string"==typeof d?d:null!==(n=null===(o=Object.entries(d).reverse().find(e=>{let[r]=e;return u>=Number(r)}))||void 0===o?void 0:o[1])&&void 0!==n?n:a.s7,p="relative";return r&&(p="absolute",t=0,i="100%"),(0,s.createElement)(b,{key:"stack-bar-".concat(c),sx:{position:p,top:t,width:i,["& .".concat(l.Z.bar)]:{backgroundColor:m},...h},variant:"determinate",value:u,...x})}),[h,f,b,x]);return(0,n.jsxs)(i.Z,{position:"relative",children:[v,(0,s.createElement)(Z,t)]})}},19562:function(e,r,o){var n=o(89262),t=o(14440),l=o(77831);let i=(0,n.ZP)(t.Z)({backgroundColor:l.rr,borderRadius:l.n_,display:"block",height:"4px",position:"relative"});r.Z=i},40743:function(e,r,o){o.d(r,{CD:function(){return u},ko:function(){return x}});var n=o(85893),t=o(89262),l=o(77831),i=o(30378),s=o(19562);let a="AllocationBar",c={barOk:"".concat(a,"-barOk"),barWarning:"".concat(a,"-barWarning"),barAlert:"".concat(a,"-barAlert")},d=(0,t.ZP)("div")(()=>({["& .".concat(c.barOk)]:{backgroundColor:l.Ej},["& .".concat(c.barWarning)]:{backgroundColor:l.Wd},["& .".concat(c.barAlert)]:{backgroundColor:l.hM}}));var u=e=>{let{allocated:r}=e;return(0,n.jsxs)(d,{children:[(0,n.jsx)(i.Z,{classes:{bar:r>70?r>90?c.barAlert:c.barWarning:c.barOk},variant:"determinate",value:r}),(0,n.jsx)(s.Z,{})]})};let m="ProgressBar",p={barOk:"".concat(m,"-barOk"),barInProgress:"".concat(m,"-barInProgress")},h=(0,t.ZP)("div")(()=>({["& .".concat(p.barOk)]:{backgroundColor:l.Ej},["& .".concat(p.barInProgress)]:{backgroundColor:l.Wd}}));var x=e=>{let{progressPercentage:r}=e;return(0,n.jsxs)(h,{children:[(0,n.jsx)(i.Z,{classes:{bar:r<100?p.barInProgress:p.barOk},variant:"determinate",value:r}),(0,n.jsx)(s.Z,{})]})};o(38196)},45486:function(e,r,o){var n=o(85893),t=o(20869),l=o(10736),i=o(77831);r.Z=e=>{let{sx:r,...o}=e;return(0,n.jsx)(t.Z,{...o,sx:{color:i.s7,["&.".concat(l.Z.checked)]:{color:i.s7},...r}})}},99429:function(e,r,o){o.d(r,{D:function(){return a}});var n=o(85893),t=o(89262),l=o(34815),i=o(46778),s=o(77831);let a={blue:s.Ej,normal:s.s7,red:s.hM},c=(0,t.ZP)(l.Z)({backgroundColor:s.s7,color:s.E5,textTransform:"none","&:hover":{backgroundColor:"".concat(s.s7,"F0")},["&.".concat(i.Z.disabled)]:{backgroundColor:s.rr}}),d=(0,t.ZP)(e=>(0,n.jsx)(c,{variant:"contained",...e}))(e=>{let r,o;let{background:n="normal"}=e;return"normal"!==n&&(r=a[n],o=s.lD),{backgroundColor:r,color:o,"&:hover":{backgroundColor:"".concat(r,"F0")}}});r.Z=d},29535:function(e,r,o){var n=o(89262),t=o(59505),l=o(77831);let i=(0,n.ZP)(t.Z)({backgroundColor:l.d});r.Z=i},56903:function(e,r,o){var n=o(85893),t=o(14440),l=o(67294);let i={columnSpacing:void 0,fullWidth:!1,growFirst:!1,row:!1,rowSpacing:void 0,lg:void 0,md:void 0,sm:void 0,spacing:"1em",xl:void 0,xs:"column"},s=e=>{let{fullWidth:r,growFirst:o,lg:s=i.lg,md:a=i.md,row:c,sm:d=i.sm,spacing:u=i.spacing,sx:m,xl:p=i.xl,xs:h=i.xs,columnSpacing:x=u,rowSpacing:g=u,...f}=e,b=(0,l.useMemo)(()=>c?"row":h,[h,c]),Z=(0,l.useMemo)(()=>d||b,[d,b]),v=(0,l.useMemo)(()=>a||Z,[a,Z]),j=(0,l.useMemo)(()=>s||v,[s,v]),y=(0,l.useMemo)(()=>p||j,[p,j]),k=(0,l.useMemo)(()=>({column:{alignItems:"normal",marginLeft:0,marginTop:x},row:{alignItems:"center",marginLeft:g,marginTop:0}}),[x,g]),w=(0,l.useMemo)(()=>o?1:void 0,[o]),C=(0,l.useMemo)(()=>r?"100%":void 0,[r]);return(0,n.jsx)(t.Z,{...f,sx:{alignItems:{xs:k[b].alignItems,sm:k[Z].alignItems,md:k[v].alignItems,lg:k[j].alignItems,xl:k[y].alignItems},display:"flex",flexDirection:{xs:b,sm:Z,md:v,lg:j,xl:y},width:C,"& > :first-child":{flexGrow:w},"& > :not(:first-child)":{marginLeft:{xs:k[b].marginLeft,sm:k[Z].marginLeft,md:k[v].marginLeft,lg:k[j].marginLeft,xl:k[y].marginLeft},marginTop:{xs:k[b].marginTop,sm:k[Z].marginTop,md:k[v].marginTop,lg:k[j].marginTop,xl:k[y].marginTop}},...m}})};s.defaultProps=i,r.Z=s},60207:function(e,r,o){var n=o(31530),t=o(12641),l=o(85986),i=o(14905),s=o(85725),a=o(31621),c=o(56134),d=o(19607),u=o(58811),m=o(89262),p=o(80594),h=o(79588),x=o(67294),g=o(77831);let f=(0,m.ZP)(p.Z)({borderRadius:g.n_,backgroundColor:g.s7,color:g.E5,"&:hover":{backgroundColor:"".concat(g.s7,"F0")},["&.".concat(h.Z.disabled)]:{backgroundColor:g.rr}}),b=(0,m.ZP)(f)({backgroundColor:g.hM,color:g.s7,"&:hover":{backgroundColor:"".concat(g.hM,"F0")}}),Z=(0,m.ZP)(p.Z)({color:g.s7}),v={none:{iconType:n.Z}},j={none:{iconType:t.Z}},y={none:{iconType:l.Z}},k={none:{iconType:i.Z}},w={add:v,close:j,copy:y,delete:k,edit:{false:{iconType:s.Z},true:{iconType:a.Z,iconProps:{sx:{color:g.Ej}}}},play:{none:{iconType:c.Z}},visibility:{false:{iconType:d.Z},true:{iconType:u.Z}}},C={contained:f,normal:Z,redcontained:b};r.Z=e=>{let{children:r,defaultIcon:o,iconProps:n,mapPreset:t,mapToIcon:l,state:i="none",variant:s="contained",...a}=e,c=(0,x.useMemo)(()=>null!=l?l:t&&w[t],[l,t]),d=(0,x.useMemo)(()=>{let e;if(c){var t;let{iconType:r,iconProps:l}=null!==(t=c[i])&&void 0!==t?t:{iconType:o};r&&(e=(0,x.createElement)(r,{...l,...n}))}else e=r;return e},[r,o,n,c,i]),u=(0,x.useMemo)(()=>C[s],[s]);return(0,x.createElement)(u,a,d)}},65895:function(e,r,o){var n=o(60207);r.Z=n.Z},85838:function(e,r,o){var n=o(85893),t=o(14440),l=o(67294),i=o(77831),s=o(56903),a=o(59278);let c="1.7em",d={iconProps:{},indicatorProps:{},indicatorTextProps:{},initialIndicatorValue:!1},u={small:"24%",medium:"50%"},m={small:".1rem",medium:"0rem"},p=(0,l.forwardRef)((e,r)=>{let{icon:o,iconProps:{sx:p,...h}=d.iconProps,indicatorProps:{sx:x,...g}=d.indicatorProps,indicatorTextProps:{sx:f,...b}=d.indicatorTextProps,initialIndicatorValue:Z=d.initialIndicatorValue,sx:v}=e,[j,y]=(0,l.useState)(Z),k=(0,l.useCallback)((e,r,o)=>(0,n.jsx)(s.Z,{row:!0,...g,sx:{backgroundColor:i.Ej,borderColor:i.E5,borderRadius:"50%",borderStyle:"solid",borderWidth:".1em",bottom:o,boxSizing:"content-box",height:0,justifyContent:"center",paddingBottom:r,position:"absolute",right:o,width:r,...x},children:e}),[x,g]),w=(0,l.useCallback)(e=>(0,n.jsx)(a.Ac,{...b,sx:{fontWeight:"500",paddingTop:"100%",...f},children:Number(e)>9?"".concat(9,"+"):e}),[f,b]),C=(0,l.useMemo)(()=>{let e;if(j){let r;let o=u.small,n=m.small;Number.isFinite(j)&&(r=w(j),o=u.medium,n=m.medium),e=k(r,o,n)}return e},[k,w,j]);return(0,l.useImperativeHandle)(r,()=>({indicate:e=>y(e)}),[y]),(0,n.jsxs)(t.Z,{sx:{height:c,width:c,position:"relative",...v},children:[(0,l.createElement)(o,{...h,sx:{height:"100%",width:"100%",...p}}),C]})});p.defaultProps=d,p.displayName="IconWithIndicator",r.Z=p},39333:function(e,r,o){var n=o(85893),t=o(65086),l=o(67294),i=o(92230),s=o(40743),a=o(56903),c=o(83916),d=o(48430),u=o(59278);let m="20em",p={getJobUrl:e=>"".concat(i.Z,"/job?start=").concat(e),onFetchSuccessAppend:void 0,openInitially:!1,refreshInterval:1e4},h=(0,l.forwardRef)((e,r)=>{let{getJobUrl:o=p.getJobUrl,onFetchSuccessAppend:i,openInitially:h=p.openInitially,refreshInterval:x=p.refreshInterval}=e,[g,f]=(0,l.useState)({}),[b,Z]=(0,l.useState)(h),[v,j]=(0,l.useState)(),y=(0,l.useMemo)(()=>Math.floor(Date.now()/1e3),[]);(0,d.Z)(o(y),{onError:()=>{f({})},onSuccess:e=>{f(e),null==i||i.call(null,e)},refreshInterval:x}),(0,l.useImperativeHandle)(r,()=>({setAnchor:e=>j(e),setOpen:e=>Z(e)}),[]);let k=(0,l.useMemo)(()=>(0,n.jsx)(a.Z,{children:(0,n.jsx)(c.Z,{scroll:!0,listEmpty:"No currently running and recently completed jobs.",listItems:g,listProps:{sx:{maxHeight:m,width:m}},renderListItem:(e,r)=>{let{jobName:o,jobProgress:t}=r;return(0,n.jsx)(a.Z,{sm:"row",sx:{width:"97%"},xs:"column",children:(0,n.jsxs)(a.Z,{spacing:0,sx:{width:"inherit"},children:[(0,n.jsx)(u.Ac,{sx:{overflowX:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:o}),(0,n.jsx)(s.ko,{progressPercentage:t})]})})}})}),[g]);return(0,l.useMemo)(()=>(0,n.jsx)(t.Z,{anchorEl:v,MenuListProps:{sx:{padding:".8em 1.6em"}},onClose:()=>{Z(!1),j(void 0)},open:b,variant:"menu",children:k}),[b,k,v])});h.defaultProps=p,h.displayName="JobSummary",r.Z=h},83916:function(e,r,o){var n=o(85893),t=o(67294),l=o(31530),i=o(14905),s=o(31621),a=o(85725),c=o(14440),d=o(6621),u=o(54965),m=o(49520),p=o(37969),h=o(77831),x=o(45486),g=o(29535),f=o(56903),b=o(65895),Z=o(25137),v=o(59278);let j=(0,t.forwardRef)(e=>{let{allowCheckAll:r=!1,allowEdit:o=!1,allowItemButton:j=!1,disableDelete:y=!1,edit:k=!1,flexBoxProps:w,getListCheckboxProps:C,getListItemCheckboxProps:M,header:P,headerSpacing:I=".3em",insertHeader:S=!0,listEmpty:T,listItemIconMinWidth:A="56px",listItemKeyPrefix:R="list",listItemProps:{sx:E,...W}={},listItems:q,listProps:{sx:N,..._}={},loading:L,onAdd:D,onDelete:O,onEdit:F,onAllCheckboxChange:B,onItemCheckboxChange:z,onItemClick:H,renderListItem:G=e=>(0,n.jsx)(v.Ac,{children:e}),renderListItemCheckboxState:J,scroll:U=!1,allowAddItem:V=o,allowCheckItem:X=o,allowDelete:Y=o,allowEditItem:K=o}=e,Q=(0,t.useMemo)(()=>"calc(".concat(A," - ").concat(I,")"),[I,A]),$=(0,t.useMemo)(()=>V?(0,n.jsx)(b.Z,{onClick:D,size:"small",children:(0,n.jsx)(l.Z,{})}):void 0,[V,D]),ee=(0,t.useMemo)(()=>k&&Y?(0,n.jsx)(b.Z,{disabled:y,onClick:O,size:"small",sx:{backgroundColor:h.hM,color:h.s7,"&:hover":{backgroundColor:"".concat(h.hM,"F0")}},children:(0,n.jsx)(i.Z,{})}):void 0,[y,Y,k,O]),er=(0,t.useMemo)(()=>{if(K)return(0,n.jsx)(b.Z,{onClick:F,size:"small",children:k?(0,n.jsx)(s.Z,{sx:{color:h.Ej}}):(0,n.jsx)(a.Z,{})})},[K,k,F]),eo=(0,t.useMemo)(()=>{let e;return k&&X&&(e=r?(0,n.jsx)(c.Z,{sx:{minWidth:Q},children:(0,n.jsx)(x.Z,{edge:"start",onChange:B,...null==C?void 0:C.call(null)})}):(0,n.jsx)(g.Z,{sx:{minWidth:Q}})),e},[Q,C,r,X,k,B]),en=(0,t.useMemo)(()=>{let e=typeof P;return S&&P?(0,n.jsxs)(f.Z,{row:!0,spacing:I,sx:{height:"2.4em"},children:[eo,["boolean","string"].includes(e)?(0,n.jsxs)(n.Fragment,{children:["string"===e&&(0,n.jsx)(v.Ac,{children:P}),(0,n.jsx)(g.Z,{sx:{flexGrow:1}})]}):P,ee,er,$]}):P},[$,eo,ee,er,P,I,S]),et=(0,t.useMemo)(()=>"string"==typeof T?(0,n.jsx)(v.Ac,{align:"center",children:T}):T,[T]),el=(0,t.useCallback)((e,r,o)=>k&&X?(0,n.jsx)(d.Z,{sx:{minWidth:A},children:(0,n.jsx)(x.Z,{checked:r,edge:"start",onChange:function(){for(var r=arguments.length,o=Array(r),n=0;n{if(L)return(0,n.jsx)(Z.Z,{mt:0});if(!q)return et;let e=Object.entries(q);return e.length<=0?et:e.map(e=>{let[r,o]=e,l=G(r,o);return(0,t.createElement)(u.ZP,{...W,key:"".concat(R,"-").concat(r),sx:{paddingLeft:0,paddingRight:0,...E},children:[el(r,null==J?void 0:J.call(null,r,o),null==M?void 0:M.call(null,r,o)),j?(0,n.jsx)(m.Z,{onClick:function(){for(var e=arguments.length,n=Array(e),t=0;tU?{maxHeight:"100%",overflowY:"scroll"}:void 0,[U]);return(0,n.jsxs)(f.Z,{spacing:0,...w,children:[en,(0,n.jsx)(p.Z,{..._,sx:{paddingBottom:0,paddingTop:0,...es,...N},children:ei})]})});j.displayName="List",r.Z=j},99576:function(e,r,o){var n=o(85893),t=o(67294),l=o(14440),i=o(80594),s=o(92763),a=o(60677),c=o(69172),d=o(12641),u=o(77831),m=o(59278);let p="MessageBox",h={error:"".concat(p,"-error"),info:"".concat(p,"-info"),warning:"".concat(p,"-warning")},x={error:(0,n.jsx)(s.Z,{}),info:(0,n.jsx)(a.Z,{}),warning:(0,n.jsx)(c.Z,{})},g={isShowInitially:!0,isAllowClose:!1,onClose:void 0,onCloseAppend:void 0,text:void 0,type:"info"},f=e=>{let{children:r,isAllowClose:o=g.isAllowClose,isShowInitially:s=g.isShowInitially,onClose:a,onCloseAppend:c,type:p=g.type,text:f,...b}=e,{sx:Z}=b,[v,j]=(0,t.useState)(s),y=(0,t.useMemo)(()=>o||void 0!==a||void 0!==c,[o,a,c]),k=(0,t.useCallback)(e=>h[e],[]),w=(0,t.useCallback)(e=>void 0===x[e]?x.info:x[e],[]),C=(0,t.useCallback)(function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;return(0,n.jsx)(m.Ac,{inverted:"info"===e,children:o})},[r]),M=(0,t.useMemo)(()=>({alignItems:"center",borderRadius:u.n_,display:"flex",flexDirection:"row",padding:".3em .6em","& > *":{color:u.lD},"& > :first-child":{marginRight:".3em"},"& > :nth-child(2)":{flexGrow:1},["&.".concat(h.error)]:{backgroundColor:u.hM},["&.".concat(h.info)]:{backgroundColor:u.s7,"& > *":{color:"".concat(u.E5)}},["&.".concat(h.warning)]:{backgroundColor:u.Wd},...Z}),[Z]);return v?(0,n.jsxs)(l.Z,{...b,className:k(p),sx:M,children:[w(p),C(p,f),y&&(0,n.jsx)(i.Z,{onClick:null!=a?a:function(){for(var e=arguments.length,r=Array(e),o=0;o{let{headerMarginOffset:r=".3em",ml:o,mv:t="1.4em",sx:l,mb:i=t,mt:d=t,...u}=e,m=(0,a.useMemo)(()=>o?"calc(".concat(o," + ").concat(r,")"):r,[r,o]),p=(0,a.useMemo)(()=>{let e="number"==typeof d?"".concat(d,"px"):d;return"calc(".concat(e," + ").concat(r,")")},[r,d]),h=(0,a.useMemo)(()=>({borderWidth:"1px",borderRadius:c.n_,borderStyle:"solid",borderColor:c.d,paddingBottom:0,position:"relative",...l}),[l]);return(0,n.jsx)(s.Z,{mb:i,ml:m,mt:p,...u,sx:h})},m=e=>{let{sx:r,...o}=e,t=(0,a.useMemo)(()=>({position:"relative",zIndex:20,...r}),[r]);return(0,n.jsx)(s.Z,{padding:".3em .7em",...o,sx:t})},p=e=>{let{children:r}=e;return(0,n.jsxs)(s.Z,{sx:{position:"relative",whiteSpace:"pre-wrap"},children:[(0,n.jsx)(s.Z,{sx:{alignItems:"center",borderColor:c.d,borderRadius:c.n_,borderStyle:"solid",borderWidth:"1px",display:"flex",left:"-.3em",paddingBottom:".2em",paddingLeft:"1em",paddingRight:".7em",paddingTop:".4em",position:"absolute",top:"-.3em",width:"100%",zIndex:"10","& > :first-child":{flexGrow:1},"& > :not(:first-child, :last-child)":{marginRight:".3em"}},children:r}),(0,n.jsx)(s.Z,{sx:{display:"flex",paddingBottom:".4em",paddingRight:"1.7em",visibility:"hidden"},children:r})]})},h=o(25137),x=o(59278);let g="1.2em";var f=e=>{let{children:r,expandInitially:o=!1,header:f,loading:b=!1,panelProps:Z,showHeaderSpinner:v=!1}=e,[j,y]=(0,a.useState)(o),k=(0,a.useMemo)(()=>j?(0,n.jsx)(t.Z,{}):(0,n.jsx)(l.Z,{}),[j]),w=(0,a.useMemo)(()=>j?"auto":".2em",[j]),C=(0,a.useMemo)(()=>"string"==typeof f?(0,n.jsx)(x.Ac,{children:f}):f,[f]),M=(0,a.useMemo)(()=>v&&!j&&b?(0,n.jsx)(h.Z,{progressProps:{style:{height:g,width:g}}}):void 0,[j,b,v]),P=(0,a.useMemo)(()=>j&&b?(0,n.jsx)(h.Z,{sx:{margin:"1em 0"}}):(0,n.jsx)(m,{children:r}),[r,j,b]);return(0,n.jsxs)(u,{...Z,children:[(0,n.jsxs)(p,{children:[(0,n.jsxs)(d.Z,{row:!0,children:[C,M]}),(0,n.jsx)(i.Z,{onClick:()=>{y(e=>!e)},sx:{color:c.s7,padding:".2em"},children:k})]}),(0,n.jsx)(s.Z,{sx:{height:w,overflowY:"hidden"},children:P})]})},b=o(89262),Z=o(31691);let v="Panel",j={paper:"".concat(v,"-paper"),square:"".concat(v,"-square"),topSquare:"".concat(v,"-topSquare"),bottomSquare:"".concat(v,"-bottomSquare")},y=(0,b.ZP)(s.Z)(()=>({margin:"1em",position:"relative",["& .".concat(j.paper)]:{backgroundColor:c.v9,height:"100%",opacity:.8,padding:"2.1em",position:"relative",width:"100%",zIndex:10},["& .".concat(j.square)]:{content:'""',position:"absolute",width:"2.1em",height:"2.1em",border:"1px",borderColor:c.lD,borderWidth:"1px",borderRadius:c.n_,borderStyle:"solid",padding:0,margin:0},["& .".concat(j.topSquare)]:{top:"-.3em",left:"-.3em"},["& .".concat(j.bottomSquare)]:{bottom:"-.3em",right:"-.3em"}})),k={paperProps:{}},w=(0,n.jsx)(Z.Z,{styles:{"*::-webkit-scrollbar":{width:".6em"},"*::-webkit-scrollbar-track":{backgroundColor:c.v9},"*::-webkit-scrollbar-thumb":{backgroundColor:c.lD,outline:"1px solid transparent",borderRadius:c.n_}}}),C=e=>{let{children:r,classes:o,className:t,paperProps:{className:l,...i}=k.paperProps,sx:a,...c}=e;return(0,n.jsxs)(y,{classes:o,className:t,sx:a,...c,children:[w,(0,n.jsx)(s.Z,{className:"".concat(j.square," ").concat(j.topSquare)}),(0,n.jsx)(s.Z,{className:"".concat(j.square," ").concat(j.bottomSquare)}),(0,n.jsx)(s.Z,{...i,className:"".concat(j.paper," ").concat(l),children:r})]})};C.defaultProps=k;var M=C,P=(0,b.ZP)(s.Z)({alignItems:"center",display:"flex",flexDirection:"row",marginBottom:"1em",width:"100%","& > :first-child":{flexGrow:1},"& > :not(:first-child, :last-child)":{marginRight:".3em"}})},25137:function(e,r,o){var n=o(85893),t=o(14440),l=o(71363),i=o(20166),s=o(77831);let a={progressProps:{}},c=e=>{let{mt:r="3em",progressProps:o=a.progressProps,sx:c,...d}=e;return(0,n.jsx)(t.Z,{...d,sx:{alignItems:"center",display:"flex",justifyContent:"center",marginTop:r,["& .".concat(l.Z.root)]:{color:s.lD},...c},children:(0,n.jsx)(i.Z,{...o,variant:"indeterminate"})})};c.defaultProps=a,r.Z=c},59278:function(e,r,o){o.d(r,{Ac:function(){return m},z:function(){return g},Q0:function(){return b},$_:function(){return Z},PJ:function(){return y},KI:function(){return f}});var n=o(85893),t=o(67294),l=o(94246),i=o(77831);let s="BodyText",a={edge:null,inheritColour:!1,inline:!1,inverted:!1,monospaced:!1,selected:!0,text:null},c={inheritColour:"".concat(s,"-inherit-colour"),inverted:"".concat(s,"-inverted"),monospaced:"".concat(s,"-monospaced"),selected:"".concat(s,"-selected"),unselected:"".concat(s,"-unselected")},d=e=>{let{isInheritColour:r,isInvert:o,isMonospace:n,isSelect:t}=e,l=[];return r?l.push(c.inheritColour):o?l.push(c.inverted):t?l.push(c.selected):l.push(c.unselected),n&&l.push(c.monospaced),l.join(" ")},u=e=>{let{children:r,className:o,inheritColour:s=a.inheritColour,inline:u=a.inline,inverted:m=a.inverted,monospaced:p=a.monospaced,selected:h=a.selected,sx:x,text:g=a.text,...f}=e,b=(0,t.useMemo)(()=>u?"inline":void 0,[u]),Z=(0,t.useMemo)(()=>d({isInheritColour:s,isInvert:m,isMonospace:p,isSelect:h}),[s,m,p,h]),v=(0,t.useMemo)(()=>null!=g?g:r,[r,g]);return(0,n.jsx)(l.Z,{className:"".concat(Z," ").concat(o),variant:"subtitle1",...f,sx:{display:b,["&.".concat(c.inverted)]:{color:i.E5},["&.".concat(c.monospaced)]:{fontFamily:"Source Code Pro",fontWeight:400},["&.".concat(c.selected)]:{color:i.lD},["&.".concat(c.unselected)]:{color:i.UZ},...x},children:v})};u.defaultProps=a;var m=u,p=o(89262);let h=(0,p.ZP)(l.Z)({color:i.lD}),x=e=>{let{children:r,text:o,...l}=e,i=(0,t.useMemo)(()=>null!=r?r:o,[r,o]);return(0,n.jsx)(h,{variant:"h4",...l,children:i})};x.defaultProps={text:void 0};var g=x,f=e=>{let{...r}=e;return(0,n.jsx)(m,{variant:"body2",...r})},b=e=>{let{edge:r,sx:o,...l}=e,i=(0,t.useMemo)(()=>"start"===r?0:void 0,[r]),s=(0,t.useMemo)(()=>"end"===r?0:void 0,[r]),a=(0,t.useMemo)(()=>({display:"inline",padding:".1rem .3rem",paddingLeft:i,paddingRight:s,...o}),[i,s,o]);return(0,n.jsx)(f,{monospaced:!0,sx:a,...l})},Z=e=>{let{sx:r,...o}=e;return(0,n.jsx)(f,{monospaced:!0,sx:{alignItems:"center",display:"flex",height:"100%",...r},...o})},v=o(14440);let j=(0,p.ZP)(v.Z)({backgroundColor:i.Xb,borderRadius:i.n_,color:i.Xb,cursor:"pointer",display:"inline-flex",padding:"0 .6em",width:"fit-content",":focus":{color:"unset",cursor:"text"}});var y=e=>{let{children:r,monospaced:o=!1,revealInitially:l=!1,textProps:i}=e,[s,a]=(0,t.useState)(l),c=(0,t.useMemo)(()=>{if("string"!=typeof r)return r;let e=o?Z:m;return(0,t.createElement)(e,i,r)},[r,o,i]);return(0,n.jsx)(j,{component:"div",onBlur:()=>a(!1),onFocus:()=>a(!0),tabIndex:0,children:s?c:"*****"})}},98484:function(e,r,o){var n=o(5121),t=o(92230);let l=n.Z.create({baseURL:t.Z,transformRequest:n.Z.defaults.transformRequest,transformResponse:n.Z.defaults.transformResponse,validateStatus:e=>e<400,withCredentials:!0});r.Z=l},92230:function(e,r){r.Z="/api"},54120:function(e,r){r.Z=function(){for(var e=arguments.length,r=Array(e),o=0;oe.json())}},48430:function(e,r,o){var n=o(8100),t=o(54120);r.Z=function(e){let{refreshInterval:r=5e3,onSuccess:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{data:l,error:i}=(0,n.ZP)(e,t.Z,{refreshInterval:r,onSuccess:o});return{data:l,isLoading:!i&&!l,error:i}}},97607:function(e,r){r.Z=function(e){let{onRequestError:r=e=>({children:"Incomplete request; reason: ".concat(e,"."),type:"error"}),onResponseErrorAppend:o,onSetupError:n=e=>({children:"Failed to setup request; reason: ".concat(e,"."),type:"error"}),onResponseError:t=e=>{let r;let{status:n,statusText:t}=e;if(500===n)r={children:"The API encountered a problem: ".concat(n," (").concat(t,")! Please check its systemd service logs."),type:"error"};else{var l;r=null!==(l=null==o?void 0:o.call(null,e))&&void 0!==l?l:{children:"API responded with ".concat(n," (").concat(t,")."),type:"warning"}}return r}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{request:l,response:i,message:s}=e;return i?t(i):l?r(l):n(s)}}}]);