@kuadrant/kuadrant-backstage-plugin-frontend 0.0.2-dev-3d7caf4 → 0.0.2-dev-24d0757
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/empty-state-illustration.png +0 -0
- package/dist/components/ApiKeyManagementTab/ApiKeyManagementTab.esm.js +6 -1
- package/dist/components/ApiKeyManagementTab/ApiKeyManagementTab.esm.js.map +1 -1
- package/dist/components/ApiProductDetailPage/ApiProductDetailPage.esm.js +248 -0
- package/dist/components/ApiProductDetailPage/ApiProductDetailPage.esm.js.map +1 -0
- package/dist/components/ApiProductDetailPage/index.esm.js +2 -0
- package/dist/components/ApiProductDetailPage/index.esm.js.map +1 -0
- package/dist/components/ApiProductDetails/ApiProductDetails.esm.js +86 -0
- package/dist/components/ApiProductDetails/ApiProductDetails.esm.js.map +1 -0
- package/dist/components/ApiProductInfoCard/ApiProductInfoCard.esm.js +24 -43
- package/dist/components/ApiProductInfoCard/ApiProductInfoCard.esm.js.map +1 -1
- package/dist/components/ApprovalQueueTable/ApprovalQueueTable.esm.js +2 -1
- package/dist/components/ApprovalQueueTable/ApprovalQueueTable.esm.js.map +1 -1
- package/dist/components/CreateAPIProductDialog/CreateAPIProductDialog.esm.js +148 -134
- package/dist/components/CreateAPIProductDialog/CreateAPIProductDialog.esm.js.map +1 -1
- package/dist/components/EditAPIProductDialog/EditAPIProductDialog.esm.js +104 -128
- package/dist/components/EditAPIProductDialog/EditAPIProductDialog.esm.js.map +1 -1
- package/dist/components/KuadrantPage/KuadrantPage.esm.js +328 -125
- package/dist/components/KuadrantPage/KuadrantPage.esm.js.map +1 -1
- package/dist/components/MyApiKeysTable/MyApiKeysTable.esm.js +8 -2
- package/dist/components/MyApiKeysTable/MyApiKeysTable.esm.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +1 -1
- package/dist/plugin.esm.js +8 -1
- package/dist/plugin.esm.js.map +1 -1
- package/dist/utils/validation.esm.js +1 -11
- package/dist/utils/validation.esm.js.map +1 -1
- package/dist-scalprum/{internal.plugin-kuadrant.793ab10dddb55e70abe2.js → internal.plugin-kuadrant.95817f34e88db81b5e8f.js} +2 -2
- package/dist-scalprum/internal.plugin-kuadrant.95817f34e88db81b5e8f.js.map +1 -0
- package/dist-scalprum/plugin-manifest.json +2 -2
- package/dist-scalprum/static/2759.fceb317f.chunk.js +2 -0
- package/dist-scalprum/static/2759.fceb317f.chunk.js.map +1 -0
- package/dist-scalprum/static/2928.4303c12e.chunk.js +3 -0
- package/dist-scalprum/static/2928.4303c12e.chunk.js.map +1 -0
- package/dist-scalprum/static/2967.ac3a4bee.chunk.js +2 -0
- package/dist-scalprum/static/2967.ac3a4bee.chunk.js.map +1 -0
- package/dist-scalprum/static/{6979.9699b350.chunk.js → 2987.1da15560.chunk.js} +2 -2
- package/dist-scalprum/static/2987.1da15560.chunk.js.map +1 -0
- package/dist-scalprum/static/3459.5c90b5a3.chunk.js +2 -0
- package/dist-scalprum/static/3459.5c90b5a3.chunk.js.map +1 -0
- package/dist-scalprum/static/3503.66b6e510.chunk.js +2 -0
- package/dist-scalprum/static/3503.66b6e510.chunk.js.map +1 -0
- package/dist-scalprum/static/{3650.aa8552f3.chunk.js → 3650.515c743a.chunk.js} +2 -2
- package/dist-scalprum/static/3650.515c743a.chunk.js.map +1 -0
- package/dist-scalprum/static/4682.6959fcd1.chunk.js +2 -0
- package/dist-scalprum/static/4682.6959fcd1.chunk.js.map +1 -0
- package/dist-scalprum/static/5010.a4aa0f8e.chunk.js +3 -0
- package/dist-scalprum/static/5010.a4aa0f8e.chunk.js.map +1 -0
- package/dist-scalprum/static/5453.280127dd.chunk.js +2 -0
- package/dist-scalprum/static/5453.280127dd.chunk.js.map +1 -0
- package/dist-scalprum/static/6422.97baf774.chunk.js +2 -0
- package/dist-scalprum/static/6422.97baf774.chunk.js.map +1 -0
- package/dist-scalprum/static/7791.12162a71.chunk.js +2 -0
- package/dist-scalprum/static/7791.12162a71.chunk.js.map +1 -0
- package/dist-scalprum/static/8799.7c749838.chunk.js +2 -0
- package/dist-scalprum/static/8799.7c749838.chunk.js.map +1 -0
- package/dist-scalprum/static/empty-state-illustration.7e3ad5a9..png +0 -0
- package/dist-scalprum/static/exposed-PluginRoot.a5792fb2.chunk.js +2 -0
- package/dist-scalprum/static/exposed-PluginRoot.a5792fb2.chunk.js.map +1 -0
- package/package.json +1 -1
- package/dist-scalprum/internal.plugin-kuadrant.793ab10dddb55e70abe2.js.map +0 -1
- package/dist-scalprum/static/2120.44884438.chunk.js +0 -3
- package/dist-scalprum/static/2120.44884438.chunk.js.map +0 -1
- package/dist-scalprum/static/2967.c684efaf.chunk.js +0 -2
- package/dist-scalprum/static/2967.c684efaf.chunk.js.map +0 -1
- package/dist-scalprum/static/3650.aa8552f3.chunk.js.map +0 -1
- package/dist-scalprum/static/5010.acf9a415.chunk.js +0 -3
- package/dist-scalprum/static/5010.acf9a415.chunk.js.map +0 -1
- package/dist-scalprum/static/5453.c1f90bdf.chunk.js +0 -2
- package/dist-scalprum/static/5453.c1f90bdf.chunk.js.map +0 -1
- package/dist-scalprum/static/6813.036a322f.chunk.js +0 -2
- package/dist-scalprum/static/6813.036a322f.chunk.js.map +0 -1
- package/dist-scalprum/static/6979.9699b350.chunk.js.map +0 -1
- package/dist-scalprum/static/7684.3d1fc1a1.chunk.js +0 -2
- package/dist-scalprum/static/7684.3d1fc1a1.chunk.js.map +0 -1
- package/dist-scalprum/static/8416.3604a311.chunk.js +0 -2
- package/dist-scalprum/static/8416.3604a311.chunk.js.map +0 -1
- package/dist-scalprum/static/exposed-PluginRoot.16bf7897.chunk.js +0 -2
- package/dist-scalprum/static/exposed-PluginRoot.16bf7897.chunk.js.map +0 -1
- /package/dist-scalprum/static/{2120.44884438.chunk.js.LICENSE.txt → 2928.4303c12e.chunk.js.LICENSE.txt} +0 -0
- /package/dist-scalprum/static/{5010.acf9a415.chunk.js.LICENSE.txt → 5010.a4aa0f8e.chunk.js.LICENSE.txt} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkinternal_plugin_kuadrant=self.webpackChunkinternal_plugin_kuadrant||[]).push([[6979],{18171:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(89575),r=n(90689),i=n(39850),a=n(95478),l=n(79392),s=n(43457),c=n(54917),d=n(41188),u=n(19878),p={entering:{opacity:1},entered:{opacity:1}},f={enter:s.p0.enteringScreen,exit:s.p0.leavingScreen};const m=a.forwardRef(function(e,t){var n=e.children,s=e.disableStrictModeCompat,m=void 0!==s&&s,v=e.in,h=e.onEnter,b=e.onEntered,A=e.onEntering,g=e.onExit,x=e.onExited,y=e.onExiting,E=e.style,w=e.TransitionComponent,C=void 0===w?l.Ay:w,k=e.timeout,S=void 0===k?f:k,W=(0,i.A)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),B=(0,c.A)(),N=B.unstable_strictMode&&!m,T=a.useRef(null),M=(0,u.A)(n.ref,t),R=(0,u.A)(N?T:void 0,M),D=function(e){return function(t,n){if(e){var o=N?[T.current,t]:[t,n],i=(0,r.A)(o,2),a=i[0],l=i[1];void 0===l?e(a):e(a,l)}}},F=D(A),L=D(function(e,t){(0,d.q)(e);var n=(0,d.c)({style:E,timeout:S},{mode:"enter"});e.style.webkitTransition=B.transitions.create("opacity",n),e.style.transition=B.transitions.create("opacity",n),h&&h(e,t)}),P=D(b),z=D(y),I=D(function(e){var t=(0,d.c)({style:E,timeout:S},{mode:"exit"});e.style.webkitTransition=B.transitions.create("opacity",t),e.style.transition=B.transitions.create("opacity",t),g&&g(e)}),H=D(x);return a.createElement(C,(0,o.A)({appear:!0,in:v,nodeRef:N?T:void 0,onEnter:L,onEntered:P,onEntering:F,onExit:I,onExited:H,onExiting:z,timeout:S},W),function(e,t){return a.cloneElement(n,(0,o.A)({style:(0,o.A)({opacity:0,visibility:"exited"!==e||v?void 0:"hidden"},p[e],E,n.props.style),ref:R},t))})})},31653:(e,t,n)=>{n.d(t,{A:()=>C});var o,r=n(89575),i=n(39850),a=n(24586),l=n(95478),s=(n(26948),n(36274)),c=n(2589),d=n(82431);function u(){if(o)return o;var 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 p(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;switch(u()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function f(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var m={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function v(e){var t=e.onChange,n=(0,i.A)(e,["onChange"]),o=l.useRef(),a=l.useRef(null),s=function(){o.current=a.current.offsetHeight-a.current.clientHeight};return l.useEffect(function(){var e=(0,c.A)(function(){var e=o.current;s(),e!==o.current&&t(o.current)});return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}},[t]),l.useEffect(function(){s(),t(o.current)},[t]),l.createElement("div",(0,r.A)({style:m,ref:a},n))}var h=n(7031),b=n(11192),A=l.forwardRef(function(e,t){var n=e.classes,o=e.className,a=e.color,c=e.orientation,d=(0,i.A)(e,["classes","className","color","orientation"]);return l.createElement("span",(0,r.A)({className:(0,s.A)(n.root,n["color".concat((0,b.A)(a))],o,"vertical"===c&&n.vertical),ref:t},d))});const g=(0,h.A)(function(e){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main},vertical:{height:"100%",width:2,right:0}}},{name:"PrivateTabIndicator"})(A);var x=n(41433),y=n(70020),E=n(54917),w=l.forwardRef(function(e,t){var n=e["aria-label"],o=e["aria-labelledby"],m=e.action,h=e.centered,b=void 0!==h&&h,A=e.children,w=e.classes,C=e.className,k=e.component,S=void 0===k?"div":k,W=e.indicatorColor,B=void 0===W?"secondary":W,N=e.onChange,T=e.orientation,M=void 0===T?"horizontal":T,R=e.ScrollButtonComponent,D=void 0===R?x.A:R,F=e.scrollButtons,L=void 0===F?"auto":F,P=e.selectionFollowsFocus,z=e.TabIndicatorProps,I=void 0===z?{}:z,H=e.TabScrollButtonProps,$=e.textColor,K=void 0===$?"inherit":$,j=e.value,X=e.variant,_=void 0===X?"standard":X,q=(0,i.A)(e,["aria-label","aria-labelledby","action","centered","children","classes","className","component","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant"]),Y=(0,E.A)(),V="scrollable"===_,O="rtl"===Y.direction,U="vertical"===M,G=U?"scrollTop":"scrollLeft",J=U?"top":"left",Q=U?"bottom":"right",Z=U?"clientHeight":"clientWidth",ee=U?"height":"width",te=l.useState(!1),ne=te[0],oe=te[1],re=l.useState({}),ie=re[0],ae=re[1],le=l.useState({start:!1,end:!1}),se=le[0],ce=le[1],de=l.useState({overflow:"hidden",marginBottom:null}),ue=de[0],pe=de[1],fe=new Map,me=l.useRef(null),ve=l.useRef(null),he=function(){var e,t,n=me.current;if(n){var o=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:p(n,Y.direction),scrollWidth:n.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(n&&!1!==j){var r=ve.current.children;if(r.length>0){var i=r[fe.get(j)];t=i?i.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},be=(0,y.A)(function(){var e,t=he(),n=t.tabsMeta,o=t.tabMeta,r=0;if(o&&n)if(U)r=o.top-n.top+n.scrollTop;else{var i=O?n.scrollLeftNormalized+n.clientWidth-n.scrollWidth:n.scrollLeft;r=o.left-n.left+i}var l=(e={},(0,a.A)(e,J,r),(0,a.A)(e,ee,o?o[ee]:0),e);if(isNaN(ie[J])||isNaN(ie[ee]))ae(l);else{var s=Math.abs(ie[J]-l[J]),c=Math.abs(ie[ee]-l[ee]);(s>=1||c>=1)&&ae(l)}}),Ae=function(e){!function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=o.ease,a=void 0===i?f:i,l=o.duration,s=void 0===l?300:l,c=null,d=t[e],u=!1;d===n?r(new Error("Element already at target position")):requestAnimationFrame(function o(i){if(u)r(new Error("Animation cancelled"));else{null===c&&(c=i);var l=Math.min(1,(i-c)/s);t[e]=a(l)*(n-d)+d,l>=1?requestAnimationFrame(function(){r(null)}):requestAnimationFrame(o)}})}(G,me.current,e)},ge=function(e){var t=me.current[G];U?t+=e:(t+=e*(O?-1:1),t*=O&&"reverse"===u()?-1:1),Ae(t)},xe=function(){ge(-me.current[Z])},ye=function(){ge(me.current[Z])},Ee=l.useCallback(function(e){pe({overflow:null,marginBottom:-e})},[]),we=(0,y.A)(function(){var e=he(),t=e.tabsMeta,n=e.tabMeta;if(n&&t)if(n[J]<t[J]){var o=t[G]+(n[J]-t[J]);Ae(o)}else if(n[Q]>t[Q]){var r=t[G]+(n[Q]-t[Q]);Ae(r)}}),Ce=(0,y.A)(function(){if(V&&"off"!==L){var e,t,n=me.current,o=n.scrollTop,r=n.scrollHeight,i=n.clientHeight,a=n.scrollWidth,l=n.clientWidth;if(U)e=o>1,t=o<r-i-1;else{var s=p(me.current,Y.direction);e=O?s<a-l-1:s>1,t=O?s>1:s<a-l-1}e===se.start&&t===se.end||ce({start:e,end:t})}});l.useEffect(function(){var e=(0,c.A)(function(){be(),Ce()}),t=(0,d.A)(me.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}},[be,Ce]);var ke=l.useCallback((0,c.A)(function(){Ce()}));l.useEffect(function(){return function(){ke.clear()}},[ke]),l.useEffect(function(){oe(!0)},[]),l.useEffect(function(){be(),Ce()}),l.useEffect(function(){we()},[we,ie]),l.useImperativeHandle(m,function(){return{updateIndicator:be,updateScrollButtons:Ce}},[be,Ce]);var Se=l.createElement(g,(0,r.A)({className:w.indicator,orientation:M,color:B},I,{style:(0,r.A)({},ie,I.style)})),We=0,Be=l.Children.map(A,function(e){if(!l.isValidElement(e))return null;var t=void 0===e.props.value?We:e.props.value;fe.set(t,We);var n=t===j;return We+=1,l.cloneElement(e,{fullWidth:"fullWidth"===_,indicator:n&&!ne&&Se,selected:n,selectionFollowsFocus:P,onChange:N,textColor:K,value:t})}),Ne=function(){var e={};e.scrollbarSizeListener=V?l.createElement(v,{className:w.scrollable,onChange:Ee}):null;var t=se.start||se.end,n=V&&("auto"===L&&t||"desktop"===L||"on"===L);return e.scrollButtonStart=n?l.createElement(D,(0,r.A)({orientation:M,direction:O?"right":"left",onClick:xe,disabled:!se.start,className:(0,s.A)(w.scrollButtons,"on"!==L&&w.scrollButtonsDesktop)},H)):null,e.scrollButtonEnd=n?l.createElement(D,(0,r.A)({orientation:M,direction:O?"left":"right",onClick:ye,disabled:!se.end,className:(0,s.A)(w.scrollButtons,"on"!==L&&w.scrollButtonsDesktop)},H)):null,e}();return l.createElement(S,(0,r.A)({className:(0,s.A)(w.root,C,U&&w.vertical),ref:t},q),Ne.scrollButtonStart,Ne.scrollbarSizeListener,l.createElement("div",{className:(0,s.A)(w.scroller,V?w.scrollable:w.fixed),style:ue,ref:me,onScroll:ke},l.createElement("div",{"aria-label":n,"aria-labelledby":o,className:(0,s.A)(w.flexContainer,U&&w.flexContainerVertical,b&&!V&&w.centered),onKeyDown:function(e){var t=e.target;if("tab"===t.getAttribute("role")){var n=null,o="vertical"!==M?"ArrowLeft":"ArrowUp",r="vertical"!==M?"ArrowRight":"ArrowDown";switch("vertical"!==M&&"rtl"===Y.direction&&(o="ArrowRight",r="ArrowLeft"),e.key){case o:n=t.previousElementSibling||ve.current.lastChild;break;case r:n=t.nextElementSibling||ve.current.firstChild;break;case"Home":n=ve.current.firstChild;break;case"End":n=ve.current.lastChild}null!==n&&(n.focus(),e.preventDefault())}},ref:ve,role:"tablist"},Be),ne&&Se),Ne.scrollButtonEnd)});const C=(0,h.A)(function(e){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},vertical:{flexDirection:"column"},flexContainer:{display:"flex"},flexContainerVertical:{flexDirection:"column"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},scrollButtons:{},scrollButtonsDesktop:(0,a.A)({},e.breakpoints.down("xs"),{display:"none"}),indicator:{}}},{name:"MuiTabs"})(w)},38605:(e,t,n)=>{n.d(t,{A:()=>p});var o=n(39850),r=n(24586),i=n(89575),a=n(95478),l=n(36274),s=n(7031),c=n(97740),d=n(11192),u=a.forwardRef(function(e,t){var n=e.classes,r=e.className,s=e.disabled,u=void 0!==s&&s,p=e.disableFocusRipple,f=void 0!==p&&p,m=e.fullWidth,v=e.icon,h=e.indicator,b=e.label,A=e.onChange,g=e.onClick,x=e.onFocus,y=e.selected,E=e.selectionFollowsFocus,w=e.textColor,C=void 0===w?"inherit":w,k=e.value,S=e.wrapped,W=void 0!==S&&S,B=(0,o.A)(e,["classes","className","disabled","disableFocusRipple","fullWidth","icon","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"]);return a.createElement(c.A,(0,i.A)({focusRipple:!f,className:(0,l.A)(n.root,n["textColor".concat((0,d.A)(C))],r,u&&n.disabled,y&&n.selected,b&&v&&n.labelIcon,m&&n.fullWidth,W&&n.wrapped),ref:t,role:"tab","aria-selected":y,disabled:u,onClick:function(e){A&&A(e,k),g&&g(e)},onFocus:function(e){E&&!y&&A&&A(e,k),x&&x(e)},tabIndex:y?0:-1},B),a.createElement("span",{className:n.wrapper},v,b),h)});const p=(0,s.A)(function(e){var t;return{root:(0,i.A)({},e.typography.button,(t={maxWidth:264,minWidth:72,position:"relative",boxSizing:"border-box",minHeight:48,flexShrink:0,padding:"6px 12px"},(0,r.A)(t,e.breakpoints.up("sm"),{padding:"6px 24px"}),(0,r.A)(t,"overflow","hidden"),(0,r.A)(t,"whiteSpace","normal"),(0,r.A)(t,"textAlign","center"),(0,r.A)(t,e.breakpoints.up("sm"),{minWidth:160}),t)),labelIcon:{minHeight:72,paddingTop:9,"& $wrapper > *:first-child":{marginBottom:6}},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.5}},textColorPrimary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},wrapped:{fontSize:e.typography.pxToRem(12),lineHeight:1.5},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"}}},{name:"MuiTab"})(u)},41433:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(89575),r=n(39850),i=n(95478),a=n(36274),l=n(49839),s=n(50222),c=n(7031),d=n(97740),u=i.createElement(l.A,{fontSize:"small"}),p=i.createElement(s.A,{fontSize:"small"}),f=i.forwardRef(function(e,t){var n=e.classes,l=e.className,s=e.direction,c=e.orientation,f=e.disabled,m=(0,r.A)(e,["classes","className","direction","orientation","disabled"]);return i.createElement(d.A,(0,o.A)({component:"div",className:(0,a.A)(n.root,l,f&&n.disabled,"vertical"===c&&n.vertical),ref:t,role:null,tabIndex:null},m),"left"===s?u:p)});const m=(0,c.A)({root:{width:40,flexShrink:0,opacity:.8,"&$disabled":{opacity:0}},vertical:{width:"100%",height:40,"& svg":{transform:"rotate(90deg)"}},disabled:{}},{name:"MuiTabScrollButton"})(f)},46805:(e,t,n)=>{n.d(t,{A:()=>c});var o=n(89575),r=n(39850),i=n(95478),a=n(36274),l=n(7031),s=i.forwardRef(function(e,t){var n=e.classes,l=e.className,s=e.dividers,c=void 0!==s&&s,d=(0,r.A)(e,["classes","className","dividers"]);return i.createElement("div",(0,o.A)({className:(0,a.A)(n.root,l,c&&n.dividers),ref:t},d))});const c=(0,l.A)(function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}},{name:"MuiDialogContent"})(s)},49839:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(95478);const r=(0,n(38483).A)(o.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},50222:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(95478);const r=(0,n(38483).A)(o.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},58837:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(89575),r=n(11942),i=n(37247);const a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.makeStyles)(e,(0,o.A)({defaultTheme:i.A},t))}},61477:(e,t,n)=>{n.d(t,{A:()=>d});var o=n(89575),r=n(39850),i=n(95478),a=n(36274),l=n(7031),s=n(72501),c=i.forwardRef(function(e,t){var n=e.children,l=e.classes,c=e.className,d=e.disableTypography,u=void 0!==d&&d,p=(0,r.A)(e,["children","classes","className","disableTypography"]);return i.createElement("div",(0,o.A)({className:(0,a.A)(l.root,c),ref:t},p),u?n:i.createElement(s.A,{component:"h2",variant:"h6"},n))});const d=(0,l.A)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(c)},64163:(e,t,n)=>{n.d(t,{A:()=>d});var o=n(89575),r=n(39850),i=n(95478),a=n(36274),l=n(7031),s=n(18171),c=i.forwardRef(function(e,t){var n=e.children,l=e.classes,c=e.className,d=e.invisible,u=void 0!==d&&d,p=e.open,f=e.transitionDuration,m=e.TransitionComponent,v=void 0===m?s.A:m,h=(0,r.A)(e,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return i.createElement(v,(0,o.A)({in:p,timeout:f},h),i.createElement("div",{className:(0,a.A)(l.root,c,u&&l.invisible),"aria-hidden":!0,ref:t},n))});const d=(0,l.A)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(c)},76891:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(89575),r=n(39850),i=n(24586),a=n(95478),l=n(36274),s=n(7031),c=n(11192),d=n(4313),u=n(64163),p=n(18171),f=n(43457),m=n(4321),v={enter:f.p0.enteringScreen,exit:f.p0.leavingScreen},h=a.forwardRef(function(e,t){var n=e.BackdropProps,i=e.children,s=e.classes,f=e.className,h=e.disableBackdropClick,b=void 0!==h&&h,A=e.disableEscapeKeyDown,g=void 0!==A&&A,x=e.fullScreen,y=void 0!==x&&x,E=e.fullWidth,w=void 0!==E&&E,C=e.maxWidth,k=void 0===C?"sm":C,S=e.onBackdropClick,W=e.onClose,B=e.onEnter,N=e.onEntered,T=e.onEntering,M=e.onEscapeKeyDown,R=e.onExit,D=e.onExited,F=e.onExiting,L=e.open,P=e.PaperComponent,z=void 0===P?m.A:P,I=e.PaperProps,H=void 0===I?{}:I,$=e.scroll,K=void 0===$?"paper":$,j=e.TransitionComponent,X=void 0===j?p.A:j,_=e.transitionDuration,q=void 0===_?v:_,Y=e.TransitionProps,V=e["aria-describedby"],O=e["aria-labelledby"],U=(0,r.A)(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),G=a.useRef();return a.createElement(d.A,(0,o.A)({className:(0,l.A)(s.root,f),BackdropComponent:u.A,BackdropProps:(0,o.A)({transitionDuration:q},n),closeAfterTransition:!0},b?{disableBackdropClick:b}:{},{disableEscapeKeyDown:g,onEscapeKeyDown:M,onClose:W,open:L,ref:t},U),a.createElement(X,(0,o.A)({appear:!0,in:L,timeout:q,onEnter:B,onEntering:T,onEntered:N,onExit:R,onExiting:F,onExited:D,role:"none presentation"},Y),a.createElement("div",{className:(0,l.A)(s.container,s["scroll".concat((0,c.A)(K))]),onMouseUp:function(e){e.target===e.currentTarget&&e.target===G.current&&(G.current=null,S&&S(e),!b&&W&&W(e,"backdropClick"))},onMouseDown:function(e){G.current=e.target}},a.createElement(z,(0,o.A)({elevation:24,role:"dialog","aria-describedby":V,"aria-labelledby":O},H,{className:(0,l.A)(s.paper,s["paperScroll".concat((0,c.A)(K))],s["paperWidth".concat((0,c.A)(String(k)))],H.className,y&&s.paperFullScreen,w&&s.paperFullWidth)}),i))))});const b=(0,s.A)(function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}},{name:"MuiDialog"})(h)},93453:(e,t,n)=>{n.d(t,{A:()=>c});var o=n(89575),r=n(39850),i=n(95478),a=n(36274),l=n(7031),s=i.forwardRef(function(e,t){var n=e.disableSpacing,l=void 0!==n&&n,s=e.classes,c=e.className,d=(0,r.A)(e,["disableSpacing","classes","className"]);return i.createElement("div",(0,o.A)({className:(0,a.A)(s.root,c,!l&&s.spacing),ref:t},d))});const c=(0,l.A)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(s)}}]);
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
"use strict";(self.webpackChunkinternal_plugin_kuadrant=self.webpackChunkinternal_plugin_kuadrant||[]).push([[2987],{18171:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(89575),r=n(90689),i=n(39850),a=n(95478),l=n(79392),s=n(43457),c=n(54917),d=n(41188),p=n(19878),u={entering:{opacity:1},entered:{opacity:1}},f={enter:s.p0.enteringScreen,exit:s.p0.leavingScreen};const m=a.forwardRef(function(e,t){var n=e.children,s=e.disableStrictModeCompat,m=void 0!==s&&s,v=e.in,h=e.onEnter,b=e.onEntered,g=e.onEntering,A=e.onExit,x=e.onExited,y=e.onExiting,E=e.style,w=e.TransitionComponent,C=void 0===w?l.Ay:w,k=e.timeout,S=void 0===k?f:k,W=(0,i.A)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),B=(0,c.A)(),N=B.unstable_strictMode&&!m,T=a.useRef(null),M=(0,p.A)(n.ref,t),R=(0,p.A)(N?T:void 0,M),D=function(e){return function(t,n){if(e){var o=N?[T.current,t]:[t,n],i=(0,r.A)(o,2),a=i[0],l=i[1];void 0===l?e(a):e(a,l)}}},F=D(g),L=D(function(e,t){(0,d.q)(e);var n=(0,d.c)({style:E,timeout:S},{mode:"enter"});e.style.webkitTransition=B.transitions.create("opacity",n),e.style.transition=B.transitions.create("opacity",n),h&&h(e,t)}),P=D(b),z=D(y),I=D(function(e){var t=(0,d.c)({style:E,timeout:S},{mode:"exit"});e.style.webkitTransition=B.transitions.create("opacity",t),e.style.transition=B.transitions.create("opacity",t),A&&A(e)}),H=D(x);return a.createElement(C,(0,o.A)({appear:!0,in:v,nodeRef:N?T:void 0,onEnter:L,onEntered:P,onEntering:F,onExit:I,onExited:H,onExiting:z,timeout:S},W),function(e,t){return a.cloneElement(n,(0,o.A)({style:(0,o.A)({opacity:0,visibility:"exited"!==e||v?void 0:"hidden"},u[e],E,n.props.style),ref:R},t))})})},31653:(e,t,n)=>{n.d(t,{A:()=>C});var o,r=n(89575),i=n(39850),a=n(24586),l=n(95478),s=(n(26948),n(36274)),c=n(2589),d=n(82431);function p(){if(o)return o;var 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 u(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;switch(p()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function f(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var m={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function v(e){var t=e.onChange,n=(0,i.A)(e,["onChange"]),o=l.useRef(),a=l.useRef(null),s=function(){o.current=a.current.offsetHeight-a.current.clientHeight};return l.useEffect(function(){var e=(0,c.A)(function(){var e=o.current;s(),e!==o.current&&t(o.current)});return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}},[t]),l.useEffect(function(){s(),t(o.current)},[t]),l.createElement("div",(0,r.A)({style:m,ref:a},n))}var h=n(7031),b=n(11192),g=l.forwardRef(function(e,t){var n=e.classes,o=e.className,a=e.color,c=e.orientation,d=(0,i.A)(e,["classes","className","color","orientation"]);return l.createElement("span",(0,r.A)({className:(0,s.A)(n.root,n["color".concat((0,b.A)(a))],o,"vertical"===c&&n.vertical),ref:t},d))});const A=(0,h.A)(function(e){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main},vertical:{height:"100%",width:2,right:0}}},{name:"PrivateTabIndicator"})(g);var x=n(41433),y=n(70020),E=n(54917),w=l.forwardRef(function(e,t){var n=e["aria-label"],o=e["aria-labelledby"],m=e.action,h=e.centered,b=void 0!==h&&h,g=e.children,w=e.classes,C=e.className,k=e.component,S=void 0===k?"div":k,W=e.indicatorColor,B=void 0===W?"secondary":W,N=e.onChange,T=e.orientation,M=void 0===T?"horizontal":T,R=e.ScrollButtonComponent,D=void 0===R?x.A:R,F=e.scrollButtons,L=void 0===F?"auto":F,P=e.selectionFollowsFocus,z=e.TabIndicatorProps,I=void 0===z?{}:z,H=e.TabScrollButtonProps,$=e.textColor,K=void 0===$?"inherit":$,j=e.value,X=e.variant,_=void 0===X?"standard":X,q=(0,i.A)(e,["aria-label","aria-labelledby","action","centered","children","classes","className","component","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant"]),Y=(0,E.A)(),V="scrollable"===_,O="rtl"===Y.direction,U="vertical"===M,G=U?"scrollTop":"scrollLeft",J=U?"top":"left",Q=U?"bottom":"right",Z=U?"clientHeight":"clientWidth",ee=U?"height":"width",te=l.useState(!1),ne=te[0],oe=te[1],re=l.useState({}),ie=re[0],ae=re[1],le=l.useState({start:!1,end:!1}),se=le[0],ce=le[1],de=l.useState({overflow:"hidden",marginBottom:null}),pe=de[0],ue=de[1],fe=new Map,me=l.useRef(null),ve=l.useRef(null),he=function(){var e,t,n=me.current;if(n){var o=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:u(n,Y.direction),scrollWidth:n.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(n&&!1!==j){var r=ve.current.children;if(r.length>0){var i=r[fe.get(j)];t=i?i.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},be=(0,y.A)(function(){var e,t=he(),n=t.tabsMeta,o=t.tabMeta,r=0;if(o&&n)if(U)r=o.top-n.top+n.scrollTop;else{var i=O?n.scrollLeftNormalized+n.clientWidth-n.scrollWidth:n.scrollLeft;r=o.left-n.left+i}var l=(e={},(0,a.A)(e,J,r),(0,a.A)(e,ee,o?o[ee]:0),e);if(isNaN(ie[J])||isNaN(ie[ee]))ae(l);else{var s=Math.abs(ie[J]-l[J]),c=Math.abs(ie[ee]-l[ee]);(s>=1||c>=1)&&ae(l)}}),ge=function(e){!function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=o.ease,a=void 0===i?f:i,l=o.duration,s=void 0===l?300:l,c=null,d=t[e],p=!1;d===n?r(new Error("Element already at target position")):requestAnimationFrame(function o(i){if(p)r(new Error("Animation cancelled"));else{null===c&&(c=i);var l=Math.min(1,(i-c)/s);t[e]=a(l)*(n-d)+d,l>=1?requestAnimationFrame(function(){r(null)}):requestAnimationFrame(o)}})}(G,me.current,e)},Ae=function(e){var t=me.current[G];U?t+=e:(t+=e*(O?-1:1),t*=O&&"reverse"===p()?-1:1),ge(t)},xe=function(){Ae(-me.current[Z])},ye=function(){Ae(me.current[Z])},Ee=l.useCallback(function(e){ue({overflow:null,marginBottom:-e})},[]),we=(0,y.A)(function(){var e=he(),t=e.tabsMeta,n=e.tabMeta;if(n&&t)if(n[J]<t[J]){var o=t[G]+(n[J]-t[J]);ge(o)}else if(n[Q]>t[Q]){var r=t[G]+(n[Q]-t[Q]);ge(r)}}),Ce=(0,y.A)(function(){if(V&&"off"!==L){var e,t,n=me.current,o=n.scrollTop,r=n.scrollHeight,i=n.clientHeight,a=n.scrollWidth,l=n.clientWidth;if(U)e=o>1,t=o<r-i-1;else{var s=u(me.current,Y.direction);e=O?s<a-l-1:s>1,t=O?s>1:s<a-l-1}e===se.start&&t===se.end||ce({start:e,end:t})}});l.useEffect(function(){var e=(0,c.A)(function(){be(),Ce()}),t=(0,d.A)(me.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}},[be,Ce]);var ke=l.useCallback((0,c.A)(function(){Ce()}));l.useEffect(function(){return function(){ke.clear()}},[ke]),l.useEffect(function(){oe(!0)},[]),l.useEffect(function(){be(),Ce()}),l.useEffect(function(){we()},[we,ie]),l.useImperativeHandle(m,function(){return{updateIndicator:be,updateScrollButtons:Ce}},[be,Ce]);var Se=l.createElement(A,(0,r.A)({className:w.indicator,orientation:M,color:B},I,{style:(0,r.A)({},ie,I.style)})),We=0,Be=l.Children.map(g,function(e){if(!l.isValidElement(e))return null;var t=void 0===e.props.value?We:e.props.value;fe.set(t,We);var n=t===j;return We+=1,l.cloneElement(e,{fullWidth:"fullWidth"===_,indicator:n&&!ne&&Se,selected:n,selectionFollowsFocus:P,onChange:N,textColor:K,value:t})}),Ne=function(){var e={};e.scrollbarSizeListener=V?l.createElement(v,{className:w.scrollable,onChange:Ee}):null;var t=se.start||se.end,n=V&&("auto"===L&&t||"desktop"===L||"on"===L);return e.scrollButtonStart=n?l.createElement(D,(0,r.A)({orientation:M,direction:O?"right":"left",onClick:xe,disabled:!se.start,className:(0,s.A)(w.scrollButtons,"on"!==L&&w.scrollButtonsDesktop)},H)):null,e.scrollButtonEnd=n?l.createElement(D,(0,r.A)({orientation:M,direction:O?"left":"right",onClick:ye,disabled:!se.end,className:(0,s.A)(w.scrollButtons,"on"!==L&&w.scrollButtonsDesktop)},H)):null,e}();return l.createElement(S,(0,r.A)({className:(0,s.A)(w.root,C,U&&w.vertical),ref:t},q),Ne.scrollButtonStart,Ne.scrollbarSizeListener,l.createElement("div",{className:(0,s.A)(w.scroller,V?w.scrollable:w.fixed),style:pe,ref:me,onScroll:ke},l.createElement("div",{"aria-label":n,"aria-labelledby":o,className:(0,s.A)(w.flexContainer,U&&w.flexContainerVertical,b&&!V&&w.centered),onKeyDown:function(e){var t=e.target;if("tab"===t.getAttribute("role")){var n=null,o="vertical"!==M?"ArrowLeft":"ArrowUp",r="vertical"!==M?"ArrowRight":"ArrowDown";switch("vertical"!==M&&"rtl"===Y.direction&&(o="ArrowRight",r="ArrowLeft"),e.key){case o:n=t.previousElementSibling||ve.current.lastChild;break;case r:n=t.nextElementSibling||ve.current.firstChild;break;case"Home":n=ve.current.firstChild;break;case"End":n=ve.current.lastChild}null!==n&&(n.focus(),e.preventDefault())}},ref:ve,role:"tablist"},Be),ne&&Se),Ne.scrollButtonEnd)});const C=(0,h.A)(function(e){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},vertical:{flexDirection:"column"},flexContainer:{display:"flex"},flexContainerVertical:{flexDirection:"column"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},scrollButtons:{},scrollButtonsDesktop:(0,a.A)({},e.breakpoints.down("xs"),{display:"none"}),indicator:{}}},{name:"MuiTabs"})(w)},38605:(e,t,n)=>{n.d(t,{A:()=>u});var o=n(39850),r=n(24586),i=n(89575),a=n(95478),l=n(36274),s=n(7031),c=n(97740),d=n(11192),p=a.forwardRef(function(e,t){var n=e.classes,r=e.className,s=e.disabled,p=void 0!==s&&s,u=e.disableFocusRipple,f=void 0!==u&&u,m=e.fullWidth,v=e.icon,h=e.indicator,b=e.label,g=e.onChange,A=e.onClick,x=e.onFocus,y=e.selected,E=e.selectionFollowsFocus,w=e.textColor,C=void 0===w?"inherit":w,k=e.value,S=e.wrapped,W=void 0!==S&&S,B=(0,o.A)(e,["classes","className","disabled","disableFocusRipple","fullWidth","icon","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"]);return a.createElement(c.A,(0,i.A)({focusRipple:!f,className:(0,l.A)(n.root,n["textColor".concat((0,d.A)(C))],r,p&&n.disabled,y&&n.selected,b&&v&&n.labelIcon,m&&n.fullWidth,W&&n.wrapped),ref:t,role:"tab","aria-selected":y,disabled:p,onClick:function(e){g&&g(e,k),A&&A(e)},onFocus:function(e){E&&!y&&g&&g(e,k),x&&x(e)},tabIndex:y?0:-1},B),a.createElement("span",{className:n.wrapper},v,b),h)});const u=(0,s.A)(function(e){var t;return{root:(0,i.A)({},e.typography.button,(t={maxWidth:264,minWidth:72,position:"relative",boxSizing:"border-box",minHeight:48,flexShrink:0,padding:"6px 12px"},(0,r.A)(t,e.breakpoints.up("sm"),{padding:"6px 24px"}),(0,r.A)(t,"overflow","hidden"),(0,r.A)(t,"whiteSpace","normal"),(0,r.A)(t,"textAlign","center"),(0,r.A)(t,e.breakpoints.up("sm"),{minWidth:160}),t)),labelIcon:{minHeight:72,paddingTop:9,"& $wrapper > *:first-child":{marginBottom:6}},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.5}},textColorPrimary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},wrapped:{fontSize:e.typography.pxToRem(12),lineHeight:1.5},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"}}},{name:"MuiTab"})(p)},41433:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(89575),r=n(39850),i=n(95478),a=n(36274),l=n(49839),s=n(50222),c=n(7031),d=n(97740),p=i.createElement(l.A,{fontSize:"small"}),u=i.createElement(s.A,{fontSize:"small"}),f=i.forwardRef(function(e,t){var n=e.classes,l=e.className,s=e.direction,c=e.orientation,f=e.disabled,m=(0,r.A)(e,["classes","className","direction","orientation","disabled"]);return i.createElement(d.A,(0,o.A)({component:"div",className:(0,a.A)(n.root,l,f&&n.disabled,"vertical"===c&&n.vertical),ref:t,role:null,tabIndex:null},m),"left"===s?p:u)});const m=(0,c.A)({root:{width:40,flexShrink:0,opacity:.8,"&$disabled":{opacity:0}},vertical:{width:"100%",height:40,"& svg":{transform:"rotate(90deg)"}},disabled:{}},{name:"MuiTabScrollButton"})(f)},46805:(e,t,n)=>{n.d(t,{A:()=>c});var o=n(89575),r=n(39850),i=n(95478),a=n(36274),l=n(7031),s=i.forwardRef(function(e,t){var n=e.classes,l=e.className,s=e.dividers,c=void 0!==s&&s,d=(0,r.A)(e,["classes","className","dividers"]);return i.createElement("div",(0,o.A)({className:(0,a.A)(n.root,l,c&&n.dividers),ref:t},d))});const c=(0,l.A)(function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}},{name:"MuiDialogContent"})(s)},49839:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(95478);const r=(0,n(38483).A)(o.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},50222:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(95478);const r=(0,n(38483).A)(o.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},61477:(e,t,n)=>{n.d(t,{A:()=>d});var o=n(89575),r=n(39850),i=n(95478),a=n(36274),l=n(7031),s=n(72501),c=i.forwardRef(function(e,t){var n=e.children,l=e.classes,c=e.className,d=e.disableTypography,p=void 0!==d&&d,u=(0,r.A)(e,["children","classes","className","disableTypography"]);return i.createElement("div",(0,o.A)({className:(0,a.A)(l.root,c),ref:t},u),p?n:i.createElement(s.A,{component:"h2",variant:"h6"},n))});const d=(0,l.A)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(c)},64163:(e,t,n)=>{n.d(t,{A:()=>d});var o=n(89575),r=n(39850),i=n(95478),a=n(36274),l=n(7031),s=n(18171),c=i.forwardRef(function(e,t){var n=e.children,l=e.classes,c=e.className,d=e.invisible,p=void 0!==d&&d,u=e.open,f=e.transitionDuration,m=e.TransitionComponent,v=void 0===m?s.A:m,h=(0,r.A)(e,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return i.createElement(v,(0,o.A)({in:u,timeout:f},h),i.createElement("div",{className:(0,a.A)(l.root,c,p&&l.invisible),"aria-hidden":!0,ref:t},n))});const d=(0,l.A)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(c)},76891:(e,t,n)=>{n.d(t,{A:()=>b});var o=n(89575),r=n(39850),i=n(24586),a=n(95478),l=n(36274),s=n(7031),c=n(11192),d=n(4313),p=n(64163),u=n(18171),f=n(43457),m=n(4321),v={enter:f.p0.enteringScreen,exit:f.p0.leavingScreen},h=a.forwardRef(function(e,t){var n=e.BackdropProps,i=e.children,s=e.classes,f=e.className,h=e.disableBackdropClick,b=void 0!==h&&h,g=e.disableEscapeKeyDown,A=void 0!==g&&g,x=e.fullScreen,y=void 0!==x&&x,E=e.fullWidth,w=void 0!==E&&E,C=e.maxWidth,k=void 0===C?"sm":C,S=e.onBackdropClick,W=e.onClose,B=e.onEnter,N=e.onEntered,T=e.onEntering,M=e.onEscapeKeyDown,R=e.onExit,D=e.onExited,F=e.onExiting,L=e.open,P=e.PaperComponent,z=void 0===P?m.A:P,I=e.PaperProps,H=void 0===I?{}:I,$=e.scroll,K=void 0===$?"paper":$,j=e.TransitionComponent,X=void 0===j?u.A:j,_=e.transitionDuration,q=void 0===_?v:_,Y=e.TransitionProps,V=e["aria-describedby"],O=e["aria-labelledby"],U=(0,r.A)(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),G=a.useRef();return a.createElement(d.A,(0,o.A)({className:(0,l.A)(s.root,f),BackdropComponent:p.A,BackdropProps:(0,o.A)({transitionDuration:q},n),closeAfterTransition:!0},b?{disableBackdropClick:b}:{},{disableEscapeKeyDown:A,onEscapeKeyDown:M,onClose:W,open:L,ref:t},U),a.createElement(X,(0,o.A)({appear:!0,in:L,timeout:q,onEnter:B,onEntering:T,onEntered:N,onExit:R,onExiting:F,onExited:D,role:"none presentation"},Y),a.createElement("div",{className:(0,l.A)(s.container,s["scroll".concat((0,c.A)(K))]),onMouseUp:function(e){e.target===e.currentTarget&&e.target===G.current&&(G.current=null,S&&S(e),!b&&W&&W(e,"backdropClick"))},onMouseDown:function(e){G.current=e.target}},a.createElement(z,(0,o.A)({elevation:24,role:"dialog","aria-describedby":V,"aria-labelledby":O},H,{className:(0,l.A)(s.paper,s["paperScroll".concat((0,c.A)(K))],s["paperWidth".concat((0,c.A)(String(k)))],H.className,y&&s.paperFullScreen,w&&s.paperFullWidth)}),i))))});const b=(0,s.A)(function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}},{name:"MuiDialog"})(h)},93453:(e,t,n)=>{n.d(t,{A:()=>c});var o=n(89575),r=n(39850),i=n(95478),a=n(36274),l=n(7031),s=i.forwardRef(function(e,t){var n=e.disableSpacing,l=void 0!==n&&n,s=e.classes,c=e.className,d=(0,r.A)(e,["disableSpacing","classes","className"]);return i.createElement("div",(0,o.A)({className:(0,a.A)(s.root,c,!l&&s.spacing),ref:t},d))});const c=(0,l.A)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(s)}}]);
|
|
2
|
+
//# sourceMappingURL=2987.1da15560.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static/2987.1da15560.chunk.js","mappings":"6PAUIA,EAAS,CACXC,SAAU,CACRC,QAAS,GAEXC,QAAS,CACPD,QAAS,IAGTE,EAAiB,CACnBC,MAAO,KAASC,eAChBC,KAAM,KAASC,eA4KjB,QArKwB,aAAiB,SAAcC,EAAOC,GAC5D,IAAIC,EAAWF,EAAME,SACjBC,EAAwBH,EAAMI,wBAC9BA,OAAoD,IAA1BD,GAA2CA,EACrEE,EAASL,EAAMM,GACf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GAAK,IAAS,CACrGzF,SAAU,uBAKd0F,aAAc,CACZ1F,SAAU/Q,EAAM6P,YAAYsG,OAAOO,GACnC,qBAAqB,OAAgB,CAAC,EAAG1W,EAAM6P,YAAYC,KAAK9P,EAAM6P,YAAYsG,OAAOO,GAAK,IAAS,CACrG3F,SAAU,uBAKd4F,aAAc,CACZ5F,SAAU/Q,EAAM6P,YAAYsG,OAAOS,GACnC,qBAAqB,OAAgB,CAAC,EAAG5W,EAAM6P,YAAYC,KAAK9P,EAAM6P,YAAYsG,OAAOS,GAAK,IAAS,CACrG7F,SAAU,uBAKdsE,eAAgB,CACd/S,MAAO,qBAIT8S,gBAAiB,CACfxC,OAAQ,EACRtQ,MAAO,OACPyO,SAAU,OACVxO,OAAQ,OACRuT,UAAW,OACXe,aAAc,EACd,oBAAqB,CACnBjE,OAAQ,EACR7B,SAAU,SAIlB,EA0RkC,CAChCpL,KAAM,aADR,CAEG0N,E,6FCvZCyD,EAA6B,aAAiB,SAAuBjY,EAAOC,GAC9E,IAAIiY,EAAwBlY,EAAMmY,eAC9BA,OAA2C,IAA1BD,GAA2CA,EAC5DtS,EAAU5F,EAAM4F,QAChBC,EAAY7F,EAAM6F,UAClB3E,GAAQ,OAAyBlB,EAAO,CAAC,iBAAkB,UAAW,cAE1E,OAAoB,gBAAoB,OAAO,OAAS,CACtD6F,WAAW,OAAKD,EAAQI,KAAMH,GAAYsS,GAAkBvS,EAAQwS,SACpEnY,IAAKA,GACJiB,GACL,GA4BA,SAAe,OAxDK,CAElB8E,KAAM,CACJyK,QAAS,OACTwC,WAAY,SACZX,QAAS,EACT3B,eAAgB,WAChBC,KAAM,YAIRwH,QAAS,CACP,yBAA0B,CACxBC,WAAY,KA2CgB,CAChCvR,KAAM,oBADR,CAEGmR,E","sources":["webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/Fade/Fade.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/utils/scrollLeft.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/internal/animate.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/Tabs/ScrollbarSize.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/Tabs/TabIndicator.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/Tabs/Tabs.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/Tab/Tab.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/TabScrollButton/TabScrollButton.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/DialogContent/DialogContent.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowLeft.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowRight.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/DialogTitle/DialogTitle.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/Backdrop/Backdrop.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/Dialog/Dialog.js","webpack://internal.plugin-kuadrant/../../node_modules/@material-ui/core/esm/DialogActions/DialogActions.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport { duration } from '../styles/transitions';\nimport useTheme from '../styles/useTheme';\nimport { reflow, getTransitionProps } from '../transitions/utils';\nimport useForkRef from '../utils/useForkRef';\nvar styles = {\n entering: {\n opacity: 1\n },\n entered: {\n opacity: 1\n }\n};\nvar defaultTimeout = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * The Fade transition is used by the [Modal](/components/modal/) component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {\n var children = props.children,\n _props$disableStrictM = props.disableStrictModeCompat,\n disableStrictModeCompat = _props$disableStrictM === void 0 ? false : _props$disableStrictM,\n inProp = props.in,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n style = props.style,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? defaultTimeout : _props$timeout,\n other = _objectWithoutProperties(props, [\"children\", \"disableStrictModeCompat\", \"in\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"style\", \"TransitionComponent\", \"timeout\"]);\n\n var theme = useTheme();\n var enableStrictModeCompat = theme.unstable_strictMode && !disableStrictModeCompat;\n var nodeRef = React.useRef(null);\n var foreignRef = useForkRef(children.ref, ref);\n var handleRef = useForkRef(enableStrictModeCompat ? nodeRef : undefined, foreignRef);\n\n var normalizedTransitionCallback = function normalizedTransitionCallback(callback) {\n return function (nodeOrAppearing, maybeAppearing) {\n if (callback) {\n var _ref = enableStrictModeCompat ? [nodeRef.current, nodeOrAppearing] : [nodeOrAppearing, maybeAppearing],\n _ref2 = _slicedToArray(_ref, 2),\n node = _ref2[0],\n isAppearing = _ref2[1]; // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n\n\n if (isAppearing === undefined) {\n callback(node);\n } else {\n callback(node, isAppearing);\n }\n }\n };\n };\n\n var handleEntering = normalizedTransitionCallback(onEntering);\n var handleEnter = normalizedTransitionCallback(function (node, isAppearing) {\n reflow(node); // So the animation always start from the start.\n\n var transitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n });\n node.style.webkitTransition = theme.transitions.create('opacity', transitionProps);\n node.style.transition = theme.transitions.create('opacity', transitionProps);\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n var handleEntered = normalizedTransitionCallback(onEntered);\n var handleExiting = normalizedTransitionCallback(onExiting);\n var handleExit = normalizedTransitionCallback(function (node) {\n var transitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n });\n node.style.webkitTransition = theme.transitions.create('opacity', transitionProps);\n node.style.transition = theme.transitions.create('opacity', transitionProps);\n\n if (onExit) {\n onExit(node);\n }\n });\n var handleExited = normalizedTransitionCallback(onExited);\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: inProp,\n nodeRef: enableStrictModeCompat ? nodeRef : undefined,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n timeout: timeout\n }, other), function (state, childProps) {\n return /*#__PURE__*/React.cloneElement(children, _extends({\n style: _extends({\n opacity: 0,\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, styles[state], style, children.props.style),\n ref: handleRef\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Fade.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: PropTypes.element,\n\n /**\n * Enable this prop if you encounter 'Function components cannot be given refs',\n * use `unstable_createStrictModeTheme`,\n * and can't forward the ref in the child component.\n */\n disableStrictModeCompat: PropTypes.bool,\n\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Fade;","// Source from https://github.com/alitaheri/normalize-scroll-left\nvar cachedType;\n/**\n * Based on the jquery plugin https://github.com/othree/jquery.rtl-scroll-type\n *\n * Types of scrollLeft, assuming scrollWidth=100 and direction is rtl.\n *\n * Type | <- Most Left | Most Right -> | Initial\n * ---------------- | ------------ | ------------- | -------\n * default | 0 | 100 | 100\n * negative (spec*) | -100 | 0 | 0\n * reverse | 100 | 0 | 0\n *\n * Edge 85: default\n * Safari 14: negative\n * Chrome 85: negative\n * Firefox 81: negative\n * IE 11: reverse\n *\n * spec* https://drafts.csswg.org/cssom-view/#dom-window-scroll\n */\n\nexport function detectScrollType() {\n if (cachedType) {\n return cachedType;\n }\n\n var dummy = document.createElement('div');\n var container = document.createElement('div');\n container.style.width = '10px';\n container.style.height = '1px';\n dummy.appendChild(container);\n dummy.dir = 'rtl';\n dummy.style.fontSize = '14px';\n dummy.style.width = '4px';\n dummy.style.height = '1px';\n dummy.style.position = 'absolute';\n dummy.style.top = '-1000px';\n dummy.style.overflow = 'scroll';\n document.body.appendChild(dummy);\n cachedType = 'reverse';\n\n if (dummy.scrollLeft > 0) {\n cachedType = 'default';\n } else {\n dummy.scrollLeft = 1;\n\n if (dummy.scrollLeft === 0) {\n cachedType = 'negative';\n }\n }\n\n document.body.removeChild(dummy);\n return cachedType;\n} // Based on https://stackoverflow.com/a/24394376\n\nexport function getNormalizedScrollLeft(element, direction) {\n var scrollLeft = element.scrollLeft; // Perform the calculations only when direction is rtl to avoid messing up the ltr bahavior\n\n if (direction !== 'rtl') {\n return scrollLeft;\n }\n\n var type = detectScrollType();\n\n switch (type) {\n case 'negative':\n return element.scrollWidth - element.clientWidth + scrollLeft;\n\n case 'reverse':\n return element.scrollWidth - element.clientWidth - scrollLeft;\n\n default:\n return scrollLeft;\n }\n}","function easeInOutSin(time) {\n return (1 + Math.sin(Math.PI * time - Math.PI / 2)) / 2;\n}\n\nexport default function animate(property, element, to) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var cb = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : function () {};\n var _options$ease = options.ease,\n ease = _options$ease === void 0 ? easeInOutSin : _options$ease,\n _options$duration = options.duration,\n duration = _options$duration === void 0 ? 300 : _options$duration;\n var start = null;\n var from = element[property];\n var cancelled = false;\n\n var cancel = function cancel() {\n cancelled = true;\n };\n\n var step = function step(timestamp) {\n if (cancelled) {\n cb(new Error('Animation cancelled'));\n return;\n }\n\n if (start === null) {\n start = timestamp;\n }\n\n var time = Math.min(1, (timestamp - start) / duration);\n element[property] = ease(time) * (to - from) + from;\n\n if (time >= 1) {\n requestAnimationFrame(function () {\n cb(null);\n });\n return;\n }\n\n requestAnimationFrame(step);\n };\n\n if (from === to) {\n cb(new Error('Element already at target position'));\n return cancel;\n }\n\n requestAnimationFrame(step);\n return cancel;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport debounce from '../utils/debounce';\nvar styles = {\n width: 99,\n height: 99,\n position: 'absolute',\n top: -9999,\n overflow: 'scroll'\n};\n/**\n * @ignore - internal component.\n * The component originates from https://github.com/STORIS/react-scrollbar-size.\n * It has been moved into the core in order to minimize the bundle size.\n */\n\nexport default function ScrollbarSize(props) {\n var onChange = props.onChange,\n other = _objectWithoutProperties(props, [\"onChange\"]);\n\n var scrollbarHeight = React.useRef();\n var nodeRef = React.useRef(null);\n\n var setMeasurements = function setMeasurements() {\n scrollbarHeight.current = nodeRef.current.offsetHeight - nodeRef.current.clientHeight;\n };\n\n React.useEffect(function () {\n var handleResize = debounce(function () {\n var prevHeight = scrollbarHeight.current;\n setMeasurements();\n\n if (prevHeight !== scrollbarHeight.current) {\n onChange(scrollbarHeight.current);\n }\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [onChange]);\n React.useEffect(function () {\n setMeasurements();\n onChange(scrollbarHeight.current);\n }, [onChange]);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n style: styles,\n ref: nodeRef\n }, other));\n}\nprocess.env.NODE_ENV !== \"production\" ? ScrollbarSize.propTypes = {\n onChange: PropTypes.func.isRequired\n} : void 0;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n root: {\n position: 'absolute',\n height: 2,\n bottom: 0,\n width: '100%',\n transition: theme.transitions.create()\n },\n colorPrimary: {\n backgroundColor: theme.palette.primary.main\n },\n colorSecondary: {\n backgroundColor: theme.palette.secondary.main\n },\n vertical: {\n height: '100%',\n width: 2,\n right: 0\n }\n };\n};\n/**\n * @ignore - internal component.\n */\n\nvar TabIndicator = /*#__PURE__*/React.forwardRef(function TabIndicator(props, ref) {\n var classes = props.classes,\n className = props.className,\n color = props.color,\n orientation = props.orientation,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"orientation\"]);\n\n return /*#__PURE__*/React.createElement(\"span\", _extends({\n className: clsx(classes.root, classes[\"color\".concat(capitalize(color))], className, orientation === 'vertical' && classes.vertical),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TabIndicator.propTypes = {\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n * The color of the tab indicator.\n */\n color: PropTypes.oneOf(['primary', 'secondary']).isRequired,\n\n /**\n * The tabs orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']).isRequired\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateTabIndicator'\n})(TabIndicator);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport debounce from '../utils/debounce';\nimport ownerWindow from '../utils/ownerWindow';\nimport { getNormalizedScrollLeft, detectScrollType } from '../utils/scrollLeft';\nimport animate from '../internal/animate';\nimport ScrollbarSize from './ScrollbarSize';\nimport withStyles from '../styles/withStyles';\nimport TabIndicator from './TabIndicator';\nimport TabScrollButton from '../TabScrollButton';\nimport useEventCallback from '../utils/useEventCallback';\nimport useTheme from '../styles/useTheme';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n overflow: 'hidden',\n minHeight: 48,\n WebkitOverflowScrolling: 'touch',\n // Add iOS momentum scrolling.\n display: 'flex'\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n flexDirection: 'column'\n },\n\n /* Styles applied to the flex container element. */\n flexContainer: {\n display: 'flex'\n },\n\n /* Styles applied to the flex container element if `orientation=\"vertical\"`. */\n flexContainerVertical: {\n flexDirection: 'column'\n },\n\n /* Styles applied to the flex container element if `centered={true}` & `!variant=\"scrollable\"`. */\n centered: {\n justifyContent: 'center'\n },\n\n /* Styles applied to the tablist element. */\n scroller: {\n position: 'relative',\n display: 'inline-block',\n flex: '1 1 auto',\n whiteSpace: 'nowrap'\n },\n\n /* Styles applied to the tablist element if `!variant=\"scrollable\"`\b\b\b. */\n fixed: {\n overflowX: 'hidden',\n width: '100%'\n },\n\n /* Styles applied to the tablist element if `variant=\"scrollable\"`. */\n scrollable: {\n overflowX: 'scroll',\n // Hide dimensionless scrollbar on MacOS\n scrollbarWidth: 'none',\n // Firefox\n '&::-webkit-scrollbar': {\n display: 'none' // Safari + Chrome\n\n }\n },\n\n /* Styles applied to the `ScrollButtonComponent` component. */\n scrollButtons: {},\n\n /* Styles applied to the `ScrollButtonComponent` component if `scrollButtons=\"auto\"` or scrollButtons=\"desktop\"`. */\n scrollButtonsDesktop: _defineProperty({}, theme.breakpoints.down('xs'), {\n display: 'none'\n }),\n\n /* Styles applied to the `TabIndicator` component. */\n indicator: {}\n };\n};\nvar Tabs = /*#__PURE__*/React.forwardRef(function Tabs(props, ref) {\n var ariaLabel = props['aria-label'],\n ariaLabelledBy = props['aria-labelledby'],\n action = props.action,\n _props$centered = props.centered,\n centered = _props$centered === void 0 ? false : _props$centered,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$indicatorColor = props.indicatorColor,\n indicatorColor = _props$indicatorColor === void 0 ? 'secondary' : _props$indicatorColor,\n onChange = props.onChange,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n _props$ScrollButtonCo = props.ScrollButtonComponent,\n ScrollButtonComponent = _props$ScrollButtonCo === void 0 ? TabScrollButton : _props$ScrollButtonCo,\n _props$scrollButtons = props.scrollButtons,\n scrollButtons = _props$scrollButtons === void 0 ? 'auto' : _props$scrollButtons,\n selectionFollowsFocus = props.selectionFollowsFocus,\n _props$TabIndicatorPr = props.TabIndicatorProps,\n TabIndicatorProps = _props$TabIndicatorPr === void 0 ? {} : _props$TabIndicatorPr,\n TabScrollButtonProps = props.TabScrollButtonProps,\n _props$textColor = props.textColor,\n textColor = _props$textColor === void 0 ? 'inherit' : _props$textColor,\n value = props.value,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"aria-label\", \"aria-labelledby\", \"action\", \"centered\", \"children\", \"classes\", \"className\", \"component\", \"indicatorColor\", \"onChange\", \"orientation\", \"ScrollButtonComponent\", \"scrollButtons\", \"selectionFollowsFocus\", \"TabIndicatorProps\", \"TabScrollButtonProps\", \"textColor\", \"value\", \"variant\"]);\n\n var theme = useTheme();\n var scrollable = variant === 'scrollable';\n var isRtl = theme.direction === 'rtl';\n var vertical = orientation === 'vertical';\n var scrollStart = vertical ? 'scrollTop' : 'scrollLeft';\n var start = vertical ? 'top' : 'left';\n var end = vertical ? 'bottom' : 'right';\n var clientSize = vertical ? 'clientHeight' : 'clientWidth';\n var size = vertical ? 'height' : 'width';\n\n if (process.env.NODE_ENV !== 'production') {\n if (centered && scrollable) {\n console.error('Material-UI: You can not use the `centered={true}` and `variant=\"scrollable\"` properties ' + 'at the same time on a `Tabs` component.');\n }\n }\n\n var _React$useState = React.useState(false),\n mounted = _React$useState[0],\n setMounted = _React$useState[1];\n\n var _React$useState2 = React.useState({}),\n indicatorStyle = _React$useState2[0],\n setIndicatorStyle = _React$useState2[1];\n\n var _React$useState3 = React.useState({\n start: false,\n end: false\n }),\n displayScroll = _React$useState3[0],\n setDisplayScroll = _React$useState3[1];\n\n var _React$useState4 = React.useState({\n overflow: 'hidden',\n marginBottom: null\n }),\n scrollerStyle = _React$useState4[0],\n setScrollerStyle = _React$useState4[1];\n\n var valueToIndex = new Map();\n var tabsRef = React.useRef(null);\n var tabListRef = React.useRef(null);\n\n var getTabsMeta = function getTabsMeta() {\n var tabsNode = tabsRef.current;\n var tabsMeta;\n\n if (tabsNode) {\n var rect = tabsNode.getBoundingClientRect(); // create a new object with ClientRect class props + scrollLeft\n\n tabsMeta = {\n clientWidth: tabsNode.clientWidth,\n scrollLeft: tabsNode.scrollLeft,\n scrollTop: tabsNode.scrollTop,\n scrollLeftNormalized: getNormalizedScrollLeft(tabsNode, theme.direction),\n scrollWidth: tabsNode.scrollWidth,\n top: rect.top,\n bottom: rect.bottom,\n left: rect.left,\n right: rect.right\n };\n }\n\n var tabMeta;\n\n if (tabsNode && value !== false) {\n var _children = tabListRef.current.children;\n\n if (_children.length > 0) {\n var tab = _children[valueToIndex.get(value)];\n\n if (process.env.NODE_ENV !== 'production') {\n if (!tab) {\n console.error([\"Material-UI: The value provided to the Tabs component is invalid.\", \"None of the Tabs' children match with `\".concat(value, \"`.\"), valueToIndex.keys ? \"You can provide one of the following values: \".concat(Array.from(valueToIndex.keys()).join(', '), \".\") : null].join('\\n'));\n }\n }\n\n tabMeta = tab ? tab.getBoundingClientRect() : null;\n }\n }\n\n return {\n tabsMeta: tabsMeta,\n tabMeta: tabMeta\n };\n };\n\n var updateIndicatorState = useEventCallback(function () {\n var _newIndicatorStyle;\n\n var _getTabsMeta = getTabsMeta(),\n tabsMeta = _getTabsMeta.tabsMeta,\n tabMeta = _getTabsMeta.tabMeta;\n\n var startValue = 0;\n\n if (tabMeta && tabsMeta) {\n if (vertical) {\n startValue = tabMeta.top - tabsMeta.top + tabsMeta.scrollTop;\n } else {\n var correction = isRtl ? tabsMeta.scrollLeftNormalized + tabsMeta.clientWidth - tabsMeta.scrollWidth : tabsMeta.scrollLeft;\n startValue = tabMeta.left - tabsMeta.left + correction;\n }\n }\n\n var newIndicatorStyle = (_newIndicatorStyle = {}, _defineProperty(_newIndicatorStyle, start, startValue), _defineProperty(_newIndicatorStyle, size, tabMeta ? tabMeta[size] : 0), _newIndicatorStyle);\n\n if (isNaN(indicatorStyle[start]) || isNaN(indicatorStyle[size])) {\n setIndicatorStyle(newIndicatorStyle);\n } else {\n var dStart = Math.abs(indicatorStyle[start] - newIndicatorStyle[start]);\n var dSize = Math.abs(indicatorStyle[size] - newIndicatorStyle[size]);\n\n if (dStart >= 1 || dSize >= 1) {\n setIndicatorStyle(newIndicatorStyle);\n }\n }\n });\n\n var scroll = function scroll(scrollValue) {\n animate(scrollStart, tabsRef.current, scrollValue);\n };\n\n var moveTabsScroll = function moveTabsScroll(delta) {\n var scrollValue = tabsRef.current[scrollStart];\n\n if (vertical) {\n scrollValue += delta;\n } else {\n scrollValue += delta * (isRtl ? -1 : 1); // Fix for Edge\n\n scrollValue *= isRtl && detectScrollType() === 'reverse' ? -1 : 1;\n }\n\n scroll(scrollValue);\n };\n\n var handleStartScrollClick = function handleStartScrollClick() {\n moveTabsScroll(-tabsRef.current[clientSize]);\n };\n\n var handleEndScrollClick = function handleEndScrollClick() {\n moveTabsScroll(tabsRef.current[clientSize]);\n };\n\n var handleScrollbarSizeChange = React.useCallback(function (scrollbarHeight) {\n setScrollerStyle({\n overflow: null,\n marginBottom: -scrollbarHeight\n });\n }, []);\n\n var getConditionalElements = function getConditionalElements() {\n var conditionalElements = {};\n conditionalElements.scrollbarSizeListener = scrollable ? /*#__PURE__*/React.createElement(ScrollbarSize, {\n className: classes.scrollable,\n onChange: handleScrollbarSizeChange\n }) : null;\n var scrollButtonsActive = displayScroll.start || displayScroll.end;\n var showScrollButtons = scrollable && (scrollButtons === 'auto' && scrollButtonsActive || scrollButtons === 'desktop' || scrollButtons === 'on');\n conditionalElements.scrollButtonStart = showScrollButtons ? /*#__PURE__*/React.createElement(ScrollButtonComponent, _extends({\n orientation: orientation,\n direction: isRtl ? 'right' : 'left',\n onClick: handleStartScrollClick,\n disabled: !displayScroll.start,\n className: clsx(classes.scrollButtons, scrollButtons !== 'on' && classes.scrollButtonsDesktop)\n }, TabScrollButtonProps)) : null;\n conditionalElements.scrollButtonEnd = showScrollButtons ? /*#__PURE__*/React.createElement(ScrollButtonComponent, _extends({\n orientation: orientation,\n direction: isRtl ? 'left' : 'right',\n onClick: handleEndScrollClick,\n disabled: !displayScroll.end,\n className: clsx(classes.scrollButtons, scrollButtons !== 'on' && classes.scrollButtonsDesktop)\n }, TabScrollButtonProps)) : null;\n return conditionalElements;\n };\n\n var scrollSelectedIntoView = useEventCallback(function () {\n var _getTabsMeta2 = getTabsMeta(),\n tabsMeta = _getTabsMeta2.tabsMeta,\n tabMeta = _getTabsMeta2.tabMeta;\n\n if (!tabMeta || !tabsMeta) {\n return;\n }\n\n if (tabMeta[start] < tabsMeta[start]) {\n // left side of button is out of view\n var nextScrollStart = tabsMeta[scrollStart] + (tabMeta[start] - tabsMeta[start]);\n scroll(nextScrollStart);\n } else if (tabMeta[end] > tabsMeta[end]) {\n // right side of button is out of view\n var _nextScrollStart = tabsMeta[scrollStart] + (tabMeta[end] - tabsMeta[end]);\n\n scroll(_nextScrollStart);\n }\n });\n var updateScrollButtonState = useEventCallback(function () {\n if (scrollable && scrollButtons !== 'off') {\n var _tabsRef$current = tabsRef.current,\n scrollTop = _tabsRef$current.scrollTop,\n scrollHeight = _tabsRef$current.scrollHeight,\n clientHeight = _tabsRef$current.clientHeight,\n scrollWidth = _tabsRef$current.scrollWidth,\n clientWidth = _tabsRef$current.clientWidth;\n var showStartScroll;\n var showEndScroll;\n\n if (vertical) {\n showStartScroll = scrollTop > 1;\n showEndScroll = scrollTop < scrollHeight - clientHeight - 1;\n } else {\n var scrollLeft = getNormalizedScrollLeft(tabsRef.current, theme.direction); // use 1 for the potential rounding error with browser zooms.\n\n showStartScroll = isRtl ? scrollLeft < scrollWidth - clientWidth - 1 : scrollLeft > 1;\n showEndScroll = !isRtl ? scrollLeft < scrollWidth - clientWidth - 1 : scrollLeft > 1;\n }\n\n if (showStartScroll !== displayScroll.start || showEndScroll !== displayScroll.end) {\n setDisplayScroll({\n start: showStartScroll,\n end: showEndScroll\n });\n }\n }\n });\n React.useEffect(function () {\n var handleResize = debounce(function () {\n updateIndicatorState();\n updateScrollButtonState();\n });\n var win = ownerWindow(tabsRef.current);\n win.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n win.removeEventListener('resize', handleResize);\n };\n }, [updateIndicatorState, updateScrollButtonState]);\n var handleTabsScroll = React.useCallback(debounce(function () {\n updateScrollButtonState();\n }));\n React.useEffect(function () {\n return function () {\n handleTabsScroll.clear();\n };\n }, [handleTabsScroll]);\n React.useEffect(function () {\n setMounted(true);\n }, []);\n React.useEffect(function () {\n updateIndicatorState();\n updateScrollButtonState();\n });\n React.useEffect(function () {\n scrollSelectedIntoView();\n }, [scrollSelectedIntoView, indicatorStyle]);\n React.useImperativeHandle(action, function () {\n return {\n updateIndicator: updateIndicatorState,\n updateScrollButtons: updateScrollButtonState\n };\n }, [updateIndicatorState, updateScrollButtonState]);\n var indicator = /*#__PURE__*/React.createElement(TabIndicator, _extends({\n className: classes.indicator,\n orientation: orientation,\n color: indicatorColor\n }, TabIndicatorProps, {\n style: _extends({}, indicatorStyle, TabIndicatorProps.style)\n }));\n var childIndex = 0;\n var children = React.Children.map(childrenProp, function (child) {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Tabs component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n var childValue = child.props.value === undefined ? childIndex : child.props.value;\n valueToIndex.set(childValue, childIndex);\n var selected = childValue === value;\n childIndex += 1;\n return /*#__PURE__*/React.cloneElement(child, {\n fullWidth: variant === 'fullWidth',\n indicator: selected && !mounted && indicator,\n selected: selected,\n selectionFollowsFocus: selectionFollowsFocus,\n onChange: onChange,\n textColor: textColor,\n value: childValue\n });\n });\n\n var handleKeyDown = function handleKeyDown(event) {\n var target = event.target; // Keyboard navigation assumes that [role=\"tab\"] are siblings\n // though we might warn in the future about nested, interactive elements\n // as a a11y violation\n\n var role = target.getAttribute('role');\n\n if (role !== 'tab') {\n return;\n }\n\n var newFocusTarget = null;\n var previousItemKey = orientation !== \"vertical\" ? 'ArrowLeft' : 'ArrowUp';\n var nextItemKey = orientation !== \"vertical\" ? 'ArrowRight' : 'ArrowDown';\n\n if (orientation !== \"vertical\" && theme.direction === 'rtl') {\n // swap previousItemKey with nextItemKey\n previousItemKey = 'ArrowRight';\n nextItemKey = 'ArrowLeft';\n }\n\n switch (event.key) {\n case previousItemKey:\n newFocusTarget = target.previousElementSibling || tabListRef.current.lastChild;\n break;\n\n case nextItemKey:\n newFocusTarget = target.nextElementSibling || tabListRef.current.firstChild;\n break;\n\n case 'Home':\n newFocusTarget = tabListRef.current.firstChild;\n break;\n\n case 'End':\n newFocusTarget = tabListRef.current.lastChild;\n break;\n\n default:\n break;\n }\n\n if (newFocusTarget !== null) {\n newFocusTarget.focus();\n event.preventDefault();\n }\n };\n\n var conditionalElements = getConditionalElements();\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, vertical && classes.vertical),\n ref: ref\n }, other), conditionalElements.scrollButtonStart, conditionalElements.scrollbarSizeListener, /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.scroller, scrollable ? classes.scrollable : classes.fixed),\n style: scrollerStyle,\n ref: tabsRef,\n onScroll: handleTabsScroll\n }, /*#__PURE__*/React.createElement(\"div\", {\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": ariaLabelledBy,\n className: clsx(classes.flexContainer, vertical && classes.flexContainerVertical, centered && !scrollable && classes.centered),\n onKeyDown: handleKeyDown,\n ref: tabListRef,\n role: \"tablist\"\n }, children), mounted && indicator), conditionalElements.scrollButtonEnd);\n});\nprocess.env.NODE_ENV !== \"production\" ? Tabs.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Callback fired when the component mounts.\n * This is useful when you want to trigger an action programmatically.\n * It supports two actions: `updateIndicator()` and `updateScrollButtons()`\n *\n * @param {object} actions This object contains all possible actions\n * that can be triggered programmatically.\n */\n action: refType,\n\n /**\n * The label for the Tabs as a string.\n */\n 'aria-label': PropTypes.string,\n\n /**\n * An id or list of ids separated by a space that label the Tabs.\n */\n 'aria-labelledby': PropTypes.string,\n\n /**\n * If `true`, the tabs will be centered.\n * This property is intended for large views.\n */\n centered: PropTypes.bool,\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * Determines the color of the indicator.\n */\n indicatorColor: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * Callback fired when the value changes.\n *\n * @param {object} event The event source of the callback\n * @param {any} value We default to the index of the child (number)\n */\n onChange: PropTypes.func,\n\n /**\n * The tabs orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n\n /**\n * The component used to render the scroll buttons.\n */\n ScrollButtonComponent: PropTypes.elementType,\n\n /**\n * Determine behavior of scroll buttons when tabs are set to scroll:\n *\n * - `auto` will only present them when not all the items are visible.\n * - `desktop` will only present them on medium and larger viewports.\n * - `on` will always present them.\n * - `off` will never present them.\n */\n scrollButtons: PropTypes.oneOf(['auto', 'desktop', 'off', 'on']),\n\n /**\n * If `true` the selected tab changes on focus. Otherwise it only\n * changes on activation.\n */\n selectionFollowsFocus: PropTypes.bool,\n\n /**\n * Props applied to the tab indicator element.\n */\n TabIndicatorProps: PropTypes.object,\n\n /**\n * Props applied to the [`TabScrollButton`](/api/tab-scroll-button/) element.\n */\n TabScrollButtonProps: PropTypes.object,\n\n /**\n * Determines the color of the `Tab`.\n */\n textColor: PropTypes.oneOf(['inherit', 'primary', 'secondary']),\n\n /**\n * The value of the currently selected `Tab`.\n * If you don't want any selected `Tab`, you can set this property to `false`.\n */\n value: PropTypes.any,\n\n /**\n * Determines additional display behavior of the tabs:\n *\n * - `scrollable` will invoke scrolling properties and allow for horizontally\n * scrolling (or swiping) of the tab bar.\n * -`fullWidth` will make the tabs grow to use all the available space,\n * which should be used for small views, like on mobile.\n * - `standard` will render the default state.\n */\n variant: PropTypes.oneOf(['fullWidth', 'scrollable', 'standard'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTabs'\n})(Tabs);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nimport unsupportedProp from '../utils/unsupportedProp';\nexport var styles = function styles(theme) {\n var _extends2;\n\n return {\n /* Styles applied to the root element. */\n root: _extends({}, theme.typography.button, (_extends2 = {\n maxWidth: 264,\n minWidth: 72,\n position: 'relative',\n boxSizing: 'border-box',\n minHeight: 48,\n flexShrink: 0,\n padding: '6px 12px'\n }, _defineProperty(_extends2, theme.breakpoints.up('sm'), {\n padding: '6px 24px'\n }), _defineProperty(_extends2, \"overflow\", 'hidden'), _defineProperty(_extends2, \"whiteSpace\", 'normal'), _defineProperty(_extends2, \"textAlign\", 'center'), _defineProperty(_extends2, theme.breakpoints.up('sm'), {\n minWidth: 160\n }), _extends2)),\n\n /* Styles applied to the root element if both `icon` and `label` are provided. */\n labelIcon: {\n minHeight: 72,\n paddingTop: 9,\n '& $wrapper > *:first-child': {\n marginBottom: 6\n }\n },\n\n /* Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor=\"inherit\"`. */\n textColorInherit: {\n color: 'inherit',\n opacity: 0.7,\n '&$selected': {\n opacity: 1\n },\n '&$disabled': {\n opacity: 0.5\n }\n },\n\n /* Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor=\"primary\"`. */\n textColorPrimary: {\n color: theme.palette.text.secondary,\n '&$selected': {\n color: theme.palette.primary.main\n },\n '&$disabled': {\n color: theme.palette.text.disabled\n }\n },\n\n /* Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor=\"secondary\"`. */\n textColorSecondary: {\n color: theme.palette.text.secondary,\n '&$selected': {\n color: theme.palette.secondary.main\n },\n '&$disabled': {\n color: theme.palette.text.disabled\n }\n },\n\n /* Pseudo-class applied to the root element if `selected={true}` (controlled by the Tabs component). */\n selected: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}` (controlled by the Tabs component). */\n disabled: {},\n\n /* Styles applied to the root element if `fullWidth={true}` (controlled by the Tabs component). */\n fullWidth: {\n flexShrink: 1,\n flexGrow: 1,\n flexBasis: 0,\n maxWidth: 'none'\n },\n\n /* Styles applied to the root element if `wrapped={true}`. */\n wrapped: {\n fontSize: theme.typography.pxToRem(12),\n lineHeight: 1.5\n },\n\n /* Styles applied to the `icon` and `label`'s wrapper element. */\n wrapper: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: '100%',\n flexDirection: 'column'\n }\n };\n};\nvar Tab = /*#__PURE__*/React.forwardRef(function Tab(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableFocusRi = props.disableFocusRipple,\n disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi,\n fullWidth = props.fullWidth,\n icon = props.icon,\n indicator = props.indicator,\n label = props.label,\n onChange = props.onChange,\n onClick = props.onClick,\n onFocus = props.onFocus,\n selected = props.selected,\n selectionFollowsFocus = props.selectionFollowsFocus,\n _props$textColor = props.textColor,\n textColor = _props$textColor === void 0 ? 'inherit' : _props$textColor,\n value = props.value,\n _props$wrapped = props.wrapped,\n wrapped = _props$wrapped === void 0 ? false : _props$wrapped,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disabled\", \"disableFocusRipple\", \"fullWidth\", \"icon\", \"indicator\", \"label\", \"onChange\", \"onClick\", \"onFocus\", \"selected\", \"selectionFollowsFocus\", \"textColor\", \"value\", \"wrapped\"]);\n\n var handleClick = function handleClick(event) {\n if (onChange) {\n onChange(event, value);\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n var handleFocus = function handleFocus(event) {\n if (selectionFollowsFocus && !selected && onChange) {\n onChange(event, value);\n }\n\n if (onFocus) {\n onFocus(event);\n }\n };\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n focusRipple: !disableFocusRipple,\n className: clsx(classes.root, classes[\"textColor\".concat(capitalize(textColor))], className, disabled && classes.disabled, selected && classes.selected, label && icon && classes.labelIcon, fullWidth && classes.fullWidth, wrapped && classes.wrapped),\n ref: ref,\n role: \"tab\",\n \"aria-selected\": selected,\n disabled: disabled,\n onClick: handleClick,\n onFocus: handleFocus,\n tabIndex: selected ? 0 : -1\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.wrapper\n }, icon, label), indicator);\n});\nprocess.env.NODE_ENV !== \"production\" ? Tab.propTypes = {\n /**\n * This prop isn't supported.\n * Use the `component` prop if you need to change the children structure.\n */\n children: unsupportedProp,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the tab will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the keyboard focus ripple will be disabled.\n */\n disableFocusRipple: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * @ignore\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The icon element.\n */\n icon: PropTypes.node,\n\n /**\n * @ignore\n * For server-side rendering consideration, we let the selected tab\n * render the indicator.\n */\n indicator: PropTypes.node,\n\n /**\n * The label element.\n */\n label: PropTypes.node,\n\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * @ignore\n */\n selected: PropTypes.bool,\n\n /**\n * @ignore\n */\n selectionFollowsFocus: PropTypes.bool,\n\n /**\n * @ignore\n */\n textColor: PropTypes.oneOf(['secondary', 'primary', 'inherit']),\n\n /**\n * You can provide your own value. Otherwise, we fallback to the child position index.\n */\n value: PropTypes.any,\n\n /**\n * Tab labels appear in a single row.\n * They can use a second line if needed.\n */\n wrapped: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTab'\n})(Tab);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n\n/* eslint-disable jsx-a11y/aria-role */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport KeyboardArrowLeft from '../internal/svg-icons/KeyboardArrowLeft';\nimport KeyboardArrowRight from '../internal/svg-icons/KeyboardArrowRight';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n width: 40,\n flexShrink: 0,\n opacity: 0.8,\n '&$disabled': {\n opacity: 0\n }\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n width: '100%',\n height: 40,\n '& svg': {\n transform: 'rotate(90deg)'\n }\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {}\n};\n\nvar _ref = /*#__PURE__*/React.createElement(KeyboardArrowLeft, {\n fontSize: \"small\"\n});\n\nvar _ref2 = /*#__PURE__*/React.createElement(KeyboardArrowRight, {\n fontSize: \"small\"\n});\n\nvar TabScrollButton = /*#__PURE__*/React.forwardRef(function TabScrollButton(props, ref) {\n var classes = props.classes,\n classNameProp = props.className,\n direction = props.direction,\n orientation = props.orientation,\n disabled = props.disabled,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"direction\", \"orientation\", \"disabled\"]);\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n component: \"div\",\n className: clsx(classes.root, classNameProp, disabled && classes.disabled, orientation === 'vertical' && classes.vertical),\n ref: ref,\n role: null,\n tabIndex: null\n }, other), direction === 'left' ? _ref : _ref2);\n});\nprocess.env.NODE_ENV !== \"production\" ? TabScrollButton.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Which direction should the button indicate?\n */\n direction: PropTypes.oneOf(['left', 'right']).isRequired,\n\n /**\n * If `true`, the element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * The tabs orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']).isRequired\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTabScrollButton'\n})(TabScrollButton);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n flex: '1 1 auto',\n WebkitOverflowScrolling: 'touch',\n // Add iOS momentum scrolling.\n overflowY: 'auto',\n padding: '8px 24px',\n '&:first-child': {\n // dialog without title\n paddingTop: 20\n }\n },\n\n /* Styles applied to the root element if `dividers={true}`. */\n dividers: {\n padding: '16px 24px',\n borderTop: \"1px solid \".concat(theme.palette.divider),\n borderBottom: \"1px solid \".concat(theme.palette.divider)\n }\n };\n};\nvar DialogContent = /*#__PURE__*/React.forwardRef(function DialogContent(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$dividers = props.dividers,\n dividers = _props$dividers === void 0 ? false : _props$dividers,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"dividers\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, dividers && classes.dividers),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? DialogContent.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Display the top and bottom dividers.\n */\n dividers: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDialogContent'\n})(DialogContent);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z\"\n}), 'KeyboardArrowLeft');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z\"\n}), 'KeyboardArrowRight');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n margin: 0,\n padding: '16px 24px',\n flex: '0 0 auto'\n }\n};\nvar DialogTitle = /*#__PURE__*/React.forwardRef(function DialogTitle(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$disableTypogra = props.disableTypography,\n disableTypography = _props$disableTypogra === void 0 ? false : _props$disableTypogra,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"disableTypography\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other), disableTypography ? children : /*#__PURE__*/React.createElement(Typography, {\n component: \"h2\",\n variant: \"h6\"\n }, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? DialogTitle.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the children won't be wrapped by a typography component.\n * For instance, this can be useful to render an h4 instead of the default h2.\n */\n disableTypography: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDialogTitle'\n})(DialogTitle);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Fade from '../Fade';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n // Improve scrollable dialog support.\n zIndex: -1,\n position: 'fixed',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n right: 0,\n bottom: 0,\n top: 0,\n left: 0,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n WebkitTapHighlightColor: 'transparent'\n },\n\n /* Styles applied to the root element if `invisible={true}`. */\n invisible: {\n backgroundColor: 'transparent'\n }\n};\nvar Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$invisible = props.invisible,\n invisible = _props$invisible === void 0 ? false : _props$invisible,\n open = props.open,\n transitionDuration = props.transitionDuration,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Fade : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"invisible\", \"open\", \"transitionDuration\", \"TransitionComponent\"]);\n\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: open,\n timeout: transitionDuration\n }, other), /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.root, className, invisible && classes.invisible),\n \"aria-hidden\": true,\n ref: ref\n }, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? Backdrop.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the backdrop is invisible.\n * It can be used when rendering a popover or a custom select component.\n */\n invisible: PropTypes.bool,\n\n /**\n * If `true`, the backdrop is open.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiBackdrop'\n})(Backdrop);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport deprecatedPropType from '../utils/deprecatedPropType';\nimport Modal from '../Modal';\nimport Backdrop from '../Backdrop';\nimport Fade from '../Fade';\nimport { duration } from '../styles/transitions';\nimport Paper from '../Paper';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n '@media print': {\n // Use !important to override the Modal inline-style.\n position: 'absolute !important'\n }\n },\n\n /* Styles applied to the container element if `scroll=\"paper\"`. */\n scrollPaper: {\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center'\n },\n\n /* Styles applied to the container element if `scroll=\"body\"`. */\n scrollBody: {\n overflowY: 'auto',\n overflowX: 'hidden',\n textAlign: 'center',\n '&:after': {\n content: '\"\"',\n display: 'inline-block',\n verticalAlign: 'middle',\n height: '100%',\n width: '0'\n }\n },\n\n /* Styles applied to the container element. */\n container: {\n height: '100%',\n '@media print': {\n height: 'auto'\n },\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n },\n\n /* Styles applied to the `Paper` component. */\n paper: {\n margin: 32,\n position: 'relative',\n overflowY: 'auto',\n // Fix IE 11 issue, to remove at some point.\n '@media print': {\n overflowY: 'visible',\n boxShadow: 'none'\n }\n },\n\n /* Styles applied to the `Paper` component if `scroll=\"paper\"`. */\n paperScrollPaper: {\n display: 'flex',\n flexDirection: 'column',\n maxHeight: 'calc(100% - 64px)'\n },\n\n /* Styles applied to the `Paper` component if `scroll=\"body\"`. */\n paperScrollBody: {\n display: 'inline-block',\n verticalAlign: 'middle',\n textAlign: 'left' // 'initial' doesn't work on IE 11\n\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=false`. */\n paperWidthFalse: {\n maxWidth: 'calc(100% - 64px)'\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=\"xs\"`. */\n paperWidthXs: {\n maxWidth: Math.max(theme.breakpoints.values.xs, 444),\n '&$paperScrollBody': _defineProperty({}, theme.breakpoints.down(Math.max(theme.breakpoints.values.xs, 444) + 32 * 2), {\n maxWidth: 'calc(100% - 64px)'\n })\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=\"sm\"`. */\n paperWidthSm: {\n maxWidth: theme.breakpoints.values.sm,\n '&$paperScrollBody': _defineProperty({}, theme.breakpoints.down(theme.breakpoints.values.sm + 32 * 2), {\n maxWidth: 'calc(100% - 64px)'\n })\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=\"md\"`. */\n paperWidthMd: {\n maxWidth: theme.breakpoints.values.md,\n '&$paperScrollBody': _defineProperty({}, theme.breakpoints.down(theme.breakpoints.values.md + 32 * 2), {\n maxWidth: 'calc(100% - 64px)'\n })\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=\"lg\"`. */\n paperWidthLg: {\n maxWidth: theme.breakpoints.values.lg,\n '&$paperScrollBody': _defineProperty({}, theme.breakpoints.down(theme.breakpoints.values.lg + 32 * 2), {\n maxWidth: 'calc(100% - 64px)'\n })\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=\"xl\"`. */\n paperWidthXl: {\n maxWidth: theme.breakpoints.values.xl,\n '&$paperScrollBody': _defineProperty({}, theme.breakpoints.down(theme.breakpoints.values.xl + 32 * 2), {\n maxWidth: 'calc(100% - 64px)'\n })\n },\n\n /* Styles applied to the `Paper` component if `fullWidth={true}`. */\n paperFullWidth: {\n width: 'calc(100% - 64px)'\n },\n\n /* Styles applied to the `Paper` component if `fullScreen={true}`. */\n paperFullScreen: {\n margin: 0,\n width: '100%',\n maxWidth: '100%',\n height: '100%',\n maxHeight: 'none',\n borderRadius: 0,\n '&$paperScrollBody': {\n margin: 0,\n maxWidth: '100%'\n }\n }\n };\n};\nvar defaultTransitionDuration = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * Dialogs are overlaid modal paper based components with a backdrop.\n */\n\nvar Dialog = /*#__PURE__*/React.forwardRef(function Dialog(props, ref) {\n var BackdropProps = props.BackdropProps,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$disableBackdro = props.disableBackdropClick,\n disableBackdropClick = _props$disableBackdro === void 0 ? false : _props$disableBackdro,\n _props$disableEscapeK = props.disableEscapeKeyDown,\n disableEscapeKeyDown = _props$disableEscapeK === void 0 ? false : _props$disableEscapeK,\n _props$fullScreen = props.fullScreen,\n fullScreen = _props$fullScreen === void 0 ? false : _props$fullScreen,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$maxWidth = props.maxWidth,\n maxWidth = _props$maxWidth === void 0 ? 'sm' : _props$maxWidth,\n onBackdropClick = props.onBackdropClick,\n onClose = props.onClose,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onEscapeKeyDown = props.onEscapeKeyDown,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n open = props.open,\n _props$PaperComponent = props.PaperComponent,\n PaperComponent = _props$PaperComponent === void 0 ? Paper : _props$PaperComponent,\n _props$PaperProps = props.PaperProps,\n PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n _props$scroll = props.scroll,\n scroll = _props$scroll === void 0 ? 'paper' : _props$scroll,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Fade : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,\n TransitionProps = props.TransitionProps,\n ariaDescribedby = props['aria-describedby'],\n ariaLabelledby = props['aria-labelledby'],\n other = _objectWithoutProperties(props, [\"BackdropProps\", \"children\", \"classes\", \"className\", \"disableBackdropClick\", \"disableEscapeKeyDown\", \"fullScreen\", \"fullWidth\", \"maxWidth\", \"onBackdropClick\", \"onClose\", \"onEnter\", \"onEntered\", \"onEntering\", \"onEscapeKeyDown\", \"onExit\", \"onExited\", \"onExiting\", \"open\", \"PaperComponent\", \"PaperProps\", \"scroll\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\", \"aria-describedby\", \"aria-labelledby\"]);\n\n var mouseDownTarget = React.useRef();\n\n var handleMouseDown = function handleMouseDown(event) {\n mouseDownTarget.current = event.target;\n };\n\n var handleBackdropClick = function handleBackdropClick(event) {\n // Ignore the events not coming from the \"backdrop\"\n // We don't want to close the dialog when clicking the dialog content.\n if (event.target !== event.currentTarget) {\n return;\n } // Make sure the event starts and ends on the same DOM element.\n\n\n if (event.target !== mouseDownTarget.current) {\n return;\n }\n\n mouseDownTarget.current = null;\n\n if (onBackdropClick) {\n onBackdropClick(event);\n }\n\n if (!disableBackdropClick && onClose) {\n onClose(event, 'backdropClick');\n }\n };\n\n return /*#__PURE__*/React.createElement(Modal, _extends({\n className: clsx(classes.root, className),\n BackdropComponent: Backdrop,\n BackdropProps: _extends({\n transitionDuration: transitionDuration\n }, BackdropProps),\n closeAfterTransition: true\n }, disableBackdropClick ? {\n disableBackdropClick: disableBackdropClick\n } : {}, {\n disableEscapeKeyDown: disableEscapeKeyDown,\n onEscapeKeyDown: onEscapeKeyDown,\n onClose: onClose,\n open: open,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: open,\n timeout: transitionDuration,\n onEnter: onEnter,\n onEntering: onEntering,\n onEntered: onEntered,\n onExit: onExit,\n onExiting: onExiting,\n onExited: onExited,\n role: \"none presentation\"\n }, TransitionProps), /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.container, classes[\"scroll\".concat(capitalize(scroll))]),\n onMouseUp: handleBackdropClick,\n onMouseDown: handleMouseDown\n }, /*#__PURE__*/React.createElement(PaperComponent, _extends({\n elevation: 24,\n role: \"dialog\",\n \"aria-describedby\": ariaDescribedby,\n \"aria-labelledby\": ariaLabelledby\n }, PaperProps, {\n className: clsx(classes.paper, classes[\"paperScroll\".concat(capitalize(scroll))], classes[\"paperWidth\".concat(capitalize(String(maxWidth)))], PaperProps.className, fullScreen && classes.paperFullScreen, fullWidth && classes.paperFullWidth)\n }), children))));\n});\nprocess.env.NODE_ENV !== \"production\" ? Dialog.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The id(s) of the element(s) that describe the dialog.\n */\n 'aria-describedby': PropTypes.string,\n\n /**\n * The id(s) of the element(s) that label the dialog.\n */\n 'aria-labelledby': PropTypes.string,\n\n /**\n * @ignore\n */\n BackdropProps: PropTypes.object,\n\n /**\n * Dialog children, usually the included sub-components.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, clicking the backdrop will not fire the `onClose` callback.\n * @deprecated Use the onClose prop with the `reason` argument to filter the `backdropClick` events.\n */\n disableBackdropClick: deprecatedPropType(PropTypes.bool, 'Use the onClose prop with the `reason` argument to filter the `backdropClick` events.'),\n\n /**\n * If `true`, hitting escape will not fire the `onClose` callback.\n */\n disableEscapeKeyDown: PropTypes.bool,\n\n /**\n * If `true`, the dialog will be full-screen\n */\n fullScreen: PropTypes.bool,\n\n /**\n * If `true`, the dialog stretches to `maxWidth`.\n *\n * Notice that the dialog width grow is limited by the default margin.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * Determine the max-width of the dialog.\n * The dialog width grows with the size of the screen.\n * Set to `false` to disable `maxWidth`.\n */\n maxWidth: PropTypes.oneOf(['lg', 'md', 'sm', 'xl', 'xs', false]),\n\n /**\n * Callback fired when the backdrop is clicked.\n * @deprecated Use the onClose prop with the `reason` argument to handle the `backdropClick` events.\n */\n onBackdropClick: deprecatedPropType(PropTypes.func, 'Use the onClose prop with the `reason` argument to handle the `backdropClick` events.'),\n\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired before the dialog enters.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onEnter: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the dialog has entered.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onEntered: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the dialog is entering.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onEntering: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the escape key is pressed,\n * `disableKeyboard` is false and the modal is in focus.\n * @deprecated Use the onClose prop with the `reason` argument to handle the `escapeKeyDown` events.\n */\n onEscapeKeyDown: deprecatedPropType(PropTypes.func, 'Use the onClose prop with the `reason` argument to handle the `escapeKeyDown` events.'),\n\n /**\n * Callback fired before the dialog exits.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onExit: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the dialog has exited.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onExited: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the dialog is exiting.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onExiting: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * If `true`, the Dialog is open.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * The component used to render the body of the dialog.\n */\n PaperComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`Paper`](/api/paper/) element.\n */\n PaperProps: PropTypes.object,\n\n /**\n * Determine the container for scrolling the dialog.\n */\n scroll: PropTypes.oneOf(['body', 'paper']),\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDialog'\n})(Dialog);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n padding: 8,\n justifyContent: 'flex-end',\n flex: '0 0 auto'\n },\n\n /* Styles applied to the root element if `disableSpacing={false}`. */\n spacing: {\n '& > :not(:first-child)': {\n marginLeft: 8\n }\n }\n};\nvar DialogActions = /*#__PURE__*/React.forwardRef(function DialogActions(props, ref) {\n var _props$disableSpacing = props.disableSpacing,\n disableSpacing = _props$disableSpacing === void 0 ? false : _props$disableSpacing,\n classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"disableSpacing\", \"classes\", \"className\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, !disableSpacing && classes.spacing),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? DialogActions.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the actions do not have additional margin.\n */\n disableSpacing: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDialogActions'\n})(DialogActions);"],"names":["styles","entering","opacity","entered","defaultTimeout","enter","enteringScreen","exit","leavingScreen","props","ref","children","_props$disableStrictM","disableStrictModeCompat","inProp","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","_props$TransitionComp","TransitionComponent","_props$timeout","timeout","other","theme","enableStrictModeCompat","unstable_strictMode","nodeRef","foreignRef","handleRef","undefined","normalizedTransitionCallback","callback","nodeOrAppearing","maybeAppearing","_ref","current","_ref2","node","isAppearing","handleEntering","handleEnter","transitionProps","mode","webkitTransition","transitions","create","transition","handleEntered","handleExiting","handleExit","handleExited","appear","state","childProps","visibility","cachedType","detectScrollType","dummy","document","createElement","container","width","height","appendChild","dir","fontSize","position","top","overflow","body","scrollLeft","removeChild","getNormalizedScrollLeft","element","direction","scrollWidth","clientWidth","easeInOutSin","time","Math","sin","PI","ScrollbarSize","onChange","scrollbarHeight","setMeasurements","offsetHeight","clientHeight","handleResize","debounce","prevHeight","window","addEventListener","clear","removeEventListener","TabIndicator","classes","className","color","orientation","root","concat","capitalize","vertical","withStyles","bottom","colorPrimary","backgroundColor","palette","primary","main","colorSecondary","secondary","right","name","Tabs","ariaLabel","ariaLabelledBy","action","_props$centered","centered","childrenProp","_props$component","component","Component","_props$indicatorColor","indicatorColor","_props$orientation","_props$ScrollButtonCo","ScrollButtonComponent","TabScrollButton","_props$scrollButtons","scrollButtons","selectionFollowsFocus","_props$TabIndicatorPr","TabIndicatorProps","TabScrollButtonProps","_props$textColor","textColor","value","_props$variant","variant","useTheme","scrollable","isRtl","scrollStart","start","end","clientSize","size","_React$useState","mounted","setMounted","_React$useState2","indicatorStyle","setIndicatorStyle","_React$useState3","displayScroll","setDisplayScroll","_React$useState4","marginBottom","scrollerStyle","setScrollerStyle","valueToIndex","Map","tabsRef","tabListRef","getTabsMeta","tabsMeta","tabMeta","tabsNode","rect","getBoundingClientRect","scrollTop","scrollLeftNormalized","left","_children","length","tab","get","updateIndicatorState","useEventCallback","_newIndicatorStyle","_getTabsMeta","startValue","correction","newIndicatorStyle","isNaN","dStart","abs","dSize","scroll","scrollValue","property","to","options","arguments","cb","_options$ease","ease","_options$duration","duration","from","cancelled","Error","requestAnimationFrame","step","timestamp","min","animate","moveTabsScroll","delta","handleStartScrollClick","handleEndScrollClick","handleScrollbarSizeChange","scrollSelectedIntoView","_getTabsMeta2","nextScrollStart","_nextScrollStart","updateScrollButtonState","showStartScroll","showEndScroll","_tabsRef$current","scrollHeight","win","ownerWindow","handleTabsScroll","updateIndicator","updateScrollButtons","indicator","childIndex","map","child","childValue","set","selected","fullWidth","conditionalElements","scrollbarSizeListener","scrollButtonsActive","showScrollButtons","scrollButtonStart","onClick","disabled","scrollButtonsDesktop","scrollButtonEnd","getConditionalElements","scroller","fixed","onScroll","flexContainer","flexContainerVertical","onKeyDown","event","target","getAttribute","newFocusTarget","previousItemKey","nextItemKey","key","previousElementSibling","lastChild","nextElementSibling","firstChild","focus","preventDefault","role","minHeight","WebkitOverflowScrolling","display","flexDirection","justifyContent","flex","whiteSpace","overflowX","scrollbarWidth","breakpoints","down","Tab","_props$disabled","_props$disableFocusRi","disableFocusRipple","icon","label","onFocus","_props$wrapped","wrapped","focusRipple","labelIcon","tabIndex","wrapper","_extends2","typography","button","maxWidth","minWidth","boxSizing","flexShrink","padding","up","paddingTop","textColorInherit","textColorPrimary","text","textColorSecondary","flexGrow","flexBasis","pxToRem","lineHeight","alignItems","classNameProp","transform","DialogContent","_props$dividers","dividers","overflowY","borderTop","divider","borderBottom","d","DialogTitle","_props$disableTypogra","disableTypography","margin","Backdrop","_props$invisible","invisible","open","transitionDuration","zIndex","WebkitTapHighlightColor","defaultTransitionDuration","Dialog","BackdropProps","_props$disableBackdro","disableBackdropClick","_props$disableEscapeK","disableEscapeKeyDown","_props$fullScreen","fullScreen","_props$fullWidth","_props$maxWidth","onBackdropClick","onClose","onEscapeKeyDown","_props$PaperComponent","PaperComponent","_props$PaperProps","PaperProps","_props$scroll","_props$transitionDura","TransitionProps","ariaDescribedby","ariaLabelledby","mouseDownTarget","BackdropComponent","closeAfterTransition","onMouseUp","currentTarget","onMouseDown","elevation","paper","String","paperFullScreen","paperFullWidth","scrollPaper","scrollBody","textAlign","content","verticalAlign","outline","boxShadow","paperScrollPaper","maxHeight","paperScrollBody","paperWidthFalse","paperWidthXs","max","values","xs","paperWidthSm","sm","paperWidthMd","md","paperWidthLg","lg","paperWidthXl","xl","borderRadius","DialogActions","_props$disableSpacing","disableSpacing","spacing","marginLeft"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkinternal_plugin_kuadrant=self.webpackChunkinternal_plugin_kuadrant||[]).push([[3459],{12229:(e,t,a)=>{a.d(t,{Z:()=>A});var s=a(31085),n=a(95478),i=a.n(n),l=a(10394),r=a(72501),o=a(64947),c=a(37197),d=a(69621),u=a(12981),p=a(86901),m=a(69076),h=a(58837),g=a(6924),x=a(23164);const v=(0,h.A)(e=>({root:{width:240,minWidth:240,padding:e.spacing(2),borderRight:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.background.paper,height:"100%",overflowY:"auto"},sectionTitle:{fontWeight:600,fontSize:"0.75rem",textTransform:"uppercase",letterSpacing:"0.05em",color:e.palette.text.secondary,marginBottom:e.spacing(1),display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",userSelect:"none"},filterSection:{marginBottom:e.spacing(2)},checkbox:{padding:e.spacing(.5)},checkboxLabel:{fontSize:"0.875rem"},clearButton:{marginTop:e.spacing(2)},count:{fontSize:"0.75rem",color:e.palette.text.secondary,marginLeft:e.spacing(1)}})),A=({sections:e,filters:t,onChange:a,onClear:n})=>{const h=v(),[A,y]=i().useState(new Set(e.filter(e=>e.collapsed).map(e=>e.id))),f=Object.values(t).some(e=>e.length>0);return(0,s.jsxs)(l.A,{className:h.root,children:[(0,s.jsxs)(l.A,{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2,children:[(0,s.jsx)(r.A,{variant:"subtitle2",children:"Filters"}),f&&(0,s.jsx)(o.A,{size:"small",color:"primary",onClick:()=>{const t={};e.forEach(e=>{t[e.id]=[]}),a(t),null==n||n()},children:"Clear all"})]}),(0,s.jsx)(c.A,{}),e.map(e=>{const n=A.has(e.id),i=(t[e.id]||[]).length;return(0,s.jsxs)(l.A,{className:h.filterSection,mt:2,children:[(0,s.jsxs)(l.A,{className:h.sectionTitle,onClick:()=>{return t=e.id,void y(e=>{const a=new Set(e);return a.has(t)?a.delete(t):a.add(t),a});var t},children:[(0,s.jsxs)(l.A,{display:"flex",alignItems:"center",children:[(0,s.jsx)("span",{children:e.title}),i>0&&(0,s.jsxs)("span",{className:h.count,children:["(",i,")"]})]}),n?(0,s.jsx)(g.A,{fontSize:"small"}):(0,s.jsx)(x.A,{fontSize:"small"})]}),(0,s.jsx)(d.A,{in:!n,children:(0,s.jsx)(u.A,{children:e.options.map(n=>(0,s.jsx)(p.A,{control:(0,s.jsx)(m.A,{checked:(t[e.id]||[]).includes(n.value),onChange:()=>((e,s)=>{const n=t[e]||[],i=n.includes(s)?n.filter(e=>e!==s):[...n,s];a({...t,[e]:i})})(e.id,n.value),size:"small",className:h.checkbox,color:"primary"}),label:(0,s.jsxs)(l.A,{display:"flex",alignItems:"center",children:[(0,s.jsx)("span",{className:h.checkboxLabel,children:n.label}),void 0!==n.count&&(0,s.jsxs)("span",{className:h.count,children:["(",n.count,")"]})]})},n.value))})})]},e.id)})]})}},38599:(e,t,a)=>{a.d(t,{B:()=>o});var s=a(31085),n=(a(95478),a(10394)),i=a(72501),l=a(86687),r=a(46205);const o=({children:e,permission:t,fallback:a,errorMessage:o})=>{const{allowed:c,loading:d,error:u}=(0,r.l)(t);return d?(0,s.jsx)(l.k,{}):u?(0,s.jsxs)(n.A,{p:4,children:[(0,s.jsxs)(i.A,{color:"error",children:["Unable to check permissions: ",u.message]}),(0,s.jsx)(i.A,{variant:"body2",color:"textSecondary",children:"Please try again or contact your administrator"})]}):c?(0,s.jsx)(s.Fragment,{children:e}):a?(0,s.jsx)(s.Fragment,{children:a}):(0,s.jsxs)(n.A,{p:4,children:[(0,s.jsx)(i.A,{color:"textSecondary",children:o||"You don't have permission to view this page"}),(0,s.jsx)(n.A,{mt:1,children:(0,s.jsxs)(i.A,{variant:"caption",color:"textSecondary",children:["Required permission: ",t.name]})})]})}},44477:(e,t,a)=>{a.r(t),a.d(t,{ApiProductsPage:()=>ee,KuadrantPage:()=>ee});var s=a(31085),n=a(95478),i=a(58837),l=a(10394),r=a(67720),o=a(72501),c=a(64947),d=a(29365),u=a(78467),p=a(18466),m=a(39590),h=a(75625),g=a(21702),x=a(85142),v=a(12229),A=a(37725),y=a(289),f=a(15831),j=a(45210),b=a(46681),P=a(42367),S=a(25010),k=a(91638),w=a(22097),I=a(38599),C=a(76891),T=a(61477),N=a(46805),R=a(42899),$=a(16249),z=a(34839),D=a(71677),H=a(26343),E=a(95061),L=a(29635),M=a(86901),W=a(30285),q=a(93453),K=a(89031),O=a(84441),B=a(65867),U=a(24170);const F=(0,i.A)(e=>({asterisk:{color:"#f44336"},sectionHeader:{display:"flex",alignItems:"center",gap:e.spacing(.5),marginTop:e.spacing(2),marginBottom:e.spacing(1)},infoIcon:{fontSize:18,color:e.palette.text.secondary},tagChip:{marginRight:e.spacing(.5),marginBottom:e.spacing(.5)}})),_=({open:e,onClose:t,onSuccess:a})=>{const i=F(),m=(0,w.useApi)(w.configApiRef),h=(0,w.useApi)(w.fetchApiRef),g=m.getString("backend.baseUrl"),[x,v]=(0,n.useState)(""),[A,y]=(0,n.useState)(""),[f,j]=(0,n.useState)(""),[b,P]=(0,n.useState)("v1"),[S,I]=(0,n.useState)("manual"),[_,Y]=(0,n.useState)("Published"),[J,V]=(0,n.useState)([]),[G,Z]=(0,n.useState)(""),[X,Q]=(0,n.useState)(""),[ee,te]=(0,n.useState)(""),[ae,se]=(0,n.useState)(""),[ne,ie]=(0,n.useState)(""),[le,re]=(0,n.useState)(""),[oe,ce]=(0,n.useState)(""),[de,ue]=(0,n.useState)(!1),[pe,me]=(0,n.useState)(0),[he,ge]=(0,n.useState)(null),[xe,ve]=(0,n.useState)(null),{value:Ae,loading:ye,error:fe}=(0,k.A)(async()=>{const e=await h.fetch(`${g}/api/kuadrant/httproutes`);return((await e.json()).items||[]).filter(e=>{var t;return"true"===(null===(t=e.metadata.annotations)||void 0===t?void 0:t["backstage.io/expose"])})},[g,h,e,pe]),{value:je,error:be}=(0,k.A)(async()=>{const e=await h.fetch(`${g}/api/kuadrant/planpolicies`);return await e.json()},[g,h,e]),Pe=(e,t)=>(null==je?void 0:je.items)?je.items.find(a=>{const s=a.targetRef;return"HTTPRoute"===(null==s?void 0:s.kind)&&(null==s?void 0:s.name)===t&&(!(null==s?void 0:s.namespace)||(null==s?void 0:s.namespace)===e)}):null,Se=X?X.split("/"):null,ke=Se?Pe(Se[0],Se[1]):null;(0,n.useEffect)(()=>{e&&(ge(null),ve(null))},[e]);const we=()=>{G.trim()&&!J.includes(G.trim())&&(V([...J,G.trim()]),Z(""))},Ie=()=>{v(""),y(""),j(""),P("v1"),I("manual"),Y("Published"),V([]),Z(""),Q(""),te(""),se(""),ie(""),re(""),ce(""),ge(null),ve(null),t()},Ce=!!he||!!xe;return(0,s.jsxs)(C.A,{open:e,onClose:Ie,maxWidth:"md",fullWidth:!0,children:[(0,s.jsx)(T.A,{children:"Create API Product"}),(0,s.jsxs)(N.A,{children:[oe&&(0,s.jsx)(O.A,{severity:"error",style:{marginBottom:16},children:oe}),fe&&(0,s.jsxs)(O.A,{severity:"error",style:{marginBottom:16},children:[(0,s.jsx)("strong",{children:"Failed to load HTTPRoutes:"})," ",fe.message,(0,s.jsx)(l.A,{mt:1,children:(0,s.jsx)(c.A,{size:"small",variant:"outlined",onClick:()=>me(e=>e+1),children:"Retry"})})]}),be&&(0,s.jsxs)(O.A,{severity:"warning",style:{marginBottom:16},children:[(0,s.jsx)("strong",{children:"Failed to load PlanPolicies:"})," ",be.message,(0,s.jsx)(o.A,{variant:"body2",style:{marginTop:8},children:"You can still create the API Product, but plan information may be incomplete."})]}),(0,s.jsx)(l.A,{className:i.sectionHeader,children:(0,s.jsx)(o.A,{variant:"subtitle1",children:(0,s.jsx)("strong",{children:"API product info"})})}),(0,s.jsxs)(R.A,{container:!0,spacing:2,children:[(0,s.jsx)(R.A,{item:!0,xs:6,children:(0,s.jsx)($.A,{fullWidth:!0,label:"API product name",value:A,onChange:e=>y(e.target.value),placeholder:"My API",helperText:"Give a unique name for your API product",margin:"normal",required:!0,disabled:de,InputLabelProps:{classes:{asterisk:i.asterisk}}})}),(0,s.jsx)(R.A,{item:!0,xs:6,children:(0,s.jsx)($.A,{fullWidth:!0,label:"Resource name",value:x,onChange:e=>{return t=e.target.value,v(t),void ge((0,U.ob)(t));var t},placeholder:"my-api",helperText:he||"Kubernetes resource name with lowercase, hyphens. Eg.flight_API",error:!!he,margin:"normal",required:!0,disabled:de,InputLabelProps:{classes:{asterisk:i.asterisk}}})}),(0,s.jsx)(R.A,{item:!0,xs:6,children:(0,s.jsx)($.A,{fullWidth:!0,label:"Version",value:b,onChange:e=>P(e.target.value),placeholder:"v1",helperText:"Give a version to your API product",margin:"normal",required:!0,disabled:de,InputLabelProps:{classes:{asterisk:i.asterisk}}})}),(0,s.jsx)(R.A,{item:!0,xs:6,children:(0,s.jsx)($.A,{fullWidth:!0,label:"Tag",value:G,onChange:e=>Z(e.target.value),onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),we())},placeholder:"Add tag",helperText:"Add a tag to your API product",margin:"normal",disabled:de,InputProps:{endAdornment:G?(0,s.jsx)(z.A,{position:"end",children:(0,s.jsx)(d.A,{size:"small",onClick:we,disabled:de,children:(0,s.jsx)(p.A,{fontSize:"small"})})}):void 0}})}),J.length>0&&(0,s.jsx)(R.A,{item:!0,xs:12,children:(0,s.jsx)(l.A,{display:"flex",flexWrap:"wrap",children:J.map(e=>(0,s.jsx)(r.A,{label:e,onDelete:de?void 0:()=>{return t=e,void V(J.filter(e=>e!==t));var t},size:"small",className:i.tagChip,disabled:de},e))})}),(0,s.jsx)(R.A,{item:!0,xs:12,children:(0,s.jsx)($.A,{fullWidth:!0,label:"Description",value:f,onChange:e=>j(e.target.value),placeholder:"API description",margin:"normal",multiline:!0,rows:2,required:!0,disabled:de,InputLabelProps:{classes:{asterisk:i.asterisk}}})})]}),(0,s.jsxs)(l.A,{className:i.sectionHeader,children:[(0,s.jsx)(o.A,{variant:"subtitle1",children:(0,s.jsx)("strong",{children:"Add API and Associate route"})}),(0,s.jsx)(D.Ay,{title:"Register an existing API and associate HTTPRoute for your API product",children:(0,s.jsx)(K.A,{className:i.infoIcon})})]}),(0,s.jsxs)(R.A,{container:!0,spacing:2,children:[(0,s.jsx)(R.A,{item:!0,xs:12,children:(0,s.jsx)($.A,{fullWidth:!0,label:"OpenAPI Spec URL",value:le,onChange:e=>{return t=e.target.value,re(t),void ve((0,U.qU)(t));var t},placeholder:"https://api.example.com/openapi.json",helperText:xe||"Enter the full path to your API spec file",error:!!xe,margin:"normal",required:!0,disabled:de,InputLabelProps:{classes:{asterisk:i.asterisk}}})}),(0,s.jsx)(R.A,{item:!0,xs:12,children:(0,s.jsx)($.A,{fullWidth:!0,label:"Documentation URL",value:ne,onChange:e=>ie(e.target.value),placeholder:"https://docs.example.com/api",helperText:"Link to external documentation for this API",margin:"normal",disabled:de})}),(0,s.jsx)(R.A,{item:!0,xs:12,children:(0,s.jsxs)($.A,{fullWidth:!0,select:!0,label:"HTTPRoute",value:X,onChange:e=>Q(e.target.value),margin:"normal",required:!0,helperText:fe?"Unable to load HTTPRoutes. Please retry.":"Select an HTTPRoute. Eg.backstage.io/expose:true. API product will be created in the same namespace.",error:!!fe,disabled:ye||de||!!fe,InputLabelProps:{classes:{asterisk:i.asterisk}},SelectProps:{"data-testid":"httproute-select"},children:[ye&&(0,s.jsx)(H.A,{value:"",children:"Loading..."}),fe&&(0,s.jsx)(H.A,{value:"",children:"Error loading routes"}),!ye&&!fe&&Ae&&0===Ae.length&&(0,s.jsx)(H.A,{value:"",children:"No HTTPRoutes available"}),!ye&&!fe&&Ae&&Ae.map(e=>{const t=e.metadata.namespace,a=e.metadata.name,n=((e,t)=>{const a=Pe(e,t);return a?`${a.metadata.name}${(e=>{var t;if(!(null==e||null===(t=e.spec)||void 0===t?void 0:t.plans))return"";const a=Object.entries(e.spec.plans).map(([e,t])=>{var a;const s=null==t||null===(a=t.limits)||void 0===a?void 0:a.requests;return s?`${e}: ${s.count}/${s.period}`:e}).join("; ");return a?` (${a})`:""})(a)}`:"N/A"})(t,a);return(0,s.jsx)(H.A,{value:`${t}/${a}`,children:(0,s.jsxs)(l.A,{children:[(0,s.jsx)(o.A,{variant:"body1",children:a}),(0,s.jsxs)(o.A,{variant:"caption",color:"textSecondary",children:["Associated PlanPolicy: ",n]})]})},`${t}/${a}`)})]})})]}),X&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l.A,{className:i.sectionHeader,children:[(0,s.jsx)(o.A,{variant:"subtitle1",children:(0,s.jsx)("strong",{children:"HTTPRoute policies"})}),(0,s.jsx)(D.Ay,{title:"Shows the associated policies and rate limit tiers for the selected HTTPRoute",children:(0,s.jsx)(K.A,{className:i.infoIcon})})]}),(0,s.jsx)(B.g,{selectedPolicy:ke,alertSeverity:"warning",alertMessage:"No PlanPolicy found for this HTTPRoute. API keys and rate limiting may not be available.",includeTopMargin:!1})]}),(0,s.jsxs)(l.A,{className:i.sectionHeader,children:[(0,s.jsx)(o.A,{variant:"subtitle1",children:(0,s.jsx)("strong",{children:"API Key approval"})}),(0,s.jsx)(D.Ay,{title:"Choose how API key requests are handled for this product",children:(0,s.jsx)(K.A,{className:i.infoIcon})})]}),(0,s.jsx)(E.A,{component:"fieldset",disabled:de,children:(0,s.jsxs)(L.A,{row:!0,value:S,onChange:e=>I(e.target.value),children:[(0,s.jsx)(M.A,{value:"manual",control:(0,s.jsx)(W.A,{color:"primary"}),label:(0,s.jsxs)(l.A,{children:[(0,s.jsx)(o.A,{variant:"body2",children:"Need manual approval"}),(0,s.jsx)(o.A,{variant:"caption",color:"textSecondary",children:"Requires approval for requesting this API"})]})}),(0,s.jsx)(M.A,{value:"automatic",control:(0,s.jsx)(W.A,{color:"primary"}),label:(0,s.jsxs)(l.A,{children:[(0,s.jsx)(o.A,{variant:"body2",children:"Automatic"}),(0,s.jsx)(o.A,{variant:"caption",color:"textSecondary",children:"Keys are created without need to be approved"})]})})]})})]}),(0,s.jsxs)(q.A,{children:[(0,s.jsx)(c.A,{onClick:Ie,disabled:de,children:"Cancel"}),(0,s.jsx)(c.A,{onClick:async()=>{ce(""),ue(!0);try{if(!X)throw new Error("Please select an HTTPRoute");const[e,t]=X.split("/"),s=e,n={apiVersion:"devportal.kuadrant.io/v1alpha1",kind:"APIProduct",metadata:{name:x,namespace:s},spec:{displayName:A,description:f,version:b,approvalMode:S,publishStatus:_,tags:J,targetRef:{group:"gateway.networking.k8s.io",kind:"HTTPRoute",name:t,namespace:e},...ee||ae?{contact:{...ee&&{email:ee},...ae&&{team:ae}}}:{},...ne||le?{documentation:{...ne&&{docsURL:ne},...le&&{openAPISpecURL:le}}}:{}}},i=await h.fetch(`${g}/api/kuadrant/apiproducts`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok){const e=await i.json();throw new Error(e.error||"failed to create apiproduct")}a({namespace:s,name:x,displayName:A}),Ie()}catch(e){ce(e instanceof Error?e.message:String(e))}finally{ue(!1)}},color:"primary",variant:"contained",disabled:de||!x||!A||!f||!X||Ce,startIcon:de?(0,s.jsx)(u.A,{size:16,color:"inherit"}):void 0,children:de?"Creating...":"Create"})]})]})};var Y=a(34955),J=a(46205),V=a(26997),G=a(63221);const Z=a.p+"static/empty-state-illustration.7e3ad5a9..png",X=(0,i.A)(e=>({container:{display:"flex",height:"100%",minHeight:400},tableContainer:{flex:1,overflow:"auto",padding:10},emptyState:{display:"flex",alignItems:"center",justifyContent:"center",padding:e.spacing(6),minHeight:400},emptyStateContent:{display:"flex",alignItems:"center",gap:e.spacing(6),maxWidth:900},emptyStateText:{flex:1},emptyStateTitle:{marginBottom:e.spacing(2)},emptyStateDescription:{marginBottom:e.spacing(3),color:e.palette.text.secondary},emptyStateImage:{maxWidth:400,height:"auto"}})),Q=()=>{const e=X(),t=(0,w.useApi)(w.configApiRef),a=(0,w.useApi)(w.fetchApiRef),i=(0,w.useApi)(w.alertApiRef),I=(0,w.useApi)(w.identityApiRef),C=t.getString("backend.baseUrl"),[T,N]=(0,n.useState)(""),[R,$]=(0,n.useState)(!1),[z,D]=(0,n.useState)(!1),[H,E]=(0,n.useState)(0),[L,M]=(0,n.useState)(!1),[W,q]=(0,n.useState)(null),[K,O]=(0,n.useState)(null),[B,U]=(0,n.useState)(!1),[F,Q]=(0,n.useState)(null),[ee,te]=(0,n.useState)({status:[],policy:[],route:[],namespace:[],tags:[],authentication:[]}),{allowed:ae,loading:se,error:ne}=(0,J.l)(Y.FL),{allowed:ie,loading:le}=(0,J.l)(Y.EM),{allowed:re,loading:oe,error:ce}=(0,J.l)(Y.R_),{allowed:de}=(0,J.l)(Y.U3),{allowed:ue}=(0,J.l)(Y.v_),pe=le||oe,{loading:me,error:he}=(0,J.l)(Y.J);(0,k.A)(async()=>{const e=await I.getBackstageIdentity();N(e.userEntityRef)},[I]);const{value:ge,loading:xe,error:ve}=(0,k.A)(async()=>{const e=await a.fetch(`${C}/api/kuadrant/apiproducts`);return await e.json()},[C,a,H]),{value:Ae,loading:ye,error:fe}=(0,k.A)(async()=>{const e=await a.fetch(`${C}/api/kuadrant/planpolicies`);return await e.json()},[C,a,H]),je=(0,n.useCallback)(e=>{var t;if(!(null==Ae?void 0:Ae.items))return null;const a=null===(t=e.spec)||void 0===t?void 0:t.targetRef;if(!a)return null;const s=Ae.items.find(t=>{const s=t.targetRef;return"HTTPRoute"===(null==s?void 0:s.kind)&&(null==s?void 0:s.name)===a.name&&(!(null==s?void 0:s.namespace)||(null==s?void 0:s.namespace)===(a.namespace||e.metadata.namespace))});return(null==s?void 0:s.metadata.name)||null},[Ae]),be=(0,n.useCallback)(e=>{var t,a;const s=(null===(a=e.status)||void 0===a||null===(t=a.discoveredAuthScheme)||void 0===t?void 0:t.authentication)||{},n=Object.values(s),i=[];return n.some(e=>e.hasOwnProperty("apiKey"))&&i.push("API Key"),n.some(e=>e.hasOwnProperty("jwt"))&&i.push("OIDC"),0===i.length&&i.push("Unknown"),i},[]),Pe=xe||ye||se||pe||me,Se=ve||fe,ke=ne||ce||he,we=(0,n.useMemo)(()=>(null==ge?void 0:ge.items)||[],[ge]),Ie=(0,n.useMemo)(()=>{const e={Draft:0,Published:0},t=new Map,a=new Map,s=new Map,n=new Map,i=new Map;return we.forEach(l=>{var r,o,c,d;const u=(null===(r=l.spec)||void 0===r?void 0:r.publishStatus)||"Draft";e[u]++;const p=je(l)||"N/A";t.set(p,(t.get(p)||0)+1);const m=(null===(c=l.spec)||void 0===c||null===(o=c.targetRef)||void 0===o?void 0:o.name)||"unknown";a.set(m,(a.get(m)||0)+1);const h=l.metadata.namespace;s.set(h,(s.get(h)||0)+1),((null===(d=l.spec)||void 0===d?void 0:d.tags)||[]).forEach(e=>{n.set(e,(n.get(e)||0)+1)}),be(l).forEach(e=>{i.set(e,(i.get(e)||0)+1)})}),[{id:"status",title:"Status",options:[{value:"Draft",label:"Draft",count:e.Draft},{value:"Published",label:"Published",count:e.Published}]},{id:"authentication",title:"Authentication",options:Array.from(i.entries()).map(([e,t])=>({value:e,label:e,count:t}))},{id:"policy",title:"Policy",options:Array.from(t.entries()).map(([e,t])=>({value:e,label:e,count:t})),collapsed:t.size>5},{id:"route",title:"Route",options:Array.from(a.entries()).map(([e,t])=>({value:e,label:e,count:t})),collapsed:a.size>5},{id:"namespace",title:"Namespace",options:Array.from(s.entries()).map(([e,t])=>({value:e,label:e,count:t})),collapsed:s.size>5},{id:"tags",title:"Tags",options:Array.from(n.entries()).map(([e,t])=>({value:e,label:e,count:t})),collapsed:n.size>5}]},[we,je,be]),Ce=(0,n.useMemo)(()=>we.filter(e=>{if(ee.status.length>0){var t;const a=(null===(t=e.spec)||void 0===t?void 0:t.publishStatus)||"Draft";if(!ee.status.includes(a))return!1}if(ee.authentication.length>0){const t=be(e);if(!ee.authentication.some(e=>t.includes(e)))return!1}if(ee.policy.length>0){const t=je(e)||"N/A";if(!ee.policy.includes(t))return!1}if(ee.route.length>0){var a,s;const t=(null===(s=e.spec)||void 0===s||null===(a=s.targetRef)||void 0===a?void 0:a.name)||"unknown";if(!ee.route.includes(t))return!1}if(ee.namespace.length>0&&!ee.namespace.includes(e.metadata.namespace))return!1;if(ee.tags.length>0){var n;const t=(null===(n=e.spec)||void 0===n?void 0:n.tags)||[];if(!ee.tags.some(e=>t.includes(e)))return!1}return!0}),[we,ee,je,be]),Te=[{title:"Name",field:"spec.displayName",render:e=>{var t,a;const n=null!==(a=null===(t=e.spec)||void 0===t?void 0:t.displayName)&&void 0!==a?a:e.metadata.name;return(0,s.jsx)(A.N_,{to:`/kuadrant/api-products/${e.metadata.namespace}/${e.metadata.name}`,children:(0,s.jsx)("strong",{children:n})})},customFilterAndSearch:(e,t)=>{var a;return((null===(a=t.spec)||void 0===a?void 0:a.displayName)||t.metadata.name||"").toLowerCase().includes(e.toLowerCase())}},{title:"Version",field:"spec.version",render:e=>{var t;return(null===(t=e.spec)||void 0===t?void 0:t.version)||"-"}},{title:"Route",field:"spec.targetRef.name",render:e=>{var t,a;return(null===(a=e.spec)||void 0===a||null===(t=a.targetRef)||void 0===t?void 0:t.name)||"-"}},{title:"Policy",field:"policy",render:e=>je(e)||"N/A"},{title:"Tags",field:"spec.tags",render:e=>{var t;const a=(null===(t=e.spec)||void 0===t?void 0:t.tags)||[];return 0===a.length?"-":(0,s.jsx)(l.A,{display:"flex",style:{gap:4,flexWrap:"wrap"},children:a.map(e=>(0,s.jsx)(r.A,{label:e,size:"small",variant:"outlined"},e))})}},{title:"Status",field:"spec.publishStatus",render:e=>{var t;const a=(null===(t=e.spec)||void 0===t?void 0:t.publishStatus)||"Draft";return(0,s.jsx)(r.A,{label:a,size:"small",color:"Published"===a?"primary":"default"})}},{title:"Authentication",field:"status.discoveredAuthScheme",render:e=>{var t,a;const n=(null===(a=e.status)||void 0===a||null===(t=a.discoveredAuthScheme)||void 0===t?void 0:t.authentication)||{},i=Object.values(n),c=i.some(e=>e.hasOwnProperty("apiKey")),d=i.some(e=>e.hasOwnProperty("jwt"));return c||d?(0,s.jsxs)(l.A,{display:"flex",style:{gap:4},children:[c&&(0,s.jsx)(r.A,{icon:(0,s.jsx)(g.A,{}),label:"API Key",size:"small",color:"primary"}),d&&(0,s.jsx)(r.A,{icon:(0,s.jsx)(x.A,{}),label:"OIDC",size:"small",color:"secondary"})]}):(0,s.jsx)(o.A,{variant:"body2",style:{fontStyle:"italic"},children:"unknown"})}},{title:"Namespace",field:"metadata.namespace"},{title:"Actions",field:"actions",filtering:!1,render:e=>{var t,n,r;const o=(null===(n=e.metadata)||void 0===n||null===(t=n.annotations)||void 0===t?void 0:t["backstage.io/owner"])===T,u=ue||de&&o,p=re||ie&&o,g="Published"===(null===(r=e.spec)||void 0===r?void 0:r.publishStatus);return(0,s.jsxs)(l.A,{display:"flex",alignItems:"center",style:{gap:4},children:[u&&(0,s.jsx)(c.A,{size:"small",color:"primary",onClick:()=>(async e=>{var t,s;const n=e.metadata.namespace,l=e.metadata.name,r=(null===(t=e.spec)||void 0===t?void 0:t.displayName)||l,o="Published"===((null===(s=e.spec)||void 0===s?void 0:s.publishStatus)||"Draft")?"Draft":"Published";try{if(!(await a.fetch(`${C}/api/kuadrant/apiproducts/${n}/${l}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({spec:{publishStatus:o}})})).ok)throw new Error("failed to update publish status");E(e=>e+1),i.post({message:`"${r}" ${"Published"===o?"published":"unpublished"} successfully`,severity:"success",display:"transient"})}catch(e){console.error("error updating publish status:",e),i.post({message:"Failed to update publish status",severity:"error",display:"transient"})}})(e),style:{marginRight:4,textTransform:"none"},children:g?"Unpublish":"Publish"}),u&&(0,s.jsx)(d.A,{size:"small",onClick:()=>{return t=e.metadata.namespace,a=e.metadata.name,O({namespace:t,name:a}),void D(!0);var t,a},title:"Edit API Product",children:(0,s.jsx)(h.A,{fontSize:"small"})}),p&&(0,s.jsx)(d.A,{size:"small",onClick:()=>(async(e,t)=>{q({namespace:e,name:t}),Q(null);try{const s=await a.fetch(`${C}/api/kuadrant/requests?namespace=${e}`);if(s.ok){const a=((await s.json()).items||[]).filter(a=>a.spec.apiName===t&&a.spec.apiNamespace===e),n=a.filter(e=>{var t;return"Approved"===(null===(t=e.status)||void 0===t?void 0:t.phase)}).length;Q({requests:a.length,secrets:n})}}catch(e){console.warn("Failed to fetch delete stats:",e)}M(!0)})(e.metadata.namespace,e.metadata.name),title:"Delete API Product",children:(0,s.jsx)(m.A,{fontSize:"small"})})]})}}];return(0,s.jsxs)(y.Y,{themeId:"tool",children:[(0,s.jsx)(f.Y,{title:"API Products",subtitle:"Manage API products for Kubernetes",children:(0,s.jsx)(j.Y,{children:"Manage API products and plan policies"})}),(0,s.jsxs)(b.U,{children:[Pe&&(0,s.jsxs)(l.A,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:300,children:[(0,s.jsx)(u.A,{}),(0,s.jsx)(o.A,{variant:"h6",style:{marginTop:16},children:"Loading data..."}),(0,s.jsx)(o.A,{variant:"body2",color:"textSecondary",children:"Preparing your data... This should only take a moment."})]}),Se&&(0,s.jsx)(P._,{error:Se}),ke&&(0,s.jsxs)(l.A,{p:2,children:[(0,s.jsxs)(o.A,{color:"error",children:["unable to check permissions: ",ke.message]}),(0,s.jsxs)(o.A,{variant:"body2",color:"textSecondary",children:["permission:"," ",ne?"kuadrant.apiproduct.create":ce?"kuadrant.apiproduct.delete":he?"kuadrant.planpolicy.list":"unknown"]}),(0,s.jsx)(o.A,{variant:"body2",color:"textSecondary",children:"please try again or contact your administrator"})]}),!Pe&&!Se&&!ke&&0===we.length&&(0,s.jsx)(l.A,{className:e.emptyState,children:(0,s.jsxs)(l.A,{className:e.emptyStateContent,children:[(0,s.jsxs)(l.A,{className:e.emptyStateText,children:[(0,s.jsx)(o.A,{variant:"h4",className:e.emptyStateTitle,children:"API Product"}),(0,s.jsx)(o.A,{variant:"body1",className:e.emptyStateDescription,children:"Create API product by registering existing API, associate route and policy"}),ae&&(0,s.jsx)(c.A,{variant:"contained",color:"primary",startIcon:(0,s.jsx)(p.A,{}),onClick:()=>$(!0),children:"Create API Product"})]}),(0,s.jsx)("img",{src:Z,alt:"API Product illustration",className:e.emptyStateImage})]})}),!Pe&&!Se&&!ke&&we.length>0&&(0,s.jsxs)(l.A,{className:e.container,children:[(0,s.jsx)(v.Z,{sections:Ie,filters:ee,onChange:te}),(0,s.jsxs)(l.A,{className:e.tableContainer,children:[(0,s.jsx)(l.A,{display:"flex",justifyContent:"flex-end",mb:2,children:ae&&(0,s.jsx)(c.A,{variant:"contained",color:"primary",size:"small",startIcon:(0,s.jsx)(p.A,{}),onClick:()=>$(!0),children:"Create API Product"})}),0===Ce.length?(0,s.jsx)(l.A,{p:4,textAlign:"center",children:(0,s.jsx)(o.A,{variant:"body1",color:"textSecondary",children:"No API products match the selected filters."})}):(0,s.jsx)(S.X,{options:{paging:Ce.length>10,pageSize:20,search:!0,filtering:!1,debounceInterval:300,toolbar:!0,emptyRowsWhenPaging:!1},columns:Te,data:Ce})]})]}),(0,s.jsx)(_,{open:R,onClose:()=>$(!1),onSuccess:e=>{E(e=>e+1),i.post({message:`"${e.displayName}" created successfully`,severity:"success",display:"transient"})}}),(0,s.jsx)(V.C,{open:z,onClose:()=>D(!1),onSuccess:()=>{E(e=>e+1);const e=(null==K?void 0:K.name)||"API Product";i.post({message:`"${e}" updated successfully`,severity:"success",display:"transient"})},namespace:(null==K?void 0:K.namespace)||"",name:(null==K?void 0:K.name)||""}),(0,s.jsx)(G.K,{open:L,title:"Delete API Product",description:F?`Deleting "${null==W?void 0:W.name}" will also remove:\n\n• ${F.requests} API Key(s)\n• ${F.secrets} API Key Secret(s)\n\nThis action cannot be undone.`:`Deleting "${null==W?void 0:W.name}" will also remove all associated API Keys and Secrets.\nThis action cannot be undone.`,confirmText:null==W?void 0:W.name,severity:"high",deleting:B,onConfirm:async()=>{if(W){U(!0);try{if(!(await a.fetch(`${C}/api/kuadrant/apiproducts/${W.namespace}/${W.name}`,{method:"DELETE"})).ok)throw new Error("failed to delete apiproduct");const e=(null==W?void 0:W.name)||"API Product";E(e=>e+1),i.post({message:`"${e}" deleted successfully`,severity:"success",display:"transient"})}catch(e){console.error("error deleting apiproduct:",e),i.post({message:"Failed to delete API Product",severity:"error",display:"transient"})}finally{U(!1),M(!1),q(null)}}},onCancel:()=>{M(!1),q(null)}})]})]})},ee=()=>(0,s.jsx)(I.B,{permission:Y.vs,errorMessage:"you don't have permission to view the Kuadrant page",children:(0,s.jsx)(Q,{})})}}]);
|
|
2
|
+
//# sourceMappingURL=3459.5c90b5a3.chunk.js.map
|