"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[5140],{65140:function(e,n,a){a.r(n);var t=a(29439),c=a(1413),r=a(72791),o=a(16871),i=a(43504),s=a(11135),l=a(25787),d=a(64554),u=a(13400),p=a(32291),m=a(23814),h=a(77608),f=a(28789),x=a(72401),v=a(80184);n.default=(0,l.Z)((function(e){return(0,s.Z)((0,c.Z)({breadcrumLink:{textDecoration:"none",color:"black"},iframeStyle:{border:0,position:"absolute",height:"calc(100vh - 77px)",width:"100%"},divContainer:{position:"absolute",left:0,top:80,height:"calc(100vh - 81px)",width:"100%"},loader:{width:100,margin:"auto",marginTop:80},pageHeader:{borderBottom:"1px solid #dedede"}},(0,m.Bz)(e.spacing(4))))}))((function(e){var n=e.classes,a=(0,o.s0)(),c=(0,o.UO)(),s=(0,r.useState)(!0),l=(0,t.Z)(s,2),m=l[0],j=l[1],g=c.tenantName||"",b=c.tenantNamespace||"",Z=r.useRef(null);return(0,v.jsxs)(r.Fragment,{children:[(0,v.jsx)(d.Z,{className:n.pageHeader,children:(0,v.jsx)(p.Z,{label:(0,v.jsxs)(r.Fragment,{children:[(0,v.jsx)(i.rU,{to:"/tenants",className:n.breadcrumLink,children:"Tenants"})," > ",(0,v.jsx)(i.rU,{to:"/namespaces/".concat(b,"/tenants/").concat(g),className:n.breadcrumLink,children:g})," > Management"]}),actions:(0,v.jsxs)(r.Fragment,{children:[(0,v.jsx)(u.Z,{color:"primary","aria-label":"Refresh List",component:"span",onClick:function(){if(null!==Z&&null!==Z.current&&null!==Z.current.contentDocument){var e=Z.current.contentDocument.location.toString(),n="&";if(e.indexOf("?")<0&&(n="?"),e.indexOf("cp=y")<0){var a="".concat(e).concat(n,"cp=y");Z.current.contentDocument.location.replace(a)}else Z.current.contentDocument.location.reload()}},size:"large",children:(0,v.jsx)(f.default,{})}),(0,v.jsx)(u.Z,{color:"primary","aria-label":"Refresh List",component:"span",onClick:function(){a("/namespaces/".concat(b,"/tenants/").concat(g))},size:"large",children:(0,v.jsx)(h.Z,{})})]})})}),(0,v.jsxs)("div",{className:n.divContainer,children:[m&&(0,v.jsx)("div",{className:n.loader,children:(0,v.jsx)(x.Z,{})}),(0,v.jsx)("iframe",{ref:Z,className:n.iframeStyle,title:"metrics",src:"/api/hop/".concat(b,"/").concat(g,"/?cp=y"),onLoad:function(e){j(!1)}})]})]})}))},77608:function(e,n,a){var t=a(64836);n.Z=void 0;var c=t(a(45649)),r=a(80184),o=(0,c.default)((0,r.jsx)("path",{d:"M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"ExitToApp");n.Z=o}}]);
//# sourceMappingURL=5140.29fde8ff.chunk.js.map