1!function i(s,c,h){function a(e,t){if(!c[e]){if(!s[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(u)return u(e,!0);var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}var r=c[e]={exports:{}};s[e][0].call(r.exports,function(t){return a(s[e][1][t]||t)},r,r.exports,i,s,c,h)}return c[e].exports}for(var u="function"==typeof require&&require,t=0;t<h.length;t++)a(h[t]);return a}({1:[function(t,e,n){!function(p,m){"use strict";if("IntersectionObserver"in p&&"IntersectionObserverEntry"in p&&"intersectionRatio"in p.IntersectionObserverEntry.prototype)"isIntersecting"in p.IntersectionObserverEntry.prototype||Object.defineProperty(p.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0<this.intersectionRatio}});else{var e=[];t.prototype.THROTTLE_TIMEOUT=100,t.prototype.POLL_INTERVAL=null,t.prototype.USE_MUTATION_OBSERVER=!0,t.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},t.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},t.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},t.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},t.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||1<t)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},t.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},t.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(n(p,"resize",this._checkForIntersections,!0),n(m,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in p&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(m,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},t.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,o(p,"resize",this._checkForIntersections,!0),o(m,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},t.prototype._checkForIntersections=function(){var c=this._rootIsInDom(),h=c?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(t){var e=t.element,n=v(e),o=this._rootContainsTarget(e),r=t.entry,i=c&&o&&this._computeTargetAndRootIntersection(e,h),s=t.entry=new a({time:p.performance&&performance.now&&performance.now(),target:e,boundingClientRect:n,rootBounds:h,intersectionRect:i});r?c&&o?this._hasCrossedThreshold(r,s)&&this._queuedEntries.push(s):r&&r.isIntersecting&&this._queuedEntries.push(s):this._queuedEntries.push(s)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},t.prototype._computeTargetAndRootIntersection=function(t,e){if("none"!=p.getComputedStyle(t).display){for(var n,o,r,i,s,c,h,a,u=v(t),l=_(t),f=!1;!f;){var d=null,g=1==l.nodeType?p.getComputedStyle(l):{};if("none"==g.display)return;if(l==this.root||l==m?(f=!0,d=e):l!=m.body&&l!=m.documentElement&&"visible"!=g.overflow&&(d=v(l)),d&&(n=d,o=u,void 0,r=Math.max(n.top,o.top),i=Math.min(n.bottom,o.bottom),s=Math.max(n.left,o.left),c=Math.min(n.right,o.right),a=i-r,!(u=0<=(h=c-s)&&0<=a&&{top:r,bottom:i,left:s,right:c,width:h,height:a})))break;l=_(l)}return u}},t.prototype._getRootRect=function(){var t;if(this.root)t=v(this.root);else{var e=m.documentElement,n=m.body;t={top:0,left:0,right:e.clientWidth||n.clientWidth,width:e.clientWidth||n.clientWidth,bottom:e.clientHeight||n.clientHeight,height:e.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(t)},t.prototype._expandRectByRootMargin=function(n){var t=this._rootMarginValues.map(function(t,e){return"px"==t.unit?t.value:t.value*(e%2?n.width:n.height)/100}),e={top:n.top-t[0],right:n.right+t[1],bottom:n.bottom+t[2],left:n.left-t[3]};return e.width=e.right-e.left,e.height=e.bottom-e.top,e},t.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var r=0;r<this.thresholds.length;r++){var i=this.thresholds[r];if(i==n||i==o||i<n!=i<o)return!0}},t.prototype._rootIsInDom=function(){return!this.root||r(m,this.root)},t.prototype._rootContainsTarget=function(t){return r(this.root||m,t)},t.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},t.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},p.IntersectionObserver=t,p.IntersectionObserverEntry=a}function a(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,r=o.width*o.height;this.intersectionRatio=n?r/n:this.isIntersecting?1:0}function t(t,e){var n,o,r,i=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout(function(){n(),r=null},o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function n(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function o(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function v(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function r(t,e){for(var n=e;n;){if(n==t)return!0;n=_(n)}return!1}function _(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e}}(window,document)},{}],2:[function(t,e,n){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)})},{}],3:[function(t,e,n){"use strict";n.__esModule=!0;var o=function(){function t(t,e,n){this.box=t,this.day=e,this.month=n,this._shiftDateBox()}return t.prototype._shiftDateBox=function(){var r=this;if(0<document.querySelectorAll(this.box).length){var t=document.querySelectorAll(this.box);0<t.length&&t.forEach(function(t,e){var n=t.getElementsByClassName(r.day)[0],o=t.getElementsByClassName(r.month)[0];n.insertAdjacentElement("beforebegin",o)})}},t}();n.default=o},{}],4:[function(t,e,n){"use strict";n.__esModule=!0,t("nodelist-foreach-polyfill"),t("intersection-observer");var o=t("./datebox");window.onload=function(){if(new o.default(".boxVeranstaltungsvorschauDatum","boxVeranstaltungsvorschauDatumTag","boxVeranstaltungsvorschauvorschauDatumMonat"),new o.default(".boxTerminVorschauDatum","boxTerminVorschauDatumTag","boxTerminVorschauvorschauDatumMonat"),0<document.getElementsByClassName("g_amtstafel").length){var t=document.getElementsByClassName("g_amtstafel")[0],e=document.createElement("p");e.innerHTML='<a href="/amtstafel">Weitere Aushänge</a>',e.classList.add("boxAmtstafelVorschauWeitereTermine"),t.appendChild(e)}0<document.getElementsByClassName("g_suche").length&&(document.getElementById("searchbtn_225000390").value="ï");if(0<document.getElementsByClassName("g_oeffnungszeiten").length){var n=document.querySelectorAll(".g_oeffnungszeiten");
10<n.length&&n.forEach(function(t,e){var n=t.querySelectorAll(".ris_oz_times");0<n.length&&n.forEach(function(t,e){t.innerHTML=t.innerHTML.toString().replace(/, /g,"")})})}r()},window.onscroll=function(){var t;200<window.scrollY?(t=document.getElementById("header"))&&t.classList.add("stuck"):(t=document.getElementById("header"))&&t.classList.remove("stuck")};var r=function(){var t=document.querySelectorAll("#columns .g_wrapper"),e=new IntersectionObserver(function(t){t.forEach(function(t){if(0<t.intersectionRatio&&!t.target.getAttribute("visibility")){var e=t.target;e.style.visibility="visible",e.classList.add("fadeIn")}})});t.forEach(function(t){e.observe(t)})}},{"./datebox":3,"intersection-observer":1,"nodelist-foreach-polyfill":2}]},{},[4]); 2//# sourceMappingURL=main.js.map
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.