(function(e){var r=PhpDebugBar.utils.makecsscls("phpdebugbar-widgets-"),T=PhpDebugBar.Widgets.languageStringsWidget=PhpDebugBar.Widget.extend({tagName:"table",className:r("languageStrings"),render:function(){this.bindAttr("data",function(a){this.$el.empty();for(var d in a.orphans){var g=e("<tr />");e('<th valign="top" style="width:10%" />').text(d).appendTo(g);var o=e("<th />").appendTo(g),c=e("<ul />").appendTo(o),v;for(var f in a.orphans[d]){var s=a.orphans[d][f],h=s.caller.replace(a.jroot,""),l=e("<li />");if(a.xdebugLink){var b=s.caller.split(":"),u=e("<a />").text(h).attr("href",a.xdebugLink.replace("%f",b[0]).replace("%l",b[1]));l.append(u)}else l.text(h);if(s.trace&&!e.isEmptyObject(s.trace)){e('<span title="Call Stack" />').text("Stack").addClass(r("eye")).css("cursor","pointer").on("click",function(m){var p=e(m.target),n=p.next();n.is(":visible")?(n.hide(),p.addClass(r("eye")),p.removeClass(r("eye-dash"))):(n.show(),p.addClass(r("eye-dash")),p.removeClass(r("eye")))}).appendTo(l),v=e('<table><thead><tr><th colspan="3">Call Stack</th></tr></thead></table>').addClass(r("callstack")).appendTo(l);for(var x in s.trace){var t=s.trace[x],i=t[3]?t[3].replace(a.jroot,"")+":"+t[4]:"",k=t[2].replace(a.jroot,""),C=t[1]?"caller":"";i&&a.xdebugLink&&(i='<a href="'+a.xdebugLink.replace("%f",t[3]).replace("%l",t[4])+'">'+i+"</a>"),v.append('<tr class="'+C+'"><th>'+t[0]+"</th><td>"+k+"</td><td>"+i+"</td></tr>")}}l.appendTo(c)}this.$el.append(g)}})}})})(PhpDebugBar.$);
