UNPKG

@jumpgroup/avacy

Version:

oil.js Opt-In Layer for consent management based on the IAB TCF Standard

16 lines 179 kB
/*! 2.7.2-SNAPSHOT */!function(e){function t(t){for(var n,o,i=t[0],s=t[1],u=0,a=[];u<i.length;u++)o=i[u],r[o]&&a.push(r[o][0]),r[o]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(c&&c(t);a.length;)a.shift()()}var n={},r={6:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise(function(t,o){n=r[e]=[t,o]});t.push(n[2]=i);var s=document.getElementsByTagName("head")[0],u=document.createElement("script");u.charset="utf-8",u.timeout=120,o.nc&&u.setAttribute("nonce",o.nc),u.src=function(e){return o.p+""+e+".2.7.2-SNAPSHOT.chunk.js"}(e);var c=setTimeout(function(){a({type:"timeout",target:u})},12e4);function a(t){u.onerror=u.onload=null,clearTimeout(c);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src,s=new Error("Loading chunk "+e+" failed.\n("+o+": "+i+")");s.type=o,s.request=i,n[1](s)}r[e]=void 0}}u.onerror=u.onload=a,s.appendChild(u)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o.oe=function(e){throw console.error(e),e};var i=window.oilJsonp=window.oilJsonp||[],s=i.push.bind(i);i.push=t,i=i.slice();for(var u=0;u<i.length;u++)t(i[u]);var c=s;o(o.s=318)}([function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(62)("wks"),o=n(43),i=n(2).Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},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";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(211)),r(n(212)),r(n(213)),r(n(214))},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(108)),r(n(215)),r(n(109)),r(n(110)),r(n(216)),r(n(77)),r(n(111)),r(n(217)),r(n(218))},function(e,t,n){var r=n(2),o=n(0),i=n(40),s=n(15),u=n(16),c=function(e,t,n){var a,l,f,d=e&c.F,p=e&c.G,h=e&c.S,v=e&c.P,_=e&c.B,g=e&c.W,y=p?o:o[t]||(o[t]={}),m=y.prototype,O=p?r:h?r[t]:(r[t]||{}).prototype;for(a in p&&(n=t),n)(l=!d&&O&&void 0!==O[a])&&u(y,a)||(f=l?O[a]:n[a],y[a]=p&&"function"!=typeof O[a]?n[a]:_&&l?i(f,r):g&&O[a]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[a]=f,e&c.R&&m&&!m[a]&&s(m,a,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){var r=n(135)("wks"),o=n(66),i=n(9).Symbol,s="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=s&&i[e]||(s?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(12);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(24)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},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){var r=n(7),o=n(91),i=n(59),s=Object.defineProperty;t.f=n(8)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(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){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(49),o=n(233),i=function(){function e(){}return e.reset=function(){delete this.cmpId,delete this.cmpVersion,delete this.eventStatus,delete this.gdprApplies,delete this.tcModel,delete this.tcString,delete this.tcfPolicyVersion,this.cmpStatus=r.CmpStatus.LOADING,this.disabled=!1,this.displayStatus=r.DisplayStatus.HIDDEN,this.eventQueue.clear()},e.apiVersion="2",e.eventQueue=new o.EventListenerQueue,e.cmpStatus=r.CmpStatus.LOADING,e.disabled=!1,e.displayStatus=r.DisplayStatus.HIDDEN,e}();t.CmpApiModel=i},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(93),o=n(52);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getConfigValue=c,t.getConfigVersion=function(){return c(r.OIL_CONFIG.ATTR_CONFIG_VERSION,r.OIL_CONFIG_DEFAULT_VERSION)},t.getPolicyVersion=function(){return c(r.OIL_CONFIG.ATTR_POLICY_VERSION,r.OIL_POLICY_DEFAULT_VERSION)},t.isPreviewMode=function(){return c(r.OIL_CONFIG.ATTR_PREVIEW_MODE,!1)},t.isPoiActive=function(){return c(r.OIL_CONFIG.ATTR_ACTIVATE_POI,!1)},t.getHubOrigin=a,t.getHubPath=l,t.getPublicPath=f,t.getLocaleUrl=d,t.getIabVendorListDomain=function(){return c(r.OIL_CONFIG.ATTR_IAB_VENDOR_LIST_URL,"https://cdn.jumpgroup.it/assets/")},t.getIabVendorBlacklist=function(){return c(r.OIL_CONFIG.ATTR_IAB_VENDOR_BLACKLIST,void 0)},t.getCustomVendorListUrl=function(){return c(r.OIL_CONFIG.ATTR_CUSTOM_VENDOR_LIST_URL,void 0)},t.getAdditionalConsentListUrl=function(){return c(r.OIL_CONFIG.ATTR_ADDITIONAL_CONSENT_LIST_URL,void 0)},t.getAtpWhitelist=function(){return c(r.OIL_CONFIG.ATTR_ATP_WHITELIST,void 0)},t.getIabVendorWhitelist=function(){return c(r.OIL_CONFIG.ATTR_IAB_VENDOR_WHITELIST,void 0)},t.setIabVendorBlacklist=function(e){u(r.OIL_CONFIG.ATTR_IAB_VENDOR_BLACKLIST,e)},t.setIabVendorWhitelist=function(e){u(r.OIL_CONFIG.ATTR_IAB_VENDOR_WHITELIST,e)},t.getPoiGroupName=function(){return c(r.OIL_CONFIG.ATTR_POI_GROUP_NAME,"default")},t.getCookieExpireInDays=function(){return c(r.OIL_CONFIG.ATTR_COOKIE_EXPIRES_IN_DAYS,365)},t.getLocaleVariantName=p,t.getLanguage=function(){return h(p())},t.getLanguageFromLocale=h,t.getLanguageFromConfigObject=v,t.getHubLocation=function(){return a()+l()},t.getPoiListDirectory=function(){var e,t=a();return-1!==(e=t).indexOf("/",e.length-"/".length)?t.replace(/\/$/,"/poi-lists"):t+"/poi-lists"},t.resetConfiguration=function(){(0,i.setGlobalOilObject)("CONFIG",null)},t.getCustomPurposes=_,t.getCustomPurposeIds=function(){return _().map(function(e){return e.id})},t.isMobileEnvironment=function(){return"native"===c(r.OIL_CONFIG.ATTR_DEVICE_ENVIRONMENT,"web")},t.getNativePublisher=function(){return c(r.OIL_CONFIG.ATTR_NATIVE_PUBLISHER,"avacy")},t.getAdvancedSettingsPurposesDefault=function(){return c(r.OIL_CONFIG.ATTR_ADVANCED_SETTINGS_PURPOSES_DEFAULT,!1)},t.getDefaultToOptin=function(){return c(r.OIL_CONFIG.ATTR_DEFAULT_TO_OPTIN,!1)},t.getLocale=g,t.setLocale=function(e){u(r.OIL_CONFIG.ATTR_LOCALE,e)},t.gdprApplies=function(){return c(r.OIL_CONFIG.ATTR_GDPR_APPLIES_GLOBALLY,!0)||c(r.OIL_CONFIG.ATTR_GDPR_APPLIES,!1)},t.setGdprApplies=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];u(r.OIL_CONFIG.ATTR_GDPR_APPLIES,e)},t.getShowLimitedVendors=function(){return c(r.OIL_CONFIG.ATTR_SHOW_LIMITED_VENDORS_ONLY,!1)},t.isInfoBannerOnly=y,t.suppressCookies=m,t.isAmpModeActivated=function(){return y()&&m()};var r=n(19),o=n(21),i=n(20);function s(){if(!(0,i.getGlobalOilObject)("CONFIG")){var e=document.querySelector('script[type="application/configuration"]#oil-configuration');null===e&&(0,o.logInfo)("Using default config"),(0,i.setGlobalOilObject)("CONFIG",function(e){var t={};try{e&&e.text&&(t=JSON.parse(e.text),(0,o.logInfo)("Parsed config",t))}catch(e){(0,o.logError)("Error config",e)}return t}(e)),(0,i.setGlobalOilObject)("CONFIG_ATTRIBUTES",r.OIL_CONFIG),c(r.OIL_CONFIG.ATTR_CONFIG_VERSION,void 0)||(0,o.logError)('Your configuration is faulty - it must contain a "config_version" property. See the oil.js documentation for details.'),(t=g())&&"string"!=typeof t||void 0!==d()?t&&(0,i.isObject)(t)&&(t.localeId||(0,o.logError)('Your configuration is faulty - "locale" object misses "localeId" property. See the oil.js documentation for details.'),t.version||(0,o.logError)('Your configuration is faulty - "locale" object misses "version" property. See the oil.js documentation for details.')):(0,o.logError)("Incorrect or missing locale parameter found. Please review documentation on how to set the locale object in your configuration. Using default locale."),f()&&(n.p=f())}var t;return(0,i.getGlobalOilObject)("CONFIG")}function u(e,t){s()[e]=t}function c(e,t){var n=s();return n&&void 0!==n[e]?n[e]:t}function a(){var e=c(r.OIL_CONFIG.ATTR_HUB_ORIGIN,"https://unpkg.com");return e?"/"===e||-1!==e.indexOf("http")?e:location.protocol+e:null}function l(){return c(r.OIL_CONFIG.ATTR_HUB_PATH,"/@ideasio/oil.js@"+i.OilVersion.getLatestReleaseVersion()+"/release/current/hub.html")}function f(){var e=c(r.OIL_CONFIG.ATTR_PUBLIC_PATH,void 0);return e&&"/"!==e.substr(-1)&&(e+="/"),e}function d(){return c(r.OIL_CONFIG.ATTR_LOCALE_URL,void 0)}function p(){var e=g();return e||(e="enEN_01"),e&&(0,i.isObject)(e)?e.localeId?e.localeId:"enEN_01":e}function h(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en").substring(0,2)}function v(){return c(r.OIL_CONFIG.ATTR_LANGUAGE,"en")}function _(){return c(r.OIL_CONFIG.ATTR_CUSTOM_PURPOSES,[])}function g(){if(c(r.OIL_CONFIG.ATTR_LANGUAGES_LIST,void 0)){var e=v(),t=c(r.OIL_CONFIG.ATTR_LANGUAGES_LIST,void 0);u(r.OIL_CONFIG.ATTR_LOCALE,t[e])}return c(r.OIL_CONFIG.ATTR_LOCALE,void 0)}function y(){return c(r.OIL_CONFIG.ATTR_INFO_BANNER_ONLY,!1)}function m(){return c(r.OIL_CONFIG.ATTR_SUPPRESS_COOKIES,!1)}},function(e,t,n){var r=n(10),o=n(42);e.exports=n(8)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var r=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(){}return e.prototype.clone=function(){var e=this,t=new this.constructor;return Object.keys(this).forEach(function(n){var r=e.deepClone(e[n]);void 0!==r&&(t[n]=r)}),t},e.prototype.deepClone=function(e){var t,n,o=typeof e;if("number"===o||"string"===o||"boolean"===o)return e;if(null!==e&&"object"===o){if("function"==typeof e.clone)return e.clone();if(e instanceof Date)return new Date(e.getTime());if(void 0!==e[Symbol.iterator]){var i=[];try{for(var s=r(e),u=s.next();!u.done;u=s.next()){var c=u.value;i.push(this.deepClone(c))}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return e instanceof Array?i:new e.constructor(i)}var a={};for(var l in e)e.hasOwnProperty(l)&&(a[l]=this.deepClone(e[l]));return a}},e}();t.Cloneable=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=function(){function e(){}return e.encode=function(e,t){var n;if("string"==typeof e&&(e=parseInt(e,10)),(n=e.toString(2)).length>t||e<0)throw new r.EncodingError(e+" too large to encode into "+t);return n.length<t&&(n="0".repeat(t-n.length)+n),n},e.decode=function(e,t){if(t!==e.length)throw new r.DecodingError("invalid bit length");return parseInt(e,2)},e}();t.IntEncoder=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OIL_SPEC={CMP_ID:297,CMP_VERSION:2,LATEST_CONSENT_STRING_VERSION:2,IS_SERVICE_SPECIFIC:!0,SUPPORT_OOB:!1},t.ADDITIONAL_CONSENT_VERSION="1~",t.OIL_CONFIG={ATTR_CONFIG_VERSION:"config_version",ATTR_POLICY_VERSION:"policy_version",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_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_CLOSE_WITHOUT_CONSENTS:"close_without_consents",ATTR_LOGO_URL:"logo_url",ATTR_PERSIST_MINIMUM_TRACKING:"persist_min_tracking",ATTR_LOCALE:"locale",ATTR_CPC_TYPE:"cpc_type",ATTR_TIMEOUT:"timeout",ATTR_LOCALE_URL:"locale_url",ATTR_IAB_VENDOR_LIST_URL:"iabVendorListUrl",ATTR_CUSTOM_PURPOSES:"customPurposes",ATTR_CUSTOM_VENDOR_LIST_URL:"customVendorListUrl",ATTR_IAB_VENDOR_BLACKLIST:"iabVendorBlacklist",ATTR_IAB_VENDOR_WHITELIST:"iabVendorWhitelist",ATTR_SHOW_LIMITED_VENDORS_ONLY:"show_limited_vendors_only",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",ATTR_REQUIRE_OPTOUT_CONFIRM:"require_optout_confirm",ATTR_INFO_BANNER_ONLY:"info_banner_only",ATTR_SUPPRESS_COOKIES:"suppress_cookies",ATTR_LANGUAGE:"language",ATTR_LANGUAGES_LIST:"languages",ATTR_VISUAL_CONFIGURATION:"visual_configuration",ATTR_ADDITIONAL_CONSENT_LIST_URL:"additionalConsentUrl",ATTR_ATP_WHITELIST:"atpWhitelist",ATTR_DEVICE_ENVIRONMENT:"deviceEnvironment",ATTR_NATIVE_PUBLISHER:"publisher"},t.OIL_CONFIG_CPC_TYPES={CPC_TYPE_STANDARD:"standard",CPC_TYPE_TABS:"tabs"},t.OIL_CONFIG_DEFAULT_VERSION=0,t.OIL_POLICY_DEFAULT_VERSION=0,t.EVENT_NAME_OPT_IN="oil_optin_done",t.EVENT_NAME_CLOSE_BANNER_BUTTON_CLICKED="oil_close_banner_button_clicked",t.EVENT_NAME_OPT_IN_BUTTON_CLICKED="oil_optin_done_button_clicked",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.OIL_PAYLOAD_CUSTOM_VENDORLIST_VERSION="cvl",t.OIL_PAYLOAD_CONFIG_VERSION="cv",t.OIL_PAYLOAD_POLICY_VERSION="pv",t.OIL_PAYLOAD_ADDITIONAL_CONSENT_STRING="atp",t.DATAQA_PRIVACY_PAGE="oil-PrivacyPage",t.JS_CLASS_BUTTON_CLOSE_BANNER="as-js-close-banner",t.JS_CLASS_BUTTON_OPTIN="as-js-optin",t.JS_CLASS_BUTTON_OILBACK="as-js-oilback",t.JS_CLASS_BUTTON_PROCEED="as-js-proceed",t.JS_CLASS_BUTTON_CANCEL="as-js-cancel",t.JS_CLASS_BUTTON_ADVANCED_SETTINGS="as-js-advanced-settings",t.CSS_CLASS_OPTOUT_DIALOG="as-oil-optout-confirm",t.DATA_CONTEXT_YES="YES",t.DATA_CONTEXT_CANCEL="CANCEL",t.DATA_CONTEXT_PROCEED="PROCEED",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__ATTRIBUTES={PURPOSES_ATTRIBUTE:"data-purposes",LEGINT_ATTRIBUTE:"data-legints",SPECIAL_FEATURES_ATTRIBUTE:"data-special-features"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OilVersion=void 0;var r,o=(r=n(22))&&r.__esModule?r:{default:r};t.isProd=function(){return!0},t.isDev=function(){return!1},t.getOrigin=c,t.sendEventToHostSite=function(e){window.postMessage(e,c()),window.AS_OIL.eventCollection=window.AS_OIL.eventCollection||[],window.AS_OIL.eventCollection.push({name:e,timestamp:(new Date).getTime()}),(0,i.logInfo)("Sent postmessage event: "+e)},t.removeMessageListener=function(e){d(h,e,!1)},t.registerMessageListener=function(e){f(p,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,r=0;r<n;r++)if(e[r]===t)return!0;return!1},t.arrayContainsArray=function(e,t){if(!e||!t)return!1;for(var n={},r=0;r<e.length;r++)n[e[r]]||(n[e[r]]=0),n[e[r]]++;for(var o=0;o<t.length;o++)if(!n[t[o]]||--n[t[o]]<0)return!1;return!0},t.setGlobalOilObject=function(e,t){window[s.OIL_GLOBAL_OBJECT_NAME]||(window[s.OIL_GLOBAL_OBJECT_NAME]={}),window[s.OIL_GLOBAL_OBJECT_NAME][e]=t},t.getGlobalOilObject=function(e){return window[s.OIL_GLOBAL_OBJECT_NAME]?window[s.OIL_GLOBAL_OBJECT_NAME][e]:void 0},t.getLocaleVariantVersion=function(){var e=(0,u.getLocale)();return e&&e.version?e.version:0},t.fetchJsonData=function(e){return new o.default(function(t,n){var r=new XMLHttpRequest;(0,i.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 i=n(21),s=n(19),u=n(14);function c(){return window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),window.location.origin}var a=window.addEventListener?"addEventListener":"attachEvent",l=window.removeEventListener?"removeEventListener":"removeEvent",f=window[a],d=window[l],p="attachEvent"===a?"onmessage":"message",h="removeEvent"===l?"onmessage":"message";t.OilVersion={get:function(){return"2.7.2-SNAPSHOT"},getLatestReleaseVersion:function(){return"2.7.2"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logError=function(){((0,r.isDev)()||(0,o.isVerboseCookieSet)())&&window.console&&u(window.console.error,arguments)},t.logInfo=function(){((0,r.isDev)()||(0,o.isVerboseCookieSet)())&&window.console&&u(window.console.info,arguments)},t.logWarn=function(){((0,r.isDev)()||(0,o.isVerboseCookieSet)())&&window.console&&u(window.console.warn,arguments)},t.logPreviewInfo=function(){((0,r.isDev)()||(0,i.isPreviewMode)()||(0,o.isPreviewCookieSet)()||(0,o.isVerboseCookieSet)())&&u(window.console.info,arguments)};var r=n(20),o=n(39),i=n(14),s="OIL: ";function u(e,t){window.console||(window.console={}),window.console.log||(window.console.log=function(){});var n=[s].concat(Array.prototype.slice.call(t));if(e)try{e.apply(window.console,n)}catch(t){try{e(c(n))}catch(e){}}else window.console.log(c(n))}function c(e){for(var t="",n=0;n<e.length;n++)t+=e[n];return t}},function(e,t,n){e.exports={default:n(183),__esModule:!0}},function(e,t){e.exports={}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(92),o=n(63);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=!0},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(30);e.exports=function(e){if(!r(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});var r=function(){function e(){}return e.encode=function(e){return+e+""},e.decode=function(e){return"1"===e},e}();t.BooleanEncoder=r},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(75)),r(n(3)),r(n(4)),r(n(17)),r(n(119)),r(n(120)),r(n(121)),r(n(224))},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(9),o=n(33),i=n(53),s=n(81),u=n(84),c=function(e,t,n){var a,l,f,d,p=e&c.F,h=e&c.G,v=e&c.S,_=e&c.P,g=e&c.B,y=h?r:v?r[t]||(r[t]={}):(r[t]||{}).prototype,m=h?o:o[t]||(o[t]={}),O=m.prototype||(m.prototype={});for(a in h&&(n=t),n)f=((l=!p&&y&&void 0!==y[a])?y:n)[a],d=g&&l?u(f,r):_&&"function"==typeof f?u(Function.call,f):f,y&&s(y,a,f,e&c.U),m[a]!=f&&i(m,a,d),_&&O[a]!=f&&(O[a]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){var r=n(29),o=n(154),i=n(132),s=Object.defineProperty;t.f=n(36)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(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(65)(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 r=n(156),o=n(133);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(55)),o=g(n(197)),i=g(n(57)),s=g(n(22));t.setSessionCookie=I,t.setDomainCookie=b,t.getOilCookie=C,t.getSoiCookie=function(){return R().then(function(e){return C(e).then(function(t){return t&&!0===t.opt_in?t:e.defaultCookieContent})})},t.setSoiCookieWithPoiCookieData=function(e){return new s.default(function(t,n){s.default.all([(0,p.loadVendorListAndCustomVendorList)(),R()]).then(function(n){var r=n[1],o=void 0,i=e.configVersion||r.defaultCookieContent.configVersion,s=e.policyVersion||r.defaultCookieContent.policyVersion,u=e.addtlConsent||r.defaultCookieContent.addtlConsent;if(e.consentString)o=e.consentString;else{var c=r.defaultCookieContent.consentData;c.setPurposesAllowed(e.consentData.allowedPurposeIds),c.setVendorsAllowed(e.consentData.allowedVendorIds),c.setConsentLanguage(e.consentData.consentLanguage),o=c.getConsentString()}var l={opt_in:!0,version:r.defaultCookieContent.version,localeVariantName:r.defaultCookieContent.localeVariantName,localeVariantVersion:r.defaultCookieContent.localeVariantVersion,customVendorListVersion:e.customVendorListVersion,customPurposes:e.customPurposes,consentString:(0,a.isInfoBannerOnly)()?"":o,configVersion:i,policyVersion:s,addtlConsent:u};b(r.name,l,r.expires),t(l)}).catch(function(e){return n(e)})})},t.updateTCModel=A,t.buildSoiCookie=S,t.setSoiCookie=function(e){return new s.default(function(t,n){S(e).then(function(e){var n=e[0],r=e[1];(0,_.updateTcfApi)(n,!1,n.addtlConsent),b(O,n,(0,a.getCookieExpireInDays)()),(0,v.consentStore)().writeDecodedRaiConsentSDK((0,l.getAllPreferences)(r,n.addtlConsent)),t(n)}).catch(function(e){return n(e)})})},t.setPreviewCookie=function(){I(y,"true")},t.setVerboseCookie=function(){I(m,"true")},t.removePreviewCookie=function(){u.default.remove(y)},t.removeVerboseCookie=function(){u.default.remove(m)},t.isPreviewCookieSet=function(){return"true"===u.default.get(y)},t.isVerboseCookieSet=function(){return"true"===u.default.get(m)},t.removeSubscriberCookies=w,t.removeHubCookie=function(e){w(),e&&(u.default.remove(e+"_"+O),u.default.remove(e+"_"+O,{expires:(0,a.getCookieExpireInDays)(),secure:!0,sameSite:"none"}))},t.isBrowserCookieEnabled=function(){var e=void 0;return T()?(u.default.set("oil_cookie_exp","cookiedata",{secure:!0,sameSite:"none"}),e=N("oil_cookie_exp"),u.default.remove("oil_cookie_exp",{secure:!0,sameSite:"none"})):(u.default.set("oil_cookie_exp","cookiedata"),e=N("oil_cookie_exp"),u.default.remove("oil_cookie_exp")),e},t.inIframe=T,t.getStandardPurposesWithConsent=function(e){return"object"===(void 0===e?"undefined":(0,r.default)(e))?(0,p.getPurposes)().map(function(e){return e.id}).filter(function(t){return e[t]}):1===e?(0,p.getPurposes)().map(function(e){return e.id}):[]},t.getCustomPurposesWithConsent=L,t.getAdditionalConsentWithSettings=P,t.getDefaultTCModel=V;var u=g(n(74)),c=n(21),a=n(14),l=n(140),f=n(20),d=n(19),p=n(80),h=n(32),v=n(141),_=n(129);function g(e){return e&&e.__esModule?e:{default:e}}var y="oil_preview",m="oil_verbose",O="oil_data",E="oil_data_session";function I(e,t){u.default.set(e,t)}function b(e,t,n){delete t.consentData,"http:"===window.location.protocol?(0,v.consentStore)().writeConsent(e,t,{expires:n}):(0,v.consentStore)().writeConsent(e,t,{expires:n,secure:!0,sameSite:"none"})}function C(e){return(0,v.consentStore)().readConsent(e.name).then(function(e){return void 0!==e&&(e.consentData=h.TCString.decode(e.consentString,V()),(0,c.logInfo)("getting consent settings from cookie:",e.consentData)),e})}function A(e,t){return t.cmpId=d.OIL_SPEC.CMP_ID,t.supportOOB=d.OIL_SPEC.SUPPORT_OOB,t.isServiceSpecific=d.OIL_SPEC.IS_SERVICE_SPECIFIC,1!==e?(["purpose","vendor"].forEach(function(n){e[n]&&(0,i.default)(e[n]).forEach(function(e){var r=(0,o.default)(e[0]),i=e[1],s=n+"Consents",u=n+"LegitimateInterests";i.consent?t[s].set(r):t[s].unset(r),i.legint?t[u].set(r):t[u].unset(r)})}),e.specialFeature&&(0,i.default)(e.specialFeature).forEach(function(e){var n=(0,o.default)(e[0]);e[1].optin?t.specialFeatureOptins.set(n):t.specialFeatureOptins.unset(n)}),t.addtlConsent=e.addtlConsent,t.consentScreen=2,t.updated(),t):(t.addtlConsent=d.ADDITIONAL_CONSENT_VERSION+(0,p.getAllAdditionalConsentProviders)(),(0,a.getIabVendorWhitelist)()?(t.setAllPurposeConsents(),t.setAllPurposeLegitimateInterests(),t.setAllSpecialFeatureOptins(),t.vendorConsents.set((0,a.getIabVendorWhitelist)()),t.vendorLegitimateInterests.set((0,a.getIabVendorWhitelist)())):t.setAll(),t.consentScreen=1,t.updated(),t)}function S(e){return new s.default(function(t,n){s.default.all([(0,p.loadVendorListAndCustomVendorList)(),R()]).then(function(n){var r=n[1];(0,c.logInfo)("creating TCModel with this settings:",e);var o=A(e,r.defaultCookieContent.consentData);(0,c.logInfo)("privacySettings",e),(0,c.logInfo)("new TCModel",o),(0,c.logInfo)("new TCString",h.TCString.encode(o));var i={opt_in:!0,version:r.defaultCookieContent.version,localeVariantName:r.defaultCookieContent.localeVariantName,localeVariantVersion:r.defaultCookieContent.localeVariantVersion,customVendorListVersion:(0,p.getCustomVendorListVersion)(),customPurposes:L(e),consentString:(0,a.isInfoBannerOnly)()?"":h.TCString.encode(o),configVersion:r.defaultCookieContent.configVersion,policyVersion:r.defaultCookieContent.policyVersion,addtlConsent:P(e)};t([i,o])}).catch(function(e){return n(e)})})}function w(){u.default.remove(O),u.default.remove(O,{expires:(0,a.getCookieExpireInDays)(),secure:!0,sameSite:"none"}),u.default.remove(E)}function T(){try{return window.self!==window.top}catch(e){return!0}}function L(e,t){return t||(t=(0,a.getCustomPurposes)()),"object"===(void 0===e?"undefined":(0,r.default)(e))?t.map(function(e){return e.id}).filter(function(t){return e[t]}):1===e?t.map(function(e){return e.id}):[]}function P(e){return 1!==e?e.addtlConsent:d.ADDITIONAL_CONSENT_VERSION+(0,p.getAllAdditionalConsentProviders)()}function N(e){return void 0!==u.default.get(e)}function V(){var e=(0,p.getVendorList)(),t=new h.TCModel(e);return t.cmpId=d.OIL_SPEC.CMP_ID,t.publisherCountryCode="IT",t.cmpVersion=d.OIL_SPEC.CMP_VERSION,t.isServiceSpecific=d.OIL_SPEC.IS_SERVICE_SPECIFIC,t.purposeOneTreatment=!0,t.supportOOB=!1,t.consentScreen=1,t}function R(){var e=void 0,t=void 0;return C({name:O}).then(function(n){return n?((e=n.consentData).supportOOB=!1,e.gvl=(0,p.getVendorList)(),t=n.consentString):(e=V(),t=e.gvl.isReady?h.TCString.encode(e):""),{name:O,expires:(0,a.getCookieExpireInDays)(),defaultCookieContent:{opt_in:!1,version:f.OilVersion.get(),localeVariantName:(0,a.getLocaleVariantName)(),localeVariantVersion:(0,f.getLocaleVariantVersion)(),customPurposes:L((0,a.getDefaultToOptin)()?1:0),consentData:e,consentString:(0,a.isInfoBannerOnly)()?"":t,configVersion:(0,a.getConfigVersion)(),policyVersion:(0,a.getPolicyVersion)(),addtlConsent:d.ADDITIONAL_CONSENT_VERSION},outdated_cookie_content_keys:["opt_in","timestamp","version","localeVariantName","localeVariantVersion","privacy","addtlConsent"]}})}},function(e,t,n){var r=n(41);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}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){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";var r=n(168)(!0);n(95)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(10).f,o=n(16),i=n(1)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){n(171);for(var r=n(2),o=n(15),i=n(23),s=n(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<u.length;c++){var a=u[c],l=r[a],f=l&&l.prototype;f&&!f[s]&&o(f,s,a),i[a]=i.Array}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(125)),r(n(234)),r(n(235)),r(n(48)),r(n(126))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11);t.Response=function(){this.cmpId=r.CmpApiModel.cmpId,this.cmpVersion=r.CmpApiModel.cmpVersion,this.gdprApplies=r.CmpApiModel.gdprApplies,this.tcfPolicyVersion=r.CmpApiModel.tcfPolicyVersion}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(230)),r(n(231)),r(n(232))},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(51),s=n(47),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.respond=function(){this.throwIfParamInvalid(),this.invokeCallback(new s.TCData(this.param,this.listenerId))},t.prototype.throwIfParamInvalid=function(){if(!(void 0===this.param||Array.isArray(this.param)&&this.param.every(Number.isInteger)))throw new Error("Invalid Parameter")},t}(i.Command);t.GetTCDataCommand=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t,n,r){this.success=!0,Object.assign(this,{callback:e,listenerId:n,param:t,next:r});try{this.respond()}catch(e){this.invokeCallback(null)}}return e.prototype.invokeCallback=function(e){null!==e?"function"==typeof this.next?this.callback(this.next,e,!0):this.callback(e,!0):this.callback(e,!1)},e}();t.Command=r},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 r=n(35),o=n(83);e.exports=n(36)?function(e,t,n){return r.f(e,t,o(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";t.__esModule=!0;var r=s(n(166)),o=s(n(174)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function s(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){e.exports={default:n(139),__esModule:!0}},function(e,t,n){e.exports={default:n(200),__esModule:!0}},function(e,t,n){var r=n(12),o=n(2).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(12);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(62)("keys"),o=n(43);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(0),o=n(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(27)?"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){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(155),o=n(136);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=!1},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){t.f=n(1)},function(e,t,n){var r=n(2),o=n(0),i=n(27),s=n(70),u=n(10).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:s.f(e)})}},function(e,t,n){var r=n(25),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";var r=n(41);e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)}(e)}},function(e,t,n){var r,o,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===(o="function"==typeof(r=i=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}return function t(n){function r(t,o,i){var s;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},r.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{s=JSON.stringify(o),/^[\{\[]/.test(s)&&(o=s)}catch(e){}o=n.write?n.write(o,t):encodeURIComponent(String(o)).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 c="";for(var a in i)i[a]&&(c+="; "+a,!0!==i[a]&&(c+="="+i[a]));return document.cookie=t+"="+o+c}t||(s={});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("="),h=p.slice(1).join("=");'"'===h.charAt(0)&&(h=h.slice(1,-1));try{var v=p[0].replace(f,decodeURIComponent);if(h=n.read?n.read(h,v):n(h,v)||h.replace(f,decodeURIComponent),this.json)try{h=JSON.parse(h)}catch(e){}if(t===v){s=h;break}t||(s[v]=h)}catch(e){}}return s}}return r.set=r,r.get=function(e){return r.call(r,e)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(t,n){r(t,"",e(n,{expires:-1}))},r.withConverter=t,r}(function(){})})?r.call(t,n,t,e):r)||(e.exports=o),e.exports=i()},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(107)),r(n(76)),r(n(219)),r(n(223)),r(n(112)),r(n(118))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=function(){function e(){}var t,n,o,i,s,u,c,a,l,f,d,p,h,v,_,g,y,m;return t=r.Fields.cmpId,n=r.Fields.cmpVersion,o=r.Fields.consentLanguage,i=r.Fields.consentScreen,s=r.Fields.created,u=r.Fields.isServiceSpecific,c=r.Fields.lastUpdated,a=r.Fields.policyVersion,l=r.Fields.publisherCountryCode,f=r.Fields.publisherLegitimateInterests,d=r.Fields.publisherConsents,p=r.Fields.purposeConsents,h=r.Fields.purposeLegitimateInterests,v=r.Fields.purposeOneTreatment,_=r.Fields.specialFeatureOptins,g=r.Fields.useNonStandardStacks,y=r.Fields.vendorListVersion,m=r.Fields.version,e[t]=12,e[n]=12,e[o]=12,e[i]=6,e[s]=36,e[u]=1,e[c]=36,e[a]=6,e[l]=12,e[f]=24,e[d]=24,e[p]=24,e[h]=24,e[v]=1,e[_]=12,e[g]=1,e[y]=12,e[m]=6,e.anyBoolean=1,e.encodingType=1,e.maxId=16,e.numCustomPurposes=6,e.numEntries=12,e.numRestrictions=12,e.purposeId=6,e.restrictionType=2,e.segmentType=3,e.singleOrRange=1,e.vendorId=16,e}();t.BitLength=o},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.RestrictionType||(t.RestrictionType={}))[r.NOT_ALLOWED=0]="NOT_ALLOWED",r[r.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",r[r.REQUIRE_LI=2]="REQUIRE_LI"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(31),o=n(3),i=n(4),s=function(){function e(){}return e.encode=function(e,t){for(var n="",o=1;o<=t;o++)n+=r.BooleanEncoder.encode(e.has(o));return n},e.decode=function(e,t){if(e.length!==t)throw new o.DecodingError("bitfield encoding length mismatch");for(var n=new i.Vector,s=1;s<=t;s++)r.BooleanEncoder.decode(e[s-1])&&n.set(s);return n.bitLength=e.length,n},e}();t.FixedVectorEncoder=s},function(e,t,n){var r=n(60),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pendingVendorListPromise=t.cachedAdditionalConsent=t.cachedCustomVendorList=t.cachedVendorList=t.DEFAULT_ADDITIONAL_CONSENT_LIST=t.DEFAULT_CUSTOM_VENDOR_LIST=t.DEFAULT_VENDOR_LIST=void 0;var r,o=_(n(55)),i=_(n(89)),s=_(n(90)),u=_(n(57)),c=_(n(207)),a=_(n(210)),l=_(n(22)),f=(r=(0,a.default)(c.default.mark(function e(){var t,n;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,T();case 2:return t=e.sent,n=(0,d.getLanguageFromConfigObject)(),e.abrupt("return",t.changeLanguage(n).then(function(){return t}));case 5:case"end":return e.stop()}},e,this)})),function(){return r.apply(this,arguments)});t.loadVendorListAndCustomVendorList=function(){return O&&E&&I?new l.default(function(e){e()}):b||(t.pendingVendorListPromise=b=new l.default(function(e){f().then(function(n){t.cachedVendorList=O=n,l.default.all([S(),w()]).then(function(){t.pendingVendorListPromise=b=null,e()})}).catch(function(n){(0,p.logError)("OIL getVendorList failed and returned error: "+n+". Falling back to default vendor list!"),l.default.all([S(),w()]).then(function(){t.pendingVendorListPromise=b=null,e()})})}),b)},t.getPurposes=L,t.getSpecialPurposes=function(){return O?O.specialPurposes:null},t.getFeatures=function(){return O?O.features:null},t.getLegitimateInterest=P,t.getSpecialFeatures=N,t.getPurposeIds=function(){return(0,u.default)(L()).map(function(e){var t=(0,s.default)(e,2);return(t[0],t[1]).id})},t.getLegintIds=function(){return(0,u.default)(P()).map(function(e){var t=(0,s.default)(e,2);return(t[0],t[1]).id})},t.getSpecialFeatureIds=function(){return(0,u.default)(N()).map(function(e){var t=(0,s.default)(e,2);return(t[0],t[1]).id})},t.getVendors=V,t.getVendorIds=R,t.getVendorList=function(){return O||T()},t.getCustomVendorList=function(){return E||y},t.getAdditionalConsentList=M,t.getAllAdditionalConsentProviders=function(){var e=M();return"object"===(void 0===e?"undefined":(0,o.default)(e))&&(e=(0,i.default)(e)),e.map(function(e){return e.id}).join(".")},t.getCustomVendorListVersion=function(){return E&&!E.isDefault?E.vendorListVersion:void 0},t.clearVendorListCache=function(){t.cachedVendorList=O=void 0,t.cachedCustomVendorList=E=void 0,t.pendingVendorListPromise=b=null,C=null},t.getVendorsToDisplay=function(){return(0,d.getShowLimitedVendors)()?x():V()},t.getLimitedVendors=x,t.getLimitedVendorIds=D;var d=n(14),p=n(21),h=n(20),v=n(32);function _(e){return e&&e.__esModule?e:{default:e}}var g=t.DEFAULT_VENDOR_LIST={vendorListVersion:36,maxVendorId:747,lastUpdated:"2018-05-30T16:00:15Z",purposeIds:[1,2,3,4,5,6,7,8,9,10],legintIds:[2,3,4,5,6,7,8,9,10],specialFeaturesIds:[1,2]},y=t.DEFAULT_CUSTOM_VENDOR_LIST={vendorListVersion:-1,isDefault:!0,vendors:[]},m=t.DEFAULT_ADDITIONAL_CONSENT_LIST={providers:{}},O=t.cachedVendorList=null,E=t.cachedCustomVendorList=null,I=t.cachedAdditionalConsent=null,b=t.pendingVendorListPromise=null,C=null,A=null;function S(){return new l.default(function(e){var n=(0,d.getCustomVendorListUrl)();n?(0,h.fetchJsonData)(n).then(function(n){t.cachedCustomVendorList=E=n,e()}).catch(function(n){t.cachedCustomVendorList=E=y,(0,p.logError)("OIL getCustomVendorList failed and returned error: "+n+". Falling back to default custom vendor list!"),e()}):(t.cachedCustomVendorList=E=y,e())})}function w(){return new l.default(function(e){var n=(0,d.getAdditionalConsentListUrl)();n?(0,h.fetchJsonData)(n).then(function(n){t.cachedAdditionalConsent=I=n,e()}).catch(function(n){t.cachedAdditionalConsent=I=m,(0,p.logError)("OIL getCustomVendorList failed and returned error: "+n+". Falling back to default custom vendor list!"),e()}):(t.cachedAdditionalConsent=I=m,e())})}function T(){return A||(v.GVL.baseUrl=(0,d.getIabVendorListDomain)(),C=new v.GVL,A=C.readyPromise.then(function(){return C})),A}function L(){return O?O.purposes:j(g.purposeIds)}function P(){return j(g.legintIds)}function N(){return O?O.specialFeatures:j(g.specialFeaturesIds)}function V(){return O?(0,i.default)(O.vendors):j(F())}function R(){return V().map(function(e){return e.id})}function M(){var e=(I||m).providers,t=[];return(0,d.getAtpWhitelist)()&&(0,d.getAtpWhitelist)().length>0?((0,d.getAtpWhitelist)().forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t):e}function x(){var e=V(),t=D();return(0,p.logInfo)("limiting vendors"),e.filter(function(e){return t.indexOf(e.id)>-1})}function D(){var e=void 0;e=O?R():F();var t=(0,d.getIabVendorWhitelist)(),n=(0,d.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}function F(){return function(e,t){for(;e--;)t[e]=e+1;return t}(g.maxVendorId,[])}function j(e){return e.map(function(e){return{id:e}})}},function(e,t,n){var r=n(9),o=n(53),i=n(37),s=n(66)("src"),u=Function.toString,c=(""+u).split("toString");n(33).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,u){var a="function"==typeof n;a&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(a&&(i(n,s)||o(n,s,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:u?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||u.call(this)})},function(e,t,n){var r=n(52);e.exports=function(e){return Object(r(e))}},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 r=n(85);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}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 r=n(157),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){e.exports={}},function(e,t,n){var r=n(35).f,o=n(37),i=n(6)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){e.exports={default:n(152),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(202)),o=i(n(106));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,i=!1,s=void 0;try{for(var u,c=(0,o.default)(e);!(r=(u=c.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){i=!0,s=e}finally{try{!r&&c.return&&c.return()}finally{if(i)throw s}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){e.exports=!n(8)&&!n(24)(function(){return 7!=Object.defineProperty(n(58)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(16),o=n(13),i=n(150)(!1),s=n(61)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),c=0,a=[];for(n in u)n!=s&&r(u,n)&&a.push(n);for(;t.length>c;)r(u,n=t[c++])&&(~i(a,n)||a.push(n));return a}},function(e,t,n){var r=n(25);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(26),o=n(13),i=n(28).f;e.exports=function(e){return function(t){for(var n,s=o(t),u=r(s),c=u.length,a=0,l=[];c>a;)i.call(s,n=u[a++])&&l.push(e?[n,s[n]]:s[n]);return l}}},function(e,t,n){"use strict";var r=n(27),o=n(5),i=n(96),s=n(15),u=n(23),c=n(169),a=n(45),l=n(170),f=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,v,_,g){c(n,t,h);var y,m,O,E=function(e){if(!d&&e in A)return A[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},I=t+" Iterator",b="values"==v,C=!1,A=e.prototype,S=A[f]||A["@@iterator"]||v&&A[v],w=S||E(v),T=v?b?E("entries"):w:void 0,L="Array"==t&&A.entries||S;if(L&&(O=l(L.call(new e)))!==Object.prototype&&O.next&&(a(O,I,!0),r||"function"==typeof O[f]||s(O,f,p)),b&&S&&"values"!==S.name&&(C=!0,w=function(){return S.call(this)}),r&&!g||!d&&!C&&A[f]||s(A,f,w),u[t]=w,u[I]=p,v)if(y={values:b?w:E("values"),keys:_?w:E("keys"),entries:T},g)for(m in y)m in A||i(A,m,y[m]);else o(o.P+o.F*(d||C),t,y);return y}},function(e,t,n){e.exports=n(15)},function(e,t,n){var r=n(7),o=n(142),i=n(63),s=n(61)("IE_PROTO"),u=function(){},c=function(){var e,t=n(58)("iframe"),r=i.length;for(t.style.display="none",n(98).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[s]=e):n=c(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(2).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(92),o=n(63).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){},function(e,t,n){var r=n(72),o=n(1)("iterator"),i=n(23);e.exports=n(0).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(7),o=n(41),i=n(1)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||void 0==(n=r(s)[i])?t:o(n)}},function(e,t,n){var r,o,i,s=n(40),u=n(189),c=n(98),a=n(58),l=n(2),f=l.process,d=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,v=l.Dispatch,_=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},m=function(e){y.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++_]=function(){u("function"==typeof e?e:Function(e),t)},r(_),_},p=function(e){delete g[e]},"process"==n(25)(f)?r=function(e){f.nextTick(s(y,e,1))}:v&&v.now?r=function(e){v.now(s(y,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=m,r=s(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",m,!1)):r="onreadystatechange"in a("script")?function(e){c.appendChild(a("script")).onreadystatechange=function(){c.removeChild(this),y.call(e)}}:function(e){setTimeout(s(y,e,1),0)}),e.exports={set:d,clear:p}},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 r=n(7),o=n(12),i=n(73);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){e.exports={default:n(205),__esModule:!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=function(){function e(){}return e.encode=function(e){if(!/^[0-1]+$/.test(e))throw new r.EncodingError("Invalid bitField");var t=e.length%this.LCM;e+=t?"0".repeat(this.LCM-t):"";for(var n="",o=0;o<e.length;o+=this.BASIS)n+=this.DICT[parseInt(e.substr(o,this.B