import{_ as h}from"./lZjBw0yj.js";import{d as x,$ as y,l as $}from"./AHiYuuv4.js";import{_ as z}from"./CAQNniay.js";import{u as B}from"./_Fx3VLSE.js";import{u as C}from"./D0Qws29C.js";import{u as F}from"./BQkHUO2l.js";import{l as N,E as t,P as p,J as D,Z as L,u as a,F as n,N as f,U as s}from"./DEIzhR9A.js";import"./McvZN_Cb.js";import"./CXSUenga.js";import"./BZRkhowF.js";import"./D8sTzVSg.js";import"./C4LJZt9n.js";import"./aaK5HZ8-.js";import"./nLZJejse.js";import"./BNS08PCs.js";const q={class:"mb-24"},T=N({__name:"index",setup(E){const d=x(),{fetchByFolder:k}=B(),m=C(),{data:g}=F("lookbooks",()=>k("lookbooks")),v=r=>y(r);return(r,P)=>{const i=h,b=$,w=z;return t(),p("div",q,[(t(!0),p(D,null,L(a(g),(e,o)=>(t(),n(w,{key:o,important:o<2,"placeholder-ratio":"16/9"},{default:f(()=>{var l,c;return[(l=e.content.teaser_image)!=null&&l.filename||(c=e.content.teaser_image_mobile)!=null&&c.filename?(t(),n(b,{key:0,to:`${a(d).path}/${v(e.name)}`},{default:f(()=>{var _,u;return[a(m).isDesktop&&((_=e.content.teaser_image)!=null&&_.filename)?(t(),n(i,{key:0,class:"hidden w-full sm:block",sizes:"sm:100vw md:100vw lg:100vw xl:100vw xxl:100vw 2048:100vw",loading:o>4?"lazy":"auto",quality:"85",provider:"storyblok",src:e.content.teaser_image.filename,alt:e.content.teaser_image.alt},null,8,["loading","src","alt"])):s("",!0),a(m).isMobile&&((u=e.content.teaser_image_mobile)!=null&&u.filename)?(t(),n(i,{key:1,class:"block w-full sm:hidden",sizes:"sm:100vw md:100vw lg:100vw",loading:o>4?"lazy":"auto",provider:"storyblok",quality:"85",src:e.content.teaser_image_mobile.filename,alt:e.content.teaser_image_mobile.alt},null,8,["loading","src","alt"])):s("",!0)]}),_:2},1032,["to"])):s("",!0)]}),_:2},1032,["important"]))),128))])}}});export{T as default};