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UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA,+DAAe,kBAAkB,EAAC;;;;;;;;;;;;;;;;ACtBK;AACD;AACd;;AAExB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,UAAU;AACrB;AACA;AACA;AACA;AACA;AACA,aAAa,SAAS;AACtB;AACA,aAAa,UAAU;AACvB;AACA,aAAa,mBAAmB;AAChC;AACA,aAAa,mBAAmB;AAChC;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,gDAAgD,SAAS;AACzD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,+BAA+B,gDAAc;;AAE7C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;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AAiD;WACrK;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC7BA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,GAAG;WACH;WACA;WACA,CAAC;;;;;WCPD,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA,8CAA8C;;WAE9C;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,iCAAiC,mCAAmC;WACpE;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEpDA;UACA;UACA;UACA,0EAA0E,wDAAwD;UAClI,0EAA0E,iDAAiD;UAC3H,oGAAoG,gDAAgD;UACpJ","sources":["webpack://EPIC-2021/./js/src/geolocation.js","webpack://EPIC-2021/./node_modules/cookies.js/cookies.js","webpack://EPIC-2021/./sass/main.scss?df3f","webpack://EPIC-2021/./sass/amp.scss?2115","webpack://EPIC-2021/./node_modules/promise-polyfill/src/allSettled.js","webpack://EPIC-2021/./node_modules/promise-polyfill/src/any.js","webpack://EPIC-2021/./node_modules/promise-polyfill/src/finally.js","webpack://EPIC-2021/./node_modules/promise-polyfill/src/index.js","webpack://EPIC-2021/./node_modules/promise-polyfill/src/polyfill.js","webpack://EPIC-2021/./node_modules/unfetch/polyfill/index.js","webpack://EPIC-2021/webpack/bootstrap","webpack://EPIC-2021/webpack/runtime/chunk loaded","webpack://EPIC-2021/webpack/runtime/compat get default export","webpack://EPIC-2021/webpack/runtime/define property getters","webpack://EPIC-2021/webpack/runtime/global","webpack://EPIC-2021/webpack/runtime/hasOwnProperty shorthand","webpack://EPIC-2021/webpack/runtime/make namespace object","webpack://EPIC-2021/webpack/runtime/jsonp chunk loading","webpack://EPIC-2021/webpack/before-startup","webpack://EPIC-2021/webpack/startup","webpack://EPIC-2021/webpack/after-startup"],"sourcesContent":["/* global EPIC_GEOLOCATION_DATA */\nimport 'promise-polyfill/src/polyfill';\nimport 'unfetch/polyfill';\nimport docCookies from 'cookies.js';\n\nfunction ready(fn) {\n\tif (document.readyState != 'loading') {\n\t\tfn();\n\t} else {\n\t\tdocument.addEventListener('DOMContentLoaded', fn);\n\t}\n}\n\nwindow.docCookies = docCookies;\nconst Geolocation = {\n\tcontinue: true,\n\tbreak: false,\n\tkey: null,\n\tcountry: null,\n\tfallback_country_name: 'US',\n\tfallback_country_code: 'United States',\n\toriginal_callbacks: null,\n\tinit() {\n\t\t// Bail if data isn't available\n\t\tif ( !window.EPIC_GEOLOCATION_DATA ) {\n\t\t\treturn;\n\t\t}\n\t\tthis.key = EPIC_GEOLOCATION_DATA.key;\n\t\tthis.getCountry();\n\t},\n\tgetCountry() {\n\t\tconst url = `https://api.ipstack.com/check?access_key=${this.key}&fields=country_name,country_code,ip`;\n\t\tfetch(url)\n\t\t\t.then(function(response) {\n\t\t\t\tconsole.log('check response');\n\t\t\t\tif ( !response.ok ) {\n\t\t\t\t\tconsole.log('response is not ok');\n\t\t\t\t\tthrow Error(response.statusText);\n\t\t\t\t}\n\t\t\t\treturn response;\n\t\t\t})\n\t\t\t.then( r => { console.log('get json'); return r.json(); } )\n\t\t\t.then( data => { console.log('country callback'); return this.countryCallback(data.country_name, data.country_code); } )\n\t\t\t.catch( error => { console.error('error: ', error); return this.countryCallback(this.fallback_country_name, this.fallback_country_code); } )\n\t\t;\n\t},\n\tcountryCallback(country, country_code) {\n\t\tconsole.log('countryCallback - country: ', country, ' && country_code: ', country_code);\n\t\tEPIC_GEOLOCATION_DATA.country_code = country_code;\n\t\tlet callbacks = window.EPIC_GEOLOCATION_CALLBACKS || [];\n\t\tif ( this.original_callbacks === null ) {\n\t\t\tthis.original_callbacks = callbacks;\n\t\t}\n\t\twindow.EPIC_GEOLOCATION_CALLBACKS = {\n\t\t\tpush(cb) {\n\t\t\t\tcb(country_code);\n\t\t\t}\n\t\t};\n\n\t\tif ( !! callbacks.forEach ) {\n\t\t\t// callbacks responds to forEach\n\t\t\tcallbacks.forEach( cb => cb(country_code) );\n\t\t} else {\n\t\t\t// Duplicate call - use original callbacks for loop\n\t\t\tthis.original_callbacks.forEach( cb => cb(country_code) );\n\t\t}\n\n\t\tif ( typeof window.epic_pricing_box === 'object' ) {\n\t\t\twindow.epic_pricing_box.pickRegion(country_code);\n\t\t}\n\n\t\tthis.country = country;\n\t\tif ( EPIC_GEOLOCATION_DATA.redirect_rules.length > 0 ) {\n\t\t\tif ( docCookies.getItem('epic_geo_redir_skip') === 'true' ) {\n\t\t\t\tconsole.log('skip redirect');\n\t\t\t} else {\n\t\t\t\tthis.conditionalRedirect();\n\t\t\t}\n\t\t}\n\t\tif ( EPIC_GEOLOCATION_DATA.content_rule_sets.length > 0 ) {\n\t\t\tthis.conditionalContent();\n\n\t\t\tready( () => this.sidrSetupCheck(() => this.conditionalContent()) );\n\t\t}\n\t\treturn true;\n\t},\n\tsidrSetupCheck(callback) {\n\t\tlet $$ = document.getElementById('sidr-main');\n\t\tif ( $$ ) {\n\t\t\tcallback();\n\t\t} else {\n\t\t\tconst sidr_interval = setInterval( () => {\n\t\t\t\t$$ = document.getElementById('sidr-main');\n\t\t\t\tif ( !$$ ) { return; }\n\n\t\t\t\tclearInterval(sidr_interval);\n\t\t\t\tcallback();\n\t\t\t}, 100);\n\t\t\tsetTimeout( () => clearInterval(sidr_interval), 5000 )\n\t\t}\n\t},\n\tconditionalRedirect() {\n\t\tEPIC_GEOLOCATION_DATA.redirect_rules.every(this.testRedirectRule.bind(this));\n\t},\n\ttestRedirectRule(rule) {\n\t\tif ( this.ruleMatches(rule) ) {\n\t\t\tif ( rule.countries.indexOf('Iceland') >= 0 ) {\n\t\t\t\tconst iceland_cookie = 'epic_geo_redir_skip_iceland';\n\n\t\t\t\tif ( docCookies.getItem(iceland_cookie) === 'true' ) {\n\t\t\t\t\t// Cookie set, don't redirect\n\t\t\t\t\treturn this.continue;\n\t\t\t\t}\n\n\t\t\t\t// set cookie and redirect\n\t\t\t\tconst day_in_seconds = 24*60*60;\n\t\t\t\tdocCookies.setItem(iceland_cookie, 'true', day_in_seconds, '/');\n\t\t\t}\n\n\t\t\tdocument.location = rule.destination;\n\t\t\treturn this.break;\n\t\t}\n\n\t\treturn this.continue;\n\t},\n\truleMatches(rule) {\n\t\tif ( rule.any ) {\n\t\t\treturn true;\n\t\t}\n\n\t\tconst idx = rule.countries.indexOf(this.country);\n\t\tif ( idx >= 0 ) {\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t},\n\tconditionalContent() {\n\t\tEPIC_GEOLOCATION_DATA.content_rule_sets.forEach(\n\t\t\trule_set => rule_set.rules.every(this.testContentRule.bind(this))\n\t\t);\n\t},\n\ttestContentRule(rule) {\n\t\tif ( this.ruleMatches(rule) ) {\n\t\t\tthis.ready( () => this.processContentRuleActions(rule.actions) );\n\t\t\treturn this.break;\n\t\t}\n\n\t\treturn this.continue;\n\t},\n\tready(fn) {\n\t\tif ( document.readyState != 'loading' ) {\n\t\t\tfn();\n\t\t} else {\n\t\t\tdocument.addEventListener('DOMContentLoaded', fn);\n\t\t}\n\t},\n\tprocessContentRuleActions(actions) {\n\t\tactions.forEach( action => {\n\t\t\tconst els = document.querySelectorAll(action.selector);\n\t\t\tconst display_val = action.behavior === 'hide' ? 'none' : '';\n\t\t\tels.forEach( _ => _.style.display = display_val );\n\t\t} );\n\t}\n};\n\nGeolocation.init();\n\n","/*\\\n|*|\n|*|\t:: cookies.js ::\n|*|\n|*|\tA complete cookies reader/writer framework with full unicode support.\n|*|\n|*|\tRevision #8 - February 18th, 2020\n|*|\n|*|\thttps://developer.mozilla.org/en-US/docs/Web/API/document.cookie\n|*|\thttps://developer.mozilla.org/User:fusionchess\n|*|\thttps://github.com/madmurphy/cookies.js\n|*|\n|*|\tThis framework is released under the GNU Public License, version 3 or later.\n|*|\thttp://www.gnu.org/licenses/gpl-3.0-standalone.html\n|*|\n|*|\tSyntaxes:\n|*|\n|*|\t* docCookies.setItem(name, value[, end[, path[, domain[, secure[, same-site]]]]])\n|*|\t* docCookies.getItem(name)\n|*|\t* docCookies.removeItem(name[, path[, domain[, secure[, same-site]]]])\n|*|\t* docCookies.hasItem(name)\n|*|\t* docCookies.keys()\n|*|\t* docCookies.clear([path[, domain[, secure[, same-site]]]])\n|*|\n\\*/\n\n(function () {\n\n\tfunction makeSetterString (sKey, sValue, vEnd, sPath, sDomain, bSecure, vSameSite) {\n\n\t\tvar sExpires = \"\";\n\n\t\tif (vEnd) {\n\n\t\t\tswitch (vEnd.constructor) {\n\n\t\t\t\tcase Number:\n\n\t\t\t\t\tsExpires = vEnd === Infinity ? \"; expires=Fri, 31 Dec 9999 23:59:59 GMT\" : \"; max-age=\" + vEnd;\n\n\t\t\t\t\t/*\n\t\t\t\t\tNote: Despite officially defined in RFC 6265, the use of `max-age` is not compatible with any\n\t\t\t\t\tversion of Internet Explorer, Edge and some mobile browsers. Therefore passing a number to\n\t\t\t\t\tthe end parameter might not work as expected. A possible solution might be to convert the the\n\t\t\t\t\trelative time to an absolute time. For instance you could replace the previous line with:\n\t\t\t\t\t*/\n\t\t\t\t\t/*\n\t\t\t\t\tsExpires = vEnd === Infinity ? \"; expires=Fri, 31 Dec 9999 23:59:59 GMT\" : \"; expires=\" + (new Date(vEnd * 1e3 + Date.now())).toUTCString();\n\t\t\t\t\t*/\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase String:\n\n\t\t\t\t\tsExpires = \"; expires=\" + vEnd;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase Date:\n\n\t\t\t\t\tsExpires = \"; expires=\" + vEnd.toUTCString();\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\n\n\t\treturn\tencodeURIComponent(sKey) + \"=\" + encodeURIComponent(sValue) + sExpires + (sDomain ? \"; domain=\" + sDomain : \"\") + (sPath ? \"; path=\" + sPath : \"\") + (bSecure ? \"; secure\" : \"\") + (!vSameSite || vSameSite.toString().toLowerCase() === \"no_restriction\" ? \"\" : vSameSite.toString().toLowerCase() === \"lax\" || Math.ceil(vSameSite) === 1 || vSameSite === true ? \"; samesite=lax\" : vSameSite.toString().toLowerCase() === \"none\" || vSameSite < 0 ? \"; samesite=none\" : \"; samesite=strict\");\n\n\t}\n\n\tvar reURIAllowed = /[\\-\\.\\+\\*]/g, reCNameAllowed = /^(?:expires|max\\-age|path|domain|secure|samesite|httponly)$/i;\n\n\twindow.docCookies = {\n\n\t\t\"getItem\": function (sKey) {\n\n\t\t\tif (!sKey) { return null; }\n\n\t\t\treturn decodeURIComponent(document.cookie.replace(new RegExp(\"(?:(?:^|.*;)\\\\s*\" + encodeURIComponent(sKey).replace(reURIAllowed, \"\\\\$&\") + \"\\\\s*\\\\=\\\\s*([^;]*).*$)|^.*$\"), \"$1\")) || null;\n\n\t\t},\n\n\t\t\"setItem\": function (sKey, sValue, vEnd, sPath, sDomain, bSecure, vSameSite) {\n\n\t\t\tif (!sKey || reCNameAllowed.test(sKey)) { return false; }\n\n\t\t\tdocument.cookie = makeSetterString(sKey, sValue, vEnd, sPath, sDomain, bSecure, vSameSite);\n\t\t\treturn true;\n\n\t\t},\n\n\t\t\"removeItem\": function (sKey, sPath, sDomain, bSecure, vSameSite) {\n\n\t\t\tif (!this.hasItem(sKey)) { return false; }\n\n\t\t\tdocument.cookie = makeSetterString(sKey, \"\", \"Thu, 01 Jan 1970 00:00:00 GMT\", sPath, sDomain, bSecure, vSameSite);\n\t\t\treturn true;\n\n\t\t},\n\n\t\t\"hasItem\": function (sKey) {\n\n\t\t\tif (!sKey || reCNameAllowed.test(sKey)) { return false; }\n\n\t\t\treturn (new RegExp(\"(?:^|;\\\\s*)\" + encodeURIComponent(sKey).replace(reURIAllowed, \"\\\\$&\") + \"\\\\s*\\\\=\")).test(document.cookie);\n\n\t\t},\n\n\t\t\"keys\": function () {\n\n\t\t\tvar aKeys = document.cookie.replace(/((?:^|\\s*;)[^\\=]+)(?=;|$)|^\\s*|\\s*(?:\\=[^;]*)?(?:\\1|$)/g, \"\").split(/\\s*(?:\\=[^;]*)?;\\s*/);\n\n\t\t\tfor (var nLen = aKeys.length, nIdx = 0; nIdx < nLen; nIdx++) {\n\n\t\t\t\taKeys[nIdx] = decodeURIComponent(aKeys[nIdx]);\n\n\t\t\t}\n\n\t\t\treturn aKeys;\n\t\t},\n\n\t\t\"clear\": function (sPath, sDomain, bSecure, vSameSite) {\n\n\t\t\tfor (var aKeys = this.keys(), nLen = aKeys.length, nIdx = 0; nIdx < nLen; nIdx++) {\n\n\t\t\t\tthis.removeItem(aKeys[nIdx], sPath, sDomain, bSecure, vSameSite);\n\n\t\t\t}\n\n\t\t}\n\n\t};\n\n})();\n\nif (typeof module !== \"undefined\" && typeof module.exports !== \"undefined\") {\n\n\tmodule.exports = docCookies;\n\n}\n\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","function allSettled(arr) {\n var P = this;\n return new P(function(resolve, reject) {\n if (!(arr && typeof arr.length !== 'undefined')) {\n return reject(\n new TypeError(\n typeof arr +\n ' ' +\n arr +\n ' is not iterable(cannot read property Symbol(Symbol.iterator))'\n )\n );\n }\n var args = Array.prototype.slice.call(arr);\n if (args.length === 0) return resolve([]);\n var remaining = args.length;\n\n function res(i, val) {\n if (val && (typeof val === 'object' || typeof val === 'function')) {\n var then = val.then;\n if (typeof then === 'function') {\n then.call(\n val,\n function(val) {\n res(i, val);\n },\n function(e) {\n args[i] = { status: 'rejected', reason: e };\n if (--remaining === 0) {\n resolve(args);\n }\n }\n );\n return;\n }\n }\n args[i] = { status: 'fulfilled', value: val };\n if (--remaining === 0) {\n resolve(args);\n }\n }\n\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n}\n\nexport default allSettled;\n","/**\n * @constructor\n */\nfunction AggregateError(errors, message) {\n (this.name = 'AggregateError'), (this.errors = errors);\n this.message = message || '';\n}\nAggregateError.prototype = Error.prototype;\n\nfunction any(arr) {\n var P = this;\n return new P(function(resolve, reject) {\n if (!(arr && typeof arr.length !== 'undefined')) {\n return reject(new TypeError('Promise.any accepts an array'));\n }\n\n var args = Array.prototype.slice.call(arr);\n if (args.length === 0) return reject();\n\n var rejectionReasons = [];\n for (var i = 0; i < args.length; i++) {\n try {\n P.resolve(args[i])\n .then(resolve)\n .catch(function(error) {\n rejectionReasons.push(error);\n if (rejectionReasons.length === args.length) {\n reject(\n new AggregateError(\n rejectionReasons,\n 'All promises were rejected'\n )\n );\n }\n });\n } catch (ex) {\n reject(ex);\n }\n }\n });\n}\n\nexport default any;\n","/**\n * @this {Promise}\n */\nfunction finallyConstructor(callback) {\n var constructor = this.constructor;\n return this.then(\n function(value) {\n // @ts-ignore\n return constructor.resolve(callback()).then(function() {\n return value;\n });\n },\n function(reason) {\n // @ts-ignore\n return constructor.resolve(callback()).then(function() {\n // @ts-ignore\n return constructor.reject(reason);\n });\n }\n );\n}\n\nexport default finallyConstructor;\n","import promiseFinally from './finally';\nimport allSettled from './allSettled';\nimport any from './any';\n\n// Store setTimeout reference so promise-polyfill will be unaffected by\n// other code modifying setTimeout (like sinon.useFakeTimers())\nvar setTimeoutFunc = setTimeout;\n\nfunction isArray(x) {\n return Boolean(x && typeof x.length !== 'undefined');\n}\n\nfunction noop() {}\n\n// Polyfill for Function.prototype.bind\nfunction bind(fn, thisArg) {\n return function() {\n fn.apply(thisArg, arguments);\n };\n}\n\n/**\n * @constructor\n * @param {Function} fn\n */\nfunction Promise(fn) {\n if (!(this instanceof Promise))\n throw new TypeError('Promises must be constructed via new');\n if (typeof fn !== 'function') throw new TypeError('not a function');\n /** @type {!number} */\n this._state = 0;\n /** @type {!boolean} */\n this._handled = false;\n /** @type {Promise|undefined} */\n this._value = undefined;\n /** @type {!Array} */\n this._deferreds = [];\n\n doResolve(fn, this);\n}\n\nfunction handle(self, deferred) {\n while (self._state === 3) {\n self = self._value;\n }\n if (self._state === 0) {\n self._deferreds.push(deferred);\n return;\n }\n self._handled = true;\n Promise._immediateFn(function() {\n var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;\n if (cb === null) {\n (self._state === 1 ? resolve : reject)(deferred.promise, self._value);\n return;\n }\n var ret;\n try {\n ret = cb(self._value);\n } catch (e) {\n reject(deferred.promise, e);\n return;\n }\n resolve(deferred.promise, ret);\n });\n}\n\nfunction resolve(self, newValue) {\n try {\n // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure\n if (newValue === self)\n throw new TypeError('A promise cannot be resolved with itself.');\n if (\n newValue &&\n (typeof newValue === 'object' || typeof newValue === 'function')\n ) {\n var then = newValue.then;\n if (newValue instanceof Promise) {\n self._state = 3;\n self._value = newValue;\n finale(self);\n return;\n } else if (typeof then === 'function') {\n doResolve(bind(then, newValue), self);\n return;\n }\n }\n self._state = 1;\n self._value = newValue;\n finale(self);\n } catch (e) {\n reject(self, e);\n }\n}\n\nfunction reject(self, newValue) {\n self._state = 2;\n self._value = newValue;\n finale(self);\n}\n\nfunction finale(self) {\n if (self._state === 2 && self._deferreds.length === 0) {\n Promise._immediateFn(function() {\n if (!self._handled) {\n Promise._unhandledRejectionFn(self._value);\n }\n });\n }\n\n for (var i = 0, len = self._deferreds.length; i < len; i++) {\n handle(self, self._deferreds[i]);\n }\n self._deferreds = null;\n}\n\n/**\n * @constructor\n */\nfunction Handler(onFulfilled, onRejected, promise) {\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.promise = promise;\n}\n\n/**\n * Take a potentially misbehaving resolver function and make sure\n * onFulfilled and onRejected are only called once.\n *\n * Makes no guarantees about asynchrony.\n */\nfunction doResolve(fn, self) {\n var done = false;\n try {\n fn(\n function(value) {\n if (done) return;\n done = true;\n resolve(self, value);\n },\n function(reason) {\n if (done) return;\n done = true;\n reject(self, reason);\n }\n );\n } catch (ex) {\n if (done) return;\n done = true;\n reject(self, ex);\n }\n}\n\nPromise.prototype['catch'] = function(onRejected) {\n return this.then(null, onRejected);\n};\n\nPromise.prototype.then = function(onFulfilled, onRejected) {\n // @ts-ignore\n var prom = new this.constructor(noop);\n\n handle(this, new Handler(onFulfilled, onRejected, prom));\n return prom;\n};\n\nPromise.prototype['finally'] = promiseFinally;\n\nPromise.all = function(arr) {\n return new Promise(function(resolve, reject) {\n if (!isArray(arr)) {\n return reject(new TypeError('Promise.all accepts an array'));\n }\n\n var args = Array.prototype.slice.call(arr);\n if (args.length === 0) return resolve([]);\n var remaining = args.length;\n\n function res(i, val) {\n try {\n if (val && (typeof val === 'object' || typeof val === 'function')) {\n var then = val.then;\n if (typeof then === 'function') {\n then.call(\n val,\n function(val) {\n res(i, val);\n },\n reject\n );\n return;\n }\n }\n args[i] = val;\n if (--remaining === 0) {\n resolve(args);\n }\n } catch (ex) {\n reject(ex);\n }\n }\n\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n};\n\nPromise.any = any;\n\nPromise.allSettled = allSettled;\n\nPromise.resolve = function(value) {\n if (value && typeof value === 'object' && value.constructor === Promise) {\n return value;\n }\n\n return new Promise(function(resolve) {\n resolve(value);\n });\n};\n\nPromise.reject = function(value) {\n return new Promise(function(resolve, reject) {\n reject(value);\n });\n};\n\nPromise.race = function(arr) {\n return new Promise(function(resolve, reject) {\n if (!isArray(arr)) {\n return reject(new TypeError('Promise.race accepts an array'));\n }\n\n for (var i = 0, len = arr.length; i < len; i++) {\n Promise.resolve(arr[i]).then(resolve, reject);\n }\n });\n};\n\n// Use polyfill for setImmediate for performance gains\nPromise._immediateFn =\n // @ts-ignore\n (typeof setImmediate === 'function' &&\n function(fn) {\n // @ts-ignore\n setImmediate(fn);\n }) ||\n function(fn) {\n setTimeoutFunc(fn, 0);\n };\n\nPromise._unhandledRejectionFn = function _unhandledRejectionFn(err) {\n if (typeof console !== 'undefined' && console) {\n console.warn('Possible Unhandled Promise Rejection:', err); // eslint-disable-line no-console\n }\n};\n\nexport default Promise;\n","import Promise from './index';\nimport promiseFinally from './finally';\nimport allSettled from './allSettled';\nimport any from './any';\n\n/** @suppress {undefinedVars} */\nvar globalNS = (function() {\n // the only reliable means to get the global object is\n // `Function('return this')()`\n // However, this causes CSP violations in Chrome apps.\n if (typeof self !== 'undefined') {\n return self;\n }\n if (typeof window !== 'undefined') {\n return window;\n }\n if (typeof global !== 'undefined') {\n return global;\n }\n throw new Error('unable to locate global object');\n})();\n\n// Expose the polyfill if Promise is undefined or set to a\n// non-function value. The latter can be due to a named HTMLElement\n// being exposed by browsers for legacy reasons.\n// https://github.com/taylorhakes/promise-polyfill/issues/114\nif (typeof globalNS['Promise'] !== 'function') {\n globalNS['Promise'] = Promise;\n} else {\n if (!globalNS.Promise.prototype['finally']) {\n globalNS.Promise.prototype['finally'] = promiseFinally;\n }\n if (!globalNS.Promise.allSettled) {\n globalNS.Promise.allSettled = allSettled;\n }\n if (!globalNS.Promise.any) {\n globalNS.Promise.any = any;\n }\n}\n","self.fetch||(self.fetch=function(e,n){return n=n||{},new Promise(function(t,s){var r=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(r.status/100|0),statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var c in r.open(n.method||\"get\",e,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm,function(e,n,t){o.push(n=n.toLowerCase()),u.push([n,t]),i[n]=i[n]?i[n]+\",\"+t:t}),t(a())},r.onerror=s,r.withCredentials=\"include\"==n.credentials,n.headers)r.setRequestHeader(c,n.headers[c]);r.send(n.body||null)})});\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\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\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","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};","// 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};","// no baseURI\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\t\"/js/bundle-geolocation.dev\": 0,\n\t\"css/amp\": 0,\n\t\"css/main.dev\": 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[\"webpackChunkEPIC_2021\"] = self[\"webpackChunkEPIC_2021\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\n__webpack_require__.O(undefined, [\"css/amp\",\"css/main.dev\"], function() { return __webpack_require__(\"./js/src/geolocation.js\"); })\n__webpack_require__.O(undefined, [\"css/amp\",\"css/main.dev\"], function() { return __webpack_require__(\"./sass/main.scss\"); })\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"css/amp\",\"css/main.dev\"], function() { return __webpack_require__(\"./sass/amp.scss\"); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["docCookies","ready","fn","document","readyState","addEventListener","window","Geolocation","key","country","fallback_country_name","fallback_country_code","original_callbacks","init","EPIC_GEOLOCATION_DATA","getCountry","_this","url","concat","fetch","then","response","console","log","ok","Error","statusText","r","json","data","countryCallback","country_name","country_code","error","_this2","callbacks","EPIC_GEOLOCATION_CALLBACKS","push","cb","forEach","_typeof","epic_pricing_box","pickRegion","redirect_rules","length","getItem","conditionalRedirect","content_rule_sets","conditionalContent","sidrSetupCheck","callback","$$","getElementById","sidr_interval","setInterval","clearInterval","setTimeout","every","testRedirectRule","bind","rule","ruleMatches","countries","indexOf","iceland_cookie","day_in_seconds","setItem","location","destination","any","idx","_this3","rule_set","rules","testContentRule","_this4","processContentRuleActions","actions","action","els","querySelectorAll","selector","display_val","behavior","_","style","display"],"sourceRoot":""}