PageSourceSearch

https://www.lobkowicz.cz/_nuxt/Z_fqIZ3o.js

js lobkowicz.cz collected 2026-10-02 10:37:33 UTC 3,038 bytes, 2 lines download raw bytes

1import{a as z}from"./DOVfzyYL.js";import{d as E,g as I,c as p,h as N,i as S,L as b,a as s,o as t,e as i,t as a,b as o,u as r,F as M,D as C,K as _,H as T,n as v,s as f,f as d,I as H,A as k}from"./TvATKHO3.js";import{p as g}from"./D3NKxllR.js";import{g as V}from"./DhiENar-.js";const F={class:"timeline"},W={class:"timeline__title"},A=["innerHTML"],K={class:"timeline__body"},O={key:0,class:"timeline__body-left"},R={class:"timeline__card-content"},U={key:0,class:"timeline__card-year"},j=["innerHTML"],q=["onClick"],G={class:"timeline__card-content"},J={key:0,class:"timeline__card-year"},P=["innerHTML"],Q=["onClick"],X={class:"timeline__footer"},ie=E({__name:"Timeline",props:{title:{},subtitle:{},cta:{},ctaLink:{},items:{}},setup(D){const n=D,u=I(!1),x=p(()=>n.items.filter((l,c)=>c%2===0)),B=p(()=>u.value?n.items:n.items.filter((l,c)=>c%2!==0)),$=p(()=>n.items.length&&n.items[0].image?"big":"small"),m=()=>{u.value=window.innerWidth<768};N(()=>{m(),window.addEventListener("scroll",m)}),S(()=>window.removeEventListener("scroll",m));const y=l=>{V(l.title||"",l.description||"")};return(l,c)=>{const h=z,L=b("check-overflow"),w=b("intersect");return t(),s("div",F,[i("h2",W,a(n.title),1),i("div",{class:"timeline__subtitle",innerHTML:n.subtitle},null,8,A),i("div",K,[r(u)?o("",!0):(t(),s("div",O,[(t(!0),s(M,null,C(r(x),e=>_((t(),s("div",{class:v(["timeline__card",{"timeline__card--with-image":!!e.image}]),style:T({backgroundImage:e.image?`var(--img-overlay), url(${e.image.original_url})`:""}),"data-animation":"slide-fade-in"},[i("div",R,[i("h3",null,[e.year?(t(),s("span",U,a(e.year)+" ",1)):o("",!0),d(" "+a(e.title),
11)]),e.description?_((t(),s("div",{key:0,class:"timeline__card-description",innerHTML:e.description},null,8,j)),[[L]]):o("",!0),i("a",{href:"",class:"underlined-link",onClick:H(()=>y(e),["prevent"])},a(l.$t("content.more")),9,q),e.cta&&e.ctaLink?(t(),f(h,{key:1,to:r(g)(e.ctaLink)},{default:k(()=>[d(a(e.cta),1)]),_:2},1032,["to"])):o("",!0)])],6)),[[w]])),256))])),i("div",{class:v(["timeline__body-right","offset-"+r($)])},[c[0]||(c[0]=i("div",{class:"timeline__card timeline__card--dummy"},null,-1)),(t(!0),s(M,null,C(r(B),e=>_((t(),s("div",{class:v(["timeline__card",{"timeline__card--with-image":!!e.image}]),style:T({backgroundImage:e.image?`var(--img-overlay), url(${e.image.original_url})`:""}),"data-animation":"slide-fade-in"},[i("div",G,[i("h3",null,[e.year?(t(),s("span",J,a(e.year)+" ",1)):o("",!0),d(" "+a(e.title),1)]),e.description?_((t(),s("div",{key:0,class:"timeline__card-description",innerHTML:e.description},null,8,P)),[[L]]):o("",!0),i("a",{href:"",class:"underlined-link",onClick:H(()=>y(e),["prevent"])},a(l.$t("content.more")),9,Q),e.cta&&e.ctaLink?(t(),f(h,{key:1,to:r(g)(e.ctaLink)},{default:k(()=>[d(a(e.cta),1)]),_:2},1032,["to"])):o("",!0)])],6)),[[w]])),256))],2)]),i("div",X,[n.cta&&n.ctaLink?(t(),f(h,{key:0,to:r(g)(n.ctaLink),class:"btn btn--red"},{default:k(()=>[d(a(n.cta),1)]),_:1},8,["to"])):o("",!0)])])}}});export{ie as default};
2//# sourceMappingURL=Z_fqIZ3o.js.map

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.