PageSourceSearch

https://gastro-brennecke.de/theme/ed5fc9e40c26867139836cf460ae6aae…form-gravity.zen-scroll-up.plugin.6b8b69.js

js gastro-brennecke.de collected 2026-10-07 07:34:37 UTC 1,498 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkzenitPlatformGravity=self.webpackChunkzenitPlatformGravity||[]).push([[77939],{4059(t,e,i){i.d(e,{A:()=>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)}}}},7939(t,e,i){i.r(e),i.d(e,{default:()=>o});var s=i(4059);class o extends window.PluginBaseClass{static #t=this.options={scrollDebounceTime:150,buttonSelector:".js-scroll-up-button",visiblePos:250,visibleCls:"is-visible"};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.A.debounce(this._toggleVisibility.bind(this),this.options.scrollDebounceTime)}_toggleVisibility(){if(!this._button)return;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")}}}}]);

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.