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
10 KiB

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