1import{K as C,e as u,L as x,S as k,g as S,V as $,b as V,a as I}from"./index-a0a0e1a1.js";import{g as l}from"./lodash-86ed0c75.js";import{f as t,D as n,E as p,S as N,P as a,J as e,G as m,F as y,O as L,I as w,U as D,K as B,u as R}from"./vendor-a0789617.js";import"./axios-bb6ee5b8.js";import"./vee-validate-daa3561c.js";import"./swiper-ade697ba.js";/*! @license Third-party license notices: /dist/velux-marketing/client/THIRD_PARTY_NOTICES.txt */const T={class:"col-span-12 old_sm:col-span-5 old_sm:col-start-2"},q={class:"col-span-12 old_sm:col-span-6"},H={class:"prose leading-140 tracking-10 text-14 old_sm:text-16 text-inherit my-4"},O={key:1,class:"h-full flex flex-col"},j={class:"prose leading-140 tracking-10 text-14 old_sm:text-16 text-inherit my-4"},E={__name:"ChooseProductItem",props:{product:{type:Object,required:!0},singleLayout:{type:Boolean,required:!0}},setup(d){const{trackDataLayer:i}=V(),o=d,_=t(()=>{const h=l(o,"product.ProductSetCardImage.value","");return{value:{src:h.src,alt:h.alt}}}),g=t(()=>l(o,"product.ProductSetSolutionName")||{}),v=t(()=>l(o,"product.ProductSetName")||{}),s=t(()=>l(o,"product.ProductSetHeadline")||{}),r=t(()=>l(o,"product.link.value.href")||!1),c=t(()=>l(o,"product.linkText.value")||""),f=()=>{i("click_navigation",!1,{cta_category:"smart home products",element_description:c.value,link_url:r.value,sitecore_item_name:"Choose product module"})};return(h,P)=>(n(),p("div",null,[d.singleLayout?(n(),p(N,{key:0},[a("div",T,[e(C,{class:"mb-5","desktop-ratio":"4/3","mobile-ratio":"4/3",width:"672",media:_.value},null,8,["media"])]),a("div",q,[e(u,{class:"text-old_velux-grey-700 text-11 old_sm:text-16 leading-130 mb-4 uppercase racking-6 font-bold",tag:"p",field:g.value},null,8,["field"]),e(x,{"heading-type":"3","heading-style":"4"},{title:m(()=>[e(u,{field:v.value},null,8,["field"])]),_:1}),a("div",H,[e(k,{field:s.value},null,8,["field"])]),r.value?(n(),y($,{key:0,small:"","link-data":d.product,onClick:f},{default:m(()=>[e(S,{name:"arrow-right","stroke-width":1}),a("span",null,L(c.value),1)]),_:1},8,["link-data"])):w("",!0)])],64)):(n(),p("div",O,[e(C,{class:"mb-5",media:_.value,"desktop-ratio":"4/3","mobile-ratio":"4/3",width:"672"},null,8,["media"]),e(u,{class:"text-old_velux-grey-700 text-11 old_sm:text-16 leading-130 mb-4 uppercase racking-6 font-bold",tag:"p",field:g.value},null,8,["field"]),e(x,{"heading-type":"3","heading-style":"4"},{title:m(()=>[e(u,{field:v.value},null,8,["field"])]),_:1}),a("div",j,[e(k,{field:s.value},null,8,["field"])]),r.value?(n(),y($,{key:0,small:"","link-data":d.product,class:"mt-auto flex items-center font-black tracking-old_6 uppercase",onClick:f},{default:m(()=>[e(S,{name:"arrow-right-button",width:"16"}),a("span",null,L(c.value),1)]),_:1},8,["link-data"])):w("",!0)]))]))}},F=["data-section-name"],K={class:"old_vlx-container old_vlx-grid pb-6"},M={class:"col-span-12"},U={class:"prose leading-140 tracking-10 text-18 old_sm:text-20 text-inherit my-8 inline-block"},X={__name:"ChooseProducts",props:{rendering:{type:Object,required:!0}},setup(d){const i=d,{renderingIndex:o}=I(),_=t(()=>l(i,"rendering.uid")||""),g=t(()=>l(i,"rendering.fields.data.Headline")||{}),v=t(()=>l(i,"rendering.fields.data.Text")||{}),s=t(()=>l(i,"rendering.fields.products")),r=t(()=>
1({"old_sm:grid-cols-2":s.value.length===2,"old_sm:grid-cols-3":s.value.length===3})),c=t(()=>l(i,"rendering.params")),f=t(()=>s.value?.length===1);return(h,P)=>(n(),p("section",{"data-section-name":R(o)(_.value).id,class:B(["py-0",c.value?.ColorValue])},[a("div",K,[a("div",M,[e(x,{"heading-type":"2"},{title:m(()=>[e(u,{field:g.value},null,8,["field"])]),_:1}),a("div",U,[e(k,{field:v.value},null,8,["field"])])])]),a("div",{class:B(["old_vlx-container old_vlx-grid pt-0 pb-18 pt-6",r.value])},[(n(!0),p(N,null,D(s.value,b=>(n(),y(E,{key:b.id,product:b,"product-count":s.value.length,class:"old_mobile:col-span-12","single-layout":f.value},null,8,["product","product-count","single-layout"]))),128))],2)],10,F))}};export{X 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.