1import{_ as d}from"./CIbQbuWF.js";import{_ as p}from"./CIwW3HV_.js";import{i as u}from"./BFjBanRC.js";import{u as m}from"./D_Z6hdPC.js";import{_ as g,c as e,d as f,w as k,j as a,g as s,l as o,e as v,h as l}from"#entry";import"./CskG4CW_.js";import"./BuFqeFhg.js";const y={key:0,class:"hp-cta"},L={class:"wrapper"},H={key:0,class:"hp-cta-col cta-col-left"},w={class:"col-left-wrapper"},M=["innerHTML"],T=["innerHTML"],B=["innerHTML"],x={key:0,class:"hp-cta-img cta-img-left"},C={key:1,class:"hp-cta-col cta-col-right"},b={key:0,class:"hp-cta-img cta-img-right"},N=["innerHTML"],V={__name:"HomepageCta",setup(W){const{onMediaQuery:_,appendTo:c,insertBefore:n}=m();return _({query:"(max-width: 980px)",timeout:1,enter:()=>{c(".cta-img-right",".cta-col-left"),n(".cta-img-left",".cta-col-right .cms-extra-images")},leave:()=>{c(".cta-img-left",".cta-col-left"),n(".cta-img-right",".cta-col-right .hp-cta-content")}}),(i,I)=>{const r=d,h=p;return e(),f(h,{fetch:{code:"hp_cta",limit:2}},{default:k(({items:t})=>[t?.length?(e(),a("div",y,[s("div",L,[t[0]?(e(),a("div",H,[s("div",w,[t[0]?.title?(e(),a("h2",{key:0,innerHTML:t[0].title},null,8,M)):o("",!0),t[0]?.title2?(e(),a("h3",{key:1,innerHTML:("italicLastWord"in i?i.italicLastWord:v(u))(t[0]?.title2)},null,8,T)):o("",!0),t[0]?.content?(e(),a("div",{key:2,class:"hp-cta-content",innerHTML:t[0].content},null,8,B)):o("",!0)]),t[0]?.image_upload_path?(e(),a("div",x,[l(r,{data:t[0].image_thumbs?.["width680-height880-crop1"],width:"680",height:"880",alt:t[0]?.title},null,8,["data","alt"])])):o("",!0)])):o("",!0),t[1]?(e(),a("div",C,[t[1]?.image_upload_path?(e(),a("div",b,[l(r,{data:t[1].image_thumbs?.["width680-height880-crop1"],width:"680",height:"880",alt:t[1]?.title},null,8,["data","alt"])])):o("",!0),t[1]?.content?(e(),a("div",{key:1,class:"hp-cta-content",innerHTML:t[1].content},null,8,N)):o("",!0)])):o("",!0)])])):o("",!0)]),_:1})}}},U=g(V,[["__scopeId","data-v-fddf7e1b"]]);export{U 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.