PageSourceSearch

https://bhc.com/_nuxt-bhc/MNMOXH5R.js

js bhc.com collected 2026-10-07 00:06:05 UTC 1,906 bytes, 1 lines download raw bytes

1import{d as u,j as h,o as r,k as C,f as p,g as _,h as t,y as m,l as b,r as T,x as f,E as w,G as H,H as L}from"./CKJGdiK1.js";const M={class:"component component--text-hero text-hero gutters"},v={class:"text-hero__container main-container fade-in"},B=["innerHTML"],N=["innerHTML"],V=["innerHTML"],z={__name:"TextHero",props:{component:{type:Object,default:()=>({})}},setup(g){const e=g,o=u(()=>{var a;const{subtext:n,headline:s,tag_type:i}=(a=e==null?void 0:e.component)==null?void 0:a.title;return{subtext:n||"",headline:s||"",tagType:i||"h1"}}),c=u(()=>{var l;const{text:n,styling:s,tablet_container:i,desktop_container:a}=(l=e==null?void 0:e.component)==null?void 0:l.copy;return{text:n||"",styling:s||"body-regular",tabletContainer:i||"wide",desktopContainer:a||"wide"}}),k=u(()=>{const{tabletContainer:n,desktopContainer:s}=c.value;return{"--tablet-container-width":n==="wide"?"654px":"525px","--desktop-container-width":s==="wide"?"1050px":"649px"}}),d=u(()=>{var n;return((n=e==null?void 0:e.component)==null?void 0:n.cta)||!1});return(n,s)=>{var a,l,x;const i=L;return r(),h("section",M,[C("div",v,[t(o).subtext||t(o).headline?(r(),p(T(t(o).tagType),{key:0,class:"text-hero__title"},{default:m(()=>[t(o).subtext?(r(),h("span",{key:0,class:b(["text-hero__subtext subheader",{"headline-style-enabled":t(c).styling==="h1"}]),innerHTML:t(o).subtext},null,10,B)):_("",!0),t(o).headline?(r(),h("span",{key:1,class:"text-hero__headline h1",innerHTML:t(o).headline},null,8,N)):_("",!0)]),_:1})):_("",!0),t(c).text?(r(),h("div",{key:1,class:b(["text-hero__copy wysiwyg",`${t(c).styling}`]),style:f(t(k)),innerHTML:t(c).text},null,14,V)):_("",!0),(a=t(d))!=null&&a.url?(r(),p(i,{key:2,to:(l=t(d))==null?void 0:l.url,target:(x=t(d))==null?void 0:x.target,class:"text-hero__cta btn"},{default:m(()=>{var y;return[w(H((y=t(d))==null?void 0:y.title),1)]}),_:1},8,["to","target"])):_("",!0)])])}}};export{z 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.