compile AND pack handlebar templates

This commit is contained in:
Martin Cech
2015-03-03 13:17:29 -05:00
parent 30d7549538
commit 5f67895a00
8 changed files with 41 additions and 36 deletions
@@ -1,13 +1,14 @@
(function() {
var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
templates['panel_section'] = template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
var helper, alias1=helpers.helperMissing, alias2="function", alias3=this.escapeExpression;
return "<div class=\"toolSectionTitle\" id=\"title_"
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper)))
+ alias3(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"id","hash":{},"data":data}) : helper)))
+ "\">\n <a href=\"javascript:void(0)\"><span>"
+ escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper)))
+ alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"name","hash":{},"data":data}) : helper)))
+ "</span></a>\n</div>\n<div id=\""
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper)))
+ alias3(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"id","hash":{},"data":data}) : helper)))
+ "\" class=\"toolSectionBody\" style=\"display: none; \">\n <div class=\"toolSectionBg\"></div>\n<div>";
},"useData":true});
})();
@@ -1,26 +1,28 @@
(function() {
var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
templates['tool_form'] = template({"1":function(depth0,helpers,partials,data) {
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = " <div class=\"form-row\">\n <label for=\""
+ escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper)))
var stack1, helper, alias1=helpers.helperMissing, alias2="function", alias3=this.escapeExpression;
return " <div class=\"form-row\">\n <label for=\""
+ alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"name","hash":{},"data":data}) : helper)))
+ "\">"
+ escapeExpression(((helper = (helper = helpers.label || (depth0 != null ? depth0.label : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"label","hash":{},"data":data}) : helper)))
+ ":</label>\n <div class=\"form-row-input\">\n ";
stack1 = ((helper = (helper = helpers.html || (depth0 != null ? depth0.html : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"html","hash":{},"data":data}) : helper));
if (stack1 != null) { buffer += stack1; }
return buffer + "\n </div>\n <div class=\"toolParamHelp\" style=\"clear: both;\">\n "
+ escapeExpression(((helper = (helper = helpers.help || (depth0 != null ? depth0.help : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"help","hash":{},"data":data}) : helper)))
+ alias3(((helper = (helper = helpers.label || (depth0 != null ? depth0.label : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"label","hash":{},"data":data}) : helper)))
+ ":</label>\n <div class=\"form-row-input\">\n "
+ ((stack1 = ((helper = (helper = helpers.html || (depth0 != null ? depth0.html : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"html","hash":{},"data":data}) : helper))) != null ? stack1 : "")
+ "\n </div>\n <div class=\"toolParamHelp\" style=\"clear: both;\">\n "
+ alias3(((helper = (helper = helpers.help || (depth0 != null ? depth0.help : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"help","hash":{},"data":data}) : helper)))
+ "\n </div>\n <div style=\"clear: both;\"></div>\n </div>\n";
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<div class=\"toolFormTitle\">"
+ escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper)))
var stack1, helper, alias1=helpers.helperMissing, alias2="function", alias3=this.escapeExpression;
return "<div class=\"toolFormTitle\">"
+ alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"name","hash":{},"data":data}) : helper)))
+ " (version "
+ escapeExpression(((helper = (helper = helpers.version || (depth0 != null ? depth0.version : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"version","hash":{},"data":data}) : helper)))
+ ")</div>\n <div class=\"toolFormBody\">\n";
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.inputs : depth0), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
return buffer + " </div>\n <div class=\"form-row form-actions\">\n <input type=\"submit\" class=\"btn btn-primary\" name=\"runtool_btn\" value=\"Execute\">\n</div>\n<div class=\"toolHelp\">\n <div class=\"toolHelpBody\">"
+ escapeExpression(((helper = (helper = helpers.help || (depth0 != null ? depth0.help : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"help","hash":{},"data":data}) : helper)))
+ alias3(((helper = (helper = helpers.version || (depth0 != null ? depth0.version : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"version","hash":{},"data":data}) : helper)))
+ ")</div>\n <div class=\"toolFormBody\">\n"
+ ((stack1 = helpers.each.call(depth0,(depth0 != null ? depth0.inputs : depth0),{"name":"each","hash":{},"fn":this.program(1, data, 0),"inverse":this.noop,"data":data})) != null ? stack1 : "")
+ " </div>\n <div class=\"form-row form-actions\">\n <input type=\"submit\" class=\"btn btn-primary\" name=\"runtool_btn\" value=\"Execute\">\n</div>\n<div class=\"toolHelp\">\n <div class=\"toolHelpBody\">"
+ alias3(((helper = (helper = helpers.help || (depth0 != null ? depth0.help : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"help","hash":{},"data":data}) : helper)))
+ "</div>\n</div>";
},"useData":true});
})();
@@ -1,18 +1,19 @@
(function() {
var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
templates['tool_link'] = template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
var helper, alias1=helpers.helperMissing, alias2="function", alias3=this.escapeExpression;
return "<a class=\""
+ escapeExpression(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"id","hash":{},"data":data}) : helper)))
+ alias3(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"id","hash":{},"data":data}) : helper)))
+ " tool-link\" href=\""
+ escapeExpression(((helper = (helper = helpers.link || (depth0 != null ? depth0.link : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"link","hash":{},"data":data}) : helper)))
+ alias3(((helper = (helper = helpers.link || (depth0 != null ? depth0.link : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"link","hash":{},"data":data}) : helper)))
+ "\" target=\""
+ escapeExpression(((helper = (helper = helpers.target || (depth0 != null ? depth0.target : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"target","hash":{},"data":data}) : helper)))
+ alias3(((helper = (helper = helpers.target || (depth0 != null ? depth0.target : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"target","hash":{},"data":data}) : helper)))
+ "\" minsizehint=\""
+ escapeExpression(((helper = (helper = helpers.min_width || (depth0 != null ? depth0.min_width : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"min_width","hash":{},"data":data}) : helper)))
+ alias3(((helper = (helper = helpers.min_width || (depth0 != null ? depth0.min_width : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"min_width","hash":{},"data":data}) : helper)))
+ "\">"
+ escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper)))
+ alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"name","hash":{},"data":data}) : helper)))
+ "</a> "
+ escapeExpression(((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"description","hash":{},"data":data}) : helper)));
+ alias3(((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"description","hash":{},"data":data}) : helper)));
},"useData":true});
})();
@@ -1,11 +1,12 @@
(function() {
var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
templates['tool_search'] = template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
return "<input type=\"text\" name=\"query\" value=\""
+ escapeExpression(((helper = (helper = helpers.search_hint_string || (depth0 != null ? depth0.search_hint_string : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"search_hint_string","hash":{},"data":data}) : helper)))
var helper, alias1=helpers.helperMissing, alias2="function", alias3=this.escapeExpression;
return "<input type=\"text\" name=\"query\" placeholder=\""
+ alias3(((helper = (helper = helpers.search_hint_string || (depth0 != null ? depth0.search_hint_string : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"search_hint_string","hash":{},"data":data}) : helper)))
+ "\" id=\"tool-search-query\" autocomplete=\"off\" class=\"search-query parent-width\" />\n<a id=\"search-clear-btn\" title=\"clear search (esc)\"> </a>\n<img src=\""
+ escapeExpression(((helper = (helper = helpers.spinner_url || (depth0 != null ? depth0.spinner_url : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"spinner_url","hash":{},"data":data}) : helper)))
+ "\" id=\"search-spinner\" class=\"search-spinner\"/>";
+ alias3(((helper = (helper = helpers.spinner_url || (depth0 != null ? depth0.spinner_url : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"spinner_url","hash":{},"data":data}) : helper)))
+ "\" id=\"search-spinner\" class=\"search-spinner\"/>\n";
},"useData":true});
})();
@@ -1 +1 @@
(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.panel_section=b({compiler:[6,">= 2.0.0-beta.1"],main:function(j,f,c,g){var e,i="function",d=f.helperMissing,h=this.escapeExpression;return'<div class="toolSectionTitle" id="title_'+h(((e=(e=f.id||(j!=null?j.id:j))!=null?e:d),(typeof e===i?e.call(j,{name:"id",hash:{},data:g}):e)))+'">\n <a href="javascript:void(0)"><span>'+h(((e=(e=f.name||(j!=null?j.name:j))!=null?e:d),(typeof e===i?e.call(j,{name:"name",hash:{},data:g}):e)))+'</span></a>\n</div>\n<div id="'+h(((e=(e=f.id||(j!=null?j.id:j))!=null?e:d),(typeof e===i?e.call(j,{name:"id",hash:{},data:g}):e)))+'" class="toolSectionBody" style="display: none; ">\n <div class="toolSectionBg"></div>\n<div>'},useData:true})})();
(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.panel_section=b({compiler:[6,">= 2.0.0-beta.1"],main:function(j,f,c,h){var e,i=f.helperMissing,g="function",d=this.escapeExpression;return'<div class="toolSectionTitle" id="title_'+d(((e=(e=f.id||(j!=null?j.id:j))!=null?e:i),(typeof e===g?e.call(j,{name:"id",hash:{},data:h}):e)))+'">\n <a href="javascript:void(0)"><span>'+d(((e=(e=f.name||(j!=null?j.name:j))!=null?e:i),(typeof e===g?e.call(j,{name:"name",hash:{},data:h}):e)))+'</span></a>\n</div>\n<div id="'+d(((e=(e=f.id||(j!=null?j.id:j))!=null?e:i),(typeof e===g?e.call(j,{name:"id",hash:{},data:h}):e)))+'" class="toolSectionBody" style="display: none; ">\n <div class="toolSectionBg"></div>\n<div>'},useData:true})})();
@@ -1 +1 @@
(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_form=b({"1":function(l,d,j,i){var c,e,f="function",k=d.helperMissing,h=this.escapeExpression,g=' <div class="form-row">\n <label for="'+h(((e=(e=d.name||(l!=null?l.name:l))!=null?e:k),(typeof e===f?e.call(l,{name:"name",hash:{},data:i}):e)))+'">'+h(((e=(e=d.label||(l!=null?l.label:l))!=null?e:k),(typeof e===f?e.call(l,{name:"label",hash:{},data:i}):e)))+':</label>\n <div class="form-row-input">\n ';c=((e=(e=d.html||(l!=null?l.html:l))!=null?e:k),(typeof e===f?e.call(l,{name:"html",hash:{},data:i}):e));if(c!=null){g+=c}return g+'\n </div>\n <div class="toolParamHelp" style="clear: both;">\n '+h(((e=(e=d.help||(l!=null?l.help:l))!=null?e:k),(typeof e===f?e.call(l,{name:"help",hash:{},data:i}):e)))+'\n </div>\n <div style="clear: both;"></div>\n </div>\n'},compiler:[6,">= 2.0.0-beta.1"],main:function(l,d,j,i){var c,e,f="function",k=d.helperMissing,h=this.escapeExpression,g='<div class="toolFormTitle">'+h(((e=(e=d.name||(l!=null?l.name:l))!=null?e:k),(typeof e===f?e.call(l,{name:"name",hash:{},data:i}):e)))+" (version "+h(((e=(e=d.version||(l!=null?l.version:l))!=null?e:k),(typeof e===f?e.call(l,{name:"version",hash:{},data:i}):e)))+')</div>\n <div class="toolFormBody">\n';c=d.each.call(l,(l!=null?l.inputs:l),{name:"each",hash:{},fn:this.program(1,i),inverse:this.noop,data:i});if(c!=null){g+=c}return g+' </div>\n <div class="form-row form-actions">\n <input type="submit" class="btn btn-primary" name="runtool_btn" value="Execute">\n</div>\n<div class="toolHelp">\n <div class="toolHelpBody">'+h(((e=(e=d.help||(l!=null?l.help:l))!=null?e:k),(typeof e===f?e.call(l,{name:"help",hash:{},data:i}):e)))+"</div>\n</div>"},useData:true})})();
(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_form=b({"1":function(h,d,g,f){var c,e,k=d.helperMissing,j="function",i=this.escapeExpression;return' <div class="form-row">\n <label for="'+i(((e=(e=d.name||(h!=null?h.name:h))!=null?e:k),(typeof e===j?e.call(h,{name:"name",hash:{},data:f}):e)))+'">'+i(((e=(e=d.label||(h!=null?h.label:h))!=null?e:k),(typeof e===j?e.call(h,{name:"label",hash:{},data:f}):e)))+':</label>\n <div class="form-row-input">\n '+((c=((e=(e=d.html||(h!=null?h.html:h))!=null?e:k),(typeof e===j?e.call(h,{name:"html",hash:{},data:f}):e)))!=null?c:"")+'\n </div>\n <div class="toolParamHelp" style="clear: both;">\n '+i(((e=(e=d.help||(h!=null?h.help:h))!=null?e:k),(typeof e===j?e.call(h,{name:"help",hash:{},data:f}):e)))+'\n </div>\n <div style="clear: both;"></div>\n </div>\n'},compiler:[6,">= 2.0.0-beta.1"],main:function(h,d,g,f){var c,e,k=d.helperMissing,j="function",i=this.escapeExpression;return'<div class="toolFormTitle">'+i(((e=(e=d.name||(h!=null?h.name:h))!=null?e:k),(typeof e===j?e.call(h,{name:"name",hash:{},data:f}):e)))+" (version "+i(((e=(e=d.version||(h!=null?h.version:h))!=null?e:k),(typeof e===j?e.call(h,{name:"version",hash:{},data:f}):e)))+')</div>\n <div class="toolFormBody">\n'+((c=d.each.call(h,(h!=null?h.inputs:h),{name:"each",hash:{},fn:this.program(1,f,0),inverse:this.noop,data:f}))!=null?c:"")+' </div>\n <div class="form-row form-actions">\n <input type="submit" class="btn btn-primary" name="runtool_btn" value="Execute">\n</div>\n<div class="toolHelp">\n <div class="toolHelpBody">'+i(((e=(e=d.help||(h!=null?h.help:h))!=null?e:k),(typeof e===j?e.call(h,{name:"help",hash:{},data:f}):e)))+"</div>\n</div>"},useData:true})})();
@@ -1 +1 @@
(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_link=b({compiler:[6,">= 2.0.0-beta.1"],main:function(j,f,c,g){var e,i="function",d=f.helperMissing,h=this.escapeExpression;return'<a class="'+h(((e=(e=f.id||(j!=null?j.id:j))!=null?e:d),(typeof e===i?e.call(j,{name:"id",hash:{},data:g}):e)))+' tool-link" href="'+h(((e=(e=f.link||(j!=null?j.link:j))!=null?e:d),(typeof e===i?e.call(j,{name:"link",hash:{},data:g}):e)))+'" target="'+h(((e=(e=f.target||(j!=null?j.target:j))!=null?e:d),(typeof e===i?e.call(j,{name:"target",hash:{},data:g}):e)))+'" minsizehint="'+h(((e=(e=f.min_width||(j!=null?j.min_width:j))!=null?e:d),(typeof e===i?e.call(j,{name:"min_width",hash:{},data:g}):e)))+'">'+h(((e=(e=f.name||(j!=null?j.name:j))!=null?e:d),(typeof e===i?e.call(j,{name:"name",hash:{},data:g}):e)))+"</a> "+h(((e=(e=f.description||(j!=null?j.description:j))!=null?e:d),(typeof e===i?e.call(j,{name:"description",hash:{},data:g}):e)))},useData:true})})();
(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_link=b({compiler:[6,">= 2.0.0-beta.1"],main:function(j,f,c,h){var e,i=f.helperMissing,g="function",d=this.escapeExpression;return'<a class="'+d(((e=(e=f.id||(j!=null?j.id:j))!=null?e:i),(typeof e===g?e.call(j,{name:"id",hash:{},data:h}):e)))+' tool-link" href="'+d(((e=(e=f.link||(j!=null?j.link:j))!=null?e:i),(typeof e===g?e.call(j,{name:"link",hash:{},data:h}):e)))+'" target="'+d(((e=(e=f.target||(j!=null?j.target:j))!=null?e:i),(typeof e===g?e.call(j,{name:"target",hash:{},data:h}):e)))+'" minsizehint="'+d(((e=(e=f.min_width||(j!=null?j.min_width:j))!=null?e:i),(typeof e===g?e.call(j,{name:"min_width",hash:{},data:h}):e)))+'">'+d(((e=(e=f.name||(j!=null?j.name:j))!=null?e:i),(typeof e===g?e.call(j,{name:"name",hash:{},data:h}):e)))+"</a> "+d(((e=(e=f.description||(j!=null?j.description:j))!=null?e:i),(typeof e===g?e.call(j,{name:"description",hash:{},data:h}):e)))},useData:true})})();
@@ -1 +1 @@
(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_search=b({compiler:[6,">= 2.0.0-beta.1"],main:function(j,f,c,g){var e,i="function",d=f.helperMissing,h=this.escapeExpression;return'<input type="text" name="query" value="'+h(((e=(e=f.search_hint_string||(j!=null?j.search_hint_string:j))!=null?e:d),(typeof e===i?e.call(j,{name:"search_hint_string",hash:{},data:g}):e)))+'" id="tool-search-query" autocomplete="off" class="search-query parent-width" />\n<a id="search-clear-btn" title="clear search (esc)"> </a>\n<img src="'+h(((e=(e=f.spinner_url||(j!=null?j.spinner_url:j))!=null?e:d),(typeof e===i?e.call(j,{name:"spinner_url",hash:{},data:g}):e)))+'" id="search-spinner" class="search-spinner"/>'},useData:true})})();
(function(){var b=Handlebars.template,a=Handlebars.templates=Handlebars.templates||{};a.tool_search=b({compiler:[6,">= 2.0.0-beta.1"],main:function(j,f,c,h){var e,i=f.helperMissing,g="function",d=this.escapeExpression;return'<input type="text" name="query" placeholder="'+d(((e=(e=f.search_hint_string||(j!=null?j.search_hint_string:j))!=null?e:i),(typeof e===g?e.call(j,{name:"search_hint_string",hash:{},data:h}):e)))+'" id="tool-search-query" autocomplete="off" class="search-query parent-width" />\n<a id="search-clear-btn" title="clear search (esc)"> </a>\n<img src="'+d(((e=(e=f.spinner_url||(j!=null?j.spinner_url:j))!=null?e:i),(typeof e===g?e.call(j,{name:"spinner_url",hash:{},data:h}):e)))+'" id="search-spinner" class="search-spinner"/>\n'},useData:true})})();