1define('Screwfix_Optimizely/js/customer_consents',['jquery','domReady!','jquery/jquery.cookie'],function($){'use strict';const gdprCookieName='notice_gdpr_prefs';let switchOptimizely=function(){const gdprItemValid='2';let cookieValue=$.cookie(gdprCookieName);let isEnabled=false;if(cookieValue){let values=cookieValue.split(',');isEnabled=values.includes(gdprItemValid)||values.includes(gdprItemValid+':');} 2window["optimizely"]=window["optimizely"]||[];window["optimizely"].push({"type":"optOut","isOptOut":!isEnabled});} 3switchOptimizely();});
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.