PageSourceSearch

https://www.rhenen.nl/_assets/355a0888f572c6a9552ca237e8e6848e/Js/…enGemeentenCalamity-Index.min.js?1790570193

js rhenen.nl collected 2026-10-02 14:51:44 UTC 2,128 bytes, 1 lines download raw bytes

1var OpenGemeenten=OpenGemeenten||{};OpenGemeenten.CalamityIndex=function(){let i;const a="calamity";function o(e){var t=e.currentTarget.closest(".notification"),e=t.dataset.calamitySource+t.dataset.calamityId;d(e),s(t)}function r(){void 0!==i&&null!==i&&i.classList.contains("calamity")&&i.remove(),p(),e()}let n=document.head.querySelector('[property="config:calamity-selector"]'),c=document.head.querySelector('[property="config:calamity-url"]'),e=function(){var e=null===n?"":n.content,t=null===c?"":c.content;""!==e&&""!==t&&function(e,t){let n=new XMLHttpRequest;n.open("GET",e),n.onload=function(){if(n.status===200){i=u(n.responseText);l(t)}},n.send()}(t,e)},l=function(n){if(void 0!==i&&null!==i&&i.classList.contains("calamity")){let e=i.querySelector(".calamity__show-closed");e.addEventListener("click",r);let t=i.querySelectorAll(".notification");!function(e){let t=[],n=[];if(e.forEach(e=>{n.push(e.dataset.calamitySource+e.dataset.calamityId)}),Array.isArray(f()))t=f();const i=t.filter(e=>n.includes(e));if(i.length>0)document.cookie=a+"="+JSON.stringify(i)+"; path=/;";else p()}(t),t.forEach(e=>{let t=e.querySelector(".close-button");t.addEventListener("click",o),s(e)}),document.querySelector(n).prepend(i)}},s=function(e){var t=e.dataset.calamitySource+e.dataset.calamityId;y(t)&&e.remove(),0<m()&&(i.querySelector(".calamity__info").style.display="block")},u=function(e){let t=new DOMParser;return t.parseFromString(e,"text/html").body.firstElementChild},d=function(e){let t=[];Array.isArray(f())&&(t=f()),t.push(e),document.cookie=a+"="+JSON.stringify(t)+"; path=/;"},y=function(t){let e=[];return Array.isArray(f())&&(e=f()),e.some(e=>e===t)},m=function(){let e=[];return Array.isArray(f())&&(e=f()),e.length},f=function(){var e=document.cookie.split(";").find(e=>e.trim().startsWith(a+"="))?.split("=")[1];if(void 0!==e&&""!==e)return JSON.parse(e)},p=function(){document.cookie=a+"=; expires=Thu, 01-Jan-1970 00:00:00 GMT; path=/;"};return{initialize:function(){e()}}};let CalamityIndex=new OpenGemeenten.CalamityIndex;document.addEventListener("DOMContentLoaded",function(){CalamityIndex.initialize()});

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.