Local modifications to ClusterLabs/Anvil by Alteeve
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
11 KiB

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[494],{25709:function(e,r,t){"use strict";var o=t(64836);r.Z=void 0;var a=o(t(64938)),n=t(85893),i=(0,a.default)((0,n.jsx)("path",{d:"M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z"}),"Dashboard");r.Z=i},13540:function(e,r,t){"use strict";var o=t(64836);r.Z=void 0;var a=o(t(64938)),n=t(85893),i=(0,a.default)((0,n.jsx)("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"}),"Logout");r.Z=i},42293:function(e,r,t){"use strict";t.d(r,{Z:function(){return k}});var o=t(63366),a=t(87462),n=t(67294),i=t(63961),l=t(94780),s=t(90948),p=t(71657),c=t(98216),d=t(90629),u=t(1588),f=t(34867);function getAppBarUtilityClass(e){return(0,f.Z)("MuiAppBar",e)}(0,u.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);var h=t(85893);let m=["className","color","enableColorOnDark","position"],useUtilityClasses=e=>{let{color:r,position:t,classes:o}=e,a={root:["root",`color${(0,c.Z)(r)}`,`position${(0,c.Z)(t)}`]};return(0,l.Z)(a,getAppBarUtilityClass,o)},joinVars=(e,r)=>e?`${null==e?void 0:e.replace(")","")}, ${r})`:r,v=(0,s.ZP)(d.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[r.root,r[`position${(0,c.Z)(t.position)}`],r[`color${(0,c.Z)(t.color)}`]]}})(({theme:e,ownerState:r})=>{let t="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,a.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===r.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===r.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===r.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===r.position&&{position:"static"},"relative"===r.position&&{position:"relative"},!e.vars&&(0,a.Z)({},"default"===r.color&&{backgroundColor:t,color:e.palette.getContrastText(t)},r.color&&"default"!==r.color&&"inherit"!==r.color&&"transparent"!==r.color&&{backgroundColor:e.palette[r.color].main,color:e.palette[r.color].contrastText},"inherit"===r.color&&{color:"inherit"},"dark"===e.palette.mode&&!r.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===r.color&&(0,a.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,a.Z)({},"default"===r.color&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette.AppBar.defaultBg:joinVars(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":r.enableColorOnDark?e.vars.palette.text.primary:joinVars(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},r.color&&!r.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":r.enableColorOnDark?e.vars.palette[r.color].main:joinVars(e.vars.palette.AppBar.darkBg,e.vars.palette[r.color].main),"--AppBar-color":r.enableColorOnDark?e.vars.palette[r.color].contrastText:joinVars(e.vars.palette.AppBar.darkColor,e.vars.palette[r.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===r.color?"inherit":"var(--AppBar-color)"},"transparent"===r.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),g=n.forwardRef(function(e,r){let t=(0,p.Z)({props:e,name:"MuiAppBar"}),{className:n,color:l="primary",enableColorOnDark:s=!1,position:c="fixed"}=t,d=(0,o.Z)(t,m),u=(0,a.Z)({},t,{color:l,position:c,enableColorOnDark:s}),f=useUtilityClasses(u);return(0,h.jsx)(v,(0,a.Z)({square:!0,component:"header",ownerState:u,elevation:4,className:(0,i.Z)(f.root,n,"fixed"===c&&"mui-fixed"),ref:r},d))});var k=g},77533:function(e,r,t){"use strict";t.d(r,{ZP:function(){return $}});var o=t(63366),a=t(87462),n=t(67294),i=t(63961),l=t(94780),s=t(11994),p=t(8662),c=t(57144),d=t(51705),u=t(2734),f=t(30577),h=t(5340),m=t(85893);let v=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function setTranslateValue(e,r,t){let o="function"==typeof t?t():t,a=function(e,r,t){let o;let a=r.getBoundingClientRect(),n=t&&t.getBoundingClientRect(),i=(0,h.Z)(r);if(r.fakeTransform)o=r.fakeTransform;else{let e=i.getComputedStyle(r);o=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let l=0,s=0;if(o&&"none"!==o&&"string"==typeof o){let e=o.split("(")[1].split(")")[0].split(",");l=parseInt(e[4],10),s=parseInt(e[5],10)}return"left"===e?n?`translateX(${n.right+l-a.left}px)`:`translateX(${i.innerWidth+l-a.left}px)`:"right"===e?n?`translateX(-${a.right-n.left-l}px)`:`translateX(-${a.left+a.width-l}px)`:"up"===e?n?`translateY(${n.bottom+s-a.top}px)`:`translateY(${i.innerHeight+s-a.top}px)`:n?`translateY(-${a.top-n.top+a.height-s}px)`:`translateY(-${a.top+a.height-s}px)`}(e,r,o);a&&(r.style.webkitTransform=a,r.style.transform=a)}let g=n.forwardRef(function(e,r){let t=(0,u.Z)(),i={enter:t.transitions.easing.easeOut,exit:t.transitions.easing.sharp},l={enter:t.transitions.duration.enteringScreen,exit:t.transitions.duration.leavingScreen},{addEndListener:s,appear:g=!0,children:k,container:x,direction:Z="down",easing:b=i,in:y,onEnter:C,onEntered:w,onEntering:B,onExit:A,onExited:T,onExiting:z,style:D,timeout:E=l,TransitionComponent:$=p.ZP}=e,P=(0,o.Z)(e,v),R=n.useRef(null),S=(0,d.Z)(k.ref,R,r),normalizedTransitionCallback=e=>r=>{e&&(void 0===r?e(R.current):e(R.current,r))},V=normalizedTransitionCallback((e,r)=>{setTranslateValue(Z,e,x),(0,f.n)(e),C&&C(e,r)}),I=normalizedTransitionCallback((e,r)=>{let o=(0,f.C)({timeout:E,style:D,easing:b},{mode:"enter"});e.style.webkitTransition=t.transitions.create("-webkit-transform",(0,a.Z)({},o)),e.style.transition=t.transitions.create("transform",(0,a.Z)({},o)),e.style.webkitTransform="none",e.style.transform="none",B&&B(e,r)}),M=normalizedTransitionCallback(w),j=normalizedTransitionCallback(z),L=normalizedTransitionCallback(e=>{let r=(0,f.C)({timeout:E,style:D,easing:b},{mode:"exit"});e.style.webkitTransition=t.transitions.create("-webkit-transform",r),e.style.transition=t.transitions.create("transform",r),setTranslateValue(Z,e,x),A&&A(e)}),N=normalizedTransitionCallback(e=>{e.style.webkitTransition="",e.style.transition="",T&&T(e)}),O=n.useCallback(()=>{R.current&&setTranslateValue(Z,R.current,x)},[Z,x]);return n.useEffect(()=>{if(y||"down"===Z||"right"===Z)return;let e=(0,c.Z)(()=>{R.current&&setTranslateValue(Z,R.current,x)}),r=(0,h.Z)(R.current);return r.addEventListener("resize",e),()=>{e.clear(),r.removeEventListener("resize",e)}},[Z,y,x]),n.useEffect(()=>{y||O()},[y,O]),(0,m.jsx)($,(0,a.Z)({nodeRef:R,onEnter:V,onEntered:M,onEntering:I,onExit:L,onExited:N,onExiting:j,addEndListener:e=>{s&&s(R.current,e)},appear:g,in:y,timeout:E},P,{children:(e,r)=>n.cloneElement(k,(0,a.Z)({ref:S,style:(0,a.Z)({visibility:"exited"!==e||y?void 0:"hidden"},D,k.props.style)},r))}))});var k=t(90629),x=t(98216),Z=t(71657),b=t(90948),y=t(1588),C=t(34867);function getDrawerUtilityClass(e){return(0,C.Z)("MuiDrawer",e)}(0,y.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);let w=["BackdropProps"],B=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],overridesResolver=(e,r)=>{let{ownerState:t}=e;return[r.root,("permanent"===t.variant||"persistent"===t.variant)&&r.docked,r.modal]},useUtilityClasses=e=>{let{classes:r,anchor:t,variant:o}=e,a={root:["root"],docked:[("permanent"===o||"persistent"===o)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,x.Z)(t)}`,"temporary"!==o&&`paperAnchorDocked${(0,x.Z)(t)}`]};return(0,l.Z)(a,getDrawerUtilityClass,r)},A=(0,b.ZP)(s.Z,{name:"MuiDrawer",slot:"Root",overridesResolver})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),T=(0,b.ZP)("div",{shouldForwardProp:b.FO,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver})({flex:"0 0 auto"}),z=(0,b.ZP)(k.Z,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[r.paper,r[`paperAnchor${(0,x.Z)(t.anchor)}`],"temporary"!==t.variant&&r[`paperAnchorDocked${(0,x.Z)(t.anchor)}`]]}})(({theme:e,ownerState:r})=>(0,a.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===r.anchor&&{left:0},"top"===r.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===r.anchor&&{right:0},"bottom"===r.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===r.anchor&&"temporary"!==r.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===r.anchor&&"temporary"!==r.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===r.anchor&&"temporary"!==r.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===r.anchor&&"temporary"!==r.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),D={left:"right",right:"left",top:"down",bottom:"up"},E=n.forwardRef(function(e,r){let t=(0,Z.Z)({props:e,name:"MuiDrawer"}),l=(0,u.Z)(),s={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{anchor:p="left",BackdropProps:c,children:d,className:f,elevation:h=16,hideBackdrop:v=!1,ModalProps:{BackdropProps:k}={},onClose:x,open:b=!1,PaperProps:y={},SlideProps:C,TransitionComponent:E=g,transitionDuration:$=s,variant:P="temporary"}=t,R=(0,o.Z)(t.ModalProps,w),S=(0,o.Z)(t,B),V=n.useRef(!1);n.useEffect(()=>{V.current=!0},[]);let I="rtl"===l.direction&&-1!==["left","right"].indexOf(p)?D[p]:p,M=(0,a.Z)({},t,{anchor:p,elevation:h,open:b,variant:P},S),j=useUtilityClasses(M),L=(0,m.jsx)(z,(0,a.Z)({elevation:"temporary"===P?h:0,square:!0},y,{className:(0,i.Z)(j.paper,y.className),ownerState:M,children:d}));if("permanent"===P)return(0,m.jsx)(T,(0,a.Z)({className:(0,i.Z)(j.root,j.docked,f),ownerState:M,ref:r},S,{children:L}));let N=(0,m.jsx)(E,(0,a.Z)({in:b,direction:D[I],timeout:$,appear:V.current},C,{children:L}));return"persistent"===P?(0,m.jsx)(T,(0,a.Z)({className:(0,i.Z)(j.root,j.docked,f),ownerState:M,ref:r},S,{children:N})):(0,m.jsx)(A,(0,a.Z)({BackdropProps:(0,a.Z)({},c,k,{transitionDuration:$}),className:(0,i.Z)(j.root,j.modal,f),open:b,ownerState:M,onClose:x,hideBackdrop:v,ref:r},S,R,{children:N}))});var $=E},9008:function(e,r,t){e.exports=t(34605)}}]);