PageSourceSearch

https://dtvnieuws.nl/_nuxt/B1obY6Ul.js

js dtvnieuws.nl collected 2026-09-24 19:33:16 UTC 4,605 bytes, 1 lines download raw bytes

1import{l as e}from"./B36yyN6n.js";import{$ as t,D as n,E as r,M as i,O as a,T as o,_t as s,j as c,nt as l,y as u}from"./B9pVQlp5.js";import{t as ee}from"./BsjK2QnX.js";import{t as d}from"./BAUm0orm.js";import{t as f}from"./BDNMzG2s.js";import{n as te,t as p}from"./CEjFY8Dd.js";import{t as m}from"./DnFOygh3.js";import{a as h,n as g,r as _,t as ne}from"./CPs1_kYO.js";import{t as re}from"./BZJQGo9h.js";import{t as ie}from"./D_AMpYWO.js";var ae={data(){return{config:null,articles:null,chunks:1,articlesPerChunk:6,maxItems:14}},methods:{async getArticles(){let{$engine:t}=e(),n=await t.getPopularArticlePreviews(0,this.maxItems);if(n)this.articles=n;else throw Error(`No API result at all.`)},async loadMoreArticles(){this.chunks+=1,this.maxItems+=6,this.getArticles()}},async beforeMount(){let{$engine:t,$logStore:n}=e(),r=await t.getConfiguration();if(!r){n.log(`failed to load configuration!`,`warn`,`warn`);return}this.config=r},mounted(){this.$globalStore.pageType=`Local`,this.getArticles()}},oe={class:`page`},se={class:`lg:hidden`},ce={class:`boxed`},le={class:`flex flex-col lg:flex-row gap-4 justify-between mb-4`},ue={class:`grid gap-4`},de={class:`boxed`},fe={class:`boxed`},pe={class:`grid grid-cols-1 gap-4`},me={class:`boxed`},he={class:`boxed`},ge={class:`flex flex-row justify-center`},v={class:`hidden lg:block`},y={class:`boxed`},b={class:`flex flex-col lg:flex-row gap-4 justify-between mb-8`},x={class:`grid grid-cols-2 gap-10`},S={class:`boxed`},C={class:`flex flex-row gap-16`},w={class:`flex-grow min-w-0`},T={class:`mb-10`},E={class:`grid grid-cols-3 gap-6`},D={class:`grid grid-cols-3 gap-6`},O={class:`my-10`},k={class:`flex flex-row justify-center my-4`},A={class:`flex-none max-w-[400px] relative`},j={class:`flex flex-col gap-10`};function M(e,f,ae,M,N,P){var F,I,L,R,z,B,V,H,U,W,G,K,q,J;let _e=ie,Y=ee,X=te,Z=h,Q=d,ve=m,$=p,ye=_,be=g,xe=ne,Se=re;return t(),a(`div`,oe,[i(_e,{title:`Meest gelezen`}),o(`div`,se,[o(`section`,null,[o(`div`,ce,[o(`div`,le,[o(`div`,null,[i(Y,null,{default:s(()=>[...f[2]||(f[2]=[c(`Meest gelezen`,-1)])]),_:1})])]),o(`div`,ue,[(t(!0),a(u,null,l((F=N.articles)!=null&&F.items.length?(I=N.articles)==null?void 0:I.items.slice(0,7):7,e=>(t(),r(X,{article:e},null,8,[`article`]))),256))])])]),o(`section`,null,[o(`div`,de,[i(Z,{location:`WEBSITE_SIDE`,position:1,mobile:``})])]),(t(!0),a(u,null,l(N.chunks,(e,n)=>{var s;return t(),a(u,null,[o(`section`,null,[o(`div`,fe,[o(`div`,null,[o(`div`,pe,[(t(!0),a(u,null,l((s=N.articles)==null||(s=s.items)==null?void 0:s.slice(7).slice(N.articlesPerChunk*n,e*N.articlesPerChunk),e=>(t(),r(X,{article:e},null,8,[`article`]))),256))])])])]),o(`section`,null,[o(`div`,me,[i(Z,{location:`WEBSITE_SIDE`,position:2,mobile:``})])])],64)}),256)),o(`section`,null,[o(`div`,he,[o(`div`,ge,[((L=N.articles)==null?void 0:L.items.length)==N.maxItems?(t(),r(Q,{key:0,onClick:f[0]||(f[0]=e=>P.loadMoreArticles())},{default:s(()=>[...f[3]||(f[3]=[c(`Toon meer`,-1)])]),_:1})):n(``,!0)])])])]),o(`div`,v,[o(`section`,null,[o(`div`,y,[o(`div`,b,[o(`div`,null,[i(Y,null,{default:s(()=>[...f[4]||(f[4]=[c(`Meest gelezen`,-1)])]),_:1})])]),o(`div`,x,[(t(!0),a(u,null,l((R=N.articles)!=null&&R.items.length?(z=N.articles)==null?void 0:z.items.slice(0,((B=N.articles)==null?void 0:B.items.length)>1?2:1):((V=N.articles)==null||V.items.length,2),e=>(t(),r(ve,{article:e},null,8,[`article`]))),256))])])]),o(`section`,null,[o(`div`,S,[o(`div`,C,[o(`div`,w,[o(`section`,T,[o(`div`,E,[(t(!0),a(u,null,l((H=N.articles)!=null&&H.items.length?(U=N.articles)==null?void 0:U.items.slice(2,8):6,e=>(t(),r($,{article:e},null,8,[`article`]))),256))])]),o(`section`,null,[(t(!0),a(u,null,l(N.chunks,(e,n)=>{var s;return t(),a(`div`,null,[o(`div`,D,[(t(!0),a(u,null,l((s=N.articles)==null?void 0:s.items.slice(8).slice(N.articlesPerChunk*n,e*N.articlesPerChunk),e=>(t(),r($,{article:e},null,8,[`article`]))),256))]),o(`div`,O,[i(Z,{location:`WEBSITE_CENTER`})])])}),256)),o(`div`,k,[((W=N.articles)==null?void 0:W.items.length)==N.maxItems?(t(),r(Q,{key:0,onClick:f[1]||(f[1]=e=>P.loadMoreArticles())},{default:s(()=>[...f[5]||(f[5]=[c(`Toon meer`,-1)])]),_:1})):n(``,!0)])])]),o(`div`,A,[o(`div`,j,[i(Z,{location:`WEBSITE_SIDE`,position:1}),(G=N.config)!=null&&G.showLive?(t(),r(ye,{key:0})):n(``,!0),i(Z,{location:`WEBSITE_SIDE`,position:2}
1),(K=N.config)!=null&&K.showWeather?(t(),r(be,{key:1})):n(``,!0),(q=N.config)!=null&&q.showLatestEpisodes?(t(),r(xe,{key:2})):n(``,!0),(J=N.config)!=null&&J.showJustIn?(t(),r(Se,{key:3})):n(``,!0),i(Z,{location:`WEBSITE_SIDE`,position:3})])])])])])])])}var N=f(ae,[[`render`,M]]);export{N 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.