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IG,EAAO9B,SAAS+B,eAAe+B,EAAa,KAChDG,EAAQjC,YAAYF,QAEa,IAAtB+B,EAAe7E,IACxB6E,EAAe7E,GAAGkD,aAAa+B,EAASJ,EAAe7E,GAAGmD","sources":["node_modules/@parcel/runtime-js/lib/helpers/bundle-manifest.js","node_modules/@parcel/runtime-js/lib/runtime-d62e19f0d449d831.js","src/components/form-options/form_dropdown.js","node_modules/@parcel/runtime-js/lib/helpers/bundle-url.js","node_modules/@parcel/runtime-js/lib/runtime-fcefaf42ac51295f.js","src/components/experiencefragment/change_flag.js","src/components/progressbar/progressbar.js"],"sourcesContent":["\"use strict\";\n\nvar mapping = {};\n\nfunction register(pairs) {\n var keys = Object.keys(pairs);\n\n for (var i = 0; i < keys.length; i++) {\n mapping[keys[i]] = pairs[keys[i]];\n }\n}\n\nfunction resolve(id) {\n var resolved = mapping[id];\n\n if (resolved == null) {\n throw new Error('Could not resolve bundle with id ' + id);\n }\n\n return resolved;\n}\n\nmodule.exports.register = register;\nmodule.exports.resolve = resolve;","require('./helpers/bundle-manifest').register(JSON.parse(\"{\\\"cXHa9\\\":\\\"theme.js\\\",\\\"6TNsU\\\":\\\"favicon.png\\\",\\\"aWhcp\\\":\\\"theme.css\\\"}\"));","document.addEventListener('DOMContentLoaded', function (event) {\n var x, i, j, l, ll, selElmnt, a, b, c\n x = document.getElementsByClassName('cmp-form-options--drop-down')\n l = x.length\n\n for (i = 0; i < l; i++) {\n selElmnt = x[i].getElementsByTagName('select')[0]\n if (typeof selElmnt === 'undefined') return\n ll = selElmnt.length\n\n /* For each element, create a new DIV that will act as the selected item: */\n a = document.createElement('DIV')\n a.setAttribute('class', 'select-selected')\n a.innerHTML = selElmnt.options[selElmnt.selectedIndex].innerHTML\n x[i].appendChild(a)\n\n /* For each element, create a new DIV that will contain the option list: */\n b = document.createElement('DIV')\n b.setAttribute('class', 'select-items select-hide')\n\n for (j = 1; j < ll; j++) {\n /* For each option in the original select element,\n create a new DIV that will act as an option item: */\n c = document.createElement('DIV')\n c.innerHTML = selElmnt.options[j].innerHTML\n c.addEventListener('click', function (e) {\n /* When an item is clicked, update the original select box,\n and the selected item: */\n var y, i, k, s, h, sl, yl\n s = this.parentNode.parentNode.getElementsByTagName('select')[0]\n sl = s.length\n h = this.parentNode.previousSibling\n\n for (i = 0; i < sl; i++) {\n if (s.options[i].innerHTML == this.innerHTML) {\n s.selectedIndex = i\n h.innerHTML = this.innerHTML\n y = this.parentNode.getElementsByClassName('same-as-selected')\n yl = y.length\n for (k = 0; k < yl; k++) {\n y[k].removeAttribute('class')\n }\n this.setAttribute('class', 'same-as-selected')\n break\n }\n }\n h.click()\n })\n b.appendChild(c)\n }\n\n x[i].appendChild(b)\n a.addEventListener('click', function (e) {\n /* When the select box is clicked, close any other select boxes,\n and open/close the current select box: */\n e.stopPropagation()\n closeAllSelect(this)\n this.nextSibling.classList.toggle('select-hide')\n this.classList.toggle('select-arrow-active')\n })\n }\n})\n\nfunction closeAllSelect(elmnt) {\n /* A function that will close all select boxes in the document,\n except the current select box: */\n var x,\n y,\n i,\n xl,\n yl,\n arrNo = []\n x = document.getElementsByClassName('select-items')\n y = document.getElementsByClassName('select-selected')\n xl = x.length\n yl = y.length\n for (i = 0; i < yl; i++) {\n if (elmnt == y[i]) {\n arrNo.push(i)\n } else {\n y[i].classList.remove('select-arrow-active')\n }\n }\n for (i = 0; i < xl; i++) {\n if (arrNo.indexOf(i)) {\n x[i].classList.add('select-hide')\n }\n }\n}\n\n/* If the user clicks anywhere outside the select box,\nthen close all select boxes: */\ndocument.addEventListener('click', closeAllSelect)\n","\"use strict\";\n\nvar bundleURL = {};\n\nfunction getBundleURLCached(id) {\n var value = bundleURL[id];\n\n if (!value) {\n value = getBundleURL();\n bundleURL[id] = value;\n }\n\n return value;\n}\n\nfunction getBundleURL() {\n try {\n throw new Error();\n } catch (err) {\n var matches = ('' + err.stack).match(/(https?|file|ftp):\\/\\/[^)\\n]+/g);\n\n if (matches) {\n // The first two stack frames will be this function and getBundleURLCached.\n // Use the 3rd one, which will be a runtime in the original bundle.\n return getBaseURL(matches[2]);\n }\n }\n\n return '/';\n}\n\nfunction getBaseURL(url) {\n return ('' + url).replace(/^((?:https?|file|ftp):\\/\\/.+)\\/[^/]+$/, '$1') + '/';\n} // TODO: Replace uses with `new URL(url).origin` when ie11 is no longer supported.\n\n\nfunction getOrigin(url) {\n var matches = ('' + url).match(/(https?|file|ftp):\\/\\/[^/]+/);\n\n if (!matches) {\n throw new Error('Origin not found');\n }\n\n return matches[0];\n}\n\nexports.getBundleURL = getBundleURLCached;\nexports.getBaseURL = getBaseURL;\nexports.getOrigin = getOrigin;","module.exports = require('./helpers/bundle-url').getBundleURL('cXHa9') + \"resources/images/\" + require('./helpers/bundle-manifest').resolve(\"6TNsU\");","document.addEventListener('DOMContentLoaded', function (event) {\n var x = document.getElementsByClassName('cmp-languagenavigation__item--active')[0]\n if (typeof x === 'undefined') return\n\n var classnameWithLanguage = x.className.split(' ')[1]\n if (typeof classnameWithLanguage === 'undefined') return\n\n var span = document.createElement('span')\n span.setAttribute('class', classnameWithLanguage)\n\n var language_code = classnameWithLanguage.split('-')\n language_code = language_code[language_code.length - 1]\n\n var language_text = 'language'\n if (language_code === 'en') language_text = 'English'\n else if (language_code === 'fr') language_text = 'French'\n else if (language_code === 'de') language_text = 'Germany'\n else if (language_code === 'it') language_text = 'Italian'\n else if (language_code === 'ru') language_text = 'Russian'\n else if (language_code === 'es') language_text = 'Spanish'\n else if (language_code === 'da') language_text = 'Danish'\n else if (language_code === 'ga') language_text = 'Irish'\n else if (language_code === 'pt') language_text = 'Portuguese'\n else if (language_code === 'ro') language_text = 'Romanian'\n else if (language_code === 'sv') language_text = 'Swedish'\n else if (language_code === 'tr') language_text = 'Turkish'\n\n var text = document.createTextNode(language_text)\n span.appendChild(text)\n\n var targetElement = document.getElementsByClassName('cmp-languagenavigation')[0]\n if (typeof targetElement === 'undefined') return\n targetElement.insertBefore(span, targetElement.firstChild)\n})\n","document.addEventListener('DOMContentLoaded', function (event) {\n var x = document.getElementsByClassName('cmp-progressbar')\n var targetElements = document.getElementsByClassName('progressbar')\n\n var l = x.length\n\n for (var i = 0; i < l; i++) {\n var percentage = x[i].firstElementChild.textContent\n\n var element = document.createElement('div')\n element.setAttribute('class', 'cmp-progressbar-completedPercentage')\n var text = document.createTextNode(percentage + '%')\n element.appendChild(text)\n\n if (typeof targetElements[i] !== 'undefined')\n targetElements[i].insertBefore(element, targetElements[i].firstChild)\n }\n})\n"],"names":["$c1c240ab354bd358$export$6503ec6e8aabbaf","$c1c240ab354bd358$export$f7ad0328861e2f03","$c1c240ab354bd358$var$mapping","pairs","keys","Object","i","length","id","resolved","Error","parcelRequire","register","JSON","parse","$2ecd9856651221c5$var$closeAllSelect","elmnt","x","y","xl","yl","arrNo","document","getElementsByClassName","push","classList","remove","indexOf","add","$549d46afbcc1f416$export$bdfd709ae4826697","$549d46afbcc1f416$var$bundleURL","$549d46afbcc1f416$var$getBaseURL","url","replace","value","err","matches","stack","match","$549d46afbcc1f416$var$getBundleURL","getBundleURL","resolve","addEventListener","event","classnameWithLanguage","className","split","span","createElement","setAttribute","language_code","language_text","text","createTextNode","appendChild","targetElement","insertBefore","firstChild","i1","j","l","ll","selElmnt","a","b","c","getElementsByTagName","innerHTML","options","selectedIndex","e","k","s","h","sl","this","parentNode","previousSibling","removeAttribute","click","stopPropagation","nextSibling","toggle","targetElements","percentage","firstElementChild","textContent","element"],"version":3,"file":"theme.js.map"}