9 lines
127 KiB
JavaScript
9 lines
127 KiB
JavaScript
(()=>{var __webpack_modules__={8380:t=>{
|
||
/*!
|
||
* async
|
||
* https://github.com/caolan/async
|
||
*
|
||
* Copyright 2010-2014 Caolan McMahon
|
||
* Released under the MIT license
|
||
*/
|
||
!function(){var e,n,r={};function i(t){var n=!1;return function(){if(n)throw new Error("Callback was already called.");n=!0,t.apply(e,arguments)}}null!=(e=this)&&(n=e.async),r.noConflict=function(){return e.async=n,r};var s=Object.prototype.toString,a=Array.isArray||function(t){return"[object Array]"===s.call(t)},o=function(t,e){for(var n=0;n<t.length;n+=1)e(t[n],n,t)},c=function(t,e){if(t.map)return t.map(e);var n=[];return o(t,(function(t,r,i){n.push(e(t,r,i))})),n},u=function(t){if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e};"undefined"!=typeof process&&process.nextTick?(r.nextTick=process.nextTick,"undefined"!=typeof setImmediate?r.setImmediate=function(t){setImmediate(t)}:r.setImmediate=r.nextTick):"function"==typeof setImmediate?(r.nextTick=function(t){setImmediate(t)},r.setImmediate=r.nextTick):(r.nextTick=function(t){setTimeout(t,0)},r.setImmediate=r.nextTick),r.each=function(t,e,n){if(n=n||function(){},!t.length)return n();var r=0;function s(e){e?(n(e),n=function(){}):(r+=1)>=t.length&&n()}o(t,(function(t){e(t,i(s))}))},r.forEach=r.each,r.eachSeries=function(t,e,n){if(n=n||function(){},!t.length)return n();var r=0,i=function(){e(t[r],(function(e){e?(n(e),n=function(){}):(r+=1)>=t.length?n():i()}))};i()},r.forEachSeries=r.eachSeries,r.eachLimit=function(t,e,n,r){l(e).apply(null,[t,n,r])},r.forEachLimit=r.eachLimit;var l=function(t){return function(e,n,r){if(r=r||function(){},!e.length||t<=0)return r();var i=0,s=0,a=0;!function o(){if(i>=e.length)return r();for(;a<t&&s<e.length;)a+=1,n(e[(s+=1)-1],(function(t){t?(r(t),r=function(){}):(a-=1,(i+=1)>=e.length?r():o())}))}()}},f=function(t){return function(){var e=Array.prototype.slice.call(arguments);return t.apply(null,[r.each].concat(e))}},h=function(t){return function(){var e=Array.prototype.slice.call(arguments);return t.apply(null,[r.eachSeries].concat(e))}},p=function(t,e,n,r){if(e=c(e,(function(t,e){return{index:e,value:t}})),r){var i=[];t(e,(function(t,e){n(t.value,(function(n,r){i[t.index]=r,e(n)}))}),(function(t){r(t,i)}))}else t(e,(function(t,e){n(t.value,(function(t){e(t)}))}))};r.map=f(p),r.mapSeries=h(p),r.mapLimit=function(t,e,n,r){return d(e)(t,n,r)};var d=function(t){return function(t,e){return function(){var n=Array.prototype.slice.call(arguments);return e.apply(null,[l(t)].concat(n))}}(t,p)};r.reduce=function(t,e,n,i){r.eachSeries(t,(function(t,r){n(e,t,(function(t,n){e=n,r(t)}))}),(function(t){i(t,e)}))},r.inject=r.reduce,r.foldl=r.reduce,r.reduceRight=function(t,e,n,i){var s=c(t,(function(t){return t})).reverse();r.reduce(s,e,n,i)},r.foldr=r.reduceRight;var m=function(t,e,n,r){var i=[];t(e=c(e,(function(t,e){return{index:e,value:t}})),(function(t,e){n(t.value,(function(n){n&&i.push(t),e()}))}),(function(t){r(c(i.sort((function(t,e){return t.index-e.index})),(function(t){return t.value})))}))};r.filter=f(m),r.filterSeries=h(m),r.select=r.filter,r.selectSeries=r.filterSeries;var g=function(t,e,n,r){var i=[];t(e=c(e,(function(t,e){return{index:e,value:t}})),(function(t,e){n(t.value,(function(n){n||i.push(t),e()}))}),(function(t){r(c(i.sort((function(t,e){return t.index-e.index})),(function(t){return t.value})))}))};r.reject=f(g),r.rejectSeries=h(g);var y=function(t,e,n,r){t(e,(function(t,e){n(t,(function(n){n?(r(t),r=function(){}):e()}))}),(function(t){r()}))};r.detect=f(y),r.detectSeries=h(y),r.some=function(t,e,n){r.each(t,(function(t,r){e(t,(function(t){t&&(n(!0),n=function(){}),r()}))}),(function(t){n(!1)}))},r.any=r.some,r.every=function(t,e,n){r.each(t,(function(t,r){e(t,(function(t){t||(n(!1),n=function(){}),r()}))}),(function(t){n(!0)}))},r.all=r.every,r.sortBy=function(t,e,n){r.map(t,(function(t,n){e(t,(function(e,r){e?n(e):n(null,{value:t,criteria:r})}))}),(function(t,e){if(t)return n(t);n(null,c(e.sort((function(t,e){var n=t.criteria,r=e.criteria;return n<r?-1:n>r?1:0})),(function(t){return t.value})))}))},r.auto=function(t,e){e=e||function(){};var n=u(t),i=n.length;if(!i)return e();var s={},c=[],l=function(t){c.unshift(t)},f=function(){i--,o(c.slice(0),(function(t){t()}))};l((function(){if(!i){var t=e;e=function(){},t(null,s)}})),o(n,(function(n){var i=a(t[n])?t[n]:[t[n]],h=function(t){var i=Array.prototype.slice.call(arguments,1);if(i.length<=1&&(i=i[0]),t){var a={};o(u(s),(function(t){a[t]=s[t]})),a[n]=i,e(t,a),e=function(){}}else s[n]=i,r.setImmediate(f)},p=i.slice(0,Math.abs(i.length-1))||[],d=function(){return e=function(t,e){return t&&s.hasOwnProperty(e)},r=!0,((t=p).reduce?t.reduce(e,r):(o(t,(function(t,n,i){r=e(r,t,n,i)})),r))&&!s.hasOwnProperty(n);var t,e,r};if(d())i[i.length-1](h,s);else{var m=function(){d()&&(!function(t){for(var e=0;e<c.length;e+=1)if(c[e]===t)return void c.splice(e,1)}(m),i[i.length-1](h,s))};l(m)}}))},r.retry=function(t,e,n){var i=[];"function"==typeof t&&(n=e,e=t,t=5),t=parseInt(t,10)||5;var s=function(s,a){for(var o=function(t,e){return function(n){t((function(t,r){n(!t||e,{err:t,result:r})}),a)}};t;)i.push(o(e,!(t-=1)));r.series(i,(function(t,e){e=e[e.length-1],(s||n)(e.err,e.result)}))};return n?s():s},r.waterfall=function(t,e){if(e=e||function(){},!a(t)){var n=new Error("First argument to waterfall must be an array of functions");return e(n)}if(!t.length)return e();var i=function(t){return function(n){if(n)e.apply(null,arguments),e=function(){};else{var s=Array.prototype.slice.call(arguments,1),a=t.next();a?s.push(i(a)):s.push(e),r.setImmediate((function(){t.apply(null,s)}))}}};i(r.iterator(t))()};var v=function(t,e,n){if(n=n||function(){},a(e))t.map(e,(function(t,e){t&&t((function(t){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),e.call(null,t,n)}))}),n);else{var r={};t.each(u(e),(function(t,n){e[t]((function(e){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),r[t]=i,n(e)}))}),(function(t){n(t,r)}))}};r.parallel=function(t,e){v({map:r.map,each:r.each},t,e)},r.parallelLimit=function(t,e,n){v({map:d(e),each:l(e)},t,n)},r.series=function(t,e){if(e=e||function(){},a(t))r.mapSeries(t,(function(t,e){t&&t((function(t){var n=Array.prototype.slice.call(arguments,1);n.length<=1&&(n=n[0]),e.call(null,t,n)}))}),e);else{var n={};r.eachSeries(u(t),(function(e,r){t[e]((function(t){var i=Array.prototype.slice.call(arguments,1);i.length<=1&&(i=i[0]),n[e]=i,r(t)}))}),(function(t){e(t,n)}))}},r.iterator=function(t){var e=function(n){var r=function(){return t.length&&t[n].apply(null,arguments),r.next()};return r.next=function(){return n<t.length-1?e(n+1):null},r};return e(0)},r.apply=function(t){var e=Array.prototype.slice.call(arguments,1);return function(){return t.apply(null,e.concat(Array.prototype.slice.call(arguments)))}};var k=function(t,e,n,r){var i=[];t(e,(function(t,e){n(t,(function(t,n){i=i.concat(n||[]),e(t)}))}),(function(t){r(t,i)}))};r.concat=f(k),r.concatSeries=h(k),r.whilst=function(t,e,n){t()?e((function(i){if(i)return n(i);r.whilst(t,e,n)})):n()},r.doWhilst=function(t,e,n){t((function(i){if(i)return n(i);var s=Array.prototype.slice.call(arguments,1);e.apply(null,s)?r.doWhilst(t,e,n):n()}))},r.until=function(t,e,n){t()?n():e((function(i){if(i)return n(i);r.until(t,e,n)}))},r.doUntil=function(t,e,n){t((function(i){if(i)return n(i);var s=Array.prototype.slice.call(arguments,1);e.apply(null,s)?n():r.doUntil(t,e,n)}))},r.queue=function(t,e){function n(t,e,n,i){if(t.started||(t.started=!0),a(e)||(e=[e]),0==e.length)return r.setImmediate((function(){t.drain&&t.drain()}));o(e,(function(e){var s={data:e,callback:"function"==typeof i?i:null};n?t.tasks.unshift(s):t.tasks.push(s),t.saturated&&t.tasks.length===t.concurrency&&t.saturated(),r.setImmediate(t.process)}))}void 0===e&&(e=1);var s=0,c={tasks:[],concurrency:e,saturated:null,empty:null,drain:null,started:!1,paused:!1,push:function(t,e){n(c,t,!1,e)},kill:function(){c.drain=null,c.tasks=[]},unshift:function(t,e){n(c,t,!0,e)},process:function(){if(!c.paused&&s<c.concurrency&&c.tasks.length){var e=c.tasks.shift();c.empty&&0===c.tasks.length&&c.empty(),s+=1;var n=i((function(){s-=1,e.callback&&e.callback.apply(e,arguments),c.drain&&c.tasks.length+s===0&&c.drain(),c.process()}));t(e.data,n)}},length:function(){return c.tasks.length},running:function(){return s},idle:function(){return c.tasks.length+s===0},pause:function(){!0!==c.paused&&(c.paused=!0)},resume:function(){if(!1!==c.paused){c.paused=!1;for(var t=1;t<=c.concurrency;t++)r.setImmediate(c.process)}}};return c},r.priorityQueue=function(t,e){function n(t,e){return t.priority-e.priority}var i=r.queue(t,e);return i.push=function(t,e,s){!function(t,e,i,s){if(t.started||(t.started=!0),a(e)||(e=[e]),0==e.length)return r.setImmediate((function(){t.drain&&t.drain()}));o(e,(function(e){var a={data:e,priority:i,callback:"function"==typeof s?s:null};t.tasks.splice(function(t,e,n){for(var r=-1,i=t.length-1;r<i;){var s=r+(i-r+1>>>1);n(e,t[s])>=0?r=s:i=s-1}return r}(t.tasks,a,n)+1,0,a),t.saturated&&t.tasks.length===t.concurrency&&t.saturated(),r.setImmediate(t.process)}))}(i,t,e,s)},delete i.unshift,i},r.cargo=function(t,e){var n=!1,i=[],s={tasks:i,payload:e,saturated:null,empty:null,drain:null,drained:!0,push:function(t,n){a(t)||(t=[t]),o(t,(function(t){i.push({data:t,callback:"function"==typeof n?n:null}),s.drained=!1,s.saturated&&i.length===e&&s.saturated()})),r.setImmediate(s.process)},process:function r(){if(!n){if(0===i.length)return s.drain&&!s.drained&&s.drain(),void(s.drained=!0);var a="number"==typeof e?i.splice(0,e):i.splice(0,i.length),u=c(a,(function(t){return t.data}));s.empty&&s.empty(),n=!0,t(u,(function(){n=!1;var t=arguments;o(a,(function(e){e.callback&&e.callback.apply(null,t)})),r()}))}},length:function(){return i.length},running:function(){return n}};return s};var b=function(t){return function(e){var n=Array.prototype.slice.call(arguments,1);e.apply(null,n.concat([function(e){var n=Array.prototype.slice.call(arguments,1);"undefined"!=typeof console&&(e?console.error&&console.error(e):console[t]&&o(n,(function(e){console[t](e)})))}]))}};r.log=b("log"),r.dir=b("dir"),r.memoize=function(t,e){var n={},i={};e=e||function(t){return t};var s=function(){var s=Array.prototype.slice.call(arguments),a=s.pop(),o=e.apply(null,s);o in n?r.nextTick((function(){a.apply(null,n[o])})):o in i?i[o].push(a):(i[o]=[a],t.apply(null,s.concat([function(){n[o]=arguments;var t=i[o];delete i[o];for(var e=0,r=t.length;e<r;e++)t[e].apply(null,arguments)}])))};return s.memo=n,s.unmemoized=t,s},r.unmemoize=function(t){return function(){return(t.unmemoized||t).apply(null,arguments)}},r.times=function(t,e,n){for(var i=[],s=0;s<t;s++)i.push(s);return r.map(i,e,n)},r.timesSeries=function(t,e,n){for(var i=[],s=0;s<t;s++)i.push(s);return r.mapSeries(i,e,n)},r.seq=function(){var t=arguments;return function(){var e=this,n=Array.prototype.slice.call(arguments),i=n.pop();r.reduce(t,n,(function(t,n,r){n.apply(e,t.concat([function(){var t=arguments[0],e=Array.prototype.slice.call(arguments,1);r(t,e)}]))}),(function(t,n){i.apply(e,[t].concat(n))}))}},r.compose=function(){return r.seq.apply(null,Array.prototype.reverse.call(arguments))};var x=function(t,e){var n=function(){var n=this,r=Array.prototype.slice.call(arguments),i=r.pop();return t(e,(function(t,e){t.apply(n,r.concat([e]))}),i)};if(arguments.length>2){var r=Array.prototype.slice.call(arguments,2);return n.apply(this,r)}return n};r.applyEach=f(x),r.applyEachSeries=h(x),r.forever=function(t,e){!function n(r){if(r){if(e)return e(r);throw r}t(n)}()},t.exports?t.exports=r:"undefined"!=typeof define&&define.amd?define([],(function(){return r})):e.async=r}()},9417:t=>{"use strict";function e(t,e,i){t instanceof RegExp&&(t=n(t,i)),e instanceof RegExp&&(e=n(e,i));var s=r(t,e,i);return s&&{start:s[0],end:s[1],pre:i.slice(0,s[0]),body:i.slice(s[0]+t.length,s[1]),post:i.slice(s[1]+e.length)}}function n(t,e){var n=e.match(t);return n?n[0]:null}function r(t,e,n){var r,i,s,a,o,c=n.indexOf(t),u=n.indexOf(e,c+1),l=c;if(c>=0&&u>0){if(t===e)return[c,u];for(r=[],s=n.length;l>=0&&!o;)l==c?(r.push(l),c=n.indexOf(t,l+1)):1==r.length?o=[r.pop(),u]:((i=r.pop())<s&&(s=i,a=u),u=n.indexOf(e,l+1)),l=c<u&&c>=0?c:u;r.length&&(o=[s,a])}return o}t.exports=e,e.range=r},3717:(t,e,n)=>{var r=n(6891),i=n(9417);t.exports=function(t){if(!t)return[];"{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2));return y(function(t){return t.split("\\\\").join(s).split("\\{").join(a).split("\\}").join(o).split("\\,").join(c).split("\\.").join(u)}(t),!0).map(f)};var s="\0SLASH"+Math.random()+"\0",a="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",u="\0PERIOD"+Math.random()+"\0";function l(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function f(t){return t.split(s).join("\\").split(a).join("{").split(o).join("}").split(c).join(",").split(u).join(".")}function h(t){if(!t)return[""];var e=[],n=i("{","}",t);if(!n)return t.split(",");var r=n.pre,s=n.body,a=n.post,o=r.split(",");o[o.length-1]+="{"+s+"}";var c=h(a);return a.length&&(o[o.length-1]+=c.shift(),o.push.apply(o,c)),e.push.apply(e,o),e}function p(t){return"{"+t+"}"}function d(t){return/^-?0\d/.test(t)}function m(t,e){return t<=e}function g(t,e){return t>=e}function y(t,e){var n=[],s=i("{","}",t);if(!s||/\$$/.test(s.pre))return[t];var a,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),f=c||u,v=s.body.indexOf(",")>=0;if(!f&&!v)return s.post.match(/,.*\}/)?y(t=s.pre+"{"+s.body+o+s.post):[t];if(f)a=s.body.split(/\.\./);else if(1===(a=h(s.body)).length&&1===(a=y(a[0],!1).map(p)).length)return(x=s.post.length?y(s.post,!1):[""]).map((function(t){return s.pre+a[0]+t}));var k,b=s.pre,x=s.post.length?y(s.post,!1):[""];if(f){var w=l(a[0]),E=l(a[1]),S=Math.max(a[0].length,a[1].length),j=3==a.length?Math.abs(l(a[2])):1,T=m;E<w&&(j*=-1,T=g);var $=a.some(d);k=[];for(var C=w;T(C,E);C+=j){var A;if(u)"\\"===(A=String.fromCharCode(C))&&(A="");else if(A=String(C),$){var I=S-A.length;if(I>0){var D=new Array(I+1).join("0");A=C<0?"-"+D+A.slice(1):D+A}}k.push(A)}}else k=r(a,(function(t){return y(t,!1)}));for(var N=0;N<k.length;N++)for(var O=0;O<x.length;O++){var M=b+k[N]+x[O];(!e||f||M)&&n.push(M)}return n}},6891:t=>{t.exports=function(t,n){for(var r=[],i=0;i<t.length;i++){var s=n(t[i],i);e(s)?r.push.apply(r,s):r.push(s)}return r};var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},6817:(t,e,n)=>{var r,i=n(7147),s=n(1017),a=n(3973),o=n(344);r=function(t){var e,n,r=o.file.basedir(t);try{e=o.file.readdirR(r).map((function(t){return t.replace(/\\/g,"/")}))}catch(t){console.error(t.message)}return e&&(t=s.normalize(t),n=a.match(e,t,{})),n||[]};var c=Object.getOwnPropertyNames(Array.prototype),u={concat:!0,slice:!0,filter:!0,map:!0},l=[/(^|[\/\\])CVS([\/\\]|$)/,/(^|[\/\\])\.svn([\/\\]|$)/,/(^|[\/\\])\.git([\/\\]|$)/,/\.bak$/,/~$/],f=[function(t){var e=!1;try{e=i.statSync(t).isDirectory()}catch(t){}return/(^|[\/\\])core$/.test(t)&&!e}],h=function(){var t,e=this;this.pendingAdd=[],this.pending=!0,this.excludes={pats:l.slice(),funcs:f.slice(),regex:null},this.items=[],t=function(t){var n;e[t]=function(){return e.pending&&e.resolve(),"function"==typeof e.items[t]?u[t]?(n=e.items[t].apply(e.items,arguments),h.clone(e,n)):e.items[t].apply(e.items,arguments):e.items[t]}};for(var n=0,r=c.length;n<r;n++)t(c[n]);this.include.apply(this,arguments),this.constructor=h};h.prototype=new function(){var t=/[*?\[\{]/,e=function(t){var e=r(t);this.items=this.items.concat(e)},n=function(n){t.test(n)?e.call(this,n):this.push(n)},i=function(){for(var t,e=this.excludes.pats,n=[],i=[],s=0,a=e.length;s<a;s++)"string"==typeof(t=e[s])?/[*?]/.test(t)?(i=(i=r(t)).map((function(t){return o.string.escapeRegExpChars(t)})),n=n.concat(i)):n.push(o.string.escapeRegExpChars(t)):t instanceof RegExp&&n.push(t.toString().replace(/^\/|\/$/g,""));n.length?this.excludes.regex=new RegExp("("+n.join(")|(")+")"):this.excludes.regex=/^$/},s=function(){var t=this;i.call(this),this.items=this.items.filter((function(e){return!t.shouldExclude(e)}))};this.include=function(t){return t&&(this.pendingAdd=this.pendingAdd.concat(t).filter((function(t){return!!t}))),this},this.shouldExclude=function(t){this.excludes.regex||i.call(this);var e=this.excludes;return e.regex.test(t)||e.funcs.some((function(e){return!!e(t)}))},this.exclude=function(){for(var t,e=Array.isArray(arguments[0])?arguments[0]:arguments,n=0,r=e.length;n<r;n++)"function"!=typeof(t=e[n])||t instanceof RegExp?this.excludes.pats.push(t):this.excludes.funcs.push(t);return this.pending||s.call(this),this},this.resolve=function(){var t;if(this.pending){for(this.pending=!1;t=this.pendingAdd.shift();)n.call(this,t);this.items=this.items.reduce((function(t,e){return t.indexOf(e)<0&&t.push(e),t}),[]),s.call(this)}return this},this.toArray=function(){return this.slice().items.slice()},this.clearInclusions=function(){return this.pendingAdd=[],this},this.clearExclusions=function(){return this.excludes={pats:[],funcs:[],regex:null},this}},h.clone=function(t,e){var n=new h;for(var r in e&&(n.items=e),n.pendingAdd=t.pendingAdd,n.pending=t.pending,t.excludes)n.excludes[r]=t.excludes[r];return n},e.m=h},2649:t=>{var e=new function(){this.humanize=function(t){var e=t.slice();if(e.length<=1)return String(e);var n=e.pop();return e.join(", ")+" and "+n},this.included=function(t,e){return-1!==e.indexOf(t)&&e},this.include=function(t,e){var n=-1;if("function"==typeof t.indexOf)n=t.indexOf(e);else for(var r=0,i=t.length;r<i;r++)if(t[r]==e){n=r;break}return n>-1}};t.exports=e},1779:t=>{var e={execNonBlocking:function(t){"undefined"!=typeof process&&"function"==typeof process.nextTick?process.nextTick(t):setTimeout(t,0)}};e.AsyncBase=new function(){this.init=function(t){var e;this.chain=[],this.currentItem=null,this.shortCircuited=!1,this.shortCircuitedArgs=void 0,this.aborted=!1;for(var n=0;n<t.length;n++)e=t[n],this.addItem(e)},this.addItem=function(t){this.chain.push(new e.AsyncCall(t.func,t.args||[],t.callback,t.context))},this.push=this.addItem,this.runItem=function(t){this.currentItem=t;var e=this,n=t.args.concat((function(){e.execCallback.apply(e,arguments)}));t.func.apply(t.context,n)},this.next=function(){this.chain.length?this.runItem(this.chain.shift()):this.last()},this.execCallback=function(){var t=this.currentItem.callback;if(t&&"function"==typeof t&&(t.chain=this,t.apply(this.currentItem.context,arguments)),this.currentItem.finished=!0,this.shortCircuited)this.last.apply(null,this.shortCircuitedArgs);else{if(this.aborted)return;var n=this;e.execNonBlocking((function(){n.next.call(n)}))}},this.shortCircuit=function(){this.shortCircuitedArgs=arguments,this.shortCircuited=!0},this.abort=function(){this.aborted=!0},this.run=this.next,this.last=function(){}},e.AsyncChain=function(t){this.init(t)},e.AsyncChain.prototype=e.AsyncBase,e.AsyncGroup=function(t){var n;this.group=[],this.outstandingCount=0;for(var r=0;r<t.length;r++)n=t[r],this.group.push(new e.AsyncCall(n.func,n.args,n.callback,n.context)),this.outstandingCount++},e.AsyncGroup.prototype=new function(){this.run=function(){for(var t,n=this,r=this.group,i=function(t,e){return function(){t.func.apply(t.context,e)}},s=function(t){return function(){t.callback&&t.callback.apply(null,arguments),n.finish.call(n)}},a=0;a<r.length;a++)t=r[a],callback=s(t),args=t.args.concat(callback),e.execNonBlocking(i(t,args))},this.finish=function(){this.outstandingCount--,this.outstandingCount||this.last()},this.last=function(){}};var n=function(t,e){return{func:t,args:[],callback:function(){},context:e}};e.SimpleAsyncChain=function(t,e){chain=[];for(var r=0,i=t.length;r<i;r++)chain.push(n(t[r],e));this.init(chain)},e.SimpleAsyncChain.prototype=e.AsyncBase,e.AsyncCall=function(t,e,n,r){this.func=t,this.args=e,this.callback=n||null,this.context=r||null},e.Initializer=function(t,e){var n=this;this.steps={},this.callback=e,t.forEach((function(t){n.steps[t]=!1}))},e.Initializer.prototype=new function(){this.complete=function(t){var e=this.steps;for(var n in e[t]=!0,e)if(!e[n])return!1;this.callback()}},t.exports=e},6335:t=>{var e=new function(){var t=function(e,n,r,i){for(var s in n)(n.hasOwnProperty(s)||i)&&(!r||"object"!=typeof n[s]||null===n[s]||n[s]instanceof Array?e[s]=n[s]:(null==e[s]&&(e[s]={}),t(e[s],n[s],r,i)))};this.mixin=function(){var e,n,r=Array.prototype.slice.apply(arguments),i=!1;r.length>2&&"boolean"==typeof r[r.length-1]&&(i=r.pop()),e=r.shift();for(var s=0,a=(n=r).length;s<a;s++)t(e,n[s],i);return e},this.enhance=function(){var e,n,r=Array.prototype.slice.apply(arguments),i=!1;r.length>2&&"boolean"==typeof r[r.length-1]&&(i=r.pop()),e=r.shift();for(var s=0,a=(n=r).length;s<a;s++)t(e,n[s],i,!0);return e},this.isEmpty=function(t){return""===t||null==t||(!("number"!=typeof t||!isNaN(t))||!!(t instanceof Date&&isNaN(t.getTime())))},this.bind=function(){var t=Array.prototype.slice.call(arguments),e=t.shift(),n=t.shift();return"function"==typeof n?"function"==typeof Function.bind?n.bind.apply(e,t):n.apply(e,t):n}};t.exports=e},7180:(t,e,n)=>{var r,i=n(9559);n(3206);r=new function(){var t=this,e=new Date,n=/^(\d{1,2})(?:\-|\/|\.)(\d{1,2})(?:\-|\/|\.)(\d{4})/,s=/^(\d{4})(?:\-|\/|\.)(\d{1,2})(?:\-|\/|\.)(\d{1,2})(?:T| )?(\d{2})?(?::)?(\d{2})?(?::)?(\d{2})?(?:\.)?(\d+)?(?: *)?(Z|[+-]\d{4}|[+-]\d{2}:\d{2}|[+-]\d{2})?/,a=/^(\d{1,2})?(?::)?(\d{2})?(?::)?(\d{2})?(?:\.)?(\d+)?$/,o=["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"];this.weekdayLong=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],this.weekdayShort=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],this.monthLong=["January","February","March","April","May","June","July","August","September","October","November","December"],this.monthShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],this.meridiem={AM:"AM",PM:"PM"},this.meridian=this.meridiem,this.supportedFormats={a:function(e){return t.weekdayShort[e.getDay()]},A:function(e){return t.weekdayLong[e.getDay()]},b:function(e){return t.monthShort[e.getMonth()]},h:function(e){return t.strftime(e,"%b")},B:function(e){return t.monthLong[e.getMonth()]},c:function(e){return t.strftime(e,"%a %b %d %T %Y")},C:function(e){return t.calcCentury(e.getFullYear())},d:function(t){return i.lpad(t.getDate(),"0",2)},D:function(e){return t.strftime(e,"%m/%d/%y")},e:function(t){return i.lpad(t.getDate()," ",2)},f:function(){return t.strftimeNotImplemented("f")},F:function(e){return t.strftime(e,"%Y-%m-%d")},g:function(){return t.strftimeNotImplemented("g")},G:function(){return t.strftimeNotImplemented("G")},H:function(t){return i.lpad(t.getHours(),"0",2)},I:function(e){return i.lpad(t.hrMil2Std(e.getHours()),"0",2)},j:function(e){return i.lpad(t.calcDays(e),"0",3)},k:function(t){return i.lpad(t.getHours()," ",2)},l:function(e){return i.lpad(t.hrMil2Std(e.getHours())," ",2)},m:function(t){return i.lpad(t.getMonth()+1,"0",2)},M:function(t){return i.lpad(t.getMinutes(),"0",2)},n:function(){return"\n"},p:function(e){return t.getMeridian(e.getHours())},r:function(e){return t.strftime(e,"%I:%M:%S %p")},R:function(e){return t.strftime(e,"%H:%M")},S:function(t){return i.lpad(t.getSeconds(),"0",2)},t:function(){return"\t"},T:function(e){return t.strftime(e,"%H:%M:%S")},u:function(e){return t.convertOneBase(e.getDay())},U:function(){return t.strftimeNotImplemented("U")},V:function(){return t.strftimeNotImplemented("V")},W:function(){return t.strftimeNotImplemented("W")},w:function(t){return t.getDay()},x:function(e){return t.strftime(e,"%D")},X:function(e){return t.strftime(e,"%T")},y:function(e){return t.getTwoDigitYear(e.getFullYear())},Y:function(t){return i.lpad(t.getFullYear(),"0",4)},z:function(){return t.strftimeNotImplemented("z")},Z:function(){return t.strftimeNotImplemented("Z")},"%":function(t){return"%"}},this.getSupportedFormats=function(){var t="";for(var e in this.supportedFormats)t+=e;return t},this.supportedFormatsPat=new RegExp("%["+this.getSupportedFormats()+"]{1}","g"),this.strftime=function(t,e){if(!t)return"";var n,r=[],i=[],s=e;for(n="number"==typeof t?new Date(t):t;r=this.supportedFormatsPat.exec(e);)i.push(r[0]);for(var a=0;a<i.length;a++)key=i[a].replace(/%/,""),s=s.replace("%"+key,this.supportedFormats[key](n));return s},this.strftimeNotImplemented=function(t){throw'this.strftime format "'+t+'" not implemented.'},this.calcCentury=function(t){t||(t=e.getFullYear());var n=parseInt(t/100+1);return"00"===(t=t.toString()).substring(t.length-2)&&n--,n.toString()},this.calcDays=function(t){var e,n=new Date(t.getFullYear(),0,1);return n=n.getTime(),e=t.getTime()-n,parseInt(e/1e3/60/60/24)+1},this.convertOneBase=function(t){return 0==t?7:t},this.getTwoDigitYear=function(t){var e=(t+1e3).toString();return e=e.substr(2)},this.getMeridiem=function(t){return t>11?this.meridiem.PM:this.meridiem.AM},this.getMeridian=this.getMeridiem,this.hrMil2Std=function(t){var e="number"==typeof t?t:parseInt(t),n=e>12?e-12:e;return n=0==n?12:n},this.hrStd2Mil=function(t,e){var n="number"==typeof t?t:parseInt(t);return e?n<12?n+12:n:12==n?0:n};var c={YEAR:"year",MONTH:"month",DAY:"day",HOUR:"hour",MINUTE:"minute",SECOND:"second",MILLISECOND:"millisecond",QUARTER:"quarter",WEEK:"week",WEEKDAY:"weekday"},u={};for(var l in c)u[c[l]]=c[l],u[c[l]+"s"]=c[l];this.dateParts=c,this.add=function(t,e,n){function r(){s.getDate()<t.getDate()&&s.setDate(0)}"number"==typeof t&&(t=new Date(t));var i=u[e],s=new Date(t);switch(i){case c.YEAR:s.setFullYear(t.getFullYear()+n),r();break;case c.QUARTER:n*=3;case c.MONTH:s.setMonth(t.getMonth()+n),r();break;case c.WEEK:n*=7;case c.DAY:s.setDate(t.getDate()+n);break;case c.WEEKDAY:var a,o,l=t.getDate(),f=0,h=0,p=0,d=n%5;0==d?(h=n>0?5:-5,f=n>0?(n-5)/5:(n+5)/5):(h=d,f=parseInt(n/5)),6==(a=t.getDay())&&n>0?p=1:0==a&&n<0&&(p=-1),0!=(o=a+h)&&6!=o||(p=n>0?2:-2),s.setDate(l+7*f+h+p);break;case c.HOUR:s.setHours(s.getHours()+n);break;case c.MINUTE:s.setMinutes(s.getMinutes()+n);break;case c.SECOND:s.setSeconds(s.getSeconds()+n);break;case c.MILLISECOND:s.setMilliseconds(s.getMilliseconds()+n)}return s},this.diff=function(t,e,n){"number"==typeof t&&(t=new Date(t)),"number"==typeof e&&(e=new Date(e));var r=e.getFullYear()-t.getFullYear(),i=e.getMonth()-t.getMonth()+12*r,s=e.getTime()-t.getTime(),a=s/1e3,o=a/60,l=o/60,f=l/24,h=f/7,p=0;switch(u[n]){case c.YEAR:p=r;break;case c.QUARTER:var d=t.getMonth(),m=e.getMonth(),g=Math.floor(d/3)+1,y=Math.floor(m/3)+1;p=(y+=4*r)-g;break;case c.MONTH:p=i;break;case c.WEEK:p=parseInt(h);break;case c.DAY:p=f;break;case c.WEEKDAY:var v=Math.round(f),k=parseInt(v/7),b=v%7;if(0==b)v=5*k;else{var x=0,w=t.getDay(),E=e.getDay();k=parseInt(v/7),b=v%7;var S=new Date(t);S.setDate(S.getDate()+7*k);var j=S.getDay();if(f>0)switch(!0){case 6==w:x=-1;break;case 0==w:x=0;break;case 6==E:x=-1;break;case 0==E:case j+b>5:x=-2}else if(f<0)switch(!0){case 6==w:x=0;break;case 0==w:x=1;break;case 6==E:x=2;break;case 0==E:x=1;break;case j+b<0:x=2}v+=x,v-=2*k}p=v;break;case c.HOUR:p=l;break;case c.MINUTE:p=o;break;case c.SECOND:p=a;break;case c.MILLISECOND:p=s}return Math.round(p)},this.parse=function(t){var e,r,i,c,u,l,f,h,p,d,m;if(t instanceof Date||"function"==typeof t.getFullYear)e=t;else if("number"==typeof t)e=new Date(t);else if((m=t)&&"object"==typeof m&&"number"==typeof m.length&&"function"==typeof m.splice&&!m.propertyIsEnumerable("length")?((r=t).unshift(null),r[8]=null):"string"==typeof t&&((r=t.match(s))||(r=t.match(n))&&((i=[r[0],r[3],r[1],r[2]])[8]=null,r=i),r||(r=t.match(a))&&(r=i=[r[0],0,1,0,r[1],r[2],r[3],r[4],null])),r)if(r.shift(),(c=r.pop())&&("Z"==c?(!0,h=0):(!1,c=c.replace(/:/g,""),0===parseInt(c,10)?!0:(u=0===c.indexOf("+"),c=c.substr(1),l=parseInt(c.substr(0,2),10),f=(f=c.substr(2,2))?parseInt(f,10):0,h=(h=c.substr(4,2))?parseInt(h,10):0,h+=60*f,h+=60*l*60,u||(h=0-h)))),e=new Date(0),r[1]=parseInt(r[1],10)-1,c){for(var g=r.length-1;g>-1;g--)p=parseInt(r[g],10)||0,e["setUTC"+o[g]](p);e.setSeconds(e.getSeconds()-h)}else for(g=r.length-1;g>-1;g--)p=parseInt(r[g],10)||0,e["set"+o[g]](p);else d=Date.parse(t),isNaN(d)||(e=new Date(d));return e||null},this.relativeTime=function(t,e){var n,i,s=e||{},a=s.now||new Date,o=s.abbreviated||!1,c=s.format||"%F %T",u=(a.getTime()-t.getTime())/1e3,l=3600,f=86400;switch(!0){case u<60:n=o?"<1m":"less than a minute ago";break;case u<120:n=o?"1m":"about a minute ago";break;case u<2700:i=parseInt(u/60,10),n=o?i+"m":i+" minutes ago";break;case u<7200:n=o?"1h":"about an hour ago";break;case u<86400:i=parseInt(u/l,10),n=o?i+"h":"about "+i+" hours ago";break;case u<2*f:n=o?"1d":"one day ago";break;case u<7*f:i=parseInt(u/f,10),n=o?i+"d":"about "+i+" days ago";break;case u<950400:n=o?"1w":"one week ago";break;case u<2592e3:i=Math.round(u/604800),n=o?i+"w":"about "+i+" weeks ago";break;default:n=r.strftime(t,c)}return n};this.toISO8601=function(t,e){var n,r,s=e||{},a=t.getTimezoneOffset(),o=this.strftime(t,"%F")+"T"+this.strftime(t,"%T")+"."+i.lpad(t.getMilliseconds(),"0",3);return s.tz&&(a&&!s.utc?(o+=a>0?"-":"+",n=parseInt(a/60,10),o+=i.lpad(n,"0",2),(r=a%60)&&(o+=i.lpad(r,"0",2))):o+="Z"),o},this.toIso8601=this.toISO8601,this.toUTC=function(t){return new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds())}},t.exports=r},2038:t=>{var e=function(t,e){var n=this;this.events=e||["data","end","error","close","fd","drain","pipe"],this.emitter=t,this.eventBuffer=[],this.outlet=null,this.events.forEach((function(t){n.emitter.addListener(t,(function(){n.proxyEmit(t,arguments)}))}))};(e.prototype=new function(){this.proxyEmit=function(t,e){this.outlet?this.emit(t,e):this.eventBuffer.push({name:t,args:e})},this.emit=function(t,e){var n=this.outlet;Array.prototype.splice.call(e,0,0,t),n.emit.apply(n,e)},this.sync=function(t){var e,n=this.eventBuffer;for(this.outlet=t;e=n.shift();)this.emit(e.name,e.args)}}).constructor=e,t.exports.X=e},905:(t,e,n)=>{var r=n(7147),i=n(1017),s=/\.(js|coffee|css|less|scss)$/,a=/\.git|node_modules/,o=new function(){var t;try{t=n(3206)}catch(e){t=console}this.log=function(e){t.log(e)}},c=new function(){var t,e,n,c;t=function(e,n,s){var a,o,c,u,l,f,h,p,d=i.normalize(e),m=i.normalize(n),g=s||{};a=r.statSync(d);try{o=r.statSync(m),c=!0}catch(t){u=t,c=!1}if(!c)throw u;if(f=g.rename||i.basename(d),a.isDirectory()){h=r.readdirSync(d),p=i.join(m,f);try{r.mkdirSync(p,g.mode||493)}catch(t){if("EEXIST"!=t.code)throw t}for(var y=0,v=h.length;y<v;y++)t(i.join(d,h[y]),p)}else l=r.readFileSync(d),o.isDirectory()?r.writeFileSync(i.join(m,f),l):r.writeFileSync(m,l)},e=function(t){var n,s=i.normalize(t),a=[],o=[s];try{a=r.readdirSync(s)}catch(t){throw n="Could not read path "+s+"\n",t.stack&&(n+=t.stack),new Error(n)}return a.forEach((function(t){var n=i.join(s,t);r.statSync(n).isDirectory()?o=o.concat(e(n)):o.push(n)})),o},n=function(t){var e=i.normalize(t);r.readdirSync(e).forEach((function(t){var s=i.join(e,t);if(r.statSync(s).isDirectory())n(s);else try{r.unlinkSync(s)}catch(t){if("EPERM"!==t.code)throw t;r.chmodSync(s,"0666"),r.unlinkSync(s)}})),r.rmdirSync(e)},c=function(){var t,e,n,o,u,l,f=Array.prototype.slice.call(arguments);t=f.shift(),n=f.pop(),e=f.pop()||{},o=e.includePattern||s,u=e.excludePattern||a,e.level=e.level||1,l=function(t){u.test(t)||r.watch(t,(function(e,r){o.test(r)&&!u.test(r)&&n(i.join(t,r))}))},r.stat(t,(function(s,a){if(s)return!1;a.isFile()&&1==e.level?(l(t),e.level++):a.isDirectory()&&(l(t),e.level++,r.readdir(t,(function(r,s){if(r)return log.fatal(r);for(var a in s)c(i.join(t,s[a]),e,n)})))}))},this.cpR=function(e,n,s){var a,c,u,l=i.normalize(e),f=i.normalize(n),h=s||{};if(h.silent||o.log("cp -r "+e+" "+n),l==f)throw new Error("Cannot copy "+l+" to itself.");try{a=r.statSync(f)}catch(t){c=t,this.isAbsolute(f)||(f=i.join(process.cwd(),f)),u=i.basename(f),f=i.dirname(f);try{a=r.statSync(f)}catch(t){}if(!a||!a.isDirectory())throw c;h.rename=u}t(l,f,h)},this.mkdirP=function(t,e){var n,s=i.normalize(t).split(/\/|\\/),a="";for((""==s[0]||/^[A-Za-z]+:/.test(s[0]))&&(a=s.shift()||"/",a=i.join(a,s.shift()));n=s.shift();)if(".."!=n){a=i.join(a,n);try{r.mkdirSync(a,e||493)}catch(t){if("EEXIST"!=t.code)throw t}}else a=i.join(a,n)},this.readdirR=function(t,n){var r,i=(n||{}).format||"array";return r=e(t),"string"==i?r.join("\n"):r},this.rmRf=function(t,e){(e||{}).silent||o.log("rm -rf "+t);try{r.statSync(t).isDirectory()?n(t):r.unlinkSync(t)}catch(t){}},this.isAbsolute=function(t){var e=/^[A-Za-z]+:\\|^\//.exec(t);return!(!e||!e.length)&&e[0]},this.absolutize=function(t){return this.isAbsolute(t)?t:i.join(process.cwd(),t)},this.basedir=function(t){var e,n,r="",i=0,s=t||"";if(0==s.indexOf("*")||0==s.indexOf("**"))return".";/(?:^|\/|\\)\.\.$/.test(s.slice(-3))&&(s+="/");for(var a=0,o=(e=s.split(/\\|\//)).length-1;a<o&&!((n=e[a]).indexOf("*")>-1||n.indexOf("**")>-1);a++)r+=n+s[(i+=n.length+1)-1];return r||(r="."),"\\"!=r&&"/"!=r&&(r=r.replace(/\\$|\/$/,"")),r},this.searchParentPath=function(t,e,n){"function"!=typeof e||n||(n=e,e=process.cwd());var r=e||process.cwd();if(t)for(var s,a="",o=5;--o>=0;){if(s=i.join(r,a,t),this.existsSync(s)){n&&n(void 0,s);break}if(0===o){n&&n(new Error('Path "'+s+'" not found'),void 0);break}a+="../",process.chdir(i.join(r,a))}},this.watch=function(){c.apply(this,arguments)},this.exists="function"==typeof r.exists?r.exists:i.exists,this.existsSync="function"==typeof r.existsSync?r.existsSync:i.existsSync,this.requireLocal=function(t,e){try{dep=require(i.join(process.cwd(),"node_modules",t))}catch(n){if(e)throw new Error(e);throw new Error('Module "'+t+'" could not be found as a local module. Please install it by doing "npm install '+t+'"')}return dep}};t.exports=c},9156:(t,e,n)=>{var r,i=n(6335);(r=new function(){var t="en-us",e={};this.getText=function(n,r,i){var s=e[i||t]||{},a=e[t]||{},o=s[n]||a[n]||"[["+n+"]]";for(p in r)o=o.replace(new RegExp("\\{"+p+"\\}","g"),r[p]);return o},this.getDefaultLocale=function(){return t},this.setDefaultLocale=function(e){t=e},this.loadLocale=function(t,n){e[t]=e[t]||{},i.mixin(e[t],n)}}).I18n=function(t){var e=t||r.getDefaultLocale();this.getLocale=function(t){return e},this.setLocale=function(t){e=t},this.getText=function(t,n,i){return r.getText(t,n||{},i||e)},this.t=this.getText},t.exports=r},344:(t,e,n)=>{var r={},i=n(6335),s=n(9559),a=n(905),o=n(1779),c=n(9156),u=n(8272),l=n(2649),f=n(2040),h=n(7180),p=n(3883),d=n(3206),m=n(1192),g=n(4743),y=n(2038).X,v=n(7045).h,k=n(8437).U;i.mixin(r,i),r.string=s,r.file=a,r.async=o,r.i18n=c,r.uri=u,r.array=l,r.object=f,r.date=h,r.request=p,r.log=d,r.network=m,r.inflection=g,r.SortedCollection=k,r.EventBuffer=y,r.XML=v,t.exports=r},4743:t=>{var e=new function(){this.inflections={plurals:[],singulars:[],uncountables:[]};var t,e,n,r,i,s=this;t=function(t,e,n){s.inflections[t].unshift([e,n])},n=function(e,n){t("singulars",e,n)},i=function(t,r){t.substr(0,1).toUpperCase()==r.substr(0,1).toUpperCase()?(e(new RegExp("("+t.substr(0,1)+")"+t.substr(1)+"$","i"),"$1"+r.substr(1)),e(new RegExp("("+r.substr(0,1)+")"+r.substr(1)+"$","i"),"$1"+r.substr(1)),n(new RegExp("("+r.substr(0,1)+")"+r.substr(1)+"$","i"),"$1"+t.substr(1))):(e(new RegExp(t.substr(0,1).toUpperCase()+t.substr(1)+"$"),r.substr(0,1).toUpperCase()+r.substr(1)),e(new RegExp(t.substr(0,1).toLowerCase()+t.substr(1)+"$"),r.substr(0,1).toLowerCase()+r.substr(1)),e(new RegExp(r.substr(0,1).toUpperCase()+r.substr(1)+"$"),r.substr(0,1).toUpperCase()+r.substr(1)),e(new RegExp(r.substr(0,1).toLowerCase()+r.substr(1)+"$"),r.substr(0,1).toLowerCase()+r.substr(1)),n(new RegExp(r.substr(0,1).toUpperCase()+r.substr(1)+"$"),t.substr(0,1).toUpperCase()+t.substr(1)),n(new RegExp(r.substr(0,1).toLowerCase()+r.substr(1)+"$"),t.substr(0,1).toLowerCase()+t.substr(1)))},r=function(t){s.inflections.uncountables[t]=!0},(e=function(e,n){t("plurals",e,n)})(/$/,"s"),e(/s$/i,"s"),e(/(ax|test)is$/i,"$1es"),e(/(octop|vir)us$/i,"$1i"),e(/(alias|status)$/i,"$1es"),e(/(bu)s$/i,"$1ses"),e(/(buffal|tomat)o$/i,"$1oes"),e(/([ti])um$/i,"$1a"),e(/sis$/i,"ses"),e(/(?:([^f])fe|([lr])f)$/i,"$1$2ves"),e(/(hive)$/i,"$1s"),e(/([^aeiouy]|qu)y$/i,"$1ies"),e(/(x|ch|ss|sh)$/i,"$1es"),e(/(matr|vert|ind)(?:ix|ex)$/i,"$1ices"),e(/([m|l])ouse$/i,"$1ice"),e(/^(ox)$/i,"$1en"),e(/(quiz)$/i,"$1zes"),n(/s$/i,""),n(/ss$/i,"ss"),n(/(n)ews$/i,"$1ews"),n(/([ti])a$/i,"$1um"),n(/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/i,"$1$2sis"),n(/(^analy)ses$/i,"$1sis"),n(/([^f])ves$/i,"$1fe"),n(/(hive)s$/i,"$1"),n(/(tive)s$/i,"$1"),n(/([lr])ves$/i,"$1f"),n(/([^aeiouy]|qu)ies$/i,"$1y"),n(/(s)eries$/i,"$1eries"),n(/(m)ovies$/i,"$1ovie"),n(/(x|ch|ss|sh)es$/i,"$1"),n(/([m|l])ice$/i,"$1ouse"),n(/(bus)es$/i,"$1"),n(/(o)es$/i,"$1"),n(/(shoe)s$/i,"$1"),n(/(cris|ax|test)es$/i,"$1is"),n(/(octop|vir)i$/i,"$1us"),n(/(alias|status)es$/i,"$1"),n(/^(ox)en/i,"$1"),n(/(vert|ind)ices$/i,"$1ex"),n(/(matr)ices$/i,"$1ix"),n(/(quiz)zes$/i,"$1"),n(/(database)s$/i,"$1"),i("person","people"),i("man","men"),i("child","children"),i("sex","sexes"),i("move","moves"),i("cow","kine"),r("equipment"),r("information"),r("rice"),r("money"),r("species"),r("series"),r("fish"),r("sheep"),r("jeans"),this.parse=function(t,e){var n=e.toLowerCase(),r=this.inflections[t];if(this.inflections.uncountables[n])return e;for(var i=-1;++i<r.length;){var s=r[i][0],a=r[i][1];if(s.test(e))return e.replace(s,a)}return e},this.pluralize=function(t){return this.parse("plurals",t)},this.singularize=function(t){return this.parse("singulars",t)}};t.exports=e},3206:(t,e,n)=>{var r,i,s,a,o,c=n(3837);s={debug:"log",log:"log",info:"info",notice:"info",warning:"warn",warn:"warn",error:"error",critical:"error",alert:"error",emergency:"error"},a=function(t){return"string"==typeof t?t:c.inspect(t)},o=function(t,e){var n=a(t);i?i[e](n):console[s[e]](n)},(r=function(t){o(t,"info")}).registerLogger=function(t){t!==r&&(i=t)},function(){for(var t in s)!function(t){s[t],r[t]=function(e){o(e,t)}}(t);r.access=r.info}(),t.exports=r},1192:(t,e,n)=>{var r,i=n(1808);r=new function(){this.isPortOpen=function(t,e,n){"function"!=typeof e||n||(n=e,e="localhost");var r,s,a=!1;(r=i.createConnection(t,e,(function(){a=!0,r.end()}))).on("error",(function(t){"ECONNREFUSED"!==t.code&&(s=t)})),r.setTimeout(400,(function(){r.end()})),r.on("close",(function(){n&&n(s,a)}))}},t.exports=r},2040:t=>{var e=new function(){this.merge=function(t,e){var n,r,i=t||{},s=e||{};for(n in s)r=s[n],i[n]="object"!=typeof r||r instanceof Array?r:this.merge(i[n],r);return i},this.reverseMerge=function(t,e){return this.merge(e,t)},this.isEmpty=function(t){for(var e in t)return!1;return!0},this.toArray=function(t){for(var e in array=[],t)array.push({key:e,value:t[e]});return array}};t.exports=e},3883:(t,e,n)=>{var r=n(3685),i=n(5687),s=n(7310),a=n(8272),o=(n(3206),n(6335)),c={xml:function(t){return t},html:function(t){return t},txt:function(t){return t},json:function(t){return JSON.parse(t)}};t.exports=function(t,e){var n,u,l,f,h,p=t||{},d=s.parse(p.url),m="http:"==d.protocol?r:i,g=p.method&&p.method.toUpperCase()||"GET",y=o.mixin({},p.headers||{});f=d.port?d.port:"http:"==d.protocol?"80":"443",u=d.pathname,d.search&&(u+=d.search),"POST"!=g&&"PUT"!=g||(l=p.data?p.data.length:0,y["Content-Length"]=l),h={host:d.hostname,port:f,method:g,agent:!1,path:u,headers:y},(n=m.request(h)).addListener("response",(function(t){var n,r="";t.addListener("data",(function(t){r+=t.toString()})),t.addListener("end",(function(){var i,s=t.statusCode;if(s>199&&s<300||304==s){if(n=p.dataType||a.getFileExtension(d.pathname),c[n])try{r&&(r=c[n](r))}catch(t){e(t,null)}e(null,r)}else(i=new Error(r)).statusCode=t.statusCode,e(i,null)}))})),n.addListener("error",(function(t){e(t,null)})),"POST"!=g&&"PUT"!=g||!p.data||n.write(p.data),n.end()}},8437:t=>{var e=function(t){this.count=0,this.items={},this.order=[],t&&(this.defaultValue=t)};e.prototype=new function(){this.addItem=function(t,e){if("string"!=typeof t)throw"Hash only allows string keys.";return this.setByKey(t,e)},this.getItem=function(t){return"string"==typeof t?this.getByKey(t):"number"==typeof t?this.getByIndex(t):void 0},this.setItem=function(t,e){return"string"==typeof t?this.setByKey(t,e):"number"==typeof t?this.setByIndex(t,e):void 0},this.removeItem=function(t){return"string"==typeof t?this.removeByKey(t):"number"==typeof t?this.removeByIndex(t):void 0},this.getByKey=function(t){return this.items[t]},this.setByKey=function(t,e){var n=null;return n=void 0===e?this.defaultValue:e,void 0===this.items[t]&&(this.order[this.count]=t,this.count++),this.items[t]=n,this.items[t]},this.removeByKey=function(t){if(void 0!==this.items[t]){var e=null;delete this.items[t];for(var n=0;n<this.order.length;n++)this.order[n]==t&&(e=n);return this.order.splice(e,1),this.count--,!0}return!1},this.getByIndex=function(t){return this.items[this.order[t]]},this.setByIndex=function(t,e){if(t<0||t>=this.count)throw"Index out of bounds. Hash length is "+this.count;return this.items[this.order[t]]=e,this.items[this.order[t]]},this.removeByIndex=function(t){return void 0!==this.items[this.order[t]]&&(delete this.items[this.order[t]],this.order.splice(t,1),this.count--,!0)},this.hasKey=function(t){return void 0!==this.items[t]},this.hasValue=function(t){for(var e=0;e<this.order.length;e++)if(this.items[this.order[e]]==t)return!0;return!1},this.allKeys=function(t){return this.order.join(t)},this.replaceKey=function(t,e){this.hasKey(e)&&this.removeItem(e),this.items[e]=this.items[t],delete this.items[t];for(var n=0;n<this.order.length;n++)this.order[n]==t&&(this.order[n]=e)},this.insertAtIndex=function(t,e,n){return this.order.splice(t,0,e),this.items[e]=n,this.count++,!0},this.insertAfterKey=function(t,e,n){var r=this.getPosition(t);return this.insertAtIndex(r,e,n)},this.getPosition=function(t){var e=this.order;if("function"==typeof e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]==t)return n},this.each=function(t,e){for(var n=e||{},r=this.order,i=0,s=r.length;i<s;i++){var a=r[i],o=this.items[a];n.keyOnly?t(a):n.valueOnly?t(o):t(o,a)}return!0},this.eachKey=function(t){return this.each(t,{keyOnly:!0})},this.eachValue=function(t){return this.each(t,{valueOnly:!0})},this.clone=function(){for(var t,n,r=new e,i=0;i<this.order.length;i++)t=this.order[i],n=this.items[t],r.setItem(t,n);return r},this.concat=function(t){for(var e=0;e<t.order.length;e++){var n=t.order[e],r=t.items[n];this.setItem(n,r)}},this.push=function(t,e){return this.insertAtIndex(this.count,t,e),this.count},this.pop=function(){var t=this.count-1,e=this.items[this.order[t]];return void 0!==e?(this.removeByIndex(t),e):void 0},this.unshift=function(t,e){return this.insertAtIndex(0,t,e),this.count},this.shift=function(){var t=this.items[this.order[0]];return void 0!==t?(this.removeByIndex(0),t):void 0},this.splice=function(t,e,n){if(e>0){for(var r=t+e,i=t;i<r;i++)delete this.items[this.order[i]];this.order.splice(t,e)}if(n){for(var i in n.items)this.items[i]=n.items[i];var s=n.order;s.unshift(0),s.unshift(t),this.order.splice.apply(this.order,s)}this.count=this.order.length},this.sort=function(t){for(var e=[],n=0;n<this.order.length;n++){var r=this.order[n];e[n]={key:r,val:this.items[r]}}e.sort((function(e,n){return t(e.val,n.val)})),this.order=[];for(n=0;n<e.length;n++)this.order.push(e[n].key)},this.sortByKey=function(t){this.order.sort(t)},this.reverse=function(){this.order.reverse()}},t.exports.U=e},9559:(t,e,n)=>{var r,i=n(6335),s=n(4743);r=new function(){var t,e,n=/^\s+/,a=/\s+$/,o=/^\s+|\s+$/g,c=/\n|\r|\r\n/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},l="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");t=function(t){return function(e){var n,r,i,s=e;for(i in(null==s||!s&&isNaN(s))&&(s=""),s=s.toString(),u)n="to"==t?i:u[i],r="to"==t?u[i]:i,s=s.replace(new RegExp(n,"gm"),r);return s}},e=function(t){return function(e){var n,r="";for(n in u)r+="to"==t?n:u[n],r+="|";return r=r.substr(0,r.length-1),(r=new RegExp(r,"gm")).test(e)}},this.escapeXML=t("to"),this.unescapeXML=t("from"),this.needsEscape=e("to"),this.needsUnescape=e("from"),this.escapeRegExpChars=function(){return sRE=new RegExp("(\\"+["^","$","/",".","*","+","?","|","(",")","[","]","{","}","\\"].join("|\\")+")","g"),function(t){var e=t||"";return(e=String(e)).replace(sRE,"\\$1")}}.call(this),this.toArray=function(t){var e=t||"",n=[],r=-1;for(e=String(e);++r<e.length;)n.push(e.substr(r,1));return n},this.reverse=function(t){var e=t||"";return e=String(e),this.toArray(e).reverse().join("")},this.ltrim=function(t,e){var r=t||"",i=e?new RegExp("^"+e+"+"):n;return(r=String(r)).replace(i,"")},this.rtrim=function(t,e){var n=t||"",r=e?new RegExp(e+"+$"):a;return(n=String(n)).replace(r,"")},this.chomp=this.rtrim,this.trim=function(t,e){var n=t||"",r=e?new RegExp("^"+e+"+|"+e+"+$","g"):o;return(n=String(n)).replace(r,"")},this.chop=function(t){var e,n=t||"";return(n=String(n)).length?(e=n.indexOf("\r\n"))==n.length-2?n.substring(0,e):n.substring(0,n.length-1):""},this.lpad=function(t,e,n){var r=t||"";for(r=String(r),n=parseInt(n,10)||r.length,e=e||" ";r.length<n;)r=e+r;return r},this.rpad=function(t,e,n){var r=t||"";for(r=String(r),n=parseInt(n,10)||r.length,e=e||" ";r.length<n;)r+=e;return r},this.pad=function(t,e,n){var r=t||"";for(r=String(r),n=parseInt(n,10)||r.length,e=e||" ";r.length<n;)r=e+r+e;return r},this.truncate=function(t,e,n){var r,i,s,a,o,c,u,l,f,h,p,d=t||"";if(r=(d=String(d)).length,(i="number"==typeof e?{length:e}:e||{}).length=i.length||r,i.omission=i.omission||i.ellipsis||"...",s=i.length-i.omission.length,i.seperator){if(i.seperator instanceof RegExp){for(i.seperator.global?i.seperator=i.seperator:(o=i.seperator.ignoreCase?"i":"",c=i.seperator.multiLine?"m":"",i.seperator=new RegExp(i.seperator.source,"g"+o+c)),u=d.substring(0,s+1),l=-1,f=0;h=i.seperator.exec(u);)l=h.index,i.seperator.lastIndex=++f;a=l}else a=d.lastIndexOf(i.seperator,s);-1===a&&(a=s)}else a=s;return r<i.length?d:(p=d.substring(0,a)+i.omission,p+=n&&"function"==typeof n?n():"")},this.truncateHTML=function(t,e,n){var r=t||"",i="",s=e;if(r=String(r),"number"==typeof s){var a=s;(s={}).length=a}else s=s||{};s.once=s.once||!1;for(var o,c,u,l=/(<[^>]*>)/,f=[],h=!1,p=l.exec(r);p;)c=p.index,l.lastIndex,0!==c&&(f.push(r.substring(0,c)),r=r.slice(c)),f.push(p[0]),r=r.slice(p[0].length),p=l.exec(r);for(""!==r&&f.push(r),u=-1;++u<f.length;)switch(o=f[u],!0){case 0==o.indexOf("</"):i+=o,openTag=null;break;case 0==o.indexOf("<"):i+=o,openTag=o;break;default:s.once&&h?i+=o:(i+=this.truncate(o,s,n),h=!0)}return i},this.nl2br=function(t){var e=t||"";return(e=String(e)).replace(c,"<br />")},this.snakeize=function(){var t=/([A-Z]+)/g,e=/^_/g;return function(n,r){var i=n||"",s=r||"_",a=r?new RegExp("^"+s,"g"):e;return(i=String(i)).replace(t,s+"$1").toLowerCase().replace(a,"")}}.call(this),this.underscorize=this.snakeize,this.underscoreize=this.snakeize,this.decamelize=this.snakeize,this.camelize=function(){var t=/[-_](\w)/g;return function(e,n){var r,s=e||"",a={initialCap:!1,leadingUnderscore:!1},o=n||{};return s=String(s),"boolean"==typeof o?a={initialCap:!0}:i.mixin(a,o),r=s.replace(t,(function(t,e){return e.toUpperCase()})),a.leadingUnderscore&0===s.indexOf("_")&&(r="_"+this.decapitalize(r)),r=a.initialCap?this.capitalize(r):this.decapitalize(r)}}.call(this),this.decapitalize=function(t){var e=t||"";return(e=String(e)).substr(0,1).toLowerCase()+e.substr(1)},this.capitalize=function(t){var e=t||"";return(e=String(e)).substr(0,1).toUpperCase()+e.substr(1)},this.dasherize=function(t,e){var n=e||"-";return this.snakeize(t,n)},this.include=function(t,e){var n=e;return!(!n&&"string"!=typeof r)&&(n=String(n),t.indexOf(n)>-1)},this.getInflections=function(t){if(t){var e=this,n=this.snakeize(s.pluralize(t)),r=s.singularize(n),i=s.pluralize(n);return{filename:{singular:r,plural:i},constructor:{singular:e.camelize(r,{initialCap:!0}),plural:e.camelize(i,{initialCap:!0})},property:{singular:e.camelize(r),plural:e.camelize(i)}}}},this.getInflection=function(t,e,n){return this.getInflections(t)[e][n]},this.uuid=function(t,e){var n,r,i=l,s=[];if(e=e||i.length,t)for(r=-1;++r<t;)s[r]=i[0|Math.random()*e];else for(s[8]=s[13]=s[18]=s[23]="-",s[14]="4",r=-1;++r<36;)s[r]||(n=0|16*Math.random(),s[r]=i[19==r?3&n|8:n]);return s.join("")},this.stripTags=function(t,e){e=(((e||"")+"").toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join("");return t.replace(/<!--[\s\S]*?-->/gi,"").replace(/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,(function(t,n){return e.indexOf("<"+n.toLowerCase()+">")>-1?t:""}))}},t.exports=r},8272:(t,e,n)=>{var r,i=n(9559),s=n(6335).mixin;r=new function(){var t=function(t){return t&&"object"==typeof t&&"number"==typeof t.length&&"function"==typeof t.splice&&!t.propertyIsEnumerable("length")};this.getFileExtension=function(t){var e;return t&&(e=/.+\.(\w{2,4}$)/.exec(t)),e&&e[1]||""},this.paramify=function(e,n){var r,a,o,c,u,l,f=n||{},h=[],p=f.prefix||"",d=this;function m(t){return f.prefix?p+"["+t+"]":t}for(var g in e)if(Object.prototype.hasOwnProperty.call(e,g))if(c=!(null==(o=e[g])||"number"==typeof o&&isNaN(o)),a=f.snakeize?i.snakeize(g):g,c){if(t(o)&&o.length){u=[];for(var y=0,v=o.length;y<v;y++)c=!(null==(l=o[y])||"number"==typeof l&&isNaN(l)),f.index&&"object"==typeof l?u[y]=l:(u[y]=c?encodeURIComponent(l):"",f.escapeVals&&(u[y]=i.escapeXML(u[y])));f.consolidate?h.push(m(a)+"="+u.join(",")):f.index?u.forEach((function(e,n){t(e)&&e.length?(r=s(f,{}),e.forEach((function(t,e){"object"==typeof t?(r.prefix=m(a)+"["+n+"]["+e+"]",h.push(d.paramify(t,r))):h.push(m(a)+"["+n+"]["+e+"]="+t)}))):"object"==typeof e?((r=s(f,{})).prefix=m(a)+"["+n+"]",h.push(d.paramify(e,r))):h.push(m(a)+"["+n+"]="+e)})):h.push(m(a)+"="+u.join("&"+m(a)+"="))}else"object"==typeof o?((r=s(f,{})).prefix=m(a),h.push(this.paramify(o,r))):(f.escapeVals&&(o=i.escapeXML(o)),h.push(m(a)+"="+encodeURIComponent(o)));"&"}else f.includeEmpty&&h.push(m(a)+"=");return h.join("&")},this.objectify=function(t,e){var n=e||{},r={},i=void 0===n.consolidate||n.consolidate;if(t)for(var s=t.split("&"),a=0;a<s.length;a++){var o=s[a].split("="),c=o[0],u=decodeURIComponent(o[1]||"");void 0!==r[c]&&i?("string"==typeof r[c]&&(r[c]=[r[c]]),r[c].push(u)):r[c]=u}return r}},t.exports=r},7045:(t,e,n)=>{var r=n(6335),i=n(4743);e.h=new function(){var t,e,n=4;t=function(t,e){var n,r,i;if(t instanceof Array)n="array";else for(var s=0,a=(i=["string","number","boolean","object"]).length;s<a;s++)typeof t==(r=i[s])&&(n=r);return e&&n!=e?"record":n},e=function(r,s){var a,o,c,u=s.name,l=s.level,f=s.arrayRoot,h=new Array(l*n).join(" "),p=new Array((l+1)*n).join(" "),d="";switch(typeof r){case"string":case"number":case"boolean":d=r.toString();break;case"object":if(r instanceof Array){a=[];for(var m=0,g=r.length;m<g;m++)o=r[m],u||(c=t(o,c)),a.push(e(o,{name:u,level:l+1,arrayRoot:f}));u&&(c=u),0==l&&(d+=h+"<"+i.pluralize(c)+' type="array">\n'),d+=p+"<"+c+">"+a.join("</"+c+">\n"+p+"<"+c+">")+"</"+c+">\n",0==l&&(d+=h+"</"+i.pluralize(c)+">")}else{if(c=u||"object",0==l){for(var y in d+=h+"<"+c,r)0==y.indexOf("attr:")&&(d+=" "+y.replace(/^attr:/,"")+'="'+r[y]+'"');d+=">\n"}for(var y in r)if("function"!=typeof(o=r[y])&&0!=y.indexOf("attr:"))if(d+=p,"#cdata"==y)d+="<![CDATA["+o+"]]>\n";else{if("object"==typeof o)if(o instanceof Array)f&&(d+="<"+y+' type="array">\n');else{for(var v in d+="<"+y,o)0==v.indexOf("attr:")&&(d+=" "+v.replace(/^attr:/,"")+'="'+o[v]+'"');d+=">\n"}else d+="<"+y+">";d+=e(o,{name:y,level:l+1,arrayRoot:f}),"object"==typeof o?o instanceof Array?f&&(d+=p,d+="</"+y+">\n"):(d+=p,d+="</"+y+">\n"):d+="</"+y+">\n"}0==l&&(d+=h+"</"+c+">\n")}}return d},this.config={whitespace:!0,name:null,fragment:!1,level:0,arrayRoot:!0},this.setIndentLevel=function(t){if(t)return n=t},this.stringify=function(t,i){var s=r.mixin({},this.config),a="";return r.mixin(s,i||{}),s.whitespace||(n=0),s.fragment||(a+='<?xml version="1.0" encoding="UTF-8"?>\n'),a+=e(t,{name:s.name,level:s.level,arrayRoot:s.arrayRoot}),s.whitespace||(a=a.replace(/>\n/g,">")),a}}},83:t=>{"use strict";t.exports=-1===process.argv.indexOf("--no-color")&&(-1!==process.argv.indexOf("--color")||!(process.stdout&&!process.stdout.isTTY)&&("win32"===process.platform||"COLORTERM"in process.env||"dumb"!==process.env.TERM&&!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(process.env.TERM)))},7006:t=>{var e=new function(){this.task=function(t,e,n,r){var i,s=Array.prototype.slice.call(arguments);return s.unshift("task"),i=jake.createTask.apply(global,s),jake.currentTaskDescription=null,i},this.rule=function(){for(var t,e=Array.prototype.slice.call(arguments),n=e.shift(),r=e.shift(),i=[],s=function(){},a={},o=n.toString();t=e.shift();)"function"==typeof t?s=t:Array.isArray(t)?i=t:a=t;jake.currentNamespace.rules[o]=new jake.Rule({pattern:n,source:r,prereqs:i,action:s,opts:a,desc:jake.currentTaskDescription,ns:jake.currentNamespace}),jake.currentTaskDescription=null},this.directory=function(t){var e,n=Array.prototype.slice.call(arguments);return n.unshift("directory"),e=jake.createTask.apply(global,n),jake.currentTaskDescription=null,e},this.file=function(t,e,n,r){var i,s=Array.prototype.slice.call(arguments);return s.unshift("file"),i=jake.createTask.apply(global,s),jake.currentTaskDescription=null,i},this.desc=function(t){jake.currentTaskDescription=t},this.namespace=function(t,e){var n=jake.currentNamespace,r=n.childNamespaces[t]||new jake.Namespace(t,n);return n.childNamespaces[t]=r,jake.currentNamespace=r,e(),jake.currentNamespace=n,jake.currentTaskDescription=null,r},this.complete=function(t,e){t&&t._currentPrereqIndex>=0?t.complete(e):(e=t,jake._invocationChain.length>0&&jake._invocationChain[jake._invocationChain.length-1].complete(e))},this.fail=function(t,e){var n,r;throw e&&(jake.errorCode=e),t?"string"==typeof t?(n=t.split("\n"),r=new Error(n.shift()),n.length&&(r.stack=n.join("\n")),r):t instanceof Error?t:new Error(t.toString()):new Error},this.packageTask=function(t,e,n,r){return new jake.PackageTask(t,e,n,r)},this.publishTask=function(t,e,n,r){return new jake.PublishTask(t,e,n,r)},this.npmPublishTask=function(t,e,n,r){return new jake.PublishTask(t,e,n,r)},this.watchTask=function(t,e,n){return new jake.WatchTask(t,e,n)},this.testTask=function(){var t,e=function(){};return e.prototype=jake.TestTask.prototype,t=new e,jake.TestTask.apply(t,arguments),t}};t.exports=e},9730:(t,e,n)=>{var r=n(2361).EventEmitter;global.jake=new r;var i=n(7147),s=(n(1017),n(5666)),a=n(8563),o=a.Task,c=a.FileTask,u=a.DirectoryTask,l=n(5997).Rule,f=n(1326).l,h=n(7006),p=n(5462),d=n(7853).$,m=n(6914).a,g=JSON.parse(i.readFileSync(n.ab+"package.json").toString());p.mixin(global,h),p.mixin(jake,p),p.mixin(jake,p.file),p.mixin(jake,h),p.mixin(jake,new function(){this._invocationChain=[];this.version=g.version,this.errorCode=void 0,this.loader=new m,this.defaultNamespace=new f("default",null),this.currentNamespace=this.defaultNamespace,this.currentTaskDescription=null,this.program=new d,this.FileList=n(6817).m,this.PackageTask=n(5977).W,this.PublishTask=n(3533).S,this.WatchTask=n(9984).X,this.TestTask=n(9099)._,this.Task=o,this.FileTask=c,this.DirectoryTask=u,this.Namespace=f,this.Rule=l,this.parseAllTasks=function(){var t=function(e,n){var r,i,s=n.tasks,a=n.childNamespaces;for(var o in s)i="default"==e?o:e+":"+o,(r=s[o]).fullName=i,jake.Task[i]=r;for(var c in a)t(i="default"==e?c:e+":"+c,a[c])};t("default",jake.defaultNamespace)},this.showAllTaskDescriptions=function(t){var e,n,r,i,a,o=0,c="string"==typeof t?t:null;for(e in jake.Task)n=jake.Task[e],o=e.length>o?e.length:o;for(e in jake.Task)c&&-1==e.indexOf(c)||(n=jake.Task[e],i=s.green(e),r=new Array(o-e.length+2).join(" "),(a=n.description)&&(a=s.gray(a),console.log("jake "+i+r+a)))},this.createTask=function(){var t,e,n,r,i,s,a=Array.prototype.slice.call(arguments),l={},f=[];if(r=a.shift(),"string"==typeof a[0])i=a.shift(),Array.isArray(a[0])&&(f=a.shift());else for(var h in e=a.shift())f=f.concat(e[h]),i=h;for(;t=a.shift();)"function"==typeof t?s=t:l=t;if((n=jake.currentNamespace.resolveTask(i))&&!s)return n.prereqs=n.prereqs.concat(f),n;switch(r){case"directory":n=new u(i,f,s=function(){jake.mkdirP(i)},l);break;case"file":n=new c(i,f,s,l);break;default:n=new o(i,f,s,l)}return jake.currentTaskDescription&&(n.description=jake.currentTaskDescription,jake.currentTaskDescription=null),jake.currentNamespace.tasks[i]=n,n.namespace=jake.currentNamespace,jake.parseAllTasks(),n},this.attemptRule=function(t,e,n){var r,i;return n>16?null:((r=e.matchRule(t))&&(i=r.createTask(t,n)),i||null)},this.createPlaceholderFileTask=function(t,e){var n,r,s,a,o="",c=t.split(":").pop();return e&&(o="string"==typeof e?e:e.path),(n=o.length?o.split(":"):[]).push(c),r=n.join(":"),(s=jake.Task[r])||i.existsSync(c)&&(a=i.statSync(c),(s=new jake.FileTask(c)).fullName=r,s.modTime=a.mtime,s.dummy=!0,jake.Task[r]=s),s||null},this.init=function(){var t=this;process.addListener("uncaughtException",(function(e){t.program.handleErr(e)}))},this.run=function(){var t,e,n=Array.prototype.slice.call(arguments),r=this.program,i=this.loader;if(r.parseArgs(n),r.init(),t=r.firstPreemptiveOption())t();else{if((e=r.opts).autocomplete&&!0===e.jakefile)return void process.stdout.write("no-complete");var s=i.loadFile(e.jakefile),a=i.loadDirectory(e.jakelibdir);s||a||e.autocomplete||fail("No Jakefile. Specify a valid path with -f/--jakefile, or place one in the current directory."),r.run()}}}),t.exports=jake},6914:(t,e,n)=>{var r,i=n(1017),s=n(7147),a="function"==typeof s.existsSync?s.existsSync:i.existsSync,o=n(5538);r=function(){var t=/\.jake(\.js|\.coffee|\.ls)?$/,e=function(){try{var t=n(8188);"function"==typeof t.register&&t.register()}catch(t){fail("CoffeeScript is missing! Try `npm install coffee-script`")}return t},r=function(){try{return n(6134)}catch(t){}try{return n(8066)}catch(t){}fail("LiveScript is missing! Try `npm install livescript`")};this.loadFile=function(t){var n,i,s,c=t?t.replace(/\.js$/,"").replace(/\.coffee$/,"").replace(/\.ls/,""):"Jakefile",u=!!t,l=process.cwd();return!!(s=function(){var t=process.cwd();return!!(a(c)||a(c+".js")||a(c+".coffee")||a(c+".ls"))||(u?void 0:(process.chdir(".."),t===process.cwd()?(process.chdir(l),!1):s()))})()&&(n=a(c+".coffee"),i=a(c+".ls"),n&&e(),i&&r(),require(o.file.absolutize(c)),!0)},this.loadDirectory=function(n){var c=n||"jakelib";return c=o.file.absolutize(c),!!a(c)&&(s.readdirSync(c).forEach((function(n){t.test(n)&&(/\.coffee$/.test(n)&&e(),/\.ls$/.test(n)&&r(),require(i.join(c,n)))})),!0)}},t.exports.a=r},1326:t=>{var e=function(t,e){this.name=t,this.parentNamespace=e,this.childNamespaces={},this.tasks={},this.rules={},this.path=this.getPath()};e.prototype=new function(){this.resolveTask=function(t){var e=t.split(":"),n=e.pop(),r=this.resolveNamespace(e.join(":"));return r&&r.tasks[n]||this.parentNamespace&&this.parentNamespace.resolveTask(t)},this.resolveNamespace=function(t){var e,n=t.split(":");if(!t)return this;e=this;for(var r=0,i=n.length;e&&r<i;r++)e=e.childNamespaces[n[r]];return e||this.parentNamespace&&this.parentNamespace.resolveNamespace(t)},this.matchRule=function(t){var e,n,r=t.split(":"),i=(r.pop(),this.resolveNamespace(r.join(":"))),s=i?i.rules:[];for(var a in s)(e=s[a]).match(t)&&(n=e);return i&&n||this.parentNamespace&&this.parentNamespace.matchRule(t)},this.getPath=function(){for(var t=[],e=this;e;)t.push(e.name),e=e.parentNamespace;return t.pop(),t.reverse().join(":")}},t.exports.l=e},5977:(t,e,n)=>{var r=n(1017),i=n(7147),s=n(2081).exec,a=n(6817).m,o=function(){var t=Array.prototype.slice.call(arguments),e=t.shift(),n=t.shift(),r=t.pop(),i=t.pop()||[];i=[].concat(i),this.name=e,this.version=n,this.prereqs=i,this.packageDir="pkg",this.packageFiles=new a,this.needTar=!1,this.needTarGz=!1,this.needTarBz2=!1,this.needJar=!1,this.needZip=!1,this.manifestFile=null,this.tarCommand="tar",this.jarCommand="jar",this.zipCommand="zip",this.archiveNoBaseDir=!1,this.archiveChangeDir=null,this.archiveContentDir=null,"function"==typeof r&&r.call(this),this.define()};o.prototype=new function(){var t={Tar:{ext:".tgz",flags:"czf",cmd:"tar"},TarGz:{ext:".tar.gz",flags:"czf",cmd:"tar"},TarBz2:{ext:".tar.bz2",flags:"cjf",cmd:"tar"},Jar:{ext:".jar",flags:"cf",cmd:"jar"},Zip:{ext:".zip",flags:"qr",cmd:"zip"}};this.define=function(){var e=this,n=this.packageDirPath(),a=[];desc("Build the package for distribution"),task("package",e.prereqs.concat(["clobberPackage","buildPackage"])),task("repackage",["package"]),task("clobberPackage",(function(){jake.rmRf(e.packageDir,{silent:!0})})),desc("Remove the package"),task("clobber",["clobberPackage"]);var o=function(i){var o=r.resolve(e.packageDir+"/"+e.packageName()+t[i].ext);"win32"==process.platform&&o.length>2&&":"==o[1]&&(o=o.substr(2)),a.push(o),file(o,[n],(function(){var n,a,c,u=t[i],l=e.packageDir,f=process.cwd();e.archiveNoBaseDir?(a=e.packageName(),c="."):(a=e.archiveChangeDir,c=e.archiveContentDir),n=e[u.cmd+"Command"],n+=" -"+u.flags,"jar"==u.cmd&&e.manifestFile&&(n+="m"),n+=" "+o,"jar"==u.cmd&&e.manifestFile&&(n+=" "+e.manifestFile),a&&("zip"==u.cmd?l=r.join(l,a):n+=" -C "+a),n+=c?" "+c:" "+e.packageName(),process.chdir(l),s(n,(function(t,e,n){if(t)throw t;process.chdir(f),complete()}))}),{async:!0})};for(var c in t)this["need"+c]&&o(c);task("buildPackage",a,(function(){})),directory(this.packageDir),file(n,this.packageFiles,(function(){jake.mkdirP(n);var t=[];e.packageFiles.forEach((function(n){var i=r.join(e.packageDirPath(),n),s=r.dirname(i);jake.mkdirP(s,{silent:!0}),t.push({from:n,to:i})}));var s=function(){var e=t.pop();e?i.statSync(e.from).isDirectory()?(jake.mkdirP(e.to,{silent:!0}),s()):(jake.cpR(e.from,e.to,{silent:!0}),s()):complete()};s()}),{async:!0})},this.packageName=function(){return this.version?this.name+"-"+this.version:this.name},this.packageDirPath=function(){return this.packageDir+"/"+this.packageName()}},jake.PackageTask=o,e.W=o},533:t=>{var e={},n=function(t){return 0===t.indexOf("-")};e.Parser=function(t){this.opts={},this.taskNames=null,this.envVars=null,this.reg=t,this.shortOpts={},this.longOpts={};var e=this;[].forEach.call(t,(function(t){e.shortOpts[t.abbr]=t,e.longOpts[t.full]=t}))},e.Parser.prototype=new function(){var t=function(t,e){return t[1]?t[1]:!(e[0]&&!n(e[0]))||e.shift()};this.parse=function(e){for(var r,i,s,a,o,c,u=[],l={},f={},h=[];e.length;)if(i=e.shift(),n(i)){if(a=(i=i.replace(/^--/,"").replace(/^-/,"")).split("="),s=this.longOpts[a[0]]||this.shortOpts[a[0]]){if(s.preempts){f[s.full]=t(a,e),c=!0;break}if(s.expectValue){if(f[s.full]=t(a,e),!f[s.full])throw new Error(s.full+" option expects a value.")}else f[s.full]=!0}}else u.unshift(i);if(!c)for(;r=u.pop();)(o=r.split("=")).length>1?l[o[0]]=o[1]:h.push(r);return{opts:f,envVars:l,taskNames:h}}},t.exports=e},7853:(t,e,n)=>{var r,i,s,a,o,c=n(7147),u=n(533),l=n(5462);i=[{full:"jakefile",abbr:"f",preempts:!1,expectValue:!0},{full:"quiet",abbr:"q",preempts:!1,expectValue:!1},{full:"directory",abbr:"C",preempts:!1,expectValue:!0},{full:"always-make",abbr:"B",preempts:!1,expectValue:!1},{full:"tasks",abbr:"T",preempts:!1},{full:"tasks",abbr:"ls",preempts:!1},{full:"trace",abbr:"t",preempts:!1,expectValue:!1},{full:"help",abbr:"h",preempts:!0},{full:"version",abbr:"V",preempts:!0},{full:"version",abbr:"v",preempts:!0},{full:"jakelibdir",abbr:"J",preempts:!1,expectValue:!0}],s={version:function(){o(jake.version)},help:function(){o(a)}},a="Jake JavaScript build tool\n********************************************************************************\nIf no flags are given, Jake looks for a Jakefile or Jakefile.js in the current directory.\n********************************************************************************\n{Usage}: jake [options ...] [env variables ...] target\n\n{Options}:\n -f, --jakefile FILE Use FILE as the Jakefile.\n -C, --directory DIRECTORY Change to DIRECTORY before running tasks.\n -q, --quiet Do not log messages to standard output.\n -B, --always-make Unconditionally make all targets.\n -T/ls, --tasks Display the tasks (matching optional PATTERN) with descriptions, then exit.\n -J, --jakelibdir JAKELIBDIR Auto-import any .jake files in JAKELIBDIR. (default is 'jakelib')\n -t, --trace Enable full backtrace.\n -h, --help Display this help message.\n -V/v, --version Display the Jake version.\n",(r=function(){this.opts={},this.taskNames=null,this.taskArgs=null,this.envVars=null}).prototype=new function(){this.handleErr=function(t){var e;0===jake.listeners("error").length?jake.listeners("error").length?jake.emit("error",t):(l.logger.error("jake aborted."),this.opts.trace&&t.stack?l.logger.error(t.stack):t.stack?(e=t.stack.split("\n").slice(0,3).join("\n"),l.logger.error(e),l.logger.error("(See full trace by running task with --trace)")):l.logger.error(t.message),process.stdout.write("",(function(){process.stderr.write("",(function(){jake.errorCode=jake.errorCode||1,process.exit(jake.errorCode)}))}))):jake.emit("error",t)},this.parseArgs=function(t){var e=new u.Parser(i).parse(t);this.setOpts(e.opts),this.setTaskNames(e.taskNames),this.setEnvVars(e.envVars)},this.setOpts=function(t){var e=t||{};l.mixin(this.opts,e)},this.internalOpts=function(t){i=i.concat(t)},this.autocompletions=function(t){var e,n,r,i="",s=[];for(e in jake.Task)if("fullName"in(r=jake.Task[e])&&(!0===t||0===r.fullName.indexOf(t))){if(0===s.length)i=r.fullName;else for(n=i.length;n>-1&&(i=i.substr(0,n),0!==r.fullName.indexOf(i));--n);s.push(r.fullName)}s.length>1&&i===t?s.unshift("yes-space"):s.unshift("no-space"),process.stdout.write(s.join(" "))},this.setTaskNames=function(t){if(t&&!Array.isArray(t))throw new Error("Task names must be an array");this.taskNames=t&&t.length?t:["default"]},this.setEnvVars=function(t){this.envVars=t||null},this.firstPreemptiveOption=function(){var t=this.opts;for(var e in t)if(s[e])return s[e];return!1},this.init=function(t){var e=this,n=t||{};n.options&&this.setOpts(n.options),n.taskNames&&this.setTaskNames(n.taskNames),n.envVars&&this.setEnvVars(n.envVars),process.addListener("uncaughtException",(function(t){e.handleErr(t)})),this.envVars&&l.mixin(process.env,this.envVars)},this.run=function(){var t,e,n,r=this.opts;if(r.autocomplete)return this.autocompletions(r["autocomplete-cur"],r["autocomplete-prev"]);if(r.tasks)return jake.showAllTaskDescriptions(r.tasks);if(e=this.taskNames,!Array.isArray(e)||!e.length)throw new Error("Please pass jake.runTasks an array of task-names");if(n=r.directory){if(!l.file.existsSync(n)||!c.statSync(n).isDirectory())throw new Error(n+" is not a valid directory path");process.chdir(n)}task("__root__",e,(function(){})),(t=jake.Task.__root__).once("complete",(function(){jake.emit("complete")})),jake.emit("start"),t.invoke()}},o=function(t){console.log(t),process.stdout.write("",(function(){process.stderr.write("",(function(){process.exit()}))}))},t.exports.$=r},3533:(t,e,n)=>{var r=n(7147),i=n(1017),s=n(2081).exec,a=n(5538),o=n(6817).m,c=function(){var t,e,n=Array.prototype.slice.call(arguments).filter((function(t){return void 0!==t})),r={},i=[],s=function(t){return function(){this.packageFiles.include(t)}};if(this.name=n.shift(),1!=n.length||!Array.isArray(n[0])&&"string"!=typeof n[0])for(;t=n.pop();)"function"==typeof t?e=t:Array.isArray(t)||"string"==typeof t?i=t:r=t;else e=s(n.pop());this.prereqs=i,this.packageFiles=new o,this.publishCmd=r.publishCmd||"npm publish %filename",this.publishMessage=r.publishMessage||"BOOM! Published.",this.gitCmd=r.gitCmd||"git",this.versionFiles=r.versionFiles||["package.json"],this.scheduleDelay=5e3,this._ensureRepoClean=function(t){t.length&&fail(new Error("Git repository is not clean."))},this._getCurrentBranch=function(t){return a.string.trim(t)},"function"==typeof e&&e.call(this),this.define()};c.prototype=new function(){var t=null,e=function(){return JSON.parse(r.readFileSync(i.join(process.cwd(),"/package.json")).toString())},n=function(){return e().version};this.define=function(){var a=this;namespace("publish",(function(){task("fetchTags",{async:!0},(function(){var t=[a.gitCmd+" fetch --tags"];jake.exec(t,(function(){console.log("Fetched remote tags."),complete()}))})),task("getCurrentBranch",{async:!0},(function(){s(a.gitCmd+" symbolic-ref --short HEAD",(function(e,n,r){e&&fail(e),r&&fail(new Error(r)),n||fail(new Error("No current Git branch found")),t=a._getCurrentBranch(n),console.log("On branch "+t),complete()}))})),task("ensureClean",{async:!0},(function(){s(a.gitCmd+" status --porcelain --untracked-files=no",(function(t,e,n){t&&fail(t),n&&fail(new Error(n)),a._ensureRepoClean(e),complete()}))})),task("updateVersionFiles",(function(){var t,n,s,o;return t=e(),s=(n=t.version).split("."),o=parseInt(s.pop(),10)+1,s.push(o),n=s.join("."),a.versionFiles.forEach((function(t){var e=i.join(process.cwd(),t),s=JSON.parse(r.readFileSync(e).toString());s.version=n,r.writeFileSync(e,JSON.stringify(s,!0,2)+"\n")})),n})),task("pushVersion",["ensureClean","updateVersionFiles"],{async:!0},(function(){var e=n(),r="Version "+e,i=[a.gitCmd+' commit -a -m "'+r+'"',a.gitCmd+" push origin "+t,a.gitCmd+" tag -a v"+e+' -m "'+r+'"',a.gitCmd+" push --tags"],s={};"win32"==process.platform&&(s.windowsVerbatimArguments=!0),jake.exec(i,(function(){var t=n();console.log("Bumped version number to v"+t+"."),complete()}),s)})),task("definePackage",(function(){var t=n();new jake.PackageTask(a.name,"v"+t,a.prereqs,(function(){for(var t in this.packageFiles=a.packageFiles,this.needTarGz=!0,this)0!==t.indexOf("need")&&0!==t.indexOf("archive")||void 0!==a[t]&&(this[t]=a[t])}))})),task("package",{async:!0},(function(){var t=jake.Task["publish:definePackage"],e=jake.Task.package,r=n();t.reenable(!0),t.addListener("complete",(function(){e.addListener("complete",(function(){console.log("Created package for "+a.name+" v"+r),complete()})),e.invoke()})),t.invoke()})),task("publish",{async:!0},(function(){var t,e,r=n();console.log("Publishing "+a.name+" v"+r),"function"==typeof a.createPublishCommand?e=a.createPublishCommand(r):(t="./pkg/"+a.name+"-v"+r+".tar.gz",e=a.publishCmd.replace(/%filename/gi,t)),"function"==typeof e?e((function(t){if(t)throw t;console.log(a.publishMessage),complete()})):setTimeout((function(){jake.exec(e,(function(){console.log(a.publishMessage),complete()}),{printStdout:!0,printStderr:!0})}),a.scheduleDelay)})),task("cleanup",{async:!0},(function(){var t=jake.Task.clobber;t.reenable(!0),t.on("complete",(function(){console.log("Cleaned up package"),complete()})),t.invoke()}))}));var o=function(t){return"publish:"+t};desc("Create a new version and release."),task("publish",a.prereqs.concat(["version","release"].map(o))),desc("Release the existing version."),task("publishExisting",a.prereqs.concat(["release"].map(o))),task("version",["fetchTags","getCurrentBranch","pushVersion"].map(o)),task("release",["package","publish","cleanup"].map(o)),jake.Task["publish:definePackage"].invoke()}},jake.PublishTask=c,e.S=c},5997:(t,e,n)=>{var r,i,s=n(1017),a=n(7147),o=n(4854).i,c={};r=new function(){this.split=function(t){var e=t.split(":");return{name:e.pop(),ns:this.resolveNS(e)}},this.resolveNS=function(t){for(var e=jake.defaultNamespace,n=0,r=t.length;e&&n<r;n++)e=e.childNamespaces[t[n]];return e},this.resolve=function(t){var e=this.split(t),n=e.name,r=e.ns,i=s.basename(n).split("%");return{ns:r,dir:s.dirname(n),prefix:i[0],suffix:i[1]}},this.stringEndWith=function(t,e){var n;return-1!=(n=e.lastIndexOf(t))&&n+t.length==e.length},this.stringReplaceSuffix=function(t,e,n){return t.slice(0,t.lastIndexOf(e))+n},this.match=function(t,e){var n,r,i,a;return t instanceof RegExp?t.test(e):-1==t.indexOf("%")?this.stringEndWith(t,e):(n=this.resolve(t),e=(r=this.split(e)).name,r.ns,i=e,s.dirname(i)==n.dir&&(a=s.basename(i),!(n.prefix.length+n.suffix.length+1>a.length)&&(0===a.indexOf(n.prefix)&&!!this.stringEndWith(n.suffix,a))))},this.getSource=function(t,e,n){var r,i,s,a,o;return e instanceof RegExp?(s=e.exec(t))&&(o="function"==typeof n?n(t):this.stringReplaceSuffix(t,s[0],n)):-1==e.indexOf("%")?o="function"==typeof n?n(t):this.stringReplaceSuffix(t,e,n):(i=e.replace("%","(.*?)"),(s=(i=new RegExp(i)).exec(t))&&("function"==typeof n?o=n(t):(a=s[1],a=n.replace("%",a),r=s[0],o=t.replace(r,a)))),o}},(i=function(t){this.pattern=t.pattern,this.source=t.source,this.prereqs=t.prereqs,this.action=t.action,this.opts=t.opts,this.desc=t.desc,this.ns=t.ns}).prototype=new function(){this.createTask=function(t,e){var n,i,s,c,u,l,f,h,p,d=this,m=o.getBaseTaskName(t),g=o.getBaseNamespacePath(t),y=this.ns.resolveNamespace(g);return n=this.pattern,f="string"==typeof(i=this.source)?r.getSource(m,n,i):i(m),f=g.split(":").filter((function(t){return!!t})).concat(f).join(":"),(u=this.prereqs.slice()).unshift(f),l=u.some((function(t){var n=d.ns;return n.resolveTask(t)||a.existsSync(o.getBaseTaskName(t))||jake.attemptRule(t,n,e+1)})),l?(s=function(){d.action.apply(this)},c=this.opts,h=jake.currentNamespace,jake.currentNamespace=y,(p=jake.createTask("file",m,u,s,c)).source=f.split(":").pop(),jake.currentNamespace=h,p):null},this.match=function(t){return r.match(this.pattern,t)}},c.Rule=i,c.Matcher=r,t.exports=c},9112:(t,e,n)=>{var r,i=n(5896).q;((r=function(t){this.modTime=null,arguments.length&&this.init.apply(this,arguments)}).prototype=new i).constructor=r,e.c=r},5896:(t,e,n)=>{var r,i,s,a=n(7147),o=n(4854).i,c=n(5462);i=new function(){var t=function(t){return t instanceof r&&!(t instanceof s)};this.isNeeded=function(){var e,n,i,a=this.prereqs;if(this.taskStatus===o.runStatuses.DONE)return!1;if(jake.program.opts["always-make"])return"function"==typeof this.action;try{this.updateModTime()}catch(t){if("function"==typeof this.action)return!0;throw new Error("File-task "+this.fullName+" has no existing file, and no action to create one.")}if(!a||!a.length)return!1;for(var c=0,u=a.length;c<u;c++)if(e=a[c],(n=this.namespace.resolveTask(e)||jake.createPlaceholderFileTask(e,this.namespace))&&(!((i=n)instanceof r||i instanceof s)||t(n)&&n.modTime>this.modTime))return!0},this.updateModTime=function(){var t=a.statSync(this.name);this.modTime=t.mtime},this.complete=function(){jake._invocationChain.splice(jake._invocationChain.indexOf(this),1),this.dummy||this.updateModTime(),this._currentPrereqIndex=0,this.taskStatus=o.runStatuses.DONE,this.emit("complete")}},(r=function(t,e,n,r){this.modTime=null,this.dummy=!1,arguments.length&&this.init.apply(this,arguments)}).prototype=new o,r.prototype.constructor=r,c.mixin(r.prototype,i),e.q=r,s=n(9112).c},8563:(t,e,n)=>{var r=n(4854).i,i=n(5896).q,s=n(9112).c;e.Task=r,e.FileTask=i,e.DirectoryTask=s},4854:(t,e,n)=>{var r,i,s,a=n(3837),o=(n(1017),n(2361).EventEmitter),c=n(5462),u=n(8380);r=function(){arguments.length&&this.init.apply(this,arguments)},a.inherits(r,o),i=new function(){var t=function(t){var e=t.split("["),n=e[0],r=[];return e[1]&&(r=(r=e[1].replace(/\]$/,"")).split(",")),{name:n,args:r}};this.init=function(t,e,n,i){var a=i||{};if(this._currentPrereqIndex=0,this.name=t,this.prereqs=e,this.action=n,this.async=!1,this.taskStatus=r.runStatuses.UNSTARTED,this.fullName=null,this.description=null,this.args=[],this.value=s,this.namespace=null,this.parallelLimit=1,"boolean"==typeof a&&!0===a?this.async=!0:(a.async&&(this.async=!0),a.parallelLimit&&(this.parallelLimit=a.parallelLimit)),Array.isArray(this.prereqs)&&-1!==this.prereqs.indexOf(this.name))throw new Error("Cannot use prereq "+this.name+" as a dependency of itself")},this.invoke=function(){jake._invocationChain.push(this),this.args=Array.prototype.slice.call(arguments),this.runPrereqs()},this.execute=function(){jake._invocationChain.push(this),this.args=Array.prototype.slice.call(arguments),this.reenable(),this.run()},this.runPrereqs=function(){if(this.prereqs&&this.prereqs.length)if(this.parallelLimit>1){var e=this;u.eachLimit(e.prereqs,e.parallelLimit,(function(n,i){var s=t(n),a=e.namespace.resolveTask(s.name)||jake.attemptRule(n,e.namespace,0)||jake.createPlaceholderFileTask(n,e.namespace);if(!a)throw new Error('Unknown task "'+n+'"');a===e&&u.setImmediate((function(){i(new Error("Cannot use prereq "+a.name+" as a dependency of itself"))})),a.taskStatus===r.runStatuses.DONE?u.setImmediate((function(){i()})):(a.once("complete",(function(){i()})),a.taskStatus===r.runStatuses.UNSTARTED&&(a.taskStatus=r.runStatuses.STARTED,a.invoke.apply(a,s.args)))}),(function(t){if(t)throw t;e.run()}))}else this.nextPrereq();else this.run()},this.nextPrereq=function(){var e,n,i=this,s=this._currentPrereqIndex,a=this.prereqs[s];if(a){if(n=t(a),!(e=this.namespace.resolveTask(n.name)||jake.attemptRule(a,this.namespace,0)||jake.createPlaceholderFileTask(a,this.namespace)))throw new Error('Unknown task "'+a+'"');e.taskStatus===r.runStatuses.DONE?i.handlePrereqComplete(e):(e.once("complete",(function(){i.handlePrereqComplete(e)})),e.taskStatus===r.runStatuses.UNSTARTED&&(e.taskStatus=r.runStatuses.STARTED,e.invoke.apply(e,n.args)))}},this.reenable=function(t){var e,n;if(this.taskStatus=r.runStatuses.UNSTARTED,this.value=s,t&&this.prereqs)for(var i=0,a=(e=this.prereqs).length;i<a;i++)(n=jake.Task[e[i]])&&n.reenable(t)},this.handlePrereqComplete=function(t){var e=this;this._currentPrereqIndex++,this._currentPrereqIndex<this.prereqs.length?setImmediate((function(){e.nextPrereq()})):this.run()},this.isNeeded=function(){return this.taskStatus!==r.runStatuses.DONE&&"function"==typeof this.action},this.run=function(){var t,e=this.isNeeded();if(e){this.emit("start");try{"object"==typeof(t=this.action.apply(this,this.args))&&"function"==typeof t.then&&(this.async=!0,t.then((function(t){setImmediate((function(){complete(t)}))}),(function(t){setImmediate((function(){fail(t)}))})))}catch(t){return void this.emit("error",t)}}else this.emit("skip");e&&this.async||this.complete(t)},this.complete=function(t){jake._invocationChain.splice(jake._invocationChain.indexOf(this),1),this._currentPrereqIndex=0,this.taskStatus=r.runStatuses.DONE,void 0!==t&&(this.value=t),this.emit("complete",this.value)}},c.mixin(r.prototype,i),r.getBaseNamespacePath=function(t){return t.split(":").slice(0,-1).join(":")},r.getBaseTaskName=function(t){return t.split(":").pop()},r.runStatuses={UNSTARTED:"unstarted",DONE:"done",STARTED:"started"},e.i=r,n(5997)},9099:(t,e,n)=>{var r=n(1017),i=(n(7147),n(2081).exec,process.cwd()),s=function(){var t=this,e=Array.prototype.slice.call(arguments),n=e.shift(),s=e.pop(),a=e.pop()||[];this.testName="test",this.testFiles=new jake.FileList,this.showDescription=!0,this.totalTests=0,this.executedTests=0,"function"==typeof s&&s.call(this),this.showDescription&&desc("Run the tests for "+n),task(this.testName,a,{async:!0},(function(){var t=jake.Task[this.fullName+":run"];t.on("complete",(function(){complete()})),t.invoke.apply(t,arguments)})),namespace(t.testName,(function(){task("run",{async:!0},(function(e){var n,s;jake.currentNamespace=jake.defaultNamespace,n=new RegExp(e),s=t.testFiles.toArray().filter((function(t){return n.test(t)})).reduce((function(t,e){return t.indexOf(e)<0&&t.push(e),t}),[]),namespace(t.testName+"Exec",(function(){var e,n=[],a=function(){complete()},o=function(e,n){var r=!!n.length;task(e,c(e,n),{async:r}).once("complete",(function(){t.executedTests++}))},c=function(t,e){return function(){var n;return e.length&&(n=a),"before"==t||"after"==t||/_beforeEach$/.test(t)||/_afterEach$/.test(t)||(0===t.toLowerCase().indexOf("test")?t:"test "+t,jake.logger.log(t)),e.call(this,n)}};s.forEach((function(e){var s=require(r.join(i,e));namespace(e,(function(){var r,i=t.testName+"Exec:"+e+":";for(var a in r="*** Running "+e+" ***",n.push(i+r),o(r,(function(){})),"function"==typeof s.before&&(n.push(i+"before"),o("before",s.before)),s)"before"!=a&&"after"!=a&&"beforeEach"!=a&&"afterEach"!=a&&("function"==typeof s.beforeEach&&(n.push(i+a+"_beforeEach"),o(a+"_beforeEach",s.beforeEach)),n.push(i+a),o(a,s[a]),"function"==typeof s.afterEach&&(n.push(i+a+"_afterEach"),o(a+"_afterEach",s.afterEach)));"function"==typeof s.after&&(n.push(i+"after"),o("after",s.after))}))})),t.totalTests=n.length,process.on("exit",(function(){if(!jake.errorCode&&t.totalTests>t.executedTests)throw new Error("Process exited without all tests completing.")})),(e=task("__top__",n)).addListener("complete",(function(){jake.logger.log("All tests ran successfully"),complete()})),e.invoke()}))}))}))};jake.TestTask=s,e._=s},5462:(t,e,n)=>{var r,i=n(3837),s=(n(2081).exec,n(2081).spawn),a=n(2361).EventEmitter,o=n(5538),c=n(6375),u=function(t){var e,n,r,i,s={interactive:!1,printStdout:!1,printStderr:!1,breakOnError:!0};for(r="string"==typeof(r=(e=Array.prototype.slice.call(t)).shift())?[r]:r.slice();n=e.shift();)"function"==typeof n?i=n:"object"==typeof n&&o.mixin(s,n);return void 0!==s.stdout&&(s.printStdout=s.stdout,delete s.stdout),void 0!==s.stderr&&(s.printStderr=s.stderr,delete s.stderr),{cmds:r,opts:s,callback:i}};o.mixin(o,new function(){this.exec=function(t,e,n){var i=u(arguments),s=i.cmds,a=i.opts,o=i.callback,c=new r(s,a,o);return c.addListener("error",(function(t,e){a.breakOnError&&fail(t,e)})),c.run(),c},this.createExec=function(t,e,n){return new r(t,e,n)}}),r=function(){var t=u(arguments),e=t.cmds,n=t.opts,r=t.callback;this._cmds=e,this._callback=r,this._config=n},i.inherits(r,a),o.mixin(r.prototype,new function(){var t=function(){var e,n,r,i,a=this,c=this._cmds.shift(),u=this._config,l="";if(c){var f={};this.emit("cmdStart",c),"win32"==process.platform?(n="cmd",r=["/c",c],u.windowsVerbatimArguments&&(f.windowsVerbatimArguments=!0)):(n="/bin/sh",r=["-c",c]),u.interactive?(f.stdio="inherit",e=s(n,r,f)):(i=[process.stdin],u.printStdout?i.push(process.stdout):i.push("pipe"),u.printStderr?i.push(process.stderr):i.push("pipe"),f.stdio=i,e=s(n,r,f),u.printStdout||e.stdout.addListener("data",(function(t){a.emit("stdout",t)})),u.printStderr||e.stderr.addListener("data",(function(t){var e=t.toString();a.emit("stderr",t),l+=e}))),e.on("exit",(function(e){var n;0!==e&&(n=l||"Process exited with error.",n=o.string.trim(n),a.emit("error",n,e)),0!==e&&u.breakOnError||(a.emit("cmdEnd",c),setTimeout((function(){t.call(a)}),0))}))}else a.emit("end"),"function"==typeof a._callback&&a._callback()};this.append=function(t){this._cmds.push(t)},this.run=function(){t.call(this)}}),o.Exec=r,o.logger=c,t.exports=o},6375:(t,e,n)=>{var r=n(3837),i=new function(){var t=function(t,e){var n;"undefined"!=typeof jake&&jake.program&&jake.program.opts&&jake.program.opts.quiet||(n="string"==typeof e?e:r.inspect(e),console[t](n))};this.log=function(e){t("log",e)},this.error=function(e){t("error",e)}};t.exports=i},9984:(t,e,n)=>{var r=n(7147),i=n(6817).m,s=5e3,a=function(){var t,e,n,r,o=this,c=Array.prototype.slice.call(arguments),u=(new Date).getTime()-s;for(c=c.filter((function(t){return!!t}));t=c.shift();)"string"==typeof t?r=t:"object"==typeof t&&Array.isArray(t)?n=t:"function"==typeof t&&(e=t);if(!n||!n.length)throw new Error("Watch task needs some tasks to run");if(r=r||"watch",e=e||function(){},jake.Task[r])throw new Error('WatchTask named "'+r+'" already exists. Please use a different name.');this.watchTasks=Array.isArray(n)?n:[n],this.watchFiles=new i,this.rootTask=task("watchTasks",this.watchTasks),this.throttle=s,this.watchFiles.include(a.DEFAULT_INCLUDE_FILES),this.watchFiles.exclude(a.DEFAULT_EXCLUDE_FILES),"function"==typeof e&&e.call(this),desc("Runs these tasks: "+this.watchTasks.join(", ")),task(r,(function(){console.log("WatchTask started for: "+o.watchTasks.join(", ")),jake.watch(".",{includePattern:/.+/},(function(t){o.watchFiles.toArray().some((function(e){return e==t}))&&(new Date).getTime()-u>o.throttle&&(u=(new Date).getTime(),o.rootTask.reenable(!0),o.rootTask.invoke())}))}))};a.DEFAULT_INCLUDE_FILES=["./**/*.js","./**/*.coffee","./**/*.ls","./**/*.css","./**/*.less","./**/*.scss"],a.DEFAULT_EXCLUDE_FILES=[],r.existsSync("node_modules")&&a.DEFAULT_EXCLUDE_FILES.push(/(^|[\/\\])node_modules([\/\\]|$)/),e.X=a},8099:t=>{"use strict";var e=t.exports,n={reset:[0,0],bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]};Object.keys(n).forEach((function(t){var r=n[t],i=e[t]={};i.open="["+r[0]+"m",i.close="["+r[1]+"m"}))},5666:(t,e,n)=>{"use strict";var r,i=n(8099),s=n(6050),a=n(83),o=Object.defineProperties,c=t.exports,u=(r={},i.grey=i.gray,Object.keys(i).forEach((function(t){r[t]={get:function(){return this._styles.push(t),this}}})),r);o(c,function(){var t={};return Object.keys(u).forEach((function(e){t[e]={get:function(){var t=o((function t(){var e=[].slice.call(arguments).join(" ");return c.enabled?t._styles.reduce((function(t,e){var n=i[e];return t?n.open+t+n.close:""}),e):e}),u);return t._styles=[],t[e]}}})),t}()),c.styles=i,c.stripColor=s,c.supportsColor=a,void 0===c.enabled&&(c.enabled=c.supportsColor)},6050:t=>{"use strict";t.exports=function(t){return"string"==typeof t?t.replace(/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]/g,""):t}},3973:(t,e,n)=>{t.exports=h,h.Minimatch=p;var r=function(){try{return n(1017)}catch(t){}}()||{sep:"/"};h.sep=r.sep;var i=h.GLOBSTAR=p.GLOBSTAR={},s=n(3717),a={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},o="[^/]",c="[^/]*?",u="().*{}+?[]^$\\!".split("").reduce((function(t,e){return t[e]=!0,t}),{});var l=/\/+/;function f(t,e){e=e||{};var n={};return Object.keys(t).forEach((function(e){n[e]=t[e]})),Object.keys(e).forEach((function(t){n[t]=e[t]})),n}function h(t,e,n){return m(e),n||(n={}),!(!n.nocomment&&"#"===e.charAt(0))&&new p(e,n).match(t)}function p(t,e){if(!(this instanceof p))return new p(t,e);m(t),e||(e={}),t=t.trim(),e.allowWindowsEscape||"/"===r.sep||(t=t.split(r.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}function d(t,e){return e||(e=this instanceof p?this.options:{}),t=void 0===t?this.pattern:t,m(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:s(t)}h.filter=function(t,e){return e=e||{},function(n,r,i){return h(n,t,e)}},h.defaults=function(t){if(!t||"object"!=typeof t||!Object.keys(t).length)return h;var e=h,n=function(n,r,i){return e(n,r,f(t,i))};return(n.Minimatch=function(n,r){return new e.Minimatch(n,f(t,r))}).defaults=function(n){return e.defaults(f(t,n)).Minimatch},n.filter=function(n,r){return e.filter(n,f(t,r))},n.defaults=function(n){return e.defaults(f(t,n))},n.makeRe=function(n,r){return e.makeRe(n,f(t,r))},n.braceExpand=function(n,r){return e.braceExpand(n,f(t,r))},n.match=function(n,r,i){return e.match(n,r,f(t,i))},n},p.defaults=function(t){return h.defaults(t).Minimatch},p.prototype.debug=function(){},p.prototype.make=function(){var t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate();var n=this.globSet=this.braceExpand();e.debug&&(this.debug=function(){console.error.apply(console,arguments)});this.debug(this.pattern,n),n=this.globParts=n.map((function(t){return t.split(l)})),this.debug(this.pattern,n),n=n.map((function(t,e,n){return t.map(this.parse,this)}),this),this.debug(this.pattern,n),n=n.filter((function(t){return-1===t.indexOf(!1)})),this.debug(this.pattern,n),this.set=n},p.prototype.parseNegate=function(){var t=this.pattern,e=!1,n=this.options,r=0;if(n.nonegate)return;for(var i=0,s=t.length;i<s&&"!"===t.charAt(i);i++)e=!e,r++;r&&(this.pattern=t.substr(r));this.negate=e},h.braceExpand=function(t,e){return d(t,e)},p.prototype.braceExpand=d;var m=function(t){if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")};p.prototype.parse=function(t,e){m(t);var n=this.options;if("**"===t){if(!n.noglobstar)return i;t="*"}if(""===t)return"";var r,s="",l=!!n.nocase,f=!1,h=[],p=[],d=!1,y=-1,v=-1,k="."===t.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",b=this;function x(){if(r){switch(r){case"*":s+=c,l=!0;break;case"?":s+=o,l=!0;break;default:s+="\\"+r}b.debug("clearStateChar %j %j",r,s),r=!1}}for(var w,E=0,S=t.length;E<S&&(w=t.charAt(E));E++)if(this.debug("%s\t%s %s %j",t,E,s,w),f&&u[w])s+="\\"+w,f=!1;else switch(w){case"/":return!1;case"\\":x(),f=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",t,E,s,w),d){this.debug(" in class"),"!"===w&&E===v+1&&(w="^"),s+=w;continue}b.debug("call clearStateChar %j",r),x(),r=w,n.noext&&x();continue;case"(":if(d){s+="(";continue}if(!r){s+="\\(";continue}h.push({type:r,start:E-1,reStart:s.length,open:a[r].open,close:a[r].close}),s+="!"===r?"(?:(?!(?:":"(?:",this.debug("plType %j %j",r,s),r=!1;continue;case")":if(d||!h.length){s+="\\)";continue}x(),l=!0;var j=h.pop();s+=j.close,"!"===j.type&&p.push(j),j.reEnd=s.length;continue;case"|":if(d||!h.length||f){s+="\\|",f=!1;continue}x(),s+="|";continue;case"[":if(x(),d){s+="\\"+w;continue}d=!0,v=E,y=s.length,s+=w;continue;case"]":if(E===v+1||!d){s+="\\"+w,f=!1;continue}var T=t.substring(v+1,E);try{RegExp("["+T+"]")}catch(t){var $=this.parse(T,g);s=s.substr(0,y)+"\\["+$[0]+"\\]",l=l||$[1],d=!1;continue}l=!0,d=!1,s+=w;continue;default:x(),f?f=!1:!u[w]||"^"===w&&d||(s+="\\"),s+=w}d&&(T=t.substr(v+1),$=this.parse(T,g),s=s.substr(0,y)+"\\["+$[0],l=l||$[1]);for(j=h.pop();j;j=h.pop()){var C=s.slice(j.reStart+j.open.length);this.debug("setting tail",s,j),C=C.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(t,e,n){return n||(n="\\"),e+e+n+"|"})),this.debug("tail=%j\n %s",C,C,j,s);var A="*"===j.type?c:"?"===j.type?o:"\\"+j.type;l=!0,s=s.slice(0,j.reStart)+A+"\\("+C}x(),f&&(s+="\\\\");var I=!1;switch(s.charAt(0)){case"[":case".":case"(":I=!0}for(var D=p.length-1;D>-1;D--){var N=p[D],O=s.slice(0,N.reStart),M=s.slice(N.reStart,N.reEnd-8),R=s.slice(N.reEnd-8,N.reEnd),_=s.slice(N.reEnd);R+=_;var L=O.split("(").length-1,z=_;for(E=0;E<L;E++)z=z.replace(/\)[+*?]?/,"");var F="";""===(_=z)&&e!==g&&(F="$"),s=O+M+_+F+R}""!==s&&l&&(s="(?=.)"+s);I&&(s=k+s);if(e===g)return[s,l];if(!l)return function(t){return t.replace(/\\(.)/g,"$1")}(t);var P=n.nocase?"i":"";try{var U=new RegExp("^"+s+"$",P)}catch(t){return new RegExp("$.")}return U._glob=t,U._src=s,U};var g={};h.makeRe=function(t,e){return new p(t,e||{}).makeRe()},p.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,n=e.noglobstar?c:e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=e.nocase?"i":"",s=t.map((function(t){return t.map((function(t){return t===i?n:"string"==typeof t?function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(t):t._src})).join("\\/")})).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,r)}catch(t){this.regexp=!1}return this.regexp},h.match=function(t,e,n){var r=new p(e,n=n||{});return t=t.filter((function(t){return r.match(t)})),r.options.nonull&&!t.length&&t.push(e),t},p.prototype.match=function(t,e){if(void 0===e&&(e=this.partial),this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;var n=this.options;"/"!==r.sep&&(t=t.split(r.sep).join("/")),t=t.split(l),this.debug(this.pattern,"split",t);var i,s,a=this.set;for(this.debug(this.pattern,"set",a),s=t.length-1;s>=0&&!(i=t[s]);s--);for(s=0;s<a.length;s++){var o=a[s],c=t;if(n.matchBase&&1===o.length&&(c=[i]),this.matchOne(c,o,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate},p.prototype.matchOne=function(t,e,n){var r=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var s=0,a=0,o=t.length,c=e.length;s<o&&a<c;s++,a++){this.debug("matchOne loop");var u,l=e[a],f=t[s];if(this.debug(e,l,f),!1===l)return!1;if(l===i){this.debug("GLOBSTAR",[e,l,f]);var h=s,p=a+1;if(p===c){for(this.debug("** at the end");s<o;s++)if("."===t[s]||".."===t[s]||!r.dot&&"."===t[s].charAt(0))return!1;return!0}for(;h<o;){var d=t[h];if(this.debug("\nglobstar while",t,h,e,p,d),this.matchOne(t.slice(h),e.slice(p),n))return this.debug("globstar found match!",h,o,d),!0;if("."===d||".."===d||!r.dot&&"."===d.charAt(0)){this.debug("dot detected!",t,h,e,p);break}this.debug("globstar swallow a segment, and continue"),h++}return!(!n||(this.debug("\n>>> no match, partial?",t,h,e,p),h!==o))}if("string"==typeof l?(u=f===l,this.debug("string match",l,f,u)):(u=f.match(l),this.debug("pattern match",l,f,u)),!u)return!1}if(s===o&&a===c)return!0;if(s===o)return n;if(a===c)return s===o-1&&""===t[s];throw new Error("wtf?")}},2544:t=>{var e=new function(){this.humanize=function(t){var e=t.slice();if(e.length<=1)return String(e);var n=e.pop();return e.join(", ")+" and "+n},this.included=function(t,e){return-1!==e.indexOf(t)&&e},this.include=function(t,e){var n=-1;if("function"==typeof t.indexOf)n=t.indexOf(e);else for(var r=0,i=t.length;r<i;r++)if(t[r]==e){n=r;break}return n>-1}};t.exports=e},8647:t=>{var e={execNonBlocking:function(t){"undefined"!=typeof process&&"function"==typeof process.nextTick?process.nextTick(t):setTimeout(t,0)}};e.AsyncBase=new function(){this.init=function(t){var e;this.chain=[],this.currentItem=null,this.shortCircuited=!1,this.shortCircuitedArgs=void 0,this.aborted=!1;for(var n=0;n<t.length;n++)e=t[n],this.addItem(e)},this.addItem=function(t){this.chain.push(new e.AsyncCall(t.func,t.args||[],t.callback,t.context))},this.push=this.addItem,this.runItem=function(t){this.currentItem=t;var e=this,n=t.args.concat((function(){e.execCallback.apply(e,arguments)}));t.func.apply(t.context,n)},this.next=function(){this.chain.length?this.runItem(this.chain.shift()):this.last()},this.execCallback=function(){var t=this.currentItem.callback;if(t&&"function"==typeof t&&(t.chain=this,t.apply(this.currentItem.context,arguments)),this.currentItem.finished=!0,this.shortCircuited)this.last.apply(null,this.shortCircuitedArgs);else{if(this.aborted)return;var n=this;e.execNonBlocking((function(){n.next.call(n)}))}},this.shortCircuit=function(){this.shortCircuitedArgs=arguments,this.shortCircuited=!0},this.abort=function(){this.aborted=!0},this.run=this.next,this.last=function(){}},e.AsyncChain=function(t){this.init(t)},e.AsyncChain.prototype=e.AsyncBase,e.AsyncGroup=function(t){var n;this.group=[],this.outstandingCount=0;for(var r=0;r<t.length;r++)n=t[r],this.group.push(new e.AsyncCall(n.func,n.args,n.callback,n.context)),this.outstandingCount++},e.AsyncGroup.prototype=new function(){this.run=function(){for(var t,n=this,r=this.group,i=function(t,e){return function(){t.func.apply(t.context,e)}},s=function(t){return function(){t.callback&&t.callback.apply(null,arguments),n.finish.call(n)}},a=0;a<r.length;a++)t=r[a],callback=s(t),args=t.args.concat(callback),e.execNonBlocking(i(t,args))},this.finish=function(){this.outstandingCount--,this.outstandingCount||this.last()},this.last=function(){}};var n=function(t,e){return{func:t,args:[],callback:function(){},context:e}};e.SimpleAsyncChain=function(t,e){for(var r=[],i=0,s=t.length;i<s;i++)r.push(n(t[i],e));this.init(r)},e.SimpleAsyncChain.prototype=e.AsyncBase,e.AsyncCall=function(t,e,n,r){this.func=t,this.args=e,this.callback=n||null,this.context=r||null},e.Initializer=function(t,e){var n=this;this.steps={},this.callback=e,t.forEach((function(t){n.steps[t]=!1}))},e.Initializer.prototype=new function(){this.complete=function(t){var e=this.steps;for(var n in e[t]=!0,e)if(!e[n])return!1;this.callback()}},t.exports=e},6064:t=>{var e=new function(){var t=Object.prototype.hasOwnProperty,e=function(n,r,i,s){for(var a in r)(t.call(r,a)||s)&&(!i||"object"!=typeof r[a]||null===r[a]||r[a]instanceof Array?n[a]=r[a]:(null==n[a]&&(n[a]={}),e(n[a],r[a],i,s)))};this.mixin=function(){var t,n,r=Array.prototype.slice.apply(arguments),i=!1;r.length>2&&"boolean"==typeof r[r.length-1]&&(i=r.pop()),t=r.shift();for(var s=0,a=(n=r).length;s<a;s++)e(t,n[s],i);return t},this.enhance=function(){var t,n,r=Array.prototype.slice.apply(arguments),i=!1;r.length>2&&"boolean"==typeof r[r.length-1]&&(i=r.pop()),t=r.shift();for(var s=0,a=(n=r).length;s<a;s++)e(t,n[s],i,!0);return t},this.isEmpty=function(t){return""===t||null==t||(!("number"!=typeof t||!isNaN(t))||!!(t instanceof Date&&isNaN(t.getTime())))},this.bind=function(){var t=Array.prototype.slice.call(arguments),e=t.shift(),n=t.shift();return"function"==typeof n?"function"==typeof Function.bind?n.bind.apply(e,t):n.apply(e,t):n}};t.exports=e},4120:(t,e,n)=>{var r,i=n(2648);n(4962);r=new function(){var t=this,e=new Date,n=/^(\d{1,2})(?:\-|\/|\.)(\d{1,2})(?:\-|\/|\.)(\d{4})/,s=/^(\d{4})(?:\-|\/|\.)(\d{1,2})(?:\-|\/|\.)(\d{1,2})(?:T| )?(\d{2})?(?::)?(\d{2})?(?::)?(\d{2})?(?:\.)?(\d+)?(?: *)?(Z|[+-]\d{4}|[+-]\d{2}:\d{2}|[+-]\d{2})?/,a=/^(\d{1,2})?(?::)?(\d{2})?(?::)?(\d{2})?(?:\.)?(\d+)?$/,o=["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"];this.weekdayLong=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],this.weekdayShort=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],this.monthLong=["January","February","March","April","May","June","July","August","September","October","November","December"],this.monthShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],this.meridiem={AM:"AM",PM:"PM"},this.meridian=this.meridiem,this.supportedFormats={a:function(e){return t.weekdayShort[e.getDay()]},A:function(e){return t.weekdayLong[e.getDay()]},b:function(e){return t.monthShort[e.getMonth()]},h:function(e){return t.strftime(e,"%b")},B:function(e){return t.monthLong[e.getMonth()]},c:function(e){return t.strftime(e,"%a %b %d %T %Y")},C:function(e){return t.calcCentury(e.getFullYear())},d:function(t){return i.lpad(t.getDate(),"0",2)},D:function(e){return t.strftime(e,"%m/%d/%y")},e:function(t){return i.lpad(t.getDate()," ",2)},f:function(){return t.strftimeNotImplemented("f")},F:function(e){return t.strftime(e,"%Y-%m-%d")},g:function(){return t.strftimeNotImplemented("g")},G:function(){return t.strftimeNotImplemented("G")},H:function(t){return i.lpad(t.getHours(),"0",2)},I:function(e){return i.lpad(t.hrMil2Std(e.getHours()),"0",2)},j:function(e){return i.lpad(t.calcDays(e),"0",3)},k:function(t){return i.lpad(t.getHours()," ",2)},l:function(e){return i.lpad(t.hrMil2Std(e.getHours())," ",2)},m:function(t){return i.lpad(t.getMonth()+1,"0",2)},M:function(t){return i.lpad(t.getMinutes(),"0",2)},n:function(){return"\n"},p:function(e){return t.getMeridian(e.getHours())},r:function(e){return t.strftime(e,"%I:%M:%S %p")},R:function(e){return t.strftime(e,"%H:%M")},S:function(t){return i.lpad(t.getSeconds(),"0",2)},t:function(){return"\t"},T:function(e){return t.strftime(e,"%H:%M:%S")},u:function(e){return t.convertOneBase(e.getDay())},U:function(){return t.strftimeNotImplemented("U")},V:function(){return t.strftimeNotImplemented("V")},W:function(){return t.strftimeNotImplemented("W")},w:function(t){return t.getDay()},x:function(e){return t.strftime(e,"%D")},X:function(e){return t.strftime(e,"%T")},y:function(e){return t.getTwoDigitYear(e.getFullYear())},Y:function(t){return i.lpad(t.getFullYear(),"0",4)},z:function(){return t.strftimeNotImplemented("z")},Z:function(){return t.strftimeNotImplemented("Z")},"%":function(t){return"%"}},this.getSupportedFormats=function(){var t="";for(var e in this.supportedFormats)t+=e;return t},this.supportedFormatsPat=new RegExp("%["+this.getSupportedFormats()+"]{1}","g"),this.strftime=function(t,e){if(!t)return"";var n,r,i=[],s=[],a=e;for(n="number"==typeof t?new Date(t):t;i=this.supportedFormatsPat.exec(e);)s.push(i[0]);for(var o=0;o<s.length;o++)r=s[o].replace(/%/,""),a=a.replace("%"+r,this.supportedFormats[r](n));return a},this.strftimeNotImplemented=function(t){throw'this.strftime format "'+t+'" not implemented.'},this.calcCentury=function(t){t||(t=e.getFullYear());var n=parseInt(t/100+1);return"00"===(t=t.toString()).substring(t.length-2)&&n--,n.toString()},this.calcDays=function(t){var e,n=new Date(t.getFullYear(),0,1);return n=n.getTime(),e=t.getTime()-n,parseInt(e/1e3/60/60/24)+1},this.convertOneBase=function(t){return 0==t?7:t},this.getTwoDigitYear=function(t){var e=(t+1e3).toString();return e=e.substr(2)},this.getMeridiem=function(t){return t>11?this.meridiem.PM:this.meridiem.AM},this.getMeridian=this.getMeridiem,this.hrMil2Std=function(t){var e="number"==typeof t?t:parseInt(t),n=e>12?e-12:e;return n=0==n?12:n},this.hrStd2Mil=function(t,e){var n="number"==typeof t?t:parseInt(t);return e?n<12?n+12:n:12==n?0:n};var c={YEAR:"year",MONTH:"month",DAY:"day",HOUR:"hour",MINUTE:"minute",SECOND:"second",MILLISECOND:"millisecond",QUARTER:"quarter",WEEK:"week",WEEKDAY:"weekday"},u={};for(var l in c)u[c[l]]=c[l],u[c[l]+"s"]=c[l];this.dateParts=c,this.add=function(t,e,n){function r(){s.getDate()<t.getDate()&&s.setDate(0)}"number"==typeof t&&(t=new Date(t));var i=u[e],s=new Date(t);switch(i){case c.YEAR:s.setFullYear(t.getFullYear()+n),r();break;case c.QUARTER:n*=3;case c.MONTH:s.setMonth(t.getMonth()+n),r();break;case c.WEEK:n*=7;case c.DAY:s.setDate(t.getDate()+n);break;case c.WEEKDAY:var a,o,l=t.getDate(),f=0,h=0,p=0,d=n%5;0==d?(h=n>0?5:-5,f=n>0?(n-5)/5:(n+5)/5):(h=d,f=parseInt(n/5)),6==(a=t.getDay())&&n>0?p=1:0==a&&n<0&&(p=-1),0!=(o=a+h)&&6!=o||(p=n>0?2:-2),s.setDate(l+7*f+h+p);break;case c.HOUR:s.setHours(s.getHours()+n);break;case c.MINUTE:s.setMinutes(s.getMinutes()+n);break;case c.SECOND:s.setSeconds(s.getSeconds()+n);break;case c.MILLISECOND:s.setMilliseconds(s.getMilliseconds()+n)}return s},this.diff=function(t,e,n){"number"==typeof t&&(t=new Date(t)),"number"==typeof e&&(e=new Date(e));var r=e.getFullYear()-t.getFullYear(),i=e.getMonth()-t.getMonth()+12*r,s=e.getTime()-t.getTime(),a=s/1e3,o=a/60,l=o/60,f=l/24,h=f/7,p=0;switch(u[n]){case c.YEAR:p=r;break;case c.QUARTER:var d=t.getMonth(),m=e.getMonth(),g=Math.floor(d/3)+1,y=Math.floor(m/3)+1;p=(y+=4*r)-g;break;case c.MONTH:p=i;break;case c.WEEK:p=parseInt(h);break;case c.DAY:p=f;break;case c.WEEKDAY:var v=Math.round(f),k=parseInt(v/7),b=v%7;if(0==b)v=5*k;else{var x=0,w=t.getDay(),E=e.getDay();k=parseInt(v/7),b=v%7;var S=new Date(t);S.setDate(S.getDate()+7*k);var j=S.getDay();if(f>0)switch(!0){case 6==w:x=-1;break;case 0==w:x=0;break;case 6==E:x=-1;break;case 0==E:case j+b>5:x=-2}else if(f<0)switch(!0){case 6==w:x=0;break;case 0==w:x=1;break;case 6==E:x=2;break;case 0==E:x=1;break;case j+b<0:x=2}v+=x,v-=2*k}p=v;break;case c.HOUR:p=l;break;case c.MINUTE:p=o;break;case c.SECOND:p=a;break;case c.MILLISECOND:p=s}return Math.round(p)},this.parse=function(t,e){var r,i,c,u,l,f,h,p,d,m,g,y=e||{};if(t instanceof Date||"function"==typeof t.getFullYear)r=t;else if("number"==typeof t)r=new Date(t);else if((g=t)&&"object"==typeof g&&"number"==typeof g.length&&"function"==typeof g.splice&&!g.propertyIsEnumerable("length")?((i=t).unshift(null),i[8]=null):"string"==typeof t&&((i=t.match(s))||(i=t.match(n))&&((c=[i[0],i[3],i[1],i[2]])[8]=null,i=c),i||(i=t.match(a))&&(i=c=[i[0],0,1,0,i[1],i[2],i[3],i[4],null])),i)if(i.shift(),(u=i.pop())&&("Z"==u?(!0,p=0):(!1,u=u.replace(/:/g,""),0===parseInt(u,10)?!0:(l=0===u.indexOf("+"),u=u.substr(1),f=parseInt(u.substr(0,2),10),h=(h=u.substr(2,2))?parseInt(h,10):0,p=(p=u.substr(4,2))?parseInt(p,10):0,p+=60*h,p+=60*f*60,l||(p=0-p)))),r=new Date(0),i[1]=parseInt(i[1],10)-1,u){for(var v=i.length-1;v>-1;v--)d=parseInt(i[v],10)||0,r["setUTC"+o[v]](d);r.setSeconds(r.getSeconds()-p)}else{var k;for(v=i.length-1;v>-1;v--)i[v]?(d=parseInt(i[v],10),void 0===k&&(k=v)):d=0,r["set"+o[v]](d);if(y.setMax){v=k+1;for(var b=i.length;v<b;v++)switch(v){case 3:r["set"+o[v]](23);break;case 4:case 5:r["set"+o[v]](59);break;case 6:r.setMilliseconds(999)}}}else m=Date.parse(t),isNaN(m)||(r=new Date(m));return r||null},this.relativeTime=function(t,e){var n,i,s=e||{},a=s.now||new Date,o=s.abbreviated||!1,c=s.format||"%F %T",u=(a.getTime()-t.getTime())/1e3,l=3600,f=86400;switch(!0){case u<60:n=o?"<1m":"less than a minute ago";break;case u<120:n=o?"1m":"about a minute ago";break;case u<2700:i=parseInt(u/60,10),n=o?i+"m":i+" minutes ago";break;case u<7200:n=o?"1h":"about an hour ago";break;case u<86400:i=parseInt(u/l,10),n=o?i+"h":"about "+i+" hours ago";break;case u<2*f:n=o?"1d":"one day ago";break;case u<7*f:i=parseInt(u/f,10),n=o?i+"d":"about "+i+" days ago";break;case u<950400:n=o?"1w":"one week ago";break;case u<2592e3:i=Math.round(u/604800),n=o?i+"w":"about "+i+" weeks ago";break;default:n=r.strftime(t,c)}return n};this.toISO8601=function(t,e){var n,r,s=e||{},a=t.getTimezoneOffset(),o=this.strftime(t,"%F")+"T"+this.strftime(t,"%T")+"."+i.lpad(t.getMilliseconds(),"0",3);return s.tz&&(a&&!s.utc?(o+=a>0?"-":"+",n=parseInt(a/60,10),o+=i.lpad(n,"0",2),(r=a%60)&&(o+=i.lpad(r,"0",2))):o+="Z"),o},this.toIso8601=this.toISO8601,this.toUTC=function(t){return new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds())}},t.exports=r},2248:t=>{var e=function(t,e){var n=this;this.events=e||["data","end","error","close","fd","drain","pipe"],this.emitter=t,this.eventBuffer=[],this.outlet=null,this.events.forEach((function(t){n.emitter.addListener(t,(function(){n.proxyEmit(t,arguments)}))}))};(e.prototype=new function(){this.proxyEmit=function(t,e){this.outlet?this.emit(t,e):this.eventBuffer.push({name:t,args:e})},this.emit=function(t,e){var n=this.outlet;Array.prototype.splice.call(e,0,0,t),n.emit.apply(n,e)},this.sync=function(t){var e,n=this.eventBuffer;for(this.outlet=t;e=n.shift();)this.emit(e.name,e.args)}}).constructor=e,t.exports.X=e},842:(t,e,n)=>{var r=n(7147),i=n(1017),s=/\.(js|coffee|css|less|scss)$/,a=/\.git|node_modules/,o=new function(){var t;try{t=n(4962)}catch(e){t=console}this.log=function(e){t.log(e)}},c=new function(){var t,e,n,c;t=function(e,n,s){var a,o,c,u,l,f,h,p,d=i.normalize(e),m=i.normalize(n),g=s||{};a=r.statSync(d);try{o=r.statSync(m),c=!0}catch(t){u=t,c=!1}if(!c)throw u;if(f=g.rename||i.basename(d),a.isDirectory()){h=r.readdirSync(d),p=i.join(m,f);try{r.mkdirSync(p,4095&a.mode)}catch(t){if("EEXIST"!==t.code)throw t}for(var y=0,v=h.length;y<v;y++)t(i.join(d,h[y]),p,{preserveMode:g.preserveMode})}else{l=r.readFileSync(d);var k=4095&a.mode,b=m;o.isDirectory()&&(b=i.join(m,f));var x=r.existsSync(b);r.writeFileSync(b,l),x&&!g.preserveMode||r.chmodSync(b,k)}},e=function(t){var n,s=i.normalize(t),a=[],o=[s];try{a=r.readdirSync(s)}catch(t){throw n="Could not read path "+s+"\n",t.stack&&(n+=t.stack),new Error(n)}return a.forEach((function(t){var n=i.join(s,t);r.statSync(n).isDirectory()?o=o.concat(e(n)):o.push(n)})),o},n=function(t){var e=i.normalize(t);r.readdirSync(e).forEach((function(t){var s=i.join(e,t);if(r.lstatSync(s).isDirectory())n(s);else try{r.unlinkSync(s)}catch(t){if("EPERM"!==t.code)throw t;r.chmodSync(s,parseInt(666,8)),r.unlinkSync(s)}})),r.rmdirSync(e)},c=function(){var t,e,n,o,u,l,f=Array.prototype.slice.call(arguments);t=f.shift(),n=f.pop(),e=f.pop()||{},o=e.includePattern||s,u=e.excludePattern||a,e.level=e.level||1,l=function(t){u.test(t)||r.watch(t,(function(e,r){o.test(r)&&!u.test(r)&&n(i.join(t,r))}))},r.stat(t,(function(s,a){if(s)return!1;a.isFile()&&1==e.level?(l(t),e.level++):a.isDirectory()&&(l(t),e.level++,r.readdir(t,(function(r,s){if(r)return log.fatal(r);for(var a in s)c(i.join(t,s[a]),e,n)})))}))},this.cpR=function(e,n,s){var a,c,u,l=i.normalize(e),f=i.normalize(n),h=s||{};if(h.silent||o.log("cp -r "+e+" "+n),l==f)throw new Error("Cannot copy "+l+" to itself.");try{a=r.statSync(f)}catch(t){c=t,this.isAbsolute(f)||(f=i.join(process.cwd(),f)),u=i.basename(f),f=i.dirname(f);try{a=r.statSync(f)}catch(t){}if(!a||!a.isDirectory())throw c;h.rename=u}t(l,f,h)},this.mkdirP=function(t,e){var n,s=i.normalize(t).split(/\/|\\/),a="";for((""==s[0]||/^[A-Za-z]+:/.test(s[0]))&&(a=s.shift()||"/",a=i.join(a,s.shift()));n=s.shift();)if(".."!=n){a=i.join(a,n);try{r.mkdirSync(a,e||parseInt(755,8))}catch(t){if("EEXIST"!=t.code)throw t}}else a=i.join(a,n)},this.readdirR=function(t,n){var r,i=(n||{}).format||"array";return r=e(t),"string"==i?r.join("\n"):r},this.rmRf=function(t,e){(e||{}).silent||o.log("rm -rf "+t);try{r.lstatSync(t).isDirectory()?n(t):r.unlinkSync(t)}catch(t){}},this.isAbsolute=function(t){var e=/^[A-Za-z]+:\\|^\//.exec(t);return!(!e||!e.length)&&e[0]},this.absolutize=function(t){return this.isAbsolute(t)?t:i.join(process.cwd(),t)},this.basedir=function(t){var e,n,r="",i=0,s=t||"";if(0==s.indexOf("*")||0==s.indexOf("**"))return".";/(?:^|\/|\\)\.\.$/.test(s.slice(-3))&&(s+="/");for(var a=0,o=(e=s.split(/\\|\//)).length-1;a<o&&!((n=e[a]).indexOf("*")>-1||n.indexOf("**")>-1);a++)r+=n+s[(i+=n.length+1)-1];return r||(r="."),"\\"!=r&&"/"!=r&&(r=r.replace(/\\$|\/$/,"")),r},this.searchParentPath=function(t,e,n){"function"!=typeof e||n||(n=e,e=process.cwd());var r=e||process.cwd();if(t)for(var s,a="",o=5;--o>=0;){if(s=i.join(r,a,t),this.existsSync(s)){n&&n(void 0,s);break}if(0===o){n&&n(new Error('Path "'+s+'" not found'),void 0);break}a+="../",process.chdir(i.join(r,a))}},this.watch=function(){c.apply(this,arguments)},this.exists="function"==typeof r.exists?r.exists:i.exists,this.existsSync="function"==typeof r.existsSync?r.existsSync:i.existsSync,this.requireLocal=function(t,e){var n;try{n=require(i.join(process.cwd(),"node_modules",t))}catch(n){if(e)throw new Error(e);throw new Error('Module "'+t+'" could not be found as a local module. Please install it by doing "npm install '+t+'"')}return n}};t.exports=c},5343:(t,e,n)=>{var r,i=n(6064);(r=new function(){var t="en-us",e={};this.getText=function(n,r,i){var s=e[i||t]||{},a=e[t]||{},o=s[n]||a[n]||"[["+n+"]]";for(var c in r)o=o.replace(new RegExp("\\{"+c+"\\}","g"),r[c]);return o},this.getDefaultLocale=function(){return t},this.setDefaultLocale=function(e){t=e},this.loadLocale=function(t,n){e[t]=e[t]||{},i.mixin(e[t],n)}}).I18n=function(t){var e=t||r.getDefaultLocale();this.getLocale=function(t){return e},this.setLocale=function(t){e=t},this.getText=function(t,n,i){return r.getText(t,n||{},i||e)},this.t=this.getText},t.exports=r},5538:(t,e,n)=>{var r={},i=n(6064),s=n(2648),a=n(842),o=n(8647),c=n(5343),u=n(362),l=n(2544),f=n(4629),h=n(4120),p=n(8503),d=n(4962),m=n(9961),g=n(6774),y=n(2248).X,v=n(2097).h,k=n(4575).U;i.mixin(r,i),r.string=s,r.file=a,r.async=o,r.i18n=c,r.uri=u,r.array=l,r.object=f,r.date=h,r.request=p,r.log=d,r.network=m,r.inflection=g,r.SortedCollection=k,r.EventBuffer=y,r.XML=v,t.exports=r},6774:t=>{var e=new function(){this.inflections={plurals:[],singulars:[],uncountables:[]};var t,e,n,r,i,s=this;t=function(t,e,n){s.inflections[t].unshift([e,n])},n=function(e,n){t("singulars",e,n)},i=function(t,r){t.substr(0,1).toUpperCase()==r.substr(0,1).toUpperCase()?(e(new RegExp("("+t.substr(0,1)+")"+t.substr(1)+"$","i"),"$1"+r.substr(1)),e(new RegExp("("+r.substr(0,1)+")"+r.substr(1)+"$","i"),"$1"+r.substr(1)),n(new RegExp("("+r.substr(0,1)+")"+r.substr(1)+"$","i"),"$1"+t.substr(1))):(e(new RegExp(t.substr(0,1).toUpperCase()+t.substr(1)+"$"),r.substr(0,1).toUpperCase()+r.substr(1)),e(new RegExp(t.substr(0,1).toLowerCase()+t.substr(1)+"$"),r.substr(0,1).toLowerCase()+r.substr(1)),e(new RegExp(r.substr(0,1).toUpperCase()+r.substr(1)+"$"),r.substr(0,1).toUpperCase()+r.substr(1)),e(new RegExp(r.substr(0,1).toLowerCase()+r.substr(1)+"$"),r.substr(0,1).toLowerCase()+r.substr(1)),n(new RegExp(r.substr(0,1).toUpperCase()+r.substr(1)+"$"),t.substr(0,1).toUpperCase()+t.substr(1)),n(new RegExp(r.substr(0,1).toLowerCase()+r.substr(1)+"$"),t.substr(0,1).toLowerCase()+t.substr(1)))},r=function(t){s.inflections.uncountables[t]=!0},(e=function(e,n){t("plurals",e,n)})(/$/,"s"),e(/s$/i,"s"),e(/(ax|test)is$/i,"$1es"),e(/(octop|vir)us$/i,"$1i"),e(/(octop|vir)i$/i,"$1i"),e(/(alias|status)$/i,"$1es"),e(/(bu)s$/i,"$1ses"),e(/(buffal|tomat)o$/i,"$1oes"),e(/([ti])a$/i,"$1a"),e(/([ti])um$/i,"$1a"),e(/sis$/i,"ses"),e(/ses$/i,"ses"),e(/(?:([^f])fe|([lr])f)$/i,"$1$2ves"),e(/(hive)$/i,"$1s"),e(/([^aeiouy]|qu)y$/i,"$1ies"),e(/(x|ch|ss|sh)$/i,"$1es"),e(/(matr|vert|ind)(?:ix|ex)$/i,"$1ices"),e(/([m|l])ouse$/i,"$1ice"),e(/([m|l])ice$/i,"$1ice"),e(/^(ox)$/i,"$1en"),e(/^(ox)en$/i,"$1en"),e(/(quiz)$/i,"$1zes"),n(/s$/i,""),n(/ss$/i,"ss"),n(/(n)ews$/i,"$1ews"),n(/([ti])um$/i,"$1um"),n(/([ti])a$/i,"$1um"),n(/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$/i,"$1$2sis"),n(/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)sis$/i,"$1$2sis"),n(/(^analy)ses$/i,"$1sis"),n(/(^analy)sis$/i,"$1sis"),n(/([^f])ves$/i,"$1fe"),n(/(hive)s$/i,"$1"),n(/(tive)s$/i,"$1"),n(/([lr])ves$/i,"$1f"),n(/([^aeiouy]|qu)ies$/i,"$1y"),n(/(s)eries$/i,"$1eries"),n(/(m)ovies$/i,"$1ovie"),n(/(x|ch|ss|sh)es$/i,"$1"),n(/([m|l])ice$/i,"$1ouse"),n(/([m|l])ouse$/i,"$1ouse"),n(/(bus)es$/i,"$1"),n(/(bus)$/i,"$1"),n(/(o)es$/i,"$1"),n(/(shoe)s$/i,"$1"),n(/(cris|ax|test)es$/i,"$1is"),n(/(cris|ax|test)is$/i,"$1is"),n(/(octop|vir)i$/i,"$1us"),n(/(octop|vir)us$/i,"$1us"),n(/(alias|status)es$/i,"$1"),n(/(alias|status)$/i,"$1"),n(/^(ox)en/i,"$1"),n(/(vert|ind)ices$/i,"$1ex"),n(/(matr)ices$/i,"$1ix"),n(/(quiz)zes$/i,"$1"),n(/(database)s$/i,"$1"),i("person","people"),i("man","men"),i("child","children"),i("sex","sexes"),i("move","moves"),i("cow","kine"),r("equipment"),r("information"),r("rice"),r("money"),r("species"),r("series"),r("fish"),r("sheep"),r("jeans"),this.parse=function(t,e){var n=e.toLowerCase(),r=this.inflections[t];if(this.inflections.uncountables[n])return e;for(var i=-1;++i<r.length;){var s=r[i][0],a=r[i][1];if(s.test(e))return e.replace(s,a)}return e},this.pluralize=function(t){return s.parse("plurals",t)},this.singularize=function(t){return s.parse("singulars",t)}};t.exports=e},4962:(t,e,n)=>{var r,i,s,a,o,c=n(3837);s={debug:"log",log:"log",info:"info",notice:"info",warning:"warn",warn:"warn",error:"error",critical:"error",alert:"error",emergency:"error"},a=function(t){return"string"==typeof t?t:c.inspect(t)},o=function(t,e){var n=a(t);i?i[e](n):console[s[e]](n)},(r=function(t){o(t,"info")}).registerLogger=function(t){t!==r&&(i=t)},function(){for(var t in s)!function(t){s[t],r[t]=function(e){o(e,t)}}(t);r.access=r.info}(),t.exports=r},9961:(t,e,n)=>{var r,i=n(1808);r=new function(){this.isPortOpen=function(t,e,n){"function"!=typeof e||n||(n=e,e="localhost");var r,s,a=!1;(r=i.createConnection(t,e,(function(){a=!0,r.end()}))).on("error",(function(t){"ECONNREFUSED"!==t.code&&(s=t)})),r.setTimeout(400,(function(){r.end()})),r.on("close",(function(){n&&n(s,a)}))}},t.exports=r},4629:t=>{var e=new function(){this.merge=function(t,e){var n,r,i=t||{},s=e||{};for(n in s)r=s[n],i[n]="object"!=typeof r||r instanceof Array?r:this.merge(i[n],r);return i},this.reverseMerge=function(t,e){return this.merge(e,t)},this.isEmpty=function(t){for(var e in t)return!1;return!0},this.toArray=function(t){for(var e in array=[],t)array.push({key:e,value:t[e]});return array}};t.exports=e},8503:(t,e,n)=>{var r=n(3685),i=n(5687),s=n(7310),a=n(362),o=(n(4962),n(6064));t.exports=function(t,e){var n,c,u,l,f,h=t||{},p=s.parse(h.url),d="http:"==p.protocol?r:i,m=h.method&&h.method.toUpperCase()||"GET",g=o.mixin({},h.headers||{}),y=h.data;l=p.port?p.port:"http:"==p.protocol?"80":"443",c=p.pathname,"POST"==m||"PUT"==m?(y?("json"==h.dataType?("object"==typeof y&&(y=JSON.stringify(y)),g["Content-Type"]=g["Content-Type"]||g["content-type"]||"application/json"):("object"==typeof y&&(y=a.paramify(y)),g["Content-Type"]=g["Content-Type"]||g["content-type"]||"form-urlencoded"),u=Buffer.byteLength(y)):u=0,g["Content-Length"]=u,p.search&&(c+=p.search)):y&&("object"==typeof y&&(y=a.paramify(y)),p.search?(c+=p.search,c+="&"+y):c+="?"+y),f={host:p.hostname,port:l,method:m,agent:!1,path:c,headers:g},(n=d.request(f)).addListener("response",(function(t){var n="";t.addListener("data",(function(t){n+=t.toString()})),t.addListener("end",(function(){var r,i,s=t.statusCode;if(s>199&&s<300||304==s)if(n){if("application/json"==(r=t.headers["Content-Type"])||"text/json"==r||"json"==a.getFileExtension(p.pathname))try{n=JSON.parse(n)}catch(t){return e(t,null)}e(null,n)}else e(null,null);else(i=new Error(n)).statusCode=t.statusCode,e(i,null)}))})),n.addListener("error",(function(t){e(t,null)})),"POST"!=m&&"PUT"!=m||!y||n.write(y),n.end()}},4575:t=>{var e=function(t){this.count=0,this.items={},this.order=[],t&&(this.defaultValue=t)};e.prototype=new function(){this.addItem=function(t,e){if("string"!=typeof t)throw"Hash only allows string keys.";return this.setByKey(t,e)},this.getItem=function(t){return"string"==typeof t?this.getByKey(t):"number"==typeof t?this.getByIndex(t):void 0},this.setItem=function(t,e){return"string"==typeof t?this.setByKey(t,e):"number"==typeof t?this.setByIndex(t,e):void 0},this.removeItem=function(t){return"string"==typeof t?this.removeByKey(t):"number"==typeof t?this.removeByIndex(t):void 0},this.getByKey=function(t){return this.items[t]},this.setByKey=function(t,e){var n=null;return n=void 0===e?this.defaultValue:e,void 0===this.items[t]&&(this.order[this.count]=t,this.count++),this.items[t]=n,this.items[t]},this.removeByKey=function(t){if(void 0!==this.items[t]){var e=null;delete this.items[t];for(var n=0;n<this.order.length;n++)this.order[n]==t&&(e=n);return this.order.splice(e,1),this.count--,!0}return!1},this.getByIndex=function(t){return this.items[this.order[t]]},this.setByIndex=function(t,e){if(t<0||t>=this.count)throw"Index out of bounds. Hash length is "+this.count;return this.items[this.order[t]]=e,this.items[this.order[t]]},this.removeByIndex=function(t){return void 0!==this.items[this.order[t]]&&(delete this.items[this.order[t]],this.order.splice(t,1),this.count--,!0)},this.hasKey=function(t){return void 0!==this.items[t]},this.hasValue=function(t){for(var e=0;e<this.order.length;e++)if(this.items[this.order[e]]==t)return!0;return!1},this.allKeys=function(t){return this.order.join(t)},this.replaceKey=function(t,e){this.hasKey(e)&&this.removeItem(e),this.items[e]=this.items[t],delete this.items[t];for(var n=0;n<this.order.length;n++)this.order[n]==t&&(this.order[n]=e)},this.insertAtIndex=function(t,e,n){return this.order.splice(t,0,e),this.items[e]=n,this.count++,!0},this.insertAfterKey=function(t,e,n){var r=this.getPosition(t);return this.insertAtIndex(r,e,n)},this.getPosition=function(t){var e=this.order;if("function"==typeof e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]==t)return n},this.each=function(t,e){for(var n=e||{},r=this.order,i=0,s=r.length;i<s;i++){var a=r[i],o=this.items[a];n.keyOnly?t(a):n.valueOnly?t(o):t(o,a)}return!0},this.eachKey=function(t){return this.each(t,{keyOnly:!0})},this.eachValue=function(t){return this.each(t,{valueOnly:!0})},this.clone=function(){for(var t,n,r=new e,i=0;i<this.order.length;i++)t=this.order[i],n=this.items[t],r.setItem(t,n);return r},this.concat=function(t){for(var e=0;e<t.order.length;e++){var n=t.order[e],r=t.items[n];this.setItem(n,r)}},this.push=function(t,e){return this.insertAtIndex(this.count,t,e),this.count},this.pop=function(){var t=this.count-1,e=this.items[this.order[t]];return void 0!==e?(this.removeByIndex(t),e):void 0},this.unshift=function(t,e){return this.insertAtIndex(0,t,e),this.count},this.shift=function(){var t=this.items[this.order[0]];return void 0!==t?(this.removeByIndex(0),t):void 0},this.splice=function(t,e,n){if(e>0){for(var r=t+e,i=t;i<r;i++)delete this.items[this.order[i]];this.order.splice(t,e)}if(n){for(var i in n.items)this.items[i]=n.items[i];var s=n.order;s.unshift(0),s.unshift(t),this.order.splice.apply(this.order,s)}this.count=this.order.length},this.sort=function(t){for(var e=[],n=0;n<this.order.length;n++){var r=this.order[n];e[n]={key:r,val:this.items[r]}}e.sort((function(e,n){return t(e.val,n.val)})),this.order=[];for(n=0;n<e.length;n++)this.order.push(e[n].key)},this.sortByKey=function(t){this.order.sort(t)},this.reverse=function(){this.order.reverse()}},t.exports.U=e},2648:(t,e,n)=>{var r,i=n(6064),s=n(6774);r=new function(){var t,e,n=/^\s+/,a=/\s+$/,o=/^\s+|\s+$/g,c=/\n|\r|\r\n/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"},l="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");t=function(t){return function(e){var n,r,i,s=e;for(i in(null==s||!s&&isNaN(s))&&(s=""),s=s.toString(),u)n="to"==t?i:u[i],r="to"==t?u[i]:i,s=s.replace(new RegExp(n,"gm"),r);return s}},e=function(t){return function(e){var n,r="";for(n in u)r+="to"==t?n:u[n],r+="|";return r=r.substr(0,r.length-1),(r=new RegExp(r,"gm")).test(e)}},this.escapeXML=t("to"),this.unescapeXML=t("from"),this.needsEscape=e("to"),this.needsUnescape=e("from"),this.escapeRegExpChars=function(){var t=new RegExp("(\\"+["^","$","/",".","*","+","?","|","(",")","[","]","{","}","\\"].join("|\\")+")","g");return function(e){var n=e||"";return(n=String(n)).replace(t,"\\$1")}}.call(this),this.toArray=function(t){var e=t||"",n=[],r=-1;for(e=String(e);++r<e.length;)n.push(e.substr(r,1));return n},this.reverse=function(t){var e=t||"";return e=String(e),this.toArray(e).reverse().join("")},this.ltrim=function(t,e){var r=t||"",i=e?new RegExp("^"+e+"+"):n;return(r=String(r)).replace(i,"")},this.rtrim=function(t,e){var n=t||"",r=e?new RegExp(e+"+$"):a;return(n=String(n)).replace(r,"")},this.chomp=this.rtrim,this.trim=function(t,e){var n=t||"",r=e?new RegExp("^"+e+"+|"+e+"+$","g"):o;return(n=String(n)).replace(r,"")},this.chop=function(t){var e,n=t||"";return(n=String(n)).length?(e=n.indexOf("\r\n"))==n.length-2?n.substring(0,e):n.substring(0,n.length-1):""},this.lpad=function(t,e,n){var r=t||"";for(r=String(r),n=parseInt(n,10)||r.length,e=e||" ";r.length<n;)r=e+r;return r},this.rpad=function(t,e,n){var r=t||"";for(r=String(r),n=parseInt(n,10)||r.length,e=e||" ";r.length<n;)r+=e;return r},this.pad=function(t,e,n){var r=t||"";for(r=String(r),n=parseInt(n,10)||r.length,e=e||" ";r.length<n;)r=e+r+e;return r},this.truncate=function(t,e,n){var r,i,s,a,o,c,u,l,f,h,p,d=t||"";if(r=(d=String(d)).length,(i="number"==typeof e?{length:e}:e||{}).length=i.length||r,i.omission=i.omission||i.ellipsis||"...",s=i.length-i.omission.length,i.seperator){if(i.seperator instanceof RegExp){for(i.seperator.global?i.seperator=i.seperator:(o=i.seperator.ignoreCase?"i":"",c=i.seperator.multiLine?"m":"",i.seperator=new RegExp(i.seperator.source,"g"+o+c)),u=d.substring(0,s+1),l=-1,f=0;h=i.seperator.exec(u);)l=h.index,i.seperator.lastIndex=++f;a=l}else a=d.lastIndexOf(i.seperator,s);-1===a&&(a=s)}else a=s;return r<i.length?d:(p=d.substring(0,a)+i.omission,p+=n&&"function"==typeof n?n():"")},this.truncateHTML=function(t,e,n){var r=t||"",i="",s=e;if(r=String(r),"number"==typeof s){var a=s;(s={}).length=a}else s=s||{};s.once=s.once||!1;for(var o,c,u,l=/(<[^>]*>)/,f=[],h=!1,p=l.exec(r);p;)c=p.index,l.lastIndex,0!==c&&(f.push(r.substring(0,c)),r=r.slice(c)),f.push(p[0]),r=r.slice(p[0].length),p=l.exec(r);for(""!==r&&f.push(r),u=-1;++u<f.length;)switch(o=f[u],!0){case 0==o.indexOf("</"):i+=o,openTag=null;break;case 0==o.indexOf("<"):i+=o,openTag=o;break;default:s.once&&h?i+=o:(i+=this.truncate(o,s,n),h=!0)}return i},this.nl2br=function(t){var e=t||"";return(e=String(e)).replace(c,"<br />")},this.snakeize=function(){var t=/([A-Z]+)/g,e=/^_/g;return function(n,r){var i=n||"",s=r||"_",a=r?new RegExp("^"+s,"g"):e;return(i=String(i)).replace(t,s+"$1").toLowerCase().replace(a,"")}}.call(this),this.underscorize=this.snakeize,this.underscoreize=this.snakeize,this.decamelize=this.snakeize,this.camelize=function(){var t=/[-_](\w)/g;return function(e,n){var r,s=e||"",a={initialCap:!1,leadingUnderscore:!1},o=n||{};return s=String(s),"boolean"==typeof o?a={initialCap:!0}:i.mixin(a,o),r=s.replace(t,(function(t,e){return e.toUpperCase()})),a.leadingUnderscore&0===s.indexOf("_")&&(r="_"+this.decapitalize(r)),r=a.initialCap?this.capitalize(r):this.decapitalize(r)}}.call(this),this.decapitalize=function(t){var e=t||"";return(e=String(e)).substr(0,1).toLowerCase()+e.substr(1)},this.capitalize=function(t){var e=t||"";return(e=String(e)).substr(0,1).toUpperCase()+e.substr(1)},this.dasherize=function(t,e){var n=e||"-";return this.snakeize(t,n)},this.include=function(t,e){var n=e;return!(!n&&"string"!=typeof r)&&(n=String(n),t.indexOf(n)>-1)},this.getInflections=function(t){if(t){var e=this,n=this.snakeize(s.pluralize(t)),r=s.singularize(n),i=s.pluralize(n),a=this.snakeize(t);return{filename:{normal:a,singular:r,plural:i},constructor:{normal:e.camelize(a,{initialCap:!0}),singular:e.camelize(r,{initialCap:!0}),plural:e.camelize(i,{initialCap:!0})},property:{normal:e.camelize(a),singular:e.camelize(r),plural:e.camelize(i)}}}},this.getInflection=function(t,e,n){return this.getInflections(t)[e][n]},this.uuid=function(t,e){var n,r,i=l,s=[];if(e=e||i.length,t)for(r=-1;++r<t;)s[r]=i[0|Math.random()*e];else for(s[8]=s[13]=s[18]=s[23]="-",s[14]="4",r=-1;++r<36;)s[r]||(n=0|16*Math.random(),s[r]=i[19==r?3&n|8:n]);return s.join("")},this.stripTags=function(t,e){e=(((e||"")+"").toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join("");return t.replace(/<!--[\s\S]*?-->/gi,"").replace(/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,(function(t,n){return e.indexOf("<"+n.toLowerCase()+">")>-1?t:""}))}},t.exports=r},362:(t,e,n)=>{var r,i=n(2648),s=n(6064).mixin;r=new function(){var t=function(t){return t&&"object"==typeof t&&"number"==typeof t.length&&"function"==typeof t.splice&&!t.propertyIsEnumerable("length")};this.getFileExtension=function(t){var e;return t&&(e=/.+\.(\w{2,4}$)/.exec(t)),e&&e[1]||""},this.paramify=function(e,n){var r,a,o,c,u,l,f=n||{},h=[],p=f.prefix||"",d=this;function m(t){return f.prefix?p+"["+t+"]":t}for(var g in e)if(Object.prototype.hasOwnProperty.call(e,g))if(c=!(null==(o=e[g])||"number"==typeof o&&isNaN(o)),a=f.snakeize?i.snakeize(g):g,c){if(t(o)&&o.length){u=[];for(var y=0,v=o.length;y<v;y++)c=!(null==(l=o[y])||"number"==typeof l&&isNaN(l)),f.index&&"object"==typeof l?u[y]=l:(u[y]=c?encodeURIComponent(l):"",f.escapeVals&&(u[y]=i.escapeXML(u[y])));f.consolidate?h.push(m(a)+"="+u.join(",")):f.index?u.forEach((function(e,n){t(e)&&e.length?(r=s(f,{}),e.forEach((function(t,e){"object"==typeof t?(r.prefix=m(a)+"["+n+"]["+e+"]",h.push(d.paramify(t,r))):h.push(m(a)+"["+n+"]["+e+"]="+t)}))):"object"==typeof e?((r=s(f,{})).prefix=m(a)+"["+n+"]",h.push(d.paramify(e,r))):h.push(m(a)+"["+n+"]="+e)})):h.push(m(a)+"="+u.join("&"+m(a)+"="))}else"object"==typeof o?((r=s(f,{})).prefix=m(a),h.push(this.paramify(o,r))):(f.escapeVals&&(o=i.escapeXML(o)),h.push(m(a)+"="+encodeURIComponent(o)));"&"}else f.includeEmpty&&h.push(m(a)+"=");return h.join("&")},this.objectify=function(t,e){var n=e||{},r={},i=void 0===n.consolidate||n.consolidate;if(t)for(var s=t.split("&"),a=0;a<s.length;a++){var o=s[a].split("="),c=o[0],u=decodeURIComponent(o[1]||"");void 0!==r[c]&&i?("string"==typeof r[c]&&(r[c]=[r[c]]),r[c].push(u)):r[c]=u}return r}},t.exports=r},2097:(t,e,n)=>{var r=n(6064),i=n(6774);e.h=new function(){var t,e,n=4;t=function(t,e){var n,r,i;if(t instanceof Array)n="array";else for(var s=0,a=(i=["string","number","boolean","object"]).length;s<a;s++)typeof t==(r=i[s])&&(n=r);return e&&n!=e?"record":n},e=function(r,s){var a,o,c,u=s.name,l=s.level,f=s.arrayRoot,h=new Array(l*n).join(" "),p=new Array((l+1)*n).join(" "),d="";switch(typeof r){case"string":case"number":case"boolean":d=r.toString();break;case"object":if(r instanceof Array){a=[];for(var m=0,g=r.length;m<g;m++)o=r[m],u||(c=t(o,c)),a.push(e(o,{name:u,level:l+1,arrayRoot:f}));u&&(c=u),0==l&&(d+=h+"<"+i.pluralize(c)+' type="array">\n'),d+=p+"<"+c+">"+a.join("</"+c+">\n"+p+"<"+c+">")+"</"+c+">\n",0==l&&(d+=h+"</"+i.pluralize(c)+">")}else{if(c=u||"object",0==l){for(var y in d+=h+"<"+c,r)0==y.indexOf("attr:")&&(d+=" "+y.replace(/^attr:/,"")+'="'+r[y]+'"');d+=">\n"}for(var y in r)if("function"!=typeof(o=r[y])&&0!=y.indexOf("attr:"))if(d+=p,"#cdata"==y)d+="<![CDATA["+o+"]]>\n";else{if("object"==typeof o)if(o instanceof Array)f&&(d+="<"+y+' type="array">\n');else{for(var v in d+="<"+y,o)0==v.indexOf("attr:")&&(d+=" "+v.replace(/^attr:/,"")+'="'+o[v]+'"');d+=">\n"}else d+="<"+y+">";d+=e(o,{name:y,level:l+1,arrayRoot:f}),"object"==typeof o?o instanceof Array?f&&(d+=p,d+="</"+y+">\n"):(d+=p,d+="</"+y+">\n"):d+="</"+y+">\n"}0==l&&(d+=h+"</"+c+">\n")}}return d},this.config={whitespace:!0,name:null,fragment:!1,level:0,arrayRoot:!0},this.setIndentLevel=function(t){if(t)return n=t},this.stringify=function(t,i){var s=r.mixin({},this.config),a="";return r.mixin(s,i||{}),s.whitespace||(n=0),s.fragment||(a+='<?xml version="1.0" encoding="UTF-8"?>\n'),a+=e(t,{name:s.name,level:s.level,arrayRoot:s.arrayRoot}),s.whitespace||(a=a.replace(/>\n/g,">")),a}}},8066:module=>{module.exports=eval("require")("LiveScript")},8188:module=>{module.exports=eval("require")("coffee-script")},6134:module=>{module.exports=eval("require")("livescript")},2081:t=>{"use strict";t.exports=require("child_process")},2361:t=>{"use strict";t.exports=require("events")},7147:t=>{"use strict";t.exports=require("fs")},3685:t=>{"use strict";t.exports=require("http")},5687:t=>{"use strict";t.exports=require("https")},1808:t=>{"use strict";t.exports=require("net")},1017:t=>{"use strict";t.exports=require("path")},7310:t=>{"use strict";t.exports=require("url")},3837:t=>{"use strict";t.exports=require("util")}},__webpack_module_cache__={};function __nccwpck_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var n=__webpack_module_cache__[t]={exports:{}},r=!0;try{__webpack_modules__[t](n,n.exports,__nccwpck_require__),r=!1}finally{r&&delete __webpack_module_cache__[t]}return n.exports}void 0!==__nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var __webpack_exports__={};__nccwpck_require__(9730),jake.run.apply(jake,process.argv.slice(2)),module.exports=__webpack_exports__})(); |