require.def("tabs/homeTab",["domplate/domplate","domplate/tabView","core/lib","core/cookies","core/trace","i18n!nls/homeTab",'text!tabs/homeTab.html!
\r\n\r\n\r\n \r\n \r\n \r\n \r\n
Validate data before processing?
\r\n\r\n

\r\n \r\n \r\n \r\n

\r\n
\r\n

HAR Log Examples

\r\n\r\n
\r\n

This viewer supports HAR 1.2 (see the About tab).

\r\n
\r\n', "preview/harModel"],function(d,h,c,e,i,g,j){with(d){d=function(){};d.prototype=c.extend(h.Tab.prototype,{id:"Home",label:g.homeTabLabel,bodyTag:DIV({"class":"homeBody"}),onUpdateBody:function(a,b){b=this.bodyTag.replace({},b);b.innerHTML=j.replace("@HAR_SPEC_URL@",a.harSpecURL,"g");$("#appendPreview").click(c.bindFixed(this.onAppendPreview,this));$(".linkAbout").click(c.bind(this.onAbout,this));a=$("#content");a.bind("dragenter",c.bind(c.cancelEvent,c));a.bind("dragover",c.bind(c.cancelEvent,c)); a.bind("drop",c.bind(this.onDrop,this));this.validateNode=$("#validate");if(a=e.getCookie("validate"))this.validateNode.attr("checked",a=="false"?false:true);this.validateNode.change(c.bind(this.onValidationChange,this));$(".example").click(c.bind(this.onLoadExample,this))},onAppendPreview:function(a){a||(a=$("#sourceEditor").val());a&&this.tabView.appendPreview(a)},onAbout:function(){this.tabView.selectTabByName("About")},onValidationChange:function(){var a=this.validateNode.attr("checked");e.setCookie("validate", a)},onLoadExample:function(a){a=$.event.fix(a||window.event).target.getAttribute("path");var b=document.location.href,f=b.indexOf("?");document.location=b.substr(0,f)+"?path="+a;e.setCookie("timeline",true);e.setCookie("stats",true)},onDrop:function(a){var b=$.event.fix(a||window.event);c.cancelEvent(b);try{this.handleDrop(a.originalEvent.dataTransfer)}catch(f){i.exception("HomeTab.onDrop EXCEPTION",f)}},handleDrop:function(a){if(!a)return false;if(a=a.files)for(var b=0;b