summaryrefslogtreecommitdiffstats
path: root/web/gui/v2/3212.ef9057f6ac28ed55d62a.chunk.js
blob: 20f13d87b641d9a57c312b94203b7cdda88e1c1f (plain)
1
!function(){try{var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="53e22699-9ae6-4591-89d6-76189485d0ad",n._sentryDebugIdIdentifier="sentry-dbid-53e22699-9ae6-4591-89d6-76189485d0ad")}catch(n){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"8b7b01b6c705cf50f8050ce0fb8fc6b58fe68567"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[3212],{14808:function(n,e,r){r.d(e,{Z3:function(){return u},h2:function(){return l},xy:function(){return a}});r(26699),r(32023);var t="trialWarning",o="alertConfiguration",i=[t];function c(n){if(i.includes(n))return function(){return!0};var e="true"===localStorage.getItem(n);return function(n){return n||e}}var a=c("mobileAppNotifications")(),u=c(t)(),l=c(o)()},52428:function(n,e,r){r.d(e,{J:function(){return l}});r(47941),r(82526),r(57327),r(41539),r(88449),r(2490),r(59849),r(38880),r(15581),r(34514),r(54747),r(49337),r(33321),r(69070);var t=r(4942),o=r(58206),i=r(52631),c=r(74855);function a(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function u(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){(0,t.Z)(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}var l=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){(0,o.Z)(n);var r=(0,c.sc)(u(u({header:"Copied",text:"Command copied to your clipboard! Please run it on your node's terminal.",icon:"gear"},e),{},{success:!0}));i.Z.success(r,{context:"copy"})}}},57387:function(n,e,r){r.d(e,{ZM:function(){return g}});r(47941),r(82526),r(57327),r(41539),r(88449),r(2490),r(59849),r(38880),r(15581),r(34514),r(54747),r(49337),r(33321),r(69070);var t=r(45987),o=r(4942),i=r(67294),c=r(71893),a=r(93416),u=r(52428),l=["children"],s=["children","confirmationText","commandText"];function d(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}var f=(0,c.default)(a.Box).attrs((function(n){return function(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){(0,o.Z)(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}({color:"textDescription",background:"modalTabsBackground",border:{side:"all",color:"borderSecondary"},padding:[4,10,4,4],position:"relative",width:"100%"},n)})).withConfig({displayName:"command__StyledTerminalCommand",componentId:"sc-wnwmk3-0"})(["color:",";border-radius:2px;overflow-wrap:anywhere;white-space:pre-wrap;font-family:Courier New,monospace;letter-spacing:0.09px;line-height:18px;font-size:14px;word-break:break-word;"],(0,a.getColor)("textDescription")),p=(0,c.default)(a.Icon).withConfig({displayName:"command__StyledIcon",componentId:"sc-wnwmk3-1"})(["display:flex;align-self:flex-end;cursor:pointer;"]),b=(0,c.default)(a.Box).attrs({color:"textDescription",border:{side:"all",color:"borderSecondary"},background:"modalTabsBackground",padding:[0,1]}).withConfig({displayName:"command__CodeText",componentId:"sc-wnwmk3-2"})(["display:inline-block;color:",";border-radius:2px;font-family:Courier New,monospace;letter-spacing:0.09px;line-height:18px;font-size:14px;word-break:break-word;"],(0,a.getColor)("textDescription")),g=function(n){var e=n.children,r=(0,t.Z)(n,l);return i.createElement(b,r,e)};e.ZP=function(n){var e=n.children,r=n.confirmationText,o=void 0===r?"Command copied to your clipboard.":r,c=n.commandText,l=void 0===c?e:c,d=(0,t.Z)(n,s);return i.createElement(f,d,e,i.createElement(a.Box,{position:"absolute",bottom:"8px",right:"8px"},i.createElement(p,{name:"copy",size:"small",color:"primary",onClick:(0,u.J)(l||e,{text:o})})))}},69019:function(n,e,r){r.d(e,{Cl:function(){return w},E3:function(){return p},FD:function(){return E},Vs:function(){return O},ZQ:function(){return m},fA:function(){return Z},fh:function(){return h},fz:function(){return P},uV:function(){return k}});r(47941),r(82526),r(57327),r(88449),r(59849),r(38880),r(49337),r(33321),r(69070);var t=r(93433),o=r(29439),i=r(4942),c=(r(85827),r(41539),r(25387),r(2490),r(72608),r(15581),r(34514),r(54747),r(69720),r(92222),r(26398)),a=r(50308),u=r.n(a),l=r(66152),s=r(49489);function d(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function f(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){(0,i.Z)(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}var p={id:null,name:"",description:"",commitment:!1,pricing:[],enrolledAt:null,currentPeriodFrom:null,currentPeriodTo:null,committedNodes:0,billingEmail:"",balance:{amount:0,currency:"usd"}},b={Pro:"pro",Professional:"pro",Community:"free",EarlyBird:"earlyBird",Business:"business"},g=function(n){var e,r=b[n.class],t=(0,l.k5)(n),o=Array.isArray(t.pricing)?t.pricing.reduce((function(n,e){return f(f({},n),{},(0,i.Z)({},e.type,e))}),{}):{},c=null===(e=s.Hh[r])||void 0===e?void 0:e[n.version];return f(f(f({},p),t),{},{planLimitations:c,pricing:o,slug:r})},v=function(n){return(0,l.k5)(n)},m=function(n){return c.Z.get("/api/v2/spaces/".concat(n,"/billing/plans"),{transform:function(n