2 lines
3.8 KiB
JavaScript
2 lines
3.8 KiB
JavaScript
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[153],{5153:(e,r,o)=>{o.r(r),o.d(r,{default:()=>f});var n=o(5043),t=o(9923),a=o(6969),i=o(4574),s=o(3097),l=o.n(s),d=o(579);const p=e=>(0,d.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"min-icon",fill:"currentcolor",...e,children:(0,d.jsx)("polygon",{points:"8.5 16.5 21.5 3.6 23.4 5.5 8.5 20.4 .6 12.5 2.5 10.5 8.5 16.5"})}),c=i.Ay.div((e=>{let{theme:r}=e;return{display:"grid",gridTemplateColumns:"repeat(3, minmax(270px, 320px))",justifyContent:"flex-start",marginTop:30,marginLeft:30,"& > div":{borderBottom:`${l()(r,"borderColor","#EAEAEA")} 1px solid`,padding:"25px 30px",justifyContent:"center","&.first":{padding:0},"&.openSource":{borderRight:`${l()(r,"signalColors.main","#002562")} 2px solid`,borderLeft:`${l()(r,"signalColors.main","#002562")} 2px solid`,"&.first":{borderTop:`${l()(r,"signalColors.main","#002562")} 2px solid`,borderTopLeftRadius:12,borderTopRightRadius:12},"&.last":{paddingBottom:30,borderBottom:`${l()(r,"signalColors.main","#002562")} 2px solid`,borderBottomLeftRadius:12,borderBottomRightRadius:12}},"&.enterprise":{borderRight:"#a0a0a0 2px solid",borderLeft:"#a0a0a0 2px solid","&.first":{borderTop:"#a0a0a0 2px solid",borderTopLeftRadius:12,borderTopRightRadius:12},"&.last":{paddingBottom:30,borderBottom:"#a0a0a0 2px solid",borderBottomLeftRadius:12,borderBottomRightRadius:12}},"&.feature-information":{textAlign:"center"},"&.feature-label":{paddingLeft:5},"&.noBorderBottom":{borderBottom:0}},"& .planName":{fontWeight:600,fontSize:18,textAlign:"center",color:"#fff",marginBottom:30,padding:"8px 0",borderTopLeftRadius:10,borderTopRightRadius:10,"&.openSource":{backgroundColor:`${l()(r,"signalColors.main","#002562")}`},"&.enterprise":{backgroundColor:"#a0a0a0"}},"& .planIcon":{height:90,display:"flex",alignItems:"flex-start",justifyContent:"center","& svg":{height:50}},"& .planDescription":{display:"flex",justifyContent:"center"}}})),m=()=>{const e=(e,r,o)=>{let n=e;return(0,d.jsx)(t.$nd,{id:`license-action-${e}`,variant:o,sx:{marginTop:"12px",width:"80%",height:"40px"},onClick:e=>{e.preventDefault(),window.open(`${n}?ref=con`,"_blank")},label:r})},r=e=>e?(0,d.jsxs)(n.Fragment,{children:[e.content,e.isCheck&&(0,d.jsx)(p,{style:{width:16,height:16}})]}):(0,d.jsx)(n.Fragment,{});return(0,d.jsx)(n.Fragment,{children:(0,d.jsxs)(c,{children:[[null,...a.qZ].map(((e,r)=>(0,d.jsx)(t.azJ,{className:"first "+(1===r?"openSource":2===r?"enterprise":""),children:null!==e&&(0,d.jsxs)(t.azJ,{children:[(0,d.jsx)(t.azJ,{className:"planName "+(1===r?"openSource":2===r?"enterprise":""),children:e.planName}),(0,d.jsx)(t.azJ,{className:"planIcon "+("commercial"===e.planType?"commercial":""),children:null===e||void 0===e?void 0:e.planIcon}),(0,d.jsx)(t.azJ,{className:"planDescription",children:null===e||void 0===e?void 0:e.planDescription})]})}))),a.c_.map(((e,o)=>{const i=o===a.c_.length-1?"noBorderBottom":"";return(0,d.jsxs)(n.Fragment,{children:[(0,d.jsx)(t.azJ,{className:`feature-label ${i}`,children:e.featureLabel}),(0,d.jsx)(t.azJ,{className:`feature-information openSource ${i}`,children:r(e.featurePlans.openSource||null)}),(0,d.jsx)(t.azJ,{className:`feature-information enterprise ${i}`,children:r(e.featurePlans.eosPlus||null)})]})})),[null,...a.qZ].map(((r,o)=>(0,d.jsx)(t.azJ,{className:`last ${1===o?"openSource":2===o?"enterprise":""} noBorderBottom`,sx:{display:"flex",justifyContent:"center"},children:r&&e("https://min.io/signup","commercial"===r.planType?"Upgrade":"Join Slack","commercial"===r.planType?"callAction":"regular")})))]})})};var u=o(8793),x=o(4159),g=o(3635);const f=()=>{const e=(0,g.j)();return(0,n.useEffect)((()=>{e((0,x.ph)("license"))}),[]),(0,d.jsxs)(n.Fragment,{children:[(0,d.jsx)(u.A,{label:"Community and Enterprise Editions"}),(0,d.jsx)(t.Mxu,{children:(0,d.jsx)(m,{})})]})}}}]);
|
|
//# sourceMappingURL=153.c862e9a6.chunk.js.map
|