PageSourceSearch

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

js hr2.de collected 2026-09-24 17:20:47 UTC 9,775 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/dataPolicySettingsDs"],{4064:function(e,n,t){t.d(n,{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=t(8471),o=function(){var e=new i.Z;return!e.isSettingsCookieExistent("ati")||e.isSettingsCookieAccepted("ati")},r=function(e,n){"undefined"!=typeof pa&&void 0!==pa&&o()&&pa.sendEvent(e,n)},c=function(e,n){return{click:e,site_level2_id:u(n)}},u=function(e){return void 0!==e?e:void 0!==pageDisplayConfig?pageDisplayConfig.site_level2_id:99},a=function(e,n){return r("click.action",c(e,n))},s=function(e,n){return r("click.navigation",c(e,n))},l=function(){return r("page.display",pageDisplayConfig)},d=function(e,n){return r("click.download",c(e,n))},f=function(e){r("page.scroll",{scroll_depth:e,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"})}},9127:function(e,n,t){t.r(n);var i=t(8471),o=t(8836),r=t(4064),c=t(5768);n.default=function(e){e.options,e.element;var n,t,u=(0,o.PN)("#datapolicy-settings-dialog",document)[0],a=new c.Z(u),s=document.getElementsByTagName("html")[0],l=new i.Z,d=(0,o.PN)(".js-toggleSwitch-checkbox",u),f=(0,o.PN)(".js-toggleSwitch-external",u),g=(0,o.PN)(".js-toggleSwitch-checkbox-all",u)[0],h=(0,o.PN)(".js-providerTitle",u)[0],p=window.parent.document.documentElement.classList.contains("webview"),v=function(e,n){l.setCookieForOptions(e,n),n?(0,o.BX)("hr:externalService-activate-"+e):(0,o.BX)("hr:externalService-deactivate-"+e)},m=function(){w(),b()},w=function(){for(var e,n=0;n<d.length;++n){if(e=d[n].id,l.isSettingsCookieExistent(e))l.isSettingsCookieAccepted(e)?d[n].checked=!0:d[n].checked=!1;else{var t=document.getElementById(e).getAttribute("data-whitelist");d[n].checked="true"==t}k(d[n]),y(n)}g.checked=S()},y=function(e){(0,o.oL)("hr:externalService-activate-"+d[e].id,(function(){d[e].checked=!0}),document)},k=function(e){(0,o.oL)("change",(function(){v(e.id,e.checked),g.checked=S(),b()}),e)},E=function(){for(var e=0;e<f.length;++e)f[e].checked!=g.checked&&(f[e].checked=g.checked,v(f[e].id,f[e].checked));b()},S=function(){for(var e,n=0;n<f.length;++n){if(!f[n].checked){e=!1;break}e=!0}return e},b=function(){1==g.checked?h.textContent="Alle Anbieter deaktivieren":h.textContent="Alle Anbieter aktivieren"},C=function(e){s.classList.add("optionOpen");var n=null==e.detail&&e.detail.target.closest("[data-a11y-dialog-show]")?e.detail.target.closest("[data-a11y-dialog-show]"):null,t=null!=n&&void 0!==n.dataset.pianoTracking?JSON.parse(n.dataset.pianoTracking):{label:"Datenschutzerklärung"};void 0!==t.secondLevelId?(0,r.wM)("Einstellungsdialog geöffnet - "+t.label,t.secondLevelId):(0,r.wM)("Einstellungsdialog geöffnet - "+t.label)},T=function(){s.classList.remove("optionOpen")},A=function(){var e={};window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,(function(n,t,i){e[t]=i}));return e};n=document.getElementById("globalSettingsButton"),p&&(!0===((0,o.Vv)("appSettings")||{}).hidePrivacySettingsButton?(n.classList.add("hidden"),document.querySelectorAll(".js-settings-inner-button").forEach((function(e){e.classList.add("hidden")})),document.querySelectorAll(".js-content-settings-button").forEach((function(e){e.style.display="none"}))):(n.classList.remove("hidden"),document.querySelectorAll(".js-settings-inner-button").forEach((function(e){e.classList.contains("hidden")&&e.classList.remove("hidden")})),document.querySelectorAll(".js-content-settings-button").forEach((function(e){e.classList.contains("hidden")||(e.style.display="inline-block")})))),function(){if((0,o.Vv)("hrSettings"))m();else{for(var e=0;e<d.length;++e)"true"==d[e].getAttribute("data-whitelist")?d[e].checked=!0:d[e].checked=!1,k(d[e]),y(e);b()}}(),(0,o.oL)("change",E,g),(0,o.oL)("show",C,u),(0,o.oL)("hide",T,u),void 0!==(t=A().openDialog)&&"true"===t&&a.show()}},8471:function(e,n,t){var i=t(8836);n.Z=function(){var e={},n=function(){(0,i.TD)("hrSettings",e,31536e7)},t=function(){e=(0,i.Vv)("hrSettings")||{}};return{setCookieForOptions:function(i,o){null==o&&(o=!0),t(),e[i]=o,n()},isSettingsCookieExistent:function(n){return t(),e.hasOwnProperty(n)}
1,isSettingsCookieAccepted:function(n){return t(),!0===e[n]}}}},8836:function(e,n,t){t.d(n,{BX:function(){return v},Ds:function(){return d},Ev:function(){return h},GV:function(){return x},HD:function(){return a},JU:function(){return T},MJ:function(){return B},P2:function(){return f},PN:function(){return r},SG:function(){return l},TD:function(){return w},Tx:function(){return _},Vv:function(){return k},Vx:function(){return p},X_:function(){return A},_U:function(){return u},aM:function(){return C},bv:function(){return s},cQ:function(){return O},cu:function(){return M},kT:function(){return S},lU:function(){return D},oL:function(){return g},oN:function(){return c},pW:function(){return L},ve:function(){return N},xQ:function(){return j}});var i=t(4413),o=t(7247),r=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},c=function(e){return!!e&&e.replace(/(<([^>]+)>)/gi,"")},u=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)},a=function(e){return"[object String]"===Object.prototype.toString.call(e)},s=function(e,n){for(;null!==n&&"BODY"!==n.tagName;){if(n.tagName&&n.tagName.toLowerCase()===e)return n;n=n.parentNode}return!1},l=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 i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];var c=this;clearTimeout(t),t=setTimeout((function(){e.apply(c,o)}),n)}},f=function(e,n,t){var i,o;return n=n||250,function(){for(var r=arguments.length,c=new Array(r),u=0;u<r;u++)c[u]=arguments[u];var a=t||this,s=+new Date;i&&s<i+n?(clearTimeout(o),o=setTimeout((function(){i=s,e.apply(a,c)}),n)):(i=s,e.apply(a,c))}},g=function(e,n,t){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t=void 0===t?document:t;var o="touchstart"===e||"touchmove"===e||"wheel"===e,r=Modernizr.passiveeventlisteners&&!i&&o;window.attachEvent?t.attachEvent(e,n):t.addEventListener(e,n,!!r&&{passive:!0})},h=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})},v=function(e,n,t){var i=document.createEvent("CustomEvent");i.initCustomEvent(e,!0,!0,n),document.dispatchEvent(i),t&&(r("#js-iFrame")[0]&&r("#js-iFrame")[0].contentWindow.document.dispatchEvent(i),m()&&parent.document.dispatchEvent(i))},m=function(){try{return window.self!==window.top}catch(e){return!0}},w=function(e,n,t){y(e,JSON.stringify(n),t)},y=function(e,n,t){var i,o=b();t?((i=new Date).setMilliseconds(i.getMilliseconds()+t),i=i.toUTCString()):i="",document.cookie=e+"="+n+";expires="+i+";domain="+o+";path=/;"},k=function(e){var n;try{n=JSON.parse(E(e))}catch(e){}return n},E=function(e){var n=RegExp(e+"[^;]+").exec(document.cookie);return unescape(n?n.toString().replace(/^[^=]+./,""):"")},S=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)},C=function(e,n){var t=window.requestAnimationFrame||function(e,n){window.setTimeout(e,1e3/60)},i=(new Date).getTime(),o={};return o.value=t((function r(){(new Date).getTime()-i>=n?e.call():o.value=t(r)})),o},T=function(e,n,t,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",e.style.WebkitTransition=d+" "+l+" "+s,e.style.MozTransition=d+" "+l+" "+s,e.style.transition=d+" "+l+" "+s,e.style[d]=u,C((function(){if(n&&(e.innerHTML=n),e.style[d]=a,t){i.Z.run(e,o.Z);try{hrScriptLoad.rescanForModulesAndVariants(e)}catch(e){}}r&&r()}),c)},A=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},L=function(e){var n;return n=Math.round(e.getBoundingClientRect().left),{top:Math.round(e.getBoundingClientRect().top),left
1:n}},x=function(e){i.Z.run(e,o.Z)},D=function(e){var n=document.getElementById(e);n&&n.parentNode.removeChild(n)},N=function(e,n,t,i){if(!document.getElementById(e)){var o=r("script")[0],c=document.createElement("script");c.id=e,c.src=n,t&&c.setAttribute("async",!!t),i&&c.addEventListener("load",(function(e){i(null,e)}),!1),o.parentNode.insertBefore(c,o)}},B=function(e,n,t){if(!document.getElementById(e)){var i=document.createElement("link");i.id=e,i.href=n,t.type&&(i.type=t.type),t.rel&&(i.rel=t.rel),t.title&&(i.title=t.title),t.as&&(i.as=t.as),document.getElementsByTagName("head")[0].appendChild(i)}},M=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},_=function(e){e.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},O=function(e,n){var t=window.requestAnimationFrame||function(e,n){window.setTimeout(e,1e3/60)},i={},o=(new Date).getTime();return i.value=t((function r(){i.value=t(r),(new Date).getTime()-o>=n&&(e.call(),o=(new Date).getTime())})),i},j=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.