1import{a$ as t,aa as a,aj as e}from"./entry.CssAXU4U.js";import{b as s,l as i,c as n,I as l,ae as r,U as u,R as d,u as o,$ as h,P as c,X as g,L as p}from"./swiper-vue.BQRrVgbi.js";const f={key:0,class:""},y=["src","width","height"],j={__name:"Festival",props:{assetsId:{type:Number,default:3},width:{type:Number,default:100},height:{type:Number,default:100}},setup(j){const v=t();s(!1);const m=s(""),{data:w,loading:k,error:_,isStale:b,refresh:q}=a(v),I=[{id:2,url:"https://d3k22jgiqn0yg7.cloudfront.net/api/client/asset_1.json"},{id:3,url:"https://d3k22jgiqn0yg7.cloudfront.net/api/client/asset_2.json"},{id:4,url:"https://d3k22jgiqn0yg7.cloudfront.net/api/client/asset_3.json"},{id:5,url:"https://d3k22jgiqn0yg7.cloudfront.net/api/client/asset_4.webp"}],N=j,L=i((()=>I.find((t=>t.id===N.assetsId)))),$=i((()=>{var t;return(null==(t=L.value)?void 0:t.url)||""})),x=s(null),A=async()=>{try{if(L.value.url.includes(".json")){const t=await fetch(L.value.url),a=await t.json();x.value=a}else m.value=L.value.url}catch(t){}};return n($,(()=>{A()})),l((()=>{A()})),(t,a)=>{const s=r("Vue3Lottie"),i=e;return o(w).isActive?(h(),u("div",f,[o(m)?(h(),u("img",{key:0,src:o(m),width:j.width,loading:"eager",height:j.height},null,8,y)):(h(),c(i,{key:1},{default:g((()=>[p(s,{"animation-data":o(x),width:j.width,height:j.height},null,8,["animation-data","width","height"])])),_:1}))])):d("",!0)}}};export{j 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.