PageSourceSearch

https://www.hr2.de/assets_4.48.0/js//feature/calendarNavigation.bundle.js

js hr2.de collected 2026-09-24 17:20:40 UTC 8,257 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/calendarNavigation"],{8836:function(e,t,n){n.d(t,{BX:function(){return p},Ds:function(){return l},Ev:function(){return h},GV:function(){return A},HD:function(){return u},JU:function(){return L},MJ:function(){return D},P2:function(){return v},PN:function(){return r},SG:function(){return d},TD:function(){return g},Tx:function(){return M},Vv:function(){return w},Vx:function(){return m},X_:function(){return T},_U:function(){return c},aM:function(){return B},bv:function(){return s},cQ:function(){return x},cu:function(){return P},kT:function(){return y},lU:function(){return S},oL:function(){return f},oN:function(){return o},pW:function(){return k},ve:function(){return O},xQ:function(){return j}});var i=n(4413),a=n(7247),r=function(e,t){var n=t||document;return e?e.indexOf(",")>0||e.split(" ").length>1||e.split(".").length>1?n.querySelectorAll(e):"."===e[0]?n.getElementsByClassName(e.substring(1)):"#"===e[0]?new Array(document.getElementById(e.substring(1))):n.querySelectorAll(e):n},o=function(e){return!!e&&e.replace(/(<([^>]+)>)/gi,"")},c=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)},u=function(e){return"[object String]"===Object.prototype.toString.call(e)},s=function(e,t){for(;null!==t&&"BODY"!==t.tagName;){if(t.tagName&&t.tagName.toLowerCase()===e)return t;t=t.parentNode}return!1},d=function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},l=function(e,t){var n=null;return function(){for(var i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];var o=this;clearTimeout(n),n=setTimeout((function(){e.apply(o,a)}),t)}},v=function(e,t,n){var i,a;return t=t||250,function(){for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];var u=n||this,s=+new Date;i&&s<i+t?(clearTimeout(a),a=setTimeout((function(){i=s,e.apply(u,o)}),t)):(i=s,e.apply(u,o))}},f=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];n=void 0===n?document:n;var a="touchstart"===e||"touchmove"===e||"wheel"===e,r=Modernizr.passiveeventlisteners&&!i&&a;window.attachEvent?n.attachEvent(e,t):n.addEventListener(e,t,!!r&&{passive:!0})},h=function(e,t,n){n=void 0===n?document:n,window.attachEvent?n.detachEvent(e,t):n.removeEventListener(e,t)},m=function(e,t,n){(n=void 0===n?document:n).addEventListener(e,t,{once:!0})},p=function(e,t,n){var i=document.createEvent("CustomEvent");i.initCustomEvent(e,!0,!0,t),document.dispatchEvent(i),n&&(r("#js-iFrame")[0]&&r("#js-iFrame")[0].contentWindow.document.dispatchEvent(i),E()&&parent.document.dispatchEvent(i))},E=function(){try{return window.self!==window.top}catch(e){return!0}},g=function(e,t,n){N(e,JSON.stringify(t),n)},N=function(e,t,n){var i,a=b();n?((i=new Date).setMilliseconds(i.getMilliseconds()+n),i=i.toUTCString()):i="",document.cookie=e+"="+t+";expires="+i+";domain="+a+";path=/;"},w=function(e){var t;try{t=JSON.parse(C(e))}catch(e){}return t},C=function(e){var t=RegExp(e+"[^;]+").exec(document.cookie);return unescape(t?t.toString().replace(/^[^=]+./,""):"")},y=function(e){var t=b();document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+t+";path=/;"},b=function(){return window.location.hostname.substring(window.location.hostname.indexOf(".")+1)},B=function(e,t){var n=window.requestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)},i=(new Date).getTime(),a={};return a.value=n((function r(){(new Date).getTime()-i>=t?e.call():a.value=n(r)})),a},L=function(e,t,n,r,o,c,u,s,d){var l="opacity";o=o||800,c=c||.2,u=u||1,s=s||"ease-in-out",d=d||"0.8s",e.style.WebkitTransition=l+" "+d+" "+s,e.style.MozTransition=l+" "+d+" "+s,e.style.transition=l+" "+d+" "+s,e.style[l]=c,B((function(){if(t&&(e.innerHTML=t),e.style[l]=u,n){i.Z.run(e,a.Z);try{hrScriptLoad.rescanForModulesAndVariants(e)}catch(e){}}r&&r()}),o)},T=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},k=function(e){var t;return t=Math.round(e.getBoundingClientRect().left),{top:Math.round(e.getBoundingClientRect().top),left
1:t}},A=function(e){i.Z.run(e,a.Z)},S=function(e){var t=document.getElementById(e);t&&t.parentNode.removeChild(t)},O=function(e,t,n,i){if(!document.getElementById(e)){var a=r("script")[0],o=document.createElement("script");o.id=e,o.src=t,n&&o.setAttribute("async",!!n),i&&o.addEventListener("load",(function(e){i(null,e)}),!1),a.parentNode.insertBefore(o,a)}},D=function(e,t,n){if(!document.getElementById(e)){var i=document.createElement("link");i.id=e,i.href=t,n.type&&(i.type=n.type),n.rel&&(i.rel=n.rel),n.title&&(i.title=n.title),n.as&&(i.as=n.as),document.getElementsByTagName("head")[0].appendChild(i)}},P=function(e,t){var n=document.createElement("style");return t&&n.setAttribute("media",t),n.styleSheet?n.styleSheet.cssText=e||"":n.appendChild(document.createTextNode(e||"")),document.head.appendChild(n),n.sheet},M=function(e){e.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},x=function(e,t){var n=window.requestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)},i={},a=(new Date).getTime();return i.value=n((function r(){i.value=n(r),(new Date).getTime()-a>=t&&(e.call(),a=(new Date).getTime())})),i},j=function(e){return window.cancelAnimationFrame&&e?window.cancelAnimationFrame(e.value):window.clearInterval(e)}},7033:function(e,t,n){n.r(t);var i=n(8836),a=function(e){var t=e.element;this.background=window.document.body,this.rootElement=t,this.calendarNavButton=(0,i.PN)(".js-calendar-navigation-button",this.rootElement)[0],this.calendarNavButtonSelected=(0,i.PN)(".js-calendar-navigation-button-selected",this.rootElement)[0],this.calendarNavButtonSelectedLink=(0,i.PN)(".c-calendarNav__cellContent",this.calendarNavButtonSelected)[0],this.calendarNavCloseButtons=(0,i.PN)(".js-calendar-navigation-close",this.rootElement),this.calendarNavGrid=(0,i.PN)(".js-calender-navigation-grid",this.rootElement)[0],this.calendarNav=(0,i.PN)(".js-calendar-navigation",this.rootElement)[0],this.isOpen=!1,this.Keyboard={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},this.calendarNavButtonSelected.setAttribute("aria-selected",!0),this.calendarNavGrid.setAttribute("aria-activedescendant",this.calendarNavButtonSelected.getAttribute("id")),this.calendarNavButton.addEventListener("click",this.openCalendarOnClick.bind(this)),this.calendarNavButtonSelectedLink.addEventListener("focus",(function(){})),this.calendarNavButton.addEventListener("keydown",this.openCalendarOnKeyDown.bind(this)),this.calendarNav.addEventListener("keydown",this.closeCalendarOnEscapePress.bind(this)),this.calendarNav.addEventListener("click",(function(e){e.onCalendar=!0}));for(var n=0;n<this.calendarNavCloseButtons.length;n++){this.calendarNavCloseButtons[n].addEventListener("click",(function(e){e.onCalendarClose=!0}))}};a.prototype={isDescendant:function(e,t){for(var n=t.parentNode;null!=n;){if(n==e)return!0;n=n.parentNode}return!1},closeListener:function(e){e.onCalendar&&!e.onCalendarClose||this.toggleCalendar(!1)},closeCalendarOnEscapePress:function(e){e.keyCode===this.Keyboard.ESCAPE&&this.toggleCalendar(!1)},openCalendarOnClick:function(e){e.onCalendar=!0,this.toggleCalendar(!this.isOpen),this.calendarNavGrid.focus(),this.calendarNavButtonSelectedLink.focus()},openCalendarOnKeyDown:function(e){e.keyCode===this.Keyboard.ENTER&&(e.onCalendar=!0,this.toggleCalendar(!this.isOpen),this.calendarNavButtonSelectedLink.focus())},toggleCalendar:function(e){this.calendarNav.setAttribute("aria-hidden",!e),this.calendarNav.setAttribute("aria-expanded",e),this.calendarNavButton.setAttribute("aria-expanded",e),e?(this.calendarNav.classList.remove("-hidden"),this.calendarNav.classList.remove("-hiddenStart"),this.calendarNavButton.classList.add("-active"),this.background.addEventListener("click",this.closeListener.bind(this))):(this.calendarNav.classList.add("-hidden"),this.calendarNavButton.classList.remove("-active"),this.background.removeEventListener("click",this.closeListener.bind(this))),this.isOpen=e}},t.default=function(e){new a(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.