UNPKG

@jumpgroup/avacy-banner

Version:

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

1 lines 83.6 kB
!function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=19)}([function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o,r,a,s=(t.OIL_COOKIE={NAME:"oil_data",ATTR_POI:"power_opt_in",ATTR_TIMESTAMP:"timestamp"},t.OIL_CONFIG={ATTR_ACTIVATE_POI:"poi_activate_poi",ATTR_HUB_ORIGIN:"poi_hub_origin",ATTR_HUB_PATH:"poi_hub_path",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_GA_TRACKER_NAME:"ga_tracker_name",ATTR_GA_TRACKING:"ga_tracking",ATTR_OIL_IGNORE:"oil_ignore",ATTR_OIL_POI_GROUP_NAME:"poi_group_name",ATTR_ADVANCED_SETTINGS:"advanced_settings",ATTR_PERSIST_MINIMUM_TRACKING:"persist_min_tracking"},t.EVENT_NAME_OPT_IN="oil_optin_done",t.EVENT_NAME_OPT_LATER="oil_optlater_done",t.EVENT_NAME_OPT_IGNORE="oil_optignore_done",t.EVENT_NAME_HAS_OPTED_IN="oil_has_optedin",t.EVENT_NAME_HAS_OPTED_LATER="oil_has_optedlater",t.EVENT_NAME_HAS_OPTED_IGNORE="oil_has_optedignore",t.EVENT_NAME_OPT_OUT_TRIGGER="oil_optout_trigger",t.POI_FALLBACK_NAME="fallback",t.POI_FALLBACK_GROUP_NAME="group_name",t.POI_PAYLOAD="payload",t.DATAQA_PRIVACY_PAGE="oil-PrivacyPage",t.DATA_CONTEXT_YES="YES",t.DATA_CONTEXT_YES_POI="YESPOI",t.DATA_CONTEXT_LATER="LATER",t.DATA_CONTEXT_ADVANCED_SETTINGS="ADVANCEDSETTINGS",t.DATA_CONTEXT_YES_WHILE_LATER="YESWHILELATER",t.DATA_CONTEXT_YES_POI_WHILE_LATER="YESPOIWHILELATER",t.DATA_CONTEXT_IGNORE_WHILE_LATER="IGNOREWHILELATER",t.DATA_CONTEXT_BACK="BACK",t.PRIVACY_MINIMUM_TRACKING=0),l=t.PRIVACY_FUNCTIONAL_TRACKING=1,u=t.PRIVACY_FULL_TRACKING=2;t.PRIVACY_SETTINGS_FULL_TRACKING=(o={},i(o,"oiid",u),i(o,"esse",1),i(o,"analy",1),i(o,"soci",1),i(o,"adsbase",1),i(o,"adsbehav",1),o),t.PRIVACY_SETTINGS_FUNCTIONAL_TRACKING=(r={},i(r,"oiid",l),i(r,"esse",1),i(r,"analy",1),i(r,"soci",1),i(r,"adsbase",0),i(r,"adsbehav",0),r),t.PRIVACY_SETTINGS_MINIMUM_TRACKING=(a={},i(a,"oiid",s),i(a,"esse",1),i(a,"analy",1),i(a,"soci",0),i(a,"adsbase",0),i(a,"adsbehav",0),a)},function(e,t,n){"use strict";function i(e){return e[p.OIL_CONFIG.ATTR_HUB_ORIGIN]?-1!==e[p.OIL_CONFIG.ATTR_HUB_ORIGIN].indexOf("http")?e[p.OIL_CONFIG.ATTR_HUB_ORIGIN]:location.protocol+e[p.OIL_CONFIG.ATTR_HUB_ORIGIN]:null}function o(e){return e[p.OIL_CONFIG.ATTR_HUB_ORIGIN]&&e[p.OIL_CONFIG.ATTR_HUB_PATH]?i(e)+e[p.OIL_CONFIG.ATTR_HUB_PATH]:null}function r(e,t){t=t||{},e=e||{};var n=(0,h.extend)(!0,{},t,e);return(0,g.logInfo)("Got the following merged config:",n),n}function a(e){var t=null;try{e&&e.text&&(t=JSON.parse(e.text),t[p.OIL_CONFIG.ATTR_HUB_ORIGIN]=i(t),t[p.OIL_CONFIG.ATTR_HUB_LOCATION]=o(t),(0,g.logInfo)("Got the following parsed config",t))}catch(e){(0,g.logError)("Error during passing configuration",e)}return r(t,m)}function s(){if(!_){var e=document.querySelector('script[type="application/configuration"]#oil-configuration');null===e&&(0,g.logInfo)("No configuration script found, using default values"),_=a(e)}return _}function l(){_=s();var e=_[p.OIL_CONFIG.ATTR_ACTIVATE_POI];return e||!1}function u(){_=s();var e=_[p.OIL_CONFIG.ATTR_SUB_SET_COOKIE];return e||!1}function c(){_=s();var e=_[p.OIL_CONFIG.ATTR_PREVIEW_MODE];return e||!1}function d(){_=null}function f(e,t){_=s();var n=_[p.OIL_CONFIG.ATTR_GA_TRACKING],i=_[p.OIL_CONFIG.ATTR_GA_TRACKER_NAME];i&&(i+="."),n&&window.ga&&void 0!==window.ga&&window.ga.loaded&&((0,g.logInfo)("OIL "+i+"gaTrackEvent config="+n+" eventAction="+e+" nonInteraction="+t),window.ga(i+"send","event","OIL",e,{nonInteraction:t}))}Object.defineProperty(t,"__esModule",{value:!0}),t.mergeOptions=r,t.readConfiguration=a,t.getConfiguration=s,t.isPoiActive=l,t.isSubscriberSetCookieActive=u,t.isPreviewMode=c,t.resetConfiguration=d,t.gaTrackEvent=f;var p=n(0),h=n(3),g=n(2),m={preview_mode:!1,advanced_settings:!1,cookie_expires_in_days:31,privacy_page_url:void 0,ga_tracking:0,ga_tracker_name:"",label_intro_heading:"Um euch die besten Inhalte präsentieren zu können, brauchen wir euer Einverständnis",label_later_heading:"Um euch die besten Inhalte präsentieren zu können, brauchen wir euer Einverständnis",label_intro_start:"Wir verwenden Cookies, um unser Angebot zu verbessern und euch maßgeschneiderte Inhalte zu präsentieren. Es ist dafür erforderlich, bei eurem Besuch dem Datenschutz entsprechend bestimmte Informationen zu erheben und ggf. auch an Partner zu übertragen.",label_intro_end:"Jetzt Einverständnis erklären:",label_later_start:"Wir verwenden Cookies, um unser Angebot zu verbessern und euch maßgeschneiderte Inhalte zu präsentieren. Es ist dafür erforderlich, bei eurem Besuch dem Datenschutz entsprechend bestimmte Informationen zu erheben und ggf. auch an Partner zu übertragen. In unseren Datenschutzbestimmungen erfahren Sie, wie Sie Cookies deaktivieren können",label_later_end:"Jetzt Einverständnis erklären:",label_button_yes_soi:"Jetzt zustimmen",label_button_yes_poi:"Global zustimmen",label_button_no:"Nein, jetzt nicht",label_button_back:"Zurück",label_button_privacy:"Mehr erfahren",label_button_advanced_settings:"Mehr Informationen",label_advanced_settings_heading:"Bitte wähle eine Datenschutzeinstellung aus:",label_advanced_settings_text:"",label_advanced_settings_essential_title:"Nur erforderliche Cookies",label_advanced_settings_essential_verbose:"Diese Cookies sind für die grundlegenden Funktionen der Website erforderlich.",label_advanced_settings_functional_text:"Funktionelle Cookies",label_advanced_settings_functional_verbose:"Diese Cookies ermöglichen uns die Analyse der Website-Nutzung, damit wir deren Leistung messen und verbessern können.",label_advanced_settings_advertising_text:"Marketing-Cookies",label_advanced_settings_advertising_verbose:"Diese Cookies werden von Werbeagenturen verwendet, um Ihnen Werbung zu unterbreiten, die für Ihre Interessen relevant ist.",poi_activate_poi:!1,poi_hub_origin:"",poi_hub_path:"",poi_subscriber_set_cookie:!0,oil_ignore:!1,poi_group_name:"",persist_min_tracking:!0},_=null;window.gaTrackEvent=f},function(e,t,n){"use strict";function i(){((0,u.isDev)()||(0,c.isVerboseCookieSet)())&&window.console&&a(window.console.error,arguments)}function o(){((0,u.isDev)()||(0,c.isVerboseCookieSet)())&&window.console&&a(window.console.info,arguments)}function r(){((0,u.isDev)()||(0,d.isPreviewMode)()||(0,c.isPreviewCookieSet)()||(0,c.isVerboseCookieSet)())&&a(window.console.info,arguments)}function a(e,t){l();var n=[f].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 l(){window.console||(window.console={}),window.console.log||(window.console.log=function(){})}Object.defineProperty(t,"__esModule",{value:!0}),t.logError=i,t.logInfo=o,t.logPreviewInfo=r;var u=n(3),c=n(4),d=n(1),f="OIL: "},function(e,t,n){"use strict";function i(){var e={},t=!1,n=0,o=arguments.length;for("[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(t=arguments[0],n++);n<o;n++){var r=arguments[n];!function(n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t&&"[object Object]"===Object.prototype.toString.call(n[o])?e[o]=i(!0,e[o],n[o]):e[o]=n[o])}(r)}return e}function o(){return!0}function r(){return!1}function a(e){window.postMessage(e,f()),(0,w.logInfo)("Sent postmessage event: "+e)}function s(e){return"object"===("undefined"==typeof HTMLElement?"undefined":v(HTMLElement))?e instanceof HTMLElement:e&&"object"===(void 0===e?"undefined":v(e))&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}function l(e,t){s(e)&&"function"==typeof t&&e.addEventListener("click",t,!1)}function u(){S.default.set("oil_cookie_exp","cookiedata");var e=c("oil_cookie_exp");return S.default.remove("oil_cookie_exp"),e}function c(e){return void 0!==S.default.get(e)}function d(e,t){if("string"==typeof e&&Array.isArray(t)&&c(e)){var n=S.default.getJSON(e);return t.every(function(e){return n.hasOwnProperty(e)})}return!1}function f(){return window.location.origin||(window.location.origin=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),window.location.origin}function p(e,t){return d(e,t)}function h(e){P(N,e,!1)}function g(e){y(E,e,!1)}function m(){return Date.now||(Date.now=function(){return(new Date).getTime()}),Date.now()}function _(e,t){var n=void 0,i=void 0,o=e.split("&");for(n=0;n<o.length;n++)if(i=o[n].split("="),i[0]===t)return i[1];return null}Object.defineProperty(t,"__esModule",{value:!0}),t.hasGALoaded=void 0;var v="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.extend=i,t.isProd=o,t.isDev=r,t.sendEventToHostSite=a,t.isDOMElement=s,t.addClickHandler=l,t.isBrowserCookieEnabled=u,t.isCookie=c,t.cookieDataHasKeys=d,t.getOrigin=f,t.isCookieValid=p,t.removeMessageListener=h,t.registerMessageListener=g,t.getClientTimestamp=m,t.getStringParam=_;var b=n(7),S=function(e){return e&&e.__esModule?e:{default:e}}(b),w=n(2),C=n(1),x=n(0),I="undefined"==typeof Promise?n(6).Promise:Promise,T=null,A=window.addEventListener?"addEventListener":"attachEvent",O=window.removeEventListener?"removeEventListener":"removeEvent",y=window[A],P=window[O],E="attachEvent"===A?"onmessage":"message",N="removeEvent"===O?"onmessage":"message";t.hasGALoaded=function(){T=(0,C.getConfiguration)();var e=T[x.OIL_CONFIG.ATTR_GA_TRACKING];return new I(function(t,n){var i=Date.now();0===e?n("Google Analytics not enabled in configuration"):function e(){return Date.now()-i>5e3?void n("Timeout: Google Analytics not found in page"):window.ga&&window.ga.create?void t(window.ga):void setTimeout(e,500)}()})}},function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return{name:F.NAME,default_content:i({},F.ATTR_OPTLATER,!1)}}function r(){var e,t=(0,M.getConfiguration)();return{name:V.NAME,expires:t[U.OIL_CONFIG.ATTR_COOKIE_EXPIRES_IN_DAYS],default_content:(e={},i(e,V.ATTR_OPTIN,!1),i(e,V.ATTR_TIMESTAMP,(0,L.getClientTimestamp)()),i(e,V.ATTR_PRIVACY,U.PRIVACY_MINIMUM_TRACKING),e)}}function a(e){return e?e+"_"+D.NAME:D.NAME}function s(e){var t,n=(0,M.getConfiguration)();return{name:a(e),expires:n[U.OIL_CONFIG.ATTR_COOKIE_EXPIRES_IN_DAYS],default_content:(t={},i(t,D.ATTR_POI,!1),i(t,D.ATTR_TIMESTAMP,(0,L.getClientTimestamp)()),i(t,V.ATTR_PRIVACY,U.PRIVACY_MINIMUM_TRACKING),t)}}function l(e,t){R.default.set(e,t)}function u(e,t,n){R.default.set(e,t,{expires:n})}function c(){return(0,L.isCookie)(r().name)&&(0,L.isCookieValid)(r().name,Object.keys(r().default_content))?R.default.getJSON(r().name):r().default_content}function d(){return(0,L.isCookie)(o().name)&&(0,L.isCookieValid)(o().name,Object.keys(o().default_content))?R.default.getJSON(o().name):o().default_content}function f(e){return(0,L.isCookie)(s(e).name)&&(0,L.isCookieValid)(s(e).name,Object.keys(s(e).default_content))?R.default.getJSON(s(e).name):s(e).default_content}function p(e){var t=c();t.opt_in=!0,t.privacy=e,t.timestamp=(0,L.getClientTimestamp)(),u(r().name,t,r().expires)}function h(e){var t=d();e!==t.opt_later&&(t.opt_later=e,l(o().name,t))}function g(e,t){var n=f(e);n.power_opt_in=!0,n.privacy=t,n.timestamp=(0,L.getClientTimestamp)(),u(s(e).name,n,s(e).expires)}function m(e){var t=d();e!==t.opt_ignore&&(t.opt_ignore=e,l(o().name,t))}function _(){var e=c();return(0,G.logInfo)("Current Oil Domain Cookie: ",e),e}function v(){var e=c();return(0,G.logInfo)("Current Oil Domain Cookie: ",e),e.privacy}function b(){var e=d();return(0,G.logInfo)("Current Oil Session Cookie: ",e),e.opt_later}function S(){var e=d();return(0,G.logInfo)("Current Oil Session Cookie: ",e),e.opt_ignore}function w(e){var t=f(e);return(0,G.logInfo)("Current Oil Hub Domain Cookie: ",t),t}function C(e){var t=f(e);return(0,G.logInfo)("Current Oil Hub Domain Cookie: ",t),t.privacy}function x(){R.default.remove(V.NAME),R.default.remove(F.NAME)}function I(){R.default.remove(D.NAME)}function T(){l(j,"true")}function A(){l(z,"true")}function O(){R.default.remove(j)}function y(){R.default.remove(z)}function P(){return"true"===R.default.get(j)}function E(){return"true"===R.default.get(z)}function N(e){switch(e){default:case U.PRIVACY_MINIMUM_TRACKING:return U.PRIVACY_SETTINGS_MINIMUM_TRACKING;case U.PRIVACY_FUNCTIONAL_TRACKING:return U.PRIVACY_SETTINGS_FUNCTIONAL_TRACKING;case U.PRIVACY_FULL_TRACKING:return U.PRIVACY_SETTINGS_FULL_TRACKING}}Object.defineProperty(t,"__esModule",{value:!0}),t.getOilSessionCookieConfig=o,t.getOilDomainCookieConfig=r,t.getOilHubDomainCookieConfig=s,t.setSoiOptIn=p,t.setOptLater=h,t.setPoiOptIn=g,t.setOilOptIgnore=m,t.getSoiCookie=_,t.getSoiPrivacy=v,t.hasOptedLater=b,t.hasOptedIgnore=S,t.getPoiCookie=w,t.getPoiPrivacy=C,t.removeSubscriberCookies=x,t.removeHubCookies=I,t.setPreviewCookie=T,t.setVerboseCookie=A,t.removePreviewCookie=O,t.removeVerboseCookie=y,t.isPreviewCookieSet=P,t.isVerboseCookieSet=E,t.convertPrivacySettingsToCookieValue=N;var k=n(7),R=function(e){return e&&e.__esModule?e:{default:e}}(k),L=n(3),U=n(0),M=n(1),G=n(2),V={NAME:"oil_data",ATTR_OPTIN:"opt_in",ATTR_TIMESTAMP:"timestamp",ATTR_PRIVACY:"privacy"},F={NAME:"oil_data_session",ATTR_OPTLATER:"opt_later"},D={NAME:"oil_data",ATTR_POI:"power_opt_in",ATTR_TIMESTAMP:"timestamp",ATTR_PRIVACY:"privacy"},j="oil_preview",z="oil_verbose"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.CSSPrefix=function(e){return""===e?"":e+"-"}("as")},function(e,t,n){(function(t,i){!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function o(e){return"function"==typeof e}function r(e){H=e}function a(e){K=e}function s(){return void 0!==Y?function(){Y(u)}:l()}function l(){var e=setTimeout;return function(){return e(u,1)}}function u(){for(var e=0;e<B;e+=2){(0,Q[e])(Q[e+1]),Q[e]=void 0,Q[e+1]=void 0}B=0}function c(e,t){var n=arguments,i=this,o=new this.constructor(f);void 0===o[ee]&&N(o);var r=i._state;return r?function(){var e=n[r-1];K(function(){return y(r,o,e,i._result)})}():I(i,o,e,t),o}function d(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(f);return S(n,e),n}function f(){}function p(){return new TypeError("You cannot resolve a promise with itself")}function h(){return new TypeError("A promises callback cannot return that same promise.")}function g(e){try{return e.then}catch(e){return oe.error=e,oe}}function m(e,t,n,i){try{e.call(t,n,i)}catch(e){return e}}function _(e,t,n){K(function(e){var i=!1,o=m(n,t,function(n){i||(i=!0,t!==n?S(e,n):C(e,n))},function(t){i||(i=!0,x(e,t))},"Settle: "+(e._label||" unknown promise"));!i&&o&&(i=!0,x(e,o))},e)}function v(e,t){t._state===ne?C(e,t._result):t._state===ie?x(e,t._result):I(t,void 0,function(t){return S(e,t)},function(t){return x(e,t)})}function b(e,t,n){t.constructor===e.constructor&&n===c&&t.constructor.resolve===d?v(e,t):n===oe?(x(e,oe.error),oe.error=null):void 0===n?C(e,t):o(n)?_(e,t,n):C(e,t)}function S(t,n){t===n?x(t,p()):e(n)?b(t,n,g(n)):C(t,n)}function w(e){e._onerror&&e._onerror(e._result),T(e)}function C(e,t){e._state===te&&(e._result=t,e._state=ne,0!==e._subscribers.length&&K(T,e))}function x(e,t){e._state===te&&(e._state=ie,e._result=t,K(w,e))}function I(e,t,n,i){var o=e._subscribers,r=o.length;e._onerror=null,o[r]=t,o[r+ne]=n,o[r+ie]=i,0===r&&e._state&&K(T,e)}function T(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var i=void 0,o=void 0,r=e._result,a=0;a<t.length;a+=3)i=t[a],o=t[a+n],i?y(n,i,o,r):o(r);e._subscribers.length=0}}function A(){this.error=null}function O(e,t){try{return e(t)}catch(e){return re.error=e,re}}function y(e,t,n,i){var r=o(n),a=void 0,s=void 0,l=void 0,u=void 0;if(r){if(a=O(n,i),a===re?(u=!0,s=a.error,a.error=null):l=!0,t===a)return void x(t,h())}else a=i,l=!0;t._state!==te||(r&&l?S(t,a):u?x(t,s):e===ne?C(t,a):e===ie&&x(t,a))}function P(e,t){try{t(function(t){S(e,t)},function(t){x(e,t)})}catch(t){x(e,t)}}function E(){return ae++}function N(e){e[ee]=ae++,e._state=void 0,e._result=void 0,e._subscribers=[]}function k(e,t){this._instanceConstructor=e,this.promise=new e(f),this.promise[ee]||N(this.promise),z(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?C(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&C(this.promise,this._result))):x(this.promise,R())}function R(){return new Error("Array Methods must be provided an Array")}function L(e){return new k(this,e).promise}function U(e){var t=this;return new t(z(e)?function(n,i){for(var o=e.length,r=0;r<o;r++)t.resolve(e[r]).then(n,i)}:function(e,t){return t(new TypeError("You must pass an array to race."))})}function M(e){var t=this,n=new t(f);return x(n,e),n}function G(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function V(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function F(e){this[ee]=E(),this._result=this._state=void 0,this._subscribers=[],f!==e&&("function"!=typeof e&&G(),this instanceof F?P(this,e):V())}function D(){var e=void 0;if(void 0!==i)e=i;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=F}var j=void 0;j=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var z=j,B=0,Y=void 0,H=void 0,K=function(e,t){Q[B]=e,Q[B+1]=t,2===(B+=2)&&(H?H(u):$())},q="undefined"!=typeof window?window:void 0,W=q||{},X=W.MutationObserver||W.WebKitMutationObserver,J="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),Z="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Q=new Array(1e3),$=void 0;$=J?function(){return function(){return t.nextTick(u)}}():X?function(){var e=0,t=new X(u),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}():Z?function(){var e=new MessageChannel;return e.port1.onmessage=u,function(){return e.port2.postMessage(0)}}():void 0===q?function(){try{var e=n(16);return Y=e.runOnLoop||e.runOnContext,s()}catch(e){return l()}}():l();var ee=Math.random().toString(36).substring(16),te=void 0,ne=1,ie=2,oe=new A,re=new A,ae=0;return k.prototype._enumerate=function(e){for(var t=0;this._state===te&&t<e.length;t++)this._eachEntry(e[t],t)},k.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,i=n.resolve;if(i===d){var o=g(e);if(o===c&&e._state!==te)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===F){var r=new n(f);b(r,e,o),this._willSettleAt(r,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(i(e),t)},k.prototype._settledAt=function(e,t,n){var i=this.promise;i._state===te&&(this._remaining--,e===ie?x(i,n):this._result[t]=n),0===this._remaining&&C(i,this._result)},k.prototype._willSettleAt=function(e,t){var n=this;I(e,void 0,function(e){return n._settledAt(ne,t,e)},function(e){return n._settledAt(ie,t,e)})},F.all=L,F.race=U,F.resolve=d,F.reject=M,F._setScheduler=r,F._setAsap=a,F._asap=K,F.prototype={constructor:F,then:c,catch:function(e){return this.then(null,e)}},F.polyfill=D,F.Promise=F,F})}).call(t,n(14),n(15))},function(e,t,n){var i,o;!function(r){var a=!1;if(i=r,void 0!==(o="function"==typeof i?i.call(t,n,t,e):i)&&(e.exports=o),a=!0,e.exports=r(),a=!0,!a){var s=window.Cookies,l=window.Cookies=r();l.noConflict=function(){return window.Cookies=s,l}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function t(n){function i(t,o,r){var a;if("undefined"!=typeof document){if(arguments.length>1){if(r=e({path:"/"},i.defaults,r),"number"==typeof r.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*r.expires),r.expires=s}r.expires=r.expires?r.expires.toUTCString():"";try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}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=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[\(\)]/g,escape);var l="";for(var u in r)r[u]&&(l+="; "+u,!0!==r[u]&&(l+="="+r[u]));return document.cookie=t+"="+o+l}t||(a={});for(var c=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,f=0;f<c.length;f++){var p=c[f].split("="),h=p.slice(1).join("=");this.json||'"'!==h.charAt(0)||(h=h.slice(1,-1));try{var g=p[0].replace(d,decodeURIComponent);if(h=n.read?n.read(h,g):n(h,g)||h.replace(d,decodeURIComponent),this.json)try{h=JSON.parse(h)}catch(e){}if(t===g){a=h;break}t||(a[g]=h)}catch(e){}}return a}}return i.set=i,i.get=function(e){return i.call(i,e)},i.getJSON=function(){return i.apply({json:!0},[].slice.call(arguments))},i.defaults={},i.remove=function(t,n){i(t,"",e(n,{expires:-1}))},i.withConverter=t,i}return t(function(){})})},function(e,t,n){"use strict";function i(){return new _(function(e){return setTimeout(function(){(0,m.logInfo)("Initializing Frame...");var t=(0,p.getConfiguration)();if((0,p.isPoiActive)()){var n=t[f.OIL_CONFIG.ATTR_HUB_LOCATION];if(n){var i=(0,h.addFrame)(n);i&&!i.onload?i.onload=function(){return e({iframe:i,config:t})}:e({iframe:i,config:t})}else(0,m.logError)("Config for "+f.OIL_CONFIG.ATTR_HUB_ORIGIN+" and "+f.OIL_CONFIG.ATTR_HUB_PATH+" isnt set. No POI possible."),e({config:t})}else(0,m.logInfo)("POI not active. Frame not initialized."),e({config:t})})})}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,m.logInfo)("Send to Frame:",e,t),(0,p.isPoiActive)()&&i().then(function(i){var o=i.iframe,r=i.config,a=r[f.OIL_CONFIG.ATTR_HUB_ORIGIN],s=r[f.OIL_CONFIG.ATTR_OIL_POI_GROUP_NAME];if(o&&a){var l=JSON.stringify({event:e,origin:t,group_name:s,payload:n});o.contentWindow.postMessage(l,a)}})}function r(e){return new _(function(t){function n(e){var o=i[f.OIL_CONFIG.ATTR_HUB_ORIGIN];if(i&&o&&-1!==o.indexOf(e.origin)){var r="object"!==d(e.data)?JSON.parse(e.data):e.data;(0,m.logInfo)("Message from hub received...",e.origin,r),(0,g.removeMessageListener)(n),b=!1,t(r)}}var i=(0,p.getConfiguration)();(0,p.isPoiActive)()||t(!1),setTimeout(function(){return o("oil-status-read",e)}),b||((0,g.registerMessageListener)(n),b=!0),setTimeout(function(){(0,g.removeMessageListener)(n),b=!1,t(!1)},v)})}function a(){return new _(function(e){(0,p.isPoiActive)()||e({power_opt_in:!1}),i().then(function(t){var n=t.iframe;n?n.onload?r((0,g.getOrigin)()).then(function(t){t||e({power_opt_in:!1}),e(t)}):n.onload=function(){return r((0,g.getOrigin)()).then(function(t){t||e({power_opt_in:!1}),e(t)})}:((0,m.logInfo)("Could not initialize POI. Fallback to POI false."),e({power_opt_in:!1}))})})}function s(e){return(0,m.logInfo)("activatePowerOptIn"),new _((0,p.isPoiActive)()?function(t){return i().then(function(){o("oil-poi-activate",(0,g.getOrigin)(),e),setTimeout(t)})}:function(e){e()})}function l(){return(0,m.logInfo)("deActivatePowerOptIn"),new _((0,p.isPoiActive)()?function(e){return i().then(function(){o("oil-poi-delete",(0,g.getOrigin)(),{}),setTimeout(e)})}:function(e){e()})}function u(e){window.location.replace(e)}function c(e){if((0,p.isPoiActive)()){var n=(0,p.getConfiguration)();if(n){var i=JSON.stringify(e),o=encodeURIComponent(i),r=n[f.OIL_CONFIG.ATTR_HUB_LOCATION],a=n[f.OIL_CONFIG.ATTR_OIL_POI_GROUP_NAME];if(r){var s=r+"?"+f.POI_FALLBACK_NAME+"=1";a&&(s=s+"&"+f.POI_FALLBACK_GROUP_NAME+"="+a),e&&(s=s+"&"+f.POI_PAYLOAD+"="+o),t.redirectToLocation(s)}}}}Object.defineProperty(t,"__esModule",{value:!0});var d="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.verifyPowerOptIn=a,t.activatePowerOptInWithIFrame=s,t.deActivatePowerOptIn=l,t.redirectToLocation=u,t.activatePowerOptInWithRedirect=c;var f=n(0),p=n(1),h=n(20),g=n(3),m=n(2),_="undefined"==typeof Promise?n(6).Promise:Promise,v=500,b=!1},function(e,t,n){"use strict";function i(e,t){t?(0,d.logPreviewInfo)("User has given POI permit, OIL not shown."):e?(0,d.logPreviewInfo)("User has given SOI permit, OIL not shown."):(0,d.logPreviewInfo)("User has not opted in at all, OIL should be shown.")}function o(){return new m(function(e){var t=(0,g.getSoiCookie)().opt_in,n=t;(0,c.verifyPowerOptIn)().then(function(o){i(t,o.power_opt_in),o.power_opt_in&&(n=o.power_opt_in,(0,h.isSubscriberSetCookieActive)()&&!t&&(0,g.setSoiOptIn)(o.privacy)),e(n)})})}function r(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]||(0,g.setSoiOptIn)(e),new m(function(t){(0,h.isPoiActive)()&&((0,c.activatePowerOptInWithIFrame)(e),(0,c.verifyPowerOptIn)().then(function(t){!1===t.power_opt_in&&((0,d.logInfo)("iFrame POI didnt work. Trying fallback now."),(0,c.activatePowerOptInWithRedirect)(e))})),u(p.EVENT_NAME_OPT_IN),t(!0)})}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.PRIVACY_SETTINGS_MINIMUM_TRACKING;return(0,g.setSoiOptIn)(e),u(p.EVENT_NAME_OPT_IN),new m(function(e){e(!0)})}function s(){return(0,g.setOptLater)(!0),u(p.EVENT_NAME_OPT_LATER),new m(function(e){e(!0)})}function l(){return(0,g.setOilOptIgnore)(!0),u(p.EVENT_NAME_OPT_IGNORE),new m(function(e){e(!0)})}function u(e){(0,f.sendEventToHostSite)(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.checkOptIn=o,t.oilPowerOptIn=r,t.oilOptIn=a,t.oilOptLater=s,t.oilOptIgnore=l,t.fireConfiguredMessageEvent=u;var c=n(8),d=n(2),f=n(3),p=n(0),h=n(1),g=n(4),m="undefined"==typeof Promise?n(6).Promise:Promise},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.advancedSettingsSnippet=void 0;var i=n(5),o=n(1);t.advancedSettingsSnippet=function(){var e=(0,o.getConfiguration)();return'\n <div class="'+i.CSSPrefix+"oil-l-row "+i.CSSPrefix+'oil-l-cpc">\n <div id="'+i.CSSPrefix+'slider-range" class="'+i.CSSPrefix+'slider-wrapper" data-qa="oil-as-slider"></div>\n <div class="'+i.CSSPrefix+'slider-desc">\n <div id="'+i.CSSPrefix+'slider-essential-title" class="'+i.CSSPrefix+'slider-inactive ">\n <div class="'+i.CSSPrefix+'slider-option-title">'+e.label_advanced_settings_essential_title+'</div>\n <div class="'+i.CSSPrefix+'slider-option-verbose">'+e.label_advanced_settings_essential_verbose+'</div>\n </div>\n <div id="'+i.CSSPrefix+'slider-functional-title" class="'+i.CSSPrefix+'slider-inactive">\n <div class="'+i.CSSPrefix+'slider-option-title">'+e.label_advanced_settings_functional_text+'</div>\n <div class="'+i.CSSPrefix+'slider-option-verbose">'+e.label_advanced_settings_functional_verbose+'</div>\n </div>\n <div id="'+i.CSSPrefix+'slider-advertising-title" class="'+i.CSSPrefix+'slider-inactive">\n <div class="'+i.CSSPrefix+'slider-option-title">'+e.label_advanced_settings_advertising_text+'</div>\n <div class="'+i.CSSPrefix+'slider-option-verbose">'+e.label_advanced_settings_advertising_verbose+"</div>\n </div>\n </div>\n </div>\n"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.POIButtonSnippet=void 0;var i=n(1),o=n(0),r=n(5);t.POIButtonSnippet=function(){var e=(0,i.getConfiguration)();return e[o.OIL_CONFIG.ATTR_ACTIVATE_POI]?'\n <div class="'+r.CSSPrefix+'oil-l-item">\n <button class="'+r.CSSPrefix+"oil__btn-poi "+r.CSSPrefix+'js-optin-poi" data-context="'+o.DATA_CONTEXT_YES_POI+'" data-qa="oil-poi-YesButton">\n '+e.label_button_yes_poi+"\n </button>\n </div>\n ":""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.privacyPageSnippet=void 0;var i=n(1),o=n(0),r=n(2),a=n(5);t.privacyPageSnippet=function(){var e=(0,i.getConfiguration)(),t=e[o.OIL_CONFIG.ATTR_PRIVACY_PAGE_URL];return t?'\n <a href="'+t+'" \n class="'+a.CSSPrefix+'oil__intro-txt--link"\n data-qa="'+o.DATAQA_PRIVACY_PAGE+'"\n target="_blank"\n >'+e.label_button_privacy+"</a>":((0,r.logInfo)("You don't have specified a link to your privacy page. Check the configuration section in your page and add a key \""+o.OIL_CONFIG.ATTR_PRIVACY_PAGE_URL+'" with a link to your privacy page.'),"")}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},o=0;o<this.length;o++){var r=this[o][0];"number"==typeof r&&(i[r]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function r(e){if(d===clearTimeout)return clearTimeout(e);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){g&&p&&(g=!1,p.length?h=p.concat(h):m=-1,h.length&&s())}function s(){if(!g){var e=o(a);g=!0;for(var t=h.length;t;){for(p=h,h=[];++m<t;)p&&p[m].run();m=-1,t=h.length}p=null,g=!1,r(e)}}function l(e,t){this.fun=e,this.array=t}function u(){}var c,d,f=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"==typeof clearTimeout?clearTimeout:i}catch(e){d=i}}();var p,h=[],g=!1,m=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new l(e,t)),1!==h.length||g||o(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},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){},function(e,t,n){"use strict";function i(e){return!0!==e.optIn&&!0!==e.optIgnore}function o(e,t,n){for(var i=0;i<e.length;i++)t.call(n,e[i])}function r(e,t){e&&i(t)?t.noCookie?l(e,(0,k.oilNoCookiesTemplate)()):t.optLater?l(e,(0,N.oilOptLaterTemplate)()):t.advancedSettings?l(e,(0,R.oilAdvancedSettingsTemplate)()):l(e,(0,E.oilDefaultTemplate)()):u()}function a(e){switch(e){default:case"0.00":return(0,M.logInfo)("Essential Cookies selected"),O.PRIVACY_MINIMUM_TRACKING;case"1.00":return(0,M.logInfo)("Functional Cookies selected"),O.PRIVACY_FUNCTIONAL_TRACKING;case"2.00":return(0,M.logInfo)("Full Cookies selected"),O.PRIVACY_FULL_TRACKING}}function s(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.PRIVACY_MINIMUM_TRACKING,n=document.querySelector("#oil-preference-center");if(e)r(e,{advancedSettings:!0});else{if(!n)return void(0,M.logError)("No wrapper for the CPC with the id #oil-preference-center was found.");n.innerHTML=(0,L.advancedSettingsSnippet)()}var i=document.getElementById(U.CSSPrefix+"slider-range"),o=t,s=(0,A.getSoiPrivacy)();s&&(o=s.oiid),I.default.create(i,{start:o,step:1,orientation:"vertical",range:{min:O.PRIVACY_MINIMUM_TRACKING,max:O.PRIVACY_FULL_TRACKING}});var l=document.getElementById(U.CSSPrefix+"slider-essential-title"),u=document.getElementById(U.CSSPrefix+"slider-functional-title"),c=document.getElementById(U.CSSPrefix+"slider-advertising-title");i.noUiSlider.on("update",function(e){switch(a(e[0])){case O.PRIVACY_MINIMUM_TRACKING:default:l.setAttribute("class",U.CSSPrefix+"slider-active"),u.setAttribute("class",U.CSSPrefix+"slider-inactive"),c.setAttribute("class",U.CSSPrefix+"slider-inactive");break;case O.PRIVACY_FUNCTIONAL_TRACKING:l.setAttribute("class",U.CSSPrefix+"slider-inactive"),u.setAttribute("class",U.CSSPrefix+"slider-active"),c.setAttribute("class",U.CSSPrefix+"slider-inactive");break;case O.PRIVACY_FULL_TRACKING:l.setAttribute("class",U.CSSPrefix+"slider-inactive"),u.setAttribute("class",U.CSSPrefix+"slider-inactive"),c.setAttribute("class",U.CSSPrefix+"slider-active")}})}function l(e,t){e.innerHTML=t,c(e)}function u(){var e=d();e.oilWrapper&&C(e)}function c(e){u(),document.body.insertBefore(e,document.body.firstElementChild),w(d())}function d(){return{oilWrapper:document.querySelectorAll("."+U.CSSPrefix+"oil"),btnSoiOptIn:document.querySelectorAll("."+U.CSSPrefix+"oil ."+U.CSSPrefix+"js-optin"),btnPoiOptIn:document.querySelectorAll("."+U.CSSPrefix+"oil ."+U.CSSPrefix+"js-optin-poi"),btnOptLater:document.querySelectorAll("."+U.CSSPrefix+"oil ."+U.CSSPrefix+"js-optlater"),btnAdvancedSettings:document.querySelectorAll("."+U.CSSPrefix+"oil ."+U.CSSPrefix+"js-advanced-settings"),btnClose:document.querySelectorAll("."+U.CSSPrefix+"oil ."+U.CSSPrefix+"js-optignore"),btnBack:document.querySelectorAll("."+U.CSSPrefix+"oil ."+U.CSSPrefix+"js-oilback")}}function f(){var e=document.getElementById(U.CSSPrefix+"slider-range");return e?a(e.noUiSlider.get()):O.PRIVACY_FULL_TRACKING}function p(){var e=(0,T.getConfiguration)();(0,M.logInfo)("Handling OptLater"),(0,y.oilOptLater)().then(function(t){r(G,{optLater:t}),2===e[O.OIL_CONFIG.ATTR_GA_TRACKING]&&(0,T.gaTrackEvent)("later",0)})}function h(){var e=(0,T.getConfiguration)();(0,M.logInfo)("Handling Back Button"),r(G,{}),2===e[O.OIL_CONFIG.ATTR_GA_TRACKING]&&(0,T.gaTrackEvent)("back-to-main-dialog",0)}function g(){var e=(0,T.getConfiguration)();s(G,O.PRIVACY_MINIMUM_TRACKING),2===e[O.OIL_CONFIG.ATTR_GA_TRACKING]&&(0,T.gaTrackEvent)("advanced-settings",0)}function m(){var e=this,t=(0,T.getConfiguration)(),n=f();(0,M.logInfo)("Handling POI with settings: ",n),n!==O.PRIVACY_MINIMUM_TRACKING||t[O.OIL_CONFIG.ATTR_PERSIST_MINIMUM_TRACKING]?(0,y.oilOptIn)((0,A.convertPrivacySettingsToCookieValue)(n)).then(function(t){r(G,{optIn:t}),e&&e.getAttribute("data-context")===O.DATA_CONTEXT_YES?(0,T.gaTrackEvent)("SOI/yes",0):e&&(0,T.gaTrackEvent)("SOI/yes-while-later",0)}):((0,A.removeSubscriberCookies)(),p())}function _(){var e=this,t=(0,T.getConfiguration)(),n=f();(0,M.logInfo)("Handling POI with settings: ",n),n!==O.PRIVACY_MINIMUM_TRACKING||t[O.OIL_CONFIG.ATTR_PERSIST_MINIMUM_TRACKING]?(0,y.oilPowerOptIn)((0,A.convertPrivacySettingsToCookieValue)(n),!t[O.OIL_CONFIG.ATTR_SUB_SET_COOKIE]).then(function(){r(G,{optIn:!0}),e&&e.getAttribute("data-context")===O.DATA_CONTEXT_YES_POI?(0,T.gaTrackEvent)("POI/yes",0):e&&(0,T.gaTrackEvent)("POI/yes-while-later",0)}):((0,A.removeSubscriberCookies)(),(0,P.deActivatePowerOptIn)(),p())}function v(){var e=(0,T.getConfiguration)();(0,y.oilOptIgnore)().then(function(t){r(G,{optIgnore:t}),2===e[O.OIL_CONFIG.ATTR_GA_TRACKING]&&(0,T.gaTrackEvent)("ignored",0)})}function b(e,t){e&&o(e,function(e){e&&e.addEventListener("click",t,!1)})}function S(e,t){e&&o(e,function(e){e&&e.removeEventListener("click",t,!1)})}function w(e){b(e.btnSoiOptIn,m),b(e.btnPoiOptIn,_),b(e.btnOptLater,p),b(e.btnAdvancedSettings,g),b(e.btnClose,v),b(e.btnBack,h)}function C(e){S(e.btnSoiOptIn,m),S(e.btnPoiOptIn,_),S(e.btnOptLater,p),S(e.btnAdvancedSettings,g),S(e.btnClose,v),S(e.btnBack,h),e.oilWrapper&&o(e.oilWrapper,function(e){e.parentElement.removeChild(e)})}Object.defineProperty(t,"__esModule",{value:!0}),t.oilWrapper=void 0,t.forEach=o,t.renderOil=r,t.oilShowPreferenceCenter=s,t.handleSoiOptIn=m,t.handlePoiOptIn=_,t.handleOilIgnore=v,n(30);var x=n(28),I=function(e){return e&&e.__esModule?e:{default:e}}(x),T=n(1),A=n(4),O=n(0),y=n(9),P=n(8),E=n(23),N=n(25),k=n(24),R=n(22),L=n(10),U=n(5),M=n(2),G=t.oilWrapper=function(){var e=document.createElement("div");return e.setAttribute("class",U.CSSPrefix+"oil"),e.setAttribute("data-qa","oil-Layer"),e}()},function(e,t,n){"use strict";function i(e){e&&e.data&&void 0!==e.data.indexOf&&-1!==e.data.indexOf(r.EVENT_NAME_OPT_OUT_TRIGGER)&&((0,l.logInfo)("OptOut Received."),(0,u.removeSubscriberCookies)(),(0,a.deActivatePowerOptIn)())}function o(){(0,l.logInfo)("registerOptOutListener"),(0,s.registerMessageListener)(i)}Object.defineProperty(t,"__esModule",{value:!0}),t.registerOptOutListener=o;var r=n(0),a=n(8),s=n(3),l=n(2),u=n(4)},function(e,t,n){"use strict";function i(){window.oilPreviewModeOn=function(){return(0,f.setPreviewCookie)(),"preview mode on"},window.oilPreviewModeOff=function(){return(0,f.removePreviewCookie)(),"preview mode off"},window.oilVerboseModeOn=function(){return(0,f.setVerboseCookie)(),"verbose mode on"},window.oilVerboseModeOff=function(){return(0,f.removeVerboseCookie)(),"verbose mode off"},window.oilReload=function(){return(0,u.resetConfiguration)(),o(),"OIL reloaded"},window.oilStatus=function(){return(0,p.getSoiCookie)()},window.oilShowPreferenceCenter=r.oilShowPreferenceCenter,window.oilTriggerSoiOptIn=r.handleSoiOptIn,window.oilTriggerPoiOptin=r.handlePoiOptIn,window.oilTriggerIgnore=r.handleOilIgnore}function o(){if((0,l.logInfo)("Init OilLayer (version 1.0.8)"),i(),(0,u.isPreviewMode)()&&!(0,f.isPreviewCookieSet)()&&(0,l.logPreviewInfo)("Preview mode not correctly set, please see the documentation on how to set the cookie."),!(0,u.isPreviewMode)()||(0,f.isPreviewCookieSet)()){if(!(0,d.isBrowserCookieEnabled)())return(0,l.logInfo)("This browser doesn't allow cookies."),(0,r.renderOil)(r.oilWrapper,{noCookie:!0}),void(0,u.gaTrackEvent)("Loaded/No cookies",1);(0,a.checkOptIn)().then(function(e){(0,s.registerOptOutListener)(),e?(0,a.fireConfiguredMessageEvent)(c.EVENT_NAME_HAS_OPTED_IN):(0,f.hasOptedIgnore)()?((0,a.fireConfiguredMessageEvent)(c.EVENT_NAME_HAS_OPTED_IGNORE),(0,u.gaTrackEvent)("Loaded/Ignored",1)):(0,f.hasOptedLater)()?((0,r.renderOil)(r.oilWrapper,{optLater:!0}),(0,a.fireConfiguredMessageEvent)(c.EVENT_NAME_HAS_OPTED_LATER),(0,u.gaTrackEvent)("Loaded/Later",1)):((0,r.renderOil)(r.oilWrapper,{optLater:!1}),(0,d.hasGALoaded)().then(function(){return(0,u.gaTrackEvent)("Loaded/Initial",1)}).catch(function(e){return(0,l.logInfo)(e)}))})}}Object.defineProperty(t,"__esModule",{value:!0}),t.initOilLayer=o;var r=n(17),a=n(9),s=n(18),l=n(2),u=n(1),c=n(0),d=n(3),f=n(4),p=n(4);!function(){o()}()},function(e,t,n){"use strict";function i(e){var t=document.getElementById("oil-frame");return t?(0,o.logInfo)("Found frame already, not creating another one."):((0,o.logInfo)("Creating frame..."),t=document.createElement("iframe"),t.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}Object.defineProperty(t,"__esModule",{value:!0}),t.addFrame=i;var o=n(2)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.POIButtonSnippet=void 0;var i=n(1),o=n(0),r=n(5);t.POIButtonSnippet=function(){var e=(0,i.getConfiguration)();return e[o.OIL_CONFIG.ATTR_ACTIVATE_POI]?'\n <button class="'+r.CSSPrefix+"oil-loi__btn-poi "+r.CSSPrefix+'js-optin-poi" data-context="'+o.DATA_CONTEXT_YES_POI_WHILE_LATER+'" data-qa="oil-small-poi-YesButton">\n '+e.label_button_yes_poi+"\n </button>\n ":""}},function(e,t,n){"use strict";function i(){var e=(0,s.getConfiguration)();return'\n<div class="'+o.CSSPrefix+"oil-content-overlay "+o.CSSPrefix+'oil-has-gradient" data-qa="oil-as-overlay">\n <div class="'+o.CSSPrefix+'oil-l-wrapper-layout-max-width">\n <div class="'+o.CSSPrefix+'oil__heading">\n '+e.label_advanced_settings_heading+'\n </div>\n <p class="'+o.CSSPrefix+'oil__intro-txt">\n '+e.label_advanced_settings_text+"\n </p>\n "+(0,r.advancedSettingsSnippet)()+'\n <div class="'+o.CSSPrefix+"oil-l-row "+o.CSSPrefix+'oil-l-buttons">\n '+(0,l.POIButtonSnippet)()+"\n "+u(e[a.OIL_CONFIG.ATTR_ACTIVATE_POI])+'\n <div class="'+o.CSSPrefix+"oil-l-item "+o.CSSPrefix+'oil-l-item--stretch">\n <button class="'+o.CSSPrefix+"oil__btn-loi "+o.CSSPrefix+'js-oilback" data-context="'+a.DATA_CONTEXT_BACK+'" data-qa="oil-NotNowButton">\n '+e.label_button_back+"\n </button>\n </div>\n </div>\n </div>\n </div>\n"}Object.defineProperty(t,"__esModule",{value:!0}),t.oilAdvancedSettingsTemplate=i;var o=n(5),r=n(10),a=n(0),s=n(1),l=n(11),u=function(e){var t=(0,s.getConfiguration)();return!0!==e?' <div class="'+o.CSSPrefix+'oil-l-item">\n <button class="'+o.CSSPrefix+"oil__btn-soi "+o.CSSPrefix+'js-optin" data-context="'+a.DATA_CONTEXT_YES+'" data-qa="oil-YesButton">\n '+t.label_button_yes_soi+"\n </button>\n </div>\n ":""}},function(e,t,n){"use strict";function i(){var e=(0,r.getConfiguration)();return'\n <div class="'+l.CSSPrefix+"oil-content-overlay "+l.CSSPrefix+'oil-has-gradient" data-qa="oil-full">\n <div class="'+l.CSSPrefix+'oil-l-wrapper-layout-max-width">\n <div class="'+l.CSSPrefix+'oil__heading">\n '+e.label_intro_heading+'\n </div>\n <p class="'+l.CSSPrefix+'oil__intro-txt">\n '+e.label_intro_start+" "+(0,s.privacyPageSnippet)()+"\n "+e.label_intro_end+'\n </p>\n <div class="'+l.CSSPrefix+"oil-l-row "+l.CSSPrefix+'oil-l-buttons">\n '+(0,a.POIButtonSnippet)()+'\n <div class="'+l.CSSPrefix+'oil-l-item">\n <button class="'+l.CSSPrefix+"oil__btn-soi "+l.CSSPrefix+'js-optin" data-context="'+o.DATA_CONTEXT_YES+'" data-qa="oil-YesButton">\n '+e.label_button_yes_soi+'\n </button>\n </div>\n <div class="'+l.CSSPrefix+"oil-l-item "+l.CSSPrefix+'oil-l-item--stretch">\n '+c(e[o.OIL_CONFIG.ATTR_ADVANCED_SETTINGS])+"\n "+u(e[o.OIL_CONFIG.ATTR_ADVANCED_SETTINGS])+"\n </div>\n </div>\n\n </div>\n </div>\n"}Object.defineProperty(t,"__esModule",{value:!0}),t.oilDefaultTemplate=i;var o=n(0),r=n(1),a=n(11),s=n(12),l=n(5),u=function(e){var t=(0,r.getConfiguration)();return!0===e?'\n <button class="'+l.CSSPrefix+"oil__btn-as "+l.CSSPrefix+'js-advanced-settings" data-context="'+o.DATA_CONTEXT_ADVANCED_SETTINGS+'" data-qa="oil-AdvancedSettingsButton">\n '+t.label_button_advanced_settings+"\n </button>\n ":""},c=function(e){var t=(0,r.getConfiguration)();return!0!==e?'\n <button class="'+l.CSSPrefix+"oil__btn-loi "+l.CSSPrefix+'js-optlater" data-context="'+o.DATA_CONTEXT_LATER+'" data-qa="oil-NotNowButton">\n '+t.label_button_no+"\n </button>\n ":""}},function(e,t,n){"use strict";function i(){return'\n <div class="'+o.CSSPrefix+'oil-content-overlay oil-nocookies" data-qa="oil-nocookies">\n <div class="'+o.CSSPrefix+'oil-l-wrapper-layout-max-width">\n <div class="'+o.CSSPrefix+'oil__heading">\n Um unsere Services bestmöglich erbringen zu können, müssen in deinem Browser Cookies aktiviert sein.\n </div>\n <p class="'+o.CSSPrefix+'oil__intro-txt">\n Bitte aktiviere Cookies in den Einstellungen deines Browsers. \n So kannst du in \n <a href="https://support.google.com/chrome/answer/95647?co=GENIE.Platform%3DDesktop&hl=en-GB" \n class="'+o.CSSPrefix+'oil__intro-txt--link" \n target="_blank"\n >\n Google Chrome\n </a>oder \n <a href="https://support.mozilla.org/en-US/kb/cookies-information-websites-store-on-your-computer" \n class="'+o.CSSPrefix+'oil__intro-txt--link" \n target="_blank"\n >\n Firefox\n </a>Cookies aktivieren. \n </p>\n </div>\n </div>\n'}Object.defineProperty(t,"__esModule",{value:!0}),t.oilNoCookiesTemplate=i;var o=n(5)},function(e,t,n){"use strict";function i(){var e=(0,s.getConfiguration)();return'\n <div class="'+o.CSSPrefix+"oil-content-overlay "+o.CSSPrefix+'oil-opt-later" data-qa="oil-optlater">\n '+u(e[l.OIL_CONFIG.ATTR_OIL_IGNORE])+'\n <div class="'+o.CSSPrefix+"oil-l-row "+o.CSSPrefix+'oil-l-row--fixed-width">\n <div class="'+o.CSSPrefix+'oil-l-item">\n <div class="'+o.CSSPrefix+'oil-loi__heading">\n '+e.label_later_heading+'\n </div>\n <p class="'+o.CSSPrefix+'oil-loi__intro-txt">\n '+e.label_later_start+" "+(0,a.privacyPageSnippet)()+"\n "+e.label_later_end+'\n </p>\n </div>\n <div class="'+o.CSSPrefix+"oil-l-item "+o.CSSPrefix+'oil-l-item--stretch">\n '+(0,r.POIButtonSnippet)()+'\n <button class="'+o.CSSPrefix+"oil-loi__btn-soi "+o.CSSPrefix+'js-optin" data-context="'+l.DATA_CONTEXT_YES_WHILE_LATER+'" data-qa="oil-small-YesButton">\n '+e.label_button_yes_soi+"\n </button>\n </div>\n </div>\n </div>\n"}Object.defineProperty(t,"__esModule",{value:!0}),t.oilOptLaterTemplate=i;var o=n(5),r=n(21),a=n(12),s=n(1),l=n(0),u=function(e){return!0===e?'\n <div class="'+o.CSSPrefix+"oil-close "+o.CSSPrefix+'js-optignore" data-context="'+l.DATA_CONTEXT_IGNORE_WHILE_LATER+'" data-qa="oil-closeButton">\n <svg class="'+o.CSSPrefix+'oil-icon-close" width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg">\n <g fill-rule="evenodd">\n <path d="M.222 13.364L12.95.636l1.414 1.414L1.636 14.778z"/>\n <path d="M1.636.636l12.728 12.728-1.414 1.414L.222 2.05z"/>\n </g>\n </svg>\n </div>\n ':""}},function(e,t,n){t=e.exports=n(13)(),t.push([e.i,'/*! nouislider - 10.1.0 - 2017-07-28 17:11:18 */.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;box-sizing:border-box}.noUi-target{position:relative;direction:ltr}.noUi-base{width:100%;height:100%;position:relative;z-index:1}.noUi-connect{position:absolute;right:0;top:0;left:0;bottom:0}.noUi-origin{position:absolute;height:0;width:0}.noUi-handle{position:relative;z-index:1}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{transition:top .3s,right .3s,bottom .3s,left .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-base,.noUi-handle{-webkit-transform:translateZ(0);transform:translateZ(0)}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;left:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;left:-6px;top:-17px}.noUi-target{background:#fafafa;border-radius:4px;border:1px solid #d3d3d3;box-shadow:inset 0 1px 1px #f0f0f0,0 3px 6px -5px #bbb}.noUi-connect{background:#3fb8af;border-radius:4px;box-shadow:inset 0 0 3px rgba(51,51,51,.45);transition:background .45s}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #d9d9d9;border-radius:3px;background:#fff;cursor:default;box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ebebeb,0 3px 6px -3px #bbb}.noUi-active{box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ddd,0 3px 6px -3px #bbb}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#e8e7e6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#b8b8b8}[disabled].noUi-handle,[disabled] .noUi-handle,[disabled].noUi-target{cursor:not-allowed}.noUi-pips,.noUi-pips *{box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{p