/*! For license information please see vendor-banner_tcf.pro.js.LICENSE.txt */ (self.webpackChunkrealCookieBanner_=self.webpackChunkrealCookieBanner_||[]).push([[94],{4976:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===s}(e)}(e)},s="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((s=e,Array.isArray(s)?[]:{}),e,t):e;var s}function r(e,t,s){return e.concat(t).map((function(e){return n(e,s)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,s,c){(c=c||{}).arrayMerge=c.arrayMerge||r,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=n;var u=Array.isArray(s);return u===Array.isArray(e)?u?c.arrayMerge(e,s,c):function(e,t,s){var r={};return s.isMergeableObject(e)&&i(e).forEach((function(t){r[t]=n(e[t],s)})),i(t).forEach((function(i){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(o(e,i)&&s.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return a;var s=t.customMerge(e);return"function"==typeof s?s:a}(i,s)(e[i],t[i],s):r[i]=n(t[i],s))})),r}(e,s,c):n(s,c)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,s){return a(e,s,t)}),{})};var c=a;e.exports=c},1685:function(e,t,s){var n;!function(t){"use strict";var r=function(){},i=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return setTimeout(e,16)};function o(){var e=this;e.reads=[],e.writes=[],e.raf=i.bind(t),r("initialized",e)}function a(e){e.scheduled||(e.scheduled=!0,e.raf(c.bind(null,e)),r("flush scheduled"))}function c(e){r("flush");var t,s=e.writes,n=e.reads;try{r("flushing reads",n.length),e.runTasks(n),r("flushing writes",s.length),e.runTasks(s)}catch(e){t=e}if(e.scheduled=!1,(n.length||s.length)&&a(e),t){if(r("task errored",t.message),!e.catch)throw t;e.catch(t)}}function u(e,t){var s=e.indexOf(t);return!!~s&&!!e.splice(s,1)}o.prototype={constructor:o,runTasks:function(e){var t;for(r("run tasks");t=e.shift();)t()},measure:function(e,t){r("measure");var s=t?e.bind(t):e;return this.reads.push(s),a(this),s},mutate:function(e,t){r("mutate");var s=t?e.bind(t):e;return this.writes.push(s),a(this),s},clear:function(e){return r("clear",e),u(this.reads,e)||u(this.writes,e)},extend:function(e){if(r("extend",e),"object"!=typeof e)throw new Error("expected object");var t=Object.create(this);return function(e,t){for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s])}(t,e),t.fastdom=this,t.initialize&&t.initialize(),t},catch:null};var l=t.fastdom=t.fastdom||new o;void 0===(n=function(){return l}.call(l,s,l,e))||(e.exports=n)}("undefined"!=typeof window?window:void 0!==this?this:globalThis)},7936:(e,t,s)=>{"use strict";s.d(t,{FK:()=>a.FK,tY:()=>B,q6:()=>a.q6,n:()=>a.n,d5:()=>J,Rf:()=>U,Qv:()=>re,RZ:()=>W,XX:()=>ne,xJ:()=>_e,hb:()=>I,NT:()=>w,vJ:()=>b,Nf:()=>C,Kr:()=>S,li:()=>E,J0:()=>y});var n,r,i,o,a=s(9058),c=0,u=[],l=[],p=a.fF,d=p.__b,_=p.__r,h=p.diffed,f=p.__c,m=p.unmount,g=p.__;function v(e,t){p.__h&&p.__h(r,e,c||t),c=0;var s=r.__H||(r.__H={__:[],__h:[]});return e>=s.__.length&&s.__.push({__V:l}),s.__[e]}function y(e){return c=1,function(e,t,s){var i=v(n++,2);if(i.t=e,!i.__c&&(i.__=[s?s(t):R(void 0,t),function(e){var t=i.__N?i.__N[0]:i.__[0],s=i.t(t,e);t!==s&&(i.__N=[s,i.__[1]],i.__c.setState({}))}],i.__c=r,!r.u)){var o=function(e,t,s){if(!i.__c.__H)return!0;var n=i.__c.__H.__.filter((function(e){return!!e.__c}));if(n.every((function(e){return!e.__N})))return!a||a.call(this,e,t,s);var r=!1;return n.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(r=!0)}})),!(!r&&i.__c.props===e)&&(!a||a.call(this,e,t,s))};r.u=!0;var a=r.shouldComponentUpdate,c=r.componentWillUpdate;r.componentWillUpdate=function(e,t,s){if(this.__e){var n=a;a=void 0,o(e,t,s),a=n}c&&c.call(this,e,t,s)},r.shouldComponentUpdate=o}return i.__N||i.__}(R,e)}function b(e,t){var s=v(n++,3);!p.__s&&P(s.__H,t)&&(s.__=e,s.i=t,r.__H.__h.push(s))}function C(e,t){var s=v(n++,4);!p.__s&&P(s.__H,t)&&(s.__=e,s.i=t,r.__h.push(s))}function E(e){return c=5,S((function(){return{current:e}}),[])}function S(e,t){var s=v(n++,7);return P(s.__H,t)?(s.__V=e(),s.i=t,s.__h=e,s.__V):s.__}function I(e,t){return c=8,S((function(){return e}),t)}function w(e){var t=r.context[e.__c],s=v(n++,9);return s.c=e,t?(null==s.__&&(s.__=!0,t.sub(r)),t.props.value):e.__}function A(){for(var e;e=u.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(T),e.__H.__h.forEach(O),e.__H.__h=[]}catch(t){e.__H.__h=[],p.__e(t,e.__v)}}p.__b=function(e){r=null,d&&d(e)},p.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),g&&g(e,t)},p.__r=function(e){_&&_(e),n=0;var t=(r=e.__c).__H;t&&(i===r?(t.__h=[],r.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=l,e.__N=e.i=void 0}))):(t.__h.forEach(T),t.__h.forEach(O),t.__h=[],n=0)),i=r},p.diffed=function(e){h&&h(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==u.push(t)&&o===p.requestAnimationFrame||((o=p.requestAnimationFrame)||V)(A)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==l&&(e.__=e.__V),e.i=void 0,e.__V=l}))),i=r=null},p.__c=function(e,t){t.some((function(e){try{e.__h.forEach(T),e.__h=e.__h.filter((function(e){return!e.__||O(e)}))}catch(s){t.some((function(e){e.__h&&(e.__h=[])})),t=[],p.__e(s,e.__v)}})),f&&f(e,t)},p.unmount=function(e){m&&m(e);var t,s=e.__c;s&&s.__H&&(s.__H.__.forEach((function(e){try{T(e)}catch(e){t=e}})),s.__H=void 0,t&&p.__e(t,s.__v))};var L="function"==typeof requestAnimationFrame;function V(e){var t,s=function(){clearTimeout(n),L&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(s,100);L&&(t=requestAnimationFrame(s))}function T(e){var t=r,s=e.__c;"function"==typeof s&&(e.__c=void 0,s()),r=t}function O(e){var t=r;e.__c=e.__(),r=t}function P(e,t){return!e||e.length!==t.length||t.some((function(t,s){return t!==e[s]}))}function R(e,t){return"function"==typeof t?t(e):t}function N(e,t){for(var s in t)e[s]=t[s];return e}function k(e,t){for(var s in e)if("__source"!==s&&!(s in t))return!0;for(var n in t)if("__source"!==n&&e[n]!==t[n])return!0;return!1}function D(e,t){this.props=e,this.context=t}(D.prototype=new a.uA).isPureReactComponent=!0,D.prototype.shouldComponentUpdate=function(e,t){return k(this.props,e)||k(this.state,t)};var x=a.fF.__b;a.fF.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),x&&x(e)};var F="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function U(e){function t(t){var s=N({},t);return delete s.ref,e(s,t.ref||null)}return t.$$typeof=F,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var M=(a.v2,a.fF.__e);a.fF.__e=function(e,t,s,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=s.__e,t.__k=s.__k),r.__c(e,t);M(e,t,s,n)};var H=a.fF.unmount;function j(e,t,s){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=N({},e)).__c&&(e.__c.__P===s&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return j(e,t,s)}))),e}function G(e,t,s){return e&&s&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return G(e,t,s)})),e.__c&&e.__c.__P===t&&(e.__e&&s.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=s)),e}function B(){this.__u=0,this.t=null,this.__b=null}function $(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function W(e){var t,s,n;function r(r){if(t||(t=e()).then((function(e){s=e.default||e}),(function(e){n=e})),n)throw n;if(!s)throw t;return(0,a.n)(s,r)}return r.displayName="Lazy",r.__f=!0,r}function Q(){this.u=null,this.o=null}a.fF.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),H&&H(e)},(B.prototype=new a.uA).__c=function(e,t){var s=t.__c,n=this;null==n.t&&(n.t=[]),n.t.push(s);var r=$(n.__v),i=!1,o=function(){i||(i=!0,s.__R=null,r?r(a):a())};s.__R=o;var a=function(){if(! --n.__u){if(n.state.__a){var e=n.state.__a;n.__v.__k[0]=G(e,e.__c.__P,e.__c.__O)}var t;for(n.setState({__a:n.__b=null});t=n.t.pop();)t.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(o,o)},B.prototype.componentWillUnmount=function(){this.t=[]},B.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var s=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=j(this.__b,s,n.__O=n.__P)}this.__b=null}var r=t.__a&&(0,a.n)(a.FK,null,e.fallback);return r&&(r.__u&=-33),[(0,a.n)(a.FK,null,t.__a?null:e.children),r]};var z=function(e,t,s){if(++s[1]===s[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(s=e.u;s;){for(;s.length>3;)s.pop()();if(s[1]>>1,1),t.i.removeChild(e)}}),(0,a.XX)((0,a.n)(q,{context:t.context},e.__v),t.l)}function J(e,t){var s=(0,a.n)(K,{__v:e,i:t});return s.containerInfo=t,s}(Q.prototype=new a.uA).__a=function(e){var t=this,s=$(t.__v),n=t.o.get(e);return n[0]++,function(r){var i=function(){t.props.revealOrder?(n.push(r),z(t,e,n)):r()};s?s(i):i()}},Q.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,a.v2)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var s=t.length;s--;)this.o.set(t[s],this.u=[1,0,this.u]);return e.children},Q.prototype.componentDidUpdate=Q.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,s){z(e,s,t)}))};var X="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Y=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Z=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ee=/[A-Z0-9]/g,te="undefined"!=typeof document,se=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function ne(e,t,s){return null==t.__k&&(t.textContent=""),(0,a.XX)(e,t),"function"==typeof s&&s(),e?e.__c:null}function re(e,t,s){return(0,a.Qv)(e,t),"function"==typeof s&&s(),e?e.__c:null}a.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(a.uA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var ie=a.fF.event;function oe(){}function ae(){return this.cancelBubble}function ce(){return this.defaultPrevented}a.fF.event=function(e){return ie&&(e=ie(e)),e.persist=oe,e.isPropagationStopped=ae,e.isDefaultPrevented=ce,e.nativeEvent=e};var ue={enumerable:!1,configurable:!0,get:function(){return this.class}},le=a.fF.vnode;a.fF.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,s=e.type,n={};for(var r in t){var i=t[r];if(!("value"===r&&"defaultValue"in t&&null==i||te&&"children"===r&&"noscript"===s||"class"===r||"className"===r)){var o=r.toLowerCase();"defaultValue"===r&&"value"in t&&null==t.value?r="value":"download"===r&&!0===i?i="":"translate"===o&&"no"===i?i=!1:"ondoubleclick"===o?r="ondblclick":"onchange"!==o||"input"!==s&&"textarea"!==s||se(t.type)?"onfocus"===o?r="onfocusin":"onblur"===o?r="onfocusout":Z.test(r)?r=o:-1===s.indexOf("-")&&Y.test(r)?r=r.replace(ee,"-$&").toLowerCase():null===i&&(i=void 0):o=r="oninput","oninput"===o&&n[r=o]&&(r="oninputCapture"),n[r]=i}}"select"==s&&n.multiple&&Array.isArray(n.value)&&(n.value=(0,a.v2)(t.children).forEach((function(e){e.props.selected=-1!=n.value.indexOf(e.props.value)}))),"select"==s&&null!=n.defaultValue&&(n.value=(0,a.v2)(t.children).forEach((function(e){e.props.selected=n.multiple?-1!=n.defaultValue.indexOf(e.props.value):n.defaultValue==e.props.value}))),t.class&&!t.className?(n.class=t.class,Object.defineProperty(n,"className",ue)):(t.className&&!t.class||t.class&&t.className)&&(n.class=n.className=t.className),e.props=n}(e),e.$$typeof=X,le&&le(e)};var pe=a.fF.__r;a.fF.__r=function(e){pe&&pe(e),e.__c};var de=a.fF.diffed;function _e(e){return!!e.__k&&((0,a.XX)(null,e),!0)}a.fF.diffed=function(e){de&&de(e);var t=e.props,s=e.__e;null!=s&&"textarea"===e.type&&"value"in t&&t.value!==s.value&&(s.value=null==t.value?"":t.value)},a.FK,a.n,a.q6,a._3,a.FK,a.uA},9058:(e,t,s)=>{"use strict";s.d(t,{FK:()=>S,Ob:()=>W,Qv:()=>$,XX:()=>B,_3:()=>E,fF:()=>r,n:()=>b,q6:()=>Q,uA:()=>I,v2:()=>R});var n,r,i,o,a,c,u,l,p,d,_,h={},f=[],m=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,g=Array.isArray;function v(e,t){for(var s in t)e[s]=t[s];return e}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,s){var r,i,o,a={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?n.call(arguments,2):s),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===a[o]&&(a[o]=e.defaultProps[o]);return C(e,a,r,i,null)}function C(e,t,s,n,o){var a={type:e,props:t,key:s,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==o?++i:o,__i:-1,__u:0};return null==o&&null!=r.vnode&&r.vnode(a),a}function E(){return{current:null}}function S(e){return e.children}function I(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__i+1):null;for(var s;tt&&o.sort(u));V.__r=0}function T(e,t,s,n,r,i,o,a,c,u,l){var p,d,_,m,g,v=n&&n.__k||f,y=t.length;for(s.__d=c,O(s,t,v),c=s.__d,p=0;p0?C(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=e,r.__b=e.__b+1,a=N(r,s,o,l),r.__i=a,i=null,-1!==a&&(l--,(i=s[a])&&(i.__u|=131072)),null==i||null===i.__v?(-1==a&&p--,"function"!=typeof r.type&&(r.__u|=65536)):a!==o&&(a===o+1?p++:a>o?l>c-o?p+=a-o:p--:a(null==c||131072&c.__u?0:1))for(;o>=0||a=0){if((c=t[o])&&!(131072&c.__u)&&r==c.key&&i===c.type)return o;o--}if(a2&&(c.children=arguments.length>3?n.call(arguments,2):s),C(e.type,c,r||e.key,i||e.ref,null)}function Q(e,t){var s={__c:t="__cC"+_++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var s,n;return this.getChildContext||(s=[],(n={})[t]=this,this.getChildContext=function(){return n},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&s.some((function(e){e.__e=!0,L(e)}))},this.sub=function(e){s.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){s.splice(s.indexOf(e),1),t&&t.call(e)}}),e.children}};return s.Provider.__=s.Consumer.contextType=s}n=f.slice,r={__e:function(e,t,s,n){for(var r,i,o;t=t.__;)if((r=t.__c)&&!r.__)try{if((i=r.constructor)&&null!=i.getDerivedStateFromError&&(r.setState(i.getDerivedStateFromError(e)),o=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,n||{}),o=r.__d),o)return r.__E=r}catch(t){e=t}throw e}},i=0,I.prototype.setState=function(e,t){var s;s=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},s),this.props)),e&&v(s,e),null!=e&&this.__v&&(t&&this._sb.push(t),L(this))},I.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),L(this))},I.prototype.render=S,o=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},V.__r=0,l=0,p=x(!1),d=x(!0),_=0},4423:(e,t)=>{"use strict";var s=Object.prototype.hasOwnProperty;function n(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function r(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||"";var n,i,o=[];for(i in"string"!=typeof t&&(t="?"),e)if(s.call(e,i)){if((n=e[i])||null!=n&&!isNaN(n)||(n=""),i=r(i),n=r(n),null===i||null===n)continue;o.push(i+"="+n)}return o.length?t+o.join("&"):""},t.parse=function(e){for(var t,s=/([^=?#&]+)=?([^&]*)/g,r={};t=s.exec(e);){var i=n(t[1]),o=n(t[2]);null===i||null===o||i in r||(r[i]=o)}return r}},7595:(e,t,s)=>{"use strict";var n,r,i,o;s.d(t,{h:()=>V}),function(e){e.STUB="stub",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error"}(n||(n={})),function(e){e.VISIBLE="visible",e.HIDDEN="hidden",e.DISABLED="disabled"}(r||(r={}));class a{listenerId;callback;next;param;success=!0;constructor(e,t,s,n){Object.assign(this,{callback:e,listenerId:s,param:t,next:n});try{this.respond()}catch(e){this.invokeCallback(null)}}invokeCallback(e){const t=null!==e;"function"==typeof this.next?this.callback(this.next,e,t):this.callback(e,t)}}class c{cmpId=d.cmpId;cmpVersion=d.cmpVersion;gdprApplies=d.gdprApplies;tcfPolicyVersion=d.tcfPolicyVersion}class u extends c{tcString;listenerId;eventStatus;cmpStatus;isServiceSpecific;useNonStandardTexts;publisherCC;purposeOneTreatment;outOfBand;purpose;vendor;specialFeatureOptins;publisher;constructor(e,t){if(super(),this.eventStatus=d.eventStatus,this.cmpStatus=d.cmpStatus,this.listenerId=t,d.gdprApplies){const t=d.tcModel;this.tcString=d.tcString,this.isServiceSpecific=t.isServiceSpecific,this.useNonStandardTexts=t.useNonStandardTexts,this.purposeOneTreatment=t.purposeOneTreatment,this.publisherCC=t.publisherCountryCode,this.outOfBand={allowedVendors:this.createVectorField(t.vendorsAllowed,e),disclosedVendors:this.createVectorField(t.vendorsDisclosed,e)},this.purpose={consents:this.createVectorField(t.purposeConsents),legitimateInterests:this.createVectorField(t.purposeLegitimateInterests)},this.vendor={consents:this.createVectorField(t.vendorConsents,e),legitimateInterests:this.createVectorField(t.vendorLegitimateInterests,e)},this.specialFeatureOptins=this.createVectorField(t.specialFeatureOptins),this.publisher={consents:this.createVectorField(t.publisherConsents),legitimateInterests:this.createVectorField(t.publisherLegitimateInterests),customPurpose:{consents:this.createVectorField(t.publisherCustomConsents),legitimateInterests:this.createVectorField(t.publisherCustomLegitimateInterests)},restrictions:this.createRestrictions(t.publisherRestrictions)}}}createRestrictions(e){const t={};if(e.numRestrictions>0){const s=e.getMaxVendorId();for(let n=1;n<=s;n++){const s=n.toString();e.getRestrictions(n).forEach((e=>{const n=e.purposeId.toString();t[n]||(t[n]={}),t[n][s]=e.restrictionType}))}}return t}createVectorField(e,t){return t?t.reduce(((t,s)=>(t[String(s)]=e.has(Number(s)),t)),{}):[...e].reduce(((e,t)=>(e[t[0].toString(10)]=t[1],e)),{})}}class l extends a{respond(){this.throwIfParamInvalid(),this.invokeCallback(new u(this.param,this.listenerId))}throwIfParamInvalid(){if(!(void 0===this.param||Array.isArray(this.param)&&this.param.every(Number.isInteger)))throw new Error("Invalid Parameter")}}class p{eventQueue=new Map;queueNumber=0;add(e){return this.eventQueue.set(this.queueNumber,e),this.queueNumber++}remove(e){return this.eventQueue.delete(e)}exec(){this.eventQueue.forEach(((e,t)=>{new l(e.callback,e.param,t,e.next)}))}clear(){this.queueNumber=0,this.eventQueue.clear()}get size(){return this.eventQueue.size}}class d{static apiVersion="2";static tcfPolicyVersion;static eventQueue=new p;static cmpStatus=n.LOADING;static disabled=!1;static displayStatus=r.HIDDEN;static cmpId;static cmpVersion;static eventStatus;static gdprApplies;static tcModel;static tcString;static reset(){delete this.cmpId,delete this.cmpVersion,delete this.eventStatus,delete this.gdprApplies,delete this.tcModel,delete this.tcString,delete this.tcfPolicyVersion,this.cmpStatus=n.LOADING,this.disabled=!1,this.displayStatus=r.HIDDEN,this.eventQueue.clear()}}!function(e){e.TC_LOADED="tcloaded",e.CMP_UI_SHOWN="cmpuishown",e.USER_ACTION_COMPLETE="useractioncomplete"}(i||(i={})),function(e){e.PING="ping",e.GET_TC_DATA="getTCData",e.GET_IN_APP_TC_DATA="getInAppTCData",e.GET_VENDOR_LIST="getVendorList",e.ADD_EVENT_LISTENER="addEventListener",e.REMOVE_EVENT_LISTENER="removeEventListener"}(o||(o={}));class _ extends c{cmpLoaded=!0;cmpStatus=d.cmpStatus;displayStatus=d.displayStatus;apiVersion=String(d.apiVersion);gvlVersion;constructor(){super(),d.tcModel&&d.tcModel.vendorListVersion&&(this.gvlVersion=+d.tcModel.vendorListVersion)}}class h extends a{respond(){this.invokeCallback(new _)}}class f extends u{constructor(e){super(e),delete this.outOfBand}createVectorField(e){return[...e].reduce(((e,t)=>e+(t[1]?"1":"0")),"")}createRestrictions(e){const t={};if(e.numRestrictions>0){const s=e.getMaxVendorId();e.getRestrictions().forEach((e=>{t[e.purposeId.toString()]="_".repeat(s)}));for(let n=0;n{const s=e.restrictionType.toString(),r=e.purposeId.toString(),i=t[r].substr(0,n),o=t[r].substr(n+1);t[r]=i+s+o}))}}return t}}class m extends l{respond(){this.throwIfParamInvalid(),this.invokeCallback(new f(this.param))}}var g=s(8798);class v extends a{respond(){const e=d.tcModel,t=e.vendorListVersion;let s;void 0===this.param&&(this.param=t),s=this.param===t&&e.gvl?e.gvl:new g.a(this.param),s.readyPromise.then((()=>{this.invokeCallback(s.getJson())}))}}class y extends l{respond(){this.listenerId=d.eventQueue.add({callback:this.callback,param:this.param,next:this.next}),super.respond()}}class b extends a{respond(){this.invokeCallback(d.eventQueue.remove(this.param))}}class C{static[o.PING]=h;static[o.GET_TC_DATA]=l;static[o.GET_IN_APP_TC_DATA]=m;static[o.GET_VENDOR_LIST]=v;static[o.ADD_EVENT_LISTENER]=y;static[o.REMOVE_EVENT_LISTENER]=b}class E extends c{cmpStatus=n.ERROR}class S{static set_=new Set([0,2,void 0,null]);static has(e){return"string"==typeof e&&(e=Number(e)),this.set_.has(e)}}const I="__tcfapi";class w{callQueue;customCommands;constructor(e){if(e){let t=o.ADD_EVENT_LISTENER;if(e?.[t])throw new Error(`Built-In Custom Commmand for ${t} not allowed: Use ${o.GET_TC_DATA} instead`);if(t=o.REMOVE_EVENT_LISTENER,e?.[t])throw new Error(`Built-In Custom Commmand for ${t} not allowed`);e?.[o.GET_TC_DATA]&&(e[o.ADD_EVENT_LISTENER]=e[o.GET_TC_DATA],e[o.REMOVE_EVENT_LISTENER]=e[o.GET_TC_DATA]),this.customCommands=e}try{this.callQueue=window[I]()||[]}catch(e){this.callQueue=[]}finally{window[I]=this.apiCall.bind(this),this.purgeQueuedCalls()}}apiCall(e,t,s,...n){if("string"!=typeof e)s(null,!1);else if(S.has(t)){if("function"!=typeof s)throw new Error("invalid callback function");d.disabled?s(new E,!1):this.isCustomCommand(e)||this.isBuiltInCommand(e)?this.isCustomCommand(e)&&!this.isBuiltInCommand(e)?this.customCommands[e](s,...n):e===o.PING?this.isCustomCommand(e)?new C[e](this.customCommands[e],n[0],null,s):new C[e](s,n[0]):void 0===d.tcModel?this.callQueue.push([e,t,s,...n]):this.isCustomCommand(e)&&this.isBuiltInCommand(e)?new C[e](this.customCommands[e],n[0],null,s):new C[e](s,n[0]):s(null,!1)}else s(null,!1)}purgeQueuedCalls(){const e=this.callQueue;this.callQueue=[],e.forEach((e=>{window[I](...e)}))}isCustomCommand(e){return this.customCommands&&"function"==typeof this.customCommands[e]}isBuiltInCommand(e){return void 0!==C[e]}}var A=s(8724),L=s(9755);class V{callResponder;isServiceSpecific;numUpdates=0;constructor(e,t,s=!1,n){this.throwIfInvalidInt(e,"cmpId",2),this.throwIfInvalidInt(t,"cmpVersion",0),d.cmpId=e,d.cmpVersion=t,d.tcfPolicyVersion=4,this.isServiceSpecific=!!s,this.callResponder=new w(n)}throwIfInvalidInt(e,t,s){if(!("number"==typeof e&&Number.isInteger(e)&&e>=s))throw new Error(`Invalid ${t}: ${e}`)}update(e,t=!1){if(d.disabled)throw new Error("CmpApi Disabled");d.cmpStatus=n.LOADED,t?(d.displayStatus=r.VISIBLE,d.eventStatus=i.CMP_UI_SHOWN):void 0===d.tcModel?(d.displayStatus=r.DISABLED,d.eventStatus=i.TC_LOADED):(d.displayStatus=r.HIDDEN,d.eventStatus=i.USER_ACTION_COMPLETE),d.gdprApplies=null!==e,d.gdprApplies?(""===e?(d.tcModel=new A.j,d.tcModel.cmpId=d.cmpId,d.tcModel.cmpVersion=d.cmpVersion):d.tcModel=L.d.decode(e),d.tcModel.isServiceSpecific=this.isServiceSpecific,d.tcfPolicyVersion=Number(d.tcModel.policyVersion),d.tcString=e):d.tcModel=null,0===this.numUpdates?this.callResponder.purgeQueuedCalls():d.eventQueue.exec(),this.numUpdates++}disable(){d.disabled=!0,d.cmpStatus=n.ERROR}}},2983:(e,t,s)=>{"use strict";s.d(t,{S:()=>n});class n{clone(){const e=new this.constructor;return Object.keys(this).forEach((t=>{const s=this.deepClone(this[t]);void 0!==s&&(e[t]=s)})),e}deepClone(e){const t=typeof e;if("number"===t||"string"===t||"boolean"===t)return e;if(null!==e&&"object"===t){if("function"==typeof e.clone)return e.clone();if(e instanceof Date)return new Date(e.getTime());if(void 0!==e[Symbol.iterator]){const t=[];for(const s of e)t.push(this.deepClone(s));return e instanceof Array?t:new e.constructor(t)}{const t={};for(const s in e)e.hasOwnProperty(s)&&(t[s]=this.deepClone(e[s]));return t}}}}},8798:(e,t,s)=>{"use strict";s.d(t,{a:()=>a});var n=s(2983);class r extends Error{constructor(e){super(e),this.name="GVLError"}}class i{static absCall(e,t,s,n){return new Promise(((r,i)=>{const o=new XMLHttpRequest;o.withCredentials=s,o.addEventListener("load",(()=>{if(o.readyState==XMLHttpRequest.DONE)if(o.status>=200&&o.status<300){let e=o.response;if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}r(e)}else i(new Error(`HTTP Status: ${o.status} response type: ${o.responseType}`))})),o.addEventListener("error",(()=>{i(new Error("error"))})),o.addEventListener("abort",(()=>{i(new Error("aborted"))})),null===t?o.open("GET",e,!0):o.open("POST",e,!0),o.responseType="json",o.timeout=n,o.ontimeout=()=>{i(new Error("Timeout "+n+"ms "+e))},o.send(t)}))}static post(e,t,s=!1,n=0){return this.absCall(e,JSON.stringify(t),s,n)}static fetch(e,t=!1,s=0){return this.absCall(e,null,t,s)}}class o{static langSet=new Set(["AR","BG","BS","CA","CS","CY","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HE","HR","HU","ID","IT","JA","KO","LT","LV","MK","MS","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SR-LATN","SR-CYRL","SV","TL","TR","UK","ZH"]);has(e){return o.langSet.has(e)}parseLanguage(e){const t=(e=e.toUpperCase()).split("-")[0];if(e.length>=2&&2==t.length){if(o.langSet.has(e))return e;if(o.langSet.has(t))return t;const s=t+"-"+t;if(o.langSet.has(s))return s;for(const s of o.langSet)if(-1!==s.indexOf(e)||-1!==s.indexOf(t))return s}throw new Error(`unsupported language ${e}`)}forEach(e){o.langSet.forEach(e)}get size(){return o.langSet.size}}class a extends n.S{static LANGUAGE_CACHE=new Map;static CACHE=new Map;static LATEST_CACHE_KEY=0;static DEFAULT_LANGUAGE="EN";static consentLanguages=new o;static baseUrl_;static set baseUrl(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new r("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&"/"!==e[e.length-1]&&(e+="/"),this.baseUrl_=e}static get baseUrl(){return this.baseUrl_}static latestFilename="vendor-list.json";static versionedFilename="archives/vendor-list-v[VERSION].json";static languageFilename="purposes-[LANG].json";readyPromise;gvlSpecificationVersion;vendorListVersion;tcfPolicyVersion;lastUpdated;purposes;specialPurposes;features;specialFeatures;isReady_=!1;vendors_;vendorIds;fullVendorList;byPurposeVendorMap;bySpecialPurposeVendorMap;byFeatureVendorMap;bySpecialFeatureVendorMap;stacks;dataCategories;lang_;cacheLang_;isLatest=!1;constructor(e){super();let t=a.baseUrl;if(this.lang_=a.DEFAULT_LANGUAGE,this.cacheLang_=a.DEFAULT_LANGUAGE,this.isVendorList(e))this.populate(e),this.readyPromise=Promise.resolve();else{if(!t)throw new r("must specify GVL.baseUrl before loading GVL json");if(e>0){const s=e;a.CACHE.has(s)?(this.populate(a.CACHE.get(s)),this.readyPromise=Promise.resolve()):(t+=a.versionedFilename.replace("[VERSION]",String(s)),this.readyPromise=this.fetchJson(t))}else a.CACHE.has(a.LATEST_CACHE_KEY)?(this.populate(a.CACHE.get(a.LATEST_CACHE_KEY)),this.readyPromise=Promise.resolve()):(this.isLatest=!0,this.readyPromise=this.fetchJson(t+a.latestFilename))}}static emptyLanguageCache(e){let t=!1;return null==e&&a.LANGUAGE_CACHE.size>0?(a.LANGUAGE_CACHE=new Map,t=!0):"string"==typeof e&&this.consentLanguages.has(e.toUpperCase())&&(a.LANGUAGE_CACHE.delete(e.toUpperCase()),t=!0),t}static emptyCache(e){let t=!1;return Number.isInteger(e)&&e>=0?(a.CACHE.delete(e),t=!0):void 0===e&&(a.CACHE=new Map,t=!0),t}cacheLanguage(){a.LANGUAGE_CACHE.has(this.cacheLang_)||a.LANGUAGE_CACHE.set(this.cacheLang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories})}async fetchJson(e){try{this.populate(await i.fetch(e))}catch(e){throw new r(e.message)}}getJson(){return{gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.clonePurposes(),specialPurposes:this.cloneSpecialPurposes(),features:this.cloneFeatures(),specialFeatures:this.cloneSpecialFeatures(),stacks:this.cloneStacks(),...this.dataCategories?{dataCategories:this.cloneDataCategories()}:{},vendors:this.cloneVendors()}}cloneSpecialFeatures(){const e={};for(const t of Object.keys(this.specialFeatures))e[t]=a.cloneFeature(this.specialFeatures[t]);return e}cloneFeatures(){const e={};for(const t of Object.keys(this.features))e[t]=a.cloneFeature(this.features[t]);return e}cloneStacks(){const e={};for(const t of Object.keys(this.stacks))e[t]=a.cloneStack(this.stacks[t]);return e}cloneDataCategories(){const e={};for(const t of Object.keys(this.dataCategories))e[t]=a.cloneDataCategory(this.dataCategories[t]);return e}cloneSpecialPurposes(){const e={};for(const t of Object.keys(this.specialPurposes))e[t]=a.clonePurpose(this.specialPurposes[t]);return e}clonePurposes(){const e={};for(const t of Object.keys(this.purposes))e[t]=a.clonePurpose(this.purposes[t]);return e}static clonePurpose(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneFeature(e){return{id:e.id,name:e.name,description:e.description,...e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{},...e.illustrations?{illustrations:Array.from(e.illustrations)}:{}}}static cloneDataCategory(e){return{id:e.id,name:e.name,description:e.description}}static cloneStack(e){return{id:e.id,name:e.name,description:e.description,purposes:Array.from(e.purposes),specialFeatures:Array.from(e.specialFeatures)}}static cloneDataRetention(e){return{..."number"==typeof e.stdRetention?{stdRetention:e.stdRetention}:{},purposes:{...e.purposes},specialPurposes:{...e.specialPurposes}}}static cloneVendorUrls(e){return e.map((e=>({langId:e.langId,privacy:e.privacy,...e.legIntClaim?{legIntClaim:e.legIntClaim}:{}})))}static cloneVendor(e){return{id:e.id,name:e.name,purposes:Array.from(e.purposes),legIntPurposes:Array.from(e.legIntPurposes),flexiblePurposes:Array.from(e.flexiblePurposes),specialPurposes:Array.from(e.specialPurposes),features:Array.from(e.features),specialFeatures:Array.from(e.specialFeatures),...e.overflow?{overflow:{httpGetLimit:e.overflow.httpGetLimit}}:{},..."number"==typeof e.cookieMaxAgeSeconds||null===e.cookieMaxAgeSeconds?{cookieMaxAgeSeconds:e.cookieMaxAgeSeconds}:{},...void 0!==e.usesCookies?{usesCookies:e.usesCookies}:{},...e.policyUrl?{policyUrl:e.policyUrl}:{},...void 0!==e.cookieRefresh?{cookieRefresh:e.cookieRefresh}:{},...void 0!==e.usesNonCookieAccess?{usesNonCookieAccess:e.usesNonCookieAccess}:{},...e.dataRetention?{dataRetention:this.cloneDataRetention(e.dataRetention)}:{},...e.urls?{urls:this.cloneVendorUrls(e.urls)}:{},...e.dataDeclaration?{dataDeclaration:Array.from(e.dataDeclaration)}:{},...e.deviceStorageDisclosureUrl?{deviceStorageDisclosureUrl:e.deviceStorageDisclosureUrl}:{},...e.deletedDate?{deletedDate:e.deletedDate}:{}}}cloneVendors(){const e={};for(const t of Object.keys(this.fullVendorList))e[t]=a.cloneVendor(this.fullVendorList[t]);return e}async changeLanguage(e){let t=e;try{t=a.consentLanguages.parseLanguage(e)}catch(e){throw new r("Error during parsing the language: "+e.message)}const s=e.toUpperCase();if((t.toLowerCase()!==a.DEFAULT_LANGUAGE.toLowerCase()||a.LANGUAGE_CACHE.has(s))&&t!==this.lang_)if(this.lang_=t,a.LANGUAGE_CACHE.has(s)){const e=a.LANGUAGE_CACHE.get(s);for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}else{const e=a.baseUrl+a.languageFilename.replace("[LANG]",this.lang_.toLowerCase());try{await this.fetchJson(e),this.cacheLang_=s,this.cacheLanguage()}catch(e){throw new r("unable to load language: "+e.message)}}}get language(){return this.lang_}isVendorList(e){return void 0!==e&&void 0!==e.vendors}populate(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,"string"==typeof this.lastUpdated&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&a.CACHE.set(a.LATEST_CACHE_KEY,this.getJson()),a.CACHE.has(this.vendorListVersion)||a.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()}mapVendors(e){this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach((e=>{this.byPurposeVendorMap[e]={legInt:new Set,consent:new Set,flexible:new Set}})),Object.keys(this.specialPurposes).forEach((e=>{this.bySpecialPurposeVendorMap[e]=new Set})),Object.keys(this.features).forEach((e=>{this.byFeatureVendorMap[e]=new Set})),Object.keys(this.specialFeatures).forEach((e=>{this.bySpecialFeatureVendorMap[e]=new Set})),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map((e=>+e))),this.vendorIds=new Set(e),this.vendors_=e.reduce(((e,t)=>{const s=this.vendors_[String(t)];return s&&void 0===s.deletedDate&&(s.purposes.forEach((e=>{this.byPurposeVendorMap[String(e)].consent.add(t)})),s.specialPurposes.forEach((e=>{this.bySpecialPurposeVendorMap[String(e)].add(t)})),s.legIntPurposes.forEach((e=>{this.byPurposeVendorMap[String(e)].legInt.add(t)})),s.flexiblePurposes&&s.flexiblePurposes.forEach((e=>{this.byPurposeVendorMap[String(e)].flexible.add(t)})),s.features.forEach((e=>{this.byFeatureVendorMap[String(e)].add(t)})),s.specialFeatures.forEach((e=>{this.bySpecialFeatureVendorMap[String(e)].add(t)})),e[t]=s),e}),{})}getFilteredVendors(e,t,s,n){const r=e.charAt(0).toUpperCase()+e.slice(1);let i;const o={};return i="purpose"===e&&s?this["by"+r+"VendorMap"][String(t)][s]:this["by"+(n?"Special":"")+r+"VendorMap"][String(t)],i.forEach((e=>{o[String(e)]=this.vendors[String(e)]})),o}getVendorsWithConsentPurpose(e){return this.getFilteredVendors("purpose",e,"consent")}getVendorsWithLegIntPurpose(e){return this.getFilteredVendors("purpose",e,"legInt")}getVendorsWithFlexiblePurpose(e){return this.getFilteredVendors("purpose",e,"flexible")}getVendorsWithSpecialPurpose(e){return this.getFilteredVendors("purpose",e,void 0,!0)}getVendorsWithFeature(e){return this.getFilteredVendors("feature",e)}getVendorsWithSpecialFeature(e){return this.getFilteredVendors("feature",e,void 0,!0)}get vendors(){return this.vendors_}narrowVendorsTo(e){this.mapVendors(e)}get isReady(){return this.isReady_}clone(){const e=new a(this.getJson());return this.lang_!==a.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e}static isInstanceOf(e){return"object"==typeof e&&"function"==typeof e.narrowVendorsTo}}},8724:(e,t,s)=>{"use strict";s.d(t,{j:()=>n});class n extends s(2983).S{static consentLanguages=s(8798).a.consentLanguages;isServiceSpecific_=!1;supportOOB_=!0;useNonStandardTexts_=!1;purposeOneTreatment_=!1;publisherCountryCode_="AA";version_=2;consentScreen_=0;policyVersion_=4;consentLanguage_="EN";cmpId_=0;cmpVersion_=0;vendorListVersion_=0;numCustomPurposes_=0;gvl_;created;lastUpdated;specialFeatureOptins=new(s(2381).M);purposeConsents=new(s(2381).M);purposeLegitimateInterests=new(s(2381).M);publisherConsents=new(s(2381).M);publisherLegitimateInterests=new(s(2381).M);publisherCustomConsents=new(s(2381).M);publisherCustomLegitimateInterests=new(s(2381).M);customPurposes;vendorConsents=new(s(2381).M);vendorLegitimateInterests=new(s(2381).M);vendorsDisclosed=new(s(2381).M);vendorsAllowed=new(s(2381).M);publisherRestrictions=new(s(4249).O);constructor(e){super(),e&&(this.gvl=e),this.updated()}set gvl(e){s(8798).a.isInstanceOf(e)||(e=new(s(8798).a)(e)),this.gvl_=e,this.publisherRestrictions.gvl=e}get gvl(){return this.gvl_}set cmpId(e){if(e=Number(e),!(Number.isInteger(e)&&e>1))throw new(s(5074).v)("cmpId",e);this.cmpId_=e}get cmpId(){return this.cmpId_}set cmpVersion(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new(s(5074).v)("cmpVersion",e);this.cmpVersion_=e}get cmpVersion(){return this.cmpVersion_}set consentScreen(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new(s(5074).v)("consentScreen",e);this.consentScreen_=e}get consentScreen(){return this.consentScreen_}set consentLanguage(e){this.consentLanguage_=e}get consentLanguage(){return this.consentLanguage_}set publisherCountryCode(e){if(!/^([A-z]){2}$/.test(e))throw new(s(5074).v)("publisherCountryCode",e);this.publisherCountryCode_=e.toUpperCase()}get publisherCountryCode(){return this.publisherCountryCode_}set vendorListVersion(e){if((e=0|Number(e))<0)throw new(s(5074).v)("vendorListVersion",e);this.vendorListVersion_=e}get vendorListVersion(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_}set policyVersion(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new(s(5074).v)("policyVersion",e)}get policyVersion(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_}set version(e){this.version_=parseInt(e,10)}get version(){return this.version_}set isServiceSpecific(e){this.isServiceSpecific_=e}get isServiceSpecific(){return this.isServiceSpecific_}set useNonStandardTexts(e){this.useNonStandardTexts_=e}get useNonStandardTexts(){return this.useNonStandardTexts_}set supportOOB(e){this.supportOOB_=e}get supportOOB(){return this.supportOOB_}set purposeOneTreatment(e){this.purposeOneTreatment_=e}get purposeOneTreatment(){return this.purposeOneTreatment_}setAllVendorConsents(){this.vendorConsents.set(this.gvl.vendors)}unsetAllVendorConsents(){this.vendorConsents.empty()}setAllVendorsDisclosed(){this.vendorsDisclosed.set(this.gvl.vendors)}unsetAllVendorsDisclosed(){this.vendorsDisclosed.empty()}setAllVendorsAllowed(){this.vendorsAllowed.set(this.gvl.vendors)}unsetAllVendorsAllowed(){this.vendorsAllowed.empty()}setAllVendorLegitimateInterests(){this.vendorLegitimateInterests.set(this.gvl.vendors)}unsetAllVendorLegitimateInterests(){this.vendorLegitimateInterests.empty()}setAllPurposeConsents(){this.purposeConsents.set(this.gvl.purposes)}unsetAllPurposeConsents(){this.purposeConsents.empty()}setAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.set(this.gvl.purposes)}unsetAllPurposeLegitimateInterests(){this.purposeLegitimateInterests.empty()}setAllSpecialFeatureOptins(){this.specialFeatureOptins.set(this.gvl.specialFeatures)}unsetAllSpecialFeatureOptins(){this.specialFeatureOptins.empty()}setAll(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()}unsetAll(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()}get numCustomPurposes(){let e=this.numCustomPurposes_;if("object"==typeof this.customPurposes){const t=Object.keys(this.customPurposes).sort(((e,t)=>Number(e)-Number(t)));e=parseInt(t.pop(),10)}return e}set numCustomPurposes(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new(s(5074).v)("numCustomPurposes",e)}updated(){const e=new Date,t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=t,this.lastUpdated=t}}},9755:(e,t,s)=>{"use strict";s.d(t,{d:()=>V});class n extends Error{constructor(e){super(e),this.name="EncodingError"}}var r,i=s(7086);class o{static processor=[e=>e,(e,t)=>{e.publisherRestrictions.gvl=t,e.purposeLegitimateInterests.unset([1,3,4,5,6]);const s=new Map;return s.set("legIntPurposes",e.vendorLegitimateInterests),s.set("purposes",e.vendorConsents),s.forEach(((s,n)=>{s.forEach(((r,o)=>{if(r){const r=t.vendors[o];if(!r||r.deletedDate)s.unset(o);else if(0===r[n].length)if("legIntPurposes"===n&&0===r.purposes.length&&0===r.legIntPurposes.length&&r.specialPurposes.length>0);else if(e.isServiceSpecific)if(0===r.flexiblePurposes.length)s.unset(o);else{const t=e.publisherRestrictions.getRestrictions(o);let r=!1;for(let e=0,s=t.length;e0&&t?.version<=this.processor.length?e.version=t.version:e.version=this.processor.length;const r=e.version-1;if(!this.processor[r])throw new n(`Invalid version: ${e.version}`);return this.processor[r](e,s)}}!function(e){e.CORE="core",e.VENDORS_DISCLOSED="vendorsDisclosed",e.VENDORS_ALLOWED="vendorsAllowed",e.PUBLISHER_TC="publisherTC"}(r||(r={}));class a{static cmpId="cmpId";static cmpVersion="cmpVersion";static consentLanguage="consentLanguage";static consentScreen="consentScreen";static created="created";static supportOOB="supportOOB";static isServiceSpecific="isServiceSpecific";static lastUpdated="lastUpdated";static numCustomPurposes="numCustomPurposes";static policyVersion="policyVersion";static publisherCountryCode="publisherCountryCode";static publisherCustomConsents="publisherCustomConsents";static publisherCustomLegitimateInterests="publisherCustomLegitimateInterests";static publisherLegitimateInterests="publisherLegitimateInterests";static publisherConsents="publisherConsents";static publisherRestrictions="publisherRestrictions";static purposeConsents="purposeConsents";static purposeLegitimateInterests="purposeLegitimateInterests";static purposeOneTreatment="purposeOneTreatment";static specialFeatureOptins="specialFeatureOptins";static useNonStandardTexts="useNonStandardTexts";static vendorConsents="vendorConsents";static vendorLegitimateInterests="vendorLegitimateInterests";static vendorListVersion="vendorListVersion";static vendorsAllowed="vendorsAllowed";static vendorsDisclosed="vendorsDisclosed";static version="version"}class c{1=[r.CORE];2=[r.CORE];constructor(e,t){if(2===e.version)if(e.isServiceSpecific)this[2].push(r.PUBLISHER_TC);else{const s=!(!t||!t.isForVendors);s&&!0!==e[a.supportOOB]||this[2].push(r.VENDORS_DISCLOSED),s&&(e[a.supportOOB]&&e[a.vendorsAllowed].size>0&&this[2].push(r.VENDORS_ALLOWED),this[2].push(r.PUBLISHER_TC))}}}class u extends Error{constructor(e){super(e),this.name="DecodingError"}}class l{static DICT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";static REVERSE_DICT=new Map([["A",0],["B",1],["C",2],["D",3],["E",4],["F",5],["G",6],["H",7],["I",8],["J",9],["K",10],["L",11],["M",12],["N",13],["O",14],["P",15],["Q",16],["R",17],["S",18],["T",19],["U",20],["V",21],["W",22],["X",23],["Y",24],["Z",25],["a",26],["b",27],["c",28],["d",29],["e",30],["f",31],["g",32],["h",33],["i",34],["j",35],["k",36],["l",37],["m",38],["n",39],["o",40],["p",41],["q",42],["r",43],["s",44],["t",45],["u",46],["v",47],["w",48],["x",49],["y",50],["z",51],["0",52],["1",53],["2",54],["3",55],["4",56],["5",57],["6",58],["7",59],["8",60],["9",61],["-",62],["_",63]]);static BASIS=6;static LCM=24;static encode(e){if(!/^[0-1]+$/.test(e))throw new n("Invalid bitField");const t=e.length%this.LCM;e+=t?"0".repeat(this.LCM-t):"";let s="";for(let t=0;tt||e<0)throw new n(`${e} too large to encode into ${t}`);return s.length25||r<0||r>25)throw new n(`invalid language code: ${e}`);if(t%2==1)throw new n(`numBits must be even, ${t} is not valid`);return t/=2,d.encode(s,t)+d.encode(r,t)}static decode(e,t){let s;if(t!==e.length||e.length%2)throw new u("invalid bit length for language");{const t=65,n=e.length/2,r=d.decode(e.slice(0,n),n)+t,i=d.decode(e.slice(n),n)+t;s=String.fromCharCode(r)+String.fromCharCode(i)}return s}}var v,y=s(4249),b=s(1786);class C{static encode(e){let t=d.encode(e.numRestrictions,p.numRestrictions);if(!e.isEmpty()){const s=(t,s)=>{for(let n=t+1;n<=s;n++)if(e.gvl.vendorIds.has(n))return n;return t};e.getRestrictions().forEach((n=>{t+=d.encode(n.purposeId,p.purposeId),t+=d.encode(n.restrictionType,p.restrictionType);const r=e.getVendors(n),i=r.length;let o=0,a=0,c="";for(let e=0;es(t,r[i-1])){const e=!(t===a);c+=_.encode(e),c+=d.encode(a,p.vendorId),e&&(c+=d.encode(t,p.vendorId)),a=0}}t+=d.encode(o,p.numEntries),t+=c}))}return t}static decode(e){let t=0;const s=new y.O,n=d.decode(e.substr(t,p.numRestrictions),p.numRestrictions);t+=p.numRestrictions;for(let r=0;r{i+=_.encode(r),s=e.maxId>c&&u{const t=1===e.length;s+=_.encode(!t),s+=d.encode(e[0],p.vendorId),t||(s+=d.encode(e[1],p.vendorId))})),s}}function S(){return{[a.version]:d,[a.created]:h,[a.lastUpdated]:h,[a.cmpId]:d,[a.cmpVersion]:d,[a.consentScreen]:d,[a.consentLanguage]:g,[a.vendorListVersion]:d,[a.policyVersion]:d,[a.isServiceSpecific]:_,[a.useNonStandardTexts]:_,[a.specialFeatureOptins]:m,[a.purposeConsents]:m,[a.purposeLegitimateInterests]:m,[a.purposeOneTreatment]:_,[a.publisherCountryCode]:g,[a.vendorConsents]:E,[a.vendorLegitimateInterests]:E,[a.publisherRestrictions]:C,segmentType:d,[a.vendorsDisclosed]:E,[a.vendorsAllowed]:E,[a.publisherConsents]:m,[a.publisherLegitimateInterests]:m,[a.numCustomPurposes]:d,[a.publisherCustomConsents]:m,[a.publisherCustomLegitimateInterests]:m}}class I{1={[r.CORE]:[a.version,a.created,a.lastUpdated,a.cmpId,a.cmpVersion,a.consentScreen,a.consentLanguage,a.vendorListVersion,a.purposeConsents,a.vendorConsents]};2={[r.CORE]:[a.version,a.created,a.lastUpdated,a.cmpId,a.cmpVersion,a.consentScreen,a.consentLanguage,a.vendorListVersion,a.policyVersion,a.isServiceSpecific,a.useNonStandardTexts,a.specialFeatureOptins,a.purposeConsents,a.purposeLegitimateInterests,a.purposeOneTreatment,a.publisherCountryCode,a.vendorConsents,a.vendorLegitimateInterests,a.publisherRestrictions],[r.PUBLISHER_TC]:[a.publisherConsents,a.publisherLegitimateInterests,a.numCustomPurposes,a.publisherCustomConsents,a.publisherCustomLegitimateInterests],[r.VENDORS_ALLOWED]:[a.vendorsAllowed],[r.VENDORS_DISCLOSED]:[a.vendorsDisclosed]}}class w{static ID_TO_KEY=[r.CORE,r.VENDORS_DISCLOSED,r.VENDORS_ALLOWED,r.PUBLISHER_TC];static KEY_TO_ID={[r.CORE]:0,[r.VENDORS_DISCLOSED]:1,[r.VENDORS_ALLOWED]:2,[r.PUBLISHER_TC]:3}}class A{static fieldSequence=new I;static encode(e,t){let s;try{s=this.fieldSequence[String(e.version)][t]}catch(s){throw new n(`Unable to encode version: ${e.version}, segment: ${t}`)}let i="";t!==r.CORE&&(i=d.encode(w.KEY_TO_ID[t],p.segmentType));const o=S();return s.forEach((s=>{const r=e[s],c=o[s];let u=p[s];void 0===u&&this.isPublisherCustom(s)&&(u=Number(e[a.numCustomPurposes]));try{i+=c.encode(r,u)}catch(e){throw new n(`Error encoding ${t}->${s}: ${e.message}`)}})),l.encode(i)}static decode(e,t,s){const n=l.decode(e);let i=0;s===r.CORE&&(t.version=d.decode(n.substr(i,p[a.version]),p[a.version])),s!==r.CORE&&(i+=p.segmentType);const o=this.fieldSequence[String(t.version)][s],c=S();return o.forEach((e=>{const s=c[e];let r=p[e];if(void 0===r&&this.isPublisherCustom(e)&&(r=Number(t[a.numCustomPurposes])),0!==r){const o=n.substr(i,r);if(t[e]=s===E?s.decode(o,t.version):s.decode(o,r),Number.isInteger(r))i+=r;else{if(!Number.isInteger(t[e].bitLength))throw new u(e);i+=t[e].bitLength}}})),t}static isPublisherCustom(e){return 0===e.indexOf("publisherCustom")}}var L=s(8724);class V{static encode(e,t){let s,n="";return e=o.process(e,t),s=Array.isArray(t?.segments)?t.segments:new c(e,t)[""+e.version],s.forEach(((t,r)=>{let i="";r{"use strict";s.d(t,{v:()=>n});class n extends Error{constructor(e,t,s=""){super(`invalid value ${t} passed for ${e} ${s}`),this.name="TCModelError"}}},1786:(e,t,s)=>{"use strict";s.d(t,{F:()=>n});class n extends s(2983).S{static hashSeparator="-";purposeId_;restrictionType;constructor(e,t){super(),void 0!==e&&(this.purposeId=e),void 0!==t&&(this.restrictionType=t)}static unHash(e){const t=e.split(this.hashSeparator),r=new n;if(2!==t.length)throw new(s(5074).v)("hash",e);return r.purposeId=parseInt(t[0],10),r.restrictionType=parseInt(t[1],10),r}get hash(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return`${this.purposeId}${n.hashSeparator}${this.restrictionType}`}get purposeId(){return this.purposeId_}set purposeId(e){this.purposeId_=e}isValid(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===s(7086).h.NOT_ALLOWED||this.restrictionType===s(7086).h.REQUIRE_CONSENT||this.restrictionType===s(7086).h.REQUIRE_LI)}isSameAs(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType}}},4249:(e,t,s)=>{"use strict";s.d(t,{O:()=>n});class n extends s(2983).S{bitLength=0;map=new Map;gvl_;has(e){return this.map.has(e)}isOkToHave(e,t,n){let r=!0;if(this.gvl?.vendors){const i=this.gvl.vendors[n];if(i)if(e===s(7086).h.NOT_ALLOWED)r=i.legIntPurposes.includes(t)||i.purposes.includes(t);else if(i.flexiblePurposes.length)switch(e){case s(7086).h.REQUIRE_CONSENT:r=i.flexiblePurposes.includes(t)&&i.legIntPurposes.includes(t);break;case s(7086).h.REQUIRE_LI:r=i.flexiblePurposes.includes(t)&&i.purposes.includes(t)}else r=!1;else r=!1}return r}add(e,t){if(this.isOkToHave(t.restrictionType,t.purposeId,e)){const s=t.hash;this.has(s)||(this.map.set(s,new Set),this.bitLength=0),this.map.get(s).add(e)}}restrictPurposeToLegalBasis(e){const t=Array.from(this.gvl.vendorIds),s=e.hash,n=t[t.length-1],r=[...Array(n).keys()].map((e=>e+1));if(this.has(s))for(let e=1;e<=n;e++)this.map.get(s).add(e);else this.map.set(s,new Set(r)),this.bitLength=0}getVendors(e){let t=[];if(e){const s=e.hash;this.has(s)&&(t=Array.from(this.map.get(s)))}else{const e=new Set;this.map.forEach((t=>{t.forEach((t=>{e.add(t)}))})),t=Array.from(e)}return t.sort(((e,t)=>e-t))}getRestrictionType(e,t){let s;return this.getRestrictions(e).forEach((e=>{e.purposeId===t&&(void 0===s||s>e.restrictionType)&&(s=e.restrictionType)})),s}vendorHasRestriction(e,t){let s=!1;const n=this.getRestrictions(e);for(let e=0;e{e=Math.max(Array.from(t)[t.size-1],e)})),e}getRestrictions(e){const t=[];return this.map.forEach(((n,r)=>{e?n.has(e)&&t.push(s(1786).F.unHash(r)):t.push(s(1786).F.unHash(r))})),t}getPurposes(){const e=new Set;return this.map.forEach(((t,n)=>{e.add(s(1786).F.unHash(n).purposeId)})),Array.from(e)}remove(e,t){const s=t.hash,n=this.map.get(s);n&&(n.delete(e),0==n.size&&(this.map.delete(s),this.bitLength=0))}set gvl(e){this.gvl_||(this.gvl_=e,this.map.forEach(((e,t)=>{const n=s(1786).F.unHash(t);Array.from(e).forEach((t=>{this.isOkToHave(n.restrictionType,n.purposeId,t)||e.delete(t)}))})))}get gvl(){return this.gvl_}isEmpty(){return 0===this.map.size}get numRestrictions(){return this.map.size}}},7086:(e,t,s)=>{"use strict";var n;s.d(t,{h:()=>n}),function(e){e[e.NOT_ALLOWED=0]="NOT_ALLOWED",e[e.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",e[e.REQUIRE_LI=2]="REQUIRE_LI"}(n||(n={}))},2381:(e,t,s)=>{"use strict";s.d(t,{M:()=>n});class n extends s(2983).S{bitLength=0;maxId_=0;set_=new Set;*[Symbol.iterator](){for(let e=1;e<=this.maxId;e++)yield[e,this.has(e)]}values(){return this.set_.values()}get maxId(){return this.maxId_}has(e){return this.set_.has(e)}unset(e){Array.isArray(e)?e.forEach((e=>this.unset(e))):"object"==typeof e?this.unset(Object.keys(e).map((e=>Number(e)))):(this.set_.delete(Number(e)),this.bitLength=0,e===this.maxId&&(this.maxId_=0,this.set_.forEach((e=>{this.maxId_=Math.max(this.maxId,e)}))))}isIntMap(e){let t="object"==typeof e;return t=t&&Object.keys(e).every((t=>{let s=Number.isInteger(parseInt(t,10));return s=s&&this.isValidNumber(e[t].id),s=s&&void 0!==e[t].name,s})),t}isValidNumber(e){return parseInt(e,10)>0}isSet(e){let t=!1;return e instanceof Set&&(t=Array.from(e).every(this.isValidNumber)),t}set(e){if(Array.isArray(e))e.forEach((e=>this.set(e)));else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map((e=>Number(e))));else{if(!this.isValidNumber(e))throw new(s(5074).v)("set()",e,"must be positive integer array, positive integer, Set, or IntMap");this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0}}empty(){this.set_=new Set}forEach(e){for(let t=1;t<=this.maxId;t++)e(this.has(t),t)}get size(){return this.set_.size}setAll(e){this.set(e)}}},7177:(e,t,s)=>{"use strict";function n(e){for(var t=1;tr});var r=function e(t,s){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=n({},s,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var a in i)i[a]&&(o+="; "+a,!0!==i[a]&&(o+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var s=document.cookie?document.cookie.split("; "):[],n={},r=0;r{"use strict";function n(e){return{render:function(t){(0,s(7936).XX)(t,e)},unmount:function(){(0,s(7936).xJ)(e)}}}s.d(t,{Hr:()=>n})},6425:(e,t,s)=>{"use strict";s.d(t,{Y:()=>i,FD:()=>i}),s(7936);var n=s(9058),r=0;function i(e,t,s,i,o,a){t||(t={});var c,u,l=t;if("ref"in l)for(u in l={},t)"ref"==u?c=t[u]:l[u]=t[u];var p={type:e,props:l,key:s,ref:c,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--r,__i:-1,__u:0,__source:o,__self:a};if("function"==typeof e&&(c=e.defaultProps))for(u in c)void 0===l[u]&&(l[u]=c[u]);return n.fF.vnode&&n.fF.vnode(p),p}Array.isArray},3597:(e,t,s)=>{"use strict";s.d(t,{D:()=>n});var n=function(e){var t,s,n,i,o=[];for(n=0,i=(t=e.split(",")).length;n0&&o.push(r(s));return o},r=function(e){var t,s,n=e,r={a:0,b:0,c:0},i=[];return t=function(t,s){var o,a,c,u,l,p;if(t.test(n))for(a=0,c=(o=n.match(t)).length;a~\.\[:\)]+)/g,"a"),t(/(\.[^\s\+>~\.\[:\)]+)/g,"b"),t(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c"),t(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,"b"),t(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,"b"),n=(n=(n=(n=(n=(n=n.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," ")).replace(/:not/g," ")).replace(/:local/g," ")).replace(/:global/g," ")).replace(/[\(\)]/g," "),t(/([^\s\+>~\.\[:]+)/g,"c"),i.sort((function(e,t){return e.index-t.index})),{selector:e,specificity:"0,"+r.a.toString()+","+r.b.toString()+","+r.c.toString(),specificityArray:[0,r.a,r.b,r.c],parts:i}}}}]);