1import{A as c,u as s,o as d,c as i,aH as u,h as p}from"./BZ30Lp4L.js";const y={id:"product-gallery"},f=c({__name:"CldProductGallery",props:{cloudName:{},mediaAssets:{},displayProps:{},aspectRatio:{},imageBreakpoint:{},carouselStyle:{},indicatorProps:{},carouselLocation:{},borderColor:{},borderWidth:{},transition:{},zoom:{type:Boolean},params:{}},setup(t){const a=p(),r=t,l=()=>{if("cloudinary"in window){a.value=window.cloudinary;const o=Object.fromEntries(Object.entries(r).filter(e=>typeof e[1]=="object"?Object.keys(e[1]).length?e:!1:!!e[1]));a.value.galleryWidget({container:"#product-gallery",cloudName:r.cloudName||u().public.cloudinary.cloudName,...o,...r.params}).render()}};return s({script:[{id:`cloudinary-product-gallery-${Math.floor(Math.random()*100)}`,src:"https://product-gallery.cloudinary.com/all.js",onload:l,onerror:o=>console.error(`Failed to load Cloudinary Product Gallery: ${o.message}`)}]}),(o,n)=>(d(),i("div",y))}});export{f 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.