"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[5223],{56028:function(e,n,s){var t=s(29439),i=s(1413),l=s(72791),o=s(60364),r=s(13400),a=s(55646),c=s(5574),d=s(65661),u=s(39157),h=s(11135),p=s(25787),f=s(23814),m=s(25469),x=s(29823),g=s(28057),w=s(87995),Z=s(80184);n.Z=(0,p.Z)((function(e){return(0,h.Z)((0,i.Z)((0,i.Z)({},f.Qw),{},{content:{padding:25,paddingBottom:0},customDialogSize:{width:"100%",maxWidth:765}},f.sN))}))((function(e){var n=e.onClose,s=e.modalOpen,h=e.title,p=e.children,f=e.classes,j=e.wideLimit,k=void 0===j||j,y=e.noContentPadding,v=e.titleIcon,C=void 0===v?null:v,N=(0,m.TL)(),b=(0,l.useState)(!1),B=(0,t.Z)(b,2),M=B[0],I=B[1],S=(0,o.v9)((function(e){return e.system.modalSnackBar}));(0,l.useEffect)((function(){N((0,w.MK)(""))}),[N]),(0,l.useEffect)((function(){if(S){if(""===S.message)return void I(!1);"error"!==S.type&&I(!0)}}),[S]);var E=k?{classes:{paper:f.customDialogSize}}:{maxWidth:"lg",fullWidth:!0},z="";return S&&(z=S.detailedErrorMsg,(""===S.detailedErrorMsg||S.detailedErrorMsg.length<5)&&(z=S.message)),(0,Z.jsxs)(c.Z,(0,i.Z)((0,i.Z)({open:s,classes:f},E),{},{scroll:"paper",onClose:function(e,s){"backdropClick"!==s&&n()},className:f.root,children:[(0,Z.jsxs)(d.Z,{className:f.title,children:[(0,Z.jsxs)("div",{className:f.titleText,children:[C," ",h]}),(0,Z.jsx)("div",{className:f.closeContainer,children:(0,Z.jsx)(r.Z,{"aria-label":"close",id:"close",className:f.closeButton,onClick:n,disableRipple:!0,size:"small",children:(0,Z.jsx)(x.Z,{})})})]}),(0,Z.jsx)(g.Z,{isModal:!0}),(0,Z.jsx)(a.Z,{open:M,className:f.snackBarModal,onClose:function(){I(!1),N((0,w.MK)(""))},message:z,ContentProps:{className:"".concat(f.snackBar," ").concat(S&&"error"===S.type?f.errorSnackBar:"")},autoHideDuration:S&&"error"===S.type?1e4:5e3}),(0,Z.jsx)(u.Z,{className:y?"":f.content,children:p})]}))}))},75223:function(e,n,s){s.r(n);s(72791);var t=s(56028),i=s(64554),l=s(36151),o=s(38734),r=s(83303),a=s(80184);n.default=function(e){var n=e.isOpen,s=e.onClose;return(0,a.jsx)(t.Z,{modalOpen:n,title:"License",onClose:function(){s()},children:(0,a.jsxs)(i.Z,{sx:{display:"flex",flexFlow:"column","& .link-text":{color:"#2781B0",fontSize:"12px",fontWeight:600}},children:[(0,a.jsx)(i.Z,{sx:{display:"flex",alignItems:"center",marginBottom:"40px",justifyContent:"center","& .min-icon":{fill:"blue",width:"188px",height:"62px"}},children:(0,a.jsx)(o.BKr,{})}),(0,a.jsxs)(i.Z,{sx:{marginBottom:"27px"},children:["By using this software, you acknowledge that MinIO software is licensed under the GNU AGPL v3, for which, the full text can be found here:"," ",(0,a.jsx)("a",{href:"https://www.gnu.org/licenses/agpl-3.0.html",rel:"noreferrer noopener",className:"link-text",children:"https://www.gnu.org/licenses/agpl-3.0.html."})]}),(0,a.jsxs)(i.Z,{sx:{paddingBottom:"23px"},children:["Please review the terms carefully and ensure you are in compliance with the obligations of the license. If you are not able to satisfy the license obligations, we offer a commercial license which is available here:"," ",(0,a.jsx)("a",{href:"https://min.io/signup?ref=con",rel:"noreferrer noopener",className:"link-text",children:"https://min.io/signup."})]}),(0,a.jsx)(i.Z,{sx:{marginTop:"19px",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,a.jsx)(l.Z,{type:"button",variant:"contained",color:"primary",onClick:function(){(0,r.NI)(),s()},children:"Acknowledge"})})]})})}}}]);
//# sourceMappingURL=5223.d2798e93.chunk.js.map