PageSourceSearch

https://www.timeoutmexico.mx/static/js/infinite-scroll-371b6778587faf2080b4.js

js timeoutmexico.mx collected 2026-09-24 19:55:01 UTC 1,989 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_gp_web_frontend=self.webpackChunk_gp_web_frontend||[]).push([["infinite-scroll"],{
1"./src/ts/components/infinite-scroll/infinite-scroll.ts":(e,t,s)=>{s.r(t),s.d(t,{infiniteScrollComponent:()=>a,init:()=>i});var n=s("./src/ts/utils/inview.ts"),o=s("../react-components/dist/atoms/view-more-cta/view-more-cta.css.json"),r=s("../shared-types/frontend/core/store.ts");const a=(e,t)=>{const s={addLoadingClass:()=>{e.querySelector("a").classList.add(o.V_)},removeLoadingClass:()=>{e.querySelector("a").classList.remove(o.V_)},removeAnchor:()=>{e.querySelector("a").remove()},getRootElementParams(){if(e.dataset.params)try{return JSON.parse(e.dataset.params)}catch(e){return}},subscribe:e=>{const n=t.subscribe((()=>{var o;const r=null===(o=t.getState().lazyZones[e])||void 0===o?void 0:o.status;"LOADING"===r?s.addLoadingClass():"LOADED"===r?s.removeLoadingClass():"ENDED"===r&&(s.removeAnchor(),n())}))},init:()=>{const o=s.getRootElementParams();return o?(s.subscribe(o.zoneId),(0,n.oO)({element:e,isInViewportCallback:()=>{var e;"LOADING"!==(null===(e=t.getState().lazyZones[o.zoneId])||void 0===e?void 0:e.status)&&t.dispatch({type:r.Us.ZoneLoading,payload:{zoneId:o.zoneId,timestamp:Date.now()}})},isNotInViewportCallback:()=>{}}),{}):{}}};return s},i=(e,t)=>{const s=`infinite-scroll-component-${Math.floor(1e4*Math.random())}`;return{listeners:a(e,t).init(),componentId:s}}},
1"./src/ts/utils/inview.ts":(e,t,s)=>{function n({element:e,observerOptions:t={},isInViewportCallback:s,isNotInViewportCallback:n}){new IntersectionObserver(((e,t)=>{e.forEach((e=>{e.isIntersecting&&s&&(n||t.unobserve(e.target),s(e)),!e.isIntersecting&&n&&(s||t.unobserve(e.target),n(e))}))}),t).observe(e)}function o(e,t){return e?new Promise((s=>{n({element:e,observerOptions:t,isInViewportCallback:s})})):Promise.reject()}s.d(t,{W0:()=>o,oO:()=>n})},
1"../react-components/dist/atoms/view-more-cta/view-more-cta.css.json":e=>{e.exports=JSON.parse('{"V_":"_loading_1gagn_49"}')}
1}]);

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.