PageSourceSearch

https://www.zeilen.nl/build/assets/NT-object-DM0WC6eV.js

js zeilen.nl collected 2026-10-02 03:18:06 UTC 3,375 bytes, 1 lines download raw bytes

1const d="abtest",r=["a","b"],i={sm:680,lg:1320},c={get(e,t){return e[t]},set(e,t,o){return e[t]=o,!0}};class u extends HTMLElement{constructor(){super(),waitForWindowObject("NT").then(t=>{const o=window.NT.ab.group,n=this.querySelectorAll(`template[group="${o}"]`);ready(()=>{n.forEach(s=>{const a=s.getAttribute("if");a?Function("return ("+a+")")()&&this.after(s.content.cloneNode(!0)):this.after(s.content.cloneNode(!0))}),o&&n.length&&this.remove()})})}}class p{_split=0;_testName=d;_group="a";constructor(t){return this._split=Number(t),new Proxy(this,c)}init(){const o=new URL(window.location.href).searchParams.get(this._testName),n=getCookie(this._testName);o&&r.includes(o)?this._group=o:n&&r.includes(n)?this._group=n:this._group=Math.random()<this._split?"b":"a",n!=this._group&&createCookie(this._testName,this._group),ready(()=>{waitForWindowObject("NT").then(()=>{this._registerComponents(),this._defaultAbCallback(),window.additionalAbCallback&&typeof window.additionalAbCallback=="function"&&window.additionalAbCallback(),window.dispatchEvent(new Event("ab:ready"))}),window.NT.info.env==="production"&&waitForWindowObject("zaraz").then(()=>{this._sendDataToZaraz()})})}_sendDataToZaraz(){window.zaraz!==void 0?window.NT.info.env==="production"&&zaraz.track("color_mode",{value:window.NT.info.colorMode}):console.warn("Zaraz not found")}_defaultAbCallback(){let t=window.googletag=window.googletag||{};t.cmd=t.cmd||[],t.cmd.push(function(){window.NT.info.testName&&t.pubads().setTargeting(window.NT.info.testName,window.NT.info.testGroup),window.getUtmCampaignForDfp&&typeof window.getUtmCampaignForDfp=="function"&&t.pubads().setTargeting("campaign",window.getUtmCampaignForDfp()),window.getUtmTermForDfp&&typeof window.getUtmTermForDfp=="function"&&t.pubads().setTargeting("campaign_term_tw",window.getUtmTermForDfp())})}get group(){return this._group}get split(){return this._split}get testName(){return this._testName}_registerComponents(){window.customElements.define("ab-test",u)}}window.NT={get info(){return{testGroup:this.ab.group,testName:this.ab.testName,device:this.device.isMobile?"mobile":this.device.isTablet?"tablet":"desktop",page:this.page.isHome?"home":this.page.isPost?"post":this.page.isPage?"page":null,type:this.page.postType,postId:document.body.dataset.postId?Number(document.body.dataset.postId):null,url:new URL(window.location),env:this.env,isApp:this.isApp,colorMode:this.colorMode}},adslots:[],ab:new p(document.body.dataset.abSplit||0),env:"",get page(){return{get isHome(){return document.body.classList.contains("home")},get isPost(){return document.body.classList.contains("post")},get isPage(){return document.body.classList.contains("page")},get postType(){if(!this.isPost)return null;const e=document.body.classList;return e.contains("post-default")?"default":e.contains("post-paginated")?"paginated":e.contains("post-quiz")?"quiz":e.contains("post-column")?"column":e.contains("post-video")?"video":e.contains("post-podcast")?"podcast":null}}},get device(){return{get isMobile(){return window.matchMedia(`(max-width: ${i.sm}px)`).matches},get isTablet(){return window.matchMedia(`(max-width: ${i.lg-1}px) and (min-width: ${i.sm+1}px)`).matches},get isDesktop(){return window.matchMedia(`(min-width: ${i.lg}px)`).matches}}},get colorMode(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}};

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.