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K9jC,ECGzB,IAAI+jC,EAAsBjC,EAAoBK,OAAEniC,EAAW,CAAC,MAAM,WAAa,OAAO8hC,EAAoB,KAAO,IACjHiC,EAAsBjC,EAAoBK,EAAE4B,E","sources":["webpack://cabanaboiler/webpack/runtime/chunk loaded","webpack://cabanaboiler/./src/modules/tabel/table-csv/jQueryCSV.js","webpack://cabanaboiler/./src/modules/carousels/carousel__cards/carousel__cards.js","webpack://cabanaboiler/./src/modules/search-bars/suggestions/autosuggestions.js","webpack://cabanaboiler/./src/modules/progressbar/progress.js","webpack://cabanaboiler/./src/modules/carousels/swiper/swiper.js","webpack://cabanaboiler/./src/modules/tabel/tabel.js","webpack://cabanaboiler/./src/modules/third-party/instagram-feed/instagram-feed.js","webpack://cabanaboiler/./src/modules/headers/header__transparent-menu/scripts/ratioCheckerPrefersWhite.js","webpack://cabanaboiler/./src/modules/headers/header__transparent-menu/scripts/header.js","webpack://cabanaboiler/./src/modules/headers/header__transparent-menu/scripts/moveNavItems.js","webpack://cabanaboiler/./src/modules/creative/parallax/parallax.js","webpack://cabanaboiler/./src/modules/table-hours/checkHolidays.js","webpack://cabanaboiler/./src/modules/headers/header__double-logo/doubleLogoMenu.js","webpack://cabanaboiler/./src/modules/headers/header__megamenu-left-aligned/leftAlignedMegamenu.js","webpack://cabanaboiler/./src/modules/tabel/table-csv/tableCsv.js","webpack://cabanaboiler/./src/modules/dropdowns/dropdown-settings/dropdownSettings.js","webpack://cabanaboiler/./src/scripts/app.js","webpack://cabanaboiler/./src/modules/fact-box/collapseBox.js","webpack://cabanaboiler/./src/modules/cards/card__comment/card__comment.js","webpack://cabanaboiler/./src/modules/headers/header--tagged/headerTagged.js","webpack://cabanaboiler/./src/modules/headers/header__megamenu-left-aligned/headerLeftAligned.js","webpack://cabanaboiler/./src/modules/fact-box/onShowMore.js","webpack://cabanaboiler/./src/modules/accordions/accordion.js","webpack://cabanaboiler/./src/scripts/components/objectFitImages.js","webpack://cabanaboiler/./src/modules/headers/header__megamenu-extended/header__megamenu-extended.js","webpack://cabanaboiler/./src/modules/headers/header__megamenu-extended/tab-order-mobile.js","webpack://cabanaboiler/./src/modules/headers/header__megamenu-extended/focus-trap.js","webpack://cabanaboiler/./src/scripts/components/pageLogin.js","webpack://cabanaboiler/./src/modules/intranet/header__intranet/header__intranet.js","webpack://cabanaboiler/./src/modules/heros/hero__multi-box/hero__multi-box.js","webpack://cabanaboiler/./src/modules/footers/footers.js","webpack://cabanaboiler/./src/modules/watermark/watermark.js","webpack://cabanaboiler/./src/scripts/components/smooth-scroll.js","webpack://cabanaboiler/./src/scripts/components/block-media-download.js","webpack://cabanaboiler/./src/modules/modals/modal-subscription/modal-subscription.js","webpack://cabanaboiler/./src/modules/pagination/pagination.js","webpack://cabanaboiler/./src/modules/anchor-links/article-anchor-menu/article-anchor-menu.js","webpack://cabanaboiler/./src/modules/accordions/accordion--mobile/accordion--mobile.js","webpack://cabanaboiler/./src/modules/accordions/accordion--desktop-down/accordion--desktop-down.js","webpack://cabanaboiler/./src/modules/info-boxes/info-box__links__icon/info-box__links__icon.js","webpack://cabanaboiler/./src/modules/carousels/three-column-carousel/three-column-carousel.js","webpack://cabanaboiler/./src/modules/videos/video.js","webpack://cabanaboiler/./src/modules/videos/video-dreambroker.js","webpack://cabanaboiler/./src/modules/videos/video-youtube.js","webpack://cabanaboiler/./src/modules/videos/video-html.js","webpack://cabanaboiler/./src/modules/third-party/borgerDk/borgerDk.js","webpack://cabanaboiler/./src/modules/third-party/sbsys/sbsysaccordion.js","webpack://cabanaboiler/./src/scripts/components/tooltips.js","webpack://cabanaboiler/./src/scripts/components/intext-arrow-link.js","webpack://cabanaboiler/./src/modules/service-menu/service-menu.js","webpack://cabanaboiler/./src/modules/service-menu/service-menu__shareByEmail.js","webpack://cabanaboiler/./src/scripts/components/form-elements.js","webpack://cabanaboiler/./src/modules/side-menu/side-menu.js","webpack://cabanaboiler/./src/modules/side-boxes/side-boxes__counter/side-boxes__counter.js","webpack://cabanaboiler/./src/modules/modals/modal-popup/modal-popup.js","webpack://cabanaboiler/./src/modules/intranet/tab-list--scrollable/tab-list--scrollable.js","webpack://cabanaboiler/./src/scripts/components/video-backgrounds.js","webpack://cabanaboiler/./src/modules/third-party/cludo-search/cludo-search.js","webpack://cabanaboiler/./src/modules/image/image-gallery/image-gallery.js","webpack://cabanaboiler/./src/modules/intranet/chat/chat.js","webpack://cabanaboiler/./src/modules/cards/card__comment/onShowMoreCard.js","webpack://cabanaboiler/./src/modules/third-party/kultunaut/kultunaut-card/kultunaut-card.js","webpack://cabanaboiler/./src/modules/side-boxes/side-boxes__most-popular/side-boxes__most-popular.js","webpack://cabanaboiler/./src/modules/dropdowns/dropdown--md-down/dropdown--md-down.js","webpack://cabanaboiler/./src/modules/banners/banner__hours/bannerHours.js","webpack://cabanaboiler/./src/modules/breadcrumbs/breadcrumb/breadcrumb.js","webpack://cabanaboiler/./src/scripts/components/unsaveButton.js","webpack://cabanaboiler/./src/modules/table-hours/table-hours.js","webpack://cabanaboiler/./src/modules/tab-panels/tabpanel--reworked.js","webpack://cabanaboiler/./src/scripts/components/init-grayscale.js","webpack://cabanaboiler/./src/scripts/components/dark-mode.js","webpack://cabanaboiler/webpack/bootstrap","webpack://cabanaboiler/webpack/runtime/compat get default export","webpack://cabanaboiler/webpack/runtime/define property getters","webpack://cabanaboiler/webpack/runtime/global","webpack://cabanaboiler/webpack/runtime/hasOwnProperty shorthand","webpack://cabanaboiler/webpack/runtime/make namespace object","webpack://cabanaboiler/webpack/runtime/node module decorator","webpack://cabanaboiler/webpack/runtime/runtimeId","webpack://cabanaboiler/webpack/runtime/jsonp chunk loading","webpack://cabanaboiler/webpack/runtime/nonce","webpack://cabanaboiler/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","/* eslint no-prototype-builtins: 0 */\r\n/**\r\n * jQuery-csv (jQuery Plugin)\r\n *\r\n * This document is licensed as free software under the terms of the\r\n * MIT License: http://www.opensource.org/licenses/mit-license.php\r\n *\r\n * Acknowledgements:\r\n * The original design and influence to implement this library as a jquery\r\n * plugin is influenced by jquery-json (http://code.google.com/p/jquery-json/).\r\n * If you're looking to use native JSON.Stringify but want additional backwards\r\n * compatibility for browsers that don't support it, I highly recommend you\r\n * check it out.\r\n *\r\n * A special thanks goes out to rwk@acm.org for providing a lot of valuable\r\n * feedback to the project including the core for the new FSM\r\n * (Finite State Machine) parsers. If you're looking for a stable TSV parser\r\n * be sure to take a look at jquery-tsv (http://code.google.com/p/jquery-tsv/).\r\n\r\n * For legal purposes I'll include the \"NO WARRANTY EXPRESSED OR IMPLIED.\r\n * USE AT YOUR OWN RISK.\". Which, in 'layman's terms' means, by using this\r\n * library you are accepting responsibility if it breaks your code.\r\n *\r\n * Legal jargon aside, I will do my best to provide a useful and stable core\r\n * that can effectively be built on.\r\n *\r\n * Copyrighted 2012 by Evan Plaice.\r\n */\r\n\r\nRegExp.escape = function (s) {\r\n return s.replace(/[-/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&')\r\n };\r\n \r\n (function () {\r\n 'use strict'\r\n \r\n let $\r\n \r\n // to keep backwards compatibility\r\n if (typeof jQuery !== 'undefined' && jQuery) {\r\n $ = jQuery\r\n } else {\r\n $ = {}\r\n }\r\n \r\n /**\r\n * jQuery.csv.defaults\r\n * Encapsulates the method paramater defaults for the CSV plugin module.\r\n */\r\n \r\n $.csv = {\r\n defaults: {\r\n separator: ',',\r\n delimiter: '\"',\r\n headers: true\r\n },\r\n \r\n hooks: {\r\n castToScalar: function (value, state) {\r\n const hasDot = /\\./\r\n if (isNaN(value)) {\r\n return value\r\n } else {\r\n if (hasDot.test(value)) {\r\n return parseFloat(value)\r\n } else {\r\n const integer = parseInt(value)\r\n if (isNaN(integer)) {\r\n return null\r\n } else {\r\n return integer\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \r\n parsers: {\r\n parse: function (csv, options) {\r\n // cache settings\r\n const separator = options.separator\r\n const delimiter = options.delimiter\r\n \r\n // set initial state if it's missing\r\n if (!options.state.rowNum) {\r\n options.state.rowNum = 1\r\n }\r\n if (!options.state.colNum) {\r\n options.state.colNum = 1\r\n }\r\n \r\n // clear initial state\r\n const data = []\r\n let entry = []\r\n let state = 0\r\n let value = ''\r\n let exit = false\r\n \r\n function endOfEntry () {\r\n // reset the state\r\n state = 0\r\n value = ''\r\n \r\n // if 'start' hasn't been met, don't output\r\n if (options.start && options.state.rowNum < options.start) {\r\n // update global state\r\n entry = []\r\n options.state.rowNum++\r\n options.state.colNum = 1\r\n return\r\n }\r\n \r\n if (options.onParseEntry === undefined) {\r\n // onParseEntry hook not set\r\n data.push(entry)\r\n } else {\r\n const hookVal = options.onParseEntry(entry, options.state) // onParseEntry Hook\r\n // false skips the row, configurable through a hook\r\n if (hookVal !== false) {\r\n data.push(hookVal)\r\n }\r\n }\r\n // console.log('entry:' + entry);\r\n \r\n // cleanup\r\n entry = []\r\n \r\n // if 'end' is met, stop parsing\r\n if (options.end && options.state.rowNum >= options.end) {\r\n exit = true\r\n }\r\n \r\n // update global state\r\n options.state.rowNum++\r\n options.state.colNum = 1\r\n }\r\n \r\n function endOfValue () {\r\n if (options.onParseValue === undefined) {\r\n // onParseValue hook not set\r\n entry.push(value)\r\n } else if (options.headers && options.state.rowNum === 1) {\r\n // don't onParseValue object headers\r\n entry.push(value)\r\n } else {\r\n const hook = options.onParseValue(value, options.state) // onParseValue Hook\r\n // false skips the row, configurable through a hook\r\n if (hook !== false) {\r\n entry.push(hook)\r\n }\r\n }\r\n // console.log('value:' + value);\r\n // reset the state\r\n value = ''\r\n state = 0\r\n // update global state\r\n options.state.colNum++\r\n }\r\n \r\n // escape regex-specific control chars\r\n const escSeparator = RegExp.escape(separator)\r\n const escDelimiter = RegExp.escape(delimiter)\r\n \r\n // compile the regEx str using the custom delimiter/separator\r\n let match = /(D|S|\\r\\n|\\n|\\r|[^DS\\r\\n]+)/\r\n let matchSrc = match.source\r\n matchSrc = matchSrc.replace(/S/g, escSeparator)\r\n matchSrc = matchSrc.replace(/D/g, escDelimiter)\r\n match = new RegExp(matchSrc, 'gm')\r\n \r\n // put on your fancy pants...\r\n // process control chars individually, use look-ahead on non-control chars\r\n csv.replace(match, function (m0) {\r\n if (exit) {\r\n return\r\n }\r\n switch (state) {\r\n // the start of a value\r\n case 0:\r\n // null last value\r\n if (m0 === separator) {\r\n value += ''\r\n endOfValue()\r\n break\r\n }\r\n // opening delimiter\r\n if (m0 === delimiter) {\r\n state = 1\r\n break\r\n }\r\n // null last value\r\n if (/^(\\r\\n|\\n|\\r)$/.test(m0)) {\r\n endOfValue()\r\n endOfEntry()\r\n break\r\n }\r\n // un-delimited value\r\n value += m0\r\n state = 3\r\n break\r\n \r\n // delimited input\r\n case 1:\r\n // second delimiter? check further\r\n if (m0 === delimiter) {\r\n state = 2\r\n break\r\n }\r\n // delimited data\r\n value += m0\r\n state = 1\r\n break\r\n \r\n // delimiter found in delimited input\r\n case 2:\r\n // escaped delimiter?\r\n if (m0 === delimiter) {\r\n value += m0\r\n state = 1\r\n break\r\n }\r\n // null value\r\n if (m0 === separator) {\r\n endOfValue()\r\n break\r\n }\r\n // end of entry\r\n if (/^(\\r\\n|\\n|\\r)$/.test(m0)) {\r\n endOfValue()\r\n endOfEntry()\r\n break\r\n }\r\n // broken paser?\r\n throw Error('CSVDataError: Illegal State [Row:' + options.state.rowNum + '][Col:' + options.state.colNum + ']')\r\n \r\n // un-delimited input\r\n case 3:\r\n // null last value\r\n if (m0 === separator) {\r\n endOfValue()\r\n break\r\n }\r\n // end of entry\r\n if (/^(\\r\\n|\\n|\\r)$/.test(m0)) {\r\n endOfValue()\r\n endOfEntry()\r\n break\r\n }\r\n if (m0 === delimiter) {\r\n // non-compliant data\r\n throw Error('CSVDataError: Illegal Quote [Row:' + options.state.rowNum + '][Col:' + options.state.colNum + ']')\r\n }\r\n // broken parser?\r\n throw Error('CSVDataError: Illegal Data [Row:' + options.state.rowNum + '][Col:' + options.state.colNum + ']')\r\n default:\r\n // shenanigans\r\n throw Error('CSVDataError: Unknown State [Row:' + options.state.rowNum + '][Col:' + options.state.colNum + ']')\r\n }\r\n // console.log('val:' + m0 + ' state:' + state);\r\n })\r\n \r\n // submit the last entry\r\n // ignore null last line\r\n if (entry.length !== 0) {\r\n endOfValue()\r\n endOfEntry()\r\n }\r\n \r\n return data\r\n },\r\n \r\n // a csv-specific line splitter\r\n splitLines: function (csv, options) {\r\n if (!csv) {\r\n return undefined\r\n }\r\n \r\n options = options || {}\r\n \r\n // cache settings\r\n const separator = options.separator || $.csv.defaults.separator\r\n const delimiter = options.delimiter || $.csv.defaults.delimiter\r\n \r\n // set initial state if it's missing\r\n options.state = options.state || {}\r\n if (!options.state.rowNum) {\r\n options.state.rowNum = 1\r\n }\r\n \r\n // clear initial state\r\n const entries = []\r\n let state = 0\r\n let entry = ''\r\n let exit = false\r\n \r\n function endOfLine () {\r\n // reset the state\r\n state = 0\r\n \r\n // if 'start' hasn't been met, don't output\r\n if (options.start && options.state.rowNum < options.start) {\r\n // update global state\r\n entry = ''\r\n options.state.rowNum++\r\n return\r\n }\r\n \r\n if (options.onParseEntry === undefined) {\r\n // onParseEntry hook not set\r\n entries.push(entry)\r\n } else {\r\n const hookVal = options.onParseEntry(entry, options.state) // onParseEntry Hook\r\n // false skips the row, configurable through a hook\r\n if (hookVal !== false) {\r\n entries.push(hookVal)\r\n }\r\n }\r\n \r\n // cleanup\r\n entry = ''\r\n \r\n // if 'end' is met, stop parsing\r\n if (options.end && options.state.rowNum >= options.end) {\r\n exit = true\r\n }\r\n \r\n // update global state\r\n options.state.rowNum++\r\n }\r\n \r\n // escape regex-specific control chars\r\n const escSeparator = RegExp.escape(separator)\r\n const escDelimiter = RegExp.escape(delimiter)\r\n \r\n // compile the regEx str using the custom delimiter/separator\r\n let match = /(D|S|\\n|\\r|[^DS\\r\\n]+)/\r\n let matchSrc = match.source\r\n matchSrc = matchSrc.replace(/S/g, escSeparator)\r\n matchSrc = matchSrc.replace(/D/g, escDelimiter)\r\n match = new RegExp(matchSrc, 'gm')\r\n \r\n // put on your fancy pants...\r\n // process control chars individually, use look-ahead on non-control chars\r\n csv.replace(match, function (m0) {\r\n if (exit) {\r\n return\r\n }\r\n switch (state) {\r\n // the start of a value/entry\r\n case 0:\r\n // null value\r\n if (m0 === separator) {\r\n entry += m0\r\n state = 0\r\n break\r\n }\r\n // opening delimiter\r\n if (m0 === delimiter) {\r\n entry += m0\r\n state = 1\r\n break\r\n }\r\n // end of line\r\n if (m0 === '\\n') {\r\n endOfLine()\r\n break\r\n }\r\n // phantom carriage return\r\n if (/^\\r$/.test(m0)) {\r\n break\r\n }\r\n // un-delimit value\r\n entry += m0\r\n state = 3\r\n break\r\n \r\n // delimited input\r\n case 1:\r\n // second delimiter? check further\r\n if (m0 === delimiter) {\r\n entry += m0\r\n state = 2\r\n break\r\n }\r\n // delimited data\r\n entry += m0\r\n state = 1\r\n break\r\n \r\n // delimiter found in delimited input\r\n case 2: {\r\n // escaped delimiter?\r\n const prevChar = entry.substr(entry.length - 1)\r\n if (m0 === delimiter && prevChar === delimiter) {\r\n entry += m0\r\n state = 1\r\n break\r\n }\r\n // end of value\r\n if (m0 === separator) {\r\n entry += m0\r\n state = 0\r\n break\r\n }\r\n // end of line\r\n if (m0 === '\\n') {\r\n endOfLine()\r\n break\r\n }\r\n // phantom carriage return\r\n if (m0 === '\\r') {\r\n break\r\n }\r\n // broken paser?\r\n throw Error('CSVDataError: Illegal state [Row:' + options.state.rowNum + ']')\r\n }\r\n // un-delimited input\r\n case 3:\r\n // null value\r\n if (m0 === separator) {\r\n entry += m0\r\n state = 0\r\n break\r\n }\r\n // end of line\r\n if (m0 === '\\n') {\r\n endOfLine()\r\n break\r\n }\r\n // phantom carriage return\r\n if (m0 === '\\r') {\r\n break\r\n }\r\n // non-compliant data\r\n if (m0 === delimiter) {\r\n throw Error('CSVDataError: Illegal quote [Row:' + options.state.rowNum + ']')\r\n }\r\n // broken parser?\r\n throw Error('CSVDataError: Illegal state [Row:' + options.state.rowNum + ']')\r\n default:\r\n // shenanigans\r\n throw Error('CSVDataError: Unknown state [Row:' + options.state.rowNum + ']')\r\n }\r\n // console.log('val:' + m0 + ' state:' + state);\r\n })\r\n \r\n // submit the last entry\r\n // ignore null last line\r\n if (entry !== '') {\r\n endOfLine()\r\n }\r\n \r\n return entries\r\n },\r\n \r\n // a csv entry parser\r\n parseEntry: function (csv, options) {\r\n // cache settings\r\n const separator = options.separator\r\n const delimiter = options.delimiter\r\n \r\n // set initial state if it's missing\r\n if (!options.state.rowNum) {\r\n options.state.rowNum = 1\r\n }\r\n if (!options.state.colNum) {\r\n options.state.colNum = 1\r\n }\r\n \r\n // clear initial state\r\n const entry = []\r\n let state = 0\r\n let value = ''\r\n \r\n function endOfValue () {\r\n if (options.onParseValue === undefined) {\r\n // onParseValue hook not set\r\n entry.push(value)\r\n } else {\r\n const hook = options.onParseValue(value, options.state) // onParseValue Hook\r\n // false skips the value, configurable through a hook\r\n if (hook !== false) {\r\n entry.push(hook)\r\n }\r\n }\r\n // reset the state\r\n value = ''\r\n state = 0\r\n // update global state\r\n options.state.colNum++\r\n }\r\n \r\n // checked for a cached regEx first\r\n if (!options.match) {\r\n // escape regex-specific control chars\r\n const escSeparator = RegExp.escape(separator)\r\n const escDelimiter = RegExp.escape(delimiter)\r\n \r\n // compile the regEx str using the custom delimiter/separator\r\n const match = /(D|S|\\n|\\r|[^DS\\r\\n]+)/\r\n let matchSrc = match.source\r\n matchSrc = matchSrc.replace(/S/g, escSeparator)\r\n matchSrc = matchSrc.replace(/D/g, escDelimiter)\r\n options.match = new RegExp(matchSrc, 'gm')\r\n }\r\n \r\n // put on your fancy pants...\r\n // process control chars individually, use look-ahead on non-control chars\r\n csv.replace(options.match, function (m0) {\r\n switch (state) {\r\n // the start of a value\r\n case 0:\r\n // null last value\r\n if (m0 === separator) {\r\n value += ''\r\n endOfValue()\r\n break\r\n }\r\n // opening delimiter\r\n if (m0 === delimiter) {\r\n state = 1\r\n break\r\n }\r\n // skip un-delimited new-lines\r\n if (m0 === '\\n' || m0 === '\\r') {\r\n break\r\n }\r\n // un-delimited value\r\n value += m0\r\n state = 3\r\n break\r\n \r\n // delimited input\r\n case 1:\r\n // second delimiter? check further\r\n if (m0 === delimiter) {\r\n state = 2\r\n break\r\n }\r\n // delimited data\r\n value += m0\r\n state = 1\r\n break\r\n \r\n // delimiter found in delimited input\r\n case 2:\r\n // escaped delimiter?\r\n if (m0 === delimiter) {\r\n value += m0\r\n state = 1\r\n break\r\n }\r\n // null value\r\n if (m0 === separator) {\r\n endOfValue()\r\n break\r\n }\r\n // skip un-delimited new-lines\r\n if (m0 === '\\n' || m0 === '\\r') {\r\n break\r\n }\r\n // broken paser?\r\n throw Error('CSVDataError: Illegal State [Row:' + options.state.rowNum + '][Col:' + options.state.colNum + ']')\r\n \r\n // un-delimited input\r\n case 3:\r\n // null last value\r\n if (m0 === separator) {\r\n endOfValue()\r\n break\r\n }\r\n // skip un-delimited new-lines\r\n if (m0 === '\\n' || m0 === '\\r') {\r\n break\r\n }\r\n // non-compliant data\r\n if (m0 === delimiter) {\r\n throw Error('CSVDataError: Illegal Quote [Row:' + options.state.rowNum + '][Col:' + options.state.colNum + ']')\r\n }\r\n // broken parser?\r\n throw Error('CSVDataError: Illegal Data [Row:' + options.state.rowNum + '][Col:' + options.state.colNum + ']')\r\n default:\r\n // shenanigans\r\n throw Error('CSVDataError: Unknown State [Row:' + options.state.rowNum + '][Col:' + options.state.colNum + ']')\r\n }\r\n // console.log('val:' + m0 + ' state:' + state);\r\n })\r\n \r\n // submit the last value\r\n endOfValue()\r\n \r\n return entry\r\n }\r\n },\r\n \r\n helpers: {\r\n \r\n /**\r\n * $.csv.helpers.collectPropertyNames(objectsArray)\r\n * Collects all unique property names from all passed objects.\r\n *\r\n * @param {Array} objects Objects to collect properties from.\r\n *\r\n * Returns an array of property names (array will be empty,\r\n * if objects have no own properties).\r\n */\r\n collectPropertyNames: function (objects) {\r\n let o = []\r\n let propName = []\r\n const props = []\r\n for (o in objects) {\r\n for (propName in objects[o]) {\r\n if ((objects[o].hasOwnProperty(propName)) &&\r\n (props.indexOf(propName) < 0) &&\r\n (typeof objects[o][propName] !== 'function')) {\r\n props.push(propName)\r\n }\r\n }\r\n }\r\n return props\r\n }\r\n },\r\n \r\n /**\r\n * $.csv.toArray(csv)\r\n * Converts a CSV entry string to a javascript array.\r\n *\r\n * @param {Array} csv The string containing the CSV data.\r\n * @param {Object} [options] An object containing user-defined options.\r\n * @param {Character} [separator] An override for the separator character. Defaults to a comma(,).\r\n * @param {Character} [delimiter] An override for the delimiter character. Defaults to a double-quote(\").\r\n *\r\n * This method deals with simple CSV strings only. It's useful if you only\r\n * need to parse a single entry. If you need to parse more than one line,\r\n * use $.csv2Array instead.\r\n */\r\n toArray: function (csv, options, callback) {\r\n // if callback was passed to options swap callback with options\r\n if (options !== undefined && typeof (options) === 'function') {\r\n if (callback !== undefined) {\r\n return console.error('You cannot 3 arguments with the 2nd argument being a function')\r\n }\r\n callback = options\r\n options = {}\r\n }\r\n \r\n options = (options !== undefined ? options : {})\r\n const config = {}\r\n config.callback = ((callback !== undefined && typeof (callback) === 'function') ? callback : false)\r\n config.separator = 'separator' in options ? options.separator : $.csv.defaults.separator\r\n config.delimiter = 'delimiter' in options ? options.delimiter : $.csv.defaults.delimiter\r\n const state = (options.state !== undefined ? options.state : {})\r\n \r\n // setup\r\n options = {\r\n delimiter: config.delimiter,\r\n separator: config.separator,\r\n onParseEntry: options.onParseEntry,\r\n onParseValue: options.onParseValue,\r\n state: state\r\n }\r\n \r\n const entry = $.csv.parsers.parseEntry(csv, options)\r\n \r\n // push the value to a callback if one is defined\r\n if (!config.callback) {\r\n return entry\r\n } else {\r\n config.callback('', entry)\r\n }\r\n },\r\n \r\n /**\r\n * $.csv.toArrays(csv)\r\n * Converts a CSV string to a javascript array.\r\n *\r\n * @param {String} csv The string containing the raw CSV data.\r\n * @param {Object} [options] An object containing user-defined options.\r\n * @param {Character} [separator] An override for the separator character. Defaults to a comma(,).\r\n * @param {Character} [delimiter] An override for the delimiter character. Defaults to a double-quote(\").\r\n *\r\n * This method deals with multi-line CSV. The breakdown is simple. The first\r\n * dimension of the array represents the line (or entry/row) while the second\r\n * dimension contains the values (or values/columns).\r\n */\r\n toArrays: function (csv, options, callback) {\r\n // if callback was passed to options swap callback with options\r\n if (options !== undefined && typeof (options) === 'function') {\r\n if (callback !== undefined) {\r\n return console.error('You cannot 3 arguments with the 2nd argument being a function')\r\n }\r\n callback = options\r\n options = {}\r\n }\r\n \r\n options = (options !== undefined ? options : {})\r\n const config = {}\r\n config.callback = ((callback !== undefined && typeof (callback) === 'function') ? callback : false)\r\n config.separator = 'separator' in options ? options.separator : $.csv.defaults.separator\r\n config.delimiter = 'delimiter' in options ? options.delimiter : $.csv.defaults.delimiter\r\n \r\n // setup\r\n let data = []\r\n options = {\r\n delimiter: config.delimiter,\r\n separator: config.separator,\r\n onPreParse: options.onPreParse,\r\n onParseEntry: options.onParseEntry,\r\n onParseValue: options.onParseValue,\r\n onPostParse: options.onPostParse,\r\n start: options.start,\r\n end: options.end,\r\n state: {\r\n rowNum: 1,\r\n colNum: 1\r\n }\r\n }\r\n \r\n // onPreParse hook\r\n if (options.onPreParse !== undefined) {\r\n csv = options.onPreParse(csv, options.state)\r\n }\r\n \r\n // parse the data\r\n data = $.csv.parsers.parse(csv, options)\r\n \r\n // onPostParse hook\r\n if (options.onPostParse !== undefined) {\r\n data = options.onPostParse(data, options.state)\r\n }\r\n \r\n // push the value to a callback if one is defined\r\n if (!config.callback) {\r\n return data\r\n } else {\r\n config.callback('', data)\r\n }\r\n },\r\n \r\n /**\r\n * $.csv.toObjects(csv)\r\n * Converts a CSV string to a javascript object.\r\n * @param {String} csv The string containing the raw CSV data.\r\n * @param {Object} [options] An object containing user-defined options.\r\n * @param {Character} [separator] An override for the separator character. Defaults to a comma(,).\r\n * @param {Character} [delimiter] An override for the delimiter character. Defaults to a double-quote(\").\r\n * @param {Boolean} [headers] Indicates whether the data contains a header line. Defaults to true.\r\n *\r\n * This method deals with multi-line CSV strings. Where the headers line is\r\n * used as the key for each value per entry.\r\n */\r\n toObjects: function (csv, options, callback) {\r\n // if callback was passed to options swap callback with options\r\n if (options !== undefined && typeof (options) === 'function') {\r\n if (callback !== undefined) {\r\n return console.error('You cannot 3 arguments with the 2nd argument being a function')\r\n }\r\n callback = options\r\n options = {}\r\n }\r\n \r\n options = (options !== undefined ? options : {})\r\n const config = {}\r\n config.callback = ((callback !== undefined && typeof (callback) === 'function') ? callback : false)\r\n config.separator = 'separator' in options ? options.separator : $.csv.defaults.separator\r\n config.delimiter = 'delimiter' in options ? options.delimiter : $.csv.defaults.delimiter\r\n config.headers = 'headers' in options ? options.headers : $.csv.defaults.headers\r\n options.start = 'start' in options ? options.start : 1\r\n \r\n // account for headers\r\n if (config.headers) {\r\n options.start++\r\n }\r\n if (options.end && config.headers) {\r\n options.end++\r\n }\r\n \r\n // setup\r\n let lines = []\r\n let data = []\r\n \r\n options = {\r\n delimiter: config.delimiter,\r\n separator: config.separator,\r\n onPreParse: options.onPreParse,\r\n onParseEntry: options.onParseEntry,\r\n onParseValue: options.onParseValue,\r\n onPostParse: options.onPostParse,\r\n start: options.start,\r\n end: options.end,\r\n state: {\r\n rowNum: 1,\r\n colNum: 1\r\n },\r\n match: false,\r\n transform: options.transform\r\n }\r\n \r\n // fetch the headers\r\n const headerOptions = {\r\n delimiter: config.delimiter,\r\n separator: config.separator,\r\n start: 1,\r\n end: 1,\r\n state: {\r\n rowNum: 1,\r\n colNum: 1\r\n },\r\n headers: true\r\n }\r\n \r\n // onPreParse hook\r\n if (options.onPreParse !== undefined) {\r\n csv = options.onPreParse(csv, options.state)\r\n }\r\n \r\n // parse the csv\r\n const headerLine = $.csv.parsers.splitLines(csv, headerOptions)\r\n const headers = $.csv.toArray(headerLine[0], headerOptions)\r\n \r\n // fetch the data\r\n lines = $.csv.parsers.splitLines(csv, options)\r\n \r\n // reset the state for re-use\r\n options.state.colNum = 1\r\n if (headers) {\r\n options.state.rowNum = 2\r\n } else {\r\n options.state.rowNum = 1\r\n }\r\n \r\n // convert data to objects\r\n for (let i = 0, len = lines.length; i < len; i++) {\r\n const entry = $.csv.toArray(lines[i], options)\r\n const object = {}\r\n for (let j = 0; j < headers.length; j++) {\r\n object[headers[j]] = entry[j]\r\n }\r\n if (options.transform !== undefined) {\r\n data.push(options.transform.call(undefined, object))\r\n } else {\r\n data.push(object)\r\n }\r\n \r\n // update row state\r\n options.state.rowNum++\r\n }\r\n \r\n // onPostParse hook\r\n if (options.onPostParse !== undefined) {\r\n data = options.onPostParse(data, options.state)\r\n }\r\n \r\n // push the value to a callback if one is defined\r\n if (!config.callback) {\r\n return data\r\n } else {\r\n config.callback('', data)\r\n }\r\n },\r\n \r\n /**\r\n * $.csv.fromArrays(arrays)\r\n * Converts a javascript array to a CSV String.\r\n *\r\n * @param {Array} arrays An array containing an array of CSV entries.\r\n * @param {Object} [options] An object containing user-defined options.\r\n * @param {Character} [separator] An override for the separator character. Defaults to a comma(,).\r\n * @param {Character} [delimiter] An override for the delimiter character. Defaults to a double-quote(\").\r\n *\r\n * This method generates a CSV file from an array of arrays (representing entries).\r\n */\r\n fromArrays: function (arrays, options, callback) {\r\n // if callback was passed to options swap callback with options\r\n if (options !== undefined && typeof (options) === 'function') {\r\n if (callback !== undefined) {\r\n return console.error('You cannot 3 arguments with the 2nd argument being a function')\r\n }\r\n callback = options\r\n options = {}\r\n }\r\n \r\n options = (options !== undefined ? options : {})\r\n const config = {}\r\n config.callback = ((callback !== undefined && typeof (callback) === 'function') ? callback : false)\r\n config.separator = 'separator' in options ? options.separator : $.csv.defaults.separator\r\n config.delimiter = 'delimiter' in options ? options.delimiter : $.csv.defaults.delimiter\r\n \r\n let output = ''\r\n \r\n for (let i = 0; i < arrays.length; i++) {\r\n const line = arrays[i]\r\n const lineValues = []\r\n for (let j = 0; j < line.length; j++) {\r\n let strValue = (line[j] === undefined || line[j] === null) ? '' : line[j].toString()\r\n if (strValue.indexOf(config.delimiter) > -1) {\r\n strValue = strValue.replace(new RegExp(config.delimiter, 'g'), config.delimiter + config.delimiter)\r\n }\r\n \r\n let escMatcher = '\\n|\\r|S|D'\r\n escMatcher = escMatcher.replace('S', config.separator)\r\n escMatcher = escMatcher.replace('D', config.delimiter)\r\n \r\n if (strValue.search(escMatcher) > -1) {\r\n strValue = config.delimiter + strValue + config.delimiter\r\n }\r\n lineValues.push(strValue)\r\n }\r\n output += lineValues.join(config.separator) + '\\n'\r\n }\r\n \r\n // push the value to a callback if one is defined\r\n if (!config.callback) {\r\n return output\r\n } else {\r\n config.callback('', output)\r\n }\r\n },\r\n \r\n /**\r\n * $.csv.fromObjects(objects)\r\n * Converts a javascript dictionary to a CSV string.\r\n *\r\n * @param {Object} objects An array of objects containing the data.\r\n * @param {Object} [options] An object containing user-defined options.\r\n * @param {Character} [separator] An override for the separator character. Defaults to a comma(,).\r\n * @param {Character} [delimiter] An override for the delimiter character. Defaults to a double-quote(\").\r\n * @param {Character} [sortOrder] Sort order of columns (named after\r\n * object properties). Use 'alpha' for alphabetic. Default is 'declare',\r\n * which means, that properties will _probably_ appear in order they were\r\n * declared for the object. But without any guarantee.\r\n * @param {Character or Array} [manualOrder] Manually order columns. May be\r\n * a strin in a same csv format as an output or an array of header names\r\n * (array items won't be parsed). All the properties, not present in\r\n * `manualOrder` will be appended to the end in accordance with `sortOrder`\r\n * option. So the `manualOrder` always takes preference, if present.\r\n *\r\n * This method generates a CSV file from an array of objects (name:value pairs).\r\n * It starts by detecting the headers and adding them as the first line of\r\n * the CSV file, followed by a structured dump of the data.\r\n */\r\n fromObjects: function (objects, options, callback) {\r\n // if callback was passed to options swap callback with options\r\n if (options !== undefined && typeof (options) === 'function') {\r\n if (callback !== undefined) {\r\n return console.error('You cannot 3 arguments with the 2nd argument being a function')\r\n }\r\n callback = options\r\n options = {}\r\n }\r\n \r\n options = (options !== undefined ? options : {})\r\n const config = {}\r\n config.callback = ((callback !== undefined && typeof (callback) === 'function') ? callback : false)\r\n config.separator = 'separator' in options ? options.separator : $.csv.defaults.separator\r\n config.delimiter = 'delimiter' in options ? options.delimiter : $.csv.defaults.delimiter\r\n config.headers = 'headers' in options ? options.headers : $.csv.defaults.headers\r\n config.sortOrder = 'sortOrder' in options ? options.sortOrder : 'declare'\r\n config.manualOrder = 'manualOrder' in options ? options.manualOrder : []\r\n config.transform = options.transform\r\n \r\n if (typeof config.manualOrder === 'string') {\r\n config.manualOrder = $.csv.toArray(config.manualOrder, config)\r\n }\r\n \r\n if (config.transform !== undefined) {\r\n const origObjects = objects\r\n objects = []\r\n \r\n for (let i = 0; i < origObjects.length; i++) {\r\n objects.push(config.transform.call(undefined, origObjects[i]))\r\n }\r\n }\r\n \r\n let props = $.csv.helpers.collectPropertyNames(objects)\r\n \r\n if (config.sortOrder === 'alpha') {\r\n props.sort()\r\n }\r\n \r\n if (config.manualOrder.length > 0) {\r\n const propsManual = [].concat(config.manualOrder)\r\n \r\n for (let p = 0; p < props.length; p++) {\r\n if (propsManual.indexOf(props[p]) < 0) {\r\n propsManual.push(props[p])\r\n }\r\n }\r\n props = propsManual\r\n }\r\n \r\n let line\r\n const output = []\r\n let propName\r\n if (config.headers) {\r\n output.push(props)\r\n }\r\n \r\n for (let o = 0; o < objects.length; o++) {\r\n line = []\r\n for (let p = 0; p < props.length; p++) {\r\n propName = props[p]\r\n if (propName in objects[o] && typeof objects[o][propName] !== 'function') {\r\n line.push(objects[o][propName])\r\n } else {\r\n line.push('')\r\n }\r\n }\r\n output.push(line)\r\n }\r\n \r\n // push the value to a callback if one is defined\r\n return $.csv.fromArrays(output, options, config.callback)\r\n }\r\n }\r\n \r\n // Maintenance code to maintain backward-compatibility\r\n // Will be removed in release 1.0\r\n $.csvEntry2Array = $.csv.toArray\r\n $.csv2Array = $.csv.toArrays\r\n $.csv2Dictionary = $.csv.toObjects\r\n \r\n // CommonJS module is defined\r\n if (typeof module !== 'undefined' && module.exports) {\r\n module.exports = $.csv\r\n }\r\n }).call(this)","/**\r\n * Card portrait - no image carousel\r\n * https://owlcarousel2.github.io/\r\n */\r\n\r\n// eslint-disable-next-line no-unused-vars\r\nimport owl from '../../../../node_modules/owl.carousel/dist/owl.carousel.min'\r\n\r\nexport function carouselCards() {\r\n\r\n jQuery(function () {\r\n if (jQuery(\".owl-card-carousel\").length < 1) {\r\n return;\r\n }\r\n\r\n jQuery(\".owl-card-carousel\").each(function () {\r\n var overThreeItems = false;\r\n var $thisCardCarousel = jQuery(this);\r\n // var $dataStagepadding = jQuery(\".owl-card-carousel\").data(\"stagepadding\");\r\n\r\n if ($thisCardCarousel.children('.item').length >= 3 && jQuery(window).width() <= 991 || $thisCardCarousel.children('.item').length >= 3) {\r\n overThreeItems = true;\r\n }\r\n\r\n $thisCardCarousel.owlCarousel({\r\n\t\t\t\tstagePadding: 0,\r\n\t\t\t\titems: 3,\r\n\t\t\t\tnav: false,\r\n\t\t\t\tdots: overThreeItems,\r\n\t\t\t\tloop: overThreeItems,\r\n\t\t\t\tmargin: 25,\r\n\t\t\t\tpullDrag: true,\r\n\t\t\t\ttouchDrag: true,\r\n\t\t\t\tmouseDrag: true,\r\n\t\t\t\tresponsiveClass: true,\r\n\r\n responsive: {\r\n 0: {\r\n items: 1,\r\n stagePadding: 40\r\n },\r\n 600: {\r\n items: 2,\r\n stagePadding: 40 * 2\r\n },\r\n 991: {\r\n items: 3\r\n }\r\n }\r\n });\r\n\r\n\t\t\tjQuery('.owl-card-carousel').find('.owl-dot').each(function(index) {\r\n\t\t\t\tjQuery(this).removeAttr('role');\r\n\t\t\t\tjQuery(this).attr('aria-label', 'slide-' + index);\r\n\t\t\t});\r\n });\r\n });\r\n\r\n}\r\n\r\nexport default carouselCards;\r\n","export function autosuggestions() {\r\n\tconst suggestionsElements = document.querySelectorAll(\".js-auto-suggestions\");\r\n\tconst htmlElement = document.querySelector(\"html\");\r\n\tif (suggestionsElements.length) {\r\n\t\tconst testSuggestions = [\r\n\t\t\t\"Apple\",\r\n\t\t\t\"Banana\",\r\n\t\t\t\"Cherry\",\r\n\t\t\t\"Date\",\r\n\t\t\t\"Elderberry\",\r\n\t\t\t\"Fig\",\r\n\t\t\t\"Grape\",\r\n\t\t];\r\n\t\tconst useTestData = false; // Set to `true` in the test environment, always set to false before committing\r\n\r\n\t\tsuggestionsElements.forEach((suggestionsElement) => {\r\n\t\t\tsuggestionsElement.addEventListener(\"input\", () => {\r\n\t\t\t\tconst inputValue = suggestionsElement.value;\r\n\t\t\t\tif (inputValue.length > 1) {\r\n\t\t\t\t\tif (useTestData) {\r\n\t\t\t\t\t\t// Use the test array instead of fetching from the API\r\n\t\t\t\t\t\tconst suggestionsMarkup = generateSuggestionsMarkup(\r\n\t\t\t\t\t\t\ttestSuggestions,\r\n\t\t\t\t\t\t\tinputValue,\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\taddSuggestionsMarkup(suggestionsElement, suggestionsMarkup);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tconst pageId =\r\n\t\t\t\t\t\t\tsuggestionsElement.getAttribute(\"data-search-pageid\");\r\n\t\t\t\t\t\tconst useraffle = suggestionsElement.getAttribute(\"data-useraffle\");\r\n\t\t\t\t\t\tconst lang = htmlElement.getAttribute(\"lang\");\r\n\t\t\t\t\t\t// Define the API URL\r\n\t\t\t\t\t\tconst apiUrl =\r\n\t\t\t\t\t\t\t\"/umbraco/api/search/GetTypeAhead?searchTerm=\" +\r\n\t\t\t\t\t\t\tinputValue +\r\n\t\t\t\t\t\t\t\"&pageId=\" +\r\n\t\t\t\t\t\t\tpageId +\r\n\t\t\t\t\t\t\t\"&lang=\" +\r\n\t\t\t\t\t\t\tlang +\r\n\t\t\t\t\t\t\t\"&useRaffle=\" +\r\n\t\t\t\t\t\t\tuseraffle;\r\n\t\t\t\t\t\tfetch(apiUrl, {\r\n\t\t\t\t\t\t\tmethod: \"GET\",\r\n\t\t\t\t\t\t\theaders: {\r\n\t\t\t\t\t\t\t\t\"Content-Type\": \"application/json\",\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t.then((response) => response.json())\r\n\t\t\t\t\t\t\t.then((data) => {\r\n\t\t\t\t\t\t\t\t// Handle the response data\r\n\t\t\t\t\t\t\t\tif (Array.isArray(data)) {\r\n\t\t\t\t\t\t\t\t\tif (data.length) {\r\n\t\t\t\t\t\t\t\t\t\tconst suggestionsMarkup = generateSuggestionsMarkup(\r\n\t\t\t\t\t\t\t\t\t\t\tdata,\r\n\t\t\t\t\t\t\t\t\t\t\tinputValue,\r\n\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\taddSuggestionsMarkup(suggestionsElement, suggestionsMarkup);\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\tremoveSuggestions(suggestionsElement);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tremoveSuggestions(suggestionsElement);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t.catch((error) => {\r\n\t\t\t\t\t\t\t\t// Handle any errors\r\n\t\t\t\t\t\t\t\tconsole.error(\"Error:\", error);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (inputValue.length == 0) {\r\n\t\t\t\t\tremoveSuggestions(suggestionsElement);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\tsuggestionsElement.addEventListener(\"click\", (event) => {\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t});\r\n\t\t\t// Add focus event to show top questions when input is focused\r\n\t\t\tsuggestionsElement.addEventListener(\"focus\", () => {\r\n\t\t\t\tif (suggestionsElement.value.length === 0) {\r\n\t\t\t\t\tAddTopSuggestions(suggestionsElement);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t// UNFOCUS EVENT NOT ON .suggestions--autocomplete\r\n\t\t\tsuggestionsElement.addEventListener(\"blur\", () => {\r\n\t\t\t\t// Forsinket fjernelse for at give tid til klik på forslag\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tremoveSuggestions(suggestionsElement);\r\n\t\t\t\t}, 200);\r\n\t\t\t});\r\n\r\n\t\t\tsuggestionsElement.addEventListener(\"keydown\", (event) => {\r\n\t\t\t\tconst closestForm = suggestionsElement.closest(\"form\");\r\n\t\t\t\tconst suggestionsContainer = closestForm.querySelector(\r\n\t\t\t\t\t\".suggestions--autocomplete ul\",\r\n\t\t\t\t);\r\n\t\t\t\tif (suggestionsContainer) {\r\n\t\t\t\t\tconst items = suggestionsContainer.querySelectorAll(\"li\");\r\n\t\t\t\t\tlet currentIndex = Array.from(items).findIndex((item) =>\r\n\t\t\t\t\t\titem.classList.contains(\"highlighted\"),\r\n\t\t\t\t\t);\r\n\t\t\t\t\tif (event.key === \"ArrowDown\") {\r\n\t\t\t\t\t\tevent.preventDefault();\r\n\t\t\t\t\t\tif (currentIndex < items.length - 1) {\r\n\t\t\t\t\t\t\tcurrentIndex++;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tcurrentIndex = 0;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\thighlightItem(items, currentIndex);\r\n\t\t\t\t\t} else if (event.key === \"ArrowUp\") {\r\n\t\t\t\t\t\tevent.preventDefault();\r\n\t\t\t\t\t\tif (currentIndex > 0) {\r\n\t\t\t\t\t\t\tcurrentIndex--;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tcurrentIndex = items.length - 1;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\thighlightItem(items, currentIndex);\r\n\t\t\t\t\t} else if (event.key === \"Enter\") {\r\n\t\t\t\t\t\tevent.preventDefault();\r\n\t\t\t\t\t\tif (currentIndex > -1) {\r\n\t\t\t\t\t\t\tif (items[currentIndex].querySelector(\"button\").dataset.query) {\r\n\t\t\t\t\t\t\t\tsuggestionsElement.value =\r\n\t\t\t\t\t\t\t\t\titems[currentIndex].querySelector(\"button\").dataset.query;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tsuggestionsElement.value =\r\n\t\t\t\t\t\t\t\t\titems[currentIndex].querySelector(\"button\").innerText;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tremoveSuggestions(suggestionsElement);\r\n\r\n\t\t\t\t\t\t\tif (closestForm) {\r\n\t\t\t\t\t\t\t\tclosestForm.submit();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif (closestForm) {\r\n\t\t\t\t\t\t\t\tclosestForm.submit();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\tfunction generateSuggestionsMarkup(suggestions, searchTerm) {\r\n\t\tlet markup = '
changes\r\n\r\n\t\t\t\thandleLoadResize(window)\r\n\t\t\t\t// Here you can trigger the same code as the load/resize event\r\n\t\t\t\t// Example: Triggering the menu update or other actions\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t});\r\n\r\n\t\t\t// Observer configuration: Watch for child changes in the profile-name element\r\n\t\t\tconst config = { childList: true, subtree: true };\r\n\t\t\tobserver.observe(profileNameElement, config);\r\n\t\t}\r\n\r\n\r\n\t}\r\n\r\n}\r\n\r\nexport default headerIntranet;\r\n","/**\r\n * Hero Multi Box\r\n *\r\n */\r\n\r\nexport function heroMultiBox() {\r\n if (jQuery('.hero__multi-boxes').length < 1) {\r\n return;\r\n }\r\n\r\n jQuery(function() {\r\n jQuery(window).on('load', function() {\r\n if (jQuery(window).width() > 768) {\r\n masonryGrid();\r\n }\r\n });\r\n\r\n // if (jQuery(window).width() > 768) {\r\n // masonryGrid();\r\n // }\r\n\r\n jQuery(window).on(\"resize\", function () {\r\n if (jQuery(window).width() > 768) {\r\n masonryGrid();\r\n }\r\n });\r\n });\r\n\r\n function masonryGrid() {\r\n jQuery('.hero__multi-boxes__grid.hero__multi-boxes__grid--vertical.hero__multi-boxes__grid__two').masonry({\r\n itemSelector: '.hero__multi-boxes__box',\r\n columnWidth: '.grid-column-one',\r\n percentPosition: true,\r\n originTop: false\r\n });\r\n\r\n jQuery('.hero__multi-boxes__grid.hero__multi-boxes__grid--horizontal.hero__multi-boxes__grid__two').masonry({\r\n itemSelector: '.hero__multi-boxes__box',\r\n columnWidth: '.grid-column-two',\r\n percentPosition: true,\r\n originTop: false\r\n });\r\n\r\n jQuery('.hero__multi-boxes__grid.hero__multi-boxes__grid--vertical').masonry({\r\n itemSelector: '.hero__multi-boxes__box',\r\n columnWidth: '.grid-column-two',\r\n percentPosition: true,\r\n originTop: false\r\n });\r\n\r\n jQuery('.hero__multi-boxes__grid.hero__multi-boxes__grid--horizontal').masonry({\r\n itemSelector: '.hero__multi-boxes__box',\r\n columnWidth: '.grid-column-two',\r\n horizontalOrder: true,\r\n percentPosition: true,\r\n });\r\n }\r\n}\r\n\r\nexport default heroMultiBox;\r\n","export function footers() {\r\n\r\n\tif (jQuery(\".footer\").length < 0) {\r\n\t\treturn;\r\n }\r\n\r\n jQuery(window).on(\"load resize\", function () {\r\n var $dropdownToggle = jQuery(\".footer__content .dropdown-toggle\");\r\n var $dropdownMenu = jQuery('.footer__content .dropdown-menu');\r\n\r\n // Mobile menu (Tablet down)\r\n if (this.matchMedia(\"(max-width: 767px)\").matches) {\r\n $dropdownToggle.removeAttr(\"disabled\");\r\n $dropdownToggle.removeAttr(\"role\");\r\n $dropdownToggle.removeClass(\"show\");\r\n $dropdownToggle.removeAttr(\"aria-level\");\r\n $dropdownToggle.attr(\"aria-expanded\", \"false\");\r\n\r\n // Mobile 2nd level dropdowns\r\n jQuery(document).off('click', '.footer__content .dropdown-toggle');\r\n jQuery(document).on('click', '.footer__content .dropdown-toggle', function () {\r\n jQuery(this).attr(\"aria-expanded\", \"true\");\r\n jQuery(this).toggleClass('show');\r\n jQuery(this).parents('.footer__content').toggleClass('show');\r\n jQuery(this).siblings('.dropdown-menu').slideToggle('show');\r\n });\r\n\r\n // Mobile: if submenu menu item is open and it is clicked --> close it\r\n jQuery(document).off('click', '.footer__content .show');\r\n jQuery(document).on('click', '.footer__content .show', function () {\r\n jQuery(this).attr(\"aria-expanded\", \"false\");\r\n jQuery(this).removeClass('show');\r\n jQuery(this).children('.dropdown-toggle').removeClass('show');\r\n jQuery(this).children('.dropdown-menu').removeClass('show');\r\n });\r\n } else {\r\n $dropdownToggle.attr(\"disabled\");\r\n\r\n // Mobile 2nd level dropdowns\r\n jQuery(document).off('click', '.footer__content .dropdown-toggle');\r\n\r\n // Mobile: if submenu menu item is open and it is clicked --> close it\r\n jQuery(document).off('click', '.footer__content .show');\r\n }\r\n\r\n if (this.matchMedia(\"(min-width: 768px)\").matches) {\r\n $dropdownToggle.attr(\"disabled\", \"disabled\");\r\n $dropdownToggle.attr(\"aria-level\", \"2\");\r\n $dropdownToggle.attr(\"role\", \"heading\");\r\n $dropdownToggle.removeAttr(\"aria-expanded\");\r\n $dropdownMenu.css(\"display\", \"\");\r\n\r\n if (jQuery('.footer__content').hasClass('.show')) {\r\n $dropdownToggle.removeClass('show');\r\n $dropdownMenu.removeClass('show');\r\n }\r\n }\r\n });\r\n\r\n}\r\n\r\nexport default footers;\r\n","import cssVars from \"css-vars-ponyfill\";\r\n\r\nexport function watermark(selector) {\r\n // Check if the provided selector has any matching elements\r\n if (jQuery(selector).length === 0) {\r\n return;\r\n }\r\n\r\n // Select all watermark images within the specified selector\r\n const watermarks = jQuery(`${selector} .watermark img`);\r\n\r\n // Function to set the appropriate watermark based on the viewport size\r\n function updateWatermark(item) {\r\n const watermarkmobile = item.getAttribute(\"data-watermarkmobile\");\r\n const watermarkdesktop = item.getAttribute(\"data-watermarkdesktop\");\r\n\r\n // Only proceed if the mobile watermark exists\r\n if (watermarkmobile) {\r\n // Determine the current viewport size\r\n const isMobile = window.matchMedia(\"(max-width: 991px)\").matches;\r\n\r\n // Set the watermark based on the viewport size\r\n if (isMobile && watermarkmobile) {\r\n item.setAttribute(\"src\", watermarkmobile);\r\n item.setAttribute(\"data-src\", watermarkmobile);\r\n } else if (watermarkdesktop) {\r\n item.setAttribute(\"src\", watermarkdesktop);\r\n item.setAttribute(\"data-src\", watermarkdesktop);\r\n }\r\n }\r\n }\r\n\r\n // Update watermarks on load and resize events\r\n jQuery(window).on(\"load resize\", function () {\r\n watermarks.each(function (i, item) {\r\n updateWatermark(item);\r\n });\r\n });\r\n\r\n // Initial call to set watermarks correctly on page load\r\n watermarks.each(function (i, item) {\r\n updateWatermark(item);\r\n });\r\n}\r\n\r\nexport default watermark;\r\n\r\n// export function footer__watermark() {\r\n\r\n// \tif (jQuery(\".footer\").length < 0) {\r\n// \t\treturn;\r\n// }\r\n\r\n// const watermark = jQuery(\".footer .watermark img\");\r\n\r\n// jQuery(watermark).each(function (i, item) {\r\n// var watermarkmobile = item.getAttribute(\"data-watermarkmobile\");\r\n// var watermarkdesktop = item.getAttribute(\"data-watermarkdesktop\");\r\n\r\n// // If has watermark mobile\r\n// if(item.hasAttribute(\"data-watermarkmobile\")) {\r\n// jQuery(window).on(\"load resize\", function () {\r\n\r\n// if ((typeof watermarkmobile !== 'undefined' && watermarkmobile !== false) && (typeof watermarkmobile !== 'undefined' && watermarkmobile !== false) || (typeof watermarkmobile !== 'undefined' && watermarkmobile !== false)) {\r\n// // Mobile (Tablet down)\r\n// if (window.matchMedia(\"(max-width: 991px)\").matches) {\r\n// function setMobileWatermark() {\r\n// item.setAttribute(\"data-src\", watermarkmobile);\r\n// item.setAttribute(\"src\", watermarkmobile);\r\n// }\r\n// setMobileWatermark();\r\n// }\r\n\r\n// // Desktop (Tablet up)\r\n// if (window.matchMedia(\"(min-width: 991px)\").matches) {\r\n// function setDesktopWatermark() {\r\n// item.setAttribute(\"data-src\", watermarkdesktop);\r\n// item.setAttribute(\"src\", watermarkdesktop);\r\n// }\r\n// setDesktopWatermark();\r\n// }\r\n// } else {\r\n// return;\r\n// }\r\n\r\n// });\r\n\r\n// } else {\r\n// return;\r\n// }\r\n\r\n// });\r\n\r\n// }\r\n\r\n// export default footer__watermark;\r\n","/*\r\n** Smooth scroll\r\n*/\r\n\r\nexport function smoothScroll() {\r\n\tjQuery(document).on(\"click\", \"a[href^='#']:not(a[href^='#!']):not(a[href^='#tab'])\", function (e) {\r\n e.preventDefault();\r\n\t\tvar position = jQuery(jQuery(this).attr(\"href\")).offset().top - 50;\r\n\t\tjQuery(\"body, html\").animate({\r\n scrollTop: position\r\n\t\t}, 800);\r\n window.location.hash = jQuery(this).attr(\"href\");\r\n // console.log(window.location)\r\n var id = jQuery(this).attr(\"href\");\r\n if (jQuery(id).hasClass(\"js-accordion-item\")) {\r\n jQuery(id).addClass('active')\r\n jQuery('.js-accordion-item.active').find('> .js-accordion-body').show();\r\n }\r\n\t});\r\n\r\n jQuery(window).on(\"load\", function () {\r\n var urlHash = window.location.hash.substr(1);\r\n if(/^[a-zA-Z0-9- ]*$/.test(urlHash) == true) {\r\n if (urlHash != \"\" && urlHash != undefined && jQuery('#' + urlHash).length > 0) {\r\n jQuery('html,body').animate({\r\n scrollTop: jQuery('#' + urlHash).offset().top - 50\r\n }, 700);\r\n }\r\n }\r\n });\r\n}\r\n\r\nexport default smoothScroll;\r\n","/*\r\n** Block media download elements\r\n** Optional data-attribute\r\n*/\r\n\r\nexport function blockMediaDownload() {\r\n\r\n if (jQuery('body[data-block-media-download]').length) {\r\n jQuery('img').each(function() {\r\n // Check if the image is NOT inside a div with the class 'image-gallery'\r\n if (!jQuery(this).closest('.image-gallery').length) {\r\n \r\n // Add the class to block media download\r\n jQuery(this).addClass(\"pointer-events-none\");\r\n }\r\n });\r\n } else {\r\n return;\r\n }\r\n\r\n}\r\n\r\nexport default blockMediaDownload;\r\n","/**\r\n * Subscription modal\r\n */\r\n\r\nexport function subscriptionModal() {\r\n\tif (jQuery(\"#subscribForm\").length == 0) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tjQuery('#subscribForm').validator();\r\n\r\n\t// - Prevent pop-up if form is invalid\r\n\tjQuery(\".btn__modal\").on(\"click\", function (e) {\r\n\t\te.preventDefault();\r\n\t\tjQuery('#subscriptionModal').modal(\"show\");\r\n\t});\r\n\r\n\tjQuery(document).on('input', '#signupEmail', function () {\r\n\t\tvar email = jQuery('#signupEmail').val();\r\n\t\tjQuery('.btn__submit').prop('disabled', true);\r\n\t\tif (isValidEmail(email)) {\r\n\t\t\t//enable the submit button\r\n\t\t\tjQuery('.btn__submit').prop('disabled', false);\r\n\t\t} else {\r\n\t\t\t//disable the submit button\r\n\t\t\tjQuery('.btn__submit').prop('disabled', true);\r\n\t\t}\r\n\t}),\r\n\t\t// - Change modal view when send btn is clicked\r\n\t\tjQuery(document).on(\"click\", \"#submitSubscription\", function (e) {\r\n\r\n\t\t\te.preventDefault()\r\n\t\t\tvar form = jQuery(\"#subscribForm\");\r\n\t\t\tvar topics = jQuery(\"#subscribForm\")[0].querySelectorAll('input[name=\"topic\"]:checked');\r\n\t\t\tvar areaKey = jQuery(\"#subscribForm\")[0].querySelector('input[name=\"area\"]:checked');\r\n\r\n\t\t\t//get the titles of the checked topics\r\n\t\t\tvar topicsTitles = topics != null ? Array.prototype.map.call(topics, function (checkbox) {\r\n\t\t\t\treturn checkbox.getAttribute(\"data-title\");\r\n\t\t\t}) : [];\r\n\t\t\t//get the titles of the checked areas\r\n\t\t\tvar areasTitles = areaKey != null ? areaKey.getAttribute(\"data-title\") : [];\r\n\r\n\t\t\tvar onestring = [];\r\n\t\t\tif (topicsTitles.length > 0) {\r\n\t\t\t\t//append the topics and areas to the same array\r\n\t\t\t\tonestring = topicsTitles.concat(areasTitles);\r\n\t\t\t} else if (areasTitles != null) {\r\n\t\t\t\t//add the area to the array\r\n\t\t\t\tonestring.push(areasTitles);\r\n\t\t\t}\r\n\r\n\t\t\tvar topicsKeys = topics != null ? Array.prototype.map.call(topics, function (checkbox) {\r\n\t\t\t\treturn checkbox.value;\r\n\t\t\t}) : [];\r\n\t\t\t$.ajax({\r\n\t\t\t\turl: \"/umbraco/api/Subscribe/SubscribeToPage\",\r\n\t\t\t\tcontentType: \"application/json\",\r\n\t\t\t\ttype: 'GET',\r\n\t\t\t\tdataType: 'json',\r\n\t\t\t\tdata: {\r\n\t\t\t\t\tareaKey: areaKey != null ? areaKey.value : \"\",\r\n\t\t\t\t\ttopicKeys: topicsKeys.join(\",\"),\r\n\t\t\t\t\tmemberPageId: form.data(\"memberpageid\"),\r\n\t\t\t\t\temail: jQuery(\"#signupEmail\").val(),\r\n\t\t\t\t\tlang: document.documentElement.getAttribute('lang')\r\n\r\n\t\t\t\t},\r\n\t\t\t\terror: function (data) { // eslint-disable-next-line no-console\r\n\t\t\t\t\tconsole.log(\"Error: \", data)\r\n\t\t\t\t\tshowMessage(false)\r\n\t\t\t\t},\r\n\t\t\t\tsuccess: function (data) {\r\n\t\t\t\t\tshowMessage(data, onestring)\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t\t);\r\n\r\n\t//TODO UMB9 Success with small s !!\r\n\tfunction showMessage(response, areas) { // - If success\r\n\t\tvar form = jQuery(\"#subscribForm\").parent().parent();\r\n\t\tif ((response.success && response.isNew) || (response.success && !response.isApproved)) {\r\n\r\n\t\t\tform.find(\".message-body__conformation\").find(\"#area-list-conformation\").html(areas.join(\", \"));\r\n\t\t\tform.find(\".message-body__error\").hide();\r\n\t\t\tform.find(\".message-body__isMember\").hide();\r\n\t\t\tform.find(\".message-body__conformation\").show();\r\n\t\t} else if (response.success && response.isApproved) {\r\n\r\n\t\t\tform.find(\".message-body__isMember\").find(\"#area-list-ismember\").html(areas.join(\", \"));\r\n\t\t\tform.find(\".message-body__error\").hide();\r\n\t\t\tform.find(\".message-body__conformation\").hide();\r\n\t\t\tform.find(\".message-body__isMember\").show();\r\n\t\t} else {\r\n\t\t\tform.find(\".message-body__isMember\").hide();\r\n\t\t\tform.find(\".message-body__conformation\").hide();\r\n\t\t\tform.find(\".message-body__error\").show();\r\n\t\t\t// - Run animate function\r\n\t\t}\r\n\t\tanimate();\r\n\t}\r\n\r\n\t// - Animate modal slide\r\n\tfunction animate() {\r\n\t\tjQuery('.modal-content').animate({\r\n\t\t\theight: jQuery('.modal-content').outerHeight()\r\n\t\t}, 600);\r\n\r\n\t\tjQuery('.message-body').removeClass(\"modal-body__hidden\");\r\n\r\n\t\tjQuery('.subscription-body').animate({\r\n\t\t\t\"margin-top\": \"-\" + jQuery('.subscription-body').outerHeight() + \"px\"\r\n\t\t}, 600, function () {\r\n\t\t\tjQuery('.subscription-body').addClass(\"modal-body__hidden\")\r\n\t\t});\r\n\t}\r\n\r\n\t// Close modal when close btns are clicked\r\n\tjQuery(\"button.close\").on(\"click\", function () {\r\n\t\tsetTimeout(function () {\r\n\t\t\tjQuery('.subscription-body').css(\"margin-top\", \"0px\");\r\n\t\t\tjQuery('.subscription-body').removeClass(\"modal-body__hidden\");\r\n\t\t\tjQuery('.message-body').addClass(\"modal-body__hidden\")\r\n\t\t}, 1000);\r\n\t});\r\n\r\n\t// Return to previous modal when error btn is clicked\r\n\tjQuery(\".message-body__error button\").on(\"click\", function () {\r\n\t\tjQuery('.modal-content').animate({\r\n\t\t\theight: jQuery('.modal-content').outerHeight()\r\n\t\t}, 600);\r\n\r\n\t\tjQuery('.subscription-body').removeClass(\"modal-body__hidden\");\r\n\r\n\t\tjQuery('.subscription-body').animate({\r\n\t\t\t\"margin-top\": \"0px\"\r\n\t\t}, 600, function () {\r\n\t\t\tjQuery('.message-body.error').addClass(\"modal-body__hidden\")\r\n\t\t});\r\n\t});\r\n\r\n\tjQuery(document).on('input', '#emailInput', function () {\r\n\r\n\t\tvalidateForm();\r\n\t})\r\n\tfunction validateForm() {\r\n\t\tvar email = jQuery('#emailInput').val();\r\n\t\tjQuery('.btn__submit').prop('disabled', true);\r\n\t\tif (isValidEmail(email) && jQuery('#consent').is(':checked')) {\r\n\t\t\t//enable the submit button\r\n\t\t\tjQuery('.btn__submit').prop('disabled', false);\r\n\t\t} else {\r\n\t\t\t//disable the submit button\r\n\t\t\tjQuery('.btn__submit').prop('disabled', true);\r\n\t\t\t//turn off hover effects\r\n\t\t}\r\n\t}\r\n\tfunction isValidEmail(email) {\r\n\t\tconst emailRegex = /^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}$/;\r\n\t\treturn emailRegex.test(email);\r\n\t}\r\n}\r\n\r\nexport default subscriptionModal;\r\n","/**\r\n * Pagination\r\n * https://codepen.io/robertcooper_rc/pen/XeabLa\r\n */\r\n\r\nexport function pagination() {\r\n\r\n window.onload = function(){\r\n var paginationPage = parseInt(jQuery('.pagination').attr('actpage'), 10);\r\n jQuery(document).on(\"click\",\".pagination__item button\",function() {\r\n var go = jQuery(this).attr('data-button');\r\n\r\n if (go === '+1') {\r\n paginationPage++;\r\n } else if (go === '-1') {\r\n paginationPage--;\r\n } else {\r\n paginationPage = parseInt(go, 10);\r\n }\r\n jQuery('.pagination').attr('actpage', paginationPage);\r\n jQuery('.arrow-next').attr(\"data-page\", paginationPage+1);\r\n jQuery('.arrow-prev').attr(\"data-page\", paginationPage-1);\r\n\r\n });\r\n };\r\n}\r\n\r\nexport default pagination;\r\n","export function articleAnchorMenu() {\r\n\r\n\t// If headlines have an .article-anchor, create anchor menu\r\n\tif (jQuery('.rich-text').length > 0) {\r\n\t\tvar links = jQuery('.rich-text a[id]');\r\n\r\n\t\tif(links.length > 0) {\r\n\t\t\taddSection(links);\r\n\t\t\tjQuery('.article-anchor-menu').show();\r\n\t\t} else {\r\n\t\t\tjQuery('.article-anchor-menu').remove();\r\n\t\t}\r\n\t} else {\r\n\t\tjQuery('.article-anchor-menu').remove();\r\n\t}\r\n\r\n\t// add id to link en headline\r\n\tfunction addSection(links) {\r\n\t\tlinks.each(function () {\r\n\t\t\tvar name = jQuery(this).parent().text();\r\n\t\t\tvar anchor = cleanText(jQuery(this).attr(\"id\").toLocaleLowerCase());\r\n\t\t\tjQuery(this).attr('id', anchor);\r\n\t\t\tjQuery(\".article-anchor-menu ol\").append(\"
element\r\n\t\t// const editorContainer = document.querySelector('#editor-container');\r\n\t\t// const chatPostContainer = document.querySelector('.chat__post__form--container')\r\n\r\n\t\t// // Add a focus event listener to the
element\r\n\t\t// editorContainer.addEventListener('focusin', function() {\r\n\t\t// \tchatPostContainer.classList.remove('collapsed')\r\n\t\t// \tsetTimeout(function(){\r\n\t\t// \t\tchatPostContainer.style.overflow = 'visible'\r\n\t\t// \t}, 200)\r\n\r\n\t\t// });\r\n\r\n\t\t// //add close functionality to button\r\n\t\t// const closeBtnEelement = document.querySelector('.chat__post__form--close-btn')\r\n\t\t// // console.log(closeBtnEelement)\r\n\t\t// if(closeBtnEelement != undefined) {\r\n\t\t// \tcloseBtnEelement.addEventListener('click', function(){\r\n\t\t// \t\tchatPostContainer.classList.add('collapsed')\r\n\t\t// \t\tchatPostContainer.style.overflow = 'hidden'\r\n\t\t// \t})\r\n\t\t// }\r\n\r\n\t\t// jQuery(document).ready(function () {\r\n\t\t// \tjQuery('button.chat-dropdown-toggle').on('click', function () {\r\n\t\t// \t\tjQuery(this).toggleClass('show');\r\n\t\t// \t\tjQuery(this).siblings(' .chat-dropdown-menu').toggleClass('show');\r\n\t\t// \t});\r\n\r\n\t\t// \t// Close filter selection on click outside toggle selection\r\n\t\t// \tjQuery(document).mouseup(function(e) {\r\n\t\t// \t\tvar container = jQuery(\".chat-dropdown\");\r\n\r\n\t\t// \t\t// if the target of the click isn't the container\r\n\t\t// \t\tif (!container.is(e.target) && container.has(e.target).length === 0) {\r\n\t\t// \t\t\tif(jQuery('.chat-dropdown .chat-dropdown-toggle').hasClass('show')) {\r\n\t\t// \t\t\t\tjQuery('.chat-dropdown .chat-dropdown-toggle').removeClass('show');\r\n\t\t// \t\t\t\tjQuery('.chat-dropdown .chat-dropdown-menu').removeClass('show');\r\n\t\t// \t\t\t\tjQuery('.chat-dropdown .chat-dropdown-toggle').attr(\"aria-expanded\", \"false\");\r\n\t\t// \t\t\t}\r\n\t\t// \t\t}\r\n\t\t// \t});\r\n\r\n\t\t// \t// Chat-wall measure height for 'max-height-container'\r\n\t\t// \tif (window.matchMedia('(min-width: 1200px)').matches) {\r\n\t\t// \t\tsetMaxHeightContainer();\r\n\t\t// \t}\r\n\r\n\t\t// \tfunction setMaxHeightContainer() {\r\n\t\t// \t\tif(maxHeightContainer.length > 0) {\r\n\t\t// \t\t\tjQuery(window).on( 'scroll', function(){\r\n\t\t// \t\t\t\tif (jQuery(window).scrollTop() < 800){\r\n\t\t// \t\t\t\t\tvar scrollTop = jQuery(window).scrollTop(),\r\n\t\t// \t\t\t\t\t\t\telementOffset = maxHeightContainer.offset().top,\r\n\t\t// \t\t\t\t\t\t\tdistance = (elementOffset - scrollTop);\r\n\r\n\t\t// \t\t\t\t\tmaxHeightContainer.css({\"maxHeight\": windowInnerHeight - distance - 30+\"px\"});\r\n\t\t// \t\t\t\t}\r\n\t\t// \t\t\t});\r\n\t\t// \t\t}\r\n\t\t// \t}\r\n\t\t// });\r\n\t}\r\n}\r\n\r\nexport default chat;\r\n","export default function onShowMoreCard() {\r\n\tconst cardComment = document.querySelectorAll('.js-card__comment');\r\n\r\n\tconst disableFocusable = (element) => {\r\n\t\telement.setAttribute('tabindex', '-1');\r\n\t};\r\n\r\n\tconst enableFocusable = (element) => {\r\n\t\telement.removeAttribute('tabindex');\r\n\t};\r\n\r\n\tconst handleFocusables = (focusables, content) => {\r\n\t\tlet isCollapsed = content.classList.contains('closed');\r\n\r\n\t\tfocusables.forEach((focusable) => {\r\n\t\t\tisCollapsed ? disableFocusable(focusable) : enableFocusable(focusable);\r\n\t\t});\r\n\t};\r\n\r\n\tcardComment.forEach((card) => {\r\n\t\tconst elementButton = card.querySelector('.btn-toggle');\r\n\t\tconst content = card.querySelector('.js-card__comment__content');\r\n\t\tconst focusables = Array.from(card.getElementsByTagName('a'));\r\n\r\n\t\thandleFocusables(focusables, content);\r\n\r\n\t\telementButton.addEventListener('click', () => {\r\n\t\t\thandleFocusables(focusables, content);\r\n\t\t});\r\n\r\n\t});\r\n}\r\n","// var moment = require('moment'); // require\r\nexport function kultunaut() {\r\n if (jQuery(\".kultur-detailedevents\").length > 0) {\r\n getdetailedevents();\r\n }\r\n\r\n if (jQuery(\".kultur-events\").length > 0) {\r\n getevents();\r\n }\r\n}\r\n\r\nfunction getevents() {\r\n var feedList = jQuery(\".kultur-events\");\r\n\r\n feedList.each(function (index) {\r\n var current = jQuery(this).data(\"eventlist\");\r\n var requestData = {\r\n \"feed\": jQuery(this).data(\"feed\"),\r\n \"amount\": jQuery(this).data(\"amount\")\r\n }\r\n\r\n $.get('/umbraco/surface/Kultunaut/GetEvents', requestData, function (data) {\r\n var newData = data.trim();\r\n jQuery(\".kultur-events[data-eventlist='\" + current + \"']\").prepend(newData).hide().fadeIn(600);\r\n\r\n }).fail(function () {\r\n console.log(\"Error in loaded comments\")\r\n });\r\n });\r\n}\r\n\r\nfunction getdetailedevents() {\r\n var feedList = jQuery(\".kultur-detailedevents\");\r\n feedList.each(function (index) {\r\n var current = jQuery(this).data(\"eventlist\");\r\n var requestData = {\r\n \"feed\": jQuery(this).data(\"feed\"),\r\n \"amount\": jQuery(this).data(\"amount\")\r\n }\r\n \r\n $.get('/umbraco/surface/Kultunaut/GetDetailedEvents', requestData, function (data) {\r\n var newData = data.trim();\r\n jQuery(\".kultur-detailedevents[data-eventlist='\" + current + \"']\").prepend(newData).hide().fadeIn(600);\r\n\r\n }).fail(function () {\r\n console.log(\"Error in loaded comments\")\r\n });\r\n });\r\n}\r\n\r\nexport default kultunaut;\r\n","export function kultunautMostPopular() {\r\n\tif (jQuery(\".kultur-popularevents\").length > 0) {\r\n\t\tgetPopularEvents();\r\n\t}\r\n}\r\n\r\nfunction getPopularEvents() {\r\n\tvar feedList = jQuery(\".kultur-popularevents\");\r\n\tfeedList.each(function (index) {\r\n\t\tvar current = jQuery(this).data(\"eventlist\");\r\n\t\tvar requestData = {\r\n\t\t\t\"feed\": jQuery(this).data(\"feed\"),\r\n\t\t}\r\n\t\t$.get('/umbraco/surface/Kultunaut/GetTopEvent', requestData, function (data) {\r\n\t\t\tvar newData = data.trim();\r\n\t\t\tjQuery(\".kultur-popularevents[data-eventlist='\" + current + \"']\").html(newData).hide().fadeIn(600);\r\n\t\t}).fail(function () {\r\n\t\t\tconsole.log(\"Error in loaded events\")\r\n\t\t});\r\n\t});\r\n\r\n}\r\n\r\n\r\nexport default kultunautMostPopular;\r\n","export function dropdownMdDown() {\r\n\r\n\tif (jQuery(\".dropdown--md-down\").length < 0) {\r\n\t\treturn;\r\n }\r\n\r\n jQuery(window).on(\"load resize\", function () {\r\n var $dropdownToggle = jQuery(\".dropdown--md-down .dropdown--md-down-toggle\");\r\n var $dropdownMenu = jQuery('.dropdown--md-down .dropdown--md-down-menu');\r\n\r\n // Tablet down\r\n if (this.matchMedia(\"(max-width: 991.98px)\").matches) {\r\n $dropdownToggle.removeAttr(\"disabled\");\r\n $dropdownToggle.attr(\"aria-expanded\", \"false\");\r\n\r\n // Tablet dropdowns - show\r\n jQuery(document).off('click', '.dropdown--md-down .dropdown--md-down-toggle');\r\n jQuery(document).on('click', '.dropdown--md-down .dropdown--md-down-toggle', function () {\r\n jQuery(this).attr(\"aria-expanded\", \"true\");\r\n jQuery(this).toggleClass('show');\r\n jQuery(this).parents('.dropdown--md-down').toggleClass('show');\r\n jQuery(this).siblings('.dropdown--md-down-menu').slideToggle('show');\r\n // jQuery('body').toggleClass('dropdown--md-down--open');\r\n });\r\n\r\n // Tablet dropdowns - close\r\n jQuery(document).off('click', '.dropdown--md-down .show');\r\n jQuery(document).on('click', '.dropdown--md-down .show', function () {\r\n jQuery(this).attr(\"aria-expanded\", \"false\");\r\n jQuery(this).removeClass('show');\r\n jQuery(this).children('.dropdown--md-down-toggle').removeClass('show');\r\n jQuery(this).children('.dropdown--md-down-menu').removeClass('show');\r\n // jQuery('body').removeClass('dropdown--md-down--open');\r\n });\r\n\r\n // Tablet down - disable dropdowns on click outside\r\n // document.addEventListener(\r\n // \"click\",\r\n // (event) => {\r\n // let target = event.target;\r\n // // diable button, ready to open input on click.\r\n // if (!target.closest(\".dropdown--md-down\")) {\r\n // $dropdownToggle.removeClass('show');\r\n // $dropdownMenu.removeClass('show');\r\n // $dropdownToggle.removeAttr(\"aria-expanded\");\r\n // $dropdownMenu.css(\"display\", \"\");\r\n // // jQuery('body').removeClass('dropdown--md-down--open');\r\n // }\r\n // },\r\n // false\r\n // );\r\n } else {\r\n $dropdownToggle.attr(\"disabled\");\r\n jQuery(document).off('click', '.dropdown--md-down .dropdown--md-down-toggle');\r\n jQuery(document).off('click', '.dropdown--md-down .show');\r\n }\r\n\r\n if (this.matchMedia(\"(min-width: 991.98px)\").matches) {\r\n // Tablet up - disable dropdowns\r\n $dropdownToggle.attr(\"disabled\", \"disabled\");\r\n $dropdownToggle.removeAttr(\"aria-expanded\");\r\n $dropdownMenu.css(\"display\", \"\");\r\n $dropdownToggle.removeClass('show');\r\n\r\n if (jQuery('.dropdown--md-down').hasClass('.show')) {\r\n $dropdownToggle.removeClass('show');\r\n $dropdownMenu.removeClass('show');\r\n // jQuery('body').removeClass('dropdown--md-down--open');\r\n }\r\n }\r\n });\r\n\r\n}\r\n\r\nexport default dropdownMdDown;\r\n","import checkHolidays from \"../../table-hours/checkHolidays\";\r\n\r\nexport function bannerHours(){\r\n var currentday = new Date();//\"2022-12-25 12:00:00\"\r\n if(document.querySelector('.banner__hours')){\r\n let dayCols = document.querySelectorAll('.js-banner__hours__days')\r\n const date = new Date(currentday);\r\n const dayNumber = date.getDay();\r\n const holidays = checkHolidays(date)\r\n\r\n //function that returns true or false to whether current day is within the custom closing period. Takes two dates as argument in format YYYY-MM-DD\r\n function checkCustomCloseDays(start, end){\r\n let startDay = new Date(`${start}T00:00:01`)\r\n let endDay = new Date(`${end}T23:59:59`)\r\n let today = new Date();\r\n let startTimestamp = startDay.getTime()\r\n let endTimestamp = endDay.getTime()\r\n let currentTimestamp = today.getTime()\r\n if (currentTimestamp >= startTimestamp && currentTimestamp <= endTimestamp){ return true\r\n } else { return false }\r\n }\r\n\r\n //function that sets the strings for custom closed days\r\n function customCloseDays(day, start, end, indicator){\r\n let months = [' jan.', ' feb.', ' mar.', ' apr.', ' maj', ' jun.', ' jul.', ' aug.', ' sep.', ' okt.', ' nov.', ' dec.'];\r\n let endDate = new Date(end);\r\n let startDate = new Date(start);\r\n let spans = day.children;\r\n\r\n let endDateFormatted = `${endDate.getDate()}. ${months[endDate.getMonth()]} ${endDate.getFullYear()}`\r\n let startDateFormatted = `${startDate.getDate()}. ${months[startDate.getMonth()]} ${startDate.getFullYear()}`\r\n\r\n spans[0].textContent = 'Lukket'\r\n spans[0].classList.add('closed');\r\n if(spans[1]){\r\n for(let i = 1; i < spans.length; i++){\r\n spans[i].classList.add('hidden')\r\n }\r\n }\r\n indicator.classList.add('hidden')\r\n day.parentElement.querySelector('.js-info-close-dates').classList.remove('hidden');\r\n //check if only closed on one day\r\n if(start == end || !end){\r\n let spans = day.parentElement.querySelector('.js-info-close-dates').children\r\n spans[1].classList.add('hidden')\r\n spans[2].classList.add('hidden')\r\n }\r\n day.parentElement.querySelector('.js-close-start').textContent = startDateFormatted\r\n day.parentElement.querySelector('.js-close-end').textContent = endDateFormatted\r\n }\r\n\r\n //function that returns next open day and time as a string. Returns false if next open day is a custom closed day\r\n function FindNextOpenDay(day, dayNumber, closedDay){\r\n let weekdays = ['Søndag','Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag']\r\n let nextOpenDay;\r\n let nextOpenDayNumber;\r\n let i = dayNumber;\r\n let tomorrowStatus;\r\n let counter = 0\r\n let nextOpenDayDate = false\r\n let today = new Date(currentday)\r\n\r\n //finds next open day\r\n i++\r\n if(i > 6){i = 0}\r\n //run loop while day is holiday or day contains 'closed' class (and counter is less than 7, to prevent infinite loop)\r\n while((checkHolidays(today).isHoliday || day.parentNode.querySelector(`.js-day-${i}`).getElementsByTagName('span')[0].classList.contains('closed')) && counter <= 7){\r\n today.setDate(today.getDate() + 1);\r\n i++;\r\n counter++;\r\n if(i > 6){\r\n i = 0\r\n }\r\n }\r\n\r\n //check if next open day is custom close day\r\n if(counter == 0){\r\n today.setDate(today.getDate() + 1);\r\n nextOpenDayDate = today.toISOString().substring(0, 10);\r\n } else {\r\n nextOpenDayDate = today.toISOString().substring(0, 10);\r\n }\r\n let isClosedDay = nextOpenDayDate == closedDay\r\n\r\n \r\n //construct strings with default next open day and time\r\n\r\n nextOpenDay = day.parentNode.querySelector(`.js-day-${i}`)\r\n nextOpenDayNumber = parseInt(nextOpenDay.classList[1].replace('js-day-', ''))\r\n\r\n //if no open times are set, return blank string (prevent infinite loop)\r\n if(counter > 6){ return ' '}\r\n\r\n //if next open day is a custom closed day\r\n if(isClosedDay){\r\n return false\r\n }\r\n\r\n //default, return next open day and time\r\n return `${weekdays[nextOpenDayNumber]} kl. ${nextOpenDay.getElementsByTagName('span')[0].textContent}`\r\n }\r\n \r\n dayCols.forEach((col) => {\r\n let days = col.querySelectorAll('.info-time');\r\n \r\n days.forEach(day => {\r\n if(day.classList.contains(`js-day-${dayNumber}`)){\r\n day.classList.remove('hidden')\r\n \r\n if(day.getElementsByTagName('span')[0].classList){\r\n \r\n let statusIndicatorText = day.parentElement.querySelector('.info-status')\r\n let statusIndicator = day.parentElement.querySelector('.info-status-indicator')\r\n \r\n let currentDayOpenTime = day.querySelector('.open') ? parseFloat(day.querySelector('.open').textContent.replace(\":\",\".\")) : false;\r\n let currentDayClosingTime = day.querySelector('.close') ? parseFloat(day.querySelector('.close').textContent.replace(\":\",\".\")) : false;\r\n let currentDayOpenTimeTwo = day.querySelector('.openTwo') ? parseFloat(day.querySelector('.openTwo').textContent.replace(\":\",\".\")) : false;\r\n let currentDayClosingTimeTwo = day.querySelector('.closeTwo') ? parseFloat(day.querySelector('.closeTwo').textContent.replace(\":\",\".\")) : false;\r\n let busyTimeStart = day.querySelector('.js-busy-start') ? parseFloat(day.querySelector('.js-busy-start').textContent.replace(\":\",\".\")) : false;\r\n let busyTimeEnd = day.querySelector('.js-busy-end') ? parseFloat(day.querySelector('.js-busy-end').textContent.replace(\":\",\".\")) : false;\r\n \r\n let closedDayStart = day.parentElement.querySelector('.js-close-start') ? day.parentElement.querySelector('.js-close-start').textContent.replace(\":\",\".\") : false\r\n let closedDayEnd = day.parentElement.querySelector('.js-close-end') ? day.parentElement.querySelector('.js-close-end').textContent.replace(\":\",\".\") : false\r\n \r\n let currentTime = parseFloat(`${date.getHours()}.${date.getMinutes()}`)\r\n\r\n //check if within custom close days\r\n if(closedDayStart && checkCustomCloseDays(closedDayStart, closedDayEnd)){\r\n customCloseDays(day, closedDayStart, closedDayEnd, statusIndicatorText)\r\n }\r\n \r\n //check if closed\r\n else if(day.getElementsByTagName('span')[0].classList.contains('closed')){\r\n var NextOpenDay = FindNextOpenDay(day, dayNumber, closedDayStart)\r\n statusIndicator.classList.add('hidden')\r\n if(!NextOpenDay){ customCloseDays(day, closedDayStart, closedDayEnd, statusIndicatorText) }\r\n else {\r\n statusIndicatorText.textContent = NextOpenDay;\r\n }\r\n if(NextOpenDay == \" \") {\r\n statusIndicatorText.classList.add('hidden')\r\n busyTimeEnd.classList.add('hidden')\r\n }\r\n } \r\n //check if holiday\r\n else if(holidays.isHoliday){\r\n let spans = day.children;\r\n spans[1].classList.add('closed');\r\n spans[1].textContent = 'Lukket pga. helligdag, åbner igen'\r\n \r\n if(spans[1]){\r\n spans[0].classList.add('hidden')\r\n spans[2].classList.add('hidden')\r\n }\r\n if(currentDayOpenTimeTwo){\r\n spans[3].classList.add('hidden')\r\n spans[4].classList.add('hidden')\r\n spans[5].classList.add('hidden')\r\n spans[6].classList.add('hidden')\r\n }\r\n\r\n statusIndicator.classList.add('hidden')\r\n if(FindNextOpenDay(day, dayNumber, closedDayStart)){\r\n statusIndicatorText.textContent = FindNextOpenDay(day, dayNumber, closedDayStart)\r\n } else { FindNextOpenDay(day, dayNumber, closedDayStart) } \r\n } \r\n \r\n //check if current time is within first opening hours\r\n else if(currentDayOpenTime && (currentTime > currentDayOpenTime && currentTime < currentDayClosingTime)){\r\n \r\n //check if within busy time\r\n if(busyTimeStart && (currentTime > busyTimeStart && currentTime < busyTimeEnd)){\r\n statusIndicator.classList.add('busy')\r\n statusIndicatorText.classList.add('busy')\r\n day.parentElement.querySelector('.info-status-text').textContent = 'Åbent,'\r\n day.parentElement.querySelector('.info-status-busy').textContent = ` men travlt indtil kl. ${busyTimeEnd}`\r\n } else {\r\n\r\n //if open, outside busy time\r\n if(busyTimeStart){\r\n day.parentElement.querySelector('.info-status-busy').classList.add('hidden')\r\n //day.parentElement.querySelector('.js-busy-end').classList.add('hidden')\r\n statusIndicator.classList.add('open')\r\n\r\n //if no busy time set\r\n } else {\r\n day.parentElement.querySelector('.info-status-busy').classList.add('hidden')\r\n }\r\n statusIndicator.classList.add('open')\r\n statusIndicatorText.classList.add('open')\r\n }\r\n } \r\n\r\n // check if current time is within second opening hours \r\n else if(currentDayOpenTimeTwo && (currentTime > currentDayOpenTimeTwo && currentTime < currentDayClosingTimeTwo)){\r\n //check if within busy time\r\n if(busyTimeStart && (currentTime > busyTimeStart && currentTime < busyTimeEnd)){\r\n statusIndicator.classList.add('busy')\r\n statusIndicatorText.classList.add('busy')\r\n day.parentElement.querySelector('.info-status-text').textContent = 'Åbent,'\r\n day.parentElement.querySelector('.info-status-busy').textContent = ` men travlt indtil kl. ${busyTimeEnd}`\r\n } else {\r\n\r\n //if open, outside busy time\r\n if(busyTimeStart){\r\n day.parentElement.querySelector('.info-status-busy').classList.add('hidden')\r\n //day.parentElement.querySelector('.js-busy-end').classList.add('hidden')\r\n statusIndicator.classList.add('open')\r\n\r\n //if no busy time set\r\n } else {\r\n day.parentElement.querySelector('.info-status-busy').classList.add('hidden')\r\n }\r\n statusIndicator.classList.add('open')\r\n statusIndicatorText.classList.add('open')\r\n }\r\n }\r\n \r\n //check if before opening hours (opens later today)\r\n else if (currentDayOpenTime && (currentTime < currentDayOpenTime)) {\r\n statusIndicator.classList.add('closed')\r\n day.parentElement.querySelector('.info-status-text').textContent = `Lukket `\r\n day.parentElement.querySelector('.info-status-busy').textContent = `| Åbner kl. ${day.querySelector('.open').textContent}`\r\n day.parentElement.querySelector('.info-status-text').classList.add('closed')\r\n day.parentElement.querySelector('.info-status-busy').classList.add('closed')\r\n //day.parentElement.querySelector('.js-busy-end').classList.add('hidden')\r\n }\r\n //check if before second opening hours (opens later today)\r\n else if (currentDayOpenTimeTwo && (currentTime < currentDayOpenTimeTwo)) {\r\n statusIndicator.classList.add('closed')\r\n day.parentElement.querySelector('.info-status-text').textContent = `Lukket `\r\n day.parentElement.querySelector('.info-status-busy').textContent = `| Åbner kl. ${day.querySelector('.openTwo').textContent}`\r\n day.parentElement.querySelector('.info-status-text').classList.add('closed')\r\n day.parentElement.querySelector('.info-status-busy').classList.add('closed')\r\n //day.parentElement.querySelector('.js-busy-end').classList.add('hidden')\r\n }\r\n // else, closed\r\n else {\r\n\r\n let spans = day.children;\r\n let nextOpenDay = FindNextOpenDay(day, dayNumber, closedDayStart)\r\n if(nextOpenDay){\r\n spans[1].classList.add('closed');\r\n spans[1].textContent = 'Lukket, åbner igen'\r\n statusIndicatorText.textContent = nextOpenDay;\r\n if(spans[1]){\r\n spans[0].classList.add('hidden')\r\n spans[2].classList.add('hidden')\r\n }\r\n if(currentDayOpenTimeTwo){\r\n spans[3].classList.add('hidden')\r\n spans[4].classList.add('hidden')\r\n spans[5].classList.add('hidden')\r\n spans[6].classList.add('hidden')\r\n }\r\n } else {\r\n customCloseDays(day, closedDayStart, closedDayEnd, statusIndicatorText)\r\n }\r\n\r\n }\r\n\r\n }\r\n }\r\n })\r\n\r\n })\r\n\r\n }\r\n}\r\n\r\nexport default bannerHours\r\n","function breadcrumb() {\r\n\r\n\tif (jQuery('.dynamic-service-menu').length === 0) {\r\n\t\treturn\r\n\t}\r\n\r\n\tconst breadcrumbContainer = jQuery('.breadcrumb-container');\r\n\tconst articleWrapper = jQuery('.article-wrapper');\r\n\tconst serviceMenuElement = '
';\r\n\tlet noArticleServiceMenu;\r\n\tlet noBreadcrumbServiceMenu;\r\n\tlet breadcrumbServiceMenu = jQuery(breadcrumbContainer).find('.service-menu')[0];\r\n\tlet articleServiceMenu = jQuery(articleWrapper).find('.service-menu')[0];\r\n\r\n\tconst initialBreadcrumbServiceMenuItems = jQuery(breadcrumbServiceMenu).find(\r\n\t\t'.service-menu__item'\r\n\t);\r\n\tconst initialArticleServiceMenuItems = jQuery(articleServiceMenu).find(\r\n\t\t'.service-menu__item'\r\n\t);\r\n\r\n\t// used to insert a DOM element in relation to another element\r\n\tconst insertElement = (position, relationalElement, element) => {\r\n\t\tswitch (position) {\r\n\t\t\tcase 'before':\r\n\t\t\t\tjQuery(element).insertBefore(jQuery(relationalElement));\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'after':\r\n\t\t\t\tjQuery(element).insertAfter(jQuery(relationalElement));\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'append':\r\n\t\t\t\tjQuery(relationalElement).append(element);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 'prepend':\r\n\t\t\t\tjQuery(relationalElement).prepend(element);\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t};\r\n\r\n\r\n\t// Creates a breadcrumb service menu if it does not exist\r\n\tconst createBreadcumbServiceMenu = () => {\r\n\t\tnoBreadcrumbServiceMenu =\r\n\t\t\tjQuery(breadcrumbContainer).find('.service-menu')[0] === undefined;\r\n\r\n\t\tif (noBreadcrumbServiceMenu) {\r\n\t\t\tinsertElement('append', '.breadcrumb-container', serviceMenuElement);\r\n\r\n\t\t\t// Change variable to newly added element\r\n\t\t\tbreadcrumbServiceMenu = jQuery(breadcrumbContainer).find('.service-menu')[0];\r\n\t\t}\r\n\t};\r\n\r\n\t// Creates an article service menu if it does not exist\r\n\tconst createArticleServiceMenu = () => {\r\n\t\tnoArticleServiceMenu =\r\n\t\t\tjQuery(articleWrapper).find('.service-menu')[0] === undefined;\r\n\r\n\t\tif (noArticleServiceMenu) {\r\n\t\t\tinsertElement('append', '.service-menu-container', serviceMenuElement);\r\n\r\n\t\t\t// Change variable to newly added element\r\n\t\t\tarticleServiceMenu = jQuery(articleWrapper).find('.service-menu')[0];\r\n\t\t}\r\n\t};\r\n\r\n\tconst moveBreadCrumb = () => {\r\n\t\t//if tablet or mobile\r\n\t\tif (window.matchMedia('(max-width: 767px)').matches) {\r\n\t\t\tcreateArticleServiceMenu();\r\n\r\n\t\t\t// Gets the new service menu items of the article\r\n\t\t\tconst currentArticleServiceMenuItem = jQuery(articleServiceMenu).find(\r\n\t\t\t\t'.service-menu__item'\r\n\t\t\t);\r\n\r\n\t\t\t// If the service menu items length is unchanged, add the initial\r\n\t\t\t// breadcrumb items and remove the empty list\r\n\t\t\tif (\r\n\t\t\t\tcurrentArticleServiceMenuItem.length ===\r\n\t\t\t\tinitialArticleServiceMenuItems.length\r\n\t\t\t) {\r\n\t\t\t\tjQuery(articleServiceMenu).append(jQuery(initialBreadcrumbServiceMenuItems));\r\n\t\t\t\tjQuery(breadcrumbServiceMenu).remove();\r\n\t\t\t}\r\n\t\t//if desktop\r\n\t\t} else {\r\n\t\t\tcreateBreadcumbServiceMenu();\r\n\r\n\t\t\t// Gets the new service menu items of the breadcrumb\r\n\t\t\tconst currentBreadcrumbServiceMenuItem = jQuery(breadcrumbServiceMenu).find(\r\n\t\t\t\t'.service-menu__item'\r\n\t\t\t);\r\n\r\n\t\t\t// If the service menu list is empty, add the initial breadcrumb items\r\n\t\t\t// and remove service menu list, if it was initial empty\r\n\t\t\tif (currentBreadcrumbServiceMenuItem.length === 0) {\r\n\t\t\t\t//remove breadcrumb if init breadcrumb length is 0\r\n\t\t\t\tif(jQuery(initialBreadcrumbServiceMenuItems.length === 0)){\r\n\t\t\t\t\tjQuery(breadcrumbServiceMenu).remove()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tjQuery(breadcrumbServiceMenu).append(jQuery(initialBreadcrumbServiceMenuItems));\r\n\t\t\t\t}\r\n\t\t\t\t//jQuery(breadcrumbServiceMenu).append(jQuery(initialBreadcrumbServiceMenuItems));\r\n\r\n\t\t\t\tif (initialArticleServiceMenuItems.length === 0) {\r\n\t\t\t\t\tjQuery(articleServiceMenu).remove();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\tmoveBreadCrumb();\r\n\r\n\tjQuery(window).resize(function () {\r\n\t\tmoveBreadCrumb();\r\n\t});\r\n}\r\n\r\nexport default breadcrumb;\r\n","export function unsaveButton(){\r\n if(document.querySelector(\".js-unsave-button\")){\r\n\r\n const unsaveButtonElements = document.querySelectorAll('.js-unsave-button');\r\n\r\n unsaveButtonElements.forEach(button => {\r\n button.addEventListener('click', () => {\r\n //remove page from local storage array\r\n let savedPages = JSON.parse(localStorage.getItem('savedPages'));\r\n let pageId = button.getAttribute('data-page-id');\r\n savedPages.splice(savedPages.indexOf(pageId), 1)\r\n localStorage.setItem('savedPages', JSON.stringify(savedPages))\r\n\r\n //remove card from page\r\n let card = button.closest('.card__list--title-link');\r\n card.parentNode.removeChild(card);\r\n })\r\n })\r\n }\r\n}\r\n\r\nexport default unsaveButton;\r\n","import checkHolidays from \"./checkHolidays\";\r\n\r\nexport function tableHours() {\r\n if(document.querySelector('.js-table-hours')){\r\n \r\n const tablesNodelist = document.querySelectorAll('.js-table-hours')\r\n\t\tconst date = new Date();\r\n\t\tconst dayNumber = date.getDay();\r\n let counter = 0;\r\n const holidays = checkHolidays(date)\r\n\r\n //function that returns true or false to whether current day is within the custom closing period. Takes two dates as argument in format YYYY-MM-DD\r\n function checkCustomCloseDays(start, end){\r\n let startDay = new Date(`${start}T00:00:01`)\r\n let endDay = new Date(`${end}T23:59:59`)\r\n let today = new Date();\r\n let startTimestamp = startDay.getTime()\r\n let endTimestamp = endDay.getTime()\r\n let currentTimestamp = today.getTime()\r\n if (currentTimestamp >= startTimestamp && currentTimestamp <= endTimestamp){ return true\r\n } else { return false }\r\n }\r\n\r\n //function that sets the strings for custom closed days\r\n function customCloseDays(day, start, end, indicator){\r\n let months = [' jan.', ' feb.', ' mar.', ' apr.', ' maj', ' jun.', ' jul.', ' aug.', ' sep.', ' okt.', ' nov.', ' dec.'];\r\n let endDate = new Date(end);\r\n let startDate = new Date(start);\r\n\r\n let endDateFormatted = `${endDate.getDate()}. ${months[endDate.getMonth()]} ${endDate.getFullYear()}`\r\n let startDateFormatted = `${startDate.getDate()}. ${months[startDate.getMonth()]} ${startDate.getFullYear()}`\r\n\r\n //hides normal status message and displays closed status message\r\n day.parentNode.querySelector('.status').classList.add('hidden')\r\n indicator.classList.remove('hidden')\r\n\r\n day.parentElement.querySelector('.js-close-start').textContent = startDateFormatted\r\n day.parentElement.querySelector('.js-close-end').textContent = endDateFormatted\r\n\r\n //check if only closed on one day\r\n if(start == end || !end){\r\n let spans = day.parentElement.querySelector('.js-info-close-dates').children\r\n spans[3].classList.add('hidden')\r\n spans[4].classList.add('hidden')\r\n day.parentElement.querySelector('.js-close-start').textContent = `den ${startDateFormatted}`\r\n }\r\n }\r\n\r\n //Find next open day function, returns a string with day and opening time\r\n function FindNextOpenDay(day, dayNumber, closedDay){\r\n\r\n let weekdays = ['mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag', 'søndag']\r\n let nextOpenDay;\r\n let nextOpenDayNumber;\r\n let i = dayNumber;\r\n let tomorrowStatus;\r\n let counter = 0;\r\n let nextOpenDayDate\r\n \r\n // get next open day\r\n const today = new Date()\r\n today.setDate(today.getDate() + 1)\r\n i++\r\n if(i > 6){i = 0}\r\n \r\n while((checkHolidays(today).isHoliday || day.parentNode.parentNode.querySelector(`.js-day-${i}`).parentNode.classList.contains('inactive')) && counter < 7){\r\n today.setDate(today.getDate() + 1);\r\n i++;\r\n counter++;\r\n if(i > 6){\r\n i = 0\r\n }\r\n } \r\n //check if next open day is custom close day\r\n nextOpenDayDate = today.toISOString().substring(0, 10);\r\n let isClosedDay = nextOpenDayDate == closedDay\r\n \r\n //if no holidays, find next open day\r\n/* else {\r\n do {\r\n i++;\r\n if(i >= 6){\r\n i = 1\r\n }\r\n counter++;\r\n tomorrowStatus = day.parentNode.parentNode.querySelector(`.js-day-${i}`).parentNode.classList\r\n }\r\n while(tomorrowStatus[0].includes('inactive') && counter < 7) \r\n } */\r\n \r\n nextOpenDay = day.parentNode.parentNode.querySelector(`.js-day-${i}`)\r\n nextOpenDayNumber = parseInt(nextOpenDay.classList[1].replace('js-day-', ''))\r\n if(nextOpenDayNumber == 0){ nextOpenDayNumber = 7 }\r\n if(counter > 6){ return ' ' }\r\n if(isClosedDay) { return false }\r\n return `Åbner ${weekdays[nextOpenDayNumber - 1]} kl. ${nextOpenDay.parentNode.querySelector('.open').textContent}`\r\n }\r\n\r\n // An array of each table with opening hours (corresponds to each week-overview/card)\r\n\r\n let tables = Array.prototype.slice.call(tablesNodelist,0)\r\n //loop over each table\r\n tables.forEach(table => {\r\n let tableDays = table.querySelectorAll('.day')\r\n //update table if there are holidays in the week (and day is not otherwise a closed day)\r\n if(holidays.holidaysInCurrentWeek.includes(true)){\r\n holidays.holidaysInCurrentWeek.forEach((item, index) => {\r\n if(item && tableDays[index].parentNode.classList.contains('active')){\r\n tableDays[index].parentElement.classList.add('inactive')\r\n tableDays[index].parentElement.classList.remove('active')\r\n tableDays[index].parentElement.querySelector('td').textContent = 'Helligdag'\r\n }\r\n })\r\n }\r\n \r\n //find which day is current day and set status message depending on time and parameters\r\n tableDays.forEach(day => {\r\n\r\n if(day.classList.contains(`js-day-${dayNumber}`) && table.parentNode.querySelector('.status')){\r\n //Time variables\r\n let currentDayOpenTime = day.parentNode.querySelector('.open') ? parseFloat(day.parentNode.querySelector('.open').textContent.replace(\":\", \".\")) : false;\r\n let currentDayClosingTime = day.parentNode.querySelector('.close') ? parseFloat(day.parentNode.querySelector('.close').textContent.replace(\":\", \".\")) : false;\r\n let currentDayOpenTimeTwo = day.parentNode.querySelector('.openTwo') ? parseFloat(day.parentNode.querySelector('.openTwo').textContent.replace(\":\", \".\")) : false;\r\n let currentDayClosingTimeTwo = day.parentNode.querySelector('.closeTwo') ? parseFloat(day.parentNode.querySelector('.closeTwo').textContent.replace(\":\", \".\")) : false;\r\n let busyTimeStart = day.parentNode.querySelector('.js-busy-start')? parseFloat(day.parentNode.querySelector('.js-busy-start').textContent.replace(\":\", \".\")) : false;\r\n let busyTimeEnd = day.parentNode.querySelector('.js-busy-end') ? parseFloat(day.parentNode.querySelector('.js-busy-end').textContent.replace(\":\", \".\")) : false;\r\n let currentTime = parseFloat(`${date.getHours()}.${date.getMinutes()}`)\r\n\r\n //Element variables\r\n let statusIndicatorElement = table.parentNode.querySelector('.status-indicator')\r\n let statusTextElement = table.parentNode.querySelector('.status-text')\r\n let statusClosedElement = table.parentNode.querySelector('.status-indicator-closed')\r\n let statusOpenElement = table.parentNode.querySelector('.status-indicator-open')\r\n //let busyTimeEndElement = table.parentNode.querySelector('.js-busy-end')\r\n\r\n //Custom closed day variables\r\n let closedDayIndicator = table.parentElement.querySelector('.js-info-close-dates') ? table.parentElement.querySelector('.js-info-close-dates') : false;\r\n let closedDayStart = table.parentElement.querySelector('.js-close-start') ? table.parentElement.querySelector('.js-close-start').textContent : false\r\n let closedDayEnd = table.parentElement.querySelector('.js-close-end') ? table.parentElement.querySelector('.js-close-end').textContent : false\r\n\r\n //Formatted start date\r\n let months = [' jan.', ' feb.', ' mar.', ' apr.', ' maj', ' jun.', ' jul.', ' aug.', ' sep.', ' okt.', ' nov.', ' dec.'];\r\n let startDate = new Date(closedDayStart);\r\n let startDateFormatted = `den ${startDate.getDate()}. ${months[startDate.getMonth()]} ${startDate.getFullYear()}`\r\n\r\n //check if custom closed day\r\n if(closedDayStart && checkCustomCloseDays(closedDayStart, closedDayEnd)){\r\n customCloseDays(table, closedDayStart, closedDayEnd, closedDayIndicator)\r\n }\r\n\r\n //check if closed today\r\n else if(day.parentNode.classList[0].includes('inactive')){\r\n\r\n if(FindNextOpenDay(day, dayNumber, closedDayStart)){\r\n statusTextElement.textContent = FindNextOpenDay(day, dayNumber, closedDayStart)\r\n statusTextElement.classList.remove('hidden')\r\n } else {\r\n statusTextElement.textContent = startDateFormatted\r\n }\r\n statusIndicatorElement.classList.add('closed-fill')\r\n statusOpenElement.classList.add('hidden')\r\n if(FindNextOpenDay(day, dayNumber, closedDayStart) == \" \"){\r\n statusTextElement.classList.add('hidden')\r\n }\r\n } \r\n\r\n //check if holiday\r\n else if(holidays.isHoliday){\r\n statusIndicatorElement.classList.add('closed-fill')\r\n if(FindNextOpenDay(day, dayNumber, closedDayStart)){\r\n statusTextElement.textContent= `Helligdag. Åbner ${FindNextOpenDay(day, dayNumber, closedDayStart)}`\r\n statusTextElement.classList.remove('hidden')\r\n statusOpenElement.classList.add('hidden')\r\n } else {\r\n statusTextElement.textContent= startDateFormatted\r\n }\r\n } \r\n\r\n //check if open (current time is within opening hours)\r\n else if(currentDayOpenTime && (currentTime >= currentDayOpenTime && currentTime < currentDayClosingTime)){\r\n \r\n //check if within busy time\r\n if(busyTimeStart && (currentTime >= busyTimeStart && currentTime < busyTimeEnd)){\r\n statusIndicatorElement.classList.add('busy-fill')\r\n statusClosedElement.classList.add('hidden')\r\n statusOpenElement.classList.add('busy')\r\n statusOpenElement.classList.remove('opened')\r\n statusTextElement.textContent = `Travlt indtil kl. ${busyTimeEnd}`\r\n } else {\r\n //if open and outside busy time\r\n statusIndicatorElement.classList.add('open-fill')\r\n statusClosedElement.classList.add('hidden')\r\n statusTextElement.textContent = `Lukker kl. ${day.parentNode.querySelector('.close').textContent}`\r\n }\r\n } \r\n\r\n //check if open in second open period (current time is within second opening hours)\r\n else if(currentDayOpenTimeTwo && (currentTime >= currentDayOpenTimeTwo && currentTime < currentDayClosingTimeTwo)){\r\n //check if within busy time\r\n if(busyTimeStart && (currentTime >= busyTimeStart && currentTime < busyTimeEnd)){\r\n statusIndicatorElement.classList.add('busy-fill')\r\n statusClosedElement.classList.add('hidden')\r\n statusOpenElement.classList.add('busy')\r\n statusOpenElement.classList.remove('opened')\r\n statusTextElement.textContent = `Travlt indtil kl. ${busyTimeEnd}`\r\n } else {\r\n //if open and outside busy time\r\n statusIndicatorElement.classList.add('open-fill')\r\n statusClosedElement.classList.add('hidden')\r\n statusTextElement.textContent = `Lukker kl. ${day.parentNode.querySelector('.closeTwo').textContent}`\r\n }\r\n } \r\n\r\n\r\n //check if before opening hours (opens later today)\r\n else if (currentDayOpenTime && (currentTime < currentDayOpenTime)) {\r\n statusIndicatorElement.classList.add('closed-fill')\r\n statusOpenElement.classList.add('hidden')\r\n statusTextElement.textContent = `Åbner kl. ${day.parentNode.querySelector('.open').textContent}`\r\n }\r\n //check if between opening hours (opens again later today)\r\n else if (currentDayOpenTimeTwo && (currentTime < currentDayOpenTimeTwo)) {\r\n statusIndicatorElement.classList.add('closed-fill')\r\n statusOpenElement.classList.add('hidden')\r\n statusTextElement.textContent = `Åbner kl. ${day.parentNode.querySelector('.openTwo').textContent}`\r\n }\r\n //else, closed\r\n else {\r\n statusIndicatorElement.classList.add('closed-fill')\r\n if(FindNextOpenDay(day, dayNumber, closedDayStart)){\r\n statusTextElement.textContent = `${FindNextOpenDay(day, dayNumber, closedDayStart)}`\r\n } else {\r\n statusTextElement.textContent = startDateFormatted\r\n }\r\n statusOpenElement.classList.add('hidden')\r\n }\r\n }\r\n })\r\n })\r\n }\r\n}\r\n\r\nexport default tableHours;","import { debounce } from 'lodash-es';\r\n\r\nexport function tabpanelReworked() {\r\n const ACTIVE_CLASS = \"active\";\r\n const IS_OPEN_CLASS = \"is-open\"; // New class for the container\r\n const TAB_PANEL_SELECTOR = \".tab-panel--container\";\r\n const TAB_CONTROL_SELECTOR = \".tab-control\";\r\n const DESKTOP_PANEL_SELECTOR = \".tab-panel--desktop\";\r\n const MOBILE_PANEL_SELECTOR = \".tab-panel--mobile\";\r\n\r\n if (!document.querySelector(TAB_PANEL_SELECTOR)) return;\r\n\r\n // Helper: Get Active Tab from URL\r\n function getActiveTabFromUrl(id) {\r\n const url = new URL(window.location.href);\r\n const fragment = url.hash.slice(1).split(\"?\")[0]; // Extract fragment before '?'\r\n const queryParams = new URLSearchParams(url.search);\r\n\r\n if (fragment === id) {\r\n const activeTab = queryParams.get(\"activeTab\");\r\n return activeTab !== null ? parseInt(activeTab, 10) : null;\r\n }\r\n return null;\r\n }\r\n\r\n // Helper: Set Active State for Tabs\r\n function setActiveTab(tabPanel, index, isDesktop, allowToggle = true) {\r\n const controls = tabPanel.querySelectorAll(TAB_CONTROL_SELECTOR);\r\n const desktopPanels = tabPanel.querySelectorAll(DESKTOP_PANEL_SELECTOR);\r\n const mobilePanels = tabPanel.querySelectorAll(MOBILE_PANEL_SELECTOR);\r\n\r\n const isAlreadyActive = controls[index]?.classList.contains(ACTIVE_CLASS);\r\n\r\n // Allow toggling if the tab is already active\r\n if (allowToggle && isAlreadyActive) {\r\n controls[index].classList.remove(ACTIVE_CLASS);\r\n controls[index].setAttribute(\"aria-expanded\", \"false\");\r\n if (isDesktop) {\r\n desktopPanels[index]?.classList.remove(ACTIVE_CLASS);\r\n } else {\r\n mobilePanels[index]?.classList.remove(ACTIVE_CLASS);\r\n }\r\n\r\n // Check if no tabs are active and remove the `is-open` class from the container\r\n // const hasActiveTabs = Array.from(controls).some((control) => control.classList.contains(ACTIVE_CLASS));\r\n // tabPanel.classList.toggle(IS_OPEN_CLASS, hasActiveTabs);\r\n\r\n return;\r\n }\r\n\r\n // Loop through all tabs to apply the active class\r\n controls.forEach((control, idx) => {\r\n const isActive = idx === index && (!allowToggle || !isAlreadyActive);\r\n control.classList.toggle(ACTIVE_CLASS, isActive);\r\n control.setAttribute(\"aria-expanded\", isActive ? \"true\" : \"false\");\r\n });\r\n\r\n // Update the panels based on whether it's desktop or mobile\r\n if (isDesktop) {\r\n desktopPanels.forEach((panel, idx) => panel.classList.toggle(ACTIVE_CLASS, idx === index && (!allowToggle || !isAlreadyActive)));\r\n } else {\r\n mobilePanels.forEach((panel, idx) => panel.classList.toggle(ACTIVE_CLASS, idx === index && (!allowToggle || !isAlreadyActive)));\r\n }\r\n\r\n // Check if at least one tab is active and add/remove the `is-open` class\r\n // const hasActiveTabs = Array.from(controls).some((control) => control.classList.contains(ACTIVE_CLASS));\r\n // tabPanel.classList.toggle(IS_OPEN_CLASS, hasActiveTabs);\r\n }\r\n\r\n // Initialize Tabs\r\n document.querySelectorAll(TAB_PANEL_SELECTOR).forEach((tabPanel) => {\r\n const id = tabPanel.id;\r\n const activeTabFromUrl = getActiveTabFromUrl(id); // Get activeTab from URL\r\n const controls = Array.from(tabPanel.querySelectorAll(TAB_CONTROL_SELECTOR));\r\n const isDesktop = window.innerWidth >= 992;\r\n\r\n let initialActiveTab = null;\r\n\r\n // If there's an activeTab in the URL, use that as the initial active tab\r\n if (activeTabFromUrl !== null && activeTabFromUrl < controls.length) {\r\n initialActiveTab = activeTabFromUrl;\r\n } else {\r\n // If no activeTab in the URL, check for the active class in the HTML\r\n const htmlActiveIndex = controls.findIndex((tab) => tab.classList.contains(ACTIVE_CLASS));\r\n\r\n // If the active class is found in the HTML, use that index\r\n if (htmlActiveIndex !== -1) {\r\n initialActiveTab = htmlActiveIndex;\r\n }\r\n }\r\n\r\n // If there's no activeTab defined in the URL or HTML, don't set any tab as active.\r\n if (initialActiveTab !== null) {\r\n setActiveTab(tabPanel, initialActiveTab, isDesktop, false);\r\n }\r\n\r\n // Add event listeners for tab changes\r\n controls.forEach((tab, index) => {\r\n tab.addEventListener(\"click\", () => {\r\n const isDesktop = window.innerWidth >= 992;\r\n setActiveTab(tabPanel, index, isDesktop);\r\n\r\n if (id) {\r\n // Update the URL to reflect the active tab if a tab is active\r\n const url = new URL(window.location.href);\r\n const isTabActive = controls[index].classList.contains(ACTIVE_CLASS);\r\n\r\n if (isTabActive) {\r\n url.hash = `${id}`; // Add the hash fragment to the URL\r\n url.searchParams.set(\"idTab\", `${id}`); // Update the activeTab query parameter\r\n url.searchParams.set(\"activeTab\", index); // Update the activeTab query parameter\r\n } else {\r\n url.hash = \"\"; // Clear the hash fragment\r\n url.searchParams.delete(\"idTab\"); // Update the activeTab query parameter\r\n url.searchParams.delete(\"activeTab\"); // Remove the activeTab query parameter\r\n }\r\n\r\n window.history.replaceState(null, \"\", url.toString()); // Replace history without reload\r\n }\r\n });\r\n });\r\n });\r\n\r\n // Handle Resize Events\r\n let windowSize = window.innerWidth;\r\n window.addEventListener(\r\n \"resize\",\r\n debounce(() => {\r\n const isDesktop = window.innerWidth >= 992;\r\n if ((isDesktop && windowSize < 992) || (!isDesktop && windowSize >= 992)) {\r\n document.querySelectorAll(TAB_PANEL_SELECTOR).forEach((tabPanel) => {\r\n const activeIndex = Array.from(\r\n tabPanel.querySelectorAll(TAB_CONTROL_SELECTOR)\r\n ).findIndex((tab) => tab.classList.contains(ACTIVE_CLASS));\r\n setActiveTab(tabPanel, activeIndex >= 0 ? activeIndex : null, isDesktop, false);\r\n });\r\n windowSize = window.innerWidth;\r\n }\r\n }, 200)\r\n );\r\n}\r\n\r\nexport default tabpanelReworked;\r\n","// Grayscale Script\r\n\r\nexport function greyScaleInit() {\r\n\tconst grayscaleBtnElements = document.querySelectorAll(\".jsGrayscaleToggle\");\r\n\tif (grayscaleBtnElements.length === 0) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tconst grayscaleClass = \"grayscale\";\r\n\tconst grayscaleOnClass = \"grayscale--on\";\r\n\tconst grayscaleFilterClass = \"js-grayscale--filter\";\r\n\tconst grayscaleStorageKey = \"colorThemeGrayscale\"; // Unique storage key for grayscale\r\n\r\n\tconst getSelectedGrayscaleTheme = () =>\r\n\t\tlocalStorage.getItem(grayscaleStorageKey);\r\n\r\n\tconst setGrayscaleTheme = (theme) =>\r\n\t\tlocalStorage.setItem(grayscaleStorageKey, theme);\r\n\r\n\t// Target specific elements for the JS functionality\r\n\tconst targetElements = [document.querySelector('header'), document.querySelector('main'), document.querySelector('footer')];\r\n\r\n\tconst updateGrayscaleState = (isGrayscaleActive) => {\r\n\t\t// Apply or remove the filter class from header, main, and footer\r\n\t\ttargetElements.forEach(element => {\r\n\t\t\tif (element) {\r\n\t\t\t\tif (isGrayscaleActive) {\r\n\t\t\t\t\telement.classList.add(grayscaleFilterClass);\r\n\t\t\t\t} else {\r\n\t\t\t\t\telement.classList.remove(grayscaleFilterClass);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// Update all buttons to reflect the current state\r\n\t\tgrayscaleBtnElements.forEach((item) => {\r\n\t\t\tif (isGrayscaleActive) {\r\n\t\t\t\titem.classList.add(grayscaleOnClass);\r\n\t\t\t\titem.classList.add(\"active\");\r\n\t\t\t} else {\r\n\t\t\t\titem.classList.remove(grayscaleOnClass);\r\n\t\t\t\titem.classList.remove(\"active\");\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t// Update the theme in local storage\r\n\t\tsetGrayscaleTheme(isGrayscaleActive ? grayscaleClass : \"regular\");\r\n\t};\r\n\r\n\tconst grayscaleInitState = () => {\r\n\t\tconst isGrayscaleActive = getSelectedGrayscaleTheme() === grayscaleClass;\r\n\t\tdocument.body.classList.toggle(grayscaleOnClass, isGrayscaleActive);\r\n\t\tupdateGrayscaleState(isGrayscaleActive);\r\n\t};\r\n\r\n\tgrayscaleInitState();\r\n\r\n\t// Ensure only one event listener is added per button\r\n\tconst handleClick = (event) => {\r\n\t\t// console.log('Button clicked:', event.currentTarget);\r\n\t\t// Determine if grayscale is currently active\r\n\t\tconst isGrayscaleActive = !document.body.classList.contains(grayscaleOnClass);\r\n\r\n\t\t// Toggle the grayscale state\r\n\t\tdocument.body.classList.toggle(grayscaleOnClass, isGrayscaleActive);\r\n\t\tupdateGrayscaleState(isGrayscaleActive);\r\n\t};\r\n\r\n\t// Remove any existing event listeners to prevent duplication\r\n\tgrayscaleBtnElements.forEach((button) => {\r\n\t\tbutton.removeEventListener(\"click\", handleClick); // Ensure previous listeners are removed\r\n\t\tbutton.addEventListener(\"click\", handleClick);\r\n\t});\r\n}\r\n\r\nexport default greyScaleInit;","export function darkmodeScale() {\r\n\t\t// Constants\r\n\t\tconst themeSelectors = document.querySelectorAll(\".jsDarkmodeToggle\");\r\n\t\tif (themeSelectors.length == 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tconst storageKey = \"colorThemeDarkMode\";\r\n\t\tconst lightThemeClass = \"light-theme\";\r\n\t\tconst darkThemeClass = \"dark-theme\";\r\n\t\tconst isDarkSystemTheme =\r\n\t\t\twindow.matchMedia &&\r\n\t\t\twindow.matchMedia(\"(prefers-color-scheme: dark)\").matches;\r\n\r\n\t\tconst navbrandImg = jQuery(\r\n\t\t\t\".header__megamenu-extended .navbar__megamenu-extended .navbar__megamenu__header .navbar-brand img\",\r\n\t\t);\r\n\t\tconst footerbrandImg = jQuery(\"footer .logo img\");\r\n\t\tconst footerSubbrandImg = jQuery(\"footer .logo img[data-defaultSubLogo]\");\r\n\t\tconst favicon = jQuery(\"link[rel='icon']\");\r\n\t\t// Get the theme preference (dark-theme, light-theme, or null)\r\n\t\tconst getSelectedTheme = () => localStorage.getItem(storageKey);\r\n\r\n\t\t// Set theme helper\r\n\t\tconst setSelectedTheme = (theme) => localStorage.setItem(storageKey, theme);\r\n\r\n\t\t// Functions to add/remove dark/light theme classes\r\n\t\tconst applyDarkModeClasses = () => {\r\n\t\t\tdocument.documentElement.classList.add(darkThemeClass);\r\n\t\t\tdocument.documentElement.classList.remove(lightThemeClass);\r\n\t\t\tsetDarkmodeLogo();\r\n\t\t};\r\n\r\n\t\tconst applyLightModeClasses = () => {\r\n\t\t\tdocument.documentElement.classList.add(lightThemeClass);\r\n\t\t\tdocument.documentElement.classList.remove(darkThemeClass);\r\n\t\t\tsetDefaultLogo();\r\n\t\t};\r\n\r\n\t\t// Handle theme toggle\r\n\t\tconst handleThemeToggle = () => {\r\n\t\t\tconst isDarkModeActive = document.documentElement.classList.toggle(darkThemeClass);\r\n\r\n\t\t\tif (isDarkModeActive) {\r\n\t\t\t\tapplyDarkModeClasses();\r\n\t\t\t\tsetSelectedTheme(darkThemeClass);\r\n\t\t\t} else {\r\n\t\t\t\tapplyLightModeClasses();\r\n\t\t\t\tsetSelectedTheme(lightThemeClass);\r\n\t\t\t}\r\n\r\n\t\t\tthemeSelectors.forEach((item) =>\r\n\t\t\t\titem.classList.toggle(\"active\", isDarkModeActive),\r\n\t\t\t);\r\n\t\t};\r\n\r\n\t\t// Initialize the theme on mount\r\n\t\tconst initializeTheme = () => {\r\n\t\t\tconst selectedTheme = getSelectedTheme();\r\n\t\t\tif (selectedTheme === darkThemeClass) {\r\n\t\t\t\tapplyDarkModeClasses();\r\n\t\t\t\tthemeSelectors.forEach((item) => item.classList.add(\"active\"));\r\n\t\t\t} else {\r\n\t\t\t\tapplyLightModeClasses();\r\n\t\t\t}\r\n\r\n\t\t\t// Set favicon based on system dark mode preference\r\n\t\t\tsetFaviconBasedOnSystemTheme();\r\n\t\t};\r\n\r\n\t\t// Set logos and favicon for dark mode\r\n\t\tfunction setDarkmodeLogo() {\r\n\t\t\tconst darkmodeNavLogo = navbrandImg.attr(\"data-darkmodeLogo\");\r\n\t\t\tnavbrandImg.attr(\"src\", darkmodeNavLogo);\r\n\r\n\t\t\tconst darkmodeFooterLogo = footerbrandImg.attr(\"data-darkmodeLogo\");\r\n\t\t\tfooterbrandImg.attr(\"src\", darkmodeFooterLogo);\r\n\r\n\t\t\tconst darkmodeSubFooterLogo = footerSubbrandImg.attr(\r\n\t\t\t\t\"data-darkmodeSubLogo\",\r\n\t\t\t);\r\n\t\t\tfooterSubbrandImg.attr(\"src\", darkmodeSubFooterLogo);\r\n\t\t}\r\n\r\n\t\t// Set logos and favicon for light mode (default)\r\n\t\tfunction setDefaultLogo() {\r\n\t\t\tconst defaultNavLogo = navbrandImg.attr(\"data-defaultLogo\");\r\n\t\t\tnavbrandImg.attr(\"src\", defaultNavLogo);\r\n\r\n\t\t\tconst defaultFooterLogo = footerbrandImg.attr(\"data-defaultLogo\");\r\n\t\t\tfooterbrandImg.attr(\"src\", defaultFooterLogo);\r\n\r\n\t\t\tconst subFooterLogo = footerSubbrandImg.attr(\"data-defaultSubLogo\");\r\n\t\t\tfooterSubbrandImg.attr(\"src\", subFooterLogo);\r\n\t\t}\r\n\r\n\t\t// Set favicon based on system theme preference\r\n\t\tfunction setFaviconBasedOnSystemTheme() {\r\n\t\t\tif (isDarkSystemTheme) {\r\n\t\t\t\tconst darkmodeFavicon = favicon.attr(\"data-darkmode\");\r\n\t\t\t\tfavicon.attr(\"href\", darkmodeFavicon);\r\n\t\t\t} else {\r\n\t\t\t\tconst defaultFavicon = favicon.attr(\"data-default\");\r\n\t\t\t\tfavicon.attr(\"href\", defaultFavicon);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Event listener setup\r\n\t\tthemeSelectors.forEach((button) => {\r\n\t\t\tbutton.addEventListener(\"click\", handleThemeToggle);\r\n\t\t});\r\n\r\n\t\tinitializeTheme();\r\n\t// Initialize on page load\r\n}\r\n\r\nexport default darkmodeScale;\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 524;","__webpack_require__.b = document.baseURI || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkcabanaboiler\"] = self[\"webpackChunkcabanaboiler\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [121], function() { return __webpack_require__(8424); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","RegExp","escape","s","replace","$","jQuery","csv","defaults","separator","delimiter","headers","hooks","castToScalar","value","state","isNaN","test","parseFloat","integer","parseInt","parsers","parse","options","rowNum","colNum","data","entry","exit","endOfEntry","start","undefined","onParseEntry","push","hookVal","end","endOfValue","onParseValue","hook","escSeparator","escDelimiter","match","matchSrc","source","m0","Error","length","splitLines","entries","endOfLine","prevChar","substr","parseEntry","helpers","collectPropertyNames","objects","o","propName","props","hasOwnProperty","indexOf","toArray","callback","console","error","config","toArrays","onPreParse","onPostParse","toObjects","lines","transform","headerOptions","headerLine","i","len","object","j","call","fromArrays","arrays","output","line","lineValues","strValue","toString","escMatcher","search","join","fromObjects","sortOrder","manualOrder","origObjects","sort","propsManual","concat","p","csvEntry2Array","csv2Array","csv2Dictionary","module","exports","this","suggestionsElements","document","querySelectorAll","htmlElement","querySelector","addSuggestionsMarkup","inputElement","markup","formElement","closest","existingSuggestions","remove","insertAdjacentHTML","forEach","button","addEventListener","event","preventDefault","log","innerText","dataset","query","removeSuggestions","closestForm","submit","highlightItem","items","index","item","idx","classList","add","scrollIntoView","block","suggestionsElement","inputValue","pageId","getAttribute","useraffle","lang","fetch","method","then","response","json","Array","isArray","suggestionsMarkup","suggestions","searchTermRegex","suggestion","highlightedSuggestion","catch","topQuestionElement","topQuestionsMarkup","topQuestions","title","questions","text","generateTopquestionsMarkup","setTimeout","suggestionsContainer","currentIndex","from","findIndex","contains","key","removeTabIndexFromHiddenTables","each","find","removeAttr","lang_da_mod","table","id","attr","searchfield","hasClass","all","lenghMenu","pagination","sLengthMenu","searchPlaceholder","sSearch","oPaginate","sNext","sPrevious","sPaginationType","DataTable","ordering","retrieve","Boolean","info","searching","responsive","details","type","columnDefs","className","orderable","targets","css","prop","parent","addTable","window","on","wrap","fixedColumns","scrollCollapse","initComplete","tableId","headTable","bodyTable","addTableScrollable","warn","_typeof","Symbol","iterator","constructor","prototype","_defineProperty","e","r","t","toPrimitive","TypeError","String","_toPrimitive","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","background","colorRgb","colorValuesArr","colorObject","hexToRgb","hex","m","g","b","result","exec","textColorBlackRgb","textColorWhiteRgb","bgc","slice","split","luminance","a","map","v","Math","pow","luminanceBgc","luminanceTextWhite","luminanceTextBlack","_sections$","headerImageHeight","main","sectionsHTMLcollection","sections","navbarBackground","body","bodyBackgroundColor","headerImage","headerBackgroundColor","navbar","headerIsFixed","getElementsByClassName","isTransparentHeader","backgroundColorProperty","noBackgroundColor","getElementStyle","element","styleProperty","getComputedStyle","getPropertyValue","setDocumentColor","target","color","root","style","setProperty","setTextColorWhite","getElementById","display","setTextColorBlack","documentElement","openBurgerButton","closeBurgerButton","sidemenu","toggle","getElementsByTagName","navbarListItems","firstSection","backgroundColor","ratioCheckerPrefersWhite","hero","heroBgColor","elementToUse","some","startsWith","hasBannerAbsolute","cls","includes","clientHeight","matchMedia","matches","height","banner","initialSettings","mediaBox","mediaBoxInnerColor","mediaBoxOverlayColor","onscroll","throttle","multiBox","inner","overlay","imageHeight","scrollTop","resizeHeader","offsetTop","offsetHeight","sectionBgc","bannerBacgroundColor","handleOnSections","handleScrollEvents","moveNavItems","topNavBar","navbarLogo","BurgerButton","navbarRight","offset","left","outerWidth","width","burgerButtonLeft","round","checkOverflow","el","clientWidth","scrollWidth","moveLastItem","prepend","addClass","hideBurgerIcon","sideMenuList","removeClass","moveAll","win","insertAfter","onMount","date","year","getFullYear","leapYear","easterSunday","f","floor","G","C","H","I","L","month","holidays","currentDateNumber","currentMonth","getMonth","currentDay","getDate","monthLength","yearLength","mandag","getDay","tirsdag","onsdag","torsdag","fredag","lørdag","søndag","næsteUgeMandag","næsteUgeTirsdag","days","holidaysNextWeek","isHoliday","holidaysInCurrentWeek","innerWidth","isVisible","nextElementSibling","activeMenus","previousElementSibling","setAttribute","hoverIntentTimeout","listElements","clearTimeout","handleHoverIntent","oldScrollHeight","setScrollValues","scrollY","menuElement","paddingTop","newScrollHeight","parentElement","position","top","headerDoubleLogoTopBar","toggleElements","isCollapsed","setVariables","buttons","closeAllDropdowns","exceptionButton","arguments","dropdown","associatedButton","parentNode","stopPropagation","isActive","getBoundingClientRect","bottom","innerHeight","adjustDropdownPosition","handleClick","Alpine","plugin","collapse","focus","intersect","open","desktop","init","_this","collapseOn","$el","shouldHideButton","updateButtonVisibility","updateAriaLabel","$refs","commentContent","toggleContent","btnToggle","ariaOpen","ariaClose","mobileSearch","mobileSideMenu","focusTrap","desktopSearch","mobileInputFocused","mobileInputValue","updateWindowProperties","toggleMobileMenu","isMobile","doubleLogoMaxWidth","headerLeftAlignedMaxWidth","isMenuTooWide","doubleLogoMenuElement","leftAlignedMenuElement","checkMenuWidth","logoWidth","overflow","searchBar","factBox","handleFocusables","disableValue","settings","accordion","objectFitImages","$body","$navbar","$dropdown","$dropdownToggle","$dropdownMenu","$searchbar","$searchbarToggle","$navBackLink","$dropdownToggleTab","$submenuDropdownToggle","$textOpen","$textClose","ignoreScroll","bodyScrollLock","require","disableBodyScroll","enableBodyScroll","resetDropdowns","slideUp","headerElement","show","off","get","$this","toggleClass","$navItem","is","relatedTarget","has","superfish","isOpen","slideToggle","popUpSelector","speed","delay","disableHI","onInit","onBeforeShow","onHide","isSearchbarVisible","headerMegamenuExtended","reorderNav","navbarCollapse","primaryContainer","secondaryContainer","containersExist","insertBefore","headerMegamenuTabOrderMobile","navbarToggler","dropdownMegamenu","headerMegamenuFocusTrap","leftAlignedMegamenu","doubleLogoMenu","navigationHandler","navbarDesktop","navbarDesktopItems","navbarMobileMenu","navbarProfile","ensureMobileMenu","append","ensureDesktopMenu","children","checkItemsInBurger","checkForSpace","space","navItems","navItemBurgerList","burgerNavItems","burgerNavLastItem","navbarBrandWidth","after","handleLoadResize","windowObj","headerWidth","navbarWidth","emptyspace","itemWidth","click","siblings","headerHeadroom","onPin","currentHeaderHeight","header","outerHeight","onUnpin","Headroom","$navLink","showClass","parents","setPaddingMain","headerHeight","$window","scroll","$sidemenu","$sidemenuToggle","hide","profileNameElement","MutationObserver","mutations","mutation","observe","childList","subtree","headerIntranet","masonryGrid","masonry","itemSelector","columnWidth","percentPosition","originTop","horizontalOrder","heroMultiBox","selector","watermarks","updateWatermark","watermarkmobile","watermarkdesktop","watermark","animate","location","hash","urlHash","ready","showMessage","areas","form","success","isNew","isApproved","html","isValidEmail","email","validator","modal","val","topics","areaKey","topicsTitles","checkbox","areasTitles","onestring","topicsKeys","ajax","url","contentType","dataType","topicKeys","memberPageId","subscriptionModal","onload","paginationPage","go","overThreeItems","$thisCardCarousel","owlCarousel","stagePadding","nav","dots","loop","margin","pullDrag","touchDrag","mouseDrag","responsiveClass","swiperContainer","swiperClass","optionsData","swiper","JSON","dottext","shouldEnableSwiper","mobileOnly","_objectSpread","navigation","nextEl","prevEl","renderBullet","ariaLabel","swiperInstance","Swiper","slidePrev","slideNext","initSwipers","modules","Navigation","Pagination","Keyboard","A11y","EffectFade","slidesPerView","spaceBetween","autoHeight","effect","lazy","clickable","keyboard","enabled","links","name","anchor","toLocaleLowerCase","toLowerCase","addSection","articleAnchorMenu","oneOpen","localStorage","getItem","$settings","maxHeight","queryString","history","replaceState","pathname","$accordionToggleBtn","stop","slideDown","extend","next","fn","dataTable","isDataTable","columns","adjust","draw","pageLength","substring","targetAccordionItem","not","accordionItem","accordionContainer","openAccordionAndScroll","accordionSection","anchorId","findAccordionSection","accordionInstance","_","activeAccordion","destroy","accordionMobile","accordionDesktopDown","$accordion","$accordion_item","$accordion_toggle","$toggleBtn","newAriaExpanded","$accordionItem","infoboxLinksIcon","resizeTimeout","carousels","startCarousel","carousel","center","$ul","$dot","$li","$button","trigger","replaceWith","eq","desiredItem","desiredItemIndex","resize","progress","max","articleHeight","progressBar","menuHeight","video","visibility","paused","play","pause","createElement","src","parsedUrl","URL","searchParams","autoplay","baseUrl","origin","poster","sourceFullHd","appendChild","sourceHd","sourceNormal","sourceMobile","track","embedId","iframe","appendTo","BorgerDk","folderId","pageUrl","elementId","accordionBodyContents","loadingSpinner","requestData","URLSearchParams","ok","newData","trim","tippy","theme","arrow","maxWidth","placement","hideOnClick","onShow","instance","content","reference","attributes","setContent","mouseenter","mouseleave","$fontsizeText","selectedProcentage","selectedSize","navigator","clipboard","writeText","err","textArea","select","removeChild","fallbackCopyTextToClipboard","savedPages","saveButtons","splice","setItem","stringify","serviceMenu","emailShareButtons","subject","emailSubject","linkText","emailLinkText","emailBody","href","fullBody","encodeURIComponent","serviceMenuShareByEmail","dataTabel","dataTabelScrollable","$menu","maxlength","currentLength","minLength","$thisDropdown","sideMenu","c","node","edge_media_to_caption","edges","accessibility_caption","is_tag","username","d","host","tag","container","display_profile","display_biography","display_gallery","display_captions","display_igtv","styling","items_per_row","image_size","lazy_load","cache_time","on_error","instagramFeed","h","entry_data","ProfilePage","TagPage","n","Date","getTime","graphql","user","hashtag","k","l","profile_container","profile_image","profile_name","profile_biography","gallery_image","gallery_image_link","profile_pic_url","full_name","biography","is_private","q","edge_owner_to_timeline_media","edge_hashtag_to_media","x","u","shortcode","__typename","thumbnail_resources","thumbnail_src","edge_felix_video_timeline","w","get_data","fail","status","amount","userid","fadeIn","addInstagramImages","$dataId","$id","playBtn","$accordion_header","$accordion_body","cludoSearch","imagesLoaded","Viewer","backdrop","inheritedAttributes","image","toolbar","zoomIn","zoomOut","oneToOne","reset","prev","rotateLeft","rotateRight","flipHorizontal","flipVertical","transition","focusables","richText","focusable","removeAttribute","box","elementButton","cardComment","card","onShowMoreCard","current","currentday","customCloseDays","day","indicator","months","endDate","startDate","spans","endDateFormatted","startDateFormatted","textContent","FindNextOpenDay","dayNumber","closedDay","nextOpenDay","nextOpenDayNumber","counter","nextOpenDayDate","today","checkHolidays","setDate","toISOString","isClosedDay","dayCols","col","statusIndicatorText","statusIndicator","currentDayOpenTime","currentDayClosingTime","currentDayOpenTimeTwo","currentDayClosingTimeTwo","busyTimeStart","busyTimeEnd","closedDayStart","closedDayEnd","currentTime","getHours","getMinutes","startDay","endDay","startTimestamp","endTimestamp","currentTimestamp","NextOpenDay","bannerHours","breadcrumbContainer","articleWrapper","serviceMenuElement","breadcrumbServiceMenu","articleServiceMenu","initialBreadcrumbServiceMenuItems","initialArticleServiceMenuItems","insertElement","relationalElement","moveBreadCrumb","breadcrumb","dropdownSettings","CsvToHtmlTable","csv_path","allow_download","csv_options","datatables_options","custom_formatting","customTemplates","colIdx","func","$table","$containerElement","empty","when","csvData","$tableHead","csvHeaderRow","$tableHeadRow","headerIdx","$tableBody","rowIdx","$tableBodyRow","$tableBodyRowTd","$paragraph","cellTemplateFunc","paging","scrollX","lengthChange","visible","order","tableCSV","autosuggestions","tablesNodelist","tableDays","statusIndicatorElement","statusTextElement","statusClosedElement","statusOpenElement","closedDayIndicator","tableHours","ACTIVE_CLASS","TAB_PANEL_SELECTOR","TAB_CONTROL_SELECTOR","tabPanel","activeTabFromUrl","fragment","queryParams","activeTab","getActiveTabFromUrl","controls","isDesktop","initialActiveTab","htmlActiveIndex","tab","setActiveTab","set","delete","windowSize","debounce","activeIndex","_controls$index","_desktopPanels$index","_mobilePanels$index","allowToggle","desktopPanels","mobilePanels","isAlreadyActive","control","panel","tabpanelReworked","grayscaleBtnElements","isGrayscaleActive","grayscaleClass","grayscaleOnClass","grayscaleFilterClass","grayscaleStorageKey","targetElements","updateGrayscaleState","removeEventListener","greyScaleInit","themeSelectors","storageKey","lightThemeClass","darkThemeClass","isDarkSystemTheme","navbrandImg","footerbrandImg","footerSubbrandImg","favicon","setSelectedTheme","applyDarkModeClasses","darkmodeNavLogo","darkmodeFooterLogo","darkmodeSubFooterLogo","setDarkmodeLogo","applyLightModeClasses","defaultNavLogo","defaultFooterLogo","subFooterLogo","setDefaultLogo","handleThemeToggle","isDarkModeActive","darkmodeFavicon","defaultFavicon","setFaviconBasedOnSystemTheme","darkmodeScale","cssVars","rootElement","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","loaded","__webpack_modules__","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","keys","every","getter","__esModule","definition","globalThis","Function","obj","toStringTag","nmd","paths","baseURI","self","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","bind","nc","__webpack_exports__"],"sourceRoot":""}