1import{a as m}from"./Dxx_fesI.js";import{r as p}from"./CtoE6Ekt.js";import{i as u}from"./CgmTomPf.js";import{l as y,$ as f,a7 as d,u as t,V as _,W as k,Z as b,_ as h,n as s}from"./fBC3xEqX.js";const R=y({__name:"card-collection",props:{label:{},collection:{},as:{},class:{type:[Boolean,null,String,Object,Array]},playAnimation:{type:Boolean}},async setup(a){let o,n;const i=f(a,["label","collection"]),{resolveShopifyMetadataLink:c}=p(),{data:e}=([o,n]=d(()=>u(s(()=>a.collection))),o=await o,n(),o),l=s(()=>e.value?.id?c(e.value.id):"");return(g,x)=>{const r=m;return t(l)&&t(e)?.image?(_(),k(r,{key:0,ref:"cardRef",link:t(l),label:a.label||t(e)?.title,"image-shopify":t(e)?.image,as:a.as,class:b(i?.class),"play-animation":a.playAnimation},null,8,["link","label","image-shopify","as","class","play-animation"])):h("",!0)}}});export{R as _};
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.