PageSourceSearch

https://zinkbakken.dk/theme/89fec0e0143898505c6fffd88afa0419/js/ze…form-horizon.zen-scroll-up.plugin.f239b7.js

js zinkbakken.dk collected 2026-09-26 07:49:57 UTC 1,426 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[68339],{8339:(t,e,i)=>{i.r(e),i.d(e,{default:()=>o});var s=i(9610);class o extends window.PluginBaseClass{init(){this._button=this.el.querySelector(this.options.buttonSelector),this._assignDebouncedOnScrollEvent(),this._registerEvents()}_registerEvents(){this._button&&this._toggleVisibility(),document.addEventListener("scroll",this._debouncedOnScroll,!1)}_assignDebouncedOnScrollEvent(){this._debouncedOnScroll=s.Z.debounce(this._toggleVisibility.bind(this),this.options.scrollDebounceTime)}_toggleVisibility(){let t=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight);window.scrollY>this.options.visiblePos&&window.scrollY+window.innerHeight<t?this._button.classList.add(this.options.visibleCls):this._button.classList.remove(this.options.visibleCls),this.$emitter.publish("toggleVisibility")}}o.options={scrollDebounceTime:150,buttonSelector:".js-scroll-up-button",visiblePos:250,visibleCls:"is-visible"}},9610:(t,e,i)=>{i.d(e,{Z:()=>s});class s{static debounce(t,e){let i,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(){for(var o=arguments.length,n=Array(o),l=0;l<o;l++)n[l]=arguments[l];s&&!i&&setTimeout(t.bind(t,...n),0),clearTimeout(i),i=setTimeout(t.bind(t,...n),e)}}}}}]);

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.