PageSourceSearch

https://www.actforamerica.org/sites/default/files/minifyjs/core/misc/progress.min.js?v=10.6.16

js actforamerica.org collected 2026-09-24 19:46:21 UTC 1,928 bytes, 5 lines download raw bytes

1(function($,Drupal){Drupal.theme.progressBar=function(id){const escapedId=Drupal.checkPlain(id);return(`<div id="${escapedId}" class="progress" aria-live="polite">`+'<div class="progress__label">&nbsp;</div>'+'<div class="progress__track"><div class="progress__bar"></div></div>'+'<div class="progress__percentage"></div>'+'<div class="progress__description">&nbsp;</div>'+'</div>')};Drupal.ProgressBar=function(id,updateCallback,method,errorCallback){this.id=id;this.method=method||'GET';this.updateCallback=updateCallback;this.errorCallback=errorCallback;this.element=$(Drupal.theme('progressBar',id))};$.extend(Drupal.ProgressBar.prototype,{setProgress(percentage,message,label){if(percentage>=0&&percentage<=100){$(this.element).find('div.progress__bar').each(function(){this.style.width=`${percentage}%`});$(this.element).find('div.progress__percentage').html(`${percentage}%`)}
2$('div.progress__description',this.element).html(message);$('div.progress__label',this.element).html(label);if(this.updateCallback){this.updateCallback(percentage,message,this)}},startMonitoring(uri,delay){this.delay=delay;this.uri=uri;this.sendPing()},stopMonitoring(){clearTimeout(this.timer);this.uri=null},sendPing(){if(this.timer){clearTimeout(this.timer)}
3if(this.uri){const pb=this;let uri=this.uri;if(!uri.includes('?')){uri+='?'}else{uri+='&'}
4uri+='_format=json';$.ajax({type:this.method,url:uri,data:'',dataType:'json',success(progress){if(progress.status===0){pb.displayError(progress.data);return}
5pb.setProgress(progress.percentage,progress.message,progress.label,);pb.timer=setTimeout(()=>{pb.sendPing()},pb.delay)},error(xmlhttp){const e=new Drupal.AjaxError(xmlhttp,pb.uri);pb.displayError(`<pre>${e.message}</pre>`)},})}},displayError(string){const error=$('<div class="messages messages--error"></div>').html(string,);$(this.element).before(error).hide();if(this.errorCallback){this.errorCallback(this)}},},)})(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.