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czL,MA9BW","sources":["../node_modules/@micado-digital/micado-ial/dist/esm/micado-ial_13.entry.js"],"sourcesContent":["import { r as registerInstance, h, F as Fragment, c as createEvent, g as getElement } from './index-1cb43162.js';\n\nconst getCookie = (name) => {\r\n let cookieArr = document.cookie.split(\";\");\r\n for (const cookie of cookieArr) {\r\n let cookiePair = cookie.split(\"=\");\r\n if (name === cookiePair[0].trim()) {\r\n return cookiePair[1];\r\n }\r\n }\r\n return null;\r\n};\r\nconst setCookie = (name, value, days) => {\r\n let cookie = name + \"=\" + value;\r\n if (days) {\r\n cookie += \"; max-age=\" + days * 24 * 60 * 60;\r\n }\r\n document.cookie = cookie;\r\n};\n\nconst translations = {\r\n de: {\r\n countdown: {\r\n days: \"Tage\",\r\n day: \"Tag\",\r\n hours: \"Stunden\",\r\n hour: \"Stunde\",\r\n minutes: \"Minuten\",\r\n minute: \"Minute\",\r\n seconds: \"Sekunden\",\r\n second: \"Sekunde\"\r\n },\r\n newsletter: {\r\n buttons: {\r\n close: \"Schließen\",\r\n register: \"Anmelden\"\r\n },\r\n error: {\r\n message: {\r\n \"1\": \"Bitte alle Pflichtfelder ausfüllen.\",\r\n \"2\": \"Datenschutzbestimmungen müssen akzeptiert werden.\",\r\n \"3\": \"Konto existiert bereits.\"\r\n }\r\n },\r\n placeholders: {\r\n firstname: \"Vorname\",\r\n lastname: \"Nachname\",\r\n email: \"E-Mail\"\r\n },\r\n privacy: {\r\n text01: \"Ich akzeptiere die\",\r\n text02: \"Datenschutzbestimmungen\"\r\n },\r\n success: {\r\n title: \"Nur noch 1 Schritt\",\r\n text01: \"Bitte bestätigen Sie Ihre E-Mail-Adresse\",\r\n text02: \"Wir haben Ihnen dazu eine E-Mail mit einem Link geschickt. Nach Klick auf den Link erhalten Sie in Zukunft unseren Newsletter, den Sie jederzeit abbestellen können.\"\r\n }\r\n }\r\n },\r\n en: {\r\n countdown: {\r\n days: \"Days\",\r\n day: \"Day\",\r\n hours: \"Hours\",\r\n hour: \"Hour\",\r\n minutes: \"Minutes\",\r\n minute: \"Minute\",\r\n seconds: \"Seconds\",\r\n second: \"Second\"\r\n },\r\n newsletter: {\r\n buttons: {\r\n close: \"Close\",\r\n register: \"Register\"\r\n },\r\n error: {\r\n message: {\r\n \"1\": \"Please fill in all required fields.\",\r\n \"2\": \"Data protection regulations must be accepted.\",\r\n \"3\": \"Account already exists.\"\r\n }\r\n },\r\n placeholders: {\r\n firstname: \"Firstname\",\r\n lastname: \"Lastname\",\r\n email: \"Email\"\r\n },\r\n privacy: {\r\n text01: \"I accept the\",\r\n text02: \"Privacy policy\"\r\n },\r\n success: {\r\n title: \"Just 1 more step\",\r\n text01: \"Please confirm your email address\",\r\n text02: \"We have sent you an email with a link for this purpose. After clicking on the link, you will receive our newsletter in the future, which you can unsubscribe at any time.\"\r\n }\r\n }\r\n }\r\n};\n\nconst getTranslations = (lang) => {\r\n var _a;\r\n let language = (_a = lang !== null && lang !== void 0 ? lang : document.querySelector(\"html\").getAttribute(\"lang\")) !== null && _a !== void 0 ? _a : \"en\";\r\n if (!translations[language]) {\r\n console.warn(`no translations for language: ${language}, loading default locale en`);\r\n return;\r\n }\r\n return translations[language];\r\n};\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nvar isObject_1 = isObject;\n\nvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;\n\nvar _freeGlobal = freeGlobal;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = _freeGlobal || freeSelf || Function('return this')();\n\nvar _root = root;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return _root.Date.now();\n};\n\nvar now_1 = now;\n\n/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nvar _trimmedEndIndex = trimmedEndIndex;\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, _trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nvar _baseTrim = baseTrim;\n\n/** Built-in value references. */\nvar Symbol = _root.Symbol;\n\nvar _Symbol = Symbol;\n\n/** Used for built-in method references. */\nvar objectProto$2 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty$1 = objectProto$2.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString$1 = objectProto$2.toString;\n\n/** Built-in value references. */\nvar symToStringTag$1 = _Symbol ? _Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty$1.call(value, symToStringTag$1),\n tag = value[symToStringTag$1];\n\n try {\n value[symToStringTag$1] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString$1.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag$1] = tag;\n } else {\n delete value[symToStringTag$1];\n }\n }\n return result;\n}\n\nvar _getRawTag = getRawTag;\n\n/** Used for built-in method references. */\nvar objectProto$1 = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto$1.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nvar _objectToString = objectToString;\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? _getRawTag(value)\n : _objectToString(value);\n}\n\nvar _baseGetTag = baseGetTag;\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nvar isObjectLike_1 = isObjectLike;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike_1(value) && _baseGetTag(value) == symbolTag);\n}\n\nvar isSymbol_1 = isSymbol;\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol_1(value)) {\n return NAN;\n }\n if (isObject_1(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject_1(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = _baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nvar toNumber_1 = toNumber;\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT$1 = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax$1 = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT$1);\n }\n wait = toNumber_1(wait) || 0;\n if (isObject_1(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax$1(toNumber_1(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now_1();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now_1());\n }\n\n function debounced() {\n var time = now_1(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nvar debounce_1 = debounce;\n\nconst MicadoIal = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n this.language = \"de\";\r\n this.pageId = \"\";\r\n this.path = \"\";\r\n this.showOnConsentAccepted = true;\r\n this.data = [];\r\n this.queues = {};\r\n this.tick = {};\r\n this.windowWidth = 0;\r\n this.fetchData = async () => {\r\n const response = await fetch(`${this.path}/interactionlayer.json.api?lang=${this.language}${this.pageId ? `&pageid=${this.pageId}` : ``}`);\r\n const fetchData = await response.json();\r\n return fetchData;\r\n };\r\n }\r\n async componentWillLoad() {\r\n this.show();\r\n document.body.addEventListener(\"mw-consent-accepted\", () => {\r\n this.show();\r\n });\r\n document.body.addEventListener(\"mw-consent-customized\", () => {\r\n this.show();\r\n });\r\n document.body.addEventListener(\"mw-consent-ignored\", () => {\r\n this.show();\r\n });\r\n }\r\n filterByDevice(data, device) {\r\n return data.filter((item) => {\r\n return typeof device === \"number\"\r\n ? item.Device === device\r\n : device.includes(item.Device);\r\n });\r\n }\r\n getWindowWidth() {\r\n return (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth);\r\n }\r\n setData() {\r\n let data = null;\r\n if (this.windowWidth < 768) {\r\n data = this.filterByDevice(this.data, [1, 3]);\r\n }\r\n else {\r\n data = this.filterByDevice(this.data, [1, 2]);\r\n }\r\n this.queues = this.setQueuesByPlacement(data);\r\n }\r\n setQueuesByPlacement(data) {\r\n let queues = {};\r\n data.forEach((item) => {\r\n const key = item === null || item === void 0 ? void 0 : item.Placement.toLocaleLowerCase();\r\n if (!queues[key]) {\r\n queues[key] = [];\r\n }\r\n queues[key].push(item);\r\n });\r\n return queues;\r\n }\r\n show() {\r\n if (this.showOnConsentAccepted && getCookie(\"mw-cookie-settings\") === null) {\r\n return;\r\n }\r\n this.translation = getTranslations(this.language);\r\n this.windowWidth = this.getWindowWidth();\r\n window.addEventListener(\"resize\", debounce_1(() => {\r\n this.windowWidth = this.getWindowWidth();\r\n this.setData();\r\n }, 100));\r\n async function load() {\r\n this.data = await this.fetchData();\r\n this.setData();\r\n }\r\n load.call(this);\r\n }\r\n dequeue(e) {\r\n const placement = e === null || e === void 0 ? void 0 : e.detail;\r\n this.queues[placement].shift();\r\n this.tick = {};\r\n }\r\n renderItem(item) {\r\n var _a, _b, _c;\r\n let headline = null;\r\n let text = null;\r\n let image = null;\r\n let addition = null;\r\n let addressGroup = null;\r\n let button = null;\r\n let buttonURL = null;\r\n let buttonURLRel = null;\r\n let buttonTarget = null;\r\n let option = null;\r\n let option2 = null;\r\n switch (item === null || item === void 0 ? void 0 : item.Type) {\r\n case \"Message\":\r\n headline = item.Title;\r\n text = item.Text;\r\n image = item.MediaFile;\r\n if (item.ActionType === \"Redirect\" || item.ActionType === \"ExternalRedirect\") {\r\n button = item.ActionTitle;\r\n buttonURL = item.ActionURL;\r\n buttonURLRel = item.ActionUrlRel;\r\n buttonTarget = item.ActionTarget;\r\n }\r\n return (h(\"micado-ial-item-message\", { headline: headline, text: text, image: image, button: button, buttonURL: buttonURL, buttonURLRel: buttonURLRel, buttonTarget: buttonTarget, path: this.path }));\r\n case \"Notification\":\r\n headline = item.Title;\r\n if (item.ActionType === \"Redirect\" || item.ActionType === \"ExternalRedirect\") {\r\n button = item.ActionTitle;\r\n buttonURL = item.ActionURL;\r\n buttonURLRel = item.ActionUrlRel;\r\n buttonTarget = item.ActionTarget;\r\n }\r\n return (h(\"micado-ial-item-notification\", { button: button, buttonTarget: buttonTarget, buttonURL: buttonURL, buttonURLRel: buttonURLRel, headline: headline }));\r\n case \"Countdown\":\r\n headline = item.Title;\r\n text = item.Text;\r\n image = item.MediaFile;\r\n if (item.ActionType === \"Redirect\" || item.ActionType === \"ExternalRedirect\") {\r\n button = item.ActionTitle;\r\n buttonURL = item.ActionURL;\r\n buttonURLRel = item.ActionUrlRel;\r\n buttonTarget = item.ActionTarget;\r\n }\r\n const countdownDate = item.OptionDate;\r\n return (h(\"micado-ial-item-countdown\", { button: button, buttonTarget: buttonTarget, buttonURL: buttonURL, buttonURLRel: buttonURLRel, countdownDate: countdownDate, headline: headline, image: image, path: this.path, text: text, translation: (_a = this === null || this === void 0 ? void 0 : this.translation) === null || _a === void 0 ? void 0 : _a.countdown }));\r\n case \"Offer\":\r\n headline = item.Title;\r\n text = item.Text;\r\n image = item.MediaFile;\r\n addition = item.Addition;\r\n if (item.ActionType === \"Redirect\" || item.ActionType === \"ExternalRedirect\") {\r\n button = item.ActionTitle;\r\n buttonURL = item.ActionURL;\r\n buttonURLRel = item.ActionUrlRel;\r\n buttonTarget = item.ActionTarget;\r\n }\r\n return (h(\"micado-ial-item-offer\", { addition: addition, button: button, buttonTarget: buttonTarget, buttonURL: buttonURL, buttonURLRel: buttonURLRel, headline: headline, image: image, path: this.path, text: text }));\r\n case \"Image\":\r\n headline = item.Title;\r\n image = item.MediaFile;\r\n if (item.ActionType === \"Redirect\" || item.ActionType === \"ExternalRedirect\") {\r\n button = item.ActionTitle;\r\n buttonURL = item.ActionURL;\r\n buttonURLRel = item.ActionUrlRel;\r\n buttonTarget = item.ActionTarget;\r\n }\r\n return (h(\"micado-ial-item-graphic\", { button: button, buttonTarget: buttonTarget, buttonURL: buttonURL, buttonURLRel: buttonURLRel, headline: headline, image: image, path: this.path }));\r\n case \"NewsletterRegistration\":\r\n headline = item.Title;\r\n text = item.Text;\r\n image = item.MediaFile;\r\n addressGroup = item.AddressGroup;\r\n return (h(\"micado-ial-item-newsletter\", { addressGroup: addressGroup, headline: headline, image: image, path: this.path, text: text, translation: (_b = this === null || this === void 0 ? void 0 : this.translation) === null || _b === void 0 ? void 0 : _b.newsletter }));\r\n case \"CommunicationStart\":\r\n headline = item.Title;\r\n text = item.Text;\r\n image = item.MediaFile;\r\n option = item.OptionStr;\r\n option2 = item.OptionStr2;\r\n return (h(\"micado-ial-item-contact\", { headline: headline, image: image, option: option, option2: option2, path: this.path, text: text, translation: (_c = this === null || this === void 0 ? void 0 : this.translation) === null || _c === void 0 ? void 0 : _c.contact }));\r\n }\r\n }\r\n getShowBulletsByPosition(item) {\r\n return [\"bottom\", \"top\"].includes(item);\r\n }\r\n getShowNavByPosition(item) {\r\n return [\"bottom\", \"top\"].includes(item);\r\n }\r\n render() {\r\n var _a, _b, _c, _d, _e, _f, _g, _h, _j;\r\n let result = [];\r\n for (const item in this.queues) {\r\n if (this.queues[item].length === 0) {\r\n continue;\r\n }\r\n const locals = (_a = this.queues[item][0]) === null || _a === void 0 ? void 0 : _a.Locals;\r\n const content = [];\r\n if (locals.length > 1) {\r\n let newItem = Object.assign({}, this.queues[item][0]);\r\n locals.forEach((item) => {\r\n content.push(h(\"div\", { class: \"micado-ial-slider__item\" }, this.renderItem(Object.assign(Object.assign({}, newItem), item))));\r\n });\r\n }\r\n else {\r\n content.push(this.renderItem(this.queues[item][0]));\r\n }\r\n let slider = null;\r\n if (content.length > 1) {\r\n slider = (h(\"micado-ial-slider\", { content: content, counter: content === null || content === void 0 ? void 0 : content.length, showBullets: !this.getShowBulletsByPosition(item), showNav: this.getShowNavByPosition(item) }));\r\n }\r\n result.push(h(Fragment, null, ((_b = this.queues[item][0]) === null || _b === void 0 ? void 0 : _b.Placement) === \"Focus\" ? (h(\"micado-ial-overlay\", { key: (_c = this.queues[item][0]) === null || _c === void 0 ? void 0 : _c.ID, content: h(\"micado-ial-tracking\", { key: (_d = this.queues[item][0]) === null || _d === void 0 ? void 0 : _d.ID, content: slider !== null && slider !== void 0 ? slider : content[0], identifier: (_e = this.queues[item][0]) === null || _e === void 0 ? void 0 : _e.ID, path: this.path }), data: this.queues[item][0], path: this.path })) : (h(\"micado-ial-wrapper\", { key: (_f = this.queues[item][0]) === null || _f === void 0 ? void 0 : _f.ID, content: h(\"micado-ial-tracking\", { key: (_g = this.queues[item][0]) === null || _g === void 0 ? void 0 : _g.ID, content: slider !== null && slider !== void 0 ? slider : content[0], identifier: (_h = this.queues[item][0]) === null || _h === void 0 ? void 0 : _h.ID, path: this.path }), data: this.queues[item][0], path: this.path, position: (_j = this.queues[item][0]) === null || _j === void 0 ? void 0 : _j.Placement.toLocaleLowerCase() }))));\r\n }\r\n return result;\r\n }\r\n};\n\nconst micadoIalItemContactCss = \".micado-ial-item-contact{margin:0 auto;max-width:450px;padding:24px}.micado-ial-item-contact__image-wrapper{display:flex;margin:0 0 24px}.micado-ial-item-contact__image{border-radius:50%;display:block;margin:0 auto;width:140px}.micado-ial-item-contact__headline{font-size:1.375rem;font-weight:700;margin:0 0 16px;text-align:center}.micado-ial-item-contact__text{margin:0 0 24px;text-align:center}.micado-ial-item-contact__link{margin:0 0 8px}.micado-ial-item-contact__link:last-child{margin-bottom:0}.micado-ial-item-contact__link a{align-items:center;display:flex}.micado-ial-item-contact__link a .micado-svg-icon{align-items:center;background:var(--mco-palette-primary-main, var(--mw-color-primary, #21262d));border-radius:50%;display:flex;height:50px;justify-content:center;margin:0 16px 0 0;width:50px}.micado-ial-item-contact__link a .micado-svg-icon svg,.micado-ial-item-contact__link a .micado-svg-icon svg path{fill:#ffffff}\";\n\nconst MicadoIalItemContact = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n }\r\n render() {\r\n const phonenumber = typeof this.option2 === \"string\" ? this.option2.replace(/\\s/g, \"\") : \"\";\r\n return (h(\"div\", { class: \"micado-ial-item micado-ial-item-contact\" }, this.image && (h(\"div\", { class: \"micado-ial-item-contact__image-wrapper\" }, h(\"img\", { class: \"micado-ial-item-contact__image\", src: this.path + this.image, alt: \"\", loading: \"lazy\" }))), h(\"div\", { class: \"micado-ial-item-contact__content\" }, this.headline && (h(\"p\", { class: \"micado-ial-item-contact__headline\", innerHTML: this.headline })), this.text && (h(\"div\", { class: \"micado-ial-item-contact__text\", innerHTML: this.text })), this.option && (h(\"div\", { class: \"micado-ial-item-contact__link\" }, h(\"a\", { href: `mailto:${this.option}` }, h(\"micado-svg-icon\", { src: \"/img/icons/mail.svg\" }), this.option))), phonenumber && (h(\"div\", { class: \"micado-ial-item-contact__link\" }, h(\"a\", { href: `tel:${phonenumber}` }, h(\"micado-svg-icon\", { src: \"/img/icons/phone.svg\" }), phonenumber))))));\r\n }\r\n};\r\nMicadoIalItemContact.style = micadoIalItemContactCss;\n\nconst micadoIalItemCountdownCss = \".micado-ial-item-countdown{margin:0 auto;max-width:var(--mco-max-width, var(--mw-max-width, 1280px))}.micado-ial-item-countdown__image{display:block;width:100%}.micado-ial-item-countdown__content-wrapper{margin:0 auto;max-width:620px;padding:24px}.micado-ial-item-countdown__headline{font-size:1.375rem;font-weight:700;margin:0 0 16px 0}.micado-ial-item-countdown__buttons{display:flex;justify-content:center;margin:24px 0 0 0}.micado-ial-item-countdown__link{display:block;width:100%}.micado-ial-item-countdown__button{background:var(--mco-palette-primary-main, var(--mw-color-primary, #21262d));border:0;color:#ffffff;max-width:100% !important;width:100%}.micado-ial-item-countdown__countdown-wrapper{display:grid;grid-column-gap:10px;grid-template-columns:1fr 1fr 1fr;margin:24px auto;max-width:400px;user-select:none;-webkit-user-select:none}.micado-ial-item-countdown__box{align-items:center;border:1px solid rgba(0, 0, 0, 0.1);border-radius:3px;display:flex;flex:0 0 85px;flex-direction:column;height:95px;justify-content:center}.micado-ial-item-countdown__box-value{font-size:2rem;font-weight:700;min-height:45px}.micado-ial-item-countdown__box-label{font-size:0.75rem;text-transform:uppercase}.micado-ial-item-countdown__box--hidden{display:none}.micado-ial__bottom .micado-ial-item-countdown,.micado-ial__top .micado-ial-item-countdown{max-width:none}.micado-ial__bottom .micado-ial-item-countdown__content-wrapper,.micado-ial__top .micado-ial-item-countdown__content-wrapper{align-items:center;display:flex;justify-content:center;max-width:var(--mco-max-width, var(--mw-max-width, 1280px));min-height:60px;padding-bottom:12px;padding-left:var(--mco-spacing, var(--mw-padding-left, 16px));padding-right:var(--mco-spacing, var(--mw-padding-left, 16px));padding-top:12px}.micado-ial__bottom .micado-ial-item-countdown__headline,.micado-ial__top .micado-ial-item-countdown__headline{color:#ffffff;display:none;margin-bottom:0}.micado-ial__bottom .micado-ial-item-countdown__text,.micado-ial__top .micado-ial-item-countdown__text{display:none}.micado-ial__bottom .micado-ial-item-countdown__countdown-wrapper,.micado-ial__top .micado-ial-item-countdown__countdown-wrapper{margin:0;max-width:none}.micado-ial__bottom .micado-ial-item-countdown__button,.micado-ial__top .micado-ial-item-countdown__button{height:30px;flex:unset;height:50px;justify-content:space-around}.micado-ial__bottom .micado-ial-item-countdown__box,.micado-ial__top .micado-ial-item-countdown__box{border-color:transparent;height:36px}.micado-ial__bottom .micado-ial-item-countdown__box-value,.micado-ial__top .micado-ial-item-countdown__box-value{color:#ffffff;font-size:1.2rem;line-height:1;min-height:auto}.micado-ial__bottom .micado-ial-item-countdown__box-label,.micado-ial__top .micado-ial-item-countdown__box-label{color:#ffffff}@media all and (min-width: 600px){.micado-ial__bottom .micado-ial-item-countdown__content-wrapper,.micado-ial__top .micado-ial-item-countdown__content-wrapper{justify-content:space-between}.micado-ial__bottom .micado-ial-item-countdown__headline,.micado-ial__top .micado-ial-item-countdown__headline{display:block}.micado-ial-item-countdown__content-wrapper{padding:24px}.micado-ial-item-countdown__buttons{margin-top:40px}.micado-ial-item-countdown__countdown-wrapper{margin-top:40px}}\";\n\nconst MicadoIalItemCountdown = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n }\r\n componentWillLoad() {\r\n const now = new Date();\r\n const targetDate = new Date(this.countdownDate);\r\n if (this.isValidDate(targetDate)) {\r\n this.milliseconds = targetDate.getTime() - now.getTime();\r\n this.timer = setInterval(() => {\r\n this.milliseconds = this.milliseconds - 1000;\r\n if (this.milliseconds <= 0) {\r\n clearInterval(this.timer);\r\n }\r\n }, 1000);\r\n }\r\n }\r\n isValidDate(targetDate) {\r\n return !isNaN(targetDate.getTime());\r\n }\r\n render() {\r\n return (h(\"div\", { class: [\r\n \"micado-ial-item\",\r\n \"micado-ial-item-countdown\",\r\n this.layout === \"slim\" ? \"micado-ial-item-countdown-slim\" : \"\"\r\n ].join(\" \") }, this.image && this.layout !== \"slim\" && (h(\"div\", { class: \"micado-ial-item-countdown__image-wrapper\" }, h(\"img\", { class: \"micado-ial-item-countdown__image\", src: this.path + this.image, alt: \"\", loading: \"lazy\" }))), h(\"div\", { class: \"micado-ial-item-countdown__content-wrapper\" }, this.headline && (h(\"p\", { class: \"micado-ial-item-countdown__headline\", innerHTML: this.headline })), this.text && (h(\"div\", { class: \"micado-ial-item-countdown__text\", innerHTML: this.text })), this.countdown(), this.button && (h(\"div\", { class: \"micado-ial-item-countdown__buttons\" }, h(\"a\", { class: \"micado-ial-item-countdown__link\", href: this.buttonURL ? this.buttonURL : undefined, target: this.buttonTarget ? this.buttonTarget : undefined, rel: this.buttonURLRel ? this.buttonURLRel : undefined }, h(\"button\", { class: \"micado-ial__button micado-ial-item-countdown__button\" }, this.layout === \"slim\" ? (h(\"micado-svg-icon\", { src: \"/img/icons/arrow-right.svg\" })) : (this.button))))))));\r\n }\r\n countdown() {\r\n if (this.milliseconds <= 0 || !this.translation) {\r\n return h(\"div\", null);\r\n }\r\n let days = Math.floor(this.milliseconds / (1000 * 60 * 60 * 24));\r\n let hours = Math.floor((this.milliseconds / (1000 * 60 * 60)) % 24);\r\n let minutes = Math.floor((this.milliseconds / (1000 * 60)) % 60);\r\n let seconds = Math.floor((this.milliseconds / 1000) % 60);\r\n function formatValue(value) {\r\n return value < 10 ? \"0\" + value.toString() : value.toString();\r\n }\r\n const { days: localDays, day: localDay, hours: localHours, hour: localHour, minutes: localMinutes, minute: localMinute, seconds: localSeconds, second: localSecond } = this.translation;\r\n return (h(\"div\", { class: \"micado-ial-item-countdown__countdown-wrapper\" }, h(\"div\", { class: [\r\n \"micado-ial-item-countdown__box\",\r\n days === 0 ? \"micado-ial-item-countdown__box--hidden\" : \"\"\r\n ].join(\" \") }, h(\"p\", { class: \"micado-ial-item-countdown__box-value\" }, formatValue(days)), h(\"p\", { class: \"micado-ial-item-countdown__box-label\" }, days !== 1 ? localDays : localDay)), h(\"div\", { class: \"micado-ial-item-countdown__box\" }, h(\"p\", { class: \"micado-ial-item-countdown__box-value\" }, formatValue(hours)), h(\"p\", { class: \"micado-ial-item-countdown__box-label\" }, hours !== 1 ? localHours : localHour)), h(\"div\", { class: \"micado-ial-item-countdown__box\" }, h(\"p\", { class: \"micado-ial-item-countdown__box-value\" }, formatValue(minutes)), h(\"p\", { class: \"micado-ial-item-countdown__box-label\" }, minutes !== 1 ? localMinutes : localMinute)), h(\"div\", { class: [\r\n \"micado-ial-item-countdown__box\",\r\n days > 0 ? \"micado-ial-item-countdown__box--hidden\" : \"\"\r\n ].join(\" \") }, h(\"p\", { class: \"micado-ial-item-countdown__box-value\" }, formatValue(seconds)), h(\"p\", { class: \"micado-ial-item-countdown__box-label\" }, seconds !== 1 ? localSeconds : localSecond))));\r\n }\r\n};\r\nMicadoIalItemCountdown.style = micadoIalItemCountdownCss;\n\nconst micadoIalItemGraphicCss = \".micado-ial-item-graphic__link{display:grid;margin:0 auto;max-width:768px}.micado-ial-item-graphic__image-wrapper{grid-column:1/1;grid-row:1/1}.micado-ial-item-graphic__image{display:block;order:1;width:100%}.micado-ial-item-graphic__content-wrapper{align-items:center;color:#ffffff;display:flex;flex-direction:column;grid-column:1/1;grid-row:1/1;justify-content:center;order:2}.micado-ial-item-graphic__headline{font-size:2rem;font-weight:400;margin:0;text-transform:uppercase}.micado-ial-item-graphic__content-backdrop{background:var(--mco-palette-background-backdrop, var(--mw-color-fancybox-rgba, rgba(30, 30, 30, 0.8)));grid-column:1/1;grid-row:1/1;order:0}\";\n\nconst MicadoIalItemGraphic = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n }\r\n render() {\r\n return (h(\"div\", { class: \"micado-ial-item micado-ial-item-graphic\" }, h(\"a\", { class: \"micado-ial-item-graphic__link\", href: this.buttonURL ? this.buttonURL : undefined, target: this.buttonTarget ? this.buttonTarget : undefined, rel: this.buttonURLRel ? this.buttonURLRel : undefined }, this.image && (h(\"div\", { class: \"micado-ial-item-graphic__image-wrapper\" }, h(\"img\", { class: \"micado-ial-item-graphic__image\", src: this.path + this.image, alt: \"\", loading: \"lazy\" }))), this.headline && (h(Fragment, null, h(\"div\", { class: \"micado-ial-item-graphic__content-wrapper\" }, h(\"p\", { class: \"micado-ial-item-graphic__headline\", innerHTML: this.headline })), h(\"div\", { class: \"micado-ial-item-graphic__content-backdrop\" }))))));\r\n }\r\n};\r\nMicadoIalItemGraphic.style = micadoIalItemGraphicCss;\n\nconst micadoIalItemMessageCss = \".micado-ial-item-message__image{display:block;height:300px;object-fit:cover;width:100%}.micado-ial-item-message__content{padding:24px}.micado-ial-item-message__headline{font-size:1.375rem;font-weight:700;margin:0 0 16px}.micado-ial-item-message__buttons{display:flex;justify-content:center;margin:24px 0 0 0}.micado-ial-item-message__button{background:var(--mco-palette-primary-main, var(--mw-color-primary, #21262d));border:0;color:#ffffff;max-width:100% !important;width:100%}\";\n\nconst MicadoIalItemMessage = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n }\r\n render() {\r\n return (h(\"div\", { class: \"micado-ial-item micado-ial-item-message\" }, this.image && (h(\"div\", { class: \"micado-ial-item-message__image-wrapper\" }, h(\"img\", { class: \"micado-ial-item-message__image\", src: this.path + this.image, alt: \"\", loading: \"lazy\" }))), h(\"div\", { class: \"micado-ial-item-message__content\" }, this.headline && (h(\"p\", { class: \"micado-ial-item-message__headline\", innerHTML: this.headline })), this.text && (h(\"div\", { class: \"micado-ial-item-message__text\", innerHTML: this.text })), this.button && (h(\"div\", { class: \"micado-ial-item-message__buttons\" }, h(\"a\", { class: \"micado-ial__button micado-ial-item-message__button\", href: this.buttonURL ? this.buttonURL : undefined, target: this.buttonTarget ? this.buttonTarget : undefined, rel: this.buttonURLRel ? this.buttonURLRel : undefined }, this.button))))));\r\n }\r\n};\r\nMicadoIalItemMessage.style = micadoIalItemMessageCss;\n\nconst micadoIalItemNewsletterCss = \".micado-ial-item-newsletter__image{display:block;height:300px;object-fit:cover;width:100%}.micado-ial-item-newsletter__content{padding:24px}.micado-ial-item-newsletter__headline{font-size:1.375rem;font-weight:700;margin:0 0 16px;text-align:center}.micado-ial-item-newsletter__text{margin:0 0 24px;text-align:center}.micado-ial-item-newsletter__text--bold{font-weight:700}.micado-ial-item-newsletter__text span{display:block}.micado-ial-item-newsletter__form{display:flex;flex-wrap:wrap;justify-content:space-between}.micado-ial-item-newsletter__form-button{display:flex;justify-content:center;margin:24px 0 0;width:100%}.micado-ial-item-newsletter__form-button button{background:var(--mco-palette-primary-main, var(--mw-color-primary, #21262d));border:0;color:#ffffff;max-width:100%;width:100%}.micado-ial-item-newsletter__form-row{flex:0 0 49%;margin:0 0 10px;position:relative}.micado-ial-item-newsletter__form-row--full-width{flex:1 1 100%}.micado-ial-item-newsletter__form-row input{background:none;border:1px solid var(--mco-palette-gray-200, var(--mw-color-gray, #cccccc));height:50px;padding:0 10px;width:100%}.micado-ial-item-newsletter__form-checkbox{align-items:center;cursor:pointer;display:flex;flex-wrap:wrap;min-height:30px;padding:0 0 0 40px;position:relative}.micado-ial-item-newsletter__form-checkbox::before{border:1px solid var(--mco-palette-gray-200, var(--mw-color-gray, #cccccc));content:\\\"\\\";display:block;height:30px;left:0;margin:0 7px 0 0;position:absolute;width:30px}.micado-ial-item-newsletter__form-checkbox input{bottom:0;height:1px !important;left:0;opacity:0;position:absolute;width:1px !important}.micado-ial-item-newsletter__form-checkbox input:checked{background:var(--mco-palette-primary-main, var(--mw-color-primary, #21262d))}.micado-ial-item-newsletter__form-checkbox input:checked+micado-svg-icon{opacity:1}.micado-ial-item-newsletter__form-checkbox micado-svg-icon{left:5px;opacity:0;position:absolute;top:5px}.micado-ial-item-newsletter__form-checkbox micado-svg-icon svg{width:20px}.micado-ial-item-newsletter__form-message{align-items:center;flex:1 1 100%;font-size:14px;min-height:50px;padding:10px;text-align:left}.micado-ial-item-newsletter__form-message--error{border:1px solid var(--mco-palette-error-main, var(--mw-color-error, #d50b0b));color:var(--mco-palette-error-main, var(--mw-color-error, #d50b0b));display:flex}\";\n\nconst MicadoIalItemNewsletter = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n this.error = {\r\n state: 0,\r\n message: \"\"\r\n };\r\n this.success = false;\r\n if (!this.api) {\r\n this.api = `${this.path}/newsletter-registration.api`;\r\n }\r\n this.data = {\r\n firstname: \"\",\r\n lastname: \"\",\r\n email: \"\",\r\n newsletter: \"\"\r\n };\r\n }\r\n handleChange(key, event) {\r\n this.data[key] = event.target.value;\r\n }\r\n handleCheckboxChange(key, event) {\r\n const target = event.target;\r\n if (target.checked) {\r\n this.data[key] = target.value;\r\n }\r\n else {\r\n this.data[key] = \"\";\r\n }\r\n }\r\n async handleSubmit(event) {\r\n event.preventDefault();\r\n if (!this.addressGroup) {\r\n console.error(\"IAL -> newsletter: missing group selection. newsletter registration is not saved!\");\r\n return;\r\n }\r\n const response = await this.submitNewsletterData();\r\n if (response.state !== 0) {\r\n this.error = {\r\n state: response.state,\r\n message: this.getErrorMessage(response.state)\r\n };\r\n return;\r\n }\r\n if (response.state === 0) {\r\n this.success = true;\r\n }\r\n }\r\n async submitNewsletterData() {\r\n const formData = new FormData();\r\n for (const item in this.data) {\r\n formData.append(item, this.data[item]);\r\n }\r\n const response = await fetch(this.api, {\r\n method: \"POST\",\r\n body: formData\r\n });\r\n const fetchData = await response.json();\r\n return fetchData;\r\n }\r\n getErrorMessage(state) {\r\n var _a, _b, _c, _d;\r\n if ((_b = (_a = this.translation) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.message[state]) {\r\n return (_d = (_c = this.translation) === null || _c === void 0 ? void 0 : _c.error) === null || _d === void 0 ? void 0 : _d.message[state];\r\n }\r\n return \"\";\r\n }\r\n render() {\r\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;\r\n return (h(\"div\", { class: \"micado-ial-item micado-ial-item-newsletter\" }, h(\"div\", { class: \"micado-ial-item-newsletter__image-wrapper\" }, this.image ? (h(\"img\", { class: \"micado-ial-item-newsletter__image\", src: this.path + this.image, alt: \"\", loading: \"lazy\" })) : (``)), h(\"div\", { class: \"micado-ial-item-newsletter__content\" }, this.success ? (h(Fragment, null, h(\"p\", { class: \"micado-ial-item-newsletter__headline\" }, (_b = (_a = this.translation) === null || _a === void 0 ? void 0 : _a.success) === null || _b === void 0 ? void 0 : _b.title), h(\"p\", { class: \"micado-ial-item-newsletter__text micado-ial-item-newsletter__text--centered\" }, h(\"span\", null, (_d = (_c = this.translation) === null || _c === void 0 ? void 0 : _c.success) === null || _d === void 0 ? void 0 : _d.text01), h(\"span\", { class: \"micado-ial-item-newsletter__text--bold\" }, (_e = this.data) === null || _e === void 0 ? void 0 : _e.email)), h(\"p\", { class: \"micado-ial-item-newsletter__text\" }, (_g = (_f = this.translation) === null || _f === void 0 ? void 0 : _f.success) === null || _g === void 0 ? void 0 : _g.text02), h(\"div\", { class: \"micado-ial-item-newsletter__form-button\" }, h(\"button\", { class: \"micado-ial__button\" }, (_j = (_h = this.translation) === null || _h === void 0 ? void 0 : _h.buttons) === null || _j === void 0 ? void 0 : _j.close)))) : (h(Fragment, null, this.headline && (h(\"p\", { class: \"micado-ial-item-newsletter__headline\" }, this.headline)), this.text && (h(\"div\", { class: \"micado-ial-item-newsletter__text\", innerHTML: this.text })), h(\"form\", { class: \"micado-ial-item-newsletter__form\", method: \"POST\", onSubmit: (event) => this.handleSubmit(event) }, h(\"div\", { class: \"micado-ial-item-newsletter__form-row\" }, h(\"input\", { type: \"text\", name: \"firstname\", placeholder: (_l = (_k = this.translation) === null || _k === void 0 ? void 0 : _k.placeholders) === null || _l === void 0 ? void 0 : _l.firstname, required: true, onChange: (event) => this.handleChange(\"firstname\", event) })), h(\"div\", { class: \"micado-ial-item-newsletter__form-row\" }, h(\"input\", { type: \"text\", name: \"lastname\", placeholder: (_o = (_m = this.translation) === null || _m === void 0 ? void 0 : _m.placeholders) === null || _o === void 0 ? void 0 : _o.lastname, required: true, onChange: (event) => this.handleChange(\"lastname\", event) })), h(\"div\", { class: \"micado-ial-item-newsletter__form-row micado-ial-item-newsletter__form-row--full-width\" }, h(\"input\", { type: \"email\", name: \"email\", placeholder: (_q = (_p = this.translation) === null || _p === void 0 ? void 0 : _p.placeholders) === null || _q === void 0 ? void 0 : _q.email, required: true, onChange: (event) => this.handleChange(\"email\", event) })), h(\"div\", { class: \"micado-ial-item-newsletter__form-row micado-ial-item-newsletter__form-row--full-width\" }, h(\"label\", { htmlFor: \"micado-ial-item-newsletter-cb\", class: \"micado-ial-item-newsletter__form-checkbox\" }, h(\"input\", { id: \"micado-ial-item-newsletter-cb\", type: \"checkbox\", name: \"newsletter\", required: true, onChange: (event) => this.handleCheckboxChange(\"newsletter\", event) }), h(\"micado-svg-icon\", { src: \"/img/icons/check.svg\" }), `${(_s = (_r = this.translation) === null || _r === void 0 ? void 0 : _r.privacy) === null || _s === void 0 ? void 0 : _s.text01}`, \"\\u00A0\", h(\"a\", { href: \"#\", target: \"_blank\" }, (_u = (_t = this.translation) === null || _t === void 0 ? void 0 : _t.privacy) === null || _u === void 0 ? void 0 : _u.text02))), ((_v = this.error) === null || _v === void 0 ? void 0 : _v.message) && (h(\"p\", { class: \"micado-ial-item-newsletter__form-message micado-ial-item-newsletter__form-message--error\" }, (_w = this.error) === null || _w === void 0 ? void 0 : _w.message)), h(\"div\", { class: \"micado-ial-item-newsletter__form-button\" }, h(\"button\", { class: \"micado-ial__button\", type: \"submit\" }, (_y = (_x = this.translation) === null || _x === void 0 ? void 0 : _x.buttons) === null || _y === void 0 ? void 0 : _y.register))))))));\r\n }\r\n};\r\nMicadoIalItemNewsletter.style = micadoIalItemNewsletterCss;\n\nconst micadoIalItemNotificationCss = \".micado-ial-item-notification{align-items:center;display:flex;justify-content:space-between;min-height:60px;padding:12px 74px 12px 16px}.micado-ial-item-notification__headline{margin:0}.micado-ial-item-notification__button{background:var(--mco-palette-primary-main, var(--mw-color-primary, #21262d));border:0;color:#ffffff;display:none !important;margin:0 0 0 16px !important}.micado-ial-item-notification__button--is-icon{align-items:center !important;display:flex !important;height:32px !important;justify-content:center !important;padding:0 !important;min-width:32px !important}.micado-ial-item-notification__button--is-icon svg{fill:#ffffff;width:16px !important}.micado-ial-item-notification__button--is-icon svg path{fill:#ffffff}.micado-ial__bottom .micado-ial-item-notification,.micado-ial__top .micado-ial-item-notification{justify-content:center;padding-left:var(--mco-spacing, var(--mw-padding-left, 16px));padding-right:var(--mco-spacing, var(--mw-padding-right, 16px))}.micado-ial__bottom .micado-ial-item-notification__headline,.micado-ial__top .micado-ial-item-notification__headline{color:#ffffff}.micado-ial__bottom .micado-ial-item-notification__button,.micado-ial__top .micado-ial-item-notification__button{color:#ffffff}.micado-ial__bottom .micado-ial-item-notification__button--is-text,.micado-ial__top .micado-ial-item-notification__button--is-text{border-bottom:1px solid #ffffff;display:flex !important}.micado-ial__bottom .micado-ial-item-notification__button--is-icon,.micado-ial__top .micado-ial-item-notification__button--is-icon{display:none !important}\";\n\nconst MicadoIalItemNotification = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n }\r\n render() {\r\n return (h(\"div\", { class: [\r\n \"micado-ial-item\",\r\n \"micado-ial-item-notification\",\r\n this.boxShadow && \"micado-ial-item-notification__box-shadow\"\r\n ].join(\" \") }, this.headline && (h(\"p\", { class: \"micado-ial-item-notification__headline\", innerHTML: this.headline })), this.button && (h(Fragment, null, h(\"a\", { class: \"micado-ial__button micado-ial-item-notification__button micado-ial-item-notification__button--is-text\", href: this.buttonURL ? this.buttonURL : undefined, target: this.buttonTarget ? this.buttonTarget : undefined, rel: this.buttonURLRel ? this.buttonURLRel : undefined }, this.button), h(\"a\", { class: \"micado-ial__button micado-ial-item-notification__button micado-ial-item-notification__button--is-icon\", href: this.buttonURL ? this.buttonURL : undefined, target: this.buttonTarget ? this.buttonTarget : undefined, rel: this.buttonURLRel ? this.buttonURLRel : undefined }, h(\"micado-svg-icon\", { src: \"/img/icons/arrow-right.svg\" }))))));\r\n }\r\n};\r\nMicadoIalItemNotification.style = micadoIalItemNotificationCss;\n\nconst micadoIalItemOfferCss = \".micado-ial-item-offer{display:grid;margin:0 auto;max-width:768px}.micado-ial-item-offer__image{display:block;min-height:300px;object-fit:cover;order:1;width:100%}.micado-ial-item-offer__image-wrapper{grid-column:1/1;grid-row:1/1}.micado-ial-item-offer__content-wrapper{align-items:center;color:#ffffff;display:flex;flex-direction:column;grid-column:1/1;grid-row:1/1;justify-content:center;order:2;padding:20px}.micado-ial-item-offer__headline{font-size:2rem;font-weight:700;margin:0 0 16px;text-transform:uppercase}.micado-ial-item-offer__addition{font-size:3rem}.micado-ial-item-offer__text{font-weight:400;text-align:center}.micado-ial-item-offer__link{margin:24px 0 0}.micado-ial-item-offer__button{background:var(--mco-palette-primary-main, var(--mw-color-primary, #21262d));border:0;color:#ffffff;max-width:100% !important;width:100%}.micado-ial-item-offer__content-backdrop{background:var(--mco-palette-background-backdrop, var(--mw-color-fancybox-rgba, rgba(30, 30, 30, 0.8)));grid-column:1/1;grid-row:1/1;order:0}\";\n\nconst MicadoIalItemOffer = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n }\r\n render() {\r\n return (h(\"div\", { class: \"micado-ial-item micado-ial-item-offer\" }, this.image && (h(\"div\", { class: \"micado-ial-item-offer__image-wrapper\" }, h(\"img\", { class: \"micado-ial-item-offer__image\", src: this.path + this.image, alt: \"\", loading: \"lazy\" }))), h(\"div\", { class: \"micado-ial-item-offer__content-wrapper\" }, this.headline && (h(\"p\", { class: \"micado-ial-item-offer__headline\", innerHTML: this.headline })), this.addition && (h(\"p\", { class: \"micado-ial-item-offer__addition\", innerHTML: this.addition })), this.text && h(\"div\", { class: \"micado-ial-item-offer__text\", innerHTML: this.text }), this.button && (h(\"a\", { class: \"micado-ial-item-offer__link\", href: this.buttonURL ? this.buttonURL : undefined, target: this.buttonTarget ? this.buttonTarget : undefined, rel: this.buttonURLRel ? this.buttonURLRel : undefined }, h(\"button\", { class: \"micado-ial__button micado-ial-item-offer__button\" }, this.button)))), h(\"div\", { class: \"micado-ial-item-offer__content-backdrop\" })));\r\n }\r\n};\r\nMicadoIalItemOffer.style = micadoIalItemOfferCss;\n\nconst checkShowType = (id, showType) => {\r\n if (getCookie(`mw-ial-showtype-${id}`) !== showType) {\r\n return \"\";\r\n }\r\n return getCookie(`mw-ial-showtype-${id}`);\r\n};\r\nconst setShowType = (id, showType, showInterval) => {\r\n switch (showType) {\r\n case \"Once\":\r\n setCookie(`mw-ial-showtype-${id}`, \"Once\", 365 * 5);\r\n break;\r\n case \"PerSession\":\r\n setCookie(`mw-ial-showtype-${id}`, \"PerSession\");\r\n break;\r\n case \"Interval\":\r\n setCookie(`mw-ial-showtype-${id}`, \"Interval\", showInterval);\r\n break;\r\n }\r\n};\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\nfunction baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n}\n\nvar _baseDelay = baseDelay;\n\n/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nvar identity_1 = identity;\n\n/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nvar _apply = apply;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return _apply(func, this, otherArgs);\n };\n}\n\nvar _overRest = overRest;\n\n/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nvar constant_1 = constant;\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject_1(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = _baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nvar isFunction_1 = isFunction;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = _root['__core-js_shared__'];\n\nvar _coreJsData = coreJsData;\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(_coreJsData && _coreJsData.keys && _coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nvar _isMasked = isMasked;\n\n/** Used for built-in method references. */\nvar funcProto$1 = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString$1 = funcProto$1.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString$1.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nvar _toSource = toSource;\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject_1(value) || _isMasked(value)) {\n return false;\n }\n var pattern = isFunction_1(value) ? reIsNative : reIsHostCtor;\n return pattern.test(_toSource(value));\n}\n\nvar _baseIsNative = baseIsNative;\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nvar _getValue = getValue;\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = _getValue(object, key);\n return _baseIsNative(value) ? value : undefined;\n}\n\nvar _getNative = getNative;\n\nvar defineProperty = (function() {\n try {\n var func = _getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nvar _defineProperty = defineProperty;\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !_defineProperty ? identity_1 : function(func, string) {\n return _defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant_1(string),\n 'writable': true\n });\n};\n\nvar _baseSetToString = baseSetToString;\n\n/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nvar _shortOut = shortOut;\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = _shortOut(_baseSetToString);\n\nvar _setToString = setToString;\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return _setToString(_overRest(func, start, identity_1), func + '');\n}\n\nvar _baseRest = baseRest;\n\n/**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\nvar delay = _baseRest(function(func, wait, args) {\n return _baseDelay(func, toNumber_1(wait) || 0, args);\n});\n\nvar delay_1 = delay;\n\nconst checkPageDepth = (position, limit) => {\r\n let value = parseInt(getCookie(`mw-ial-${position}-depth`));\r\n if (value > 0) {\r\n value++;\r\n setCookie(`mw-ial-${position}-depth`, value);\r\n }\r\n else {\r\n setCookie(`mw-ial-${position}-depth`, 1);\r\n }\r\n if (value > limit) {\r\n return true;\r\n }\r\n return false;\r\n};\n\nconst track = async (id, action, path) => {\r\n return new Promise((resolve, reject) => {\r\n fetch(`${path}/interactionlayertracking.api?action=${action}&id=${id}`).then((result) => {\r\n if (result.status === 200) {\r\n console.info(`tracked action: ${action} of IAL with id: ${id}`);\r\n resolve(true);\r\n }\r\n else {\r\n console.error(`couldn't track action: ${action} of IAL with id: ${id}`);\r\n reject();\r\n }\r\n }, () => reject());\r\n });\r\n};\n\nconst micadoIalOverlayCss = \".micado-overlay{bottom:0;display:none;left:0;overflow:auto;padding:24px;position:fixed;right:0;top:0;z-index:99999}.micado-overlay__outer{margin:auto;max-width:600px;position:relative;width:100%;z-index:2}.micado-overlay__inner{background:var(--mco-palette-background-body, var(--mw-color-body-background, #ffffff));opacity:0;transform:translate(0, 100px);transition:var(--mco-transition, var(--mw-core-transition-overlay, all 500ms cubic-bezier(0.14, 1, 0.67, 0.99)))}.micado-overlay--show{display:flex}.micado-overlay--animate .micado-overlay__inner{opacity:1;transform:translate(0, 0)}.micado-overlay__background{background:var(--mco-palette-background-backdrop, var(--mw-color-fancybox-rgba, rgba(30, 30, 30, 0.8)));bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;z-index:1}.micado-overlay--animate .micado-overlay__background{opacity:1}.micado-overlay__close{align-items:center;background:var(--mco-palette-background-body, var(--mw-color-body-background, #ffffff));border-radius:50%;cursor:pointer;display:flex;height:40px;justify-content:center;position:absolute;right:16px;top:16px;transition:background 300ms ease;width:40px;z-index:99999}.micado-overlay__close .micado-svg-icon svg{transition:fill 300ms ease;width:16px}.micado-overlay__close:hover{background:var(--mco-palette-primary-main, var(--mw-color-primary, #21262d))}.micado-overlay__close:hover .micado-svg-icon svg{fill:#ffffff}\";\n\nconst MicadoIalOverlay = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n this.close = createEvent(this, \"close\", 7);\r\n this.content = null;\r\n this.delay = 0;\r\n this.data = [];\r\n this.animate = false;\r\n this.show = false;\r\n this._timer = null;\r\n }\r\n componentWillLoad() {\r\n this.init();\r\n this.el.addEventListener(\"intersect\", (event) => {\r\n var _a;\r\n this.active = (_a = event === null || event === void 0 ? void 0 : event.detail) !== null && _a !== void 0 ? _a : 0;\r\n });\r\n }\r\n init() {\r\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;\r\n if (checkShowType((_a = this.data) === null || _a === void 0 ? void 0 : _a.ID, (_b = this.data) === null || _b === void 0 ? void 0 : _b.ShowType) !== \"\") {\r\n return;\r\n }\r\n switch ((_c = this.data) === null || _c === void 0 ? void 0 : _c.TriggerType) {\r\n case \"PageDepth\":\r\n if (checkPageDepth((_d = this.data) === null || _d === void 0 ? void 0 : _d.ID, (_e = this.data) === null || _e === void 0 ? void 0 : _e.TriggerOption)) {\r\n this.show = true;\r\n this._timer = delay_1(() => {\r\n this.animate = true;\r\n this.reRender();\r\n }, 100);\r\n }\r\n break;\r\n case \"Scroll\":\r\n const scrollTop = window.scrollY;\r\n document.addEventListener(\"scroll\", debounce_1(() => {\r\n const scrollY = window.scrollY;\r\n if (scrollY - scrollTop > 200) {\r\n this.show = true;\r\n this._timer = delay_1(() => {\r\n this.animate = true;\r\n this.reRender();\r\n }, 100);\r\n }\r\n }, 100));\r\n break;\r\n case \"Usertime\":\r\n if (((_f = this.data) === null || _f === void 0 ? void 0 : _f.TriggerOption2) === 0) {\r\n this.data.TriggerOption2 = 0.05;\r\n }\r\n this._timer = delay_1(() => {\r\n this.show = true;\r\n this.clearTimer();\r\n this._timer = delay_1(() => {\r\n var _a, _b;\r\n this.animate = true;\r\n this.reRender();\r\n if (((_a = this.data) === null || _a === void 0 ? void 0 : _a.TriggerOption) > 0) {\r\n this.clearTimer();\r\n this._timer = delay_1(() => {\r\n this.handleClose();\r\n }, ((_b = this.data) === null || _b === void 0 ? void 0 : _b.TriggerOption) * 1000);\r\n }\r\n }, 100);\r\n }, ((_g = this.data) === null || _g === void 0 ? void 0 : _g.TriggerOption2) * 1000);\r\n break;\r\n case \"Immediate\":\r\n this.data.TriggerOption2 = 1;\r\n this._timer = delay_1(() => {\r\n this.show = true;\r\n this.clearTimer();\r\n this._timer = delay_1(() => {\r\n this.animate = true;\r\n this.reRender();\r\n }, 100);\r\n }, ((_h = this.data) === null || _h === void 0 ? void 0 : _h.TriggerOption2) * 1000);\r\n break;\r\n case \"ExitIntention\":\r\n document.addEventListener(\"mouseleave\", () => {\r\n this.show = true;\r\n this._timer = delay_1(() => {\r\n this.animate = true;\r\n this.reRender();\r\n }, 100);\r\n });\r\n break;\r\n }\r\n {\r\n setShowType((_j = this.data) === null || _j === void 0 ? void 0 : _j.ID, (_k = this.data) === null || _k === void 0 ? void 0 : _k.ShowType, (_l = this.data) === null || _l === void 0 ? void 0 : _l.ShowInterval);\r\n }\r\n }\r\n reRender() {\r\n const slider = this.el.querySelector(\"micado-ial-slider\");\r\n if (slider)\r\n slider.setSliderWidth();\r\n }\r\n handleClose() {\r\n if (this.active) {\r\n track(this.active, \"close\", this.path);\r\n }\r\n this.clearTimer();\r\n this.close.emit(\"focus\");\r\n }\r\n clearTimer() {\r\n clearTimeout(this._timer);\r\n this._timer = null;\r\n }\r\n render() {\r\n return (h(Fragment, null, h(\"div\", { class: [\r\n \"micado-overlay\",\r\n this.show ? \"micado-overlay--show\" : \"\",\r\n this.animate ? \"micado-overlay--animate\" : \"\"\r\n ].join(\" \") }, h(\"div\", { class: \"micado-overlay__outer\" }, h(\"div\", { class: \"micado-overlay__inner\" }, this.content, h(\"div\", { class: \"micado-overlay__close\", onClick: () => this.handleClose() }, h(\"micado-svg-icon\", { src: \"/img/icons/close.svg\" })))), h(\"div\", { class: \"micado-overlay__background\", onClick: () => this.handleClose() }))));\r\n }\r\n get el() { return getElement(this); }\r\n};\r\nMicadoIalOverlay.style = micadoIalOverlayCss;\n\nconst micadoIalSliderCss = \".micado-ial-slider{display:flex}.micado-ial-slider__overflow{flex:1;order:2;overflow:hidden}.micado-ial-slider__content{display:block;min-height:55px;transition:transform 0.25s ease 0s}.micado-ial-slider__content::after{clear:both;content:\\\"\\\";display:block}.micado-ial-slider__item{align-items:center;display:flex;float:left;justify-content:center;margin-top:0;max-width:none;transform:translate(0, 0);transition:none;width:100%}.micado-ial-slider__nav{align-items:center;cursor:pointer;display:flex;justify-content:center;width:56px}.micado-ial-slider__nav--prev{order:1}.micado-ial-slider__nav--next{order:3}.micado-ial-slider__nav .micado-svg-icon{align-items:center;display:flex;justify-content:center}.micado-ial-slider__pagination{align-items:center;bottom:-28px;display:flex;justify-content:center;padding:0 24px;position:absolute;width:100%}.micado-ial-slider__pagination-item{background:var(--mco-palette-gray-100, var(--mw-color-primary-opacity-high, #f2f2f2));border-radius:50%;cursor:pointer;height:12px;margin:0 4px;transition:var(--mco-transition, var(--mw-core-transition-overlay, all 500ms cubic-bezier(0.14, 1, 0.67, 0.99)));width:12px}.micado-ial-slider__pagination-item--active{background:var(--mco-palette-primary-main, var(--mw-color-primary, #21262d))}\";\n\nconst MicadoIalSlider = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n this.content = null;\r\n this.counter = 0;\r\n this.showBullets = false;\r\n this.showNav = true;\r\n this.currentSlide = 1;\r\n }\r\n componentDidLoad() {\r\n this._children = Array.from(this._element.querySelectorAll(\".micado-ial-slider__item\"));\r\n this._container = this._element.querySelector(\".micado-ial-slider__content\");\r\n this.setSliderWidth();\r\n window.addEventListener(\"resize\", debounce_1(() => {\r\n this.setSliderWidth();\r\n }, 100));\r\n }\r\n async setSliderWidth() {\r\n let maxWidth = this._element.querySelector(\".micado-ial-slider__overflow\").clientWidth;\r\n for (const element of this._children) {\r\n element.style.width = `${maxWidth}px`;\r\n }\r\n this._container.style.width = `${maxWidth * this.counter}px`;\r\n }\r\n handleNavigatePrevious() {\r\n if (this.currentSlide > 1) {\r\n this.currentSlide--;\r\n }\r\n else {\r\n this.currentSlide = this.counter;\r\n }\r\n this.slide();\r\n }\r\n handleNavigateNext() {\r\n if (this.currentSlide < this.counter) {\r\n this.currentSlide++;\r\n }\r\n else {\r\n this.currentSlide = 1;\r\n }\r\n this.slide();\r\n }\r\n moveTo(item) {\r\n this.currentSlide = item;\r\n this.slide();\r\n }\r\n slide() {\r\n this._container.style.transform =\r\n \"translate(-\" + this._children[0].clientWidth * (this.currentSlide - 1) + \"px, 0)\";\r\n }\r\n renderPagination() {\r\n let entries = [];\r\n for (let i = 0; i < this.counter; i++) {\r\n entries.push(i + 1);\r\n }\r\n return (h(\"div\", { class: \"micado-ial-slider__pagination\" }, entries.map((item) => {\r\n return (h(\"div\", { class: [\r\n \"micado-ial-slider__pagination-item\",\r\n this.currentSlide === item ? \"micado-ial-slider__pagination-item--active\" : \"\"\r\n ].join(\" \"), onClick: () => this.moveTo(item) }));\r\n })));\r\n }\r\n render() {\r\n return (h(Fragment, null, h(\"div\", { class: \"micado-ial-slider\", ref: (el) => (this._element = el) }, h(\"div\", { class: \"micado-ial-slider__overflow\" }, h(\"div\", { class: \"micado-ial-slider__content\" }, this.content)), this.showNav && (h(Fragment, null, h(\"div\", { class: [\r\n \"micado-ial-slider__nav\",\r\n \"micado-ial-slider__nav--prev\",\r\n this.currentSlide === 1 ? \"micado-ial-slider__nav--disabled\" : \"\"\r\n ].join(\" \"), onClick: () => this.handleNavigatePrevious() }, h(\"micado-svg-icon\", { src: \"/img/icons/arrow-left.svg\" })), h(\"div\", { class: [\r\n \"micado-ial-slider__nav\",\r\n \"micado-ial-slider__nav--next\",\r\n this.currentSlide === this.counter ? \"micado-ial-slider__nav--disabled\" : \"\"\r\n ].join(\" \"), onClick: () => this.handleNavigateNext() }, h(\"micado-svg-icon\", { src: \"/img/icons/arrow-right.svg\" }))))), this.showBullets && this.renderPagination()));\r\n }\r\n};\r\nMicadoIalSlider.style = micadoIalSliderCss;\n\nconst MicadoIalTracking = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n this.content = null;\r\n this.onIntersection = async (entries) => {\r\n entries.forEach((entry) => {\r\n if (entry.isIntersecting) {\r\n const element = this.el.closest(\"micado-ial-overlay\") || this.el.closest(\"micado-ial-wrapper\");\r\n element.dispatchEvent(new CustomEvent(\"intersect\", { detail: this.identifier }));\r\n }\r\n if (entry.isIntersecting &&\r\n getCookie(`mw-ial-event-view-${this.identifier}`) !== \"true\") {\r\n setCookie(`mw-ial-event-view-${this.identifier}`, true);\r\n track(this.identifier, \"view\", this.path);\r\n }\r\n });\r\n };\r\n }\r\n componentDidLoad() {\r\n this.observe();\r\n this.trackLinks();\r\n }\r\n observe() {\r\n this.observer = new IntersectionObserver(this.onIntersection, {\r\n threshold: 0.25\r\n });\r\n this.observer.observe(this.el.querySelector(\".micado-ial-item\"));\r\n }\r\n trackLinks() {\r\n const links = this.el.querySelectorAll(\"a, button\");\r\n links.forEach((link) => {\r\n link.addEventListener(\"click\", () => {\r\n track(this.identifier, \"cta\", this.path);\r\n });\r\n });\r\n }\r\n render() {\r\n return h(Fragment, null, this.content);\r\n }\r\n get el() { return getElement(this); }\r\n};\n\nconst micadoIalWrapperCss = \".micado-ial__inner{margin:0 auto;max-width:var(--mco-max-width, var(--mw-max-width, 1280px))}.micado-ial__close{align-items:center;background:var(--mco-palette-gray-100, var(--mw-color-primary-opacity-high, #f2f2f2));border-radius:50%;cursor:pointer;display:flex;height:40px;justify-content:center;position:absolute;right:16px;top:16px;transition:background 300ms ease;width:40px;z-index:99999}.micado-ial__close .micado-svg-icon svg{transition:fill 300ms ease;width:16px}.micado-ial__close:hover{background:var(--mco-palette-secondary-main, var(--mw-color-secondary, #21262d))}.micado-ial__close:hover .micado-svg-icon svg{fill:#ffffff}.micado-ial__notification .micado-ial__close{background:var(--mco-palette-gray-100, var(--mw-color-primary-opacity-high, #f2f2f2));top:50%;transform:translate(0, -50%)}.micado-ial__notification .micado-ial__close:hover{background:var(--mco-palette-secondary-main, var(--mw-color-secondary, #21262d))}.micado-ial__notification .micado-ial__close:hover .micado-svg-icon svg{fill:#ffffff}.micado-ial__countdown .micado-ial__close,.micado-ial__image .micado-ial__close,.micado-ial__message .micado-ial__close,.micado-ial__newsletterregistration .micado-ial__close,.micado-ial__offer .micado-ial__close{background:var(--mco-palette-gray-100, var(--mw-color-primary-opacity-high, #f2f2f2))}.micado-ial__countdown .micado-ial__close:hover,.micado-ial__image .micado-ial__close:hover,.micado-ial__message .micado-ial__close:hover,.micado-ial__newsletterregistration .micado-ial__close:hover,.micado-ial__offer .micado-ial__close:hover{background:var(--mco-palette-secondary-main, var(--mw-color-secondary, #21262d))}.micado-ial__countdown .micado-ial__close:hover .micado-svg-icon svg,.micado-ial__image .micado-ial__close:hover .micado-svg-icon svg,.micado-ial__message .micado-ial__close:hover .micado-svg-icon svg,.micado-ial__newsletterregistration .micado-ial__close:hover .micado-svg-icon svg,.micado-ial__offer .micado-ial__close:hover .micado-svg-icon svg{fill:#ffffff}.micado-ial__bottom{align-items:center;background:var(--mco-palette-primary-main, var(--mw-color-primary, #21262d));bottom:0;display:none;justify-content:center;left:0;position:fixed;right:0;transform:translate(0, 100%);transition:var(--mco-transition, var(--mw-core-transition-overlay, all 500ms cubic-bezier(0.14, 1, 0.67, 0.99)));z-index:99997}.micado-ial__bottom--show{display:block}.micado-ial__bottom--animate{transform:translate(0, 0)}.micado-ial__bottom .micado-ial__close{background:none;top:50%;transform:translate(0, -50%)}.micado-ial__bottom .micado-ial__close .micado-svg-icon svg{fill:#ffffff}.micado-ial__bottom .micado-ial-slider__nav .micado-svg-icon svg{fill:#ffffff}.micado-ial__focus{bottom:0;display:none;left:0;opacity:0;overflow:auto;padding:24px;position:fixed;right:0;top:0;transition:var(--mco-transition, var(--mw-core-transition-overlay, all 500ms cubic-bezier(0.14, 1, 0.67, 0.99)));z-index:99999}.micado-ial__focus::before{background:var(--mco-palette-background-backdrop, var(--mw-color-fancybox-rgba, rgba(30, 30, 30, 0.8)));bottom:0;content:\\\"\\\";left:0;opacity:0.9;position:fixed;right:0;top:0;z-index:99997}.micado-ial__focus--show{display:block}.micado-ial__focus--animate{opacity:1}.micado-ial__left{background:var(--mco-palette-background-body, var(--mw-color-body-background, #ffffff));box-shadow:0 0 4px -1px rgba(0, 0, 0, 0.4);display:none;flex-direction:column;max-width:500px;left:0;position:fixed;top:50%;transform:translate(-100%, -50%);transition:var(--mco-transition, var(--mw-core-transition-overlay, all 500ms cubic-bezier(0.14, 1, 0.67, 0.99)));z-index:99998}.micado-ial__left--show{display:block}.micado-ial__left--animate{transform:translate(0, -50%)}.micado-ial__right{background:var(--mco-palette-background-body, var(--mw-color-body-background, #ffffff));box-shadow:0 0 4px -1px rgba(0, 0, 0, 0.4);display:none;flex-direction:column;max-width:500px;position:fixed;right:0;top:50%;transform:translate(100%, -50%);transition:var(--mco-transition, var(--mw-core-transition-overlay, all 500ms cubic-bezier(0.14, 1, 0.67, 0.99)));z-index:99998}.micado-ial__right--show{display:block}.micado-ial__right--animate{transform:translate(0, -50%)}.micado-ial__top{align-items:center;background:var(--mco-palette-primary-main, var(--mw-color-primary, #21262d));display:none;justify-content:center;left:0;position:fixed;right:0;top:0;transform:translate(0, -100%);transition:var(--mco-transition, var(--mw-core-transition-overlay, all 500ms cubic-bezier(0.14, 1, 0.67, 0.99)));z-index:99997}.micado-ial__top--show{display:block}.micado-ial__top--animate{transform:translate(0, 0)}.micado-ial__top .micado-ial__close{background:none;top:50%;transform:translate(0, -50%)}.micado-ial__top .micado-ial__close .micado-svg-icon svg{fill:#ffffff}.micado-ial__top .micado-ial-slider__nav .micado-svg-icon svg{fill:#ffffff}.micado-ial__bottom .micado-ial__inner,.micado-ial__top .micado-ial__inner{padding-right:50px}@media all and (min-width: 1900px){.micado-ial__bottom .micado-ial__inner,.micado-ial__top .micado-ial__inner{padding-right:0}}\";\n\nconst MicadoIalWrapper = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n this.close = createEvent(this, \"close\", 7);\r\n this.content = null;\r\n this.data = null;\r\n this.position = \"\";\r\n this.animate = false;\r\n this.show = false;\r\n this._timer = null;\r\n }\r\n componentDidLoad() {\r\n this.init();\r\n this.el.addEventListener(\"intersect\", (event) => {\r\n var _a;\r\n this.active = (_a = event === null || event === void 0 ? void 0 : event.detail) !== null && _a !== void 0 ? _a : 0;\r\n });\r\n }\r\n init() {\r\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;\r\n if (checkShowType((_a = this.data) === null || _a === void 0 ? void 0 : _a.ID, (_b = this.data) === null || _b === void 0 ? void 0 : _b.ShowType) !== \"\") {\r\n return;\r\n }\r\n switch ((_c = this.data) === null || _c === void 0 ? void 0 : _c.TriggerType) {\r\n case \"PageDepth\":\r\n if (checkPageDepth((_d = this.data) === null || _d === void 0 ? void 0 : _d.ID, (_e = this.data) === null || _e === void 0 ? void 0 : _e.TriggerOption)) {\r\n this.show = true;\r\n this._timer = delay_1(() => {\r\n if (this.position === \"top\") {\r\n this.handleNotificationIALTop();\r\n document.body.classList.add(\"micado-ial__top--fixed\");\r\n }\r\n this.animate = true;\r\n }, 100);\r\n }\r\n break;\r\n case \"Scroll\":\r\n const scrollTop = window.scrollY;\r\n document.addEventListener(\"scroll\", debounce_1(() => {\r\n const scrollY = window.scrollY;\r\n if (scrollY - scrollTop > 200) {\r\n this.show = true;\r\n this._timer = delay_1(() => {\r\n if (this.position === \"top\") {\r\n this.handleNotificationIALTop();\r\n document.body.classList.add(\"micado-ial__top--fixed\");\r\n }\r\n this.animate = true;\r\n }, 100);\r\n }\r\n }, 100));\r\n break;\r\n case \"Usertime\":\r\n if (((_f = this.data) === null || _f === void 0 ? void 0 : _f.TriggerOption2) === 0) {\r\n this.data.TriggerOption2 = 0.05;\r\n }\r\n this._timer = delay_1(() => {\r\n this.show = true;\r\n this.clearTimer();\r\n this._timer = delay_1(() => {\r\n var _a, _b;\r\n if (this.position === \"top\") {\r\n this.handleNotificationIALTop();\r\n document.body.classList.add(\"micado-ial__top--fixed\");\r\n }\r\n this.animate = true;\r\n if (((_a = this.data) === null || _a === void 0 ? void 0 : _a.TriggerOption) > 0) {\r\n this.clearTimer();\r\n this._timer = delay_1(() => {\r\n this.handleClose();\r\n }, ((_b = this.data) === null || _b === void 0 ? void 0 : _b.TriggerOption) * 1000);\r\n }\r\n }, 100);\r\n }, ((_g = this.data) === null || _g === void 0 ? void 0 : _g.TriggerOption2) * 1000);\r\n break;\r\n case \"Immediate\":\r\n this.data.TriggerOption2 = 1;\r\n this._timer = delay_1(() => {\r\n this.show = true;\r\n this.clearTimer();\r\n this._timer = delay_1(() => {\r\n if (this.position === \"top\") {\r\n this.handleNotificationIALTop();\r\n document.body.classList.add(\"micado-ial__top--fixed\");\r\n }\r\n this.animate = true;\r\n }, 100);\r\n }, ((_h = this.data) === null || _h === void 0 ? void 0 : _h.TriggerOption2) * 1000);\r\n break;\r\n case \"ExitIntention\":\r\n document.addEventListener(\"mouseleave\", () => {\r\n this.show = true;\r\n this._timer = delay_1(() => {\r\n if (this.position === \"top\") {\r\n this.handleNotificationIALTop();\r\n document.body.classList.add(\"micado-ial__top--fixed\");\r\n }\r\n this.animate = true;\r\n }, 100);\r\n });\r\n break;\r\n }\r\n {\r\n setShowType((_j = this.data) === null || _j === void 0 ? void 0 : _j.ID, (_k = this.data) === null || _k === void 0 ? void 0 : _k.ShowType, (_l = this.data) === null || _l === void 0 ? void 0 : _l.ShowInterval);\r\n }\r\n }\r\n handleClose() {\r\n if (this.active) {\r\n track(this.active, \"close\", this.path);\r\n }\r\n this.clearTimer();\r\n this.close.emit(this.position);\r\n }\r\n handleNotificationIALTop() {\r\n const $ial = this.el.querySelector(\".micado-ial\");\r\n const $header = document.querySelector(\"header\");\r\n if (!$header)\r\n return;\r\n const headerZIndex = parseInt(getComputedStyle($header).zIndex);\r\n $ial.style.zIndex = headerZIndex ? `${headerZIndex - 1}` : `1`;\r\n this.checkScroll($ial, $header);\r\n document.addEventListener(\"scroll\", () => {\r\n this.checkScroll($ial, $header);\r\n });\r\n }\r\n checkScroll($ial, $header) {\r\n if (window.scrollY > 0) {\r\n $ial.style.transform = `translate(0, -100%)`;\r\n $ial.style.opacity = \"0\";\r\n }\r\n else {\r\n setTimeout(() => {\r\n $ial.style.transform = `translate(0, ${$header.offsetHeight}px)`;\r\n $ial.style.opacity = \"1\";\r\n }, 500);\r\n }\r\n }\r\n clearTimer() {\r\n clearTimeout(this._timer);\r\n this._timer = null;\r\n }\r\n render() {\r\n var _a;\r\n return (h(Fragment, null, this.show && (h(\"div\", { class: [\r\n `micado-ial micado-ial__${this.position} micado-ial__${(_a = this.data) === null || _a === void 0 ? void 0 : _a.Type.toLocaleLowerCase()}`,\r\n this.show ? `micado-ial__${this.position}--show` : \"\",\r\n this.animate ? `micado-ial__${this.position}--animate` : \"\"\r\n ].join(\" \") }, h(\"div\", { class: \"micado-ial__inner\" }, this.content), h(\"div\", { class: \"micado-ial__close\", onClick: () => this.handleClose() }, h(\"micado-svg-icon\", { src: \"/img/icons/close.svg\" }))))));\r\n }\r\n get el() { return getElement(this); }\r\n};\r\nMicadoIalWrapper.style = micadoIalWrapperCss;\n\nconst micadoSvgIconCss = \".micado-svg-icon svg{display:flex;height:auto;width:24px}\";\n\nconst MicadoSVGIcon = class {\r\n constructor(hostRef) {\r\n registerInstance(this, hostRef);\r\n this.fetchSVG = async () => {\r\n const response = await fetch(this.src);\r\n if (!response.ok) {\r\n throw new Error(`An error has occured by loading svg: ${response.status}`);\r\n }\r\n const data = await response.text();\r\n return data;\r\n };\r\n }\r\n componentWillLoad() {\r\n if (!this.src)\r\n return;\r\n this.fetchSVG().then(data => {\r\n this.svgIcon = data;\r\n this.renderSVG();\r\n });\r\n }\r\n renderSVG() {\r\n const doc = new DOMParser().parseFromString(this.svgIcon, 'application/xml');\r\n this.wrapper.appendChild(doc.documentElement);\r\n }\r\n render() {\r\n return h(\"div\", { class: \"micado-svg-icon\", ref: element => (this.wrapper = element) });\r\n }\r\n};\r\nMicadoSVGIcon.style = micadoSvgIconCss;\n\nexport { MicadoIal as micado_ial, MicadoIalItemContact as micado_ial_item_contact, MicadoIalItemCountdown as micado_ial_item_countdown, MicadoIalItemGraphic as micado_ial_item_graphic, MicadoIalItemMessage as micado_ial_item_message, MicadoIalItemNewsletter as micado_ial_item_newsletter, MicadoIalItemNotification as micado_ial_item_notification, MicadoIalItemOffer as micado_ial_item_offer, MicadoIalOverlay as micado_ial_overlay, MicadoIalSlider as micado_ial_slider, MicadoIalTracking as micado_ial_tracking, MicadoIalWrapper as micado_ial_wrapper, MicadoSVGIcon as micado_svg_icon };\n"],"names":["getCookie","name","cookieArr","document","cookie","split","cookiePair","trim","setCookie","value","days","translations","de","countdown","day","hours","hour","minutes","minute","seconds","second","newsletter","buttons","close","register","error","message","placeholders","firstname","lastname","email","privacy","text01","text02","success","title","en","isObject_1","type","commonjsGlobal","globalThis","window","global","self","_freeGlobal","Object","freeSelf","_root","Function","now_1","Date","now","reWhitespace","_trimmedEndIndex","string","index","length","test","charAt","reTrimStart","_baseTrim","slice","replace","_Symbol","Symbol","objectProto$2","prototype","hasOwnProperty$1","hasOwnProperty","nativeObjectToString$1","toString","symToStringTag$1","toStringTag","undefined","_getRawTag","isOwn","call","tag","unmasked","e","result","nativeObjectToString","_objectToString","symToStringTag","_baseGetTag","isObjectLike_1","isSymbol_1","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","toNumber_1","other","valueOf","isBinary","nativeMax$1","Math","max","nativeMin","min","debounce_1","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","apply","leadingEdge","setTimeout","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","arguments","this","clearTimeout","cancel","flush","MicadoIal","hostRef","registerInstance","language","pageId","path","showOnConsentAccepted","data","queues","tick","windowWidth","fetchData","fetch","response","json","show","body","addEventListener","device","filter","item","Device","includes","innerWidth","documentElement","clientWidth","filterByDevice","setQueuesByPlacement","forEach","key","Placement","toLocaleLowerCase","push","setData","translation","lang","_a","querySelector","getAttribute","console","warn","getTranslations","getWindowWidth","placement","detail","shift","_b","_c","headline","text","image","addition","addressGroup","button","buttonURL","buttonURLRel","buttonTarget","option","option2","Type","Title","Text","MediaFile","ActionType","ActionTitle","ActionURL","ActionUrlRel","ActionTarget","h","countdownDate","OptionDate","Addition","AddressGroup","OptionStr","OptionStr2","contact","_d","_e","_f","_g","_h","_j","locals","Locals","content","newItem","assign","class","renderItem","slider","counter","showBullets","getShowBulletsByPosition","showNav","getShowNavByPosition","Fragment","ID","identifier","position","MicadoIalItemContact","phonenumber","src","alt","loading","innerHTML","href","style","MicadoIalItemCountdown","targetDate","isValidDate","milliseconds","getTime","timer","setInterval","clearInterval","isNaN","layout","join","target","rel","floor","formatValue","localDays","localDay","localHours","localHour","localMinutes","localMinute","localSeconds","localSecond","MicadoIalItemGraphic","MicadoIalItemMessage","MicadoIalItemNewsletter","state","api","event","checked","preventDefault","submitNewsletterData","getErrorMessage","formData","FormData","append","method","_k","_l","_m","_o","_p","_q","_r","_s","_t","_u","_v","_w","_x","_y","onSubmit","handleSubmit","placeholder","required","onChange","handleChange","htmlFor","id","handleCheckboxChange","MicadoIalItemNotification","boxShadow","MicadoIalItemOffer","checkShowType","showType","setShowType","showInterval","_baseDelay","identity_1","_apply","nativeMax","_overRest","start","transform","array","Array","otherArgs","constant_1","isFunction_1","_coreJsData","maskSrcKey","uid","exec","keys","IE_PROTO","_isMasked","funcToString$1","_toSource","reIsHostCtor","funcProto","objectProto","funcToString","reIsNative","RegExp","_baseIsNative","_getValue","object","_getNative","_defineProperty","_baseSetToString","nativeNow","_shortOut","count","lastCalled","stamp","remaining","_setToString","delay_1","_baseRest","checkPageDepth","limit","track","action","Promise","resolve","reject","then","status","info","MicadoIalOverlay","createEvent","delay","animate","_timer","init","el","active","ShowType","TriggerType","TriggerOption","reRender","scrollTop","scrollY","TriggerOption2","clearTimer","handleClose","ShowInterval","setSliderWidth","emit","onClick","getElement","MicadoIalSlider","currentSlide","_children","from","_element","querySelectorAll","_container","maxWidth","width","slide","entries","i","map","moveTo","ref","handleNavigatePrevious","handleNavigateNext","renderPagination","MicadoIalTracking","onIntersection","entry","isIntersecting","closest","dispatchEvent","CustomEvent","observe","trackLinks","observer","IntersectionObserver","threshold","link","MicadoIalWrapper","handleNotificationIALTop","classList","add","$ial","$header","headerZIndex","getComputedStyle","zIndex","checkScroll","opacity","offsetHeight","MicadoSVGIcon","fetchSVG","ok","Error","svgIcon","renderSVG","doc","DOMParser","parseFromString","wrapper","appendChild","element"],"sourceRoot":""}