PageSourceSearch

https://www1.wdr.de/assets-v5.180.2/js/main.js

js wdr.de collected 2026-09-24 07:58:49 UTC 13,359 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/js/AudioStandalone-D8FEGSpv.js","assets/js/Base-BouCSPYx.js","assets/js/VideoStandalone-CxTIMPic.js","assets/js/ElectionIframe-CXq_uK4T.js","assets/js/Map-CxEGsHdJ.js","assets/js/cookie-k6WjimKA.js","assets/js/FeaturedHeadlines-BbZI2JJq.js","assets/js/Slider-HNUo3rnN.js","assets/js/Quiz-31Q0Tsb9.js","assets/js/StageOnlyTeaser-C7H7vp-I.js","assets/js/TeaserRow-KGEHns9k.js","assets/js/componentUtils-WwnkT-3S.js","assets/js/Tickaroo-CxIIiRcJ.js","assets/js/PortraitTeaser-FHAPNAdT.js","assets/js/Anchor-DoxMYo9W.js","assets/js/Newsletter-xQrBmdvS.js","assets/js/GroupedTeaser-DDZp6l94.js","assets/js/Keyword-BIP3o9Sh.js","assets/js/BlockTeaser-CLQBLD8j.js","assets/js/Comments-BXn9AJqV.js","assets/js/Search-DI8YP1VH.js","assets/js/CheckboxGroup-D0KOAbYY.js","assets/js/Select-Bt_OZF5Q.js","assets/js/Form-DNcWk2Sm.js","assets/js/LeadTeaser-DsmeIldv.js","assets/js/ShortText-BMDeclOR.js","assets/js/ExternalLink-Cg1xImxG.js","assets/js/LinkListArticle-CxkLKveZ.js","assets/js/BannerTeaser-Vl4oSkHs.js","assets/js/LinkListTeaser-Bt_OZF5Q.js","assets/js/Podcasts-BjQanuIO.js","assets/js/Gallery-BQNykPlu.js","assets/js/Embed-ChVeboHw.js","assets/js/CategoryTeaser-D0KOAbYY.js","assets/js/Input-CAg8Witv.js","assets/js/RadioButtonGroup-gwgA38ua.js","assets/js/WeatherTeaser-D0KOAbYY.js","assets/js/SharingBox-BgYiT5Fa.js","assets/js/componentUtils-DPhqJ_t3.js","assets/js/Breadcrumb-BRv3WgY3.js","assets/js/Fo
1oter-HE5ma8kb.js","assets/js/ParagraphWithImage-De9YnhYU.js","assets/js/ImageLightbox-CpTfNGMK.js","assets/js/Header-BqvV0kKJ.js","assets/js/Accordion-CChoS98h.js","assets/js/Pagination-j9P9oj0S.js","assets/js/TextArea-DnGdHo7b.js","assets/js/Table-BWhzpxe1.js","assets/js/AutocompleteController-DnOdFC48.js","assets/js/BaseController-cfQqpEBG.js","assets/js/SearchController-Det5v_5F.js","assets/js/PopupController-BkGXI1FN.js"])))=>i.map(i=>d[i]);
2(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function p(e){return new Promise((r,n)=>{const i=document.createElement("script");i.src=e,i.async=!0,i.onload=()=>r(),i.onerror=()=>n(new Error(`Failed to load script: ${e}`)),document.head.appendChild(i)})}function J(){return window.webappVersion&&window.webappVersion!==""?"assets-v"+window.webappVersion:"assets"}function R(){return!!document.querySelector("[data-extension-ard]")}async function D(){const e=window.webappVersion&&window.webappVersion!==""?"assets-v"+window.webappVersion:"assets";R()&&(window.jQuery||(await p(`/${e}/js/external/jquery-3.7.1.min.js`),window.$=window.jQuery),window.ardPlayerData?.path?await p(window.ardPlayerData.path+"/ardPlayerInit.min.js"):await p("https://exporte.wdr.de/player/current/ardPlayerInit.min.js"))}async function b(){const e=window.webappVersion&&window.webappVersion!==""?"assets-v"+window.webappVersion:"assets";window.jQuery||(await p(`/${e}/js/external/jquery-3.7.1.min.js`),await p(`/${e}/js/external/jquery.cookie.js`),window.$=window.jQuery),await p(`/${e}/js/atiTracker.js`)}function w(){return window.__bugfixes||(window.__bugfixes={componentBugfixes:{},controllerBugfixes:{}}),window.__bugfixes}function y(){return{registerComponentBugfix(e,r){w().componentBugfixes[e]=r},registerControllerBugfix(e,r){w().controllerBugfixes[e]=r},clear(){window.__bugfixes={componentBugfixes:{},controllerBugfixes:{}}},listComponentBugfixes(){return w().componentBugfixes},listControllerBugfixes(){return w().controllerBugfixes}}}function x(e){return window.__bugfixes?.componentBugfixes?.[e]}function C(e){return window.__bugfixes?.controllerBugfixes?.[e]}window.Bugfix=y();window.dispatchEvent(new CustomEvent("bugfixRegistryReady"));const B="modulepreload",S=function(e){return"/"+e},g={},t=function(r,n,i){let o=Promise.resolve();if(n&&n.length>0){let A=function(_){return Promise.all(_.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");o=A(n.map(_=>{if(_=S(_),_ in g)return;g[_]=!0;const d=_.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${_}"]${f}`))return;const u=document.createElement("link");if(u.rel=d?"stylesheet":B,d||(u.as="script"),u.crossOrigin="",u.href=_,c&&u.setAttribute("nonce",c),document.head.appendChild(u),d)return new Promise((O,V)=>{u.addEventListener("load",O),u.addEventListener("error",()=>V(new Error(`Unable to preload CSS for ${_}`)))})}))}function s(a){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=a,window.dispatchEvent(c),!c.defaultPrevented)throw a}return o.then(a=>{for(const c of a||[])c.status==="rejected"&&s(c.reason);return r().catch(s)})},h={AudioStandalone:()=>t(()=>import("./AudioStandalone-D8FEGSpv.js"),__vite__mapDeps([0,1])),VideoStandalone:()=>t(()=>
2import("./VideoStandalone-CxTIMPic.js"),__vite__mapDeps([2,1])),ElectionIframe:()=>t(()=>import("./ElectionIframe-CXq_uK4T.js"),__vite__mapDeps([3,1])),Map:()=>t(()=>import("./Map-CxEGsHdJ.js"),__vite__mapDeps([4,1,5])),FeaturedHeadlines:()=>t(()=>import("./FeaturedHeadlines-BbZI2JJq.js"),__vite__mapDeps([6,7,1])),ImageLightbox:()=>t(()=>import("./ImageLightbox-CpTfNGMK.js"),[]),Quiz:()=>t(()=>import("./Quiz-31Q0Tsb9.js"),__vite__mapDeps([8,1])),StageOnlyTeaser:()=>t(()=>import("./StageOnlyTeaser-C7H7vp-I.js"),__vite__mapDeps([9,10,1,11])),Tickaroo:()=>t(()=>import("./Tickaroo-CxIIiRcJ.js"),__vite__mapDeps([12,1])),PortraitTeaser:()=>t(()=>import("./PortraitTeaser-FHAPNAdT.js"),__vite__mapDeps([13,10,1,11])),Anchor:()=>t(()=>import("./Anchor-DoxMYo9W.js"),__vite__mapDeps([14,1])),Newsletter:()=>t(()=>import("./Newsletter-xQrBmdvS.js"),__vite__mapDeps([15,16,1])),Keyword:()=>t(()=>import("./Keyword-BIP3o9Sh.js"),__vite__mapDeps([17,1])),BlockTeaser:()=>t(()=>import("./BlockTeaser-CLQBLD8j.js"),__vite__mapDeps([18,1])),Comments:()=>t(()=>import("./Comments-BXn9AJqV.js"),__vite__mapDeps([19,1])),Search:()=>t(()=>import("./Search-DI8YP1VH.js"),__vite__mapDeps([20,1])),CheckboxGroup:()=>t(()=>import("./CheckboxGroup-D0KOAbYY.js"),__vite__mapDeps([21,1])),Select:()=>t(()=>import("./Select-Bt_OZF5Q.js"),__vite__mapDeps([22,1])),Form:()=>t(()=>import("./Form-DNcWk2Sm.js"),__vite__mapDeps([23,1])),LeadTeaser:()=>t(()=>import("./LeadTeaser-DsmeIldv.js"),__vite__mapDeps([24,7,1])),ShortText:()=>t(()=>import("./ShortText-BMDeclOR.js"),__vite__mapDeps([25,1])),ExternalLink:()=>t(()=>import("./ExternalLink-Cg1xImxG.js"),__vite__mapDeps([26,1])),LinkListArticle:()=>t(()=>import("./LinkListArticle-CxkLKveZ.js"),__vite__mapDeps([27,1])),BannerTeaser:()=>t(()=>import("./BannerTeaser-Vl4oSkHs.js"),__vite__mapDeps([28,1])),LinkList:()=>t(()=>import("./LinkList-CTvJhSN6.js"),[]),LinkListTeaser:()=>t(()=>import("./LinkListTeaser-Bt_OZF5Q.js"),__vite__mapDeps([29,1])),Podcasts:()=>t(()=>import("./Podcasts-BjQanuIO.js"),__vite__mapDeps([30,1])),Gallery:()=>t(()=>import("./Gallery-BQNykPlu.js"),__vite__mapDeps([31,1,11])),Embed:()=>t(()=>import("./Embed-ChVeboHw.js"),__vite__mapDeps([32,1,5])),CategoryTeaser:()=>t(()=>import("./CategoryTeaser-D0KOAbYY.js"),__vite__mapDeps([33,1])),Input:()=>t(()=>import("./Input-CAg8Witv.js"),__vite__mapDeps([34,1])),RadioButtonGroup:()=>t(()=>import("./RadioButtonGroup-gwgA38ua.js"),__vite__mapDeps([35,1])),WeatherTeaser:()=>t(()=>import("./WeatherTeaser-D0KOAbYY.js"),__vite__mapDeps([36,1])),ShareButton:()=>t(()=>import("./ShareButton-CwIjZiVF.js"),[]),TrafficTeaser:()=>t(()=>import("./TrafficTeaser-CCgJpwbb.js"),[]),TeaserNormal:()=>t(()=>import("./TeaserNormal-Al0UQ5Sy.js"),[]),SharingBox:()=>t(()=>import("./SharingBox-BgYiT5Fa.js"),__vite__mapDeps([37,38])),BreakingNews:()=>t(()=>import("./BreakingNews-CCgJpwbb.js"),[]),TagGroup:()=>t(()=>import("./TagGroup-CZClUwsA.js"),[]),Tag:()=>t(()=>import("./Tag-AbAqtWRv.js"),[]),ScrollToTop:()=>t(()=>import("./ScrollToTop-Dipj2KB1.js"),[]),ChapterMarker:()=>t(()=>import("./ChapterMarker-CCgJpwbb.js"),[]),AnchorLinks:()=>t(()=>import("./AnchorLinks-CwIjZiVF.js"),[]),Button:()=>t(()=>import("./Button-BsB3rEI-.js"),[]),Breadcrumb:()=>t(()=>import("./Breadcrumb-BRv3WgY3.js"),__vite__mapDeps([39,38])),GroupedTeaser:()=>t(()=>import("./GroupedTeaser-DDZp6l94.js"),__vite__mapDeps([16,1])),Footer:()=>t(()=>import("./Footer-HE5ma8kb.js"),__vite__mapDeps([40,1,11])),ParagraphWithImage:()=>t(()=>import("./ParagraphWithImage-De9YnhYU.js"),__vite__mapDeps([41,42])),Header:()=>t(()=>import("./Header-BqvV0kKJ.js"),__vite__mapDeps([43,1,11])),Accordion:()=>t(()=>import("./Accordion-CChoS98h.js"),__vite__mapDeps([44,1])),TeaserRow:()=>t(()=>import("./TeaserRow-KGEHns9k.js"),__vite__mapDeps([10,1,11])),Pagination:()=>t(()=>import("./Pagination-j9P9oj0S.js"),__vite__mapDeps([45,1])),TextArea:()=>t(()=>import("./TextArea-DnGdHo7b.js"),__vite__mapDeps([46,1])),JumpMarks:()=>t(()=>import("./JumpMarks-CcE_tq8n.js"),[]),KeyPoints:()=>t(()=>import("./KeyPoints-WBeqojyV.js"),[]),Table:()=>t(()=>import("./Table-BWhzpxe1.js"),__vite__mapDeps([47,38]))},j=["Header","BreakingNews"];let m=null;function $(e){e instanceof Element&&e.hasAttribute("data-component")&&L(e),e.querySelectorAll("[data-component]").forEach(L)}function L(e){const r=e.getAttribute("data-component");r&&(j.includes(r)?P(r,e):N(e))}function k(){m=new IntersectionObserver(e=>{e.forEach(async r=>{if(r.isIntersecting){const n=r.target.getAttribute("data-component");if(n){I(r.target);try{await P(n,r.target)}catch(i){console.error(`[Lazy Load] Error loading component ${n}:`,i)}}}})},{rootMargin:"50px"})}async function P(e,r){if(!e||!h[e])return Promise.resolve();const n=x(e);if(n)try{const i=await n();new i.default(r).init?.();return}catch(i){console.error(`[Bugfix] Fehler bei Component-Bugfix ${e}:`,i)}try{const i=await h[e];if(!i)throw new Error(`Component "${e}" not found`);const o=await i();new o.default(r).init?.()}catch(i){console.error(`[Component] Fehler beim Laden von ${e}:`,i)}}function Y(e){e.querySelectorAll("[data-component]").forEach(r=>{r.getAttribute("data-component")&&I(r)})}function N(e){m&&m.observe(e)}function I(e){m&&m.unobserve(e)}class l{static instance=null;listeners={};currentView="l";constructor(){}static getInstance(){return l.instance||(l.instance=new l),l.instance}getMockApp(){return{currentView:this.currentView,dispatchEvent:(r,n)=>{const i=this.listeners[r];
2i&&i.forEach(o=>o(n))},addEventListener:(r,n)=>{this.listeners[r]||(this.listeners[r]=new Set),this.listeners[r].add(n)},removeEventListener:(r,n)=>{this.listeners[r]?.delete(n)}}}}const T={"data-ctrl-autocomplete":()=>t(()=>import("./AutocompleteController-DnOdFC48.js"),__vite__mapDeps([48,49])),"data-ctrl-search":()=>t(()=>import("./SearchController-Det5v_5F.js"),__vite__mapDeps([50,49])),"data-ctrl-popup":()=>t(()=>import("./PopupController-BkGXI1FN.js"),__vite__mapDeps([51,49]))};let E=null,v;function q(e){e.querySelectorAll("*").forEach(r=>{Array.from(r.attributes).forEach(n=>{n.name.startsWith("data-ctrl-")&&W(r)})})}function M(){let e=!1;E=new IntersectionObserver(r=>{r.forEach(async n=>{if(n.isIntersecting){const i=n.target;Array.from(i.attributes).forEach(o=>{if(o.name.startsWith("data-ctrl-")&&(e||(e=!0,v=l.getInstance().getMockApp()),v)){z(n.target);try{F(v,o.name,i)}catch(s){console.error(`[Lazy Load] Error loading controller ${o.name}:`,s)}}})}})},{rootMargin:"50px"})}async function F(e,r,n){if(!r||!T[r])return;const i=C(r);if(i)try{const o=await i();new o.default(n).init?.();return}catch(o){console.error(`[Bugfix] Fehler bei Controller-Bugfix ${r}:`,o)}T[r]().then(o=>{const s=o.default??o;if(typeof s=="function"){const a=new s;typeof a.init=="function"&&(a.init(e,n,s.NODE_TYPE),console.log(`Controller ${r} initialized`,n))}else console.error("Controller is not a constructor:",s)})}function W(e){E&&E.observe(e)}function z(e){E&&E.unobserve(e)}function G(){let e=window.innerWidth>980?"desktop":"mobile",r;const n=()=>{const i=window.innerWidth>980?"desktop":"mobile";if(i!==e){e=i;const o=new CustomEvent("viewChange",{detail:i});window.dispatchEvent(o)}};window.addEventListener("resize",()=>{window.clearTimeout(r),r=window.setTimeout(n,100)})}function Q(e=document){$(e),q(e)}async function H(e){const r=document.getElementById(e);if(!r){console.warn(`scrollToAnchor: Element mit ID "${e}" nicht gefunden.`);return}r.scrollIntoView(),await new Promise(n=>{new IntersectionObserver((o,s)=>{o[0].isIntersecting&&(s.disconnect(),n())},{threshold:0}).observe(r)})}async function K(){const e=window.location.hash?window.location.hash.slice(1):null;e&&await H(e)}async function U(){await K(),b(),D(),G(),k(),M(),Q(document)}document.addEventListener("DOMContentLoaded",()=>{U()});export{J as g,$ as i,p as l,Y as u};

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.