diff --git a/Resources/Public/JavaScript/Lux/Lux.min.js b/Resources/Public/JavaScript/Lux/Lux.min.js index 45c1898e..43fead79 100644 --- a/Resources/Public/JavaScript/Lux/Lux.min.js +++ b/Resources/Public/JavaScript/Lux/Lux.min.js @@ -1 +1 @@ -!function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(t);function i(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var r={exports:{}};function o(t,e,n,i){return new(n||(n=Promise))((function(r,o){function a(t){try{l(i.next(t))}catch(t){o(t)}}function u(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,u)}l((i=i.apply(t,e||[])).next())}))}function a(t,e){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(u){return function(l){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)try{if(n=1,i&&(r=2&u[0]?i.return:u[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,u[1])).done)return r;switch(i=0,r&&(u=[2&u[0],r.value]),u[0]){case 0:case 1:r=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,i=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]1&&void 0!==arguments[1]&&arguments[1],n=document.createElement("div");return n.innerHTML=t.trim(),!0===e?n.children:n.firstChild},r=function(t,e){var n=t.children;return 1===n.length&&n[0].tagName===e},o=function(t){return null!=(t=t||document.querySelector(".basicLightbox"))&&!0===t.ownerDocument.body.contains(t)};n.visible=o,n.create=function(t,e){var n=function(t,e){var n=i('\n\t\t
\n\t\t\t\n\t\t
\n\t')),o=n.querySelector(".basicLightbox__placeholder");t.forEach((function(t){return o.appendChild(t)}));var a=r(o,"IMG"),u=r(o,"VIDEO"),l=r(o,"IFRAME");return!0===a&&n.classList.add("basicLightbox--img"),!0===u&&n.classList.add("basicLightbox--video"),!0===l&&n.classList.add("basicLightbox--iframe"),n}(t=function(t){var e="string"==typeof t,n=t instanceof HTMLElement==1;if(!1===e&&!1===n)throw new Error("Content must be a DOM element/node or string");return!0===e?Array.from(i(t,!0)):"TEMPLATE"===t.tagName?[t.content.cloneNode(!0)]:Array.from(t.children)}(t),e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null==(t=Object.assign({},t)).closable&&(t.closable=!0),null==t.className&&(t.className=""),null==t.onShow&&(t.onShow=function(){}),null==t.onClose&&(t.onClose=function(){}),"boolean"!=typeof t.closable)throw new Error("Property `closable` must be a boolean");if("string"!=typeof t.className)throw new Error("Property `className` must be a string");if("function"!=typeof t.onShow)throw new Error("Property `onShow` must be a function");if("function"!=typeof t.onClose)throw new Error("Property `onClose` must be a function");return t}(e)),a=function(t){return!1!==e.onClose(u)&&function(t,e){return t.classList.remove("basicLightbox--visible"),setTimeout((function(){return!1===o(t)||t.parentElement.removeChild(t),e()}),410),!0}(n,(function(){if("function"==typeof t)return t(u)}))};!0===e.closable&&n.addEventListener("click",(function(t){t.target===n&&a()}));var u={element:function(){return n},visible:function(){return o(n)},show:function(t){return!1!==e.onShow(u)&&function(t,e){return document.body.appendChild(t),setTimeout((function(){requestAnimationFrame((function(){return t.classList.add("basicLightbox--visible"),e()}))}),10),!0}(n,(function(){if("function"==typeof t)return t(u)}))},close:a};return u}},{}]},{},[1])(1),"function"==typeof SuppressedError&&SuppressedError;var u={exclude:[]};var l={},c={timeout:"true"},s=function(t,e){"undefined"!=typeof window&&(l[t]=e)},f=function(){return Object.fromEntries(Object.entries(l).filter((function(t){var e,n=t[0];return!(null===(e=null==u?void 0:u.exclude)||void 0===e?void 0:e.includes(n))})).map((function(t){return[t[0],(0,t[1])()]})))},d=3432918353,g=461845907,h=3864292196,m=2246822507,v=3266489909;function p(t,e){return t<>>32-e}function x(t,e){void 0===e&&(e=0);for(var n=e,i=0,r=3&t.length,o=t.length-r,a=0;a>>16,t=Math.imul(t,m),t^=t>>>13,(t=Math.imul(t,v))^t>>>16}(n^=t.length))>>>0).toString(36)}function b(t,e){return new Promise((function(n){setTimeout((function(){return n(e)}),t)}))}function w(t,e,n){return Promise.all(t.map((function(t){return Promise.race([t,b(e,n)])})))}function y(){return o(this,void 0,void 0,(function(){var t,e,n,i,r;return a(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),t=f(),e=Object.keys(t),[4,w(Object.values(t),(null==u?void 0:u.timeout)||1e3,c)];case 1:return n=o.sent(),i=n.filter((function(t){return void 0!==t})),r={},i.forEach((function(t,n){r[e[n]]=t})),[2,S(r,u.exclude||[])];case 2:throw o.sent();case 3:return[2]}}))}))}function S(t,e){var n={},i=function(i){if(t.hasOwnProperty(i)){var r=t[i];if("object"!=typeof r||Array.isArray(r))e.includes(i)||(n[i]=r);else{var o=S(r,e.map((function(t){return t.startsWith(i+".")?t.slice(i.length+1):t})));Object.keys(o).length>0&&(n[i]=o)}}};for(var r in t)i(r);return n}function A(t){for(var e=0,n=0;ne[r]&&(r=parseInt(o,10));return r}function E(){if("undefined"==typeof navigator)return{name:"unknown",version:"unknown"};for(var t=navigator.userAgent,e={Edg:"Edge",OPR:"Opera"},n=0,i=[/(?Edge|Edg)\/(?\d+(?:\.\d+)?)/,/(?(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?\d+(?:\.\d+)?)/,/(?(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?\d+(?:\.\d+)?)/,/(?Safari)\/(?\d+(?:\.\d+)?)/,/(?MSIE|Trident|IEMobile).+?(?\d+(?:\.\d+)?)/,/(?[A-Za-z]+)\/(?\d+(?:\.\d+)?)/,/(?SamsungBrowser)\/(?\d+(?:\.\d+)?)/];n0;e--)if(t(e))return e}catch(t){return 0}return 0}"Firefox"!=E().name&&s("fonts",(function(){var t=this;return new Promise((function(e,n){try{!function(t){var e;o(this,void 0,void 0,(function(){var n,i,r;return a(this,(function(o){switch(o.label){case 0:return document.body?[3,2]:[4,(50,new Promise((function(t){return setTimeout(t,50,undefined)})))];case 1:return o.sent(),[3,0];case 2:if(n=document.createElement("iframe"),(i=n.style).setProperty("display","block","important"),i.setProperty("visibility","visible"),n.src="about:blank",document.body.appendChild(n),!(r=n.contentDocument||(null===(e=n.contentWindow)||void 0===e?void 0:e.document)))throw new Error("Iframe document is not accessible");return t({iframe:r}),setTimeout((function(){document.body.removeChild(n)}),0),[2]}}))}))}((function(n){var i=n.iframe;return o(t,void 0,void 0,(function(){var t,n,r,o;return a(this,(function(a){return t=i.createElement("canvas"),n=t.getContext("2d"),r=T.map((function(t){return M(n,t)})),o={},C.forEach((function(t){var e=M(n,t);r.includes(e)||(o[t]=e)})),e(o),[2]}))}))}))}catch(t){n({error:"unsupported"})}}))})),s("hardware",(function(){return new Promise((function(t,e){var n=void 0!==navigator.deviceMemory?navigator.deviceMemory:0,i=window.performance&&window.performance.memory?window.performance.memory:0;t({videocard:O(),architecture:P(),deviceMemory:n.toString()||"undefined",jsHeapSizeLimit:i.jsHeapSizeLimit||0})}))})),s("locales",(function(){return new Promise((function(t){t({languages:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone})}))})),s("permissions",(function(){return o(this,void 0,void 0,(function(){var t;return a(this,(function(e){return L=(null==u?void 0:u.permissions_to_check)||["accelerometer","accessibility","accessibility-events","ambient-light-sensor","background-fetch","background-sync","bluetooth","camera","clipboard-read","clipboard-write","device-info","display-capture","gyroscope","geolocation","local-fonts","magnetometer","microphone","midi","nfc","notifications","payment-handler","persistent-storage","push","speaker","storage-access","top-level-storage-access","window-management","query"],t=Array.from({length:(null==u?void 0:u.retries)||3},(function(){return function(){return o(this,void 0,void 0,(function(){var t,e,n,i,r;return a(this,(function(o){switch(o.label){case 0:t={},e=0,n=L,o.label=1;case 1:if(!(ei&&(n=t,i=e[t])})),n}(t.map((function(t){return e in t?t[e]:void 0})).filter((function(t){return void 0!==t})));i&&(n[e]=i)})),n}(t,L)}))]}))}))})),s("plugins",(function(){var t=[];if(navigator.plugins)for(var e=0;e0,maxTouchPoints:navigator.maxTouchPoints,colorDepth:screen.colorDepth,mediaMatches:D()})}))})),s("system",(function(){return new Promise((function(t){var e=E();t({platform:window.navigator.platform,cookieEnabled:window.navigator.cookieEnabled,productSub:navigator.productSub,product:navigator.product,useragent:navigator.userAgent,browser:{name:e.name,version:e.version},applePayVersion:R()})}))}));var q,N="SamsungBrowser"!==E().name?1:3,F=null;"undefined"!=typeof document&&((q=document.createElement("canvas")).width=200,q.height=100,F=q.getContext("webgl")),s("webgl",(function(){return o(this,void 0,void 0,(function(){var t;return a(this,(function(e){try{if(!F)throw new Error("WebGL not supported");return t=Array.from({length:N},(function(){return function(){try{if(!F)throw new Error("WebGL not supported");var t=F.createShader(F.VERTEX_SHADER),e=F.createShader(F.FRAGMENT_SHADER);if(!t||!e)throw new Error("Failed to create shaders");if(F.shaderSource(t,"\n attribute vec2 position;\n void main() {\n gl_Position = vec4(position, 0.0, 1.0);\n }\n "),F.shaderSource(e,"\n precision mediump float;\n void main() {\n gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color\n }\n "),F.compileShader(t),!F.getShaderParameter(t,F.COMPILE_STATUS))throw new Error("Vertex shader compilation failed: "+F.getShaderInfoLog(t));if(F.compileShader(e),!F.getShaderParameter(e,F.COMPILE_STATUS))throw new Error("Fragment shader compilation failed: "+F.getShaderInfoLog(e));var n=F.createProgram();if(!n)throw new Error("Failed to create shader program");if(F.attachShader(n,t),F.attachShader(n,e),F.linkProgram(n),!F.getProgramParameter(n,F.LINK_STATUS))throw new Error("Shader program linking failed: "+F.getProgramInfoLog(n));F.useProgram(n);for(var i=137,r=new Float32Array(548),o=2*Math.PI/i,a=0;a',t.lightboxInstance=r.exports.create(o,{className:"basicLightbox--iframe"}),c(e.configuration.delay,"lightboxOpen",e)},this.lightboxOpenAfterDelay=function(){t.lightboxInstance.show(),u()};var u=function(){for(var e=document.querySelectorAll('[data-lux-action-lightbox="close"]'),n=0;n=o&&(r=!0,setTimeout((function(){try{t[n+"AfterDelay"](i)}catch(t){console.log(t)}}),parseInt(e.time)))}},this.mouseLeaveDelayFunction=function(e,n,i){var r=!1;window.addEventListener("mouseout",(function(o){!1===r&&(o.pageY<0||o.pageY>window.innerHeight||o.pageX<0||o.pageX>window.innerWidth)&&(r=!0,setTimeout((function(){try{t[n+"AfterDelay"](i)}catch(t){console.log(t)}}),parseInt(e.time)))}),!1)},this.inactiveTabDelayFunction=function(e,n,i){var r,o,a=!1;void 0!==document.hidden?(r="hidden",o="visibilitychange"):void 0!==document.msHidden?(r="msHidden",o="msvisibilitychange"):void 0!==document.webkitHidden&&(r="webkitHidden",o="webkitvisibilitychange"),void 0===document.addEventListener||void 0===r?console.log("This function requires a modern browser such as Google Chrome or Firefox withPage Visibility API"):document.addEventListener(o,(function(){!1===a&&document[r]&&setTimeout((function(){try{a=!0,t[n+"AfterDelay"](i)}catch(t){console.log(t)}}),parseInt(e.time))}),!1)},this.getIdentification=function(){return i};var s=function(){!1===n&&(i.setIdentificator(X()),f(),n=!0)},f=function t(){i.isIdentificatorSet()?(h(),m(),v(),x(),b(),w(),y()):++o<200?setTimeout(t,100):console.log("Fingerprint could not be calculated within 20s")},d=function(){for(var e=document.querySelectorAll('[data-lux-trackingoptout="checkbox"]'),n=0;n0&&(t["tx_lux_fe[arguments][newsUid]"]=B()),G(t,j(),"generalWorkflowActionCallback",null)}},m=function(){for(var t=document.querySelectorAll('form:not([data-lux-form-identification]) input:not([data-lux-disable]):not([type="hidden"]):not([type="submit"]), form:not([data-lux-form-identification]) textarea:not([data-lux-disable]), form:not([data-lux-form-identification]) select:not([data-lux-disable]), form:not([data-lux-form-identification]) radio:not([data-lux-disable]), form:not([data-lux-form-identification]) check:not([data-lux-disable])'),e=0;e()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)},et=function(t){var e=t.replace(/^.*[\\\/]/,"");return nt(it(e).toLowerCase(),["pdf","txt","doc","docx","xls","xlsx","ppt","pptx","jpg","png","zip"])&&(t=e),t},nt=function(t,e){for(var n=e.length,i=0;i0&&r[r.length-1])||6!==u[0]&&2!==u[0])){a=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]1&&void 0!==arguments[1]&&arguments[1],n=document.createElement("div");return n.innerHTML=t.trim(),!0===e?n.children:n.firstChild},r=function(t,e){var n=t.children;return 1===n.length&&n[0].tagName===e},o=function(t){return null!=(t=t||document.querySelector(".basicLightbox"))&&!0===t.ownerDocument.body.contains(t)};n.visible=o,n.create=function(t,e){var n=function(t,e){var n=i('\n\t\t
\n\t\t\t\n\t\t
\n\t')),o=n.querySelector(".basicLightbox__placeholder");t.forEach((function(t){return o.appendChild(t)}));var a=r(o,"IMG"),u=r(o,"VIDEO"),l=r(o,"IFRAME");return!0===a&&n.classList.add("basicLightbox--img"),!0===u&&n.classList.add("basicLightbox--video"),!0===l&&n.classList.add("basicLightbox--iframe"),n}(t=function(t){var e="string"==typeof t,n=t instanceof HTMLElement==1;if(!1===e&&!1===n)throw new Error("Content must be a DOM element/node or string");return!0===e?Array.from(i(t,!0)):"TEMPLATE"===t.tagName?[t.content.cloneNode(!0)]:Array.from(t.children)}(t),e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null==(t=Object.assign({},t)).closable&&(t.closable=!0),null==t.className&&(t.className=""),null==t.onShow&&(t.onShow=function(){}),null==t.onClose&&(t.onClose=function(){}),"boolean"!=typeof t.closable)throw new Error("Property `closable` must be a boolean");if("string"!=typeof t.className)throw new Error("Property `className` must be a string");if("function"!=typeof t.onShow)throw new Error("Property `onShow` must be a function");if("function"!=typeof t.onClose)throw new Error("Property `onClose` must be a function");return t}(e)),a=function(t){return!1!==e.onClose(u)&&function(t,e){return t.classList.remove("basicLightbox--visible"),setTimeout((function(){return!1===o(t)||t.parentElement.removeChild(t),e()}),410),!0}(n,(function(){if("function"==typeof t)return t(u)}))};!0===e.closable&&n.addEventListener("click",(function(t){t.target===n&&a()}));var u={element:function(){return n},visible:function(){return o(n)},show:function(t){return!1!==e.onShow(u)&&function(t,e){return document.body.appendChild(t),setTimeout((function(){requestAnimationFrame((function(){return t.classList.add("basicLightbox--visible"),e()}))}),10),!0}(n,(function(){if("function"==typeof t)return t(u)}))},close:a};return u}},{}]},{},[1])(1),"function"==typeof SuppressedError&&SuppressedError;var r={exclude:[]};var o={},a={timeout:"true"},u=function(t,e){"undefined"!=typeof window&&(o[t]=e)},l=function(){return Object.fromEntries(Object.entries(o).filter((function(t){var e,n=t[0];return!(null===(e=null==r?void 0:r.exclude)||void 0===e?void 0:e.includes(n))})).map((function(t){return[t[0],(0,t[1])()]})))},c=3432918353,s=461845907,f=3864292196,d=2246822507,g=3266489909;function h(t,e){return t<>>32-e}function m(t,e){void 0===e&&(e=0);for(var n=e,i=0,r=3&t.length,o=t.length-r,a=0;a>>16,t=Math.imul(t,d),t^=t>>>13,(t=Math.imul(t,g))^t>>>16}(n^=t.length))>>>0).toString(36)}function v(t,e){return new Promise((function(n){setTimeout((function(){return n(e)}),t)}))}function p(t,e,n){return Promise.all(t.map((function(t){return Promise.race([t,v(e,n)])})))}function x(){return n(this,void 0,void 0,(function(){var t,e,n,o,u;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),t=l(),e=Object.keys(t),[4,p(Object.values(t),(null==r?void 0:r.timeout)||1e3,a)];case 1:return n=i.sent(),o=n.filter((function(t){return void 0!==t})),u={},o.forEach((function(t,n){u[e[n]]=t})),[2,b(u,r.exclude||[])];case 2:throw i.sent();case 3:return[2]}}))}))}function b(t,e){var n={},i=function(i){if(t.hasOwnProperty(i)){var r=t[i];if("object"!=typeof r||Array.isArray(r))e.includes(i)||(n[i]=r);else{var o=b(r,e.map((function(t){return t.startsWith(i+".")?t.slice(i.length+1):t})));Object.keys(o).length>0&&(n[i]=o)}}};for(var r in t)i(r);return n}function w(t){for(var e=0,n=0;ne[r]&&(r=parseInt(o,10));return r}function A(){if("undefined"==typeof navigator)return{name:"unknown",version:"unknown"};for(var t=navigator.userAgent,e={Edg:"Edge",OPR:"Opera"},n=0,i=[/(?Edge|Edg)\/(?\d+(?:\.\d+)?)/,/(?(?:Chrome|Chromium|OPR|Opera|Vivaldi|Brave))\/(?\d+(?:\.\d+)?)/,/(?(?:Firefox|Waterfox|Iceweasel|IceCat))\/(?\d+(?:\.\d+)?)/,/(?Safari)\/(?\d+(?:\.\d+)?)/,/(?MSIE|Trident|IEMobile).+?(?\d+(?:\.\d+)?)/,/(?[A-Za-z]+)\/(?\d+(?:\.\d+)?)/,/(?SamsungBrowser)\/(?\d+(?:\.\d+)?)/];n0;e--)if(t(e))return e}catch(t){return 0}return 0}"Firefox"!=A().name&&u("fonts",(function(){var t=this;return new Promise((function(e,r){try{!function(t){var e;n(this,void 0,void 0,(function(){var n,r,o;return i(this,(function(i){switch(i.label){case 0:return document.body?[3,2]:[4,(50,new Promise((function(t){return setTimeout(t,50,undefined)})))];case 1:return i.sent(),[3,0];case 2:if(n=document.createElement("iframe"),(r=n.style).setProperty("display","block","important"),r.setProperty("visibility","visible"),n.src="about:blank",document.body.appendChild(n),!(o=n.contentDocument||(null===(e=n.contentWindow)||void 0===e?void 0:e.document)))throw new Error("Iframe document is not accessible");return t({iframe:o}),setTimeout((function(){document.body.removeChild(n)}),0),[2]}}))}))}((function(r){var o=r.iframe;return n(t,void 0,void 0,(function(){var t,n,r,a;return i(this,(function(i){return t=o.createElement("canvas"),n=t.getContext("2d"),r=I.map((function(t){return L(n,t)})),a={},E.forEach((function(t){var e=L(n,t);r.includes(e)||(a[t]=e)})),e(a),[2]}))}))}))}catch(t){r({error:"unsupported"})}}))})),u("hardware",(function(){return new Promise((function(t,e){var n=void 0!==navigator.deviceMemory?navigator.deviceMemory:0,i=window.performance&&window.performance.memory?window.performance.memory:0;t({videocard:C(),architecture:T(),deviceMemory:n.toString()||"undefined",jsHeapSizeLimit:i.jsHeapSizeLimit||0})}))})),u("locales",(function(){return new Promise((function(t){t({languages:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone})}))})),u("permissions",(function(){return n(this,void 0,void 0,(function(){var t;return i(this,(function(e){return _=(null==r?void 0:r.permissions_to_check)||["accelerometer","accessibility","accessibility-events","ambient-light-sensor","background-fetch","background-sync","bluetooth","camera","clipboard-read","clipboard-write","device-info","display-capture","gyroscope","geolocation","local-fonts","magnetometer","microphone","midi","nfc","notifications","payment-handler","persistent-storage","push","speaker","storage-access","top-level-storage-access","window-management","query"],t=Array.from({length:(null==r?void 0:r.retries)||3},(function(){return function(){return n(this,void 0,void 0,(function(){var t,e,n,r,o;return i(this,(function(i){switch(i.label){case 0:t={},e=0,n=_,i.label=1;case 1:if(!(ei&&(n=t,i=e[t])})),n}(t.map((function(t){return e in t?t[e]:void 0})).filter((function(t){return void 0!==t})));i&&(n[e]=i)})),n}(t,_)}))]}))}))})),u("plugins",(function(){var t=[];if(navigator.plugins)for(var e=0;e0,maxTouchPoints:navigator.maxTouchPoints,colorDepth:screen.colorDepth,mediaMatches:M()})}))})),u("system",(function(){return new Promise((function(t){var e=A();t({platform:window.navigator.platform,cookieEnabled:window.navigator.cookieEnabled,productSub:navigator.productSub,product:navigator.product,useragent:navigator.userAgent,browser:{name:e.name,version:e.version},applePayVersion:O()})}))}));var P,D="SamsungBrowser"!==A().name?1:3,R=null;"undefined"!=typeof document&&((P=document.createElement("canvas")).width=200,P.height=100,R=P.getContext("webgl")),u("webgl",(function(){return n(this,void 0,void 0,(function(){var t;return i(this,(function(e){try{if(!R)throw new Error("WebGL not supported");return t=Array.from({length:D},(function(){return function(){try{if(!R)throw new Error("WebGL not supported");var t=R.createShader(R.VERTEX_SHADER),e=R.createShader(R.FRAGMENT_SHADER);if(!t||!e)throw new Error("Failed to create shaders");if(R.shaderSource(t,"\n attribute vec2 position;\n void main() {\n gl_Position = vec4(position, 0.0, 1.0);\n }\n "),R.shaderSource(e,"\n precision mediump float;\n void main() {\n gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color\n }\n "),R.compileShader(t),!R.getShaderParameter(t,R.COMPILE_STATUS))throw new Error("Vertex shader compilation failed: "+R.getShaderInfoLog(t));if(R.compileShader(e),!R.getShaderParameter(e,R.COMPILE_STATUS))throw new Error("Fragment shader compilation failed: "+R.getShaderInfoLog(e));var n=R.createProgram();if(!n)throw new Error("Failed to create shader program");if(R.attachShader(n,t),R.attachShader(n,e),R.linkProgram(n),!R.getProgramParameter(n,R.LINK_STATUS))throw new Error("Shader program linking failed: "+R.getProgramInfoLog(n));R.useProgram(n);for(var i=137,r=new Float32Array(548),o=2*Math.PI/i,a=0;a',t.lightboxInstance=e.exports.create(o,{className:"basicLightbox--iframe"}),c(n.configuration.delay,"lightboxOpen",n)},this.lightboxOpenAfterDelay=function(){t.lightboxInstance.show(),u()};var u=function(){for(var e=document.querySelectorAll('[data-lux-action-lightbox="close"]'),n=0;n=o&&(r=!0,setTimeout((function(){try{t[n+"AfterDelay"](i)}catch(t){console.log(t)}}),parseInt(e.time)))}},this.mouseLeaveDelayFunction=function(e,n,i){var r=!1;window.addEventListener("mouseout",(function(o){!1===r&&(o.pageY<0||o.pageY>window.innerHeight||o.pageX<0||o.pageX>window.innerWidth)&&(r=!0,setTimeout((function(){try{t[n+"AfterDelay"](i)}catch(t){console.log(t)}}),parseInt(e.time)))}),!1)},this.inactiveTabDelayFunction=function(e,n,i){var r,o,a=!1;void 0!==document.hidden?(r="hidden",o="visibilitychange"):void 0!==document.msHidden?(r="msHidden",o="msvisibilitychange"):void 0!==document.webkitHidden&&(r="webkitHidden",o="webkitvisibilitychange"),void 0===document.addEventListener||void 0===r?console.log("This function requires a modern browser such as Google Chrome or Firefox withPage Visibility API"):document.addEventListener(o,(function(){!1===a&&document[r]&&setTimeout((function(){try{a=!0,t[n+"AfterDelay"](i)}catch(t){console.log(t)}}),parseInt(e.time))}),!1)},this.getIdentification=function(){return r};var s=function(){!1===i&&(r.setIdentificator(X()),f(),i=!0)},f=function t(){r.isIdentificatorSet()?(h(),m(),v(),x(),b(),w(),y()):++o<200?setTimeout(t,100):console.log("Fingerprint could not be calculated within 20s")},d=function(){for(var e=document.querySelectorAll('[data-lux-trackingoptout="checkbox"]'),n=0;n0&&(t["tx_lux_fe[arguments][newsUid]"]=W()),G(t,j(),"generalWorkflowActionCallback",null)}},m=function(){for(var t=document.querySelectorAll('form:not([data-lux-form-identification]) input:not([data-lux-disable]):not([type="hidden"]):not([type="submit"]), form:not([data-lux-form-identification]) textarea:not([data-lux-disable]), form:not([data-lux-form-identification]) select:not([data-lux-disable]), form:not([data-lux-form-identification]) radio:not([data-lux-disable]), form:not([data-lux-form-identification]) check:not([data-lux-disable])'),e=0;e()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)},et=function(t){var e=t.replace(/^.*[\\\/]/,"");return nt(it(e).toLowerCase(),["pdf","txt","doc","docx","xls","xlsx","ppt","pptx","jpg","png","zip"])&&(t=e),t},nt=function(t,e){for(var n=e.length,i=0;i