const consentListeners = []; window.ConsentListener = (callback) => { consentListeners.push(callback); }; const onConsentChange = (consent) => { consentListeners.forEach((callback) => { callback(consent); }); };

NanOZ LNP-DIY