PageSourceSearch

https://www.hessenschau.de/assets_4.48.0/js//feature/jumpTo.bundle.js

js hessenschau.de collected 2026-09-24 08:46:20 UTC 6,192 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/jumpTo"],{3073:function(e,n,t){t.r(n);var r=t(8836);n.default=function(e){var n=e.options,t=e.element,o="-current",i=".-current",u=n.offsetElementSelector?(0,r.PN)(n.offsetElementSelector)[0].offsetHeight:0,c=t;c.addEventListener("click",(function(e){e.preventDefault();var a=(0,r.PN)(n.target,t)[0];null===a&&(a=(0,r.PN)("#now",t)[0]);var l=(0,r.X_)(),s=(0,r.pW)(a).top+l-u,d=-(l-s)>0?-(l-s):l-s,f=1e3;if(!(d<=5)){d<=250&&(f/=2),(0,r.BX)("hr:jumpTo:start");var m=(new Date).getTime(),v=(0,r.cQ)((function(){var e,n,t,u=(new Date).getTime()-m,d=(e=u,n=l,t=s-l,(e/=f/2)<1?t/2*e*e*e*e+n:-t/2*((e-=2)*e*e*e-2)+n);window.scrollTo(0,d),u>=f&&((0,r.xQ)(v),(0,r.PN)(i,c)[0]&&(0,r.PN)(i,c)[0].classList.remove(o),c.classList.add(o),a.focus(),(0,r.BX)("hr:jumpTo:end"))}),60)}}))}},8836:function(e,n,t){t.d(n,{BX:function(){return w},Ds:function(){return d},Ev:function(){return v},GV:function(){return C},HD:function(){return a},JU:function(){return S},MJ:function(){return A},P2:function(){return f},PN:function(){return i},SG:function(){return s},TD:function(){return g},Tx:function(){return O},Vv:function(){return E},Vx:function(){return p},X_:function(){return x},_U:function(){return c},aM:function(){return D},bv:function(){return l},cQ:function(){return j},cu:function(){return L},kT:function(){return N},lU:function(){return M},oL:function(){return m},oN:function(){return u},pW:function(){return B},ve:function(){return k},xQ:function(){return F}});var r=t(4413),o=t(7247),i=function(e,n){var t=n||document;return e?e.indexOf(",")>0||e.split(" ").length>1||e.split(".").length>1?t.querySelectorAll(e):"."===e[0]?t.getElementsByClassName(e.substring(1)):"#"===e[0]?new Array(document.getElementById(e.substring(1))):t.querySelectorAll(e):t},u=function(e){return!!e&&e.replace(/(<([^>]+)>)/gi,"")},c=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)},a=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(e,n){for(;null!==n&&"BODY"!==n.tagName;){if(n.tagName&&n.tagName.toLowerCase()===e)return n;n=n.parentNode}return!1},s=function(e,n){for(var t=n.parentNode;null!==t;){if(t===e)return!0;t=t.parentNode}return!1},d=function(e,n){var t=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var u=this;clearTimeout(t),t=setTimeout((function(){e.apply(u,o)}),n)}},f=function(e,n,t){var r,o;return n=n||250,function(){for(var i=arguments.length,u=new Array(i),c=0;c<i;c++)u[c]=arguments[c];var a=t||this,l=+new Date;r&&l<r+n?(clearTimeout(o),o=setTimeout((function(){r=l,e.apply(a,u)}),n)):(r=l,e.apply(a,u))}},m=function(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t=void 0===t?document:t;var o="touchstart"===e||"touchmove"===e||"wheel"===e,i=Modernizr.passiveeventlisteners&&!r&&o;window.attachEvent?t.attachEvent(e,n):t.addEventListener(e,n,!!i&&{passive:!0})},v=function(e,n,t){t=void 0===t?document:t,window.attachEvent?t.detachEvent(e,n):t.removeEventListener(e,n)},p=function(e,n,t){(t=void 0===t?document:t).addEventListener(e,n,{once:!0})},w=function(e,n,t){var r=document.createEvent("CustomEvent");r.initCustomEvent(e,!0,!0,n),document.dispatchEvent(r),t&&(i("#js-iFrame")[0]&&i("#js-iFrame")[0].contentWindow.document.dispatchEvent(r),h()&&parent.document.dispatchEvent(r))},h=function(){try{return window.self!==window.top}catch(e){return!0}},g=function(e,n,t){y(e,JSON.stringify(n),t)},y=function(e,n,t){var r,o=b();t?((r=new Date).setMilliseconds(r.getMilliseconds()+t),r=r.toUTCString()):r="",document.cookie=e+"="+n+";expires="+r+";domain="+o+";path=/;"},E=function(e){var n;try{n=JSON.parse(T(e))}catch(e){}return n},T=function(e){var n=RegExp(e+"[^;]+").exec(document.cookie);return unescape(n?n.toString().replace(/^[^=]+./,""):"")},N=function(e){var n=b();document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+n+";path=/;"},b=function(){return window.location.hostname.substring(window.location.hostname.indexOf(".")+1)},D=function(e,n){var t=window.requestAnimationFrame||function(e,n){window.setTimeout(e,1e3/60)},r=(new Date).getTime(),o={};return o.value=t((function i(){(new Date).getTime()-r>=n?e.call():o.value=t(i)})),o},S=function(e,n,t,i,u,c,a,l,s){var d="opacity";u=u||800,c=c||.2,a=a||1,l=l||"ease-in-out",s=s||"0.8s",e.style.WebkitTransition=d+" "+s+" "+l,e.style.MozTransition=d+" "+s+" "+l,e.style.transition=d+" "+s+" "+l,e.style[d]=c,D((function(){if(n&&(e.innerHTML=n),e.style[d]=a,t){r.Z.run(e,o.Z);try{hrScriptLoad.rescanForModulesAndVariants(e)}catch(e){}}i&&i()}),u)},x=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},B=function(e){var n;return n=Math.round(e.getBoundingClientRect().left),{top:Math.round(e.getBoundingClientRect().top),left
1:n}},C=function(e){r.Z.run(e,o.Z)},M=function(e){var n=document.getElementById(e);n&&n.parentNode.removeChild(n)},k=function(e,n,t,r){if(!document.getElementById(e)){var o=i("script")[0],u=document.createElement("script");u.id=e,u.src=n,t&&u.setAttribute("async",!!t),r&&u.addEventListener("load",(function(e){r(null,e)}),!1),o.parentNode.insertBefore(u,o)}},A=function(e,n,t){if(!document.getElementById(e)){var r=document.createElement("link");r.id=e,r.href=n,t.type&&(r.type=t.type),t.rel&&(r.rel=t.rel),t.title&&(r.title=t.title),t.as&&(r.as=t.as),document.getElementsByTagName("head")[0].appendChild(r)}},L=function(e,n){var t=document.createElement("style");return n&&t.setAttribute("media",n),t.styleSheet?t.styleSheet.cssText=e||"":t.appendChild(document.createTextNode(e||"")),document.head.appendChild(t),t.sheet},O=function(e){e.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},j=function(e,n){var t=window.requestAnimationFrame||function(e,n){window.setTimeout(e,1e3/60)},r={},o=(new Date).getTime();return r.value=t((function i(){r.value=t(i),(new Date).getTime()-o>=n&&(e.call(),o=(new Date).getTime())})),r},F=function(e){return window.cancelAnimationFrame&&e?window.cancelAnimationFrame(e.value):window.clearInterval(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.