1/*! For license information please see tx-notifications.js.LICENSE.txt */ 2(()=>{"use strict";function t(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}var e=function e(r,n){function o(e,o,i){if("undefined"!=typeof document){"number"==typeof(i=t({},n,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 a="";for(var c in i)i[c]&&(a+="; "+c,!0!==i[c]&&(a+="="+i[c].split(";")[0]));return document.cookie=e+"="+r.write(o,e)+a}}return Object.create({set:o,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var e=document.cookie?document.cookie.split("; "):[],n={},o=0;o<e.length;o++){var i=e[o].split("="),a=i.slice(1).join("=");try{var c=decodeURIComponent(i[0]);if(n[c]=r.read(a,c),t===c)break}catch(t){}}return t?n[t]:n}},remove:function(e,r){o(e,"",t({},r,{expires:-1}))},withAttributes:function(r){return e(this.converter,t({},this.attributes,r))},withConverter:function(r){return e(t({},this.converter,r),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(r)}})}({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:"/"});function r(t){return r="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},r(t)}const n=new function(){var t={load:[]},e={loaded:window.hasOwnProperty("bootstrap")},n={load:0};function o(){n.load||function(){if(e.loaded)return n.load=0,t.load.forEach((function(t){return t()})),void(t.load=[]);n.load++,n.load>300?console.warn("Waiting for Twitter Bootstrap to load timed out after ".concat(300," frames.")):(e.loaded=window.hasOwnProperty("bootstrap"),requestAnimationFrame(o))}()}this.onLoad=function(e){if("function"!=typeof e)throw new Error('Argument 1 of BootstrapObserver.onLoad() has to be of type function, "'.concat(r(e),'" given.'));t.load.push(e),o()}};function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function i(t){return i="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},i(t)}function a(t,r,s,f){var l=this;function h(t){t.preventDefault();var e=document.querySelector(t.currentTarget.hash);e&&bootstrap.Modal.getOrCreateInstance(e).toggle()}this.close=function(t){var n=u(f);if(!n)return!0;var o=(e.get(n)||"").split(",").map((function(t){return parseInt(t,10)}));if(o.includes(r))return!0;o.push(r);var i={path:"/",secure:!0};return a.PERSISTENCE_LEVEL_ONCE===f&&(i.expires=365),e.set(n,o.join(","),i),!0},this.getElement=function(){return t},function(){if(!(t instanceof HTMLElement))throw new Error('Argument 1 of NotificationModel.constructor() has to be an instance of HTMLElement, "'.concat(i(t),'" given.'));if("number"!=typeof r&&(r=parseInt(t.dataset.txNotification,10)),"string"!=typeof s&&(s=t.dataset.txType||"unknown"),"number"!=typeof f&&(f=parseInt(t.dataset.txPersistence,10)),isNaN(r)||r<1)throw new Error("Unable to initialize notification: No identifier given.");if(isNaN(f)&&(f=a.PERSISTENCE_LEVEL_ALWAYS),c(r,f))switch(s){case"banner":t.addEventListener("close.bs.alert",l.close),t.classList.add("show");break;case"modal":t.addEventListener("hide.bs.modal",l.close),a._hasActiveModal||!t.dataset.txAutoload&&!t.querySelector(".tx-notification-form:not(:has(form))")||(a._hasActiveModal=!0,n.onLoad((function(){bootstrap.hasOwnProperty("Modal")&&bootstrap.Modal.getOrCreateInstance(t).show()}))),(e=document.querySelectorAll('a[href="#tx-notification-'.concat(r,'"]:not([data-bs-toggle])')),function(t){if(Array.isArray(t))return o(t)}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
2()).forEach((function(t){window.hasOwnProperty("bootstrap")&&bootstrap.hasOwnProperty("Modal")?t.addEventListener("click",h):t.dataset.bsToggle="modal"}))}else t.remove();var e}()}function c(t,r){var n=u(r);if(!n)return!0;var o=e.get(n);return void 0===o||!o.split(",").map((function(t){return parseInt(t,10)})).includes(t)}function u(t){switch(t){case a.PERSISTENCE_LEVEL_ONCE:return"tx_notifications_persistent";case a.PERSISTENCE_LEVEL_SESSION:return"tx_notifications_session";case a.PERSISTENCE_LEVEL_ALWAYS:default:return null}}a.fromData=function(t){if(!c(t.id,t.persistence))return null;document.body.append(document.createRange().createContextualFragment(t.html));var e=new a(document.querySelector("#tx-notification-".concat(t.id)),t.id,t.type,t.persistence),r=new CustomEvent("loaded.notification.async",{detail:e});return document.body.dispatchEvent(r),e},a.PERSISTENCE_LEVEL_ONCE=0,a.PERSISTENCE_LEVEL_ALWAYS=1,a.PERSISTENCE_LEVEL_SESSION=2,a._hasActiveModal=!1;const s=a;function f(t){return f="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},f(t)}function l(){l=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var i=e&&e.prototype instanceof w?e:w,a=Object.create(i.prototype),c=new T(n||[]);return o(a,"_invoke",{value:A(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var d="suspendedStart",y="suspendedYield",m="executing",v="completed",g={};function w(){}function b(){}function E(){}var S={};s(S,a,(function(){return this}));var L=Object.getPrototypeOf,x=L&&L(L(j([])));x&&x!==r&&n.call(x,a)&&(S=x);var _=E.prototype=w.prototype=Object.create(S);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function I(t,e){function r(o,i,a,c){var u=p(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==f(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function A(e,r,n){var o=d;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var s=p(e,r,n);if("normal"===s.type){if(o=n.done?v:y,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function N(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function j(e){if(e||""===e){var r=e[a];if(r)return r.call(e);
vendor: 4,342 bytes, line 2
2if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(f(e)+" is not iterable")}return b.prototype=E,o(_,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:b,configurable:!0}),b.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,u,"GeneratorFunction")),t.prototype=Object.create(_),t},e.awrap=function(t){return{__await:t}},O(I.prototype),s(I.prototype,c,(function(){return this})),e.AsyncIterator=I,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new I(h(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(_),s(_,u,"Generator"),s(_,a,(function(){return this})),s(_,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=j,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(C),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},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 r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:j(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function h(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}(new function(){var t=0;function e(){var e;(e=document.querySelectorAll("[data-tx-notification]"),function(t){if(Array.isArray(t))return p(t)}(e)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(t,e):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}
2()).forEach((function(t){return new s(t)})),a()&&(t=0,fetch(i().toString()).then(r))}function r(t){return n.apply(this,arguments)}function n(){var e;return e=l().mark((function e(r){var n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t++,e.next=3,r.text();case 3:if(n=e.sent){e.next=7;break}return o(),e.abrupt("return");case 7:try{JSON.parse(n).forEach((function(t){return s.fromData(t)}))}catch(t){o()}case 8:case"end":return e.stop()}}),e)})),n=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){h(i,n,o,a,c,"next",t)}function c(t){h(i,n,o,a,c,"throw",t)}a(void 0)}))},n.apply(this,arguments)}function o(){if(t>=2)throw new Error("Unable to fetch notifications after ".concat(t," attempt(s)."));a()&&fetch(i(!0).toString()).then(r)}function i(t){if(!window.hasOwnProperty("pageId"))throw new Error("Unable to build asynchronous URI: No page identifier specified.");"boolean"!=typeof t&&(t=!1);var e=new URL(window.location),r=(document.documentElement.lang||"").substring(0,2).toLowerCase();return e.pathname="/",e.searchParams.set("eID","tx_notifications"),r&&e.searchParams.set("lang",r),e.searchParams.set("format","json"),e.searchParams.set("pid",window.pageId),t&&e.searchParams.set("nc","1"),e}function a(){return function(t,e){if("string"!=typeof t||""===t)throw new Error("No name given.");void 0===e&&(e=null);for(var r=["TYPO3","settings","TS",t],n=window,o=r.shift();o;){if(!n.hasOwnProperty(o))return e;n=n[o],o=r.shift()}return n}("tx_notifications_async",!1)&&window.hasOwnProperty("pageId")}this.process=function(){"interactive"===document.readyState||"complete"===document.readyState?e():document.addEventListener("DOMContentLoaded",e,{once:!0})}}).process()})();
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.