1import{d as F,q as D,u as P,o as S,c as y,e as t,s as N,x as $,g as _,t as n,h as z,_ as B,l as E,m as d,b as v,f as I}from"./CrI-yW5e.js";import{_ as T}from"./BKUDBQtA.js";import{c as M,u as j}from"./RKgA0u53.js";import{u as L}from"./CCmz6oOs.js";const V={class:"bg-[#212240] pt-28 pb-12 lg:pt-36 lg:pb-16"},H={class:"container-wide"},A={class:"mb-6"},J={class:"text-3xl sm:text-4xl lg:text-[42px] font-bold text-white leading-tight mb-4"},O={class:"text-base lg:text-lg text-white/60 max-w-2xl"},R={class:"py-16 lg:py-24 bg-white"},G={class:"container-wide"},K={class:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-16"},Q={class:"text-2xl sm:text-[28px] lg:text-[32px] font-bold text-secondary leading-snug mb-6"},U={class:"text-base text-gray-500 leading-relaxed mb-10"},W=["alt"],X={class:"bg-gray-50 rounded-2xl p-6 sm:p-8 lg:p-10 shadow-soft"},Y={key:0,class:"flex items-center justify-center h-[400px]"},Z={class:"text-center"},tt={class:"text-gray-400 text-sm"},r="hubspot-form-container",st=F({__name:"index",setup(et){const k=D(),{t:u,locale:p}=P(),w=d(()=>p.value==="jp"),f=d(()=>p.value==="pt"),q=d(()=>w.value?"3906dca6-ad8c-4ac1-b707-ba749200392c":f.value?"1f7b4850-30a8-46f4-83c4-6254b43c9ce6":"9bca1a42-90c0-43f2-bb3f-69e9fc48f2f0");L({title:u("bookDemoPage.seoTitle"),description:u("bookDemoPage.seoDesc"),ogType:"website"});const l=E(!1),h=j({formName:"book-a-demo",locale:p});function C(){if(l.value)return;const e=document.createElement("script");e.src="https://js.hsforms.net/forms/v2.js",e.async=!0,e.onload=()=>{window.hbspt&&(window.hbspt.forms.create({portalId:"22107124",formId:q.value,target:`#${r}`,region:f.value?"na1":"na2",onFormReady(){try{const a=document.querySelector(`#${r} iframe`);if(a?.contentDocument){const i=a.contentDocument,x=i.createElement("style");x.textContent=` 2 .hs-form-field > label { 3 display: block !important; 4 font-size: 14px !important; 5 font-weight: 500 !important; 6 color: #33475b !important; 7 margin-bottom: 6px !important; 8 visibility: visible !important; 9 height: auto !important; 10 width: auto !important; 11 position: static !important; 12 clip: auto !important; 13 } 14 .hs-form-field > label .hs-form-required { 15 color: #e74c3c !important; 16 margin-left: 2px; 17 } 18 input.hs-input:not([type="checkbox"]):not([type="radio"]), 19 select.hs-input, 20 textarea.hs-input { 21 border: 1px solid #cbd6e2 !important; 22 border-radius: 4px !important; 23 padding: 10px 12px !important; 24 font-size: 14px !important; 25 width: 100% !important; 26 box-sizing: border-box !important; 27 background: #f5f8fa !important; 28 transition: border-color 0.2s ease !important; 29 } 30 input.hs-input:not([type="checkbox"]):not([type="radio"]):focus, 31 select.hs-input:focus, 32 textarea.hs-input:focus { 33 border-color: #635BFF !important; 34 outline: none !important; 35 background: #fff !important; 36 } 37 select.hs-input { height: 42px !important; appearance: auto !important; } 38 textarea.hs-input { min-height: 100px !important; resize: vertical !important; } 39 .form-columns-2 { display: flex !important; gap: 16px !important; } 40 .form-columns-2 .hs-form-field { flex: 1 !important; } 41 .hs-form-field { margin-bottom: 16px !important; } 42 .hs-button.primary { 43 background-color: #635BFF !important; 44 border-color: #635BFF !important; 45 border-radius: 6px !important; 46 padding: 12px 28px !important; 47 font-size: 15px !important; 48 font-weight: 600 !important; 49 cursor: pointer !important; 50 } 51 .hs-button.primary:hover { background-color: #504
516e4 !important; } 52 .legal-consent-container { font-size: 15px !important; color: #516f90 !important; margin-top: 8px !important; } 53 .legal-consent-container a { color: #635BFF !important; text-decoration: underline !important; } 54 .hs-form-booleancheckbox-display { 55 display: flex !important; align-items: flex-start !important; gap: 8px !important; 56 font-size: 13px !important; line-height: 1.5 !important; cursor: pointer !important; 57 } 58 .hs-form-booleancheckbox-display input[type="checkbox"] { 59 width: 16px !important; height: 16px !important; min-width: 16px !important; margin-top: 2px !important; 60 } 61 .inputs-list { list-style: none !important; padding: 0 !important; margin: 0 !important; } 62 `,i.head.appendChild(x),i.querySelectorAll(".hs-form-field").forEach(b=>{const g=b.querySelector("input, select, textarea"),s=b.querySelector("label");if(!g||!s||s.textContent?.trim())return;const m={firstname:{text:"First name",required:!0},lastname:{text:"Last name",required:!0},email:{text:"Email",required:!0},company:{text:"Company name",required:!0},type_of_company:{text:"Type of Company",required:!0},country__c:{text:"Country",required:!0},phone:{text:"Phone number",required:!1},message:{text:"Message",required:!1}}[g.name];if(m&&(s.textContent=m.text,m.required)){const c=i.createElement("span");c.className="hs-form-required",c.textContent="*",s.appendChild(c)}})}}catch{}M(r);const o=document.querySelector(`#${r} iframe`);o&&h.attach(o)},onFormSubmitted(){h.markSuccess()}}),l.value=!0)},document.head.appendChild(e)}return S(()=>{C()}),(e,o)=>{const a=B;return v(),y("div",null,[t("section",V,[t("div",H,[t("div",A,[N(a,{to:_(k)("/"),class:"inline-block bg-primary text-white text-sm font-medium px-5 py-1.5 rounded-full hover:bg-primary-light transition-colors"},{default:$(()=>[...o[0]||(o[0]=[I(" insureMO ",-1)])]),_:1},8,["to"])]),t("h2",J,n(e.$t("bookDemoPage.heroTitle")),1),t("p",O,n(e.$t("bookDemoPage.heroDesc")),1)])]),t("section",R,[t("div",G,[t("div",K,[t("div",null,[t("h1",Q,n(e.$t("bookDemoPage.infoTitle")),1),t("p",U,n(e.$t("bookDemoPage.infoDesc")),1),t("img",{src:T,alt:e.$t("bookDemoPage.altContactInsuremo"),class:"w-full max-w-md",loading:"lazy"},null,8,W)]),t("div",null,[t("div",X,[t("div",{id:r,class:"hubspot-form-wrapper min-h-[400px]"},[_(l)?z("",!0):(v(),y("div",Y,[t("div",Z,[o[1]||(o[1]=t("div",{class:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary mx-auto mb-4"},null,-1)),t("p",tt,n(e.$t("bookDemoPage.loadingForm")),1)])]))])])])])])])])}}});export{st as default};
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.