"use strict";jQuery((function(t){var e={cache:!0};t("input[autocomplete]:not([autocomplete=off]):not([autocomplete=new-password]):not(.jqInitedAutocomplete, .jqTextboxList), .jqUIAutocomplete").livequery((function(){var o,r=t(this),c={},a=r.attr("autocomplete"),u=t.extend({source:a},e,r.data());"string"==typeof u.source&&(u.cache&&(u.source.startsWith("/")||u.source.startsWith("http"))?(u._source=u.source,u.source=function(e,a){var s=e.term;void 0!==u.extraParams&&t.each(u.extraParams,(function(t,o){var c="function"==typeof o?o(r):o;e[t]=c,s+=";"+t+"="+c})),s in c?a(c[s]):o=t.ajax({url:u._source,dataType:"json",data:e,success:function(t,e,r){c[s]=t,r===o&&a(t)},error:function(t,e,o){alert("Error: "+e),a()}})}):void 0!==window[u.source]&&(u.source=window[u.source])),r.removeClass("jqUIAutocomplete").autocomplete(u)}))}));
