1(function($, once) { 2 Drupal.behaviors.hic_footer_reset_cookies = { 3 attach: function attach(context, settings) { 4 let resetCookiesSettings = settings.hic_footer.resetCookies; 5 let resetCookiesDidomiSettings = settings.hic_footer.resetCookiesDidomi; 6 if(typeof resetCookiesSettings != "undefined"){ 7 $(once('reset-cookies-link', resetCookiesSettings.selector, context)).click(function (event) { 8 if(typeof Drupal.eu_cookie_compliance != "undefined"){ 9 event.preventDefault(); 10 event.stopPropagation(); 11 Drupal.eu_cookie_compliance.createPopup(settings.eu_cookie_compliance.popup_html_info); 12 Drupal.eu_cookie_compliance.initPopup(); 13 Drupal.attachBehaviors(); 14 } 15 }); 16 } 17 if(typeof resetCookiesDidomiSettings != "undefined"){ 18 $(once('reset-cookies-link-didomi', resetCookiesDidomiSettings.selector, context)).click(function (event) { 19 event.preventDefault(); 20 event.stopPropagation(); 21 javascript:Didomi.preferences.show(); 22 }); 23 } 24 } 25 }; 26 $(document).on('eu_cookie_compliance_popup_open', function() { 27 Drupal.behaviors.cookieComplianceShow.attach(document, drupalSettings); 28 if(typeof Didomi != "undefined"){ 29 Didomi.preferences.show(); 30 } 31 }); 32})(jQuery, once);
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.