1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9589],{19589:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var o=n(6029),r=n(55729),a=n(40484),s=n(3207);let l=e=>{let{classNames:t,url:n}=e,[l,c]=r.useState(!1),[i,m]=r.useState(!1),u=e=>{let t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),n=new RegExp("[?&]".concat(t,"=([^&#]*)")).exec(location.search);return null===n?"":decodeURIComponent(n[1].replace(/\+/g," "))};return r.useEffect(()=>{u("x-amzn-marketplace-token")||(c("Registration Token Missing. Please go to AWS Marketplace and follow the instructions to set up your account!"),m(""))},[]),window.addEventListener("keydown",function(e){if("U+000A"==e.keyIdentifier||"Enter"==e.keyIdentifier||13==e.keyCode)return e.preventDefault(),!1},!0),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.A,{html:"<style>\n .mktoButton {\n display: none !important;\n }\n\n #custom-submit button {\n display: block !important;\n }\n \n \n .req-fields {\n bottom: -45px;\n }\n </style>"}),(0,o.jsxs)("div",{className:"container",children:[l&&(0,o.jsx)("div",{id:"error",className:"my-8 font-bold text-[#792820] bg-[#fadbd8] rounded border-solid border-2 border-[#f9cdc9] p-4",children:l}),i&&(0,o.jsx)("div",{id:"success",className:"my-8 font-bold text-[#082457] bg-[#cfdaee] rounded border-solid border-2 border-[#bccbe7] p-4",children:i}),(0,o.jsxs)("div",{className:"text-center",children:[(0,o.jsx)("img",{className:"mb-4 mx-auto",src:"/file/s87FmSzPSDbHuS1rdOnr.png",alt:"",width:"72",height:"72"}),(0,o.jsx)("h3",{id:"instructions",className:"my-8 font-normal",children:"Please enter the contact details for the person who should receive login and licensing information."})]}),(0,o.jsxs)("form",{style:{display:"none"},id:"html-form",className:"form-signin",method:"POST",encType:"multipart/form-data",children:[(0,o.jsx)("h1",{className:"h3 mb-3 font-weight-normal",children:"Please enter your contact details"}),(0,o.jsx)("label",{htmlFor:"companyName",className:"sr-only",children:"Company name"}),(0,o.jsx)("input",{type:"text",name:"companyName",className:"form-control",placeholder:"Company name",required:!0,autoFocus:!0}),(0,o.jsx)("label",{htmlFor:"contactPersonFirst",className:"sr-only",children:"Contact person first name"}),(0,o.jsx)("input",{type:"text",name:"contactPersonFirst",className:"form-control",placeholder:"Contact person first name",required:!0,autoFocus:!0}),(0,o.jsx)("label",{htmlFor:"contactPersonLast",className:"sr-only",children:"Contact person last name"}),(0,o.jsx)("input",{type:"text",name:"contactPersonLast",className:"form-control",placeholder:"Contact person last name",required:!0,autoFocus:!0}),(0,o.jsx)("label",{htmlFor:"Contact phone",className:"sr-only",children:"Contact phone"}),(0,o.jsx)("input",{type:"tel",name:"contactPhone",className:"form-control",placeholder:"Contact phone",required:!0,autoFocus:!0}),(0,o.jsx)("label",{htmlFor:"contactEmail",className:"sr-only",children:"Email address"}),(0,o.jsx)("input",{type:"email",name:"contactEmail",className:"form-control",placeholder:"Email address",required:!0,autoFocus:!0}),(0,o.jsx)("button",{className:"btn btn-lg btn-primary btn-block",type:"submit",children:"Register"})]}),(0,o.jsx)("div",{id:"awsform",children:(0,o.jsx)(s.default,{classNames:{root:"",container:"awsform bg-white rounded px-7 pb-10 pt-5 w-full m-auto shadow-marketo border border-[#E9E9E9] relative"},link:"",formId:"form_1814",response:"default",inlineResponseTitle:"",inlineResponseBody:""})}),(0,o.jsx)("div",{onClick:function(){var e,t,o;if(!(null==(e=window)?void 0:e.turnstileVerified)&&(null==(o=window)||null==(t=o.location)?void 0:t.hostname)!=="localhost")return c("You must pass Turnstile challenge before submitting.");let r=u("x-amzn-marketplace-token").replaceAll(" ","+");if(r){let e=document.querySelector(".awsform form");if(e||(c("Form not found. Contact support."),m("")),e){let t=function(e){let t={},n=document.querySelector('input[name="Phone"]').value,o=document.querySelector('input[name="Company"]').value,r=document.querySelector('input[name="FirstName"]').value,a=document.querySelector('input[name="LastName"]').value,s=document.querySelector('input[name="Email"]').value;return t.companyName=o,t.contactPhone=n,t.contactPerson="".concat(r," ").concat(a),t.contactEmail=s,t}(e.elements);t.regToken=r;let o=new XMLHttpRequest;o.open("POST","".concat(n,"subscriber"),!0),o.setRequestHeader("Content-Type","application/json"),o.send(JSON.stringify(t)),o.onreadystatechange=()=>{o.readyState==XMLHttpRequest.DONE&&(200!==o.status&&('"Request no valid"'===o.responseText?c("Invalid submission. Fill out all form fields and try again."):c(o.responseText||"Unspecified Error"),m("")),200===o.status&&(c(""),m(o.responseText),document.querySelector(".awsform form").querySelector(".mktoButton").click(),document.getElementById("custom-submit").style.display="none",document.getElementById("instructions").style.display="none",document.getElementById("awsform").style.display="none"))}}}else c("Registration Token Missing. Please go to AWS Marketplace and follow the instructions to set up your account!"),m("")},id:"custom-submit",className:"mktoButtonRow",style:{width:"100%",maxWidth:"100%",display:"block !important"},children:(0,o.jsx)("button",{type:"submit",className:"mktoButton btn m-auto mt-4 block",style:{display:"block !important"},children:"Submit"})}),(0,o.jsx)("p",{className:"mt-5 mb-3 text-muted text-center",children:"\xa9 2024"})]})]})}},40484:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(55729);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var a=["html","dangerouslySetInnerHTML"];let s=function(e){var t=e.html,n=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,a),s=(0,o.useRef)(null),l=(0,o.useRef)(!0);return(0,o.useEffect)(function(){if(!t||!s.current)throw Error("html prop cant't be null");if(l.current){l.current=!1;var e=document.createRange().createContextualFragment(t);s.current.innerHTML="",s.current.appendChild(e)}},[t,s]),o.createElement("div",r({},n,{ref:s}))}}}]);
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.