PageSourceSearch

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

js hr2.de collected 2026-09-24 17:21:11 UTC 11,399 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/scrollablePlaylistHistoryNavigation"],{4064:function(t,e,n){n.d(e,{AF:function(){return s},BV:function(){return f},LR:function(){return d},pi:function(){return l},wM:function(){return a},xG:function(){return o}});var i=n(8471),o=function(){var t=new i.Z;return!t.isSettingsCookieExistent("ati")||t.isSettingsCookieAccepted("ati")},r=function(t,e){"undefined"!=typeof pa&&void 0!==pa&&o()&&pa.sendEvent(t,e)},c=function(t,e){return{click:t,site_level2_id:u(e)}},u=function(t){return void 0!==t?t:void 0!==pageDisplayConfig?pageDisplayConfig.site_level2_id:99},a=function(t,e){return r("click.action",c(t,e))},s=function(t,e){return r("click.navigation",c(t,e))},l=function(){return r("page.display",pageDisplayConfig)},d=function(t,e){return r("click.download",c(t,e))},f=function(t){r("page.scroll",{scroll_depth:t,page:void 0!==pageDisplayConfig?pageDisplayConfig.page:"unknown",hr_document_type:void 0!==pageDisplayConfig?pageDisplayConfig.hr_document_type:"unknown",hr_sophora_id:void 0!==pageDisplayConfig?pageDisplayConfig.hr_sophora_id:"unknown"})}},8471:function(t,e,n){var i=n(8836);e.Z=function(){var t={},e=function(){(0,i.TD)("hrSettings",t,31536e7)},n=function(){t=(0,i.Vv)("hrSettings")||{}};return{setCookieForOptions:function(i,o){null==o&&(o=!0),n(),t[i]=o,e()},isSettingsCookieExistent:function(e){return n(),t.hasOwnProperty(e)},isSettingsCookieAccepted:function(e){return n(),!0===t[e]}}}},8161:function(t,e,n){n.r(e),n.d(e,{default:function(){return a}});var i=n(8836),o=function(t,e,n,i){var o=!1;switch(i){case"top":case"bottom":o=!1;break;default:o=!0}if(e=Math.round(e),(n=Math.round(n))<0)return Promise.reject("bad duration");if(0===n)return o?t.scrollLeft=e:t.scrollTop=e,Promise.resolve();var r=Date.now(),c=r+n,u=o?t.scrollLeft:t.scrollTop,a=e-u;return new Promise((function(e,n){var i,s=o?t.scrollLeft:t.scrollTop;setTimeout((function l(){if((i=o?t.scrollLeft:t.scrollTop)==s){var d=Date.now(),f=function(t,e,n){if(n<=t)return 0;if(n>=e)return 1;var i=(n-t)/(e-t);return i*i*(3-2*i)}(r,c,d),p=Math.round(u+a*f);o?t.scrollLeft=p:t.scrollTop=p,d>=c?e():(i=o?t.scrollLeft:t.scrollTop)!==s||i===p?(s=o?t.scrollLeft:t.scrollTop,setTimeout(l,0)):e()}else n("interrupted")}),0)}))},r=n(4064),c=n(4793),u=n.n(c);n(6374),n(5354);var a=function(t){var e,n,c,a,s,l,d=t.options,f=t.element,p=f,h=(0,i.PN)(".js-scrollableNav__list",p)[0],v=d.dynLoad,m=d.dynLoadTrig,w=d.dynLoadReplaceSel,g=(0,i.PN)(".js-scrollableNav__button.-left",p)[0],y=(0,i.PN)(".js-scrollableNav__button.-right",p)[0],b=150,L=".js-scrollableNav__link.-current",T=/\bTrident\/[567]\b.0\b.*\Touch\b|\bTouch\b.*\bTrident\/[567]\b.0\b/.test(navigator.userAgent),E=!1,C=0,k=0,D=0,N=0;function x(t,e,n){this.element=t,this.direction=e,this.callback=n,this.isDisplayed=!1,this.hiddenClass="-hidden"}x.prototype.show=function(){this.isDisplayed||(this.element.classList.remove(this.hiddenClass),this.element.addEventListener("click",this.callback),this.isDisplayed=!0)},x.prototype.hide=function(){this.isDisplayed&&(this.element.classList.add(this.hiddenClass),this.element.removeEventListener("click",this.callback),this.isDisplayed=!1)};var _=function(t){t.preventDefault(),M(t.currentTarget,!0)},S=function(t){var e;t.state.sel&&(e=(0,i.PN)(t.state.sel)[t.state.pos],M(e,!1,t.state.cache))},M=function(t,e,n){var i=t.getAttribute("href"),o=i.indexOf("~")+1,c=i.substr(0,o)+"inline"+i.substr(o),a=(new Date).getTime();u().ajax({type:"GET",dataType:"html",url:c,timeout:9e4,cache:n&&!0,beforeSend:function(){u()(w).addClass("-isLoading"),t.classList.add("-isLoading")}}).done((function(n,o,c){var s=500-((new Date).getTime()-a);setTimeout((function(){u()(m+".-current").removeClass("-current"),t.classList.remove("-isLoading"),t.classList.add("-current"),u()(w).replaceWith(n)}),s<0?0:s),e&&history.pushState({sel:m,pos:t.dataset.hrPos},null,i),(0,r.pi)()})).fail((function(e,n,i){t.classList.remove("-isLoading")}))},A=function(){e=(0,i.PN)(L,p)[0]?(0,i.PN)(L,p)[0].parentElement:(0,i.PN)(".js-scrollableNav__link",p)[0].parentElement,n=e.getBoundingClientRect().left-(document.body.clientWidth-h.getBoundingClientRect().width)/2,c=e.getBoundingClientRect().width},P=function(){T&&document.documentElement.classList.add("IEMobile")},B=function(){j(),H()},j=function(){O()&&!E?(h.addEventListener("scroll",R),E=!0,s.show()):!O()&&E&&(h.removeEventListener("scroll",R),E=!1,a.hide(),s.hide()),F()},O=function(){return W(h)>h.clientWidth},R=(0,i.P2)((function(t){F(),h.scrollLeft<20?(a.hide(),s.show()):h.scrollLeft>=20&&h.scrollLeft<l-20?(a.show(),s.show()):h.scrollLeft>=l-20&&(a.show(),s.hide())}),180),F=function(){O()&&(l=W(h)-h.getBoundingClientRect().width)},W=function(t){t.style.overflowX="hidden";var e=t.scrollWidth;return t.style.overflowX="",e},Z=(0,i.Ds)((function(){I(),X()}),190),I=function(){O()?s.show():(a.hide(),s.hide(),h.removeAttribute("style")),F()},V=function(){C=h.scrollLeft,q(),o(h,C,500,"left")},z=function(){C=h.scrollLeft,U(),o(h,C,500,"right")},G=function(){q(),h.style.transform="translate(-"+C+"px, 0px) scale(1) translateZ(0px)"},J=function(){U(),h.style.transform="translate(-"+C+"px, 0px) scale(1) translateZ(0px)"},q=function(){C/b>=2?(C-=b,s.show()):(C=0,s.show(),a.hide())},U=function(){(l-C)/b>=2?(C+=b,a.show()):(C=l,a.show(),s.hide())},X=function(){Y(),O()&&!N&&(l>D?(C=D,s.show()):(C=l,s.hide()),C>0&&(h.style.transform="translate(-"+C+"px, 0px) scale(1) translateZ(0px)",a.show()))},H=function(){Y(),N||(l>D?(C=D,h.scrollLeft=C):(C=l,h.scrollLeft=C))},Y=function(){k=h.getBoundingClientRect().width,D=n-k/2+c/2,N=n+c+40<k};A(),P(),Modernizr.touchevents&&!T?(window.addEventListener("resize",B),a=new x(g,"left",V),s=new x(y,"right",z),j(),H()):(window.addEventListener("resize",Z),a=new x(g,"left",G),s=new x(y,"right",J),I(),X()),v&&window.history&&window.history.pushState&&(u()(f).on("click",m,_),window.addEventListener("popstate",S),history.replaceState({sel:m,pos:(0,i.PN)(m+".-current")[0].dataset.propPos,cache:!1},null,window.location.href))}},8836:function(t,e,n){n.d(e,{BX:function(){return m},Ds:function(){return d},Ev:function(){return h},GV:function(){return x},HD:function(){return a},JU:function(){return k},MJ:function(){return M},P2:function(){return f},PN:function(){return r},SG:function(){return l},TD:function(){return g},Tx:function(){return P},Vv:function(){return b},Vx:function(){return v},X_:function(){return D},_U:function(){return u},aM:function(){return C},bv:function(){return s},cQ:function(){return B},cu:function(){return A},kT:function(){return T},lU:function(){return _},oL:function(){return p},oN:function(){return c},pW:function(){return N},ve:function(){return S},xQ:function(){return j}});var i=n(4413),o=n(7247),r=function(t,e){var n=e||document;return t?t.indexOf(",")>0||t.split(" ").length>1||t.split(".").length>1?n.querySelectorAll(t):"."===t[0]?n.getElementsByClassName(t.substring(1)):"#"===t[0]?new Array(document.getElementById(t.substring(1))):n.querySelectorAll(t):n},c=function(t){return!!t&&t.replace(/(<([^>]+)>)/gi,"")},u=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)},a=function(t){return"[object String]"===Object.prototype.toString.call(t)},s=function(t,e){for(;null!==e&&"BODY"!==e.tagName;){if(e.tagName&&e.tagName.toLowerCase()===t)return e;e=e.parentNode}return!1},l=function(t,e){for(var n=e.parentNode;null!==n;){if(n===t)return!0;n=n.parentNode}return!1},d=function(t,e){var n=null;return function(){for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];var c=this;clearTimeout(n),n=setTimeout((function(){t.apply(c,o)}),e)}},f=function(t,e,n){var i,o;return e=e||250,function(){for(var r=arguments.length,c=new Array(r),u=0;u<r;u++)c[u]=arguments[u];var a=n||this,s=+new Date;i&&s<i+e?(clearTimeout(o),o=setTimeout((function(){i=s,t.apply(a,c)}),e)):(i=s,t.apply(a,c))}},p=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];n=void 0===n?document:n;
1var o="touchstart"===t||"touchmove"===t||"wheel"===t,r=Modernizr.passiveeventlisteners&&!i&&o;window.attachEvent?n.attachEvent(t,e):n.addEventListener(t,e,!!r&&{passive:!0})},h=function(t,e,n){n=void 0===n?document:n,window.attachEvent?n.detachEvent(t,e):n.removeEventListener(t,e)},v=function(t,e,n){(n=void 0===n?document:n).addEventListener(t,e,{once:!0})},m=function(t,e,n){var i=document.createEvent("CustomEvent");i.initCustomEvent(t,!0,!0,e),document.dispatchEvent(i),n&&(r("#js-iFrame")[0]&&r("#js-iFrame")[0].contentWindow.document.dispatchEvent(i),w()&&parent.document.dispatchEvent(i))},w=function(){try{return window.self!==window.top}catch(t){return!0}},g=function(t,e,n){y(t,JSON.stringify(e),n)},y=function(t,e,n){var i,o=E();n?((i=new Date).setMilliseconds(i.getMilliseconds()+n),i=i.toUTCString()):i="",document.cookie=t+"="+e+";expires="+i+";domain="+o+";path=/;"},b=function(t){var e;try{e=JSON.parse(L(t))}catch(t){}return e},L=function(t){var e=RegExp(t+"[^;]+").exec(document.cookie);return unescape(e?e.toString().replace(/^[^=]+./,""):"")},T=function(t){var e=E();document.cookie=t+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+e+";path=/;"},E=function(){return window.location.hostname.substring(window.location.hostname.indexOf(".")+1)},C=function(t,e){var n=window.requestAnimationFrame||function(t,e){window.setTimeout(t,1e3/60)},i=(new Date).getTime(),o={};return o.value=n((function r(){(new Date).getTime()-i>=e?t.call():o.value=n(r)})),o},k=function(t,e,n,r,c,u,a,s,l){var d="opacity";c=c||800,u=u||.2,a=a||1,s=s||"ease-in-out",l=l||"0.8s",t.style.WebkitTransition=d+" "+l+" "+s,t.style.MozTransition=d+" "+l+" "+s,t.style.transition=d+" "+l+" "+s,t.style[d]=u,C((function(){if(e&&(t.innerHTML=e),t.style[d]=a,n){i.Z.run(t,o.Z);try{hrScriptLoad.rescanForModulesAndVariants(t)}catch(t){}}r&&r()}),c)},D=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},N=function(t){var e;return e=Math.round(t.getBoundingClientRect().left),{top:Math.round(t.getBoundingClientRect().top),left
1:e}},x=function(t){i.Z.run(t,o.Z)},_=function(t){var e=document.getElementById(t);e&&e.parentNode.removeChild(e)},S=function(t,e,n,i){if(!document.getElementById(t)){var o=r("script")[0],c=document.createElement("script");c.id=t,c.src=e,n&&c.setAttribute("async",!!n),i&&c.addEventListener("load",(function(t){i(null,t)}),!1),o.parentNode.insertBefore(c,o)}},M=function(t,e,n){if(!document.getElementById(t)){var i=document.createElement("link");i.id=t,i.href=e,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)}},A=function(t,e){var n=document.createElement("style");return e&&n.setAttribute("media",e),n.styleSheet?n.styleSheet.cssText=t||"":n.appendChild(document.createTextNode(t||"")),document.head.appendChild(n),n.sheet},P=function(t){t.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},B=function(t,e){var n=window.requestAnimationFrame||function(t,e){window.setTimeout(t,1e3/60)},i={},o=(new Date).getTime();return i.value=n((function r(){i.value=n(r),(new Date).getTime()-o>=e&&(t.call(),o=(new Date).getTime())})),i},j=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.