PageSourceSearch

https://di-volio.com/cz/_nuxt/e4x44VXk.js

js di-volio.com collected 2026-10-05 05:35:36 UTC 1,904 bytes, 1 lines download raw bytes

1import{u as B,y as N,c as l,f as n,g as o,j as i,o as a,d as _,t as V,F as y,q as A,p as r,w as L,K as P,_ as S}from"./K1b_ijTh.js";const q={key:0,class:"w-full px-6 py-16 bg-neutral-surface border-t border-neutral-200 inline-flex flex-col justify-start items-start gap-6","aria-labelledby":"last-viewed-heading"},z={id:"last-viewed-heading",class:"text-neutral-900 text-2xl font-normal font-['Albert_Sans'] leading-8"},C={class:"self-stretch inline-flex flex-wrap justify-start items-center gap-6"},F=["aria-label"],$={__name:"LastViewed",props:{products:{type:Array,default:()=>[]},title:{type:String,default:""},maxVisible:{type:Number,default:4}},setup(h){const b=h,{t:g}=B(),{products:c,title:p,maxVisible:x}=N(b),u=i(()=>Array.isArray(c.value)?c.value.slice(0,x.value).filter(Boolean):[]),w=i(()=>u.value.length>0),k=i(()=>p.value||g("global.Last_viewed")||"Ostatnio oglądane"),d=t=>{const s=t?.photo?.url||(typeof t?.photo=="string"?t.photo:null);return s?`${s}/width=224,fit=scale-down,quality=80`:""},f=t=>!!(t?.photo?.url||t?.photo);return(t,s)=>{const m=P,v=S;return o(w)?(a(),l("section",q,[_("h2",z,V(o(k)),1),_("div",C,[(a(!0),l(y,null,A(o(u),(e,j)=>(a(),l(y,{key:e?.id||j},[e?.url?(a(),r(v,{key:0,to:e.url,class:"w-28 h-28 bg-black/5 rounded-md overflow-hidden flex items-center justify-center","aria-label":e?.display_name||e?.name},{default:L(()=>[f(e)?(a(),r(m,{key:0,src:d(e),alt:e?.display_name||e?.name||"",loading:"lazy",class:"w-full h-full object-contain"},null,8,["src","alt"])):n("",!0)]),_:2},1032,["to","aria-label"])):(a(),l("div",{key:1,class:"w-28 h-28 bg-black/5 rounded-md overflow-hidden flex items-center justify-center","aria-label":e?.display_name||e?.name},[f(e)?(a(),r(m,{key:0,src:d(e),alt:e?.display_name||e?.name||"",loading:"lazy",class:"w-full h-full object-contain"},null,8,["src","alt"])):n("",!0)],8,F))],64))),128))])])):n("",!0)}}};export{$ 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.