!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=392)}({1:function(e,n,t){"use strict";function r(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}Object.defineProperty(n,"__esModule",{value:!0}),r(t(42)),r(t(6)),r(t(7)),r(t(14)),r(t(74)),r(t(75)),r(t(76)),r(t(115))},100:function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"a",function(){return l});var f=n(1),h=n(9);function r(e,t){for(var n=0;n=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(65),c=n(63),u=n(44),l=(i=n(14).Cloneable,o(p,i),p.prototype.has=function(e){return this.map.has(e)},p.prototype.isOkToHave=function(e,t,n){var r,o=!0;if(null!==(r=this.gvl)&&void 0!==r&&r.vendors){var i=this.gvl.vendors[n];if(i)if(e===u.RestrictionType.NOT_ALLOWED)o=i.legIntPurposes.includes(t)||i.purposes.includes(t);else if(i.flexiblePurposes.length)switch(e){case u.RestrictionType.REQUIRE_CONSENT:o=i.flexiblePurposes.includes(t)&&i.legIntPurposes.includes(t);break;case u.RestrictionType.REQUIRE_LI:o=i.flexiblePurposes.includes(t)&&i.purposes.includes(t)}else o=!1;else o=!1}return o},p.prototype.add=function(e,t){var n;this.isOkToHave(t.restrictionType,t.purposeId,e)&&(n=t.hash,this.has(n)||(this.map.set(n,new c.BinarySearchTree),this.bitLength=0),this.map.get(n).add(e))},p.prototype.restrictPurposeToLegalBasis=function(e){for(var i=this.gvl.vendorIds,t=e.hash,n=function(){var t,e,n;try{for(var r=s(i),o=r.next();!o.done;o=r.next())n=o.value}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return n}(),r=1;r<=n;r++)this.has(t)||(this.map.set(t,new c.BinarySearchTree),this.bitLength=0),this.map.get(t).add(r)},p.prototype.getVendors=function(e){var t,n,r=[];return e?(t=e.hash,this.has(t)&&(r=this.map.get(t).get())):(n=new Set,this.map.forEach(function(e){e.get().forEach(function(e){n.add(e)})}),r=Array.from(n)),r},p.prototype.getRestrictionType=function(e,t){var n;return this.getRestrictions(e).forEach(function(e){e.purposeId===t&&(void 0===n||n>e.restrictionType)&&(n=e.restrictionType)}),n},p.prototype.vendorHasRestriction=function(e,t){for(var n=!1,r=this.getRestrictions(e),o=0;os[0]&&t[1], or IntMap");this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0}},l.prototype.empty=function(){this.set_=new Set},l.prototype.forEach=function(e){for(var t=1;t<=this.maxId;t++)e(this.has(t),t)},Object.defineProperty(l.prototype,"size",{get:function(){return this.set_.size},enumerable:!0,configurable:!0}),l.prototype.setAll=function(e){this.set(e)},l);function l(){var e=null!==s&&s.apply(this,arguments)||this;return e.bitLength=0,e.maxId_=0,e.set_=new Set,e}t.Vector=u},110:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(62),c=n(43),u=n(67),o=n(73),l=n(6),p=n(64),d=n(7),i=(s.encode=function(o,i){var e,s=this;try{e=this.fieldSequence[""+o.version][i]}catch(e){throw new l.EncodingError("Unable to encode version: "+o.version+", segment: "+i)}var a="";return i!==d.Segment.CORE&&(a=u.IntEncoder.encode(d.SegmentIDs.KEY_TO_ID[i],c.BitLength.segmentType)),e.forEach(function(t){var e=o[t],n=u.FieldEncoderMap[t],r=c.BitLength[t];void 0===r&&s.isPublisherCustom(t)&&(r=+o[p.Fields.numCustomPurposes]);try{a+=n.encode(e,r)}catch(e){throw new l.EncodingError("Error encoding "+i+"->"+t+": "+e.message)}}),r.Base64Url.encode(a)},s.decode=function(e,o,t){var i=this,s=r.Base64Url.decode(e),a=0;return t===d.Segment.CORE&&(o.version=u.IntEncoder.decode(s.substr(a,c.BitLength[p.Fields.version]),c.BitLength[p.Fields.version])),t!==d.Segment.CORE&&(a+=c.BitLength.segmentType),this.fieldSequence[""+o.version][t].forEach(function(e){var t=u.FieldEncoderMap[e],n=c.BitLength[e];if(void 0===n&&i.isPublisherCustom(e)&&(n=+o[p.Fields.numCustomPurposes]),0!==n){var r=s.substr(a,n);if(t===u.VendorVectorEncoder?o[e]=t.decode(r,o.version):o[e]=t.decode(r,n),Number.isInteger(n))a+=n;else{if(!Number.isInteger(o[e].bitLength))throw new l.DecodingError(e);a+=o[e].bitLength}}}),o},s.isPublisherCustom=function(e){return 0===e.indexOf("publisherCustom")},s.fieldSequence=new o.FieldSequence,s);function s(){}t.SegmentEncoder=i},111:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i,s,a,c,u,l,p,d,f,h,v,b,g,E,_,m,y,I,C,L,S,O,P,A,w=n(7),V=n(24),T=n(68),R=n(45),M=n(15),N=n(69),D=n(70),j=n(71),F=(r=w.Fields.version,o=w.Fields.created,i=w.Fields.lastUpdated,s=w.Fields.cmpId,a=w.Fields.cmpVersion,c=w.Fields.consentScreen,u=w.Fields.consentLanguage,l=w.Fields.vendorListVersion,p=w.Fields.policyVersion,d=w.Fields.isServiceSpecific,f=w.Fields.useNonStandardStacks,h=w.Fields.specialFeatureOptins,v=w.Fields.purposeConsents,b=w.Fields.purposeLegitimateInterests,g=w.Fields.purposeOneTreatment,E=w.Fields.publisherCountryCode,_=w.Fields.vendorConsents,m=w.Fields.vendorLegitimateInterests,y=w.Fields.publisherRestrictions,I=w.Fields.vendorsDisclosed,C=w.Fields.vendorsAllowed,L=w.Fields.publisherConsents,S=w.Fields.publisherLegitimateInterests,O=w.Fields.numCustomPurposes,P=w.Fields.publisherCustomConsents,A=w.Fields.publisherCustomLegitimateInterests,k[r]=M.IntEncoder,k[o]=T.DateEncoder,k[i]=T.DateEncoder,k[s]=M.IntEncoder,k[a]=M.IntEncoder,k[c]=M.IntEncoder,k[u]=N.LangEncoder,k[l]=M.IntEncoder,k[p]=M.IntEncoder,k[d]=V.BooleanEncoder,k[f]=V.BooleanEncoder,k[h]=R.FixedVectorEncoder,k[v]=R.FixedVectorEncoder,k[b]=R.FixedVectorEncoder,k[g]=V.BooleanEncoder,k[E]=N.LangEncoder,k[_]=j.VendorVectorEncoder,k[m]=j.VendorVectorEncoder,k[y]=D.PurposeRestrictionVectorEncoder,k.segmentType=M.IntEncoder,k[I]=j.VendorVectorEncoder,k[C]=j.VendorVectorEncoder,k[L]=R.FixedVectorEncoder,k[S]=R.FixedVectorEncoder,k[O]=M.IntEncoder,k[P]=R.FixedVectorEncoder,k[A]=R.FixedVectorEncoder,k);function k(){}t.FieldEncoderMap=F},112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7);t.FieldSequence=function(){var e,t;this[1]=((e={})[r.Segment.CORE]=[r.Fields.version,r.Fields.created,r.Fields.lastUpdated,r.Fields.cmpId,r.Fields.cmpVersion,r.Fields.consentScreen,r.Fields.consentLanguage,r.Fields.vendorListVersion,r.Fields.purposeConsents,r.Fields.vendorConsents],e),this[2]=((t={})[r.Segment.CORE]=[r.Fields.version,r.Fields.created,r.Fields.lastUpdated,r.Fields.cmpId,r.Fields.cmpVersion,r.Fields.consentScreen,r.Fields.consentLanguage,r.Fields.vendorListVersion,r.Fields.policyVersion,r.Fields.isServiceSpecific,r.Fields.useNonStandardStacks,r.Fields.specialFeatureOptins,r.Fields.purposeConsents,r.Fields.purposeLegitimateInterests,r.Fields.purposeOneTreatment,r.Fields.publisherCountryCode,r.Fields.vendorConsents,r.Fields.vendorLegitimateInterests,r.Fields.publisherRestrictions],t[r.Segment.PUBLISHER_TC]=[r.Fields.publisherConsents,r.Fields.publisherLegitimateInterests,r.Fields.numCustomPurposes,r.Fields.publisherCustomConsents,r.Fields.publisherCustomLegitimateInterests],t[r.Segment.VENDORS_ALLOWED]=[r.Fields.vendorsAllowed],t[r.Segment.VENDORS_DISCLOSED]=[r.Fields.vendorsDisclosed],t)}},113:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7);t.SegmentSequence=function(e,t){var n;this[1]=[r.Segment.CORE],this[2]=[r.Segment.CORE],2===e.version&&(e.isServiceSpecific?this[2].push(r.Segment.PUBLISHER_TC):((n=!(!t||!t.isForVendors))&&!0!==e[r.Fields.supportOOB]||this[2].push(r.Segment.VENDORS_DISCLOSED),n&&(e[r.Fields.supportOOB]&&0=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var r=(o.prototype.clone=function(){var n=this,r=new this.constructor;return Object.keys(this).forEach(function(e){var t=n.deepClone(n[e]);void 0!==t&&(r[e]=t)}),r},o.prototype.deepClone=function(e){var t,n,r=typeof e;if("number"==r||"string"==r||"boolean"==r)return e;if(null!==e&&"object"==r){if("function"==typeof e.clone)return e.clone();if(e instanceof Date)return new Date(e.getTime());if(void 0!==e[Symbol.iterator]){var o=[];try{for(var i=l(e),s=i.next();!s.done;s=i.next()){var a=s.value;o.push(this.deepClone(a))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return e instanceof Array?o:new e.constructor(o)}var c={};for(var u in e)e.hasOwnProperty(u)&&(c[u]=this.deepClone(e[u]));return c}},o);function o(){}t.Cloneable=r},144:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var u=n(99);function l(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function p(e){return(p="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})(e)}function r(e,t,n){function r(e,t,n){var r,o=t;t&&"object"===p(t)&&(o=function(o){for(var e=1;et||e<0)throw new r.EncodingError(e+" too large to encode into "+t);return n.length').concat(e,"")},render:function(){this.root.innerHTML='\n
\n
'.concat(this.name,"
\n ").concat(this.getVendorScreenReaderLabel(),'\n
\n
\n \n
\n
\n
\n ");var e=this.root.getElementsByTagName("input");return this.checkboxEnabled=e[0],this.assignEvents(),this.root},assignEvents:function(){var e=this;e.checkboxEnabled.addEventListener("click",function(){e.enabled=!e.enabled,e.clickHandler(e.enabled)})}});var O=S;function P(e,t,n){function r(e){return o.root.getElementsByClassName(e)[0]}var o=this,i=document.createElement("div"),s="".concat(e||"collapsible","-body");i.innerHTML=C()('\n
\n \n \n
',{ID:e||"",TITLE:t,BODY_ID:s}).trim(),o.root=i.children[0],o.collapsibleHeader=r("iub-cmp-collapse-header"),o.collapsibleBody=r("iub-cmp-collapse-body"),o.isCollapsed=!0,o.onCollapse=n||function(){},o.assignEvents()}Object.assign(P.prototype,{assignEvents:function(){var e=this;e.collapsibleHeader.addEventListener("click",function(){e.setCollapsed(!e.isCollapsed),e.onCollapse(e.isCollapsed)})},getBody:function(){return this.collapsibleBody},setCollapsed:function(e){this.isCollapsed!==e&&(this.isCollapsed=!!e,this.root.classList[e?"remove":"add"]("iub-cmp-collapsed"),this.collapsibleHeader.setAttribute("aria-expanded",(!e).toString()),this.collapsibleBody.setAttribute("aria-hidden",e.toString()))}});var A=P;function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n\n
\n

{TITLE}

\n
{DESCRIPTION}
\n
\n
\n \n
\n
\n '),R='\n

{SECTION}

\n

\n {NAME}\n\n
\n \n
\n\n

\n
{DESCRIPTION}
'),M={acSetElementDisplay:function(e,t){var n=e.style;t?n.setProperty("display",t,"important"):n.display=""},acSetWidgetContentVisibility:function(t){var n=this;Array.prototype.slice.call(this._root.children).forEach(function(e){n.acSetElementDisplay(e,t?null:"none")})},acCreateVendorsView:function(t){this.acVendorViews.forEach(function(e){return t.appendChild(e.render())})},acCallbackOnVendorsCollapse:function(e){e||this.isAcVendorsRendered||(this.acCreateVendorsView(this.acVendorsCollapsible.getBody()),this.isAcVendorsRendered=!0)},acUpdateCheckbox:function(){var e,t;this.acCheckbox&&(e=this.acAreAllAllowed(),t=this.acAreSomeAllowed(),this.acCheckbox.checked=e||t,this.acCheckbox.classList[!e&&t?"add":"remove"]("half"))},acOnCheckboxClick:function(){this.acEnableEntities(this.acCheckbox.checked)},acCreateVendorViews:function(){var s=this,e=0\n
{VENDOR_NAME}
\n {SCREEN_READER_LABEL}\n \n \n
\n {DESCRIPTION}\n {ILLUSTRATION}\n {LEGINT_ADDON}\n
");function j(e,t,n,r,o,i,s,a,c,u,l,p,d){var f=!(13\n {LEARN_MORE}\n \n',{NAME:this.name,DESCRIPTION_LEGAL:this.descriptionLegal,LEARN_MORE:N("tcf_v2.learn_more")}):""},getLegitimateInterestAddon:function(){var e="";return this.hasLegitimateInterest&&(e=void 0===this.countLegitimateInterest?C()('\n
\n \n \n
',{ID:this.id,LEGINT_LABEL:this.legIntLabel,CHECKED:this.legIntEnabled?"checked":""}):C()('\n
\n \n \n
',{ID:this.id,LEGINT_LABEL:this.legIntLabel,CHECKED:this.legIntEnabled?"checked":"",COUNT:this.countLegitimateInterest,VENDORS:N("tcf_v2.vendors")})),e},getPurposeScreenReaderLabel:function(){var e=0').concat(e,"")},render:function(){this.root.innerHTML=C()(D,{PURPOSE_TYPE:this.purposeType,ID:this.id,NAME:this.name,DESCRIPTION:this.description,DESCRIPTION_LEGAL:this.descriptionLegal,VENDOR_NAME:this.getVendorName(),DISABLED_CONSENT_CLASSNAME:this.hasConsent?"":"iub-cmp-disabled-control",ILLUSTRATION:this.getIllustration(),LEGINT_ADDON:this.getLegitimateInterestAddon(),SCREEN_READER_LABEL:this.getPurposeScreenReaderLabel()});var e=this.root.getElementsByTagName("input");return this.checkboxEnabled=e[0],this.hasLegitimateInterest&&(this.checkboxLegIntEnabled=e[1]),this.assignEvents(),this.root},assignEvents:function(){var e=this;this.checkboxEnabled.addEventListener("click",function(){e.consentEnabled=!e.consentEnabled,e.callbackEnabled(e.consentEnabled,e.id)}),this.hasLegitimateInterest&&this.checkboxLegIntEnabled.addEventListener("click",function(){e.legIntEnabled=!e.legIntEnabled,e.callbackLegIntItemEnabled(e.legIntEnabled,e.id)})}});var F=j,k=n(380);function x(e){return function(e){if(Array.isArray(e))return B(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return B(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?B(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n\n \n '.concat(q("tcf_v2.storage_info.detailed.identifier"),"\n \n ").concat(J(t||n),"\n

"),'

\n \n '.concat(q("tcf_v2.storage_info.detailed.method_title"),"\n \n ").concat(q("tcf_v2.storage_info.detailed.type.".concat("string"==typeof r?r:"cookie")),"\n

"),'

\n \n '.concat(q("tcf_v2.storage_info.detailed.duration"),"\n \n ").concat(u,"\n

"),"string"==typeof i?'

\n \n '.concat(q("tcf_v2.storage_info.detailed.domain"),"\n \n ").concat(J(i),"\n

"):"",'

\n \n '.concat(q("tcf_v2.storage_info.detailed.purposes"),"\n \n ").concat(c,"\n

")].join("")}function X(e){var t='[data-iub-storage-info-id="'.concat(e,'"');return document.querySelector(t)}function Z(e){var t=e.cookieMaxAgeSeconds,n=e.usesNonCookieAccess,r=e.deviceStorageDisclosureUrl,o=e.cookieRefresh;Object.assign(this,{cookieMaxAgeSeconds:t,usesNonCookieAccess:n,deviceStorageDisclosureUrl:r,cookieRefresh:o,root:document.createElement("div")})}Object.assign(Z.prototype,{render:function(){var e,t,n=!1,r="",o="";return void 0!==this.cookieMaxAgeSeconds&&(n=!0,null!==this.cookieMaxAgeSeconds&&-100!==this.cookieMaxAgeSeconds?r=z(this.cookieMaxAgeSeconds,!0,this.cookieRefresh):this.usesNonCookieAccess?r=q("tcf_v2.storage_info.intro.indefinite"):n=!1,void 0!==this.deviceStorageDisclosureUrl?(e=q("tcf_v2.storage_info.learn_label"),t=J('\n
\n
\n
'),!0),o=' - .")):r+="."),this.root.innerHTML=n?'\n
\n
'.concat(q("tcf_v2.storage_info.heading"),'
\n
\n

\n ').concat(q("tcf_v2.storage_info.label"),"\n ").concat(r,"\n ").concat(o,"\n

"):"",o&&(this.storageInfoPopupLink=this.root.querySelector(".storage-info-popup")),this.assignEvents(),this.root},assignEvents:function(){var n=this;this.storageInfoPopupLink&&this.storageInfoPopupLink.addEventListener("click",function(){var e,o=n.id,t=n.deviceStorageDisclosureUrl,i=function(){var e=X(o);e&&(e.innerHTML='Error while loading ').concat(t,""))};(e=new XMLHttpRequest).onload=function(e){var t=X(o);if(t)try{var n=e.target,r=JSON.parse(n.responseText).disclosures;t.innerHTML=r.map($).join("
")}catch(e){i(),console.trace(e)}},e.onerror=i,e.open("GET",t),e.send()})}});var ee=Z;var te=_iub.csTranslate,ne={purposesListCache:null,specialPurposesListCache:null,featuresListCache:null,specialFeaturesListCache:null,dataCategoriesListCache:null};function re(n,r){return function(e){var t=n[e];return t===E.PURPOSE_ALLOWED||t===r}}function oe(e,t){var n=e.id,r=e.name,o=e.policyUrl,i=e.purposes,s=e.legIntPurposes,a=e.flexiblePurposes,c=e.specialPurposes,u=e.features,l=e.specialFeatures,p=e.cookieMaxAgeSeconds,d=e.usesNonCookieAccess,f=e.deviceStorageDisclosureUrl,h=e.cookieRefresh,v=e.dataDeclaration,b=e.dataRetention,g=e.urls;Object.assign(this,{id:n,name:r,policyUrl:o,specialPurposes:c,features:u,specialFeatures:l,cookieMaxAgeSeconds:p,usesNonCookieAccess:d,deviceStorageDisclosureUrl:f,cookieRefresh:h,dataDeclaration:v||[],dataRetention:b||null,urls:g||[],hasInitialLegIntPurposes:!!s.length,purposes:i.filter(re(t,E.PURPOSE_CONSENT_ONLY)).concat(a.filter(function(e){return t[e]===E.PURPOSE_CONSENT_ONLY&&-1!==s.indexOf(e)})).sort(Y),legIntPurposes:s.filter(re(t,E.PURPOSE_LI_ONLY)).concat(a.filter(function(e){return t[e]===E.PURPOSE_LI_ONLY&&-1!==i.indexOf(e)})).sort(Y),enabled:!1,legIntEnabled:!1,checkboxEnabled:null,checkboxLegIntEnabled:null,root:document.createElement("div"),vendorStorageInfo:new ee({cookieMaxAgeSeconds:p,usesNonCookieAccess:d,deviceStorageDisclosureUrl:f,cookieRefresh:h})}),this.root.className="iub-cmp-vendor",this.root.setAttribute("data-tcf-vendor-id",n)}oe.setCache=function(e){var t=e.purposes,n=e.specialPurposes,r=e.features,o=e.specialFeatures,i=e.dataCategories;ne={purposes:t,specialPurposes:n,features:r,specialFeatures:o,dataCategories:i}},Object.assign(oe.prototype,{isEnabled:function(){return this.enabled},isLegIntEnabled:function(){return this.legIntEnabled},hasPurposes:function(){return!!this.purposes.length},hasPurpose:function(e){return-1').concat(0===t?i:n,""))}),{mainLink:s.shift(),links:s}},getPrivacyPolicyLinks:function(e){var t='\n \n ");if(!e.length)return t;var n=this.generateHtmlLinks(e,"privacy",te("tcf_v2.privacy_policy"));if(!n.mainLink)return t;var r='"},getLegIntLinks:function(e){if(!e.length)return"";var t=this.generateHtmlLinks(e,"legIntClaim",te("tcf_v2.leg_int_information"));if(!t.mainLink)return"";var n='"},getVendorScreenReaderLabel:function(){var e=0').concat(e,"")},render:function(){var e=this.getAllEntityLists(),t=e.purposesList,n=e.legIntPurposesList,r=e.specialPurposesList,o=e.featuresList,i=e.specialFeaturesList,s=e.dataDeclarationList,a=e.urls,c=['
'.concat(this.name,"
"),t.length?'
\n
\n '.concat(this.getVendorScreenReaderLabel(),'\n \n
\n
'):"","
",'
',t.length?'

\n '.concat(te("tcf_v2.purposes_label")," ").concat(t.join(te("tcf_v2.purpose_list_separator")+" "),".\n

"):"",n.length?'

\n '.concat(te("tcf_v2.legit_purposes_label")," ").concat(n.join(te("tcf_v2.purpose_list_separator")+" "),".\n

"):"",r.length?'

\n '.concat(te("tcf_v2.special_purposes_label")," ").concat(r.join(te("tcf_v2.purpose_list_separator")+" "),".\n

"):"",o.length?'

\n '.concat(te("tcf_v2.features_label")," ").concat(o.join(te("tcf_v2.purpose_list_separator")+" "),".\n

"):"",i.length?'

\n '.concat(te("tcf_v2.special_features_label")," ").concat(i.join(te("tcf_v2.purpose_list_separator")+" "),".\n

"):"",s.length?'

\n '.concat(te("tcf_v2.data_declaration_label"),":\n

    ").concat(s.map(function(e){return"
  • ".concat(e,"
  • ")}).join(""),"
\n

"):"",this.hasLegIntPurposes()?C()('\n
\n \n \n
',{ID:this.id,LEGINT_LABEL:te("tcf_v2.leg_int_vendor_label"),CHECKED:this.legIntEnabled?"checked":""}):"",this.getPrivacyPolicyLinks(a),this.getLegIntLinks(a),"
"];return this.root.innerHTML=c.join(""),this.root.querySelector(".iub-cmp-desc").appendChild(this.vendorStorageInfo.render()),this.checkboxEnabled=this.hasPurposes()?this.root.querySelector(".iub-vendor-toggle-consent"):null,this.hasLegIntPurposes()&&(this.checkboxLegIntEnabled=this.root.querySelector(".iub-vendor-toggle-legint")),this.assignEvents(),this.root},assignEvents:function(){var e=this;this.hasPurposes()&&this.checkboxEnabled.addEventListener("click",function(){e.enabled=!e.enabled}),this.hasLegIntPurposes()&&this.checkboxLegIntEnabled.addEventListener("click",function(){e.legIntEnabled=!e.legIntEnabled})}});var ie=oe,se=n(100),ae=n(381),ce=n.n(ae);function ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n\n

{TITLE}

\n
{DESCRIPTION}
\n \n
\n \n\n

{IAB_TITLE}

\n

{PURPOSES_TITLE}

\n
\n\n

{SPECIAL_PURPOSES_TITLE}

\n
{SPECIAL_PURPOSES}
\n\n

{FEATURES_TITLE}

\n

{FEATURES_INTRO}

\n
{FEATURES_LIST}
\n\n

{SPECIAL_FEATURES_TITLE}

\n

{SPECIAL_FEATURES_INTRO}

\n
\n
'),de=new se.a;function fe(e,t,n,r,o,i){var s=_iub.cs.options;this.gvlHelper=de,Object.assign(this,{i18n:n,lang:t,csOptions:s,consentString:e,customPurposes:r,customPreferences:o,promiseCreate:i.promiseCreate,popover:i.popover,vendorsData:{},vendorViews:[],purposeCounts:null,specialPurposeCounts:null,legIntPurposes:{},tcModel:this.gvlHelper.getTcModel(e),purposesListView:null,specialFeaturesListView:null,isRendered:!1,isDisplayed:!1,isVendorListOpened:!1,savedEnabledVendorIds:[],savedEnabledLegIntVendorIds:[],narrowedVendorIds:Array.prototype.slice.call(s.tcfVendors||[]),publisherPurposeStates:s.tcfPurposes||null,_root:document.createElement("div")}),this._root.id="iub-cmp-widget"}window._iub.gvlHelper=de,Object.assign(fe.prototype,y,M,{getVendorList:function(e){var t=this,n=this.tcModel.gvl;n.readyPromise.then(function(){t.narrowedVendorIds.length&&n.narrowVendorsTo(t.narrowedVendorIds),e(n.vendors)})},saveVendorsState:function(e){var t=e.enabledVendorsIds,n=e.enabledLegIntVendorsIds;this.savedEnabledVendorIds=t,this.savedEnabledLegIntVendorIds=n},goBackToSavedVendorsState:function(){this.enableAllVendors(!1),this.enableVendors(this.savedEnabledVendorIds),this.enableVendorsLegInt(this.savedEnabledLegIntVendorIds)},getTranslationKeys:function(){var e=0\n

\n

\n {DESCRIPTION}\n {ILLUSTRATION}\n

\n ",{NAME:t,DESCRIPTION:n,DESCRIPTION_LEGAL:r,VENDOR_NAME:s?C()("",{NAME:t,COUNT:s[e],VENDORS:le("tcf_v2.vendors")}):C()("{NAME}",{NAME:t}),ILLUSTRATION:a&&o?C()('\n \n',{NAME:t,DESCRIPTION_LEGAL:r,LEARN_MORE:le("tcf_v2.learn_more")}):""}))}),c.join("")},createVendors:function(e){var t=this,n=this.vendorViews;ie.setCache(e),e.vendors.forEach(function(e){return n.push(new ie(e,t.publisherPurposeStates))}),2.2<=_iub.cs.options.tcfVersion&&(this.purposeCounts={all:{},consent:{},legitimateInterest:{}},this.specialPurposeCounts={},n.forEach(function(e){e.purposes.forEach(function(e){t.purposeCounts.all[e]=(t.purposeCounts.all[e]||0)+1,t.purposeCounts.consent[e]=(t.purposeCounts.consent[e]||0)+1}),e.legIntPurposes.forEach(function(e){t.purposeCounts.all[e]=(t.purposeCounts.all[e]||0)+1,t.purposeCounts.legitimateInterest[e]=(t.purposeCounts.legitimateInterest[e]||0)+1}),e.specialPurposes.forEach(function(e){t.specialPurposeCounts[e]=(t.specialPurposeCounts[e]||0)+1})}))},renderVendors:function(){var t;this.isVendorsRendered||(t=this.vendorsCollapsible.getBody(),this.vendorViews.forEach(function(e){return t.appendChild(e.render())}),this.isVendorsRendered=!0)},openVendorsList:function(){var e=this,t=this.promiseCreate();return this.renderPromise.then(function(){e.renderVendors(),e.vendorsCollapsible.setCollapsed(!1),t.resolve()}),t},closeVendorsList:function(){this.vendorsCollapsible.setCollapsed(!0)},buildUI:function(e){function t(e){return n._root.getElementsByClassName(e)[0]}var n=this;n.createVendors(e);var r=C()(pe,{TITLE:le("tcf_v2.widget_title"),DESCRIPTION:""+le("tcf_v2.widget_intro"),IAB_TITLE:le("tcf_v2.widget_iab_title"),PURPOSES_TITLE:le("tcf_v2.widget_purposes_title"),SPECIAL_PURPOSES_TITLE:le("tcf_v2.widget_special_purposes_title"),FEATURES_TITLE:le("tcf_v2.widget_features_title"),FEATURES_INTRO:le("tcf_v2.widget_features_intro"),SPECIAL_FEATURES_TITLE:le("tcf_v2.widget_special_features_title"),SPECIAL_FEATURES_INTRO:le("tcf_v2.widget_special_features_intro"),BUTTON_REJECT_CAPTION:le("tcf_v2.deactivate_all_purposes_button"),BUTTON_ACCEPT_ALL_CAPTION:le("tcf_v2.activate_all_purposes_button"),FEATURES_LIST:n.getFeaturesListHtml("features",n.vendorsData.features,null,"2.2"!==this.gvlHelper.tcfVersion),SPECIAL_PURPOSES:n.getFeaturesListHtml("specialPurposes",n.vendorsData.specialPurposes,this.specialPurposeCounts)});n._root.insertAdjacentHTML("beforeend",r),n.widgetContainer=t("widget-container"),n.purposesContainer=t("iub-cmp-purposes-container"),n.specialFeaturesContainer=t("iub-cmp-special-features-container"),n.activateAllPurposesButton=t("iub-cmp-enable-btn"),n.deactivateAllPurposesButton=t("iub-cmp-reject-btn"),n.purposesListView=new K("core",e.purposes,n.getLegIntPurposesMap(e.purposes),n.publisherPurposeStates,n.purposeCounts,!0,"purposes",function(e,t){return n.callbackPurposeEnabled(e,t)},function(e,t){return n.callbackLegIntPurposeEnabled(e,t)}),n.purposesContainer.appendChild(n.purposesListView.render()),n.specialFeaturesListView=new K("special-feature",e.specialFeatures,null,null,null,"2.2"!==this.gvlHelper.tcfVersion,"specialFeatures",function(e,t){return n.callbackSpecialFeatureEnabled(e,t)}),n.specialFeaturesContainer.appendChild(n.specialFeaturesListView.render()),n.vendorsCollapsible=new A("iub-cmp-collapse",le("tcf_v2.vendors_section_title"),n.callbackOnVendorsCollapse.bind(n)),n.widgetContainer.appendChild(n.vendorsCollapsible.root)},checkAndDisableVendors:function(e){var r=this;e.forEach(function(e){var t=e.purposes.every(function(e){return!1===r.purposesListView.isPurposeEnabled(e)}),n=e.specialFeatures.every(function(e){return!1===r.specialFeaturesListView.isPurposeEnabled(e)});t&&n&&e.setEnabled(!1)})},checkAndDisableVendorsLI:function(e){var t=this;e.forEach(function(e){e.legIntPurposes.every(function(e){return!1===t.purposesListView.isLegIntPurposeEnabled(e)})&&e.setLegIntEnabled(!1)})},callbackPurposeEnabled:function(e,t){e?this.vendorViews.forEach(function(e){e.hasPurpose(t)&&e.setEnabled(!0)}):this.checkAndDisableVendors(this.vendorViews)},callbackLegIntPurposeEnabled:function(e,t){e?this.vendorViews.forEach(function(e){e.hasLegIntPurpose(t)&&e.setLegIntEnabled(!0)}):this.checkAndDisableVendorsLI(this.vendorViews)},callbackSpecialFeatureEnabled:function(e,t){e?this.vendorViews.forEach(function(e){e.hasSpecialFeature(t)&&e.setEnabled(!0)}):this.checkAndDisableVendors(this.vendorViews)},callbackOnVendorsCollapse:function(e){e||this.openVendorsList(),this.isVendorListOpened=!e},assignEvents:function(){var e=this,t=_iub.cs.options.perPurposeConsent;this.popover.listen(e._root),e._root.addEventListener("click",function(e){return e.stopPropagation()}),e.activateAllPurposesButton.addEventListener("click",function(){e.enableAllEntities(),t||e.enableAllCustomPurposes()}),e.deactivateAllPurposesButton.addEventListener("click",function(){e.disableAllEntities(),t||e.disableAllCustomPurposes()})},render:function(t){var n=this;n.renderPromise=this.promiseCreate(),n.getVendorList(function(e){n.vendorsData=n.prepareVendorsData(e),n.buildUI(n.vendorsData),_iub.cs.options.googleAdditionalConsentMode&&(n.acInitialize(),_iub.cs.options.perPurposeConsent||n.acBuildUi(!1)),""!==n.consentString&&(n.setState(n.consentString),n.purposesListView.saveState({enabledPurposeIds:n.purposesListView.getEnabledPurposeIds(),enabledLegIntPurposeIds:n.purposesListView.getEnabledLegIntPurposeIds()}),n.specialFeaturesListView.saveState({enabledPurposeIds:n.specialFeaturesListView.getEnabledPurposeIds(),enabledLegIntPurposeIds:n.specialFeaturesListView.getEnabledLegIntPurposeIds()}),n.saveVendorsState({enabledVendorsIds:n.getEnabledVendorIds(),enabledLegIntVendorsIds:n.getEnabledLegIntVendorIds()}),n.acSaveState(n.acGetState())),n.assignEvents(),n.isRendered=!0,t(n._root),n.renderPromise.resolve()},function(){ce()("Something went wrong while retrieving the vendors list"),n.renderPromise.resolve()})},setState:function(e){if(e){var t=this.gvlHelper.getTcModel(e);if(t.purposeOneTreatment&&!t.isServiceSpecific)return;var n=[],r=[];t.purposeConsents.forEach(function(e,t){e&&n.push(t)}),t.purposeLegitimateInterests.forEach(function(e,t){e&&r.push(t)}),this.purposesListView.setAllEnabled(!1).setAllLegIntEnabled(!1).setPurposesEnabled(n,!0).setLegIntPurposedEnabled(r,!0),this.setSpecialFeaturesPurposes(t),this.vendorViews.forEach(function(e){e.setEnabled(t.vendorConsents.has(e.id)),e.setLegIntEnabled(t.vendorLegitimateInterests.has(e.id))})}this.acSetState(this.customPreferences?this.customPreferences.gac:"")},getRestrictionType:function(e){switch(e){case E.PURPOSE_DISALLOWED:return g.RestrictionType.NOT_ALLOWED;case E.PURPOSE_CONSENT_ONLY:return g.RestrictionType.REQUIRE_CONSENT;case E.PURPOSE_LI_ONLY:return g.RestrictionType.REQUIRE_LI;default:return null}},getState:function(){var u=this;if(!this.isRendered)return null;var e=this.tcModel,t=[],n=[],r=[];this.vendorViews.forEach(function(e){n.push(e.id),e.isEnabled()&&t.push(e.id),e.isLegIntEnabled()&&r.push(e.id)}),e.unsetAll(),e.publisherConsents.empty(),e.publisherLegitimateInterests.empty(),e.vendorConsents.set(t),e.vendorsDisclosed.set(n),e.vendorLegitimateInterests.set(r);var o=this.purposesListView.getEnabledPurposeIds(),i=this.purposesListView.getEnabledLegIntPurposeIds();e.purposeConsents.set(o),e.purposeLegitimateInterests.set(i),e.publisherConsents.set(o),e.publisherLegitimateInterests.set(i),e.specialFeatureOptins.set(this.specialFeaturesListView.getEnabledPurposeIds()),e.publisherRestrictions=new g.PurposeRestrictionVector;var s,l=e.publisherRestrictions;l.gvl=e.gvl,Object.entries(this.publisherPurposeStates).forEach(function(e){var t,n,r,o,i=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,n)||function(e,t){if(e){if("string"==typeof e)return ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ue(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=i[0],a=i[1],c=u.getRestrictionType(a);null!==c&&(r=parseInt(s,10),o=new g.PurposeRestriction(r,c),u.vendorViews.forEach(function(e){var t=e.id;l.vendorHasRestriction(t,o)||l.add(t,o)}))}),e.consentScreen=this.isDisplayed?p.a.CONSENT_SCREEN_WIDGET:p.a.CONSENT_SCREEN_BANNER,e.consentLanguage=this.getISO639Lang(),e.gvl.changeLanguage(this.getISO639Lang()),e.isServiceSpecific=!0,"consent_not_needed"===this.publisherPurposeStates[1]&&(e.purposeOneTreatment=!0,(s=this.csOptions.tcfPublisherCC)&&"string"==typeof s&&2<=s.length&&(e.publisherCountryCode=s.substring(0,2).toUpperCase())),e.updated(),_=g.SemanticPreEncoder.process,g.SemanticPreEncoder.process=function(e,t){var n=_.call(this,e,t),r=n.gvl.vendors,o=Object.keys(r).filter(function(e){var t=r[e];return t.specialPurposes.length&&!t.purposes.length&&!t.legIntPurposes.length}).map(function(e){return+e});return n.vendorLegitimateInterests.set(o),n};var a=g.TCString.encode(e,{segments:["core"]});return g.SemanticPreEncoder.process=_,a}});var he=fe,ve=window,be=void 0===ve._iub?ve._iub={}:ve._iub,ge=be.cmp||(be.cmp={}),Ee=ge.VERSION||(ge.VERSION={});ge.exposeCmpGlobalFunction=function(e){var t,n,r,o,i=2t.value))break;if(null===t.right){t.right=n;break}t=t.right}},a.prototype.get=function(){for(var e=[],t=this.root;t;)if(t.left){for(var n=t.left;n.right&&n.right!=t;)n=n.right;t=n.right==t?(n.right=null,e.push(t.value),t.right):(n.right=t).left}else e.push(t.value),t=t.right;return e},a.prototype.contains=function(e){for(var t=!1,n=this.root;n;){if(n.value===e){t=!0;break}e>n.value?n=n.right:et.value?(t=(r=t).right,o="right"):(t.left||t.right?t.left?t.right?(n=this.min(t.right),this.remove(n,t.right),t.value=n):r?r[o]=t.left:this.root=t.left:r?r[o]=t.right:this.root=t.right:r?r[o]=null:this.root=null,t=null)}},a);function a(){var e=null!==i&&i.apply(this,arguments)||this;return e.root=null,e}t.BinarySearchTree=s},64:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(o.cmpId="cmpId",o.cmpVersion="cmpVersion",o.consentLanguage="consentLanguage",o.consentScreen="consentScreen",o.created="created",o.supportOOB="supportOOB",o.isServiceSpecific="isServiceSpecific",o.lastUpdated="lastUpdated",o.numCustomPurposes="numCustomPurposes",o.policyVersion="policyVersion",o.publisherCountryCode="publisherCountryCode",o.publisherCustomConsents="publisherCustomConsents",o.publisherCustomLegitimateInterests="publisherCustomLegitimateInterests",o.publisherLegitimateInterests="publisherLegitimateInterests",o.publisherConsents="publisherConsents",o.publisherRestrictions="publisherRestrictions",o.purposeConsents="purposeConsents",o.purposeLegitimateInterests="purposeLegitimateInterests",o.purposeOneTreatment="purposeOneTreatment",o.specialFeatureOptins="specialFeatureOptins",o.useNonStandardStacks="useNonStandardStacks",o.vendorConsents="vendorConsents",o.vendorLegitimateInterests="vendorLegitimateInterests",o.vendorListVersion="vendorListVersion",o.vendorsAllowed="vendorsAllowed",o.vendorsDisclosed="vendorsDisclosed",o.version="version",o);function o(){}t.Fields=r},65:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(14),a=n(6),c=n(44),u=(i=s.Cloneable,o(l,i),l.unHash=function(e){var t=e.split(this.hashSeparator),n=new l;if(2!==t.length)throw new a.TCModelError("hash",e);return n.purposeId=parseInt(t[0],10),n.restrictionType=parseInt(t[1],10),n},Object.defineProperty(l.prototype,"hash",{get:function(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return""+this.purposeId+l.hashSeparator+this.restrictionType},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"purposeId",{get:function(){return this.purposeId_},set:function(e){this.purposeId_=e},enumerable:!0,configurable:!0}),l.prototype.isValid=function(){return Number.isInteger(this.purposeId)&&0function(e){for(;++e<=r&&!o.has(e););return e}(t))&&(n=!(t===c),u+=v.BooleanEncoder.encode(n),u+=g.IntEncoder.encode(c,h.BitLength.vendorId),n&&(u+=g.IntEncoder.encode(t,h.BitLength.vendorId)),c=0)}(t);n+=g.IntEncoder.encode(a,h.BitLength.numEntries),n+=u}),n},o.decode=function(e){var t=0,n=new E.PurposeRestrictionVector,r=g.IntEncoder.decode(e.substr(t,h.BitLength.numRestrictions),h.BitLength.numRestrictions);t+=h.BitLength.numRestrictions;for(var o=0;oc&&us[0]&&t[1]>0)<0)throw new a.TCModelError("vendorListVersion",e);this.vendorListVersion_=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"policyVersion",{get:function(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_},set:function(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new a.TCModelError("policyVersion",e)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"version",{get:function(){return this.version_},set:function(e){this.version_=parseInt(e,10)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isServiceSpecific",{get:function(){return this.isServiceSpecific_},set:function(e){this.isServiceSpecific_=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"useNonStandardStacks",{get:function(){return this.useNonStandardStacks_},set:function(e){this.useNonStandardStacks_=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"supportOOB",{get:function(){return this.supportOOB_},set:function(e){this.supportOOB_=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"purposeOneTreatment",{get:function(){return this.purposeOneTreatment_},set:function(e){this.purposeOneTreatment_=e},enumerable:!0,configurable:!0}),p.prototype.setAllVendorConsents=function(){this.vendorConsents.set(this.gvl.vendors)},p.prototype.unsetAllVendorConsents=function(){this.vendorConsents.empty()},p.prototype.setAllVendorsDisclosed=function(){this.vendorsDisclosed.set(this.gvl.vendors)},p.prototype.unsetAllVendorsDisclosed=function(){this.vendorsDisclosed.empty()},p.prototype.setAllVendorsAllowed=function(){this.vendorsAllowed.set(this.gvl.vendors)},p.prototype.unsetAllVendorsAllowed=function(){this.vendorsAllowed.empty()},p.prototype.setAllVendorLegitimateInterests=function(){this.vendorLegitimateInterests.set(this.gvl.vendors)},p.prototype.unsetAllVendorLegitimateInterests=function(){this.vendorLegitimateInterests.empty()},p.prototype.setAllPurposeConsents=function(){this.purposeConsents.set(this.gvl.purposes)},p.prototype.unsetAllPurposeConsents=function(){this.purposeConsents.empty()},p.prototype.setAllPurposeLegitimateInterests=function(){this.purposeLegitimateInterests.set(this.gvl.purposes)},p.prototype.unsetAllPurposeLegitimateInterests=function(){this.purposeLegitimateInterests.empty()},p.prototype.setAllSpecialFeatureOptins=function(){this.specialFeatureOptins.set(this.gvl.specialFeatures)},p.prototype.unsetAllSpecialFeatureOptins=function(){this.specialFeatureOptins.empty()},p.prototype.setAll=function(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()},p.prototype.unsetAll=function(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()},Object.defineProperty(p.prototype,"numCustomPurposes",{get:function(){var e,t=this.numCustomPurposes_;return"object"==typeof this.customPurposes&&(e=Object.keys(this.customPurposes).sort(function(e,t){return e-t}),t=parseInt(e.pop(),10)),t},set:function(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new a.TCModelError("numCustomPurposes",e)},enumerable:!0,configurable:!0}),p.prototype.updated=function(){var e=new Date,t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=t,this.lastUpdated=t},p.consentLanguages=c.GVL.consentLanguages,p);function p(e){var t=i.call(this)||this;return t.isServiceSpecific_=!1,t.supportOOB_=!0,t.useNonStandardStacks_=!1,t.purposeOneTreatment_=!1,t.publisherCountryCode_="AA",t.version_=2,t.consentScreen_=0,t.policyVersion_=2,t.consentLanguage_="EN",t.cmpId_=0,t.cmpVersion_=0,t.vendorListVersion_=0,t.numCustomPurposes_=0,t.specialFeatureOptins=new u.Vector,t.purposeConsents=new u.Vector,t.purposeLegitimateInterests=new u.Vector,t.publisherConsents=new u.Vector,t.publisherLegitimateInterests=new u.Vector,t.publisherCustomConsents=new u.Vector,t.publisherCustomLegitimateInterests=new u.Vector,t.vendorConsents=new u.Vector,t.vendorLegitimateInterests=new u.Vector,t.vendorsDisclosed=new u.Vector,t.vendorsAllowed=new u.Vector,t.publisherRestrictions=new u.PurposeRestrictionVector,e&&(t.gvl=e),t.updated(),t}t.TCModel=l},82:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}(t(83))},83:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.TCFCommand||(t.TCFCommand={})).PING="ping",r.GET_TC_DATA="getTCData",r.GET_IN_APP_TC_DATA="getInAppTCData",r.GET_VENDOR_LIST="getVendorList",r.ADD_EVENT_LISTENER="addEventListener",r.REMOVE_EVENT_LISTENER="removeEventListener"},84:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(38),a=n(39),c=(i=s.Response,o(u,i),u);function u(){var e=null!==i&&i.apply(this,arguments)||this;return e.cmpStatus=a.CmpStatus.ERROR,e}t.Disabled=c},85:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||0