PageSourceSearch

https://insuremo.com/_nuxt/Bsxyz30i.js

js insuremo.com collected 2026-10-02 04:15:48 UTC 6,759 bytes, 48 lines download raw bytes

1import{c as C,u as I}from"./CYGtKsBi.js";import{f as B}from"./U-C9sVX0.js";import{d as E,I as N,u as R,J as q,K as W,o as D,g as r,c,e,t as u,h as d,m as w,l as k,b as f}from"./BFKU04xR.js";import{a as H}from"./BfY1CIL6.js";import{d as T}from"./DyChJTtD.js";import{u as j}from"./BTREJJi1.js";import{s as F}from"./947SCciM.js";import{u as L}from"./Blvz4KCZ.js";import"./SLw_JLJU.js";import"./DsyAXIwx.js";const M={key:0,class:"font-albert"},A={class:"bg-white pt-[200px] pb-[130px]"},P={class:"mx-auto max-w-[1240px] px-4 sm:px-6 lg:px-8 xl:px-0"},V={class:"grid grid-cols-1 lg:grid-cols-2 items-start"},$={class:"lg:pr-[30px]"},J=["src","alt"],K={class:"mt-8 lg:mt-0 lg:pt-[30px] lg:pl-[100px] lg:pr-[50px]"},U={class:"text-[18px] font-normal text-[#445781] tracking-[0.18px] mb-6"},G={class:"text-[34px] font-medium text-[#39364E] leading-[1.3] mb-6"},O={key:0,class:"text-[18px] font-normal text-[#445781] leading-[27px] mb-8"},Q={key:0,class:"flex items-center justify-center py-12","aria-live":"polite"},st=E({__name:"[slug]",async setup(X){let n,h;const s=N(),{locale:x}=R(),g=w(()=>s.params.slug),{data:S}=([n,h]=q(()=>H("whitepapers",g,{populate:"*",locale:x.value})),n=await n,h(),n),t=w(()=>{const a=B(g.value);return T(S.value,a)});if(!t.value)throw W({statusCode:404,statusMessage:"Page Not Found",fatal:!0});j({title:t.value?.pageTitle||t.value?.title||"Whitepaper",description:F(t.value?.description),ogImage:t.value?.coverImage||t.value?.image,ogType:"article",canonicalUrl:s.path}),L({type:"Report",headline:t.value?.pageTitle||t.value?.title||"",description:F(t.value?.description),image:t.value?.coverImage||t.value?.image,url:s.path,articleSection:"Whitepapers"});const b=k(null),m=k(!1),y=I({formName:"whitepaper",locale:x});D(()=>{z()});function z(){if(m.value||!t.value)return;if(document.querySelector('script[src*="hsforms.net/forms/embed"]')){v();return}const o=document.createElement("script");o.src="https://js.hsforms.net/forms/embed/v2.js",o.async=!0,o.onload=()=>v(),document.head.appendChild(o)}function v(){if(!b.value||!t.value)return;const a=window;a.hbspt?.forms&&a.hbspt.forms.create({portalId:"22107124",formId:t.value.hubspotFormId,region:t.value.region||"na1",target:"#hubspot-wp-form",onFormReady(){m.value=!0;try{const i=document.querySelector("#hubspot-wp-form iframe");if(i?.contentDocument){const l=i.contentDocument,_=l.createElement("style");_.textContent=`
2              .hs-form-field > label {
3                display: block !important; font-size: 14px !important; font-weight: 500 !important;
4                color: #33475b !important; margin-bottom: 6px !important;
5                visibility: visible !important; height: auto !important; width: auto !important;
6                position: static !important; clip: auto !important;
7              }
8              .hs-form-field > label .hs-form-required { color: #e74c3c !important; margin-left: 2px; }
9              input.hs-input:not([type="checkbox"]):not([type="radio"]), select.hs-input, textarea.hs-input {
10                border: 1px solid #cbd6e2 !important; border-radius: 4px !important;
11                padding: 10px 12px !important; font-size: 14px !important; width: 100% !important;
12                box-sizing: border-box !important; background: #f5f8fa !important;
13              }
14              input.hs-input:not([type="checkbox"]):not([type="radio"]):focus, select.hs-input:focus, textarea.hs-input:focus {
15                border-color: #635BFF !important; outline: none !important; background: #fff !important;
16              }
17              /* Radio buttons */
18              input[type="radio"].hs-input {
19                width: 16px !important; height: 16px !important; min-width: 16px !important;
20                appearance: radio !important; margin: 0 !important;
21              }
22              .hs-form-radio-display {
23                display: flex !important; align-items: center !important; gap: 8px !important;
24                font-size: 14px !important; line-height: 1.5 !important; cursor: pointer !important;
25              }
26              .hs-form-radio { margin-bottom: 6px !important; }
27              select.hs-input { height: 42px !important; appearance: auto !important; }
28              textarea.hs-input { min-height: 100px !important; resize: vertical !important; }
29              .form-columns-2 { display: flex !important; gap: 16px !important; }
30              .form-columns-2 .hs-form-field { flex: 1 !important; }
31              .hs-form-field { margin-bottom: 16px !important; }
32              .hs-button.primary {
33                background-color: #635BFF !important; border-color: #635BFF !important;
34                border-radius: 6px !important; padding: 12px 28px !important;
35                font-size: 15px !important; font-weight: 600 !important; cursor: pointer !important;
36              }
37              .hs-button.primary:hover { background-color: #5046e4 !important; }
38              .legal-consent-container { font-size: 15px !important; color: #516f90 !important; margin-top: 8px !important; }
39              .legal-consent-container a { color: #635BFF !important; text-decoration: underline !important; }
40              .hs-form-booleancheckbox-display {
41                display: flex !important; align-items: flex-start !important; gap: 8px !important;
42                font-size: 13px !important; line-height: 1.5 !important;
43              }
44              .hs-form-booleancheckbox-display input[type="checkbox"] {
45                width: 16px !important; height: 16px !important; min-width: 16px !important; margin-top: 2px !important;
46              }
47              .inputs-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
48            `,l.head.appendChild(_);const p=l.querySelector(".hs-button.primary");p&&p.value&&(p.value=p.value.replace(/\s*[→⇒➔➝➞➟➠➡➢➣➤→]+\s*$/u,"").trim())}}catch{}C("hubspot-wp-form");const o=document.querySelector("#hubspot-wp-form iframe");o&&y.attach(o)},onFormSubmitted(){y.markSuccess()}})}return(a,o)=>r(t)?(f(),c("div",M,[e("section",A,[e("div",P,[e("div",V,[e("div",$,[e("img",{src:r(t).coverImage,alt:r(t).title,class:"w-full h-auto",loading:"lazy",onError:o[0]||(o[0]=i=>i.target.style.display="none")},null,40,J)]),e("div",K,[e("h6",U,u(a.$t("pages.whitepaperLabel")),1),e("h2",G,u(r(t).pageTitle||r(t).title),1),r(t).subtitle?(f(),c("h6",O,u(r(t).subtitle),1)):d("",!0),e("div",{id:"hubspot-wp-form",ref_key:"formContainerRef",ref:b,class:"hubspot-form-container"},[r(m)?d("",!0):(f(),c("div",Q,[...o[1]||(o[1]=[e("div",{class:"h-8 w-8 animate-spin rounded-full border-2 border-gray-200 border-t-primary"},null,-1),e("span",{class:"sr-only"},"Loading form...",-1)])]))],512)])])])])])):d("",!0)}});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.