1import{a as e}from"./nuxt-Dw3LQvcO.mjs";import{A as t,D as n,E as r,H as i,Ht as a,Ln as o,Mn as s,N as c,P as l,Pt as u,Z as d,Zt as f,it as p,k as m,kn as h,tt as g,un as _}from"./vue.runtime.esm-bundler-DK-ieOMu.mjs";import{t as v}from"./_plugin-vue_export-helper-BDNMzG2s.mjs";import{t as y}from"./WebButtonElement-BNGBrWtL.mjs";i(),u(),_();var b={class:`mktg-text`},x={class:`mktg-text-wrapper`},S={class:`mktg-header`},C=[`src`],w=[`innerHTML`],T={key:0,class:`mktg-image`},E=[`src`],D=v({__name:`WebMarketing`,props:{headerText:{type:String},text:{type:String},buttonText:{type:String,default:`Sign Me Up`},buttonLink:{type:String},image:{type:Object}},setup(i){let{$ss:u}=e(),_=r(()=>({"--mktg-background-color":`${u.colors.secondary.container}99`,backgroundImage:u.marketingBlock?.backgroundImage?`url(${u.marketingBlock.backgroundImage})`:null})),v=a(null),D=a(!1),O=null;return g(()=>{O=new IntersectionObserver(([e])=>{e.isIntersecting&&(D.value=!0,O.unobserve(e.target))},{threshold:.15,rootMargin:`0px 0px -80px 0px`}),v.value&&O.observe(v.value)}),d(()=>{O&&v.value&&O.unobserve(v.value)}),(e,r)=>{let a=y;return p(),t(`div`,{ref_key:`root`,ref:v,class:h([`eb2b-marketing`,{"is-visible":f(D)}]),style:s({...f(_),borderRadius:f(u).general.roundedCorners?`0 24px`:`0`})},[n(`div`,{class:h([`mktg-container`,i.image?``:`no-image`])},[n(`div`,b,[n(`div`,x,[n(`div`,S,[f(u).marketingBlock?.icon?(p(),t(`img`,{key:0,src:f(u).marketingBlock.icon,alt:`mktg-icon`},null,8,C)):m(``,!0),c(` `+o(i.headerText),1)]),n(`div`,{class:`text`,innerHTML:i.text},null,8,w)]),l(a,{class:`mktg-button`,label:i.buttonText,icon:`mdi:arrow-right`,size:`large`,"icon-position":`right`,type:`link`,link:i.buttonLink},null,8,[`label`,`link`])]),i.image?(p(),t(`div`,T,[n(`img`,{src:`${i.image.src.split(`?`)[0]}?auto=format%2Ccompress&w=600`,alt:`marketing-image`},null,8,E)])):m(``,!0)],2)],6)}}},[[`__scopeId`,`data-v-664d2f41`]]);export{D as t};
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.