1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($,Drupal){Drupal.behaviors.secViewsBehavior={attach(context,settings){const yearFilter=$(context).find("select#edit-year");if(yearFilter.length===0)$("#edit-items-per-page").find('option[value="All"]').prop("hidden",true);if(jQuery('div.view-public-statements-list-page').length>0&&jQuery('body').hasClass('speaker-watch-applied')==false){jQuery(document).on('click','input#edit-submit-public-statements-list-page',function(e){if(jQuery('div.view-public-statements-list-page form.views-exposed-form.usa-form input[name="speaker"]').val()==''&&jQuery('input#edit-field-person-target-id').val()!=''){e.preventDefault();e.stopPropagation();alert('When selecting a Speaker, you must use one of the auto-complete options.');return false;}});jQuery('body').addClass('speaker-watch-applied');}if(jQuery('.view-academic-publications-list-page').length>0&&jQuery('body').hasClass('topic-watch-applied')==false){jQuery(document).on('click','#edit-submit-academic-publications-list-page',function(e){const topicInptVal=jQuery('#edit-field-tags-target-id').val();if(topicInptVal.length!=0&&(topicInptVal.indexOf('(')==-1&&topicInptVal.indexOf(')')==-1)){e.preventDefault();e.stopPropagation();alert('When selecting a Topic, you must use one of the auto-complete options.');return false;}});jQuery('body').addClass('topic-watch-applied');}}};})(jQuery,Drupal);;
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.