mirror of
https://github.com/OpenMaxIO/openmaxio-object-browser
synced 2026-07-01 07:41:18 -07:00
2 lines
3.5 KiB
JavaScript
2 lines
3.5 KiB
JavaScript
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[153],{5153:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var o=n(5043),r=n(9923),a=n(6969),l=n(4574),i=n(3097),s=n.n(i),c=n(579);const p=e=>(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"min-icon",fill:"currentcolor",...e,children:(0,c.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"})}),d=l.Ay.div((e=>{let{theme:t}=e;return{display:"grid",gridTemplateColumns:"repeat(3, minmax(350px, 400px))",justifyContent:"flex-start",marginTop:30,marginLeft:30,"& > div":{borderBottom:`${s()(t,"borderColor","#EAEAEA")} 1px solid`,padding:"25px 40px",justifyContent:"center","&.openSource":{borderRight:"#002562 2px solid",borderLeft:"#002562 2px solid",position:"relative","&.first:before":{content:"' '",width:"calc(100% + 4px)",height:16,display:"block",backgroundColor:"#001F55",position:"absolute",top:-14,left:-2,border:"#002562 2px solid",borderBottom:0,borderTopLeftRadius:12,borderTopRightRadius:12},"&.last":{paddingBottom:30,"&:after":{content:"' '",width:"calc(100% + 4px)",height:16,display:"block",position:"absolute",bottom:-14,left:-2,border:"#002562 2px solid",borderTop:0,borderBottomLeftRadius:12,borderBottomRightRadius:12}}},"&.feature-information":{textAlign:"center"},"&.feature-label":{paddingLeft:5},"&.noBorderBottom":{borderBottom:0}},"& .planName":{fontWeight:600,fontSize:32,marginBottom:24,textAlign:"center",marginTop:8},"& .planIcon":{height:100,display:"flex",alignItems:"flex-start",justifyContent:"center","& svg":{height:80},"&.commercial":{"& svg":{height:70}}},"& .planDescription":{display:"flex",justifyContent:"center"}}})),m=()=>{const e=(e,t,n)=>{let o=e;return(0,c.jsx)(r.$nd,{id:`license-action-${e}`,variant:n,sx:{marginTop:"12px",width:"80%",height:"55px"},onClick:e=>{e.preventDefault(),window.open(`${o}?ref=con`,"_blank")},label:t})},t=e=>e?(0,c.jsxs)(o.Fragment,{children:[e.content,e.isCheck&&(0,c.jsx)(p,{style:{width:16,height:16}})]}):(0,c.jsx)(o.Fragment,{});return(0,c.jsx)(o.Fragment,{children:(0,c.jsxs)(d,{children:[[null,...a.qZ].map(((e,t)=>(0,c.jsx)(r.azJ,{className:""+(1===t?"openSource first":""),children:null!==e&&(0,c.jsxs)(r.azJ,{children:[(0,c.jsx)(r.azJ,{className:"planName",children:e.planName}),(0,c.jsx)(r.azJ,{className:"planIcon "+("commercial"===e.planType?"commercial":""),children:null===e||void 0===e?void 0:e.planIcon}),(0,c.jsx)(r.azJ,{className:"planDescription",children:null===e||void 0===e?void 0:e.planDescription})]})}))),a.c_.map(((e,n)=>{const l=n===a.c_.length-1?"noBorderBottom":"";return(0,c.jsxs)(o.Fragment,{children:[(0,c.jsx)(r.azJ,{className:`feature-label ${l}`,children:e.featureLabel}),(0,c.jsx)(r.azJ,{className:`feature-information openSource ${l}`,children:t(e.featurePlans.openSource||null)}),(0,c.jsx)(r.azJ,{className:`feature-information ${l}`,children:t(e.featurePlans.eosPlus||null)})]})})),[null,...a.qZ].map(((t,n)=>(0,c.jsx)(r.azJ,{className:(1===n?"openSource last":"")+" noBorderBottom",sx:{display:"flex",justifyContent:"center"},children:t&&e("https://min.io/signup","commercial"===t.planType?"Upgrade":"Join Slack","commercial"===t.planType?"callAction":"regular")})))]})})};var u=n(8793),x=n(4159),h=n(3635);const f=()=>{const e=(0,h.j)();return(0,o.useEffect)((()=>{e((0,x.ph)("license"))}),[]),(0,c.jsxs)(o.Fragment,{children:[(0,c.jsx)(u.A,{label:"MinIO License and Support Plan"}),(0,c.jsx)(r.Mxu,{children:(0,c.jsx)(m,{})})]})}}}]);
|
|
//# sourceMappingURL=153.0edba926.chunk.js.map
|