import{r as m,o as e,c as s,F as i,f as d,t as l,k as n,a,h as u,i as h,_ as f,u as b,j as x}from"./app-D4Dqsdnh.js";const k={class:"container my-6 space-y-5 lg:my-12"},v={class:"cards-line grid gap-2.5 items-center lg:grid-cols-[18.75rem,auto,1fr] lg:gap-4"},y={key:0,class:"relative font-semibold lg:text-2xl"},w={key:1,class:"relative font-semibold lg:text-2xl"},$=a("br",{class:"hidden lg:block"},null,-1),L={key:2,class:"relative font-semibold lg:text-2xl"},N={class:"flex flex-wrap gap-2 cards lg:gap-4"},B={class:"relative"},D=["src","alt"],F={class:"relative text-right lg:pl-8 lg:text-left"},C={__name:"Discounts",props:{discounts:Object},setup(c){const V=c,g=t=>/^\d+$/.test(t);return(t,_)=>{const p=m("Link");return e(),s("section",k,[(e(!0),s(i,null,d(c.discounts,o=>(e(),s("div",v,[o.discount==="Free"?(e(),s("p",y,l(t.$t("free")),1)):g(o.discount)?(e(),s("p",w,[n(l(o.discount)+"%",1),$,n(" "+l(t.$t("discount")),1)])):(e(),s("p",L,l(o.discount),1)),a("div",N,[(e(!0),s(i,null,d(o.cards,r=>(e(),s("span",B,[a("img",{src:r.image,width:"81",class:"w-12 lg:w-20",alt:r.name},null,8,D)]))),256))]),a("p",F,[u(p,{href:t.route("webshop.index."+b(x)()),class:"btn btn-yellow"},{default:h(()=>[n(l(t.$t("buy"))+" ",1),u(f)]),_:1},8,["href"])])]))),256))])}}};export{C as default};