var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.owns=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};$jscomp.assign="function"==typeof Object.assign?Object.assign:function(a,b){for(var h=1;hb&&(d.warned= !0,b=Error("Possible EventEmitter memory leak detected. "+d.length+' "'+String(c)+'" listeners added. Use emitter.setMaxListeners() to increase limit.'),b.name="MaxListenersExceededWarning",b.emitter=a,b.type=c,b.count=d.length,"object"===("undefined"===typeof console?"undefined":_typeof2(console))&&console.warn&&console.warn("%s: %s",b.name,b.message))):(g[c]=b,++a._eventsCount);return a}function m(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target); case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var a=Array(arguments.length),c=0;ca||a!==a)throw new TypeError('"defaultMaxListeners" must be a positive number'); u=a}}):e.defaultMaxListeners=u;e.prototype.setMaxListeners=function(a){if("number"!==typeof a||0>a||isNaN(a))throw new TypeError('"n" argument must be a positive number');this._maxListeners=a;return this};e.prototype.getMaxListeners=function(){return void 0===this._maxListeners?e.defaultMaxListeners:this._maxListeners};e.prototype.emit=function(a){var c,b,g;var d="error"===a;if(g=this._events)d=d&&null==g.error;else if(!d)return!1;if(d){1d)return this;if(0===d)f.shift();else{b=d+1;for(var k=f.length;bb},function(a,b){return m(_templateObject14,a,b)}];b.exports.lessThan=[function(a,b){return a=b},function(a,b){return m(_templateObject16,a,b)}];b.exports.lte=[function(a,b){return a<=b},function(a,b){return m(_templateObject17,a,b)}];b.exports.success=b.exports.done;b.exports.succeed=b.exports.done;b.exports.failure=b.exports.fail;b.exports.equal=b.exports.equals; b.exports.deepEqual=b.exports.deepEquals;b.exports.match=b.exports.deepEquals;b.exports.greaterThanOrEqualTo=b.exports.gte;b.exports.lessThanOrEqualTo=b.exports.lte},{"../util":21,"@codefeathers/iseq":2}],12:[function(a,b,h){a("../gunner");var e=a("../util/symbols"),d=function(a){return function(b){return{type:a,unit:b}}};b.exports=function(a){var b=[];Array.prototype.push.apply(b,a.__suite__.beforeHooks[e.Start].map(d("@start")));b.push.apply(a.__suite__.afterHooks[e.Start].map(d("@start")));a.__suite__.tests.forEach(function(c){return Array.prototype.push.apply(b, a.__suite__.beforeHooks["*"].map(d("@every"))),Array.prototype.push.apply(b,(a.__suite__.beforeHooks[c.description]||[]).map(d("@this"))),b.push(d("@test")(c)),Array.prototype.push.apply(b,(a.__suite__.afterHooks[c.description]||[]).map(d("@afterTest"))),Array.prototype.push.apply(b,a.__suite__.afterHooks["*"].map(d("@afterEvery")))});Array.prototype.push.apply(b,a.__suite__.beforeHooks[e.End].map(d("@beforeend")));Array.prototype.push.apply(b,a.__suite__.afterHooks[e.End].map(d("@end")));return b}}, {"../gunner":9,"../util/symbols":22}],13:[function(a,b,h){var e=a("../util").isPromise;b.exports=function(a,b){var c=0,d=0,l=void 0,f=void 0,k=void 0;try{c=Date.now(),l=a(b),d=Date.now()}catch(r){d=Date.now(),k=!0,f=r}return e(l)?l.then(function(a){return{duration:Date.now()-c,status:"ok",resolve:a,promise:!0}}).catch(function(a){return{duration:Date.now()-c,status:"notOk",rejection:a,promise:!0}}):Promise.resolve(_extends2({duration:d-c,status:k?"notOk":"ok"},!k&&{value:l},k&&{error:f},{promise:!1}))}}, {"../util":21}],14:[function(a,b,h){a=function(a){function b(){_classCallCheck(this,b);return _possibleConstructorReturn(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}_inherits(b,a);return b}(a("events"));b.exports=new a},{events:6}],15:[function(a,b,h){h=a("../util");var e=h.liftPromise,d=h.lowerCaseFirstLetter,m=a("./assertionsLibrary"),c=a("./assertPromise"),g=function(a,b){var f=2",c[0],c[1],a.description);b.trace&&a.reason&&console.log("\n---\n\n",a.reason,"\n\n---\n")})});a.on("end",function(a){console.log(a.success.length,"tests of",a.length,"passed");console.log("Success ratio:",a.successPercent,"%")})};b.exports.convert= function(a){return a}},{}],18:[function(a,b,h){b.exports={default:a("./default"),tap:a("./tap"),xunit:a("./xunit")}},{"./default":17,"./tap":19,"./xunit":20}],19:[function(a,b,h){var e={ok:"ok",notOk:"not ok",skip:"skip"},d=function(a,b){return"\nTAP version 13\n"+(a.length?"1":0)+".."+a.length+"\n"+a.map(function(a,c){var f=b.trace&&a.reason&&(a.reason.stack?a.reason.stack:a.reason)||"";return e[a.status]+" "+(c+1)+" - "+a.description+(f&&"\n ---\n message: |\n "+f+"\n ---\n")}).join("\n")+ "\n"};b.exports=function(a,b){a.on("end",function(a){return console.log(d(a,b))})};b.exports.convert=d},{}],20:[function(a,b,h){var e=function(a,b,d,e){d=d?"/>":">";var c=[],g=void 0;Object.keys(b).forEach(function(a){Object.prototype.hasOwnProperty.call(b,a)&&c.push(a+'="'+b[a]+'"')});g="<"+a+(c.length?" "+c.join(" "):"")+d;e&&(g+=e+"'+e("testsuites",{},!1,e("testsuite",{name:a.name,tests:a.count,success:a.success.length,failures:a.failures.length, skipped:a.skipped.length,timestamp:(new Date).toUTCString(),time:a.duration/1E3||0},!1,a.reduce(function(a,b){var c="ok"===b.status,f="ok"!==b.status&&("skip"===b.status?e("skipped",{},!0):e("failure",{},!b.reason,b.reason?b.reason:""));return a+=e("testcase",{name:b.description,time:b.duration/1E3||0},c,f||"")},"")))};b.exports=function(a){a.on("end",function(a){console.log(d(a))})};b.exports.convert=d},{}],21:[function(a,b,h){var e=a("json-stringify-safe"),d=function(a){return a&&"object"===("undefined"=== typeof a?"undefined":_typeof2(a))},m=function(a){return d(a)?a.stack||e(a):a},c=function(a){return a&&"function"===typeof a.then},g=function(a,b){return c(b)?b.then(a):a(b)};b.exports={isObject:d,isPromise:c,liftPromise:g,path:function(a){return function(b){return b.reduce(function(a,b){return a&&a[b]},a)}},pick:function(a){return function(b){return b[a]}},pipe:function(){for(var a=arguments.length,b=Array(a),c=0;c