1import{r as f,w as v,o as a,a as i,d as l,e as o,g as r,F as y,i as h,j as b,b as t,f as k,t as c,h as C,_ as N}from"./6IIxn3OZ.js";import{_ as B}from"./BWXtQtPH.js";import{u as V}from"./DeERfVqQ.js";import{S,N as A,a as D}from"./TqLrjbEG.js";const E={class:"fixed-w-container px-0 lg:px-5"},P={class:"wvt-careswiper__text"},F={class:"text-3xl font-bold text-center"},L={class:"text-sm mt-2 block text-center font-normal"},j=["src"],G={__name:"DonationCategory",async setup(z){let s,_;const{productApi:d}=V(),p=f([]),u=([s,_]=v(()=>d.getDonationCategories()),s=await s,_(),s);return p.value=u.data,(m,n)=>{const w=N,x=B;return a(),i("div",E,[l(x,null,{default:o(()=>[l(r(S),{modules:[r(A)],"slides-per-view":1,"space-between":20,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{768:{slidesPerView:2,spaceBetween:30},1024:{slidesPerView:3,spaceBetween:30}},class:"swiper wvt-careswiper my-grid"},{default:o(()=>[(a(!0),i(y,null,h(r(p),(e,g)=>(a(),b(r(D),{key:g},{default:o(()=>[l(w,{to:m.localePath(`/donations/donation-category/${e.id}`),class:"wvt-careswiper__item"},{default:o(()=>[t("div",P,[t("h3",F,[k(c(e.title_zh_tw)+" ",1),t("span",L,c(e.title_en),1)]),t("p",null,c(e.summary),1)]),e.image?(a(),i("img",{key:0,class:"wvt-careswiper__img",src:e.image.link,alt:""},null,8,j)):C("",!0)]),_:2},1032,["to"])]),_:2},1024))),128)),n[0]||(n[0]=t("div",{class:"swiper-button-next lg:hidden"},null,-1)),n[1]||(n[1]=t("div",{class:"swiper-button-prev lg:hidden"},null,-1))]),_:1},8,["modules"])]),_:1})])}}};export{G 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.