1var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; 2if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } 3{ 4 let window = _____WB$wombat$assign$function_____("window"); 5 let self = _____WB$wombat$assign$function_____("self"); 6 let document = _____WB$wombat$assign$function_____("document"); 7 let location = _____WB$wombat$assign$function_____("location"); 8 let top = _____WB$wombat$assign$function_____("top"); 9 let parent = _____WB$wombat$assign$function_____("parent"); 10 let frames = _____WB$wombat$assign$function_____("frames"); 11 let opener = _____WB$wombat$assign$function_____("opener"); 12 13/* Form submission functions for the MailChimp Widget */ 14;(function($){ 15 $(function($) { 16 // Change our submit type from HTML (default) to JS 17 $('#mc_submit_type').val('js'); 18 19 // Attach our form submitter action 20 $('#mc_signup_form').ajaxForm({ 21 url: mailchimpSF.ajax_url, 22 type: 'POST', 23 dataType: 'text', 24 beforeSubmit: mc_beforeForm, 25 success: mc_success 26 }); 27 }); 28 29 function mc_beforeForm(){ 30 // Disable the submit button 31 $('#mc_signup_submit').attr("disabled","disabled"); 32 } 33 function mc_success(data){ 34 // Re-enable the submit button 35 $('#mc_signup_submit').removeAttr("disabled"); 36 37 // Put the response in the message div 38 $('#mc_message').html(data); 39 40 // See if we're successful, if so, wipe the fields 41 var reg = new RegExp("class='mc_success_msg'", 'i'); 42 if (reg.test(data)){ 43 $('#mc_signup_form').each(function(){ 44 this.reset(); 45 }); 46 $('#mc_submit_type').val('js'); 47 } 48 $.scrollTo('#mc_signup', {offset: {top: -28}}); 49 } 50})(jQuery); 51 52 53}
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.