PageSourceSearch

https://www.ardmediathek.de/56182.1788868624859.js

js ardmediathek.de collected 2026-09-24 09:02:09 UTC 6,620 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkweb||=[]).push([[56182],{66669(e,n,t){t.d(n,["n",0,{all:100},"o",0,{all:6,m:4,l:3,xxl:2.4}])},4823(e,n,t){t.r(n),t.d(n,{default:()=>q});var s=t(11069),i=t(88270),r=t(32604),l=t(46128),o=t(11280),a=t(62284);const c=t.p+"emptyState-history-preSchool.1788868624859.png",u=t.p+"emptyState-history-preTeens.1788868624859.png",d=t.p+"emptyState-history-school.1788868624859.png",h=t.p+"emptyState-history.1788868624859.svg";var x=t(93819),m=t(86070);function p(e){switch((0,l.O4)(o.s8.ARD,e).id){case a.K.KIDS_PRE_SCHOOL:return c;case a.K.KIDS_PRE_TEENS:return u;case a.K.KIDS_SCHOOL:return d;default:return h}}const f=function(){const e=(0,x.yR)();return(0,m.jsx)("div",{className:(0,r.cx)(s.so.base),children:(0,m.jsx)(i.A,{title:e?"Vorschläge":"Derzeit keine Empfehlungen verfügbar",text:e?"Du weißt noch nicht, was du schauen möchtest? Hier sind ein paar Vorschläge für dich.":"In Kürze haben wir hier persönliche Empfehlungen für Sie.",image:p(e)})})};var b=t(30758),g=(t(88019),t(32145),t(26801)),E=t(67975),y=t(26697),v=t(24763),j=t(3607),w=t(38834);const S="b3fu7t1",C="bh5svcl",L="b1q14ows";const I=function({isVisible:e,children:n,href:t}){return e?t?(0,m.jsx)("a",{href:t,children:(0,m.jsx)("h2",{className:(0,r.cx)(j.Z.base,j.Z.heading03,L),children:n})}):(0,m.jsx)("h2",{className:(0,r.cx)(j.Z.base,j.Z.heading03,L),children:n}):null};function T(e,n){const t=n.all||1,s=n.xs||t,i=n.s||s,r=n.m||i,l=n.l||r,o=n.xl||l,a=n.xxl||o,c=n.ssr||t,u=e.all||12,d=e.xs||u,h=e.s||d,x=e.m||h,m=e.l||x,p=e.xl||m,f=e.xxl||p,b=e.ssr||u;if((0,w.o)()){const e=window.innerWidth;return e<=g.L.xs?12/u*t:e<=g.L.s?12/d*s:e<=g.L.m?12/h*i:e<=g.L.l?12/x*r:e<=g.L.xl?12/m*l:e<=g.L.xxl?12/p*o:e>g.L.xxl?12/f*a:2*t}return 12/b*c}function P(e,n,t,s,i,l){const o=n;return(0,b.useMemo)(()=>e&&e.slice(t,l).map(e=>(0,b.createElement)(y.VP,{...s,key:e.id,className:(0,r.cx)(C)},(0,m.jsx)(o,{...e,isLoadingEagerly:i}))),[e,n,t,l])}function A({title:e,hasVisibleTitle:n=!0,titleLink:t,items:s,isLoadingEagerly:i=!1,buttonTextCollapsed:l="Mehr anzeigen",buttonTextExpanded:o="Weniger anzeigen",itemAs:a=v.n,uncollapsedRows:c={all:2,xs:2,s:2,m:2,l:2,xl:2,xxl:2,ssr:2},columnProps:u={all:6,xs:6,s:6,m:4,l:3,xl:3,xxl:2.4},onChange:d,isExpandedInitially:h}){const[x,p]=(0,b.useState)(()=>T(u,c)),f=P(s,a,0,u,i,x),g=P(s,a,x,u,!1,s.length),w=(0,b.useMemo)(()=>({type:"secondary",text:l}),[l]),C=(0,b.useMemo)(()=>({type:"secondary",text:o}),[o]);return(0,b.useEffect)(()=>{function e(){p(T(u,c))}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,m.jsxs)("div",{className:(0,r.cx)(S),children:[e&&(0,m.jsx)(I,{href:t,isVisible:n,children:e}),s&&s.length>0?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(y.fI,{my:0,outerSpace:"none",p:0,children:f}),s.length>x&&(0,m.jsx)(E.x0,{buttonCollapsed:w,buttonExpanded:C,isCollapsable:!0,onChange:d,isExpandedInitially:h,children:(0,m.jsx)(y.fI,{my:0,outerSpace:"none",p:0,children:g})})]}):(0,m.jsx)("h2",{className:(0,r.cx)(j.Z.base,j.Z.heading04),children:"Keine Inhalte verfügbar"})]})}const N=b.memo(A);var R=t(48702),M=t(66669),z=t(65583),k=t(49364),K=t(62829),$=t(37752),_=t(1286),D=t(58313);function H({columnProps:e={all:6,xs:6,s:4,m:4,l:4,xl:3,xxl:2.4},uncollapsedRows:n={all:2,xs:2,s:2,m:2,l:2,xl:2,ssr:2},teaserProps:t}){const s=T(e,n);return(0,m.jsx)("div",{className:(0,r.cx)(S),children:(0,m.jsx)(y.fI,{children:Array(s).fill(!0).map((n,s)=>(0,b.createElement)(y.VP,{...e,key:s},(0,m.jsx)(D.d,{...t})))})})}const O=b.memo(H);const V=function(){return(0,m.jsx)(O,{uncollapsedRows:M.n,columnProps:M.o})};var X=t(72894);const B=(0,_.A)(function(){const{data:e}=(0,K.st)(`${k.A.API_HOST}/static/personalized-recommendations`,{personalized:!0,teaserCount:20,ageRated:!0}),n=(0,X.Fo)(0,"X6BBimQxzfcMNpfNkYEmv",(0,X.jH)("meins-009",(0,X.dp)(o.cq.TEASER_CLICK))),t=(0,X.dp)(o.cq.BOOKMARK_CLICK),s=(0,X.Fo)(0,"X6BBimQxzfcMNpfNkYEmv",(0,X.dp)(o.cq.TEASER_IMPRESSION)),i=(0,$.A)({hasClickEffect:z.A.animationEnabled,onTeaserClick:n,onWatchlistButtonClick:t,onTeaserVisible:s},e?.teasers);return i?(0,m.jsx)(N,{title:"Empfehlungen",hasVisibleTitle:!1,items:i,itemAs:R.A,uncollapsedRows:M.n,columnProps:M.o}):(0,m.jsx)(f,{})},V);var Z=t(1861),F=t(73311);const q=function(){return(0,Z.A)({title:"Empfehlungen | Meins"}),F.Ay.id?(0,m.jsx)(B,{}):(0,m.jsx)(f,{})}},67975(e,n,t){t.d(n,{i_:()=>u,x0:()=>x});var s=t(86070),i=t(32604),r=t(30758),l=t(96802),o=t(44593),a=t(38834),c=t(63225);var u;function d(e){return e.current?e.current.clientHeight:0}function h(e,n,t,s){if((0,a.o)()&&t){let i=t.clientHeight,r=s;return n!==u.PIXEL&&(i=Number((i/16).toFixed(2)),r=s/16),Math.abs(i-e)<=r||i<e?`${i}${n}`:`${e}${n}`}return"auto"}function x({buttonCollapsed:e,buttonExpanded:n,buttonPosition:t="bottom",isCollapsable:a=!0,closedHeight:x=0,heightType:m=u.PIXEL,rounding:p=16,children:f,isExpandedInitially:b=!1,onChange:g,hasShadow:E,buttonTextCollapsed:y="Mehr anzeigen",buttonTextExpanded:v="Weniger anzeigen"}){const j=(0,r.useRef)(null),[w,S]=(0,r.useState)(()=>h(x,m,j.current,p)),[C,L]=(0,r.useState)(b),[I,T]=(0,r.useState)(!0),P=(0,r.useRef)(null),A=function(e,n,t,s,i){return{height:"auto"===t?void 0:e?d(n):t??0,maxHeight:"auto"===t?`${s}${i}`:"unset"}}(C,j,w,x,m);function N(e){e?(P.current&&(P.current.style.transitionDuration="250ms"),setTimeout(()=>{P.current&&(P.current.style.overflow="visible")},200)):(d(j),P.current&&(P.current.style.transitionDuration="250ms",P.current.style.overflow="hidden")),L(e),g&&g({isCollapsed:!e})}function R(){if(S(h(x,m,j.current,p)),j.current){const e=d(j);let n=x;
1m!==u.PIXEL&&(n=Math.trunc(16*n)),0!==x&&(Math.abs(e-n)<=p||e<n)?(T(!1),N(!1)):T(!0),C&&j.current&&j.current?.parentElement&&(j.current.parentElement.style.height=`${e}px`)}}(0,r.useEffect)(()=>(R(),window.addEventListener("resize",R),()=>window.removeEventListener("resize",R)),[C]);const M=(0,s.jsx)("div",{className:(0,i.cx)(c.p.base,I&&E&&!C&&c.p.hasShadow),ref:P,style:A,onTransitionEnd:function(){P.current&&(P.current.style.transitionDuration="0ms")},children:(0,s.jsx)("div",{ref:j,children:f})});return(0,s.jsxs)(s.Fragment,{children:["bottom"===t&&M,I&&(a||!C)&&(0,s.jsx)("div",{className:(0,i.cx)(c.e.base,n?.type!==l.l.TEXT&&c.e.buttonPosition[t]),children:C?(0,s.jsx)(o.$,{text:v,...n,onClick:()=>N(!1)}):(0,s.jsx)(o.$,{text:y,...e,onClick:()=>N(!0)})}),"top"===t&&M]})}!function(e){e.PIXEL="px",e.REM="rem",e.EM="em"}(u||(u={}));const m=r.memo(x);t.d(n,["Ay",0,m])},63225(e,n,t){t.d(n,["e",0,{base:"b1s1bnhs",buttonPosition:{top:"t6u0tho",bottom:"b1u2yjy9"}},"p",0,{base:"b12iwaml",hasShadow:"h1i8fmaw"}])}}]);

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.