1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($,Drupal,drupalSettings){let callback;let loadAlert=function(siteAlertBlock){let siteAlert=siteAlertBlock.find('.site-alert');let options={ajax_page_state:drupalSettings.ajaxPageState};siteAlert.load(callback,options);if(drupalSettings.siteAlert.timeout>0)setTimeout(function(){loadAlert(siteAlert);},drupalSettings.siteAlert.timeout*1000);};Drupal.behaviors.siteAlert={attach:function(context,settings){let blocks=$('div[class*="block--sitealert"]');for(let i=0;i<blocks.length;i++){if(drupalSettings.siteAlert.workaround_needed){callback=settings.path.baseUrl+'ajax/site_alert/'+blocks[i].id;loadAlert($(blocks[i],context));}if(drupalSettings.siteAlert.timeout>0){callback=settings.path.baseUrl+'ajax/site_alert/'+blocks[i].id;setTimeout(function(){loadAlert($(blocks[i],context));},drupalSettings.siteAlert.timeout*1000);}}}};})(jQuery,Drupal,drupalSettings);;
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.