PageSourceSearch

https://www.rookvrijegeneratie.nl/wp-content/themes/rookvrijegeneratie/dist/assets/index-DGa9-R3-.js

js rookvrijegeneratie.nl collected 2026-10-02 03:42:03 UTC 1,849 bytes, 1 lines download raw bytes

1var h=Object.defineProperty;var g=(s,t,e)=>t in s?h(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var n=(s,t,e)=>g(s,typeof t!="symbol"?t+"":t,e);import{a as r,o as d,e as p}from"./main-BThlQzEG.js";import"./_commonjsHelpers-D6Ya60D-.js";class P{constructor(t){n(this,"init",()=>{this.pagination=this.element.querySelector(".js-pagination"),this.pagination&&this.initPagination()});n(this,"initPagination",()=>{this.paginationLinks=[...this.pagination.querySelectorAll("a")],this.paginationLinks&&this.bindEvents()});n(this,"bindEvents",()=>{this.paginationLinks.forEach(t=>{t.addEventListener("mouseenter",this.handleMouseEnter),t.addEventListener("click",this.handlePaginationClick)})});n(this,"handleMouseEnter",t=>{this.handleLinkEvent(t,!1)});n(this,"handlePaginationClick",t=>{this.handleLinkEvent(t)});n(this,"handleLinkEvent",async(t,e=!0)=>{var c;e&&t.preventDefault();const a=t.target.closest("a").href;if(!a)return;const{swup:o}=(c=r.instances)==null?void 0:c.get("router"),l=this.loadPage(o,a);e&&this.navigateTo(await l,o)});n(this,"navigateTo",async(t,e)=>{this.scrollToTop();const a=new DOMParser().parseFromString(t.html,"text/html").querySelector(".js-post-grid");e.currentHistoryIndex++,d(t.url,{index:e.currentHistoryIndex}),this.element.innerHTML="",[...a.children].forEach(o=>{this.element.appendChild(o)}),this.createInstances(),this.init()});n(this,"loadPage",async(t,e)=>{const i=t.cache.get(e);return i||t.preload(e)});n(this,"scrollToTop",()=>{var i,a;const t=this.element.getBoundingClientRect(),e=(a=(i=r.instances.get("scroller"))==null?void 0:i.top)!=null?a:0;r.instances.get("scroller").scrollTo(t.top+e-100,.5)});n(this,"createInstances",()=>{const t=r.instances.get("page");p([...this.element.querySelectorAll("[data-component]")],t.instances,t)});this.element=t,this.init()}}export{P 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.