PageSourceSearch

https://nypost.com/wp-content/themes/gtf/client/build/js/templates…?ver=99a4a42f417db37f7445

js nypost.com collected 2026-09-24 07:34:11 UTC 2,607 bytes, 1 lines download raw bytes

1!function(){"use strict";var e=function(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e,{once:!0}):e()};!function(t){const{component:o,load:n,name:r,querySelector:c={},querySelectorAll:a={},options:i={}}=t;if("function"!=typeof o)return;const l=()=>{(()=>{const e=void 0===r?null==t?void 0:t.root:`[data-component='${r}']`;let o;try{o=document.querySelectorAll(e)}catch(e){return console.error(e),[]}return o.length<1?(console.log(`No elements found for ${e}`),[]):Array.from(o).map(e=>{const t={};return Object.keys(c).forEach(o=>{t[o]=e.querySelector(c[o])}),Object.keys(a).forEach(o=>{const n=e.querySelectorAll(a[o]);t[o]=Array.from(n)}),{element:e,children:t,options:i}})})().forEach(e=>new o(e))};if(!1===n)return l;!0!==n?function(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;if(t)if("function"==typeof o)o(t);else if(Array.isArray(o)){const[e,n]=o;null==e||e.addEventListener(n,t)}}(l,n):l()}({name:"seeMore",component:class{constructor({element:e,children:t,options:o}){this.element=e,this.children=t,this.options=o,this.attachButtonEvent()}attachButtonEvent(){const{options:{moreWrapperSelector:e,moreBtnSelector:t,loadingClass:o,loadingText:n}}=this,r=document.querySelector(t),{moreUrl:c}=r.dataset;r&&r.addEventListener("click",a=>{a.preventDefault(),r.classList.add(o),r.textContent=n,this.loadMoreStories(c,e,r,t)})}loadMoreStories(e,t,o,n){fetch(e).then(e=>{e.ok?e.text().then(e=>{const r=(new DOMParser).parseFromString(e,"text/html"),c=document.querySelector(t),a=r.querySelectorAll(`${t} > *`),i=r.querySelector(n);a.forEach(e=>c.appendChild(e)),o.remove(),i&&i.parentElement&&(c.insertAdjacentElement("afterend",i.parentElement),this.attachButtonEvent()),function(){var e;if(!window.gtfScripts||!window.gtfScripts.nypost_wp_vars)return!1;const{comscore_args:t={},comscore_pageview:o=!1}=window.gtfScripts.nypost_wp_vars||{},{c1:n="",c2:r=""}=t;if(n&&r&&o&&(null===(e=null===window||void 0===window?void 0:window.COMSCORE)||void 0===e?void 0:e.beacon)){const e={c1:n,c2:r,cs_ucfr:"1",options:{enableFirstPartyCookie:!0}};(null===localStorage||void 0===localStorage?void 0:localStorage.nyp_id)&&(e.cs_fpid=localStorage.nyp_id,e.cs_fpit="c",e.cs_fpdm="*null",e.cs_fpdt="*null"),COMSCORE.beacon(e);const t=`https://${window.location.hostname}/pageview_candidate.xml`;fetch(t)}}()}):o.textContent=this.options.errorText})}},options:{moreWrapperSelector:'[data-see-more="wrapper"]',moreBtnSelector:"[data-more-url]",loadingClass:"loading",loadingText:"Loading...",errorText:"Sorry, Try Again?"}})}();

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.