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

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[814],{53457:function(e,t,r){"use strict";r.d(t,{Z:function(){return Z}});var o=r(63366),l=r(87462),n=r(67294),i=r(63961),a=r(94780),s=r(90948),c=r(71657),u=r(1588),d=r(34867);function getFormGroupUtilityClass(e){return(0,d.Z)("MuiFormGroup",e)}(0,u.Z)("MuiFormGroup",["root","row","error"]);var f=r(74423),p=r(15704),h=r(85893);let b=["className","row"],useUtilityClasses=e=>{let{classes:t,row:r,error:o}=e;return(0,a.Z)({root:["root",r&&"row",o&&"error"]},getFormGroupUtilityClass,t)},v=(0,s.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.row&&t.row]}})(({ownerState:e})=>(0,l.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"})),m=n.forwardRef(function(e,t){let r=(0,c.Z)({props:e,name:"MuiFormGroup"}),{className:n,row:a=!1}=r,s=(0,o.Z)(r,b),u=(0,f.Z)(),d=(0,p.Z)({props:r,muiFormControl:u,states:["error"]}),m=(0,l.Z)({},r,{row:a,error:d.error}),Z=useUtilityClasses(m);return(0,h.jsx)(v,(0,l.Z)({className:(0,i.Z)(Z.root,n),ownerState:m,ref:t},s))});var Z=m},84376:function(e,t,r){"use strict";r.d(t,{Z:function(){return I}});var o=r(63366),l=r(87462),n=r(67294),i=r(63961),a=r(94780),s=r(41796),c=r(21964),u=r(71657),d=r(77892),f=r(85893),p=(0,d.Z)((0,f.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),h=(0,d.Z)((0,f.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),b=r(90948);let v=(0,b.ZP)("span",{shouldForwardProp:b.FO})({position:"relative",display:"flex"}),m=(0,b.ZP)(p)({transform:"scale(1)"}),Z=(0,b.ZP)(h)(({theme:e,ownerState:t})=>(0,l.Z)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}));var Radio_RadioButtonIcon=function(e){let{checked:t=!1,classes:r={},fontSize:o}=e,n=(0,l.Z)({},e,{checked:t});return(0,f.jsxs)(v,{className:r.root,ownerState:n,children:[(0,f.jsx)(m,{fontSize:o,className:r.background,ownerState:n}),(0,f.jsx)(Z,{fontSize:o,className:r.dot,ownerState:n})]})},g=r(98216),y=r(35893),S=r(80209),x=r(64568);let w=["checked","checkedIcon","color","icon","name","onChange","size","className"],useUtilityClasses=e=>{let{classes:t,color:r,size:o}=e,n={root:["root",`color${(0,g.Z)(r)}`,"medium"!==o&&`size${(0,g.Z)(o)}`]};return(0,l.Z)({},t,(0,a.Z)(n,x.l,t))},C=(0,b.ZP)(c.Z,{shouldForwardProp:e=>(0,b.FO)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"medium"!==r.size&&t[`size${(0,g.Z)(r.size)}`],t[`color${(0,g.Z)(r.color)}`]]}})(({theme:e,ownerState:t})=>(0,l.Z)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.Fq)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${x.Z.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${x.Z.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),B=(0,f.jsx)(Radio_RadioButtonIcon,{checked:!0}),R=(0,f.jsx)(Radio_RadioButtonIcon,{}),k=n.forwardRef(function(e,t){var r,a,s,c;let d=(0,u.Z)({props:e,name:"MuiRadio"}),{checked:p,checkedIcon:h=B,color:b="primary",icon:v=R,name:m,onChange:Z,size:g="medium",className:x}=d,k=(0,o.Z)(d,w),I=(0,l.Z)({},d,{color:b,size:g}),M=useUtilityClasses(I),E=n.useContext(S.Z),T=p,j=(0,y.Z)(Z,E&&E.onChange),z=m;return E&&(void 0===T&&(s=E.value,T="object"==typeof(c=d.value)&&null!==c?s===c:String(s)===String(c)),void 0===z&&(z=E.name)),(0,f.jsx)(C,(0,l.Z)({type:"radio",icon:n.cloneElement(v,{fontSize:null!=(r=R.props.fontSize)?r:g}),checkedIcon:n.cloneElement(h,{fontSize:null!=(a=B.props.fontSize)?a:g}),ownerState:I,classes:M,name:z,checked:T,onChange:j,ref:t,className:(0,i.Z)(M.root,x)},k))});var I=k},64568:function(e,t,r){"use strict";r.d(t,{l:function(){return getRadioUtilityClass}});var o=r(1588),l=r(34867);function getRadioUtilityClass(e){return(0,l.Z)("MuiRadio",e)}let n=(0,o.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);t.Z=n},68061:function(e,t,r){"use strict";var o=r(87462),l=r(63366),n=r(67294),i=r(53457),a=r(51705),s=r(49299),c=r(80209),u=r(27909),d=r(85893);let f=["actions","children","defaultValue","name","onChange","value"],p=n.forwardRef(function(e,t){let{actions:r,children:p,defaultValue:h,name:b,onChange:v,value:m}=e,Z=(0,l.Z)(e,f),g=n.useRef(null),[y,S]=(0,s.Z)({controlled:m,default:h,name:"RadioGroup"});n.useImperativeHandle(r,()=>({focus:()=>{let e=g.current.querySelector("input:not(:disabled):checked");e||(e=g.current.querySelector("input:not(:disabled)")),e&&e.focus()}}),[]);let x=(0,a.Z)(t,g),w=(0,u.Z)(b),C=n.useMemo(()=>({name:w,onChange(e){S(e.target.value),v&&v(e,e.target.value)},value:y}),[w,v,S,y]);return(0,d.jsx)(c.Z.Provider,{value:C,children:(0,d.jsx)(i.Z,(0,o.Z)({role:"radiogroup",ref:x},Z,{children:p}))})});t.Z=p},80209:function(e,t,r){"use strict";var o=r(67294);let l=o.createContext(void 0);t.Z=l},75316:function(e,t,r){"use strict";var o=r(63366),l=r(87462),n=r(67294),i=r(63961),a=r(94780),s=r(47739),c=r(98216),u=r(71657),d=r(90948),f=r(21073),p=r(85893);let h=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],useUtilityClasses=e=>{let{classes:t,textColor:r,fullWidth:o,wrapped:l,icon:n,label:i,selected:s,disabled:u}=e,d={root:["root",n&&i&&"labelIcon",`textColor${(0,c.Z)(r)}`,o&&"fullWidth",l&&"wrapped",s&&"selected",u&&"disabled"],iconWrapper:["iconWrapper"]};return(0,a.Z)(d,f.V,t)},b=(0,d.ZP)(s.Z,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${(0,c.Z)(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>(0,l.Z)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${f.Z.iconWrapper}`]:(0,l.Z)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${f.Z.selected}`]:{opacity:1},[`&.${f.Z.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${f.Z.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${f.Z.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${f.Z.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${f.Z.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),v=n.forwardRef(function(e,t){let r=(0,u.Z)({props:e,name:"MuiTab"}),{className:a,disabled:s=!1,disableFocusRipple:c=!1,fullWidth:d,icon:f,iconPosition:v="top",indicator:m,label:Z,onChange:g,onClick:y,onFocus:S,selected:x,selectionFollowsFocus:w,textColor:C="inherit",value:B,wrapped:R=!1}=r,k=(0,o.Z)(r,h),I=(0,l.Z)({},r,{disabled:s,disableFocusRipple:c,selected:x,icon:!!f,iconPosition:v,label:!!Z,fullWidth:d,textColor:C,wrapped:R}),M=useUtilityClasses(I),E=f&&Z&&n.isValidElement(f)?n.cloneElement(f,{className:(0,i.Z)(M.iconWrapper,f.props.className)}):f;return(0,p.jsxs)(b,(0,l.Z)({focusRipple:!c,className:(0,i.Z)(M.root,a),ref:t,role:"tab","aria-selected":x,disabled:s,onClick:e=>{!x&&g&&g(e,B),y&&y(e)},onFocus:e=>{w&&!x&&g&&g(e,B),S&&S(e)},ownerState:I,tabIndex:x?0:-1},k,{children:["top"===v||"start"===v?(0,p.jsxs)(n.Fragment,{children:[E,Z]}):(0,p.jsxs)(n.Fragment,{children:[Z,E]}),m]}))});t.Z=v},21073:function(e,t,r){"use strict";r.d(t,{V:function(){return getTabUtilityClass}});var o=r(1588),l=r(34867);function getTabUtilityClass(e){return(0,l.Z)("MuiTab",e)}let n=(0,o.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);t.Z=n},37023:function(e,t,r){"use strict";let o;r.d(t,{Z:function(){return L}});var l=r(63366),n=r(87462),i=r(67294);r(59864);var a=r(63961),s=r(94780),c=r(5094),u=r(90948),d=r(71657),f=r(2734),p=r(57144);function detectScrollType(){if(o)return o;let e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),o="reverse",e.scrollLeft>0?o="default":(e.scrollLeft=1,0===e.scrollLeft&&(o="negative")),document.body.removeChild(e),o}function easeInOutSin(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var h=r(58974),b=r(5340),v=r(85893);let m=["onChange"],Z={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var g=r(67070),y=r(56686),S=r(47739),x=r(1588),w=r(34867);function getTabScrollButtonUtilityClass(e){return(0,w.Z)("MuiTabScrollButton",e)}let C=(0,x.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),B=["className","slots","slotProps","direction","orientation","disabled"],useUtilityClasses=e=>{let{classes:t,orientation:r,disabled:o}=e;return(0,s.Z)({root:["root",r,o&&"disabled"]},getTabScrollButtonUtilityClass,t)},R=(0,u.ZP)(S.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(({ownerState:e})=>(0,n.Z)({width:40,flexShrink:0,opacity:.8,[`&.${C.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),k=i.forwardRef(function(e,t){var r,o;let i=(0,d.Z)({props:e,name:"MuiTabScrollButton"}),{className:s,slots:u={},slotProps:p={},direction:h}=i,b=(0,l.Z)(i,B),m=(0,f.Z)(),Z="rtl"===m.direction,S=(0,n.Z)({isRtl:Z},i),x=useUtilityClasses(S),w=null!=(r=u.StartScrollButtonIcon)?r:g.Z,C=null!=(o=u.EndScrollButtonIcon)?o:y.Z,k=(0,c.y)({elementType:w,externalSlotProps:p.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:S}),I=(0,c.y)({elementType:C,externalSlotProps:p.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:S});return(0,v.jsx)(R,(0,n.Z)({component:"div",className:(0,a.Z)(x.root,s),ref:t,role:null,ownerState:S,tabIndex:null},b,{children:"left"===h?(0,v.jsx)(w,(0,n.Z)({},k)):(0,v.jsx)(C,(0,n.Z)({},I))}))});var I=r(2068),M=r(90852),E=r(8038);let T=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],nextItem=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,previousItem=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,moveFocus=(e,t,r)=>{let o=!1,l=r(e,t);for(;l;){if(l===e.firstChild){if(o)return;o=!0}let t=l.disabled||"true"===l.getAttribute("aria-disabled");if(!l.hasAttribute("tabindex")||t)l=r(e,l);else{l.focus();return}}},Tabs_useUtilityClasses=e=>{let{vertical:t,fixed:r,hideScrollbar:o,scrollableX:l,scrollableY:n,centered:i,scrollButtonsHideMobile:a,classes:c}=e;return(0,s.Z)({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",o&&"hideScrollbar",l&&"scrollableX",n&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",a&&"scrollButtonsHideMobile"],scrollableX:[l&&"scrollableX"],hideScrollbar:[o&&"hideScrollbar"]},M.m,c)},j=(0,u.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${M.Z.scrollButtons}`]:t.scrollButtons},{[`& .${M.Z.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>(0,n.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${M.Z.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),z=(0,u.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(({ownerState:e})=>(0,n.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),P=(0,u.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(({ownerState:e})=>(0,n.Z)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),N=(0,u.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>(0,n.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),_=(0,u.ZP)(function(e){let{onChange:t}=e,r=(0,l.Z)(e,m),o=i.useRef(),a=i.useRef(null),setMeasurements=()=>{o.current=a.current.offsetHeight-a.current.clientHeight};return(0,h.Z)(()=>{let e=(0,p.Z)(()=>{let e=o.current;setMeasurements(),e!==o.current&&t(o.current)}),r=(0,b.Z)(a.current);return r.addEventListener("resize",e),()=>{e.clear(),r.removeEventListener("resize",e)}},[t]),i.useEffect(()=>{setMeasurements(),t(o.current)},[t]),(0,v.jsx)("div",(0,n.Z)({style:Z,ref:a},r))})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),W={},F=i.forwardRef(function(e,t){let r=(0,d.Z)({props:e,name:"MuiTabs"}),o=(0,f.Z)(),s="rtl"===o.direction,{"aria-label":u,"aria-labelledby":h,action:m,centered:Z=!1,children:g,className:y,component:S="div",allowScrollButtonsMobile:x=!1,indicatorColor:w="primary",onChange:C,orientation:B="horizontal",ScrollButtonComponent:R=k,scrollButtons:M="auto",selectionFollowsFocus:F,slots:L={},slotProps:O={},TabIndicatorProps:$={},TabScrollButtonProps:A={},textColor:U="primary",value:H,variant:D="standard",visibleScrollbar:X=!1}=r,V=(0,l.Z)(r,T),Y="scrollable"===D,q="vertical"===B,G=q?"scrollTop":"scrollLeft",K=q?"top":"left",J=q?"bottom":"right",Q=q?"clientHeight":"clientWidth",ee=q?"height":"width",et=(0,n.Z)({},r,{component:S,allowScrollButtonsMobile:x,indicatorColor:w,orientation:B,vertical:q,scrollButtons:M,textColor:U,variant:D,visibleScrollbar:X,fixed:!Y,hideScrollbar:Y&&!X,scrollableX:Y&&!q,scrollableY:Y&&q,centered:Z&&!Y,scrollButtonsHideMobile:!x}),er=Tabs_useUtilityClasses(et),eo=(0,c.y)({elementType:L.StartScrollButtonIcon,externalSlotProps:O.startScrollButtonIcon,ownerState:et}),el=(0,c.y)({elementType:L.EndScrollButtonIcon,externalSlotProps:O.endScrollButtonIcon,ownerState:et}),[en,ei]=i.useState(!1),[ea,es]=i.useState(W),[ec,eu]=i.useState(!1),[ed,ef]=i.useState(!1),[ep,eh]=i.useState(!1),[eb,ev]=i.useState({overflow:"hidden",scrollbarWidth:0}),em=new Map,eZ=i.useRef(null),eg=i.useRef(null),getTabsMeta=()=>{let e,t;let r=eZ.current;if(r){let t=r.getBoundingClientRect();e={clientWidth:r.clientWidth,scrollLeft:r.scrollLeft,scrollTop:r.scrollTop,scrollLeftNormalized:function(e,t){let r=e.scrollLeft;if("rtl"!==t)return r;let o=detectScrollType();switch(o){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}(r,o.direction),scrollWidth:r.scrollWidth,top:t.top,bottom:t.bottom,left:t.left,right:t.right}}if(r&&!1!==H){let e=eg.current.children;if(e.length>0){let r=e[em.get(H)];t=r?r.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},ey=(0,I.Z)(()=>{let e;let{tabsMeta:t,tabMeta:r}=getTabsMeta(),o=0;if(q)e="top",r&&t&&(o=r.top-t.top+t.scrollTop);else if(e=s?"right":"left",r&&t){let l=s?t.scrollLeftNormalized+t.clientWidth-t.scrollWidth:t.scrollLeft;o=(s?-1:1)*(r[e]-t[e]+l)}let l={[e]:o,[ee]:r?r[ee]:0};if(isNaN(ea[e])||isNaN(ea[ee]))es(l);else{let t=Math.abs(ea[e]-l[e]),r=Math.abs(ea[ee]-l[ee]);(t>=1||r>=1)&&es(l)}}),scroll=(e,{animation:t=!0}={})=>{t?function(e,t,r,o={},l=()=>{}){let{ease:n=easeInOutSin,duration:i=300}=o,a=null,s=t[e],c=!1,step=o=>{if(c){l(Error("Animation cancelled"));return}null===a&&(a=o);let u=Math.min(1,(o-a)/i);if(t[e]=n(u)*(r-s)+s,u>=1){requestAnimationFrame(()=>{l(null)});return}requestAnimationFrame(step)};return s===r?l(Error("Element already at target position")):requestAnimationFrame(step),()=>{c=!0}}(G,eZ.current,e,{duration:o.transitions.duration.standard}):eZ.current[G]=e},moveTabsScroll=e=>{let t=eZ.current[G];q?t+=e:(t+=e*(s?-1:1),t*=s&&"reverse"===detectScrollType()?-1:1),scroll(t)},getScrollSize=()=>{let e=eZ.current[Q],t=0,r=Array.from(eg.current.children);for(let o=0;o<r.length;o+=1){let l=r[o];if(t+l[Q]>e){0===o&&(t=e);break}t+=l[Q]}return t},handleStartScrollClick=()=>{moveTabsScroll(-1*getScrollSize())},handleEndScrollClick=()=>{moveTabsScroll(getScrollSize())},eS=i.useCallback(e=>{ev({overflow:null,scrollbarWidth:e})},[]),ex=(0,I.Z)(e=>{let{tabsMeta:t,tabMeta:r}=getTabsMeta();if(r&&t){if(r[K]<t[K]){let o=t[G]+(r[K]-t[K]);scroll(o,{animation:e})}else if(r[J]>t[J]){let o=t[G]+(r[J]-t[J]);scroll(o,{animation:e})}}}),ew=(0,I.Z)(()=>{Y&&!1!==M&&eh(!ep)});i.useEffect(()=>{let e,t;let r=(0,p.Z)(()=>{eZ.current&&ey()}),o=(0,b.Z)(eZ.current);return o.addEventListener("resize",r),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(r),Array.from(eg.current.children).forEach(t=>{e.observe(t)})),"undefined"!=typeof MutationObserver&&(t=new MutationObserver(t=>{t.forEach(t=>{t.removedNodes.forEach(t=>{var r;null==(r=e)||r.unobserve(t)}),t.addedNodes.forEach(t=>{var r;null==(r=e)||r.observe(t)})}),r(),ew()})).observe(eg.current,{childList:!0}),()=>{var l,n;r.clear(),o.removeEventListener("resize",r),null==(l=t)||l.disconnect(),null==(n=e)||n.disconnect()}},[ey,ew]),i.useEffect(()=>{let e=Array.from(eg.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&Y&&!1!==M){let r=e[0],o=e[t-1],l={root:eZ.current,threshold:.99},n=new IntersectionObserver(e=>{eu(!e[0].isIntersecting)},l);n.observe(r);let i=new IntersectionObserver(e=>{ef(!e[0].isIntersecting)},l);return i.observe(o),()=>{n.disconnect(),i.disconnect()}}},[Y,M,ep,null==g?void 0:g.length]),i.useEffect(()=>{ei(!0)},[]),i.useEffect(()=>{ey()}),i.useEffect(()=>{ex(W!==ea)},[ex,ea]),i.useImperativeHandle(m,()=>({updateIndicator:ey,updateScrollButtons:ew}),[ey,ew]);let eC=(0,v.jsx)(N,(0,n.Z)({},$,{className:(0,a.Z)(er.indicator,$.className),ownerState:et,style:(0,n.Z)({},ea,$.style)})),eB=0,eR=i.Children.map(g,e=>{if(!i.isValidElement(e))return null;let t=void 0===e.props.value?eB:e.props.value;em.set(t,eB);let r=t===H;return eB+=1,i.cloneElement(e,(0,n.Z)({fullWidth:"fullWidth"===D,indicator:r&&!en&&eC,selected:r,selectionFollowsFocus:F,onChange:C,textColor:U,value:t},1!==eB||!1!==H||e.props.tabIndex?{}:{tabIndex:0}))}),ek=(()=>{let e={};e.scrollbarSizeListener=Y?(0,v.jsx)(_,{onChange:eS,className:(0,a.Z)(er.scrollableX,er.hideScrollbar)}):null;let t=Y&&("auto"===M&&(ec||ed)||!0===M);return e.scrollButtonStart=t?(0,v.jsx)(R,(0,n.Z)({slots:{StartScrollButtonIcon:L.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:eo},orientation:B,direction:s?"right":"left",onClick:handleStartScrollClick,disabled:!ec},A,{className:(0,a.Z)(er.scrollButtons,A.className)})):null,e.scrollButtonEnd=t?(0,v.jsx)(R,(0,n.Z)({slots:{EndScrollButtonIcon:L.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:el},orientation:B,direction:s?"left":"right",onClick:handleEndScrollClick,disabled:!ed},A,{className:(0,a.Z)(er.scrollButtons,A.className)})):null,e})();return(0,v.jsxs)(j,(0,n.Z)({className:(0,a.Z)(er.root,y),ownerState:et,ref:t,as:S},V,{children:[ek.scrollButtonStart,ek.scrollbarSizeListener,(0,v.jsxs)(z,{className:er.scroller,ownerState:et,style:{overflow:eb.overflow,[q?`margin${s?"Left":"Right"}`:"marginBottom"]:X?void 0:-eb.scrollbarWidth},ref:eZ,children:[(0,v.jsx)(P,{"aria-label":u,"aria-labelledby":h,"aria-orientation":"vertical"===B?"vertical":null,className:er.flexContainer,ownerState:et,onKeyDown:e=>{let t=eg.current,r=(0,E.Z)(t).activeElement,o=r.getAttribute("role");if("tab"!==o)return;let l="horizontal"===B?"ArrowLeft":"ArrowUp",n="horizontal"===B?"ArrowRight":"ArrowDown";switch("horizontal"===B&&s&&(l="ArrowRight",n="ArrowLeft"),e.key){case l:e.preventDefault(),moveFocus(t,r,previousItem);break;case n:e.preventDefault(),moveFocus(t,r,nextItem);break;case"Home":e.preventDefault(),moveFocus(t,null,nextItem);break;case"End":e.preventDefault(),moveFocus(t,null,previousItem)}},ref:eg,role:"tablist",children:eR}),en&&eC]}),ek.scrollButtonEnd]}))});var L=F},90852:function(e,t,r){"use strict";r.d(t,{m:function(){return getTabsUtilityClass}});var o=r(1588),l=r(34867);function getTabsUtilityClass(e){return(0,l.Z)("MuiTabs",e)}let n=(0,o.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);t.Z=n},88668:function(e,t,r){var o=r(83369),l=r(90619),n=r(72385);function SetCache(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new o;++t<r;)this.add(e[t])}SetCache.prototype.add=SetCache.prototype.push=l,SetCache.prototype.has=n,e.exports=SetCache},82908:function(e){e.exports=function(e,t){for(var r=-1,o=null==e?0:e.length;++r<o;)if(t(e[r],r,e))return!0;return!1}},90939:function(e,t,r){var o=r(2492),l=r(37005);e.exports=function baseIsEqual(e,t,r,n,i){return e===t||(null!=e&&null!=t&&(l(e)||l(t))?o(e,t,r,n,baseIsEqual,i):e!=e&&t!=t)}},2492:function(e,t,r){var o=r(46384),l=r(67114),n=r(18351),i=r(16096),a=r(64160),s=r(1469),c=r(44144),u=r(36719),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,b,v,m){var Z=s(e),g=s(t),y=Z?f:a(e),S=g?f:a(t);y=y==d?p:y,S=S==d?p:S;var x=y==p,w=S==p,C=y==S;if(C&&c(e)){if(!c(t))return!1;Z=!0,x=!1}if(C&&!x)return m||(m=new o),Z||u(e)?l(e,t,r,b,v,m):n(e,t,y,r,b,v,m);if(!(1&r)){var B=x&&h.call(e,"__wrapped__"),R=w&&h.call(t,"__wrapped__");if(B||R){var k=B?e.value():e,I=R?t.value():t;return m||(m=new o),v(k,I,r,b,m)}}return!!C&&(m||(m=new o),i(e,t,r,b,v,m))}},74757:function(e){e.exports=function(e,t){return e.has(t)}},67114:function(e,t,r){var o=r(88668),l=r(82908),n=r(74757);e.exports=function(e,t,r,i,a,s){var c=1&r,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var f=s.get(e),p=s.get(t);if(f&&p)return f==t&&p==e;var h=-1,b=!0,v=2&r?new o:void 0;for(s.set(e,t),s.set(t,e);++h<u;){var m=e[h],Z=t[h];if(i)var g=c?i(Z,m,h,t,e,s):i(m,Z,h,e,t,s);if(void 0!==g){if(g)continue;b=!1;break}if(v){if(!l(t,function(e,t){if(!n(v,t)&&(m===e||a(m,e,r,i,s)))return v.push(t)})){b=!1;break}}else if(!(m===Z||a(m,Z,r,i,s))){b=!1;break}}return s.delete(e),s.delete(t),b}},18351:function(e,t,r){var o=r(62705),l=r(11149),n=r(77813),i=r(67114),a=r(68776),s=r(21814),c=o?o.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,r,o,c,d,f){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new l(e),new l(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=a;case"[object Set]":var h=1&o;if(p||(p=s),e.size!=t.size&&!h)break;var b=f.get(e);if(b)return b==t;o|=2,f.set(e,t);var v=i(p(e),p(t),o,c,d,f);return f.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},16096:function(e,t,r){var o=r(58234),l=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,n,i,a){var s=1&r,c=o(e),u=c.length;if(u!=o(t).length&&!s)return!1;for(var d=u;d--;){var f=c[d];if(!(s?f in t:l.call(t,f)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var b=!0;a.set(e,t),a.set(t,e);for(var v=s;++d<u;){var m=e[f=c[d]],Z=t[f];if(n)var g=s?n(Z,m,f,t,e,a):n(m,Z,f,e,t,a);if(!(void 0===g?m===Z||i(m,Z,r,n,a):g)){b=!1;break}v||(v="constructor"==f)}if(b&&!v){var y=e.constructor,S=t.constructor;y!=S&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof S&&S instanceof S)&&(b=!1)}return a.delete(e),a.delete(t),b}},68776:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,o){r[++t]=[o,e]}),r}},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},18446:function(e,t,r){var o=r(90939);e.exports=function(e,t){return o(e,t)}}}]);