PageSourceSearch

https://mealprepsundayservice.com/wp-content/plugins/pixel-manager…/consent-management.36d41c15.chunk.min.js

js mealprepsundayservice.com collected 2026-09-24 12:24:02 UTC 23,027 bytes, 3 lines download raw bytes

1/*! Copyright 2025 SweetCode. All rights reserved. */
2"use strict";(self.webpackChunkPixel_Manager_for_WooCommerce=self.webpackChunkPixel_Manager_for_WooCommerce||[]).push([[625],{3357(t,n,s){s.r(n),s.d(n,{canPixelBeFired:()=>V,categories:()=>Y,cmpConsentClickObserver:()=>Q,explicitConsentModeActive:()=>B,load:()=>J,logSuppressedPixel:()=>Z,settings:()=>j});const o={getConsent:()=>{let e=pmw.getCookie("cookieconsent_status");if(e||(e=pmw.getCookieThatContainsRegex(/^cookieconsent_status/)),!e)return null;if(pmw.console.log("Beautiful Cookie Consent CMP consent detected"),"allow"===e||"dismiss"===e)return{statistics:!0,marketing:!0,preferences:!0,necessary:!0};if("deny"===e)return{statistics:!1,marketing:!1,preferences:!1,necessary:!0};if("savesettings"===e||"detailed"===e||"allowall"===e)return"allowall"===e?{statistics:!0,marketing:!0,preferences:!0,necessary:!0}:{statistics:c(["statistics","analytics"]),marketing:c(["marketing"]),preferences:c(["preferences","functional","tech"]),necessary:!0};const t=c(["marketing"]),n=c(["statistics","analytics"]),s=c(["preferences","functional","tech"]);return null!==t||null!==n||null!==s?{statistics:n??!0,marketing:t??!0,preferences:s??!0,necessary:!0}:null},loadEventListeners:()=>{void 0!==window.dataLayer&&Array.isArray(window.dataLayer)?i():window.addEventListener("DOMContentLoaded",()=>{void 0!==window.dataLayer&&Array.isArray(window.dataLayer)&&i()})}},c=e=>{for(const t of e){const e=pmw.getCookie(`cookieconsent_status_${t}`);if("allow"===e)return!0;if("deny"===e)return!1}return null},i=()=>{const e=window.dataLayer.push.bind(window.dataLayer);window.dataLayer.push=function(...t){const n=e(...t);return t.forEach(e=>{e&&"beautiful_cookie_consent_updated"===e.event&&r(e)}),n}},r=e=>{pmw.console.log("Beautiful Cookie Consent consent update detected via dataLayer");const t=e.cookieconsent_status;if("allow"!==t&&"dismiss"!==t)if("deny"!==t)if("allowall"!==t){if("savesettings"===t||"detailed"===t){const t={statistics:a(e,["statistics","analytics"]),marketing:a(e,["marketing"]),preferences:a(e,["preferences","functional","tech"]),necessary:!0};pmw.consent.api.updateSelectively({...t,source:"cmp"})}}else pmw.consent.api.updateSelectively({statistics:!0,marketing:!0,preferences:!0,necessary:!0,source:"cmp"});else pmw.consent.api.updateSelectively({statistics:!1,marketing:!1,preferences:!1,necessary:!0,source:"cmp"});else pmw.consent.api.updateSelectively({statistics:!0,marketing:!0,preferences:!0,necessary:!0,source:"cmp"})},a=(e,t)=>{for(const n of t){const t=`cookieconsent_status_${n}`;if("allow"===e[t])return!0;if("deny"===e[t])return!1}return!1},l=e=>"allow"===e||""===e&&(()=>{const e=window.complianz?.consenttype;return e?"optout"===e||"other"===e:!pmw.consent.explicitConsentModeActive()})(),p={getConsent:()=>{const e={statistics:pmw.getCookie("cmplz_statistics")||pmw.getCookie("cmplz_rt_statistics"),marketing:pmw.getCookie("cmplz_marketing")||pmw.getCookie("cmplz_rt_marketing"),preferences:pmw.getCookie("cmplz_preferences")||pmw.getCookie("cmplz_rt_preferences"),necessary:pmw.getCookie("cmplz_functional")||pmw.getCookie("cmplz_rt_functional")},t=pmw.getCookie("cmplz_consent_status")||pmw.getCookie("cmplz_banner-status")||pmw.getCookie("cmplz_rt_banner-status");return Object.values(e).some(e=>""!==e)?(pmw.console.log("Complianz CMP consent detected"),{statistics:l(e.statistics),marketing:l(e.marketing),preferences:l(e.preferences),necessary:"deny"!==e.necessary}):(t&&pmw.console.log("Complianz cookie detected, but the visitor hasn't answered the banner yet. Ignoring it."),null)},loadEventListeners:()=>{document.addEventListener("cmplz_fire_categories",d,!0)}},d=e=>{let t={statistics:e.detail.categories.includes("statistics"),marketing:e.detail.categories.includes("marketing"),preferences:e.detail.categories.includes("preferences"),necessary:e.detail.categories.includes("functional"),source:"cmp"};pmw.consent.api.updateSelectively(t)},m={getConsent:()=>{let e=pmw.getCookie("CookieConsent");return e?"-1"===e.replace(/['"]/g,"").trim()?(pmw.console.log("Cookiebot CMP consent detected (consent not required in this region)"),{statistics:!0,marketing:!0,preferences:!0,necessary:!0}):(e=g(e),e?["necessary","preferences","statistics","marketing"].some(t=>t in e)?(pmw.console.log("Cookiebot CMP consent detected"),{statistics:e.statistics??!1,marketing:e.marketing??!1,preferences:e.preferences??!1,necessary:e.necessary??!0}):(pmw.console.log("Cookiebot cookie detected, but it carries no consent categories. Ignoring it."),null):(pmw.console.log("Cookiebot cookie could not be parsed. Ignoring it."),null)):null},loadEventListeners:()=>{window.addEventListener("CookiebotOnAccept",e=>{const t=e.currentTarget?.CookieConsent?.consent??{};let n={statistics:t.statistics??!1,marketing:t.marketing??!1,preferences:t.preferences??!1,necessary:t.necessary??!0};pmw.consent.api.updateSelectively({...n,source:"cmp"})},!0)}},g=e=>{try{let t;return u(e)||(e=(e=decodeURI(e)).replace(/'/g,'"'),e=(e=decodeURIComponent(e)).replace(/(\w+):/g,'"$1":')),t=JSON.parse(e),"object"!=typeof t||null===t?null:t}catch(e){return null}},u=e=>{try{JSON.parse(e)}catch(e){return!1}return!0},f={getConsent:()=>{let e=pmw.getCookie("cookiefirst-consent");return e?(pmw.console.log("Cookiefirst CMP consent detected"),k(e)||(e=decodeURI(e),e=e.replace(/'/g,'"'),e=decodeURIComponent(e),e=e.replace(/(\w+):/g,'"$1":')),e=JSON.parse(e),console.log("cookiefirst consent object",e),{statistics:e.performance??!0,marketing:e.advertising??!0,preferences:e.functional??!0,necessary:e.necessary??!0}):null},loadEventListeners:()=>{window.addEventListener("cf_consent",function(e){let t={statistics:consent.performance??!0,marketing:consent.advertising??!0,preferences:consent.functional??!0,necessary:consent.necessary??!0};pmw.consent.api.updateSelectively({...t,source:"cmp"})},!0)}},k=e=>{try{JSON.parse(e)}catch(e){return!1}return!0},y={getConsent:()=>{let e=pmw.getCookie("cookieyes-consent");if(e){const t=C(e);return w(t)?(pmw.console.log("CookieYes CMP consent detected"),{statistics:"yes"===t.analytics,marketing:"yes"===t.advertisement,preferences:"yes"===t.functional,necessary:"no"!==t.necessary}):(pmw.console.log("CookieYes cookie detected, but the visitor hasn't answered the banner yet. Ignoring it."),null)}const t=e=>{for(let t of e){let e=pmw.getCookie(t);if("yes"===e)return!0;
2if("no"===e)return!1}return!0},n={statistics:["cookielawinfo-checkbox-analytics","cookielawinfo-checkbox-analytiques","cookieyes-analytics"],marketing:["cookielawinfo-checkbox-advertisement","cookielawinfo-checkbox-performance","cookielawinfo-checkbox-publicite","cookieyes-advertisement"],preferences:["cookielawinfo-checkbox-functional","cookielawinfo-checkbox-preferences","cookieyes-functional"],necessary:["cookielawinfo-checkbox-necessary","cookielawinfo-checkbox-necessaire","cookieyes-necessary"]};return(e=>{for(let t in e)for(let n of e[t])if(pmw.getCookie(n))return!0;return!1})(n)?(pmw.console.log("CookieYes CMP consent detected"),{statistics:t(n.statistics),marketing:t(n.marketing),preferences:t(n.preferences),necessary:t(n.necessary)}):null},loadEventListeners:()=>{document.addEventListener("cookieyes_consent_update",e=>{if(!w(C(pmw.getCookie("cookieyes-consent")||"")))return void pmw.console.log("CookieYes consent update received, but the visitor hasn't answered the banner yet. Ignoring it.");let t={statistics:e.detail.accepted.includes("analytics"),marketing:e.detail.accepted.includes("advertisement"),preferences:e.detail.accepted.includes("functional"),necessary:e.detail.accepted.includes("necessary")};pmw.consent.api.updateSelectively({...t,source:"cmp"})},!0)}},w=e=>"yes"===e.action,C=e=>{let t={};return e.split(",").forEach(e=>{let[n,s]=e.split(":");t[n]=s}),t},v={getConsent:()=>{const e=h();return e?(pmw.console.log("FAZ Cookie Manager CMP consent detected"),b(e)):null},loadEventListeners:()=>{document.addEventListener("fazcookie_consent_update",_)}},_=e=>{const t=e&&e.detail?e.detail:null;if(t&&"init"===t.action)return;const n=h();n&&pmw.consent.api.updateSelectively({...b(n),source:"cmp"})},h=()=>{const e=pmw.getCookie("fazcookie-consent");if(!e)return null;let t=e;try{t=decodeURIComponent(e)}catch(e){}const n={};t.split(",").forEach(e=>{const t=e.indexOf(":");if(-1===t)return;const s=e.substring(0,t).trim(),o=e.substring(t+1).trim();s&&(n[s]=o)});const s="undefined"!=typeof window&&window._fazConfig&&parseInt(window._fazConfig._consentRevision,10)||0,o=parseInt(n.rev,10)||0;return s>1&&o<s?null:n},b=e=>{const t=t=>"yes"===e[t];return{statistics:t("analytics")||t("performance"),marketing:t("marketing")||t("advertisement"),preferences:t("functional"),necessary:!0}},L={getConsent:()=>{let e=pmw.getCookie("OptanonConsent");if(!e)return null;const t=A(e),n=O(t);return n?M(t)?(pmw.console.log("OneTrust cookie detected, but the visitor hasn't answered the banner yet. Ignoring it."),null):(pmw.console.log("OneTrust CMP consent detected"),{statistics:E(n,"2")??!1,marketing:E(n,"4")??!1,preferences:E(n,"3")??!1,necessary:E(n,"1")??!0}):(pmw.console.log("OneTrust cookie detected, but it carries no consent groups. Ignoring it."),null)},loadEventListeners:()=>{document.addEventListener("consent.onetrust",e=>{const t=S(e.detail);let n={statistics:P(t,"2"),marketing:P(t,"4"),preferences:P(t,"3"),necessary:!0};pmw.consent.api.updateSelectively({...n,source:"cmp"})},!0)}},E=(e,t)=>e[t]??e["C000"+t],S=e=>Array.isArray(e)?e.map(String):"string"==typeof e?e.split(","):[],P=(e,t)=>e.some(e=>(e=String(e).trim())===t||e==="C000"+t),M=e=>void 0!==e.interactionCount&&(0===Number(e.interactionCount)&&!pmw.getCookie("OptanonAlertBoxClosed")),A=e=>{try{e=decodeURIComponent(e)}catch(e){}return e.split("&").reduce((e,t)=>{let[n,s]=t.split("=");return e[n]=s,e},{})},O=e=>{if(!e.groups)return null;const t=e.groups.split(",").reduce((e,t)=>{let[n,s]=t.split(":");return n&&(e[n]="1"===s),e},{});return Object.keys(t).length>0?t:null},x={name:"Termly",getConsent:()=>{let e=localStorage.getItem("termly_gtm_template_default_consents");if(e)return pmw.console.log("Termly CMP consent detected (from localStorage)"),e=JSON.parse(e),{statistics:"denied"!==e.analytics_storage,marketing:"denied"!==e.ad_storage,preferences:"denied"!==e.functionality_storage,necessary:"denied"!==e.security_storage};if(window.Termly&&"function"==typeof window.Termly.getConsentState){const e=window.Termly.getConsentState();if(e)return pmw.console.log("Termly CMP consent detected (from Termly.getConsentState())"),{statistics:!!e.analytics,marketing:!!e.advertising,preferences:!!e.performance,necessary:!1!==e.essential}}return null},loadEventListeners:()=>{document.addEventListener("termlyConsent",function(e){const t=e.detail?.categories;Array.isArray(t)?(pmw.console.log("Termly consent event received",t),t.includes("analytics")&&t.includes("advertising")&&t.includes("performance")?pmw.consent.api.acceptAll({source:"cmp"}):t.includes("analytics")||t.includes("advertising")||t.includes("performance")?pmw.consent.api.updateSelectively({statistics:t.includes("analytics"),marketing:t.includes("advertising"),preferences:t.
2includes("performance"),necessary:t.includes("essential"),source:"cmp"}):pmw.consent.api.revokeAll({source:"cmp"})):pmw.console.log("Termly consent event received but categories is not an array",e.detail)},!0)}},I={statistics:"statistics",marketing:"marketing",preferences:"preferences",necessary:"functional"},T=()=>{const e=window.wp_consent_type||window.wp_fallback_consent_type||"";return e?-1!==e.indexOf("optout"):!pmw.consent.explicitConsentModeActive()},z=e=>"allow"===e||""===e&&T(),N=[{...o,name:"Beautiful Cookie Consent"},{...p,name:"Complianz"},{...{getConsent:()=>{let e=pmw.getCookie("cookie_notice_accepted");return e?(pmw.console.log("Cookie Compliance CMP (by hu-manity.co) consent detected"),e="true"===e,{statistics:e,marketing:e,preferences:e,necessary:!0}):(e=pmw.getCookie("hu-consent"),e?(pmw.console.log("Cookie Compliance CMP (by hu-manity.co) consent detected"),e=JSON.parse(e),{statistics:e.categories[3]??!0,marketing:e.categories[4]??!0,preferences:e.categories[2]??!0,necessary:e.categories[1]??!0}):null)},loadEventListeners:()=>{document.addEventListener("set-consent.hu",e=>{if(!e.detail.categories)return;let t={statistics:e.detail.categories[3],marketing:e.detail.categories[4],preferences:e.detail.categories[2],necessary:e.detail.categories[1]};pmw.consent.api.updateSelectively({...t,source:"cmp"})},!0)}},name:"Cookie Compliance (hu-manity.co)"},{...{getConsent:()=>{let e=pmw.getCookie("CC_p_accepted_cookies");if(e){pmw.console.log("Cookie Confirm CMP consent detected");try{e=JSON.parse(e)}catch(e){return pmw.console.log("Cookie Confirm CMP: Error parsing cookie value",e),null}return Array.isArray(e)?{statistics:e.includes("analytics"),marketing:e.includes("marketing"),preferences:e.includes("functional"),necessary:!0}:null}return null},loadEventListeners:()=>{document.addEventListener("Cc_ConsentSet",e=>{const t=e.detail;let n={statistics:t.analytics??!1,marketing:t.marketing??!1,preferences:t.functional??!0,necessary:!0};pmw.consent.api.updateSelectively({...n,source:"cmp"})},!0)}},name:"Cookie Confirm"},{...{getConsent:()=>{let e=pmw.getCookie("CookieScriptConsent");if(!e)return null;try{e=JSON.parse(e),"string"==typeof e.categories&&(e.categories=JSON.parse(e.categories))}catch(e){return pmw.console.log("Cookie Script cookie could not be parsed. Ignoring it.",e),null}return["accept","reject"].includes(e.action)||Array.isArray(e.categories)?(pmw.console.log("Cookie Script CMP consent detected"),"reject"===e.action?{statistics:!1,marketing:!1,preferences:!1,necessary:!0}:e.categories&&e.categories.length>0?{statistics:e.categories.indexOf("performance")>=0,marketing:e.categories.indexOf("targeting")>=0,preferences:e.categories.indexOf("functionality")>=0,necessary:!0}:{statistics:!1,marketing:!1,preferences:!1,necessary:!0}):(pmw.console.log("Cookie Script cookie detected, but the visitor hasn't made a choice yet. Ignoring it."),null)},loadEventListeners:()=>{document.addEventListener("CookieScriptAccept",e=>{let t={statistics:e.detail.categories.includes("performance"),marketing:e.detail.categories.includes("targeting"),preferences:e.detail.categories.includes("functionality"),necessary:!0};pmw.consent.api.updateSelectively({...t,source:"cmp"})},!0),document.addEventListener("CookieScriptAcceptAll",()=>{pmw.consent.api.acceptAll({source:"cmp"})},!0),document.addEventListener("CookieScriptReject",()=>{pmw.consent.api.revokeAll({source:"cmp"})},!0)}},name:"Cookie Script"},{...m,name:"Cookiebot"},{...f,name:"Cookiefirst"},{...y,name:"CookieYes"},{...v,name:"FAZ Cookie Manager"},{...{getConsent:()=>{let e=new RegExp("_iub_cs-\\d{8,}="),t=pmw.getCookieThatContainsRegex(e);return t?(pmw.console.log("Iubenda CMP consent detected"),t=decodeURIComponent(t),t=t.replace(/_iub_cs-.*=/,""),t=JSON.parse(t),{statistics:t.purposes[4]??!1,marketing:t.purposes[5]??!1,preferences:(t.purposes[2]||t.purposes[3])??!1,necessary:t.purposes[1]??!0}):null},loadEventListeners:()=>
2{window._iub&&pmw.consent.cmpConsentClickObserver({ids:["iubFooterBtn"],classes:["iubenda-cs-reject-btn","iubenda-cs-accept-btn"]})}},name:"Iubenda"},{...{getConsent:()=>{let e=pmw.getCookie("moove_gdpr_popup");return e?(pmw.console.log("GDPR Cookie Compliance CMP (by Moove Agency) consent detected"),e=JSON.parse(e),{statistics:"0"!==e.thirdparty,marketing:"0"!==e.advanced,preferences:!0,necessary:"0"!==e.strict}):null},loadEventListeners:()=>{if(!window.moove_frontend_gdpr_scripts)return;const e=document.querySelector(".mgbutton");e&&e.addEventListener("click",()=>{},!0),pmw.consent.cmpConsentClickObserver({classes:["moove-gdpr-infobar-allow-all","moove-gdpr-modal-allow-all","moove-gdpr-modal-save-settings"]})}},name:"GDPR Cookie Compliance (Moove Agency)"},{...L,name:"OneTrust"},{...x,name:"Termly"},{...{getConsent:()=>{let e=window.localStorage.getItem("ucData");return e?(pmw.console.log("Usercentrics CMP consent detected"),e=JSON.parse(e).gcm,{statistics:"denied"!==e.analyticsStorage,marketing:"denied"!==e.adStorage,preferences:!0,necessary:!0}):null},loadEventListeners:()=>{document.addEventListener("UC_UI_CMP_EVENT",t=>{if("ACCEPT_ALL"===t.detail.type&&pmw.consent.api.acceptAll({source:"cmp"}),"DENY_ALL"===t.detail.type&&pmw.consent.api.revokeAll({source:"cmp"}),"SAVE"===t.detail.type){let t=JSON.parse(e.currentTarget.localStorage.ucData).gcm;t&&pmw.consent.api.updateSelectively({statistics:"granted"===t.analyticsStorage,marketing:"granted"===t.adStorage,preferences:!0,necessary:!0,source:"cmp"})}},!0)}},name:"Usercentrics"},{...{getConsent:()=>{let e=pmw.getCookie("wpautoterms-cookies-notice");return e&&"1"===e?(pmw.console.log("WP AutoTerms CMP consent detected"),{statistics:!0,marketing:!0,preferences:!0,necessary:!0}):null},loadEventListeners:()=>{let e=document.querySelectorAll(".wpautoterms-notice-close")[0];e&&e.addEventListener("click",e=>{pmw.consent.api.acceptAll({source:"cmp"})},!0)}},name:"WP AutoTerms"},{...{getConsent:()=>{const e=(()=>{let e={};for(const[t,n]of Object.entries(I))e[t]=pmw.getCookie("wp_consent_"+n);return e})();return Object.values(e).some(e=>""!==e)?(pmw.console.log("WP Consent API CMP consent detected"),{statistics:z(e.statistics),marketing:z(e.marketing),preferences:z(e.preferences),necessary:"deny"!==e.necessary}):null},loadEventListeners:()=>{document.addEventListener("wp_listen_for_consent_change",e=>{const t=e.detail||{};let n={};for(const[e,s]of Object.entries(I))s in t&&(n[e]="necessary"===e?"deny"!==t[s]:z(t[s]));0!==Object.keys(n).length&&pmw.consent.api.updateSelectively({...n,source:"cmp"})},!0)}},name:"WP Consent API"},{...{getConsent:()=>{let e=pmw.getCookie("wpl_user_preference");return e?(pmw.console.log("WP Cookie Consent CMP (by wpeka.com) consent detected"),e=JSON.parse(e),{statistics:"no"!==e.analytics,marketing:"no"!==e.marketing,preferences:"no"!==e.preferences,necessary:"no"!==e.necessary}):null},loadEventListeners:()=>{["cookie_action_accept","cookie_action_reject"].forEach(e=>{const t=document.getElementById(e);t&&t.addEventListener("click",()=>{},!0)})}},name:"WP Cookie Consent"}];let R=[],$=null,j={categories:{statistics:!0,marketing:!0,preferences:!0,necessary:!0},visitorHasChosen:!1,get:(e=null)=>{if(null===e)return j;let t={};for(let n of e)t[n]=j[n];return t},set:e=>{for(let t in e)j[t]=e[t]}};const J=async()=>{U(),W(),D(),await G(),K()},D=()=>{let e=q();e?(pmw.consent.categories.set(e.consent),pmw.consent.settings.set({visitorHasChosen:!0}),R.push(`cmp: ${e.source}`),$={type:"cmp",detail:e.source},pmw.console.log(`CMP consent applied from: ${e.source}`,e.consent)):(R.push("cmp: none"),pmw.console.log("No CMP consent detected. Consent categories remain at defaults."))},U=()=>{for(let e of N)"function"==typeof e.loadEventListeners&&e.loadEventListeners()},W=()=>{let e=pmw.consent.explicitConsentModeActive(),t=!e,n={statistics:t,marketing:t,preferences:t,necessary:!0};e?(R.push("mode: explicit"),pmw.console.log("Consent mode: explicit. Initial defaults:",n)):(R.push("mode: implicit"),pmw.console.log("Consent mode: implicit. Initial defaults:",n)),pmw.consent.categories.set(n)},B=()=>pmwDataLayer?.general?.consent_management?.explicit_consent;pmw.getConsentValues=()=>pmw.consent.settings.get();const Y={set:({statistics:e=j.categories.statistics,marketing:t=j.categories.marketing,preferences:n=j.categories.preferences,necessary:s=j.categories.necessary})=>{j.categories.statistics=e,j.categories.marketing=t,j.categories.preferences=n,j.categories.necessary=s},get:(e=null)=>{if(null===e)return j.categories;let t={};for(let n of e)t[n]=j.categories[n];return t}},q=()=>{const e="pmw_cookie_consent";let t=pmw.retrieveData(e,!0)||pmw.getCookie(e);if(t)return t="object"==typeof t?t:JSON.parse(t),t=F(t),{consent:t,source:"PMW cookie/storage"};
2for(let e of N){if("function"!=typeof e.getConsent)continue;let t=e.getConsent();if(t)return{consent:t,source:e.name||"Unknown CMP"}}return null},F=e=>e.hasOwnProperty("analytics")||e.hasOwnProperty("ads")?(e.hasOwnProperty("analytics")&&(e.statistics=e.analytics,delete e.analytics),e.hasOwnProperty("ads")&&(e.marketing=e.ads,delete e.ads),e.preferences=!0,e.necessary=!0,e):e,G=async()=>{if(!B())return void R.push("region check: skipped (not explicit mode)");if(pmw.consent.settings.get().visitorHasChosen)return R.push("region check: skipped (visitor already chose via CMP)"),void pmw.console.log("Region check skipped: visitor already chose consent via CMP");if(!pmwDataLayer?.general?.consent_management?.restricted_regions)return R.push("region check: skipped (no restricted regions configured)"),void pmw.console.log("Region check skipped: no restricted regions configured. Consent defaults remain (all blocked in explicit mode).");const e=pmwDataLayer.general.consent_management.restricted_regions,t=await pmw.getBrowserGeo();if(H(t))return R.push(`region: ${t?.countryCode||"unknown"} restricted → blocked`),$={type:"region_restricted",detail:t?.countryCode||"unknown"},pmw.console.log("Region check: restricted → blocking all categories",{visitor:t,restrictedRegions:e,match:!0}),void pmw.consent.categories.set({statistics:!1,marketing:!1,preferences:!1,necessary:!0});R.push(`region: ${t?.countryCode||"unknown"} not restricted → unlocked`),$={type:"region_unlocked",detail:t?.countryCode||"unknown"},pmw.console.log("Region check: not restricted → unlocking all categories",{visitor:t,restrictedRegions:e,match:!1}),pmw.consent.categories.set({statistics:!0,marketing:!0,preferences:!0,necessary:!0})},H=e=>null===e||(!(!e.countryCode||!pmwDataLayer?.general?.consent_management?.restricted_regions.includes(e.countryCode))||!(!e.regionCode||!pmwDataLayer?.general?.consent_management?.restricted_regions.includes(e.regionCode))),V=(e,t)=>pmw.consent.categories.get()[e]?(pmw.console.log(`The category ${e} has been approved. Loading the ${t} pixel.`),!0):(Z(e,t),!1),Z=(e,t)=>{let n=B()?"explicit":"implicit",s="";$&&(s=`, source: ${$.type} (${$.detail})`),console.log(`Pixel Manager: The pixel has not loaded because you have not given consent for it yet. - mode: ${n}, category: ${e}, pixel: ${t}${s}`)},K=()=>{document.dispatchEvent(new Event("pmw_cookie_consent_management_loaded")),document.dispatchEvent(new Event("pmwCookieConsentManagementLoaded"));const e=pmw.consent.categories.get();pmw.console.log(`Consent decision: ${R.join(" | ")}`,e),pmw.console.log("Loaded consent category settings: ",e)},Q=({ids:e=[],classes:t=[]})=>{t=t.map(e=>e.startsWith(".")?e:"."+e);new MutationObserver((n,s)=>{for(let o of n)if(o.addedNodes.length){if(t.length>
20){document.querySelectorAll(t.join(", ")).forEach(e=>{e.addEventListener("click",()=>{location.reload()}),s.disconnect()})}e.length>0&&e.forEach(e=>{const t=document.getElementById(e);t&&(t.addEventListener("click",()=>{location.reload()}),s.disconnect())})}}).observe(document.body,{childList:!0,subtree:!0})}}}]);
3//# sourceMappingURL=consent-management.36d41c15.chunk.min.js.map

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.