(function(e){e.fn.extend(window.WPD.ajaxsearchpro.plugin,{autocomplete:function(){let a=this,b=a.n.text.val();if(""==a.n.text.val())a.n.textAutocomplete.val("");else{var f=a.n.textAutocomplete.val();if(""==f||0!=f.indexOf(b))a.n.textAutocomplete.val(""),a.n.text.val().length>=a.o.autocomplete.trigger_charcount&&(f={action:"ajaxsearchpro_autocomplete",asid:a.o.id,sauto:a.n.text.val(),asp_inst_id:a.o.rid,options:e("form",a.n.searchsettings).serialize()},a.postAuto=e.fn.ajax({url:ASP.ajaxurl,method:"POST", data:f,success:function(c){0").html(c).text(),c=c.replace(/^\s*[\r\n]/gm,""),c=b+c.substr(b.length));a.n.textAutocomplete.val(c);a.fixAutocompleteScrollLeft()}}))}},autocompleteGoogleOnly:function(){let a=this,b=a.n.text.val();if(""==a.n.text.val())a.n.textAutocomplete.val("");else{var f=a.n.textAutocomplete.val();if(""==f||0!=f.indexOf(b)){a.n.textAutocomplete.val("");var c=a.o.autocomplete.lang;["wpml_lang","polylang_lang","qtranslate_lang"].forEach(function(d){0=a.o.autocomplete.trigger_charcount&&e.fn.ajax({url:"https://clients1.google.com/complete/search",cors:"no-cors",data:{q:b,hl:c,nolabels:"t",client:"hp",ds:""},success:function(d){0]+)>)/ig,""),d=e("