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