Files
object-browser/portal-ui/build/static/js/2249.16ea4e27.chunk.js
Daniel Valdivia 2aa5081889 Release v0.17.3 (#2047)
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
2022-05-26 16:50:23 -07:00

2 lines
8.7 KiB
JavaScript

"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2249],{23804:function(n,e,o){o(72791);var i=o(11135),t=o(25787),r=o(61889),a=o(80184);e.Z=(0,t.Z)((function(n){return(0,i.Z)({root:{border:"1px solid #E2E2E2",borderRadius:2,backgroundColor:"#FBFAFA",paddingLeft:25,paddingTop:31,paddingBottom:21,paddingRight:30},leftItems:{fontSize:16,fontWeight:"bold",marginBottom:15,display:"flex",alignItems:"center","& .min-icon":{marginRight:15,height:28,width:38}},helpText:{fontSize:16,paddingLeft:5}})}))((function(n){var e=n.classes,o=n.iconComponent,i=n.title,t=n.help;return(0,a.jsx)("div",{className:e.root,children:(0,a.jsxs)(r.ZP,{container:!0,children:[(0,a.jsxs)(r.ZP,{item:!0,xs:12,className:e.leftItems,children:[o,i]}),(0,a.jsx)(r.ZP,{item:!0,xs:12,className:e.helpText,children:t})]})})}))},60937:function(n,e,o){o.d(e,{Z:function(){return d}});var i=o(32291),t=o(72791),r=o(61889),a=o(64554),c=o(23804),l=o(80184),s=function(n){var e=n.iconComponent,o=void 0===e?null:e,i=n.title,t=void 0===i?"":i,s=n.message,u=void 0===s?"":s;return(0,l.jsx)(r.ZP,{container:!0,alignItems:"center",children:(0,l.jsx)(r.ZP,{item:!0,xs:12,children:(0,l.jsx)(c.Z,{title:t,iconComponent:o,help:(0,l.jsx)(a.Z,{sx:{fontSize:"14px",display:"flex",border:"none",flexFlow:{xs:"column",md:"row"},"& a":{color:function(n){return n.colors.link},textDecoration:"underline"}},children:u})})})})},u=o(74794),d=function(n){var e=n.pageHeaderText,o=void 0===e?"":e,r=n.icon,a=void 0===r?null:r,c=n.title,d=void 0===c?"":c,f=n.message,x=void 0===f?null:f;return(0,l.jsxs)(t.Fragment,{children:[(0,l.jsx)(i.Z,{label:o}),(0,l.jsx)(u.Z,{children:(0,l.jsx)(s,{iconComponent:a,title:d,message:x})})]})}},75578:function(n,e,o){var i=o(1413),t=o(72791),r=o(80184);e.Z=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;function o(o){return(0,r.jsx)(t.Suspense,{fallback:e,children:(0,r.jsx)(n,(0,i.Z)({},o))})}return o}},2249:function(n,e,o){o.r(e),o.d(e,{default:function(){return _}});var i=o(72791),t=o(79271),r=o(62666),a=o(50099),c=o(1413),l=o(11135),s=o(61889),u=o(23814),d=o(32291),f=o(91523),x=o(25787),g=o(80184),p=(0,x.Z)((function(n){return(0,l.Z)({configurationLink:{border:"#E5E5E5 1px solid",borderRadius:2,padding:20,width:190,maxWidth:190,height:80,margin:14,display:"flex",alignItems:"center",color:"#072C4F",fontSize:14,fontWeight:700,textDecoration:"none",overflow:"hidden",textOverflow:"ellipsis",lineClamp:2,"& svg":{fontSize:35,marginRight:15},"&:hover":{backgroundColor:"#FBFAFA"},"&.disabled":{backgroundColor:"#F9F9F9",color:"#ababab",cursor:"not-allowed"}}})}))((function(n){var e=n.classes,o=n.configuration,i=n.prefix,t=void 0===i?"settings":i,r=n.disabled,a=void 0!==r&&r;return(0,g.jsxs)(f.rU,{to:a?"/".concat(t):"/".concat(t,"/").concat(o.configuration_id),className:"".concat(e.configurationLink," ").concat(a?"disabled":""),children:[o.icon,o.configuration_label]})})),m=o(74794),h=o(62410),b=o(56087),Z=o(38442),v=(0,o(72455).Z)((function(n){return(0,l.Z)((0,c.Z)((0,c.Z)((0,c.Z)({settingsOptionsContainer:{display:"flex",flexDirection:"row",justifyContent:"flex-start",flexWrap:"wrap",border:"#E5E5E5 1px solid",borderRadius:2,padding:5,backgroundColor:"#fff"}},u.qg),u.OR),(0,u.Bz)(n.spacing(4))))})),j=function(){var n=v(),e=[{icon:(0,g.jsx)(h.I$E,{}),configuration_id:"logs",configuration_label:"Logs",disabled:!(0,Z.F)(b.C3,b.LC[b.gA.TOOLS_LOGS])},{icon:(0,g.jsx)(h.W1M,{}),configuration_id:"audit-logs",configuration_label:"Audit Logs",disabled:!(0,Z.F)(b.C3,b.LC[b.gA.TOOLS_AUDITLOGS])},{icon:(0,g.jsx)(h.fOu,{}),configuration_id:"watch",configuration_label:"Watch",disabled:!(0,Z.F)(b.C3,b.LC[b.gA.TOOLS_WATCH])},{icon:(0,g.jsx)(h.C_0,{}),configuration_id:"trace",configuration_label:"Trace",disabled:!(0,Z.F)(b.C3,b.LC[b.gA.TOOLS_TRACE])},{icon:(0,g.jsx)(h.lnI,{}),configuration_id:"heal",configuration_label:"Heal",disabled:!(0,Z.F)(b.C3,b.LC[b.gA.TOOLS_HEAL])},{icon:(0,g.jsx)(h.MXM,{}),configuration_id:"diagnostics",configuration_label:"Diagnostics",disabled:!(0,Z.F)(b.C3,b.LC[b.gA.TOOLS_DIAGNOSTICS])},{icon:(0,g.jsx)(h.QBB,{}),configuration_id:"speedtest",configuration_label:"Speedtest",disabled:!(0,Z.F)(b.C3,b.LC[b.gA.TOOLS_SPEEDTEST])}];return(0,g.jsxs)(i.Fragment,{children:[(0,g.jsx)(d.Z,{label:"Tools"}),(0,g.jsx)(m.Z,{children:(0,g.jsx)(s.ZP,{item:!0,xs:12,children:(0,g.jsx)(s.ZP,{item:!0,xs:12,children:(0,g.jsx)("div",{className:n.settingsOptionsContainer,children:e.map((function(n){return(0,g.jsx)(p,{prefix:"tools",configuration:n,disabled:n.disabled||!1},"configItem-".concat(n.configuration_label))}))})})})})]})},C=o(60937),S=o(25183),y=o(75578),A=(0,y.Z)(i.lazy((function(){return Promise.all([o.e(7757),o.e(8833)]).then(o.bind(o,58833))}))),L=(0,y.Z)(i.lazy((function(){return o.e(471).then(o.bind(o,80471))}))),F=(0,y.Z)(i.lazy((function(){return o.e(483).then(o.bind(o,70483))}))),_=function(){return(0,g.jsx)(t.F0,{history:r.Z,children:(0,g.jsxs)(t.rs,{children:[(0,g.jsx)(t.AW,{path:b.gA.TOOLS,exact:!0,component:j}),(0,g.jsx)(t.AW,{path:b.gA.REGISTER_SUPPORT,exact:!0,component:L}),(0,g.jsx)(t.AW,{path:b.gA.PROFILE,exact:!0,component:F}),(0,g.jsx)(t.AW,{path:b.gA.CALL_HOME,exact:!0,render:function(){return(0,g.jsx)(C.Z,{icon:(0,g.jsx)(S.aw,{}),pageHeaderText:"Support",title:"Call Home",message:(0,g.jsx)("div",{children:"This feature is currently not available."})})}}),(0,g.jsx)(t.AW,{path:b.gA.SUPPORT_INSPECT,exact:!0,component:A}),(0,g.jsx)(t.AW,{component:a.Z})]})})}},50099:function(n,e,o){o.d(e,{Z:function(){return s}});o(72791);var i=o(64554),t=o(20890),r=o(23060),a=o(80184);function c(){return(0,a.jsxs)(t.Z,{variant:"body2",color:"textSecondary",align:"center",children:["Copyright \xa9 ",(0,a.jsx)(r.Z,{color:"inherit",href:"https://min.io/?ref=con",children:"MinIO"})," ",(new Date).getFullYear(),"."]})}var l=o(74794),s=function(){return(0,a.jsx)(l.Z,{children:(0,a.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center",margin:"auto",flexFlow:"column"},children:[(0,a.jsx)(i.Z,{sx:{fontSize:"110%",margin:"0 0 0.25rem",color:"#909090"},children:"404 Error"}),(0,a.jsx)(i.Z,{sx:{fontStyle:"normal",fontSize:"clamp(2rem,calc(2rem + 1.2vw),3rem)",fontWeight:700},children:"Sorry, the page could not be found."}),(0,a.jsx)(i.Z,{mt:5,children:(0,a.jsx)(c,{})})]})})}},23060:function(n,e,o){o.d(e,{Z:function(){return A}});var i=o(29439),t=o(4942),r=o(63366),a=o(87462),c=o(72791),l=o(28182),s=o(90767),u=o(18529),d=o(12065),f=o(14036),x=o(47630),g=o(93736),p=o(23031),m=o(42071),h=o(20890),b=o(95159);function Z(n){return(0,b.Z)("MuiLink",n)}var v=(0,o(30208).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),j=o(80184),C=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"],S={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},y=(0,x.ZP)(h.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(n,e){var o=n.ownerState;return[e.root,e["underline".concat((0,f.Z)(o.underline))],"button"===o.component&&e.button]}})((function(n){var e=n.theme,o=n.ownerState,i=(0,u.D)(e,"palette.".concat(function(n){return S[n]||n}(o.color)))||o.color;return(0,a.Z)({},"none"===o.underline&&{textDecoration:"none"},"hover"===o.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===o.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==i?(0,d.Fq)(i,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===o.component&&(0,t.Z)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(v.focusVisible),{outline:"auto"}))})),A=c.forwardRef((function(n,e){var o=(0,g.Z)({props:n,name:"MuiLink"}),t=o.className,u=o.color,d=void 0===u?"primary":u,x=o.component,h=void 0===x?"a":x,b=o.onBlur,v=o.onFocus,S=o.TypographyClasses,A=o.underline,L=void 0===A?"always":A,F=o.variant,_=void 0===F?"inherit":F,O=(0,r.Z)(o,C),T=(0,p.Z)(),w=T.isFocusVisibleRef,E=T.onBlur,k=T.onFocus,R=T.ref,P=c.useState(!1),I=(0,i.Z)(P,2),W=I[0],D=I[1],z=(0,m.Z)(e,R),B=(0,a.Z)({},o,{color:d,component:h,focusVisible:W,underline:L,variant:_}),N=function(n){var e=n.classes,o=n.component,i=n.focusVisible,t=n.underline,r={root:["root","underline".concat((0,f.Z)(t)),"button"===o&&"button",i&&"focusVisible"]};return(0,s.Z)(r,Z,e)}(B);return(0,j.jsx)(y,(0,a.Z)({className:(0,l.Z)(N.root,t),classes:S,color:d,component:h,onBlur:function(n){E(n),!1===w.current&&D(!1),b&&b(n)},onFocus:function(n){k(n),!0===w.current&&D(!0),v&&v(n)},ref:z,ownerState:B,variant:_},O))}))}}]);
//# sourceMappingURL=2249.16ea4e27.chunk.js.map