1(function($){$(document).ready(function(){$("#calculator-form").submit(function(e){e.preventDefault();$("#btn-calculate").attr('disabled','disabled');var form=$(this);const formData=new FormData(e.target);$.ajax({type:"post",dataType:"json",url:OBJ.ajaxurl,data:{action:"my_ajax_action",values:form.serialize()},beforeSend:function(){$("#ajax-loading").show();},success:function(response){if(response){$('#calculator-form').fadeOut();$('#calculator-results .office-staff-result').text(formData.get('staff'));$('#calculator-results .office-layout-result').text(formData.get('layout'));$('#calculator-results .office-sqmpp-result').text(response['sqmpp']);$('#calculator-results .'+response['office']+'-office').show();$('#calculator-results').delay(500).fadeIn();} 2else{} 3$("#ajax-loading").hide();}});$("#btn-calculate").prop("disabled",false);});$("#btn-recalculate").click(function(){$('#calculator-results').fadeOut();$('#calculator-results .small-office').fadeOut();$('#calculator-results .medium-office').fadeOut();$('#calculator-results .large-office').fadeOut();$('#calculator-results .fullfloor-office').fadeOut();$('#calculator-form').delay(500).fadeIn();});});})(jQuery);jQuery(document).ready(function($){const $element=$('input[type="range"]');var $handle;$element.rangeslider({polyfill:false,onInit:function(){$handle=$('.rangeslider__handle',this.$range);updateHandle($handle[0],this.value);}}).on('input',function(){updateHandle($handle[0],this.value);});function updateHandle(el,val){el.textContent=val;if(val=="50"){updateHandle($handle[0],"50+");}}});
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.