text: !function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=34)}([function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e){var r,n,i=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(r===setTimeout)return setTimeout(t,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(t){r=s}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(t){n=o}}();var u,h=[],c=!1,l=-1;function p(){c&&u&&(c=!1,u.length?h=u.concat(h):l=-1,h.length&&f())}function f(){if(!c){var t=a(p);c=!0;for(var e=h.length;e;){for(u=h,h=[];++l<e;)u&&u[l].run();l=-1,e=h.length}u=null,c=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function m(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];h.push(new d(t,e)),1!==h.length||c||a(f)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,r){r(18),r(7),r(12),r(38)},function(t,e,r){"use strict";(function(e){function n(){throw new Error("Can't construct. GenericCollection is a mixin.")}t.exports=n;var i=e.DOMTokenList||function(){};n.EmptyArray=Object.freeze([]),n.prototype.addEach=function(t){if(t&&(t instanceof Array||t instanceof i||t instanceof String))for(var e=0;e<t.length;e++)this.add(t[e],e);else if(t&&Object(t)===t)if("function"==typeof t.forEach)t.forEach(this.add,this);else if("number"==typeof t.length)for(e=0;e<t.length;e++)this.add(t[e],e);else Object.keys(t).forEach((function(e){this.add(t[e],e)}),this);return this},n.prototype.deleteEach=function(t,e){return t.forEach((function(t){this.delete(t,e)}),this),this},n.prototype.forEach=function(t){var e=arguments[1];return this.reduce((function(r,n,i,s,o){t.call(e,n,i,s,o)}),void 0)},n.prototype.map=function(t){var e=arguments[1],r=[];return this.reduce((function(n,i,s,o,a){r.push(t.call(e,i,s,o,a))}),void 0),r},n.prototype.enumerate=function(t){null==t&&(t=0);var e=[];return this.reduce((function(r,n){e.push([t++,n])}),void 0),e},n.prototype.group=function(t,e,r){r=r||Object.equals;var n=[],i=[];return this.forEach((function(s,o,a){o=t.call(e,s,o,a);var u,h=i.indexOf(o,r);-1===h?(u=[],n.push([o,u]),i.push(o)):u=n[h][1],u.push(s)})),n},n.prototype.toArray=function(){return this.map(Function.identity)},n.prototype.toObject=function(){var t={};return this.reduce((function(e,r,n){t[n]=r}),void 0),t},n.from=function(){return this.apply(this,arguments)},n.prototype.filter=function(t){var e=arguments[1],r=this.constructClone();return this.reduce((function(n,i,s,o,a){t.call(e,i,s,o,a)&&r.add(i,s)}),void 0),r},n.prototype.every=function(t){var e=arguments[1];return this.reduce((function(r,n,i,s,o){return r&&t.call(e,n,i,s,o)}),!0)},n.prototype.some=function(t){var e=arguments[1];return this.reduce((function(r,n,i,s,o){return r||t.call(e,n,i,s,o)}),!1)},n.prototype.all=function(){return this.every(Boolean)},n.prototype.any=function(){return this.some(Boolean)},n.prototype.min=function(t){t=t||this.contentCompare||Object.compare;var e=!0;return this.reduce((function(r,n){return e?(e=!1,n):t(n,r)<0?n:r}),void 0)},n.prototype.max=function(t){t=t||this.contentCompare||Object.compare;var e=!0;return this.reduce((function(r,n){return e?(e=!1,n):t(n,r)>0?n:r}),void 0)},n.prototype.sum=function(t){return t=void 0===t?0:t,this.reduce((function(t,e){return t+e}),t)},n.prototype.average=function(t){var e=void 0===t?0:t,r=void 0===t?0:t;return this.reduce((function(t,n){e+=n,r+=1}),void 0),e/r},n.prototype.concat=function(){for(var t=this.constructClone(this),e=0;e<arguments.length;e++)t.addEach(arguments[e]);return t},n.prototype.flatten=function(){var t=this;return this.reduce((function(e,r){return r.forEach((function(t){this.push(t)}),e,t),e}),[])},n.prototype.zip=function(){var t=Array.prototype.slice.call(arguments);return t.unshift(this),Array.unzip(t)},n.prototype.join=function(t){return this.reduce((function(e,r){return void 0===e?r:e+t+r}),void 0)},n.prototype.sorted=function(t,e,r){return(t=t||this.contentCompare||Object.compare).by?(e=t.by,t=t.compare||this.contentCompare||Object.compare):e=e||Function.identity,void 0===r&&(r=1),this.map((function(t){return{by:e(t),value:t}})).sort((function(e,n){return t(e.by,n.by)*r})).map((function(t){return t.value}))},n.prototype.reversed=function(){return this.constructClone(this).reverse()},n.prototype.clone=function(t,e){if(void 0===t)t=1/0;else if(0===t)return this;var r=this.constructClone();return this.forEach((function(n,i){r.add(Object.clone(n,t-1,e),i)}),this),r},n.prototype.only=function(){if(1===this.length)return this.one()},n.prototype.iterator=function(){return this.iterate.apply(this,arguments)},n._sizePropertyDescriptor={get:function(){return this.length},enumerable:!1,configurable:!0},Object.defineProperty(n.prototype,"size",n._sizePropertyDescriptor),r(18)}).call(this,r(0))},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},function(t,e,r){"use strict";var n=r(10),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=l;var s=Object.create(r(6));s.inherits=r(4);var o=r(27),a=r(16);s.inherits(l,o);for(var u=i(a.prototype),h=0;h<u.length;h++){var c=u[h];l.prototype[c]||(l.prototype[c]=a.prototype[c])}function l(t){if(!(this instanceof l))return new l(t);o.call(this,t),a.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",p)}function p(){this.allowHalfOpen||this._writableState.ended||n.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),l.prototype._destroy=function(t,e){this.push(null),this.end(),n.nextTick(e,t)}},function(t,e,r){(function(t){function r(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===r(t)},e.isBoolean=function(t){return"boolean"==typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===r(t)},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===r(t)},e.isError=function(t){return"[object Error]"===r(t)||t instanceof Error},e.isFunction=function(t){return"function"==typeof t},e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=t.isBuffer}).call(this,r(30).Buffer)},function(t,e,r){"use strict";var n=r(8);r(12),t.exports=Object,Object.empty=Object.freeze(Object.create(null)),Object.isObject=function(t){return Object(t)===t},Object.getValueOf=function(t){return t&&"function"==typeof t.valueOf&&(t=t.valueOf()),t};var i=new n;Object.hash=function(t){return t&&"function"==typeof t.hash?""+t.hash():Object(t)===t?(i.has(t)||i.set(t,Math.random().toString(36).slice(2)),i.get(t)):""+t};var s=Object.prototype.hasOwnProperty;Object.owns=function(t,e){return s.call(t,e)},Object.has=function(t,e){if("object"!=typeof t)throw new Error("Object.has can't accept non-object: "+typeof t);if(t&&"function"==typeof t.has)return t.has(e);if("string"==typeof e)return e in t&&t[e]!==Object.prototype[e];throw new Error("Key must be a string for Object.has on plain objects")},Object.get=function(t,e,r){if("object"!=typeof t)throw new Error("Object.get can't accept non-object: "+typeof t);return t&&"function"==typeof t.get?t.get(e,r):Object.has(t,e)?t[e]:r},Object.set=function(t,e,r){t&&"function"==typeof t.set?t.set(e,r):t[e]=r},Object.addEach=function(t,e,r){var n=3!==arguments.length||r;if(e)if("function"!=typeof e.forEach||e.hasOwnProperty("forEach"))if("number"==typeof e.length)for(var i=0;i<e.length;i++)t[i]=e[i];else for(var s,o=Object.keys(e),a=0;s=o[a];a++)!n&&Object.owns(t,s)||(t[s]=e[s]);else!0===e.isMap?e.forEach((function(e,r){t[r]=e})):e.forEach((function(e){t[e[0]]=e[1]}));else;return t},Object.defineEach=function(t,e,r,n,i,s){var o=3!==arguments.length||r;if(e)if("function"!=typeof e.forEach||e.hasOwnProperty("forEach"))if("number"==typeof e.length)for(var a=0;a<e.length;a++)Object.defineProperty(t,a,{value:e[a],writable:s,configurable:n,enumerable:i});else for(var u,h=Object.keys(e),c=0;u=h[c];c++)!o&&Object.owns(t,u)||Object.defineProperty(t,u,{value:e[u],writable:s,configurable:n,enumerable:i});else!0===e.isMap?e.forEach((function(e,r){Object.defineProperty(t,r,{value:e,writable:s,configurable:n,enumerable:i})})):e.forEach((function(e){Object.defineProperty(t,e[0],{value:e[1],writable:s,configurable:n,enumerable:i})}));else;return t},Object.forEach=function(t,e,r){for(var n,i=Object.keys(t),s=0;n=i[s];s++)e.call(r,t[n],n,t)},Object.map=function(t,e,r){for(var n,i=Object.keys(t),s=0,o=[];n=i[s];s++)o.push(e.call(r,t[n],n,t));return o},Object.values=function(t){return Object.map(t,Function.identity)},Object.concat=function(){for(var t={},e=0;e<arguments.length;e++)Object.addEach(t,arguments[e]);return t},Object.from=Object.concat,Object.is=function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e},Object.equals=function(t,e,r,i){if(r=r||Object.equals,(t=Object.getValueOf(t))===(e=Object.getValueOf(e)))return!0;if(Object.isObject(t)){if((i=i||new n).has(t))return!0;i.set(t,!0)}if(Object.isObject(t)&&"function"==typeof t.equals)return t.equals(e,r,i);if(Object.isObject(e)&&"function"==typeof e.equals)return e.equals(t,r,i);if(Object.isObject(t)&&Object.isObject(e)&&Object.getPrototypeOf(t)===Object.prototype&&Object.getPrototypeOf(e)===Object.prototype){for(var s in t)if(!r(t[s],e[s],r,i))return!1;for(var s in e)if(!(s in t)||!r(e[s],t[s],r,i))return!1;return!0}return t!=t&&e!=e||(!t||!e)&&t===e},Object.compare=function(t,e){if((t=Object.getValueOf(t))===(e=Object.getValueOf(e)))return 0;var r=typeof t,n=typeof e;return"number"===r&&"number"===n?t-e:"string"===r&&"string"===n?t<e?-1/0:1/0:t&&"function"==typeof t.compare?t.compare(e):e&&"function"==typeof e.compare?-e.compare(t):0},Object.clone=function(t,e,r){if(t=Object.getValueOf(t),r=r||new n,void 0===e)e=1/0;else if(0===e)return t;if(Object.isObject(t)){if(!r.has(t))if(t&&"function"==typeof t.clone)r.set(t,t.clone(e,r));else{var i=Object.getPrototypeOf(t);if(null!==i&&i!==Object.prototype)throw new Error("Can't clone "+t);var s=Object.create(i);for(var o in r.set(t,s),t)s[o]=Object.clone(t[o],e-1,r)}return r.get(t)}return t},Object.clear=function(t){if(t&&"function"==typeof t.clear)t.clear();else for(var e=Object.keys(t),r=e.length;r;)delete t[e[--r]];return t}},function(t,e,r){t.exports="undefined"!=typeof WeakMap?WeakMap:r(37)},function(t,e,r){"use strict";var n,i="object"==typeof Reflect?Reflect:null,s=i&&"function"==typeof i.apply?i.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function a(){a.init.call(this)}t.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var u=10;function h(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function c(t){return void 0===t._maxListeners?a.defaultMaxListeners:t._maxListeners}function l(t,e,r,n){var i,s,o,a;if(h(r),void 0===(s=t._events)?(s=t._events=Object.create(null),t._eventsCount=0):(void 0!==s.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),s=t._events),o=s[e]),void 0===o)o=s[e]=r,++t._eventsCount;else if("function"==typeof o?o=s[e]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),(i=c(t))>0&&o.length>i&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=o.length,a=u,console&&console.warn&&console.warn(a)}return t}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=p.bind(n);return i.listener=r,n.wrapFn=i,i}function d(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(i):y(i,i.length)}function m(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function y(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");u=t}}),a.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},a.prototype.getMaxListeners=function(){return c(this)},a.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var u=i[t];if(void 0===u)return!1;if("function"==typeof u)s(u,this,e);else{var h=u.length,c=y(u,h);for(r=0;r<h;++r)s(c[r],this,e)}return!0},a.prototype.addListener=function(t,e){return l(this,t,e,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(t,e){return l(this,t,e,!0)},a.prototype.once=function(t,e){return h(e),this.on(t,f(this,t,e)),this},a.prototype.prependOnceListener=function(t,e){return h(e),this.prependListener(t,f(this,t,e)),this},a.prototype.removeListener=function(t,e){var r,n,i,s,o;if(h(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(i=-1,s=r.length-1;s>=0;s--)if(r[s]===e||r[s].listener===e){o=r[s].listener,i=s;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,o||e)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var i,s=Object.keys(r);for(n=0;n<s.length;++n)"removeListener"!==(i=s[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},a.prototype.listeners=function(t){return d(this,t,!0)},a.prototype.rawListeners=function(t){return d(this,t,!1)},a.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},a.prototype.listenerCount=m,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(t,e,r){"use strict";(function(e){void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,r,n,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var s,o,a=arguments.length;switch(a){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,r)}));case 3:return e.nextTick((function(){t.call(null,r,n)}));case 4:return e.nextTick((function(){t.call(null,r,n,i)}));default:for(s=new Array(a-1),o=0;o<s.length;)s[o++]=arguments[o];return e.nextTick((function(){t.apply(null,s)}))}}}:t.exports=e}).call(this,r(1))},function(t,e,r){var n=r(30),i=n.Buffer;function s(t,e){for(var r in t)e[r]=t[r]}function o(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(s(n,e),e.Buffer=o),s(i,o),o.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},o.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e){t.exports=Function,Function.noop=function(){},Function.identity=function(t){return t},Function.by=function(t,e){e=e||Object.compare,t=t||Function.identity;var r=function(r,n){return e(t(r),t(n))};return r.compare=e,r.by=t,r},Function.get=function(t){return function(e){return Object.get(e,t)}}},function(t,e,r){"use strict";var n=r(7),i=r(21);function s(){throw new Error("Can't construct. GenericMap is a mixin.")}function o(t,e){this.key=t,this.value=e}t.exports=s,s.prototype.isMap=!0,s.prototype.addEach=function(t){var e;if(t&&n(t)===t)if("function"==typeof t.forEach)!0===t.isMap?t.forEach((function(t,e){this.set(e,t)}),this):t.forEach((function(t){this.set(t[0],t[1])}),this);else if("number"==typeof t.length)for(e=0;e<t.length;e++)this.add(t[e],e);else n.keys(t).forEach((function(e){this.set(e,t[e])}),this);else if(t&&"number"==typeof t.length)for(e=0;e<t.length;e++)this.add(t[e],e);return this},s.prototype.get=function(t,e){var r=this.store.get(new this.Item(t));return r?r.value:arguments.length>1?(console.log("Use of a second argument as default value is deprecated to match standards"),e):this.getDefault(t)},s.prototype.set=function(t,e){var r=new this.Item(t,e),n=this.store.get(r);return n?(this.dispatchesMapChanges&&this.dispatchBeforeMapChange(t,n.value),n.value=e,this.dispatchesMapChanges&&this.dispatchMapChange(t,e)):(this.dispatchesMapChanges&&this.dispatchBeforeMapChange(t,void 0),this.store.add(r)&&(this.length++,!0),this.dispatchesMapChanges&&this.dispatchMapChange(t,e)),this},s.prototype.add=function(t,e){return this.set(e,t)},s.prototype.has=function(t){return this.store.has(new this.Item(t))},s.prototype.delete=function(t){var e=new this.Item(t);if(this.store.has(e)){var r=this.store.get(e).value;return this.dispatchesMapChanges&&this.dispatchBeforeMapChange(t,r),this.store.delete(e),this.length--,this.dispatchesMapChanges&&this.dispatchMapChange(t,void 0),!0}return!1},s.prototype.clear=function(){var t,e;if(this.dispatchesMapChanges&&(this.forEach((function(t,e){this.dispatchBeforeMapChange(e,t)}),this),t=this.keysArray()),this.store.clear(),this.length=0,this.dispatchesMapChanges)for(var r=0;e=t[r];r++)this.dispatchMapChange(e)},s.prototype.reduce=function(t,e,r){return this.store.reduce((function(e,n){return t.call(r,e,n.value,n.key,this)}),e,this)},s.prototype.reduceRight=function(t,e,r){return this.store.reduceRight((function(e,n){return t.call(r,e,n.value,n.key,this)}),e,this)},s.prototype.keysArray=function(){return this.map((function(t,e){return e}))},s.prototype.keys=function(){return new i(this.keysArray())},s.prototype.valuesArray=function(){return this.map(Function.identity)},s.prototype.values=function(){return new i(this.valuesArray())},s.prototype.entriesArray=function(){return this.map((function(t,e){return[e,t]}))},s.prototype.entries=function(){return new i(this.entriesArray())},s.prototype.items=function(){return this.entriesArray()},s.prototype.equals=function(t,e){return e=e||n.equals,this===t||(t&&"function"==typeof t.every?t.length===this.length&&t.every((function(t,r){return e(this.get(r),t)}),this):n.keys(t).length===this.length&&n.keys(t).every((function(r){return e(this.get(r),t[r])}),this))},s.prototype.toJSON=function(){return this.entriesArray()},s.prototype.Item=o,o.prototype.equals=function(t){return n.equals(this.key,t.key)&&n.equals(this.value,t.value)},o.prototype.compare=function(t){return n.compare(this.key,t.key)}},function(t,e,r){"use strict";(function(e){r(2);var n,i,s,o=r(3);if(void 0!==e.Map&&"function"==typeof e.Set.prototype.values){var a;i=n=t.exports=e.Map,n.Map=n,a={}.__proto__===Object.prototype?function(){this.__proto__=m}:function(){Object.defineProperties(this,observableSetProperties)},Object.defineProperty(n.prototype,"makeObservable",{value:a,writable:!0,configurable:!0,enumerable:!1}),Object.defineProperty(n.prototype,"makePropertyObservable",{value:function(){},writable:!0,configurable:!0,enumerable:!1}),n.prototype.constructClone=function(t){return new this.constructor(t)},n.prototype.isMap=!0,n.prototype.addEach=function(t){if(t&&Object(t)===t)if("function"==typeof t.forEach)!0===t.isMap?t.forEach((function(t,e){this.set(e,t)}),this):t.forEach((function(t){this.set(t[0],t[1])}),this);else if("number"==typeof t.length)for(var e=0;e<t.length;e++)this.add(t[e],e);else Object.keys(t).forEach((function(e){this.set(e,t[e])}),this);else if(t&&"number"==typeof t.length)for(e=0;e<t.length;e++)this.add(t[e],e);return this},n.prototype.add=function(t,e){return this.set(e,t)},n.prototype.reduce=function(t,e){var r=arguments[2];return this.forEach((function(n,i,s){e=t.call(r,e,n,i,this)})),e},n.prototype.reduceRight=function(t,e){for(var r,n=arguments[2],i=this.keys(),s=this.size,o=new Array(this.size),a=0;r=i.next().value;)o[--s]=r;for(;a++<s;)e=t.call(n,e,this.get(o[a]),o[a],this);return e},n.prototype.equals=function(t,e){return e=e||Object.equals,this===t||(t&&"function"==typeof t.every?t.size===this.size&&t.every((function(t,r){return e(this.get(r),t)}),this):Object.keys(t).length===this.size&&Object.keys(t).every((function(r){return e(this.get(r),t[r])}),this))};var u=function(t,e){return e};n.prototype.keysArray=function(){return this.map(u)};var h=function(t,e){return t};n.prototype.valuesArray=function(){return this.map(h)};var c=function(t,e){return[e,t]};n.prototype.entriesArray=function(){return this.map(c)},n.prototype.toJSON=function(){return this.entriesArray()},n.prototype.items=function(){return this.entriesArray()},n.from=function(t){var e=new this;return e.addEach(t),e},Object.defineProperty(n.prototype,"length",{get:function(){return this.size},enumerable:!0,configurable:!0});var l=n.prototype.clear,p=n.prototype.set,f=n.prototype.delete,d={clear:{value:function(){var t;this.dispatchesMapChanges&&(this.forEach((function(t,e){this.dispatchBeforeMapChange(e,t)}),this),t=this.keysArray()),l.call(this),this.dispatchesMapChanges&&t.forEach((function(t){this.dispatchMapChange(t)}),this)},writable:!0,configurable:!0},set:{value:function(t,e){var r=this.get(t);return r?(this.dispatchesMapChanges&&this.dispatchBeforeMapChange(t,r),p.call(this,t,e),this.dispatchesMapChanges&&this.dispatchMapChange(t,e)):(this.dispatchesMapChanges&&this.dispatchBeforeMapChange(t,void 0),p.call(this,t,e),this.dispatchesMapChanges&&this.dispatchMapChange(t,e)),this},writable:!0,configurable:!0},delete:{value:function(t){return!!this.has(t)&&(this.dispatchesMapChanges&&this.dispatchBeforeMapChange(t,this.get(t)),f.call(this,t),this.dispatchesMapChanges&&this.dispatchMapChange(t,void 0),!0)}}};Object.addEach(n.prototype,o.prototype,!1);var m=Object.create(n.prototype,d)}var y=r(42).CollectionsSet,g=r(13);s=n=function t(e,r,n,i){if(!(this instanceof t))return new t(e,r,n,i);r=r||Object.equals,n=n||Object.hash,i=i||Function.noop,this.contentEquals=r,this.contentHash=n,this.getDefault=i,this.store=new y(void 0,(function(t,e){return r(t.key,e.key)}),(function(t){return n(t.key)})),this.length=0,this.addEach(e)},n.Map=n,Object.addEach(n.prototype,o.prototype),Object.addEach(n.prototype,g.prototype),Object.defineProperty(n.prototype,"size",o._sizePropertyDescriptor),n.from=o.from,n.prototype.constructClone=function(t){return new this.constructor(t,this.contentEquals,this.contentHash,this.getDefault)},n.prototype.log=function(t,e,r,n){e=e||this.logNode,this.store.log(t,(function(t,r,n){e(t.value.value,r,n)}),r,n)},n.prototype.logNode=function(t,e){e(" key: "+t.key),e(" value: "+t.value)},i?(t.exports=i,i.CollectionsMap=s):t.exports=s}).call(this,r(0))},function(t,e,r){(e=t.exports=r(27)).Stream=e,e.Readable=e,e.Writable=r(16),e.Duplex=r(5),e.Transform=r(33),e.PassThrough=r(57)},function(t,e,r){"use strict";(function(e,n,i){var s=r(10);function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var i=n.callback;e.pendingcb--,i(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=v;var a,u=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?n:s.nextTick;v.WritableState=g;var h=Object.create(r(6));h.inherits=r(4);var c={deprecate:r(56)},l=r(29),p=r(11).Buffer,f=i.Uint8Array||function(){};var d,m=r(31);function y(){}function g(t,e){a=a||r(5),t=t||{};var n=e instanceof a;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,h=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(h||0===h)?h:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===t.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,i){--e.pendingcb,r?(s.nextTick(i,n),s.nextTick(C,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(i(n),t._writableState.errorEmitted=!0,t.emit("error",n),C(t,e))}(t,r,n,e,i);else{var o=E(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||b(t,r),n?u(D,t,r,o,i):D(t,r,o,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function v(t){if(a=a||r(5),!(d.call(v,this)||this instanceof a))return new v(t);this._writableState=new g(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),l.call(this)}function x(t,e,r,n,i,s,o){e.writelen=n,e.writecb=o,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,s,e.onwrite),e.sync=!1}function D(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),C(t,e)}function b(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),s=e.corkedRequestsFree;s.entry=r;for(var a=0,u=!0;r;)i[a]=r,r.isBuf||(u=!1),r=r.next,a+=1;i.allBuffers=u,x(t,e,!0,e.length,i,"",s.finish),e.pendingcb++,e.lastBufferedRequest=null,s.next?(e.corkedRequestsFree=s.next,s.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var h=r.chunk,c=r.encoding,l=r.callback;if(x(t,e,!1,e.objectMode?1:h.length,h,c,l),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function E(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function w(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),C(t,e)}))}function C(t,e){var r=E(e);return r&&(!function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,s.nextTick(w,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}h.inherits(v,l),g.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(t){return!!d.call(this,t)||this===v&&(t&&t._writableState instanceof g)}})):d=function(t){return t instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(t,e,r){var n,i=this._writableState,o=!1,a=!i.objectMode&&(n=t,p.isBuffer(n)||n instanceof f);return a&&!p.isBuffer(t)&&(t=function(t){return p.from(t)}(t)),"function"==typeof e&&(r=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof r&&(r=y),i.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),s.nextTick(e,r)}(this,r):(a||function(t,e,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),s.nextTick(n,o),i=!1),i}(this,i,t,r))&&(i.pendingcb++,o=function(t,e,r,n,i,s){if(!r){var o=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=p.from(e,r));return e}(e,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=e.objectMode?1:n.length;e.length+=a;var u=e.length<e.highWaterMark;u||(e.needDrain=!0);if(e.writing||e.corked){var h=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},h?h.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else x(t,e,!1,a,n,i,s);return u}(this,i,a,t,e,r)),o},v.prototype.cork=function(){this._writableState.corked++},v.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||b(this,t))},v.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,C(t,e),r&&(e.finished?s.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),v.prototype.destroy=m.destroy,v.prototype._undestroy=m.undestroy,v.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r(1),r(54).setImmediate,r(0))},function(t,e,r){(function(t){function r(t,e){for(var r=0,n=t.length-1;n>=0;n--){var i=t[n];"."===i?t.splice(n,1):".."===i?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}e.resolve=function(){for(var e="",i=!1,s=arguments.length-1;s>=-1&&!i;s--){var o=s>=0?arguments[s]:t.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,i="/"===o.charAt(0))}return(i?"/":"")+(e=r(n(e.split("/"),(function(t){return!!t})),!i).join("/"))||"."},e.normalize=function(t){var s=e.isAbsolute(t),o="/"===i(t,-1);return(t=r(n(t.split("/"),(function(t){return!!t})),!s).join("/"))||s||(t="."),t&&o&&(t+="/"),(s?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(n(t,(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,r){function n(t){for(var e=0;e<t.length&&""===t[e];e++);for(var r=t.length-1;r>=0&&""===t[r];r--);return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var i=n(t.split("/")),s=n(r.split("/")),o=Math.min(i.length,s.length),a=o,u=0;u<o;u++)if(i[u]!==s[u]){a=u;break}var h=[];for(u=a;u<i.length;u++)h.push("..");return(h=h.concat(s.slice(a))).join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,n=-1,i=!0,s=t.length-1;s>=1;--s)if(47===(e=t.charCodeAt(s))){if(!i){n=s;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var r=function(t){"string"!=typeof t&&(t+="");var e,r=0,n=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){r=e+1;break}}else-1===n&&(i=!1,n=e+1);return-1===n?"":t.slice(r,n)}(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,r=0,n=-1,i=!0,s=0,o=t.length-1;o>=0;--o){var a=t.charCodeAt(o);if(47!==a)-1===n&&(i=!1,n=o+1),46===a?-1===e?e=o:1!==s&&(s=1):-1!==e&&(s=-1);else if(!i){r=o+1;break}}return-1===e||-1===n||0===s||1===s&&e===n-1&&e===r+1?"":t.slice(e,n)};var i="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,r(1))},function(t,e,r){"use strict";r(12);var n=r(3),i=r(19),s=r(8);t.exports=Array;var o=Array.prototype.splice,a=Array.prototype.slice;function u(t,e){Object.defineProperty(Array.prototype,t,{value:e,writable:!0,configurable:!0,enumerable:!1})}Array.empty=[],Object.freeze&&Object.freeze(Array.empty),Array.from=function(t){var e=[];return e.addEach(t),e},Array.unzip=function(t){for(var e=[],r=1/0,n=0;n<t.length;n++){var i=t[n];t[n]=i.toArray(),i.length<r&&(r=i.length)}for(n=0;n<t.length;n++){i=t[n];for(var s=0;s<i.length;s++)s<r&&s in i&&(e[s]=e[s]||[],e[s][n]=i[s])}return e},u("addEach",n.prototype.addEach),u("deleteEach",n.prototype.deleteEach),u("toArray",n.prototype.toArray),u("toObject",n.prototype.toObject),u("all",n.prototype.all),u("any",n.prototype.any),u("min",n.prototype.min),u("max",n.prototype.max),u("sum",n.prototype.sum),u("average",n.prototype.average),u("only",n.prototype.only),u("flatten",n.prototype.flatten),u("zip",n.prototype.zip),u("enumerate",n.prototype.enumerate),u("group",n.prototype.group),u("sorted",n.prototype.sorted),u("reversed",n.prototype.reversed),u("constructClone",(function(t){var e=new this.constructor;return e.addEach(t),e})),u("has",(function(t,e){return-1!==this.findValue(t,e)})),u("get",(function(t,e){if(+t!==t)throw new Error("Indicies must be numbers");return!t in this?e:this[t]})),u("set",(function(t,e){return this[t]=e,!0})),u("add",(function(t){return this.push(t),!0})),u("delete",(function(t,e){var r=this.findValue(t,e);return-1!==r&&(this.spliceOne(r),!0)})),u("deleteAll",(function(t,e){e=e||this.contentEquals||Object.equals;for(var r=0,n=0;n<this.length;)e(t,this[n])?(this.swap(n,1),r++):n++;return r})),Array.prototype.find||u("find",(function(t){if(null==this)throw new TypeError('"this" is null or not defined');var e=Object(this),r=e.length>>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var n=arguments[1],i=0;i<r;){var s=e[i];if(t.call(n,s,i,e))return s;i++}}));var h={};function c(t,e){"undefined"!=typeof console&&"function"==typeof console.warn&&!0!==e&&!1===h.hasOwnProperty(t)&&(console.warn(t),h[t]++)}var l=Object.getOwnPropertyDescriptor(Array.prototype,"find").value;function p(t,e,r){this.array=t,this.start=null==e?0:e,this.end=r}u("find",(function(t,e,r){return"function"==typeof arguments[0]&&this instanceof Array?l.apply(this,arguments):(c("Array#find usage is deprecated please use Array#findValue"),this.findValue.apply(this,arguments))})),u("findValue",(function(t,e,r){if(r)throw new Error("Array#findValue does not support third argument: index");e=e||this.contentEquals||Object.equals;for(r=0;r<this.length;r++)if(r in this&&e(t,this[r]))return r;return-1})),u("findLast",(function(t,e){return c("Array#findLast function is deprecated please use Array#findLastValue instead."),this.findLastValue.apply(this,arguments)})),u("findLastValue",(function(t,e){e=e||this.contentEquals||Object.equals;var r=this.length;do{if(--r in this&&e(this[r],t))return r}while(r>0);return-1})),u("swap",(function(t,e,r){var n,i,s,u,h;if(t>this.length&&(this.length=t),void 0!==r){if(n=[t,e],Array.isArray(r)||(r=a.call(r)),s=0,(i=r.length)<1e3){for(;s<i;s++)n[s+2]=r[s];return o.apply(this,n)}for(h=o.apply(this,n);s<i;){for(n=[t+s,0],u=2;u<1002&&s<i;u++,s++)n[u]=r[s];o.apply(this,n)}return h}return void 0!==e?o.call(this,t,e):void 0!==t?o.call(this,t):[]})),u("peek",(function(){return this[0]})),u("poke",(function(t){this.length>0&&(this[0]=t)})),u("peekBack",(function(){if(this.length>0)return this[this.length-1]})),u("pokeBack",(function(t){this.length>0&&(this[this.length-1]=t)})),u("one",(function(){for(var t in this)if(Object.owns(this,t))return this[t]})),Array.prototype.clear||u("clear",(function(){return this.length=0,this})),u("compare",(function(t,e){var r,n,s;if(e=e||Object.compare,this===t)return 0;if(!t||!Array.isArray(t))return i.prototype.compare.call(this,t,e);for(n=this.length<t.length?this.length:t.length,r=0;r<n;r++)if(r in this){if(!(r in t))return-1;if(s=e(this[r],t[r]))return s}else if(r in t)return 1;return this.length-t.length})),u("equals",(function(t,e){e=e||Object.equals;var r=0,n=this.length;if(this===t)return!0;if(!t||!Array.isArray(t))return i.prototype.equals.call(this,t);if(n!==t.length)return!1;for(;r<n;++r)if(r in this){if(!(r in t))return!1;if(!e(this[r],t[r]))return!1}else if(r in t)return!1;return!0})),u("clone",(function(t,e){if(null==t)t=1/0;else if(0===t)return this;if((e=e||new s).has(this))return e.get(this);var r=new Array(this.length);for(var n in e.set(this,r),this)r[n]=Object.clone(this[n],t-1,e);return r})),u("iterate",(function(t,e){return new p(this,t,e)})),void 0===Array.prototype.spliceOne&&u("spliceOne",(function(t,e){var r=this.length;if(r)if(1===arguments.length){for(;t<r;)this[t]=this[t+1],t++;this.length--}else this[t]=e})),u("Iterator",p),p.prototype.__iterationObject=null,Object.defineProperty(p.prototype,"_iterationObject",{get:function(){return this.__iterationObject||(this.__iterationObject={done:!1,value:null})}}),p.prototype.next=function(){return this.start===(null==this.end?this.array.length:this.end)?(this._iterationObject.done=!0,this._iterationObject.value=void 0):this._iterationObject.value=this.array[this.start++],this._iterationObject}},function(t,e,r){var n=r(7);function i(){throw new Error("Can't construct. GenericOrder is a mixin.")}t.exports=i,i.prototype.equals=function(t,e){if(e=e||this.contentEquals||n.equals,this===t)return!0;if(!t)return!1;return this.length===t.length&&this.zip(t).every((function(t){return e(t[0],t[1])}))},i.prototype.compare=function(t,e){if(e=e||this.contentCompare||n.compare,this===t)return 0;if(!t)return 1;var r=Math.min(this.length,t.length),i=this.zip(t).reduce((function(t,n,i){return 0===t?i>=r?t:e(n[0],n[1]):t}),0);return 0===i?this.length-t.length:i},i.prototype.toJSON=function(){return this.toArray()}},function(t,e,r){"use strict";r(2);var n=r(40),i=r(22),s=r(3),o=r(23),a=r(41);Object.prototype.hasOwnProperty;function u(t,e,r,n){if(!(this instanceof u))return new u(t,e,r,n);e=e||Object.equals,r=r||Object.hash,n=n||Function.noop,this.contentEquals=e,this.contentHash=r,this.getDefault=n;var i=this;this.buckets=new this.Buckets(null,(function(){return new i.Bucket})),this.length=0,this.addEach(t)}t.exports=u,u.FastSet=u,Object.addEach(u.prototype,s.prototype),Object.addEach(u.prototype,o.prototype),u.from=s.from,u.prototype.Buckets=n,u.prototype.Bucket=i,u.prototype.constructClone=function(t){return new this.constructor(t,this.contentEquals,this.contentHash,this.getDefault)},u.prototype.has=function(t){var e=this.contentHash(t);return this.buckets.get(e).has(t)},u.prototype.get=function(t,e){if(e)throw new Error("FastSet#get does not support second argument: equals");var r=this.contentHash(t),n=this.buckets;return n.has(r)?n.get(r).get(t):this.getDefault(t)},u.prototype.delete=function(t,e){if(e)throw new Error("FastSet#delete does not support second argument: equals");var r=this.contentHash(t),n=this.buckets;if(n.has(r)){var i=n.get(r);if(i.delete(t))return this.length--,0===i.length&&n.delete(r),!0}return!1},u.prototype.clear=function(){this.buckets.clear(),this.length=0},u.prototype.add=function(t){var e=this.contentHash(t),r=this.buckets;return r.has(e)||r.set(e,new this.Bucket(null,this.contentEquals)),!r.get(e).has(t)&&(r.get(e).add(t),this.length++,!0)},u.prototype.reduce=function(t,e){var r=arguments[2],n=this.buckets,i=0;return n.reduce((function(e,n){return n.reduce((function(e,n){return t.call(r,e,n,i++,this)}),e,this)}),e,this)},u.prototype.one=function(){if(this.length>0)return this.buckets.one().one()},u.prototype.iterate=function(){return this.buckets.valuesArray().flatten().iterate()},u.prototype.log=function(t,e,r,n){t=t||a.unicodeSharp,e=e||this.logNode,r||(r=console.log,n=console),r=r.bind(n);for(var i,s,o,u,h=this.buckets,c=h.size,l=h.keys(),p=0;i=l.next().value;)p===c-1?(s=t.fromAbove,o=" "):0===p?(s=t.branchDown,o=t.strafe):(s=t.fromBoth,o=t.strafe),u=h.get(i),r.call(n,s+t.through+t.branchDown+" "+i),u.forEach((function(i,s){var a,h,c;s===u.head.prev?(a=t.fromAbove,h=" "):(a=t.fromBoth,h=t.strafe),e(s,(function(e){c?r.call(n,o+" "+h+"  "+e):(r.call(n,o+" "+a+t.through+t.through+e),c=!0)}),(function(e){r.call(n,o+" "+t.strafe+"  "+e)}))})),p++},u.prototype.logNode=function(t,e){var r=t.value;Object(r)===r?JSON.stringify(r,null,4).split("\n").forEach((function(t){e(" "+t)})):e(" "+r)}},function(t,e,r){"use strict";t.exports=s;var n=r(7),i=r(3);function s(t){var e=t&&t.values&&t.values();if(e&&"function"==typeof e.next)return e;if(!(this instanceof s))return new s(t);if(Array.isArray(t)||"string"==typeof t)return s.iterate(t);if((t=n(t))instanceof s)return t;if(t.next)this.next=function(){return t.next()};else if(t.iterate){var r=t.iterate();this.next=function(){return r.next()}}else{if("[object Function]"!==n.prototype.toString.call(t))throw new TypeError("Can't iterate "+t);this.next=t}}s.prototype.forEach=i.prototype.forEach,s.prototype.map=i.prototype.map,s.prototype.filter=i.prototype.filter,s.prototype.every=i.prototype.every,s.prototype.some=i.prototype.some,s.prototype.any=i.prototype.any,s.prototype.all=i.prototype.all,s.prototype.min=i.prototype.min,s.prototype.max=i.prototype.max,s.prototype.sum=i.prototype.sum,s.prototype.average=i.prototype.average,s.prototype.flatten=i.prototype.flatten,s.prototype.zip=i.prototype.zip,s.prototype.enumerate=i.prototype.enumerate,s.prototype.sorted=i.prototype.sorted,s.prototype.group=i.prototype.group,s.prototype.reversed=i.prototype.reversed,s.prototype.toArray=i.prototype.toArray,s.prototype.toObject=i.prototype.toObject,s.prototype.iterator=i.prototype.iterator,s.prototype.__iterationObject=null,n.defineProperty(s.prototype,"_iterationObject",{get:function(){return this.__iterationObject||(this.__iterationObject={done:!1,value:void 0})}}),s.prototype.constructClone=function(t){var e=[];return e.addEach(t),e},s.prototype.mapIterator=function(t){var e=s(this),r=arguments[1],i=0;if("[object Function]"!=n.prototype.toString.call(t))throw new TypeError;return new e.constructor((function(){if(!0!==e._iterationObject.done){var n=t.call(r,e.next().value,i++,e);e._iterationObject.value=n}return e._iterationObject}))},s.prototype.filterIterator=function(t){var e=s(this),r=arguments[1],i=0;if("[object Function]"!=n.prototype.toString.call(t))throw new TypeError;return new e.constructor((function(){for(var n;;){if(!0===(n=e.next()).done)return n;if(t.call(r,n.value,i++,e))return n}}))},s.prototype.reduce=function(t){var e,r=s(this),i=arguments[1],o=arguments[2],a=0;if("[object Function]"!=n.prototype.toString.call(t))throw new TypeError;if(!0===(e=r.next()).done){if(arguments.length>1)return arguments[1];throw TypeError("cannot reduce a value from an empty iterator with no initial value")}for(i=arguments.length>1?t.call(o,i,e.value,a,r):e.value,a++;;){if(!0===(e=r.next()).done)return i;i=t.call(o,i,e.value,a,r),a++}},s.prototype.concat=function(){return s.concat(Array.prototype.concat.apply(this,arguments))},s.prototype.dropWhile=function(t){var e,r,i=s(this),o=arguments[1],a=!1,u=0;if("[object Function]"!=n.prototype.toString.call(t))throw new TypeError;for(;!0!==(r=i.next()).done;){if(!t.call(o,r.value,u,i)){a=!0,e=r.value;break}u++}return a?i.constructor([e]).concat(i):i.constructor([])},s.prototype.takeWhile=function(t){var e=s(this),r=arguments[1],i=0;if("[object Function]"!=n.prototype.toString.call(t))throw new TypeError;return new e.constructor((function(){if(!0!==e._iterationObject.done){var n=e.next().value;t.call(r,n,i++,e)?e._iterationObject.value=n:(e._iterationObject.done=!0,e._iterationObject.value=void 0)}return e._iterationObject}))},s.prototype.zipIterator=function(){return s.unzip(Array.prototype.concat.apply(this,arguments))},s.prototype.enumerateIterator=function(t){return s.count(t).zipIterator(this)},s.iterate=function(t){var e;return e=0,new s((function(){if("object"==typeof t)for(;!(e in t);){if(e>=t.length){this._iterationObject.done=!0,this._iterationObject.value=void 0;break}e+=1}else e>=t.length&&(this._iterationObject.done=!0,this._iterationObject.value=void 0);return this._iterationObject.done||(this._iterationObject.value=t[e],e+=1),this._iterationObject}))},s.cycle=function(t,e){var r;return arguments.length<2&&(e=1/0),new s((function(){var n,i;return r&&(i=r()),r&&!0!==i.done||(e>0?(e--,n=s.iterate(t),i=(r=n.next.bind(n))()):(this._iterationObject.done=!0,i=this._iterationObject)),i}))},s.concat=function(t){var e;return t=s(t),new s((function(){var r,n;return e&&(n=e()),n&&!0!==n.done?n:!1===(n=t.next()).done?(r=s(n.value),(e=r.next.bind(r))()):n}))},s.unzip=function(t){return 0===(t=s(t).map(s)).length?new s([]):new s((function(){var e,r,n=t.map((function(t){return!0===(r=t.next()).done&&(e=!0),r.value}));return e?(this._iterationObject.done=!0,this._iterationObject.value=void 0):this._iterationObject.value=n,this._iterationObject}))},s.zip=function(){return s.unzip(Array.prototype.slice.call(arguments))},s.chain=function(){return s.concat(Array.prototype.slice.call(arguments))},s.range=function(t,e,r){return arguments.length<3&&(r=1),arguments.length<2&&(e=t,t=0),t=t||0,r=r||1,new s((function(){t>=e&&(this._iterationObject.done=!0,this._iterationObject.value=void 0);var n=t;return t+=r,this._iterationObject.value=n,this._iterationObject}))},s.count=function(t,e){return s.range(t,1/0,e)},s.repeat=function(t,e){return new s.range(e).mapIterator((function(){return t}))}},function(t,e,r){"use strict";t.exports=s;r(2);var n=r(3),i=r(19);function s(t,e,r){return s._init(s,this,t,e,r)}function o(t){this.head=t,this.at=t.next}function a(t){this.value=t,this.prev=null,this.next=null}s._init=function(t,e,r,n,i){if(!(e instanceof t))return new t(r,n,i);var s=e.head=new e.Node;s.next=s,s.prev=s,e.contentEquals=n||Object.equals,e.getDefault=i||Function.noop,e.length=0,e.addEach(r)},s.List=s,Object.addEach(s.prototype,n.prototype),Object.addEach(s.prototype,i.prototype),s.from=n.from,s.prototype.constructClone=function(t){return new this.constructor(t,this.contentEquals,this.getDefault)},s.prototype.find=function(t,e,r){e=e||this.contentEquals;for(var n=this.head,i=this.scan(r,n.next);i!==n;){if(e(i.value,t))return i;i=i.next}},s.prototype.findLast=function(t,e,r){e=e||this.contentEquals;for(var n=this.head,i=this.scan(r,n.prev);i!==n;){if(e(i.value,t))return i;i=i.prev}},s.prototype.has=function(t,e){return!!this.find(t,e)},s.prototype.get=function(t,e){var r=this.find(t,e);return r?r.value:this.getDefault(t)},s.prototype.delete=function(t,e){var r=this.findLast(t,e);return!!r&&(r.delete(),this.length--,!0)},s.prototype.deleteAll=function(t,e){e=e||this.contentEquals;for(var r=this.head,n=r.next,i=0;n!==r;)e(t,n.value)&&(n.delete(),i++),n=n.next;return this.length-=i,i},s.prototype.clear=function(){this.head.next=this.head.prev=this.head,this.length=0},s.prototype.add=function(t){var e=new this.Node(t);return this._addNode(e)},s.prototype._addNode=function(t){return this.head.addBefore(t),this.length++,!0},s.prototype.push=function(){for(var t=this.head,e=0;e<arguments.length;e++){var r=arguments[e],n=new this.Node(r);t.addBefore(n)}this.length+=arguments.length},s.prototype.unshift=function(){for(var t=this.head,e=0;e<arguments.length;e++){var r=arguments[e],n=new this.Node(r);t.addAfter(n),t=n}this.length+=arguments.length},s.prototype._shouldPop=function(){var t,e=this.head;return e.prev!==e&&(t=e.prev.value),t},s.prototype.pop=function(t,e){var r,n=this.head;if(n.prev!==n){r=n.prev.value;var i=this.length-1,s=t?t.call(this,r,i):void 0;n.prev.delete(),this.length--,e&&e.call(this,r,i,s)}return r},s.prototype.shift=function(t,e){var r,n=this.head;if(n.prev!==n){r=n.next.value;var i=t?t.call(this,r,0):void 0;n.next.delete(),this.length--,e&&e.call(this,r,0,i)}return r},s.prototype.peek=function(){if(this.head!==this.head.next)return this.head.next.value},s.prototype.poke=function(t){this.head!==this.head.next?this.head.next.value=t:this.push(t)},s.prototype.one=function(){return this.peek()},s.prototype.scan=function(t,e){var r=this.head;if("number"==typeof t){var n=t;if(n>=0)for(t=r.next;n&&(n--,(t=t.next)!=r););else for(t=r;n<0&&(n++,(t=t.prev)!=r););return t}return t||e},s.prototype.slice=function(t,e){var r=[],n=this.head;for(t=this.scan(t,n.next),e=this.scan(e,n);t!==e&&t!==n;)r.push(t.value),t=t.next;return r},s.prototype.splice=function(t,e){return this.swap(t,e,Array.prototype.slice.call(arguments,2))},s.prototype.swap=function(t,e,r,n,i){var s=t;t=this.scan(t,this.head),null==e&&(e=1/0),r=Array.from(r);for(var o=[],a=t;e--&&e>=0&&a!==this.head;)o.push(a.value),a=a.next;n&&n.call(this,t,r,o);a=t;var u=0;for(a=t;u<o.length;u++,a=a.next)a.delete();null==s&&a===this.head&&(a=this.head.next);for(u=0;u<r.length;u++){var h=new this.Node(r[u]);a.addBefore(h)}return this.length+=r.length-o.length,i&&i.call(this,t,r,o),o},s.prototype.reverse=function(){var t=this.head;do{var e=t.next;t.next=t.prev,t.prev=e,t=t.next}while(t!==this.head);return this},s.prototype.sort=function(){this.swap(0,this.length,this.sorted.apply(this,arguments))},s.prototype.reduce=function(t,e){for(var r=arguments[2],n=this.head,i=n.next;i!==n;)e=t.call(r,e,i.value,i,this),i=i.next;return e},s.prototype.reduceRight=function(t,e){for(var r=arguments[2],n=this.head,i=n.prev;i!==n;)e=t.call(r,e,i.value,i,this),i=i.prev;return e},s.prototype.updateIndexes=function(t,e){for(;t!==this.head;)t.index=e++,t=t.next},s.prototype.iterate=function(){return new o(this.head)},o.prototype.__iterationObject=null,Object.defineProperty(o.prototype,"_iterationObject",{get:function(){return this.__iterationObject||(this.__iterationObject={done:!1,value:null})}}),o.prototype.next=function(){if(this.at===this.head)this._iterationObject.done=!0,this._iterationObject.value=void 0;else{var t=this.at.value;this.at=this.at.next,this._iterationObject.value=t}return this._iterationObject},s.prototype.Node=a,a.prototype.delete=function(){this.prev.next=this.next,this.next.prev=this.prev},a.prototype.addBefore=function(t){var e=this.prev;this.prev=t,t.prev=e,e.next=t,t.next=this},a.prototype.addAfter=function(t){var e=this.next;this.next=t,t.next=e,e.prev=t,t.prev=this}},function(t,e){function r(){throw new Error("Can't construct. GenericSet is a mixin.")}t.exports=r,r.prototype.isSet=!0,r.prototype.union=function(t){var e=this.constructClone(this);return e.addEach(t),e},r.prototype.intersection=function(t){return this.constructClone(this.filter((function(e){return t.has(e)})))},r.prototype.difference=function(t){var e=this.constructClone(this);return e.deleteEach(t),e},r.prototype.symmetricDifference=function(t){var e=this.union(t),r=this.intersection(t);return e.difference(r)},r.prototype.deleteAll=function(t){return+this.delete(t)},r.prototype.equals=function(t,e){var r=this;return t&&"function"==typeof t.reduce&&this.length===t.length&&t.reduce((function(t,n){return t&&r.has(n,e)}),!0)},r.prototype.forEach=function(t){var e=arguments[1];return this.reduce((function(r,n,i,s,o){t.call(e,n,n,s,o)}),void 0)},r.prototype.toJSON=function(){return this.toArray()},r.prototype.contains=function(t){return this.has(t)},r.prototype.remove=function(t){return this.delete(t)},r.prototype.toggle=function(t){this.has(t)?this.delete(t):this.add(t)};var n=function(t,e){return t};r.prototype.valuesArray=function(){return this.map(n)};var i=function(t,e){return[e,t]};r.prototype.entriesArray=function(){return this.map(i)}},function(t,e,r){Object.prototype.hasOwnProperty;function n(){throw new Error("This is an abstract interface. Mix it. Don't construct it")}t.exports=n,r(2);var i=r(14),s=r(8),o=r(25),a=o.ObjectChangeDescriptor,u=o.ListenerGhost;n.debug=!0;var h=new s,c=new i;function l(t,e,r,n){if(t&&t._current){var i,s,o,a,h,c=t.specificHandlerMethodName,l=t.genericHandlerMethodName,p=u;if(Array.isArray(t._current)){for(o=0,a=(i=t.removeCurrentGostListenersIfNeeded()).length;o<a;o++)if((h=i[o])!==p){if(!(s=h[c]||h[l]||h).call)throw new Error("No event listener for "+t.specificHandlerName+" or "+t.genericHandlerName+" or call on "+s);s.call(h,r,e,n)}}else{if(!(s=(h=t._current)[c]||h[l]||h).call)throw new Error("No event listener for "+t.specificHandlerName+" or "+t.genericHandlerName+" or call on "+s);s.call(h,r,e,n)}}}n.ObjectChangeDescriptor=function(){},n.prototype.getOwnPropertyChangeDescriptor=function(t){var e,r=h.get(this);if(r||(r=Object.create(null),h.set(this,r)),void 0===(e=r[t])){var n=c.get(t);return n||(n=(n=String(t))&&n[0].toUpperCase()+n.slice(1),c.set(t,n)),r[t]=new a(n)}return e},n.prototype.hasOwnPropertyChangeDescriptor=function(t){var e=h.get(this);return!!e&&(!t||void 0!==e[t])},n.prototype.addOwnPropertyChangeListener=function(t,e,r){this.makeObservable&&!this.isObservable&&this.makeObservable();var i=n.getOwnPropertyChangeDescriptor(this,t),s=r?i.willChangeListeners:i.changeListeners;n.makePropertyObservable(this,t),s._current?Array.isArray(s._current)?s._current.push(e):s._current=[s._current,e]:s._current=e;var o=this;return function(){n.removeOwnPropertyChangeListener(o,t,e,r),o=null}},n.prototype.addBeforeOwnPropertyChangeListener=function(t,e){return n.addOwnPropertyChangeListener(this,t,e,!0)},n.prototype.removeOwnPropertyChangeListener=function t(e,r,i){var s,o=n.getOwnPropertyChangeDescriptor(this,e);if((s=i?o._willChangeListeners:o._changeListeners)&&s._current)if(s._current===r)s._current=null;else{var a=s._current.lastIndexOf(r);if(-1===a)throw new Error("Can't remove property change listener: does not exist: property name"+JSON.stringify(e));o.isActive?(s.ghostCount=s.ghostCount+1,s._current[a]=t.ListenerGhost):s._current.spliceOne(a)}},n.prototype.removeOwnPropertyChangeListener.ListenerGhost=u,n.prototype.removeBeforeOwnPropertyChangeListener=function(t,e){return n.removeOwnPropertyChangeListener(this,t,e,!0)},n.prototype.dispatchOwnPropertyChange=function t(e,r,i){var s,o=n.getOwnPropertyChangeDescriptor(this,e);if(!o.isActive){o.isActive=!0,s=i?o._willChangeListeners:o._changeListeners;try{t.dispatchEach(s,e,r,this)}finally{o.isActive=!1}}},n.prototype.dispatchOwnPropertyChange.dispatchEach=l,l.ListenerGhost=u,n.prototype.dispatchBeforeOwnPropertyChange=function(t,e){return n.dispatchOwnPropertyChange(this,t,e,!0)};var p=new s,f=(new s,{get:void 0,set:void 0,configurable:!0,enumerable:!1});n.prototype.makePropertyObservable=function(t){var e=p.get(this);if(!e||void 0===e.get(t)){if(!e){if(Array.isArray(this))return;if(!Object.isExtensible(this))throw new Error("Can't make property "+JSON.stringify(t)+" observable on "+this+" because object is not extensible");e=new i,p.set(this,e)}var r,n=this;do{if(r=Object.getOwnPropertyDescriptor(n,t))break;n=Object.getPrototypeOf(n)}while(n);if(r){if(!r.configurable)return;if(!r.writable&&!r.set)return}else r={value:void 0,enumerable:!0,writable:!0,configurable:!0};e.set(t,r),"value"in r?(f.get=function t(){return t.overriddenDescriptor.value},f.set=function t(e){var r,n,i=t.overriddenDescriptor;if(e!==i.value){if(!(n=(r=t.descriptor).isActive)){r.isActive=!0;try{t.dispatchEach(r._willChangeListeners,t.key,i.value,this)}finally{}}if(i.value=e,!n)try{t.dispatchEach(r._changeListeners,t.key,e,this)}finally{r.isActive=!1}}},f.set.dispatchEach=l,f.set.key=t,f.get.overriddenDescriptor=f.set.overriddenDescriptor=r,f.set.descriptor=h.get(this)[t],f.enumerable=r.enumerable,f.configurable=!0):(f.get=r.get,f.set=function e(){var r,n,i,s=e.overriddenGetter.call(this);if(1===arguments.length?e.overriddenSetter.call(this,arguments[0]):2===arguments.length?e.overriddenSetter.call(this,arguments[0],arguments[1]):e.overriddenSetter.apply(this,arguments),(i=e.overriddenGetter.call(this))!==s){if(!(n=(r=e.descriptor).isActive)){r.isActive=!0;try{e.dispatchEach(r._willChangeListeners,t,s,this)}finally{}}if(!n)try{e.dispatchEach(r._changeListeners,t,i,this)}finally{r.isActive=!1}}},f.enumerable=r.enumerable,f.configurable=!0,f.set.dispatchEach=l,f.set.overriddenSetter=r.set,f.set.overriddenGetter=r.get,f.set.descriptor=h.get(this)[t]),Object.defineProperty(this,t,f)}},n.getOwnPropertyChangeDescriptor=function(t,e){return t.getOwnPropertyChangeDescriptor?t.getOwnPropertyChangeDescriptor(e):n.prototype.getOwnPropertyChangeDescriptor.call(t,e)},n.hasOwnPropertyChangeDescriptor=function(t,e){return t.hasOwnPropertyChangeDescriptor?t.hasOwnPropertyChangeDescriptor(e):n.prototype.hasOwnPropertyChangeDescriptor.call(t,e)},n.addOwnPropertyChangeListener=function(t,e,r,n){if(Object.isObject(t))return t.addOwnPropertyChangeListener?t.addOwnPropertyChangeListener(e,r,n):this.prototype.addOwnPropertyChangeListener.call(t,e,r,n)},n.removeOwnPropertyChangeListener=function(t,e,r,i){if(Object.isObject(t))return t.removeOwnPropertyChangeListener?t.removeOwnPropertyChangeListener(e,r,i):n.prototype.removeOwnPropertyChangeListener.call(t,e,r,i)},n.dispatchOwnPropertyChange=function(t,e,r,i){if(Object.isObject(t))return t.dispatchOwnPropertyChange?t.dispatchOwnPropertyChange(e,r,i):n.prototype.dispatchOwnPropertyChange.call(t,e,r,i)},n.addBeforeOwnPropertyChangeListener=function(t,e,r){return n.addOwnPropertyChangeListener(t,e,r,!0)},n.removeBeforeOwnPropertyChangeListener=function(t,e,r){return n.removeOwnPropertyChangeListener(t,e,r,!0)},n.dispatchBeforeOwnPropertyChange=function(t,e,r){return n.dispatchOwnPropertyChange(t,e,r,!0)},n.makePropertyObservable=function(t,e){return t.makePropertyObservable?t.makePropertyObservable(e):n.prototype.makePropertyObservable.call(t,e)}},function(t,e,r){var n=r(14),i=t.exports.ObjectChangeDescriptor=function(t){return this.name=t,this.isActive=!1,this._willChangeListeners=null,this._changeListeners=null,this};Object.defineProperties(i.prototype,{name:{value:null,writable:!0},isActive:{value:!1,writable:!0},_willChangeListeners:{value:null,writable:!0},willChangeListeners:{get:function(){return this._willChangeListeners||(this._willChangeListeners=new this.willChangeListenersRecordConstructor(this.name))}},_changeListeners:{value:null,writable:!0},changeListeners:{get:function(){return this._changeListeners||(this._changeListeners=new this.changeListenersRecordConstructor(this.name))}},changeListenersRecordConstructor:{value:a,writable:!0},willChangeListenersRecordConstructor:{value:h,writable:!0}});var s=t.exports.ListenerGhost=Object.create(null),o=new n;function a(t){var e=o.get(t);return e||(e="handle",e+=t,e+="Change",o.set(t,e)),this._current=null,this._current=null,this.specificHandlerMethodName=e,this}t.exports.ChangeListenersRecord=a,Object.defineProperties(a.prototype,{_current:{value:null,writable:!0},current:{get:function(){return this._current},set:function(t){this._current=t}},ListenerGhost:{value:s,writable:!0},ghostCount:{value:0,writable:!0},maxListenerGhostRatio:{value:.3,writable:!0},listenerGhostFilter:{value:function(t){return t!==this.ListenerGhost}},removeCurrentGostListenersIfNeeded:{value:function(){return this._current&&this.ghostCount/this._current.length>this.maxListenerGhostRatio&&(this.ghostCount=0,this._current=this._current.filter(this.listenerGhostFilter,this)),this._current}},dispatchBeforeChange:{value:!1,writable:!0},genericHandlerMethodName:{value:"handlePropertyChange",writable:!0}}),t.exports.WillChangeListenersRecord=h;var u=new n;function h(t){var e=u.get(t);return e||(e="handle",e+=t,e+="WillChange",u.set(t,e)),this.specificHandlerMethodName=e,this}h.prototype=new a,h.prototype.constructor=h,h.prototype.genericHandlerMethodName="handlePropertyWillChange"},function(t,e,r){"use strict";const n=r(45);function i(t,e){let r=t.length,n=!0;for(;r--;){for(const i in e)({}).hasOwnProperty.call(e,i)&&(n=e[i]===t[r][i]&&n);if(n)return t[r]}return null}function s(t,e){const r=e.trim?t=>t.trim():t=>t,n="function"==typeof e.fence?e.fence:t=>t.split(e.fence).length%2==0;let s=t.map(t=>r(t.source)).join("\n");s=r(s);const o=t[0].number,a=(t=t.reduce((function(t,i){if(i.source=r(i.source),i.source.match(/^\s*@(\S+)/)&&!t.isFenced)t.tags.push({source:[i.source],line:i.number});else{const r=t.tags[t.tags.length-1];if(void 0!==e.join&&!1!==e.join&&0!==e.join&&!i.startWithStar&&r.source.length>0){let t;t="string"==typeof e.join?e.join+i.source.replace(/^\s+/,""):"number"==typeof e.join?i.source:" "+i.source.replace(/^\s+/,""),r.source[r.source.length-1]+=t}else r.source.push(i.source)}return n(i.source)&&(t.isFenced=!t.isFenced),t}),{tags:[{source:[]}],isFenced:!1}).tags.map(t=>(t.source=r(t.source.join("\n")),t))).shift();return""===a.source&&0===t.length?null:{tags:t.reduce((function(t,r){const n=function(t,e){if("string"!=typeof t||!/\s*@/.test(t))return null;const r=e.reduce((function(t,e){let r;try{r=e(t.source,Object.assign({},t.data))}catch(r){t.data.errors=(t.data.errors||[]).concat(e.name+": "+r.message)}return r&&(t.source=t.source.slice(r.source.length),t.data=Object.assign(t.data,r.data)),t}),{source:t,data:{}}).data;return r.optional=!!r.optional,r.type=void 0===r.type?"":r.type,r.name=void 0===r.name?"":r.name,r.description=void 0===r.description?"":r.description,r}(r.source,e.parsers);if(!n)return t;if(n.line=r.line,n.source=r.source,e.dotted_names&&n.name.includes(".")){let e,r,s=t;const o=n.name.split(".");for(;o.length>1;)e=o.shift(),r=i(s,{tag:n.tag,name:e}),r||(r={tag:n.tag,line:Number(n.line),name:e,type:"",description:""},s.push(r)),r.tags=r.tags||[],s=r.tags;return n.name=o[0],s.push(n),t}return t.concat(n)}),[]),line:o,description:a.source,source:s}}function o(t){let e=null,r=0,i=0;return t=Object.assign({},{trim:!0,dotted_names:!1,fence:"```",parsers:[n.parse_tag,n.parse_type,n.parse_name,n.parse_description]},t||{}),function(n){let o=null;const a=n.indexOf("/**"),u=n.indexOf("*/");if(-1!==a&&n.indexOf("/***")!==a&&(e=[],r=a+"/**".length),e){let a=r,h=!1;const c=n.match(/\S/);if(e.length>0&&c)if("*"===c[0]){const t=c.index+1;a=t+(" "===n.charAt(t)?1:0),h=!0}else c.index<r&&(a=c.index);e.push({number:i,startWithStar:h,source:n.slice(a,-1===u?n.length:u)}),-1!==u&&(o=s(e,t),e=null,r=0)}return i+=1,o}}t.exports=function(t,e){const r=[],n=o(e);return t.split(/\n/).forEach(t=>{const e=n(t);e&&r.push(e)}),r},t.exports.PARSERS=n,t.exports.mkextract=o},function(t,e,r){"use strict";(function(e,n){var i=r(10);t.exports=x;var s,o=r(28);x.ReadableState=v;r(9).EventEmitter;var a=function(t,e){return t.listeners(e).length},u=r(29),h=r(11).Buffer,c=e.Uint8Array||function(){};var l=Object.create(r(6));l.inherits=r(4);var p=r(51),f=void 0;f=p&&p.debuglog?p.debuglog("stream"):function(){};var d,m=r(52),y=r(31);l.inherits(x,u);var g=["error","close","destroy","pause","resume"];function v(t,e){t=t||{};var n=e instanceof(s=s||r(5));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,o=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(d||(d=r(32).StringDecoder),this.decoder=new d(t.encoding),this.encoding=t.encoding)}function x(t){if(s=s||r(5),!(this instanceof x))return new x(t);this._readableState=new v(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),u.call(this)}function D(t,e,r,n,i){var s,o=t._readableState;null===e?(o.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,w(t)}(t,o)):(i||(s=function(t,e){var r;n=e,h.isBuffer(n)||n instanceof c||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,e)),s?t.emit("error",s):o.objectMode||e&&e.length>0?("string"==typeof e||o.objectMode||Object.getPrototypeOf(e)===h.prototype||(e=function(t){return h.from(t)}(e)),n?o.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):b(t,o,e,!0):o.ended?t.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(e=o.decoder.write(e),o.objectMode||0!==e.length?b(t,o,e,!1):A(t,o)):b(t,o,e,!1))):n||(o.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(o)}function b(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&w(t)),A(t,e)}Object.defineProperty(x.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),x.prototype.destroy=y.destroy,x.prototype._undestroy=y.undestroy,x.prototype._destroy=function(t,e){this.push(null),e(t)},x.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=h.from(t,e),e=""),r=!0),D(this,t,e,!1,r)},x.prototype.unshift=function(t){return D(this,t,null,!0,!1)},x.prototype.isPaused=function(){return!1===this._readableState.flowing},x.prototype.setEncoding=function(t){return d||(d=r(32).StringDecoder),this._readableState.decoder=new d(t),this._readableState.encoding=t,this};function E(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function w(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(f("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(C,t):C(t))}function C(t){f("emit readable"),t.emit("readable"),_(t)}function A(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(S,t,e))}function S(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(f("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function k(t){f("readable nexttick read 0"),t.read(0)}function F(t,e){e.reading||(f("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),_(t),e.flowing&&!e.reading&&t.read(0)}function _(t){var e=t._readableState;for(f("flow",e.flowing);e.flowing&&null!==t.read(););}function O(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,i=r.data;t-=i.length;for(;r=r.next;){var s=r.data,o=t>s.length?s.length:t;if(o===s.length?i+=s:i+=s.slice(0,t),0===(t-=o)){o===s.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=s.slice(o));break}++n}return e.length-=n,i}(t,e):function(t,e){var r=h.allocUnsafe(t),n=e.head,i=1;n.data.copy(r),t-=n.data.length;for(;n=n.next;){var s=n.data,o=t>s.length?s.length:t;if(s.copy(r,r.length-t,0,o),0===(t-=o)){o===s.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=s.slice(o));break}++i}return e.length-=i,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function B(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(T,e,t))}function T(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function j(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}x.prototype.read=function(t){f("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return f("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):w(this),null;if(0===(t=E(t,e))&&e.ended)return 0===e.length&&B(this),null;var n,i=e.needReadable;return f("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&f("length less than watermark",i=!0),e.ended||e.reading?f("reading or ended",i=!1):i&&(f("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=E(r,e))),null===(n=t>0?O(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&B(this)),null!==n&&this.emit("data",n),n},x.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},x.prototype.pipe=function(t,e){var r=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=t;break;case 1:s.pipes=[s.pipes,t];break;default:s.pipes.push(t)}s.pipesCount+=1,f("pipe count=%d opts=%j",s.pipesCount,e);var u=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?c:x;function h(e,n){f("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,f("cleanup"),t.removeListener("close",g),t.removeListener("finish",v),t.removeListener("drain",l),t.removeListener("error",y),t.removeListener("unpipe",h),r.removeListener("end",c),r.removeListener("end",x),r.removeListener("data",m),p=!0,!s.awaitDrain||t._writableState&&!t._writableState.needDrain||l())}function c(){f("onend"),t.end()}s.endEmitted?i.nextTick(u):r.once("end",u),t.on("unpipe",h);var l=function(t){return function(){var e=t._readableState;f("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(t,"data")&&(e.flowing=!0,_(t))}}(r);t.on("drain",l);var p=!1;var d=!1;function m(e){f("ondata"),d=!1,!1!==t.write(e)||d||((1===s.pipesCount&&s.pipes===t||s.pipesCount>1&&-1!==j(s.pipes,t))&&!p&&(f("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,d=!0),r.pause())}function y(e){f("onerror",e),x(),t.removeListener("error",y),0===a(t,"error")&&t.emit("error",e)}function g(){t.removeListener("finish",v),x()}function v(){f("onfinish"),t.removeListener("close",g),x()}function x(){f("unpipe"),r.unpipe(t)}return r.on("data",m),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?o(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",y),t.once("close",g),t.once("finish",v),t.emit("pipe",r),s.flowing||(f("pipe resume"),r.resume()),t},x.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s<i;s++)n[s].emit("unpipe",this,r);return this}var o=j(e.pipes,t);return-1===o||(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},x.prototype.on=function(t,e){var r=u.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&w(this):i.nextTick(k,this))}return r},x.prototype.addListener=x.prototype.on,x.prototype.resume=function(){var t=this._readableState;return t.flowing||(f("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(F,t,e))}(this,t)),this},x.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},x.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(f("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){(f("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var s=0;s<g.length;s++)t.on(g[s],this.emit.bind(this,g[s]));return this._read=function(e){f("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),x._fromList=O}).call(this,r(0),r(1))},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){t.exports=r(9).EventEmitter},function(t,e,r){"use strict";(function(t){
  /*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <http://feross.org>
   * @license  MIT
   */
  var n=r(49),i=r(50),s=r(28);function o(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(o()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return h(this,t,e,r)}function h(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=p(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|d(e,r),i=(t=a(t,n)).write(e,r);i!==n&&(t=t.slice(0,i));return t}(t,e,r):function(t,e){if(u.isBuffer(e)){var r=0|f(e.length);return 0===(t=a(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?a(t,0):p(t,e);if("Buffer"===e.type&&s(e.data))return p(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function l(t,e){if(c(e),t=a(t,e<0?0:0|f(e)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function p(t,e){var r=e.length<0?0:0|f(e.length);t=a(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function f(t){if(t>=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function d(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return U(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return z(t).length;default:if(n)return U(t).length;e=(""+e).toLowerCase(),n=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return _(this,e,r);case"utf8":case"utf-8":return S(this,e,r);case"ascii":return k(this,e,r);case"latin1":case"binary":return F(this,e,r);case"base64":return A(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function g(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,i);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(t,e,r,n,i){var s,o=1,a=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,a/=2,u/=2,r/=2}function h(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var c=-1;for(s=r;s<a;s++)if(h(t,s)===h(e,-1===c?0:s-c)){if(-1===c&&(c=s),s-c+1===u)return c*o}else-1!==c&&(s-=s-c),c=-1}else for(r+u>a&&(r=a-u),s=r;s>=0;s--){for(var l=!0,p=0;p<u;p++)if(h(t,s+p)!==h(e,p)){l=!1;break}if(l)return s}return-1}function x(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var s=e.length;if(s%2!=0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var o=0;o<n;++o){var a=parseInt(e.substr(2*o,2),16);if(isNaN(a))return o;t[r+o]=a}return o}function D(t,e,r,n){return J(U(e,t.length-r),t,r,n)}function b(t,e,r,n){return J(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function E(t,e,r,n){return b(t,e,r,n)}function w(t,e,r,n){return J(z(e),t,r,n)}function C(t,e,r,n){return J(function(t,e){for(var r,n,i,s=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,s.push(i),s.push(n);return s}(e,t.length-r),t,r,n)}function A(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function S(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var s,o,a,u,h=t[i],c=null,l=h>239?4:h>223?3:h>191?2:1;if(i+l<=r)switch(l){case 1:h<128&&(c=h);break;case 2:128==(192&(s=t[i+1]))&&(u=(31&h)<<6|63&s)>127&&(c=u);break;case 3:s=t[i+1],o=t[i+2],128==(192&s)&&128==(192&o)&&(u=(15&h)<<12|(63&s)<<6|63&o)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:s=t[i+1],o=t[i+2],a=t[i+3],128==(192&s)&&128==(192&o)&&128==(192&a)&&(u=(15&h)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,l=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=l}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}e.Buffer=u,e.SlowBuffer=function(t){+t!=t&&(t=0);return u.alloc(+t)},e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=o(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,r){return h(null,t,e,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,r){return function(t,e,r,n){return c(e),e<=0?a(t,e):void 0!==r?"string"==typeof n?a(t,e).fill(r,n):a(t,e).fill(r):a(t,e)}(null,t,e,r)},u.allocUnsafe=function(t){return l(null,t)},u.allocUnsafeSlow=function(t){return l(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,s=Math.min(r,n);i<s;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!s(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=u.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(!u.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},u.byteLength=d,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?S(this,0,t):m.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,r,n,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var s=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(e>>>=0),a=Math.min(s,o),h=this.slice(n,i),c=t.slice(e,r),l=0;l<a;++l)if(h[l]!==c[l]){s=h[l],o=c[l];break}return s<o?-1:o<s?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return x(this,t,e,r);case"utf8":case"utf-8":return D(this,t,e,r);case"ascii":return b(this,t,e,r);case"latin1":case"binary":return E(this,t,e,r);case"base64":return w(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function k(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function F(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function _(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",s=e;s<r;++s)i+=R(t[s]);return i}function O(t,e,r){for(var n=t.slice(e,r),i="",s=0;s<n.length;s+=2)i+=String.fromCharCode(n[s]+256*n[s+1]);return i}function B(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function T(t,e,r,n,i,s){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<s)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function j(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,s=Math.min(t.length-r,2);i<s;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function P(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,s=Math.min(t.length-r,4);i<s;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function M(t,e,r,n,i,s){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(t,e,r,n,s){return s||M(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function I(t,e,r,n,s){return s||M(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=u.prototype;else{var i=e-t;r=new u(i,void 0);for(var s=0;s<i;++s)r[s]=this[s+t]}return r},u.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||B(t,e,this.length);for(var n=this[t],i=1,s=0;++s<e&&(i*=256);)n+=this[t+s]*i;return n},u.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||B(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUInt8=function(t,e){return e||B(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||B(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||B(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||B(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||B(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||B(t,e,this.length);for(var n=this[t],i=1,s=0;++s<e&&(i*=256);)n+=this[t+s]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||B(t,e,this.length);for(var n=e,i=1,s=this[t+--n];n>0&&(i*=256);)s+=this[t+--n]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*e)),s},u.prototype.readInt8=function(t,e){return e||B(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||B(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){e||B(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return e||B(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||B(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||B(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||B(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||B(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||B(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||T(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,s=0;for(this[e]=255&t;++s<r&&(i*=256);)this[e+s]=t/i&255;return e+r},u.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||T(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,s=1;for(this[e+i]=255&t;--i>=0&&(s*=256);)this[e+i]=t/s&255;return e+r},u.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||T(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||T(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):j(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||T(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):j(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||T(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||T(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);T(this,t,e,r,i-1,-i)}var s=0,o=1,a=0;for(this[e]=255&t;++s<r&&(o*=256);)t<0&&0===a&&0!==this[e+s-1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);T(this,t,e,r,i-1,-i)}var s=r-1,o=1,a=0;for(this[e+s]=255&t;--s>=0&&(o*=256);)t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||T(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||T(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):j(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||T(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):j(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||T(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||T(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,r){return N(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return N(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return I(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return I(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i,s=n-r;if(this===t&&r<e&&e<n)for(i=s-1;i>=0;--i)t[i+e]=this[i+r];else if(s<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+s),e);return s},u.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var s;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(s=e;s<r;++s)this[s]=t;else{var o=u.isBuffer(t)?t:U(new u(t,n).toString()),a=o.length;for(s=0;s<r-e;++s)this[s+e]=o[s%a]}return this};var L=/[^+\/0-9A-Za-z-_]/g;function R(t){return t<16?"0"+t.toString(16):t.toString(16)}function U(t,e){var r;e=e||1/0;for(var n=t.length,i=null,s=[],o=0;o<n;++o){if((r=t.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&s.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;s.push(r)}else if(r<2048){if((e-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function z(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(L,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function J(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(0))},function(t,e,r){"use strict";var n=r(10);function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,s=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return s||o?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||n.nextTick(i,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(n.nextTick(i,r,t),r._writableState&&(r._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(t,e,r){"use strict";var n=r(11).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=h,e=4;break;case"utf8":this.fillLast=a,e=4;break;case"base64":this.text=c,this.end=l,e=3;break;default:return this.write=p,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function o(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function a(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function h(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function c(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function l(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function p(t){return t.toString(this.encoding)}function f(t){return t&&t.length?this.write(t):""}e.StringDecoder=s,s.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},s.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},s.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=o(e[n]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if((i=o(e[n]))>=0)return i>0&&(t.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if((i=o(e[n]))>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},s.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,r){"use strict";t.exports=o;var n=r(5),i=Object.create(r(6));function s(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(t){if(!(this instanceof o))return new o(t);n.call(this,t),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",a)}function a(){var t=this;"function"==typeof this._flush?this._flush((function(e,r){u(t,e,r)})):u(this,null,null)}function u(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}i.inherits=r(4),i.inherits(o,n),o.prototype.push=function(t,e){return this._transformState.needTransform=!1,n.prototype.push.call(this,t,e)},o.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},o.prototype._destroy=function(t,e){var r=this;n.prototype._destroy.call(this,t,(function(t){e(t),r.emit("close")}))}},function(t,e,r){var n=new Function("try {return this===window;}catch(e){ return false;}");const i=r(35),s=r(36),o=r(44);let a,u,h,c;n()?(a=r(26),h=window.WebSocket,u=null,window.uniqid=o):(u=r(!function(){var t=new Error("Cannot find module 'fs'");throw t.code="MODULE_NOT_FOUND",t}()),h=r(46),a=r(47),c=r(63)());const l={iceServers:[{urls:"stun:stun.l.google.com:19302"},{urls:"stun:23.21.150.121:3478"},{urls:"stun:s1.taraba.net:3478"}]},p={PUBLIC:0,PRIVATE:1};class f extends h{constructor(t){super(t),this.listeners={open:[],message:[],close:[]},this.onopen=()=>{this.listeners.open.forEach(t=>t())},this.onmessage=t=>{this.listeners.message.forEach(e=>e(t.data))},this.onclose=()=>{this.listeners.close.forEach(t=>t())}}on(t,e){"open"===t&&this.readyState===this.OPEN||"close"===t&&this.readyState==this.readyState===this.CLOSED?e():this.listeners.hasOwnProperty(t)&&this.listeners[t].push(e)}}function d(t){return n()?new f(t):new h(t)}function m(t){return n()?new RTCPeerConnection(t):new c.RTCPeerConnection(t)}function y(t){return n()?new RTCSessionDescription(t):new c.RTCSessionDescription(t)}class g{static get SCOPE(){return p}constructor(t,{key:e,keyFile:r}){if(!e){if(!r)throw new Error("Either provide a key or a keyFile");if(!u)throw new Error("Cannot use keyFile in Browser.");e=u.readFileSync(r,{encoding:"utf-8"})}this.socket=d("wss://marvin-server.herokuapp.com"),this.token=e,this.identifier=t,this.socket.on("open",()=>{this.Send({action:"activate"})}),this.connections=new s,this.socket.on("message",async t=>{var{clientId:e,message:r}=JSON.parse(t);if("offer"===r.request){const t=m(l);this.connections.set(e,{peerConnection:t,dataChannel:null}),await t.setRemoteDescription(y(r.data));const n=await t.createAnswer();await t.setLocalDescription(n),this.Send({action:"message",clientId:e,message:{response:"answer",data:n}}),t.addEventListener("icecandidate",t=>{t.candidate&&this.Send({action:"message",clientId:e,message:{response:"exchange-ice-candidate",data:t.candidate}})}),t.addEventListener("datachannel",t=>{const r=t.channel;this.connections.get(e).dataChannel=r,r.addEventListener("message",async t=>{const e=JSON.parse(t.data);if("execute"===e.request){var n=await this.container[e.procedure](...e.params);r.send(JSON.stringify({response:"result",data:{result:n,id:e.id}}))}})})}else if("exchange-ice-candidate"===r.request){var n=this.connections.get(e).peerConnection;await n.addIceCandidate(r.data)}else if("execute"===r.request){var i=await this.container[r.data.procedure](...r.data.params);this.Send({action:"message",clientId:e,message:{response:"result",data:{result:i,id:r.data.id}}})}})}close(){this.Send({action:"deactivate"})}register(t){this.procedures=[];let e=i.parse(t.toString(),{attachComment:!0}).body[0];if("ClassDeclaration"!==e.type)throw new Error("Provided container is not an ES6 class");this.container=new t,e.body.body.forEach((t,e)=>{if("method"===t.kind){let e=t.leadingComments.find(t=>"Block"===t.type).value,r={name:t.key.name};if(e){let t=a(`/*${e}*/`)[0];r.description=t.description;let n=t.tags.filter(t=>"param"===t.tag).map(t=>({name:t.name,type:t.type,optional:t.optional,default:t.default,description:t.description}));n.length>0&&(r.arguments=n);let i=t.tags.filter(t=>"returns"===t.tag).map(t=>({type:t.type,description:t.name+" "+t.description}));i.length>0&&(r.returns=i[0])}this.procedures.push(r)}}),this.socket.on("open",()=>{this.Send({action:"update-procedures",procedures:this.procedures})})}Send(t){var e={data:t};this.token&&(e.token=this.token),this.socket.send(JSON.stringify(e))}}class v{static get SCOPE(){return p}constructor(t,e=p.PUBLIC,r){if(e===p.PRIVATE&&!r)throw new Error("Private Services require a valid API Key");this.id=t,this.key=r,this.scope=e,this._socket=d("wss://marvin-server.herokuapp.com"),this._listener={"socket-transport":[],"rtc-transport":[],"rtc-close":[],"socket-close":[]},this._socket.on("close",()=>{this._listener["socket-close"].forEach(t=>{t()})}),this._connection=m(l),this._connection.addEventListener("icecandidate",t=>{t.candidate&&this._Send({response:"exchange-ice-candidate",data:t.candidate})}),this._socket.on("message",t=>{let{message:e}=JSON.parse(t),{response:r,data:n}=e;"exchange-ice-candidate"===r&&this._connection.addIceCandidate(n)}),this._connection.addEventListener("connectionstatechanged",t=>{"connected"===this._connection.connectionState&&(this._dataChannel=this._connection.createDataChannel("primary"),this._dataChannel.addEventListener("open",t=>{this._listener["rtc-transport"].forEach(t=>{t(this)})}),this._dataChannel.addEventListener("close",t=>{this._listener["rtc-close"].forEach(t=>{t()})}))}),this._isNegotiating=!1,this._connection.onnegotiationneeded=async t=>{this._isNegotiating||await this.negotiate()},this.negotiate(),this._connection.onsignalingstatechange=t=>{this._isNegotiating="stable"!=this._connection.signalingState}}async negotiate(){return this._isNegotiating=!0,new Promise(async(t,e)=>{const r=await this._connection.createOffer();await this._connection.setLocalDescription(r),this._socket.on("message",async e=>{let{message:r}=JSON.parse(e),{response:n,data:i,procedures:s}=r;if("answer"===n&&s){for(const t of s)this[t.name]=new Function(`\n              return function (${t.arguments.map(t=>t.optional?t.name+"="+("string"==typeof t.default?`'${t.default}'`:t.default):t.name).join(",")}) {\n                var execMessage = {\n                  request: 'execute',\n                  data: {\n                    procedure: "${t.name}",\n                    params: [ ${t.arguments.map(t=>t.name).join(",")} ],\n                    id: uniqid()\n                  }\n                };\n                return new Promise((resolve, reject) => {\n                  if(this._dataChannel) {\n                    this._dataChannel.addEventListener("message", event => {\n                      var message = JSON.parse(event.data)\n                      if(message.response === "result" && message.data.id === execMessage.data.id)\n                        resolve(message.data.result);\n                    });\n                    this._dataChannel.send(\n                      JSON.stringify(execMessage)\n                    );\n                  } else {\n                    console.log('WebRTC Transport not yet available. Routing via. Socket Server');\n                    this._socket.on("message", (msg) => {\n                      let { message } = JSON.parse(msg);\n                      let { response, data } = message;\n                      if(response === "result" && data.id === execMessage.data.id)\n                        resolve(data.result);\n                    });\n                    this._Send(execMessage);\n                  }\n                });\n              }\n            `)();this._listener["socket-transport"].forEach(t=>{t(this)});const t=y(i);await this._connection.setRemoteDescription(t)}t()}),this._socket.on("open",()=>{this._Send({request:"offer",data:r})})})}on(t,e){"rtc-transport"===t?this._dataChannel?e(this):this._listener["rtc-transport"].push(e):"socket-transport"===t?this._socket.readyState===h.OPEN?e(this):this._listener["socket-transport"].push(e):"socket-close"===t?this._socket.readyState===h.CLOSED?e():this._listener["socket-close"].push(e):"rtc-close"===t&&("closed"===this._dataChannel.readyState?e():this._listener["rtc-close"].push(e))}_Send(t){this.scope===p.PUBLIC?this._socket.send(JSON.stringify({serviceId:this.id,data:{message:t}})):this._socket.send(JSON.stringify({serviceId:this.id,data:{key:this.key,message:t}}))}}n()?(window.Service=g,window.ServiceConnection=v):t.exports={Service:g,ServiceConnection:v}},function(t,e,r){var n;n=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.m=t,r.c=e,r.p="",r(0)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),i=r(3),s=r(8),o=r(15);function a(t,e,r){var o=null,a=function(t,e){r&&r(t,e),o&&o.visit(t,e)},u="function"==typeof r?a:null,h=!1;if(e){h="boolean"==typeof e.comment&&e.comment;var c="boolean"==typeof e.attachComment&&e.attachComment;(h||c)&&((o=new n.CommentHandler).attach=c,e.comment=!0,u=a)}var l,p=!1;e&&"string"==typeof e.sourceType&&(p="module"===e.sourceType),l=e&&"boolean"==typeof e.jsx&&e.jsx?new i.JSXParser(t,e,u):new s.Parser(t,e,u);var f=p?l.parseModule():l.parseScript();return h&&o&&(f.comments=o.comments),l.config.tokens&&(f.tokens=l.tokens),l.config.tolerant&&(f.errors=l.errorHandler.errors),f}e.parse=a,e.parseModule=function(t,e,r){var n=e||{};return n.sourceType="module",a(t,n,r)},e.parseScript=function(t,e,r){var n=e||{};return n.sourceType="script",a(t,n,r)},e.tokenize=function(t,e,r){var n,i=new o.Tokenizer(t,e);n=[];try{for(;;){var s=i.getNextToken();if(!s)break;r&&(s=r(s)),n.push(s)}}catch(t){i.errorHandler.tolerate(t)}return i.errorHandler.tolerant&&(n.errors=i.errors()),n};var u=r(2);e.Syntax=u.Syntax,e.version="4.0.1"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2),i=function(){function t(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return t.prototype.insertInnerComments=function(t,e){if(t.type===n.Syntax.BlockStatement&&0===t.body.length){for(var r=[],i=this.leading.length-1;i>=0;--i){var s=this.leading[i];e.end.offset>=s.start&&(r.unshift(s.comment),this.leading.splice(i,1),this.trailing.splice(i,1))}r.length&&(t.innerComments=r)}},t.prototype.findTrailingComments=function(t){var e=[];if(this.trailing.length>0){for(var r=this.trailing.length-1;r>=0;--r){var n=this.trailing[r];n.start>=t.end.offset&&e.unshift(n.comment)}return this.trailing.length=0,e}var i=this.stack[this.stack.length-1];if(i&&i.node.trailingComments){var s=i.node.trailingComments[0];s&&s.range[0]>=t.end.offset&&(e=i.node.trailingComments,delete i.node.trailingComments)}return e},t.prototype.findLeadingComments=function(t){for(var e,r=[];this.stack.length>0&&((s=this.stack[this.stack.length-1])&&s.start>=t.start.offset);)e=s.node,this.stack.pop();if(e){for(var n=(e.leadingComments?e.leadingComments.length:0)-1;n>=0;--n){var i=e.leadingComments[n];i.range[1]<=t.start.offset&&(r.unshift(i),e.leadingComments.splice(n,1))}return e.leadingComments&&0===e.leadingComments.length&&delete e.leadingComments,r}for(n=this.leading.length-1;n>=0;--n){var s;(s=this.leading[n]).start<=t.start.offset&&(r.unshift(s.comment),this.leading.splice(n,1))}return r},t.prototype.visitNode=function(t,e){if(!(t.type===n.Syntax.Program&&t.body.length>0)){this.insertInnerComments(t,e);var r=this.findTrailingComments(e),i=this.findLeadingComments(e);i.length>0&&(t.leadingComments=i),r.length>0&&(t.trailingComments=r),this.stack.push({node:t,start:e.start.offset})}},t.prototype.visitComment=function(t,e){var r="L"===t.type[0]?"Line":"Block",n={type:r,value:t.value};if(t.range&&(n.range=t.range),t.loc&&(n.loc=t.loc),this.comments.push(n),this.attach){var i={comment:{type:r,value:t.value,range:[e.start.offset,e.end.offset]},start:e.start.offset};t.loc&&(i.comment.loc=t.loc),t.type=r,this.leading.push(i),this.trailing.push(i)}},t.prototype.visit=function(t,e){"LineComment"===t.type||"BlockComment"===t.type?this.visitComment(t,e):this.attach&&this.visitNode(t,e)},t}();e.CommentHandler=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(t,e,r){"use strict";var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var s=r(4),o=r(5),a=r(6),u=r(7),h=r(8),c=r(13),l=r(14);function p(t){var e;switch(t.type){case a.JSXSyntax.JSXIdentifier:e=t.name;break;case a.JSXSyntax.JSXNamespacedName:var r=t;e=p(r.namespace)+":"+p(r.name);break;case a.JSXSyntax.JSXMemberExpression:var n=t;e=p(n.object)+"."+p(n.property)}return e}c.TokenName[100]="JSXIdentifier",c.TokenName[101]="JSXText";var f=function(t){function e(e,r,n){return t.call(this,e,r,n)||this}return i(e,t),e.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():t.prototype.parsePrimaryExpression.call(this)},e.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},e.prototype.finishJSX=function(){this.nextToken()},e.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},e.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},e.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},e.prototype.scanXHTMLEntity=function(t){for(var e="&",r=!0,n=!1,i=!1,o=!1;!this.scanner.eof()&&r&&!n;){var a=this.scanner.source[this.scanner.index];if(a===t)break;if(n=";"===a,e+=a,++this.scanner.index,!n)switch(e.length){case 2:i="#"===a;break;case 3:i&&(r=(o="x"===a)||s.Character.isDecimalDigit(a.charCodeAt(0)),i=i&&!o);break;default:r=(r=r&&!(i&&!s.Character.isDecimalDigit(a.charCodeAt(0))))&&!(o&&!s.Character.isHexDigit(a.charCodeAt(0)))}}if(r&&n&&e.length>2){var u=e.substr(1,e.length-2);i&&u.length>1?e=String.fromCharCode(parseInt(u.substr(1),10)):o&&u.length>2?e=String.fromCharCode(parseInt("0"+u.substr(1),16)):i||o||!l.XHTMLEntities[u]||(e=l.XHTMLEntities[u])}return e},e.prototype.lexJSX=function(){var t=this.scanner.source.charCodeAt(this.scanner.index);if(60===t||62===t||47===t||58===t||61===t||123===t||125===t)return{type:7,value:a=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(34===t||39===t){for(var e=this.scanner.index,r=this.scanner.source[this.scanner.index++],n="";!this.scanner.eof()&&(u=this.scanner.source[this.scanner.index++])!==r;)n+="&"===u?this.scanXHTMLEntity(r):u;return{type:8,value:n,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:e,end:this.scanner.index}}if(46===t){var i=this.scanner.source.charCodeAt(this.scanner.index+1),o=this.scanner.source.charCodeAt(this.scanner.index+2),a=46===i&&46===o?"...":".";return e=this.scanner.index,this.scanner.index+=a.length,{type:7,value:a,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:e,end:this.scanner.index}}if(96===t)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(s.Character.isIdentifierStart(t)&&92!==t){for(e=this.scanner.index,++this.scanner.index;!this.scanner.eof();){var u=this.scanner.source.charCodeAt(this.scanner.index);if(s.Character.isIdentifierPart(u)&&92!==u)++this.scanner.index;else{if(45!==u)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(e,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:e,end:this.scanner.index}}return this.scanner.lex()},e.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var t=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(t)),t},e.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var t=this.scanner.index,e="";!this.scanner.eof();){var r=this.scanner.source[this.scanner.index];if("{"===r||"<"===r)break;++this.scanner.index,e+=r,s.Character.isLineTerminator(r.charCodeAt(0))&&(++this.scanner.lineNumber,"\r"===r&&"\n"===this.scanner.source[this.scanner.index]&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var n={type:101,value:e,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index};return e.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(n)),n},e.prototype.peekJSXToken=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.lexJSX();return this.scanner.restoreState(t),e},e.prototype.expectJSX=function(t){var e=this.nextJSXToken();7===e.type&&e.value===t||this.throwUnexpectedToken(e)},e.prototype.matchJSX=function(t){var e=this.peekJSXToken();return 7===e.type&&e.value===t},e.prototype.parseJSXIdentifier=function(){var t=this.createJSXNode(),e=this.nextJSXToken();return 100!==e.type&&this.throwUnexpectedToken(e),this.finalize(t,new o.JSXIdentifier(e.value))},e.prototype.parseJSXElementName=function(){var t=this.createJSXNode(),e=this.parseJSXIdentifier();if(this.matchJSX(":")){var r=e;this.expectJSX(":");var n=this.parseJSXIdentifier();e=this.finalize(t,new o.JSXNamespacedName(r,n))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var i=e;this.expectJSX(".");var s=this.parseJSXIdentifier();e=this.finalize(t,new o.JSXMemberExpression(i,s))}return e},e.prototype.parseJSXAttributeName=function(){var t,e=this.createJSXNode(),r=this.parseJSXIdentifier();if(this.matchJSX(":")){var n=r;this.expectJSX(":");var i=this.parseJSXIdentifier();t=this.finalize(e,new o.JSXNamespacedName(n,i))}else t=r;return t},e.prototype.parseJSXStringLiteralAttribute=function(){var t=this.createJSXNode(),e=this.nextJSXToken();8!==e.type&&this.throwUnexpectedToken(e);var r=this.getTokenRaw(e);return this.finalize(t,new u.Literal(e.value,r))},e.prototype.parseJSXExpressionAttribute=function(){var t=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var e=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(t,new o.JSXExpressionContainer(e))},e.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},e.prototype.parseJSXNameValueAttribute=function(){var t=this.createJSXNode(),e=this.parseJSXAttributeName(),r=null;return this.matchJSX("=")&&(this.expectJSX("="),r=this.parseJSXAttributeValue()),this.finalize(t,new o.JSXAttribute(e,r))},e.prototype.parseJSXSpreadAttribute=function(){var t=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var e=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(t,new o.JSXSpreadAttribute(e))},e.prototype.parseJSXAttributes=function(){for(var t=[];!this.matchJSX("/")&&!this.matchJSX(">");){var e=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();t.push(e)}return t},e.prototype.parseJSXOpeningElement=function(){var t=this.createJSXNode();this.expectJSX("<");var e=this.parseJSXElementName(),r=this.parseJSXAttributes(),n=this.matchJSX("/");return n&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(t,new o.JSXOpeningElement(e,n,r))},e.prototype.parseJSXBoundaryElement=function(){var t=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var e=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(t,new o.JSXClosingElement(e))}var r=this.parseJSXElementName(),n=this.parseJSXAttributes(),i=this.matchJSX("/");return i&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(t,new o.JSXOpeningElement(r,i,n))},e.prototype.parseJSXEmptyExpression=function(){var t=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(t,new o.JSXEmptyExpression)},e.prototype.parseJSXExpressionContainer=function(){var t,e=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(t=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),t=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(e,new o.JSXExpressionContainer(t))},e.prototype.parseJSXChildren=function(){for(var t=[];!this.scanner.eof();){var e=this.createJSXChildNode(),r=this.nextJSXText();if(r.start<r.end){var n=this.getTokenRaw(r),i=this.finalize(e,new o.JSXText(r.value,n));t.push(i)}if("{"!==this.scanner.source[this.scanner.index])break;var s=this.parseJSXExpressionContainer();t.push(s)}return t},e.prototype.parseComplexJSXElement=function(t){for(var e=[];!this.scanner.eof();){t.children=t.children.concat(this.parseJSXChildren());var r=this.createJSXChildNode(),n=this.parseJSXBoundaryElement();if(n.type===a.JSXSyntax.JSXOpeningElement){var i=n;if(i.selfClosing){var s=this.finalize(r,new o.JSXElement(i,[],null));t.children.push(s)}else e.push(t),t={node:r,opening:i,closing:null,children:[]}}if(n.type===a.JSXSyntax.JSXClosingElement){t.closing=n;var u=p(t.opening.name);if(u!==p(t.closing.name)&&this.tolerateError("Expected corresponding JSX closing tag for %0",u),!(e.length>0))break;s=this.finalize(t.node,new o.JSXElement(t.opening,t.children,t.closing)),(t=e[e.length-1]).children.push(s),e.pop()}}return t},e.prototype.parseJSXElement=function(){var t=this.createJSXNode(),e=this.parseJSXOpeningElement(),r=[],n=null;if(!e.selfClosing){var i=this.parseComplexJSXElement({node:t,opening:e,closing:n,children:r});r=i.children,n=i.closing}return this.finalize(t,new o.JSXElement(e,r,n))},e.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var t=this.parseJSXElement();return this.finishJSX(),t},e.prototype.isStartOfExpression=function(){return t.prototype.isStartOfExpression.call(this)||this.match("<")},e}(h.Parser);e.JSXParser=f},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};e.Character={fromCodePoint:function(t){return t<65536?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10))+String.fromCharCode(56320+(t-65536&1023))},isWhiteSpace:function(t){return 32===t||9===t||11===t||12===t||160===t||t>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(t)>=0},isLineTerminator:function(t){return 10===t||13===t||8232===t||8233===t},isIdentifierStart:function(t){return 36===t||95===t||t>=65&&t<=90||t>=97&&t<=122||92===t||t>=128&&r.NonAsciiIdentifierStart.test(e.Character.fromCodePoint(t))},isIdentifierPart:function(t){return 36===t||95===t||t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||92===t||t>=128&&r.NonAsciiIdentifierPart.test(e.Character.fromCodePoint(t))},isDecimalDigit:function(t){return t>=48&&t<=57},isHexDigit:function(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102},isOctalDigit:function(t){return t>=48&&t<=55}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(6),i=function(t){this.type=n.JSXSyntax.JSXClosingElement,this.name=t};e.JSXClosingElement=i;var s=function(t,e,r){this.type=n.JSXSyntax.JSXElement,this.openingElement=t,this.children=e,this.closingElement=r};e.JSXElement=s;var o=function(){this.type=n.JSXSyntax.JSXEmptyExpression};e.JSXEmptyExpression=o;var a=function(t){this.type=n.JSXSyntax.JSXExpressionContainer,this.expression=t};e.JSXExpressionContainer=a;var u=function(t){this.type=n.JSXSyntax.JSXIdentifier,this.name=t};e.JSXIdentifier=u;var h=function(t,e){this.type=n.JSXSyntax.JSXMemberExpression,this.object=t,this.property=e};e.JSXMemberExpression=h;var c=function(t,e){this.type=n.JSXSyntax.JSXAttribute,this.name=t,this.value=e};e.JSXAttribute=c;var l=function(t,e){this.type=n.JSXSyntax.JSXNamespacedName,this.namespace=t,this.name=e};e.JSXNamespacedName=l;var p=function(t,e,r){this.type=n.JSXSyntax.JSXOpeningElement,this.name=t,this.selfClosing=e,this.attributes=r};e.JSXOpeningElement=p;var f=function(t){this.type=n.JSXSyntax.JSXSpreadAttribute,this.argument=t};e.JSXSpreadAttribute=f;var d=function(t,e){this.type=n.JSXSyntax.JSXText,this.value=t,this.raw=e};e.JSXText=d},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2),i=function(t){this.type=n.Syntax.ArrayExpression,this.elements=t};e.ArrayExpression=i;var s=function(t){this.type=n.Syntax.ArrayPattern,this.elements=t};e.ArrayPattern=s;var o=function(t,e,r){this.type=n.Syntax.ArrowFunctionExpression,this.id=null,this.params=t,this.body=e,this.generator=!1,this.expression=r,this.async=!1};e.ArrowFunctionExpression=o;var a=function(t,e,r){this.type=n.Syntax.AssignmentExpression,this.operator=t,this.left=e,this.right=r};e.AssignmentExpression=a;var u=function(t,e){this.type=n.Syntax.AssignmentPattern,this.left=t,this.right=e};e.AssignmentPattern=u;var h=function(t,e,r){this.type=n.Syntax.ArrowFunctionExpression,this.id=null,this.params=t,this.body=e,this.generator=!1,this.expression=r,this.async=!0};e.AsyncArrowFunctionExpression=h;var c=function(t,e,r){this.type=n.Syntax.FunctionDeclaration,this.id=t,this.params=e,this.body=r,this.generator=!1,this.expression=!1,this.async=!0};e.AsyncFunctionDeclaration=c;var l=function(t,e,r){this.type=n.Syntax.FunctionExpression,this.id=t,this.params=e,this.body=r,this.generator=!1,this.expression=!1,this.async=!0};e.AsyncFunctionExpression=l;var p=function(t){this.type=n.Syntax.AwaitExpression,this.argument=t};e.AwaitExpression=p;var f=function(t,e,r){var i="||"===t||"&&"===t;this.type=i?n.Syntax.LogicalExpression:n.Syntax.BinaryExpression,this.operator=t,this.left=e,this.right=r};e.BinaryExpression=f;var d=function(t){this.type=n.Syntax.BlockStatement,this.body=t};e.BlockStatement=d;var m=function(t){this.type=n.Syntax.BreakStatement,this.label=t};e.BreakStatement=m;var y=function(t,e){this.type=n.Syntax.CallExpression,this.callee=t,this.arguments=e};e.CallExpression=y;var g=function(t,e){this.type=n.Syntax.CatchClause,this.param=t,this.body=e};e.CatchClause=g;var v=function(t){this.type=n.Syntax.ClassBody,this.body=t};e.ClassBody=v;var x=function(t,e,r){this.type=n.Syntax.ClassDeclaration,this.id=t,this.superClass=e,this.body=r};e.ClassDeclaration=x;var D=function(t,e,r){this.type=n.Syntax.ClassExpression,this.id=t,this.superClass=e,this.body=r};e.ClassExpression=D;var b=function(t,e){this.type=n.Syntax.MemberExpression,this.computed=!0,this.object=t,this.property=e};e.ComputedMemberExpression=b;var E=function(t,e,r){this.type=n.Syntax.ConditionalExpression,this.test=t,this.consequent=e,this.alternate=r};e.ConditionalExpression=E;var w=function(t){this.type=n.Syntax.ContinueStatement,this.label=t};e.ContinueStatement=w;var C=function(){this.type=n.Syntax.DebuggerStatement};e.DebuggerStatement=C;var A=function(t,e){this.type=n.Syntax.ExpressionStatement,this.expression=t,this.directive=e};e.Directive=A;var S=function(t,e){this.type=n.Syntax.DoWhileStatement,this.body=t,this.test=e};e.DoWhileStatement=S;var k=function(){this.type=n.Syntax.EmptyStatement};e.EmptyStatement=k;var F=function(t){this.type=n.Syntax.ExportAllDeclaration,this.source=t};e.ExportAllDeclaration=F;var _=function(t){this.type=n.Syntax.ExportDefaultDeclaration,this.declaration=t};e.ExportDefaultDeclaration=_;var O=function(t,e,r){this.type=n.Syntax.ExportNamedDeclaration,this.declaration=t,this.specifiers=e,this.source=r};e.ExportNamedDeclaration=O;var B=function(t,e){this.type=n.Syntax.ExportSpecifier,this.exported=e,this.local=t};e.ExportSpecifier=B;var T=function(t){this.type=n.Syntax.ExpressionStatement,this.expression=t};e.ExpressionStatement=T;var j=function(t,e,r){this.type=n.Syntax.ForInStatement,this.left=t,this.right=e,this.body=r,this.each=!1};e.ForInStatement=j;var P=function(t,e,r){this.type=n.Syntax.ForOfStatement,this.left=t,this.right=e,this.body=r};e.ForOfStatement=P;var M=function(t,e,r,i){this.type=n.Syntax.ForStatement,this.init=t,this.test=e,this.update=r,this.body=i};e.ForStatement=M;var N=function(t,e,r,i){this.type=n.Syntax.FunctionDeclaration,this.id=t,this.params=e,this.body=r,this.generator=i,this.expression=!1,this.async=!1};e.FunctionDeclaration=N;var I=function(t,e,r,i){this.type=n.Syntax.FunctionExpression,this.id=t,this.params=e,this.body=r,this.generator=i,this.expression=!1,this.async=!1};e.FunctionExpression=I;var L=function(t){this.type=n.Syntax.Identifier,this.name=t};e.Identifier=L;var R=function(t,e,r){this.type=n.Syntax.IfStatement,this.test=t,this.consequent=e,this.alternate=r};e.IfStatement=R;var U=function(t,e){this.type=n.Syntax.ImportDeclaration,this.specifiers=t,this.source=e};e.ImportDeclaration=U;var z=function(t){this.type=n.Syntax.ImportDefaultSpecifier,this.local=t};e.ImportDefaultSpecifier=z;var J=function(t){this.type=n.Syntax.ImportNamespaceSpecifier,this.local=t};e.ImportNamespaceSpecifier=J;var X=function(t,e){this.type=n.Syntax.ImportSpecifier,this.local=t,this.imported=e};e.ImportSpecifier=X;var q=function(t,e){this.type=n.Syntax.LabeledStatement,this.label=t,this.body=e};e.LabeledStatement=q;var H=function(t,e){this.type=n.Syntax.Literal,this.value=t,this.raw=e};e.Literal=H;var W=function(t,e){this.type=n.Syntax.MetaProperty,this.meta=t,this.property=e};e.MetaProperty=W;var K=function(t,e,r,i,s){this.type=n.Syntax.MethodDefinition,this.key=t,this.computed=e,this.value=r,this.kind=i,this.static=s};e.MethodDefinition=K;var G=function(t){this.type=n.Syntax.Program,this.body=t,this.sourceType="module"};e.Module=G;var Y=function(t,e){this.type=n.Syntax.NewExpression,this.callee=t,this.arguments=e};e.NewExpression=Y;var V=function(t){this.type=n.Syntax.ObjectExpression,this.properties=t};e.ObjectExpression=V;var $=function(t){this.type=n.Syntax.ObjectPattern,this.properties=t};e.ObjectPattern=$;var Q=function(t,e,r,i,s,o){this.type=n.Syntax.Property,this.key=e,this.computed=r,this.value=i,this.kind=t,this.method=s,this.shorthand=o};e.Property=Q;var Z=function(t,e,r,i){this.type=n.Syntax.Literal,this.value=t,this.raw=e,this.regex={pattern:r,flags:i}};e.RegexLiteral=Z;var tt=function(t){this.type=n.Syntax.RestElement,this.argument=t};e.RestElement=tt;var et=function(t){this.type=n.Syntax.ReturnStatement,this.argument=t};e.ReturnStatement=et;var rt=function(t){this.type=n.Syntax.Program,this.body=t,this.sourceType="script"};e.Script=rt;var nt=function(t){this.type=n.Syntax.SequenceExpression,this.expressions=t};e.SequenceExpression=nt;var it=function(t){this.type=n.Syntax.SpreadElement,this.argument=t};e.SpreadElement=it;var st=function(t,e){this.type=n.Syntax.MemberExpression,this.computed=!1,this.object=t,this.property=e};e.StaticMemberExpression=st;var ot=function(){this.type=n.Syntax.Super};e.Super=ot;var at=function(t,e){this.type=n.Syntax.SwitchCase,this.test=t,this.consequent=e};e.SwitchCase=at;var ut=function(t,e){this.type=n.Syntax.SwitchStatement,this.discriminant=t,this.cases=e};e.SwitchStatement=ut;var ht=function(t,e){this.type=n.Syntax.TaggedTemplateExpression,this.tag=t,this.quasi=e};e.TaggedTemplateExpression=ht;var ct=function(t,e){this.type=n.Syntax.TemplateElement,this.value=t,this.tail=e};e.TemplateElement=ct;var lt=function(t,e){this.type=n.Syntax.TemplateLiteral,this.quasis=t,this.expressions=e};e.TemplateLiteral=lt;var pt=function(){this.type=n.Syntax.ThisExpression};e.ThisExpression=pt;var ft=function(t){this.type=n.Syntax.ThrowStatement,this.argument=t};e.ThrowStatement=ft;var dt=function(t,e,r){this.type=n.Syntax.TryStatement,this.block=t,this.handler=e,this.finalizer=r};e.TryStatement=dt;var mt=function(t,e){this.type=n.Syntax.UnaryExpression,this.operator=t,this.argument=e,this.prefix=!0};e.UnaryExpression=mt;var yt=function(t,e,r){this.type=n.Syntax.UpdateExpression,this.operator=t,this.argument=e,this.prefix=r};e.UpdateExpression=yt;var gt=function(t,e){this.type=n.Syntax.VariableDeclaration,this.declarations=t,this.kind=e};e.VariableDeclaration=gt;var vt=function(t,e){this.type=n.Syntax.VariableDeclarator,this.id=t,this.init=e};e.VariableDeclarator=vt;var xt=function(t,e){this.type=n.Syntax.WhileStatement,this.test=t,this.body=e};e.WhileStatement=xt;var Dt=function(t,e){this.type=n.Syntax.WithStatement,this.object=t,this.body=e};e.WithStatement=Dt;var bt=function(t,e){this.type=n.Syntax.YieldExpression,this.argument=t,this.delegate=e};e.YieldExpression=bt},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(9),i=r(10),s=r(11),o=r(7),a=r(12),u=r(2),h=r(13),c=function(){function t(t,e,r){void 0===e&&(e={}),this.config={range:"boolean"==typeof e.range&&e.range,loc:"boolean"==typeof e.loc&&e.loc,source:null,tokens:"boolean"==typeof e.tokens&&e.tokens,comment:"boolean"==typeof e.comment&&e.comment,tolerant:"boolean"==typeof e.tolerant&&e.tolerant},this.config.loc&&e.source&&null!==e.source&&(this.config.source=String(e.source)),this.delegate=r,this.errorHandler=new i.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new a.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return t.prototype.throwError=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var i=Array.prototype.slice.call(arguments,1),s=t.replace(/%(\d)/g,(function(t,e){return n.assert(e<i.length,"Message reference must be in range"),i[e]})),o=this.lastMarker.index,a=this.lastMarker.line,u=this.lastMarker.column+1;throw this.errorHandler.createError(o,a,u,s)},t.prototype.tolerateError=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var i=Array.prototype.slice.call(arguments,1),s=t.replace(/%(\d)/g,(function(t,e){return n.assert(e<i.length,"Message reference must be in range"),i[e]})),o=this.lastMarker.index,a=this.scanner.lineNumber,u=this.lastMarker.column+1;this.errorHandler.tolerateError(o,a,u,s)},t.prototype.unexpectedTokenError=function(t,e){var r,n=e||s.Messages.UnexpectedToken;if(t?(e||(n=2===t.type?s.Messages.UnexpectedEOS:3===t.type?s.Messages.UnexpectedIdentifier:6===t.type?s.Messages.UnexpectedNumber:8===t.type?s.Messages.UnexpectedString:10===t.type?s.Messages.UnexpectedTemplate:s.Messages.UnexpectedToken,4===t.type&&(this.scanner.isFutureReservedWord(t.value)?n=s.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(t.value)&&(n=s.Messages.StrictReservedWord))),r=t.value):r="ILLEGAL",n=n.replace("%0",r),t&&"number"==typeof t.lineNumber){var i=t.start,o=t.lineNumber,a=this.lastMarker.index-this.lastMarker.column,u=t.start-a+1;return this.errorHandler.createError(i,o,u,n)}return i=this.lastMarker.index,o=this.lastMarker.line,u=this.lastMarker.column+1,this.errorHandler.createError(i,o,u,n)},t.prototype.throwUnexpectedToken=function(t,e){throw this.unexpectedTokenError(t,e)},t.prototype.tolerateUnexpectedToken=function(t,e){this.errorHandler.tolerate(this.unexpectedTokenError(t,e))},t.prototype.collectComments=function(){if(this.config.comment){var t=this.scanner.scanComments();if(t.length>0&&this.delegate)for(var e=0;e<t.length;++e){var r=t[e],n=void 0;n={type:r.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(r.slice[0],r.slice[1])},this.config.range&&(n.range=r.range),this.config.loc&&(n.loc=r.loc);var i={start:{line:r.loc.start.line,column:r.loc.start.column,offset:r.range[0]},end:{line:r.loc.end.line,column:r.loc.end.column,offset:r.range[1]}};this.delegate(n,i)}}else this.scanner.scanComments()},t.prototype.getTokenRaw=function(t){return this.scanner.source.slice(t.start,t.end)},t.prototype.convertToken=function(t){var e={type:h.TokenName[t.type],value:this.getTokenRaw(t)};if(this.config.range&&(e.range=[t.start,t.end]),this.config.loc&&(e.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),9===t.type){var r=t.pattern,n=t.flags;e.regex={pattern:r,flags:n}}return e},t.prototype.nextToken=function(){var t=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var e=this.scanner.lex();return this.hasLineTerminator=t.lineNumber!==e.lineNumber,e&&this.context.strict&&3===e.type&&this.scanner.isStrictModeReservedWord(e.value)&&(e.type=4),this.lookahead=e,this.config.tokens&&2!==e.type&&this.tokens.push(this.convertToken(e)),t},t.prototype.nextRegexToken=function(){this.collectComments();var t=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(t))),this.lookahead=t,this.nextToken(),t},t.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},t.prototype.startNode=function(t,e){void 0===e&&(e=0);var r=t.start-t.lineStart,n=t.lineNumber;return r<0&&(r+=e,n--),{index:t.start,line:n,column:r}},t.prototype.finalize=function(t,e){if(this.config.range&&(e.range=[t.index,this.lastMarker.index]),this.config.loc&&(e.loc={start:{line:t.line,column:t.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(e.loc.source=this.config.source)),this.delegate){var r={start:{line:t.line,column:t.column,offset:t.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(e,r)}return e},t.prototype.expect=function(t){var e=this.nextToken();7===e.type&&e.value===t||this.throwUnexpectedToken(e)},t.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var t=this.lookahead;7===t.type&&","===t.value?this.nextToken():7===t.type&&";"===t.value?(this.nextToken(),this.tolerateUnexpectedToken(t)):this.tolerateUnexpectedToken(t,s.Messages.UnexpectedToken)}else this.expect(",")},t.prototype.expectKeyword=function(t){var e=this.nextToken();4===e.type&&e.value===t||this.throwUnexpectedToken(e)},t.prototype.match=function(t){return 7===this.lookahead.type&&this.lookahead.value===t},t.prototype.matchKeyword=function(t){return 4===this.lookahead.type&&this.lookahead.value===t},t.prototype.matchContextualKeyword=function(t){return 3===this.lookahead.type&&this.lookahead.value===t},t.prototype.matchAssign=function(){if(7!==this.lookahead.type)return!1;var t=this.lookahead.value;return"="===t||"*="===t||"**="===t||"/="===t||"%="===t||"+="===t||"-="===t||"<<="===t||">>="===t||">>>="===t||"&="===t||"^="===t||"|="===t},t.prototype.isolateCoverGrammar=function(t){var e=this.context.isBindingElement,r=this.context.isAssignmentTarget,n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=t.call(this);return null!==this.context.firstCoverInitializedNameError&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=e,this.context.isAssignmentTarget=r,this.context.firstCoverInitializedNameError=n,i},t.prototype.inheritCoverGrammar=function(t){var e=this.context.isBindingElement,r=this.context.isAssignmentTarget,n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var i=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&e,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&r,this.context.firstCoverInitializedNameError=n||this.context.firstCoverInitializedNameError,i},t.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(2===this.lookahead.type||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},t.prototype.parsePrimaryExpression=function(){var t,e,r,n=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&"await"===this.lookahead.value&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(n,new o.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,s.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),r=this.getTokenRaw(e),t=this.finalize(n,new o.Literal(e.value,r));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),r=this.getTokenRaw(e),t=this.finalize(n,new o.Literal("true"===e.value,r));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,e=this.nextToken(),r=this.getTokenRaw(e),t=this.finalize(n,new o.Literal(null,r));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,e=this.nextRegexToken(),r=this.getTokenRaw(e),t=this.finalize(n,new o.RegexLiteral(e.regex,r,e.pattern,e.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(n,new o.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(n,new o.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},t.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var e=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new o.SpreadElement(e))},t.prototype.parseArrayInitializer=function(){var t=this.createNode(),e=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),e.push(null);else if(this.match("...")){var r=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),e.push(r)}else e.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new o.ArrayExpression(e))},t.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var e=this.context.strict,r=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var n=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=e,this.context.allowStrictDirective=r,n},t.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters(),n=this.parsePropertyMethod(r);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,r.params,n,!1))},t.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),e=this.context.allowYield,r=this.context.await;this.context.allowYield=!1,this.context.await=!0;var n=this.parseFormalParameters(),i=this.parsePropertyMethod(n);return this.context.allowYield=e,this.context.await=r,this.finalize(t,new o.AsyncFunctionExpression(null,n.params,i))},t.prototype.parseObjectPropertyKey=function(){var t,e=this.createNode(),r=this.nextToken();switch(r.type){case 8:case 6:this.context.strict&&r.octal&&this.tolerateUnexpectedToken(r,s.Messages.StrictOctalLiteral);var n=this.getTokenRaw(r);t=this.finalize(e,new o.Literal(r.value,n));break;case 3:case 1:case 5:case 4:t=this.finalize(e,new o.Identifier(r.value));break;case 7:"["===r.value?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(r);break;default:t=this.throwUnexpectedToken(r)}return t},t.prototype.isPropertyKey=function(t,e){return t.type===u.Syntax.Identifier&&t.name===e||t.type===u.Syntax.Literal&&t.value===e},t.prototype.parseObjectProperty=function(t){var e,r=this.createNode(),n=this.lookahead,i=null,a=null,u=!1,h=!1,c=!1,l=!1;if(3===n.type){var p=n.value;this.nextToken(),u=this.match("["),i=(l=!(this.hasLineTerminator||"async"!==p||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(r,new o.Identifier(p))}else this.match("*")?this.nextToken():(u=this.match("["),i=this.parseObjectPropertyKey());var f=this.qualifiedPropertyName(this.lookahead);if(3===n.type&&!l&&"get"===n.value&&f)e="get",u=this.match("["),i=this.parseObjectPropertyKey(),this.context.allowYield=!1,a=this.parseGetterMethod();else if(3===n.type&&!l&&"set"===n.value&&f)e="set",u=this.match("["),i=this.parseObjectPropertyKey(),a=this.parseSetterMethod();else if(7===n.type&&"*"===n.value&&f)e="init",u=this.match("["),i=this.parseObjectPropertyKey(),a=this.parseGeneratorMethod(),h=!0;else if(i||this.throwUnexpectedToken(this.lookahead),e="init",this.match(":")&&!l)!u&&this.isPropertyKey(i,"__proto__")&&(t.value&&this.tolerateError(s.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),a=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))a=l?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),h=!0;else if(3===n.type)if(p=this.finalize(r,new o.Identifier(n.value)),this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),c=!0;var d=this.isolateCoverGrammar(this.parseAssignmentExpression);a=this.finalize(r,new o.AssignmentPattern(p,d))}else c=!0,a=p;else this.throwUnexpectedToken(this.nextToken());return this.finalize(r,new o.Property(e,i,u,a,h,c))},t.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var e=[],r={value:!1};!this.match("}");)e.push(this.parseObjectProperty(r)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new o.ObjectExpression(e))},t.prototype.parseTemplateHead=function(){n.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),e=this.nextToken(),r=e.value,i=e.cooked;return this.finalize(t,new o.TemplateElement({raw:r,cooked:i},e.tail))},t.prototype.parseTemplateElement=function(){10!==this.lookahead.type&&this.throwUnexpectedToken();var t=this.createNode(),e=this.nextToken(),r=e.value,n=e.cooked;return this.finalize(t,new o.TemplateElement({raw:r,cooked:n},e.tail))},t.prototype.parseTemplateLiteral=function(){var t=this.createNode(),e=[],r=[],n=this.parseTemplateHead();for(r.push(n);!n.tail;)e.push(this.parseExpression()),n=this.parseTemplateElement(),r.push(n);return this.finalize(t,new o.TemplateLiteral(r,e))},t.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case u.Syntax.Identifier:case u.Syntax.MemberExpression:case u.Syntax.RestElement:case u.Syntax.AssignmentPattern:break;case u.Syntax.SpreadElement:t.type=u.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case u.Syntax.ArrayExpression:t.type=u.Syntax.ArrayPattern;for(var e=0;e<t.elements.length;e++)null!==t.elements[e]&&this.reinterpretExpressionAsPattern(t.elements[e]);break;case u.Syntax.ObjectExpression:for(t.type=u.Syntax.ObjectPattern,e=0;e<t.properties.length;e++)this.reinterpretExpressionAsPattern(t.properties[e].value);break;case u.Syntax.AssignmentExpression:t.type=u.Syntax.AssignmentPattern,delete t.operator,this.reinterpretExpressionAsPattern(t.left)}},t.prototype.parseGroupExpression=function(){var t;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var e=this.lookahead,r=[];if(this.match("..."))t=this.parseRestElement(r),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var n=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var i=[];for(this.context.isAssignmentTarget=!1,i.push(t);2!==this.lookahead.type&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var s=0;s<i.length;s++)this.reinterpretExpressionAsPattern(i[s]);n=!0,t={type:"ArrowParameterPlaceHolder",params:i,async:!1}}else if(this.match("...")){for(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),i.push(this.parseRestElement(r)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1,s=0;s<i.length;s++)this.reinterpretExpressionAsPattern(i[s]);n=!0,t={type:"ArrowParameterPlaceHolder",params:i,async:!1}}else i.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(n)break}n||(t=this.finalize(this.startNode(e),new o.SequenceExpression(i)))}if(!n){if(this.expect(")"),this.match("=>")&&(t.type===u.Syntax.Identifier&&"yield"===t.name&&(n=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!n)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===u.Syntax.SequenceExpression)for(s=0;s<t.expressions.length;s++)this.reinterpretExpressionAsPattern(t.expressions[s]);else this.reinterpretExpressionAsPattern(t);t={type:"ArrowParameterPlaceHolder",params:t.type===u.Syntax.SequenceExpression?t.expressions:[t],async:!1}}this.context.isBindingElement=!1}}}return t},t.prototype.parseArguments=function(){this.expect("(");var t=[];if(!this.match(")"))for(;;){var e=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(t.push(e),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),t},t.prototype.isIdentifierName=function(t){return 3===t.type||4===t.type||1===t.type||5===t.type},t.prototype.parseIdentifierName=function(){var t=this.createNode(),e=this.nextToken();return this.isIdentifierName(e)||this.throwUnexpectedToken(e),this.finalize(t,new o.Identifier(e.value))},t.prototype.parseNewExpression=function(){var t,e=this.createNode(),r=this.parseIdentifierName();if(n.assert("new"===r.name,"New expression must start with `new`"),this.match("."))if(this.nextToken(),3===this.lookahead.type&&this.context.inFunctionBody&&"target"===this.lookahead.value){var i=this.parseIdentifierName();t=new o.MetaProperty(r,i)}else this.throwUnexpectedToken(this.lookahead);else{var s=this.isolateCoverGrammar(this.parseLeftHandSideExpression),a=this.match("(")?this.parseArguments():[];t=new o.NewExpression(s,a),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(e,t)},t.prototype.parseAsyncArgument=function(){var t=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,t},t.prototype.parseAsyncArguments=function(){this.expect("(");var t=[];if(!this.match(")"))for(;;){var e=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(t.push(e),this.match(")"))break;if(this.expectCommaSeparator(),this.match(")"))break}return this.expect(")"),t},t.prototype.parseLeftHandSideExpressionAllowCall=function(){var t,e=this.lookahead,r=this.matchContextualKeyword("async"),n=this.context.allowIn;for(this.context.allowIn=!0,this.matchKeyword("super")&&this.context.inFunctionBody?(t=this.createNode(),this.nextToken(),t=this.finalize(t,new o.Super),this.match("(")||this.match(".")||this.match("[")||this.throwUnexpectedToken(this.lookahead)):t=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var i=this.parseIdentifierName();t=this.finalize(this.startNode(e),new o.StaticMemberExpression(t,i))}else if(this.match("(")){var s=r&&e.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var a=s?this.parseAsyncArguments():this.parseArguments();if(t=this.finalize(this.startNode(e),new o.CallExpression(t,a)),s&&this.match("=>")){for(var u=0;u<a.length;++u)this.reinterpretExpressionAsPattern(a[u]);t={type:"ArrowParameterPlaceHolder",params:a,async:!0}}}else if(this.match("["))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("["),i=this.isolateCoverGrammar(this.parseExpression),this.expect("]"),t=this.finalize(this.startNode(e),new o.ComputedMemberExpression(t,i));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var h=this.parseTemplateLiteral();t=this.finalize(this.startNode(e),new o.TaggedTemplateExpression(t,h))}return this.context.allowIn=n,t},t.prototype.parseSuper=function(){var t=this.createNode();return this.expectKeyword("super"),this.match("[")||this.match(".")||this.throwUnexpectedToken(this.lookahead),this.finalize(t,new o.Super)},t.prototype.parseLeftHandSideExpression=function(){n.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var t=this.startNode(this.lookahead),e=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var r=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),e=this.finalize(t,new o.ComputedMemberExpression(e,r))}else if(this.match("."))this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("."),r=this.parseIdentifierName(),e=this.finalize(t,new o.StaticMemberExpression(e,r));else{if(10!==this.lookahead.type||!this.lookahead.head)break;var i=this.parseTemplateLiteral();e=this.finalize(t,new o.TaggedTemplateExpression(e,i))}return e},t.prototype.parseUpdateExpression=function(){var t,e=this.lookahead;if(this.match("++")||this.match("--")){var r=this.startNode(e),n=this.nextToken();t=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&t.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(t.name)&&this.tolerateError(s.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(s.Messages.InvalidLHSInAssignment);var i=!0;t=this.finalize(r,new o.UpdateExpression(n.value,t,i)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(t=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&7===this.lookahead.type&&(this.match("++")||this.match("--"))){this.context.strict&&t.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(t.name)&&this.tolerateError(s.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(s.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var a=this.nextToken().value;i=!1,t=this.finalize(this.startNode(e),new o.UpdateExpression(a,t,i))}return t},t.prototype.parseAwaitExpression=function(){var t=this.createNode();this.nextToken();var e=this.parseUnaryExpression();return this.finalize(t,new o.AwaitExpression(e))},t.prototype.parseUnaryExpression=function(){var t;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var e=this.startNode(this.lookahead),r=this.nextToken();t=this.inheritCoverGrammar(this.parseUnaryExpression),t=this.finalize(e,new o.UnaryExpression(r.value,t)),this.context.strict&&"delete"===t.operator&&t.argument.type===u.Syntax.Identifier&&this.tolerateError(s.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else t=this.context.await&&this.matchContextualKeyword("await")?this.parseAwaitExpression():this.parseUpdateExpression();return t},t.prototype.parseExponentiationExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseUnaryExpression);if(e.type!==u.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var r=e,n=this.isolateCoverGrammar(this.parseExponentiationExpression);e=this.finalize(this.startNode(t),new o.BinaryExpression("**",r,n))}return e},t.prototype.binaryPrecedence=function(t){var e=t.value;return 7===t.type?this.operatorPrecedence[e]||0:4===t.type&&("instanceof"===e||this.context.allowIn&&"in"===e)?7:0},t.prototype.parseBinaryExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseExponentiationExpression),r=this.lookahead,n=this.binaryPrecedence(r);if(n>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var i=[t,this.lookahead],s=e,a=this.isolateCoverGrammar(this.parseExponentiationExpression),u=[s,r.value,a],h=[n];!((n=this.binaryPrecedence(this.lookahead))<=0);){for(;u.length>2&&n<=h[h.length-1];){a=u.pop();var c=u.pop();h.pop(),s=u.pop(),i.pop();var l=this.startNode(i[i.length-1]);u.push(this.finalize(l,new o.BinaryExpression(c,s,a)))}u.push(this.nextToken().value),h.push(n),i.push(this.lookahead),u.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var p=u.length-1;e=u[p];for(var f=i.pop();p>1;){var d=i.pop(),m=f&&f.lineStart;l=this.startNode(d,m),c=u[p-1],e=this.finalize(l,new o.BinaryExpression(c,u[p-2],e)),p-=2,f=d}}return e},t.prototype.parseConditionalExpression=function(){var t=this.lookahead,e=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var r=this.context.allowIn;this.context.allowIn=!0;var n=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=r,this.expect(":");var i=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new o.ConditionalExpression(e,n,i)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return e},t.prototype.checkPatternParam=function(t,e){switch(e.type){case u.Syntax.Identifier:this.validateParam(t,e,e.name);break;case u.Syntax.RestElement:this.checkPatternParam(t,e.argument);break;case u.Syntax.AssignmentPattern:this.checkPatternParam(t,e.left);break;case u.Syntax.ArrayPattern:for(var r=0;r<e.elements.length;r++)null!==e.elements[r]&&this.checkPatternParam(t,e.elements[r]);break;case u.Syntax.ObjectPattern:for(r=0;r<e.properties.length;r++)this.checkPatternParam(t,e.properties[r].value)}t.simple=t.simple&&e instanceof o.Identifier},t.prototype.reinterpretAsCoverFormalsList=function(t){var e,r=[t],n=!1;switch(t.type){case u.Syntax.Identifier:break;case"ArrowParameterPlaceHolder":r=t.params,n=t.async;break;default:return null}e={simple:!0,paramSet:{}};for(var i=0;i<r.length;++i)(o=r[i]).type===u.Syntax.AssignmentPattern?o.right.type===u.Syntax.YieldExpression&&(o.right.argument&&this.throwUnexpectedToken(this.lookahead),o.right.type=u.Syntax.Identifier,o.right.name="yield",delete o.right.argument,delete o.right.delegate):n&&o.type===u.Syntax.Identifier&&"await"===o.name&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(e,o),r[i]=o;if(this.context.strict||!this.context.allowYield)for(i=0;i<r.length;++i){var o;(o=r[i]).type===u.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(e.message===s.Messages.StrictParamDupe){var a=this.context.strict?e.stricted:e.firstRestricted;this.throwUnexpectedToken(a,e.message)}return{simple:e.simple,params:r,stricted:e.stricted,firstRestricted:e.firstRestricted,message:e.message}},t.prototype.parseAssignmentExpression=function(){var t;if(!this.context.allowYield&&this.matchKeyword("yield"))t=this.parseYieldExpression();else{var e=this.lookahead,r=e;if(t=this.parseConditionalExpression(),3===r.type&&r.lineNumber===this.lookahead.lineNumber&&"async"===r.value&&(3===this.lookahead.type||this.matchKeyword("yield"))){var n=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(n),t={type:"ArrowParameterPlaceHolder",params:[n],async:!0}}if("ArrowParameterPlaceHolder"===t.type||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var i=t.async,a=this.reinterpretAsCoverFormalsList(t);if(a){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var h=this.context.strict,c=this.context.allowStrictDirective;this.context.allowStrictDirective=a.simple;var l=this.context.allowYield,p=this.context.await;this.context.allowYield=!0,this.context.await=i;var f=this.startNode(e);this.expect("=>");var d=void 0;if(this.match("{")){var m=this.context.allowIn;this.context.allowIn=!0,d=this.parseFunctionSourceElements(),this.context.allowIn=m}else d=this.isolateCoverGrammar(this.parseAssignmentExpression);var y=d.type!==u.Syntax.BlockStatement;this.context.strict&&a.firstRestricted&&this.throwUnexpectedToken(a.firstRestricted,a.message),this.context.strict&&a.stricted&&this.tolerateUnexpectedToken(a.stricted,a.message),t=i?this.finalize(f,new o.AsyncArrowFunctionExpression(a.params,d,y)):this.finalize(f,new o.ArrowFunctionExpression(a.params,d,y)),this.context.strict=h,this.context.allowStrictDirective=c,this.context.allowYield=l,this.context.await=p}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(s.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===u.Syntax.Identifier){var g=t;this.scanner.isRestrictedWord(g.name)&&this.tolerateUnexpectedToken(r,s.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(g.name)&&this.tolerateUnexpectedToken(r,s.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var v=(r=this.nextToken()).value,x=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new o.AssignmentExpression(v,t,x)),this.context.firstCoverInitializedNameError=null}}return t},t.prototype.parseExpression=function(){var t=this.lookahead,e=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var r=[];for(r.push(e);2!==this.lookahead.type&&this.match(",");)this.nextToken(),r.push(this.isolateCoverGrammar(this.parseAssignmentExpression));e=this.finalize(this.startNode(t),new o.SequenceExpression(r))}return e},t.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,4===this.lookahead.type)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,s.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,s.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},t.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var e=[];!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new o.BlockStatement(e))},t.prototype.parseLexicalBinding=function(t,e){var r=this.createNode(),n=this.parsePattern([],t);this.context.strict&&n.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(n.name)&&this.tolerateError(s.Messages.StrictVarName);var i=null;return"const"===t?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),i=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(s.Messages.DeclarationMissingInitializer,"const")):(!e.inFor&&n.type!==u.Syntax.Identifier||this.match("="))&&(this.expect("="),i=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(r,new o.VariableDeclarator(n,i))},t.prototype.parseBindingList=function(t,e){for(var r=[this.parseLexicalBinding(t,e)];this.match(",");)this.nextToken(),r.push(this.parseLexicalBinding(t,e));return r},t.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var e=this.scanner.lex();return this.scanner.restoreState(t),3===e.type||7===e.type&&"["===e.value||7===e.type&&"{"===e.value||4===e.type&&"let"===e.value||4===e.type&&"yield"===e.value},t.prototype.parseLexicalDeclaration=function(t){var e=this.createNode(),r=this.nextToken().value;n.assert("let"===r||"const"===r,"Lexical declaration must be either let or const");var i=this.parseBindingList(r,t);return this.consumeSemicolon(),this.finalize(e,new o.VariableDeclaration(i,r))},t.prototype.parseBindingRestElement=function(t,e){var r=this.createNode();this.expect("...");var n=this.parsePattern(t,e);return this.finalize(r,new o.RestElement(n))},t.prototype.parseArrayPattern=function(t,e){var r=this.createNode();this.expect("[");for(var n=[];!this.match("]");)if(this.match(","))this.nextToken(),n.push(null);else{if(this.match("...")){n.push(this.parseBindingRestElement(t,e));break}n.push(this.parsePatternWithDefault(t,e)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(r,new o.ArrayPattern(n))},t.prototype.parsePropertyPattern=function(t,e){var r,n,i=this.createNode(),s=!1,a=!1;if(3===this.lookahead.type){var u=this.lookahead;r=this.parseVariableIdentifier();var h=this.finalize(i,new o.Identifier(u.value));if(this.match("=")){t.push(u),a=!0,this.nextToken();var c=this.parseAssignmentExpression();n=this.finalize(this.startNode(u),new o.AssignmentPattern(h,c))}else this.match(":")?(this.expect(":"),n=this.parsePatternWithDefault(t,e)):(t.push(u),a=!0,n=h)}else s=this.match("["),r=this.parseObjectPropertyKey(),this.expect(":"),n=this.parsePatternWithDefault(t,e);return this.finalize(i,new o.Property("init",r,s,n,!1,a))},t.prototype.parseObjectPattern=function(t,e){var r=this.createNode(),n=[];for(this.expect("{");!this.match("}");)n.push(this.parsePropertyPattern(t,e)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(r,new o.ObjectPattern(n))},t.prototype.parsePattern=function(t,e){var r;return this.match("[")?r=this.parseArrayPattern(t,e):this.match("{")?r=this.parseObjectPattern(t,e):(!this.matchKeyword("let")||"const"!==e&&"let"!==e||this.tolerateUnexpectedToken(this.lookahead,s.Messages.LetInLexicalBinding),t.push(this.lookahead),r=this.parseVariableIdentifier(e)),r},t.prototype.parsePatternWithDefault=function(t,e){var r=this.lookahead,n=this.parsePattern(t,e);if(this.match("=")){this.nextToken();var i=this.context.allowYield;this.context.allowYield=!0;var s=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=i,n=this.finalize(this.startNode(r),new o.AssignmentPattern(n,s))}return n},t.prototype.parseVariableIdentifier=function(t){var e=this.createNode(),r=this.nextToken();return 4===r.type&&"yield"===r.value?this.context.strict?this.tolerateUnexpectedToken(r,s.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(r):3!==r.type?this.context.strict&&4===r.type&&this.scanner.isStrictModeReservedWord(r.value)?this.tolerateUnexpectedToken(r,s.Messages.StrictReservedWord):(this.context.strict||"let"!==r.value||"var"!==t)&&this.throwUnexpectedToken(r):(this.context.isModule||this.context.await)&&3===r.type&&"await"===r.value&&this.tolerateUnexpectedToken(r),this.finalize(e,new o.Identifier(r.value))},t.prototype.parseVariableDeclaration=function(t){var e=this.createNode(),r=this.parsePattern([],"var");this.context.strict&&r.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(r.name)&&this.tolerateError(s.Messages.StrictVarName);var n=null;return this.match("=")?(this.nextToken(),n=this.isolateCoverGrammar(this.parseAssignmentExpression)):r.type===u.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(e,new o.VariableDeclarator(r,n))},t.prototype.parseVariableDeclarationList=function(t){var e={inFor:t.inFor},r=[];for(r.push(this.parseVariableDeclaration(e));this.match(",");)this.nextToken(),r.push(this.parseVariableDeclaration(e));return r},t.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var e=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new o.VariableDeclaration(e,"var"))},t.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new o.EmptyStatement)},t.prototype.parseExpressionStatement=function(){var t=this.createNode(),e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ExpressionStatement(e))},t.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(s.Messages.StrictFunction),this.parseStatement()},t.prototype.parseIfStatement=function(){var t,e=this.createNode(),r=null;this.expectKeyword("if"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),r=this.parseIfClause())),this.finalize(e,new o.IfStatement(n,t,r))},t.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var e=this.context.inIteration;this.context.inIteration=!0;var r=this.parseStatement();this.context.inIteration=e,this.expectKeyword("while"),this.expect("(");var n=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new o.DoWhileStatement(r,n))},t.prototype.parseWhileStatement=function(){var t,e=this.createNode();this.expectKeyword("while"),this.expect("(");var r=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var n=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=n}return this.finalize(e,new o.WhileStatement(r,t))},t.prototype.parseForStatement=function(){var t,e,r,n=null,i=null,a=null,h=!0,c=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){n=this.createNode(),this.nextToken();var l=this.context.allowIn;this.context.allowIn=!1;var p=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=l,1===p.length&&this.matchKeyword("in")){var f=p[0];f.init&&(f.id.type===u.Syntax.ArrayPattern||f.id.type===u.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(s.Messages.ForInOfLoopInitializer,"for-in"),n=this.finalize(n,new o.VariableDeclaration(p,"var")),this.nextToken(),t=n,e=this.parseExpression(),n=null}else 1===p.length&&null===p[0].init&&this.matchContextualKeyword("of")?(n=this.finalize(n,new o.VariableDeclaration(p,"var")),this.nextToken(),t=n,e=this.parseAssignmentExpression(),n=null,h=!1):(n=this.finalize(n,new o.VariableDeclaration(p,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){n=this.createNode();var d=this.nextToken().value;this.context.strict||"in"!==this.lookahead.value?(l=this.context.allowIn,this.context.allowIn=!1,p=this.parseBindingList(d,{inFor:!0}),this.context.allowIn=l,1===p.length&&null===p[0].init&&this.matchKeyword("in")?(n=this.finalize(n,new o.VariableDeclaration(p,d)),this.nextToken(),t=n,e=this.parseExpression(),n=null):1===p.length&&null===p[0].init&&this.matchContextualKeyword("of")?(n=this.finalize(n,new o.VariableDeclaration(p,d)),this.nextToken(),t=n,e=this.parseAssignmentExpression(),n=null,h=!1):(this.consumeSemicolon(),n=this.finalize(n,new o.VariableDeclaration(p,d)))):(n=this.finalize(n,new o.Identifier(d)),this.nextToken(),t=n,e=this.parseExpression(),n=null)}else{var m=this.lookahead;if(l=this.context.allowIn,this.context.allowIn=!1,n=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=l,this.matchKeyword("in"))this.context.isAssignmentTarget&&n.type!==u.Syntax.AssignmentExpression||this.tolerateError(s.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(n),t=n,e=this.parseExpression(),n=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&n.type!==u.Syntax.AssignmentExpression||this.tolerateError(s.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(n),t=n,e=this.parseAssignmentExpression(),n=null,h=!1;else{if(this.match(",")){for(var y=[n];this.match(",");)this.nextToken(),y.push(this.isolateCoverGrammar(this.parseAssignmentExpression));n=this.finalize(this.startNode(m),new o.SequenceExpression(y))}this.expect(";")}}if(void 0===t&&(this.match(";")||(i=this.parseExpression()),this.expect(";"),this.match(")")||(a=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),r=this.finalize(this.createNode(),new o.EmptyStatement);else{this.expect(")");var g=this.context.inIteration;this.context.inIteration=!0,r=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=g}return void 0===t?this.finalize(c,new o.ForStatement(n,i,a,r)):h?this.finalize(c,new o.ForInStatement(t,e,r)):this.finalize(c,new o.ForOfStatement(t,e,r))},t.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var e=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var r=this.parseVariableIdentifier();e=r;var n="$"+r.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,n)||this.throwError(s.Messages.UnknownLabel,r.name)}return this.consumeSemicolon(),null!==e||this.context.inIteration||this.throwError(s.Messages.IllegalContinue),this.finalize(t,new o.ContinueStatement(e))},t.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var e=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var r=this.parseVariableIdentifier(),n="$"+r.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,n)||this.throwError(s.Messages.UnknownLabel,r.name),e=r}return this.consumeSemicolon(),null!==e||this.context.inIteration||this.context.inSwitch||this.throwError(s.Messages.IllegalBreak),this.finalize(t,new o.BreakStatement(e))},t.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(s.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var e=(this.match(";")||this.match("}")||this.hasLineTerminator||2===this.lookahead.type)&&8!==this.lookahead.type&&10!==this.lookahead.type?null:this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ReturnStatement(e))},t.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(s.Messages.StrictModeWith);var t,e=this.createNode();this.expectKeyword("with"),this.expect("(");var r=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new o.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(e,new o.WithStatement(r,t))},t.prototype.parseSwitchCase=function(){var t,e=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var r=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)r.push(this.parseStatementListItem());return this.finalize(e,new o.SwitchCase(t,r))},t.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var e=this.parseExpression();this.expect(")");var r=this.context.inSwitch;this.context.inSwitch=!0;var n=[],i=!1;for(this.expect("{");!this.match("}");){var a=this.parseSwitchCase();null===a.test&&(i&&this.throwError(s.Messages.MultipleDefaultsInSwitch),i=!0),n.push(a)}return this.expect("}"),this.context.inSwitch=r,this.finalize(t,new o.SwitchStatement(e,n))},t.prototype.parseLabelledStatement=function(){var t,e=this.createNode(),r=this.parseExpression();if(r.type===u.Syntax.Identifier&&this.match(":")){this.nextToken();var n=r,i="$"+n.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,i)&&this.throwError(s.Messages.Redeclaration,"Label",n.name),this.context.labelSet[i]=!0;var a=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),a=this.parseClassDeclaration();else if(this.matchKeyword("function")){var h=this.lookahead,c=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(h,s.Messages.StrictFunction):c.generator&&this.tolerateUnexpectedToken(h,s.Messages.GeneratorInLegacyContext),a=c}else a=this.parseStatement();delete this.context.labelSet[i],t=new o.LabeledStatement(n,a)}else this.consumeSemicolon(),t=new o.ExpressionStatement(r);return this.finalize(e,t)},t.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(s.Messages.NewlineAfterThrow);var e=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new o.ThrowStatement(e))},t.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var e=[],r=this.parsePattern(e),n={},i=0;i<e.length;i++){var a="$"+e[i].value;Object.prototype.hasOwnProperty.call(n,a)&&this.tolerateError(s.Messages.DuplicateBinding,e[i].value),n[a]=!0}this.context.strict&&r.type===u.Syntax.Identifier&&this.scanner.isRestrictedWord(r.name)&&this.tolerateError(s.Messages.StrictCatchVariable),this.expect(")");var h=this.parseBlock();return this.finalize(t,new o.CatchClause(r,h))},t.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},t.prototype.parseTryStatement=function(){var t=this.createNode();this.expectKeyword("try");var e=this.parseBlock(),r=this.matchKeyword("catch")?this.parseCatchClause():null,n=this.matchKeyword("finally")?this.parseFinallyClause():null;return r||n||this.throwError(s.Messages.NoCatchOrFinally),this.finalize(t,new o.TryStatement(e,r,n))},t.prototype.parseDebuggerStatement=function(){var t=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(t,new o.DebuggerStatement)},t.prototype.parseStatement=function(){var t;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:t=this.parseExpressionStatement();break;case 7:var e=this.lookahead.value;t="{"===e?this.parseBlock():"("===e?this.parseExpressionStatement():";"===e?this.parseEmptyStatement():this.parseExpressionStatement();break;case 3:t=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":t=this.parseBreakStatement();break;case"continue":t=this.parseContinueStatement();break;case"debugger":t=this.parseDebuggerStatement();break;case"do":t=this.parseDoWhileStatement();break;case"for":t=this.parseForStatement();break;case"function":t=this.parseFunctionDeclaration();break;case"if":t=this.parseIfStatement();break;case"return":t=this.parseReturnStatement();break;case"switch":t=this.parseSwitchStatement();break;case"throw":t=this.parseThrowStatement();break;case"try":t=this.parseTryStatement();break;case"var":t=this.parseVariableStatement();break;case"while":t=this.parseWhileStatement();break;case"with":t=this.parseWithStatement();break;default:t=this.parseExpressionStatement()}break;default:t=this.throwUnexpectedToken(this.lookahead)}return t},t.prototype.parseFunctionSourceElements=function(){var t=this.createNode();this.expect("{");var e=this.parseDirectivePrologues(),r=this.context.labelSet,n=this.context.inIteration,i=this.context.inSwitch,s=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;2!==this.lookahead.type&&!this.match("}");)e.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=r,this.context.inIteration=n,this.context.inSwitch=i,this.context.inFunctionBody=s,this.finalize(t,new o.BlockStatement(e))},t.prototype.validateParam=function(t,e,r){var n="$"+r;this.context.strict?(this.scanner.isRestrictedWord(r)&&(t.stricted=e,t.message=s.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(t.paramSet,n)&&(t.stricted=e,t.message=s.Messages.StrictParamDupe)):t.firstRestricted||(this.scanner.isRestrictedWord(r)?(t.firstRestricted=e,t.message=s.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(r)?(t.firstRestricted=e,t.message=s.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(t.paramSet,n)&&(t.stricted=e,t.message=s.Messages.StrictParamDupe)),"function"==typeof Object.defineProperty?Object.defineProperty(t.paramSet,n,{value:!0,enumerable:!0,writable:!0,configurable:!0}):t.paramSet[n]=!0},t.prototype.parseRestElement=function(t){var e=this.createNode();this.expect("...");var r=this.parsePattern(t);return this.match("=")&&this.throwError(s.Messages.DefaultRestParameter),this.match(")")||this.throwError(s.Messages.ParameterAfterRestParameter),this.finalize(e,new o.RestElement(r))},t.prototype.parseFormalParameter=function(t){for(var e=[],r=this.match("...")?this.parseRestElement(e):this.parsePatternWithDefault(e),n=0;n<e.length;n++)this.validateParam(t,e[n],e[n].value);t.simple=t.simple&&r instanceof o.Identifier,t.params.push(r)},t.prototype.parseFormalParameters=function(t){var e;if(e={simple:!0,params:[],firstRestricted:t},this.expect("("),!this.match(")"))for(e.paramSet={};2!==this.lookahead.type&&(this.parseFormalParameter(e),!this.match(")"))&&(this.expect(","),!this.match(")")););return this.expect(")"),{simple:e.simple,params:e.params,stricted:e.stricted,firstRestricted:e.firstRestricted,message:e.message}},t.prototype.matchAsyncFunction=function(){var t=this.matchContextualKeyword("async");if(t){var e=this.scanner.saveState();this.scanner.scanComments();var r=this.scanner.lex();this.scanner.restoreState(e),t=e.lineNumber===r.lineNumber&&4===r.type&&"function"===r.value}return t},t.prototype.parseFunctionDeclaration=function(t){var e=this.createNode(),r=this.matchContextualKeyword("async");r&&this.nextToken(),this.expectKeyword("function");var n,i=!r&&this.match("*");i&&this.nextToken();var a=null,u=null;if(!t||!this.match("(")){var h=this.lookahead;a=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(h.value)&&this.tolerateUnexpectedToken(h,s.Messages.StrictFunctionName):this.scanner.isRestrictedWord(h.value)?(u=h,n=s.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(h.value)&&(u=h,n=s.Messages.StrictReservedWord)}var c=this.context.await,l=this.context.allowYield;this.context.await=r,this.context.allowYield=!i;var p=this.parseFormalParameters(u),f=p.params,d=p.stricted;u=p.firstRestricted,p.message&&(n=p.message);var m=this.context.strict,y=this.context.allowStrictDirective;this.context.allowStrictDirective=p.simple;var g=this.parseFunctionSourceElements();return this.context.strict&&u&&this.throwUnexpectedToken(u,n),this.context.strict&&d&&this.tolerateUnexpectedToken(d,n),this.context.strict=m,this.context.allowStrictDirective=y,this.context.await=c,this.context.allowYield=l,r?this.finalize(e,new o.AsyncFunctionDeclaration(a,f,g)):this.finalize(e,new o.FunctionDeclaration(a,f,g,i))},t.prototype.parseFunctionExpression=function(){var t=this.createNode(),e=this.matchContextualKeyword("async");e&&this.nextToken(),this.expectKeyword("function");var r,n=!e&&this.match("*");n&&this.nextToken();var i,a=null,u=this.context.await,h=this.context.allowYield;if(this.context.await=e,this.context.allowYield=!n,!this.match("(")){var c=this.lookahead;a=this.context.strict||n||!this.matchKeyword("yield")?this.parseVariableIdentifier():this.parseIdentifierName(),this.context.strict?this.scanner.isRestrictedWord(c.value)&&this.tolerateUnexpectedToken(c,s.Messages.StrictFunctionName):this.scanner.isRestrictedWord(c.value)?(i=c,r=s.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(c.value)&&(i=c,r=s.Messages.StrictReservedWord)}var l=this.parseFormalParameters(i),p=l.params,f=l.stricted;i=l.firstRestricted,l.message&&(r=l.message);var d=this.context.strict,m=this.context.allowStrictDirective;this.context.allowStrictDirective=l.simple;var y=this.parseFunctionSourceElements();return this.context.strict&&i&&this.throwUnexpectedToken(i,r),this.context.strict&&f&&this.tolerateUnexpectedToken(f,r),this.context.strict=d,this.context.allowStrictDirective=m,this.context.await=u,this.context.allowYield=h,e?this.finalize(t,new o.AsyncFunctionExpression(a,p,y)):this.finalize(t,new o.FunctionExpression(a,p,y,n))},t.prototype.parseDirective=function(){var t=this.lookahead,e=this.createNode(),r=this.parseExpression(),n=r.type===u.Syntax.Literal?this.getTokenRaw(t).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(e,n?new o.Directive(r,n):new o.ExpressionStatement(r))},t.prototype.parseDirectivePrologues=function(){for(var t=null,e=[];;){var r=this.lookahead;if(8!==r.type)break;var n=this.parseDirective();e.push(n);var i=n.directive;if("string"!=typeof i)break;"use strict"===i?(this.context.strict=!0,t&&this.tolerateUnexpectedToken(t,s.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(r,s.Messages.IllegalLanguageModeDirective)):!t&&r.octal&&(t=r)}return e},t.prototype.qualifiedPropertyName=function(t){switch(t.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return"["===t.value}return!1},t.prototype.parseGetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters();r.params.length>0&&this.tolerateError(s.Messages.BadGetterArity);var n=this.parsePropertyMethod(r);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,r.params,n,!1))},t.prototype.parseSetterMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters();1!==r.params.length?this.tolerateError(s.Messages.BadSetterArity):r.params[0]instanceof o.RestElement&&this.tolerateError(s.Messages.BadSetterRestParameter);var n=this.parsePropertyMethod(r);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,r.params,n,!1))},t.prototype.parseGeneratorMethod=function(){var t=this.createNode(),e=this.context.allowYield;this.context.allowYield=!0;var r=this.parseFormalParameters();this.context.allowYield=!1;var n=this.parsePropertyMethod(r);return this.context.allowYield=e,this.finalize(t,new o.FunctionExpression(null,r.params,n,!0))},t.prototype.isStartOfExpression=function(){var t=!0,e=this.lookahead.value;switch(this.lookahead.type){case 7:t="["===e||"("===e||"{"===e||"+"===e||"-"===e||"!"===e||"~"===e||"++"===e||"--"===e||"/"===e||"/="===e;break;case 4:t="class"===e||"delete"===e||"function"===e||"let"===e||"new"===e||"super"===e||"this"===e||"typeof"===e||"void"===e||"yield"===e}return t},t.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var e=null,r=!1;if(!this.hasLineTerminator){var n=this.context.allowYield;this.context.allowYield=!1,(r=this.match("*"))?(this.nextToken(),e=this.parseAssignmentExpression()):this.isStartOfExpression()&&(e=this.parseAssignmentExpression()),this.context.allowYield=n}return this.finalize(t,new o.YieldExpression(e,r))},t.prototype.parseClassElement=function(t){var e=this.lookahead,r=this.createNode(),n="",i=null,a=null,u=!1,h=!1,c=!1,l=!1;if(this.match("*"))this.nextToken();else if(u=this.match("["),"static"===(i=this.parseObjectPropertyKey()).name&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(e=this.lookahead,c=!0,u=this.match("["),this.match("*")?this.nextToken():i=this.parseObjectPropertyKey()),3===e.type&&!this.hasLineTerminator&&"async"===e.value){var p=this.lookahead.value;":"!==p&&"("!==p&&"*"!==p&&(l=!0,e=this.lookahead,i=this.parseObjectPropertyKey(),3===e.type&&"constructor"===e.value&&this.tolerateUnexpectedToken(e,s.Messages.ConstructorIsAsync))}var f=this.qualifiedPropertyName(this.lookahead);return 3===e.type?"get"===e.value&&f?(n="get",u=this.match("["),i=this.parseObjectPropertyKey(),this.context.allowYield=!1,a=this.parseGetterMethod()):"set"===e.value&&f&&(n="set",u=this.match("["),i=this.parseObjectPropertyKey(),a=this.parseSetterMethod()):7===e.type&&"*"===e.value&&f&&(n="init",u=this.match("["),i=this.parseObjectPropertyKey(),a=this.parseGeneratorMethod(),h=!0),!n&&i&&this.match("(")&&(n="init",a=l?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),h=!0),n||this.throwUnexpectedToken(this.lookahead),"init"===n&&(n="method"),u||(c&&this.isPropertyKey(i,"prototype")&&this.throwUnexpectedToken(e,s.Messages.StaticPrototype),!c&&this.isPropertyKey(i,"constructor")&&(("method"!==n||!h||a&&a.generator)&&this.throwUnexpectedToken(e,s.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(e,s.Messages.DuplicateConstructor):t.value=!0,n="constructor")),this.finalize(r,new o.MethodDefinition(i,u,a,n,c))},t.prototype.parseClassElementList=function(){var t=[],e={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(e));return this.expect("}"),t},t.prototype.parseClassBody=function(){var t=this.createNode(),e=this.parseClassElementList();return this.finalize(t,new o.ClassBody(e))},t.prototype.parseClassDeclaration=function(t){var e=this.createNode(),r=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var n=t&&3!==this.lookahead.type?null:this.parseVariableIdentifier(),i=null;this.matchKeyword("extends")&&(this.nextToken(),i=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var s=this.parseClassBody();return this.context.strict=r,this.finalize(e,new o.ClassDeclaration(n,i,s))},t.prototype.parseClassExpression=function(){var t=this.createNode(),e=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var r=3===this.lookahead.type?this.parseVariableIdentifier():null,n=null;this.matchKeyword("extends")&&(this.nextToken(),n=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var i=this.parseClassBody();return this.context.strict=e,this.finalize(t,new o.ClassExpression(r,n,i))},t.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),e=this.parseDirectivePrologues();2!==this.lookahead.type;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Module(e))},t.prototype.parseScript=function(){for(var t=this.createNode(),e=this.parseDirectivePrologues();2!==this.lookahead.type;)e.push(this.parseStatementListItem());return this.finalize(t,new o.Script(e))},t.prototype.parseModuleSpecifier=function(){var t=this.createNode();8!==this.lookahead.type&&this.throwError(s.Messages.InvalidModuleSpecifier);var e=this.nextToken(),r=this.getTokenRaw(e);return this.finalize(t,new o.Literal(e.value,r))},t.prototype.parseImportSpecifier=function(){var t,e,r=this.createNode();return 3===this.lookahead.type?(e=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),e=this.parseVariableIdentifier())):(e=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),e=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(r,new o.ImportSpecifier(e,t))},t.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},t.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName();return this.finalize(t,new o.ImportDefaultSpecifier(e))},t.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(s.Messages.NoAsAfterImportNamespace),this.nextToken();var e=this.parseIdentifierName();return this.finalize(t,new o.ImportNamespaceSpecifier(e))},t.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(s.Messages.IllegalImportDeclaration);var t,e=this.createNode();this.expectKeyword("import");var r=[];if(8===this.lookahead.type)t=this.parseModuleSpecifier();else{if(this.match("{")?r=r.concat(this.parseNamedImports()):this.match("*")?r.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(r.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?r.push(this.parseImportNamespaceSpecifier()):this.match("{")?r=r.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var n=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(n,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(e,new o.ImportDeclaration(r,t))},t.prototype.parseExportSpecifier=function(){var t=this.createNode(),e=this.parseIdentifierName(),r=e;return this.matchContextualKeyword("as")&&(this.nextToken(),r=this.parseIdentifierName()),this.finalize(t,new o.ExportSpecifier(e,r))},t.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(s.Messages.IllegalExportDeclaration);var t,e=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var r=this.parseFunctionDeclaration(!0);t=this.finalize(e,new o.ExportDefaultDeclaration(r))}else this.matchKeyword("class")?(r=this.parseClassDeclaration(!0),t=this.finalize(e,new o.ExportDefaultDeclaration(r))):this.matchContextualKeyword("async")?(r=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression(),t=this.finalize(e,new o.ExportDefaultDeclaration(r))):(this.matchContextualKeyword("from")&&this.throwError(s.Messages.UnexpectedToken,this.lookahead.value),r=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression(),this.consumeSemicolon(),t=this.finalize(e,new o.ExportDefaultDeclaration(r)));else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var n=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause;this.throwError(n,this.lookahead.value)}this.nextToken();var i=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(e,new o.ExportAllDeclaration(i))}else if(4===this.lookahead.type){switch(r=void 0,this.lookahead.value){case"let":case"const":r=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":r=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new o.ExportNamedDeclaration(r,[],null))}else if(this.matchAsyncFunction())r=this.parseFunctionDeclaration(),t=this.finalize(e,new o.ExportNamedDeclaration(r,[],null));else{var a=[],u=null,h=!1;for(this.expect("{");!this.match("}");)h=h||this.matchKeyword("default"),a.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");this.expect("}"),this.matchContextualKeyword("from")?(this.nextToken(),u=this.parseModuleSpecifier(),this.consumeSemicolon()):h?(n=this.lookahead.value?s.Messages.UnexpectedToken:s.Messages.MissingFromClause,this.throwError(n,this.lookahead.value)):this.consumeSemicolon(),t=this.finalize(e,new o.ExportNamedDeclaration(null,a,u))}return t},t}();e.Parser=c},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assert=function(t,e){if(!t)throw new Error("ASSERT: "+e)}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.errors=[],this.tolerant=!1}return t.prototype.recordError=function(t){this.errors.push(t)},t.prototype.tolerate=function(t){if(!this.tolerant)throw t;this.recordError(t)},t.prototype.constructError=function(t,e){var r=new Error(t);try{throw r}catch(t){Object.create&&Object.defineProperty&&(r=Object.create(t),Object.defineProperty(r,"column",{value:e}))}return r},t.prototype.createError=function(t,e,r,n){var i="Line "+e+": "+n,s=this.constructError(i,r);return s.index=t,s.lineNumber=e,s.description=n,s},t.prototype.throwError=function(t,e,r,n){throw this.createError(t,e,r,n)},t.prototype.tolerateError=function(t,e,r,n){var i=this.createError(t,e,r,n);if(!this.tolerant)throw i;this.recordError(i)},t}();e.ErrorHandler=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(9),i=r(4),s=r(11);function o(t){return"0123456789abcdef".indexOf(t.toLowerCase())}function a(t){return"01234567".indexOf(t)}var u=function(){function t(t,e){this.source=t,this.errorHandler=e,this.trackComment=!1,this.isModule=!1,this.length=t.length,this.index=0,this.lineNumber=t.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return t.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},t.prototype.restoreState=function(t){this.index=t.index,this.lineNumber=t.lineNumber,this.lineStart=t.lineStart},t.prototype.eof=function(){return this.index>=this.length},t.prototype.throwUnexpectedToken=function(t){return void 0===t&&(t=s.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,t)},t.prototype.tolerateUnexpectedToken=function(t){void 0===t&&(t=s.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,t)},t.prototype.skipSingleLineComment=function(t){var e,r,n=[];for(this.trackComment&&(n=[],e=this.index-t,r={start:{line:this.lineNumber,column:this.index-this.lineStart-t},end:{}});!this.eof();){var s=this.source.charCodeAt(this.index);if(++this.index,i.Character.isLineTerminator(s)){if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart-1};var o={multiLine:!1,slice:[e+t,this.index-1],range:[e,this.index-1],loc:r};n.push(o)}return 13===s&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,n}}return this.trackComment&&(r.end={line:this.lineNumber,column:this.index-this.lineStart},o={multiLine:!1,slice:[e+t,this.index],range:[e,this.index],loc:r},n.push(o)),n},t.prototype.skipMultiLineComment=function(){var t,e,r=[];for(this.trackComment&&(r=[],t=this.index-2,e={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var n=this.source.charCodeAt(this.index);if(i.Character.isLineTerminator(n))13===n&&10===this.source.charCodeAt(this.index+1)&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(42===n){if(47===this.source.charCodeAt(this.index+1)){if(this.index+=2,this.trackComment){e.end={line:this.lineNumber,column:this.index-this.lineStart};var s={multiLine:!0,slice:[t+2,this.index-2],range:[t,this.index],loc:e};r.push(s)}return r}++this.index}else++this.index}return this.trackComment&&(e.end={line:this.lineNumber,column:this.index-this.lineStart},s={multiLine:!0,slice:[t+2,this.index],range:[t,this.index],loc:e},r.push(s)),this.tolerateUnexpectedToken(),r},t.prototype.scanComments=function(){var t;this.trackComment&&(t=[]);for(var e=0===this.index;!this.eof();){var r=this.source.charCodeAt(this.index);if(i.Character.isWhiteSpace(r))++this.index;else if(i.Character.isLineTerminator(r))++this.index,13===r&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,e=!0;else if(47===r)if(47===(r=this.source.charCodeAt(this.index+1))){this.index+=2;var n=this.skipSingleLineComment(2);this.trackComment&&(t=t.concat(n)),e=!0}else{if(42!==r)break;this.index+=2,n=this.skipMultiLineComment(),this.trackComment&&(t=t.concat(n))}else if(e&&45===r){if(45!==this.source.charCodeAt(this.index+1)||62!==this.source.charCodeAt(this.index+2))break;this.index+=3,n=this.skipSingleLineComment(3),this.trackComment&&(t=t.concat(n))}else{if(60!==r||this.isModule)break;if("!--"!==this.source.slice(this.index+1,this.index+4))break;this.index+=4,n=this.skipSingleLineComment(4),this.trackComment&&(t=t.concat(n))}}return t},t.prototype.isFutureReservedWord=function(t){switch(t){case"enum":case"export":case"import":case"super":return!0;default:return!1}},t.prototype.isStrictModeReservedWord=function(t){switch(t){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},t.prototype.isRestrictedWord=function(t){return"eval"===t||"arguments"===t},t.prototype.isKeyword=function(t){switch(t.length){case 2:return"if"===t||"in"===t||"do"===t;case 3:return"var"===t||"for"===t||"new"===t||"try"===t||"let"===t;case 4:return"this"===t||"else"===t||"case"===t||"void"===t||"with"===t||"enum"===t;case 5:return"while"===t||"break"===t||"catch"===t||"throw"===t||"const"===t||"yield"===t||"class"===t||"super"===t;case 6:return"return"===t||"typeof"===t||"delete"===t||"switch"===t||"export"===t||"import"===t;case 7:return"default"===t||"finally"===t||"extends"===t;case 8:return"function"===t||"continue"===t||"debugger"===t;case 10:return"instanceof"===t;default:return!1}},t.prototype.codePointAt=function(t){var e=this.source.charCodeAt(t);if(e>=55296&&e<=56319){var r=this.source.charCodeAt(t+1);r>=56320&&r<=57343&&(e=1024*(e-55296)+r-56320+65536)}return e},t.prototype.scanHexEscape=function(t){for(var e="u"===t?4:2,r=0,n=0;n<e;++n){if(this.eof()||!i.Character.isHexDigit(this.source.charCodeAt(this.index)))return null;r=16*r+o(this.source[this.index++])}return String.fromCharCode(r)},t.prototype.scanUnicodeCodePointEscape=function(){var t=this.source[this.index],e=0;for("}"===t&&this.throwUnexpectedToken();!this.eof()&&(t=this.source[this.index++],i.Character.isHexDigit(t.charCodeAt(0)));)e=16*e+o(t);return(e>1114111||"}"!==t)&&this.throwUnexpectedToken(),i.Character.fromCodePoint(e)},t.prototype.getIdentifier=function(){for(var t=this.index++;!this.eof();){var e=this.source.charCodeAt(this.index);if(92===e)return this.index=t,this.getComplexIdentifier();if(e>=55296&&e<57343)return this.index=t,this.getComplexIdentifier();if(!i.Character.isIdentifierPart(e))break;++this.index}return this.source.slice(t,this.index)},t.prototype.getComplexIdentifier=function(){var t,e=this.codePointAt(this.index),r=i.Character.fromCodePoint(e);for(this.index+=r.length,92===e&&(117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,t=this.scanUnicodeCodePointEscape()):null!==(t=this.scanHexEscape("u"))&&"\\"!==t&&i.Character.isIdentifierStart(t.charCodeAt(0))||this.throwUnexpectedToken(),r=t);!this.eof()&&(e=this.codePointAt(this.index),i.Character.isIdentifierPart(e));)r+=t=i.Character.fromCodePoint(e),this.index+=t.length,92===e&&(r=r.substr(0,r.length-1),117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,t=this.scanUnicodeCodePointEscape()):null!==(t=this.scanHexEscape("u"))&&"\\"!==t&&i.Character.isIdentifierPart(t.charCodeAt(0))||this.throwUnexpectedToken(),r+=t);return r},t.prototype.octalToDecimal=function(t){var e="0"!==t,r=a(t);return!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(e=!0,r=8*r+a(this.source[this.index++]),"0123".indexOf(t)>=0&&!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(r=8*r+a(this.source[this.index++]))),{code:r,octal:e}},t.prototype.scanIdentifier=function(){var t,e=this.index,r=92===this.source.charCodeAt(e)?this.getComplexIdentifier():this.getIdentifier();if(3!=(t=1===r.length?3:this.isKeyword(r)?4:"null"===r?5:"true"===r||"false"===r?1:3)&&e+r.length!==this.index){var n=this.index;this.index=e,this.tolerateUnexpectedToken(s.Messages.InvalidEscapedReservedWord),this.index=n}return{type:t,value:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},t.prototype.scanPunctuator=function(){var t=this.index,e=this.source[this.index];switch(e){case"(":case"{":"{"===e&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,"."===this.source[this.index]&&"."===this.source[this.index+1]&&(this.index+=2,e="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:">>>="===(e=this.source.substr(this.index,4))?this.index+=4:"==="===(e=e.substr(0,3))||"!=="===e||">>>"===e||"<<="===e||">>="===e||"**="===e?this.index+=3:"&&"===(e=e.substr(0,2))||"||"===e||"=="===e||"!="===e||"+="===e||"-="===e||"*="===e||"/="===e||"++"===e||"--"===e||"<<"===e||">>"===e||"&="===e||"|="===e||"^="===e||"%="===e||"<="===e||">="===e||"=>"===e||"**"===e?this.index+=2:(e=this.source[this.index],"<>=!+-*%&|^/".indexOf(e)>=0&&++this.index)}return this.index===t&&this.throwUnexpectedToken(),{type:7,value:e,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.scanHexLiteral=function(t){for(var e="";!this.eof()&&i.Character.isHexDigit(this.source.charCodeAt(this.index));)e+=this.source[this.index++];return 0===e.length&&this.throwUnexpectedToken(),i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+e,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.scanBinaryLiteral=function(t){for(var e,r="";!this.eof()&&("0"===(e=this.source[this.index])||"1"===e);)r+=this.source[this.index++];return 0===r.length&&this.throwUnexpectedToken(),this.eof()||(e=this.source.charCodeAt(this.index),(i.Character.isIdentifierStart(e)||i.Character.isDecimalDigit(e))&&this.throwUnexpectedToken()),{type:6,value:parseInt(r,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.scanOctalLiteral=function(t,e){var r="",n=!1;for(i.Character.isOctalDigit(t.charCodeAt(0))?(n=!0,r="0"+this.source[this.index++]):++this.index;!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];return n||0!==r.length||this.throwUnexpectedToken(),(i.Character.isIdentifierStart(this.source.charCodeAt(this.index))||i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(r,8),octal:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}},t.prototype.isImplicitOctalLiteral=function(){for(var t=this.index+1;t<this.length;++t){var e=this.source[t];if("8"===e||"9"===e)return!1;if(!i.Character.isOctalDigit(e.charCodeAt(0)))return!0}return!0},t.prototype.scanNumericLiteral=function(){var t=this.index,e=this.source[t];n.assert(i.Character.isDecimalDigit(e.charCodeAt(0))||"."===e,"Numeric literal must start with a decimal digit or a decimal point");var r="";if("."!==e){if(r=this.source[this.index++],e=this.source[this.index],"0"===r){if("x"===e||"X"===e)return++this.index,this.scanHexLiteral(t);if("b"===e||"B"===e)return++this.index,this.scanBinaryLiteral(t);if("o"===e||"O"===e)return this.scanOctalLiteral(e,t);if(e&&i.Character.isOctalDigit(e.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(e,t)}for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];e=this.source[this.index]}if("."===e){for(r+=this.source[this.index++];i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];e=this.source[this.index]}if("e"===e||"E"===e)if(r+=this.source[this.index++],"+"!==(e=this.source[this.index])&&"-"!==e||(r+=this.source[this.index++]),i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];else this.throwUnexpectedToken();return i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(r),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.scanStringLiteral=function(){var t=this.index,e=this.source[t];n.assert("'"===e||'"'===e,"String literal must starts with a quote"),++this.index;for(var r=!1,o="";!this.eof();){var a=this.source[this.index++];if(a===e){e="";break}if("\\"===a)if((a=this.source[this.index++])&&i.Character.isLineTerminator(a.charCodeAt(0)))++this.lineNumber,"\r"===a&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(a){case"u":if("{"===this.source[this.index])++this.index,o+=this.scanUnicodeCodePointEscape();else{var u=this.scanHexEscape(a);null===u&&this.throwUnexpectedToken(),o+=u}break;case"x":var h=this.scanHexEscape(a);null===h&&this.throwUnexpectedToken(s.Messages.InvalidHexEscapeSequence),o+=h;break;case"n":o+="\n";break;case"r":o+="\r";break;case"t":o+="\t";break;case"b":o+="\b";break;case"f":o+="\f";break;case"v":o+="\v";break;case"8":case"9":o+=a,this.tolerateUnexpectedToken();break;default:if(a&&i.Character.isOctalDigit(a.charCodeAt(0))){var c=this.octalToDecimal(a);r=c.octal||r,o+=String.fromCharCode(c.code)}else o+=a}else{if(i.Character.isLineTerminator(a.charCodeAt(0)))break;o+=a}}return""!==e&&(this.index=t,this.throwUnexpectedToken()),{type:8,value:o,octal:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.scanTemplate=function(){var t="",e=!1,r=this.index,n="`"===this.source[r],o=!1,a=2;for(++this.index;!this.eof();){var u=this.source[this.index++];if("`"===u){a=1,o=!0,e=!0;break}if("$"===u){if("{"===this.source[this.index]){this.curlyStack.push("${"),++this.index,e=!0;break}t+=u}else if("\\"===u)if(u=this.source[this.index++],i.Character.isLineTerminator(u.charCodeAt(0)))++this.lineNumber,"\r"===u&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index;else switch(u){case"n":t+="\n";break;case"r":t+="\r";break;case"t":t+="\t";break;case"u":if("{"===this.source[this.index])++this.index,t+=this.scanUnicodeCodePointEscape();else{var h=this.index,c=this.scanHexEscape(u);null!==c?t+=c:(this.index=h,t+=u)}break;case"x":var l=this.scanHexEscape(u);null===l&&this.throwUnexpectedToken(s.Messages.InvalidHexEscapeSequence),t+=l;break;case"b":t+="\b";break;case"f":t+="\f";break;case"v":t+="\v";break;default:"0"===u?(i.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(s.Messages.TemplateOctalLiteral),t+="\0"):i.Character.isOctalDigit(u.charCodeAt(0))?this.throwUnexpectedToken(s.Messages.TemplateOctalLiteral):t+=u}else i.Character.isLineTerminator(u.charCodeAt(0))?(++this.lineNumber,"\r"===u&&"\n"===this.source[this.index]&&++this.index,this.lineStart=this.index,t+="\n"):t+=u}return e||this.throwUnexpectedToken(),n||this.curlyStack.pop(),{type:10,value:this.source.slice(r+1,this.index-a),cooked:t,head:n,tail:o,lineNumber:this.lineNumber,lineStart:this.lineStart,start:r,end:this.index}},t.prototype.testRegExp=function(t,e){var r=t,n=this;e.indexOf("u")>=0&&(r=r.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,(function(t,e,r){var i=parseInt(e||r,16);return i>1114111&&n.throwUnexpectedToken(s.Messages.InvalidRegExp),i<=65535?String.fromCharCode(i):""})).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,""));try{RegExp(r)}catch(t){this.throwUnexpectedToken(s.Messages.InvalidRegExp)}try{return new RegExp(t,e)}catch(t){return null}},t.prototype.scanRegExpBody=function(){var t=this.source[this.index];n.assert("/"===t,"Regular expression literal must start with a slash");for(var e=this.source[this.index++],r=!1,o=!1;!this.eof();)if(e+=t=this.source[this.index++],"\\"===t)t=this.source[this.index++],i.Character.isLineTerminator(t.charCodeAt(0))&&this.throwUnexpectedToken(s.Messages.UnterminatedRegExp),e+=t;else if(i.Character.isLineTerminator(t.charCodeAt(0)))this.throwUnexpectedToken(s.Messages.UnterminatedRegExp);else if(r)"]"===t&&(r=!1);else{if("/"===t){o=!0;break}"["===t&&(r=!0)}return o||this.throwUnexpectedToken(s.Messages.UnterminatedRegExp),e.substr(1,e.length-2)},t.prototype.scanRegExpFlags=function(){for(var t="";!this.eof();){var e=this.source[this.index];if(!i.Character.isIdentifierPart(e.charCodeAt(0)))break;if(++this.index,"\\"!==e||this.eof())t+=e;else if("u"===(e=this.source[this.index])){++this.index;var r=this.index,n=this.scanHexEscape("u");if(null!==n)for(t+=n;r<this.index;++r)this.source[r];else this.index=r,t+="u";this.tolerateUnexpectedToken()}else this.tolerateUnexpectedToken()}return t},t.prototype.scanRegExp=function(){var t=this.index,e=this.scanRegExpBody(),r=this.scanRegExpFlags();return{type:9,value:"",pattern:e,flags:r,regex:this.testRegExp(e,r),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},t.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var t=this.source.charCodeAt(this.index);return i.Character.isIdentifierStart(t)?this.scanIdentifier():40===t||41===t||59===t?this.scanPunctuator():39===t||34===t?this.scanStringLiteral():46===t?i.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():i.Character.isDecimalDigit(t)?this.scanNumericLiteral():96===t||125===t&&"${"===this.curlyStack[this.curlyStack.length-1]?this.scanTemplate():t>=55296&&t<57343&&i.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},t}();e.Scanner=u},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenName={},e.TokenName[1]="Boolean",e.TokenName[2]="<end>",e.TokenName[3]="Identifier",e.TokenName[4]="Keyword",e.TokenName[5]="Null",e.TokenName[6]="Numeric",e.TokenName[7]="Punctuator",e.TokenName[8]="String",e.TokenName[9]="RegularExpression",e.TokenName[10]="Template"},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(10),i=r(12),s=r(13),o=function(){function t(){this.values=[],this.curly=this.paren=-1}return t.prototype.beforeFunctionExpression=function(t){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(t)>=0},t.prototype.isRegexStart=function(){var t=this.values[this.values.length-1],e=null!==t;switch(t){case"this":case"]":e=!1;break;case")":var r=this.values[this.paren-1];e="if"===r||"while"===r||"for"===r||"with"===r;break;case"}":if(e=!1,"function"===this.values[this.curly-3])e=!!(n=this.values[this.curly-4])&&!this.beforeFunctionExpression(n);else if("function"===this.values[this.curly-4]){var n;e=!(n=this.values[this.curly-5])||!this.beforeFunctionExpression(n)}}return e},t.prototype.push=function(t){7===t.type||4===t.type?("{"===t.value?this.curly=this.values.length:"("===t.value&&(this.paren=this.values.length),this.values.push(t.value)):this.values.push(null)},t}(),a=function(){function t(t,e){this.errorHandler=new n.ErrorHandler,this.errorHandler.tolerant=!!e&&"boolean"==typeof e.tolerant&&e.tolerant,this.scanner=new i.Scanner(t,this.errorHandler),this.scanner.trackComment=!!e&&"boolean"==typeof e.comment&&e.comment,this.trackRange=!!e&&"boolean"==typeof e.range&&e.range,this.trackLoc=!!e&&"boolean"==typeof e.loc&&e.loc,this.buffer=[],this.reader=new o}return t.prototype.errors=function(){return this.errorHandler.errors},t.prototype.getNextToken=function(){if(0===this.buffer.length){var t=this.scanner.scanComments();if(this.scanner.trackComment)for(var e=0;e<t.length;++e){var r=t[e],n=this.scanner.source.slice(r.slice[0],r.slice[1]),i={type:r.multiLine?"BlockComment":"LineComment",value:n};this.trackRange&&(i.range=r.range),this.trackLoc&&(i.loc=r.loc),this.buffer.push(i)}if(!this.scanner.eof()){var o=void 0;this.trackLoc&&(o={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var a="/"===this.scanner.source[this.scanner.index]&&this.reader.isRegexStart()?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(a);var u={type:s.TokenName[a.type],value:this.scanner.source.slice(a.start,a.end)};if(this.trackRange&&(u.range=[a.start,a.end]),this.trackLoc&&(o.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},u.loc=o),9===a.type){var h=a.pattern,c=a.flags;u.regex={pattern:h,flags:c}}this.buffer.push(u)}}return this.buffer.shift()},t}();e.Tokenizer=a}])},t.exports=n()},function(t,e,r){"use strict";r(2);var n=r(39),i=r(3),s=r(13),o=r(24),a=r(43);function u(t,e,r,i){if(!(this instanceof u))return new u(t,e,r,i);e=e||Object.equals,r=r||Object.hash,i=i||Function.noop,this.contentEquals=e,this.contentHash=r,this.getDefault=i,this.store=new n(void 0,(function(t,r){return e(t.key,r.key)}),(function(t){return r(t.key)})),this.length=0,this.addEach(t)}t.exports=u,u.FastMap=u,Object.addEach(u.prototype,i.prototype),Object.addEach(u.prototype,s.prototype),Object.addEach(u.prototype,o.prototype),Object.addEach(u.prototype,a.prototype),u.from=i.from,u.prototype.constructClone=function(t){return new this.constructor(t,this.contentEquals,this.contentHash,this.getDefault)},u.prototype.log=function(t,e){e=e||this.stringify,this.store.log(t,e)},u.prototype.stringify=function(t,e){return e+JSON.stringify(t.key)+": "+JSON.stringify(t.value)}},function(t,e){!function(){"use strict";if("undefined"==typeof ses||!ses.ok||ses.ok()){"undefined"!=typeof ses&&(ses.weakMapPermitHostObjects=m);var e=!1;if("function"==typeof WeakMap){var r=WeakMap;if("undefined"!=typeof navigator&&/Firefox/.test(navigator.userAgent));else{var n=new r,i=Object.freeze({});if(n.set(i,1),1===n.get(i))return void(t.exports=WeakMap);e=!0}}Object.prototype.hasOwnProperty;var s=Object.getOwnPropertyNames,o=Object.defineProperty,a=Object.isExtensible,u="weakmap:ident:"+Math.random()+"___";if("undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues&&"function"==typeof ArrayBuffer&&"function"==typeof Uint8Array){var h=new ArrayBuffer(25),c=new Uint8Array(h);crypto.getRandomValues(c),u="weakmap:rand:"+Array.prototype.map.call(c,(function(t){return(t%36).toString(36)})).join("")+"___"}if(o(Object,"getOwnPropertyNames",{value:function(t){return s(t).filter(y)}}),"getPropertyNames"in Object){var l=Object.getPropertyNames;o(Object,"getPropertyNames",{value:function(t){return l(t).filter(y)}})}!function(){var t=Object.freeze;o(Object,"freeze",{value:function(e){return g(e),t(e)}});var e=Object.seal;o(Object,"seal",{value:function(t){return g(t),e(t)}});var r=Object.preventExtensions;o(Object,"preventExtensions",{value:function(t){return g(t),r(t)}})}();var p=!1,f=0,d=function(){this instanceof d||x();var t=[],e=[],r=f++;return Object.create(d.prototype,{get___:{value:v((function(n,i){var s,o=g(n);return o?r in o?o[r]:i:(s=t.indexOf(n))>=0?e[s]:i}))},has___:{value:v((function(e){var n=g(e);return n?r in n:t.indexOf(e)>=0}))},set___:{value:v((function(n,i){var s,o=g(n);return o?o[r]=i:(s=t.indexOf(n))>=0?e[s]=i:(s=t.length,e[s]=i,t[s]=n),this}))},delete___:{value:v((function(n){var i,s,o=g(n);return o?r in o&&delete o[r]:!((i=t.indexOf(n))<0)&&(s=t.length-1,t[i]=void 0,e[i]=e[s],t[i]=t[s],t.length=s,e.length=s,!0)}))}})};d.prototype=Object.create(Object.prototype,{get:{value:function(t,e){return this.get___(t,e)},writable:!0,configurable:!0},has:{value:function(t){return this.has___(t)},writable:!0,configurable:!0},set:{value:function(t,e){return this.set___(t,e)},writable:!0,configurable:!0},delete:{value:function(t){return this.delete___(t)},writable:!0,configurable:!0}}),"function"==typeof r?function(){function n(){this instanceof d||x();var t,n=new r,i=void 0,s=!1;return t=e?function(t,e){return n.set(t,e),n.has(t)||(i||(i=new d),i.set(t,e)),this}:function(t,e){if(s)try{n.set(t,e)}catch(r){i||(i=new d),i.set___(t,e)}else n.set(t,e);return this},Object.create(d.prototype,{get___:{value:v((function(t,e){return i?n.has(t)?n.get(t):i.get___(t,e):n.get(t,e)}))},has___:{value:v((function(t){return n.has(t)||!!i&&i.has___(t)}))},set___:{value:v(t)},delete___:{value:v((function(t){var e=!!n.delete(t);return i&&i.delete___(t)||e}))},permitHostObjects___:{value:v((function(t){if(t!==m)throw new Error("bogus call to permitHostObjects___");s=!0}))}})}e&&"undefined"!=typeof Proxy&&(Proxy=void 0),n.prototype=d.prototype,t.exports=n,Object.defineProperty(WeakMap.prototype,"constructor",{value:WeakMap,enumerable:!1,configurable:!0,writable:!0})}():("undefined"!=typeof Proxy&&(Proxy=void 0),t.exports=d)}function m(t){t.permitHostObjects___&&t.permitHostObjects___(m)}function y(t){return!("weakmap:"==t.substr(0,"weakmap:".length)&&"___"===t.substr(t.length-3))}function g(t){if(t!==Object(t))throw new TypeError("Not an object: "+t);var e=t[u];if(e&&e.key===t)return e;if(a(t)){e={key:t};try{return o(t,u,{value:e,writable:!1,enumerable:!1,configurable:!1}),e}catch(t){return}}}function v(t){return t.prototype=null,Object.freeze(t)}function x(){p||"undefined"==typeof console||(p=!0,console.warn("WeakMap should be invoked as new WeakMap(), not WeakMap(). This will be an error in the future."))}}()},function(t,e){if(!RegExp.escape){var r=/[-[\]{}()*+?.\\^$|,#\s]/g;RegExp.escape=function(t){return t.replace(r,"\\$&")}}},function(t,e,r){"use strict";r(2);var n=r(20),i=r(24);t.exports=n,Object.addEach(n.prototype,i.prototype)},function(t,e,r){"use strict";r(2);var n=r(3),i=r(13);function s(t,e){if(!(this instanceof s))return new s(t,e);e=e||Function.noop,this.getDefault=e,this.store=Object.create(null),this.length=0,this.addEach(t)}t.exports=s,s.Dict=s,Object.addEach(s.prototype,n.prototype),Object.addEach(s.prototype,i.prototype),s.from=n.from,s.prototype.constructClone=function(t){return new this.constructor(t,this.getDefault)},s.prototype.assertString=function(t){if("string"!=typeof t)throw new TypeError("key must be a string but Got "+t)},Object.defineProperty(s.prototype,"$__proto__",{writable:!0}),Object.defineProperty(s.prototype,"_hasProto",{get:function(){return this.hasOwnProperty("$__proto__")&&void 0!==this._protoValue}}),Object.defineProperty(s.prototype,"_protoValue",{get:function(){return this.$__proto__},set:function(t){this.$__proto__=t}}),Object.defineProperty(s.prototype,"size",n._sizePropertyDescriptor),s.prototype.get=function(t,e){return this.assertString(t),"__proto__"===t?this._hasProto?this._protoValue:arguments.length>1?e:this.getDefault(t):t in this.store?this.store[t]:arguments.length>1?e:this.getDefault(t)},s.prototype.set=function(t,e){this.assertString(t);var r="__proto__"===t;return(r?this._hasProto:t in this.store)?(this.dispatchesMapChanges&&this.dispatchBeforeMapChange(t,r?this._protoValue:this.store[t]),r?this._protoValue=e:this.store[t]=e,this.dispatchesMapChanges&&this.dispatchMapChange(t,e),!1):(this.dispatchesMapChanges&&this.dispatchBeforeMapChange(t,void 0),this.length++,r?this._protoValue=e:this.store[t]=e,this.dispatchesMapChanges&&this.dispatchMapChange(t,e),!0)},s.prototype.has=function(t){return this.assertString(t),"__proto__"===t?this._hasProto:t in this.store},s.prototype.delete=function(t){return this.assertString(t),"__proto__"===t?!!this._hasProto&&(this.dispatchesMapChanges&&this.dispatchBeforeMapChange(t,this._protoValue),this._protoValue=void 0,this.length--,this.dispatchesMapChanges&&this.dispatchMapChange(t,void 0),!0):t in this.store&&(this.dispatchesMapChanges&&this.dispatchBeforeMapChange(t,this.store[t]),delete this.store[t],this.length--,this.dispatchesMapChanges&&this.dispatchMapChange(t,void 0),!0)},s.prototype.clear=function(){var t;for(t in this._hasProto&&(this.dispatchesMapChanges&&this.dispatchBeforeMapChange("__proto__",this._protoValue),this._protoValue=void 0,this.dispatchesMapChanges&&this.dispatchMapChange("__proto__",void 0)),this.store)this.dispatchesMapChanges&&this.dispatchBeforeMapChange(t,this.store[t]),delete this.store[t],this.dispatchesMapChanges&&this.dispatchMapChange(t,void 0);this.length=0},s.prototype.reduce=function(t,e,r){this._hasProto&&(e=t.call(r,e,"$__proto__","__proto__",this));var n=this.store;for(var i in this.store)e=t.call(r,e,n[i],i,this);return e},s.prototype.reduceRight=function(t,e,r){var n=this,i=this.store;return e=Object.keys(this.store).reduceRight((function(e,s){return t.call(r,e,i[s],s,n)}),e),this._hasProto?t.call(r,e,this._protoValue,"__proto__",n):e},s.prototype.one=function(){var t;for(t in this.store)return this.store[t];return this._protoValue},s.prototype.toJSON=function(){return this.toObject()}},function(t,e,r){"use strict";function n(){}t.exports=n,n.ascii={intersection:"+",through:"-",branchUp:"+",branchDown:"+",fromBelow:".",fromAbove:"'",fromBoth:"+",strafe:"|"},n.unicodeRound={intersection:"╋",through:"━",branchUp:"┻",branchDown:"┳",fromBelow:"╭",fromAbove:"╰",fromBoth:"┣",strafe:"┃"},n.unicodeSharp={intersection:"╋",through:"━",branchUp:"┻",branchDown:"┳",fromBelow:"┏",fromAbove:"┗",fromBoth:"┣",strafe:"┃"}},function(t,e,r){"use strict";(function(e){r(2);var n,i,s=r(3),o=r(23);void 0!==e.Set&&"function"==typeof e.Set.prototype.values&&((n=t.exports=e.Set).Set=n,n.prototype.reduce=function(t,e){var r=arguments[2];return this.forEach((function(n){e=t.call(r,e,n,this)})),e},n.prototype.reduceRight=function(t,e){for(var r,n=arguments[2],i=this.values(),s=this.size,o=new Array(this.size),a=s;r=i.next().value;)o[--a]=r;for(;a<s;)e=t.call(n,e,o[a++],this);return e},n.prototype.equals=function(t,e){var r=this;return t&&"function"==typeof t.reduce&&this.size===(t.size||t.length)&&t.reduce((function(t,n){return t&&r.has(n,e)}),!0)},n.prototype.constructClone=function(t){return new this.constructor(t,this.contentEquals,this.contentHash,this.getDefault)},n.prototype.toJSON=function(){return this.entriesArray()},n.prototype.one=function(){if(this.size>0)return this.values().next().value},n.prototype.pop=function(){if(this.size){for(var t,e,r=this.values();t=r.next().value;)e=t;return this.delete(e,this.size-1),e}},n.prototype.shift=function(){if(this.size){var t=this.values().next().value;return this.delete(t,0),t}},Object.defineProperty(n.prototype,"length",{get:function(){return this.size},enumerable:!0,configurable:!0}),n.from=function(t){var e=new this;return e.addEach(t),e},Object.addEach(n.prototype,s.prototype,!1),Object.addEach(n.prototype,o.prototype,!1));var a=r(22),u=r(20),h=r(21);(i=function t(e,r,n,i){return t._init(t,this,e,r,n,i)})._init=function(t,e,r,n,i,s){if(!(e instanceof t))return new t(r,n,i,s);n=n||Object.equals,i=i||Object.hash,s=s||Function.noop,e.contentEquals=n,e.contentHash=i,e.getDefault=s,e.order=new e.Order(void 0,n),e.store=new e.Store(void 0,(function(t,e){return n(t.value,e.value)}),(function(t){return i(t.value)})),e.length=0,e.addEach(r)},i.Set=i,i.CollectionsSet=i,Object.addEach(i.prototype,s.prototype),Object.addEach(i.prototype,o.prototype),i.from=s.from,Object.defineProperty(i.prototype,"size",s._sizePropertyDescriptor),i.prototype.Order=a,i.prototype.Store=u,i.prototype.constructClone=function(t){return new this.constructor(t,this.contentEquals,this.contentHash,this.getDefault)},i.prototype.has=function(t){var e=new this.order.Node(t);return this.store.has(e)},i.prototype.get=function(t,e){if(e)throw new Error("Set#get does not support second argument: equals");var r=new this.order.Node(t);return(r=this.store.get(r))?r.value:this.getDefault(t)},i.prototype.add=function(t){var e=new this.order.Node(t);if(!this.store.has(e)){this.length;return this.order.add(t),e=this.order.head.prev,this.store.add(e),this.length++,!0}return!1},i.prototype.delete=function(t,e){if(e)throw new Error("Set#delete does not support second argument: equals");var r=new this.order.Node(t);return!!this.store.has(r)&&(r=this.store.get(r),this.store.delete(r),this.order.splice(r,1),this.length--,!0)},i.prototype.pop=function(){if(this.length){var t=this.order.head.prev.value;return this.delete(t),t}},i.prototype.shift=function(){if(this.length){var t=this.order.head.next.value;return this.delete(t),t}},i.prototype.one=function(){if(this.length>0)return this.store.one().value},i.prototype.clear=function(){this.store.clear(),this.order.clear(),this.length=0},Object.defineProperty(i.prototype,"_clear",{value:i.prototype.clear}),i.prototype.reduce=function(t,e){var r=arguments[2],n=this.order,i=0;return n.reduce((function(e,n){return t.call(r,e,n,i++,this)}),e,this)},i.prototype.reduceRight=function(t,e){var r=arguments[2],n=this.order,i=this.length-1;return n.reduceRight((function(e,n){return t.call(r,e,n,i--,this)}),e,this)},i.prototype.iterate=function(){return this.order.iterate()},i.prototype.values=function(){return new h(this.valuesArray())},i.prototype.log=function(){var t=this.store;return t.log.apply(t,arguments)},n?(n.prototype.valuesArray=o.prototype.valuesArray,n.prototype.entriesArray=o.prototype.entriesArray,t.exports=n,n.CollectionsSet=i):t.exports=i}).call(this,r(0))},function(t,e,r){"use strict";var n=r(8),i=r(14),s=r(25),o=s.ObjectChangeDescriptor,a=s.ChangeListenersRecord,u=s.ListenerGhost;function h(){throw new Error("Can't construct. MapChanges is a mixin.")}t.exports=h;Object.prototype.hasOwnProperty;var c=new n;function l(t){this.name=t,this.isActive=!1,this._willChangeListeners=null,this._changeListeners=null}l.prototype=new o,l.prototype.constructor=l,l.prototype.changeListenersRecordConstructor=f,l.prototype.willChangeListenersRecordConstructor=m;var p=new i;function f(t){var e=p.get(t);return e||(e="handle",e+=t.slice(0,1).toUpperCase(),e+=t.slice(1),e+="MapChange",p.set(t,e)),this.specificHandlerMethodName=e,this}f.prototype=new a,f.prototype.constructor=f,f.prototype.genericHandlerMethodName="handleMapChange";var d=new i;function m(t){var e=d.get(t);return e||(e="handle",e+=t.slice(0,1).toUpperCase(),e+=t.slice(1),e+="MapWillChange",d.set(t,e)),this.specificHandlerMethodName=e,this}m.prototype=new a,m.prototype.constructor=m,m.prototype.genericHandlerMethodName="handleMapWillChange",h.prototype.getAllMapChangeDescriptors=function(){return c.has(this)||c.set(this,new i),c.get(this)},h.prototype.getMapChangeDescriptor=function(t){var e=this.getAllMapChangeDescriptors();return t=t||"",e.has(t)||e.set(t,new l(t)),e.get(t)};var y=new n,g={get:function(){return y.get(this)},set:function(t){return y.set(this,t)},configurable:!0,enumerable:!1};h.prototype.addMapChangeListener=function(t,e,r){!this.isObservable&&this.makeObservable&&this.makeObservable();var n,i=this.getMapChangeDescriptor(e);(n=r?i.willChangeListeners:i.changeListeners)._current?Array.isArray(n._current)?n._current.push(t):n._current=[n._current,t]:n._current=t,void 0===Object.getOwnPropertyDescriptor(this.__proto__||Object.getPrototypeOf(this),"dispatchesMapChanges")&&Object.defineProperty(this.__proto__||Object.getPrototypeOf(this),"dispatchesMapChanges",g),this.dispatchesMapChanges=!0;var s=this;return function(){s&&(s.removeMapChangeListener(t,e,r),s=null)}},h.prototype.removeMapChangeListener=function(t,e,r){var n,i=this.getMapChangeDescriptor(e);if((n=r?i.willChangeListeners:i.changeListeners)._current)if(n._current===t)n._current=null;else{var s=n._current.lastIndexOf(t);if(-1===s)throw new Error("Can't remove map change listener: does not exist: token "+JSON.stringify(e));i.isActive?(n.ghostCount=n.ghostCount+1,n._current[s]=u):n._current.spliceOne(s)}},h.prototype.dispatchMapChange=function(t,e,r){var n=this.getAllMapChangeDescriptors(),i=u;n.forEach((function(n,s){if(!n.isActive){var o=r?n.willChangeListeners:n.changeListeners;if(o&&o._current){var a=o.specificHandlerMethodName;if(Array.isArray(o._current)){if(o._current.length){var u,h,c,l=o.removeCurrentGostListenersIfNeeded();n.isActive=!0;try{for(u=0,h=l.length;u<h;u++)if((c=l[u])!==i)if(c[a])c[a](e,t,this);else{if(!c.call)throw new Error("Handler "+c+" has no method "+a+" and is not callable");c.call(c,e,t,this)}}finally{n.isActive=!1}}}else{n.isActive=!0;try{if((c=o._current)[a])c[a](e,t,this);else{if(!c.call)throw new Error("Handler "+c+" has no method "+a+" and is not callable");c.call(c,e,t,this)}}finally{n.isActive=!1}}}}}),this)},h.prototype.addBeforeMapChangeListener=function(t,e){return this.addMapChangeListener(t,e,!0)},h.prototype.removeBeforeMapChangeListener=function(t,e){return this.removeMapChangeListener(t,e,!0)},h.prototype.dispatchBeforeMapChange=function(t,e){return this.dispatchMapChange(t,e,!0)}},function(t,e,r){(function(e){var r=e&&e.pid?e.pid.toString(36):"";function n(){var t=Date.now(),e=n.last||t;return n.last=t>e?t:e+1}t.exports=t.exports.default=function(t,e){return(t||"")+""+r+n().toString(36)+(e||"")},t.exports.process=function(t,e){return(t||"")+r+n().toString(36)+(e||"")},t.exports.time=function(t,e){return(t||"")+n().toString(36)+(e||"")}}).call(this,r(1))},function(t,e,r){"use strict";function n(t){let e=0;do{if(" "!==t[e]&&"\t"!==t[e])return e}while(++e<t.length);return e}const i={parse_tag:function(t){const e=t.match(/^\s*@(\S+)/);if(!e)throw new Error("Invalid `@tag`, missing @ symbol");return{source:e[0],data:{tag:e[1]}}},parse_type:function(t,e){if(e.errors&&e.errors.length)return null;let r=n(t),i="",s=0;if("{"!==t[r])return null;for(;r<t.length&&(s+="{"===t[r]?1:"}"===t[r]?-1:0,i+=t[r],r++,0!==s););if(0!==s)throw new Error("Invalid `{type}`, unpaired curlies");return{source:t.slice(0,r),data:{type:i.slice(1,-1)}}},parse_name:function(t,e){if(e.errors&&e.errors.length)return null;let r=n(t),i="",s=0,o={optional:!1};const a=t.slice(r).split('"');if(a.length>1&&""===a[0]&&a.length%2==1)i=a[1],r+=i.length+2;else{for(;r<t.length&&(s+="["===t[r]?1:"]"===t[r]?-1:0,i+=t[r],r++,0!==s||!/\s/.test(t[r])););if(0!==s)throw new Error("Invalid `name`, unpaired brackets");if(o={name:i,optional:!1},"["===i[0]&&"]"===i[i.length-1]&&(o.optional=!0,i=i.slice(1,-1),-1!==i.indexOf("="))){const t=i.split("=");i=t[0],o.default=t[1].replace(/^(["'])(.+)(\1)$/,"$2")}}return o.name=i,{source:t.slice(0,r),data:o}},parse_description:function(t,e){if(e.errors&&e.errors.length)return null;const r=t.match(/^\s+((.|\s)+)?/);return r?{source:r[0],data:{description:void 0===r[1]?"":r[1]}}:null}};t.exports=i},function(t,e,r){"use strict";t.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}},function(t,e,r){"use strict";const n=r(!function(){var t=new Error("Cannot find module 'fs'");throw t.code="MODULE_NOT_FOUND",t}()),i=r(48),s=r(26),o=r(62);t.exports=s,t.exports.stringify=o;class a extends i.Transform{constructor(t){t=t||{},super({objectMode:!0}),this._extract=s.mkextract(t)}_transform(t,e,r){let n;const i=t.toString().split(/\n/);for(;i.length;)n=this._extract(i.shift()),n&&this.push(n);r()}}t.exports.stream=function(t){return new a(t)},t.exports.file=function(t,e){let r={};const i=[];return 3===arguments.length&&(r=e,e=arguments[2]),n.createReadStream(t,{encoding:"utf8"}).on("error",e).pipe(new a(r)).on("error",e).on("data",(function(t){i.push(t)})).on("finish",(function(){e(null,i)}))}},function(t,e,r){t.exports=i;var n=r(9).EventEmitter;function i(){n.call(this)}r(4)(i,n),i.Readable=r(15),i.Writable=r(58),i.Duplex=r(59),i.Transform=r(60),i.PassThrough=r(61),i.Stream=i,i.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function s(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",s),t._isStdio||e&&!1===e.end||(r.on("end",a),r.on("close",u));var o=!1;function a(){o||(o=!0,t.end())}function u(){o||(o=!0,"function"==typeof t.destroy&&t.destroy())}function h(t){if(c(),0===n.listenerCount(this,"error"))throw t}function c(){r.removeListener("data",i),t.removeListener("drain",s),r.removeListener("end",a),r.removeListener("close",u),r.removeListener("error",h),t.removeListener("error",h),r.removeListener("end",c),r.removeListener("close",c),t.removeListener("close",c)}return r.on("error",h),t.on("error",h),r.on("end",c),r.on("close",c),t.on("close",c),t.emit("pipe",r),t}},function(t,e,r){"use strict";e.byteLength=function(t){var e=h(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=h(t),o=n[0],a=n[1],u=new s(function(t,e,r){return 3*(e+r)/4-r}(0,o,a)),c=0,l=a>0?o-4:o;for(r=0;r<l;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],u[c++]=e>>16&255,u[c++]=e>>8&255,u[c++]=255&e;2===a&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,u[c++]=255&e);1===a&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e);return u},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,s=[],o=0,a=r-i;o<a;o+=16383)s.push(c(t,o,o+16383>a?a:o+16383));1===i?(e=t[r-1],s.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],s.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return s.join("")};for(var n=[],i=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=o.length;a<u;++a)n[a]=o[a],i[o.charCodeAt(a)]=a;function h(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function c(t,e,r){for(var i,s,o=[],a=e;a<r;a+=3)i=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),o.push(n[(s=i)>>18&63]+n[s>>12&63]+n[s>>6&63]+n[63&s]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,i){var s,o,a=8*i-n-1,u=(1<<a)-1,h=u>>1,c=-7,l=r?i-1:0,p=r?-1:1,f=t[e+l];for(l+=p,s=f&(1<<-c)-1,f>>=-c,c+=a;c>0;s=256*s+t[e+l],l+=p,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=n;c>0;o=256*o+t[e+l],l+=p,c-=8);if(0===s)s=1-h;else{if(s===u)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,n),s-=h}return(f?-1:1)*o*Math.pow(2,s-n)},e.write=function(t,e,r,n,i,s){var o,a,u,h=8*s-i-1,c=(1<<h)-1,l=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:s-1,d=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+l>=1?p/u:p*Math.pow(2,1-l))*u>=2&&(o++,u/=2),o+l>=c?(a=0,o=c):o+l>=1?(a=(e*u-1)*Math.pow(2,i),o+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[r+f]=255&a,f+=d,a/=256,i-=8);for(o=o<<i|a,h+=i;h>0;t[r+f]=255&o,f+=d,o/=256,h-=8);t[r+f-d]|=128*m}},function(t,e){},function(t,e,r){"use strict";var n=r(11).Buffer,i=r(53);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var e,r,i,s=n.allocUnsafe(t>>>0),o=this.head,a=0;o;)e=o.data,r=s,i=a,e.copy(r,i),a+=o.data.length,o=o.next;return s},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},function(t,e){},function(t,e,r){(function(t){var n=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function s(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new s(i.call(setTimeout,n,arguments),clearTimeout)},e.setInterval=function(){return new s(i.call(setInterval,n,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(n,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},r(55),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,r(0))},function(t,e,r){(function(t,e){!function(t,r){"use strict";if(!t.setImmediate){var n,i,s,o,a,u=1,h={},c=!1,l=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?n=function(t){e.nextTick((function(){d(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?t.MessageChannel?((s=new MessageChannel).port1.onmessage=function(t){d(t.data)},n=function(t){s.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(i=l.documentElement,n=function(t){var e=l.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,i.removeChild(e),e=null},i.appendChild(e)}):n=function(t){setTimeout(d,0,t)}:(o="setImmediate$"+Math.random()+"$",a=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(o)&&d(+e.data.slice(o.length))},t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a),n=function(e){t.postMessage(o+e,"*")}),p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),r=0;r<e.length;r++)e[r]=arguments[r+1];var i={callback:t,args:e};return h[u]=i,n(u),u++},p.clearImmediate=f}function f(t){delete h[t]}function d(t){if(c)setTimeout(d,0,t);else{var e=h[t];if(e){c=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(void 0,r)}}(e)}finally{f(t),c=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,r(0),r(1))},function(t,e,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(t){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}}).call(this,r(0))},function(t,e,r){"use strict";t.exports=s;var n=r(33),i=Object.create(r(6));function s(t){if(!(this instanceof s))return new s(t);n.call(this,t)}i.inherits=r(4),i.inherits(s,n),s.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){t.exports=r(16)},function(t,e,r){t.exports=r(5)},function(t,e,r){t.exports=r(15).Transform},function(t,e,r){t.exports=r(15).PassThrough},function(t,e,r){"use strict";const n=t=>"number"==typeof t?" ".repeat(t):t;t.exports=e=function(t,e){if(Array.isArray(t))return i(t,e);if(t&&"object"==typeof t){if("tag"in t)return o(t,e);if("tags"in t)return s(t,e)}throw new TypeError("Unexpected argument passed to `stringify`.")};const i=e.stringifyBlocks=function(t,{indent:e=""}={}){const r=n(e);return t.reduce((t,r)=>t+s(r,{indent:e}),(r?r.slice(0,-1):"")+"/**\n")+r+"*/"},s=e.stringifyBlock=function(t,{indent:e=""}={}){const r=n(e);return(t.description?`${r}${t.description.replace(/^/gm,"* ")}\n${r}*\n`:"")+t.tags.reduce((t,r)=>t+o(r,{indent:e}),"")},o=e.stringifyTag=function(t,{indent:e=""}={}){const r=n(e),{type:i,name:s,optional:o,description:a,tag:u,default:h}=t;return r+`* @${u}`+(i?` {${i}}`:"")+(s?` ${o?"[":""}${s}${h?`=${h}`:""}${o?"]":""}`:"")+(a?` ${a.replace(/\n/g,"\n"+r+"* ")}`:"")+"\n"}},function(t,e,r){"use strict";var n=r(64);t.exports=function(t){t||(t={});var e=n(t),r=e.platform.rtc(t),i=e.platform.gum(t),s=e.platform.attachStream(t),o=!!r.RTCPeerConnection;return{platform:e.name,supported:o,getUserMedia:i,RTCPeerConnection:r.RTCPeerConnection,RTCSessionDescription:r.RTCSessionDescription,RTCIceCandidate:r.RTCIceCandidate,attachStream:s}},t.exports.platforms=n.platforms},function(t,e,r){"use strict";(function(e){var n=r(65)(e+"/../platforms",["**/*.js"]),i=Object.keys(n);function s(t){var e=n[t];return e&&e.match&&e.match()}t.exports=function(t){var e,r=i;if(t&&t.platforms){if(!Array.isArray(t.platforms))throw new Error("Invalid platforms option");r=r.filter((function(e){return-1!==t.platforms.indexOf(e)}))}if(t&&t.platform){if(-1===r.indexOf(t.platform))throw new Error("Invalid platform option");e=t.platform}else e=r.filter(s)[0];return{name:e||"unsupported",platform:n[e]||n.unsupported}},t.exports.platforms=i}).call(this,"/")},function(t,e,r){var n=r(66),i=r(17);t.exports=function(t,e,s){if("string"==typeof e&&(e=[e]),!Array.isArray(e))return{};s||(s={});var o=s.require||r(76);return function t(e){if(Array.isArray(e)){var r=o(e[0]),n=e.slice(1);if(0===n.length)return r;var i=function(t){return"function"!=typeof t?t:function(){var e=n.concat([].slice.call(arguments));return t.apply(this,e)}};return"function"==typeof r?i(r):Array.isArray(r)?r.map(i):r&&"object"==typeof r?Object.keys(r).reduce((function(t,e){return t[e]=i(r[e]),t}),{}):r}if("object"==typeof e){var s=e.index&&"string"==typeof e.index[0]&&o(e.index[0]);return Object.keys(e).reduce((function(r,n){return r[n]=t(e[n]),r}),s&&"function"==typeof s?s:{})}}(e.map((function(e){return Array.isArray(e)?[i.resolve(t,e[0])].concat(e.slice(1)):i.resolve(t,e)})).reduce((function(e,r){var s=[];return Array.isArray(r)&&(s=r.slice(1),r=r[0]),n.sync(r).forEach((function(r){for(var n=function(e){var r=i.relative(t,e).split(/\/|\\/),n=r.length;n&&(r[n-1]=r[n-1].replace(/\.[^.]*$/,""));return r}(r),o=e,a=0;a<n.length;a++){var u=n[a];a===n.length-1?(o[u]||(o[u]=[r]),o[u].push.apply(o[u],s)):(o[u]||(o[u]={}),o=o[u])}})),e}),{}))}},function(t,e,r){(function(e){t.exports=c;var n=r(!function(){var t=new Error("Cannot find module 'fs'");throw t.code="MODULE_NOT_FOUND",t}()),i=r(67),s=i.Minimatch,o=r(4),a=r(9).EventEmitter,u=r(17),h=r(71).ok;function c(t,e,r){if("function"==typeof e&&(r=e,e={}),e||(e={}),"number"!=typeof e){var n=new p(t,e,r);return n.sync?n.found:n}l()}function l(){throw new Error("glob's interface has changed. Please see the docs.")}function p(t,r,n){if(!(this instanceof p))return new p(t,r,n);"function"==typeof r&&(n=r,r=null),"function"==typeof n&&(this.on("error",n),this.on("end",(function(t){n(null,t)}))),r=r||{},this._endEmitted=!1,this.EOF={},this._emitQueue=[],this.paused=!1,this._processingEmitQueue=!1,this.maxDepth=r.maxDepth||1e3,this.maxLength=r.maxLength||1/0,this.cache=r.cache||{},this.statCache=r.statCache||{},this.changedCwd=!1;var i=e.cwd();if(r.hasOwnProperty("cwd")?(this.cwd=r.cwd,this.changedCwd=u.resolve(r.cwd)!==i):this.cwd=i,this.root=r.root||u.resolve(this.cwd,"/"),this.root=u.resolve(this.root),"win32"===e.platform&&(this.root=this.root.replace(/\\/g,"/")),this.nomount=!!r.nomount,!t)throw new Error("must provide pattern");if(r.matchBase&&-1===t.indexOf("/")){if(r.noglobstar)throw new Error("base matching requires globstar");t="**/"+t}this.strict=!1!==r.strict,this.dot=!!r.dot,this.mark=!!r.mark,this.sync=!!r.sync,this.nounique=!!r.nounique,this.nonull=!!r.nonull,this.nosort=!!r.nosort,this.nocase=!!r.nocase,this.stat=!!r.stat,this.debug=!!r.debug||!!r.globDebug,this.debug&&(this.log=console.error),this.silent=!!r.silent;var o=this.minimatch=new s(t,r);this.options=o.options,t=this.pattern=o.pattern,this.error=null,this.aborted=!1,this._globstars={},a.call(this);var h=this.minimatch.set.length;this.matches=new Array(h),this.minimatch.set.forEach(function(t,e,r){this._process(t,0,e,(function(t){t&&this.emit("error",t),--h<=0&&this._finish()}))}.bind(this))}function f(t,e){return d(t=t.toLowerCase(),e=e.toLowerCase())}function d(t,e){return t>e?1:t<e?-1:0}c.fnmatch=l,c.sync=function(t,e){if("number"==typeof e)return void l();return(e=e||{}).sync=!0,c(t,e)},this._processingEmitQueue=!1,c.Glob=p,o(p,a),p.prototype.log=function(){},p.prototype._finish=function(){h(this instanceof p);for(var t=this.nounique,e=t?[]:{},r=0,n=this.matches.length;r<n;r++){var i=this.matches[r];if(this.log("matches[%d] =",r,i),i){var s=Object.keys(i);t?e.push.apply(e,s):s.forEach((function(t){e[t]=!0}))}else if(this.nonull){var o=this.minimatch.globSet[r];t?e.push(o):e[o]=!0}}t||(e=Object.keys(e)),this.nosort||(e=e.sort(this.nocase?f:d)),this.mark&&(e=e.map(this._mark,this)),this.log("emitting end",e),this.EOF=this.found=e,this.emitMatch(this.EOF)},p.prototype._mark=function(t){var e=this.cache[t],r=t;if(e){var n=2===e||Array.isArray(e),i="/"===t.slice(-1);n&&!i?r+="/":!n&&i&&(r=r.slice(0,-1)),r!==t&&(this.statCache[r]=this.statCache[t],this.cache[r]=this.cache[t])}return r},p.prototype.abort=function(){this.aborted=!0,this.emit("abort")},p.prototype.pause=function(){this.paused||(this.sync&&this.emit("error",new Error("Can't pause/resume sync glob")),this.paused=!0,this.emit("pause"))},p.prototype.resume=function(){this.paused&&(this.sync&&this.emit("error",new Error("Can't pause/resume sync glob")),this.paused=!1,this.emit("resume"),this._processEmitQueue())},p.prototype.emitMatch=function(t){this.log("emitMatch",t),this._emitQueue.push(t),this._processEmitQueue()},p.prototype._processEmitQueue=function(t){this.log("pEQ paused=%j processing=%j m=%j",this.paused,this._processingEmitQueue,t);for(var e=!1;!this._processingEmitQueue&&!this.paused;){this._processingEmitQueue=!0;t=this._emitQueue.shift();if(this.log(">processEmitQueue",t===this.EOF?":EOF:":t),!t){this.log(">processEmitQueue, falsey m"),this._processingEmitQueue=!1;break}if(t===this.EOF||!this.mark||this.stat)this.log("peq: unmarked, or eof"),i.call(this,0,!1);else if(this.statCache[t]){var r,n=this.statCache[t];n&&(r=n.isDirectory()?2:1),this.log("peq: stat cached"),i.call(this,r,2===r)}else this.log("peq: _stat, then next"),this._stat(t,i);function i(r,n){this.log("next",t,r,n);var i=t===this.EOF?"end":"match";h(!this._endEmitted),"end"===i&&(this._endEmitted=!0),r&&(n&&!t.match(/\/$/)?t+="/":!n&&t.match(/\/$/)&&(t=t.replace(/\/+$/,""))),this.log("emit",i,t),this.emit(i,t),this._processingEmitQueue=!1,e&&t!==this.EOF&&!this.paused&&this._processEmitQueue()}}e=!0},p.prototype._process=function(t,r,n,s){h(this instanceof p);var o=function(t,e){h(this instanceof p),this.paused?(this._processQueue||(this._processQueue=[],this.once("resume",(function(){var t=this._processQueue;this._processQueue=null,t.forEach((function(t){t()}))}))),this._processQueue.push(s.bind(this,t,e))):s.call(this,t,e)}.bind(this);if(this.aborted)return o();if(r>this.maxDepth)return o();for(var a,c,l=0;"string"==typeof t[l];)l++;switch(l){case t.length:return a=t.join("/"),void this._stat(a,(function(t,r){return t&&(a&&m(a)&&!this.nomount&&(a="/"===a.charAt(0)?u.join(this.root,a):u.resolve(this.root,a)),"win32"===e.platform&&(a=a.replace(/\\/g,"/")),this.matches[n]=this.matches[n]||{},this.matches[n][a]=!0,this.emitMatch(a)),o()}));case 0:a=null;break;default:a=(a=t.slice(0,l)).join("/")}return null===a?c=".":m(a)||m(t.join("/"))?(a&&m(a)||(a=u.join("/",a)),c=a=u.resolve(a),this.log("absolute: ",a,this.root,t,c)):c=a,this.log("readdir(%j)",c,this.cwd,this.root),this._readdir(c,(function(s,h){if(s)return o();if(t[l]!==i.GLOBSTAR){t[l];var c=t[l]._glob,p=this.dot||"."===c.charAt(0);if(h=h.filter((function(e){return("."!==e.charAt(0)||p)&&e.match(t[l])})),l===t.length-1&&!this.mark&&!this.stat)return h.forEach((function(t){a&&(t="/"!==a?a+"/"+t:a+t),"/"!==t.charAt(0)||this.nomount||(t=u.join(this.root,t)),"win32"===e.platform&&(t=t.replace(/\\/g,"/")),this.matches[n]=this.matches[n]||{},this.matches[n][t]=!0,this.emitMatch(t)}),this),o.call(this);d=h.length,m=null;if(0===d)return o();h.forEach((function(e){var i=t.slice(0,l).concat(e).concat(t.slice(l+1));this._process(i,r+1,n,(function(t){if(!m)return t?o(m=t):0==--d?o.call(this):void 0}))}),this)}else{var f=[t.slice(0,l).concat(t.slice(l+1))];if(h.forEach((function(e){("."!==e.charAt(0)||this.dot)&&(f.push(t.slice(0,l).concat(e).concat(t.slice(l+1))),f.push(t.slice(0,l).concat(e).concat(t.slice(l))))}),this),!(f=f.filter((function(t){var e=function(t){return"**"+t.map((function(t){return t===i.GLOBSTAR?"**":""+t})).join("/")}(t),r=!this._globstars[e];return this._globstars[e]=!0,r}),this)).length)return o();var d=f.length,m=null;f.forEach((function(t){this._process(t,r+1,n,(function(t){if(!m)return t?o(m=t):--d<=0?o():void 0}))}),this)}}))},p.prototype._stat=function(t,r){h(this instanceof p);var i=t;if("/"===t.charAt(0)?i=u.join(this.root,t):this.changedCwd&&(i=u.resolve(this.cwd,t)),t.length>this.maxLength)return(c=new Error("Path name too long")).code="ENAMETOOLONG",c.path=t,this._afterStat(t,i,r,c);if(this.log("stat",[this.cwd,t,"=",i]),!this.stat&&this.cache.hasOwnProperty(t)){var s=this.cache[t],o=s&&(Array.isArray(s)||2===s);return this.sync?r.call(this,!!s,o):e.nextTick(r.bind(this,!!s,o))}var a=this.statCache[i];if(this.sync||a){var c;try{a=n.statSync(i)}catch(t){c=t}this._afterStat(t,i,r,c,a)}else n.stat(i,this._afterStat.bind(this,t,i,r))},p.prototype._afterStat=function(t,e,r,n,i){var s;h(this instanceof p),"/"===e.slice(-1)&&i&&!i.isDirectory()&&(this.log("should be ENOTDIR, fake it"),(n=new Error("ENOTDIR, not a directory '"+e+"'")).path=e,n.code="ENOTDIR",i=null);var o=!this.statCache[e];this.statCache[e]=i,n||!i?s=!1:(s=i.isDirectory()?2:1,o&&this.emit("stat",t,i)),this.cache[t]=this.cache[t]||s,r.call(this,!!s,2===s)},p.prototype._readdir=function(t,r){h(this instanceof p);var i=t;if("/"===t.charAt(0)?i=u.join(this.root,t):m(t)?i=t:this.changedCwd&&(i=u.resolve(this.cwd,t)),t.length>this.maxLength)return(a=new Error("Path name too long")).code="ENAMETOOLONG",a.path=t,this._afterReaddir(t,i,r,a);if(this.log("readdir",[this.cwd,t,i]),this.cache.hasOwnProperty(t)){var s=this.cache[t];if(Array.isArray(s))return this.sync?r.call(this,null,s):e.nextTick(r.bind(this,null,s));if(!s||1===s){var o=s?"ENOTDIR":"ENOENT";return(a=new Error((s?"Not a directory":"Not found")+": "+t)).path=t,a.code=o,this.log(t,a),this.sync?r.call(this,a):e.nextTick(r.bind(this,a))}}if(this.sync){var a,c;try{c=n.readdirSync(i)}catch(t){a=t}return this._afterReaddir(t,i,r,a,c)}n.readdir(i,this._afterReaddir.bind(this,t,i,r))},p.prototype._afterReaddir=function(t,e,r,n,i){if(h(this instanceof p),i&&!n)return this.cache[t]=i,this.mark||this.stat||i.forEach((function(e){e="/"===t?t+e:t+"/"+e,this.cache[e]=!0}),this),r.call(this,n,i);if(n)switch(n.code){case"ENOTDIR":return this.cache[t]=1,r.call(this,n);case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":return this.cache[t]=!1,r.call(this,n);default:return this.cache[t]=!1,this.strict&&this.emit("error",n),this.silent||console.error("glob error",n),r.call(this,n)}};var m="win32"===e.platform?function(t){if(y(t))return!0;var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(t),r=e[1]||"",n=r&&":"!==r.charAt(1);return!!e[2]||n}:y;function y(t){return"/"===t.charAt(0)||""===t}}).call(this,r(1))},function(t,e,r){(function(t,e){!function(t,e,n,i){n?n.exports=p:e.minimatch=p,p.Minimatch=f;var s=r(69),o=p.cache=new s({max:100}),a=p.GLOBSTAR=f.GLOBSTAR={},u=r(70),h=(r(17),"().*{}+?[]^$\\!".split("").reduce((function(t,e){return t[e]=!0,t}),{}));var c=/\/+/;function l(t,e){t=t||{},e=e||{};var r={};return Object.keys(e).forEach((function(t){r[t]=e[t]})),Object.keys(t).forEach((function(e){r[e]=t[e]})),r}function p(t,e,r){if("string"!=typeof e)throw new TypeError("glob pattern string required");return r||(r={}),!(!r.nocomment&&"#"===e.charAt(0))&&(""===e.trim()?""===t:new f(e,r).match(t))}function f(t,e){if(!(this instanceof f))return new f(t,e,o);if("string"!=typeof t)throw new TypeError("glob pattern string required");e||(e={}),t=t.trim(),"win32"===i&&(t=t.split("\\").join("/"));var r=t+"\n"+u(e),n=p.cache.get(r);if(n)return n;p.cache.set(r,this),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}p.filter=function(t,e){return e=e||{},function(r,n,i){return p(r,t,e)}},p.defaults=function(t){if(!t||!Object.keys(t).length)return p;var e=p,r=function(r,n,i){return e.minimatch(r,n,l(t,i))};return r.Minimatch=function(r,n){return new e.Minimatch(r,l(t,n))},r},f.defaults=function(t){return t&&Object.keys(t).length?p.defaults(t).Minimatch:f},f.prototype.debug=function(){},f.prototype.make=function(){if(this._made)return;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 r=this.globSet=this.braceExpand();e.debug&&(this.debug=console.error);this.debug(this.pattern,r),r=this.globParts=r.map((function(t){return t.split(c)})),this.debug(this.pattern,r),r=r.map((function(t,e,r){return t.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(t){return-1===t.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},f.prototype.parseNegate=function(){var t=this.pattern,e=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,s=t.length;i<s&&"!"===t.charAt(i);i++)e=!e,n++;n&&(this.pattern=t.substr(n));this.negate=e},p.braceExpand=function(t,e){return new f(t,e).braceExpand()},f.prototype.braceExpand=function t(e,r){if(r=r||this.options,void 0===(e=void 0===e?this.pattern:e))throw new Error("undefined pattern");if(r.nobrace||!e.match(/\{.*\}/))return[e];var n=!1;if("{"!==e.charAt(0)){this.debug(e);for(var i=null,s=0,o=e.length;s<o;s++){var a=e.charAt(s);if(this.debug(s,a),"\\"===a)n=!n;else if("{"===a&&!n){i=e.substr(0,s);break}}return null===i?(this.debug("no sets"),[e]):t.call(this,e.substr(s),r).map((function(t){return i+t}))}var u=e.match(/^\{(-?[0-9]+)\.\.(-?[0-9]+)\}/);if(u){this.debug("numset",u[1],u[2]);var h=t.call(this,e.substr(u[0].length),r),c=+u[1],l=+u[2],p=c>l?-1:1,f=[];for(s=c;s!=l+p;s+=p)for(var d=0,m=h.length;d<m;d++)f.push(s+h[d]);return f}s=1;var y=1,g=(f=[],"");n=!1;function v(){f.push(g),g=""}this.debug("Entering for");t:for(s=1,o=e.length;s<o;s++){a=e.charAt(s);if(this.debug("",s,a),n)n=!1,g+="\\"+a;else switch(a){case"\\":n=!0;continue;case"{":y++,g+="{";continue;case"}":if(0===--y){v(),s++;break t}g+=a;continue;case",":1===y?v():g+=a;continue;default:g+=a;continue}}if(0!==y)return this.debug("didn't close",e),t.call(this,"\\"+e,r);this.debug("set",f),this.debug("suffix",e.substr(s));h=t.call(this,e.substr(s),r);var x=1===f.length;this.debug("set pre-expanded",f),f=f.map((function(e){return t.call(this,e,r)}),this),this.debug("set expanded",f),f=f.reduce((function(t,e){return t.concat(e)})),x&&(f=f.map((function(t){return"{"+t+"}"})));var D=[];for(s=0,o=f.length;s<o;s++)for(d=0,m=h.length;d<m;d++)D.push(f[s]+h[d]);return D},f.prototype.parse=function(t,e){var r=this.options;if(!r.noglobstar&&"**"===t)return a;if(""===t)return"";var n,i,s,o="",u=!!r.nocase,c=!1,l=[],p=!1,f=-1,m=-1,y="."===t.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",g=this;function v(){if(i){switch(i){case"*":o+="[^/]*?",u=!0;break;case"?":o+="[^/]",u=!0;break;default:o+="\\"+i}g.debug("clearStateChar %j %j",i,o),i=!1}}for(var x,D=0,b=t.length;D<b&&(x=t.charAt(D));D++)if(this.debug("%s\t%s %s %j",t,D,o,x),c&&h[x])o+="\\"+x,c=!1;else switch(x){case"/":return!1;case"\\":v(),c=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",t,D,o,x),p){this.debug("  in class"),"!"===x&&D===m+1&&(x="^"),o+=x;continue}g.debug("call clearStateChar %j",i),v(),i=x,r.noext&&v();continue;case"(":if(p){o+="(";continue}if(!i){o+="\\(";continue}n=i,l.push({type:n,start:D-1,reStart:o.length}),o+="!"===i?"(?:(?!":"(?:",this.debug("plType %j %j",i,o),i=!1;continue;case")":if(p||!l.length){o+="\\)";continue}switch(v(),u=!0,o+=")",n=l.pop().type){case"!":o+="[^/]*?)";break;case"?":case"+":case"*":o+=n}continue;case"|":if(p||!l.length||c){o+="\\|",c=!1;continue}v(),o+="|";continue;case"[":if(v(),p){o+="\\"+x;continue}p=!0,m=D,f=o.length,o+=x;continue;case"]":if(D===m+1||!p){o+="\\"+x,c=!1;continue}u=!0,p=!1,o+=x;continue;default:v(),c?c=!1:!h[x]||"^"===x&&p||(o+="\\"),o+=x}if(p){var E=t.substr(m+1),w=this.parse(E,d);o=o.substr(0,f)+"\\["+w[0],u=u||w[1]}for(;s=l.pop();){var C=o.slice(s.reStart+3);C=C.replace(/((?:\\{2})*)(\\?)\|/g,(function(t,e,r){return r||(r="\\"),e+e+r+"|"})),this.debug("tail=%j\n   %s",C,C);var A="*"===s.type?"[^/]*?":"?"===s.type?"[^/]":"\\"+s.type;u=!0,o=o.slice(0,s.reStart)+A+"\\("+C}v(),c&&(o+="\\\\");var S=!1;switch(o.charAt(0)){case".":case"[":case"(":S=!0}""!==o&&u&&(o="(?=.)"+o);S&&(o=y+o);if(e===d)return[o,u];if(!u)return function(t){return t.replace(/\\(.)/g,"$1")}(t);var k=r.nocase?"i":"",F=new RegExp("^"+o+"$",k);return F._glob=t,F._src=o,F};var d={};p.makeRe=function(t,e){return new f(t,e||{}).makeRe()},f.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1;var e=this.options,r=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=e.nocase?"i":"",i=t.map((function(t){return t.map((function(t){return t===a?r:"string"==typeof t?function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(t):t._src})).join("\\/")})).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{return this.regexp=new RegExp(i,n)}catch(t){return this.regexp=!1}},p.match=function(t,e,r){var n=new f(e,r=r||{});return t=t.filter((function(t){return n.match(t)})),n.options.nonull&&!t.length&&t.push(e),t},f.prototype.match=function(t,e){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;var r=this.options;"win32"===i&&(t=t.split("\\").join("/"));t=t.split(c),this.debug(this.pattern,"split",t);var n,s=this.set;this.debug(this.pattern,"set",s);for(var o=t.length-1;o>=0&&!(n=t[o]);o--);o=0;for(var a=s.length;o<a;o++){var u=s[o],h=t;if(r.matchBase&&1===u.length&&(h=[n]),this.matchOne(h,u,e))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},f.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var i=0,s=0,o=t.length,u=e.length;i<o&&s<u;i++,s++){this.debug("matchOne loop");var h,c=e[s],l=t[i];if(this.debug(e,c,l),!1===c)return!1;if(c===a){this.debug("GLOBSTAR",[e,c,l]);var p=i,f=s+1;if(f===u){for(this.debug("** at the end");i<o;i++)if("."===t[i]||".."===t[i]||!n.dot&&"."===t[i].charAt(0))return!1;return!0}t:for(;p<o;){var d=t[p];if(this.debug("\nglobstar while",t,p,e,f,d),this.matchOne(t.slice(p),e.slice(f),r))return this.debug("globstar found match!",p,o,d),!0;if("."===d||".."===d||!n.dot&&"."===d.charAt(0)){this.debug("dot detected!",t,p,e,f);break t}this.debug("globstar swallow a segment, and continue"),p++}return!(!r||(this.debug("\n>>> no match, partial?",t,p,e,f),p!==o))}if("string"==typeof c?(h=n.nocase?l.toLowerCase()===c.toLowerCase():l===c,this.debug("string match",c,l,h)):(h=l.match(c),this.debug("pattern match",c,l,h)),!h)return!1}if(i===o&&s===u)return!0;if(i===o)return r;if(s===u)return i===o-1&&""===t[i];throw new Error("wtf?")}}(0,this,t,"object"==typeof e?e.platform:"win32")}).call(this,r(68)(t),r(1))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){!function(){function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function r(){return 1}t.exports?t.exports=s:this.LRUCache=s;var n=!1;function i(t){n||"string"==typeof t||"number"==typeof t||(n=!0,console.error(new TypeError("LRU: key must be a string or number. Almost certainly a bug! "+typeof t).stack))}function s(t){if(!(this instanceof s))return new s(t);"number"==typeof t&&(t={max:t}),t||(t={}),this._max=t.max,(!this._max||"number"!=typeof this._max||this._max<=0)&&(this._max=1/0),this._lengthCalculator=t.length||r,"function"!=typeof this._lengthCalculator&&(this._lengthCalculator=r),this._allowStale=t.stale||!1,this._maxAge=t.maxAge||null,this._dispose=t.dispose,this.reset()}function o(t,e,r){i(e);var n=t._cache[e];return n&&(a(t,n)?(c(t,n),t._allowStale||(n=void 0)):r&&function(t,e){h(t,e),e.lu=t._mru++,t._lruList[e.lu]=e}(t,n),n&&(n=n.value)),n}function a(t,e){if(!e||!e.maxAge&&!t._maxAge)return!1;var r=Date.now()-e.now;return e.maxAge?r>e.maxAge:t._maxAge&&r>t._maxAge}function u(t){for(;t._lru<t._mru&&t._length>t._max;)c(t,t._lruList[t._lru])}function h(t,e){for(delete t._lruList[e.lu];t._lru<t._mru&&!t._lruList[t._lru];)t._lru++}function c(t,e){e&&(t._dispose&&t._dispose(e.key,e.value),t._length-=e.length,t._itemCount--,delete t._cache[e.key],h(t,e))}function l(t,e,r,n,i,s){this.key=t,this.value=e,this.lu=r,this.length=n,this.now=i,s&&(this.maxAge=s)}Object.defineProperty(s.prototype,"max",{set:function(t){(!t||"number"!=typeof t||t<=0)&&(t=1/0),this._max=t,this._length>this._max&&u(this)},get:function(){return this._max},enumerable:!0}),Object.defineProperty(s.prototype,"lengthCalculator",{set:function(t){if("function"!=typeof t)for(var e in this._lengthCalculator=r,this._length=this._itemCount,this._cache)this._cache[e].length=1;else for(var e in this._lengthCalculator=t,this._length=0,this._cache)this._cache[e].length=this._lengthCalculator(this._cache[e].value),this._length+=this._cache[e].length;this._length>this._max&&u(this)},get:function(){return this._lengthCalculator},enumerable:!0}),Object.defineProperty(s.prototype,"length",{get:function(){return this._length},enumerable:!0}),Object.defineProperty(s.prototype,"itemCount",{get:function(){return this._itemCount},enumerable:!0}),s.prototype.forEach=function(t,e){e=e||this;for(var r=0,n=this._itemCount,i=this._mru-1;i>=0&&r<n;i--)if(this._lruList[i]){r++;var s=this._lruList[i];a(this,s)&&(c(this,s),this._allowStale||(s=void 0)),s&&t.call(e,s.value,s.key,this)}},s.prototype.keys=function(){for(var t=new Array(this._itemCount),e=0,r=this._mru-1;r>=0&&e<this._itemCount;r--)if(this._lruList[r]){var n=this._lruList[r];t[e++]=n.key}return t},s.prototype.values=function(){for(var t=new Array(this._itemCount),e=0,r=this._mru-1;r>=0&&e<this._itemCount;r--)if(this._lruList[r]){var n=this._lruList[r];t[e++]=n.value}return t},s.prototype.reset=function(){if(this._dispose&&this._cache)for(var t in this._cache)this._dispose(t,this._cache[t].value);this._cache=Object.create(null),this._lruList=Object.create(null),this._mru=0,this._lru=0,this._length=0,this._itemCount=0},s.prototype.dump=function(){for(var t=[],e=0,r=this._mru-1;r>=0&&e<this._itemCount;r--)if(this._lruList[r]){var n=this._lruList[r];a(this,n)||(++e,t.push({k:n.key,v:n.value,e:n.now+(n.maxAge||0)}))}return t},s.prototype.dumpLru=function(){return this._lruList},s.prototype.set=function(t,r,n){n=n||this._maxAge,i(t);var s=n?Date.now():0,o=this._lengthCalculator(r);if(e(this._cache,t))return o>this._max?(c(this,this._cache[t]),!1):(this._dispose&&this._dispose(t,this._cache[t].value),this._cache[t].now=s,this._cache[t].maxAge=n,this._cache[t].value=r,this._length+=o-this._cache[t].length,this._cache[t].length=o,this.get(t),this._length>this._max&&u(this),!0);var a=new l(t,r,this._mru++,o,s,n);return a.length>this._max?(this._dispose&&this._dispose(t,r),!1):(this._length+=a.length,this._lruList[a.lu]=this._cache[t]=a,this._itemCount++,this._length>this._max&&u(this),!0)},s.prototype.has=function(t){return i(t),!!e(this._cache,t)&&!a(this,this._cache[t])},s.prototype.get=function(t){return i(t),o(this,t,!0)},s.prototype.peek=function(t){return i(t),o(this,t,!1)},s.prototype.pop=function(){var t=this._lruList[this._lru];return c(this,t),t||null},s.prototype.del=function(t){i(t),c(this,this._cache[t])},s.prototype.load=function(t){this.reset();for(var e=Date.now(),r=t.length-1;r>=0;r--){var n=t[r];i(n.k);var s=n.e||0;if(0===s)this.set(n.k,n.v);else{var o=s-e;o>0&&this.set(n.k,n.v,o)}}}}()},function(t,e){t.exports=function(t,e){e=e||10;var r=[],n="",i=RegExp;return function t(s,o){if(o>e)return;if("function"==typeof s||void 0===s)return;if("object"!=typeof s||!s||s instanceof i)return void(n+=s);if(-1!==r.indexOf(s)||o===e)return;r.push(s),n+="{",Object.keys(s).forEach((function(e,r,i){if("_"!==e.charAt(0)){var a=typeof s[e];"function"!==a&&"undefined"!==a&&(n+=e,t(s[e],o+1))}}))}(t,0),n}},function(t,e,r){"use strict";(function(e){var n=r(72);
  /*!
   * The buffer module from node.js, for the browser.
   *
   * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
   * @license  MIT
   */function i(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,s=Math.min(r,n);i<s;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0}function s(t){return e.Buffer&&"function"==typeof e.Buffer.isBuffer?e.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}var o=r(73),a=Object.prototype.hasOwnProperty,u=Array.prototype.slice,h="foo"===function(){}.name;function c(t){return Object.prototype.toString.call(t)}function l(t){return!s(t)&&("function"==typeof e.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer))))}var p=t.exports=v,f=/\s*function\s+([^\(\s]*)\s*/;function d(t){if(o.isFunction(t)){if(h)return t.name;var e=t.toString().match(f);return e&&e[1]}}function m(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function y(t){if(h||!o.isFunction(t))return o.inspect(t);var e=d(t);return"[Function"+(e?": "+e:"")+"]"}function g(t,e,r,n,i){throw new p.AssertionError({message:r,actual:t,expected:e,operator:n,stackStartFunction:i})}function v(t,e){t||g(t,!0,e,"==",p.ok)}function x(t,e,r,n){if(t===e)return!0;if(s(t)&&s(e))return 0===i(t,e);if(o.isDate(t)&&o.isDate(e))return t.getTime()===e.getTime();if(o.isRegExp(t)&&o.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(l(t)&&l(e)&&c(t)===c(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===i(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(s(t)!==s(e))return!1;var a=(n=n||{actual:[],expected:[]}).actual.indexOf(t);return-1!==a&&a===n.expected.indexOf(e)||(n.actual.push(t),n.expected.push(e),function(t,e,r,n){if(null==t||null==e)return!1;if(o.isPrimitive(t)||o.isPrimitive(e))return t===e;if(r&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var i=D(t),s=D(e);if(i&&!s||!i&&s)return!1;if(i)return t=u.call(t),e=u.call(e),x(t,e,r);var a,h,c=w(t),l=w(e);if(c.length!==l.length)return!1;for(c.sort(),l.sort(),h=c.length-1;h>=0;h--)if(c[h]!==l[h])return!1;for(h=c.length-1;h>=0;h--)if(a=c[h],!x(t[a],e[a],r,n))return!1;return!0}(t,e,r,n))}return r?t===e:t==e}function D(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function b(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function E(t,e,r,n){var i;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(t){var e;try{t()}catch(t){e=t}return e}(e),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),t&&!i&&g(i,r,"Missing expected exception"+n);var s="string"==typeof n,a=!t&&i&&!r;if((!t&&o.isError(i)&&s&&b(i,r)||a)&&g(i,r,"Got unwanted exception"+n),t&&i&&r&&!b(i,r)||!t&&i)throw i}p.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return m(y(t.actual),128)+" "+t.operator+" "+m(y(t.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||g;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var r=new Error;if(r.stack){var n=r.stack,i=d(e),s=n.indexOf("\n"+i);if(s>=0){var o=n.indexOf("\n",s+1);n=n.substring(o+1)}this.stack=n}}},o.inherits(p.AssertionError,Error),p.fail=g,p.ok=v,p.equal=function(t,e,r){t!=e&&g(t,e,r,"==",p.equal)},p.notEqual=function(t,e,r){t==e&&g(t,e,r,"!=",p.notEqual)},p.deepEqual=function(t,e,r){x(t,e,!1)||g(t,e,r,"deepEqual",p.deepEqual)},p.deepStrictEqual=function(t,e,r){x(t,e,!0)||g(t,e,r,"deepStrictEqual",p.deepStrictEqual)},p.notDeepEqual=function(t,e,r){x(t,e,!1)&&g(t,e,r,"notDeepEqual",p.notDeepEqual)},p.notDeepStrictEqual=function t(e,r,n){x(e,r,!0)&&g(e,r,n,"notDeepStrictEqual",t)},p.strictEqual=function(t,e,r){t!==e&&g(t,e,r,"===",p.strictEqual)},p.notStrictEqual=function(t,e,r){t===e&&g(t,e,r,"!==",p.notStrictEqual)},p.throws=function(t,e,r){E(!0,t,e,r)},p.doesNotThrow=function(t,e,r){E(!1,t,e,r)},p.ifError=function(t){if(t)throw t},p.strict=n((function t(e,r){e||g(e,!0,r,"==",t)}),p,{equal:p.strictEqual,deepEqual:p.deepStrictEqual,notEqual:p.notStrictEqual,notDeepEqual:p.notDeepStrictEqual}),p.strict.strict=p.strict;var w=Object.keys||function(t){var e=[];for(var r in t)a.call(t,r)&&e.push(r);return e}}).call(this,r(0))},function(t,e,r){"use strict";
  /*
  object-assign
  (c) Sindre Sorhus
  @license MIT
  */var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,a,u=o(t),h=1;h<arguments.length;h++){for(var c in r=Object(arguments[h]))i.call(r,c)&&(u[c]=r[c]);if(n){a=n(r);for(var l=0;l<a.length;l++)s.call(r,a[l])&&(u[a[l]]=r[a[l]])}}return u}},function(t,e,r){(function(t){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},i=/%[sdj%]/g;e.format=function(t){if(!g(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(a(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,s=n.length,o=String(t).replace(i,(function(t){if("%%"===t)return"%";if(r>=s)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),u=n[r];r<s;u=n[++r])m(u)||!D(u)?o+=" "+u:o+=" "+a(u);return o},e.deprecate=function(r,n){if(void 0!==t&&!0===t.noDeprecation)return r;if(void 0===t)return function(){return e.deprecate(r,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(n);t.traceDeprecation?console.trace(n):console.error(n),i=!0}return r.apply(this,arguments)}};var s,o={};function a(t,r){var n={seen:[],stylize:h};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(r)?n.showHidden=r:r&&e._extend(n,r),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),c(n,t,n.depth)}function u(t,e){var r=a.styles[e];return r?"["+a.colors[r][0]+"m"+t+"["+a.colors[r][1]+"m":t}function h(t,e){return t}function c(t,r,n){if(t.customInspect&&r&&w(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return g(i)||(i=c(t,i,n)),i}var s=function(t,e){if(v(e))return t.stylize("undefined","undefined");if(g(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(y(e))return t.stylize(""+e,"number");if(d(e))return t.stylize(""+e,"boolean");if(m(e))return t.stylize("null","null")}(t,r);if(s)return s;var o=Object.keys(r),a=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(r)),E(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return l(r);if(0===o.length){if(w(r)){var u=r.name?": "+r.name:"";return t.stylize("[Function"+u+"]","special")}if(x(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(b(r))return t.stylize(Date.prototype.toString.call(r),"date");if(E(r))return l(r)}var h,D="",C=!1,A=["{","}"];(f(r)&&(C=!0,A=["[","]"]),w(r))&&(D=" [Function"+(r.name?": "+r.name:"")+"]");return x(r)&&(D=" "+RegExp.prototype.toString.call(r)),b(r)&&(D=" "+Date.prototype.toUTCString.call(r)),E(r)&&(D=" "+l(r)),0!==o.length||C&&0!=r.length?n<0?x(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),h=C?function(t,e,r,n,i){for(var s=[],o=0,a=e.length;o<a;++o)F(e,String(o))?s.push(p(t,e,r,n,String(o),!0)):s.push("");return i.forEach((function(i){i.match(/^\d+$/)||s.push(p(t,e,r,n,i,!0))})),s}(t,r,n,a,o):o.map((function(e){return p(t,r,n,a,e,C)})),t.seen.pop(),function(t,e,r){if(t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(h,D,A)):A[0]+D+A[1]}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,r,n,i,s){var o,a,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(a=t.stylize("[Setter]","special")),F(n,i)||(o="["+i+"]"),a||(t.seen.indexOf(u.value)<0?(a=m(r)?c(t,u.value,null):c(t,u.value,r-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map((function(t){return"  "+t})).join("\n").substr(2):"\n"+a.split("\n").map((function(t){return"   "+t})).join("\n")):a=t.stylize("[Circular]","special")),v(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+a}function f(t){return Array.isArray(t)}function d(t){return"boolean"==typeof t}function m(t){return null===t}function y(t){return"number"==typeof t}function g(t){return"string"==typeof t}function v(t){return void 0===t}function x(t){return D(t)&&"[object RegExp]"===C(t)}function D(t){return"object"==typeof t&&null!==t}function b(t){return D(t)&&"[object Date]"===C(t)}function E(t){return D(t)&&("[object Error]"===C(t)||t instanceof Error)}function w(t){return"function"==typeof t}function C(t){return Object.prototype.toString.call(t)}function A(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(r){if(v(s)&&(s=t.env.NODE_DEBUG||""),r=r.toUpperCase(),!o[r])if(new RegExp("\\b"+r+"\\b","i").test(s)){var n=t.pid;o[r]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",r,n,t)}}else o[r]=function(){};return o[r]},e.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=f,e.isBoolean=d,e.isNull=m,e.isNullOrUndefined=function(t){return null==t},e.isNumber=y,e.isString=g,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=v,e.isRegExp=x,e.isObject=D,e.isDate=b,e.isError=E,e.isFunction=w,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(74);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(){var t=new Date,e=[A(t.getHours()),A(t.getMinutes()),A(t.getSeconds())].join(":");return[t.getDate(),S[t.getMonth()],e].join(" ")}function F(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",k(),e.format.apply(e,arguments))},e.inherits=r(75),e._extend=function(t,e){if(!e||!D(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var _="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function O(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(_&&t[_]){var e;if("function"!=typeof(e=t[_]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,_,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);i.push((function(t,n){t?r(t):e(n)}));try{t.apply(this,i)}catch(t){r(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),_&&Object.defineProperty(e,_,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,n(t))},e.promisify.custom=_,e.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var s=this,o=function(){return i.apply(s,arguments)};e.apply(this,r).then((function(e){t.nextTick(o,null,e)}),(function(e){t.nextTick(O,e,o)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(e)),Object.defineProperties(r,n(e)),r}}).call(this,r(1))},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},function(t,e){function r(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}r.keys=function(){return[]},r.resolve=r,t.exports=r,r.id=76}]);