1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ShareButtons-pL-O_6lt.js","assets/index-sUPB-bMu.js","assets/index-CjsJg3P0.css","assets/ShareButtons-DOncPu2p.css"])))=>i.map(i=>d[i]); 2import{_,k as p,b as s,d as g,o as r,w as l,a,g as i,T as h,c as f,e as U,t as v,p as I}from"./index-sUPB-bMu.js";const k=p(()=>I(()=>import("./ShareButtons-pL-O_6lt.js"),__vite__mapDeps([0,1,2,3]))),B={name:"CardPlan",components:{ShareButtons:k},props:{plan:{type:Object,required:!0}},data(){return{loading:!0}},computed:{shareUrl(){return this.$router.resolve({name:"plansSingle",params:{planUUID:this.plan.uuid}}).href}},methods:{onImageLoad(){this.loading=!1},routeName(){return this.$route.name.startsWith("embed")?"embedPlansSingle":"plansSingle"}}},L={class:"img-wrapper"},N=["src"],S={key:0,class:"spiner-loading"},x={class:"title-wrapper"},C={class:"title"};function R(n,o,e,y,d,t){const c=s("ShareButtons"),m=s("RouterLink");return r(),g(m,{class:"plan-card",to:{name:t.routeName(),params:{planUUID:e.plan.uuid}}},{default:l(()=>[a("div",L,[a("img",{class:"img",src:e.plan.image._optimized[0].url||e.plan.image.url,alt:"",onLoad:o[0]||(o[0]=(...u)=>t.onImageLoad&&t.onImageLoad(...u))},null,40,N),i(h,{name:"fade",mode:"out-in"},{default:l(()=>[d.loading?(r(),f("div",S)):U("",!0)]),_:1})]),a("div",x,[a("p",C,v(e.plan.title),1),i(c,{text:encodeURI(e.plan.description),url:t.shareUrl,direction:"left",color:"primary"},null,8,["text","url"])])]),_:1},8,["to"])}const b=_(B,[["render",R],["__scopeId","data-v-3291ff13"]]);export{b 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.