PageSourceSearch

https://static.ksta.de/__assets/_nuxt/B-Gj-dmI.js

js ksta.de collected 2026-09-24 08:40:33 UTC 3,589 bytes, 1 lines download raw bytes

1import{c as e}from"./D_on4AFH.js";import{$ as t,$t as n,C as r,G as i,Nt as a,Tt as o,b as s,d as c,f as l,ft as u,h as d,lt as f,m as p,p as m,q as h,r as g,rn as _,x as v}from"./D9d_4q1I.js";import{n as y}from"./5dOcxzJL.js";import{t as b}from"./UEckCLjE.js";import{t as x}from"./Ds9skkgH.js";import{r as S}from"./FJ2DA3F0.js";import{t as C}from"./BOD6q0Xz.js";import{t as w}from"./DCyf4pHg.js";import{t as T}from"./BDNMzG2s.js";import{t as E}from"./DwYtK32x.js";var D={class:`aspect-video overflow-hidden w-full`},O=[`embed-id`,`content-id`],k=function(e){return e.SINGLE=`single`,e.CAROUSEL=`carousel`,e.VERTICAL=`vertical`,e.STARTSEITE_OBEN=`startseite_oben`,e}(k||{}),A=Object.assign(T(r({__name:`SupernextEmbed`,props:{item:{},isInHead:{type:Boolean}},emits:[`fallback`],setup(r,{emit:T}){let A=e(),{isFlutterApp:j,supernextLicenseKey:M}=x(),N=JSON.stringify({templateData:{forceAppTracking:j}});y({script:[{src:A.public.supernextUrl,"data-license-key":M||``,async:!0}]});let P=r,{isMobile:F,isDesktop:I}=C(),{isExpress:L}=w(),{dispatchSupernextVideoStartPreadEvent:R,dispatchSupernextVideoStartPostadEvent:z,dispatchSupernextVideoAdplayEvent:B,dispatchSupernextVideoEndEvent:V}=S(),H=o(null),U=c(()=>{switch(P.item.content?.glomex?.params?.playerType){case k.SINGLE:return L.value&&P.isInHead?!document.referrer&&F?`40599z17miiswkim`:`4059a117lsuh8cz9`:`2zh3y5k2d2j6eztd5o`;case k.CAROUSEL:return L.value?`40599w1hllz4u5kt`:`eexbs16mlggtiq0`;case k.VERTICAL:return`40599w1hloyjszy6`;case k.STARTSEITE_OBEN:return`4059a11tm8edorqa`;default:return L.value?`4059a117lsuh8cz9`:`2zh3y5k2d2j6eztd5o`}}),W=c(()=>P.item.content?.glomex?.params?.id?.startsWith(`v-`)??!1),G=c(()=>{let e=P.item.content?.glomex?.params?.id;return e?W.value?`gmx-${e}`:e:``}),{activePlaying:K}=E(),q=c(()=>K.value?`!bottom-[40px]`:``),J=T,Y=null;Y=e=>{let t=e;G.value&&t.detail?.playlistId===G.value&&J(`fallback`)},document.addEventListener(`x-sn-content-fallback`,Y);let X={play:R,finished_ad:z,started_ad:B,ms_100:V};function Z(e){let t=new Date(e);return Number.isNaN(t.getTime())?``:`${String(t.getDate()).padStart(2,`0`)}.${String(t.getMonth()+1).padStart(2,`0`)}.${t.getFullYear()}`}function Q(e){let t=e?.payload,n=t?.content??{};return{videoID:t?.content_id??n.contentId??``,videoTitel:n.title??``,videoDuration:n.duration??0,videoPublishDate:n.date?Z(n.date):``,videoTags:(n.userTags??[]).join(`, `)}}let $=null;return $=e=>{let t=e.detail,n=t?.type?X[t.type]:void 0;if(!n)return;let r=Q(t);n(r.videoID,r.videoTitel,r.videoDuration,r.videoPublishDate,r.videoTags)},f(H,(e,t)=>{t&&$&&t.removeEventListener(`gv-player-event`,$),!(!e||!$)&&customElements.whenDefined(`sn-video`).then(()=>{H.value===e&&$&&e.addEventListener(`gv-player-event`,$)})},{immediate:!0,flush:`post`}),i(()=>{Y&&document.removeEventListener(`x-sn-content-fallback`,Y),$&&H.value?.removeEventListener(`gv-player-event`,$)}),(e,i)=>{let o=b;return h(),d(g,null,[(r.item.content?.glomex?.params?.playerType===k.SINGLE||!r.item.content?.glomex?.params?.playerType)&&a(L)&&!a(I)?(h(),d(`div`,{key:0,id:`sidebar-dock-target`,class:n(`${a(j)?`dock-container-placement-flutter`:`dock-container-placement`} ${a(q)}`)},null,2)):p(``,!0),l(`div`,D,[v(o,null,{default:u(()=>[r.item.content?.glomex?.params?.id?(h(),d(`sn-video`,{key:0,ref_key:`playerEl`,ref:H,class:`supernext-integration`,"embed-id":`gmx-${a(U)}`,"content-id":a(G)},[(h(),m(t(`script`),{type:`application/json`},{default:u(()=>[s(_(a(N)),1)]),_:1}))],8,O)):p(``,!0)]),_:1})])],64)}}}),[[`__scopeId`,`data-v-85d3bab4`]]),{__name:`MoleculesSupernextEmbed`});export{A as t};

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.