PageSourceSearch

https://www.hondacarland.com/static/assets/web-integrations/pixall…/consent-privacy-pre-handler.min.js

js hondacarland.com collected 2026-09-26 15:42:32 UTC 2,443 bytes, 1 lines download raw bytes

1(()=>{"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},o(e)}var e,n,t,i,l;e={CONSENT_DECISIONS:"ae_user_consent_decisions",DECISION_MADE:"ae_user_consent_decision_has_been_made"},n=function(){var o,e;return!(null===(o=window.Cookies)||void 0===o||null===(e=o.get)||void 0===e||!e.call(o,"cdlPrivacy"))},t=function(o,e,n){var t={targetOptOut:o,saleOptOut:e,synced:n},i=new Date;i.setFullYear(i.getFullYear()+1);var l=window.location.hostname.split("."),r=l.length>=2?"; domain=.".concat(l.slice(-2).join(".")):"",a="cdlPrivacy=".concat(encodeURIComponent(JSON.stringify(t)),"; path=/").concat(r,"; expires=").concat(i.toUTCString());document.cookie=a,console.log("Setting cdlPrivacy cookie:",a)},i=function(){n()||(t(!0,!0,!1),console.log("User undecided or undefined - setting initial opt-out state"))},l=function(o,n,t){var i,l,r,a=!!(r=null===(i=window.localStorage)||void 0===i||null===(l=i.getItem)||void 0===l?void 0:l.call(i,e.DECISION_MADE))&&"true"===r.toLowerCase();if(!n||!t||!Array.isArray(t))return null;var c=n.allowedCookieNames;if(!Array.isArray(c))return null;var u=t.filter(function(e){return e.category===o}).map(function(o){return o.name}).every(function(o){return c.includes(o)});return a?!(!u||!a):null},function(){var r,a=function(){try{var n,t=null===(n=window.localStorage)||void 0===n?void 0:n.getItem(e.CONSENT_DECISIONS);if(!t)return null;var i=JSON.parse(t);return"object"!==o(i)||null===i?(console.warn("Invalid consent cookie format - not an object"),null):i}catch(o){return console.error("Error parsing consent cookie:",o),null}}(),c=(null===(r=window)||void 0===r||null===(r=r.__audioEyeContext)||void 0===r||null===(r=r.consentManagementConfig)||void 0===r||null===(r=r.cookieConsentConfig)||void 0===r?void 0:r.cookies)||null;if(a&&a.allowedCookieNames&&c){var u=a.allowedCookieNames;switch(l("marketing",a,c)){case!1:n()?console.log("Returning visitor - opted out (already handled)"):(t(!0,!0,!1),console.log("Setting opt-out state for visitor"));break;case!0:console.log("Returning visitor - opted in (continue tracking)");break;case null:i();break;default:console.warn("Unexpected allowed cookie names value:",u),i()}}else n()||(t(!0,!0,!0),console.log("No consent decisions - setting default opt-out state"))}()})();

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.