PageSourceSearch

https://emixion.nl/modules/pages/js/cookie-dialog.js?id=ad58469da2d1091b129d47a15eb869ab

js emixion.nl collected 2026-10-09 22:40:18 UTC 14,968 bytes, 2 lines download raw bytes

1/*! For license information please see cookie-dialog.js.LICENSE.txt */
2(()=>{var t={5203(t){t.exports=function(){"use strict";function t(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)"__proto__"!==r&&(t[r]=n[r])}return t}function e(n,r){function o(e,o,i){if("undefined"!=typeof document){"number"==typeof(i=t({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var a in i)i[a]&&(c+="; "+a,!0!==i[a]&&(c+="="+i[a].split(";")[0]));return document.cookie=e+"="+n.write(o,e)+c}}function i(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var e=document.cookie?document.cookie.split("; "):[],r={},o=0;o<e.length;o++){var i=e[o].split("="),c=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(a in r||(r[a]=n.read(c,a)),t===a)break}catch{}}return t?r[t]:r}}return Object.create({set:o,get:i,remove:function(e,n){o(e,"",t({},n,{expires:-1}))},withAttributes:function(n){return e(this.converter,t({},this.attributes,n))},withConverter:function(n){return e(t({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}return e({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()}},e={};function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(){"use strict";r=function(){return e};var t,e={},o=Object.prototype,i=o.hasOwnProperty,c=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function p(t,e,n,r){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),a=new T(r||[]);return c(i,"_invoke",{value:O(t,n,a)}),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",v="suspendedYield",y="executing",m="completed",g={};function w(){}function k(){}function b(){}var x={};f(x,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(F([])));E&&E!==o&&i.call(E,u)&&(x=E);var L=b.prototype=w.prototype=Object.create(x);function C(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(o,c,a,u){var s=d(t[o],t,c);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var o;c(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}})}function O(e,n,r){var o=h;return function(i,c){if(o===y)throw Error("Generator is already running");if(o===m){if("throw"===i)throw c;return{value:t,done:!0}}for(r.method=i,r.arg=c;;){var a=r.delegate;if(a){var u=A(a,r);if(u){if(u===g)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=y;var s=d(e,n,r);if("normal"===s.type){if(o=r.done?m:v,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=m,r.method="throw",r.arg=s.arg)}}}function A(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,A(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var i=d(o,e.iterator,n.arg);
vendor: 4,298 bytes, line 2
2if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var c=i.arg;return c?c.done?(n[e.resultName]=c.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):c:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function F(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,c=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return c.next=c}}throw new TypeError(n(e)+" is not iterable")}return k.prototype=b,c(L,"constructor",{value:b,configurable:!0}),c(b,"constructor",{value:k,configurable:!0}),k.displayName=f(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===k||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,f(t,l,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},C(S.prototype),f(S.prototype,s,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var c=new S(p(t,n,r,o),i);return e.isGeneratorFunction(n)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},C(L),f(L,l,"Generator"),f(L,u,(function(){return this})),f(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=F,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],a=c.completion;if("root"===c.tryLoc)return r("end");if(c.tryLoc<=this.prev){var u=i.call(c,"catchLoc"),s=i.call(c,"finallyLoc");if(u&&s){if(this.prev<c.catchLoc)return r(c.catchLoc,!0);if(this.prev<c.finallyLoc)return r(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return r(c.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return r(c.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),I(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:F(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}function o(t,e,n,r,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,o)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var c=t.apply(e,n);
2function a(t){o(c,r,i,a,u,"next",t)}function u(t){o(c,r,i,a,u,"throw",t)}a(void 0)}))}}var c=function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}(5203),a="/api/v1/cookies/get-scripts"+(window.COOKIES_URL_SUFFIX?window.COOKIES_URL_SUFFIX:"");window.cookieDialog={};var u=null;function s(){return l.apply(this,arguments)}function l(){return(l=i(r().mark((function t(){var e;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!u){t.next=4;break}return t.next=3,u;case 3:return t.abrupt("return",t.sent);case 4:return t.prev=4,t.next=7,fetch(a);case 7:if(!(e=t.sent).ok){t.next=15;break}return t.next=11,e.json();case 11:return u=t.sent,t.abrupt("return",u);case 15:throw new Error("Network response was not ok");case 16:t.next=21;break;case 18:t.prev=18,t.t0=t.catch(4),console.error("Fetch error:",t.t0);case 21:case"end":return t.stop()}}),t,null,[[4,18]])})))).apply(this,arguments)}function f(t){var e=document.createElement("script");e.type="text/javascript",e.textContent=t.script_content,e.setAttribute("data-cookie-id",t.id),!0===t.async&&(e.async=!0),null!==t.src&&(e.src=t.src),document.head.appendChild(e)}function p(t){var e=document.createElement("noscript");e.innerHTML=t.noscript_content,e.setAttribute("data-cookie-id",t.id),document.body.appendChild(e)}function d(t){var e=document.createElement("meta");e.id=t.id,e.setAttribute("name",t.meta.name),e.setAttribute("content",t.meta.content),e.setAttribute("data-cookie-id",t.id),document.head.appendChild(e)}function h(){return v.apply(this,arguments)}function v(){return(v=i(r().mark((function t(){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c.set("cookies_accepted",1,{expires:31}),document.querySelectorAll(".cookies-popup-background, .cookies-popup-dialog").forEach((function(t){t.hidden=!0})),"undefined"!=typeof fullpage_api&&null!==fullpage_api&&fullpage_api.setAllowScrolling(!0),t.next=4,g();case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function y(){document.querySelectorAll("[data-cookies-type]").forEach((function(t){var e=t.dataset.cookiesType+"_cookies";c.set(e,t.checked?1:0,{expires:31})}))}function m(t){var e,n,r,o,i;return"undefined"!=typeof Cookiebot?!("analytics_cookies"!==t||null===(e=Cookiebot)||void 0===e||null===(e=e.consent)||void 0===e||!e.statistics)||(!("tracking_cookies"!==t||null===(n=Cookiebot)||void 0===n||null===(n=n.consent)||void 0===n||!n.marketing)||(!("marketing_cookies"!==t||null===(r=Cookiebot)||void 0===r||null===(r=r.consent)||void 0===r||!r.marketing)||(!("preferences_cookies"!==t||null===(o=Cookiebot)||void 0===o||null===(o=o.consent)||void 0===o||!o.preferences)||!("necessary_cookies"!==t||null===(i=Cookiebot)||void 0===i||null===(i=i.consent)||void 0===i||!i.necessary)))):1==parseInt(c.get(t))}function g(){return w.apply(this,arguments)}function w(){return(w=i(r().mark((function t(){var e;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s();case 2:if(e=t.sent){t.next=5;break}return t.abrupt("return");case 5:e.forEach((function(t,e){var n;document.querySelectorAll('[data-cookie-id="'+t.id+'"]').forEach((function(t){return t.remove()})),null!==t.script_content&&null!==t.type&&(null!=t&&t.always_load||!0===m(t.type))&&p(t),null!==t.meta&&null===t.type&&d(t),(null!==t.script_content&&null!==t.type&&!0===((null==t?void 0:t.always_load)||!0===m(t.type))||null===t.script_content&&null===t.noscript_content&&null===t.meta&&null!==t.type&&null!==t.src&&!0===((null==t?void 0:t.always_load)||!0===m(t.type))||null!==(n=null==t?void 0:t.always_load)&&void 0!==n&&n)&&f(t)}));case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function k(){return(k=i(r().mark((function t(){var e,n,o,i;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=!0,!("undefined"==typeof Cookiebot||!Cookiebot.consent&&!Cookiebot.declined)||c.get("cookies_accepted")||(o=!1),"#show-settings"===document.location.hash&&(o=!1),t.next=6,s();case 6:if(i=t.sent){t.next=9;break}return t.abrupt("return");
2case 9:return i.forEach((function(t,e){null===t.type||c.get(t.type)||(o=!1)})),null!==(e=window)&&void 0!==e&&null!==(e=e.COOKIE_PAGE_SETTINGS)&&void 0!==e&&e.IS_COOKIE_PAGE&&"#show-settings"!==(null===(n=document)||void 0===n||null===(n=n.location)||void 0===n?void 0:n.hash)&&(o=!0),o||(document.querySelectorAll(".cookies-popup-background, .cookies-popup-dialog").forEach((function(t){t.hidden=!1})),"undefined"!=typeof fullpage_api&&null!==fullpage_api&&fullpage_api.setAllowScrolling(!1)),document.querySelectorAll("[data-cookies-type]").forEach((function(t){var e=t.dataset.cookiesType+"_cookies",n=c.get(e);void 0===n&&(n=1),parseInt(n)?t.checked=!0:t.checked=!1})),t.next=15,g();case 15:"undefined"!=typeof dataLayer&&dataLayer.push({ecommerce:null});case 16:case"end":return t.stop()}}),t)})))).apply(this,arguments)}window.cookieDialog.checkCookie=m,document.addEventListener("click",(function(t){var e=t.target.closest("[data-cookies-type]");e&&document.querySelectorAll('[data-cookies-type="'+e.dataset.cookiesType+'"]').forEach((function(t){t.checked=e.checked}))})),document.addEventListener("click",function(){var t=i(r().mark((function t(e){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.target.closest(".save-cookie-settings")){t.next=4;break}return y(),t.next=4,h();case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),document.addEventListener("click",function(){var t=i(r().mark((function t(e){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.target.closest(".save-all-cookie-settings")){t.next=5;break}return document.querySelectorAll("[data-cookies-type]").forEach((function(t){t.value="1",t.checked=!0})),y(),t.next=5,h();case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),document.addEventListener("click",(function(t){var e=t.target.closest('[data-dialog-action="switch"]');e&&(t.preventDefault(),e.closest(".dialog-content-wrapper").hidden=!0,document.querySelectorAll("."+e.dataset.dialogSwitchTo).forEac
2h((function(t){t.hidden=!1})))})),window.addEventListener("CookiebotOnConsentReady",i(r().mark((function t(){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:case"end":return t.stop()}}),t)})))),function(){k.apply(this,arguments)}()})();

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.