1import{d as e,a as s,k as a}from"./Cm2J8wJT.js";import{ah as l,ak as t,J as i,L as r,M as n,$ as o,S as c,a4 as m,V as p,U as y,Q as g,T as h}from"./Cw52Jb_b.js";import"./oPzPbeIq.js";import"./Dv5-W7ly.js";const d=e({name:"OtherGalleriesContent",setup:()=>({store:s(),config:a()}),props:["items","handlePopupClose","handleGalleryReturn"],computed:{filteredItems(){return this.items&&this.items.length>0&&Array.isArray(this.items)?this.items.slice(0,4):[]}}},"$qwca6KWyww"),_={class:"galleryProposition"},f={class:"galleryProposition__wrapper"},u={key:0,class:"galleryProposition__items"},b=["href"],P={class:"galleryItem__image"},j=["src","alt"],k={class:"galleryItem__info"},v={class:"galleryItem__title"},w={class:"galleryProposition__bottom"};const I=l(d,[["render",function(e,s,a,l,d,I){const G=t("font-awesome-icon");return i(),r("div",_,[n("div",f,[s[6]||(s[6]=n("h4",{class:"galleryProposition__title"},"Zobacz inne galerie",-1)),n("span",{class:"galleryProposition__close",onClick:s[0]||(s[0]=s=>e.handleGalleryReturn())},[o(G,{icon:["fas","times"]})]),e.items&&e.items.length>0&&e.filteredItems?(i(),r("div",u,[(i(!0),r(c,null,m(e.filteredItems,(e=>(i(),r("a",{href:`/lista-galerii/${e.uid}`,class:"galleryProposition__item galleryItem"},[n("span",P,[e&&e.cover?(i(),r("img",{key:0,src:`${e.cover.thumbnail}`,alt:`${e.title} - zdjÄcie gÅówne`}
1,null,8,j)):p("",!0)]),n("span",k,[n("h4",v,y(e.title),1)])],8,b)))),256))])):p("",!0),n("div",w,[s[4]||(s[4]=n("a",{class:g(["btn","btn--primary"]),href:"/lista-galerii"},"WiÄcej galerii",-1)),n("span",{class:g(["btn","btn--secondary"]),onClick:s[1]||(s[1]=(...s)=>e.handleGalleryReturn&&e.handleGalleryReturn(...s))},[o(G,{icon:["fas","chevron-left"]}),s[2]||(s[2]=h()),s[3]||(s[3]=n("span",null,"WróÄ",-1))]),s[5]||(s[5]=n("a",{class:g(["btn","btn--primary"]),href:"/"},"WiÄcej artykuÅów",-1))])])])}]]);export{I 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.