1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[760],{10760:function(e,t,l){let r;l.d(t,{Z:function(){return F}});var o=l(63366),n=l(87462),i=l(67294),s=l(90512),a=l(94780),c=l(82056),u=l(82963),d=l(90948),f=l(28628),b=l(2734),h=l(57144);function detectScrollType(){if(r)return r;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),r="reverse",e.scrollLeft>0?r="default":(e.scrollLeft=1,0===e.scrollLeft&&(r="negative")),document.body.removeChild(e),r}function easeInOutSin(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var v=l(58974),p=l(5340),m=l(85893);let S=["onChange"],g={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var y=l(88169),w=(0,y.Z)((0,m.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Z=(0,y.Z)((0,m.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),x=l(49990),C=l(1588),B=l(34867);function getTabScrollButtonUtilityClass(e){return(0,B.ZP)("MuiTabScrollButton",e)}let E=(0,C.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),I=["className","slots","slotProps","direction","orientation","disabled"],useUtilityClasses=e=>{let{classes:t,orientation:l,disabled:r}=e;return(0,a.Z)({root:["root",l,r&&"disabled"]},getTabScrollButtonUtilityClass,t)},T=(0,d.ZP)(x.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:l}=e;return[t.root,l.orientation&&t[l.orientation]]}})(({ownerState:e})=>(0,n.Z)({width:40,flexShrink:0,opacity:.8,[`&.${E.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),M=i.forwardRef(function(e,t){var l,r;let i=(0,f.i)({props:e,name:"MuiTabScrollButton"}),{className:a,slots:d={},slotProps:b={},direction:h}=i,v=(0,o.Z)(i,I),p=(0,c.V)(),S=(0,n.Z)({isRtl:p},i),g=useUtilityClasses(S),y=null!=(l=d.StartScrollButtonIcon)?l:w,x=null!=(r=d.EndScrollButtonIcon)?r:Z,C=(0,u.Z)({elementType:y,externalSlotProps:b.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:S}),B=(0,u.Z)({elementType:x,externalSlotProps:b.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:S});return(0,m.jsx)(T,(0,n.Z)({component:"div",className:(0,s.Z)(g.root,a),ref:t,role:null,ownerState:S,tabIndex:null},v,{children:"left"===h?(0,m.jsx)(y,(0,n.Z)({},C)):(0,m.jsx)(x,(0,n.Z)({},B))}))});var k=l(2068);function getTabsUtilityClass(e){return(0,B.ZP)("MuiTabs",e)}let z=(0,C.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
1indicator"]);var L=l(8038);let N=["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,l)=>{let r=!1,o=l(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}let t=o.disabled||"true"===o.getAttribute("aria-disabled");if(!o.hasAttribute("tabindex")||t)o=l(e,o);else{o.focus();return}}},Tabs_useUtilityClasses=e=>{let{vertical:t,fixed:l,hideScrollbar:r,scrollableX:o,scrollableY:n,centered:i,scrollButtonsHideMobile:s,classes:c}=e;return(0,a.Z)({root:["root",t&&"vertical"],scroller:["scroller",l&&"fixed",r&&"hideScrollbar",o&&"scrollableX",n&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},getTabsUtilityClass,c)},P=(0,d.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:l}=e;return[{[`& .${z.scrollButtons}`]:t.scrollButtons},{[`& .${z.scrollButtons}`]:l.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,l.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>(0,n.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${z.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),R=(0,d.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{let{ownerState:l}=e;return[t.scroller,l.fixed&&t.fixed,l.hideScrollbar&&t.hideScrollbar,l.scrollableX&&t.scrollableX,l.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"})),A=(0,d.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{let{ownerState:l}=e;return[t.flexContainer,l.vertical&&t.flexContainerVertical,l.centered&&t.centered]}})(({ownerState:e})=>(0,n.Z)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),W=(0,d.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})),j=(0,d.ZP)(function(e){let{onChange:t}=e,l=(0,o.Z)(e,S),r=i.useRef(),s=i.useRef(null),setMeasurements=()=>{r.current=s.current.offsetHeight-s.current.clientHeight};return(0,v.Z)(()=>{let e=(0,h.Z)(()=>{let e=r.current;setMeasurements(),e!==r.current&&t(r.current)}),l=(0,p.Z)(s.current);return l.addEventListener("resize",e),()=>{e.clear(),l.removeEventListener("resize",e)}},[t]),i.useEffect(()=>{setMeasurements(),t(r.current)},[t]),(0,m.jsx)("div",(0,n.Z)({style:g},l,{ref:s}))})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),X={},H=i.forwardRef(function(e,t){let l=(0,f.i)({props:e,name:"MuiTabs"}),r=(0,b.Z)(),a=(0,c.V)(),{"aria-label":d,"aria-labelledby":v,action:S,centered:g=!1,children:y,className:w,component:Z="div",allowScrollButtonsMobile:x=!1,indicatorColor:C="primary",onChange:B,orientation:E="horizontal",ScrollButtonComponent:I=M,scrollButtons:T="auto",selectionFollowsFocus:z,slots:H={},slotProps:F={},TabIndicatorProps:O={},TabScrollButtonProps:U={},textColor:Y="primary",value:D,variant:V="standard",visibleScrollbar:$=!1}=l,_=(0,o.Z)(l,N),q="scrollable"===V,K="vertical"===E,G=K?"scrollTop":"scrollLeft",J=K?"top":"left",Q=K?"bottom":"right",ee=K?"clientHeight":"clientWidth",et=K?"height":"width",el=(0,n.Z)({},l,{component:Z,allowScrollButtonsMobile:x,indicatorColor:C,orientation:E,vertical:K,scrollButtons:T,textColor:Y,variant:V,visibleScrollbar:$,fixed:!q,hide
1Scrollbar:q&&!$,scrollableX:q&&!K,scrollableY:q&&K,centered:g&&!q,scrollButtonsHideMobile:!x}),er=Tabs_useUtilityClasses(el),eo=(0,u.Z)({elementType:H.StartScrollButtonIcon,externalSlotProps:F.startScrollButtonIcon,ownerState:el}),en=(0,u.Z)({elementType:H.EndScrollButtonIcon,externalSlotProps:F.endScrollButtonIcon,ownerState:el}),[ei,es]=i.useState(!1),[ea,ec]=i.useState(X),[eu,ed]=i.useState(!1),[ef,eb]=i.useState(!1),[eh,ev]=i.useState(!1),[ep,em]=i.useState({overflow:"hidden",scrollbarWidth:0}),eS=new Map,eg=i.useRef(null),ey=i.useRef(null),getTabsMeta=()=>{let e,t;let l=eg.current;if(l){let t=l.getBoundingClientRect();e={clientWidth:l.clientWidth,scrollLeft:l.scrollLeft,scrollTop:l.scrollTop,scrollLeftNormalized:function(e,t){let l=e.scrollLeft;if("rtl"!==t)return l;let r=detectScrollType();switch(r){case"negative":return e.scrollWidth-e.clientWidth+l;case"reverse":return e.scrollWidth-e.clientWidth-l;default:return l}}(l,a?"rtl":"ltr"),scrollWidth:l.scrollWidth,top:t.top,bottom:t.bottom,left:t.left,right:t.right}}if(l&&!1!==D){let e=ey.current.children;if(e.length>0){let l=e[eS.get(D)];t=l?l.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},ew=(0,k.Z)(()=>{let e;let{tabsMeta:t,tabMeta:l}=getTabsMeta(),r=0;if(K)e="top",l&&t&&(r=l.top-t.top+t.scrollTop);else if(e=a?"right":"left",l&&t){let o=a?t.scrollLeftNormalized+t.clientWidth-t.scrollWidth:t.scrollLeft;r=(a?-1:1)*(l[e]-t[e]+o)}let o={[e]:r,[et]:l?l[et]:0};if(isNaN(ea[e])||isNaN(ea[et]))ec(o);else{let t=Math.abs(ea[e]-o[e]),l=Math.abs(ea[et]-o[et]);(t>=1||l>=1)&&ec(o)}}),scroll=(e,{animation:t=!0}={})=>{t?function(e,t,l,r={},o=()=>{}){let{ease:n=easeInOutSin,duration:i=300}=r,s=null,a=t[e],c=!1,step=r=>{if(c){o(Error("Animation cancelled"));return}null===s&&(s=r);let u=Math.min(1,(r-s)/i);if(t[e]=n(u)*(l-a)+a,u>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(step)};return a===l?o(Error("Element already at target position")):requestAnimationFrame(step),()=>{c=!0}}(G,eg.current,e,{duration:r.transitions.duration.standard}):eg.current[G]=e},moveTabsScroll=e=>{let t=eg.current[G];K?t+=e:(t+=e*(a?-1:1),t*=a&&"reverse"===detectScrollType()?-1:1),scroll(t)},getScrollSize=()=>{let e=eg.current[ee],t=0,l=Array.from(ey.current.children);for(let r=0;r<l.length;r+=1){let o=l[r];if(t+o[ee]>e){0===r&&(t=e);break}t+=o[ee]}return t},handleStartScrollClick=()=>{moveTabsScroll(-1*getScrollSize())},handleEndScrollClick=()=>{moveTabsScroll(getScrollSize())},eZ=i.useCallback(e=>{em({overflow:null,scrollbarWidth:e})},[]),ex=(0,k.Z)(e=>{let{tabsMeta:t,tabMeta:l}=getTabsMeta();if(l&&t){if(l[J]<t[J]){let r=t[G]+(l[J]-t[J]);scroll(r,{animation:e})}else if(l[Q]>t[Q]){let r=t[G]+(l[Q]-t[Q]);scroll(r,{animation:e})}}}),eC=(0,k.Z)(()=>{q&&!1!==T&&ev(!eh)});i.useEffect(()=>{let e,t;let l=(0,h.Z)(()=>{eg.current&&ew()}),r=(0,p.Z)(eg.current);return r.addEventListener("resize",l),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(l),Array.from(ey.current.children).forEach(t=>{e.observe(t)})),"undefined"!=typeof MutationObserver&&(t=new MutationObserver(t=>{t.forEach(t=>{t.removedNodes.forEach(t=>{var l;null==(l=e)||l.unobserve(t)}),t.addedNodes.forEach(t=>{var l;null==(l=e)||l.observe(t)})}),l(),eC()})).observe(ey.current,{childList:!0}),()=>{var o,n;l.clear(),r.removeEventListener("resize",l),null==(o=t)||o.disconnect(),null==(n=e)||n.disconnect()}},[ew,eC]),i.useEffect(()=>{let e=Array.from(ey.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&q&&!1!==T){let l=e[0],r=e[t-1],o={root:eg.current,threshold:.99},n=new IntersectionObserver(e=>{ed(!e[0].isIntersecting)},o);n.observe(l);let i=new IntersectionObserver(e=>{eb(!e[0].isIntersecting)},o);return i.observe(r),()=>{n.disconnect(),i.disconnect()}}},[q,T,eh,null==y?void 0:y.length]),i.useEffect(()=>{es(!0)},[]),i.useEffect(()=>{ew()}),i.useEffect(()=>{ex(X!==ea)},[ex,ea]),i.useImperativeHandle(S,()=>({updateIndicator:ew,updateScrollButtons:eC}),[ew,eC]);let eB=(0,m.jsx)(W,(0,n.Z)({},O,{className:(0,s.Z)(er.indicator,O.className),ownerState:el,style:(0,n.Z)({},ea,O.style)})),eE=0,eI=i.Children.map(y,e=>{if(!i.isValidElement(e))return null;let t=void 0===e.props.value?eE:e.props.value;eS.set(t,eE);let l=t===D;return eE+=1,i.cloneElement(e,(0,n.Z)({fullWidth:"fullWidth"===V,indicator:l&&!ei&&eB,selected:l,selectionFollowsFocus:z,onChange:B,textColor:Y,value:t},1!==eE||!1!==D||e.props.tabIndex?{}:{tabIndex:0}))}),eT=(()=>{let e={};e.scrollbarSizeListener=q?(0,m.jsx)(j,{onChange:eZ,className:(0,s.Z)(er.scrollableX,er.hide
1Scrollbar)}):null;let t=q&&("auto"===T&&(eu||ef)||!0===T);return e.scrollButtonStart=t?(0,m.jsx)(I,(0,n.Z)({slots:{StartScrollButtonIcon:H.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:eo},orientation:E,direction:a?"right":"left",onClick:handleStartScrollClick,disabled:!eu},U,{className:(0,s.Z)(er.scrollButtons,U.className)})):null,e.scrollButtonEnd=t?(0,m.jsx)(I,(0,n.Z)({slots:{EndScrollButtonIcon:H.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:en},orientation:E,direction:a?"left":"right",onClick:handleEndScrollClick,disabled:!ef},U,{className:(0,s.Z)(er.scrollButtons,U.className)})):null,e})();return(0,m.jsxs)(P,(0,n.Z)({className:(0,s.Z)(er.root,w),ownerState:el,ref:t,as:Z},_,{children:[eT.scrollButtonStart,eT.scrollbarSizeListener,(0,m.jsxs)(R,{className:er.scroller,ownerState:el,style:{overflow:ep.overflow,[K?`margin${a?"Left":"Right"}`:"marginBottom"]:$?void 0:-ep.scrollbarWidth},ref:eg,children:[(0,m.jsx)(A,{"aria-label":d,"aria-labelledby":v,"aria-orientation":"vertical"===E?"vertical":null,className:er.flexContainer,ownerState:el,onKeyDown:e=>{let t=ey.current,l=(0,L.Z)(t).activeElement,r=l.getAttribute("role");if("tab"!==r)return;let o="horizontal"===E?"ArrowLeft":"ArrowUp",n="horizontal"===E?"ArrowRight":"ArrowDown";switch("horizontal"===E&&a&&(o="ArrowRight",n="ArrowLeft"),e.key){case o:e.preventDefault(),moveFocus(t,l,previousItem);break;case n:e.preventDefault(),moveFocus(t,l,nextItem);break;case"Home":e.preventDefault(),moveFocus(t,null,nextItem);break;case"End":e.preventDefault(),moveFocus(t,null,previousItem)}},ref:ey,role:"tablist",children:eI}),ei&&eB]}),eT.scrollButtonEnd]}))});var F=H}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.