1import{m as J}from"./lodash-86ed0c75.js";import{a0 as V,a4 as K,f as t,D as a,F as _,G as P,J as g,u as e,aC as w,bO as Q,ag as R,w as W,a6 as $,a7 as X,E as c,P as d,I as m,K as p,b2 as Y,S as Z,U as ee,c5 as te,r as ae}from"./vendor-a0789617.js";import{a as se,j as le}from"./index-a0a0e1a1.js";import{g as ne}from"./getBackgroundColorDataVariant-846ecfd7.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 oe=V({__name:"AccordionItem",props:{title:{default:""},description:{default:""}},setup(o){const{isMobile:u}=K(),i=t(()=>u.value?"s":"m");return(f,x)=>(a(),_(e(Q),{class:"text-velux-grey-800","header-text":o.title,size:i.value},{default:P(()=>[g(e(w),{size:i.value,field:o.description,"data-as-attribute":"content"},null,8,["size","field"])]),_:1},8,["header-text","size"]))}}),ie=["id","data-section-name","data-test-layout-width","data-variant"],re={class:"new_vlx-container new_vlx-grid"},ce={key:0,class:"col-span-4"},de={class:"flex justify-center mt-6"},ue={key:1,class:"col-span-4"},C=6,be=V({__name:"FaqVDS",props:{rendering:{},params:{},fields:{}},setup(o){const u=o,i={rendering:{uid:"",datasourceHasLanguageVersion:""},params:{backgroundColorValue:"",layoutMarketingValue:"default"},fields:{title:{value:""},text:{value:""},accordionItems:[]}},{renderingIndex:f}=se(),{rendering:x,params:z,fields:M}=J(i,u),{t:D}=R(),{uid:h}=x,{backgroundColorValue:b,layoutMarketingValue:I}=z,{title:B,text:F,accordionItems:l}=M,{isMobile:L,isTablet:A,isDesktopDevice:k}=le(),N=t(()=>ne(b)),s=t(()=>I==="narrow"),S=t(()=>s.value?"narrow":"wide");t(()=>s.value&&k.value),t(()=>k.value?"grid grid-cols-24 gap-6 gap-y-10":"grid grid-cols-1 gap-y-10");const T=t(()=>s.value?" vds_l:col-span-7 vds_l:col-start-5":"vds_l:col-span-8 vds_l:col-start-1"),j=t(()=>s.value?"col-span-full vds_l:col-span-8 vds_l:col-start-13":"col-span-full vds_l:col-span-14 vds_l:col-start-11"),n=ae(0),y=()=>{const r=l.length||0;n.value=Math.min(C,r)};y(),W(()=>l,()=>y(),{deep:!0});const E=t(()=>l.slice(0,n.value)),U=t(()=>n.value<l.length),O=t(()=>L.value||A.value?"s":"m"),q=D("Feature/Magazine/Article List/Load more"),G=()=>{const r=n.value+C;n.value=Math.min(r,l.length)};return(r,ve)=>{const H=$("component-name");return X((a(),c("section",{id:e(h),"data-section-name":e(f)(e(h)).id,"data-test-layout-width":S.value,"data-test":"block-background","data-variant":N.value,class:p([e(b)])},[d("div",re,[s.value?(a(),c("div",ce)):m("",!0),d("div",{class:p(["col-span-full flex flex-col gap-10 mb-2 new_max_min_m:mb-6",T.value]),"data-test":"heading-and-body-container"},[g(e(Y),{tag:"h2",size:"m",field:e(B).value},null,8,["field"]),g(e(w),{size:"m",field:e(F).value,"data-as-attribute":"content"},null,8,["field"])],2),d("div",{class:p(j.value)},[(a(!0),c(Z,null,ee(E.value,v=>(a(),_(oe,{key:v.id,title:v.fields.title.value,description:v.fields.text.value},null,8,["title","description"]))),128)),d("div",de,[U.value?(a(),_(e(te),{key:0,size:O.value,text:e(q),onClick:G},null,8,["size","text"])):m("",!0)])],2),s.value?(a(),c("div",ue)):m("",!0)])],10,ie)),[[H]])}}});export{be 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.