芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/timucuy.com/wp-content/themes/customizr/assets/back/js/czr-hs-doc.min.js
var HS_Search,CZRHSParams=CZRHSParams||{};jQuery(function(c){HS_Search=c.extend(CZRHSParams,{searching:!1,cancelled:!1,has_searched:!1,count:0,query:"",timeout:null,wrap:c(".frm_form_fields .helpscout-docs"),form:c(".frm_form_fields .helpscout-docs").closest(".frm-show-form"),field:c(".frm_form_fields .helpscout-docs").find('input[type="text"]'),onclick:"",keypress:"",results:{},performed_search:0,performed_search_list:[],visited_doc_articles:[],has_searched_enough:c.Deferred(function(){var e=this,r=function(){_.delay(function(){0
'),HS_Search.field.attr("autocomplete","off").on("keydown keyup change",HS_Search.search_changed),HS_Search.wrap.find(".docs-search-wrap").on("click",".docs-search-results .article",function(e){var r=c(this).find(".article--open-original"),a=c(this).find("a[data-beacon-article]").first();if(1==r.length&&1==a.length&&!_.isEmpty(r.attr("href"))&&!_.isEmpty(a.html())){HS_Search.visited_doc_articles.push({title:a.html(),url:r.attr("href")});var s;s=_.uniq(HS_Search.visited_doc_articles,function(e){return e.url}),HS_Search.wrap.trigger("new_doc_visited",{doc_links:s})}})},search_changed:function(e){if(!_.isUndefined(e.which)||_.isEmpty(HS_Search.results)){if(-1<[9,13,16,17,18,20,32,33,34,37,38,91,93].indexOf(e.which))HS_Search.log("Ignored key press",e.which);else{HS_Search.log("Starting search countdown in %d ms",parseInt(CZRHSParams.searchDelay,10));var r=c(this);clearTimeout(HS_Search.timeout),HS_Search.timeout=setTimeout(function(){if(HS_Search.log("Performing search",e.which),HS_Search.query=r.val(),HS_Search.query.length
'),c("body").trigger("gf_hs_search_started")},success:function(e){HS_Search.cancelled||(HS_Search.set_results(e),c("body").trigger("gf_hs_search_results_found"),HS_Search.has_searched=!0)},error:function(e){HS_Search.log("Error: %s",e),c("body").trigger("gf_hs_search_error")}}).always(function(){HS_Search.searching=!1,$search_wrap.removeClass("docs-searching")})}})}),jQuery(function(e){_.delay(function(){HS_Search.init()},300)});