text: /*
     pm.build.js ,version 1.2.1 ,updated on 2016-03-07
     module for Plugins Modules library.
  
     https://github.com/donghanji/pm
   */
  
  jasmineRequire.html=function(a){a.ResultsNode=jasmineRequire.ResultsNode(),a.HtmlReporter=jasmineRequire.HtmlReporter(a),a.QueryString=jasmineRequire.QueryString(),a.HtmlSpecFilter=jasmineRequire.HtmlSpecFilter()},jasmineRequire.HtmlReporter=function(a){function b(b){function d(a){return o().querySelector(".jasmine_html-reporter "+a)}function e(){var a=d("");a&&o().removeChild(a)}function f(a,b,c){for(var d=p(a),e=2;e<arguments.length;e++){var f=arguments[e];"string"==typeof f?d.appendChild(q(f)):f&&d.appendChild(f)}for(var g in b)"className"==g?d[g]=b[g]:d.setAttribute(g,b[g]);return d}function g(a,b){var c=1==b?a:a+"s";return""+b+" "+c}function h(a){return s("spec",a.fullName)}function i(a,b){return"?"+a+"="+b}function j(a){l.setAttribute("class","jasmine_html-reporter "+a)}function k(a){return a.failedExpectations.length+a.passedExpectations.length===0&&"passed"===a.status}var l,m,n=b.env||{},o=b.getContainer,p=b.createElement,q=b.createTextNode,r=b.onRaiseExceptionsClick||function(){},s=b.addToExistingQueryString||i,t=b.timer||c,u=0,v=0,w=0,x=[];this.initialize=function(){e(),l=f("div",{className:"jasmine_html-reporter"},f("div",{className:"banner"},f("a",{className:"title",href:"http://jasmine.github.io/",target:"_blank"}),f("span",{className:"version"},a.version)),f("ul",{className:"symbol-summary"}),f("div",{className:"alert"}),f("div",{className:"results"},f("div",{className:"failures"}))),o().appendChild(l),m=d(".symbol-summary")};var y;this.jasmineStarted=function(a){y=a.totalSpecsDefined||0,t.start()};var z=f("div",{className:"summary"}),A=new a.ResultsNode({},"",null),B=A;this.suiteStarted=function(a){B.addChild(a,"suite"),B=B.last()},this.suiteDone=function(a){"failed"==a.status&&x.push(a),B!=A&&(B=B.parent)},this.specStarted=function(a){B.addChild(a,"spec")};var C=[];return this.specDone=function(a){if(k(a)&&"undefined"!=typeof console&&"undefined"!=typeof console.error&&console.error("Spec '"+a.fullName+"' has no expectations."),"disabled"!=a.status&&u++,m.appendChild(f("li",{className:k(a)?"empty":a.status,id:"spec_"+a.id,title:a.fullName})),"failed"==a.status){v++;for(var b=f("div",{className:"spec-detail failed"},f("div",{className:"description"},f("a",{title:a.fullName,href:h(a)},a.fullName)),f("div",{className:"messages"})),c=b.childNodes[1],d=0;d<a.failedExpectations.length;d++){var e=a.failedExpectations[d];c.appendChild(f("div",{className:"result-message"},e.message)),c.appendChild(f("div",{className:"stack-trace"},e.stack))}C.push(b)}"pending"==a.status&&w++},this.jasmineDone=function(){function a(b,c){for(var d,e=0;e<b.children.length;e++){var g=b.children[e];if("suite"==g.type){var i=f("ul",{className:"suite",id:"suite-"+g.result.id},f("li",{className:"suite-detail"},f("a",{href:h(g.result)},g.result.description)));a(g,i),c.appendChild(i)}if("spec"==g.type){"specs"!=c.getAttribute("class")&&(d=f("ul",{className:"specs"}),c.appendChild(d));var j=g.result.description;k(g.result)&&(j="SPEC HAS NO EXPECTATIONS "+j),"pending"===g.result.status&&""!==g.result.pendingReason&&(j=j+" PENDING WITH MESSAGE: "+g.result.pendingReason),d.appendChild(f("li",{className:g.result.status,id:"spec-"+g.result.id},f("a",{href:h(g.result)},j)))}}}var b=d(".banner");b.appendChild(f("span",{className:"duration"},"finished in "+t.elapsed()/1e3+"s"));var c=d(".alert");c.appendChild(f("span",{className:"exceptions"},f("label",{className:"label","for":"raise-exceptions"},"raise exceptions"),f("input",{className:"raise",id:"raise-exceptions",type:"checkbox"})));var e=d("#raise-exceptions");if(e.checked=!n.catchingExceptions(),e.onclick=r,y>u){var i="Ran "+u+" of "+y+" specs - run all";c.appendChild(f("span",{className:"bar skipped"},f("a",{href:"?",title:"Run all specs"},i)))}var l="",m="bar ";for(y>0?(l+=g("spec",u)+", "+g("failure",v),w&&(l+=", "+g("pending spec",w)),m+=v>0?"failed":"passed"):(m+="skipped",l+="No specs found"),c.appendChild(f("span",{className:m},l)),E=0;E<x.length;E++)for(var o=x[E],p=0;p<o.failedExpectations.length;p++){var q="AfterAll "+o.failedExpectations[p].message,s="bar errored";c.appendChild(f("span",{className:s},q))}var B=d(".results");if(B.appendChild(z),a(A,z),C.length){c.appendChild(f("span",{className:"menu bar spec-list"},f("span",{},"Spec List | "),f("a",{className:"failures-menu",href:"#"},"Failures"))),c.appendChild(f("span",{className:"menu bar failure-list"},f("a",{className:"spec-list-menu",href:"#"},"Spec List"),f("span",{}," | Failures "))),d(".failures-menu").onclick=function(){j("failure-list")},d(".spec-list-menu").onclick=function(){j("spec-list")},j("failure-list");for(var D=d(".failures"),E=0;E<C.length;E++)D.appendChild(C[E])}},this}var c={start:function(){},elapsed:function(){return 0}};return b},jasmineRequire.HtmlSpecFilter=function(){function a(a){var b=a&&a.filterString()&&a.filterString().replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),c=new RegExp(b);this.matches=function(a){return c.test(a)}}return a},jasmineRequire.ResultsNode=function(){function a(b,c,d){this.result=b,this.type=c,this.parent=d,this.children=[],this.addChild=function(b,c){this.children.push(new a(b,c,this))},this.last=function(){return this.children[this.children.length-1]}}return a},jasmineRequire.QueryString=function(){function a(a){function b(a){var b=[];for(var c in a)b.push(encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return"?"+b.join("&")}function c(){var b=a.getWindowLocation().search.substring(1),c=[],d={};if(b.length>0){c=b.split("&");for(var e=0;e<c.length;e++){var f=c[e].split("="),g=decodeURIComponent(f[1]);("true"===g||"false"===g)&&(g=JSON.parse(g)),d[decodeURIComponent(f[0])]=g}}return d}return this.navigateWithNewParam=function(b,c){a.getWindowLocation().search=this.fullStringWithNewParam(b,c)},this.fullStringWithNewParam=function(a,d){var e=c();return e[a]=d,b(e)},this.getParam=function(a){return c()[a]},this}return a};