PageSourceSearch

https://kampnagel.de/assets/javascripts/chunks/8e34d706625ba9c42a27.back-to-top.js

js kampnagel.de collected 2026-10-01 10:31:44 UTC 3,989 bytes, 2 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[462],{1433:(t,e,r)=>{var n=r(5380),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},1738:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},2140:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},2781:(t,e,r)=>{var n=r(1433).Symbol;t.exports=n},2858:(t,e,r)=>{var n=r(6177),o=r(8953);t.exports=function(t,e,r){var i=!0,c=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,c="trailing"in r?!!r.trailing:c),n(t,e,{leading:i,maxWait:e,trailing:c})}},2934:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},3491:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>c});var n=r(2858),o=r.n(n),i=r(5177);const c=class{constructor(t){this.element=t,this.onScroll=o()((()=>this.handleScroll()),100),window.addEventListener("scroll",this.onScroll,{passive:!0}),this.element.addEventListener("click",(()=>this.scrollToTop())),this.handleScroll()}handleScroll(){var t=window.scrollY>300;this.element.classList.toggle("is-visible",t)}scrollToTop(){if((0,i.A)())window.scrollTo(0,0);else{var t=window.scrollY||document.documentElement.scrollTop||document.body.scrollTop,e=performance.now(),r=n=>{var o,i=n-e,c=Math.min(i/400,1);window.scrollTo(0,t*(1-(o=c,1-Math.pow(1-o,3)))),c<1&&requestAnimationFrame(r)};requestAnimationFrame(r)}}}},3664:(t,e,r)=>{var n=r(1433);t.exports=function(){return n.Date.now()}},5177:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});const n=()=>{try{if(document.documentElement.classList.contains("contrast-reduced"))return!0}catch(t){}return window.matchMedia("(prefers-reduced-motion: reduce)").matches}},5378:(t,e,r)=>{var n=r(8812),o=r(8953),i=r(5414),c=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=a.test(t);return r||l.test(t)?u(t.slice(2),r?2:8):c.test(t)?NaN:+t}},5380:(t,e,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},5414:(t,e,r)=>{var n=r(7148),o=r(2934);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},6177:(t,e,r)=>{var n=r(8953),o=r(3664),i=r(5378),c=Math.max,a=Math.min;t.exports=function(t,e,r){var l,u,s,f,d,v,p=0,m=!1,h=!1,b=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var r=l,n=u;return l=u=void 0,p=e,f=t.apply(n,r)}function w(t){var r=t-v;return void 0===v||r>=e||r<0||h&&t-p>=s}function x(){var t=o();if(w(t))return y(t);d=setTimeout(x,function(t){var r=e-(t-v);return h?a(r,s-(t-p)):r}(t))}function y(t){return d=void 0,b&&l?g(t):(l=u=void 0,f)}function T(){var t=o(),r=w(t);if(l=arguments,u=this,v=t,r){if(void 0===d)return function(t){return p=t,d=setTimeout(x,e),m?g(t):f}(v);if(h)return clearTimeout(d),d=setTimeout(x,e),g(v)}return void 0===d&&(d=setTimeout(x,e)),f}return e=i(e)||0,n(r)&&(m=!!r.leading,s=(h="maxWait"in r)?c(i(r.maxWait)||0,e):s,b="trailing"in r?!!r.trailing:b),T.cancel=function(){void 0!==d&&clearTimeout(d),p=0,l=v=u=d=void 0},T.flush=function(){return void 0===d?f:y(o())},T}},7148:(t,e,r)=>{var n=r(2781),o=r(7903),i=r(1738),c=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?o(t):i(t)}},7903:(t,e,r)=>{var n=r(2781),o=Object.prototype,i=o.hasOwnProperty,c=o.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,a),r=t[a];try{t[a]=void 0;var n=!0}catch(t){}var o=c.call(t);return n&&(e?t[a]=r:delete t[a]),o}},8812:(t,e,r)=>{var n=r(2140),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},8953:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}}}]);
2//# sourceMappingURL=8e34d706625ba9c42a27.back-to-top.js.map

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.