PageSourceSearch

https://www.hr2.de/assets_4.49.0/js//feature/forms.bundle.js

js hr2.de collected 2026-10-02 02:53:14 UTC 9,307 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/forms"],{4064:function(n,e,t){t.d(e,{AF:function(){return s},BV:function(){return f},LR:function(){return l},pi:function(){return d},wM:function(){return c},xG:function(){return o}});var i=t(8471),o=function(){var n=new i.Z;return!n.isSettingsCookieExistent("ati")||n.isSettingsCookieAccepted("ati")},r=function(n,e){"undefined"!=typeof pa&&void 0!==pa&&o()&&pa.sendEvent(n,e)},a=function(n,e){return{click:n,site_level2_id:u(e)}},u=function(n){return void 0!==n?n:void 0!==pageDisplayConfig?pageDisplayConfig.site_level2_id:99},c=function(n,e){return r("click.action",a(n,e))},s=function(n,e){return r("click.navigation",a(n,e))},d=function(){return r("page.display",pageDisplayConfig)},l=function(n,e){return r("click.download",a(n,e))},f=function(n){r("page.scroll",{scroll_depth:n,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(n,e,t){var i=t(8836);e.Z=function(){var n={},e=function(){(0,i.TD)("hrSettings",n,31536e7)},t=function(){n=(0,i.Vv)("hrSettings")||{}};return{setCookieForOptions:function(i,o){null==o&&(o=!0),t(),n[i]=o,e()},isSettingsCookieExistent:function(e){return t(),n.hasOwnProperty(e)},isSettingsCookieAccepted:function(e){return t(),!0===n[e]}}}},8836:function(n,e,t){t.d(e,{BX:function(){return g},Ds:function(){return l},Ev:function(){return m},GV:function(){return L},HD:function(){return c},JU:function(){return D},MJ:function(){return O},P2:function(){return f},PN:function(){return r},SG:function(){return d},TD:function(){return h},Tx:function(){return A},Vv:function(){return T},Vx:function(){return v},X_:function(){return M},_U:function(){return u},aM:function(){return C},bv:function(){return s},cQ:function(){return x},cu:function(){return _},kT:function(){return N},lU:function(){return b},oL:function(){return p},oN:function(){return a},pW:function(){return S},ve:function(){return j},xQ:function(){return B}});var i=t(4413),o=t(7247),r=function(n,e){var t=e||document;return n?n.indexOf(",")>0||n.split(" ").length>1||n.split(".").length>1?t.querySelectorAll(n):"."===n[0]?t.getElementsByClassName(n.substring(1)):"#"===n[0]?new Array(document.getElementById(n.substring(1))):t.querySelectorAll(n):t},a=function(n){return!!n&&n.replace(/(<([^>]+)>)/gi,"")},u=function(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)},c=function(n){return"[object String]"===Object.prototype.toString.call(n)},s=function(n,e){for(;null!==e&&"BODY"!==e.tagName;){if(e.tagName&&e.tagName.toLowerCase()===n)return e;e=e.parentNode}return!1},d=function(n,e){for(var t=e.parentNode;null!==t;){if(t===n)return!0;t=t.parentNode}return!1},l=function(n,e){var t=null;return function(){for(var i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];var a=this;clearTimeout(t),t=setTimeout((function(){n.apply(a,o)}),e)}},f=function(n,e,t){var i,o;return e=e||250,function(){for(var r=arguments.length,a=new Array(r),u=0;u<r;u++)a[u]=arguments[u];var c=t||this,s=+new Date;i&&s<i+e?(clearTimeout(o),o=setTimeout((function(){i=s,n.apply(c,a)}),e)):(i=s,n.apply(c,a))}},p=function(n,e,t){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t=void 0===t?document:t;var o="touchstart"===n||"touchmove"===n||"wheel"===n,r=Modernizr.passiveeventlisteners&&!i&&o;window.attachEvent?t.attachEvent(n,e):t.addEventListener(n,e,!!r&&{passive:!0})},m=function(n,e,t){t=void 0===t?document:t,window.attachEvent?t.detachEvent(n,e):t.removeEventListener(n,e)},v=function(n,e,t){(t=void 0===t?document:t).addEventListener(n,e,{once:!0})},g=function(n,e,t){var i=document.createEvent("CustomEvent");i.initCustomEvent(n,!0,!0,e),document.dispatchEvent(i),t&&(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(n){return!0}},h=function(n,e,t){y(n,JSON.stringify(e),t)},y=function(n,e,t){var i,o=k();t?((i=new Date).setMilliseconds(i.getMilliseconds()+t),i=i.toUTCString()):i="",document.cookie=n+"="+e+";expires="+i+";domain="+o+";path=/;"},T=function(n){var e;try{e=JSON.parse(E(n))}catch(n){}return e},E=function(n){var e=RegExp(n+"[^;]+").exec(document.cookie);return unescape(e?e.toString().replace(/^[^=]+./,""):"")},N=function(n){var e=k();document.cookie=n+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain="+e+";path=/;"},k=function(){return window.location.hostname.substring(window.location.hostname.indexOf(".")+1)},C=function(n,e){var t=window.requestAnimationFrame||function(n,e){window.setTimeout(n,1e3/60)},i=(new Date).getTime(),o={};return o.value=t((function r(){(new Date).getTime()-i>=e?n.call():o.value=t(r)})),o},D=function(n,e,t,r,a,u,c,s,d){var l="opacity";a=a||800,u=u||.2,c=c||1,s=s||"ease-in-out",d=d||"0.8s",n.style.WebkitTransition=l+" "+d+" "+s,n.style.MozTransition=l+" "+d+" "+s,n.style.transition=l+" "+d+" "+s,n.style[l]=u,C((function(){if(e&&(n.innerHTML=e),n.style[l]=c,t){i.Z.run(n,o.Z);try{hrScriptLoad.rescanForModulesAndVariants(n)}catch(n){}}r&&r()}),a)},M=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},S=function(n){var e;return e=Math.round(n.getBoundingClientRect().left),{top:Math.round(n.getBoundingClientRect().top),left
1:e}},L=function(n){i.Z.run(n,o.Z)},b=function(n){var e=document.getElementById(n);e&&e.parentNode.removeChild(e)},j=function(n,e,t,i){if(!document.getElementById(n)){var o=r("script")[0],a=document.createElement("script");a.id=n,a.src=e,t&&a.setAttribute("async",!!t),i&&a.addEventListener("load",(function(n){i(null,n)}),!1),o.parentNode.insertBefore(a,o)}},O=function(n,e,t){if(!document.getElementById(n)){var i=document.createElement("link");i.id=n,i.href=e,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)}},_=function(n,e){var t=document.createElement("style");return e&&t.setAttribute("media",e),t.styleSheet?t.styleSheet.cssText=n||"":t.appendChild(document.createTextNode(n||"")),document.head.appendChild(t),t.sheet},A=function(n){n.dispatchEvent(new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0}))},x=function(n,e){var t=window.requestAnimationFrame||function(n,e){window.setTimeout(n,1e3/60)},i={},o=(new Date).getTime();return i.value=t((function r(){i.value=t(r),(new Date).getTime()-o>=e&&(n.call(),o=(new Date).getTime())})),i},B=function(n){return window.cancelAnimationFrame&&n?window.cancelAnimationFrame(n.value):window.clearInterval(n)}},6138:function(n,e,t){t.r(e);var i=t(8836),o=t(4064),r=t(4793),a=t.n(r);t(6374),t(5354);e.default=function(n){var e,t,r,u,c=n.options,s=n.element,d=(0,i.PN)(".js-formWrapper",s)[0],l=d.innerHTML,f=c.jsonURL,p=c.trackingInformations,m=(0,i.PN)(".js-form",s)[0],v=!1,g=m&&m.getAttribute("action"),w=window.parent.document.documentElement.classList.contains("webview"),h=function(n){!function(){for(var n=(0,i.PN)(".is-invalid",s),e=(0,i.PN)(".c-form__errorMessage",s),t=0;t<n.length;t++)n[t].classList.remove("is-invalid"),e[t].parentNode.removeChild(e[t])}(),function(n){var e,t,i;for(i in n)e=document.getElementsByClassName("js-wrapper-"+i)[0],t=document.createElement("p"),document.getElementsByName(i)[0].classList.add("is-invalid"),t.innerHTML=c.errorMessages[n[i]],t.classList.add("c-form__errorMessage"),e.insertBefore(t,e.firstChild)}(n)};m&&(d.style.WebkitTransition="opacity 0.8s ease-in-out",d.style.MozTransition="opacity 0.8s ease-in-out",d.style.transition="opacity 0.8s ease-in-out",f&&(g=f),a()(s).on("submit",".js-form",(function(n){n.preventDefault(),!w&&(0,o.wM)(p),v||(v=!0,m=(0,i.PN)(".js-form",s)[0],t=(0,i.PN)(".js-preloadIcon",d)[0],r=(0,i.PN)(".js-loadingIcon",d)[0],t.classList.add("-isHidden"),r.classList.remove("-isHidden"),(e={}).timeout=6e4,c.jsonp?(e.type="GET",e.url=g,e.data=a()(m).serialize(),e.contentType="application/json; charset=utf-8",e.dataType="jsonp"):c.multipart?(e.type="POST",e.url=g,e.timeout=6e5,e.data=new FormData(m),e.contentType=!1,e.processData=!1,e.dataType=""):(e.type="POST",e.url=g+"?rf=inline",e.data=a()(m).serialize(),e.contentType="application/x-www-form-urlencoded; charset=UTF-8",e.dataType=""),a().ajax(e).done((function(n,e,t){if(c.showOnSuccess)(0,i.JU)(d,(0,i.PN)(c.showOnSuccess,s)[0].innerHTML,!0);else if(c.jsonURL)switch(JSON.parse(n).status){case"VALIDATION_ERROR":u=JSON.parse(n).errors,h(u);break;case"OK":(0,i.JU)(d,(0,i.PN)(".js-successMessage",s)[0].innerHTML,!0);break;default:(0,i.JU)(d,(0,i.PN)(".js-errorMessage",s)[0].innerHTML,!0)}else(0,i.JU)(d,n,!0);c.eventOnSuccess&&(0,i.BX)(c.eventOnSuccess,!0),s.id&&(window.location.hash=s.id)})).fail((function(n,e,t){(0,i.JU)(d,'<div class="c-form success">Das hat leider nicht funktioniert!</div>',!0)})).always((function(){t.classList.remove("-isHidden"),r.classList.add("-isHidden"),v=!1})))})),a()(s).on("click",".js-formReload",(function(n){n.preventDefault(),(0,i.JU)(d,l,!0),(0,o.wM)("forms::formReload")})),a()(s).on("keydown",".js-form",(function(n){n.stopPropagation()})))}}}]);

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.