1import{u as c}from"./C384v3zI.js";import{u as h}from"./DYyQN8B2.js";import{H as b,I as g,o as y,c as x,n as w,e as S,J as F,p as _}from"./DXtuKC17.js";const C={__name:"Form",props:{portalId:{type:String,default:"19487793"},formId:{type:String,default:"27907805-9d0b-4fef-a2c4-e41f936f586b"},region:{type:String,default:"na1"}},emits:["submit"],setup(p,{emit:m}){const{setupEmailValidation:d,setupHoneypot:u}=c(),l=m,o=p,e=_(!1);let r=!1;const f=async()=>{if(typeof window>"u"||r)return;const{whenHubSpotFormsReady:i}=h(),s=await i();r||!s||!window.hbspt?.forms||(r=!0,window.hbspt.forms.create({region:o.region,portalId:o.portalId,formId:o.formId,target:"#pricing-form",onFormSubmitted(){e.value=!0,typeof window<"u"&&window.gtag&&window.gtag("event","<pricing-send>",{event:"pricing-send"}),F(()=>{const t=document.getElementById("get-demo-form-container");window.scrollTo({left:0,top:t?.offsetTop-120,behavior:"smooth"}),l("submit")})},onFormReady(t){const n=t.getRootNode();d(t,n),u(t,n);const a=document.createElement("style");a.textContent='.hs-fieldtype-intl-phone {display:flex;gap:8px;} .hs-form-field label {margin-bottom:2px;} .hubspot-form .input textarea.hs-input.hs-fieldtype-textarea {height:120px !important;} .field {margin-bottom:12px;} .hubspot-link__container.sproket {display:none;} .hubspot-form .actions {text-align:right; margin-bottom:0;padding-bottom:0;margin-top:0;padding-top:0;} .hubspot-form .actions .hs-button.primary{height:48px !important;} .hubspot-form .hs-input:not([type=checkbox]),.hubspot-form input { background: #fff !important;height:48px; border-radius: 8px !important;}.hubspot-form .input textarea{height:150px !important; resize:none} .hubspot-form input[type="submit"]{background-color:#0671C0 !important;border-color:#0671C0 !important;font-size:14px !important;}',n.querySelector("head").appendChild(a),t.classList.add("hubspot-form"),typeof history<"u"&&(t.querySelector("input").value=history?.state?.email||"")}}))};return b(()=>{f()}),g(()=>{e.value=!1}),(i,s)=>(y(),x("div",{id:"pricing-form",class:w(["hubspot-form mt-2 scroll-mt-56 lg:scroll-mt-52",S(e)?"enterprises-form-submitted":""])},null,2))}};export{C as _};
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.