@jumpgroup/avacy-banner
Version:
oil.js Opt-In Layer for consent management based on the IAB TCF Standard
16 lines • 72.5 kB
JavaScript
/*! 1.2.1-RELEASE */!function(e){function t(t){for(var n,r,i=t[0],a=t[1],u=0,c=[];u<i.length;u++)r=i[u],o[r]&&c.push(o[r][0]),o[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(s&&s(t);c.length;)c.shift()()}var n={},o={5:0};function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.e=function(e){var t=[],n=o[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise(function(t,r){n=o[e]=[t,r]});t.push(n[2]=i);var a=document.getElementsByTagName("head")[0],u=document.createElement("script");u.charset="utf-8",u.timeout=120,r.nc&&u.setAttribute("nonce",r.nc),u.src=function(e){return r.p+""+e+".1.2.1-RELEASE.chunk.js"}(e);var s=setTimeout(function(){c({type:"timeout",target:u})},12e4);function c(t){u.onerror=u.onload=null,clearTimeout(s);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src,a=new Error("Loading chunk "+e+" failed.\n("+r+": "+i+")");a.type=r,a.request=i,n[1](a)}o[e]=void 0}}u.onerror=u.onload=c,a.appendChild(u)}return Promise.all(t)},r.m=e,r.c=n,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="//oil.axelspringer.com/release/1.2.1/",r.oe=function(e){throw console.error(e),e};var i=window.oilJsonp=window.oilJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var u=0;u<i.length;u++)t(i[u]);var s=a;r(r.s=116)}([function(e,t,n){var o=n(34)("wks"),r=n(18),i=n(1).Symbol,a="function"==typeof i;(e.exports=function(e){return o[e]||(o[e]=a&&i[e]||(a?i:r)("Symbol."+e))}).store=o},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OilVersion=void 0,t.isProd=function(){return!1},t.isDev=function(){return!1},t.getOrigin=a,t.sendEventToHostSite=function(e){window.postMessage(e,a()),window.AS_OIL.eventCollection=window.AS_OIL.eventCollection||[],window.AS_OIL.eventCollection.push({name:e,timestamp:(new Date).getTime()}),(0,o.logInfo)("Sent postmessage event: "+e)},t.removeMessageListener=function(e){l(d,e,!1)},t.registerMessageListener=function(e){c(f,e,!1)},t.getClientTimestamp=function(){return Date.now||(Date.now=function(){return(new Date).getTime()}),Date.now()},t.arrayContains=function(e,t){for(var n=e.length,o=0;o<n;o++)if(e[o]===t)return!0;return!1},t.arrayContainsArray=function(e,t){if(!e||!t)return!1;for(var n={},o=0;o<e.length;o++)n[e[o]]||(n[e[o]]=0),n[e[o]]++;for(var r=0;r<t.length;r++)if(!n[t[r]]||--n[t[r]]<0)return!1;return!0},t.setGlobalOilObject=function(e,t){window[r.OIL_GLOBAL_OBJECT_NAME]||(window[r.OIL_GLOBAL_OBJECT_NAME]={}),window[r.OIL_GLOBAL_OBJECT_NAME][e]=t},t.getGlobalOilObject=function(e){return window[r.OIL_GLOBAL_OBJECT_NAME]?window[r.OIL_GLOBAL_OBJECT_NAME][e]:void 0},t.getLocaleVariantVersion=function(){var e=(0,i.getLocale)();return e&&e.version?e.version:0},t.getCommandCollection=function(){return window.__cmp?window.__cmp.commandCollection:void 0},t.fetchJsonData=function(e){return new Promise(function(t,n){var r=new XMLHttpRequest;(0,o.logInfo)("Fetching data from url: "+e),r.open("GET",e),r.onreadystatechange=function(){if(r.readyState===this.DONE)if(200===r.status)t(JSON.parse(r.responseText));else{var o=void 0;if(0!==r.status){var i=JSON.parse(r.responseText);o=new Error(i.errorMessage)}else o=new Error("Connection error occurred while fetching JSON data from "+e+"!");n(o)}},r.send()})},t.isObject=function(e){return e instanceof Object&&e.constructor===Object};var o=n(5),r=n(13),i=n(6);function a(){return window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),window.location.origin}var u=window.addEventListener?"addEventListener":"attachEvent",s=window.removeEventListener?"removeEventListener":"removeEvent",c=window[u],l=window[s],f="attachEvent"===u?"onmessage":"message",d="removeEvent"===s?"onmessage":"message";t.OilVersion={get:function(){return"1.2.1-RELEASE"},getLatestReleaseVersion:function(){return"1.2.1"}}},function(e,t,n){var o=n(4);e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logError=function(){((0,o.isDev)()||(0,r.isVerboseCookieSet)())&&window.console&&u(window.console.error,arguments)},t.logInfo=function(){((0,o.isDev)()||(0,r.isVerboseCookieSet)())&&window.console&&u(window.console.info,arguments)},t.logWarn=function(){((0,o.isDev)()||(0,r.isVerboseCookieSet)())&&window.console&&u(window.console.warn,arguments)},t.logPreviewInfo=function(){((0,o.isDev)()||(0,i.isPreviewMode)()||(0,r.isPreviewCookieSet)()||(0,r.isVerboseCookieSet)())&&u(window.console.info,arguments)};var o=n(2),r=n(16),i=n(6),a="OIL: ";function u(e,t){window.console||(window.console={}),window.console.log||(window.console.log=function(){});var n=[a].concat(Array.prototype.slice.call(t));if(e)try{e.apply(window.console,n)}catch(t){try{e(s(n))}catch(e){}}else window.console.log(s(n))}function s(e){for(var t="",n=0;n<e.length;n++)t+=e[n];return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getConfigValue=u,t.isPreviewMode=function(){return u(o.OIL_CONFIG.ATTR_PREVIEW_MODE,!1)},t.isPoiActive=function(){return u(o.OIL_CONFIG.ATTR_ACTIVATE_POI,!1)},t.isSubscriberSetCookieActive=function(){return u(o.OIL_CONFIG.ATTR_SUB_SET_COOKIE,!0)},t.getHubOrigin=c,t.getHubPath=l,t.getPublicPath=f,t.getLocaleUrl=d,t.getIabVendorListUrl=function(){return u(o.OIL_CONFIG.ATTR_IAB_VENDOR_LIST_URL,"https://vendorlist.consensu.org/vendorlist.json")},t.getIabVendorBlacklist=function(){return u(o.OIL_CONFIG.ATTR_IAB_VENDOR_BLACKLIST,void 0)},t.getIabVendorWhitelist=function(){return u(o.OIL_CONFIG.ATTR_IAB_VENDOR_WHITELIST,void 0)},t.getPoiGroupName=function(){return u(o.OIL_CONFIG.ATTR_POI_GROUP_NAME,"default")},t.getCookieExpireInDays=function(){return u(o.OIL_CONFIG.ATTR_COOKIE_EXPIRES_IN_DAYS,31)},t.getLocaleVariantName=p,t.getLanguage=function(){return v(p())},t.getLanguageFromLocale=v,t.getHubLocation=function(){return c()&&l()?c()+l():null},t.resetConfiguration=function(){(0,i.setGlobalOilObject)("CONFIG",null)},t.getCustomPurposes=g,t.getCustomPurposeIds=function(){return g().map(function(e){return e.id})},t.getAdvancedSettingsPurposesDefault=function(){return u(o.OIL_CONFIG.ATTR_ADVANCED_SETTINGS_PURPOSES_DEFAULT,!1)},t.getDefaultToOptin=function(){return u(o.OIL_CONFIG.ATTR_DEFAULT_TO_OPTIN,!1)},t.getLocale=h,t.setLocale=function(e){s(o.OIL_CONFIG.ATTR_LOCALE,e)},t.gdprApplies=function(){return u(o.OIL_CONFIG.ATTR_GDPR_APPLIES_GLOBALLY,!0)||u(o.OIL_CONFIG.ATTR_GDPR_APPLIES,!1)},t.setGdprApplies=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];s(o.OIL_CONFIG.ATTR_GDPR_APPLIES,e)};var o=n(13),r=n(5),i=n(2);function a(){if(!(0,i.getGlobalOilObject)("CONFIG")){var e=document.querySelector('script[type="application/configuration"]#oil-configuration');null===e&&(0,r.logInfo)("Using default config"),(0,i.setGlobalOilObject)("CONFIG",function(e){var t={};try{e&&e.text&&(t=JSON.parse(e.text),(0,r.logInfo)("Parsed config",t))}catch(e){(0,r.logError)("Error config",e)}return t}(e)),(0,i.setGlobalOilObject)("CONFIG_ATTRIBUTES",o.OIL_CONFIG),(a=h())&&"string"!=typeof a||void 0!==d()||((0,r.logError)("Incorrect or missing locale parameter found. Please review documentation on how to set the locale object in your configuration."),t="https://oil-backend.herokuapp.com/oil/api/userViewLocales/"+p(),s(o.OIL_CONFIG.ATTR_LOCALE_URL,t)),f()&&(n.p=f())}var t,a;return(0,i.getGlobalOilObject)("CONFIG")}function u(e,t){var n=a();return n&&void 0!==n[e]?n[e]:t}function s(e,t){a()[e]=t}function c(){var e=u(o.OIL_CONFIG.ATTR_HUB_ORIGIN,"//oil.axelspringer.com");return e?-1!==e.indexOf("http")?e:location.protocol+e:null}function l(){return u(o.OIL_CONFIG.ATTR_HUB_PATH,"/release/"+i.OilVersion.getLatestReleaseVersion()+"/hub.html")}function f(){var e=u(o.OIL_CONFIG.ATTR_PUBLIC_PATH,void 0);return e&&"/"!==e.substr(-1)&&(e+="/"),e}function d(){return u(o.OIL_CONFIG.ATTR_LOCALE_URL,void 0)}function p(){var e=h();return e||(e="enEN_01"),e&&(0,i.isObject)(e)?e.localeId:e}function v(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en").substring(0,2)}function g(){return u(o.OIL_CONFIG.ATTR_CUSTOM_PURPOSES,[])}function h(){return u(o.OIL_CONFIG.ATTR_LOCALE,void 0)}},function(e,t,n){var o=n(1),r=n(8),i=n(14),a=n(23),u=n(24),s=function(e,t,n){var c,l,f,d,p=e&s.F,v=e&s.G,g=e&s.S,h=e&s.P,_=e&s.B,m=v?o:g?o[t]||(o[t]={}):(o[t]||{}).prototype,y=v?r:r[t]||(r[t]={}),O=y.prototype||(y.prototype={});for(c in v&&(n=t),n)f=((l=!p&&m&&void 0!==m[c])?m:n)[c],d=_&&l?u(f,o):h&&"function"==typeof f?u(Function.call,f):f,m&&a(m,c,f,e&s.U),y[c]!=f&&i(y,c,d),h&&O[c]!=f&&(O[c]=f)};o.core=r,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var o=n(3),r=n(39),i=n(31),a=Object.defineProperty;t.f=n(10)?Object.defineProperty:function(e,t,n){if(o(e),t=i(t,!0),o(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var o=n(41),r=n(32);e.exports=function(e){return o(r(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OIL_SPEC={CMP_ID:80,CMP_VERSION:1,LATEST_CONSENT_STRING_VERSION:1},t.OIL_CONFIG={ATTR_ACTIVATE_POI:"poi_activate_poi",ATTR_HUB_ORIGIN:"poi_hub_origin",ATTR_HUB_PATH:"poi_hub_path",ATTR_PUBLIC_PATH:"publicPath",ATTR_HUB_LOCATION:"poi_hub_location",ATTR_SUB_SET_COOKIE:"poi_subscriber_set_cookie",ATTR_PREVIEW_MODE:"preview_mode",ATTR_COOKIE_EXPIRES_IN_DAYS:"cookie_expires_in_days",ATTR_TIMESTAMP:"timestamp",ATTR_PRIVACY_PAGE_URL:"privacy_page_url",ATTR_POI_GROUP_NAME:"poi_group_name",ATTR_ADVANCED_SETTINGS:"advanced_settings",ATTR_PERSIST_MINIMUM_TRACKING:"persist_min_tracking",ATTR_LOCALE:"locale",ATTR_CPC_TYPE:"cpc_type",ATTR_THEME:"theme",ATTR_TIMEOUT:"timeout",ATTR_LOCALE_URL:"locale_url",ATTR_IAB_VENDOR_LIST_URL:"iabVendorListUrl",ATTR_CUSTOM_PURPOSES:"customPurposes",ATTR_IAB_VENDOR_BLACKLIST:"iabVendorBlacklist",ATTR_IAB_VENDOR_WHITELIST:"iabVendorWhitelist",ATTR_ADVANCED_SETTINGS_PURPOSES_DEFAULT:"advanced_settings_purposes_default",ATTR_DEFAULT_TO_OPTIN:"default_to_optin",ATTR_GDPR_APPLIES_GLOBALLY:"gdpr_applies_globally",ATTR_GDPR_APPLIES:"gdpr_applies"},t.OIL_CONFIG_CPC_TYPES={CPC_TYPE_STANDARD:"standard",CPC_TYPE_TABS:"tabs"},t.EVENT_NAME_OPT_IN="oil_optin_done",t.EVENT_NAME_SOI_OPT_IN="oil_soi_optin_done",t.EVENT_NAME_POI_OPT_IN="oil_poi_optin_done",t.EVENT_NAME_OPT_OUT="oil_optout_done",t.EVENT_NAME_AS_PRIVACY_SELECTED="oil_as_cpc_privacy_selected",t.EVENT_NAME_ADVANCED_SETTINGS="oil_click_advanced_settings",t.EVENT_NAME_TIMEOUT="oil_hide_layer",t.EVENT_NAME_COMPANY_LIST="oil_click_company_list",t.EVENT_NAME_THIRD_PARTY_LIST="oil_click_thirdparty_list",t.EVENT_NAME_BACK_TO_MAIN="oil_click_back_to_main",t.EVENT_NAME_NO_COOKIES_ALLOWED="oil_no_cookies_allowed",t.EVENT_NAME_OIL_SHOWN="oil_shown",t.EVENT_NAME_HAS_OPTED_IN="oil_has_optedin",t.PRIVACY_MINIMUM_TRACKING=0,t.PRIVACY_FULL_TRACKING=1,t.POI_FALLBACK_NAME="fallback",t.POI_FALLBACK_GROUP_NAME="group_name",t.POI_PAYLOAD="payload",t.OIL_PAYLOAD_PRIVACY="p",t.OIL_PAYLOAD_VERSION="v",t.OIL_PAYLOAD_LOCALE_VARIANT_NAME="lvn",t.OIL_PAYLOAD_LOCALE_VARIANT_VERSION="lvv",t.OIL_PAYLOAD_CUSTOM_PURPOSES="cp",t.DATAQA_PRIVACY_PAGE="oil-PrivacyPage",t.DATA_CONTEXT_YES="YES",t.DATA_CONTEXT_ADVANCED_SETTINGS="ADVANCEDSETTINGS",t.DATA_CONTEXT_BACK="BACK",t.OIL_GLOBAL_OBJECT_NAME="AS_OIL",t.MANAGED_TAG_IDENTIFIER="as-oil",t.MANAGED_TAG_IDENTIFIER_ATTRIBUTE="data-managed",t.MANAGED_TAG_PURPOSES_ATTRIBUTE="data-purposes"},function(e,t,n){var o=n(9),r=n(22);e.exports=n(10)?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.setSessionCookie=_,t.setDomainCookie=m,t.getOilCookie=y,t.hasOutdatedOilCookie=O,t.getSoiCookie=function(){var e=S(),t=O(e)?function(e){var t=i.default.getJSON(g),n=e.defaultCookieContent;return n.opt_in=t.opt_in,n.version=t.version,n.localeVariantName=t.localeVariantName,n.localeVariantVersion=t.localeVariantVersion,n.customPurposes=A(t.privacy),n.consentData.setConsentLanguage((0,u.getLanguageFromLocale)(t.localeVariantName)),n.consentData.setPurposesAllowed(I(t.privacy)),n.consentData.setVendorsAllowed((0,l.getLimitedVendorIds)()),n.consentData.setGlobalVendorList((0,l.getVendorList)()),n.consentString=n.consentData.getConsentString(),n}(e):y(e);return(0,a.logInfo)("Current Oil data from domain cookie: ",t),t},t.setSoiCookieWithPoiCookieData=function(e){return new Promise(function(t,n){(0,l.loadVendorList)().then(function(){var n=S(),o=void 0;if(e.consentString)o=e.consentString;else{var r=n.defaultCookieContent.consentData;r.setPurposesAllowed(e.consentData.allowedPurposeIds),r.setVendorsAllowed(e.consentData.allowedVendorIds),r.setConsentLanguage(e.consentData.consentLanguage),o=r.getConsentString()}var i={opt_in:!0,version:n.defaultCookieContent.version,localeVariantName:n.defaultCookieContent.localeVariantName,localeVariantVersion:n.defaultCookieContent.localeVariantVersion,customPurposes:e.customPurposes,consentString:o};m(n.name,i,n.expires),t(i)}).catch(function(e){return n(e)})})},t.buildSoiCookie=w,t.setSoiCookie=function(e){return new Promise(function(t,n){w(e).then(function(e){m(g,e,(0,u.getCookieExpireInDays)()),t(e)}).catch(function(e){return n(e)})})},t.setPreviewCookie=function(){_(p,"true")},t.setVerboseCookie=function(){_(v,"true")},t.removePreviewCookie=function(){i.default.remove(p)},t.removeVerboseCookie=function(){i.default.remove(v)},t.isPreviewCookieSet=function(){return"true"===i.default.get(p)},t.isVerboseCookieSet=function(){return"true"===i.default.get(v)},t.removeSubscriberCookies=b,t.removeHubCookie=function(e){b(),e&&i.default.remove(e+"_"+g)},t.isBrowserCookieEnabled=function(){i.default.set("oil_cookie_exp","cookiedata");var e=T("oil_cookie_exp");return i.default.remove("oil_cookie_exp"),e},t.getStandardPurposesWithConsent=I,t.getCustomPurposesWithConsent=A;var r,i=(r=n(38))&&r.__esModule?r:{default:r},a=n(5),u=n(6),s=n(2),c=n(13),l=n(29),f=n(2),d=n(56).ConsentString,p="oil_preview",v="oil_verbose",g="oil_data",h="oil_data_session";function _(e,t){i.default.set(e,t)}function m(e,t,n){delete t.consentData,i.default.set(e,t,{expires:n})}function y(e){if(E(e.name,Object.keys(e.defaultCookieContent))){var t=i.default.getJSON(e.name);return t.consentData=new d(t.consentString),t}return e.defaultCookieContent}function O(e){return E(e.name,e.outdated_cookie_content_keys)}function w(e){return new Promise(function(t,n){(0,l.loadVendorList)().then(function(){var n=S(),o=n.defaultCookieContent.consentData;o.setGlobalVendorList((0,l.getVendorList)()),o.setPurposesAllowed(I(e)),o.setVendorsAllowed((0,l.getLimitedVendorIds)()),t({opt_in:!0,version:n.defaultCookieContent.version,localeVariantName:n.defaultCookieContent.localeVariantName,localeVariantVersion:n.defaultCookieContent.localeVariantVersion,customPurposes:A(e),consentString:o.getConsentString()})}).catch(function(e){return n(e)})})}function b(){i.default.remove(g),i.default.remove(h)}function I(e){return"object"===(void 0===e?"undefined":o(e))?(0,l.getPurposes)().map(function(e){return e.id}).filter(function(t){return e[t]}):1===e?(0,l.getPurposes)().map(function(e){return e.id}):[]}function A(e,t){return t||(t=(0,u.getCustomPurposes)()),"object"===(void 0===e?"undefined":o(e))?t.map(function(e){return e.id}).filter(function(t){return e[t]}):1===e?t.map(function(e){return e.id}):[]}function T(e){return void 0!==i.default.get(e)}function E(e,t){return function(e,t){if("string"==typeof e&&Array.isArray(t)&&T(e)){var n=i.default.getJSON(e);return t.every(function(e){return"consentData"===e||n.hasOwnProperty(e)})}return!1}(e,t)}function S(){var e=new d;return e.setCmpId(c.OIL_SPEC.CMP_ID),e.setCmpVersion(c.OIL_SPEC.CMP_VERSION),e.setConsentScreen(1),e.setConsentLanguage((0,u.getLanguage)()),e.setPurposesAllowed((0,u.getDefaultToOptin)()?(0,l.getPurposes)().map(function(e){return e.id}):[]),e.setVendorsAllowed((0,u.getDefaultToOptin)()?(0,l.getLimitedVendorIds)():[]),e.setGlobalVendorList((0,l.getVendorList)()),{name:g,expires:(0,u.getCookieExpireInDays)(),defaultCookieContent:{opt_in:!1,version:f.OilVersion.get(),localeVariantName:(0,u.getLocaleVariantName)(),localeVariantVersion:(0,s.getLocaleVariantVersion)(),customPurposes:A((0,u.getDefaultToOptin)()?1:0),consentData:e,consentString:e.getConsentString()},outdated_cookie_content_keys:["opt_in","timestamp","version","localeVariantName","localeVariantVersion","privacy"]}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},function(e,t,n){var o=n(40),r=n(35);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t){e.exports=!1},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var o=n(1),r=n(14),i=n(11),a=n(18)("src"),u=Function.toString,s=(""+u).split("toString");n(8).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,u){var c="function"==typeof n;c&&(i(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(i(n,a)||r(n,a,e[t]?""+e[t]:s.join(String(t)))),e===o?e[t]=n:u?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||u.call(this)})},function(e,t,n){var o=n(25);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var o=n(42),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},function(e,t,n){var o=n(9).f,r=n(11),i=n(0)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,i)&&o(e,i,{configurable:!0,value:t})}},function(e,t){e.exports={}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cachedVendorList=t.DEFAULT_VENDOR_LIST=void 0,t.loadVendorList=function(){return new Promise(function(e){if(u)e(u);else{var n=(0,o.getIabVendorListUrl)();(0,i.fetchJsonData)(n).then(function(n){var o;t.cachedVendorList=u=n,(o=u).vendors=o.vendors.sort(function(e,t){return e.id-t.id}),e(u)}).catch(function(t){(0,r.logError)("OIL getVendorList failed and returned error: "+t+". Falling back to default vendor list!"),e(f())})}})},t.getPurposes=s,t.getPurposeIds=function(){return s().map(function(e){return e.id})},t.getVendors=c,t.getVendorIds=l,t.getVendorListVersion=function(){return u?u.vendorListVersion:a.vendorListVersion},t.getVendorList=f,t.clearVendorListCache=function(){t.cachedVendorList=u=void 0},t.getLimitedVendorIds=function(){var e=void 0;e=u?l():d();var t=(0,o.getIabVendorWhitelist)(),n=(0,o.getIabVendorBlacklist)();return t&&t.length>0?e=e.filter(function(e){return t.indexOf(e)>-1}):n&&n.length>0&&(e=e.filter(function(e){return-1===n.indexOf(e)})),e};var o=n(6),r=n(5),i=n(2),a=t.DEFAULT_VENDOR_LIST={vendorListVersion:36,maxVendorId:380,lastUpdated:"2018-05-30T16:00:15Z",purposeIds:[1,2,3,4,5]},u=t.cachedVendorList=void 0;function s(){return u?u.purposes:p(a.purposeIds)}function c(){return u?u.vendors:p(d())}function l(){return c().map(function(e){return e.id})}function f(){return u||{vendorListVersion:a.vendorListVersion,lastUpdated:a.lastUpdated,vendors:p(d()),purposes:p(a.purposeIds),features:[],isDefault:!0}}function d(){return function(e,t){for(;e--;)t[e]=e+1;return t}(a.maxVendorId,[])}function p(e){return e.map(function(e){return{id:e}})}},function(e,t,n){var o=n(4),r=n(1).document,i=o(r)&&o(r.createElement);e.exports=function(e){return i?r.createElement(e):{}}},function(e,t,n){var o=n(4);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var o=n(34)("keys"),r=n(18);e.exports=function(e){return o[e]||(o[e]=r(e))}},function(e,t,n){var o=n(8),r=n(1),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:o.version,mode:n(20)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var o=n(32);e.exports=function(e){return Object(o(e))}},function(e,t,n){var o,r,i;
/*!
* JavaScript Cookie v2.1.4
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/
/*!
* JavaScript Cookie v2.1.4
* https://github.com/js-cookie/js-cookie
*
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
* Released under the MIT license
*/
void 0===(r="function"==typeof(o=i=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var o in n)t[o]=n[o]}return t}return function t(n){function o(t,r,i){var a;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},o.defaults,i)).expires){var u=new Date;u.setMilliseconds(u.getMilliseconds()+864e5*i.expires),i.expires=u}i.expires=i.expires?i.expires.toUTCString():"";try{a=JSON.stringify(r),/^[\{\[]/.test(a)&&(r=a)}catch(e){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var s="";for(var c in i)i[c]&&(s+="; "+c,!0!==i[c]&&(s+="="+i[c]));return document.cookie=t+"="+r+s}t||(a={});for(var l=document.cookie?document.cookie.split("; "):[],f=/(%[0-9A-Z]{2})+/g,d=0;d<l.length;d++){var p=l[d].split("="),v=p.slice(1).join("=");'"'===v.charAt(0)&&(v=v.slice(1,-1));try{var g=p[0].replace(f,decodeURIComponent);if(v=n.read?n.read(v,g):n(v,g)||v.replace(f,decodeURIComponent),this.json)try{v=JSON.parse(v)}catch(e){}if(t===g){a=v;break}t||(a[g]=v)}catch(e){}}return a}}return o.set=o,o.get=function(e){return o.call(o,e)},o.getJSON=function(){return o.apply({json:!0},[].slice.call(arguments))},o.defaults={},o.remove=function(t,n){o(t,"",e(n,{expires:-1}))},o.withConverter=t,o}(function(){})})?o.call(t,n,t,e):o)||(e.exports=r),e.exports=i()},function(e,t,n){e.exports=!n(10)&&!n(17)(function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var o=n(11),r=n(12),i=n(60)(!1),a=n(33)("IE_PROTO");e.exports=function(e,t){var n,u=r(e),s=0,c=[];for(n in u)n!=a&&o(u,n)&&c.push(n);for(;t.length>s;)o(u,n=t[s++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var o=n(15);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},function(e,t){var n=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},function(e,t,n){var o=n(42),r=Math.max,i=Math.min;e.exports=function(e,t){return(e=o(e))<0?r(e+t,0):i(e,t)}},function(e,t,n){t.f=n(0)},function(e,t,n){var o=n(3),r=n(66),i=n(35),a=n(33)("IE_PROTO"),u=function(){},s=function(){var e,t=n(30)("iframe"),o=i.length;for(t.style.display="none",n(46).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;o--;)delete s.prototype[i[o]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=o(e),n=new u,u.prototype=null,n[a]=e):n=s(),void 0===t?n:r(n,t)}},function(e,t,n){var o=n(1).document;e.exports=o&&o.documentElement},function(e,t,n){var o=n(40),r=n(35).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){var o=n(0)("unscopables"),r=Array.prototype;void 0==r[o]&&n(14)(r,o,{}),e.exports=function(e){r[o][e]=!0}},function(e,t,n){var o=n(15),r=n(0)("toStringTag"),i="Arguments"==o(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:i?o(t):"Object"==(a=o(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var o,r,i,a=n(24),u=n(89),s=n(46),c=n(30),l=n(1),f=l.process,d=l.setImmediate,p=l.clearImmediate,v=l.MessageChannel,g=l.Dispatch,h=0,_={},m=function(){var e=+this;if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},y=function(e){m.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++h]=function(){u("function"==typeof e?e:Function(e),t)},o(h),h},p=function(e){delete _[e]},"process"==n(15)(f)?o=function(e){f.nextTick(a(m,e,1))}:g&&g.now?o=function(e){g.now(a(m,e,1))}:v?(i=(r=new v).port2,r.port1.onmessage=y,o=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(o=function(e){l.postMessage(e+"","*")},l.addEventListener("message",y,!1)):o="onreadystatechange"in c("script")?function(e){s.appendChild(c("script")).onreadystatechange=function(){s.removeChild(this),m.call(e)}}:function(e){setTimeout(a(m,e,1),0)}),e.exports={set:d,clear:p}},function(e,t,n){"use strict";var o=n(25);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,o){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=o}),this.resolve=o(t),this.reject=o(n)}(e)}},function(e,t,n){"use strict";var o,r,i,a,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},c=Array.from||(o=function(e){return"function"==typeof e},r=Math.pow(2,53)-1,i=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),r)},a=function(e){var t=e.next();return!Boolean(t.done)&&t},function(e){var t,n,r,s=this,c=arguments.length>1?arguments[1]:void 0;if(void 0!==c){if(!o(c))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(t=arguments[2])}var l=function(e,t){if(null!=e&&null!=t){var n=e[t];if(null==n)return;if(!o(n))throw new TypeError(n+" is not a function");return n}}(e,function(e){if(null!=e){if(["string","number","boolean","symbol"].indexOf(void 0===e?"undefined":u(e))>-1)return Symbol.iterator;if("undefined"!=typeof Symbol&&"iterator"in Symbol&&Symbol.iterator in e)return Symbol.iterator;if("@@iterator"in e)return"@@iterator"}}(e));if(void 0!==l){n=o(s)?Object(new s):[];var f,d,p=l.call(e);if(null==p)throw new TypeError("Array.from requires an array-like or iterable object");for(r=0;;){if(!(f=a(p)))return n.length=r,n;d=f.value,n[r]=c?c.call(t,d,r):d,r++}}else{var v=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var g,h=i(v.length);for(n=o(s)?Object(new s(h)):new Array(h),r=0;r<h;)g=v[r],n[r]=c?c.call(t,g,r):g,r++;n.length=h}return n});function l(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return c(e)}var f=n(53),d=f.encodeToBase64,p=f.padRight;function v(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,n=Math.max.apply(Math,[0].concat(l(e.map(function(e){return e.id})),l(c(t)))),o="",r=1;r<=n;r+=1)o+=-1!==t.indexOf(r)?"1":"0";return o}function g(e,t){var n=[],o=e.map(function(e){return e.id});return e.reduce(function(r,i,a){var u=i.id;if(-1!==t.indexOf(u)&&n.push(u),(-1===t.indexOf(u)||a===e.length-1||-1===o.indexOf(u+1))&&n.length){var s=n.shift(),c=n.pop();return n=[],[].concat(l(r),[{isRange:"number"==typeof c,startVendorId:s,endVendorId:c}])}return r},[])}e.exports={convertVendorsToRanges:g,encodeConsentString:function(e){var t=e.maxVendorId,n=e.vendorList,o=void 0===n?{}:n,r=e.allowedPurposeIds,i=e.allowedVendorIds,a=o.vendors,u=void 0===a?[]:a,c=o.purposes,l=void 0===c?[]:c;t||(t=0,u.forEach(function(e){e.id>t&&(t=e.id)}));var f=d(s({},e,{maxVendorId:t,purposeIdBitString:v(l,r),isRange:!1,vendorIdBitString:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n="",o=1;o<=e;o+=1)n+=-1!==t.indexOf(o)?"1":"0";return p(n,Math.max(0,e-n.length))}(t,i)})),h=g(u,i),_=d(s({},e,{maxVendorId:t,purposeIdBitString:v(l,r),isRange:!0,defaultConsent:!1,numEntries:h.length,vendorRangeList:h}));return f.length<_.length?f:_}}},function(e,t,n){"use strict";var o,r,i,a,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=Array.from||(o=function(e){return"function"==typeof e},r=Math.pow(2,53)-1,i=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),r)},a=function(e){var t=e.next();return!Boolean(t.done)&&t},function(e){var t,n,r,s=this,c=arguments.length>1?arguments[1]:void 0;if(void 0!==c){if(!o(c))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(t=arguments[2])}var l=function(e,t){if(null!=e&&null!=t){var n=e[t];if(null==n)return;if(!o(n))throw new TypeError(n+" is not a function");return n}}(e,function(e){if(null!=e){if(["string","number","boolean","symbol"].indexOf(void 0===e?"undefined":u(e))>-1)return Symbol.iterator;if("undefined"!=typeof Symbol&&"iterator"in Symbol&&Symbol.iterator in e)return Symbol.iterator;if("@@iterator"in e)return"@@iterator"}}(e));if(void 0!==l){n=o(s)?Object(new s):[];var f,d,p=l.call(e);if(null==p)throw new TypeError("Array.from requires an array-like or iterable object");for(r=0;;){if(!(f=a(p)))return n.length=r,n;d=f.value,n[r]=c?c.call(t,d,r):d,r++}}else{var v=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var g,h=i(v.length);for(n=o(s)?Object(new s(h)):new Array(h),r=0;r<h;)g=v[r],n[r]=c?c.call(t,g,r):g,r++;n.length=h}return n}),c=n(98),l=n(54),f=l.versionNumBits,d=l.vendorVersionMap;function p(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",n="",o=0;o<e;o+=1)n+=t;return n}function v(e,t){return p(Math.max(0,t))+e}function g(e,t){return e+p(Math.max(0,t))}function h(e,t){var n="";return"number"!=typeof e||isNaN(e)||(n=parseInt(e,10).toString(2)),t>=n.length&&(n=v(n,t-n.length)),n.length>t&&(n=n.substring(0,t)),n}function _(e){return h(!0===e?1:0,1)}function m(e,t){return e instanceof Date?h(e.getTime()/100,t):h(e,t)}function y(e,t){return h(e.toUpperCase().charCodeAt(0)-65,t)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12;return y(e.slice(0,1),t/2)+y(e.slice(1),t/2)}function w(e,t,n){return parseInt(e.substr(t,n),2)}function b(e,t,n){return new Date(100*w(e,t,n))}function I(e,t){return 1===parseInt(e.substr(t,1),2)}function A(e){var t=w(e);return String.fromCharCode(t+65).toLowerCase()}function T(e,t,n){var o=e.substr(t,n);return A(o.slice(0,n/2))+A(o.slice(n/2))}function E(e){var t=e.input,n=e.field,o=n.name,r=n.type,i=n.numBits,a=n.encoder,u=n.validator;if("function"==typeof u&&!u(t))return"";if("function"==typeof a)return a(t);var s="function"==typeof i?i(t):i,c=t[o],l=null===c||void 0===c?"":c;switch(r){case"int":return h(l,s);case"bool":return _(l);case"date":return m(l,s);case"bits":return g(l,s-l.length).substring(0,s);case"list":return l.reduce(function(e,t){return e+S({input:t,fields:n.fields})},"");case"language":return O(l,s);default:throw new Error("ConsentString - Unknown field type "+r+" for encoding")}}function S(e){var t=e.input;return e.fields.reduce(function(e,n){return e+E({input:t,field:n})},"")}function C(e,t){var n=e.version;if("number"!=typeof n)throw new Error("ConsentString - No version field to encode");if(t[n])return S({input:e,fields:t[n].fields});throw new Error("ConsentString - No definition for version "+n)}e.exports={padRight:g,padLeft:v,encodeField:E,encodeDataToBits:C,encodeIntToBits:h,encodeBoolToBits:_,encodeDateToBits:m,encodeLanguageToBits:O,encodeLetterToBits:y,encodeToBase64:function(e){var t=C(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:d);if(t){for(var n=g(t,7-(t.length+7)%8),o="",r=0;r<n.length;r+=8)o+=String.fromCharCode(parseInt(n.substr(r,8),2));return c.encode(o).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}return null},decodeBitsToIds:function(e){return e.split("").reduce(function(e,t,n){return"1"===t&&-1===e.indexOf(n+1)&&e.push(n+1),e},[])},decodeBitsToInt:w,decodeBitsToDate:b,decodeBitsToBool:I,decodeBitsToLanguage:T,decodeBitsToLetter:A,decodeFromBase64:function(e,t){for(var n=e;n.length%4!=0;)n+="=";n=n.replace(/-/g,"+").replace(/_/g,"/");for(var o=c.decode(n),r="",i=0;i<o.length;i+=1){var a=o.charCodeAt(i).toString(2);r+=v(a,8-a.length)}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d,n=w(e,0,f);if("number"!=typeof n)throw new Error("ConsentString - Unknown version number in the string to decode");if(!d[n])throw new Error("ConsentString - Unsupported version "+n+" in the string to decode");return function e(t){var n=t.input,o=t.fields,r=t.startPosition,i=void 0===r?0:r;return{decodedObject:o.reduce(function(t,o){var r=o.name,a=o.numBits,u=function(t){var n=t.input,o=t.output,r=t.startPosition,i=t.field,a=i.type,u=i.numBits,c=i.decoder,l=i.validator,f=i.listCount;if("function"==typeof l&&!l(o))return{newPosition:r};if("function"==typeof c)return c(n,o,r);var d="function"==typeof u?u(o):u,p=0;switch("function"==typeof f?p=f(o):"number"==typeof f&&(p=f),a){case"int":return{fieldValue:w(n,r,d)};case"bool":return{fieldValue:I(n,r)};case"date":return{fieldValue:b(n,r,d)};case"bits":return{fieldValue:n.substr(r,d)};case"list":return new Array(p).fill().reduce(function(t){var o=e({input:n,fields:i.fields,startPosition:t.newPosition}),r=o.decodedObject,a=o.newPosition;return{fieldValue:[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return s(e)}(t.fieldValue),[r]),newPosition:a}},{fieldValue:[],newPosition:r});case"language":return{fieldValue:T(n,r,d)};default:throw new Error("ConsentString - Unknown field type "+a+" for decoding")}}({input:n,output:t,startPosition:i,field:o}),c=u.fieldValue,l=u.newPosition;return void 0!==c&&(t[r]=c),void 0!==l?i=l:"number"==typeof a&&(i+=a),t},{}),newPosition:i}}({input:e,fields:t[n].fields}).decodedObject}(r,t)}}},function(e,t,n){"use strict";"function"==typeof Symbol&&Symbol.iterator,Array.from||Math.pow(2,53),e.exports={versionNumBits:6,vendorVersionMap:{1:{version:1,metadataFields:["version","created","lastUpdated","cmpId","cmpVersion","consentScreen","vendorListVersion"],fields:[{name:"version",type:"int",numBits:6},{name:"created",type:"date",numBits:36},{name:"lastUpdated",type:"date",numBits:36},{name:"cmpId",type:"int",numBits:12},{name:"cmpVersion",type:"int",numBits:12},{name:"consentScreen",type:"int",numBits:6},{name:"consentLanguage",type:"language",numBits:12},{name:"vendorListVersion",type:"int",numBits:12},{name:"purposeIdBitString",type:"bits",numBits:24},{name:"maxVendorId",type:"int",numBits:16},{name:"isRange",type:"bool",numBits:1},{name:"vendorIdBitString",type:"bits",numBits:function(e){return e.maxVendorId},validator:function(e){return!e.isRange}},{name:"defaultConsent",type:"bool",numBits:1,validator:function(e){return e.isRange}},{name:"numEntries",numBits:12,type:"int",validator:function(e){return e.isRange}},{name:"vendorRangeList",type:"list",listCount:function(e){return e.numEntries},validator:function(e){return e.isRange},fields:[{name:"isRange",type:"bool",numBits:1},{name:"startVendorId",type:"int",numBits:16},{name:"endVendorId",type:"int",numBits:16,validator:function(e){return e.isRange}}]}]}}}},function(e,t,n){"use strict";"function"==typeof Symbol&&Symbol.iterator;var o=(Array.from||Math.pow(2,53),n(53)),r=o.decodeBitsToIds,i=o.decodeFromBase64;e.exports={decodeConsentString:function(e){var t=i(e),n=t.version,o=t.cmpId,a=t.vendorListVersion,u=t.purposeIdBitString,s=t.maxVendorId,c=t.created,l=t.lastUpdated,f=t.isRange,d=t.defaultConsent,p=t.vendorIdBitString,v=t.vendorRangeList,g=t.cmpVersion,h=t.consentScreen,_=t.consentLanguage,m={version:n,cmpId:o,vendorListVersion:a,allowedPurposeIds:r(u),maxVendorId:s,created:c,lastUpdated:l,cmpVersion:g,consentScreen:h,consentLanguage:_};if(f){var y=v.reduce(function(e,t){for(var n=t.isRange,o=t.startVendorId,r=t.endVendorId,i=n?r:o,a=o;a<=i;a+=1)e[a]=!0;return e},{});m.allowedVendorIds=[];for(var O=0;O<=s;O+=1)(d&&!y[O]||!d&&y[O])&&-1===m.allowedVendorIds.indexOf(O)&&m.allowedVendorIds.push(O)}else m.allowedVendorIds=r(p);return m}}},function(e,t,n){"use strict";"function"==typeof Symbol&&Symbol.iterator;var o=(Array.from||Math.pow(2,53),n(97).ConsentString),r=n(55).decodeConsentString,i=n(52).encodeConsentString;e.exports={ConsentString:o,decodeConsentString:r,encodeConsentString:i}},function(e,t,n){"use strict";function o(){Object.values||n(58),window.Promise||(n(61),n(69),n(71),n(75),n(80),n(82),n(8))}Object.defineProperty(t,"__esModule",{value:!0}),t.generatePolyfills=o,t.default=o()},function(e,t,n){var o=n(7),r=n(59)(!1);o(o.S,"Object",{values:function(e){return r(e)}})},function(e,t,n){var o=n(19),r=n(12),i=n(21).f;e.exports=function(e){return function(t){for(var n,a=r(t),u=o(a),s=u.length,c=0,l=[];s>c;)i.call(a,n=u[c++])&&l.push(e?[n,a[n]]:a[n]);return l}}},function(e,t,n){var o=n(12),r=n(26),i=n(43);e.exports=function(e){return function(t,n,a){var u,s=o(t),c=r(s.length),l=i(a,c);if(e&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(10),a=n(7),u=n(23),s=n(62).KEY,c=n(17),l=n(34),f=n(27),d=n(18),p=n(0),v=n(44),g=n(63),h=n(64),_=n(65),m=n(3),y=n(4),O=n(12),w=n(31),b=n(22),I=n(45),A=n(67),T=n(68),E=n(9),S=n(19),C=T.f,P=E.f,L=A.f,V=o.Symbol,N=o.JSON,x=N&&N.stringify,R=p("_hidden"),k=p("toPrimitive"),D={}.propertyIsEnumerable,M=l("symbol-registry"),j=l("symbols"),G=l("op-symbols"),B=Object.prototype,F="function"==typeof V,U=o.QObject,H=!U||!U.prototype||!U.prototype.findChild,J=i&&c(function(){return 7!=I(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,t,n){var o=C(B,t);o&&delete B[t],P(e,t,n),o&&e!==B&&P(B,t,o)}:P,W=function(e){var t=j[e]=I(V.prototype);return t._k=e,t},Y=F&&"symbol"==typeof V.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof V},K=function(e,t,n){return e===B&&K(G,t,n),m(e),t=w(t,!0),m(n),r(j,t)?(n.enumerable?(r(e,R)&&e[R][t]&&(e[R][t]=!1),n=I(n,{enumerable:b(0,!1)})):(r(e,R)||P(e,R,b(1,{})),e[R][t]=!0),J(e,t,n)):P(e,t,n)},q=function(e,t){m(e);for(var n,o=h(t=O(t)),r=0,i=o.length;i>r;)K(e,n=o[r++],t[n]);return e},z=function(e){var t=D.call(this,e=w(e,!0));return!(this===B&&r(j,e)&&!r(G,e))&&(!(t||!r(this,e)||!r(j,e)||r(this,R)&&this[R][e])||t)},X=function(e,t){if(e=O(e),t=w(t,!0),e!==B||!r(j,t)||r(G,t)){var n=C(e,t);return!n||!r(j,t)||r(e,R)&&e[R][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=L(O(e)),o=[],i=0;n.length>i;)r(j,t=n[i++])||t==R||t==s||o.push(t);return o},Q=function(e){for(var t,n=e===B,o=L(n?G:O(e)),i=[],a=0;o.length>a;)!r(j,t=o[a++])||n&&!r(B,t)||i.push(j[t]);return i};F||(u((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(G,n),r(this,R)&&r(this[R],e)&&(this[R][e]=!1),J(this,e,b(1,n))};return i&&H&&J(B,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",function(){return this._k}),T.f=X,E.f=K,n(47).f=A.f=Z,n(21).f=z,n(36).f=Q,i&&!n(20)&&u(B,"propertyIsEnumerable",z,!0),v.f=function(e){return W(p(e))}),a(a.G+a.W+a.F*!F,{Symbol:V});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;$.length>ee;)p($[ee++]);for(var te=S(p.store),ne=0;te.length>ne;)g(te[ne++]);a(a.S+a.F*!F,"Symbol",{for:function(e){return r(M,e+="")?M[e]:M[e]=V(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in M)if(M[t]===e)return t},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!F,"Object",{create:function(e,t){return void 0===t?I(e):q(I(e),t)},defineProperty:K,defineProperties:q,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:Q}),N&&a(a.S+a.F*(!F||c(function(){var e=V();return"[null]"!=x([e])||"{}"!=x({a:e})||"{}"!=x(Object(e))})),"JSON",{stringify:function(e){for(var t,n,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);if(n=t=o[1],(y(t)||void 0!==e)&&!Y(e))return _(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),o[1]=t,x.apply(N,o)}}),V.prototype[k]||n(14)(V.prototype,k,V.prototype.valueOf),f(V,"Symbol"),f(Math,"Math",!0),f(o.JSON,"JSON",!0)},function(e,t,n){var o=n(18)("meta"),r=n(4),i=n(11),a=n(9).f,u=0,s=Object.isExtensible||function(){return!0},c=!n(17)(function(){return s(Object.preventExtensions({}))}),l=function(e){a(e,o,{value:{i:"O"+ ++u,w:{}}})},f=e.exports={KEY:o,NEED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,o)){if(!s(e))return"F";if(!t)return"E";l(e)}return e[o].i},getWeak:function(e,t){if(!i(e,o)){if(!s(e))return!0;if(!t)return!1;l(e)}return e[o].w},onFreeze:function(e){return c&&f.NEED&&s(e)&&!i(e,o)&&l(e),e}}},function(e,t,n){var o=n(1),r=n(8),i=n(20),a=n(44),u=n(9).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=i?{}:o.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:a.f(e)})}},function(e,t,n){var o=n(19),r=n(36),i=n(21);e.exports=function(e){var t=o(e),n=r.f;if(n)for(var a,u=n(e),s=i.f,c=0;u.length>c;)s.call(e,a=u[c++])&&t.push(a);return t}},function(e,t,n){var o=n(15);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n){var o=n(9),r=n(3),i=n(19);e.exports=n(10)?Object.defineProperties:function(e,t){r(e);for(var n,a=i(t),u=a.length,s=0;u>s;)o.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var o=n(12),r=n(47).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return r(e)}catch(e){return a.slice()}}(e):r(o(e))}},function(e,t,n){var o=n(21),r=n(22),i=n(12),a=n(31),u=n(11),s=n(39),c=Object.getOwnPropertyDescriptor;t.f=n(10)?c:function(e,t){if(e=i(e),t=a(t,!0),s)try{return c(e,t)}catch(e){}if(u(e,t))return r(!o.f.call(e,t),e[t])}},function(e,t,n){var o=n(7);o(o.S+o.F,"Object",{assign:n(70)})},function(e,t,n){"use strict";var o=n(19),r=n(36),i=n(21),a=n(37),u=n(41),s=Object.assign;e.exports=!s||n(17)(function(){var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=o})?function(e,t){for(var n=a(e),s=arguments.length,c=1,l=r.f,f=i.f;s>c;)for(var d,p=u(arguments[c++]),v=l?o(p).concat(l(p)):o(p),g=v.length,h=0;g>h;)f.call(p,d=v[h++])&&(n[d]=p[d]);return n}:s},function(e,t,n){"use strict";var o=n(7),r=n(26),i=n(72),a="".startsWith;o(o.P+o.F*n(74)("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),o=String(e);return a?a.call(t,o,n):t.slice(n,n+o.length)===o}})},function(e,t,n){var o=n(73),r=n(32);e.exports=function(e,t,n){if(o(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var o=n(4),r=n(15),i=n(0)("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==r(e))}},function(e,t,n){var o=n(0)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){"use strict";var o=n(48),r=n(76),i=n(28),a=n(12);e.exports=n(77)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var o=n(20),r=n(7),i=n(23),a=n(14),u=n(28),s=n(78),c=n(27),l=n(79),f=n(0)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,v,g,h,_){s(n,t,v);var m,y,O,w=function(e){if(!d&&e in T)return T[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},b=t+" Iterator",I="values"==g,A=!1,T=e.prototype,E=T[f]||T["@@iterator"]||g&&T[g],S=E||w(g),C=g?I?w("entries"):S:void 0,P="Array"==t&&T.entries||E;if(P&&(O=l(P.call(new e)))!==Object.prototype&&O.next&&(c(O,b,!0),o||"function"==typeof O[f]||a(O,f,p)),I&&E&&"values"!==E.name&&(A=!0,S=function(){return E.call(this)}),o&&!_||!d&&!A&&T[f]||a(T,f,S),u[t]=S,u[b]=p,g)if(m={values:I?S:w("values"),keys:h?S:w("keys"),entries:C},_)for(y in m)y in T||i(T,y,m[y]);else r(r.P+r.F*(d||A),t,m);return m}},function(e,t,n){"use strict";var o=n(45),r=n(22),i=n(27),a={};n(14)(a,n(0)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=o(a,{next:r(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var o=n(11),r=n(37),i=n(33)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),o(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var o=n(7);o(o.P,"Array",{fill:n(81)}),n(48)("fill")},function(e,t,n){"use strict";var o=n(37),r=n(43),i=n(26);e.exports=function(e){for(var t=o(this),n=i(t.length),a=arguments.length,u=r(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,c=void 0===s?n:r(s,n);c>u;)t[u++]=e;return t}},function(e,t,n){"use strict";var o,r,i,a,u=n(20),s=n(1),c=n(24),l=n(49),f=n(7),d=n(4),p=n(25),v=n(83),g=n(84),h=n(88),_=n(50).set,m=n(90)(),y=n(51),O=n(91),w=n(92),b=n(93),I=s.TypeError,A=s.process,T=A&&A.versions,E=T&&T.v8||"",S=s.Promise,C="process"==l(A),P=function(){},L=r=y.f,V=!!function(){try{var e=S.resolve(1),t=(e.constructor={})[n(0)("species")]=function(e){e(P,P)};return(C||"function"==typeof PromiseRejectionEvent)&&e.then(P)instanceof t&&0!==E.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),N=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},x=function(e,t){if(!e._n){e._n=!0;var n=e._c;m(function(){for(var o=e._v,r=1==e._s,i=0,a=function(t){var n,i,a,u=r?t.ok:t.fail,s=t.resolve,c=t.reject,l=t.domain;try{u?(r||(2==e._h&&D(e),e._h=1),!0===u?n=o:(l&&l.enter(),n=u(o),l&&(l.exit(),a=!0)),n===t.promise?c(I("Promise-chain cycle")):(i=N(n))?i.call(n,s,c):s(n)):c(o)}catch(e){l&&!a&&l.exit(),c(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&R(e)})}},R=function(e){_.call(s,function(){var t,n,o,r=e._v,i=k(e);if(i&&(t=O(function(){C?A.emit("unhandledRejection",r,e):(n=s.onunhandledrejection)?n({promise:e,reason:r}):(o=s.console)&&o.error&&o.error("Unhandled promise rejection",r)}),e._h=C||k(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},k=function(e){return 1!==e._h&&0===(e._a||e._c).length},D=function(e){_.call(s,function(){var t;C?A.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},M=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),x(t,!0))},j=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw I("Promise can't be resolved itself");(t=N(e))?m(function(){var o={_w:n,_d:!1};try{t.call(e,c(j,o,1),c(M,o,1))}catch(e){M.call(o,e)}}):(n._v=e,n._s=1,x(n,!1))}catch(e){M.call({_w:n,_d:!1},e)}}};V||(S=function(e){v(this,S,"Promise","_h"),p(e),o.call(this);try{e(c(j,this,1),c(M,this,1))}catch(e){M.call(this,e)}},(o=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(94)(S.prototype,{then:function(e,t){var n=L(h(this,S));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=C?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&x(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new o;this.promise=e,this.resolve=c(j,e,1),this.reject=c(M,e,1)},y.f=L=function(e){return e===S||e===a?new i(e):r(e)}),f(f.G+f.W+f.F*!V,{Promise:S}),n(27)(S,"Promise"),n(95)("Promise"),a=n(8).Promise,f(f.S+f.F*!V,"Promise",{reject:function(e){var t=L(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(u||!V),"Promise",{resolve:function(e){return b(u&&this===a?S:this,e)}}),f(f.S+f.F*!(V&&n(96)(function(e){S.all(e).catch(P)})),"Promise",{all:function(e){var t=this,n=L(t),o=n.resolve,r=n.reject,i=O(function(){var n=[],i=0,a=1;g(e,!1,function(e){var u=i++,s=!1;n.push(void 0),a++,t.resolve(e).then(function(e){s||(s=!0,n[u]=e,--a||o(n))},r)}),--a||o(n)});return i.e&&r(i.v),n.promise},race:function(e){var t=this,n=L(t),o=n.reject,r=O(function(){g(e,!1,function(e){t.resolve(e).then(n.resolve,o)})});return r.e&&o(r.v),n.promise}})},function(e,t){e.exports=function(e,t,n,o){if(!(e instanceof t)||void 0!==o&&o in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var o=n(24),r=n(85),i=n(86),a=n(3),u=n(26),s=n(87),c={},l={};(t=e.exports=function(e,t,n,f,d){var p,v,g,h,_=d?function(){return e}:s(e),m=o(n,f,t?2:1),y=0;if("function"!=typeof _)throw TypeError(e+" is not iterable!");if(i(_)){for(p=u(e.length);p>y;y++)if((h=t?m(a(v=e[y])[0],v[1]):m(e[y]))===c||h===l)return h}else for(g=_.call(e);!(v=g.next()).done;)if((h=r(g,m,v.value,t))===c||h===l)return h}).BREAK=c,t.RETURN=l},function(e,t,n){var o=n(3);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&o(i.call(e)),t}}},function(e,t,n){var o=n(28),r=n(0)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[r]===e)}},function(e,t,n){var o=n(49),r=n(0)("iterator"),i=n(28);e.exports=n(8).getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||i[o(e)]}},function(e,t,n){var o=n(3),r=n(25),i=n(0)("species");e.exports=function(e,t){var n,a=o(e).constructor;return void 0===a||void 0==(n=o(a)[i])?t:r(n)}},function(e,t){e.exports=function(e,t,n){var o=void 0===n;switch(t.length){case 0:return o?e():e.call(n);case 1:return o?e(t[0]):e.call(n,t[0]);case 2:return o?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return o?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return o?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var o=n(1),r=n(50).set,i=o.MutationObserver||o.WebKitMutationObserver,a=o.process,u=o.Promise,s="process"==n(15)(a);e.exports=function(){var e,t,n,c=function(){var o,r;for(s&&(o=a.domain)&&o.exit();e;){r=e.fn,e=e.next;try{r()}catch(o){throw e?n():t=void 0,o}}t=void 0,o&&o.enter()};if(s)n=function(){a.nextTick(c)};else if(!i||o.navigator&&o.navigator.standalone)if(u&&u.resolve){var l=u.resolve(void 0);n=function(){l.then(c)}}else n=function(){r.call(o,c)};else{var f=!0,d=document.createTextNode("");new i(c).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(o){var r={fn:o,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var o=n(1).navigator;e.exports=o&&o.userAgent||""},function(e,t,n){var o=n(3),r=n(4),i=n(51);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var o=n(23);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},function(e,t,n){"use strict";var o=n(1),r=n(9),i=n(10),a=n(0)("species");e.exports=function(e){var t=o[e];i&&t&&!t[a]&&r.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var o=n(0)("iterator"),r=!1;try{var i=[7][o]();i.return=function(){r=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i=[7],a=i[o]();a.next=function(){return{done:n=!0}},i[o]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();Array.from||Math.pow(2,53);var i=n(52).encodeConsentString,a=n(55).decodeConsentString,u=n(54).vendorVersionMap,s=/^[a-z]{2}$/,c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;!function(t,n){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this),this.created=new Date,this.lastUpdated=new Date,this.version=1,this.vendorList=null,this.vendorListVersion=null,this.cmpId=null,this.cmpVersion=null,this.consentScreen=null,this.consentLanguage=null,this.allowedPurposeIds=[],this.allowedVendorIds=[],t&&Object.assign(this,a(t))}return r(e,[{key:"getConsentString",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.vendorList)throw new Error("ConsentString - A vendor list is required to encode a consent string");return!0===e&&(this.lastUpdated=new Date),i({version:this.getVersion(),vendorList:this.vendorList,allowedPurposeIds:this.allowedPurposeIds,allowedVendorIds:this.allowedVendorIds,created:this.created,lastUpdated:this.lastUpdated,cmpId:this.cmpId,cmpVersion:this.cmpVersion,consentScreen:this.consentScreen,consentLanguage:this.consentLanguage,vendorListVersion:this.vendorListVersion})}},{key:"getMetadataString",value:function(){return i({version:this.getVersion(),created:this.created,lastUpdated:this.lastUpdated,cmpId:this.cmpId,cmpVersion:this.cmpVersion,consentScreen:this.consentScreen,vendorListVersion:this.vendorListVersion})}},{key:"getVersion",value:function(){return this.version}},{key:"getVendorListVersion",value:function(){return this.vendorListVersion}},{key:"setGlobalVendorList",value:function(e){if("object"!==(void 0===e?"undefined":o(e)))throw new Error("ConsentString - You must provide an object when setting the global vendor list");if(!e.vendorListVersion||!Array.isArray(e.purposes)||!Array.isArray(e.vendors))throw new Error("ConsentString - The provided vendor list does not respect the schema from the IAB EU’s GDPR Consent and Transparency Framework");this.vendorList={vendorListVersion:e.vendorListVersion,lastUpdated:e.lastUpdated,purposes:e.purposes,features:e.features,vendors:e.vendors.slice(0).sort(function(e,t){return e.id<t.id?-1:1})},this.vendorListVersion=e.vendorListVersion}},{key:"setCmpId",value:function(e){this.cmpId=e}},{key:"getCmpId",value:function(){return this.cmpId}},{key:"setCmpVersion",value:function(e){this.cmpVersion=e}},{key:"getCmpVersion",value:function(){return this.cmpVersion}},{key:"setConsentScreen",value:function(e){this.consentScreen=e}},{key:"getConsentScreen",value:function(){return this.consentScreen}},{key:"setConsentLanguage",value:function(e){if(!1===s.test(e))throw new Error("ConsentString - The consent language must be a two-letter ISO639-1 code (en, fr, de, etc.)");this.consentLanguage=e}},{key:"getConsentLanguage",value:function(){return this.consentLanguage}},{key:"setPurposesAllowed",value:function(e){this.allowedPurposeIds=e}},{key:"getPurposesAllowed",value:function(){return this.allowedPurposeIds}},{key:"setPurposeAllowed",value:function(e,t){var n=this.allowedPurposeIds.indexOf(e);!0===t?-1===n&&this.allowedPurposeIds.push(e):!1===t&&-1!==n&&this.allowedPurposeIds.splice(n,1)}},{key:"isPurposeAllowed",value:function(e){return-1!==this.allowedPurposeIds.indexOf(e)}},{key:"setVendorsAllowed",value:function(e){this.allowedVendorIds=e}},{key:"getVendorsAllowed",value:function(){return this.allowedVendorIds}},{key:"setVendorAllowed",value:function(e,t){var n=this.allowedVendorIds.indexOf(e);!0===t?-1===n&&this.allowedVendorIds.push(e):!1===t&&-1!==n&&this.allowedVendorIds.splice(n,1)}},{key:"isVendorAllowed",value:function(e){return-1!==this.allowedVendorIds.indexOf(e)}}],[{key:"decodeMetadataString",value:function(e){var t=a(e),n={};return u[t.version].metadataFields.forEach(function(e){n[e]=t[e]}),n}}]),e}();e.exports={ConsentString:c}},function(e,t,n){(function(e,o){var r;/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */!function(i){var a=("object"==typeof e&&e&&e.exports,"object"==typeof o&&o);a.global!==a&&a.window;var u=function(e){this.message=e};(u.prototype=new Error).name="InvalidCharacterError";var s=function(e){throw new u(e)},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=/[\t\n\f\r ]/g,f={encode:function(e){e=String(e),/[^\0-\xFF]/.test(e)&&s("The string to be encoded contains characters outside of the Latin1 range.");for(var t,n,o,r,i=e.length%3,a="",u=-1,l=e.length-i;++u<l;)t=e.charCodeAt(u)<<16,n=e.charCodeAt(++u)<<8,o=e.charCodeAt(++u),a+=c.charAt((r=t+n+o)>>18&63)+c.charAt(r>>12&63)+c.charAt(r>>6&63)+c.charAt(63&r);return 2==i?(t=e.charCodeAt(u)<<8,n=e.charCodeAt(++u),a+=c.charAt((r=t+n)>>10)+c.charAt(r>>4&63)+c.charAt(r<<2&63)+"="):1==i&&(r=e.charCodeAt(u),a+=c.charAt(r>>2)+c.charAt(r<<4&63)+"=="),a},decode:function(e){var t=(e=String(e).replace(l,"")).length;t%4==0&&(t=(e=e.replace(/==?$/,"")).length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&s("Invalid character: the string to be decoded is not correctly encoded.");for(var n,o,r=0,i="",a=-1;++a<t;)o=c.indexOf(e.charAt(a)),n=r%4?64*n+o:o,r++%4&&(i+=String.fromCharCode(255&n>>(-2*r&6)));return i},version:"0.1.0"};void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(99)(e),n(100))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.addFrame=l,t.init=f,t.sendEventToFrame=d,t.verifyPowerOptIn=function(){return new Promise(function(e){(0,i.isPoiActive)()?f().then(function(t){var n=t.iframe;n?n.onload?p((0,a.getOrigin)()).then(function(t){t||e({power_opt_in:!1}),e(t)}):n.onload=function(){return p((0,a.getOrigin)()).then(function(t){t||e({power_opt_in:!1}),e(t)})}:((0,u.logInfo)("Could not initialize POI. Fallback to POI false."),e({power_opt_in:!1}))}):e({power_opt_in:!1})})},t.deActivatePowerOptIn=function(){return(0,u.logInfo)("deActivatePowerOptIn"),(0,i.isPoiActive)()?new Promise(function(e){return f().then(function(){d("oil-poi-delete",(0,a.getOrigin)(),{}),setTimeout(e)})}):new Promise(function(e){e()})};var r=n(13),i=n(6),a=n(2),u=n(5),s=500,c=!1;function l(e){var t=document.getElementById("oil-frame");return t?(0,u.logInfo)("Found iframe"):((0,u.logInfo)("Creating iframe..."),(t=document.createElement("iframe")).setAttribute("id","oil-frame"),t.setAttribute("src",e),t.setAttribute("sandbox","allow-same-origin allow-scripts allow-forms allow-top-navigation"),t.style.width="0",t.style.height="0",t.style.border="0",t.style.border="none",document.body.appendChild(t)),t}function f(){return new Promise(function(e){return setTimeout(function(){if((0,u.logInfo)("Initializing Frame..."),(0,i.isPoiActive)()){var t=(0,i.getHubLocation)();if(t){var n=l(t);n&&!n.onload?n.onload=function(){return e({iframe:n})}:e({iframe:n})}else(0,u.logError)("Config for "+r.OIL_CONFIG.ATTR_HUB_ORIGIN+" and "+r.OIL_CONFIG.ATTR_HUB_PATH+" isnt set. No POI possible."),e(!1)}else(0,u.logInfo)("POI not active. Frame not initialized."),e(!1)})})}function d(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,u.logInfo)("Send to Frame:",e,t),(0,i.isPoiActive)()&&f().then(function(o){var r=o.iframe,a=(0,i.getHubOrigin)(),u=(0,i.getPoiGroupName)();if(r&&a){var s=JSON.stringify({event:e,origin:t,group_name:u,payload:n});r.contentWindow.postMessage(s,a)}})}function p(e){return new Promise(function(t){function n(e){var r=(0,i.getHubOrigin)();if(r&&-1!==r.indexOf(e.origin)){var s="object"!==o(e.data)?JSON.parse(e.data):e.data;(0,u.logInfo)("Message from hub received...",e.origin,s),(0,a.removeMessageListener)(n),c=!1,t(s)}}(0,i.isPoiActive)()||t(!1),setTimeout(function(){return d("oil-status-read",e)}),c||((0,a.registerMessageListener)(n),c=!0),setTimeout(function(){(0,a.removeMessageListener)(n),c=!1,t(!1)},s)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.manageDomElementActivation=function(){for(var e=document.querySelectorAll("["+o.MANAGED_TAG_IDENTIFIER_ATTRIBUTE+"='"+o.MANAGED_TAG_IDENTIFIER+"']"),t=(0,r.getSoiCookie)(),n=0;n<e.length;n++)s(e[n],t)};var o=n(13),r=n(16),i=n(2),a=n(29),u=n(6);function s(e,t){"SCRIPT"===e.tagName?function(e,t){for(var n=document.createElement("script"),r=0;r<e.attributes.length;r++){var i=e.attributes[r];i.name.match(/^data-/)&&n.setAttribute(i.name,i.value)}f(e,t)?(e.getAttribute("data-type")&&(n.type=e.getAttribute("data-type")),e.getAttribute("data-src")&&(n.src=e.getAttribute("data-src"))):n.type=o.MANAGED_TAG_IDENTIFIER,n.innerText=e.innerText,n.text=e.text,n.class=e.class,n.id=e.id,n.defer=e.defer,n.async=e.async,n.charset=e.charset;var a=e.parentElement;a.insertBefore(n,e),a.removeChild(e)}(e,t):function(e,t){var n=["href","src","title","display"];if(f(e,t))for(var o=0;o<n.length;o++)c(e,n[o]);else for(var r=0;r<n.length;r++)l(e,n[r])}(e,t)}function c(e,t){var n=e.getAttribute("data-"+t);"display"===t?e.style.display=n||"":n&&e.setAttribute(t,n)}function l(e,t){"display"===t?e.style.display="none":e.hasAttribute(t)&&e.removeAttribute(t)}function f(e,t){if(t.opt_in){var n=function(e){var t=e.getAttribute(o.MANAGED_TAG_PURPOSES_ATTRIBUTE);return t?t.split(/,\s*/):(0,a.getPurposeIds)().concat((0,u.getCustomPurposeIds)())}(e),r=t.consentData.getPurposesAllowed();return r=r?r.concat(t.customPurposes):t.customPurposes,(0,i.arrayContainsArray)(r,n)}return!1}},,,,,,,,,,,,,,function(e,t,n){"use strict";n(57),(0,n(117).initOilLayer)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initOilLayer=function e(){if((0,i.logInfo)("Init OilLayer (version "+o.OilVersion.get()+")"),(0,c.isPreviewMode)()&&!(0,u.isPreviewCookieSet)()&&(0,i.logPreviewInfo)("Preview mode not correctly set, please see the documentation on how to set the cookie."),document.addEventListener("DOMContentLoaded",function(){(0,d.manageDomElementActivation)()}),function(){function t(e){new Promise(function(e){Promise.all([n.e(1),n.e(0)]).then(function(t){e(n(103))}.bind(null,n)).catch(n.oe)}).then(function(t){(0,c.getLocale)()?e(t):t.locale(e)}).catch(function(e){(0,i.logError)("Locale could not be loaded.",e)})}(0,o.setGlobalOilObject)("previewModeOn",function(){return(0,u.setPreviewCookie)(),"preview mode on"}),(0,o.setGlobalOilObject)("previewModeOff",function(){return(0,u.removePreviewCookie)(),"preview mode off"}),(0,o.setGlobalOilObject)("verboseModeOn",function(){return(0,u.setVerboseCookie)(),"verbose mode on"}),(0,o.setGlobalOilObject)("verboseModeOff",function(){return(0,u.removeVerboseCookie)(),"verbose mode off"}),(0,o.setGlobalOilObject)("reload",function(){return(0,c.resetConfiguration)(),e(),"OIL reloaded"}),(0,o.setGlobalOilObject)("status",function(){return(0,u.getSoiCookie)()}),(0,o.setGlobalOilObject)("showPreferenceCenter",function(){t(function(e){e.oilShowPreferenceCenter()})}),(0,o.setGlobalOilObject)("triggerOptIn",function(){t(function(e){e.handleOptIn()})}),(0,o.setGlobalOilObject)("triggerSoiOptIn",function(){t(function(e){e.handleSoiOptIn()})}),(0,o.setGlobalOilObject)("triggerPoiOptIn",function(){t(function(e){e.handlePoiOptIn()})}),(0,o.setGlobalOilObject)("triggerOptOut",function(){(0,r.handleOptOut)()}),(0,o.setGlobalOilObject)("applyGDPR",function(){return(0,c.setGdprApplies)(!0),e(),"GDPR applied"})}(),(0,s.doSetTealiumVariables)(),!(0,c.isPreviewMode)()||(0,u.isPreviewCookieSet)()){if(!(0,u.isBrowserCookieEnabled)())return(0,i.logInfo)("This browser doesn't allow cookies."),new Promise(function(e){Promise.all([n.e(1),n.e(0)]).then(function(t){e(n(103))}.bind(null,n)).catch(n.oe)}).then(function(e){e.locale(function(e){return e.renderOil({noCookie:!0})})}).catch(function(e){(0,i.logError)("Locale could not be loaded.",e)}),void(0,o.sendEventToHostSite)(l.EVENT_NAME_NO_COOKIES_ALLOWED);(0,a.checkOptIn)().then(function(e){e?((0,o.sendEventToHostSite)(l.EVENT_NAME_HAS_OPTED_IN),(0,f.executeCommandCollection)(),p()):(new Promise(function(e){Promise.all([n.e(1),n.e(0)]).then(function(t){e(n(103))}.bind(null,n)).catch(n.oe)}).then(function(e){e.locale(function(e){return e.renderOil({optIn:!1})}),p()}).catch(function(e){(0,i.logError)("Locale could not be loaded.",e)}),(0,o.sendEventToHostSite)(l.EVENT_NAME_OIL_SHOWN))})}};var o=n(2),r=n(118),i=n(5),a=n(119),u=n(16),s=n(120),c=n(6),l=n(13),f=n(121),d=n(102);function p(){(0,o.setGlobalOilObject)("commandCollectionExecutor",f.executeCommandCollection)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleOptOut=function(){(0,r.logInfo)("OptOut Received."),(0,i.removeSubscriberCookies)(),(0,o.deActivatePowerOptIn)().then(function(){return(0,a.sendEventToHostSite)(u.EVENT_NAME_OPT_OUT)}),(0,s.manageDomElementActivation)()};var o=n(101),r=n(5),i=n(16),a=n(2),u=n(13),s=n(102)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkOptIn=function(){return new Promise(function(e,t){var n=(0,a.getSoiCookie)().opt_in,u=n;(0,o.verifyPowerOptIn)().then(function(o){!function(e,t){o.power_opt_in?(0,r.logPreviewInfo)("User has given POI permit, OIL not shown."):e?(0,r.logPreviewInfo)("User has given SOI permit, OIL not shown."):(0,r.logPreviewInfo)("User has not opted in at all, OIL should be shown.")}(n),o.power_opt_in&&(u=o.power_opt_in,(0,i.isSubscriberSetCookieActive)()&&!n&&(0,a.setSoiCookieWithPoiCookieData)(o).then(function(){return e(u)}).catch(function(e){return t(e)})),e(u)})})};var o=n(101),r=n(5),i=n(6),a=n(16)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.doSetTealiumVariables=f;var o=n(16);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i="_dip_oil_purpose_all",a="_dip_oil_purpose_01",u="_dip_oil_purpose_02",s="_dip_oil_purpose_03",c="_dip_oil_purpose_04",l="_dip_oil_purpose_05";function f(){if(window&&window.utag){!function(){if(!window.oilEventListenerForLoadingRules){window.oilEventListenerForLoadingRules=d;var e=window.addEventListener?"addEventListener":"attachEvent",t="attachEvent"===e?"onmessage":"message";(0,window[e])(t,window.oilEventListenerForLoadingRules,!1)}}(),window.utag_data||(window.utag_data={});var e=window.utag_data,t=(0,o.getSoiCookie)().consentData;if(t){var n=t.getPurposesAllowed();5===n.length?e[i]=1:(function(e,t){e[a]=-1!==t.indexOf(1)?1:0,e[u]=-1!==t.indexOf(2)?1:0,e[s]=-1!==t.indexOf(3)?1:0,e[c]=-1!==t.indexOf(4)?1:0,e[l]=-1!==t.indexOf(5)?1:0}(e,n),function(e){e[i]=1===e[a]&&1===e[u]&&1===e[s]&&1===e[c]&&1===e[l]?1:0}(e))}else!function(e){e[i]=0,e[a]=0,e[u]=0,e[s]=0,e[c]=0,e[l]=0}(e)}}function d(e){var t;e&&e.data&&(t="oil_opt",-1!==JSON.stringify(e.data).indexOf(t))&&(f(),function(){var e=window.utag_data;if(e){var t,n=(r(t={},i,e[i]),r(t,a,e[a]),r(t,u,e[u]),r(t,s,e[s]),r(t,c,e[c]),r(t,l,e[l]),t);window.utag.view(n)}}())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.executeCommandCollection=function(e){if(void 0!==e)s(e);else{var t=(0,r.getCommandCollection)();if(t)for(var n=t.length,o=0;o<n;o++)s(t[o])}};var o=n(5),r=n(2),i=n(122),a=n(29),u={getVendorConsents:function(e){return(0,i.getVendorConsentData)(e)},getConsentData:function(e){return(0,i.getConsentDataString)(e)},getPublisherConsents:function(e){return(0,i.getPublisherConsentData)(e)},getVendorList:function(){return(0,a.getVendorList)()}};function s(e){(0,a.loadVendorList)().then(function(){var t,n;(t=e.command,n=e.parameter,new Promise(function(e,r){return"function"==typeof u[t]?((0,o.logInfo)('Processing command "'+t+'" with parameters "'+n+'"'),e(u[t](n))):r('Invalid CMP command "'+t+'"')})).then(function(t){if(e.callback)e.callback(t,void 0!==t);else if(e.callId){var n=function(e,t){return{__cmpReturn:{returnValue:e,success:void 0!==e,callId:t.callId}}}(t,e);e.event.source.postMessage(n,e.event.origin)}else(0,o.logError)("Invalid command entry '"+JSON.stringify(e)+"' found!")},function(e){return(0,o.logError)(e)})}).catch(function(e){return(0,o.logError)(e)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVendorConsentData=function(e){var t=(0,o.getSoiCookie)();if(t&&t.consentData)return{metadata:t.consentData.getMetadataString(),gdprApplies:(0,r.gdprApplies)(),hasGlobalScope:!1,purposeConsents:u(t.consentData.getPurposesAllowed(),(0,i.getPurposeIds)()),vendorConsents:function(e,t){var n=t&&t.length?t:(0,i.getLimitedVendorIds)(),o=e.consentData.getVendorsAllowed();return n.reduce(function(e,t){return e[t]=-1!==o.indexOf(t),e},{})}(t,e)}},t.getConsentDataString=function(e){var t=(0,o.getSoiCookie)();if(t&&t.consentData){var n=function(e,t){var n=t?parseInt(t,10):a.OIL_SPEC.LATEST_CONSENT_STRING_VERSION;return!isNaN(n)&&n<=e.consentData.getVersion()?e.consentString:null}(t,e);if(n)return{gdprApplies:(0,r.gdprApplies)(),hasGlobalScope:!1,consentData:n}}},t.getPublisherConsentData=function(e){var t=(0,o.getSoiCookie)();if(t&&t.consentData&&t.customPurposes)return{metadata:t.consentData.getMetadataString(),gdprApplies:(0,r.gdprApplies)(),hasGlobalScope:!1,standardPurposeConsents:u(t.consentData.getPurposesAllowed(),(0,i.getPurposeIds)(),e),customPurposeConsents:u(t.customPurposes,(0,r.getCustomPurposeIds)(),e)}};var o=n(16),r=n(6),i=n(29),a=n(13);function u(e,t,n){return(n&&n.length?n:t).filter(function(e){return-1!==t.indexOf(e)}).reduce(function(t,n){return t[n]=-1!==e.indexOf(n),t},{})}}]);