PageSourceSearch

https://www.haaglandenbeweegt.nl/wp-content/themes/beweegbeleef/dist/text-zoom-CDdbMh7K.js

js haaglandenbeweegt.nl collected 2026-10-05 11:37:50 UTC 782 bytes, 1 lines download raw bytes

1class a{constructor(t){this.element=t,this.initialSize=this.element.offsetWidth,this.default=16,this.zoomFactor=this.element.offsetWidth/this.default,this.zoomLevels=[{factor:1.75,class:"text-zoom-175"},{factor:1.5,class:"text-zoom-150"},{factor:1.25,class:"text-zoom-125"},{factor:1,class:"text-zoom-100"}],this.initialize()}setZoomClass(){this.zoomFactor=this.element.offsetWidth/this.default,this.zoomLevels.forEach(t=>{document.body.classList.remove(t.class),this.zoomFactor>=t.factor&&document.body.classList.add(t.class)})}initialize(){this.setZoomClass(),new ResizeObserver(e=>{for(const i of e){const{target:s}=i;s instanceof HTMLElement&&s.offsetWidth!==this.initialSize&&(this.initialSize=s.offsetWidth,this.setZoomClass())}}).observe(this.element)}}export{a 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.