PageSourceSearch

https://cloud2.influxdata.com/js/main-61c6526b2b52ed93e212e4d1fc08dc9e.js?vsn=d

js influxdata.com collected 2026-09-24 07:46:54 UTC 116,244 bytes, 2 lines download raw bytes

1(()=>{"use strict";var e,t={238(e,t,n){n(942),n(43);var a=n(946),r=n(540),o=n(948);const l=({text:e})=>r.createElement(o.Heading,{element:o.HeadingElement.H1,weight:o.FontWeight.Regular,className:"cf-funnel-page--title"},e),i=({text:e})=>r.createElement(o.Heading,{element:o.HeadingElement.P,weight:o.FontWeight.Medium,className:"cf-funnel-page--subtitle"},e),s=({header:e,subtitle:t})=>r.createElement(r.Fragment,null,r.createElement(l,{text:e}),t&&r.createElement(i,{text:t})),c=({signupUrl:e})=>r.createElement(o.AppWrapper,{type:"funnel",className:"marketplace-splash"},r.createElement(o.FunnelPage,{logo:r.createElement(o.InfluxDBCloudLogo,{fill:o.InfluxColors.White,cloud:!0,className:"influx-cloud-logo"})},r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Eight,offsetMD:o.Columns.Two},r.createElement(s,{header:"Get Started in a New Browser Window",subtitle:"Set up an InfluxDB Cloud Account to activate your Google Cloud Subscription"}))),r.createElement(o.Grid.Row,null,r.createElement("div",{className:"close-popup--graphic"})),r.createElement(o.Grid.Row,null,r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,justifyContent:o.JustifyContent.Center,className:"splash--cta-button"},r.createElement("p",null,"Next: ",r.createElement("strong",null,"Create Account")),r.createElement(o.CTAButton,{onClick:()=>(e=>{window.open(e,"_blank"),window.close()})(e),text:"Continue",color:o.ComponentColor.Primary}))),r.createElement(o.FunnelPage.Footer,{className:"close-popup--footer"},r.createElement(o.FunnelPage.FooterSection,null,r.createElement("span",null,"Powered by")," ",r.createElement(o.Icon,{glyph:o.IconFont.CuboUniform}),r.createElement("a",{href:"https://www.influxdata.com/",target:"_blank"},"InfluxData")))));var m=n(543),u=n.n(m);const d=()=>(0,m.get)(document.querySelector("meta[name=csrf]"),"content",""),p=()=>r.createElement("input",{name:"_csrf_token",type:"hidden",value:d()}),g=()=>r.createElement("div",{className:"logo-with-cubo"},r.createElement(o.Icon,{glyph:o.IconFont.CuboSolid,className:"cubo-logo"}),r.createElement(o.InfluxDBCloudLogo,{fill:o.InfluxColors.White,cloud:!0,className:"influx-cloud-logo"})),h=(e="hidden")=>{const[t,n]=(0,r.useState)("visible"==e);return[t,{hide:()=>n(!1),show:()=>n(!0)}]},E=({children:e})=>{const[t,{hide:n}]=h("visible");return r.createElement(o.Notification,{size:o.ComponentSize.Small,gradient:o.Gradients.DangerDark,icon:o.IconFont.AlertTriangle,onDismiss:n,onTimeout:n,visible:t,duration:5e3},e)},C=({children:e,style:t})=>r.createElement(o.Alert,{color:o.ComponentColor.Danger,icon:o.IconFont.AlertTriangle,style:t},e),f=({style:e})=>r.createElement(r.Fragment,null,r.createElement(E,null,"Organization could not be provisioned."),r.createElement(C,{style:e},r.createElement("span",null,"We were not able to set up your environment. If this issue persists, please contact"," ",r.createElement("a",{href:"mailto:[email protected]"},"[email protected]")))),w=({companyName:e,hasError:t,provider:n,region:a})=>{const[l,i]=(0,r.useState)(o.ComponentStatus.Default);return r.createElement(o.AppWrapper,{type:"funnel"},r.createElement(o.FunnelPage,{enableGraphic:!0,logo:r.createElement(g,null)},r.createElement(o.FlexBox,{alignItems:o.AlignItems.Center,justifyContent:o.JustifyContent.Center,direction:o.FlexDirection.Column},r.createElement("div",{style:{height:"10em"}}),r.createElement("form",{action:"/orgs/retry","data-testid":"splash-form",method:"POST",onSubmit:()=>{i(o.ComponentStatus.Loading)}},r.createElement(p,null),r.createElement(o.Panel,{backgroundColor:o.InfluxColors.Grey25},t&&r.createElement(f,{style:{position:"absolute",top:"-95px"}}),r.createElement(o.Panel.Header,{size:o.ComponentSize.Large},r.createElement(o.Heading,{element:o.HeadingElement.H2},"Uh-oh, we hit a snag!")),r.createElement(o.Panel.Body,null,r.createElement(o.FlexBox,{alignItems:o.AlignItems.FlexStart,direction:o.FlexDirection.Column,justifyContent:o.JustifyContent.FlexStart,margin:o.ComponentSize.Large},r.createElement(o.Heading,{element:o.HeadingElement.H4},"There were some issues setting up your environment. Please try again."),r.createElement("div",null,"Cloud Provider: ",n),r.createElement("div",null,"Region: ",a),r.createElement("div",null,"Company Name: ",e)))),r.createElement(o.FlexBox,{alignItems:o.AlignItems.FlexEnd,direction:o.FlexDirection.Column,justifyContent:o.JustifyContent.Center,style:{marginTop:"63px"}},r.createElement(o.CTAButton,{className:"splash-error--cta-button",color:o.ComponentColor.Primary,status:l,text:"Try Again",type:o.ButtonType.Submit}))))))};function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,l,i=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=o.call(n)).done)&&(i.push(a.value),i.length!==t);s=!0);}catch(e){c=!0,r=e}
1finally{try{if(!s&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}const y=function(e){var t=e.flashType,n=e.message,a=S(h("visible"),2),l=a[0],i=a[1].hide;switch(t){case"error":return r.createElement(o.Notification,{gradient:o.Gradients.DangerDark,icon:o.IconFont.AlertTriangle,onDismiss:i,onTimeout:i,visibly:l},n);case"warning":return r.createElement(o.Notification,{gradient:o.Gradients.Warning,icon:o.IconFont.AlertTriangle,onDismiss:i,onTimeout:i,visibly:l},n);default:return r.createElement(o.Notification,{gradient:o.Gradients.Primary,icon:o.IconFont.Bell,onDismiss:i,onTimeout:i,visibly:l},n)}};n.dn(y);var b=window.Config.honeybadger;b||console.error("Honeybadger config not set");var x=a.j.configure(b);const N=r.createContext(x),z=()=>r.createElement("svg",{version:"1.1",id:"InfluxData_Complete_Logo",x:"0px",y:"0px",viewBox:"-265.5 211 1080 220",className:"influx-logo"},r.createElement("path",{id:"Cuboctahedron",className:"st0",d:"M-52.1,341.6l-19.1-83.1c-1.1-4.6-5.2-9.1-9.8-10.4l-87.2-26.9c-1.1-0.4-2.4-0.4-3.7-0.4\n\tc-3.7,0-7.6,1.5-10.2,3.7l-62.5,58.1c-3.5,3-5.2,9.1-4.1,13.5l20.4,88.9c1.1,4.6,5.2,9.1,9.8,10.4l81.6,25.4\n\tc1.1,0.4,2.4,0.4,3.7,0.4c3.7,0,7.6-1.5,10.2-3.7l66.8-62C-52.8,352-51,346.2-52.1,341.6z M-159.1,240.9l59.9,18.4\n\tc2.4,0.7,2.4,1.7,0,2.4l-31.5,7.2c-2.4,0.7-5.6-0.4-7.4-2.2l-21.9-23.6C-161.9,241.2-161.5,240.3-159.1,240.9z M-121.8,348.3\n\tc0.7,2.4-0.9,3.7-3.3,3l-64.6-20c-2.4-0.7-2.8-2.6-1.1-4.3l49.5-46c1.7-1.7,3.7-1.1,4.3,1.3L-121.8,348.3z M-228.3,289.8l52.5-48.8\n\tc1.7-1.7,4.6-1.5,6.3,0.2l26.2,28.4c1.7,1.7,1.5,4.6-0.2,6.3l-52.5,48.8c-1.7,1.7-4.6,1.5-6.3-0.2l-26.2-28.4\n\tC-230.2,294.1-230,291.3-228.3,289.8z M-215.5,367.2l-13.9-61c-0.7-2.4,0.4-2.8,2-1.1l21.9,23.6c1.7,1.7,2.4,5.2,1.7,7.6l-9.5,30.8\n\tC-214,369.6-215.1,369.6-215.5,367.2z M-138.7,403l-68.6-21.3c-2.4-0.7-3.7-3.3-3-5.6l11.5-36.9c0.7-2.4,3.3-3.7,5.6-3l68.6,21\n\tc2.4,0.7,3.7,3.3,3,5.6l-11.5,36.9C-133.9,402.1-136.3,403.4-138.7,403z M-77.9,353.1l-45.8,42.5c-1.7,1.7-2.6,1.1-2-1.3l9.5-30.8\n\tc0.7-2.4,3.3-4.8,5.6-5.2l31.5-7.2C-76.6,350.3-76.2,351.4-77.9,353.1z M-73,343.8l-37.7,8.7c-2.4,0.7-4.8-0.9-5.4-3.3l-16.1-69.9\n\tc-0.7-2.4,0.9-4.8,3.3-5.4l37.7-8.7c2.4-0.7,4.8,0.9,5.4,3.3l16.1,69.9C-69.1,341-70.6,343.3-73,343.8z"}),r.createElement("g",{id:"Type"},r.createElement("path",{className:"st0",d:"M511.9,370.9c-0.2,2.2,0.7,2.6,1.5,2.6h5.2c2,0,2.4-1.7,2.4-2.6l21.3-120.8c0.4-2.2-1.1-2.6-2.2-2.4l0,0\n\t\tl-5.6,0.9c-1.5,0.2-2.4,1.5-2.4,2.4l0,0l-6.1,35.1c-5.4-1.7-15.6-2.8-21.5-2.8c-22.6,0-33.4,8.7-37.5,32.8l-6.7,38\n\t\tc-0.4,2.4-0.7,4.6-0.7,6.5c0,10.8,6.1,15,17.4,15c12.8,0,26-6.1,36.2-14.8L511.9,370.9z M478.1,366.3c-5.4,0-8.2-1.5-8.2-7.2\n\t\tc0-1.5,0.2-3,0.7-5.2l6.3-36.2c3.5-19.7,10.2-25.4,26.5-25.4c7.2,0,14.1,1.1,21.3,2.8l-9.5,53.6C503.4,359,489.3,366.3,478.1,366.3\n\t\tz"}),r.createElement("path",{className:"st0",d:"M601.7,370.9c-0.2,2.2,0.7,2.6,1.7,2.6h5.2c2,0,2.4-1.7,2.4-2.6l0,0l14.5-81.8c-10.4-3.9-22.3-5.9-30.6-5.9\n\t\tc-23.9,0-33.4,9.5-37.5,32.8l-6.7,38c-0.4,2.4-0.7,4.6-0.7,6.5c0,10.8,6.1,15,17.4,15c12.8,0,25.4-6.1,35.6-14.8L601.7,370.9z\n\t\t M568.3,366.3c-5.4,0-8.2-1.5-8.2-7.2c0-1.5,0.2-3,0.7-5.2l6.3-36.2c3.5-19.5,9.8-25.4,26.5-25.4c7.4,0,15.8,1.5,20.8,2.8\n\t\tl-9.5,53.6C593.3,359,579.4,366.3,568.3,366.3z"}),r.createElement("path",{className:"st0",d:"M746.9,370.9c-0.2,2.2,0.7,2.6,1.5,2.6h5.2c2,0,2.4-1.7,2.4-2.6l0,0l14.5-81.8c-10.4-3.9-22.3-5.9-30.6-5.9\n\t\tc-23.9,0-33.4,9.5-37.5,32.8l-6.7,38c-0.4,2.4-0.7,4.6-0.7,6.5c0,10.8,6.1,15,17.4,15c12.8,0,25.4-6.1,35.6-14.8L746.9,370.9z\n\t\t M713.7,366.3c-5.4,0-8.2-1.5-8.2-7.2c0-1.5,0.2-3,0.7-5.2l6.3-36.2c3.5-19.5,9.8-25.4,26.5-25.4c7.4,0,15.8,1.5,20.8,2.8\n\t\tl-9.5,53.6C738.6,359,724.7,366.3,713.7,366.3z"}),r.createElement("g",null,r.createElement("path",{className:"st0",d:"M661.4,263.3L661.4,263.3L661.4,263.3z"}),r.createElement("path",{className:"st0",d:"M691.7,292.4L691.7,292.4l1.3-5.9c0.4-1.5-0.4-1.5-1.3-1.5h-24.9l3.5-20.4l0,0c0.4-2.2-1.1-2.6-2.2-2.4l0,0\n\t\t\tl-5.6,0.9l0,0c-1.5,0.2-2.4,1.5-2.4,2.4l0,0l-3.5,19.5h-15.4c-0.4,0-1.7,0.2-2,1.5l-0.9,5.6l0,0c0,0.4,0,1.5,1.5,1.5h15.2\n\t\t\tL643.4,360c-0.2,1.3-0.4,2.4-0.4,3.5c0,8,5.6,11.7,14.5,11.7c6.9,0,19.3-2,25.
16-5c2-1.1,1.7-2.4,1.3-3.3l0,0l-1.3-3.5\n\t\t\tc-0.2-0.9-1.3-0.7-2-0.4l0,0c-6.1,2.4-9.5,3.7-21.9,3.7c-4.1,0-6.1-0.9-6.1-4.3c0-0.9,0.2-2,0.4-3.3l11.5-65.3h24.7\n\t\t\tC691.1,293.7,691.5,293.2,691.7,292.4z"})),r.createElement("path",{className:"st0",d:"M452.7,285h-25.4c-1.1,0-2.4,0.9-3,1.7l-18,26.2l-10.6-27.3c-0.7-1.5-2-2-3.3-1.7l-22.1,3.3l19.1,42.1\n\t\tl-35.1,44.5h23.9c1.5,0,3.9-0.9,5-2.2l16.5-20l9.3,20c0.4,1.1,2,2.2,3.5,2.2h23.2l-18.7-41L452.7,285z"}),r.createElement("path",{className:"st0",d:"M343.3,372l15.2-86.6c0.2-1.7-1.1-1.7-2.2-1.5l-21.3,2.8c-2.4,0.4-3,2-3,2.8l0,0L323,342\n\t\tc-6.5,3.3-18.2,8.5-23,8.5c-2.6,0-3.5-0.9-3.5-2.8c0-0.7,0.2-1.7,0.4-2.8l10.4-59.7l0,0c0.2-1.7-1.1-1.7-2-1.5l-21.3,3l0,0\n\t\tc-2.4,0.4-3,2-3,2.8l0,0l-10.2,57.7c-0.7,3.7-0.9,6.5-0.9,10.2c0,11.1,4.6,18,16.3,18c10.2,0,21-3.5,34.9-10l0.2,6.5\n\t\tc0,0.4,0.2,1.5,1.1,1.5H342C342.9,373.5,343.3,372.6,343.3,372z"}),r.createElement("path",{className:"st0",d:"M132.7,283.3c-10.2,0-21,3.5-34.9,10l0.2-7.8c0-2-1.5-1.7-2.4-1.5l-16.7,2.8l0,0c-2.8,0.4-3.7,2.2-3.9,3\n\t\tl-13.9,79.8l0,0c-0.7,3.7-0.4,3.9,2.6,3.9h19.1c2.2,0,3.3,0,3.9-3.9l9.3-53.1c6.9-3.7,18.2-8.5,23-8.5c2.6,0,3.5,0.7,3.5,2.6\n\t\tc0,0.7-0.2,1.7-0.4,2.8l-9.8,56.2l0,0c-0.7,3.7-0.4,3.9,2.6,3.9H134c2.2,0,3.3,0,3.9-3.9l10.2-58.1c0.7-4.6,0.9-7.2,0.9-10.2\n\t\tC149,290.2,144.6,283.3,132.7,283.3z"}),r.createElement("g",null,r.createElement("path",{className:"st0",d:"M59.2,244.6l-21.3,3c-2.4,0.2-2.8,2-3,2.8L31,272.6c-0.4,2.6-0.2,2.6,2.2,2.4l21-2.8l0,0\n\t\t\tc2.2-0.2,2.6-0.4,3-3.3l0,0l4.1-23C61.5,244.6,61.1,244.6,59.2,244.6z"}),r.createElement("path",{className:"st0",d:"M28.4,286.9L28.4,286.9L28.4,286.9z"}),r.createElement("path",{className:"st0",d:"M39.4,369.6L39.4,369.6l15-84.2c0.2-1.7-1.1-1.7-2.2-1.5L31,286.7l0,0c-2.4,0.4-3,2-3,2.8l0,0l-14.3,80.7\n\t\t\tc-0.4,3,0,3.5,2.8,3.5h19.1C37.5,373.5,38.5,373.5,39.4,369.6z"})),r.createElement("path",{className:"st0",d:"M249.6,369.6l21.5-122.4c0.2-1.7-0.7-1.7-1.7-1.5l-24.5,4.1c-11.1-3-23.6-4.3-30.8-4.3\n\t\tc-22.8,0-30.4,7.8-34.1,28.2l-2,11.7h-10c-2.6,0-2.8,1.3-3,2.4l0,0l-3,16.9c-0.2,0.7,0.2,1.5,1.3,1.5h11.1l-11.9,67.7\n\t\tc-1.3,8-2.6,12.8-10.2,20.8l0,0c-1.5,1.5-1.1,2,0,2.8l0,0l13.5,12.6l0,0c1.3,1.3,2,1.1,3.5-0.4c12.4-12.6,16.3-21,18.4-32.8\n\t\tl12.4-70.5h19.7c1.1,0,1.3,0,1.7-1.3l0,0l4.6-17.8l0,0c0.4-1.3-0.9-1.7-1.7-1.7h-20.6l2.4-12.8c0.9-4.6,2.8-6.1,8.5-6.1\n\t\tc7.6,0,20,1.5,26.9,3.3l-17.6,100.2l0,0c-0.7,3.7-0.4,3.9,2.6,3.9h19.1C247.9,373.5,249,373.5,249.6,369.6z"})),r.createElement("path",{id:"Registered_Trademark",className:"st0",d:"M787.2,258.3h-2.4l-0.7,4.3h-2.4l2.2-12.8h4.8c2.6,0,3.9,1.1,3.9,2.8\n\tc0,0.2,0,0.4,0,0.9l-0.2,1.7c-0.2,1.7-0.9,2.4-2.4,3l2.4,4.6h-2.6L787.2,258.3z M790,253.5c0-0.2,0-0.4,0-0.4c0-0.9-0.4-1.1-1.5-1.1\n\th-2.6l-0.7,4.3h2.6c1.5,0,1.7-0.4,2-1.5L790,253.5z M787.2,267c-6.1,0-10.8-4.8-10.8-10.8s4.8-10.8,10.8-10.8\n\tc6.1,0,10.8,4.8,10.8,10.8S793,267,787.2,267z M787.2,247.2c-5,0-8.9,3.9-8.9,8.9s3.9,8.9,8.9,8.9s8.9-3.9,8.9-8.9\n\tS791.9,247.2,787.2,247.2z"}),r.createElement("rect",{x:"-265.5",y:"211",className:"st1",width:"1080",height:"220"})),I=()=>r.createElement(o.AppWrapper,{type:"funnel"},r.createElement(o.FunnelPage,{logo:r.createElement(z,null)},r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Eight,offsetMD:o.Columns.Two},r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,alignItems:o.AlignItems.Center},r.createElement(o.Heading,{className:"invite-accepted--header",element:o.HeadingElement.H3,weight:o.FontWeight.Regular},"This invitation is no longer valid"),r.createElement("div",{className:"invite-accepted--copy-container"},r.createElement(o.Panel.Header,{size:o.ComponentSize.Large},r.createElement(o.Alert,{color:o.ComponentColor.Danger,icon:o.IconFont.AlertTriangle},"The invitation you are trying to view has already been accepted")),r.createElement(o.Panel,{className:"invite-accepted--panel"},r.createElement(o.Panel.Body,{size:o.ComponentSize.Small},r.createElement("p",null,"Please log in to use InfluxDB Cloud. Or contact your organization admin to request a new invite link.")))),r.createElement(o.CTALinkButton,{className:"invite-accepted--cta-button",color:o.ComponentColor.Primary,text:"Continue to Log In",href:"/login"}),r.createElement("p",null,"Issues?",r.createElement("br",null),"Talk to"," ",r.createElement("a",{href:"mailto:[email protected]",target:"_blank"},"[email protected]"))))))),T=({orgName:e})=>r.createElement(o.AppWrapper,{type:"funnel"},r.createElement(o.FunnelPage,{logo:r.createElement(z,null)},r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Eight,offsetMD:o.Columns.Two},r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,alignItems:o.AlignItems.Center,margin:o.ComponentSize.Large},r.createElement(l,{text:"This invitation has expired"}),r.createElement(i,{text:`The account associated with this invitation has been cancelled. Please contact the owner of ${e}.`}),r.createElement("a",{href:"/signup"},r.createElement(o.Button,{text:"Create new Account",size:o.ComponentSize.Large,color:o.ComponentColor.Default}))))))),F=({currentEmail:e,inviteEmail:t,token:n})=>{const[a,l]=(0,r.useState)(o.ComponentStatus.Default);return r.createElement(o.AppWrapper,{type:"funnel"},r.createElement(o.FunnelPage,{enableGraphic:!0,logo:r.createElement(g,null)},r.createElement(o.FlexBox,{alignItems:o.AlignItems.Center,justifyContent:o.JustifyContent.Center,direction:o.FlexDirection.Column,style:{marginTop:"14vh"}},r.createElement(o.Heading,{element:o.HeadingElement.H1,weight:o.FontWeight.Black,className:"cf-funnel-page--title",style:{marginBottom:"1.5em"}},"This invite is for a different email"),r.createElement("form",{"data-testid":"inv
1ite-logout-form",action:`/invites/reset/${n}`,method:"GET",onSubmit:()=>{l(o.ComponentStatus.Loading)}},r.createElement(p,null),r.createElement(o.Panel,{backgroundColor:o.InfluxColors.Grey15,style:{maxWidth:"60vw",padding:"2em 3em"}},r.createElement(o.Panel.Body,{style:{margin:"lg"}},r.createElement(o.FlexBox,{alignItems:o.AlignItems.Center,direction:o.FlexDirection.Column,justifyContent:o.JustifyContent.Center,margin:o.ComponentSize.Medium},r.createElement(o.Heading,{element:o.HeadingElement.P,weight:o.FontWeight.Light},"We noticed you are currently logged in with with the following email address:"),r.createElement(o.Heading,{element:o.HeadingElement.P,style:{color:o.InfluxColors.Pool}},e),r.createElement(o.Heading,{element:o.HeadingElement.P,weight:o.FontWeight.Light},"This does not match the email address on the invitation:"," "),r.createElement(o.Heading,{element:o.HeadingElement.P,style:{color:o.InfluxColors.Pool,marginBottom:"3.5em"}},t),r.createElement(o.Heading,{element:o.HeadingElement.P,weight:o.FontWeight.Light},"To accept this invitation, please ",r.createElement("b",null,"log out")," and"," ",r.createElement("b",null,"sign in")," with the matching email address.")))),r.createElement(o.FlexBox,{alignItems:o.AlignItems.Center,direction:o.FlexDirection.Column,justifyContent:o.JustifyContent.Center,style:{marginTop:"3em"}},r.createElement(o.CTAButton,{className:"email-error--cta-button",color:o.ComponentColor.Primary,status:a,text:"Logout",type:o.ButtonType.Submit}))))))},M=({email:e})=>r.createElement(o.AppWrapper,{type:"funnel"},r.createElement(o.FunnelPage,{logo:r.createElement(z,null)},r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Eight,offsetMD:o.Columns.Two},r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,alignItems:o.AlignItems.Center,margin:o.ComponentSize.Large},r.createElement(l,{text:"This invitation has Expired"}),r.createElement(i,{text:`This invitation to ${e} has expired`}),r.createElement(o.Panel,{style:{maxWidth:"600px"}},r.createElement(o.Panel.SymbolHeader,{symbol:r.createElement(o.Bullet,{glyph:o.IconFont.AlertTriangle,color:o.InfluxColors.Curacao}),title:r.createElement(o.Heading,{element:o.HeadingElement.H3},"This invitation has expired"),size:o.ComponentSize.Medium}),r.createElement(o.Panel.Body,{size:o.ComponentSize.Medium},r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,margin:o.ComponentSize.Medium,alignItems:o.AlignItems.FlexStart,className:"marketplace-splash--buttons"},r.createElement("p",null," ","Request a new invitation from your organization admin."," "),r.createElement("p",null," Or create your own organization with a new account. "))),r.createElement(o.Panel.Footer,{size:o.ComponentSize.Medium},r.createElement("a",{href:"/signup"},r.createElement(o.Button,{text:"Create new Account",size:o.ComponentSize.Large,color:o.ComponentColor.Default})))))))));var P=n(94);const D=()=>{const e=r.createElement("a",{href:"https://www.influxdata.com/legal/terms-of-use/",target:"_blank"},"InfluxDB Cloud 2.0 Services Subscription Agreement"),t=r.createElement("a",{href:"https://www.influxdata.com/legal/influxdata-global-data-processing-agreement/",target:"_blank"},"InfluxData Global Data Processing Agreement");return r.createElement("p",null,"I have viewed and agree to the ",e," and ",t,".")},k=({isError:e,isAgreeing:t,onToggleAgree:n})=>{const a=(0,r.useRef)(null);return r.createElement(o.FlexBox,{direction:o.FlexDirection.Row,alignItems:o.AlignItems.Center,justifyContent:o.JustifyContent.FlexStart,margin:o.ComponentSize.Large},r.createElement(o.Toggle,{id:"serviceAgreement",testID:"serviceAgreement--checkbox",containerRef:a,type:o.InputToggleType.Checkbox,checked:t,icon:o.IconFont.CheckMark_New,name:"serviceAgreement",className:"legal-checkbox",size:o.ComponentSize.Large,tabIndex:0,onChange:n}),r.createElement(o.InputLabel,{size:o.ComponentSize.Small,wrapText:!0,style:{textAlign:"left"},active:t},r.createElement(D,null)),r.createElement(o.Popover,{appearance:o.Appearance.Solid,position:o.PopoverPosition.Below,contents:()=>r.createElement("div",{className:"reminder-text"},"Don't forget this step"),visible:e,hideEvent:o.PopoverInteraction.None,showEvent:o.PopoverInteraction.None,color:o.ComponentColor.Success,triggerRef:a,distanceFromTrigger:10}))},{auth0:A}=window.Config;class L extends r.PureComponent{constructor(){super(...arguments),this.state={buttonStatus:o.ComponentStatus.Default,confirmPassword:"",confirmPasswordError:"",firstName:"",firstNameError:"",isPasswordVisible:!1,lastName:"",lastNameError:"",password:"",passwordError:"",passwordReqsVisible:!1,serviceAgreement:!1,serviceAgreementError:!1},this.triggerRef=(0,r.createRef)(),this.handleTogglePasswordVisibility=()=>{this.setState(({isPasswordVisible:e})=>({isPasswordVisible:!e}))},this.onClickServiceAgreement=()=>{const{serviceAgreement:e}=this.state;this.setState({serviceAgreement:!e})},this.handleSubmit=e=>{const{isValid:t,errors:n}=this.validFieldValues,{password:a,firstName:r,lastName:l,serviceAgreement:i}=this.state,{email:s,token:c}=this.props;e.preventDefault();const m=new P.Ay.WebAuth({domain:A.domain,clientID:A.clientID,redirectUri:`${A.joinOrgRedirectURI}?token=${encodeURIComponent(c)}`,responseType:"code"});t?i?(this.setState({buttonStatus:o.ComponentStatus.Loading}),m.signup({connection:"Username-Password-Authentication",email:s,password:a,family_name:l,given_name:r},e=>{if(e)return this.displayErrorMessage(n,e),void this.setState({buttonStatus:o.ComponentStatus.Default});m.login({realm:"Username-Password-Authentication",email:s,password:a},()=>{}),window.dataLayer.push({event:"cloudApp_user_invitation_accepted"})})):this.setState({serviceAgreementError:!0}):this.setState(n)},this.displayErrorMessage=(e,t)=>
1{if(/error in email/.test(t.code))this.setState(Object.assign(Object.assign({},e),{emailError:"Please enter a valid email address"}));else if("user_exists"===t.code){const t="The user already exists. Try logging in instead.";this.setState(Object.assign(Object.assign({},e),{emailError:t}))}else{if("invalid_password"!==t.code&&"access_denied"!==t.code&&"extensibility_error"!==t.code){const n="We have been notified of an issue while creating your account. If this issue persists, please contact [email protected]";throw this.setState(Object.assign(Object.assign({},e),{emailError:n})),new Error(t.description)}switch(t.name){case"PasswordDictionaryError":{const t="Password is too common. Please choose another.";this.setState(Object.assign(Object.assign({},e),{passwordError:t}));break}case"PasswordNoUserInfoError":{const t="Password contains personal information. Please choose another.";this.setState(Object.assign(Object.assign({},e),{passwordError:t}));break}default:{const t="Password is too short. Please choose another.";this.setState(Object.assign(Object.assign({},e),{passwordError:t}));break}}}},this.handleInputChange=e=>{this.setState({[e.target.name]:e.target.value})},this.togglePasswordReqs=e=>{this.setState({passwordReqsVisible:!0===e})}}render(){const{buttonStatus:e,confirmPassword:t,confirmPasswordError:n,firstName:a,firstNameError:s,isPasswordVisible:c,lastName:m,lastNameError:u,password:d,passwordError:g,passwordReqsVisible:h,serviceAgreement:E,serviceAgreementError:C}=this.state,{email:f,orgName:w}=this.props;return r.createElement("form",{onSubmit:this.handleSubmit,className:"sign-up--form"},r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,justifyContent:o.JustifyContent.FlexStart,alignItems:o.AlignItems.Center,margin:o.ComponentSize.Large},r.createElement(l,{text:`You have been invited to join ${w}.`}),r.createElement(i,{text:`Complete the following to create your account for ${f} and join ${w}.`}),r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,alignItems:o.AlignItems.Center,margin:o.ComponentSize.Small},r.createElement(o.Panel,{style:{maxWidth:"720px"}},r.createElement(o.Panel.SymbolHeader,{symbol:r.createElement(o.Bullet,{text:1}),title:r.createElement(o.Heading,{element:o.HeadingElement.H3},"Create your profile"),size:o.ComponentSize.Medium}),r.createElement(o.Panel.Body,{size:o.ComponentSize.Medium},r.createElement(o.Grid,null,r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthXS:o.Columns.Six},r.createElement(o.Form.Element,{label:"First Name",required:!0,errorMessage:s},r.createElement(o.Input,{name:"firstName",value:a,autoFocus:!0,size:o.ComponentSize.Medium,onChange:this.handleInputChange}))),r.createElement(o.Grid.Column,{widthXS:o.Columns.Six},r.createElement(o.Form.Element,{label:"Last Name",required:!0,errorMessage:u},r.createElement(o.Input,{name:"lastName",value:m,size:o.ComponentSize.Medium,onChange:this.handleInputChange})))),r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(o.Form.Element,{label:"Password",required:!0,errorMessage:g},r.createElement("div",{ref:this.triggerRef},r.createElement(o.VisibilityInput,{name:"password",value:d,size:o.ComponentSize.Medium,onChange:this.handleInputChange,onToggleClick:this.handleTogglePasswordVisibility,visible:c,onFocus:()=>this.togglePasswordReqs(!0),onBlur:()=>this.togglePasswordReqs(!1)})),r.createElement(o.Popover.Popover,{triggerRef:this.triggerRef,visible:h,contents:()=>r.createElement("ul",null,r.createElement("li",null,"Must be at least 8 characters."),r.createElement("li",null,"Must not contain personal information."),r.createElement("li",null,"Must not be a common or previous password.")),showEvent:o.PopoverInteraction.None,hideEvent:o.PopoverInteraction.None,position:o.PopoverPosition.ToTheRight,color:o.ComponentColor.Primary,appearance:o.Appearance.Outline})))),r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(o.Form.Element,{label:"Confirm Password",required:!0,errorMessage:n},r.createElement(o.VisibilityInput,{name:"confirmPassword",value:t,size:o.ComponentSize.Medium,onChange:this.handleInputChange,onToggleClick:this.handleTogglePasswordVisibility,visible:c}))))),r.createElement(p,null))),r.createElement(o.Panel,{style:{maxWidth:"720px",width:"100%"}},r.createElement(o.Panel.SymbolHeader,{symbol:r.createElement(o.Bullet,{text:2}),title:r.createElement(o.Heading,{element:o.HeadingElement.H3}," ","Read and agree to our service agreement"," "),size:o.ComponentSize.Medium}),r.createElement(o.Panel.Body,{size:o.ComponentSize.Medium},r.createElement(o.Grid,null,r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(k,{isError:C,isAgreeing:E,onToggleAgree:this.onClickServiceAgreement}))))))),r.createElement(o.CTAButton,{text:"Join Organization",color:o.ComponentColor.Primary,type:o.ButtonType.Submit,status:e})))}get validFieldValues(){const{firstName:e,lastName:t,password:n,confirmPassword:a}=this.state,r={firstNameError:!e&&"This field is required",lastNameError:!t&&"This field is required",passwordError:!n&&"This field is required",confirmPasswordError:a===n?!a&&"This field is required":"Passwords must match"};return{isValid:!Object.values(r).some(e=>!!e),errors:r}}}const O=L,R=({email:e,orgName:t,token:n})=>{const l=(0,r.useContext)(N);return(0,r.useEffect)(()=>{window.dataLayer.push({event:"cloudApp_user_invitation_viewed"})},[]),r.createElement(o.AppWrapper,null,r.createElement(o.FunnelPage,{logo:r.createElement(g,null)},r.createElement(a.L,{honeybadger:l},r.createElement(O,{email:e,orgName:t,token:n}))))},{auth0:B}=window.Config,_=({authConnection:e,email:t,orgName:n,token:a})=>{const[s,c]=(0,r.useState)(!1),[m,u]=(0,r.useState)(!1);return r.createElement(o.AppWrapper,{type:"funnel"},r.createElement(o.FunnelPage,{logo:r.createElement(z,null)},r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Eight,offsetMD:o.Columns.Two},r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,alignItems:o.AlignItems.Center,margin:o.ComponentSize.Large},r.createElement(l,{text:`You have been invited to join ${n}.`}),r.createElement(i,{text:`Complete the following to join as ${t}.`}),r.createElement(o.Panel,{style:{maxWidth:"600px",width:"100%"}},r.createElement(o.Panel.Header,{size:o.ComponentSize.Medium},r.createElement(o.Heading,{element:o.HeadingElement.H3,className:"join-org--agree-header"},"Read and agree to our service agreements")),r.createElement(o.Panel.Body,{size:o.ComponentSize.Medium},r.createElement(o.Grid,null,r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(k,{isError:m,isAgreeing:s,onToggleAgree:()=>{c(!s)}})))))),r.createElement(o.CTAButton,{className:"splash--cta-button",color:o.ComponentColor.Primary,type:o.ButtonType.Submit,text:"Join Organization",onClick:()=>{s?e?((e,t)=>{new P.Ay.WebAuth({domain:B.domain,clientID:B.clientID,redirectUri:`${B.joinOrgRedirectURI}?token=${encodeURIComponent(t)}`,responseType:"code"}).authorize({connection:e})})(e,a):window.location.href=`/invites/${encodeURIComponent(a)}/accept`:u(!0)}}))))))}
1,H=({marketplace:e,text:t,size:n=o.ComponentSize.Small,shape:a=o.ButtonShape.Default,color:l=o.ComponentColor.Primary})=>{const{link:i,text:s}=(e=>{switch(e){case"aws":return{link:"https://aws.amazon.com/marketplace/library/",text:"Check My AWS Subscription"};case"gcm":return{link:"https://console.cloud.google.com/marketplace/yourSolutions",text:"Check My Google Cloud Marketplace Subscription"};case"azure":return{link:"https://portal.azure.com/#blade/Microsoft_Azure_Billing/SubscriptionsBlade",text:"Check My Azure Marketplace Subscription"};default:return{link:"",text:""}}})(e);return r.createElement(o.Button,{shape:a,onClick:()=>{window.open(i,"_blank")},text:t||s,color:l,size:n})},G=({marketplace:e})=>{switch(e){case"aws":return r.createElement(s,{header:"AWS Verification",subtitle:"Oops, something went wrong with the Amazon subscription for InfluxDB Cloud Usage-Based Plan"});case"azure":return r.createElement(s,{header:"Azure Registration",subtitle:"Oops, something went wrong when configuring your account for the InfluxDB Cloud Usage-Based Plan"});case"gcm":return r.createElement(s,{header:"Google Cloud Verification",subtitle:"Oops, something went wrong with the Google Cloud subscription for InfluxDB Cloud Usage-Based Plan"})}},j=({marketplace:e,error:t})=>r.createElement(o.AppWrapper,{type:"funnel",className:"marketplace-splash"},r.createElement(o.FunnelPage,{logo:r.createElement(g,null)},r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Eight,offsetMD:o.Columns.Two},r.createElement(G,{marketplace:e}),r.createElement(o.Panel,{className:"marketplace-splash--panel"},r.createElement(o.Panel.SymbolHeader,{symbol:r.createElement(o.Bullet,{glyph:o.IconFont.AlertTriangle,color:o.InfluxColors.Curacao}),title:r.createElement("h5",null,t||"Your Subscription Registration Expired"),size:o.ComponentSize.Medium}),r.createElement(o.Panel.Body,{size:o.ComponentSize.Medium},r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,margin:o.ComponentSize.Medium,className:"marketplace-splash--buttons"},r.createElement(o.Button,{onClick:()=>{window.open("https://v2.docs.influxdata.com/v2.0/cloud/get-started/","_blank")},text:"See Documentation",size:o.ComponentSize.Large,color:o.ComponentColor.Primary,shape:o.ButtonShape.StretchToFit}),r.createElement(H,{shape:o.ButtonShape.StretchToFit,marketplace:e,size:o.ComponentSize.Large,color:o.ComponentColor.Default})))))),r.createElement("p",null,"Issues?",r.createElement("br",null),"Talk to"," ",r.createElement("a",{href:"mailto:[email protected]",target:"_blank"},"[email protected]"))));var W,U,q,V;!function(e){e.AWS="AWS",e.GCP="GCP",e.Azure="Azure"}(W||(W={})),function(e){e.USWest2="us-west-2",e.EUCentral1="eu-central-1"}(U||(U={})),function(e){e.USCentral1="us-central1"}(q||(q={})),function(e){e.Google="google-oauth2",e.Microsoft="windowslive",e.Authentication="Username-Password-Authentication"}(V||(V={}));const $=({buttonStatus:e,confirmPasswordError:t,confirmPassword:n,emailError:a,email:l,firstName:i,firstNameError:s,lastName:c,lastNameError:m,passwordError:u,password:d,handleInputChange:p})=>{const[g,h]=(0,r.useState)(!1);return r.createElement(o.Grid,null,r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthXS:o.Columns.Six},r.createElement(o.Form.Element,{label:"First Name",required:!0,errorMessage:s},r.createElement(o.Input,{name:"firstName",value:i,autoFocus:!0,size:o.ComponentSize.Large,status:s?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:p}))),r.createElement(o.Grid.Column,{widthXS:o.Columns.Six},r.createElement(o.Form.Element,{label:"Last Name",required:!0,errorMessage:m},r.createElement(o.Input,{name:"lastName",value:c,size:o.ComponentSize.Large,status:m?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:p})))),r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(o.Form.Element,{label:"Work Email Address",required:!0,errorMessage:a,htmlFor:"email"},r.createElement(o.Input,{id:"email",name:"email",value:l,type:o.InputType.Email,size:o.ComponentSize.Large,status:a?o.ComponentStatus.Error:o.ComponentStatus.Default,onCh
1ange:p})))),r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(o.Form.Element,{label:"Password",required:!0,errorMessage:u},r.createElement(o.VisibilityInput,{name:"password",value:d,size:o.ComponentSize.Large,onChange:p,visible:g,status:u?o.ComponentStatus.Error:o.ComponentStatus.Default,onToggleClick:()=>h(!g)}))),r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(o.Form.Element,{label:"Confirm Password",required:!0,errorMessage:t},r.createElement(o.VisibilityInput,{name:"confirmPassword",value:n,size:o.ComponentSize.Large,onChange:p,visible:g,status:t?o.ComponentStatus.Error:o.ComponentStatus.Default,onToggleClick:()=>h(!g)})))),r.createElement(o.Button,{className:"create-account--button",text:"Create Account",color:o.ComponentColor.Primary,size:o.ComponentSize.Large,type:o.ButtonType.Submit,status:e,shape:o.ButtonShape.StretchToFit}))};class J{constructor(e){this.noOpDataLayer={push:()=>{}},this.dataLayer=e||this.noOpDataLayer}send_event(e,t){const n=Object.assign({event:e},t||{});this.dataLayer.push(n)}get_identity(){return Object.assign({},this.dataLayer.filter(e=>{for(const t in e)if("identity"===t)return!0;return!1})[0]||{}).identity}}const Z=({buttonText:e,children:t,className:n,handleClick:a,analyticsClient:l})=>{const i=l||new J(window.dataLayer);return r.createElement(o.ButtonBase,{onClick:()=>{i.send_event("influx_cloud_signup_started",{identity_provider:e}),a()},size:o.ComponentSize.Large,shape:o.ButtonShape.StretchToFit,className:n},t,r.createElement("span",{className:"social-button--text"},e))};var X=n(561),Y=n.n(X);const K=({className:e})=>{const t=Y()("google-logo",e);return r.createElement("svg",{className:t,x:"0",y:"0",viewBox:"0 0 17.6 18"},r.createElement("title",null,"Google icon"),r.createElement("path",{d:"M15 15.8h-3v-2.3c1-.6 1.6-1.6 1.8-2.7H9V7.4h8.5c.1.6.2 1.2.2 1.8-.1 2.7-1 5.1-2.7 6.6z",className:"google-blue"}),r.createElement("path",{d:"M9 18c-3.5 0-6.6-2-8-5v-2.3h3c.7 2.1 2.7 3.7 5 3.7 1.2 0 2.2-.3 3-.9l2.9 2.3C13.5 17.2 11.4 18 9 18z",className:"google-green"}),r.createElement("path",{d:"M4 7.3c-.2.5-.3 1.1-.3 1.7 0 .6.1 1.2.3 1.7L1 13c-.6-1.2-1-2.6-1-4s.3-2.8 1-4h3v2.3z",className:"google-yellow"}),r.createElement("path",{d:"M12.4 4.9C11.5 4 10.3 3.6 9 3.6c-2.3 0-4.3 1.6-5 3.7L1 5c1.4-3 4.5-5 8-5 2.4 0 4.5.9 6 2.3l-2.6 2.6z",className:"google-red"}))},Q=({className:e})=>{const t=Y()("microsoft-logo",e);return r.createElement("svg",{className:t,width:"23",height:"23",viewBox:"0 0 23 23",fill:"none"},r.createElement("title",null,"Microsoft icon"),r.createElement("path",{d:"M8.01086e-05 0.124023C8.01086e-05 3.63232 8.01086e-05 7.13315 8.01086e-05 10.6377C3.50881 10.6377 7.01382 10.6377 10.5244 10.6377C10.5244 7.13502 10.5244 3.63232 10.5244 0.124023C7.01941 0.124023 3.5144 0.124023 8.01086e-05 0.124023Z",fill:"#81BD42"}),r.createElement("path",{d:"M21.9944 11.6096C18.4894 11.6096 14.9974 11.6096 11.4962 11.6096C11.4962 15.1123 11.4962 18.6094 11.4962 22.1177C11.5297 22.1196 11.5613 22.1215 11.5949 22.1215C15.0272 22.1215 18.4596 22.1215 21.892 22.1233C21.9777 22.1233 22 22.0991 22 22.0133C21.9981 18.5796 21.9981 15.144 21.9981 11.7103C21.9981 11.6805 21.9963 11.6488 21.9944 11.6096Z",fill:"#36A2DB"}),r.createElement("path",{d:"M10.5244 11.6096C7.02313 11.6096 3.52558 11.6096 0.0205688 11.6096C0.0205688 15.1123 0.0205688 18.6132 0.0205688 22.1233C3.51813 22.1233 7.01755 22.1233 10.5244 22.1233C10.5244 18.6225 10.5244 15.1216 10.5244 11.6096Z",fill:"#FDB915"}),r.createElement("path",{d:"M11.4962 10.6377C14.9993 10.6377 18.4969 10.6377 22 10.6377C22 7.13315 22 3.63232 22 0.124023C18.5006 0.124023 15.0012 0.124023 11.4962 0.124023C11.4962 3.62672 11.4962 7.12756 11.4962 10.6377Z",fill:"#F15628"}))},ee=({handleSocialClick:e})=>r.createElement(Z,{handleClick:()=>e(V.Microsoft),className:"sign-up--microsoft",buttonText:"Microsoft"},r.createElement(Q,{className:"social-button--icon"})),te=({handleSocialClick:e})=>r.createElement(Z,{handleClick:()=>e(V.Google),className:"sign-up--google",buttonText:"Google"},r.createElement(K,{className:"social-button--icon"})),ne=({handleSocialClick:e})=>r.createElement(o.Grid,null,r.createElement(o.FlexBox,{stretchToFitWidth:!0,direction:o.FlexDirection.Column,justifyContent:o.JustifyContent.Center,alignItems:o.AlignItems.Center,margin:o.ComponentSize.Large},r.createElement(te,{handleSocialClick:e}),r.createElement(ee,{handleSocialClick:e}
1))),ae=({handleSocialClick:e,handleChooseEmail:t,focus:n})=>r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,margin:o.ComponentSize.Large,className:"focused-container"},(()=>{switch(n){case"microsoft":return r.createElement(ee,{handleSocialClick:e});case"google":return r.createElement(te,{handleSocialClick:e})}})(),r.createElement("a",{onClick:t,className:"focused-link"},"or continue with email")),{auth0:re}=window.Config,oe=new P.Ay.WebAuth({domain:re.domain,clientID:re.clientID,redirectUri:re.signupRedirectUri,responseType:"code"});class le extends r.PureComponent{constructor(){super(...arguments),this.state={isSocialFocused:!!this.props.socialFocus&&!this.props.signupError,buttonStatus:o.ComponentStatus.Default,firstName:"",lastName:"",email:"",password:"",confirmPassword:"",firstNameError:"",lastNameError:"",emailError:"",passwordError:"",confirmPasswordError:"",showErrorNotification:!1},this.handleChooseEmail=()=>{this.setState({isSocialFocused:!1})},this.handleSubmit=e=>{const{isValid:t,errors:n}=this.validFieldValues,{email:a,password:r,firstName:l,lastName:i}=this.state;e.preventDefault(),t?(this.setState({buttonStatus:o.ComponentStatus.Loading}),oe.signup({connection:V.Authentication,email:a,password:r,family_name:i,given_name:l},e=>{if(e)return this.displayErrorMessage(n,e),void this.setState({buttonStatus:o.ComponentStatus.Default,showErrorNotification:!0});oe.login({realm:V.Authentication,email:a,password:r},()=>{})})):this.setState(n)},this.displayErrorMessage=(e,t)=>{if(/error in email/.test(t.code))this.setState(Object.assign(Object.assign({},e),{emailError:"Please enter a valid email address"}));else{if("user_exists"!==t.code&&"extensibility_error"!==t.code){const n="We have been notified of an issue while creating your account. If this issue persists, please contact [email protected]";throw this.setState(Object.assign(Object.assign({},e),{emailError:n})),a.j.notify(t.description||t.code,t.name),new Error(t.description)}{const t="This email address is already used for an account. Please use a different email address.";this.setState(Object.assign(Object.assign({},e),{emailError:t}))}}},this.handleInputChange=e=>{this.setState({[e.target.name]:e.target.value})},this.handleSocialClick=e=>{oe.authorize({redirectUri:re.marketplaceSignupRedirectUri,connection:e})},this.handleDismissNotification=()=>{this.setState({showErrorNotification:!1})}}componentDidMount(){const{signupError:e}=this.props;if(e){const t="existingUser"===e.type?e.additional:"";this.setState({showErrorNotification:!0,isSocialFocused:!1,email:t}),"existingUser"===e.type&&this.displayErrorMessage({},{code:"user_exists"})}}render(){const{buttonStatus:e,firstName:t,lastName:n,email:a,password:l,confirmPassword:i,firstNameError:s,lastNameError:c,emailError:m,passwordError:u,confirmPasswordError:d,isSocialFocused:g,showErrorNotification:h}=this.state;return r.createElement("form",{action:"/signup",method:o.Method.Post,onSubmit:this.handleSubmit,className:"sign-up--form"},h&&r.createElement(o.Notification,{size:o.ComponentSize.Medium,gradient:o.Gradients.JustPeachy,style:{width:"100%"},onDismiss:this.handleDismissNotification,testID:"errorNotification"},this.notificationMessage),g?r.createElement(ae,{handleSocialClick:this.handleSocialClick,handleChooseEmail:this.handleChooseEmail,focus:this.props.socialFocus}):r.createElement(o.Panel,{className:"sign-up--form-panel sign-up--marketplace-panel"},r.createElement(o.Panel.Header,{size:o.ComponentSize.Large,justifyContent:o.JustifyContent.Center,className:"sign-up--form-header"},r.createElement(o.Heading,{element:o.HeadingElement.H3},"Continue with")),r.createElement(o.Panel.Body,{size:o.ComponentSize.Large},r.createElement(ne,{handleSocialClick:this.handleSocialClick}),r.createElement(o.Heading,{element:o.HeadingElement.H3,className:"sign-up--form-separator"},"OR"),r.createElement($,{buttonStatus:e,confirmPassword:i,confirmPasswordError:d,email:a,emailError:m,firstName:t,firstNameError:s,handleInputChange:this.handleInputChange,lastName:n,lastNameError:c,password:l,passwordError:u}),r.createElement(p,null))))}get notificationMessage(){const{marketplaceName:e,signupError:t}=this.props;if(t)switch(t.type){case"existingUser":return`Currently we do not support using an existing InfluxDB Cloud account to sign up for ${e} Marketplace. Please select a different email address.`;case"generic":return`We have been notified of an issue while creating an InfluxDB Cloud account associated with your ${e} Marketplace account. If this issue persists, please contact [email protected]`}}get validFieldValues(){const{firstName:e,lastName:t,email:n,password:a,confirmPassword:r}=this.state,o={firstNameError:!e&&"This field is required",lastNameError:!t&&"This field is required",emailError:!n&&"This field is required",passwordError:!a&&"This field is required",confirmPasswordError:r===a?!r&&"This field is required":"Passwords must match"};return{isValid:!Object.values(o).some(e=>!!e),errors:o}}}const ie=le;class se extends r.Component{render(){return r.createElement(a.L,{honeybadger:this.context},r.createElement(o.AppWrapper,{type:"funnel"},r.createElement(o.FunnelPage,{enableGraphic:!0,logo:r.createElement(g,null)},r.createElement(l,{text:"Set Up Your InfluxData Account"}),r.createElement(i,{text:`Create a login to activate your ${this.marketplaceName} Marketplace\n              subscription.`}),r.createElement(ie,{marketplaceName:this.marketplaceName,socialFocus:this.socialFocus,signupError:this.signupError}))))}get signupError(){const e=new URLSearchParams(window.location.search);return e.has("exists")?{type:"existingUser",additional:e.get("exists")}:e.has("error")?{type:"generic"}:void 0}get socialFocus(){if("azure"===this.props.marketplace)return"microsoft"}get marketplaceName(){switch(this.props.marketplace){case"aws":return"AWS";case"azure":return"Microsoft Azure";case"gcm":return"Google Cloud";default:return""}}}se.contextType=N;const ce=se;var me=n(635),ue=n(166);const de=e=>`/api/v2private/${e}`,pe=e=>(0,me.sH)(void 0,void 0,void 0,function*(){return(yield ue.A.get(de("auth/connection"),{params:{email:e}})).data}),ge=({marketplace:e,accountType:t})=>{const n=(e=>"pay_as_you_go"===e?"Usage-Based Plan subscription":"contract"==e?"Contract Plan":"Plan")(t);switch(e){case"aws":return r.createElement(s,{header:"AWS Verification",subtitle:`We're waiting for Amazon to confirm the InfluxDB Cloud ${n} is good to go`});case"gcm":return r.createElement(s,{header:"Google Cloud Verification",subtitle:`We're waiting for Google Cloud to confirm the InfluxDB Cloud ${n} is good to go`})}},he=({statusRoute:e,marketplace:t,accountType:n})=>{const[a,l]=r.useState(o.RemoteDataState.NotStarted);return r.useEffect(()=>{setInterval(()=>(0,me.sH)(void 0,void 0,void 0,function*(){const t=yield(e=>(0,me.sH)(void 0,void 0,void 0,function*(){return(yield ue.A.get(e)).data}))(e);"subscribed"==t.status?(l(o.RemoteDataState.Done),window.location.reload()):l(o.RemoteDataState.Loading)}),1e3)},[]),r.createElement(o.AppWrapper,{type:"funnel",className:"marketplace-splash"},r.createElement(o.FunnelPage,{logo:r.createElement(g,null)},r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Eight,offsetMD:o.Columns.Two},r.createElement(ge,{marketplace:t,accountType:n}),r.createElement(o.Panel,{className:"marketplace-splash--panel"},r.createElement(o.Panel.Body,{size:o.ComponentSize.Large},r.createElement(o.SpinnerContainer,{loading:a,spinnerComponent:r.createElement(o.TechnoSpinner,{className:"marketplace-splash--technospinner",diameterPixels:100}),className:"marketplace-splash--spinner"}),"This could take ",r.createElement("strong",null,"a few minutes")," — don’t close this window until verification is complete.")))),r.createElement("p",null,"Issues?"),r.createElement(H,{marketplace:t}),r.createElement("p",null,"Or talk to"," ",r.createElement("a",{href:"mailto:[email protected]",target:"_blank"},"[email protected]"))))},Ee=[["30 days Storage"],["Slack Only"],["1,000 kb/s Reads","17 kb/s Writes","Up to 10,000 Series"]],Ce=[["Unlimited Storage Retention"],["All Alert Handlers"],["10,000 kb/s Reads","1,000 kb/s Writes","Up to 1,000,000 Series"]],fe=[["Unlimited Storage Retention"],["All Alert Handlers"],["Scale Reads As Needed","Scale Writes As Needed","Scale Series As Needed"]],we="https://www.influxdata.com/contact-sales/?utm_campaign=cloud2.0&utm_medium=website&utm_source=contactsales",Se=({url:e,text:t,openTab:n,size:a=o.ComponentSize.Small,color:l=o.ComponentColor.Default,shape:i=o.ButtonShape.Default,active:s=!1,onClick:c,className:m})=>{const u=n?"_blank":"",d=Y()(`cf-button cf-button-${a} cf-button-${l}`,{"cf-button-square":i===o.ButtonShape.Square,"cf-button-stretch":i===o.ButtonShape.StretchToFit,"cf-button--loading":status===o.ComponentStatus.Loading,"cf-button--disabled":status===o.ComponentStatus.Disabled,active:s,[`${m}`]:m});return r.createElement("div",{className:"plan-card--button-section"},r.createElement("a",{href:e,target:u,className:d,onClick:c},t))},ve=({text:e,title:t})=>r.createElement("div",{className:"plan-card-banner--section"},r.createElement(o.FlexBox,{alignItems:o.AlignItems.Center,direction:o.FlexDirection.Column,justifyContent:o.JustifyContent.Center,style:{height:"100%",color:o.InfluxColors.Basalt},className:"plan-card-banner--content"},r.createElement(o.Heading,{element:o.HeadingElement.H4,weight:o.FontWeight.Regular},t),r.createElement("p",{className:"plan-card-banner--details"},e)),r.createElement("div",{className:"plan-card-banner--bottom-left"}),r.createElement("div",{className:"plan-card-banner--bottom-right"}));var ye;!function(e){e.Free="free",e.Annual="annual",e.UsageBased="usage-based"}(ye||(ye={}));const be=({bannerDetails:e,bannerTitle:t,billingInfo:n,buttonText:a,buttonURL:l,className:i,description:s,icon:c,isHighlighted:m,limitations:u,openTab:d,planType:p,title:g})=>{const h=m?o.InfluxColors.Pepper:o.InfluxColors.Castle,E=m?o.ComponentColor.Primary:o.ComponentColor.Default,C=Y()("plan-card",i),f=!(!t||!e),w=Y()("plan-card--button",{highlighted:m});return r.createElement(o.Panel,{backgroundColor:h,className:C},r.createElement("h2",{className:"plan-card--title"},g),r.createElement("p",null,s),c,f&&r.createElement(ve,{text:e,title:t}),u.map((e,t)=>
1r.createElement(o.FlexBox,{className:"plan-card--bordered-section",direction:o.FlexDirection.Column,key:t},e.map(e=>r.createElement("strong",{className:"plan-card--bolded",key:e},e)))),r.createElement("div",{className:"plan-card--bordered-section"},r.createElement("p",{className:"plan-card--text"},n)),r.createElement(Se,{className:w,color:E,onClick:()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"cloudApp_plan_selected",plan_selected:p})},openTab:d,shape:o.ButtonShape.StretchToFit,size:o.ComponentSize.Large,text:a,url:l}))},xe=({influxdbURL:e})=>r.createElement("div",{className:"plan-cards"},r.createElement(be,{billingInfo:"No credit card required",buttonText:"Keep",buttonURL:e,className:"plan-card--onboarding",description:"I'm a hobbyist",icon:r.createElement("div",{className:"plan-cards--graphic plan-cards--graphic__free"}),limitations:Ee,planType:ye.Free,title:"Free"}),r.createElement(be,{bannerDetails:"(valid for 30 days after signup)",bannerTitle:"Upgrade now to get $250 in credit",billingInfo:"Billed monthly",buttonText:"Upgrade Now",buttonURL:"/checkout",className:"plan-card--onboarding",description:"I know my workload",icon:r.createElement("div",{className:"plan-cards--graphic plan-cards--graphic__payg plan-cards--focus"}),isHighlighted:!0,limitations:Ce,planType:ye.UsageBased,title:"Usage-Based"}),r.createElement(be,{billingInfo:"Yearly Contract",buttonText:"Contact Sales",buttonURL:we,className:"plan-card--onboarding",description:"Enterprise scale",icon:r.createElement("div",{className:"plan-cards--graphic plan-cards--graphic__annual"}),limitations:fe,openTab:!0,planType:ye.Annual,title:"Annual"})),Ne=({influxdbURL:e})=>r.createElement("div",{className:"plan-cards"},r.createElement(be,{billingInfo:"Billed monthly",buttonText:"Upgrade Now",buttonURL:"/checkout",description:"I know my workload",icon:r.createElement("div",{className:"plan-cards--graphic plan-cards--graphic__payg"}),limitations:Ce,planType:ye.UsageBased,title:"Usage-Based"}),r.createElement(be,{billingInfo:"No credit card required",buttonText:"Keep",buttonURL:e,description:"I'm just trying this out",icon:r.createElement("div",{className:"plan-cards--graphic plan-cards--graphic__free plan-cards--focus"}),isHighlighted:!0,limitations:Ee,planType:ye.Free,title:"Free"}),r.createElement(be,{billingInfo:"Yearly Contract",buttonText:"Contact Sales",buttonURL:we,description:"Enterprise scale",icon:r.createElement("div",{className:"plan-cards--graphic plan-cards--graphic__annual"}),limitations:fe,openTab:!0,planType:ye.Annual,title:"Annual"}));class ze extends r.Component{constructor(e){super(e),this.fetchAndSetVariant=()=>{if(this.fetchAttempts>=5)this.setState({variant:0});else{if(this.fetchAttempts++,window.google_optimize){const e=window.google_optimize.get(this.props.id);return void this.setState({variant:e})}setTimeout(this.fetchAndSetVariant,100)}},this.fetchAttempts=0,this.state={variant:null}}get loadingState(){return null===this.state.variant?o.RemoteDataState.Loading:o.RemoteDataState.Done}componentDidMount(){window.dataLayer.push({event:"optimize.activate"}),this.fetchAndSetVariant()}render(){const e=r.Children.toArray(this.props.children);let t=e.find(e=>"Control"===e.type.name)||e[0];return e.forEach(e=>{e.props&&e.props.id&&e.props.id==this.state.variant&&(t=e)}),t?r.createElement(o.SpinnerContainer,{loading:this.loadingState,spinnerComponent:r.createElement(o.TechnoSpinner,null)},t):null}}const Ie=e=>e.children,Te=e=>e.children,{paygCredit:Fe}=window.Config,Me=({influxdbURL:e})=>r.createElement(ze,{id:Fe.id},r.createElement(Te,{id:"0"},r.createElement(l,{text:"Want a plan with more?"}),r.createElement(i,{text:"You can upgrade later at any time."}),r.createElement(Ne,{influxdbURL:e})),r.createElement(Ie,{id:"1"},r.createElement(l,{text:"Want a plan with more?"}),r.createElement(i,{text:"Go usage-based, pay for only what you use."}),r.createElement(xe,{influxdbURL:e}))),Pe=({influxdbURL:e})=>r.createElement(o.AppWrapper,null,r.createElement(o.FunnelPage,{logo:r.createElement(g,null)},r.createElement(Me,{influxdbURL:e})));var De=n(892);const ke=({buttonStatus:e,emailError:t,email:n,passwordError:a,password:l,handleInputChange:i,handleForgotPasswordCl
1ick:s})=>{const[c,m]=(0,r.useState)(!1);return r.createElement(r.Fragment,null,r.createElement(o.Grid,null,r.createElement(o.Grid.Row,{className:"sign-up--form-padded-row"},r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(o.Form.Element,{label:"Work Email Address",required:!0,errorMessage:t},r.createElement(o.Input,{id:"email",testID:"email--input",value:n,type:o.InputType.Email,size:o.ComponentSize.Large,status:t?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:i})))),r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(o.Form.Element,{label:"Password",required:!0,errorMessage:a},r.createElement(o.VisibilityInput,{id:"password",testID:"password--input",value:l,size:o.ComponentSize.Large,onChange:i,visible:c,status:a?o.ComponentStatus.Error:o.ComponentStatus.Default,onToggleClick:()=>m(!c)}))))),r.createElement(o.Heading,{element:o.HeadingElement.H6,weight:o.FontWeight.Regular,onClick:s,className:"login--forgot-password",selectable:!0},"Forgot Password"),r.createElement(o.Button,{className:"create-account--button",text:"Log In",color:o.ComponentColor.Primary,size:o.ComponentSize.Large,type:o.ButtonType.Submit,status:e,shape:o.ButtonShape.StretchToFit}))},Ae=({text:e,url:t})=>r.createElement("a",{href:t,target:"_blank"},e),Le=({buttonStatus:e,confirmPasswordError:t,confirmPassword:n,emailError:a,email:l,firstName:i,firstNameError:s,lastName:c,lastNameError:m,passwordError:u,password:d,handleInputChange:p})=>{const g=(0,r.useRef)(null),h=(0,r.useRef)(null),[E,C]=(0,r.useState)(!1),[f,w]=(0,r.useState)(!1);return r.createElement(r.Fragment,null,r.createElement(o.Grid,null,r.createElement(o.Grid.Row,{className:"sign-up--form-padded-row"},r.createElement(o.Grid.Column,{widthXS:o.Columns.Six},r.createElement(o.Form.Element,{label:"First Name",htmlFor:"firstName",required:!0,errorMessage:s},r.createElement(o.Input,{id:"firstName",testID:"firstName--input",value:i,autoFocus:!0,size:o.ComponentSize.Large,status:s?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:p}))),r.createElement(o.Grid.Column,{widthXS:o.Columns.Six},r.createElement(o.Form.Element,{label:"Last Name",htmlFor:"lastName",required:!0,errorMessage:m},r.createElement(o.Input,{id:"lastName",testID:"lastName--input",value:c,size:o.ComponentSize.Large,status:m?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:p})))),r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(o.Form.Element,{label:"Work Email Address",htmlFor:"email",required:!0,errorMessage:a},r.createElement(o.Input,{id:"email",testID:"email--input",value:l,type:o.InputType.Email,size:o.ComponentSize.Large,status:a?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:p})))),r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(o.Form.Element,{label:"Password",htmlFor:"password",required:!0,errorMessage:u},r.createElement("div",{ref:g},r.createElement(o.VisibilityInput,{id:"password",testID:"password--input",value:d,size:o.ComponentSize.Large,onChange:p,visible:f,status:u?o.ComponentStatus.Error:o.ComponentStatus.Default,onToggleClick:()=>w(!f),onFocus:()=>C(!0),onBlur:()=>C(!1)})))),r.createElement(o.Grid.Column,{widthXS:o.Columns.Twelve},r.createElement(o.Form.Element,{label:"Confirm Password",htmlFor:"confirmPassword",required:!0,errorMessage:t},r.createElement(o.VisibilityInput,{id:"confirmPassword",testID:"passwordConfirm--input",value:n,size:o.ComponentSize.Large,onChange:p,visible:f,status:t?o.ComponentStatus.Error:o.ComponentStatus.Default,onToggleClick:()=>w(!f)}))))),r.createElement(o.Button,{className:"create-account--button",text:"Create Account",color:o.ComponentColor.Primary,size:o.ComponentSize.Large,type:o.ButtonType.Submit,status:e,shape:o.ButtonShape.StretchToFit}),r.createElement(o.Popover.Popover,{ref:h,triggerRef:g,visible:E,contents:()=>r.createElement("ul",null,r.createElement("li",null,"Must be at least 8 characters."),r.createElement("li",null,"Must not contain personal information."),r.createElement("li",null,"Must not be a common or previous password.")),showEvent:o.PopoverInteraction.None,hideEvent:o.PopoverInteraction.None,position:o.PopoverPosition.ToTheRight,color:o.ComponentColor.Primary,appearance:o.Appearance.Outline}))};class Oe{constructor(e=null){this.config=e||this.getConfigFromWindow(),this.client=new P.Ay.WebAuth({domain:this.config.domain,clientID:this.config.clientID,redirectUri:this.config.signupRedirectUri,responseType:"code"})}getConfigFromWindow(){const{auth0:e}=window.Config;return e}authorize(e){this.client.authorize({redirectUri:this.config.loginRedirectUri,connection:e})}login(e,t){const n=this.getLoginOptions(e);this.client.login(n,t)}signup(e,t){this.client.signup(e,t)}changePassword(e,t){this.client.changePassword(e,t)}getLoginOptions(e){return{realm:e.realm,email:e.email,password:e.password,redirectUri:this.getRedirectUri(e.redirectTo)}}getRedirectUri(e){switch(e){case"loginRedirectUri":return this.config.loginRedirectUri;case"signupRedirectUri":return this.config.signupRedirectUri;default:return null}}}class Re extends r.PureComponent{constructor(){super(...arguments),this.state={activeTab:this.props.mode,buttonStatus:o.ComponentStatus.Default,confirmPassword:"",confirmPasswordError:"",email:this.props.email||"",emailError:"",firstName:"",firstNameError:"",lastName:"",lastNameError:"",notificationText:"",notificationVisible:!1,password:"",passwordError:""},this.handleSubmit=e=>(0,me.sH)(this,void 0,void 0,function*(){e.preventDefault();const{email:t,password:n,firstName:r,lastName:l,activeTab:i}=this.state;let s="";this.setState({buttonStatus:o.ComponentStatus.Loading});try{t&&(s=yield this.authConnection(t))}catch(e){a.j.notify(e),console.error(e)}if(""!==s)return this.authenticateWithSSO(s);const{isValid:c,errors:m}=this.validFieldValues;if(!c)return this.setState({buttonStatus:o.ComponentStatus.Default}),void this.setState(m);"login"!==i?this.authClient.signup({connection:V.Authentication,email:t,password:n,family_name:l,given_name:r},e=>{if(e)return this.displayErrorMessage(m,e),void this.setState({buttonStatus:o.ComponentStatus.Default});this.authClient.login({realm:V.Authentication,email:t,password:n,redirectTo:"signupRedirectUri"}),this.analyticsClient.send_event("influx_cloud_signup_started",{identity_provider:"email"})}):this.authClient.login({realm:V.Authentication,email:t,password:n,redirectTo:"loginRedirectUri"},e=>{if(e)return this.setState({buttonStatus:o.ComponentStatus.Default}),void this.displayErrorMessage(m,e)})}),this.displayErrorMessage=(e,t)=>
1{const{activeTab:n}=this.state;if(/error in email/.test(t.code))this.setState(Object.assign(Object.assign({},e),{emailError:"Please enter a valid email address"}));else if("user_exists"===t.code){const t="The user already exists. Try logging in instead.";this.setState(Object.assign(Object.assign({},e),{emailError:t}))}else if("invalid_password"===t.code||"access_denied"===t.code||"extensibility_error"===t.code)if("login"===n){const t="The email and password combination you submitted don't match. Please choose another.";this.setState(Object.assign(Object.assign({},e),{emailError:t}))}else switch(t.name){case"PasswordDictionaryError":{const t="Password is too common. Please choose another.";this.setState(Object.assign(Object.assign({},e),{passwordError:t}));break}case"PasswordNoUserInfoError":{const t="Password contains personal information. Please choose another.";this.setState(Object.assign(Object.assign({},e),{passwordError:t}));break}default:{const t="Password is too short. Please choose another.";this.setState(Object.assign(Object.assign({},e),{passwordError:t}));break}}else{const n="We have been notified of an issue while creating your account. If this issue persists, please contact [email protected]";this.setState(Object.assign(Object.assign({},e),{emailError:n})),a.j.notify(t.description||t.code,t.name)}},this.handleInputChange=e=>{this.setState({[e.target.id]:e.target.value})},this.handleTabChange=e=>{this.setState({activeTab:e,buttonStatus:o.ComponentStatus.Default,confirmPassword:"",confirmPasswordError:"",email:"",emailError:"",firstName:"",firstNameError:"",lastName:"",lastNameError:"",notificationText:"",notificationVisible:!1,password:"",passwordError:""})},this.handleSocialClick=e=>{this.authClient.authorize(e)},this.authenticateWithSSO=e=>this.authClient.authorize(e),this.handleForgotPasswordClick=()=>{const{email:e}=this.state;e?this.authClient.changePassword({email:e,connection:V.Authentication},(e,t)=>{e?this.setState({emailError:e.message}):(this.setState({emailError:"",notificationText:`${t}\n            If you haven't received an email, please ensure that the email you provided is correct.`,notificationVisible:!0}),setTimeout(()=>{this.setState({notificationText:"",notificationVisible:!1})},4e3))}):this.setState({emailError:"Please enter a valid email address"})}}componentDidMount(){this.authConnection=this.props.authConnection||pe,this.authClient=this.props.authenticationClient||new Oe,this.analyticsClient=this.props.analyticsClient||new J(window.dataLayer)}render(){const{buttonStatus:e,firstName:t,lastName:n,email:a,password:l,confirmPassword:i,firstNameError:s,lastNameError:c,emailError:m,passwordError:u,confirmPasswordError:d,activeTab:g,notificationText:h,notificationVisible:E}=this.state,C="login"===g,f={height:0},w={position:"relative",overflow:"hidden",height:"auto"};return r.createElement("form",{action:"/signup",method:o.Method.Post,onSubmit:this.handleSubmit,className:"sign-up--form"},r.createElement(o.Panel,{className:"sign-up--form-panel"},r.createElement(o.Panel.Header,{size:o.ComponentSize.Large,justifyContent:o.JustifyContent.Center,className:"sign-up--form-header"},r.createElement(o.Heading,{element:o.HeadingElement.H3},"Continue with")),r.createElement(o.Panel.Body,{size:o.ComponentSize.Large},r.createElement(ne,{handleSocialClick:this.handleSocialClick}),r.createElement(o.Heading,{element:o.HeadingElement.H3,className:"sign-up--form-separator"},"OR"),r.createElement(o.FlexBox,{stretchToFitWidth:!0,direction:o.FlexDirection.Row,justifyContent:o.JustifyContent.Center},r.createElement(o.SelectGroup,{size:o.ComponentSize.Medium,color:o.ComponentColor.Default},r.createElement(o.SelectGroup.Option,{titleText:"Log In",value:"login",id:"login-option",active:C,onClick:this.handleTabChange},"Log In"),r.createElement(o.SelectGroup.Option,{titleText:"Sign Up",value:"signup",id:"signup-option",active:!C,onClick:this.handleTabChange},"Sign Up"))),r.createElement(De.eB,{native:!0,reset:!0,unique:!0,config:{mass:.25,precision:1,friction:1,clamp:!0},items:C,from:f,enter:[w],leave:f},t=>t&&(t=>r.createElement(De.CS.div,{style:t},r.createElement(ke,{buttonStatus:e,email:a,emailError:m,password:l,passwordError:u,handleInputChange:this.handleInputChange,handleForgotPasswordCl
1ick:this.handleForgotPasswordClick})))),r.createElement(De.eB,{native:!0,reset:!0,unique:!0,config:{mass:.25,precision:1,friction:1,clamp:!0},items:!1===C,from:f,enter:[w],leave:f},o=>o&&(o=>r.createElement(De.CS.div,{style:o},r.createElement(Le,{buttonStatus:e,confirmPassword:i,confirmPasswordError:d,email:a,emailError:m,firstName:t,firstNameError:s,lastName:n,lastNameError:c,password:l,passwordError:u,handleInputChange:this.handleInputChange}))))),r.createElement(o.Notification,{visible:E,size:o.ComponentSize.Small,gradient:o.Gradients.HotelBreakfast},h),r.createElement(p,null),r.createElement(o.Heading,{element:o.HeadingElement.H4,weight:o.FontWeight.Regular,className:"sign-up--marketplace-footer"},"Or subscribe on"," ",r.createElement(Ae,{text:"AWS",url:"https://aws.amazon.com/marketplace/pp/B08234JZPS/?ref=_ptnr_web_influxcloudproducthead"}),","," ",r.createElement(Ae,{text:"Azure",url:"https://azuremarketplace.microsoft.com/en-us/marketplace/apps/influxdata.influxdb-cloud?ocid=iflxdbcloud_influxdata_web_producthead"}),", or"," ",r.createElement(Ae,{text:"Google Cloud",url:"https://console.cloud.google.com/marketplace/details/influxdata-public/cloud2-gcp-marketplace-prod?utm_campaign=influxdb-cloud-product-pagehead&utm_medium=website&utm_source=influxdata"}))))}get validFieldValues(){const{activeTab:e,firstName:t,lastName:n,email:a,password:r,confirmPassword:o}=this.state,l=""===t?"First name is required":"",i=""===n?"Last name is required":"";let s=o===r?"":"The input passwords don't match";""===o&&(s="Confirm password is required");const c={emailError:""===a?"Email is required":"",passwordError:""===r?"Password is required":""};"signup"===e&&(c.firstNameError=l,c.lastNameError=i,c.confirmPasswordError=s);return{isValid:Object.values(c).every(e=>""===e),errors:c}}}class Be extends r.Component{render(){const{email:e="",mode:t="signup"}=this.props;return r.createElement(a.L,{honeybadger:this.context},r.createElement(o.AppWrapper,null,r.createElement(o.FunnelPage,{enableGraphic:!0,logo:r.createElement(g,null)},r.createElement(l,{text:"Create your Free InfluxDB Cloud Serverless Account"}),r.createElement(i,{text:"No credit card required"}),r.createElement(Re,{email:e,mode:t}))))}}Be.contextType=N;const _e=Be;var He=n(134);const Ge=({className:e})=>{const t=Y()("aws-logo",e);return r.createElement("svg",{className:t,width:"100%",height:"100%",viewBox:"0 0 304 182"},r.createElement("path",{className:"b",d:"M86.4,66.4c0,3.7,0.4,6.7,1.1,8.9c0.8,2.2,1.8,4.6,3.2,7.2c0.5,0.8,0.7,1.6,0.7,2.3c0,1-0.6,2-1.9,3L83.2,92\n\t\tc-0.9,0.6-1.8,0.9-2.6,0.9c-1,0-2-0.5-3-1.4C76.2,90,75,88.4,74,86.8c-1-1.7-2-3.6-3.1-5.9c-7.8,9.2-17.6,13.8-29.4,13.8\n\t\tc-8.4,0-15.1-2.4-20-7.2c-4.9-4.8-7.4-11.2-7.4-19.2c0-8.5,3-15.4,9.1-20.6s14.2-7.8,24.5-7.8c3.4,0,6.9,0.3,10.6,0.8\n\t\ts7.5,1.3,11.5,2.2v-7.3c0-7.6-1.6-12.9-4.7-16c-3.2-3.1-8.6-4.6-16.3-4.6c-3.5,0-7.1,0.4-10.8,1.3s-7.3,2-10.8,3.4\n\t\tc-1.6,0.7-2.8,1.1-3.5,1.3c-0.7,0.2-1.2,0.3-1.6,0.3c-1.4,0-2.1-1-2.1-3.1v-4.9c0-1.6,0.2-2.8,0.7-3.5s1.4-1.4,2.8-2.1\n\t\tc3.5-1.8,7.7-3.3,12.6-4.5C41,1.9,46.2,1.3,51.7,1.3c11.9,0,20.6,2.7,26.2,8.1c5.5,5.4,8.3,13.6,8.3,24.6v32.4H86.4z M45.8,81.6\n\t\tc3.3,0,6.7-0.6,10.3-1.8c3.6-1.2,6.8-3.4,9.5-6.4c1.6-1.9,2.8-4,3.4-6.4s1-5.3,1-8.7v-4.2c-2.9-0.7-6-1.3-9.2-1.7s-6.3-0.6-9.4-0.6\n\t\tc-6.7,0-11.6,1.3-14.9,4c-3.3,2.7-4.9,6.5-4.9,11.5c0,4.7,1.2,8.2,3.7,10.6C37.7,80.4,41.2,81.6,45.8,81.6z M126.1,92.4\n\t\tc-1.8,0-3-0.3-3.8-1c-0.8-0.6-1.5-2-2.1-3.9L96.7,10.2c-0.6-2-0.9-3.3-0.9-4c0-1.6,0.8-2.5,2.4-2.5h9.8c1.9,0,3.2,0.3,3.9,1\n\t\tc0.8,0.6,1.4,2,2,3.9l16.8,66.2l15.6-66.2c0.5-2,1.1-3.3,1.9-3.9c0.8-0.6,2.2-1,4-1h8c1.9,0,3.2,0.3,4,1c0.8,0.6,1.5,2,1.9,3.9\n\t\tl15.8,67l17.3-67c0.6-2,1.3-3.3,2-3.9c0.8-0.6,2.1-1,3.9-1h9.3c1.6,0,2.5,0.8,2.5,2.5c0,0.5-0.1,1-0.2,1.6\n\t\tc-0.1,0.6-0.3,1.4-0.7,2.5l-24.1,77.3c-0.6,2-1.3,3.3-2.1,3.9s-2.1,1-3.8,1h-8.6c-1.9,0-3.2-0.3-4-1s-1.5-2-1.9-4L156,23\n\t\tl-15.4,64.4c-0.5,2-1.1,3.3-1.9,4c-0.8,0.7-2.2,1-4,1H126.1z M254.6,95.1c-5.2,0-10.4-0.6-15.4-1.8c-5-1.2-8.9-2.5-11.5-4\n\t\tc-1.6-0.9-2.7-1.9-3.1-2.8c-0.4-0.9-0.6-1.9-0.6-2.8v-5.1c0-2.1,0.8-3.1,2.3-3.1c0.6,0,1.2,0.1,1.8,0.3c0.6,0.2,1.5,0.6,2.5,1\n\t\tc3.4,1.5,7.1,2.7,11,3.5c4,0.8,7.9,1.2,11.9,1.2c6.3,0,11.2-1.1,14.6-3.3c3.4-2.2,5.2-5.4,5.2-9.5c0-2.8-0.9-5.1-2.7-7\n\t\tc-1.8-1.9-5.2-3.6-10.1-5.2L246,52c-7.3-2.3-12.7-5.7-16-10.2c-3.3-4.4-5-9.3-5-14.5c0-4.2,0.9-7.9,2.7-11.1s4.2-6,7.2-8.2\n\t\tc3-2.3,6.4-4,10.4-5.2s8.2-1.7,12.6-1.7c2.2,0,4.5,0.1,6.7,0.4c2.3,0.3,4.4,0.7,6.5,1.1c2,0.5,3.9,1,5.7,1.6\n\t\tc1.8,0.6,3.2,1.2,4.2,1.8c1.4,0.8,2.4,1.6,3,2.5c0.6,0.8,0.9,1.9,0.9,3.3v4.7c0,2.1-0.8,3.2-2.3,3.2c-0.8,0-2.1-0.4-3.8-1.2\n\t\tc-5.7-2.6-12.1-3.9-19.2-3.9c-5.7,0-10.2,0.9-13.3,2.8s-4.7,4.8-4.7,8.9c0,2.8,1,5.2,3,7.1c2,1.9,5.7,3.8,11,5.5l14.2,4.5\n\t\tc7.2,2.3,12.4,5.5,15.5,9.6s4.6,8.8,4.6,14c0,4.3-0.9,8.2-2.6,11.6c-1.8,3.4-4.2,6.4-7.3,8.8c-3.1,2.5-6.8,4.3-11.1,5.6\n\t\tC264.4,94.4,259.7,95.1,254.6,95.1z"}),r.createElement("g",null,r.createElement("path",{className:"aws-logo-smile",d:"M273.5,143.7c-32.9,24.3-80.7,37.2-121.8,37.2c-57.6,0-109.5-21.3-148.7-56.7c-3.1-2.8-0.3-6.6,3.4-4.4\n\t\t\tc42.4,24.6,94.7,39.5,
1148.8,39.5c36.5,0,76.6-7.6,113.5-23.2C274.2,133.6,278.9,139.7,273.5,143.7z"}),r.createElement("path",{className:"aws-logo-smile",d:"M287.2,128.1c-4.2-5.4-27.8-2.6-38.5-1.3c-3.2,0.4-3.7-2.4-0.8-4.5c18.8-13.2,49.7-9.4,53.3-5\n\t\t\tc3.6,4.5-1,35.4-18.6,50.2c-2.7,2.3-5.3,1.1-4.1-1.9C282.5,155.7,291.4,133.4,287.2,128.1z"})))};var je=n(644);const We=({title:e,isAvailable:t})=>{const n=`${t?"Select ":""}${e}${t?"":" is coming soon"}`,a=!t;return r.createElement("div",{className:"region--title",title:n},e,a&&r.createElement("span",null,"COMING SOON"))};var Ue;function qe(e,t,n,a){return t&&n?(0,m.orderBy)(e,e=>function(e,t){switch(t){case Ue.String:return(0,m.toLower)(e);case Ue.Date:return Date.parse(e);case Ue.Float:return parseFloat(e);default:return e}}((0,m.get)(e,t),a),[n]):e}!function(e){e.String="string",e.Date="date",e.Float="float"}(Ue||(Ue={}));const Ve=({providerRegion:e})=>e.regionInfo,$e=({providerRegion:e})=>e.providerInfo,Je=e=>{const{provider:t}=$e(e);return(({providerRegion:e})=>e.allProviderRegions.regionInfo)(e)[t]},Ze=e=>{const t=qe(e.providerInfo,"title","asc",Ue.String),n=t[0],a=Object.entries(e.regionInfo).reduce((e,[t,n])=>(e[t]=qe(n,"priority","asc",Ue.Float),e),{});return{allProviderRegions:{providerInfo:t,regionInfo:a},providerInfo:n,regionInfo:a[n.provider][0]}},Xe=e=>(t,n)=>{Ve(n()).region!==e.region&&t({type:"SET_REGION_INFO",payload:{region:e.region}})},Ye=e=>(t,n)=>{$e(n()).provider!==e&&t((e=>({type:"SET_PROVIDER_INFO",payload:{provider:e}}))(e))},Ke="https://www.influxdata.com/influxdb-cloud-2-0-provider-region/",Qe=(0,He.Ng)(e=>({selectedRegionInfo:Ve(e),regions:Je(e)}),e=>(0,je.zH)({onSelectRegion:Xe},e))(({selectedRegionInfo:e,regions:t,onSelectRegion:n,onChange:a,dropdownWidth:l})=>{const i=l?{width:`${l}px`}:{};return r.createElement(r.Fragment,null,r.createElement("input",{name:"region",type:"hidden",value:e.region,"data-testid":"marketplace-splash--region"}),r.createElement(o.Form.Element,{label:""},r.createElement(o.Dropdown,{testID:"region-dropdown",style:i,button:(t,n)=>r.createElement(o.Dropdown.Button,{size:o.ComponentSize.Medium,active:t,onClick:n,color:o.ComponentColor.Primary},r.createElement(We,Object.assign({},e))),menu:l=>r.createElement(o.Dropdown.Menu,{onCollapse:l},t.map(t=>{const l=Y()("region--dropdown-item",{disabled:!t.isAvailable});return r.createElement(o.Dropdown.Item,{testID:t.title,id:t.title,key:t.title,value:t,onClick:t=>{n(t),a&&a(e,t)},className:l},r.createElement(We,Object.assign({},t)))}))})),r.createElement("p",null,"Don't see the region you need?"," ",r.createElement("a",{href:Ke,target:"_blank"},"Let us know"),"."))}),et=({show:e})=>r.createElement("div",{className:`notification-flag ${e&&"show"}`},r.createElement(o.Icon,{glyph:o.IconFont.CheckMark_New}),"Confirmation Successful!"),tt=({nextStep:e,status:t})=>r.createElement(o.FlexBox,{direction:e?o.FlexDirection.Column:o.FlexDirection.Row,justifyContent:o.JustifyContent.Center,className:"splash--cta-button"},r.createElement(o.CTAButton,{text:e?"Continue":"Finish",type:o.ButtonType.Submit,color:o.ComponentColor.Primary,status:t}),e&&r.createElement("p",null,"Next: ",r.createElement("strong",null,e))),nt=({title:e,subtitle:t})=>r.createElement(r.Fragment,null,r.createElement(o.Heading,{element:o.HeadingElement.H2,appearance:o.HeadingElement.H3},e),t&&r.createElement(o.Heading,{element:o.HeadingElement.H4,weight:o.FontWeight.Light,className:"sign-up--splash-subheading"},t)),at=()=>r.createElement("svg",{x:"0px",y:"0px",viewBox:"0 0 8986.8 1407.9",width:"100%",height:"100%",className:"gcp-logo-with-text"},r.createElement("title",null,"Cloud_Logo_Nav"),r.createElement("g",null,r.createElement("g",null,r.createElement("path",{className:"st0",d:"M1057.1,369.2h50.8l144.8-144.8l7.1-61.5C990.3-75,579-49.3,341.1,220.2C275,295,227.1,384.1,200.9,480.5\n        c16.1-6.6,34-7.7,50.8-3l289.6-47.8c0,0,14.7-24.4,22.4-22.9c128.8-141.5,345.6-158,494.4-37.6L1057.1,369.2z"}),r.createElement("path",{className:"st1",d:"M1459,480.5c-33.3-122.6-101.6-232.8-196.6-317l-203.2,203.2c85.8,70.1,134.7,
1175.8,132.6,286.6v36.1\n        c99.9,0,180.9,81,180.9,180.9s-81,180.9-180.9,180.9H830l-36.1,36.6v217l36.1,36.1h361.8c259.8,2,472.1-207,474.1-466.8\n        C1667.1,716.3,1589.4,568.7,1459,480.5z"}),r.createElement("path",{className:"st2",d:"M467.7,1338.6h361.8V1049H467.7c-25.8,0-51.2-5.6-74.7-16.3l-50.8,15.8l-145.8,144.8l-12.7,50.8\n        C265.4,1305.9,365.2,1339.1,467.7,1338.6z"}),r.createElement("path",{className:"st3",d:"M467.7,399.2C207.8,400.7-1.5,612.6,0,872.5c0.9,145.1,68.6,281.7,183.7,370.1l209.8-209.8\n        c-91-41.1-131.5-148.3-90.4-239.3s148.3-131.5,239.3-90.4c40.1,18.1,72.2,50.3,90.4,90.4l209.8-209.8\n        C753.4,466.9,614.6,398.6,467.7,399.2z"})),r.createElement("g",null,r.createElement("g",null,r.createElement("path",{className:"st4",d:"M2629.1,1136.4c-125.9,1.6-246.9-48.1-335.3-137.7c-91.3-85.8-142.3-206-140.7-331.3\n          c-1.5-125.3,49.5-245.4,140.7-331.3c88-90.5,209.1-141.2,335.3-140.2c120.2-1.6,236.1,45.1,321.6,129.6l-90.4,92\n          c-61.9-59.9-145.1-92.7-231.2-91.5c-90.3-1.1-177,35.8-238.8,101.6c-64.2,63.7-99.6,150.9-98.1,241.3\n          c-0.8,89.4,34.6,175.3,98.1,238.3c130.8,130.4,341.7,132.9,475.6,5.6c39.9-43.6,64.3-99.2,69.6-158h-304.9V624.8H3062\n          c4.2,26.2,5.9,52.7,5.1,79.3c5.4,110.9-34.8,219.2-111.3,299.8C2870.7,1092.4,2751.9,1140.6,2629.1,1136.4z M3632.1,1050\n          c-120.3,115.3-310.1,115.3-430.4,0c-58.3-56.5-90.1-134.8-87.9-215.9c-2.2-81.1,29.7-159.4,87.9-215.9c120.4-115,310-115,430.4,0\n          c58.2,56.5,90.1,134.8,87.9,215.9c2.1,81.2-30,159.5-88.4,215.9H3632.1z M3296.7,965.2c62.1,66.4,166.3,69.8,232.7,7.6\n          c2.6-2.5,5.2-5,7.6-7.6c33.9-35.1,52.2-82.3,50.8-131.1c1.5-48.9-16.8-96.4-50.8-131.6c-63.9-66.6-169.7-68.9-236.4-5\n          c-1.7,1.6-3.4,3.3-5,5c-34,35.2-52.3,82.7-50.8,131.6c-1.3,48.8,17.2,96.1,51.3,131.1H3296.7z M4293.6,1050\n          c-120.3,115.3-310.1,115.3-430.4,0c-58.3-56.5-90.1-134.8-87.9-215.9c-2.2-81.1,29.7-159.4,87.9-215.9\n          c120.3-115.3,310.1-115.3,430.4,0c58.2,56.5,90.1,134.8,87.9,215.9C4383.8,915.2,4351.9,993.5,4293.6,1050z M3958.3,965.2\n          c62.1,66.4,166.3,69.8,232.7,7.6c2.6-2.5,5.2-5,7.6-7.6c33.9-35.1,52.2-82.3,50.8-131.1c1.5-48.9-16.8-96.4-50.8-131.6\n          c-63.9-66.6-169.7-68.9-236.3-5c-1.7,1.6-3.4,3.3-5,5c-34,35.2-52.3,82.7-50.8,131.6c-1.3,48.8,17.2,96.1,51.3,131.1H3958.3z\n           M4728.5,1407.7c-60.9,1.9-120.6-17.1-169.2-53.9c-43.1-32.4-77.1-75.5-98.6-125l115.8-48.3c12.6,29.6,32.3,55.6,57.4,75.7\n          c26.8,21.6,60.5,33,95,32c44.2,2.7,87.4-14,118.4-45.7c30.6-36.9,45.7-84.3,42.2-132.1v-43.7h-4.6c-39.3,46.6-98.2,72-159,68.6\n          c-77.1,0.2-150.8-31.8-203.2-88.4c-56.8-56.1-88.2-133-86.9-212.9c-1.4-80.3,30-157.7,86.9-214.4c52.3-56.8,126-89.1,203.2-88.9\n          c32.3-0.1,64.3,7.1,93.5,20.8c25.3,11,47.8,27.5,66.1,48.3h4.6v-48.3h126v541.1c6.7,86.5-22.5,172-80.8,236.3\n          C4879.8,1382,4805.3,1410.4,4728.5,1407.7z M4737.7,1017.5c43.9,1,86-17.7,114.8-50.8c31.3-35.9,47.9-82.4,46.2-130.1\n          c1.9-48.5-14.6-95.8-46.2-132.6c-28.8-33.2-70.9-51.8-114.8-50.8c-45.1-0.9-88.4,17.6-118.9,50.8\n          c-33.6,35.5-51.9,82.8-50.8,131.6c-1,48.4,17.2,95.2,50.8,130.1C4649.1,999.2,4692.4,1018.1,4737.7,1017.5z M5240.2,230v888.1\n          h-132.6V230L5240.2,230z M5604,1136.4c-80.3,2.1-157.8-29.4-213.9-86.9c-56.9-57-88-134.9-85.9-215.4\n          c-3-80.7,26.9-159.2,82.8-217.5c52.8-55.6,126.6-86.4,203.2-84.9c34.9-0.4,69.4,6.4,101.6,19.8c29,11.7,55.4,29,77.7,50.8\n          c19.2,18.5,36.2,39.1,50.8,61.5c11.8,18.9,21.8,38.8,30,59.4l13.7,34.6L5457.6,925c25.2,57.8,83.3,94.2,146.3,91.5\n          c60.9,0.2,117.4-31.7,148.9-83.8l101.6,68.6c-25.9,37.1-59.1,68.6-97.6,92.5C5711.2,1122.6,5658,1137.4,5604,1136.4z\n           M5434.3,824.9l270.3-112.3c-8.3-19.8-23.2-36.1-42.2-46.2c-21.2-12-45.2-18.1-69.6-17.8c-41.3,1.1-80.6,18.4-109.2,48.3\n          C5448.9,730.1,5430.8,777,5434.3,824.9z"})),r.createElement("g",null,r.createElement("path",{className:"st4",d:"M6558.7,1136.4c-231.2,4-421.8-180.2-425.8-411.4c-0.1-5.6-0.1-11.3,0.1-16.9\n          c-5.4-231.2,177.7-422.9,408.8-428.3c5.6-0.1,11.3-0.1,16.9-0.1c115.6-3.6,226.6,45.8,301.3,134.1l-73.2,71.1\n          c-54.9-69.1-139.5-107.8-227.6-104.2c-84.5-1.9-166.2,30.8-226.1,90.4c-62.3,62.7-95.6,148.5-92,236.8\n          c-3.7,88.3,29.7,174.1,92,236.8c59.9,59.7,141.6,92.3,226.1,90.4c98.4,1.1,191.9-42.7,254-118.9l73.2,73.2\n          c-38.3,45.8-86.4,82.4-140.7,107.2C6687.1,1123.8,6623.2,1137.4,6558.7,1136.4z"}),r.createElement("path",{className:"st4",d:"M7083,1118.1h-105.2V297.5H7083V1118.1z"}),r.createElement("path",{className:"st4",d:"M7254.8,624.2c114.7-113.9,299.9-113.9,414.6,0c54.4,57.5,83.7,134.3,81.3,213.4\n          c2.4,79.1-26.9,155.9-81.3,213.4c-114.7,113.9-299.9,113.9-414.6,0c-54.4-57.5-83.7-134.3-81.3-213.4\n          C7171.1,758.5,7200.3,681.7,7254.8,624.2z M7333,985c67.3,71.1,179.5,74.2,250.7,6.9c2.4-2.2,4.7-4.6,6.9-6.9\n          c37.1-39.8,56.7-92.9,54.4-147.3c2.4-54.4-17.2-107.5-54.4-147.3c-67.3-71.1-179.5-74.2-250.7-6.9c-2.4,2.2-4.7,4.6-6.9,6.9\n          c-37.1,39.8-56.7,92.9-54.4,147.3c-2.1,54.3,17.7,107.2,54.9,146.8L7333,985z"}),r.createElement("path",{className:"st4",d:"M8333.4,1118.1h-101.6v-77.7h-3c-18.1,29.5-43.7,53.7-74.2,70.1c-31.6,18.3-67.6,28-104.2,27.9\n          c-60.2,4.1-118.9-19.5-159.5-64c-38.5-48.7-57.8-109.8-54.4-171.7V557.2h105.2v326.2c0,104.7,46.2,157,138.7,157\n          c41.7,1.3,81.4-17.6,106.7-50.8c27.3-34.5,41.8-77.4,41.2-121.4v-311h105.2V1118.1z"}),r.createElement("path",{className:"st4",d:"M8690.6,1136.4c-72.2,0.2-140.9-31.1-188-85.9c-52.7-58.2-80.9-134.4-78.8-212.9\n          c-2.1-78.5,26.1-154.7,78.8-212.9c47.1-54.7,115.8-86.1,188-85.9c40-0.6,79.5,8.8,114.8,27.4c31.1,15.6,57.4,39.3,76.2,68.6h4.6\n          l-4.6-77.7V297.5h105.2v820.6h-101.6v-77.7h-4.6c-18.8,29.3-45.1,53-76.2,68.6C8769.4,1127.4,8730.3,1136.9,8690.6,1136.4z\n           M8707.9,1040.4c48.1,0.7,94.2-19.3,12
16.5-54.9c35.7-40.7,54-93.8,50.8-147.9c3.2-54-15.1-107.2-50.8-147.9\n          c-63.8-70.2-172.4-75.3-242.6-11.4c-4,3.6-7.8,7.5-11.4,11.4c-35.8,40.4-54.1,93.4-50.8,147.3c-3.3,53.9,15,106.9,50.8,147.3\n          C8612.8,1020.7,8659.3,1041.1,8707.9,1040.4z"}))))),rt=()=>r.createElement("svg",{x:"0px",y:"0px",viewBox:"0 0 150 43.2",width:"100%",height:"100%",className:"azure-logo-with-text"},r.createElement("title",null,"Azure Logo"),r.createElement("path",{id:"path21",className:"st0",d:"M25.8,40.9c7.2-1.3,13.1-2.3,13.2-2.3l0.1,0l-6.8-8\n\tc-3.7-4.4-6.8-8.1-6.8-8.1c0,0,7-19.3,7-19.4c0,0,4.8,8.2,11.5,19.9c6.3,11,11.5,20,11.6,20.1l0.1,0.2l-21.5,0l-21.5,0\n\tC12.8,43.2,25.8,40.9,25.8,40.9z M108.3,39c-3.3-0.2-5.2-2.1-5.7-5.6c-0.1-0.9-0.1-1-0.1-7l0-5.8h1.4h1.4l0,5.6c0,5.1,0,5.7,0.1,6\n\tc0.2,1.5,0.6,2.4,1.3,3.1c0.5,0.6,1.2,0.9,2,1.1c0.4,0.1,1.6,0.1,1.9,0c0.9-0.2,1.6-0.6,2.2-1.2c0.7-0.7,1.2-1.7,1.5-2.8l0.1-0.4\n\tl0-5.7l0-5.7h1.5h1.5v8.9v8.9h-1.5h-1.5v-1.4c0-1,0-1.4,0-1.4c0,0-0.1,0.1-0.2,0.3c-0.5,0.9-1.3,1.8-2.3,2.3\n\tC110.9,38.8,109.8,39.1,108.3,39L108.3,39z M141.5,38.9c-1.2-0.1-2.4-0.5-3.4-1.1c-2.1-1.3-3.3-3.4-3.7-6.4c-0.1-1-0.1-2.4,0-3.2\n\tc0.2-1.9,1-3.8,2.1-5.2c0.3-0.3,0.9-1,1.3-1.3c0.9-0.7,2-1.3,3.2-1.5c0.7-0.1,1.9-0.2,2.6-0.2c1.8,0.2,3.5,1,4.6,2.4\n\tc1.1,1.4,1.8,3.3,1.9,5.6c0,0.4,0,1,0,1.4l0,0.8l-6.3,0l-6.3,0v0.3c0,0.9,0.2,1.8,0.6,2.7c0.3,0.7,0.8,1.5,1.3,1.9\n\tc0.9,0.8,2,1.2,3.2,1.4c0.4,0,1.6,0,2.1-0.1c1.5-0.2,2.8-0.8,4-1.6c0.1-0.1,0.3-0.2,0.3-0.2c0,0,0,0.2,0,1.3l0,1.3l-0.3,0.2\n\tc-1.3,0.8-2.7,1.3-4.2,1.5C143.7,39,142.1,39,141.5,38.9L141.5,38.9z M147,27.6c0-1.4-0.6-3-1.5-3.9c-0.6-0.6-1.4-0.9-2.2-1.1\n\tc-0.4-0.1-1.3,0-1.7,0c-0.9,0.2-1.7,0.6-2.4,1.3c-0.7,0.7-1.2,1.5-1.6,2.5c-0.1,0.3-0.3,0.9-0.3,1.2l0,0.2h4.9h4.9V27.6z M61,38.5\n\tc0,0,2.2-5.7,4.8-12.6l4.8-12.5l1.5,0l1.5,0l0.1,0.3c0.4,1,9.6,24.8,9.6,24.8c0,0-0.7,0-1.6,0l-1.6,0L78.7,35l-1.3-3.5l-5.3,0\n\tl-5.3,0l0,0.1c0,0.1-0.6,1.6-1.3,3.5l-1.2,3.4l-1.6,0C61.3,38.5,61,38.5,61,38.5L61,38.5z M76.4,28.8c0,0-0.9-2.4-2-5.4\n\tc-2-5.5-2.1-5.8-2.3-6.7c-0.1-0.4-0.1-0.4-0.2,0c0,0.3-0.2,0.9-0.3,1.2c-0.1,0.2-1,2.7-2,5.6c-1.1,2.9-1.9,5.3-1.9,5.3\n\tc0,0,2,0,4.3,0C74.5,28.8,76.4,28.8,76.4,28.8z M84.3,38.1v-0.5l5.3-7.3l5.3-7.3l-4.8,0l-4.8,0l0-1.2l0-1.2h6.9h6.9V21v0.4l-5.3,7.3\n\tc-2.9,4-5.3,7.3-5.3,7.3c0,0,2.4,0,5.2,0H99v1.2v1.2h-7.4h-7.4V38.1z M123.2,38.5c0,0,0-4.1,0-9v-9h1.4h1.4v1.8c0,1,0,1.8,0,1.8\n\ts0.1-0.2,0.2-0.4c0.3-0.9,0.9-1.8,1.6-2.5c0.7-0.6,1.4-1,2.3-1.1c0.2,0,0.5,0,1,0c0.6,0,0.9,0.1,1.3,0.2l0.1,0V22v1.5l-0.3-0.2\n\tc-0.6-0.3-1.2-0.4-1.9-0.4c-0.5,0-0.8,0.1-1.1,0.2c-0.8,0.3-1.4,0.8-1.8,1.5c-0.6,1-1.1,2.3-1.2,3.5c0,0.2,0,1.9,0,5.4l0,5.1h-1.4\n\tC123.8,38.5,123.2,38.5,123.2,38.5z M0,38.5c0,0,3.2-5.5,7.1-12.3l7.1-12.3l8.3-6.9C27,3.1,30.7,0,30.7,0c0,0,0,0.1-0.1,0.3\n\tc-0.1,0.2-4.1,8.8-9,19.2l-8.8,18.9l-6.4,0C2.9,38.5,0,38.5,0,38.5z"})),ot=()=>Object.assign({},window.Config.featureFlags),lt=(e,t)=>{let n,a=t;try{n=JSON.parse(window.localStorage.quartzFlags)}catch(e){n={}}return void 0===a&&(a=!0),n.hasOwnProperty(e)?n[e]===a:!!ot().hasOwnProperty(e)&&ot()[e]===a};window.quartz={toggleFeature:e=>{const t=JSON.parse(window.localStorage.quartzFlags||"{}");return t[e]=!t[e],window.localStorage.quartzFlags=JSON.stringify(t),t[e]},list:()=>{console.log("Currently Available Feature Flags"),console.table(function(){const e=Object.keys(ot()),t={};return e.forEach(e=>{t[e]=lt(e)}),t}())},reset:()=>{const e=JSON.parse(window.localStorage.quartzFlags||"{}");Object.keys(e).forEach(t=>{ot().hasOwnProperty(t)?e[t]=ot()[t]:delete e[t]}),window.localStorage.quartzFlags=JSON.stringify(e)},set:(e,t)=>{const n=JSON.parse(window.localStorage.quartzFlags||"{}");return n[e]=t,window.localStorage.quartzFlags=JSON.stringify(n),n[e]}};const it=(0,He.Ng)(e=>({selectedProvider:$e(e).provider}))(({buttonStatus:e,company:t,companyError:n,organization:a,organizationError:l,firstName:i,firstNameError:s,lastName:c,lastNameError:m,handleChangeCompany:u,handleChangeOrganization:d,handleChangeFirstName:p,handleChangeLastName:g,marketplace:h,selectedProvider:E})=>{const[C,f]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{f(!0),setTimeout(()=>f(!1),4500)},[]),r.createElement(r.Fragment,null,r.createElement(o.Grid.Row,{className:"sign-up--splash marketplace-splash"},r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Ten,offsetMD:o.Columns.One},r.createElement("input",{name:"provider",type:"hidden",value:E,"data-testid":"marketplace-splash--provider"}),r.createElement(o.Panel,{className:"marketplace-splash--panel"},r.createElement(o.Panel.Body,{size:o.ComponentSize.Medium},lt("auth0UniversalLoginEnabled","true")&&r.createElement(r.Fragment,null,r.createElement(nt,{title:"Personal Information"}),r.createElement(o.FlexBox,{direction:o.FlexDirection.Row,margin:o.ComponentSize.Large},r.createElement(o.Form.Element,{label:"First Name",errorMessage:s},r.createElement(o.Input,{name:"firstName",testID:"firstName--input",value:i,type:o.InputType.Text,size:o.ComponentSize.Medium,status:s?o.ComponentStatus.Error:o.ComponentStatus.Default,onCh
1ange:p})),r.createElement(o.Form.Element,{label:"Last Name",errorMessage:m,style:{whiteSpace:"nowrap",marginTop:"0px"}},r.createElement(o.Input,{name:"lastName",testID:"lastName--input",value:c,type:o.InputType.Text,size:o.ComponentSize.Medium,status:m?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:g})))),r.createElement(nt,{title:"Workspace Details"}),r.createElement(o.FlexBox,{direction:o.FlexDirection.Row,margin:o.ComponentSize.Large},r.createElement(o.Form.Element,{label:"Account",helpText:"Your company name",errorMessage:n},r.createElement(o.Input,{name:"company",testID:"company--input",value:t,type:o.InputType.Text,size:o.ComponentSize.Medium,status:n?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:u})),r.createElement(o.Form.Element,{label:"Organization",helpText:"Your first organization or project in your account",errorMessage:l},r.createElement(o.Input,{name:"orgName",testID:"orgName--input",placeholder:"Dev Team, US Eastern Region, Staging",value:a,type:o.InputType.Text,size:o.ComponentSize.Medium,status:l?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:d}))),r.createElement(nt,{title:"Choose a Region",subtitle:"This is where we will store your time series data."}),(e=>{switch(e){case"aws":return r.createElement(Ge,{className:"aws-marketplace"});case"gcm":return r.createElement(at,null);case"azure":return r.createElement(rt,null)}})(h),r.createElement(Qe,null))))),r.createElement(o.Grid.Row,null,r.createElement(tt,{status:e})),r.createElement(et,{show:C}))}),st=()=>r.createElement("svg",{className:"aws-logo",width:"70",height:"70",viewBox:"0 0 70 70"},r.createElement("rect",{className:"a",width:"70",height:"70"}),r.createElement("path",{className:"b",d:"M18.094,22.283a5.2,5.2,0,0,0,.22,1.66,8.44,8.44,0,0,0,.6,1.34.8.8,0,0,1,.14.42.72.72,0,0,1-.36.56l-1.18.78a.86.86,0,0,1-.48.16.76.76,0,0,1-.56-.26,4.76,4.76,0,0,1-.68-.86c-.18-.32-.36-.68-.56-1.1a6.88,6.88,0,0,1-5.48,2.58,5.08,5.08,0,0,1-3.72-1.34,4.72,4.72,0,0,1-1.36-3.58,4.86,4.86,0,0,1,1.68-3.84,6.86,6.86,0,0,1,4.58-1.44,13.5,13.5,0,0,1,2,.14c.7.1,1.4.24,2.14.4v-1.36a4.12,4.12,0,0,0-.88-2.98,4.24,4.24,0,0,0-3.04-.86,8.8,8.8,0,0,0-2,.24,13.7,13.7,0,0,0-2,.64l-.66.24h-.28c-.28,0-.4-.2-.4-.58v-.92a1.24,1.24,0,0,1,.12-.64,1.56,1.56,0,0,1,.54-.4,12,12,0,0,1,2.34-.84,11.4,11.4,0,0,1,2.9-.36,6.74,6.74,0,0,1,4.88,1.52,6,6,0,0,1,1.54,4.58Zm-7.56,2.84a6,6,0,0,0,2-.34,4,4,0,0,0,1.76-1.2,2.72,2.72,0,0,0,.64-1.18,6.36,6.36,0,0,0,.18-1.62v-.84a15.04,15.04,0,0,0-1.78-.26h-1.76a4.26,4.26,0,0,0-2.76.74,2.6,2.6,0,0,0-.92,2.16,2.6,2.6,0,0,0,.68,2,2.66,2.66,0,0,0,1.96.54Zm14.98,2a1.12,1.12,0,0,1-.72-.18,1.46,1.46,0,0,1-.4-.74l-4.36-14.4a2.78,2.78,0,0,1-.16-.76c0-.3.14-.46.44-.46h1.84a1.12,1.12,0,0,1,.72.18,1.48,1.48,0,0,1,.38.74l3.14,12.44,2.94-12.42a1.22,1.22,0,0,1,.36-.74,1.18,1.18,0,0,1,.74-.18h1.5a1.24,1.24,0,0,1,.76.18,1.48,1.48,0,0,1,.36.74l2.9,12.42,3.22-12.48a1.48,1.48,0,0,1,.38-.74,1.12,1.12,0,0,1,.72-.18h1.74a.42.42,0,0,1,.46.46,2,2,0,0,1,0,.3,1.02,1.02,0,0,1-.12.46l-4.52,14.4a1.48,1.48,0,0,1-.38.74,1.2,1.2,0,0,1-.72.18h-1.6a1.06,1.06,0,0,1-.74-.2,1.28,1.28,0,0,1-.36-.74l-2.9-12-2.88,12a1.28,1.28,0,0,1-.36.74,1.1,1.1,0,0,1-.74.2Zm24,.48a12.58,12.58,0,0,1-2.88-.32,8.42,8.42,0,0,1-2.14-.74,1.38,1.38,0,0,1-.58-.52,1.32,1.32,0,0,1-.12-.54v-.94c0-.38.14-.58.42-.58a1.14,1.14,0,0,1,.36,0l.46.2a9.52,9.52,0,0,0,2,.64,10.48,10.48,0,0,0,2.22.24,4.94,4.94,0,0,0,2.72-.62,2,2,0,0,0,.96-1.76,1.76,1.76,0,0,0-.5-1.3,4.58,4.58,0,0,0-1.88-.98l-2.7-.86a5.66,5.66,0,0,1-2.98-1.88,4.48,4.48,0,0,1-.94-2.72,4,4,0,0,1,.5-2,4.94,4.94,0,0,1,1.34-1.54,6,6,0,0,1,2-.96,8.2,8.2,0,0,1,2.36-.32,8.8,8.8,0,0,1,1.24,0l1.22.2,1.06.3.78.32a2.36,2.36,0,0,1,.56.46,1.14,1.14,0,0,1,.16.62v.88q0,.6-.42.6a1.84,1.84,0,0,1-.72-.24,8.7,8.7,0,0,0-3.6-.72,5.02,5.02,0,0,0-2.48.52,1.84,1.84,0,0,0-.88,1.68,1.82,1.82,0,0,0,.56,1.32,5.56,5.56,0,0,0,2,1.02l2.64.84a5.76,5.76,0,0,1,2.88,1.8,4.2,4.2,0,0,1,.86,2.62,4.76,4.76,0,0,1-.48,2.16,4.68,4.68,0,0,1-1.36,1.64,6,6,0,0,1-2,1.06,9.18,9.18,0,0,1-2.7.44Z",transform:"translate(4.666 10.057)"}),r.createElement("path",{className:"c",d:"M54.149,25.718a40.14,40.14,0,0,1-22.7,6.94A41.08,41.08,0,0,1,3.729,22.1c-.58-.52,0-1.24.64-.84a55.62,55.62,0,0,0,27.72,7.36,55.08,55.08,0,0,0,21.16-4.32C54.289,23.858,55.169,24.978,54.149,25.718Z",transform:"translate(3.491 21.142)"}),r.createElement("path",{className:"c",d:"M33.941,23.389c-.8-1.02-5.2-.48-7.18-.24-.6,0-.68-.46-.14-.84,3.5-2.46,9.26-1.76,10-.92s-.18,6.6-3.48,9.36c-.5.42-.98.18-.76-.36C33.061,28.489,34.721,24.349,33.941,23.389Z",transform:"translate(26.259 20.611)"})),ct=({className:e})=>{const t=Y()("gcp-logo",e);return r.createElement("svg",{className:t,viewBox:"0 0 70 70"},r.createElement("defs",null,r.createElement("radialGradient",{id:"a",cx:"10.006",cy:"5.569",r:"74.078",gradientTransform:"translate(0.52 -0.697) scale(0.889 0.889)",gradientUnits:"userSpaceOnUse"},r.createElement("stop",{offset:"0",stopColor:"#fff",stopOpacity:"0.102"}),r.createElement("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0"}))),r.createElement("g",{transform:"translate(0 0)"},r.createElement("path",{className:"google-red",d:"M53.69,25.2h2.14l6.08-6.08.3-2.59A27.35,27.35,0,0,0,17.72,29.88a3.31,3.31,0,0,1,2.13-.13l12.17-2s.62-1,.94-1A15.19,15.19,0,0,1,53.74,25.2Z",transform:"translate(-9.28 -9.69)"}),r.createElement("path",{className:"google-blue",d:"M70.58,29.88a27.42,27.42,0,0,0-8.26-13.32L53.78,25.1a15.14,15.14,0,0,1,5.57,12v1.52a7.6,7.6,0,1,1,0,15.2H44.15L42.63,55.4v9.12L44.15,66h15.2A19.77,19.77,0,0,0,70.58,29.88Z",transform:"translate(-9.28 -9.69)"}),r.createElement("path",{className:"google-green",d:"M28.93,65.94h15.2V53.77H28.93a7.56,7.56,0,0,1-3.14-.69l-2.14.67-6.12,6.08L17,62A19.64,19.64,0,0,0,28.93,65.94Z",transform:"translate(-9.28 -9.69)"}),r.createElement("path",{className:"google-yellow",d:"M28.93,26.46A19.77,19.77,0,0,0,17,61.9l8.82-8.81A7.6,7.6,0,1,1,35.87,43l8.81-8.81A19.74,19.74,0,0,0,28.93,26.46Z",transform:"translate(-9.28 -9.69)"})))},mt=()=>r.createElement("svg",{version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 56 44",width:"70",height:"70",className:"azure-logo"},r.createElement("g",null,r.createElement("path",{className:"st0",d:"M25.9,41.1c7.2-1.3,13.1-2.3,13.2-2.3l0.1,0l-6.8-8.1c-3.7-4.4-6.8-8.1-6.8-8.1c0,0,7-19.4,7.1-19.4\n\t\tc0,0,4.8,8.2,11.6,20c6.4,11,11.6,20.1,11.6,20.2l0.1,0.2l-21.6,0l-21.6,0C12.8,43.4,25.9,41.1,25.9,41.1z"}),r.createElement("path",{className:"st0",d:"M0,38.6c0,0,3.2-5.6,7.1-12.3l7.1-12.3l8.3-7c4.6-3.8,8.3-7,8.3-7c0,0,0,0.1-0.1,0.3c-0.1,0.2-4.1,8.9-9,19.3\n\t\tl-8.8,19l-6.4,0C2.9,38.6,0,38.6,0,38.6z"})));class ut extends r.Component{constructor(){super(...arguments),this.handleClick=()=>{const{onClick:e,provider:t}=this.props;e(t)}}render(){const{provider:e,title:t,isSelected:n,isAvailable:a}=this.props,l=Y()("provider--item",{selected:n});return r.createElement("button",{key:e,className:l,type:o.ButtonType.Button,title:this.buttonTitle,onClick:this.handleClick,disabled:!a},r.createElement("div",{className:"provider--item-title"},r.createElement("p",null,t)),r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,justifyContent:o.JustifyContent.Center,alignItems:o.AlignItems.Center,className:"provider--item-body"},this.logo,this.comingSoonText))}get logo(){switch(this.props.provider){case W.AWS:return r.createElement(st,null);case W.GCP:return r.createElement(ct,null);case W.Azure:return r.createElement(mt,null)}}get buttonTitle(){const{title:e,isAvailable:t}=this.props;return t?`Select ${e} as Cloud Provider`:`${e} is coming soon`}get comingSoonText(){const{isAvailable:e}=this.props;if(!e)return r.createElement("p",{className:"coming-soon"},"COMING SOON")}}const dt=ut;class pt extends r.PureComponent{render(){const{allProviderRegions:e,selectedProvider:t,onSelectProvider:n}=this.props;return r.createElement(r.Fragment,null,r.createElement("input",{name:"provider",type:"hidden",value:t.provider}),r.createElement(o.FlexBox,{direction:o.FlexDirection.Row,margin:o.ComponentSize.Medium,alignItems:o.AlignItems.Stretch,stretchToFitWidth:!0,className:"provder-item--container"},e.providerInfo.map(e=>r.createElement(dt,Object.assign({key:e.provider},e,{isSelected:t.provider===e.provider,onClick:n})))))}}const gt=(0,He.Ng)(e=>({selectedProvider:$e(e),allProviderRegions:e.providerRegion.allProviderRegions}),e=>(0,je.zH)({onSelectProvider:Ye},e))(pt),ht=(0,He.Ng)(e=>({selectedRegionInfo:Ve(e),regions:Je(e)}),e=>(0,je.zH)({onSelectRegion:Xe},e))(({selectedRegionInfo:e,regions:t,onSelectRegion:n,onChange:a,dropdownWidth:l,hideLabel:i})=>{const s=l?{width:`${l}px`}:{};return r.createElement(r.Fragment,null,r.createElement("input",{name:"region",type:"hidden",value:e.region}),r.createElement(o.Form.Element,{label:i?"":"Region"},r.createElement(o.Dropdown,{testID:"region--dropdown",style:s,button:(t,n)=>r.createElement(o.Dropdown.Button,{active:t,onClick:n,color:o.ComponentColor.Primary},r.createElement(We,Object.assign({},e))),menu:l=>r.createElement(o.Dropdown.Menu,{onCollapse:l},t.map(t=>r.createElement(o.Dropdown.Item,{testID:t.title,id:t.title,key:t.title,value:t,onClick:t=>{n(t),a&&a(e,t)},className:"region--dropdown-item"},r.createElement(We,Object.assign({},t)))))})),r.createElement("p",null,"Don't see the region you need?"," ",r.createElement("a",{href:Ke,target:"_blank"},"Let us know"),"."))}),Et=({isAgreeingToTerms:e,handleChangeRegion:t,handleAgreement:n,showReminder:a,buttonStatus:l,company:i,companyError:s,organization:c,organizationError:m,firstName:u,firstNameError:d,lastName:p,lastNameError:g,handleChangeCompany:h,handleChangeOrganization:E,handleChangeFirstName:C,handleChangeLastName:f})=>r.createElement(r.Fragment,null,r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Ten,offsetMD:o.Columns.One},r.createElement(o.Panel,{style:{padding:"3em"}},r.createElement(o.Panel.Body,{size:o.ComponentSize.Medium},lt("auth0UniversalLoginEnabled","true")&&r.createElement(r.Fragment,null,r.createElement(nt,{title:"Personal Information"}),r.createElement(o.FlexBox,{direction:o.FlexDirection.Row,margin:o.ComponentSize.Large},r.createElement(o.Form.Element,{label:"First Name",errorMessage:d},r.createElement(o.Input,{name:"firstName",testID:"firstName--input",value:u,type:o.InputType.Text,size:o.ComponentSize.Medium,status:d?o.ComponentStatus.Error:o.ComponentStatus.Default,onCh
1ange:C})),r.createElement(o.Form.Element,{label:"Last Name",errorMessage:g,style:{whiteSpace:"nowrap",marginTop:"0px"}},r.createElement(o.Input,{name:"lastName",testID:"lastName--input",value:p,type:o.InputType.Text,size:o.ComponentSize.Medium,status:g?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:f})))),r.createElement(nt,{title:"Workspace Details"}),r.createElement(o.FlexBox,{direction:o.FlexDirection.Row,margin:o.ComponentSize.Large},r.createElement(o.Form.Element,{label:"Account",helpText:"Your company name",errorMessage:s},r.createElement(o.Input,{name:"company",testID:"company--input",value:i,type:o.InputType.Text,size:o.ComponentSize.Medium,status:s?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:h})),r.createElement(o.Form.Element,{label:"Organization",helpText:"Your first organization or project in your account",errorMessage:m},r.createElement(o.Input,{name:"orgName",testID:"orgName--input",placeholder:"Dev Team, US Eastern Region, Staging",value:c,type:o.InputType.Text,size:o.ComponentSize.Medium,status:m?o.ComponentStatus.Error:o.ComponentStatus.Default,onChange:E}))),r.createElement(nt,{title:"Storage Provider",subtitle:"This is where we will store your time series data."}),r.createElement(gt,null),r.createElement(ht,{onChange:t,hideLabel:!0}),r.createElement(k,{isError:a,isAgreeing:e,onToggleAgree:n}))))),r.createElement(o.Grid.Row,null,r.createElement(tt,{nextStep:"Choose a plan",status:l})));class Ct extends r.Component{constructor(e){super(e),this.handleChangeRegion=(e,t)=>{if(e===t)return;const{marketplace:n}=this.props;this.setState({isAgreeingToTerms:!!n})},this.handleChangeCompany=e=>{this.setState({company:e.target.value,hasSubmittedForm:!1})},this.handleChangeOrganization=e=>{this.setState({organization:e.target.value,hasSubmittedForm:!1})},this.handleChangeFirstName=e=>{this.setState({firstName:e.target.value,hasSubmittedForm:!1})},this.handleChangeLastName=e=>{this.setState({lastName:e.target.value,hasSubmittedForm:!1})},this.handleSubmit=e=>{const{isAgreeingToTerms:t,company:n,organization:a,firstName:r,lastName:o}=this.state;lt("auth0UniversalLoginEnabled","true")?t&&""!==n&&""!==a&&""!==r&&""!==o||e.preventDefault():t&&""!==n&&""!==a||e.preventDefault(),this.setState({hasSubmittedForm:!0})},this.handleAgreement=()=>{const{isAgreeingToTerms:e}=this.state;this.setState({isAgreeingToTerms:!e,hasSubmittedForm:!1})},this.state={isAgreeingToTerms:!!e.marketplace,hasSubmittedForm:!1,company:"",organization:"",firstName:"",lastName:""}}render(){const{isAgreeingToTerms:e,company:t,organization:n,firstName:a,lastName:l}=this.state,{marketplace:i}=this.props;return r.createElement(o.Grid,{className:"sign-up--splash"},r.createElement("form",{action:"/orgs",method:"POST",onSubmit:this.handleSubmit,"data-testid":"splash-form"},i?r.createElement(it,{buttonStatus:this.continueStatus,marketplace:i,company:t,organization:n,firstName:a,lastName:l,companyError:this.showCompanyError,organizationError:this.showOrganizationError,firstNameError:this.showFirstNameError,lastNameError:this.showLastNameError,handleChangeCompany:this.handleChangeCompany,handleChangeOrganization:this.handleChangeOrganization,handleChangeFirstName:this.handleChangeFirstName,handleChangeLastName:this.handleChangeLastName}):r.createElement(Et,{isAgreeingToTerms:e,handleChangeRegion:this.handleChangeRegion,handleAgreement:this.handleAgreement,showReminder:this.showReminder,buttonStatus:this.continueStatus,company:t,organization:n,firstName:a,lastName:l,companyError:this.showCompanyError,organizationError:this.showOrganizationError,firstNameError:this.showFirstNameError,lastNameError:this.showLastNameError,handleChangeCompany:this.handleChangeCompany,handleChangeOrganization:this.handleChangeOrganization,handleChangeFirstName:this.handleChangeFirstName,handleChangeLastName:this.handleChangeLastName}),r.createElement(p,null)))}get continueStatus(){const{company:e,hasSubmittedForm:t,isAgreeingToTerms:n}=this.state;return t&&n&&e.length>0?o.ComponentStatus.Loading:o.ComponentStatus.Default}get showReminder(){const{hasSubmittedForm:e,isAgreeingToTerms:t}=this.state;return e&&!t}get showCompanyError(){const{company:e,hasSubmittedForm:t}=this.state;return""===e&&t?"Please enter a company name to proceed":""}get showOrganizationError(){const{organization:e,hasSubmittedForm:t}=this.state;return""===e&&t?"Please enter an organization name to proceed":""}get showFirstNameError(){const{firstName:e,hasSubmittedForm:t}=this.state;return""===e&&t?"Please enter a first name to proceed":""}get showLastNameError(){const{lastName:e,hasSubmittedForm:t}=this.state;return""===e&&t?"Please enter a last name to proceed":""}}const ft=Ct;var wt=n(346);const St=(e,t)=>
1e.allProviderRegions.providerInfo.find(e=>e.provider==t),vt=(e,t)=>e.allProviderRegions.regionInfo[t][0],yt={allProviderRegions:{providerInfo:[],regionInfo:{[W.AWS]:[],[W.GCP]:[]}},providerInfo:null,regionInfo:null},bt=(e=yt,t)=>{switch(t.type){case"SET_PROVIDER_INFO":return Object.assign(Object.assign({},e),{providerInfo:St(e,t.payload.provider),regionInfo:vt(e,t.payload.provider)});case"SET_REGION_INFO":{const n=((e,t)=>{const{providerInfo:{provider:n}}=e;return e.allProviderRegions.regionInfo[n].find(e=>e.provider===n&&e.region===t)})(e,t.payload.region);return Object.assign(Object.assign({},e),{regionInfo:n})}default:return e}},xt=(0,je.HY)({providerRegion:bt}),Nt=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||je.Zz;const zt=({clusters:e,marketplace:t,analyticsClient:n,identityProvider:a,successfulSignup:s})=>{const c=function(e){const t=u().uniqBy(e,"providerId").map(e=>({isAvailable:e.isProviderAvailable,provider:e.providerId,title:e.providerName})),n=e.map(e=>({isAvailable:e.isRegionAvailable,priority:e.priority,provider:e.providerId,region:e.regionId,title:e.regionName}));return{providerInfo:t,regionInfo:u().groupBy(n,"provider")}}(e),m=((e={})=>{const t=Nt((0,je.Tw)(wt.P));return(0,je.y$)(xt,e,t)})({providerRegion:Ze(c)}),d=n||new J(window.dataLayer);return s&&d.send_event("influx_cloud_signup_success",{identity_provider:a,marketplace:t}),r.createElement(He.Kq,{store:m},r.createElement(o.AppWrapper,null,r.createElement(o.FunnelPage,{logo:r.createElement(g,null)},r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Eight,offsetMD:o.Columns.Two},r.createElement(l,{text:"Welcome to InfluxData"}),!t&&r.createElement(i,{text:"Just a few things before we get started. No credit card required."})),r.createElement(ft,{marketplace:t}))))},It=({email:e})=>{const[t,n]=(0,r.useState)(o.RemoteDataState.NotStarted),a=t===o.RemoteDataState.Error?"The email could not be sent at this time.":"We have attempted to resend the email. Please check your email.",s=t===o.RemoteDataState.Error?o.IconFont.AlertTriangle:o.IconFont.CheckMark_New,c=t===o.RemoteDataState.Error?o.ComponentColor.Danger:o.ComponentColor.Success,m=t===o.RemoteDataState.Done||t===o.RemoteDataState.Error,u=t===o.RemoteDataState.Loading?o.ComponentStatus.Loading:o.ComponentStatus.Default;return r.createElement(o.AppWrapper,{type:"funnel"},r.createElement(o.FunnelPage,{logo:r.createElement(g,null)},r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,margin:o.ComponentSize.Medium},r.createElement(l,{text:"Email Verification"}),r.createElement(i,{text:"We just need to make sure you're not a robot, but if you are, no\n            hard feelings."}),r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,margin:o.ComponentSize.Medium,className:"sign-up--splash"},m&&r.createElement(o.Alert,{color:c,icon:s},a),r.createElement(o.Panel,null,r.createElement(o.Panel.Body,{size:o.ComponentSize.Large},r.createElement("span",null,"We've sent an email to ",r.createElement("strong",null,e)," with a verification link. ",r.createElement("br",null)," Please click the link to continue.")))),r.createElement("p",null,"Not receiving your verification email?"),r.createElement(o.Button,{titleText:"Resend Email",text:"Resend Email",onClick:()=>(0,me.sH)(void 0,void 0,void 0,function*(){n(o.RemoteDataState.Loading);try{const e=de("verify/resend"),{status:t}=yield ue.A.post(e,{_csrf_token:d()});204!==t&&n(o.RemoteDataState.Error),n(o.RemoteDataState.Done)}catch(e){n(o.RemoteDataState.Error)}}),status:u,color:o.ComponentColor.Primary,size:o.ComponentSize.Medium}))))},Tt=()=>(0,me.sH)(void 0,void 0,void 0,function*(){try{yield ue.A.post(de("accounts"),{_csrf_token:d()}),window.location.href="/splash"}catch(e){console.error(e)}}),Ft=()=>r.createElement(o.AppWrapper,{type:"funnel"},r.createElement(o.FunnelPage,{logo:r.createElement(z,null)},r.createElement(o.Grid.Row,null,r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Eight,offsetMD:o.Columns.Two},r.createElement(o.FlexBox,{direction:o.FlexDirection.Column,alignItems:o.AlignItems.Center,margin:o.ComponentSize.Large},r.createElement(l,{text:"Organization not found"}),r.createElement(i,{text:"You must be in at least one organization to use InfluxDB Cloud"}),r.createElement(o.Alert,{color:o.ComponentColor.Warning,icon:o.IconFont.AlertTriangle,style:{textAlign:"left"}},"You are not currently in any organization"),r.createElement(o.Panel,{className:"invite-org-error"},r.createElement(o.Panel.Body,{size:o.ComponentSize.Large},r.createElement("p",null,"Click the link below to set up your organization or contact your organization admin to request a new invite link."))),r.createElement("p",null,"Next: ",r.createElement("strong",null,"Set up your organization")),r.createElement(o.CTAButton,{color:o.ComponentColor.Primary,text:"Continue",onClick:Tt})," ",r.createElement("p",null,"Issues?",r.createElement("br",null),"Talk to"," ",r.createElement("a",{href:"mailto:[email protected]",target:"_blank"},"[email protected]"))))))),Mt=()=>r.createElement("svg",{width:"47",height:"47",viewBox:"0 0 47 47",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M6.71333 1.22267C8.49209 0.587962 10.4216 0.507815 12.2468 0.992817C14.0721 1.47782 15.7073 2.50515 16.9364 3.93909C18.1655 5.37303 18.9306 7.14611 19.1308 9.02409C19.3309 10.9021 18.9566 12.7966 18.0573 14.4573L46.6147 43.0173L42.844 46.788L14.284 18.228C12.6229 19.1237 10.7293 19.4952 8.85288 19.2933C6.97645 19.0915 5.2052 18.3259 3.77255 17.0974C2.33991 15.8688 1.3131 14.2351 0.827445 12.4114C0.341789 10.5877 0.420077 8.65966 1.05199 6.88134L7.01732 12.8467C7.38631 13.2287 7.82769 13.5334 8.31571 13.7431C8.80372 13.9527 9.3286 14.0631 9.85972 14.0677C10.3908 14.0723 10.9176 13.9711 11.4091 13.77C11.9007 13.5688 12.3473 13.2718 12.7229 12.8963C13.0985 12.5207 13.3955 12.0741 13.5966 11.5825C13.7977 11.0909 13.8989 10.5642 13.8943 10.0331C13.8897 9.50195 13.7794 8.97707 13.5697 8.48905C13.3601 8.00104 13.0554 7.55966 12.6733 7.19067L6.71066 1.22L6.71333 1.22267ZM34.3587 6.24667L42.844 1.532L46.6147 5.30267L41.9 13.788L37.1853 14.732L31.532 20.388L27.7587 16.6173L33.4147 10.9613L34.3587 6.24667ZM16.444 27.932L20.2147 31.7027L6.07333 45.844C5.59252 46.3262 4.94549 46.6061 4.26487 46.6265C3.58426 46.6469 2.92163 46.4062 2.41283 45.9536C1.90404 45.5011 1.58763 44.8711 1.52847 44.1927C1.46931 43.5144 1.67188 42.8391 2.09466 42.3053L2.30266 42.0733L16.444 27.932Z",fill:"#00a3ff"})),Pt=()=>
1r.createElement("svg",{width:"49",height:"52",viewBox:"0 0 49 52",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5.83333 25.8333C5.83333 26.668 7.06267 28.1213 9.91333 29.548C13.604 31.3933 18.8387 32.5 24.5 32.5C30.1613 32.5 35.396 31.3933 39.0867 29.548C41.9373 28.1213 43.1667 26.668 43.1667 25.8333V20.044C38.7667 22.764 32.0387 24.5 24.5 24.5C16.9613 24.5 10.2333 22.7613 5.83333 20.044V25.8333ZM43.1667 33.3773C38.7667 36.0973 32.0387 37.8333 24.5 37.8333C16.9613 37.8333 10.2333 36.0947 5.83333 33.3773V39.1667C5.83333 40.0013 7.06267 41.4547 9.91333 42.8813C13.604 44.7267 18.8387 45.8333 24.5 45.8333C30.1613 45.8333 35.396 44.7267 39.0867 42.8813C41.9373 41.4547 43.1667 40.0013 43.1667 39.1667V33.3773ZM0.5 39.1667V12.5C0.5 5.87333 11.2467 0.5 24.5 0.5C37.7533 0.5 48.5 5.87333 48.5 12.5V39.1667C48.5 45.7933 37.7533 51.1667 24.5 51.1667C11.2467 51.1667 0.5 45.7933 0.5 39.1667ZM24.5 19.1667C30.1613 19.1667 35.396 18.06 39.0867 16.2147C41.9373 14.788 43.1667 13.3347 43.1667 12.5C43.1667 11.6653 41.9373 10.212 39.0867 8.78533C35.396 6.94 30.1613 5.83333 24.5 5.83333C18.8387 5.83333 13.604 6.94 9.91333 8.78533C7.06267 10.212 5.83333 11.6653 5.83333 12.5C5.83333 13.3347 7.06267 14.788 9.91333 16.2147C13.604 18.06 18.8387 19.1667 24.5 19.1667Z",fill:"#00a3ff"})),Dt=()=>r.createElement("svg",{width:"65",height:"48",viewBox:"0 0 65 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M64.5 24L49.4147 39.0853L45.644 35.3147L56.9587 24L45.644 12.6853L49.4147 8.91467L64.5 24ZM8.04133 24L19.356 35.3147L15.5853 39.0853L0.5 24L15.5853 8.91467L19.3533 12.6853L8.04133 24ZM26.6013 48H20.9267L38.3987 0H44.0733L26.6013 48Z",fill:"#00a3ff"}));const kt=new(n(815).p);var At,Lt,Ot;kt.load(window.rudderstack_token,window.rudderstack_data_plane_url,{}),function(e){e.BuildAnApp="build-an-application",e.MonitorAnalyze="monitor-analyze-data",e.LearnInfluxDB="learn-about-influxdb",e.Other="use-case-other"}(At||(At={})),function(e){e.DataFromSensors="data-from-sensors",e.MetricsDataFromApps="metrics-data-from-apps",e.TracingDataFromServices="tracing-from-services",e.IDontKnow="i-dont-know",e.Other="kind-data-other"}(Lt||(Lt={})),function(e){e.NewWorkload="new-workload",e.MigrationFromOss="migration-from-oss",e.MigrationFromCloud="migration-from-cloud",e.Other="migration-other"}(Ot||(Ot={}));var Rt=function(e){return function(t){return r.createElement(a.L,{honeybadger:x},r.createElement(N.Provider,{value:x},r.createElement(e,t)))}};window.dataLayer=window.dataLayer||[],window.Component={ClosePopup:Rt(c),FailedProvisioning:Rt(w),FlashMessage:Rt(y),InviteAccepted:Rt(I),InviteCancelledAccount:Rt(T),InviteEmailError:Rt(F),InviteExpired:Rt(M),InviteSignUp:Rt(R),JoinOrg:Rt(_),MarketplaceRegistrationError:Rt(j),MarketplaceSignUp:Rt(ce),MarketplaceSpinner:Rt(he),Plans:Rt(Pe),SignUp:Rt(_e),Splash:Rt(zt),Personalize:Rt(({email:e})=>{const[t,n]=(0,r.useState)(null),[a,s]=(0,r.useState)(""),[c,u]=(0,r.useState)([]),[d,p]=(0,r.useState)(""),[h,E]=(0,r.useState)(null),[C,f]=(0,r.useState)(""),w=(0,r.useRef)(null),S=e=>{n(e)},v=e=>{E(e)},y=e=>{c.includes(e)?u(c.filter(t=>t!==e)):u([...c,e])};return r.createElement(o.AppWrapper,null,r.createElement(o.FunnelPage,{logo:r.createElement(g,null)},r.createElement(o.Grid.Column,{widthSM:o.Columns.Ten,offsetSM:o.Columns.One,widthMD:o.Columns.Eight,offsetMD:o.Columns.Two},r.createElement(l,{text:"How do you plan to use InfluxDB?"}),r.createElement(i,{text:"We’ll use this to customize your experience"}),r.createElement(o.Form,{action:"https://cloud2.influxdata.com",id:"personalize-form",onSubmit:()=>{const n={email:e,useCase:t===At.Other?a:t,kindOfDataPoured:d?c.join(",").concat(`,${d}`):c.join(","),workloadMigrationType:h===Ot.Other?C:h};var r;kt.track("In-app questionnaire responses",n),r=(0,m.get)(w.current,"props.action",""),window.location.href=r},ref:w},r.createElement(o.Panel,null,r.createElement(o.Panel.Body,null,r.createElement(o.FlexBox,{className:"question-row",margin:o.ComponentSize.Large},r.createElement("div",{className:"question-icon"},r.createElement(Mt,null)),r.createElement(o.Form.Element,{label:"What are you looking to do on InfluxDB?",className:"question-text",required:!0},r.createElement(o.FlexBox,{margin:o.ComponentSize.Medium,direction:o.FlexDirection.Column,alignItems:o.AlignItems.FlexStart},r.createElement(o.Toggle,{tabIndex:1,value:At.BuildAnApp,id:At.BuildAnApp,type:o.InputToggleType.Radio,size:o.ComponentSize.ExtraSmall,onChange:S,checked:t===At.BuildAnApp},r.createElement(o.InputLabel,{htmlFor:At.BuildAnApp},"Build an Application")),r.createElement(o.Toggle,{tabIndex:2,value:At.MonitorAnalyze,id:At.MonitorAnalyze,type:o.InputToggleType.Radio,size:o.ComponentSize.ExtraSmall,onChange:S,checked:t===At.MonitorAnalyze},r.createElement(o.InputLabel,{htmlFor:At.MonitorAnalyze},"Monitor & Analyze Data")),r.createElement(o.Toggle,{tabIndex:3,value:At.LearnInfluxDB,id:At.LearnInfluxDB,type:o.InputToggleType.Radio,size:o.ComponentSize.ExtraSmall,onChange:S,checked:t===At.LearnInfluxDB},r.createElement(o.InputLabel,{htmlFor:At.LearnInfluxDB},"Learn about InfluxDB")),r.createElement(o.Toggle,{tabIndex:4,value:At.Other,id:At.Other,type:o.InputToggleType.Radio,size:o.ComponentSize.ExtraSmall,onChange:S,checked:t===At.Other,style:{marginTop:"18px"}},r.createElement(o.InputLabel,{htmlFor:At.Other},r.createElement(o.Input,{value:a,placeholder:"Other",size:o.ComponentSize.ExtraSmall,style:{marginLeft:"-2px",width:"300px"},onChange:e=>{const t=e.currentTarget.value;s(t)},onFocus:()=>n(At.Other)}
1)))))),r.createElement(o.FlexBox,{className:"question-row",margin:o.ComponentSize.Large},r.createElement("div",{className:"question-icon code-icon"},r.createElement(Dt,null)),r.createElement(o.Form.Element,{label:"What kind of data do you plan to bring into InfluxDB?",className:"question-text",required:!0},r.createElement(o.Form.HelpText,{text:"Check all that are applicable to you"}),r.createElement(o.FlexBox,{margin:o.ComponentSize.Medium,direction:o.FlexDirection.Column,alignItems:o.AlignItems.FlexStart,stretchToFitWidth:!0},r.createElement(o.Toggle,{tabIndex:5,value:Lt.DataFromSensors,id:Lt.DataFromSensors,type:o.InputToggleType.Checkbox,size:o.ComponentSize.Small,checked:c.includes(Lt.DataFromSensors),onChange:y},r.createElement(o.InputLabel,{htmlFor:Lt.DataFromSensors},"Data from IOT sensors, devices etc.")),r.createElement(o.Toggle,{tabIndex:6,value:Lt.MetricsDataFromApps,id:Lt.MetricsDataFromApps,type:o.InputToggleType.Checkbox,size:o.ComponentSize.Small,checked:c.includes(Lt.MetricsDataFromApps),onChange:y},r.createElement(o.InputLabel,{htmlFor:Lt.MetricsDataFromApps},"Metrics data from server, network, infrastructure, applications etc.")),r.createElement(o.Toggle,{tabIndex:7,value:Lt.TracingDataFromServices,id:Lt.TracingDataFromServices,type:o.InputToggleType.Checkbox,size:o.ComponentSize.ExtraSmall,checked:c.includes(Lt.TracingDataFromServices),onChange:y},r.createElement(o.InputLabel,{htmlFor:Lt.TracingDataFromServices},"Tracing, events, or log data from applications")),r.createElement(o.Toggle,{tabIndex:8,value:Lt.IDontKnow,id:Lt.IDontKnow,type:o.InputToggleType.Checkbox,size:o.ComponentSize.ExtraSmall,checked:c.includes(Lt.IDontKnow),onChange:y},r.createElement(o.InputLabel,{htmlFor:Lt.IDontKnow},"I don’t know")),r.createElement("div",{className:"other-kind-of-data--input"},r.createElement(o.Toggle,{tabIndex:9,value:Lt.Other,id:Lt.Other,type:o.InputToggleType.Checkbox,size:o.ComponentSize.ExtraSmall,onChange:y,checked:c.includes(Lt.Other)}),r.createElement(o.Input,{placeholder:"Other",className:"kind-input-field",value:d,size:o.ComponentSize.ExtraSmall,onChange:e=>{const t=e.currentTarget.value;p(t)}}))))),r.createElement(o.FlexBox,{className:"question-row",margin:o.ComponentSize.Large},r.createElement("div",{className:"question-icon"},r.createElement(Pt,null)),r.createElement(o.Form.Element,{label:"Are you migrating an existing workload?",required:!0},r.createElement(o.FlexBox,{className:"answer-choices",direction:o.FlexDirection.Column,alignItems:o.AlignItems.FlexStart,margin:o.ComponentSize.Medium},r.createElement(o.Toggle,{tabIndex:10,value:Ot.NewWorkload,id:Ot.NewWorkload,type:o.InputToggleType.Radio,size:o.ComponentSize.ExtraSmall,checked:h===Ot.NewWorkload,onChange:v},r.createElement(o.InputLabel,{htmlFor:Ot.NewWorkload},"I'm starting a new workload.")),r.createElement(o.Toggle,{tabIndex:11,value:Ot.MigrationFromOss,id:Ot.MigrationFromOss,type:o.InputToggleType.Radio,size:o.ComponentSize.ExtraSmall,checked:h===Ot.MigrationFromOss,onChange:v},r.createElement(o.InputLabel,{htmlFor:Ot.MigrationFromOss},"I'm migrating from InfluxDB OSS.")),r.createElement(o.Toggle,{tabIndex:11,value:Ot.MigrationFromCloud,id:Ot.MigrationFromCloud,type:o.InputToggleType.Radio,size:o.ComponentSize.ExtraSmall,checked:h===Ot.MigrationFromCloud,onChange:v},r.createElement(o.InputLabel,{htmlFor:Ot.MigrationFromCloud},"I'm migrating from a previous InfluxDB Cloud.")),r.createElement(o.Toggle,{tabIndex:14,value:Ot.Other,id:Ot.Other,type:o.InputToggleType.Radio,checked:h===Ot.Other,size:o.ComponentSize.ExtraSmall,onChange:v,style:{marginTop:"18px"}},r.createElement(o.InputLabel,{htmlFor:Ot.Other},r.createElement(o.Input,{placeholder:"I'm migrating from elsewhere (specify).",size:o.ComponentSize.ExtraSmall,style:{marginLeft:"-2px",width:"300px"},onChange:e=>{const t=e.currentTarget.value;f(t)},onFocus:()=>{E(Ot.Other)},value:C})))))))),r.createElement(o.Button,{text:"Continue",className:"submit-button",size:o.ComponentSize.Large,color:o.ComponentColor.Primary,type:o.ButtonType.Submit,status:(()=>{const e=t&&t!==At.Other||t===At.Other&&!!a,n=c.length&&!c.includes(Lt.Other)||!!d,r=h&&h!==Ot.Other||h===Ot.Other&&!!C;return e&&n&&r})()?o.ComponentStatus.Default:o.ComponentStatus.Disabled})))))}),Unverified:Rt(It),UserWithoutAccount:Rt(Ft)}}},n={};function a(e){var r=n[e];
1if(void 0!==r)return r.exports;var o=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,a),o.loaded=!0,o.exports}a.m=t,e=[],a.O=(t,n,r,o)=>{if(!n){var l=1/0;for(m=0;m<e.length;m++){for(var[n,r,o]=e[m],i=!0,s=0;s<n.length;s++)(!1&o||l>=o)&&Object.keys(a.O).every(e=>a.O[e](n[s]))?n.splice(s--,1):(i=!1,o<l&&(l=o));if(i){e.splice(m--,1);var c=r();void 0!==c&&(t=c)}}return t}o=o||0;for(var m=e.length;m>0&&e[m-1][2]>o;m--)e[m]=e[m-1];e[m]=[n,r,o]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.dn=e=>{(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{var e={792:0};a.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[l,i,s]=n,c=0;if(l.some(t=>0!==e[t])){for(r in i)a.o(i,r)&&(a.m[r]=i[r]);if(s)var m=s(a)}for(t&&t(n);c<l.length;c++)o=l[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return a.O(m)},n=self.webpackChunkquartz=self.webpackChunkquartz||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var r=a.O(void 0,[838],()=>a(238));r=a.O(r)})();
2//# sourceMappingURL=./main-61c6526b2b52ed93e212e4d1fc08dc9e.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.