PageSourceSearch

https://www.swp.de/static/assets/DT8mv82z.js

js swp.de collected 2026-10-01 09:22:20 UTC 1,697 bytes, 1 lines download raw bytes

1import{_ as y}from"./eNRcJCw9.js";import{_ as h}from"./BD_ODaK-.js";import{d as C,K as x,r as B,o as L,as as S,c as n,j as T,w as a,f as t,e as d,F as A,l as M,i as s,v as O,g as P,k as N,_ as V}from"./2wZnQC37.js";import{_ as $}from"./wtnVEmQg.js";import{S as b}from"./DEHJaEqD.js";const j={class:"splide__track"},F={class:"splide__list"},I={class:"u-wrapper-slider__arrows splide__arrows"},R=C({__name:"TeaserSlider",props:{title:{},sectionLinks:{},teaserLayout:{default:"8"},sliderOptions:{default:{}},articles:{}},emits:["teaser-clicked"],setup(p,{emit:u}){const r=p,m=u,f=x(()=>r.articles?.map(e=>({...e,layout:r.teaserLayout}))),o=B(null);let i=null;function k(e){m("teaser-clicked",e)}return L(()=>{o.value&&(i=new b(o.value,{pagination:!1,mediaQuery:"min",perPage:1,perMove:1,gap:"3rem",breakpoints:{767:{perPage:2},992:{perPage:3}},...r.sliderOptions}).mount())}),S(()=>{i?.destroy()}),(e,E)=>{const g=y,l=h,_=V,w=$;return e.articles?(n(),T(w,{key:0,title:e.title,"section-links":e.sectionLinks},{default:a(()=>[t("div",{ref_key:"sliderRef",ref:o,class:"u-teaser-slider__slider splide"},[t("div",j,[t("ul",F,[(n(!0),d(A,null,M(P(f),(c,v)=>(n(),d("li",{class:"u-teaser-slider__slide splide__slide",key:v},[s(g,O({ref_for:!0},c,{onClick:()=>k(c)}),null,16,["onClick"])]))),128))])]),t("div",I,[s(_,{class:"splide__arrow splide__arrow--prev",version:"primary-icon",title:"Zurück"},{default:a(()=>[s(l,{direction:"left"})]),_:1}),s(_,{class:"splide__arrow splide__arrow--next",version:"primary-icon",title:"Weiter"},{default:a(()=>[s(l,{direction:"right"})]),_:1})])],512)]),_:1},8,["title","section-links"])):N("",!0)}}}),q=Object.assign(R,{__name:"OrganismsTeaserSlider"});export{q as _};

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.