1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./c__r_C1x.js","./CoWASL6P.js","./CtT0-S4g.js","./BwKgipoo.js","./Button.BOt-Scyf.css","./DAYY8Tjb.js","./BDNMzG2s.js","./C8gGp3Jc2.js","./CEBwzvCq2.js","./CCYISEuo2.js","./P9LAMGuV.js","./DOfSgeQe.js","./B-NtN-BY.js","./ReviewRating.D_ZqQrlY.css","./Quote.-2DqbNb0.css"])))=>i.map(i=>d[i]); 2import{n as e}from"./hePW80VL.js";import{Ft as t,L as n,Rt as r,V as i,W as a,X as o,b as s,d as c,f as l,ht as u,l as d,p as f,v as p,x as m}from"./CoWASL6P.js";import{t as h}from"./CtT0-S4g.js";import{t as g}from"./Cl3mPxD32.js";import{t as _}from"./BBqIofo6.js";import{r as v}from"./CSq-Ubgo.js";import{t as y}from"./DznSnEUp.js";var b=[`innerHTML`],x=[`innerHTML`],S=[`innerHTML`],C={key:7},w=m({__name:`Teaser`,props:{data:{},positionOnPage:{default:99},ghostPositions:{default:0},hero:{type:Boolean,default:!1},sidekick:{type:Boolean,default:!1},center:{type:Boolean,default:!1}},emits:[`openVideoModal`],setup(e,{emit:m}){let w=s(()=>h(()=>import(`./c__r_C1x.js`),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),T=s(()=>h(()=>import(`./DAYY8Tjb.js`),__vite__mapDeps([5,1,2,6,7,8,9,10,11,12,13,14]),import.meta.url)),E=e,D=m,O=d(()=>E.data.text?y(E.data.text.replace(/„/g,`“`).replace(/‟/g,`”`)):``),k=d(()=>_(E.data.heading)),A=d(()=>_(E.data.text)),j=d(()=>v(E.positionOnPage,E.ghostPositions)),M=d(()=>({center:E.center,"teaser--quotes":E.hero&&E.data.add_quotes&&E.data.quote_repeater})),N=d(()=>({center:E.center})),P=d(()=>[E.data.alternate_headline?`teaser__heading-alternate`:`teaser__heading`,E.center?`center`:``]),F=d(()=>({center:E.center})),I=d(()=>({center:E.center})),L=e=>{if(e===void 0)return`default`;if(typeof e==`string`&&[`default`,`cta`,`dark`,`square`,`caret`,`social`,`outline`,`solid`,`grey`].includes(e))return e;switch(e){case 1:case`cta`:return`cta`;case 2:return`dark`;case 3:return`square`;case 4:return`social`;default:return`default`}},R=e=>{if(!e)return{url:`#`};if(typeof e==`string`)return{url:e};let t=g(e);return Array.isArray(t)?t[0]??{url:`#`}:t},z=e=>{e&&D(`openVideoModal`,e)};return(s,d)=>(n(),f(`div`,{class:t([M.value,`teaser`])},[e.data.tagline?(n(),f(`div`,{key:0,class:t([N.value,`teaser__tagline`]),innerHTML:e.data.tagline},null,10,b)):l(``,!0),k.value?(n(),c(a(j.value?`h1`:`h2`),{key:1,class:t(P.value),innerHTML:e.data.heading},null,8,[`class`,`innerHTML`])):l(``,!0),s.$slots.default?i(s.$slots,`default`,{},void 0,void 0,2):l(``,!0),A.value?(n(),f(`div`,{key:3,class:t([F.value,`teaser__text`]),innerHTML:O.value},null,10,x)):l(``,!0),e.data.byline?(n(),f(`div`,{key:4,class:t([I.value,`teaser__byline`]),innerHTML:e.data.byline},null,10,S)):l(``,!0),e.hero&&e.data.add_quotes&&e.data.quote_repeater?(n(),c(u(T),{key:5,classes:[`teaser--quote--items`],data:e.data.quote_repeater},null,8,[`data`])):l(``,!0),e.hero?(n(),f(`div`,{key:6,class:t({"multiple-buttons":e.data.button_2_enable})},[e.data.button_1?.button_text&&e.data.button_1?.button_type===`cta`?(n(),c(u(w),{key:0,type:L(`cta`),"has-function":`true`,onFunc:d[0]||(d[0]=t=>z(e.data.button_1.button_file))},{default:o(()=>[p(r(e.data.button_1.button_text),1)]),_:1},8,[`type`])):e.data.button_1?.button_text?(n(),c(u(w),{key:1,link:R(e.data.button_1.button_url),type:L(e.data.button_1.button_type)},{default:o(()=>[p(r(e.data.button_1.button_text),1)]),_:1},8,[`link`,`type`])):l(``,!0),e.data.button_2?.button_text&&e.data.button_2_enable?(n(),c(u(w),{key:2,link:R(e.data.button_2.button_url),type:L(e.data.button_2.button_type)},{default:o(()=>[p(r(e.data.button_2.button_text),1)]),_:1},8,[`link`,`type`])):l(``,!0)],2)):e.sidekick&&e.data.button_1?(n(),f(`div`,C,[e.data.button_1.button_text&&e.data.button_1.button_type===`cta`?(n(),c(u(w),{key:0,type:L(`cta`),"has-function":`true`,onFunc:d[1]||(d[1]=t=>z(e.data.button_1.button_file))},{default:o(()=>[p(r(e.data.button_1.button_text),1)]),_:1},8,[`type`])):l(``,!0)])):e.data.button_text?(n(),c(u(w),{key:8,link:R(e.data.button_url),type:L(e.data.button_type)},{default:o(()=>[p(r(e.data.button_text),1)]),_:1},8,[`link`,`type`])):l(``,!0)],2))}}),T=e({default:()=>E}),E=Object.assign(w,{__name:`MoleculesTeaser`});export{T as n,E 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.