1/* global jQuery */ 2 3const hCaptchaAvada = window.hCaptchaAvada || ( function( window, $ ) { 4 const app = { 5 init() { 6 $( document ).on( 'ajaxSuccess', app.ajaxSuccessHandler ); 7 }, 8 9 // jQuery ajaxSuccess handler. 10 ajaxSuccessHandler( event, xhr, settings ) { 11 const params = new URLSearchParams( settings.data ); 12 13 if ( params.get( 'action' ) !== 'fusion_form_submit_ajax' ) { 14 return; 15 } 16 17 window.hCaptchaBindEvents(); 18 }, 19 }; 20 21 return app; 22}( window, jQuery ) ); 23 24window.hCaptchaAvada = hCaptchaAvada; 25 26hCaptchaAvada.init();
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.