PageSourceSearch

https://www.dak.de/_next/static/chunks/3975.4ede1856ee397f33.js

js dak.de collected 2026-09-24 08:46:22 UTC 31,336 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2662,3975],{183975:(e,t,s)=>{s.r(t),s.d(t,{default:()=>q});var n=s(269613),i=s(272662);function r(e,t){return Object.keys(t).forEach(function(s){"default"===s||"__esModule"===s||Object.prototype.hasOwnProperty.call(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:function(){return t[s]}})}),e}function o(e,t,s,n){Object.defineProperty(e,t,{get:s,set:n,enumerable:!0,configurable:!0})}var a={},c={};o(c,"TCFCommand",function(){return u});var u=function(e){return 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",e}({});r(a,c),r(a,{});var l={},d={};o(d,"InAppTCData",function(){return M});var h={};o(h,"TCData",function(){return A}),o({},"CmpApiModel",function(){return y});var p={},v={};o(v,"CmpStatus",function(){return f});var f=function(e){return e.STUB="stub",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e}({}),g={};o(g,"DisplayStatus",function(){return m});var m=function(e){return e.VISIBLE="visible",e.HIDDEN="hidden",e.DISABLED="disabled",e}({}),I={};o(I,"EventStatus",function(){return C});var C=function(e){return e.TC_LOADED="tcloaded",e.CMP_UI_SHOWN="cmpuishown",e.USER_ACTION_COMPLETE="useractioncomplete",e}({});r(p,v),r(p,g),r(p,I);var b=(0,n.t)(function e(t,s,i,r){(0,n.u)(this,e),this.success=!0,Object.assign(this,{callback:t,listenerId:i,param:s,next:r});try{this.respond()}catch(e){this.invokeCallback(null)}},[{key:"invokeCallback",value:function(e){var t=null!==e;"function"==typeof this.next?this.callback(this.next,e,t):this.callback(e,t)}}]),E=function(){function e(){return(0,n.u)(this,e),(0,n.B)(this,e,arguments)}return(0,n.r)(e,b),(0,n.t)(e,[{key:"respond",value:function(){this.throwIfParamInvalid(),this.invokeCallback(new A(this.param,this.listenerId))}},{key:"throwIfParamInvalid",value:function(){if(!(void 0===this.param||Array.isArray(this.param)&&this.param.every(Number.isInteger)))throw Error("Invalid Parameter")}}])}(),S=(0,n.t)(function e(){(0,n.u)(this,e),this.eventQueue=new Map,this.queueNumber=0},[{key:"add",value:function(e){return this.eventQueue.set(this.queueNumber,e),this.queueNumber++}},{key:"remove",value:function(e){return this.eventQueue.delete(e)}},{key:"exec",value:function(){this.eventQueue.forEach(function(e,t){new E(e.callback,e.param,t,e.next)})}},{key:"clear",value:function(){this.queueNumber=0,this.eventQueue.clear()}},{key:"size",get:function(){return this.eventQueue.size}}]),y=(0,n.t)(function e(){(0,n.u)(this,e)},null,[{key:"reset",value:function(){delete this.cmpId,delete this.cmpVersion,delete this.eventStatus,delete this.gdprApplies,delete this.tcModel,delete this.tcString,delete this.tcfPolicyVersion,this.enableAdvertiserConsentMode=!1,this.addtlConsent="",this.cmpStatus=f.LOADING,this.disabled=!1,this.displayStatus=m.HIDDEN,this.eventQueue.clear()}}]);y.apiVersion="2",y.eventQueue=new S,y.cmpStatus=f.LOADING,y.disabled=!1,y.displayStatus=m.HIDDEN,y.enableAdvertiserConsentMode=!1,y.addtlConsent="";var V={};o(V,"Response",function(){return T});var T=(0,n.t)(function e(){(0,n.u)(this,e),this.cmpId=y.cmpId,this.cmpVersion=y.cmpVersion,this.gdprApplies=y.gdprApplies,this.tcfPolicyVersion=y.tcfPolicyVersion}),A=function(){function e(t,s){var i;if((0,n.u)(this,e),(i=(0,n.B)(this,e)).eventStatus=y.eventStatus,i.cmpStatus=y.cmpStatus,i.listenerId=s,y.gdprApplies){var r=y.tcModel;i.tcString=y.tcString,i.addtlConsent=r.addtlConsent,i.enableAdvertiserConsentMode=r.enableAdvertiserConsentMode,i.isServiceSpecific=r.isServiceSpecific,i.useNonStandardTexts=r.useNonStandardTexts,i.purposeOneTreatment=r.purposeOneTreatment,i.publisherCC=r.publisherCountryCode,i.outOfBand={allowedVendors:i.createVectorField(r.vendorsAllowed,t),disclosedVendors:i.createVectorField(r.vendorsDisclosed,t)},i.purpose={consents:i.createVectorField(r.purposeConsents),legitimateInterests:i.createVectorField(r.purposeLegitimateInterests)},i.vendor={consents:i.createVectorField(r.vendorConsents,t),legitimateInterests:i.createVectorField(r.vendorLegitimateInterests,t)},i.specialFeatureOptins=i.createVectorField(r.specialFeatureOptins),i.publisher={consents:i.createVectorField(r.publisherConsents),legitimateInterests:i.createVectorField(r.publisherLegitimateInterests),customPurpose:{consents:i.createVectorField(r.publisherCustomConsents),legitimateInterests:i.createVectorField(r.publisherCustomLegitimateInterests)},restrictions:i.createRestrictions(r.publisherRestrictions)}}return i}return(0,n.r)(e,T),(0,n.t)(e,[{key:"createRestrictions",value:function(e){var t={};if(e.numRestrictions>0)for(var s=e.getMaxVendorId(),n=1;n<=s;n++)!function(){var s=n.toString();
1e.getRestrictions(n).forEach(function(e){var n=e.purposeId.toString();t[n]||(t[n]={}),t[n][s]=e.restrictionType})}();return t}},{key:"createVectorField",value:function(e,t){return t?t.reduce(function(t,s){return t[String(s)]=e.has(Number(s)),t},{}):(0,n.w)(e).reduce(function(e,t){return e[t[0].toString(10)]=t[1],e},{})}}])}(),M=function(){function e(t){var s;return(0,n.u)(this,e),delete(s=(0,n.B)(this,e,[t])).outOfBand,s}return(0,n.r)(e,A),(0,n.t)(e,[{key:"createVectorField",value:function(e){return(0,n.w)(e).reduce(function(e,t){return e+(t[1]?"1":"0")},"")}},{key:"createRestrictions",value:function(e){var t={};if(e.numRestrictions>0){var s=e.getMaxVendorId();e.getRestrictions().forEach(function(e){t[e.purposeId.toString()]="_".repeat(s)});for(var n=function(s){e.getRestrictions(s+1).forEach(function(e){var n=e.restrictionType.toString(),i=e.purposeId.toString(),r=t[i].substr(0,s),o=t[i].substr(s+1);t[i]=r+n+o})},i=0;i<s;i++)n(i)}return t}}])}(),D={};o(D,"Ping",function(){return L});var L=function(){function e(){var t;return(0,n.u)(this,e),(t=(0,n.B)(this,e)).cmpLoaded=!0,t.cmpStatus=y.cmpStatus,t.displayStatus=y.displayStatus,t.apiVersion=String(y.apiVersion),y.tcModel&&y.tcModel.vendorListVersion&&(t.gvlVersion=+y.tcModel.vendorListVersion),t}return(0,n.r)(e,T),(0,n.t)(e)}();r(l,d),r(l,D),r(l,V),r(l,h),o({},"CmpApi",function(){return z});var w,_,P,k,R,N,O=function(){function e(){return(0,n.u)(this,e),(0,n.B)(this,e,arguments)}return(0,n.r)(e,b),(0,n.t)(e,[{key:"respond",value:function(){this.invokeCallback(new L)}}])}(),F=function(){function e(){return(0,n.u)(this,e),(0,n.B)(this,e,arguments)}return(0,n.r)(e,E),(0,n.t)(e,[{key:"respond",value:function(){this.throwIfParamInvalid(),this.invokeCallback(new M(this.param))}}])}(),U=function(){function e(){return(0,n.u)(this,e),(0,n.B)(this,e,arguments)}return(0,n.r)(e,b),(0,n.t)(e,[{key:"respond",value:function(){var e,t=this,s=y.tcModel,i=s.vendorListVersion;void 0===this.param&&(this.param=i),(e=this.param===i&&s.gvl?s.gvl:new n.$(this.param)).readyPromise.then(function(){t.invokeCallback(e.getJson())})}}])}(),G=function(){function e(){return(0,n.u)(this,e),(0,n.B)(this,e,arguments)}return(0,n.r)(e,E),(0,n.t)(e,[{key:"respond",value:function(){this.listenerId=y.eventQueue.add({callback:this.callback,param:this.param,next:this.next}),(0,n.x)(e,"respond",this,3)([])}}])}(),B=function(){function e(){return(0,n.u)(this,e),(0,n.B)(this,e,arguments)}return(0,n.r)(e,b),(0,n.t)(e,[{key:"respond",value:function(){this.invokeCallback(y.eventQueue.remove(this.param))}}])}(),Q=(0,n.t)(function e(){(0,n.u)(this,e)});w=u.PING,_=u.GET_TC_DATA,P=u.GET_IN_APP_TC_DATA,k=u.GET_VENDOR_LIST,R=u.ADD_EVENT_LISTENER,N=u.REMOVE_EVENT_LISTENER,Q[w]=O,Q[_]=E,Q[P]=F,Q[k]=U,Q[R]=G,Q[N]=B;var x=function(){function e(){var t;(0,n.u)(this,e);for(var s=arguments.length,i=Array(s),r=0;r<s;r++)i[r]=arguments[r];return(t=(0,n.B)(this,e,[].concat(i))).cmpStatus=f.ERROR,t}return(0,n.r)(e,T),(0,n.t)(e)}(),H=(0,n.t)(function e(){(0,n.u)(this,e)},null,[{key:"has",value:function(e){return"string"==typeof e&&(e=Number(e)),this.set_.has(e)}}]);H.set_=new Set([0,2,void 0,null]);var j="__tcfapi",$=(0,n.t)(function e(t){if((0,n.u)(this,e),t){var s=u.ADD_EVENT_LISTENER;if(null!=t&&t[s])throw Error("Built-In Custom Commmand for ".concat(s," not allowed: Use ").concat(u.GET_TC_DATA," instead"));if(s=u.REMOVE_EVENT_LISTENER,null!=t&&t[s])throw Error("Built-In Custom Commmand for ".concat(s," not allowed"));null!=t&&t[u.GET_TC_DATA]&&(t[u.ADD_EVENT_LISTENER]=t[u.GET_TC_DATA],t[u.REMOVE_EVENT_LISTENER]=t[u.GET_TC_DATA]),this.customCommands=t}try{this.callQueue=window[j]()||[]}catch(e){this.callQueue=[]}finally{window[j]=this.apiCall.bind(this),this.purgeQueuedCalls()}},[{key:"apiCall",value:function(e,t,s){for(var n,i=arguments.length,r=Array(i>3?i-3:0),o=3;o<i;o++)r[o-3]=arguments[o];if("string"!=typeof e)s(null,!1);else if(H.has(t)){if("function"!=typeof s)throw Error("invalid callback function");y.disabled?s(new x,!1):this.isCustomCommand(e)||this.isBuiltInCommand(e)?this.isCustomCommand(e)&&!this.isBuiltInCommand(e)?(n=this.customCommands)[e].apply(n,[s].concat(r)):e===u.PING?this.isCu
1stomCommand(e)?new Q[e](this.customCommands[e],r[0],null,s):new Q[e](s,r[0]):void 0===y.tcModel?this.callQueue.push([e,t,s].concat(r)):this.isCustomCommand(e)&&this.isBuiltInCommand(e)?new Q[e](this.customCommands[e],r[0],null,s):new Q[e](s,r[0]):s(null,!1)}else s(null,!1)}},{key:"purgeQueuedCalls",value:function(){var e=this.callQueue;this.callQueue=[],e.forEach(function(e){var t;(t=window)[j].apply(t,(0,n.w)(e))})}},{key:"isCustomCommand",value:function(e){return this.customCommands&&"function"==typeof this.customCommands[e]}},{key:"isBuiltInCommand",value:function(e){return void 0!==Q[e]}}]),z=(0,n.t)(function e(t,s){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;(0,n.u)(this,e),this.numUpdates=0,this.throwIfInvalidInt(t,"cmpId",2),this.throwIfInvalidInt(s,"cmpVersion",0),y.cmpId=t,y.cmpVersion=s,y.tcfPolicyVersion=4,this.isServiceSpecific=!!i,this.callResponder=new $(r)},[{key:"throwIfInvalidInt",value:function(e,t,s){if(!("number"==typeof e&&Number.isInteger(e)&&e>=s))throw Error("Invalid ".concat(t,": ").concat(e))}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2?arguments[2]:void 0;if(y.disabled)throw Error("CmpApi Disabled");y.cmpStatus=f.LOADED,t?(y.displayStatus=m.VISIBLE,y.eventStatus=C.CMP_UI_SHOWN):void 0===y.tcModel?(y.displayStatus=m.DISABLED,y.eventStatus=C.TC_LOADED):(y.displayStatus=m.HIDDEN,y.eventStatus=C.USER_ACTION_COMPLETE),y.gdprApplies=null!==e,y.gdprApplies?(""===e?(y.tcModel=new n.y,y.tcModel.cmpId=y.cmpId,y.tcModel.cmpVersion=y.cmpVersion):y.tcModel=n.z.decode(e),y.tcModel.addtlConsent=s||"",y.tcModel.enableAdvertiserConsentMode=y.enableAdvertiserConsentMode,y.tcModel.isServiceSpecific=this.isServiceSpecific,y.tcfPolicyVersion=Number(y.tcModel.policyVersion),y.tcString=e):y.tcModel=null,0===this.numUpdates?this.callResponder.purgeQueuedCalls():y.eventQueue.exec(),this.numUpdates++}},{key:"disable",value:function(){y.disabled=!0,y.cmpStatus=f.ERROR}}]),q=function(e){function t(t,s,i,r,o,a,c,u){var l=e.call(this,i,o)||this;l.gcmEnabled=!1,l.policyVersion=5,l.locationInstance=n.H.getInstance(),l.botInstance=n.I.getInstance(),l.previousStorage=null,l.selectedVendorsIncludeNonDisclosed=!1,l.cmpApi={},l.tcModel=null,l.tcfData=null,l.vendors=[];var d=t.tcf2,h=d.acmV2Enabled,p=d.advertiserConsentModeEnabled,v=d.atpPurposes,f=d.changedPurposes,g=d.cmpId,m=d.cmpVersion,I=d.consensuDomain,C=d.consensuScriptPath,b=d.dataRetentionPeriodLabel,E=d.disabledSpecialFeatures,S=d.firstLayerHideToggles,y=d.gdprApplies,V=d.hideLegitimateInterestToggles,T=d.publisherCountryCode,A=d.purposeOneTreatment,M=d.secondLayerHideToggles,D=d.selectedStacks,L=d.selectedVendorIds,w=d.selectedATPIds,_=d.tcfv2HistoryDisabled,P=d.vendorIdsOutsideEUList,k=d.version,R=t.googleConsentMode;return l.acmData={isEnabled:!0===h,vendorIds:h&&w||[],vendorsPurposes:h&&v?(0,n.J)(v):[]},l.advertiserConsentModeEnabled=p,l.gcmEnabled=!0===R,l.changedPurposes=(0,n.K)(f),l.cmpId=g||5,l.cmpVersion=m||(0,n.M)(),l.policyVersion="2.0"===k||"2.1"===k?2:5,l.consensuScriptPath=(0,n.N)(C),l.consensuSubdomain=(0,n.O)(I),l.dataRetentionLabel=b,l.disabledSpecialFeatures=E||[],l.gdprApplies=(0,n.P)(y,!1),l.hideLegitimateInterestToggles=V,l.isAnalyticsEnabled=!0===t.consentAnalytics,l.isApiV2Enabled=!0===t.consentAPIv2,l.isConsentXDeviceEnabled=!0===t.consentXDevice,l.publisherCountryCode=T||"DE",l.purposeOneTreatment=(0,n.P)(A,!1),l.resurfaceOptions=(0,n.Q)(s),l.stackIds=D||[],l.tcfv2HistoryDisabled=_,l.useGranularChoice=(0,n.R)(S,M),l.vendorIds=L||[],l.vendorIdsOutsideEUList=P||[],l.selectedLanguage=(0,n.T)(a),l.enableDeprecatedV1ConsentSaving=u,l.cmpApi=new z(l.cmpId,l.cmpVersion,!0),l.dataTransferSettings=r,l.excludeAcceptAllVendors=c,l}return(0,n._)(t,e),t.prototype.updateControllerId=function(e){this.dataTransferSettings.controllerId=e},t.prototype.applySpecialCasesForVendors=function(){var e=this;this.tcModel&&Object.values(this.vendors).forEach(function(t){var s=t.id;if(e.tcModel){var n=e.tcModel.gvl.vendors[s];(n&&0===n.purposes.length&&0===n.legIntPurposes.length&&n.specialPurposes.length>0||n&&n.purposes.length>0&&0===n.legIntPurposes.length&&n.specialPurposes.length>0)&&e.tcModel.vendorLegitimateInterests.set(s)}})},t.prototype.acceptAllDisclosed=function(e){var t,s;return(0,n.f)(this,void 0,void 0,function(){var i,r,o,a=this;return(0,n.h)(this,function(c){switch(c.label){case 0:return(i=this.tcModel)?(this.acmData.isEnabled&&this.acmData.vendors&&(this.acmData.vendors=this.acmData.vendors.map(function(e){return(0,n.p)((0,n.p)({},e),{consent:{status:!0}})}
1)),r=[],o=[],this.getVendors().forEach(function(e){var t=e.id,s=e.legitimateInterestPurposes,n=e.purposes,c=e.specialPurposes,u=-1===a.excludeAcceptAllVendors.indexOf(t);n.length?(u&&i.vendorConsents.set(t),r=r.concat(n.map(function(e){return e.id}))):u&&i.vendorConsents.unset(t),s.length||c.length&&0===s.length&&0===n.length?(u&&i.vendorLegitimateInterests.set(t),o=o.concat(s.map(function(e){return e.id}))):u&&i.vendorLegitimateInterests.unset(t)}),i.purposeConsents.set((0,n.U)(r)),i.publisherConsents.set((0,n.U)(r)),i.purposeLegitimateInterests.set((0,n.U)(o)),i.publisherLegitimateInterests.set((0,n.U)(o)),this.hideLegitimateInterestToggles&&(i.unsetAllVendorLegitimateInterests(),i.unsetAllPurposeLegitimateInterests()),this.applySpecialCasesForVendors(),i.specialFeatureOptins.set((0,n.V)(null==(s=null==(t=this.tcModel)?void 0:t.gvl)?void 0:s.stacks,this.getVendors(),this.disabledSpecialFeatures,this.stackIds)),this.tcModel=i,[4,this.updateTCString(e)]):[2];case 1:return c.sent(),[2]}})})},t.prototype.areAllPurposesAccepted=function(){var e,t;return(0,n.X)(this.tcModel,null==(e=this.tcModel)?void 0:e.gvl.stacks,null==(t=this.tcModel)?void 0:t.gvl.purposes,this.vendors,this.disabledSpecialFeatures,this.stackIds,this.purposeOneTreatment,this.useGranularChoice,this.hideLegitimateInterestToggles).every(function(e){var t=!0,s=!0;return e.showConsentToggle&&null!==e.consent&&(t=e.consent),e.showLegitimateInterestToggle&&null!==e.legitimateInterestConsent&&(s=e.legitimateInterestConsent),t&&s})},t.prototype.areAllVendorsAccepted=function(){return this.getVendors().every(function(e){var t=!0,s=!0;return e.showConsentToggle&&null!==e.consent&&(t=e.consent),e.showLegitimateInterestConsentToggle&&null!==e.legitimateInterestConsent&&(s=e.legitimateInterestConsent),t&&s})},t.prototype.changeLanguage=function(e,t){var s;return(0,n.f)(this,void 0,void 0,function(){var i,r,o=this;return(0,n.h)(this,function(a){switch(a.label){case 0:return i=(0,n.T)(e),[4,this.resetGVLWithLanguage("en"===i?"".concat(i,"-v2"):i)];case 1:return a.sent(),t&&(this.dataRetentionLabel=t.dataRetentionPeriodLabel,t.acmV2Enabled&&t.atpPurposes&&(this.acmData.vendorsPurposes=(0,n.J)(t.atpPurposes),r=null==(s=this.acmData.vendors)?void 0:s.map(function(e){return(0,n.p)((0,n.p)({},e),{purposes:o.acmData.vendorsPurposes})}),this.acmData.vendors=r)),this.tcModel&&this.tcModel.gvl.narrowVendorsTo(this.vendorIds),this.resetTcfData(),[2]}})})},t.prototype.denyAllDisclosed=function(e){return(0,n.f)(this,void 0,void 0,function(){var t;return(0,n.h)(this,function(s){switch(s.label){case 0:return this.tcModel?(this.acmData.isEnabled&&this.acmData.vendors&&(this.acmData.vendors=this.acmData.vendors.map(function(e){return(0,n.p)((0,n.p)({},e),{consent:{status:!1}})})),this.tcModel.unsetAllVendorConsents(),this.tcModel.unsetAllVendorLegitimateInterests(),this.applySpecialCasesForVendors(),t=(0,n.Y)(this.tcModel.gvl.stacks,this.getVendors(),this.disabledSpecialFeatures,this.stackIds,this.purposeOneTreatment),this.tcModel.purposeConsents.unset(t),this.tcModel.purposeLegitimateInterests.unset(t),this.tcModel.specialFeatureOptins.unset((0,n.V)(this.tcModel.gvl.stacks,this.getVendors(),this.disabledSpecialFeatures,this.stackIds)),this.tcModel.publisherConsents.unset(t),this.tcModel.publisherLegitimateInterests.unset(t),[4,this.updateTCString(e)]):[2];case 1:return s.sent(),[2]}})})},t.prototype.getSelectedVendorsIncludeNonDisclosed=function(){return this.selectedVendorsIncludeNonDisclosed},t.prototype.getTcModel=function(){return this.tcModel},t.prototype.getTCFData=function(){var e,t,s,i,r,o,a,c,u;return this.tcfData||(this.tcfData={acmVendors:this.getAcmVendors(),features:(0,n.Z)(this.getVendors(),null==(t=null==(e=this.tcModel)?void 0:e.gvl)?void 0:t.features),purposes:(0,n.X)(this.tcModel,null==(s=this.tcModel)?void 0:s.gvl.stacks,null==(i=this.tcModel)?void 0:i.gvl.purposes,this.getVendors(),this.disabledSpecialFeatures,this.stackIds,this.purposeOneTreatment,this.useGranularChoice,this.hideLegitimateInterestToggles),specialFeatures:(0,n.a0)(this.tcModel,null==(r=this.tcModel)?void 0:r.gvl,this.getVendors(),this.disabledSpecialFeatures,this.stackIds,this.useGranularChoice),specialPurposes:(0,n.a1)(null==(a=null==(o=this.tcModel)?void 0:o.gvl)?void 0:a.specialPurposes,this.getVendors()),stacks:(0,n.a2)(null==(u=null==(c=this.tcModel)?void 0:c.gvl)?void 0:u.stacks,this.disabledSpecialFeatures,this.stackIds),vendors:this.getVendors()}),this.tcfData},t.prototype.getGdprApplies=function(){return(0,n.f)(this,void 0,void 0,function(){return(0,n.h)(this,function(e){switch(e.label){case 0:return this.gdprApplies?[4,this.locationInstance.getIsUserInEU()]:[2,!0];case 1:return[2,e.sent()]}})})},t.prototype.getACString=function(){var e;if(this.acmData.isEnabled&&(null==(e=this.acmData.vendors)?void 0:e.length)){var t=this.acmData.vendors.reduce(function(e,t){var s=e.consentedAcmVendorIds,n=e.disclosedAcmVendorIds;return t.consent.status?s.push(t.id):n.push(t.id),{consentedAcmVendorIds:s,disclosedAcmVendorIds:n}},{consentedAcmVendorIds:[],disclosedAcmVendorIds:[]}),s=t.consentedAcmVendorIds,n=t.disclosedAcmVendorIds;return"2~".concat(s.join("."),"~dv.").concat(n.join("."))}return""},t.prototype.getTCString=function(e){return this.tcModel?n.z.encode(this.tcModel,e):""},t.prototype.getTCFDisclosedVendorsSegmentString=function(){return this.getTCString({segments:[n.a3.VENDORS_DISCLOSED]})},t.prototype.init=function(e){return(0,n.f)(this,void 0,void 0,function(){var t,s;return(0,n.h)(this,function(i){switch(i.label){case 0:return this.previousStorage=n.b.fetchTCFData(),t=n.b.fetchTCString()||"",s=n.b.fetchACString()||"",[4,this.initTCModel({acString:s,tcString:t},e)];case 1:return i.sent(),this.botInstance.isRobot()&&this.acceptAllDisclosed(1),[2]}})})},t.prototype.setUIAsClosed=function(){return(0,n.f)(this,void 0,void 0,function(){return(0,n.h)(this,function(e){return[2,this.cmpApiUpdate(n.b.fetchTCString(),!1,n.b.fetchACString())]})})},t.prototype.setUIAsOpen=function(){return(0,n.f)(this,void 0,void 0,function(){return(0,n.h)(this,function(e){return[2,this.cmpApiUpdate(n.b.fetchTCString(),!0,n.b.fetchACString())]})})},t.prototype.shouldResurfaceUI=function(){var e=this.resurfaceOptions;return this.policyVersion>=4&&e.onATPListChanged&&(0,n.a4)(this.previousStorage,this.getAcmVendors())||e.onVendorAdded&&(0,n.a5)(this.previousStorage,this.getVendors())||e.onPurposeChanged&&(0,n.a6)(this.previousStorage,this.getVendors())||e.onPeriodEnded&&(0,n.a7)(this.previousStorage)},t.prototype.updateChoices=function(e,t){return(0,n.f)(this,void 0,void 0,function(){var s=this;return(0,n.h)(this,function(n){switch(n.label){case 0:return e.purposes?[4,this.savePurposes(e.purposes)]:[3,2];case 1:n.sent(),n.label=2;case 2:return e.specialFeatures?[4,this.saveSpecialFeatures(e.specialFeatures)]:[3,4];case 3:n.sent(),n.label=4;case 4:return e.vendors?[4,this.saveVendors(e.vendors)]:[3,6];case 5:n.sent(),n.label=6;case 6:return this.tcModel&&this.hideLegitimateInterestToggles&&(this.tcModel.unsetAllVendorLegitimateInterests(),this.tcModel.unsetAllPurposeLegitimateInterests()),this.applySpecialCasesForVendors(),e.acmVendors&&this.acmData.isEnabled&&this.acmData.vendors&&e.acmVendors.forEac
1h(function(e){var t,n=null==(t=s.acmData.vendors)?void 0:t.find(function(t){return t.id===e.id});n&&(n.consent.status=e.consent)}),e.purposes||e.specialFeatures||e.vendors||e.acmVendors?[4,this.updateTCString(t)]:[3,8];case 7:n.sent(),n.label=8;case 8:return[2]}})})},t.prototype.resetTcf=function(){this.cmpApi={},this.selectedVendorsIncludeNonDisclosed=!1,this.tcModel={},this.tcfData=null,this.vendors=[]},t.prototype.applyPurposeRestrictions=function(e,t){var s=this;e.forEach(function(e){var i,r=new n.a8(e,t);null==(i=s.tcModel)||i.publisherRestrictions.restrictPurposeToLegalBasis(r)})},t.prototype.cmpApiUpdate=function(e,t,s){return void 0===s&&(s=""),(0,n.f)(this,void 0,void 0,function(){var i;return(0,n.h)(this,function(r){switch(r.label){case 0:return null==(i=n.G.getInstance())||i.setSectionString(e,"tcfeuv2"),[4,this.getGdprApplies()];case 1:return r.sent()?this.cmpApi.update(e,t,s):this.cmpApi.update(null),[2]}})})},t.prototype.getVendors=function(){return(0,n.q)(this.vendors)||this.setVendors(),this.vendors},t.prototype.initTCModel=function(e,t){var s,i,r=e.tcString,o=e.acString;return(0,n.f)(this,void 0,void 0,function(){var e,a,c,u,l,d,h,p,v,f,g,m,I,C,b,E,S,y,V,T,A,M=this;return(0,n.h)(this,function(D){switch(D.label){case 0:if(!this.acmData.isEnabled||!this.acmData.vendorIds.length||this.acmData.vendors)return[3,2];if(e=[],o)try{e=o.split("~")[1].split(".").map(function(e){return parseInt(e,10)})}catch(e){}return[4,n.i.getInstance().fetchAcmVendors().then(function(t){var s=[];M.acmData.vendorIds.forEach(function(i){if(t.providers[i]){var r=(0,n.n)(t.providers[i],2),o=r[0],a=r[1];s.push({consent:{status:e.some(function(e){return e===i})},id:i,name:o,privacyPolicyUrl:a,purposes:M.acmData.vendorsPurposes})}}),M.acmData.vendors=s})];case 1:D.sent(),D.label=2;case 2:return this.isPolicyVersion2()?(n.$.baseUrl=t?n.ab:n.ac,n.$.languageFilename=n.ad,n.$.latestFilename=n.ae):(n.$.baseUrl=t?n.af:n.ag,n.$.languageFilename=n.ah,n.$.latestFilename=n.ai),[4,n.i.getInstance().fetchVendorsList("".concat(n.$.baseUrl).concat(n.$.latestFilename),this.changedPurposes.notAllowedPurposes)];case 3:if(a=D.sent(),c=new n.$(a),this.tcModel=new n.y(c),this.tcModel.cmpId=this.cmpId,this.tcModel.cmpVersion=this.cmpVersion,this.tcModel.isServiceSpecific=!0,this.tcModel.publisherCountryCode=this.publisherCountryCode,this.tcModel.purposeOneTreatment=this.purposeOneTreatment,this.gcmEnabled&&(u=void 0===this.advertiserConsentModeEnabled||this.advertiserConsentModeEnabled,l=void 0!==window.advertiserConsentMode?window.advertiserConsentMode:u,this.setEnableAdvertiserConsentMode(l)),this.acmData.isEnabled&&this.setAddtlConsent(o||""),r)try{if(d=this.tcModel.gvl,h=this.tcModel.publisherRestrictions,p=n.z.decode(r,this.tcModel),parseInt(p.policyVersion.toString(),10)>2){for(this.tcModel=p,this.isPolicyVersion2()||this.tcModel.purposeLegitimateInterests.unset([1,3,4,5,6]),v=this.tcModel.purposeConsents.values(),f=this.tcModel.purposeConsents.size,I=0;I<=f-1;I+=1)C=v.next().value,d.purposes[C]||null==(s=this.tcModel)||s.purposeConsents.unset(C);for(g=this.tcModel.purposeLegitimateInterests.values(),m=this.tcModel.purposeLegitimateInterests.size,I=0;I<=m-1;I+=1)C=g.next().value,d.purposes[C]||null==(i=this.tcModel)||i.purposeLegitimateInterests.unset(C);this.tcModel=Object.assign(this.tcModel,{gvl:d,publisherRestrictions:h}),null==(b=n.G.getInstance())||b.setSectionString(r,"tcfeuv2")}}catch(e){console.warn(n.aa.INIT_TCF_ERROR,e)}if(null===this.tcModel)throw Error(n.aa.TC_MODEL_UNDEFINED);if(!this.selectedLanguage)throw Error(n.aa.SELECTED_LANGUAGE_UNDEFINED);return[4,this.tcModel.gvl.readyPromise.catch(function(e){console.warn(n.aa.RESET_GVL_FAILURE,e)})];case 4:return D.sent(),this.tcModel.gvl.narrowVendorsTo(this.vendorIds),E=(0,n.l)([],(0,n.n)(this.tcModel.gvl.vendorIds),!1),S=(0,n.T)(this.selectedLanguage),[4,this.resetGVLWithLanguage("en"===S?"".concat(S,"-v2"):S)];case 5:return D.sent(),V=(y=this.changedPurposes).purposes,T=y.legitimateInterestPurposes,A=y.notAllowedPurposes,this.applyPurposeRestrictions(V,n.a9.REQUIRE_CONSENT),this.applyPurposeRestrictions(T,n.a9.REQUIRE_LI),this.applyPurposeRestrictions(A,n.a9.NOT_ALLOWED),this.setSelectedVendorsIncludeNonDisclosed(E),[2]}})})},t.prototype.setEnableAdvertiserConsentMode=function(e){this.tcModel&&(this.tcModel.enableAdvertiserConsentMode=e),y.enableAdvertiserConsentMode=e},t.prototype.setAddtlConsent=function(e){this.tcModel&&(this.tcModel.addtl
1Consent=e),y.addtlConsent=e},t.prototype.resetGVLWithLanguage=function(e){var t,s;return(0,n.f)(this,void 0,void 0,function(){var i;return(0,n.h)(this,function(r){return i=(0,n.T)(e),[2,null==(s=null==(t=this.tcModel)?void 0:t.gvl)?void 0:s.changeLanguage(i).catch(function(e){console.warn(n.aa.RESET_GVL_FAILURE,e)})]})})},t.prototype.resetTcfData=function(){this.setVendors(),this.tcfData=null},t.prototype.setSelectedVendorsIncludeNonDisclosed=function(e){var t=n.b.fetchTCFVendorsDisclosedObject();e.some(function(e){return!(0,n.aj)(e,t)})&&(this.selectedVendorsIncludeNonDisclosed=!0)},t.prototype.savePurposes=function(e){return(0,n.f)(this,void 0,void 0,function(){var t;return(0,n.h)(this,function(s){return(t=this.tcModel)&&e.forEach(function(e){e.consent?(t.purposeConsents.set(e.id),t.publisherConsents.set(e.id)):(t.purposeConsents.unset(e.id),t.publisherConsents.unset(e.id)),e.legitimateInterestConsent?(t.purposeLegitimateInterests.set(e.id),t.publisherLegitimateInterests.set(e.id)):(t.purposeLegitimateInterests.unset(e.id),t.publisherLegitimateInterests.unset(e.id))}),[2]})})},t.prototype.saveSpecialFeatures=function(e){return(0,n.f)(this,void 0,void 0,function(){var t;return(0,n.h)(this,function(s){return(t=this.tcModel)&&e.forEach(function(e){e.consent?t.specialFeatureOptins.set(e.id):t.specialFeatureOptins.unset(e.id)}),[2]})})},t.prototype.saveVendors=function(e){return(0,n.f)(this,void 0,void 0,function(){var t;return(0,n.h)(this,function(s){return(t=this.tcModel)&&e.forEach(function(e){e.consent?t.vendorConsents.set(e.id):t.vendorConsents.unset(e.id),e.legitimateInterestConsent?t.vendorLegitimateInterests.set(e.id):t.vendorLegitimateInterests.unset(e.id)}),[2]})})},t.prototype.setVendors=function(){this.vendors=(0,n.ak)(this.tcModel,this.disabledSpecialFeatures,this.useGranularChoice,this.hideLegitimateInterestToggles,this.purposeOneTreatment,this.vendorIdsOutsideEUList,this.dataRetentionLabel)},t.prototype.getTcfData=function(){return{acString:this.getACString(),tcString:this.getTCString(),timestamp:Date.now(),vendors:(0,n.al)(this.getVendors())}},t.prototype.injectTCString=function(e){return(0,n.f)(this,void 0,void 0,function(){var t,s;return(0,n.h)(this,function(i){switch(i.label){case 0:return t=n.z.decode(e),this.isPolicyVersion2()||t.purposeLegitimateInterests.unset([1,3,4,5,6]),this.tcModel&&t.lastUpdated>=this.tcModel.lastUpdated?(s=this.getTcfData(),n.b.saveTCFData((0,n.p)((0,n.p)({},s),{tcString:e})),[4,this.saveTCFData(s)]):[3,2];case 1:return i.sent(),[2,!0];case 2:return[2,!1]}})})},t.prototype.isPolicyVersion2=function(){return 2===this.policyVersion},t.prototype.saveTCFData=function(e){return(0,n.f)(this,void 0,void 0,function(){return(0,n.h)(this,function(t){return[2,n.i.getInstance().saveTCFConsents(this.dataTransferSettings,e,"onTcfStringChange","explicit",this.isApiV2Enabled?{isAnalyticsEnabled:this.isAnalyticsEnabled,isConsentAPIv2Enabled:this.isConsentXDeviceEnabled}:null,this.enableDeprecatedV1ConsentSaving)]})})},t.prototype.updateTCString=function(e){return(0,n.f)(this,void 0,void 0,function(){var t;return(0,n.h)(this,function(s){switch(s.label){case 0:return this.tcModel&&(this.isPolicyVersion2()||this.tcModel.purposeLegitimateInterests.unset([1,3,4,5,6]),this.tcModel.consentScreen=e,this.tcModel.updated()),t=this.getTcfData(),n.b.saveTCFData(t),[4,this.cmpApiUpdate(t.tcString,!1,t.acString)];case 1:return s.sent(),this.resetTcfData(),this.botInstance.isRobot()?[3,3]:[4,this.saveTCFData(t)];case 2:s.sent(),s.label=3;case 3:return[2]}})})},t.prototype.getVendorsCount=function(){return(this.getVendors().length||0)+this.getAcmVendorsCount()},t.prototype.getAcmVendors=function(){return this.acmData.vendors||[]},t.prototype.getAcmVendorsCount=function(){return this.getAcmVendors().length||0},t}(i.default)},272662:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});var n=s(269613),i=function(e){function t(s,i,r){var o=e.call(this,r)||this;return o.categorySlug=s.categorySlug,o.consent=(0,n.g)(s,i),o.id=s.templateId,o.isEssential=i.isEssential,o.isHidden=!!i.isHidden||s.isHidden,o.processorId="".concat((0,n.s)((0,n.v)())),o.subServices=[],o.subServicesLength=s.subConsents?s.subConsents.length:0,o.usesThirdCountry=s.usesThirdCountry,o.version=s.version,o.fetchSubServices=function(){return(0,n.f)(o,void 0,void 0,function(){var e,r,o,a,c,u,l,d=this;return(0,n.h)(this,function(h){switch(h.label){case 0:if(e=n.i.getInstance(),r=n.j.getInstance(),o=s.subConsents,!(a=(0,n.m)(o)).length)return[2,[]];u=null,h.label=1;case 1:return h.trys.push([1,4,,5]),[4,e.fetchAggregatedServices(a,!1)];case 2:return c=h.sent(),[4,e.fetchTranslations()];case 3:return u=h.sent(),[3,5];case 4:throw h.sent(),Error(n.E.FETCH_DATA_PROCESSING_SERVICES);case 5:return c&&o?(l=r.getServicesBaseInfo().filter(function(e){return e.id===d.id}),this.subServices=o.reduce(function(e,s){var r=null==c?void 0:c.find(function(e){return s.templateId===e.templateId&&s.version===e.version});
1if(!r)return(0,n.l)([],(0,n.n)(e),!1);var o=new t(s,i,r);return(0,n.l)((0,n.l)([],(0,n.n)(e),!1),[o],!1)},[]),[2,this.subServices.reduce(function(e,t){var s=o.find(function(e){return t.id===e.templateId&&t.version===e.version});if(!s)return(0,n.l)([],(0,n.n)(e),!1);var i=new n.o(s,u,c),r=1===l.length?{legalBasis:l[0].legalBasis}:{},a=(0,n.p)((0,n.p)((0,n.p)((0,n.p)({},i),t),{subServices:[]}),r);return(0,n.l)((0,n.l)([],(0,n.n)(e),!1),[a],!1)},[])]):[2,[]]}})})},o}return(0,n._)(t,e),t}(n.k),r=function(e,t,s){this.isEssential=e.isEssential,this.isHidden=e.isHidden,this.services=o(e,t,s),this.slug=e.categorySlug},o=function(e,t,s){return t.reduce(function(t,r){if(r.categorySlug===e.categorySlug){var o=null==s?void 0:s.find(function(e){return r.templateId===e.templateId&&r.version===e.version}),a=new i(r,e,o);return(0,n.l)((0,n.l)([],(0,n.n)(t),!1),[a],!1)}return(0,n.l)([],(0,n.n)(t),!1)},[])},a=function(e,t,s){this.categories=e.categories.reduce(function(t,i){var o=new r(i,e.consentTemplates,s);return(0,n.q)(o.services)?(0,n.l)((0,n.l)([],(0,n.n)(t),!1),[o],!1):(0,n.l)([],(0,n.n)(t),!1)},[]),this.controllerId=t}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.