PageSourceSearch

https://www.diva-e.com/_nuxt/SliderCardsItem.1cffbed1.js

js diva-e.com collected 2026-09-24 09:43:12 UTC 2,033 bytes, 1 lines download raw bytes

1import{_ as g}from"./AnchorLink.vue.e3e3c86d.js";import{_ as x}from"./ResponsiveImage.vue.262bdd56.js";import{_ as A}from"./HoverButton.vue.70ff13c8.js";import{d as B,v as w,c as _,r as C,e as s,f as o,j as l,u as e,q as m,h as a,z as I,s as N,B as $,A as d,n as L}from"./swiper-vue.d06afa39.js";import{a as S,f as T,h as V}from"./entry.ad64c700.js";import{f as q}from"./helper.9024b3e4.js";const j={class:"slider-cards-item"},z={class:"slider-cards-item__img"},D={class:"slider-cards-item__img-wrapper"},G={key:1,class:"slider-cards-item__name dot-blur--16 name"},R={key:0},E={key:1,class:"separator"},F={key:2,class:"date"},H={key:2,class:"slider-cards-item__title h5"},O=B({__name:"SliderCardsItem",props:{blok:{type:Object,required:!0},showAuthor:{type:Boolean,default:!1},linkText:{type:String,required:!0}},setup(n){const u=n,{blok:t}=w(u),{$resolveLink:p}=S(),r=_(()=>p(t.value.full_slug)),h=_(()=>{const c=t.value.content.headline;return c?`Go to ${c}`:"Go to article"}),{locale:f}=T(),k=_(()=>{const c=t.value.content.publish_date;return q(c,!1,f.value)}),i=C({});return(c,J)=>{const v=g,y=x,b=A;return s(),o("div",j,[l("div",{class:L(["slider-cards-item__inner",{"slider-cards-item__inner--clickable":e(r)}]),"data-cursor":"no-cursor"},[e(r)?(s(),m(v,{key:0,to:e(r),class:"slider-cards-item__overlay-link","aria-label":e(h)},null,8,["to","aria-label"])):a("",!0),l("div",z,[l("div",D,[I(y,{image:e(t).content.image,width:"774",height:"434"},null,8,["image"])]),n.linkText&&e(r)?(s(),m(b,{key:0,link:e(r)},{default:N(()=>[$(d(n.linkText),1)]),_:1},8,["link"])):a("",!0)]),e(t).content.publish_date||e(i).name?(s(),o("div",G,[l("div",null,[e(i).name&&n.showAuthor?(s(),o("span",R,d(e(i).name),1)):a("",!0),e(t).content.publish_date&&e(i).name&&n.showAuthor?(s(),o("span",E,"  /  ")):a("",!0),e(t).content.publish_date?(s(),o("span",F,d(e(k)),1)):a("",!0)])])):a("",!0),e(t).content.headline?(s(),o("div",H,d(e(t).content.headline),1)):a("",!0)],2)])}}});const X=V(O,[["__scopeId","data-v-79d9713f"]]);export{X 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.