hardlounge/client/js/shout.templates.js

211 lines
20 KiB
JavaScript
Raw Normal View History

2014-08-25 23:13:47 +00:00
(function() {
var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
templates['chan'] = template({"1":function(depth0,helpers,partials,data) {
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<div data-id=\""
2014-09-09 21:55:45 +00:00
+ 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)))
2014-08-25 23:13:47 +00:00
+ "\" data-target=\"#chan-"
2014-09-09 21:55:45 +00:00
+ 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)))
2014-08-25 23:13:47 +00:00
+ "\" data-title=\""
2014-09-09 21:55:45 +00:00
+ 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)))
2014-08-25 23:13:47 +00:00
+ "\" class=\"chan "
2014-09-09 21:55:45 +00:00
+ escapeExpression(((helper = (helper = helpers.type || (depth0 != null ? depth0.type : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"type","hash":{},"data":data}) : helper)))
2014-11-07 19:52:38 +00:00
+ "\">\n <span class=\"badge\" data-count=\""
2014-09-21 19:48:26 +00:00
+ escapeExpression(((helper = (helper = helpers.unread || (depth0 != null ? depth0.unread : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"unread","hash":{},"data":data}) : helper)))
+ "\">";
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.unread : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
return buffer + "</span>\n <span class=\"close\"></span>\n <span class=\"name\">"
2014-09-09 21:55:45 +00:00
+ 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)))
2014-11-07 19:52:38 +00:00
+ "</span>\n</div>\n";
},"2":function(depth0,helpers,partials,data) {
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
return escapeExpression(((helper = (helper = helpers.unread || (depth0 != null ? depth0.unread : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"unread","hash":{},"data":data}) : helper)));
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
2014-08-25 23:13:47 +00:00
var stack1, buffer = "";
2014-09-09 21:55:45 +00:00
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.channels : depth0), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
return buffer;
2014-08-25 23:13:47 +00:00
},"useData":true});
templates['chat'] = template({"1":function(depth0,helpers,partials,data) {
2014-09-09 21:55:45 +00:00
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<div id=\"chan-"
+ 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)))
2014-11-07 19:52:38 +00:00
+ "\" data-title=\""
+ 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)))
2014-08-25 23:13:47 +00:00
+ "\" data-id=\""
2014-09-09 21:55:45 +00:00
+ 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)))
2014-08-25 23:13:47 +00:00
+ "\" data-type=\""
2014-09-09 21:55:45 +00:00
+ escapeExpression(((helper = (helper = helpers.type || (depth0 != null ? depth0.type : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"type","hash":{},"data":data}) : helper)))
2014-08-25 23:13:47 +00:00
+ "\" class=\"chan "
2014-09-09 21:55:45 +00:00
+ escapeExpression(((helper = (helper = helpers.type || (depth0 != null ? depth0.type : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"type","hash":{},"data":data}) : helper)))
2014-11-07 19:52:38 +00:00
+ "\">\n <div class=\"header\">\n <button class=\"lt\"></button>\n <button class=\"rt\"></button>\n <div class=\"right\">\n <button class=\"button close\">\n";
2014-09-21 15:59:50 +00:00
stack1 = ((helpers.equal || (depth0 && depth0.equal) || helperMissing).call(depth0, (depth0 != null ? depth0.type : depth0), "lobby", {"name":"equal","hash":{},"fn":this.program(2, data),"inverse":this.program(4, data),"data":data}));
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
buffer += " </button>\n </div>\n <span class=\"title\">"
2014-09-09 21:55:45 +00:00
+ 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)))
2014-11-07 19:52:38 +00:00
+ "</span>\n <span class=\"topic\">";
2014-10-10 20:05:25 +00:00
stack1 = ((helpers.parse || (depth0 && depth0.parse) || helperMissing).call(depth0, (depth0 != null ? depth0.topic : depth0), {"name":"parse","hash":{},"data":data}));
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
buffer += "</span>\n </div>\n <div class=\"chat\">\n <div class=\"show-more ";
2014-09-28 21:51:24 +00:00
stack1 = ((helpers.equal || (depth0 && depth0.equal) || helperMissing).call(depth0, ((stack1 = (depth0 != null ? depth0.messages : depth0)) != null ? stack1.length : stack1), 100, {"name":"equal","hash":{},"fn":this.program(6, data),"inverse":this.noop,"data":data}));
2014-09-09 21:55:45 +00:00
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
return buffer + "\">\n <button class=\"show-more-button\" data-id=\""
2014-09-28 21:51:24 +00:00
+ 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)))
2014-11-07 19:52:38 +00:00
+ "\">\n Show more\n </button>\n </div>\n <div class=\"messages\">\n "
2014-09-09 21:55:45 +00:00
+ escapeExpression(((helpers.partial || (depth0 && depth0.partial) || helperMissing).call(depth0, "msg", {"name":"partial","hash":{},"data":data})))
2014-11-07 19:52:38 +00:00
+ "\n </div>\n </div>\n <aside class=\"sidebar\">\n <div class=\"users\">\n "
2014-09-09 21:55:45 +00:00
+ escapeExpression(((helpers.partial || (depth0 && depth0.partial) || helperMissing).call(depth0, "user", {"name":"partial","hash":{},"data":data})))
2014-11-07 19:52:38 +00:00
+ "\n </div>\n </aside>\n</div>\n";
2014-08-25 23:13:47 +00:00
},"2":function(depth0,helpers,partials,data) {
2014-11-07 19:52:38 +00:00
return " Disconnect\n";
2014-09-21 15:59:50 +00:00
},"4":function(depth0,helpers,partials,data) {
2014-11-07 19:52:38 +00:00
return " Leave\n";
2014-09-21 15:59:50 +00:00
},"6":function(depth0,helpers,partials,data) {
2014-09-28 21:51:24 +00:00
return "show";
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
2014-08-25 23:13:47 +00:00
var stack1, buffer = "";
2014-09-09 21:55:45 +00:00
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.channels : depth0), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
return buffer;
2014-08-25 23:13:47 +00:00
},"useData":true});
templates['msg'] = template({"1":function(depth0,helpers,partials,data) {
2014-09-09 21:55:45 +00:00
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "<div class=\"msg "
+ escapeExpression(((helper = (helper = helpers.type || (depth0 != null ? depth0.type : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"type","hash":{},"data":data}) : helper)))
2014-09-14 18:49:42 +00:00
+ " ";
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.self : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
buffer += "\">\n <span class=\"time\">\n "
2014-09-09 21:55:45 +00:00
+ escapeExpression(((helpers.tz || (depth0 && depth0.tz) || helperMissing).call(depth0, (depth0 != null ? depth0.time : depth0), {"name":"tz","hash":{},"data":data})))
2014-11-07 19:52:38 +00:00
+ "\n </span>\n <span class=\"from\">\n";
2014-09-14 18:49:42 +00:00
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.from : depth0), {"name":"if","hash":{},"fn":this.program(4, data),"inverse":this.noop,"data":data});
2014-09-09 21:55:45 +00:00
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
buffer += " </span>\n <span class=\"text\">\n <em class=\"type\">"
2014-09-09 21:55:45 +00:00
+ escapeExpression(((helper = (helper = helpers.type || (depth0 != null ? depth0.type : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"type","hash":{},"data":data}) : helper)))
2014-11-07 19:52:38 +00:00
+ "</em>\n";
2014-09-27 23:47:04 +00:00
stack1 = ((helpers.equal || (depth0 && depth0.equal) || helperMissing).call(depth0, (depth0 != null ? depth0.type : depth0), "toggle", {"name":"equal","hash":{},"fn":this.program(6, data),"inverse":this.program(9, data),"data":data}));
2014-09-09 21:55:45 +00:00
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
return buffer + " </span>\n</div>\n";
2014-08-25 23:13:47 +00:00
},"2":function(depth0,helpers,partials,data) {
2014-09-14 18:49:42 +00:00
return "self";
},"4":function(depth0,helpers,partials,data) {
2014-09-30 18:00:23 +00:00
var helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function";
return " <button class=\"user\" style=\"color: #"
+ escapeExpression(((helpers.stringcolor || (depth0 && depth0.stringcolor) || helperMissing).call(depth0, (depth0 != null ? depth0.from : depth0), {"name":"stringcolor","hash":{},"data":data})))
+ "\">"
2014-10-04 12:31:45 +00:00
+ escapeExpression(((helper = (helper = helpers.mode || (depth0 != null ? depth0.mode : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"mode","hash":{},"data":data}) : helper)))
2014-09-09 21:55:45 +00:00
+ escapeExpression(((helper = (helper = helpers.from || (depth0 != null ? depth0.from : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"from","hash":{},"data":data}) : helper)))
2014-11-07 19:52:38 +00:00
+ "</button>\n";
2014-09-14 18:49:42 +00:00
},"6":function(depth0,helpers,partials,data) {
2014-11-07 19:52:38 +00:00
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = " <div class=\"force-newline\">\n <button id=\"toggle-"
2014-09-27 19:17:05 +00:00
+ 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)))
2014-11-07 19:52:38 +00:00
+ "\" class=\"toggle-button\">···</button>\n </div>\n";
2014-09-27 23:47:04 +00:00
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.toggle : depth0), {"name":"if","hash":{},"fn":this.program(7, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
return buffer;
},"7":function(depth0,helpers,partials,data) {
var helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
return " "
+ escapeExpression(((helpers.partial || (depth0 && depth0.partial) || helperMissing).call(depth0, "toggle", {"name":"partial","hash":{},"data":data})))
2014-11-07 19:52:38 +00:00
+ "\n";
2014-09-27 23:47:04 +00:00
},"9":function(depth0,helpers,partials,data) {
var stack1, helperMissing=helpers.helperMissing, buffer = " ";
2014-09-27 22:01:28 +00:00
stack1 = ((helpers.parse || (depth0 && depth0.parse) || helperMissing).call(depth0, (depth0 != null ? depth0.text : depth0), {"name":"parse","hash":{},"data":data}));
2014-09-09 21:55:45 +00:00
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
return buffer + "\n";
2014-09-09 21:55:45 +00:00
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
var stack1, buffer = "";
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.messages : depth0), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
return buffer;
2014-08-25 23:13:47 +00:00
},"useData":true});
templates['network'] = template({"1":function(depth0,helpers,partials,data) {
2014-09-09 21:55:45 +00:00
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
return "<section id=\"network-"
+ 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)))
2014-09-24 19:42:36 +00:00
+ "\" class=\"network\" data-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)))
2014-09-25 23:51:53 +00:00
+ "\" data-nick=\""
+ escapeExpression(((helper = (helper = helpers.nick || (depth0 != null ? depth0.nick : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"nick","hash":{},"data":data}) : helper)))
2014-11-07 19:52:38 +00:00
+ "\">\n "
2014-09-09 21:55:45 +00:00
+ escapeExpression(((helpers.partial || (depth0 && depth0.partial) || helperMissing).call(depth0, "chan", {"name":"partial","hash":{},"data":data})))
2014-11-07 19:52:38 +00:00
+ "\n</section>\n";
2014-09-09 21:55:45 +00:00
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
2014-08-25 23:13:47 +00:00
var stack1, buffer = "";
2014-09-09 21:55:45 +00:00
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.networks : depth0), {"name":"each","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
return buffer;
2014-08-25 23:13:47 +00:00
},"useData":true});
2014-09-27 19:17:05 +00:00
templates['toggle'] = template({"1":function(depth0,helpers,partials,data) {
2014-11-07 19:52:38 +00:00
var stack1, helperMissing=helpers.helperMissing, buffer = "<div class=\"toggle-content\">\n";
2014-09-27 23:47:04 +00:00
stack1 = ((helpers.equal || (depth0 && depth0.equal) || helperMissing).call(depth0, (depth0 != null ? depth0.type : depth0), "image", {"name":"equal","hash":{},"fn":this.program(2, data),"inverse":this.program(4, data),"data":data}));
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
return buffer + "</div>\n";
2014-09-27 23:47:04 +00:00
},"2":function(depth0,helpers,partials,data) {
2014-09-27 19:17:05 +00:00
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
return " <a href=\""
2014-09-27 20:39:14 +00:00
+ 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)))
2014-11-07 19:52:38 +00:00
+ "\" target=\"_blank\">\n <img src=\""
2014-09-27 20:39:14 +00:00
+ 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)))
2014-11-07 19:52:38 +00:00
+ "\">\n </a>\n";
2014-09-27 23:47:04 +00:00
},"4":function(depth0,helpers,partials,data) {
2014-09-27 20:39:14 +00:00
var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = " <a 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)))
2014-11-07 19:52:38 +00:00
+ "\" target=\"_blank\">\n";
stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.thumb : depth0), {"name":"if","hash":{},"fn":this.program(5, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
buffer += " <div class=\"head\">";
2014-09-27 20:39:14 +00:00
stack1 = ((helper = (helper = helpers.head || (depth0 != null ? depth0.head : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"head","hash":{},"data":data}) : helper));
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
return buffer + "</div>\n <div class=\"body\">\n "
2014-09-27 19:17:05 +00:00
+ escapeExpression(((helper = (helper = helpers.body || (depth0 != null ? depth0.body : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"body","hash":{},"data":data}) : helper)))
2014-11-07 19:52:38 +00:00
+ "\n </div>\n </a>\n";
},"5":function(depth0,helpers,partials,data) {
var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
return " <img src=\""
+ escapeExpression(((helper = (helper = helpers.thumb || (depth0 != null ? depth0.thumb : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"thumb","hash":{},"data":data}) : helper)))
2014-11-07 19:52:38 +00:00
+ "\" class=\"thumb\">\n";
2014-09-27 19:17:05 +00:00
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
2014-09-27 23:47:04 +00:00
var stack1, helper, options, functionType="function", helperMissing=helpers.helperMissing, blockHelperMissing=helpers.blockHelperMissing, buffer = "";
stack1 = ((helper = (helper = helpers.toggle || (depth0 != null ? depth0.toggle : depth0)) != null ? helper : helperMissing),(options={"name":"toggle","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data}),(typeof helper === functionType ? helper.call(depth0, options) : helper));
if (!helpers.toggle) { stack1 = blockHelperMissing.call(depth0, stack1, options); }
2014-09-27 19:17:05 +00:00
if (stack1 != null) { buffer += stack1; }
2014-09-27 23:47:04 +00:00
return buffer;
2014-09-27 19:17:05 +00:00
},"useData":true});
2014-08-25 23:13:47 +00:00
templates['user'] = template({"1":function(depth0,helpers,partials,data) {
2014-09-10 16:50:59 +00:00
var stack1, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression;
2014-11-07 19:52:38 +00:00
return "<div class=\"count\">\n <input class=\"search\" placeholder=\""
2014-09-10 16:50:59 +00:00
+ escapeExpression(((helpers.users || (depth0 && depth0.users) || helperMissing).call(depth0, ((stack1 = (depth0 != null ? depth0.users : depth0)) != null ? stack1.length : stack1), {"name":"users","hash":{},"data":data})))
2014-11-07 19:52:38 +00:00
+ "\">\n</div>\n";
2014-08-25 23:13:47 +00:00
},"3":function(depth0,helpers,partials,data) {
2014-10-04 19:47:27 +00:00
return "";
},"5":function(depth0,helpers,partials,data) {
var stack1, helper, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, functionType="function", buffer = "";
stack1 = ((helpers.diff || (depth0 && depth0.diff) || helperMissing).call(depth0, (depth0 != null ? depth0.mode : depth0), {"name":"diff","hash":{},"fn":this.program(6, data),"inverse":this.noop,"data":data}));
if (stack1 != null) { buffer += stack1; }
return buffer + " <button class=\"user\" style=\"color: #"
2014-09-30 18:00:23 +00:00
+ escapeExpression(((helpers.stringcolor || (depth0 && depth0.stringcolor) || helperMissing).call(depth0, (depth0 != null ? depth0.name : depth0), {"name":"stringcolor","hash":{},"data":data})))
+ "\">"
2014-09-09 21:55:45 +00:00
+ escapeExpression(((helper = (helper = helpers.mode || (depth0 != null ? depth0.mode : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"mode","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)))
2014-11-07 19:52:38 +00:00
+ "</button>\n";
2014-10-04 19:47:27 +00:00
},"6":function(depth0,helpers,partials,data) {
var stack1, helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "";
stack1 = helpers.unless.call(depth0, (data && data.first), {"name":"unless","hash":{},"fn":this.program(7, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
return buffer + " <div class=\"user-mode "
+ escapeExpression(((helpers.modes || (depth0 && depth0.modes) || helperMissing).call(depth0, (depth0 != null ? depth0.mode : depth0), {"name":"modes","hash":{},"data":data})))
2014-11-07 19:52:38 +00:00
+ "\">\n";
2014-10-04 19:47:27 +00:00
},"7":function(depth0,helpers,partials,data) {
2014-11-07 19:52:38 +00:00
return " </div>\n";
2014-10-04 19:47:27 +00:00
},"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
var stack1, helperMissing=helpers.helperMissing, buffer = "";
2014-09-09 21:55:45 +00:00
stack1 = helpers['if'].call(depth0, ((stack1 = (depth0 != null ? depth0.users : depth0)) != null ? stack1.length : stack1), {"name":"if","hash":{},"fn":this.program(1, data),"inverse":this.noop,"data":data});
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
buffer += "<div class=\"names\">\n <div class=\"inner\">\n ";
2014-10-04 19:47:27 +00:00
stack1 = ((helpers.diff || (depth0 && depth0.diff) || helperMissing).call(depth0, "reset", {"name":"diff","hash":{},"fn":this.program(3, data),"inverse":this.noop,"data":data}));
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
buffer += "\n";
2014-10-04 19:47:27 +00:00
stack1 = helpers.each.call(depth0, (depth0 != null ? depth0.users : depth0), {"name":"each","hash":{},"fn":this.program(5, data),"inverse":this.noop,"data":data});
2014-09-09 21:55:45 +00:00
if (stack1 != null) { buffer += stack1; }
2014-11-07 19:52:38 +00:00
return buffer + " </div>\n </div>\n</div>\n";
2014-08-25 23:13:47 +00:00
},"useData":true});
})();